GtkToolkit.java: Reworked imports.
[gcc.git] / libjava / ChangeLog
1 2003-07-17 Michael Koch <konqueror@gmx.de>
2
3 * gnu/java/awt/peer/gtk/GtkToolkit.java:
4 Reworked imports.
5
6 2003-07-14 Michael Koch <konqueror@gmx.de>
7
8 * gnu/java/rmi/server/UnicastServerRef.java:
9 New version from classpath.
10
11 2003-07-14 Michael Koch <konqueror@gmx.de>
12
13 * java/awt/image/MemoryImageSource.java,
14 java/beans/PropertyEditorManager.java,
15 javax/naming/CompoundName.java,
16 javax/naming/spi/NamingManager.java,
17 javax/swing/AbstractButton.java,
18 javax/swing/ButtonModel.java,
19 javax/swing/SwingUtilities.java,
20 javax/swing/UIManager.java,
21 javax/swing/colorchooser/DefaultColorSelectionModel.java,
22 javax/swing/event/AncestorEvent.java,
23 javax/swing/event/InternalFrameEvent.java,
24 java/util/zip/ZipFile.java:
25 New versions from classpath.
26
27 2003-07-13 Michael Koch <konqueror@gmx.de>
28
29 * gnu/java/nio/FileChannelImpl.java,
30 gnu/java/nio/natFileChannelImpl.cc: Removed.
31 * java/io/FileInputStream.java,
32 java/io/FileOutputStream.java,
33 java/io/RandomAccessFile.java,
34 java/nio/MappedByteBufferImpl.java:
35 Import java.nio.channels.FileChannelImpl instead of
36 gnu.java.nio.FileChannelImpl.
37 * java/nio/channels/FileChannelImpl.java,
38 java/nio/channels/natFileChannelImpl.cc:
39 New files.
40 * Makefile.am
41 (ordinary_java_source_files):
42 Removed gnu/java/nio/FileChannelImpl.java and added
43 java/nio/channels/FileChannelImpl.java.
44 (nat source_files):
45 Removed gnu/java/nio/natFileChannelImpl.cc and added
46 java/nio/channels/natFileChannelImpl.cc.
47 * Makefile.in: Regenerated.
48
49 2003-07-13 Michael Koch <konqueror@gmx.de>
50
51 * javax/swing/plaf/basic/BasicBorders.java,
52 javax/swing/plaf/basic/BasicLabelUI.java,
53 javax/swing/plaf/basic/BasicLookAndFeel.java,
54 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
55 javax/swing/plaf/basic/BasicTextUI.java,
56 javax/swing/plaf/metal/MetalLookAndFeel.java:
57 New versions from classpath.
58
59 2003-07-13 Michael Koch <konqueror@gmx.de>
60
61 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
62 * gnu/java/awt/peer/gtk/GdkGraphics.java
63 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
64 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
65 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
66 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
67 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
68 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
69 * gnu/java/awt/peer/gtk/GtkClipboard.java
70 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
71 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
72 * gnu/java/awt/peer/gtk/GtkFramePeer.java
73 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
74 * gnu/java/awt/peer/gtk/GtkImage.java
75 * gnu/java/awt/peer/gtk/GtkImagePainter.java
76 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
77 * gnu/java/awt/peer/gtk/GtkListPeer.java
78 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
79 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
80 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
81 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
82 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
83 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
84 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
85 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
86 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
87 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
88 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
89 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
90
91 2003-07-13 Michael Koch <konqueror@gmx.de>
92
93 * gnu/java/locale/LocaleInformation_de.java
94 * gnu/java/locale/LocaleInformation_en.java
95 * gnu/java/locale/LocaleInformation_nl.java
96
97 2003-07-13 Michael Koch <konqueror@gmx.de>
98
99 * gnu/java/awt/EmbeddedWindow.java,
100 gnu/java/awt/EmbeddedWindowSupport.java,
101 gnu/java/awt/natEmbeddedWindow.cc:
102 New files.
103 * java/awt/Window.java
104 (Window): New constructor to support embedded windows.
105 * Makefile.am
106 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
107 gnu/java/awt/EmbeddedWindowSupport.java.
108 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
109 * Makefile.in: Regenerated.
110
111 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
112
113 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
114 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
115 * java/awt/im/InputContext.java: Remove a redundant
116 partial line.
117
118 2003-07-09 Tom Tromey <tromey@redhat.com>
119
120 * Makefile.in: Rebuilt.
121 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
122
123 2003-07-09 Mark Wielaard <mark@klomp.org>
124
125 * java/io/ObjectOutputStream.java (writeObject): break after
126 calling writeClassDescriptor().
127
128 2003-07-09 Mark Mitchell <mark@codesourcery.com>
129
130 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
131
132 2003-07-09 Michael Koch <konqueror@gmx.de>
133
134 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
135 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
136 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
137 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
138 Explicitly import used classes.
139 * java/awt/Container.java: New version from classpath.
140
141 2003-07-09 Michael Koch <konqueror@gmx.de>
142
143 * libgcj.pc.in: New file.
144 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
145 * Makefile.in: Regenerated.
146 * configure: Regenrated.
147 * configure.in: Create libgcj.pc from libgcj.pc.in.
148
149 2003-07-08 Mark Wielaard <mark@klomp.org>
150
151 * gcj/cni.h: CNI now expands to Compiled Native Interface.
152
153 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
154 * java/lang/fdlibm.h: Likewise.
155
156 2003-07-07 Adam Megacz <adam@xwt.org>
157
158 * posix.cc: added #include<stdio.h>
159
160 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
161
162 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
163 formatting.
164
165 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
166 (setCaretPosition, setEditable): Rely entirely on native
167 implementation.
168 (getArgs): Remove.
169 (postTextEvent): New method.
170 (handleEvent): New method.
171 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
172 method.
173 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
175 (keysym_to_awt_keycode): Fix range checks.
176 (generates_key_typed_event): New function.
177 (awt_event_handler): Post AWT_KEY_RELEASED events to event
178 queue.
179 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
180 (gtkInit): Store TextComponent's postTextEvent method ID.
181 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
182 (setText): Post TEXT_VALUE_CHANGED event to event queue.
183
184 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
185
186 * configure.in: Check for usleep declaration.
187 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
188 * configure: Regenerate.
189 * include/config.h.in: Likewise.
190 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
191
192 2003-07-01 Michael Koch <konqueror@gmx.de>
193
194 * gnu/gcj/convert/natIconv.cc
195 (iconv_init): Fixed possible memory leak by releasing allocated iconv
196 handle.
197
198 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
199
200 * glib-2.0.m4: New file.
201 * gtk-2.0.m4: New file.
202 * glib.m4: Remove.
203 * gtk.m4: Remove.
204 * configure.in: Update AM_PATH_GTK macro call to
205 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
206 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
207 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
208 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
209 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
210 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
211 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
212 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
213 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
214 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
215 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
216 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
217 jni/gtk-peer/gthread-jni.c,
218 jni/gtk-peer/gthread-jni.h:
219 New versions from classpath.
220 * aclocal.m4: Regenerate.
221 * configure: Regenerate.
222 * Makefile.in: Regenerate.
223 * gcj/Makefile.in: Regenerate.
224 * include/Makefile.in: Regenerate.
225 * testsuite/Makefile.in: Regenerate.
226
227 2003-06-30 Gary Benson <gbenson@redhat.com>
228
229 For PR libgcj/11349:
230 * javax/naming/spi/NamingManager.java (getURLContext): Use
231 correct name for factory class.
232
233 2003-06-28 Michael Koch <konqueror@gmx.de>
234
235 * java/io/PrintStream.java
236 (checkError): Call flush() instead of direct flushing of the Writer
237 object.
238 (print): Call print(String) instead of direct print method of the
239 Writer Object.
240 (println): Call println(String) instead of direct println method of the
241 Writer Object.
242 (write): Simplified.
243
244 2003-06-28 Michael Koch <konqueror@gmx.de>
245
246 * java/net/ServerSocket.java
247 (setChannel): New method.
248 * java/net/Socket.java
249 (setChannel): New method.
250
251 2003-06-27 Michael Koch <konqueror@gmx.de>
252
253 * java/beans/beancontext/BeanContextSupport.java:
254 New version from classpath.
255
256 2003-06-27 Michael Koch <konqueror@gmx.de>
257
258 * java/awt/Window.java,
259 java/awt/font/GraphicAttribute.java,
260 java/awt/font/ImageGraphicAttribute.java,
261 java/awt/image/DataBufferByte.java,
262 java/awt/image/DataBufferInt.java,
263 java/awt/image/DataBufferUShort.java,
264 java/awt/image/DirectColorModel.java,
265 java/awt/image/PixelGrabber.java:
266 New versions from classpath.
267
268 2003-06-27 Michael Koch <konqueror@gmx.de>
269
270 * java/security/Certificate.java
271 (getGuarantor): Removed wrong @deprecated tag.
272 (getPrincipal): Likewise.
273 (getPublicKey): Likewise.
274 (encode): Likewise.
275 (decode): Likewise.
276 (getFormat): Likewise.
277 (toString): Likewise.
278 * java/security/cert/PolicyQualifierInfo.java
279 (PolicyQualifierInfo): Made final.
280 * javax/security/auth/x500/X500Principal.java
281 (serialVersionUID): New member variable.
282
283 2003-06-27 Michael Koch <konqueror@gmx.de>
284
285 * java/text/Format.java
286 (serialVersionUID): Fixed value.
287
288 2003-06-27 Michael Koch <konqueror@gmx.de>
289
290 * java/net/Inet4Address.java
291 (Inet4Address): Made package-private.
292 * java/net/Inet6Address.java
293 (Inet4Address): Made package-private.
294
295 2003-06-27 Michael Koch <konqueror@gmx.de>
296
297 * java/io/RandomAccessFile.java
298 (readLine): Removed wrong @deprecated tag.
299 (getChannel): Made final.
300
301 2003-06-27 Michael Koch <konqueror@gmx.de>
302
303 * gnu/java/nio/FileChannelImpl.java
304 (write): Removed.
305
306 2003-06-27 Michael Koch <konqueror@gmx.de>
307
308 * java/nio/ByteBufferImpl.java
309 (ByteBufferImpl): Made it a package-private class
310 * java/nio/CharBufferImpl.java
311 (CharBufferImpl): Made it a package-private class
312 * java/nio/DirectByteBufferImpl.java
313 (DirectByteBufferImpl): Made it a package-private class
314 * java/nio/DoubleBufferImpl.java
315 (DoubleBufferImpl): Made it a package-private class
316 * java/nio/FloatBufferImpl.java
317 (FloatBufferImpl): Made it a package-private class
318 * java/nio/IntBufferImpl.java
319 (IntBufferImpl): Made it a package-private class
320 * java/nio/LongBufferImpl.java
321 (LongBufferImpl): Made it a package-private class
322 * java/nio/ShortBufferImpl.java
323 (ShortBufferImpl): Made it a package-private class
324 * java/nio/channels/FileChannel.java
325 (write): Made final.
326 * java/nio/channels/ServerSocketChannel.java
327 (ServerSocketChanne): Made protected.
328
329 2003-06-27 Michael Koch <konqueror@gmx.de>
330
331 * javax/naming/CompositeName.java
332 (serialVersionUID): New member variable.
333 * javax/naming/CompoundName.java
334 (serialVersionUID): New member variable.
335 * javax/naming/InitialContext.java
336 (InitialContext): Throws NamingException.
337 (init): Likewise.
338 * javax/naming/LinkRef.java
339 (serialVersionUID): New member variable.
340 (gteLinkName): Throws NamingException.
341 * javax/naming/NamingException.java
342 (serialVersionUID): New member variable.
343 * javax/naming/NamingSecurityException.java
344 (NamingSecurityException): Made abstract.
345 (serialVersionUID): New member variable.
346 * javax/naming/ReferralException.java
347 (serialVersionUID): New member variable.
348 * javax/naming/StringRefAddr.java
349 (serialVersionUID): New member variable.
350 * javax/naming/directory/BasicAttribute.java:
351 Reworked imports.
352 (serialVersionUID): New member variable.
353 (get): Throws NamingException.
354 (getAll): Throws NamingException.
355 * javax/naming/directory/BasicAttributes.java:
356 Reworked imports.
357 (serialVersionUID): New member variable.
358 * javax/naming/ldap/UnsolicitedNotificationEvent.java
359 (serialVersionUID): New member variable.
360
361 2003-06-27 Michael Koch <konqueror@gmx.de>
362
363 * Makefile.am
364 (awt_java_source_files): Added new files:
365 javax/swing/Popup.java,
366 javax/swing/PopupFactory.java
367 * Makefile.in: Regenerated.
368
369 2003-06-27 Michael Koch <konqueror@gmx.de>
370
371 * javax/swing/JWindow.java,
372 javax/swing/event/AncestorEvent.java,
373 javax/swing/event/HyperlinkEvent.java,
374 javax/swing/event/InternalFrameEvent.java,
375 javax/swing/event/ListDataEvent.java,
376 javax/swing/event/TableModelEvent.java,
377 javax/swing/plaf/PopupMenuUI.java,
378 javax/swing/plaf/SplitPaneUI.java,
379 javax/swing/plaf/TabbedPaneUI.java,
380 javax/swing/plaf/TextUI.java,
381 javax/swing/plaf/TreeUI.java,
382 javax/swing/plaf/basic/BasicTextUI.java,
383 javax/swing/plaf/basic/BasicTreeUI.java:
384 New versions from classpath.
385 * javax/swing/Popup.java,
386 javax/swing/PopupFactory.jav:
387 New source files from classpath.
388 * javax/swing/plaf/doc-files/TreeUI-1.png:
389 New binary files from classpath.
390
391 2003-06-25 Michael Koch <konqueror@gmx.de>
392
393 * Makefile.am
394 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
395 * Makefile.in: Regenerated.
396
397 2003-06-25 Michael Koch <konqueror@gmx.de>
398
399 * javax/swing/plaf/ActionMapUIResource.java,
400 javax/swing/plaf/BorderUIResource.java,
401 javax/swing/plaf/ButtonUI.java,
402 javax/swing/plaf/ColorChooserUI.java,
403 javax/swing/plaf/ColorUIResource.java,
404 javax/swing/plaf/ComboBoxUI.java,
405 javax/swing/plaf/ComponentInputMapUIResource.java,
406 javax/swing/plaf/ComponentUI.java,
407 javax/swing/plaf/DesktopIconUI.java,
408 javax/swing/plaf/DesktopPaneUI.java,
409 javax/swing/plaf/DimensionUIResource.java,
410 javax/swing/plaf/FileChooserUI.java,
411 javax/swing/plaf/FontUIResource.java,
412 javax/swing/plaf/IconUIResource.java,
413 javax/swing/plaf/InputMapUIResource.java,
414 javax/swing/plaf/InsetsUIResource.java,
415 javax/swing/plaf/InternalFrameUI.java,
416 javax/swing/plaf/LabelUI.java,
417 javax/swing/plaf/ListUI.java,
418 javax/swing/plaf/MenuBarUI.java,
419 javax/swing/plaf/MenuItemUI.java,
420 javax/swing/plaf/OptionPaneUI.java,
421 javax/swing/plaf/PanelUI.java,
422 javax/swing/plaf/ProgressBarUI.java,
423 javax/swing/plaf/RootPaneUI.java,
424 javax/swing/plaf/ScrollBarUI.java,
425 javax/swing/plaf/ScrollPaneUI.java,
426 javax/swing/plaf/SeparatorUI.java,
427 javax/swing/plaf/SliderUI.java,
428 javax/swing/plaf/TableHeaderUI.java,
429 javax/swing/plaf/TableUI.java,
430 javax/swing/plaf/ToolBarUI.java,
431 javax/swing/plaf/ToolTipUI.java,
432 javax/swing/plaf/ViewportUI.java:
433 New versions from classpath.
434 * javax/swing/plaf/SpinnerUI.java:
435 New file from classpath
436
437 2003-06-25 Michael Koch <konqueror@gmx.de>
438
439 * java/awt/image/ColorModel.java:
440 New version from classpath.
441
442 2003-06-25 Michael Koch <konqueror@gmx.de>
443
444 * java/net/PlainDatagramSocketImpl.java:
445 Partly merged with classpath, this mainly adds documentation.
446
447 2003-06-25 Michael Koch <konqueror@gmx.de>
448
449 * java/io/ObjectInputStream.java
450 (readClassDescriptor): New method.
451 (readObject): Moved functionality to readClassDescriptor().
452 * java/io/ObjectOutputStream.java
453 (writeClassDescriptor): New method.
454 (writeObject): Moved functionality to writeClassDescriptor().
455
456 2003-06-25 Michael Koch <konqueror@gmx.de>
457
458 * javax/swing/plaf/basic/BasicListUI.java,
459 javax/swing/plaf/basic/BasicOptionPaneUI.java:
460 Added missing methods.
461
462 2003-06-25 Michael Koch <konqueror@gmx.de>
463
464 * javax/swing/event/AncestorEvent.java
465 javax/swing/event/HyperlinkEvent.java
466 javax/swing/event/InternalFrameEvent.java
467 javax/swing/event/ListDataEvent.java
468 javax/swing/event/TableModelEvent.java:
469 Compile fixes.
470
471 2003-06-24 Michael Koch <konqueror@gmx.de>
472
473 * java/net/URL.java:
474 Renamed "handler" to "ph" in the whole file to match classpaths
475 version.
476 * java/net/URLStreamHandler.java:
477 (equals): Renamed "handler" to "ph".
478
479 2003-06-24 Michael Koch <konqueror@gmx.de>
480
481 * javax/swing/event/AncestorEvent.java,
482 javax/swing/event/HyperlinkEvent.java,
483 javax/swing/event/InternalFrameEvent.java,
484 javax/swing/event/ListDataEvent.java,
485 javax/swing/event/TableModelEvent.java,
486 javax/swing/event/TreeWillExpandListener.java,
487 javax/swing/plaf/ComponentUI.java,
488 javax/swing/plaf/DesktopIconUI.java,
489 javax/swing/plaf/DesktopPaneUI.java,
490 javax/swing/plaf/DimensionUIResource.java,
491 javax/swing/plaf/FileChooserUI.java,
492 javax/swing/plaf/FontUIResource.java,
493 javax/swing/plaf/IconUIResource.java,
494 javax/swing/plaf/InputMapUIResource.java,
495 javax/swing/plaf/InsetsUIResource.java,
496 javax/swing/plaf/InternalFrameUI.java,
497 javax/swing/plaf/LabelUI.java,
498 javax/swing/plaf/ListUI.java,
499 javax/swing/plaf/MenuBarUI.java,
500 javax/swing/plaf/MenuItemUI.java,
501 javax/swing/plaf/OptionPaneUI.java,
502 javax/swing/plaf/PanelUI.java,
503 javax/swing/plaf/ProgressBarUI.java,
504 javax/swing/plaf/doc-files/ComponentUI-1.dia,
505 javax/swing/plaf/doc-files/ComponentUI-1.png:
506 New versions from classpath.
507
508 2003-06-24 Michael Koch <konqueror@gmx.de>
509
510 * java/nio/Buffer.java
511 (cap): Made package-private.
512 (pos): Likewise.
513 (limit): Likewise.
514 (mark): Likewise.
515
516 2003-06-24 Michael Koch <konqueror@gmx.de>
517
518 * java/net/SocketImpl.java
519 (shutdownInput): Made it non-abstract method throwing an exception
520 like in SUNs JRE.
521 (shutdownOutput): Likewise.
522 * java/net/SocketInputStream.java,
523 java/net/SocketOutputStream.java:
524 New files from classpath.
525
526 2003-06-24 Michael Koch <konqueror@gmx.de>
527
528 * java/awt/Font.java,
529 java/awt/Window.java,
530 java/awt/color/ColorSpace.java,
531 java/awt/datatransfer/StringSelection.java,
532 java/awt/image/ColorModel.java:
533 New versions from classpath.
534
535 2003-06-24 Michael Koch <konqueror@gmx.de>
536
537 * Makefile.am
538 (awt_java_source_files): Added new files:
539 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
540 javax/swing/plaf/basic/BasicSplitPaneUI.java
541 * Makefile.in: Regenerated.
542
543 2003-06-24 Michael Koch <konqueror@gmx.de>
544
545 * javax/swing/text/JTextComponent.java:
546 New version from classpath.
547
548 2003-06-24 Michael Koch <konqueror@gmx.de>
549
550 * javax/swing/Timer.java,
551 javax/swing/plaf/ActionMapUIResource.java,
552 javax/swing/plaf/ButtonUI.java,
553 javax/swing/plaf/ColorChooserUI.java,
554 javax/swing/plaf/ColorUIResource.java,
555 javax/swing/plaf/ComboBoxUI.java,
556 javax/swing/plaf/ComponentInputMapUIResource.java,
557 javax/swing/plaf/basic/BasicBorders.java:
558 New versions from classpath.
559 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
560 javax/swing/plaf/basic/BasicSplitPaneUI.java:
561 New file from classpath.
562 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
563 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
564 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
565 javax/swing/plaf/doc-files/ComponentUI-1.dia,
566 javax/swing/plaf/doc-files/ComponentUI-1.png:
567 New binary files from classpath.
568
569 2003-06-24 Michael Koch <konqueror@gmx.de>
570
571 * java/io/LineNumberReader.java
572 (skip): Dont do line number accounting here as this is already done in
573 read(), simplified.
574
575 2003-06-21 Michael Koch <konqueror@gmx.de>
576
577 * java/io/File.java
578 (static): Load javaio lib if existing (only in classpath).
579 (File): Revised documentation to show the correct argument name.
580 (createTempFile): Partly merged with classpath.
581 (compareTo): Simplified.
582 (lastModified): Throw exception if time < 0.
583 (deleteOnExit): Revised documentation.
584
585 2003-06-21 Michael Koch <konqueror@gmx.de>
586
587 * java/net/PlainSocketImpl.java:
588 Reformatted.
589 (PlainSocketImpl): Merged class documentaion with classpath.
590 (in): Moved.
591 (out): Moved.
592 (PlainSocketImpl): New empty constructor.
593 (finalize): Moved.
594 (setOption): Merged documentation from classpath.
595 (getOption): Likewise.
596 (create): Likewise.
597 (connect): Likewise.
598 (bind): Likewise.
599 (listen): Likewise.
600 (accept): Likewise.
601 (available): Likewise.
602 (close): Likewise.
603 (read): Likewise.
604 (write): Likewise.
605 (getInputStream): Made synchronozed to get sure that only one stream
606 object can be created for this socket, merged documentation from
607 classpath.
608 (getOutputStream): Likewise.
609
610 2003-06-21 Michael Koch <konqueror@gmx.de>
611
612 * java/net/PlainSocketImpl.java:
613 Reformatting.
614 (static): New implicit method.
615 (read): Made package private.
616 (write): Likewise.
617
618 2003-06-21 Michael Koch <konqueror@gmx.de>
619
620 * java/util/SimpleTimeZone.java:
621 Removed unneeded import, reformatting.
622
623 2003-06-21 Michael Koch <konqueror@gmx.de>
624
625 * java/text/DateFormat.java,
626 java/text/SimpleDateFormat.java,
627 java/util/Locale.java:
628 New versions from classpath.
629
630 2003-06-21 Michael Koch <konqueror@gmx.de>
631
632 * javax/swing/SpinnerModel.java:
633 New file from classpath.
634 * javax/swing/border/LineBorder.java,
635 javax/swing/border/SoftBevelBorder.java,
636 javax/swing/plaf/BorderUIResource.java,
637 javax/swing/plaf/basic/BasicBorders.java:
638 New versions from classpath.
639 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
640 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
641 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
642 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
643 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
644 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
645 New binary files from classpath.
646
647 2003-06-21 Michael Koch <konqueror@gmx.de>
648
649 * java/util/logging/LogRecord.java,
650 java/util/logging/Logger.java,
651 java/util/logging/SocketHandler.java,
652 java/util/logging/SimpleFormatter.java,
653 java/util/logging/Formatter.java,
654 java/util/logging/ErrorManager.java,
655 java/util/logging/Handler.java,
656 java/util/logging/FileHandler.java,
657 java/util/logging/LogManager.java,
658 java/util/logging/Level.java,
659 java/util/logging/ConsoleHandler.java,
660 java/util/logging/StreamHandler.java,
661 java/util/logging/LoggingPermission.java,
662 java/util/logging/Filter.java,
663 java/util/logging/MemoryHandler.java,
664 java/util/logging/XMLFormatter.java:
665 New files from classpath.
666
667 2003-06-20 Michael Koch <konqueror@gmx.de>
668
669 * java/io/ObjectStreamField.java
670 (unshared): new member variable.
671 (ObjectStreamField): New constructor.
672 (isUnshared): New method.
673
674 2003-06-20 Michael Koch <konqueror@gmx.de>
675
676 * java/net/URLStreamHandler.java
677 (hostsEqual): Rewritten.
678
679 2003-06-20 Michael Koch <konqueror@gmx.de>
680
681 * gnu/java/nio/MappedByteFileBuffer.java,
682 gnu/java/nio/natMappedByteFileBuffer.cc:
683 Removed
684 * java/nio/MappedByteBufferImpl.java:
685 New file.
686 * gnu/java/nio/FileChannelImpl.java:
687 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
688 * Makefile.am
689 (ordinary_java_source_files): Removed
690 gnu/java/nio/MappedByteFileBuffer.java and added
691 java/nio/MappedByteBufferImpl.java.
692 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
693 * Makefile.in: Regenerated.
694
695 2003-06-19 Michael Koch <konqueror@gmx.de>
696
697 * gnu/java/nio/DatagramChannelImpl.java
698 (fd): Removed.
699 (blocking): New member variable.
700 (socket): Likewise.
701 (DatagramChannelImpl): Throws IOException, initialize socket.
702 (socket):Implemented.
703 (implCloseSelectableChannel): Throws IOException, implemented.
704 (implConfigureBlocking): Likewise.
705 (connect): Likewise.
706 (disconnect): Likewise.
707 (isConnected): Likewise.
708 (write): Likewise.
709 (read): Likewise.
710 (receive): Throws IOException.
711 (send): Likewise.
712 * gnu/java/nio/SocketChannelImpl.java
713 (read): Implemented.
714 (write): Implemented.
715
716 2003-06-19 Michael Koch <konqueror@gmx.de>
717
718 * javax/swing/JComponent.java,
719 javax/swing/JInternalFrame.java,
720 javax/swing/MenuSelectionManager.java,
721 javax/swing/SwingUtilities.java,
722 javax/swing/ToggleButtonModel.java:
723 New versions from classpath.
724
725 2003-06-19 Michael Koch <konqueror@gmx.de>
726
727 * java/text/CollationElementIterator.java
728 (NULLORDER): Initialize with -1 as JDK documentation says.
729
730 2003-06-19 Michael Koch <konqueror@gmx.de>
731
732 * java/net/HttpURLConnection.java,
733 java/net/Inet4Address.java,
734 java/net/Inet6Address.java,
735 java/net/SocketImpl.java,
736 java/net/URLClassLoader.java:
737 Reworked import statements.
738 * java/net/InetAddress.java
739 (getByAddress): Simplified.
740 * java/net/ServerSocket.java
741 (ServerSocket): Moved special handling during bind operation to
742 bind().
743 (bind): Handle different cases when trying to bind a socket.
744 * java/net/URLConnection.java
745 (getHeaderFieldDate): Merged with classpath.
746 (getHeaderFieldInt): Likewise.
747
748 2003-06-19 Michael Koch <konqueror@gmx.de>
749
750 * java/util/zip/InflaterInputStream.java
751 (InflaterInputStream): Throw NullPointerException if in is null (as
752 JDK does).
753
754 2003-06-19 Michael Koch <konqueror@gmx.de>
755
756 * java/awt/Font.java
757 javax/swing/UIManager.java
758 javax/swing/border/AbstractBorder.java
759 javax/swing/border/BevelBorder.java
760 javax/swing/border/Border.java
761 javax/swing/border/CompoundBorder.java
762 javax/swing/border/EmptyBorder.java
763 javax/swing/border/EtchedBorder.java
764 javax/swing/border/LineBorder.java
765 javax/swing/border/MatteBorder.java
766 javax/swing/border/TitledBorder.java
767 javax/swing/plaf/BorderUIResource.java
768 javax/swing/plaf/basic/BasicBorders.java
769 javax/swing/plaf/basic/BasicButtonUI.java
770 javax/swing/plaf/basic/BasicCheckBoxUI.java
771 javax/swing/plaf/basic/BasicGraphicsUtils.java
772 javax/swing/plaf/basic/BasicLabelUI.java
773 javax/swing/plaf/basic/BasicRadioButtonUI.java
774 javax/swing/plaf/basic/BasicToggleButtonUI.java:
775 New versions from classpath.
776 * javax/swing/border/SoftBevelBorder.java:
777 New file from classpath.
778 * javax/swing/border/doc-files/LineBorder-1.png,
779 javax/swing/border/doc-files/BevelBorder-1.png,
780 javax/swing/border/doc-files/BevelBorder-2.png,
781 javax/swing/border/doc-files/BevelBorder-3.png,
782 javax/swing/border/doc-files/EmptyBorder-1.png,
783 javax/swing/border/doc-files/EtchedBorder-1.png,
784 javax/swing/border/doc-files/EtchedBorder-2.png,
785 javax/swing/border/doc-files/MatteBorder-1.png,
786 javax/swing/border/doc-files/MatteBorder-2.png,
787 javax/swing/border/doc-files/MatteBorder-3.png,
788 javax/swing/border/doc-files/MatteBorder-4.png,
789 javax/swing/border/doc-files/MatteBorder-5.png,
790 javax/swing/border/doc-files/MatteBorder-6.png,
791 javax/swing/border/doc-files/SoftBevelBorder-1.png,
792 javax/swing/border/doc-files/SoftBevelBorder-2.png,
793 javax/swing/border/doc-files/SoftBevelBorder-3.png,
794 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
795 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
796 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
797 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
798 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
799 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
800 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
801 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
802 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
803 New binary files from classpath.
804 * Makefile.am
805 (awt_java_source_files): Added
806 javax/swing/border/SoftBevelBorder.java.
807 * Makefile.in: Regenerated.
808
809 2003-06-19 Michael Koch <konqueror@gmx.de>
810
811 * gnu/java/security/x509/X509Certificate.java
812 (writeReplace): Merged from classpath.
813
814 2003-06-19 Michael Koch <konqueror@gmx.de>
815
816 * gnu/java/nio/FileChannelImpl.java
817 (map_address): Made public.
818 (FileChannelImpl): Merged with classpath.
819 * gnu/java/nio/natFileChannelImpl.cc
820 (nio_mmap_file): Commented out unused arguments.
821 (nio_unmmap_file): Likewise.
822 (niu_msync): Likewise.
823
824 2003-06-19 Michael Koch <konqueror@gmx.de>
825
826 * java/awt/image/IndexColorModel.java:
827 New version from classpath.
828
829 2003-06-18 Tom Tromey <tromey@redhat.com>
830
831 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
832 on arrays.
833 (isLoopbackAddress): Likewise.
834 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
835 on arrays.
836
837 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
838
839 * java/lang/natVMSecurityManager.cc (getClassContext):
840 Use maxlen instead of len for loop bound.
841
842 2003-06-18 Michael Koch <konqueror@gmx.de>
843
844 * gnu/java/nio/SelectorImpl.java
845 (register): Use fd with value 0 for now, will be fixed later.
846 * gnu/java/nio/ServerSocketChannelImpl.java
847 (fd): Removed.
848 (local_port): Removed.
849 (InetSocketAddress): Removed.
850 (ServerSocketChannelImpl): Just initialize internal socket object.
851 (implCloseSelectableChannel): Close internal socket object.
852 (implConfigureBlocking): Added comment.
853 (accept): Use jaba.net stuff to accept socket.
854 * gnu/java/nio/SocketChannelImpl.java
855 (fd): Removed.
856 (local_port): Removed.
857 (InetSocketAddress): Removed.
858 (SocketCreate): Removed.
859 (SocketConnect): Removed.
860 (SocketBind): Removed.
861 (SocketListen): Removed.
862 (SocketAvailable): Removed.
863 (SocketClose): Removed.
864 (SocketRead): Removed.
865 (SocketWrite): Removed.
866 (SocketChannelImpl): Just initialize internal socket object.
867 (implCloseSelectableChannel): Close internal socket object.
868 (implConfigureBlocking): Fixed implementation, added comment.
869 (connect): Use internal socket object to connect.
870 (socket): No need for sanity checks.
871 (read): Comment out some stuff, this will be reimplemented in the next
872 commit.
873 (write): Likewise.
874 * gnu/java/nio/natFileChannelImpl.cc
875 (nio_mmap_file): Line wrapped.
876 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
877 * Makefile.am
878 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
879 * Makefile.in: Regenerated.
880
881 2003-06-18 Michael Koch <konqueror@gmx.de>
882
883 * java/util/Locale.java
884 (equals): Merged from classpath.
885
886 2003-06-18 Michael Koch <konqueror@gmx.de>
887
888 * java/net/InetAddress.java:
889 Reformatted to better match classpath's version.
890 * java/net/URL.java
891 (equals): Simplified.
892 * java/net/URLConnection.java
893 (setDoInput): Revised documentation.
894 (getDefaultUseCaches): Likewise.
895 (setRequestProperty): Added @since tag.
896
897 2003-06-17 Michael Koch <konqueror@gmx.de>
898
899 * java/net/InetSocketAddress.java
900 (InetSocketAddress): Use wildcard address if addr is null.
901 (InetSocketAddress): Dont duplicate implementation.
902 (InetSocketAddress): Throw exception when hostname is null.
903 * java/net/Socket.java:
904 Reworked imports.
905 (Socket): Throw exception when raddr is null, handle case when laddr
906 is null.
907
908 2003-06-17 Michael Koch <konqueror@gmx.de>
909
910 * java/nio/DirectByteBufferImpl.java
911 (address): Made package private.
912 (DirectByteBufferImpl): New constructor.
913 * java/nio/natDirectByteBufferImpl.cc
914 (allocateImpl): Moved to java.nio namespace, implemented.
915 (freeImpl): Likewise.
916 (getImpl): Likewise.
917 (putImpl): Likewise.
918 * jni.cc
919 (_Jv_JNI_NewDirectByteBuffer): Implemented.
920 (_Jv_JNI_GetDirectBufferAddress): Implemented.
921 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
922
923 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
924
925 * include/powerpc-signal.h: New File.
926 * configure.in: Use it.
927 * configure: Regenerated.
928
929 2003-06-17 Michael Koch <konqueror@gmx.de>
930
931 * java/util/Locale.java
932 (getDisplayLanguage): Made it final.
933 (getDisplayCountry): Likewise.
934 (getDisplayVariant): Likewise.
935 (getDisplayName): Likewise.
936
937 2003-06-17 Michael Koch <konqueror@gmx.de>
938
939 * java/util/PropertyResourceBundle.java:
940 Removed unneeded import.
941
942 2003-06-17 Michael Koch <konqueror@gmx.de>
943
944 * java/util/prefs/AbstractPreferences.java,
945 java/util/prefs/PreferencesFactory.java:
946 Reworked imports, removed unused imports.
947 * java/util/prefs/Preferences.java
948 (systemNodeForPackage): Method takes a Class not an Object.
949 (userNodeForPackage): Likewise.
950 (nodeForPackage): Likewise.
951
952 2003-06-17 Michael Koch <konqueror@gmx.de>
953
954 * gnu/java/security/x509/X509Certificate.java:
955 Explicitely import used classes.
956
957 2003-06-17 Michael Koch <konqueror@gmx.de>
958
959 * java/util/zip/ZipEntry.java,
960 java/util/zip/ZipFile.java,
961 java/util/zip/ZipInputStream.java,
962 java/util/zip/ZipOutputStream.java:
963 Reworked imports, only import used classes.
964
965 2003-06-17 Michael Koch <konqueror@gmx.de>
966
967 * gnu/java/lang/ArrayHelper.java,
968 gnu/java/lang/ClassHelper.java:
969 Reformatted to match classpath's versions.
970
971 2003-06-14 Michael Koch <konqueror@gmx.de>
972
973 * gnu/java/nio/FileChannelImpl.java
974 (map_address): Removed incorrect comment.
975 * gnu/java/nio/SelectorImpl.java
976 (register): Remove code duplication and code for file channel handling.
977 * gnu/java/nio/ServerSocketChannelImpl.java
978 (serverSocket): Renamed from sock_object.
979 (ServerSocketChannel): Initialize serverSocket.
980 (socket): Return serverSocket.
981 * gnu/java/nio/SocketChannelImpl.java
982 (socket): Renamed from sock_object.
983 (isConnectionPenging): Simplified.
984 (socket): Return socket.
985 2003-06-14 Michael Koch <konqueror@gmx.de>
986
987 * java/security/BasicPermission.java:
988 New version from classpath.
989
990 2003-06-14 Michael Koch <konqueror@gmx.de>
991
992 * javax/naming/directory/Attribute.java:
993 New version from classpath.
994
995 2003-06-14 Michael Koch <konqueror@gmx.de>
996
997 * java/io/BufferedReader.java,
998 java/io/FileOutputStream.java:
999 New versions from classpath.
1000
1001 2003-06-12 Andrew Haley <aph@redhat.com>
1002
1003 * prims.cc (catch_segv): Create exception in handler.
1004 (catch_fpe): Likewise.
1005 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1006 (_Jv_ThrowSignal): Remove.
1007
1008 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1009 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1010 to nullp and arithexception.
1011 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1012 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1013 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1014 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1015 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1016
1017 2003-06-11 Andrew Haley <aph@redhat.com>
1018
1019 * jni.cc (_Jv_JNI_check_types): New.
1020 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1021 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1022 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1023 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1024
1025 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1026 infinite loop.
1027
1028 2003-06-11 Tom Tromey <tromey@redhat.com>
1029
1030 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1031 * java/io/PrintStream.java: Not deprecated.
1032
1033 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1034
1035 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1036 (fillOval): implemented
1037 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1038 (fillArc): implemented.
1039 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1040 (fillArc): added native method.
1041 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1042 (fillArc): added native method.
1043
1044 2003-06-11 Michael Koch <konqueror@gmx.de>
1045
1046 * java/awt/im/InputSubset.java:
1047 New version from classpath.
1048
1049 2003-06-11 Michael Koch <konqueror@gmx.de>
1050
1051 * javax/swing/AbstractAction.java,
1052 javax/swing/AbstractButton.java,
1053 javax/swing/AbstractCellEditor.java,
1054 javax/swing/AbstractListModel.java,
1055 javax/swing/BorderFactory.java,
1056 javax/swing/Box.java,
1057 javax/swing/BoxLayout.java,
1058 javax/swing/ButtonGroup.java,
1059 javax/swing/DefaultButtonModel.java,
1060 javax/swing/DefaultListModel.java,
1061 javax/swing/DefaultListSelectionModel.java,
1062 javax/swing/FocusManager.java,
1063 javax/swing/ImageIcon.java,
1064 javax/swing/InputMap.java,
1065 javax/swing/JApplet.java,
1066 javax/swing/JButton.java,
1067 javax/swing/JCheckBox.java,
1068 javax/swing/JCheckBoxMenuItem.java,
1069 javax/swing/JColorChooser.java,
1070 javax/swing/JComboBox.java,
1071 javax/swing/JComponent.java,
1072 javax/swing/JDesktopPane.java,
1073 javax/swing/JDialog.java,
1074 javax/swing/JEditorPane.java,
1075 javax/swing/JFileChooser.java,
1076 javax/swing/JFormattedTextField.java,
1077 javax/swing/JFrame.java,
1078 javax/swing/JLabel.java,
1079 javax/swing/JLayeredPane.java,
1080 javax/swing/JList.java,
1081 javax/swing/JMenuBar.java,
1082 javax/swing/JMenuItem.java,
1083 javax/swing/JOptionPane.java,
1084 javax/swing/JPanel.java,
1085 javax/swing/JPasswordField.java,
1086 javax/swing/JPopupMenu.java,
1087 javax/swing/JProgressBar.java,
1088 javax/swing/JRadioButton.java,
1089 javax/swing/JRadioButtonMenuItem.java,
1090 javax/swing/JRootPane.java,
1091 javax/swing/JScrollBar.java,
1092 javax/swing/JScrollPane.java,
1093 javax/swing/JSeparator.java,
1094 javax/swing/JSlider.java,
1095 javax/swing/JTabbedPane.java,
1096 javax/swing/JTable.java,
1097 javax/swing/JTextField.java,
1098 javax/swing/JToggleButton.java,
1099 javax/swing/JToolBar.java,
1100 javax/swing/JToolTip.java,
1101 javax/swing/JTree.java,
1102 javax/swing/JViewport.java,
1103 javax/swing/JWindow.java,
1104 javax/swing/KeyStroke.java,
1105 javax/swing/ListSelectionModel.java,
1106 javax/swing/LookAndFeel.java,
1107 javax/swing/RepaintManager.java,
1108 javax/swing/ScrollPaneLayout.java,
1109 javax/swing/SizeRequirements.java,
1110 javax/swing/SwingConstants.java,
1111 javax/swing/Timer.java,
1112 javax/swing/UIDefaults.java,
1113 javax/swing/UIManager.java,
1114 javax/swing/border/AbstractBorder.java,
1115 javax/swing/border/CompoundBorder.java,
1116 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1117 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1118 javax/swing/colorchooser/ColorSelectionModel.java,
1119 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1120 javax/swing/event/AncestorEvent.java,
1121 javax/swing/event/HyperlinkEvent.java,
1122 javax/swing/event/InternalFrameAdapter.java,
1123 javax/swing/event/InternalFrameEvent.java,
1124 javax/swing/event/ListDataEvent.java,
1125 javax/swing/event/MouseInputAdapter.java,
1126 javax/swing/event/SwingPropertyChangeSupport.java,
1127 javax/swing/event/TableModelEvent.java,
1128 javax/swing/event/TreeWillExpandListener.java,
1129 javax/swing/event/UndoableEditEvent.java,
1130 javax/swing/filechooser/FileFilter.java,
1131 javax/swing/filechooser/FileSystemView.java,
1132 javax/swing/filechooser/FileView.java,
1133 javax/swing/plaf/BorderUIResource.java,
1134 javax/swing/plaf/basic/BasicDefaults.java,
1135 javax/swing/table/AbstractTableModel.java,
1136 javax/swing/table/DefaultTableCellRenderer.java,
1137 javax/swing/table/DefaultTableColumnModel.java,
1138 javax/swing/table/DefaultTableModel.java,
1139 javax/swing/table/TableColumn.java,
1140 javax/swing/text/JTextComponent.java,
1141 javax/swing/tree/AbstractLayoutCache.java,
1142 javax/swing/tree/DefaultMutableTreeNode.java,
1143 javax/swing/tree/DefaultTreeCellEditor.java,
1144 javax/swing/tree/DefaultTreeCellRenderer.java,
1145 javax/swing/tree/DefaultTreeModel.java,
1146 javax/swing/tree/DefaultTreeSelectionModel.java,
1147 javax/swing/tree/FixedHeightLayoutCache.java,
1148 javax/swing/tree/TreeCellEditor.java,
1149 javax/swing/tree/TreeModel.java,
1150 javax/swing/tree/TreeNode.java,
1151 javax/swing/tree/TreePath.java,
1152 javax/swing/tree/TreeSelectionModel.java,
1153 javax/swing/tree/VariableHeightLayoutCache.java,
1154 javax/swing/undo/AbstractUndoableEdit.java,
1155 javax/swing/undo/CompoundEdit.java,
1156 javax/swing/undo/StateEdit.java,
1157 javax/swing/undo/UndoManager.java,
1158 javax/swing/undo/UndoableEditSupport.java:
1159 New versions from classpath.
1160 * javax/swing/table/JTableHeader.java:
1161 New file from classpath.
1162 * Makefile.am
1163 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1164 * Makefile.in: Regenerated.
1165
1166 2003-06-11 Michael Koch <konqueror@gmx.de>
1167
1168 * java/nio/MappedByteBuffer.java,
1169 java/nio/channels/Channels.java,
1170 java/nio/channels/ServerSocketChannel.java,
1171 java/nio/channels/spi/AbstractSelector.java:
1172 Removed unneeded imports.
1173
1174 2003-06-11 Michael Koch <konqueror@gmx.de>
1175
1176 * java/net/DatagramSocket.java:
1177 Partly merged with classpath.
1178
1179 2003-06-11 Michael Koch <konqueror@gmx.de>
1180
1181 * java/awt/Frame.java,
1182 java/awt/Graphics.java,
1183 java/awt/Menu.java,
1184 java/awt/Robot.java,
1185 java/awt/image/ColorModel.java:
1186 New versions from classpath.
1187
1188 2003-06-10 Michael Koch <konqueror@gmx.de>
1189
1190 * java/io/PrintStream.java:
1191 Merged version from classpath.
1192 (close): Removed sychronized keyword. This class is not garantied to
1193 be thread-safe.
1194 (write): Likewise.
1195
1196 2003-06-09 Tom Tromey <tromey@redhat.com>
1197
1198 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1199 field.
1200 (getDescent): Likewise, for "descent".
1201
1202 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1203
1204 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1205 (getMaxDescent): adjusted return value.
1206 (getAscent): modified to use metrics for 'O'.
1207 (getDescent): modified to use metrics for 'y'.
1208
1209 2003-06-08 Anthony Green <green@redhat.com>
1210
1211 * java/net/URLStreamHandler.java (sameFile): Fix port value
1212 comparison.
1213 * java/net/URL.java (handler): Make package private.
1214 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1215
1216 2003-06-07 Tom Tromey <tromey@redhat.com>
1217
1218 For PR libgcj/11085:
1219 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1220 Limit number of characters in numeric field when required.
1221 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1222 Respect maximumIntegerDigits.
1223
1224 2003-06-08 Michael Koch <konqueror@gmx.de>
1225
1226 * java/net/Socket.java
1227 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1228 call bind() and connect() to actually do the bind and connect tasks.
1229 (bind): Connect to canonical address if bindpoint is null, create
1230 socket and bind it to bindpoint.
1231 (connect): Check for exceptions.
1232
1233 2003-06-08 Michael Koch <konqueror@gmx.de>
1234
1235 * java/net/DatagramSocket.java
1236 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1237 into the Multicast constructors.
1238 * java/net/DatagramSocketImpl.java
1239 (getOption): Removed.
1240 (setOption): Removed.
1241 * java/net/MulticastSocket.java
1242 (MulticastSocket): Call setReuseAddress (true).
1243 * java/net/SocketImpl.java
1244 (getOption): Removed.
1245 (setOption): Removed.
1246
1247 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1248
1249 PR libgcj/10886:
1250 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1251 Test for empty vector.
1252
1253 2003-06-06 Mark Wielaard <mark@klomp.org>
1254
1255 * java/security/Security.java (secprops): Initialize.
1256 (loadProviders): Return boolean.
1257 (static): Check result of loadProvider calls. If necessary
1258 display WARNING and fallback to Gnu provider.
1259
1260 2002-06-06 James Clark <jjc@jclark.com>
1261
1262 Fix for PR libgcj/8738:
1263 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1264 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1265 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1266 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1267 (write): Always decrease avail when count is increased.
1268 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1269 and whether output buffer is full before increasing size.
1270
1271 2002-06-06 Mark Wielaard <mark@klomp dot org>
1272
1273 * java/io/PrintStream.java (writeChars(char[],int, int)):
1274 Check converter.havePendingBytes().
1275 (writeChars(String,int,int)): Likewise.
1276 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1277 Check converter.havePendingBytes() and flush buffer when stalled.
1278
1279 2003-06-07 Michael Koch <konqueror@gmx.de>
1280
1281 * include/posix.h
1282 (O_DSYNC): Define O_DSYNC on platforms not
1283 supporting O_FSYNC (newlib).
1284
1285 2003-06-06 Mark Wielaard <mark@klomp.org>
1286
1287 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1288 AWTError.
1289
1290 2003-06-06 Michael Koch <konqueror@gmx.de>
1291
1292 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1293 More compile fixes from my stupid work yesterday.
1294
1295 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1296
1297 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1298 if _IEEE_LIBM is undefined.
1299
1300 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1301
1302 * libjava/include/posix.h (O_SYNC): Define if not available
1303 and a reasonable, perhaps more conservative, replacement exists.
1304 (O_DSYNC): Likewise.
1305 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1306
1307 2003-06-05 Michael Koch <konqueror@gmx.de>
1308
1309 * javax/swing/plaf/BorderUIResource.java,
1310 javax/swing/plaf/basic/BasicDefaults.java,
1311 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1312 More compile fixes for latest Border commit. I should not commit
1313 something in this heat here ...
1314
1315 2003-06-05 Michael Koch <konqueror@gmx.de>
1316
1317 * javax/swing/border/BevelBorder.java
1318 (BevelBorder): Removed.
1319 * javax/swing/border/EmptyBorder.java:
1320 Reformatted.
1321 (EmptyBorder): Removed.
1322 (getBorderInsets): Dont use l, r, t and b.
1323 * javax/swing/border/EtchedBorder.java
1324 (EtchedBorder): Removed.
1325 * javax/swing/border/LineBorder.java
1326 (LineBorder): Removed.
1327 * javax/swing/border/MatteBorder.java
1328 (MatteBorder): Removed.
1329 * javax/swing/border/TitledBorder.java
1330 (defaultBorder): Use other default for now.
1331 (defaultFont): Likewise.
1332 (defaultColor): Likewise.
1333
1334 2003-06-05 Michael Koch <konqueror@gmx.de>
1335
1336 * javax/swing/border/Border.java:
1337 New version from classpath.
1338
1339 2003-06-05 Michael Koch <konqueror@gmx.de>
1340
1341 * javax/swing/border/AbstractBorder.java,
1342 javax/swing/border/BevelBorder.java,
1343 javax/swing/border/CompoundBorder.java,
1344 javax/swing/border/EmptyBorder.java,
1345 javax/swing/border/EtchedBorder.java,
1346 javax/swing/border/LineBorder.java,
1347 javax/swing/border/MatteBorder.java,
1348 javax/swing/border/TitledBorder.java:
1349 New versions from Classpath.
1350
1351 2003-06-05 Michael Koch <konqueror@gmx.de>
1352
1353 * java/awt/Button.java,
1354 java/awt/Checkbox.java,
1355 java/awt/CheckboxMenuItem.java,
1356 java/awt/Choice.java,
1357 java/awt/Container.java,
1358 java/awt/Dialog.java,
1359 java/awt/EventQueue.java,
1360 java/awt/FileDialog.java,
1361 java/awt/Frame.java,
1362 java/awt/Label.java,
1363 java/awt/List.java,
1364 java/awt/Menu.java,
1365 java/awt/MenuItem.java,
1366 java/awt/Panel.java,
1367 java/awt/PopupMenu.java,
1368 java/awt/Rectangle.java,
1369 java/awt/ScrollPane.java,
1370 java/awt/Scrollbar.java,
1371 java/awt/TextArea.java,
1372 java/awt/TextField.java,
1373 java/awt/Window.java,
1374 java/awt/datatransfer/DataFlavor.java,
1375 java/awt/dnd/DragSource.java,
1376 java/awt/dnd/DragSourceContext.java,
1377 java/awt/event/HierarchyEvent.java,
1378 java/awt/event/MouseWheelEvent.java,
1379 java/awt/im/InputContext.java,
1380 java/awt/image/BufferedImage.java,
1381 java/awt/image/ComponentColorModel.java,
1382 java/awt/image/Raster.java,
1383 java/awt/image/WritableRaster.java,
1384 java/awt/peer/ComponentPeer.java,
1385 java/awt/print/PageFormat.java,
1386 java/awt/print/PrinterJob.java:
1387 New versions from Classpath.
1388
1389 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1390
1391 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1392 numberFormat.setParseIntegerOnly(true).
1393
1394 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1395
1396 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1397
1398 2003-06-03 Andrew Haley <aph@redhat.com>
1399
1400 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1401 stack volatile to prevent optimization from removing it.
1402
1403 2003-05-27 Michael Koch <konqueror@gmx.de>
1404
1405 * java/util/zip/Deflater.java
1406 (FILTERED): Merged documentation from classpath.
1407 * java/util/zip/DeflaterOutputStream.java
1408 (DeflaterOutputStream): Merged documentation and argument validity
1409 check from classpath.
1410 (deflate): Merged documentation from classpath.
1411 (finish): Likewise.
1412 * java/util/zip/Inflater.java
1413 (Inflater): Merged class documentation from classpath.
1414 (zstream): Reordered.
1415 (is_finished): Reordered.
1416 (dict_needed): Reordered.
1417 (Inflater): Reordered, merged documentation from classpath.
1418 (end): Likewise.
1419 (finalize): Merged documentation from classpath.
1420 (finished): Likewise.
1421 (getAdler): Likewise.
1422 (getRemaining): Likewise.
1423 (getTotalIn): Likewise.
1424 (getTotalOut): Likewise.
1425 (inflate): Likewise.
1426 (needsDictionary): Likewise.
1427 (needsInput): Likewise.
1428 (reset): Likewise.
1429 (setDictionary): Likewise.
1430 (setInput): Likewise.
1431
1432 2003-05-27 Michael Koch <konqueror@gmx.de>
1433
1434 * java/net/URLConnection.java
1435 (getHeaderFieldInt): Merged with classpath.
1436
1437 2003-05-27 Michael Koch <konqueror@gmx.de>
1438
1439 * java/io/PrintStream.java
1440 (PrintStream): Reformatted.
1441 (PrintStream): New method, merged from classpath.
1442 (write): Reformatted.
1443
1444 2003-05-27 Michael Koch <konqueror@gmx.de>
1445
1446 * java/lang/System.java:
1447 Explicitely import needed classes.
1448
1449 2003-05-26 Michael Koch <konqueror@gmx.de>
1450
1451 * java/net/NetPermission.java,
1452 java/net/NetworkInterface.java,
1453 java/net/PasswordAuthentication.java,
1454 java/net/SocketPermission.java:
1455 New versions from classpath.
1456
1457 2003-05-25 Michael Koch <konqueror@gmx.de>
1458
1459 * java/io/PushbackInputStream.java,
1460 java/net/Authenticator.java,
1461 java/net/ContentHandler.java,
1462 java/net/ContentHandlerFactory.java,
1463 java/net/DatagramSocket.java,
1464 java/net/DatagramSocketImpl.java,
1465 java/net/DatagramSocketImplFactory.java,
1466 java/net/FileNameMap.java,
1467 java/net/SocketImplFactory.java,
1468 java/net/SocketOptions.java,
1469 java/net/URLStreamHandlerFactory.java:
1470 Merged new versions from classpath.
1471
1472 2003-05-25 Michael Koch <konqueror@gmx.de>
1473
1474 * java/awt/Checkbox.java,
1475 java/awt/Dialog.java,
1476 java/awt/Font.java,
1477 java/awt/Frame.java,
1478 java/awt/ScrollPaneAdjustable.java,
1479 java/awt/Scrollbar.java,
1480 java/awt/Window.java:
1481 New versions from classpath.
1482
1483 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1484
1485 PR libgcj/10838:
1486 * java/io/ObjectInputStream (enableResolveObject):
1487 Fixed spelling of permission name.
1488
1489 2003-05-20 Michael Koch <konqueror@gmx.de>
1490
1491 * java/io/DataInputStream.java
1492 (convertFromUTF): Merged comment from classpath.
1493 * java/io/PrintStream.java
1494 (error_occured): Renamed from error, merged comment from classpath.
1495 (PrintStream): No need to initialized error.
1496 (checkError): Replace error with error_occurred.
1497 (setError): Likewise.
1498
1499 2003-05-20 Michael Koch <konqueror@gmx.de>
1500
1501 * java/io/DataInputStream.java:
1502 Reformatted, Replaced < and & with html entitites in documentation.
1503 * java/io/File.java:
1504 Reformatted.
1505 * java/io/PrintWriter.java:
1506 Moved class documentation.
1507
1508 2003-05-20 Michael Koch <konqueror@gmx.de>
1509
1510 * gnu/java/nio/ByteBufferImpl.java,
1511 gnu/java/nio/CharBufferImpl.java,
1512 gnu/java/nio/CharViewBufferImpl.java,
1513 gnu/java/nio/DirectByteBufferImpl.java,
1514 gnu/java/nio/DoubleBufferImpl.java,
1515 gnu/java/nio/DoubleViewBufferImpl.java,
1516 gnu/java/nio/FloatBufferImpl.java,
1517 gnu/java/nio/FloatViewBufferImpl.java,
1518 gnu/java/nio/IntBufferImpl.java,
1519 gnu/java/nio/IntViewBufferImpl.java,
1520 gnu/java/nio/LongBufferImpl.java,
1521 gnu/java/nio/LongViewBufferImpl.java,
1522 gnu/java/nio/natDirectByteBufferImpl.cc,
1523 gnu/java/nio/ShortBufferImpl.java,
1524 gnu/java/nio/ShortViewBufferImpl.java:
1525 Moved files to java/nio.
1526 * gnu/java/nio/SocketChannelImpl.java
1527
1528 * java/nio/ByteBuffer.java,
1529 java/nio/CharBuffer.java,
1530 java/nio/DoubleBuffer.java,
1531 java/nio/FloatBuffer.java,
1532 java/nio/IntBuffer.java,
1533 java/nio/LongBuffer.java,
1534 java/nio/ShortBuffer.java:
1535 Dont import anything.
1536 * java/nio/ByteBufferImpl.java,
1537 java/nio/CharBufferImpl.java,
1538 java/nio/CharViewBufferImpl.java,
1539 java/nio/DirectByteBufferImpl.java,
1540 java/nio/DoubleBufferImpl.java,
1541 java/nio/DoubleViewBufferImpl.java,
1542 java/nio/FloatBufferImpl.java,
1543 java/nio/FloatViewBufferImpl.java,
1544 java/nio/IntBufferImpl.java,
1545 java/nio/IntViewBufferImpl.java,
1546 java/nio/LongBufferImpl.java,
1547 java/nio/LongViewBufferImpl.java,
1548 java/nio/natDirectByteBufferImpl.cc,
1549 java/nio/ShortBufferImpl.java,
1550 java/nio/ShortViewBufferImpl.java:
1551 Moved from gnu/java/nio.
1552 * Makefile.am
1553 (ordinary_java_source_files): Moved files from gnu/java/nio to
1554 java/nio.
1555 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1556 to java/nio.
1557 * Makefile.in: Regenerated.
1558
1559 2003-05-19 Michael Koch <konqueror@gmx.de>
1560
1561 * java/util/Calendar.java
1562 (get): Not final anymore since JDK 1.4
1563 (set): Likewise.
1564
1565 2003-05-19 Michael Koch <konqueror@gmx.de>
1566
1567 * java/text/CollationKey.java:
1568 Merged copyright and dat from classpath.
1569 * java/text/RuleBasedCollator.java:
1570 Merged class documentation from classpath.
1571
1572 2003-05-19 Michael Koch <konqueror@gmx.de>
1573
1574 * java/nio/CharBuffer.java
1575 (toString): Compile fix.
1576
1577 2003-05-19 Michael Koch <konqueror@gmx.de>
1578
1579 * gnu/java/nio/ByteBufferImpl.java
1580 (putLong): Fixed conversion to bytes.
1581 (putDouble): Fixed conversion to bytes.
1582 * gnu/java/nio/DirectByteBufferImpl.java
1583 (putLong): Fixed conversion to bytes.
1584 (putDouble): Fixed conversion to bytes.
1585 * gnu/java/nio/FileLockImpl.java
1586 (isValid): Reformatted.
1587 * java/nio/Buffer.java
1588 (Buffer): Fixed off-by-one bug in handling mark.
1589 * java/nio/ByteBuffer.java:
1590 Added newline.
1591 * java/nio/CharBuffer.java
1592 (toString): Don't use relative get to get string data.
1593
1594 2003-05-16 Michael Koch <konqueror@gmx.de>
1595
1596 * java/io/natFileDescriptorPosix.cc
1597 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1598 tested.
1599
1600 2003-05-14 Michael Koch <konqueror@gmx.de>
1601
1602 * gnu/java/nio/FileLockImpl.java
1603 (released): New member variable.
1604 (FileLockImpl): Initialize released.
1605 (releaseImpl): New native method.
1606 (release): Implemented.
1607 * gnu/java/nio/SelectorImpl.java: Reformatted.
1608 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1609 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1610 (accept): Throws IOException.
1611 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1612 (implConfigureBlocking): Throws IOException.
1613 (connect): Likewise.
1614 (read): Likewise.
1615 (write): Likewise.
1616 * gnu/java/nio/natFileLockImpl.cc: New file.
1617 * java/nio/channels/FileLock.java: Reformatted.
1618 * Makefile.am:
1619 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1620 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1621 * Makefile.in: Regenerated.
1622
1623 2003-05-13 Michael Koch <konqueror@gmx.de>
1624
1625 * gnu/java/nio/CharViewBufferImpl.java
1626 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1627 (get): Shift bits to the right direction.
1628 (put): Likewise.
1629 * gnu/java/nio/DoubleViewBufferImpl.java
1630 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1631 (get): Shift bits to the right direction.
1632 (put): Likewise.
1633 * gnu/java/nio/FloatViewBufferImpl.java
1634 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1635 (get): Shift bits to the right direction.
1636 (put): Likewise.
1637 * gnu/java/nio/IntViewBufferImpl.java
1638 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1639 (get): Shift bits to the right direction.
1640 (put): Likewise.
1641 * gnu/java/nio/LongViewBufferImpl.java
1642 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1643 (get): Shift bits to the right direction.
1644 (put): Likewise.
1645 * gnu/java/nio/ShortViewBufferImpl.java
1646 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1647 (get): Shift bits to the right direction.
1648 (put): Likewise.
1649
1650 2003-05-13 Michael Koch <konqueror@gmx.de>
1651
1652 * gnu/java/nio/natDirectByteBufferImpl.cc
1653 (allocateImpl): jlong -> RawData*.
1654 (freeImpl): Likewise.
1655
1656 2003-05-13 Michael Koch <konqueror@gmx.de>
1657
1658 * java/nio/channels/FileChannel.java
1659 (MapMode.m): Made it package-private to match JDK 1.4.
1660 * java/nio/charset/Charset.java
1661 (decode): Made it final to match JDK 1.4.
1662
1663 2003-05-13 Michael Koch <konqueror@gmx.de>
1664
1665 * java/io/FileDescriptor.java
1666 (SYNC): New constant.
1667 (DSYNC): Likewise.
1668 (getLength): Renamed from lenght() to match classpath's
1669 FileDescriptor.java.
1670 * java/io/RandomAccessFile.java
1671 (RandomAccessFile): Removed unneeded mode check, implemented mode
1672 "rws" and "rwd", merged documentation from classpath.
1673 (setLength): Reformatted.
1674 (length): Use new getLength() of FileDescriptor.
1675 * java/io/natFileDescriptorEcos.cc
1676 (getLength): Renamed from length().
1677 * java/io/natFileDescriptorPosix.cc
1678 (open): Implemented support for SYNC and DSYNC.
1679 (seek): Use getLength() instead of length().
1680 (getLength): Renamed from length().
1681 * java/io/natFileDescriptorWin32.cc
1682 (getLength): Renamed from length().
1683 (seek): Use getLength() instead of length().
1684 (available): Likewise.
1685 * gnu/java/nio/natFileChannelImpl.cc
1686 (size): Use getLength() instead of length().
1687
1688 2003-05-13 Michael Koch <konqueror@gmx.de>
1689
1690 * gnu/java/nio/ByteBufferImpl.java
1691 (ByteBufferImpl): All constructors revised.
1692 (slice): Reimplemented.
1693 (duplicate): Reimplemented.
1694 (asReadOnlyBuffer): Reimplemented.
1695 * java/nio/ByteBuffer.java:
1696 Reformatted.
1697 (array_offset): Renamed from "offset" to match all other buffer
1698 classes.
1699 (ByteBuffer): All constructors revised.
1700 (allocateDirect): Implemented.
1701 (allocate): New implementation, documentation reworked.
1702 (wrap): Likewise.
1703 (get): Documentation reworked.
1704 (put): New implementation, documentation reworked.
1705 (hasArray): Documentation reworked.
1706 (arrayOffset): Likewise.
1707 (hashCode): Likewise.
1708 (equals): Likewise.
1709 (compareTo): Likewise.
1710 (order): Likewise.
1711 (compact): Likewise.
1712 (isDirect): Likewise.
1713 (slice): Likewise.
1714 (duplicate): Likewise.
1715 (asReadOnlyBuffer): Likewise.
1716 * Makefile.am
1717 (ordinary_java_source_files):
1718 Added gnu/java/nio/DirectByteBufferImpl.java.
1719 (nat_source_files):
1720 Added gnu/java/nio/natDirectByteBufferImpl.cc.
1721 * Makefile.in: Regenerated.
1722
1723 2003-05-12 Michael Koch <konqueror@gmx.de>
1724
1725 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1726 (nio_get_*): Removed.
1727 (nio_put_*): Removed.
1728 (as*Buffer): Implemented.
1729 (compact): Implemented.
1730 (get): Documentation added.
1731 (put): Documentation added.
1732 (get*): Newly implemented.
1733 (put*): Newly implemented.
1734 * gnu/java/nio/CharBufferImpl.java: Reformatted.
1735 (CharBufferImpl): Revised.
1736 (slice): New implementation.
1737 (duplicate): New implementation.
1738 (compact): New implementation.
1739 (asReadOnlyBuffer): New implementation.
1740 (get): Documentation revised.
1741 (order): Return native byte order.
1742 * gnu/java/nio/DirectByteBufferImpl.java
1743 (allocateDirect): objects can be null not 0.
1744 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1745 (DoubleBufferImpl): Revised.
1746 (slice): New implementation.
1747 (duplicate): New implementation.
1748 (compact): New implementation.
1749 (asReadOnlyBuffer): New implementation.
1750 (get): Documentation revised.
1751 (order): Return native byte order.
1752 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1753 (FloatBufferImpl): Revised.
1754 (slice): New implementation.
1755 (duplicate): New implementation.
1756 (compact): New implementation.
1757 (asReadOnlyBuffer): New implementation.
1758 (get): Documentation revised.
1759 (order): Return native byte order.
1760 * gnu/java/nio/IntBufferImpl.java: Reformatted.
1761 (IntBufferImpl): Revised.
1762 (slice): New implementation.
1763 (duplicate): New implementation.
1764 (compact): New implementation.
1765 (asReadOnlyBuffer): New implementation.
1766 (get): Documentation revised.
1767 (order): Return native byte order.
1768 * gnu/java/nio/LongBufferImpl.java: Reformatted.
1769 (LongBufferImpl): Revised.
1770 (slice): New implementation.
1771 (duplicate): New implementation.
1772 (compact): New implementation.
1773 (asReadOnlyBuffer): New implementation.
1774 (get): Documentation revised.
1775 (order): Return native byte order.
1776 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1777 (ShortBufferImpl): Revised.
1778 (slice): New implementation.
1779 (duplicate): New implementation.
1780 (compact): New implementation.
1781 (asReadOnlyBuffer): New implementation.
1782 (get): Documentation revised.
1783 (order): Return native byte order.
1784 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1785 (CharBuffer): Revised.
1786 (order): Removed.
1787 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1788 (DoubleBuffer): Revised.
1789 (allocateDirect): Removed.
1790 (order): Removed.
1791 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1792 (FloatBuffer): Revised.
1793 (allocateDirect): Removed.
1794 (order): Removed.
1795 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1796 (IntBuffer): Revised.
1797 (allocateDirect): Removed.
1798 (order): Removed.
1799 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1800 (LongBuffer): Revised.
1801 (allocateDirect): Removed.
1802 (order): Removed.
1803 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1804 (ShortBuffer): Revised.
1805 (allocateDirect): Removed.
1806 (order): Removed.
1807 * gnu/java/nio/natByteBufferImpl.cc: Removed.
1808 * gnu/java/nio/natCharBufferImpl.cc: Removed.
1809 * Makefile.am
1810 (ordinary_java_source_files): Added the following files:
1811 gnu/java/nio/CharViewBufferImpl.java,
1812 gnu/java/nio/DoubleViewBufferImpl.java,
1813 gnu/java/nio/FloatViewBufferImpl.java,
1814 gnu/java/nio/IntViewBufferImpl.java,
1815 gnu/java/nio/LongViewBufferImpl.java,
1816 gnu/java/nio/ShortViewBufferImpl.java
1817 (nat_source_files): Removed the following files:
1818 gnu/java/nio/natByteBufferImpl.cc,
1819 gnu/java/nio/natCharBufferImpl.cc
1820 * Makefile.in: Regenerated.
1821
1822 2003-05-12 Michael Koch <konqueror@gmx.de>
1823
1824 * gnu/java/nio/CharViewBufferImpl.java,
1825 gnu/java/nio/DirectByteBufferImpl.java,
1826 gnu/java/nio/DoubleViewBufferImpl.java,
1827 gnu/java/nio/FloatViewBufferImpl.java,
1828 gnu/java/nio/IntViewBufferImpl.java,
1829 gnu/java/nio/LongViewBufferImpl.java,
1830 gnu/java/nio/ShortViewBufferImpl.java,
1831 gnu/java/nio/natDirectByteBufferImpl.cc:
1832 New files, not yet to be compiled.
1833
1834 2003-05-10 Michael Koch <konqueror@gmx.de>
1835
1836 * javax/swing/plaf/ButtonUI.java,
1837 javax/swing/plaf/ColorUIResource.java,
1838 javax/swing/plaf/ComponentUI.java,
1839 javax/swing/plaf/DimensionUIResource.java,
1840 javax/swing/plaf/FontUIResource.java,
1841 javax/swing/plaf/IconUIResource.java,
1842 javax/swing/plaf/InsetsUIResource.java,
1843 javax/swing/plaf/LabelUI.java,
1844 javax/swing/plaf/ListUI.java,
1845 javax/swing/plaf/OptionPaneUI.java,
1846 javax/swing/plaf/PanelUI.java,
1847 javax/swing/plaf/TabbedPaneUI.java,
1848 javax/swing/plaf/TextUI.java,
1849 javax/swing/plaf/TreeUI.java,
1850 javax/swing/plaf/ViewportUI.java,
1851 javax/swing/plaf/basic/BasicBorders.java,
1852 javax/swing/plaf/basic/BasicButtonUI.java,
1853 javax/swing/plaf/basic/BasicCheckBoxUI.java,
1854 javax/swing/plaf/basic/BasicDefaults.java,
1855 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1856 javax/swing/plaf/basic/BasicIconFactory.java,
1857 javax/swing/plaf/basic/BasicLabelUI.java,
1858 javax/swing/plaf/basic/BasicListUI.java,
1859 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1860 javax/swing/plaf/basic/BasicPanelUI.java,
1861 javax/swing/plaf/basic/BasicRadioButtonUI.java,
1862 javax/swing/plaf/basic/BasicScrollPaneUI.java,
1863 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1864 javax/swing/plaf/basic/BasicTextUI.java,
1865 javax/swing/plaf/basic/BasicToggleButtonUI.java,
1866 javax/swing/plaf/basic/BasicTreeUI.java,
1867 javax/swing/plaf/basic/BasicViewportUI.java,
1868 javax/swing/plaf/metal/MetalLookAndFeel.java:
1869 New versions from classpath. This adds copyrights to all files and
1870 some serialVersionUIDs.
1871
1872 2003-05-10 Michael Koch <konqueror@gmx.de>
1873
1874 * java/nio/CharBuffer.java
1875 (offset): Make it package-private.
1876 (backing_buffer): Likewise.
1877 * java/nio/DoubleBuffer.java
1878 (offset): Make it package-private.
1879 (backing_buffer): Likewise.
1880 (put): Reformatted.
1881 * java/nio/FloatBuffer.java
1882 (offset): Make it package-private.
1883 (backing_buffer): Likewise.
1884 * java/nio/IntBuffer.java
1885 (offset): Make it package-private.
1886 (backing_buffer): Likewise.
1887 * java/nio/LongBuffer.java
1888 (offset): Make it package-private.
1889 (backing_buffer): Likewise.
1890 * java/nio/ShortBuffer.java
1891 (offset): Make it package-private.
1892 (backing_buffer): Likewise.
1893
1894 2003-05-10 Michael Koch <konqueror@gmx.de>
1895
1896 * java/nio/CharBuffer.java
1897 (put): Fixed precondtion check.
1898 (toString): Make it work without backing array.
1899 (put): Skip one level of method calling.
1900
1901 2003-05-10 Michael Koch <konqueror@gmx.de>
1902
1903 * java/security/Identity.java,
1904 java/security/IdentityScope.java,
1905 java/security/Key.java,
1906 java/security/KeyPair.java,
1907 java/security/PrivateKey.java,
1908 java/security/Provider.java,
1909 java/security/PublicKey.java,
1910 java/security/SecureRandom.java,
1911 java/security/SecureRandomSpi.java,
1912 java/security/SignedObject.java,
1913 java/security/Signer.java,
1914 java/security/cert/Certificate.java,
1915 java/security/cert/PKIXCertPathBuilderResult.java,
1916 java/security/cert/X509Certificate.java:
1917 New versions from classpath.
1918
1919 2003-05-09 Tom Tromey <tromey@redhat.com>
1920
1921 * Makefile.in: Rebuilt.
1922 * Makefile.am (nat_source_files): Removed old files.
1923 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1924 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1925 * gnu/java/nio/natIntBufferImpl.cc: Removed.
1926 * gnu/java/nio/natLongBufferImpl.cc: Removed.
1927 * gnu/java/nio/natShortBufferImpl.cc: Removed.
1928
1929 2003-05-09 Michael Koch <konqueror@gmx.de>
1930
1931 * gnu/java/nio/ByteBufferImpl.java
1932 (nio_cast): Removed.
1933 (ByteBufferImpl): Removed.
1934 (nio_get_Byte): Removed.
1935 (nio_put_Byte): Removed.
1936 (asByteBuffer): Removed.
1937 (asCharBuffer): Removed implementation and throw exception.
1938 (asShortBuffer): Likewise.
1939 (asIntBuffer): Likewise.
1940 (asLongBuffer): Likewise.
1941 (asFloatBuffer): Likewise.
1942 (asDoubleBuffer): Likewise.
1943 * gnu/java/nio/CharBufferImpl.java
1944 (CharBufferImpl): Removed.
1945 (nio_get_Byte): Removed.
1946 (nio_put_Byte): Removed.
1947 (asByteBuffer): Removed.
1948 * gnu/java/nio/DoubleBufferImpl.java
1949 (DoubleBufferImpl): Removed.
1950 (nio_get_Byte): Removed.
1951 (nio_put_Byte): Removed.
1952 (asByteBuffer): Removed.
1953 * gnu/java/nio/FloatBufferImpl.java
1954 (FloatBufferImpl): Removed.
1955 (nio_get_Byte): Removed.
1956 (nio_put_Byte): Removed.
1957 (asByteBuffer): Removed.
1958 * gnu/java/nio/IntBufferImpl.java
1959 (IntBufferImpl): Removed.
1960 (nio_get_Byte): Removed.
1961 (nio_put_Byte): Removed.
1962 (asByteBuffer): Removed.
1963 * gnu/java/nio/LongBufferImpl.java
1964 (LongBufferImpl): Removed.
1965 (nio_get_Byte): Removed.
1966 (nio_put_Byte): Removed.
1967 (asByteBuffer): Removed.
1968 * gnu/java/nio/ShortBufferImpl.java
1969 (ShortBufferImpl): Removed.
1970 (nio_get_Byte): Removed.
1971 (nio_put_Byte): Removed.
1972 (asByteBuffer): Removed.
1973 * gnu/java/nio/natByteBufferImpl.cc
1974 (nio_cast): Removed.
1975 (nio_get_Byte): Removed.
1976 (nio_put_Byte): Removed.
1977 * gnu/java/nio/natCharBufferImpl.cc
1978 (nio_get_Byte): Removed.
1979 (nio_put_Byte): Removed.
1980
1981 2003-05-09 Michael Koch <konqueror@gmx.de>
1982
1983 * java/net/JarURLConnection.java
1984 (getJarEntry): Merged documentation from classpath.
1985 (getJarFile): Likewise.
1986 (getMainAttributes): Likewise.
1987 (getAttributes): Likewise.
1988 (getManifest): Likewise.
1989 (getCertificates): Reformatted.
1990 * java/net/URLConnection.java:
1991 Little classpath merge.
1992
1993 2003-05-09 Michael Koch <konqueror@gmx.de>
1994
1995 * java/io/DataOutputStream.java
1996 (writeShort): Made it synchronized.
1997 (writeChar): Likewise.
1998 (writeInt): Likewise.
1999 (writeLong): Liekwise.
2000 (writeUTF): Made it synchronized, renamed argument to match classpath.
2001 * java/io/InputStreamReader.java
2002 (converter): Added documentation.
2003 (read): Merged documentation from classpath.
2004 * java/io/OutputStreamWriter.java
2005 (OutputStreamWriter): Merged documentation from classpath.
2006 (close): Reformatted.
2007 (getEncoding): Likewise.
2008 (flush): Likewise.
2009 (write): Merged documentation from classpath, reformatted.
2010
2011 2003-05-08 Tom Tromey <tromey@redhat.com>
2012
2013 * configure.host <powerpc64*-*>: Set with_libffi_default and
2014 libgcj_interpreter to "yes".
2015
2016 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2017
2018 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2019
2020 2003-05-06 Tom Tromey <tromey@redhat.com>
2021
2022 * verify.cc: Reverted previous patch.
2023
2024 2003-05-06 Michael Koch <konqueror@gmx.de>
2025
2026 * java/io/DataOutputStream.java
2027 (write): Renamed argument to "value", merged documentation from
2028 classpath.
2029 (writeBoolean): Likewise.
2030 (writeByte): Likewise.
2031 (writeShort): Likewise.
2032 (writeChar): Likewise.
2033 (writeInt): Likewise.
2034 (writeLong): Likewise.
2035 (writeFloat): Likewise.
2036 (writeDouble): Likewise.
2037 (writeBytes): Likewise.
2038 (writeChars): Likewise.
2039 (writeUTF): Likewise.
2040 * java/io/File.java
2041 (performDelete): Added documentation.
2042 (performList): Likewise.
2043 (performMkdir): Likewise.
2044 (performSetReadOnly): Likewise.
2045 (performRenameTo): Likewise.
2046 (performSetLastModified): Likewise.
2047 (delete): Made it sychronized.
2048 (renameTo): Made it sychronized.
2049 (equals): Reformatted.
2050 (isHidden): Likewise.
2051 (listFiles): Likewise.
2052 (setReadOnly): Likewise.
2053 (listRoots): Likewise.
2054 (setLastModified): Likewise.
2055 (checkRead): Likewise.
2056 (checkWrite): Likewise.
2057 * java/io/FileInputStream.java
2058 (skip): Made it sychronized, merged from classpath.
2059 * java/io/FileOutputStream.java
2060 (write): Merged from classpath.
2061 * java/io/InputStreamReader.java:
2062 (InputStreamReader): Merged documentation from classpath.
2063
2064 2003-05-05 Michael Koch <konqueror@gmx.de>
2065
2066 * java/net/NetworkInterface.java
2067 (networkInterfaces): Removed.
2068 (getByName): Use getRealNetworkInterfaces() instead of
2069 networkInterfaces.
2070 (getByInetAddress): Likewise.
2071 (getNetworkInterfaces): Likewise.
2072 (toString): Fix output of addresses of an interface.
2073
2074 2003-05-05 Michael Koch <konqueror@gmx.de>
2075
2076 * java/io/DataInputStream.java:
2077 Merged new documentation from classpath.
2078
2079 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2080
2081 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2082 "version".
2083 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2084 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2085 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2086 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2087 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2088 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2089 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2090 * java/security/Key.java: Likewise.
2091 * java/security/PrivateKey.java: Likewise.
2092 * java/security/Provider.java: Likewise.
2093 * java/security/PublicKey.java: Likewise.
2094
2095 2003-05-02 Michael Koch <konqueror@gmx.de>
2096
2097 * java/net/URI.java
2098 (create): Doesnt throws any exceptions.
2099 * java/net/URLConnection.java
2100 (URLConnection): Commend added.
2101 (getExpiration): The header field is called "expires" not
2102 "expiration".
2103 (getHeaderField): Merged documentation with classpath.
2104 (getHeaderFieldInt): Likewise.
2105 (getHeaderFieldDate): Likewise.
2106 (getHeaderFieldKey): Likewise.
2107 (getPermission): Likewise.
2108 (setDefaultUseCaches): Likewise.
2109 (setRequestProperty): Likewise.
2110 (addRequestProperty): Likewise.
2111 (getRequestProperty): Likewise.
2112 (getRequestProperties): Likewise.
2113 (setDefaultRequestProperty): Likewise.
2114 (getDefaultRequestProperty): Likewise.
2115 (guessContentTypeFromStream): Likewise.
2116 (getFileNameMap): Likewise.
2117 (setFileNameMap): Likewise.
2118 (setDoInput): Merged implementation and documentation with classpath.
2119 (setDoOutput): Likewise.
2120 (setAllowUserInteraction): Likewise.
2121 (setDefaultAllowUserInteraction): Likewise.
2122 (setContentHandlerFactory): Made it synchronized, merged documentation
2123 with classpath.
2124 (guessContentTypeFromName): Renamed argument fname to filename to
2125 match classpath, merged documentation with classpath.
2126
2127 2003-05-02 Michael Koch <konqueror@gmx.de>
2128
2129 * java/net/JarURLConnection.java
2130 (JarURLConnection): Class documentation merged with classpath.
2131 (getJarFileURL): Moved and documentation merged with classpath.
2132 (getEntryName): Likewise.
2133 (JarURLConnection): Documentation merged with classpath.
2134 (getJarEntry): Likewise.
2135 (getJarFile): Likewise.
2136 * java/net/PlainDatagramSocketImpl.java:
2137 Class documentation moved.
2138 * java/net/URLConnection.java
2139 (fileNameMap): Moved and documentation merged with classpath.
2140 (factory): Likewise.
2141 (defaultAllowUserInteraction): Likewis.
2142 (defaultUseCaches): Likewise.
2143 (allowUserInteraction): Likewise.
2144 (connected): Likewise.
2145 (url): Likewise.
2146 (connect): Documentation merged with classpath.
2147 (getURL): Likewise.
2148 (getContentLength): Likewise.
2149 (getContentType): Likewise.
2150 (getContentEncoding): Likewise.
2151 (getExpiration): Likewise.
2152 (getDate): Likewise.
2153 (getLastModified): Likewise.
2154 (getHeaderField): Likewise.
2155 (getContent): Likewise.
2156 (getPermission): Likewise.
2157 (getInputStream): Likewise.
2158 (getOutputStream): Likewise.
2159 (toString): Likewise.
2160 (getDoInput): Likewise.
2161 (getDoOutput): Likewise.
2162 (setAllowUserInteraction): Likewise.
2163 (getAllowUserInteraction): Likewise.
2164 (setDefaultAllowUserInteraction): Likewise.
2165 (getDefaultAllowUserInteraction): Likewise.
2166 (setUseCaches): Likewise.
2167 (getUseCaches): Likewise.
2168 (setIfModifiedSince): Likewise.
2169 (getIfModifiedSince): Likewise.
2170 (setDefaultRequestProperty): Likewise.
2171 (getDefaultRequestProperty): Likewise.
2172 (setContentHandlerFactory): Likewise.
2173 (setFileNameMap): Likewise.
2174
2175 2003-05-02 Michael Koch <konqueror@gmx.de>
2176
2177 * java/net/InetAddress.java:
2178 Merged class documentation with classpath.
2179 * java/net/JarURLConnection.java:
2180 Explicitely import all used classes.
2181 * java/net/URL.java:
2182 Reformatting.
2183 * java/net/ServerSocket.java,
2184 java/net/Socket.java:
2185 New versions from classpath.
2186
2187 2003-05-02 Michael Koch <konqueror@gmx.de>
2188
2189 * gnu/java/nio/FileChannelImpl.java
2190 (read): New implementation.
2191 (implRead): New methods.
2192 (write): New implementation, call other write insteal of read method.
2193 (implWrite): New methods.
2194 (map): Added comment.
2195 (transferFrom): Implemented.
2196 (transferTo): Implemented.
2197 (lock): Added checks to throw exceptions.
2198 (truncate): Added check to throw exception.
2199 * gnu/java/nio/natFileChannelImpl.cc
2200 (implRead): New method.
2201 (implWrite): New method.
2202 * java/nio/ByteBuffer.java
2203 (hashCode): Fixed comment.
2204 (get): Fixed exception documentation.
2205 (put): Fixed exception documentation.
2206 * java/nio/CharBuffer.java:
2207 Added comment for later optimizations.
2208
2209 2003-04-30 Tom Tromey <tromey@redhat.com>
2210
2211 PR libgcj/10582:
2212 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2213 Removed.
2214 (type::compatible): Use _Jv_IsAssignableFrom.
2215 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2216 (_Jv_IsAssignableFrom): Work even when source or target class is
2217 not prepared.
2218
2219 2003-04-30 Michael Koch <konqueror@gmx.de>
2220
2221 * java/text/BreakIterator.java
2222 (clone): New method.
2223
2224 2003-04-30 Michael Koch <konqueror@gmx.de>
2225
2226 * java/text/CollationElementIterator.java,
2227 java/text/CollationKey.java,
2228 java/text/RuleBasedCollator.java:
2229 Merged copyright and documentation from classpath and
2230 rearranged some code. No code changes done.
2231
2232 2003-04-30 Michael Koch <konqueror@gmx.de>
2233
2234 * java/util/regex/Matcher.java
2235 (pattern): New member variable.
2236 (appendReplacement): New method.
2237 (appendTail): New method.
2238 (end): New method.
2239 (find): New method.
2240 (group): New method.
2241 (replaceFirst): Added documentation.
2242 (replaceAll): Added documentation.
2243 (groupCount): New method.
2244 (lookingAt): New method.
2245 (matches): New method.
2246 (reset): New method.
2247 (start): New method.
2248 * java/util/regex/Pattern.java
2249 (serialVersionUID): New constant.
2250 (CANON_EQ): New constant.
2251 (CASE_INSENSITIVE): New constant.
2252 (COMMENTS): New constant.
2253 (DOTALL): New constant.
2254 (MULTILINE): New constant.
2255 (UNICODE_CASE): New constant.
2256 (UNIX_LINES): New constant.
2257 (regex): New member variable.
2258 (flags): New member variable.
2259 (Pattern): New method.
2260 (compile): Documentation added.
2261 (flags): New method.
2262 (matches): Documentation added.
2263 (matcher): Documentation added.
2264 (split): Documentation added.
2265 (pattern): New method.
2266
2267 2003-04-30 Michael Koch <konqueror@gmx.de>
2268
2269 * gnu/java/security/Engine.java,
2270 gnu/java/security/OID.java,
2271 gnu/java/security/der/BitString.java,
2272 gnu/java/security/der/DER.java,
2273 gnu/java/security/der/DERReader.java,
2274 gnu/java/security/der/DERValue.java,
2275 gnu/java/security/der/DERWriter.java,
2276 gnu/java/security/provider/DSAKeyFactory.java,
2277 gnu/java/security/provider/X509CertificateFactory.java,
2278 gnu/java/security/x509/X500DistinguishedName.java,
2279 gnu/java/security/x509/X509CRL.java,
2280 gnu/java/security/x509/X509CRLEntry.java,
2281 gnu/java/security/x509/X509Certificate.java,
2282 java/security/cert/CRLSelector.java,
2283 java/security/cert/CertPathBuilder.java,
2284 java/security/cert/CertPathBuilderResult.java,
2285 java/security/cert/CertPathBuilderSpi.java,
2286 java/security/cert/CertPathParameters.java,
2287 java/security/cert/CertPathValidator.java,
2288 java/security/cert/CertPathValidatorResult.java,
2289 java/security/cert/CertPathValidatorSpi.java,
2290 java/security/cert/CertSelector.java,
2291 java/security/cert/CertStore.java,
2292 java/security/cert/CertStoreParameters.java,
2293 java/security/cert/CertStoreSpi.java,
2294 java/security/cert/CollectionCertStoreParameters.java,
2295 java/security/cert/LDAPCertStoreParameters.java,
2296 java/security/cert/PKIXBuilderParameters.java,
2297 java/security/cert/PKIXCertPathBuilderResult.java,
2298 java/security/cert/PKIXCertPathChecker.java,
2299 java/security/cert/PKIXCertPathValidatorResult.java,
2300 java/security/cert/PKIXParameters.java,
2301 java/security/cert/PolicyNode.java,
2302 java/security/cert/PolicyQualifierInfo.java,
2303 java/security/cert/TrustAnchor.java,
2304 javax/security/auth/x500/X500Principal.java:
2305 New files from classpath.
2306 * gnu/java/io/ASN1ParsingException.java,
2307 gnu/java/io/Base64InputStream.java,
2308 gnu/java/security/der/DEREncodingException.java,
2309 gnu/java/security/provider/DSAParameters.java,
2310 gnu/java/security/provider/DSASignature.java,
2311 gnu/java/security/provider/Gnu.java,
2312 gnu/java/security/provider/GnuDSAPrivateKey.java,
2313 gnu/java/security/provider/GnuDSAPublicKey.java,
2314 java/security/AlgorithmParameterGenerator.java,
2315 java/security/AlgorithmParameters.java,
2316 java/security/KeyFactory.java,
2317 java/security/KeyPairGenerator.java,
2318 java/security/KeyStore.java,
2319 java/security/MessageDigest.java,
2320 java/security/SecureClassLoader.java,
2321 java/security/SecureRandom.java,
2322 java/security/Security.java,
2323 java/security/Signature.java,
2324 java/security/cert/Certificate.java,
2325 java/security/cert/CertificateFactory.java,
2326 java/security/cert/CertificateFactorySpi.java,
2327 java/security/cert/X509CRL.java,
2328 java/security/cert/X509Certificate.java,
2329 java/security/spec/DSAPublicKeySpec.java:
2330 New versions from classpath.
2331 * gnu/java/security/provider/DERReader.java,
2332 gnu/java/security/provider/DERWriter.java,
2333 java/security/Engine.java: Removed.
2334 * Makefile.am
2335 (java_source_files, javax_source_files): Added new files.
2336 * Makefile.in: Regenerated.
2337
2338 2003-04-29 Michael Koch <konqueror@gmx.de>
2339
2340 * javax/swing/JTable.java
2341 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2342 (AUTO_RESIZE_LAST_COLUMN): New constant.
2343 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2344 (AUTO_RESIZE_OFF): New constant.
2345 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2346 (JTable): New method.
2347 (columnAdded): New method.
2348 (columnMarginChanged): New method.
2349 (columnMoved): New method.
2350 (columnRemoved): New method.
2351 (columnSelectionChanged): New method.
2352 (editingCanceled): New method.
2353 (editingStopped): New method.
2354 (getColumnModel): New method.
2355 (getPreferredScrollableViewportSize): New method.
2356 (getScrollableBlockIncrement): New method.
2357 (getScrollableTracksViewportHeight): New method.
2358 (getScrollableTracksViewportWidth): New method.
2359 (getScrollableUnitIncrement): New method.
2360 (getSelectedRow): New method.
2361 (getSelectionModel): New method.
2362 (tableChanged): New method.
2363 (setModel): New method.
2364 (setSelectionMode): New method.
2365 (setSelectionModel): New method.
2366 (setShowGrid): New method.
2367 (valueChanged): New method.
2368 * javax/swing/text/DefaultEditorKit.java
2369 (backwardAction): New constant.
2370 (beepAction): New constant.
2371 (beginAction): New constant.
2372 (beginLineAction): New constant.
2373 (beginParagraphAction): New constant.
2374 (beginWordAction): New constant.
2375 (copyAction): New constant.
2376 (cutAction): New constant.
2377 (defaultKeyTypedAction): New constant.
2378 (deleteNextCharAction): New constant.
2379 (deletePrevCharAction): New constant.
2380 (downAction): New constant.
2381 (endAction): New constant.
2382 (endLineAction): New constant.
2383 (endOfLineStringProperty): New constant.
2384 (endParagraphAction): New constant.
2385 (endWordAction): New constant.
2386 (forwardAction): New constant.
2387 (insertBreakAction): New constant.
2388 (insertContentAction): New constant.
2389 (insertTabAction): New constant.
2390 (nextWordAction): New constant.
2391 (pageDownAction): New constant.
2392 (pageUpAction): New constant.
2393 (pasteAction): New constant.
2394 (previousWordAction): New constant.
2395 (readOnlyAction): New constant.
2396 (selectAllAction): New constant.
2397 (selectionBackwardAction): New constant.
2398 (selectionBeginAction): New constant.
2399 (selectionBeginLineAction): New constant.
2400 (selectionBeginParagraphAction): New constant.
2401 (selectionBeginWordAction): New constant.
2402 (selectionDownAction): New constant.
2403 (selectionEndAction): New constant.
2404 (selectionEndLineAction): New constant.
2405 (selectionEndParagraphAction): New constant.
2406 (selectionEndWordAction): New constant.
2407 (selectionForwardAction): New constant.
2408 (selectionNextWordAction): New constant.
2409 (selectionPreviousWordAction): New constant.
2410 (selectionUpAction): New constant.
2411 (selectLineAction): New constant.
2412 (selectParagraphAction): New constant.
2413 (selectWordAction): New constant.
2414 (upAction): New constant.
2415 (writableAction): New constant.
2416
2417 2003-04-29 Michael Koch <konqueror@gmx.de>
2418
2419 * java/util/PropertyPermission.java:
2420 New version from classpath
2421 * java/util/ResourceBundle.java:
2422 Partly merged from classpath
2423 (getObject): Reformated.
2424 (tryBundle): Set foundBundle = null if no bundle found.
2425
2426 2003-04-29 Michael Koch <konqueror@gmx.de>
2427
2428 * javax/swing/AbstractListModel.java,
2429 javax/swing/DefaultBoundedRangeModel.java,
2430 javax/swing/DefaultSingleSelectionModel.java:
2431 New Versions from classpath.
2432
2433 2003-04-29 Michael Koch <konqueror@gmx.de>
2434
2435 * java/awt/Window.java
2436 (show): Call super.show() instead of setVisible() to avoid endless
2437 loop.
2438 (hide): Call super.hide() instead of setVisible() to avoid endless
2439 loop.
2440
2441 2003-04-29 Michael Koch <konqueror@gmx.de>
2442
2443 * java/util/zip/Deflater.java,
2444 java/util/zip/DeflaterOutputStream.java:
2445 Partly merged with classpath.
2446
2447 2003-04-27 Tom Tromey <tromey@redhat.com>
2448
2449 * java/lang/natString.cc (_Jv_AllocString): Initialize
2450 cachedHashCode.
2451 (init): Likewise.
2452 (_Jv_NewStringUtf8Const): Likewise.
2453
2454 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2455
2456 * include/jvm.h: (_Jv_GetNbArgs) added
2457 (_Jv_GetSafeArg) added
2458 (_Jv_SetArgs) added
2459 * prims.cc: (_Jv_GetNbArgs) implemented
2460 (_Jv_GetSafeArg) implemented
2461 (_Jv_SetArgs) implemented
2462 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2463 setting _Jv_argc and _Jv_argv
2464 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2465 instead of _Jv_argv
2466 * java/lang/natRuntime.cc: (insertSystemProperties) use
2467 _Jv_GetSafeArg() instead of _Jv_argv
2468
2469 2003-04-23 Tom Tromey <tromey@redhat.com>
2470
2471 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2472 required by this object. Search superclasses to find required
2473 alignment.
2474 (get_alignment_from_class): Use alignment of type as it appears
2475 in a struct.
2476 (ALIGNOF): New macro.
2477 (struct aligner): New helper structure.
2478
2479 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2480
2481 * java/awt/Container.java (addImpl): Enable paint events if adding
2482 a lightweight to a heavyweight.
2483 (addNotify): Ensure that peer is created before
2484 addNotifyContainerChildren.
2485 (addNotifyContainerChildren): Enable paint events if a heavyweight
2486 container contains a lightweight.
2487
2488 2003-04-20 Tom Tromey <tromey@redhat.com>
2489
2490 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2491 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2492 Classpath.
2493
2494 2003-04-19 Tom Tromey <tromey@redhat.com>
2495
2496 * java/sql/Date.java, java/sql/DriverManager.java,
2497 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2498 Classpath.
2499
2500 * Makefile.in: Rebuilt.
2501 * Makefile.am (ordinary_java_source_files): Added new files.
2502 * java/security/AlgorithmParameterGenerator.java,
2503 java/security/AlgorithmParameters.java, java/security/Engine.java,
2504 java/security/Identity.java, java/security/IdentityScope.java,
2505 java/security/KeyFactory.java,
2506 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2507 java/security/MessageDigest.java, java/security/Policy.java,
2508 java/security/ProtectionDomain.java,
2509 java/security/SecureRandom.java, java/security/Security.java,
2510 java/security/Signature.java, java/security/SignatureSpi.java,
2511 java/security/SignedObject.java, java/security/Signer.java,
2512 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2513 java/security/spec/PSSParameterSpec.java,
2514 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2515 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2516 Classpath.
2517
2518 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2519
2520 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2521 (dispose): Null metrics.
2522 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2523 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2524 finalize.
2525 (finalize): Call dispose.
2526 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2527 (gcCachedCount): New field.
2528 (finalize): New method.
2529 (putGCInCache): New method.
2530 (getGCFromCache): New method.
2531 * gnu/gcj/xlib/GC.java (GC): Make protected.
2532 (clone): Get new GC from cache if possible.
2533 (create): New static method.
2534 (dispose): Save old GC in cache.
2535 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2536 deleting.
2537 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2538 is null.
2539 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2540 * java/awt/Container.java (visitChild): Dispose gfx2 when
2541 finished.
2542
2543 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2544
2545 * java/math/BigInteger.java (probablePrime): New.
2546 * java/math/BigDecimal.java (unscaledValue): New.
2547
2548 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2549
2550 * java/io/File.java (getAbsolutePath): On Windows, take care
2551 of paths like "C:", "G:foo\bar", etc.
2552 (getName): Make it work correctly on Windows.
2553 (getParent): Make it work correctly on Windows. For UNIX,
2554 fix bug that causes "/" to be returned as the parent of "/",
2555 instead of null as returned by Sun's JRE.
2556
2557 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2558
2559 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2560
2561 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2562 inner class.
2563 (CACHE_SIZE_PER_DISPLAY): New field
2564 (fontMetricsCache): New field
2565 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2566 loading ISO10646-1 fonts.
2567
2568 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2569
2570 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2571 characters.
2572 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2573 characters.
2574
2575 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2576
2577 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2578 floating point.
2579
2580 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2581
2582 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2583 installed libpthread is either linuxthreads with floating stacks or
2584 NPTL.
2585
2586 2003-04-14 Tom Tromey <tromey@redhat.com>
2587
2588 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2589 of alignment.
2590
2591 2003-04-10 Tom Tromey <tromey@redhat.com>
2592
2593 * verify.cc (pop64): Removed.
2594 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2595 exception if top-of-stack is narrow.
2596 (initialize_stack): Check to ensure that <init> is not static and
2597 <clinit> is.
2598
2599 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2600
2601 * java/io/ObjectStreamException
2602 * java/io/FileFilter
2603 * java/io/FilenameFilter
2604 * java/io/ObjectInput
2605 * java/io/ObjectOutput
2606 * java/io/ObjectStreamConstants
2607 Minor doc fixes, format fixes, spelling corrections, etc.
2608 * java/io/DataInput
2609 Corrected code samples in Javadocs to match reality
2610 * java/io/DataOutput
2611 * java/io/ObjectInputValidation
2612 Major documentation fixes - all Javadocs re-written or updated
2613
2614 2003-04-06 Michael Koch <konqueror@gmx.de>
2615
2616 * java/net/URLConnection.java:
2617 Import classes directly.
2618 (URLConnection): Merged class documentation with classpath.
2619 (url): Moved, documentation from classpath added.
2620 (doInput): Moved, documentation from classpath added.
2621 (doOutput): Moved, documentation from classpath added.
2622 (allowUserInteraction): Moved.
2623 (useCaches): Moved, documentation from classpath added.
2624 (ifModifiedSince): Moved, documentation from classpath added.
2625 (connected): Moved, documentation from classpath added.
2626
2627 2003-04-06 Michael Koch <konqueror@gmx.de>
2628
2629 * java/io/FileInputStream.java
2630 (skip): Renamed some variables to match classpath, added
2631 checks from classpath.
2632
2633 2003-03-31 Michael Koch <konqueror@gmx.de>
2634
2635 * javax/swing/AbstractAction.java
2636 (AbstractAction): Reformatted.
2637 (serialVersionUID): New private member variable.
2638 * javax/swing/plaf/BorderUIResource.java
2639 (serialVersionUID): New private member variable.
2640 * javax/swing/plaf/basic/BasicLookAndFeel.java
2641 (serialVersionUID): New private member variable.
2642
2643 2003-03-31 Michael Koch <konqueror@gmx.de>
2644
2645 * java/sql/Date.java
2646 (valueOf): Deprecated, reformatted.
2647 (toString): Deprecated, reformatted.
2648 * java/sql/Time.java
2649 (valueOf): Deprecated, reformatted.
2650 (toString): Deprecated, reformatted.
2651
2652 2003-03-31 Michael Koch <konqueror@gmx.de>
2653
2654 * java/rmi/dgc/VMID.java
2655 (isUnique): Deprecated.
2656
2657 2003-03-31 Michael Koch <konqueror@gmx.de>
2658
2659 * java/io/File.java
2660 (separator): Merged documentation from classpath.
2661 (separatorChar): Merged documentation from classpath.
2662 (pathSeparator): Merged documentation from classpath.
2663 (pathSeparatorChar): Merged documentation from classpath.
2664 (path): Merged documentation from classpath.
2665 (canRead): Merged documentation from classpath.
2666 (canWrite): Merged documentation from classpath.
2667 (createNewFile): Merged documentation from classpath.
2668 (delete): Merged documentation from classpath.
2669 (equals): Merged documentation from classpath.
2670 (exists): Merged documentation from classpath.
2671 (File): Renamed p to name to match classpath, merged documentation
2672 from classpath.
2673 (getAbsolutePath): Merged documentation from classpath.
2674 (getCanonicalPath): Merged documentation from classpath.
2675 (getCanonicalFile): Merged documentation from classpath.
2676 (getName): Merged documentation from classpath.
2677 (getParent): Merged documentation from classpath.
2678 (getParentFile): Merged documentation from classpath.
2679 (getPath): Merged documentation from classpath.
2680 (hashCode): Merged documentation from classpath.
2681 (isAbsolute): Merged documentation from classpath.
2682 (isDirectory): Merged documentation from classpath.
2683 (isFile): Merged documentation from classpath.
2684 (isHidden): Merged documentation from classpath.
2685 (lastModified): Merged documentation from classpath.
2686 (length): Merged documentation from classpath.
2687 (list): Merged documentation from classpath.
2688 (listFiles): Merged documentation from classpath.
2689 (toString): Merged documentation from classpath.
2690 (toURL): Merged documentation from classpath.
2691 (mkdir): Merged documentation from classpath.
2692 (mkdirs): Merged documentation from classpath.
2693 (createTempFile): Merged documentation from classpath.
2694 (setReadOnly): Merged documentation from classpath.
2695 (listRoots): Merged documentation from classpath.
2696 (compareTo): Merged documentation from classpath.
2697 (renameTo): Merged documentation from classpath.
2698 (setLastModified): Merged documentation from classpath.
2699 * java/io/PrintStream.java
2700 (auto_flush): Merged documentation from classpath.
2701 (PrintStream): Merged documentation from classpath.
2702 (checkError): Merged documentation from classpath.
2703 (setError): Merged documentation from classpath.
2704 (close): Merged documentation from classpath.
2705 (flush): Merged documentation from classpath.
2706 (print): Merged documentation from classpath.
2707 (println): Merged documentation from classpath.
2708 (write): Renamed count to len to match classpath,
2709 merged documentation from classpath.
2710 * java/io/RandomAccessFile.java
2711 (readShort): Merged documentation from classpath.
2712 (readUnsignedByte): Merged documentation from classpath.
2713 (readUnsignedShort): Merged documentation from classpath.
2714 (readUTF): Merged documentation from classpath.
2715 (seek): Reformatted, merged documentation from classpath.
2716 (skipBytes): Renamed some variables to match classpath, reformatted,
2717 merged documentation from classpath.
2718 (write): Merged documentation from classpath.
2719 (writeBoolean): Merged documentation from classpath.
2720 (writeByte): Merged documentation from classpath.
2721 (writeShort): Merged documentation from classpath.
2722 (writeChar): Merged documentation from classpath.
2723 (writeInt): Merged documentation from classpath.
2724 (writeLong): Merged documentation from classpath.
2725 (writeFloat): Merged documentation from classpath.
2726 (writeDouble): Merged documentation from classpath.
2727 (writeBytes): Merged documentation from classpath.
2728 (writeChars): Merged documentation from classpath.
2729 (writeUTF): Reformatted.
2730 (getChannel): Reformatted.
2731
2732 2003-03-31 Michael Koch <konqueror@gmx.de>
2733
2734 * java/awt/font/TextAttribute.java
2735 (readResolve): Throws java.io.InvalidObjectException.
2736
2737 2003-03-31 Michael Koch <konqueror@gmx.de>
2738
2739 * java/rmi/server/LoaderHandler.java
2740 (loadClass): Deprecated.
2741 (getSecurityContext): Deprecated.
2742 * java/rmi/server/LogStream.java
2743 (getDefaultStream): Deprecated.
2744 (setDefaultStream): Deprecated.
2745 (getOutputStream): Deprecated.
2746 (setOutputStream): Deprecated.
2747 (write): Deprecated.
2748 (toString): Deprecated.
2749 (parseLevel): Deprecated.
2750 * java/rmi/server/Operation.java
2751 (Operation): Deprecated.
2752 (getOperation): Deprecated.
2753 (toString): Deprecated.
2754 * java/rmi/server/RemoteCall.java
2755 (getOutputStream): Deprecated.
2756 (releaseOutputStream): Deprecated.
2757 (getInputStream): Deprecated.
2758 (releaseInputStream): Deprecated.
2759 (getResultStream): Deprecated.
2760 (executeCall): Deprecated.
2761 (done): Deprecated.
2762 * java/rmi/server/RemoteRef.java
2763 (invoke): Deprecated.
2764 (newCall): Deprecated.
2765 (done): Deprecated.
2766 * java/rmi/server/RemoteStub.java
2767 (setRef): Deprecated.
2768 * java/rmi/server/Skeleton.java:
2769 No need to import java.lang.Exception explicitly.
2770 (dispatch): Deprecated.
2771 (getOperations): Deprecated.
2772
2773 2003-03-31 Michael Koch <konqueror@gmx.de>
2774
2775 * java/rmi/dgc/VMID.java,
2776 java/rmi/registry/RegistryHandler.java,
2777 java/rmi/server/LogStream.java,
2778 java/rmi/server/Operation.java,
2779 java/rmi/server/RemoteCall.java,
2780 java/rmi/server/RemoteRef.java,
2781 java/rmi/server/RemoteStub.java:
2782 Reformatted.
2783
2784 2003-03-31 Michael Koch <konqueror@gmx.de>
2785
2786 * javax/swing/AbstractCellEditor.java,
2787 javax/swing/AbstractListModel.java,
2788 javax/swing/ActionMap.java,
2789 javax/swing/BorderFactory.java,
2790 javax/swing/ButtonGroup.java,
2791 javax/swing/DefaultBoundedRangeModel.java,
2792 javax/swing/DefaultButtonModel.java,
2793 javax/swing/DefaultCellEditor.java,
2794 javax/swing/DefaultComboBoxModel.java,
2795 javax/swing/DefaultDesktopManager.java,
2796 javax/swing/DefaultListCellRenderer.java,
2797 javax/swing/DefaultSingleSelectionModel.java,
2798 javax/swing/InputMap.java,
2799 javax/swing/JComponent.java,
2800 javax/swing/JMenu.java,
2801 javax/swing/JSlider.java,
2802 javax/swing/KeyStroke.java,
2803 javax/swing/OverlayLayout.java,
2804 javax/swing/ScrollPaneLayout.java,
2805 javax/swing/SizeRequirements.java,
2806 javax/swing/UIManager.java,
2807 javax/swing/ViewportLayout.java,
2808 javax/swing/border/AbstractBorder.java,
2809 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2810 javax/swing/event/EventListenerList.java,
2811 javax/swing/table/AbstractTableModel.java,
2812 javax/swing/table/DefaultTableCellRenderer.java,
2813 javax/swing/table/DefaultTableColumnModel.java,
2814 javax/swing/table/DefaultTableModel.java,
2815 javax/swing/table/TableColumn.java,
2816 javax/swing/text/StyledEditorKit.java,
2817 javax/swing/tree/DefaultMutableTreeNode.java,
2818 javax/swing/tree/DefaultTreeModel.java,
2819 javax/swing/tree/DefaultTreeSelectionModel.java,
2820 javax/swing/tree/TreePath.java,
2821 javax/swing/undo/AbstractUndoableEdit.java,
2822 javax/swing/undo/StateEdit.java,
2823 javax/swing/undo/StateEditable.java,
2824 javax/swing/undo/UndoableEditSupport.java:
2825 Merges from classpath.
2826
2827 2003-03-30 Tom Tromey <tromey@redhat.com>
2828
2829 * java/lang/String.java (data, boffset, count): Documented.
2830 (String(byte[],String)): Reformatted.
2831 (String(byte[])): Likewise.
2832 (lastIndexOf(int)): Likewise.
2833 (lastIndexOf(String)): Likewise.
2834 (substring(int)): Renamed argument to match Classpath.
2835 (String(StringBuffer)): Don't share buffer if it is nearly empty.
2836
2837 * java/lang/String.java: Miscellaneous minor formatting changes
2838 to match Classpath more closely.
2839
2840 2003-03-29 Eric Blake <ebb9@email.byu.edu>
2841 Tom Tromey <tromey@redhat.com>
2842
2843 * java/lang/natString.cc (hashCode): Use cachedHashCode.
2844 (init()): Removed.
2845 (charAt): Put index in exception.
2846 (contentEquals): New method.
2847 Include StringBuffer.h.
2848 * java/lang/String.java (cachedHashCode): New field.
2849 (String()): Follow classpath implementation.
2850 (init()): Removed.
2851 (contentEquals): Declare.
2852 (subSequence): Don't declare IndexOutIfBoundsException in throws
2853 clause.
2854 (matches, replaceFirst, replaceAll, split): New methods from
2855 Classpath.
2856
2857 2003-03-29 Tom Tromey <tromey@redhat.com>
2858
2859 * java/lang/String.java: Reordered to follow Classpath; merged in
2860 javadoc.
2861
2862 * java/text/MessageFormat.java: Removed some whitespace.
2863
2864 * Makefile.in: Rebuilt.
2865 * Makefile.am (awt_java_source_files): Added new files.
2866 * gnu/javax/rmi/PortableServer.java,
2867 gnu/javax/rmi/CORBA/DelegateFactory.java,
2868 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2869 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2870 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2871 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2872 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2873 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2874 javax/rmi/PortableRemoteObject.java,
2875 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2876 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2877 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2878 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2879 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2880 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2881
2882 * java/lang/natClass.cc (newInstance): Put method name in
2883 exception.
2884 (getConstructor): Likewise.
2885 (getDeclaredConstructor): Likewise.
2886 (getPrivateMethod): Likewise.
2887
2888 2003-03-28 Tom Tromey <tromey@redhat.com>
2889
2890 * java/lang/reflect/Proxy.java: New version from Classpath.
2891 * java/lang/Package.java: New version from Classpath.
2892
2893 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
2894
2895 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2896 * configure: Regenerate.
2897
2898 2003-03-28 Michael Koch <konqueror@gmx.de>
2899
2900 * java/io/File.java:
2901 Import needed classes instead of whole packages, merged class
2902 documentation with classpath, moved constants and variables to top of
2903 class.
2904 * java/io/PrintStream.java:
2905 Merged class documentation with classpath, moved constants and
2906 variables to top of class.
2907 * java/io/RandomAccessFile.java
2908 (RandomAccessFile): Merged with classpath.
2909 (read): Merged with classpath).
2910 (read*): Reformatted.
2911
2912 2003-03-28 Michael Koch <konqueror@gmx.de>
2913
2914 * java/io/FileDescriptor.java
2915 (finalize): Throws Throwable, not IOException.
2916 * java/io/ObjectOutputStream.java
2917 (PutField.put): Doesnt throws anything.
2918
2919 2003­03-28 Michael Koch <konqueror@gmx.de>
2920
2921 * java/io/FileOutputStream.java:
2922 Merged class documentation and authors with classpath.
2923 (FileOutputStream): Partly merged with classpath.
2924 (write): Merged with classpath.
2925 (getChannel): Make it synchronized instead of explicit block in this
2926 method.
2927 * java/io/RandomAccessFile.java:
2928 Merged class documentation and authors with classpath.
2929
2930 2003-03-26 Tom Tromey <tromey@redhat.com>
2931
2932 * java/lang/natRuntime.cc (insertSystemProperties): Set
2933 gnu.classpath.home.url.
2934 * Makefile.in: Rebuilt.
2935 * Makefile.am: Define LIBDIR.
2936
2937 2003-03-25 Michael Koch <konqueror@gmx.de>
2938
2939 * java/io/FileInputStream.java
2940 (read): Renamed b to buf and off to offset.
2941 * java/io/FileOutputStream.java
2942 (ch): Documentation added.
2943 (FileOutputStream): Documentation added.
2944 (getFD): Documentation added.
2945 (write): Documentation added.
2946 (close): Documentation added.
2947 (getChannel): Documentation added.
2948
2949 2003-03-24 Michael Koch <konqueror@gmx.de>
2950
2951 * java/io/DataOutputStream.java
2952 (write): Merged from classpath.
2953 * java/io/File.java:
2954 Merged copyrigth with classpath.
2955 * java/io/FileInputStream.java
2956 (getChannel): Made it synchronized instead of using a synchronized
2957 block.
2958 * java/io/FileOutputStream.java: Reformatted.
2959 * java/io/InputStreamReader.java
2960 (InputStreamReader): Renamed enc to encoding_name.
2961 (close): Merged documentation from classpath.
2962 (getEncoding): Merged documentation from classpath.
2963 (ready): Merged documentation from classpath.
2964 (read): Merged documentation from classpath.
2965 * java/io/LineNumberReader.java
2966 (lineNumber): Made it private.
2967 (LineNumberReader): Use Constant instead of a direct value.
2968 * java/io/OutputStreamWriter.java
2969 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2970 documentation from classpath.
2971 (close): Merged documentation from classpath.
2972 (flush): Merged documentation from classpath.
2973 (write): Merged documentation from classpath.
2974 * java/io/PrintStream.java: Reformatted.
2975
2976 2003-03-24 Michael Koch <konqueror@gmx.de>
2977
2978 * javax/swing/text/ComponentView.java
2979 (getComponent): Must be final.
2980 * javax/swing/tree/DefaultTreeCellRenderer.java:
2981 Reformatted.
2982 * javax/swing/undo/StateEditable.java:
2983 Reformatted.
2984
2985 2003-03-24 Michael Koch <konqueror@gmx.de>
2986
2987 * java/rmi/activation/ActivationInstantiator.java:
2988 Reformatted.
2989 * java/rmi/activation/Activator.java:
2990 Reformatted.
2991 * java/rmi/registry/RegistryHandler.java:
2992 Remerged from classpath.
2993
2994 2003-03-24 Michael Koch <konqueror@gmx.de>
2995
2996 * java/util/Date.java:
2997 Fixed documentation starting tag to make javadoc happy.
2998 * java/util/regex/Pattern.java
2999 (Pattern): Implements Serializable.
3000 * java/util/PatternSyntaxException.java
3001 (serialVersionUID): New member variable.
3002
3003 2003-03-24 Michael Koch <koqnueror@gmx.de>
3004
3005 * java/awt/ContainerOrderFocusTraversalPolicy.java
3006 (getFirstComponent): Implemented.
3007 (getLastComponent): Implemented.
3008 (getDefaultComponent): Implemented.
3009 (setImplicitDownCycleTraversal): Fixed implementation.
3010 * java/awt/Robot.java
3011 (Robot): Added documentation.
3012 * java/awt/Toolkit.java
3013 (getFontList): Deprecated.
3014 (getFontMetrics): Deprecated.
3015 (getPrintJob): Added documentation.
3016 (getSystemSelection): Added documentation.
3017 (getLockingKeyState): Added documentation.
3018 (setLockingKeyState): Added documentation.
3019 (createCustomCursor): Added documentation.
3020 (getBestCursorSize): Added documentation.
3021 (getMaximumCursorColors): Added documentation.
3022 (isFrameStateSupported): Added documentation.
3023
3024 2003-03-24 Michael Koch <konqueror@gmx.de>
3025
3026 * java/io/RandomAccessFile.java:
3027 More little merges with classpath. No code changes.
3028
3029 2003-03-24 Michael Koch <konqueror@gmx.de>
3030
3031 * java/net/natInetAddressNoNet.cc:
3032 Include stddef.h.
3033 * java/net/natPlainDatagramSocketImplNoNet.cc:
3034 Fixed inlcude of java/net/DatagramPacket.h.
3035 * java/net/natPlainSocketImplNoNet.cc:
3036 Include some missing classes.
3037
3038 2003-03-24 Michael Koch <konqueror@gmx.de>
3039
3040 * java/awt/dnd/DropTarget.java
3041 (DropTargetAutoScroller): According to the online documentation, this
3042 is protected, but in reality it is public.
3043 * java/awt/dnd/DropTargetContext.java
3044 (TransferableProxy): According to the online documentation, this
3045 is protected, but in reality it is public.
3046
3047 2003-03-24 Michael Koch <konqueror@gmx.de>
3048
3049 * java/io/DataInputStream.java
3050 (): Wrapped documentation line.
3051 (): Fixed @return tag.
3052 * java/io/DataOutputStream.java
3053 (written): Moved to top of class.
3054 (all methods): Merged documentation from classpath.
3055 * java/io/File.java:
3056 Merged copyright year with classpath.
3057 * java/io/FileInputStream.java
3058 (all methods): Merged documentation from classpath.
3059 * java/io/LineNumberReader.java
3060 (getLineNumber): Fixed @return tag.
3061 * java/io/ObjectInputStream.java.
3062 Reformatted.
3063 * java/io/ObjectOutputStream.java:
3064 Reformatted, fixed some @see tags.
3065 * java/io/OutputStreamWriter.java:
3066 Deleted empty line.
3067 * java/io/Writer.java:
3068 Reformatted.
3069
3070 2003-03-24 Michael Koch <konqueror@gmx.de>
3071
3072 * java/awt/Frame.java
3073 (DEFAULT_CURSOR): Fixed @deprecated tag.
3074 (setCursor): Fixed @deprecated tag.
3075
3076 2003-03-24 Michael Koch <konqueror@gmx.de>
3077
3078 * java/beans/beancontext/BeanContextEvent.java:
3079 Reformated.
3080
3081 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3082
3083 * java/lang/natStringBuffer.cc (regionMatches): New function.
3084 * java/lang/String.java (count): Now package-private.
3085 * java/lang/StringBuffer.java: Merged with Classpath.
3086
3087 2003-03-23 Michael Koch <konqueror@gmx.de>
3088
3089 * java/io/BufferedOutputStream.java:
3090 Reformated.
3091 * java/io/BufferedReader.java:
3092 Reformated.
3093 * java/io/ByteArrayOutputStream.java
3094 (size): Fixed @see tag.
3095 * java/io/CharArrayWriter.java
3096 (size): Fixed @see tag.
3097 * java/io/DataInput.java:
3098 Reformated.
3099 * java/io/DataOutput.java:
3100 Reformated.
3101 * java/io/DataOutputStream.java:
3102 Merged copyright years with classpath.
3103 * java/io/Externalizable.java:
3104 Reformated.
3105 * java/io/FileFilter.java:
3106 Reformated.
3107 * java/io/FileInputStream.java:
3108 Merged copyright years with classpath.
3109 * java/io/FileOutputStream.java:
3110 Merged copyright years with classpath.
3111 * java/io/FilePermission.java
3112 (FilePermission): Replaced @XXX with FIXME:.
3113 * java/io/FileWriter.java:
3114 Reformated.
3115 * java/io/FilenameFilter.java:
3116 Reformated.
3117 * java/io/FilterInputStream.java:
3118 Reformated.
3119 * java/io/FilterOutputStream.java:
3120 Reformated.
3121 * java/io/FilterReader.java:
3122 Reformated.
3123 * java/io/FilterWriter.java:
3124 Reformated.
3125 * java/io/LineNumberInputStream.java
3126 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3127 happy.
3128 (getLineNumber): Fixed @return tag.
3129 * java/io/ObjectInput.java:
3130 Reformated.
3131 * java/io/ObjectOutput.java:
3132 Reformated.
3133 * java/io/ObjectStreamClass.java:
3134 Reformated.
3135 * java/io/PrintStream.java:
3136 Merged copyright years with classpath.
3137 * java/io/PushbackReader.java
3138 (PushbackReader): Replaced @code with @param.
3139 * java/io/SerializablePermission.java:
3140 Reformated.
3141 * java/io/StreamTokenizer.java
3142 (resetSyntax): Fixed @see tag.
3143
3144 2003-03-22 Richard Henderson <rth@redhat.com>
3145
3146 * sysdep/ia64/locks.h: Include ia64intrin.h.
3147 (compare_and_swap): Use __sync_bool_compare_and_swap.
3148 (compare_and_swap_release): Expose ar.ccv assignment.
3149
3150 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3151
3152 * include/posix.h: Add suffix for darwin dynamic libraries.
3153
3154 2003-03-21 Michael Koch <konqueror@gmx.de>
3155
3156 * javax/swing/Action.java
3157 (ACCELERATOR_KEY): New constant.
3158 (ACTION_COMMAND_KEY): Likewise.
3159 (MNEMONIC_KEY): Likewise.
3160 * javax/swing/UnsupportedLookAndFeelException.java
3161 (UnsupportedLookAndFeelException): Must be public.
3162 * javax/swing/WindowConstants.java
3163 (EXIT_ON_CLOSE): New constant.
3164 * javax/swing/text/BadLocationException.java
3165 (offset): New member variable.
3166 (BadLocationException): New implementation, documentation added.
3167 (offsetRequested): New method.
3168 * javax/swing/text/Caret.java:
3169 Reformated.
3170 * javax/swing/text/Document.java:
3171 Reformated.
3172
3173 2003-03-21 Michael Koch <konqueror@gmx.de>
3174
3175 * java/rmi/activation/Activatable.java
3176 (serialVersionUID): New member variable.
3177 * java/rmi/activation/ActivationGroup.java
3178 (serialVersionUID): New member variable.
3179 * java/rmi/activation/ActivationGroupDesc.java
3180 (serialVersionUID): New member variable.
3181 * java/rmi/registry/Registry.java:
3182 Reformated.
3183 (Registry): Deprecated.
3184 * java/rmi/server/LoaderHandler.java
3185 Reformated.
3186 (LoaderHandler): Deprecated.
3187 * java/rmi/server/LogStream.java
3188 Reformated.
3189 (LogStream): Deprecated.
3190 * java/rmi/server/Operation.java
3191 (Operation): Deprecated.
3192 * java/rmi/server/RMIFailureHandler.java:
3193 Reformated.
3194 * java/rmi/server/RMISocketFactory.java:
3195 Reformated.
3196 * java/rmi/server/RemoteCall.java
3197 (RemoteCall): Deprecated.
3198 * java/rmi/server/RemoteStub.java:
3199 Reformated.
3200 * java/rmi/server/Skeleton.java
3201 Reformated.
3202 (Skeleton): Deprecated.
3203
3204 2003-03-21 Michael Koch <konqueror@gmx.de>
3205
3206 * java/io/LineNumberReader.java
3207 (LineNumberReader): Merged documentation with classpath.
3208 (getLineNumber): Likewise.
3209 (setLineNumber): Likewise.
3210 (mark): Likewise.
3211 (reset): Likewise.
3212 (read): Likewise.
3213 (readLine): Likewise.
3214 (skip): Likewise.
3215
3216 2003-03-21 Michael Koch <konqueror@gmx.de>
3217
3218 * java/rmi/RMISecurityManager.java
3219 (checkAccept): Removed.
3220 (checkAccess): Likewise.
3221 (checkAccess): Likewise.
3222 (checkAwtEventQueueAccess): Likewise.
3223 (checkConnect): Likewise.
3224 (checkCreateClassLoader): Likewise.
3225 (checkDelete): Likewise.
3226 (checkExec): Likewise.
3227 (checkExit): Likewise.
3228 (checkLink): Likewise.
3229 (checkListen): Likewise.
3230 (checkMemberAccess): Likewise.
3231 (checkMulticast): Likewise.
3232 (checkPackageAccess): Likewise.
3233 (checkPackageDefinition): Likewise.
3234 (checkPermission): Likewise.
3235 (checkPrintJobAccess): Likewise.
3236 (checkPropertiesAccess): Likewise.
3237 (checkPropertyAccess): Likewise.
3238 (checkRead): Likewise.
3239 (checkSecurityAccess): Likewise.
3240 (checkSetFactory): Likewise.
3241 (checkSystemClipboardAccess): Likewise.
3242 (checkTopLevelWindow): Likewise.
3243 (checkWrite): Likewise.
3244
3245 2003-03-20 Michael Koch <konqueror@gmx.de>
3246
3247 * gnu/java/nio/FileChannelImpl.java
3248 (address): Removed.
3249 (map_address): New member variable.
3250 (length): Make it package private.
3251 (fd): Make it package private.
3252 (buf): Make it package private.
3253 (file_obj): Make it package private.
3254 (FileChannelImpl): New constructor.
3255 (nio_mmap_file): Use RawData instead of long.
3256 (nio_munmap_file): Use RawData instead of long.
3257 (nio_msync): Use RawData instead of long.
3258 (implCloseChannel): New implementation using map_address.
3259 (read): Reformated.
3260 (map): Implemented.
3261 (create_direct_mapped_buffer): Implemented, use RawData, throws
3262 IOException.
3263 (force): Use map_address instead of address.
3264 * gnu/java/nio/MappedByteFileBuffer.java
3265 (address): Removed.
3266 (map_address): New member variable.
3267 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3268 (several methods): Use map_address instead of address, replaced long
3269 with RawData where appropriate.
3270 * gnu/java/nio/natFileChannelImpl.cc
3271 (nio_mmap_file): Replaced long with RawData.
3272 (nio_munmap_file): Replaced long with RawData.
3273 (nio_msync): Replaced long with RawData.
3274 * gnu/java/nio/natMappedByteFileBuffer.cc
3275 (several methods): Replaced long with RawData where appropriate.
3276
3277 2003-03-20 Michael Koch <konqueror@gmx.de>
3278
3279 * java/net/InetAddress.java,
3280 java/net/JarURLConnection.java,
3281 java/net/PlainDatagramSocketImpl.java,
3282 java/net/PlainSocketImpl.java,
3283 java/net/URLConnection.java:
3284 Merged copyright statements with classpath for easier merging.
3285
3286 2003-03-20 Michael Koch <konqueror@gmx.de>
3287
3288 * java/io/FileInputStream.java
3289 (getChannel): New implementation.
3290 * java/io/FileOutputStream.java
3291 (ch): New member variable.
3292 (getChannel): Implemented.
3293 * java/io/RandomAccessFile.java
3294 (RandomAccessFile): Throws FileNotFoundException instead of
3295 IOException.
3296 (getChannel): New method.
3297 (ch): New member variable.
3298
3299 2003-03-20 Michael Koch <konqueror@gmx.de>
3300
3301 * java/io/DataOutputStream.java,
3302 java/io/File.java,
3303 java/io/FileInputStream.java,
3304 java/io/FileOutputStream.java,
3305 java/io/InputStreamReader.java,
3306 java/io/LineNumberReader.java,
3307 java/io/OutputStreamWriter.java,
3308 java/io/PrintStream.java,
3309 java/io/RandomAccessFile.java:
3310 Merged copyright statements with classpath for easier merging.
3311
3312 2003-03-19 Michael Koch <konqueror@gmx.de>
3313
3314 * java/lang/Process.java:
3315 Merged from classpath.
3316
3317 2003-03-19 Michael Koch <konqueror@gmx.de>
3318
3319 * java/io/FileOutputStream.java
3320 (FileOutputStream): New constructor, merged from classpath.
3321 * java/io/FileWriter.java
3322 (FileWriter): New constructor, merged from classpath.
3323
3324 2003-03-18 Michael Koch <konqueror@gmx.de>
3325
3326 * java/awt/ScrollPane.java
3327 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3328 (getViewportSize): Likewise.
3329 (addNotify): Likewise.
3330 (removeNotify): Likewise.
3331 * java/awt/ScrollPaneAdjustable.java
3332 (ScrollPaneAdjustable): No longer extends Scrollbar.
3333 * java/beans/beancontext/BeanContextServices.java:
3334 Reformated.
3335 (getService): Added throws TooManyListenersException;
3336 * java/beans/beancontext/BeanContextServicesSupport.java:
3337 Reformated.
3338
3339 2003-03-18 Michael Koch <konqueror@gmx.de>
3340
3341 * java/io/BufferedOutputStream.java,
3342 java/io/DataInput.java,
3343 java/io/DataInputStream.java,
3344 java/io/DataOutput.java,
3345 java/io/Externalizable.java:
3346 More merges from classpath.
3347
3348 2003-03-18 Michael Koch <konqueror@gmx.de>
3349
3350 * configure.in: Fixed links to platform dependant java.net files.
3351 * configure: Regenerated.
3352 * java/net/natInetAddress.cc,
3353 java/net/natNetworkInterface.cc,
3354 java/net/natPlainDatagramSocketImpl.cc,
3355 java/net/natPlainSocketImpl.cc:
3356 Removed.
3357
3358 2003-03-18 Michael Koch <konqueror@gmx.de>
3359
3360 * configure.in: Create links to architecture dependent files,
3361 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3362 * configure: Regenerated.
3363 * java/net/natInetAddressNoNet.cc,
3364 java/net/natInetAddressPosix.cc,
3365 java/net/natInetAddressWin32.cc,
3366 java/net/natNetworkInterfaceNoNet.cc,
3367 java/net/natNetworkInterfacePosix.cc,
3368 java/net/natNetworkInterfaceWin32.cc,
3369 java/net/natPlainDatagramSocketImplNoNet.cc,
3370 java/net/natPlainDatagramSocketImplPosix.cc,
3371 java/net/natPlainDatagramSocketImplWin32.cc,
3372 java/net/natPlainSocketImplNoNet.cc,
3373 java/net/natPlainSocketImplPosix.cc,
3374 java/net/natPlainSocketImplWin32.cc: New files.
3375
3376 2003-03-18 Michael Koch <konqueror@gmx.de>
3377
3378 * java/io/BufferedReader.java,
3379 java/io/BufferedWriter.java,
3380 java/io/ByteArrayOutputStream.java,
3381 java/io/FileFilter.java,
3382 java/io/FilePermission.java,
3383 java/io/FileReader.java,
3384 java/io/FileWriter.java,
3385 java/io/FilenameFilter.java,
3386 java/io/FilterInputStream.java,
3387 java/io/FilterOutputStream.java,
3388 java/io/FilterReader.java,
3389 java/io/FilterWriter.java,
3390 java/io/ObjectInput.java,
3391 java/io/ObjectInputValidation.java,
3392 java/io/ObjectOutput.java,
3393 java/io/ObjectStreamField.java,
3394 java/io/PipedInputStream.java,
3395 java/io/PipedReader.java,
3396 java/io/PrintWriter.java,
3397 java/io/PushbackReader.java,
3398 java/io/Reader.java,
3399 java/io/SerializablePermission.java,
3400 java/io/StringReader.java,
3401 java/io/Writer.java:
3402 Merged from classpath.
3403
3404 2003-03-17 Michael Koch <konqueror@gmx.de>
3405
3406 * java/awt/ScrollPaneAdjustable.java:
3407 Compile fixes.
3408
3409 2003-03-17 Michael Koch <konqueror@gmx.de>
3410
3411 * java/net/DatagramSocket.java
3412 (connect): Fixed comment.
3413 * java/nio/ByteBuffer.java
3414 (hasArray): Fixed comment.
3415
3416 2003-03-17 Michael Koch <konqueror@gmx.de>
3417
3418 * java/beans/Beans.java:
3419 Explicitely import classes not packages.
3420 * java/beans/FeatureDescriptor.java
3421 (preferred): New member variable.
3422 (isPreferred): New method.
3423 (setPreferred): New method.
3424 * java/beans/PropertyEditorManager.java:
3425 Explicitely import used classes.
3426 * java/beans/beancontext/BeanContextChild.java:
3427 Added line wrapping.
3428 * java/beans/beancontext/BeanContextChildSupport.java:
3429 Reindented.
3430 * java/beans/beancontext/BeanContextEvent.java:
3431 Reindented.
3432
3433 2003-03-17 Michael Koch <konqueror@gmx.de>
3434
3435 * java/awt/Dialog.java
3436 (Dialog): New constructor, changed implementations, added
3437 documentation.
3438 * java/awt/ScrollPaneAdjustable.java
3439 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3440 Serializable.
3441 (serialVersionUID): New member variable.
3442 (sp): New member variable.
3443 (orientation): New member variable.
3444 (value): New member variable.
3445 (minimum): New member variable.
3446 (maximum): New member variable.
3447 (visibleAmount): New member variable.
3448 (unitIncrement): New member variable.
3449 (blockIncrement): New member variable.
3450 (AdjustmentListener): New member variable.
3451 (ScrollPaneAdjustable): New implementation.
3452 (addAdjustmentListener): New method.
3453 (removeAdjustmentListener): New method.
3454 (getAdjustmentListeners): New method.
3455 (getBlockIncrement): New method.
3456 (getMaximum): New method.
3457 (getMinimum): New method.
3458 (getOrientation): New method.
3459 (getUnitIncrement): New method.
3460 (getValue): New method.
3461 (getVisibleAmount): New method.
3462 (setBlockIncrement): New method.
3463 (setMaximum): Implemented.
3464 (setMinimum): Implemented.
3465 (setUnitIncrement): New method.
3466 (setValue): New method.
3467 (setVisibleAmount): Implemented.
3468 (paramString): New stubbed method.
3469 * java/awt/Window.java
3470 (show): Call setVisible().
3471 (hide): Call setVisible().
3472 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3473 and WINDOW_STATE_CHANGED.
3474 (processWindowFocusEvent): New method.
3475 (processWindowStateEvent): New method.
3476 (postEvent): Deprecated.
3477 (applyResourceBundle): Deprecated.
3478 * java/awt/datatransfer/DataFlavor.java
3479 (DataFlavor): Doesn't thow ClassNotFoundException.
3480
3481 2003-03-17 Michael Koch
3482
3483 * javax/print/attribute/Attribute.java,
3484 javax/print/attribute/AttributeSet.java,
3485 javax/print/attribute/PrintRequestAttributeSet.java:
3486 New files.
3487 * Makefile.am
3488 (javax_source_files): Added new files:
3489 javax/print/attribute/Attribute.java
3490 javax/print/attribute/AttributeSet.java
3491 javax/print/attribute/PrintRequestAttributeSet.java
3492 * Makefile.in: Regenerated.
3493
3494 2003-03-17 Michael Koch
3495
3496 * javax/print/attribute/Attribute.java,
3497 javax/print/attribute/AttributeSet.java,
3498 javax/print/attribute/PrintRequestAttributeSet.java:
3499 New files.
3500 * Makefile.am
3501 (awt_java_source_files): Added new files:
3502 javax/print/attribute/Attribute.java
3503 javax/print/attribute/AttributeSet.java
3504 javax/print/attribute/PrintRequestAttributeSet.java
3505 * Makefile.in: Regenerated.
3506
3507 2003-03-16 Tom Tromey <tromey@redhat.com>
3508
3509 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3510 Include platform.h.
3511 * java/lang/natRuntime.cc (insertSystemProperties): Use
3512 _Jv_platform_path_separator.
3513 (nativeGetLibname): Use _Jv_platform_file_separator.
3514 (_load): Use _Jv_platform_onload_names.
3515 (onload_names): New global.
3516 * include/win32.h (_Jv_platform_file_separator): New define.
3517 (_Jv_platform_path_separator): Likewise.
3518 (_Jv_platform_onload_names): Likewise.
3519 (_Jv_platform_ffi_abi): Likewise.
3520 * include/posix.h (_Jv_platform_file_separator): New define.
3521 (_Jv_platform_path_separator): Likewise.
3522 (_Jv_platform_onload_names): Likewise.
3523 (_Jv_platform_ffi_abi): Likewise.
3524
3525 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3526
3527 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3528
3529 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3530
3531 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3532 hierarchy loop.
3533 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3534 list to Object,ObjectStreamClass, moved callReadMethod code up into
3535 readObject and added Class argument to all setXxxField calls.
3536 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3537 consistent with ObjectOutputStream and to facilitate caching the
3538 Method in the future.
3539 (setBooleanField): Added Class argument.
3540 (setByteField): Likewise.
3541 (setCharField): Likewise.
3542 (setDoubleField): Likewise.
3543 (setFloatField): Likewise.
3544 (setIntField): Likewise.
3545 (setLongField): Likewise.
3546 (setShortField): Likewise.
3547 (setObjectField): Likewise.
3548 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3549 class hierarchy loop.
3550 (defaultWriteObject): Call writeFields with new argument list.
3551 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3552 list to Object,ObjectStreamClass, moved callWriteMethod up into
3553 writeObject and added Class argument to all getXxxField calls.
3554 (callWriteMethod): Added ObjectStreamClass argument to be able to
3555 get the proper class to call getMethod on (each class can have (or
3556 not have) its own writeObject method).
3557 (getBooleanField): Added Class argument.
3558 (getByteField): Likewise.
3559 (getCharField): Likewise.
3560 (getDoubleField): Likewise.
3561 (getFloatField): Likewise.
3562 (getIntField): Likewise.
3563 (getLongField): Likewise.
3564 (getShortField): Likewise.
3565 (getObjectField): Likewise.
3566 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3567 facilitate caching the Method object in the future.
3568
3569 2003-03-12 Andreas Schwab <schwab@suse.de>
3570
3571 * configure.in: Avoid trailing /. in toolexeclibdir.
3572 * configure: Rebuilt.
3573
3574 2003-03-11 Michael Koch <konqueror@gmx.de>
3575
3576 * gnu/java/nio/ByteBufferImpl.java
3577 (putInt): Use limit() instead of limit.
3578 * gnu/java/nio/CharBufferImpl.java
3579 (slice): Fixed implementation.
3580 (subSequence): Better bounds checking.
3581 * gnu/java/nio/MappedByteFileBuffer.java:
3582 Import all needed classes directly.
3583 * java/nio/ByteBuffer.java
3584 (hashCode): New dummy method.
3585 * java/nio/CharBuffer.java
3586 (array_offset): New member variable.
3587 (hasArray): Fixed documentation.
3588 (arrayOffset): Return array_offset.
3589
3590 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3591
3592 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3593 setter; made return value of getter const char* instead of char*
3594 * prims.cc: removed all references to _Jv_ThisExecutable().
3595 These are in the platform-specific sections now.
3596 * posix.cc: define platform-specific _Jv_ThisExecutable().
3597 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3598 * win32.cc: define platform-specific _Jv_ThisExecutable()
3599 using GetModuleFilename()
3600 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3601 to argv[0] instead of _Jv_ThisExecutable()
3602
3603 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3604
3605 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3606 that is set if we are using addr2name.awk instead of addr2line.
3607 (NameFinder): Set usingAddr2name if using addr2name.awk.
3608 (getExternalLabel): New native method to convert a method
3609 name to an external label.
3610 (lookup): Convert name given by addr2line to an external label
3611 before demangling.
3612
3613 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3614 constant representing the prefix attached to method names to
3615 convert them to an external label.
3616 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3617 using LABEL_PREFIX.
3618
3619 2003-03-10 Tom Tromey <tromey@redhat.com>
3620
3621 * Makefile.in: Rebuilt.
3622 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3623 (JC1FLAGS): Removed -Wno-deprecated.
3624
3625 2003-03-10 Michael Koch <konqueror@gmx.de>
3626
3627 * java/nio/ByteOrder.java
3628 (nativeOrder): Working implementation, added documentation.
3629 (toString): Added documentation.
3630
3631 2003-03-10 Michael Koch <konqueror@gmx.de>
3632
3633 * java/net/DatagramSocket.java,
3634 java/net/MulticastSocket.java,
3635 java/net/Socket.java,
3636 java/net/URL.java,
3637 java/net/URLConnection.java:
3638 Fixed some documentation tags to make javadoc and friends happy.
3639
3640 2003-03-10 Michael Koch <koqnueror@gmx.de>
3641
3642 * java/beans/beancontext/BeanContextServicesSupport.java,
3643 java/beans/beancontext/BeanContextSupport.java: New files.
3644 * Makefile.am
3645 (awt_source_files): Added new files.
3646 * Makefile.in: Regenerated.
3647
3648 2003-03-10 Michael Koch <konqueror@gmx.de>
3649
3650 * java/awt/FocusTraversalPolicy.java
3651 (FocusTraversalPolicy): Documentation added.
3652 (getComponentAfter): Documentation added.
3653 (getComponentBefore): Documentation added.
3654 (getFirstComponent): Documentation added.
3655 (getLastComponent): Documentation added.
3656 (getDefaultComponent): Documentation added.
3657 (getInitialComponent): Documentation added.
3658 * java/awt/ScrollPaneAdjustable.java
3659 (sp): New member variable.
3660 (orientation): New member variable.
3661 (value): New member variable.
3662 (minimum): New member variable.
3663 (maximum): New member variable.
3664 (visibleAmount): New member variable.
3665 (unitIncrement): New member variable.
3666 (blockIncrement): New member variable.
3667 (adjustmentListener): New member variable.
3668 (ScrollPaneAdjustable): Rewrote.
3669 (addAdjustmentListener): New method.
3670 (removeAdjustmentListener): New method.
3671 (getAdjustmentListeners): New method.
3672 (getBlockIncrement): New method.
3673 (getMaximum): New method.
3674 (getMinimum): New method.
3675 (getOrientation): New method.
3676 (getUnitIncrement): New method.
3677 (getValue): New method.
3678 (getVisibleAmount): New method.
3679 (setBlockIncrement): New method.
3680 (setUnitIncrement): New method.
3681 (setMaximum): Implemented.
3682 (setMinimum): Implemented.
3683 (setValue): New method.
3684 (setVisibleAmount): Implemented.
3685 (paramString): New method.
3686 * java/awt/Window.java
3687 (show): Use setVisible(true) instead of super.show().
3688 (hide): Use sevVisible(false) instead of super.hide().
3689 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3690 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3691 (postEvent): Deprecated.
3692 (applyResourceBundle): Deprecated.
3693 (processWindowFocusEvent): New method.
3694 (processWindowStateEvent): New method.
3695 * java/awt/datatransfer/DataFlavor.java: Reindented.
3696 * java/awt/font/TextHitInfo.java
3697 (charIndex): New member variable.
3698 (leadingEdge): New member variable.
3699 (TextHitInfo): New constructor.
3700 (getCharIndex): Implemented.
3701 (isLeadingEdge): Implemented.
3702 (getInsertionIndex): Implemented.
3703 (hashCode): Access charIndex directly.
3704 (equals): Reformated.
3705 (leading): Implemented.
3706 (trailing): Implemented.
3707 (beforeOffset): Implemented.
3708 (afterOffset): Implemented.
3709 (getOtherHit): Implemented.
3710 (getOffsetHit): Implemented.
3711 (toString): Implemented.
3712 * java/awt/image/BufferedImage.java
3713 (BufferedImage): Implements WritableRenderedImage.
3714 (observers): New member variable.
3715 (addTileObserver): New method.
3716 (removeTileObserver): New method.
3717
3718 2003-03-09 Tom Tromey <tromey@redhat.com>
3719
3720 PR libgcj/9934:
3721 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3722 to lseek. Return 0 if we can't compute the value.
3723
3724 2003-03-03 Michael Koch <konqueror@gmx.de>
3725
3726 * java/net/NetworkInterface.java: Merged with classpath.
3727
3728 2003-03-03 Tom Tromey <tromey@redhat.com>
3729
3730 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3731 of bytecode.
3732 (handle_ret_insn): Fail if returning to jsr that appears at end of
3733 bytecode.
3734
3735 2003-03-03 Michael Koch <konqueror@gmx.de>
3736
3737 * Makefile.am
3738 (ordinary_java_source_files):
3739 Added gnu/java/nio/MappedByteFileBuffer.java.
3740 (nat_source_files):
3741 Added gnu/java/nio/natMappedByteFileBuffer.cc.
3742 * Makefile.in: Regenerated.
3743
3744 2003-03-03 Michael Koch <konqueror@gmx.de>
3745
3746 * java/net/DatagramSocket.java
3747 (connect): Merged comment from classpath.
3748 (receive): Merged documentation from classpath.
3749 * java/net/Socket.java
3750 (setSoTimeout): Clarified documentation.
3751 * java/net/URL.java
3752 (getPath): Merged from classpath.
3753 (getUserInfo): Merged from classpath.
3754 (getQuery): Merged from classpath.
3755 * java/net/URLStreamHandler.java
3756 (toExternalForm): Merged from classpath.
3757
3758 2003-03-02 Mark Wielaard <mark@klomp.org>
3759
3760 * java/util/Properties.java (load): Only skip line if the first
3761 character is a comment, whitespaces don't count.
3762
3763 2003-03-02 Michael Koch <konqueror@gmx.de>
3764
3765 * java/net/NetPermission.java:
3766 Merged copyright with classpath.
3767
3768 2003-03-02 Michael Koch <konqueror@gmx.de>
3769
3770 * java/lang/Package.java:
3771 Remerged from classpath.
3772
3773 2003-03-02 Michael Koch <konqueror@gmx.de>
3774
3775 * java/net/HttpURLConnection.java
3776 (HTTP_SERVER_ERROR): Deprecated.
3777 * java/net/MulticastSocket.java
3778 (send): Replaced checkMulticast with appropriate checkPermission call,
3779 deprecated.
3780 * java/net/URLDecoder.java
3781 (decode): Deprecated.
3782 * java/net/URLEncoder.java
3783 (encode): Deprecated.
3784
3785 2003-03-02 Michael Koch <konqueror@gmx.de>
3786
3787 * javax/swing/text/Caret.java
3788 (getMagicCaretPosition): Fixed typo in method name.
3789 * javax/swing/text/DefaultCaret.java
3790 (getMagicCaretPosition): Fixed typo in method name.
3791
3792 2003-03-02 Michael Koch <konqueror@gmx.de>
3793
3794 * java/awt/List.java
3795 (setMultipleSelections): Deprecated.
3796 (delItem): Deprecated.
3797 * java/awt/MenuComponent.java
3798 (getPeer): Deprecated.
3799 * java/awt/ScrollPane.java
3800 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3801 * java/awt/dnd/MouseDragGestureRecognizer.java
3802 (mouseClicked): Added comment.
3803 (mousePressed): Added comment.
3804 (mouseReleased): Added comment.
3805 (mouseEntered): Added comment.
3806 (mouseExited): Added comment.
3807 (mouseDragged): Added comment.
3808 (mouseMoved): Added comment.
3809 * java/awt/event/KeyEvent.java
3810 (KeyEvent): Deprecated.
3811 (setModifiers): Deprecated.
3812
3813 2003-03-02 Michael Koch <konqueror@gmx.de>
3814
3815 * gnu/java/nio/FileChannelImpl.java
3816 (fd): Type FileDescriptor instead of int.
3817 (lengthInternal): Removed.
3818 (FileChannelImpl): Fixed arguments, check type of file object.
3819 (size): Made it native.
3820 (implPosition): New native method.
3821 (implTruncate): New native method.
3822 (position): Implemented.
3823 (truncate): Implemented.
3824 (nio_mmap_file): Changed arguments.
3825 (nio_munmap_file): Changed arguments.
3826 (nio_msync): Changed arguments.
3827 * gnu/java/nio/natFileChannelImpl.cc
3828 (lengthInternal): Removed.
3829 (size): New method.
3830 (implPosition): New method.
3831 (implTruncate): New method.
3832 (nio_mmap_file): Changed arguments.
3833 (nio_munmap_file): Changed arguments.
3834 (nio_msync): Changed arguments.
3835
3836 2003-03-02 Michael Koch <konqueror@gmx.de>
3837
3838 * java/awt/dnd/DropTargetContext.java:
3839 Compile fix: Forgot to commit import.
3840
3841 2003-03-02 Michael Koch <konqueror@gmx.de>
3842
3843 * java/awt/Component.java,
3844 java/awt/ScrollPane.java:
3845 Fixed typos.
3846
3847 2003-03-02 Michael Koch <konqueror@gmx.de>
3848
3849 * java/awt/dnd/DnDEventMulticaster.java: New file.
3850 * java/awt/dnd/DragSource.java
3851 (flavorMap): New member variable.
3852 (dragSourceListener): New member variable.
3853 (dragSourceMotionListener): New member variable.
3854 (getFlavorMap): Implemented.
3855 (createDragGestureRecognizer): Implemented.
3856 (addDragSourceListener): Implemented.
3857 (removeDragSourceListener): Implemented.
3858 (getDragSourceListeners): Implemented.
3859 (addDragSourceMotionListener): Implemented.
3860 (removeDragSourceMotionListener): Implemented.
3861 (getDragSourceMotionListeners): Implemented.
3862 (getListeners): Implemented.
3863 * java/awt/dnd/DragSourceContext.java
3864 (peer): New member variable.
3865 (cursor): New member variable.
3866 (transferable): New member variable.
3867 (trigger): New member variable.
3868 (dragSourceListener): New member variable.
3869 (image): New member variable.
3870 (offset): New member variable.
3871 (DragSourceContext): Implemented.
3872 (getDragSource): Implemented.
3873 (getComponent): Implemented.
3874 (getTrigger): Implemented.
3875 (getSourceActions): Implemented.
3876 (setCursor): Implemented.
3877 (getCursor): Implemented.
3878 (addDragSourceListener): Implemented.
3879 (removeDragSourceListener): Implemented.
3880 (getTransferable): Implemented.
3881 * java/awt/dnd/DropTarget.java
3882 (DropTargetAutoScroller.component): New member variable.
3883 (DropTargetAutoScroller.point): New member variable.
3884 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3885 (DropTargetAutoScroller.updateLocation): Implemented.
3886 (active): Renamed from isActive, defaults to true now.
3887 (component): New member variable.
3888 (flavorMap): New member variable.
3889 (actions): New member variable.
3890 (dropTargetContext): New member variable.
3891 (dropTargetListener): New member variable.
3892 (DropTarget): Implemented.
3893 (getComponent): Implemented.
3894 (setComponent): Implemented.
3895 (setDefaultActions): Implemented.
3896 (getDefaultActions): Implemented.
3897 (setActive): Use active instead of isActive.
3898 (isActive): Use active instead of isActive.
3899 (addDropTargetListener): Implemented.
3900 (removeDropTargetListener): Implemented.
3901 (getFlavorMap): Implemented.
3902 (setFlavorMap): Implemented.
3903 (getDropTargetContext): Implemented.
3904 (createDropTargetContext): Implemented.
3905 (createDropTargetAutoScroller): Implemented.
3906 * java/awt/dnd/DropTargetContext.java
3907 (TransferableProxy.getTransferDataFlavors): Implemented.
3908 (TransferableProxy.isDataFlavorSupported): Implemented.
3909 (TransferableProxy.getTransferData): Implemented.
3910 (dropTarget): New member variable.
3911 (dtcp): New member variable.
3912 (DropTargetContext): New package private constructor.
3913 (getDropTarget): Implemented.
3914 (getComponent): Implemented.
3915 (addNotify): Implemented.
3916 (removeNotify): Implemented.
3917 (getCurrentDataFlavorsAsList): Implemented.
3918 (isDataFlavorSupported): Implemented.
3919 * java/awt/dnd/MouseDragGestureRecognizer.java
3920 (registerListeners): Implemented.
3921 (unregisterListeners): Implemented.
3922 * Makefile.am
3923 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3924 * Makefile.in: Regenerated.
3925
3926 2003-03-02 Michael Koch <konqueror@gmx.de>
3927
3928 * java/awt/Component.java
3929 (eventTypeEnabled): New method.
3930 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3931 * java/awt/Container.java
3932 (changeSupport): New member variable.
3933 (addPropertyChangeListener): New methods.
3934 * java/awt/ContainerOrderFocusTraversalPolicy.java
3935 (ContainerOrderFocusTraversalPolicy): Added comment.
3936 (getComponentAfter): Throw exception, documentation added.
3937 (getComponentBefore): Throw exception, documentation added.
3938 (getFirstComponent): Throw exception, documentation added.
3939 (getLastComponent): Throw exception, documentation added.
3940 (getDefaultComponent): Throw exception, documentation added.
3941 * java/awt/EventQueue.java: Reindented.
3942 * java/awt/FocusTraversalPolicy.java:
3943 (FocusTraversalPolicy): Added comment.
3944 (getComponentAfter): Documentation added.
3945 (getComponentBefore): Documentation added.
3946 (getFirstComponent): Documentation added.
3947 (getLastComponent): Documentation added.
3948 (getDefaultComponent): Documentation added.
3949 (getInitialComponent): Documentation added.
3950 * java/awt/ScrollPane.java
3951 (wheelScrollingEnabled): New member variable.
3952 (ScrollPane): Initialize wheelScollingEnabled.
3953 (eventTypeEnabled): New method.
3954 (isWheelScrollingEnabled): New method.
3955 (setWheelScrollingEnabled): New method.
3956
3957 2003-03-02 Michael Koch <konqueror@gmx.de>
3958
3959 * java/net/DatagramSocket.java
3960 (closed): New member variable.
3961 (close): Use closed variable.
3962 (getInetAddress): No need to call isConnected().
3963 (getPort): No need to call isConnected().
3964 (disconnect): Reset remoteAddress and remotePort, fixed typo.
3965 (isClosed): Reimplemented.
3966
3967 2003-03-02 Michael Koch <konqueror@gmx.de>
3968
3969 * configure.in: Added check for memory mapping of files.
3970 * configure: Regenerated.
3971 * config.h.in: Regenerated.
3972
3973 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
3974
3975 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3976 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3977
3978 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3979
3980 * java/io/File.java (normalizePath): Remove trailing separator
3981 on Windows only if path is not of the form "x:\".
3982
3983 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3984 (java::io::File::attr): Change formatting a bit and use
3985 WIN32_EPOCH_MILLIS instead of magic numbers.
3986 (java::io::File::isAbsolute): Path must have at least 3
3987 characters for a UNC network path.
3988 (java::io::File::init_native): Define.
3989 (java::io::File::performCreate): Likewise.
3990 (java::io::File::performSetReadOnly): Likewise.
3991 (java::io::File::performSetLastModified): Likewise.
3992 (java::io::File::performListRoots): Likewise.
3993
3994 2003-03-01 Tom Tromey <tromey@redhat.com>
3995
3996 * java/lang/natObject.cc: Don't include assert.h.
3997 (heavy_lock_obj_finalization_proc): Use JvAssert.
3998 (remove_all_heavy): Likewise.
3999 (_Jv_MonitorEnter): Likewise.
4000 (_Jv_MonitorExit): Likewise.
4001 (wait): Likewise.
4002
4003 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4004
4005 * java/io/File (getAbsolutePath): Prefix drive specifier on
4006 Windows for paths starting with a '\'.
4007 (toURL): Make URL more consistent with what Sun's JDK returns.
4008
4009 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4010 true only if the path is a UNC network path or it starts with a
4011 drive specifier.
4012
4013 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4014 Be prepared to handle either '/' or '\\' in the file path for
4015 Windows if using the "file" protocol.
4016 Canonicalise the file path if using a relative path in the given
4017 context and the "file" protocol.
4018
4019 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4020
4021 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4022 program array element passed to CreateProcess.
4023
4024 2003-03-01 Tom Tromey <tromey@redhat.com>
4025
4026 * java/rmi/registry/RegistryHandler.java: Deprecate.
4027
4028 2003-03-01 Tom Tromey <tromey@redhat.com>
4029
4030 * javax/accessibility/AccessibleEditableText.java,
4031 javax/accessibility/AccessibleHyperlink.java: New versions from
4032 Classpath.
4033
4034 * gnu/java/locale/LocaleInformation_af_ZA.java,
4035 gnu/java/locale/LocaleInformation_ar_AE.java,
4036 gnu/java/locale/LocaleInformation_ar_BH.java,
4037 gnu/java/locale/LocaleInformation_ar_DZ.java,
4038 gnu/java/locale/LocaleInformation_ar_EG.java,
4039 gnu/java/locale/LocaleInformation_ar_IN.java,
4040 gnu/java/locale/LocaleInformation_ar_IQ.java,
4041 gnu/java/locale/LocaleInformation_ar_JO.java,
4042 gnu/java/locale/LocaleInformation_ar_KW.java,
4043 gnu/java/locale/LocaleInformation_ar_LB.java,
4044 gnu/java/locale/LocaleInformation_ar_LY.java,
4045 gnu/java/locale/LocaleInformation_ar_MA.java,
4046 gnu/java/locale/LocaleInformation_ar_OM.java,
4047 gnu/java/locale/LocaleInformation_ar_QA.java,
4048 gnu/java/locale/LocaleInformation_ar_SD.java,
4049 gnu/java/locale/LocaleInformation_ar_SY.java,
4050 gnu/java/locale/LocaleInformation_ar_TN.java,
4051 gnu/java/locale/LocaleInformation_ar_YE.java,
4052 gnu/java/locale/LocaleInformation_be_BY.java,
4053 gnu/java/locale/LocaleInformation_bn_IN.java,
4054 gnu/java/locale/LocaleInformation_br_FR.java,
4055 gnu/java/locale/LocaleInformation_bs_BA.java,
4056 gnu/java/locale/LocaleInformation_ca_ES.java,
4057 gnu/java/locale/LocaleInformation_cs_CZ.java,
4058 gnu/java/locale/LocaleInformation_cy_GB.java,
4059 gnu/java/locale/LocaleInformation_da_DK.java,
4060 gnu/java/locale/LocaleInformation_de_AT.java,
4061 gnu/java/locale/LocaleInformation_de_BE.java,
4062 gnu/java/locale/LocaleInformation_de_CH.java,
4063 gnu/java/locale/LocaleInformation_de_DE.java,
4064 gnu/java/locale/LocaleInformation_de_LU.java,
4065 gnu/java/locale/LocaleInformation_el_GR.java,
4066 gnu/java/locale/LocaleInformation_en_AU.java,
4067 gnu/java/locale/LocaleInformation_en_BW.java,
4068 gnu/java/locale/LocaleInformation_en_CA.java,
4069 gnu/java/locale/LocaleInformation_en_DK.java,
4070 gnu/java/locale/LocaleInformation_en_GB.java,
4071 gnu/java/locale/LocaleInformation_en_HK.java,
4072 gnu/java/locale/LocaleInformation_en_IE.java,
4073 gnu/java/locale/LocaleInformation_en_IN.java,
4074 gnu/java/locale/LocaleInformation_en_NZ.java,
4075 gnu/java/locale/LocaleInformation_en_PH.java,
4076 gnu/java/locale/LocaleInformation_en_SG.java,
4077 gnu/java/locale/LocaleInformation_en_US.java,
4078 gnu/java/locale/LocaleInformation_en_ZA.java,
4079 gnu/java/locale/LocaleInformation_en_ZW.java,
4080 gnu/java/locale/LocaleInformation_es_AR.java,
4081 gnu/java/locale/LocaleInformation_es_BO.java,
4082 gnu/java/locale/LocaleInformation_es_CL.java,
4083 gnu/java/locale/LocaleInformation_es_CO.java,
4084 gnu/java/locale/LocaleInformation_es_CR.java,
4085 gnu/java/locale/LocaleInformation_es_DO.java,
4086 gnu/java/locale/LocaleInformation_es_EC.java,
4087 gnu/java/locale/LocaleInformation_es_ES.java,
4088 gnu/java/locale/LocaleInformation_es_GT.java,
4089 gnu/java/locale/LocaleInformation_es_HN.java,
4090 gnu/java/locale/LocaleInformation_es_MX.java,
4091 gnu/java/locale/LocaleInformation_es_NI.java,
4092 gnu/java/locale/LocaleInformation_es_PA.java,
4093 gnu/java/locale/LocaleInformation_es_PE.java,
4094 gnu/java/locale/LocaleInformation_es_PR.java,
4095 gnu/java/locale/LocaleInformation_es_PY.java,
4096 gnu/java/locale/LocaleInformation_es_SV.java,
4097 gnu/java/locale/LocaleInformation_es_US.java,
4098 gnu/java/locale/LocaleInformation_es_UY.java,
4099 gnu/java/locale/LocaleInformation_es_VE.java,
4100 gnu/java/locale/LocaleInformation_et_EE.java,
4101 gnu/java/locale/LocaleInformation_eu_ES.java,
4102 gnu/java/locale/LocaleInformation_fa_IR.java,
4103 gnu/java/locale/LocaleInformation_fi_FI.java,
4104 gnu/java/locale/LocaleInformation_fo_FO.java,
4105 gnu/java/locale/LocaleInformation_fr_BE.java,
4106 gnu/java/locale/LocaleInformation_fr_CA.java,
4107 gnu/java/locale/LocaleInformation_fr_CH.java,
4108 gnu/java/locale/LocaleInformation_fr_FR.java,
4109 gnu/java/locale/LocaleInformation_fr_LU.java,
4110 gnu/java/locale/LocaleInformation_ga_IE.java,
4111 gnu/java/locale/LocaleInformation_gd_GB.java,
4112 gnu/java/locale/LocaleInformation_gl_ES.java,
4113 gnu/java/locale/LocaleInformation_gv_GB.java,
4114 gnu/java/locale/LocaleInformation_he_IL.java,
4115 gnu/java/locale/LocaleInformation_hi_IN.java,
4116 gnu/java/locale/LocaleInformation_hr_HR.java,
4117 gnu/java/locale/LocaleInformation_hu_HU.java,
4118 gnu/java/locale/LocaleInformation_id_ID.java,
4119 gnu/java/locale/LocaleInformation_it_CH.java,
4120 gnu/java/locale/LocaleInformation_it_IT.java,
4121 gnu/java/locale/LocaleInformation_iw_IL.java,
4122 gnu/java/locale/LocaleInformation_ja_JP.java,
4123 gnu/java/locale/LocaleInformation_ka_GE.java,
4124 gnu/java/locale/LocaleInformation_kl_GL.java,
4125 gnu/java/locale/LocaleInformation_ko_KR.java,
4126 gnu/java/locale/LocaleInformation_kw_GB.java,
4127 gnu/java/locale/LocaleInformation_lt_LT.java,
4128 gnu/java/locale/LocaleInformation_lv_LV.java,
4129 gnu/java/locale/LocaleInformation_mi_NZ.java,
4130 gnu/java/locale/LocaleInformation_mk_MK.java,
4131 gnu/java/locale/LocaleInformation_mr_IN.java,
4132 gnu/java/locale/LocaleInformation_mt_MT.java,
4133 gnu/java/locale/LocaleInformation_nl_BE.java,
4134 gnu/java/locale/LocaleInformation_nl_NL.java,
4135 gnu/java/locale/LocaleInformation_nn_NO.java,
4136 gnu/java/locale/LocaleInformation_no_NO.java,
4137 gnu/java/locale/LocaleInformation_oc_FR.java,
4138 gnu/java/locale/LocaleInformation_pl_PL.java,
4139 gnu/java/locale/LocaleInformation_pt_BR.java,
4140 gnu/java/locale/LocaleInformation_pt_PT.java,
4141 gnu/java/locale/LocaleInformation_ro_RO.java,
4142 gnu/java/locale/LocaleInformation_ru_RU.java,
4143 gnu/java/locale/LocaleInformation_ru_UA.java,
4144 gnu/java/locale/LocaleInformation_se_NO.java,
4145 gnu/java/locale/LocaleInformation_sk_SK.java,
4146 gnu/java/locale/LocaleInformation_sl_SI.java,
4147 gnu/java/locale/LocaleInformation_sq_AL.java,
4148 gnu/java/locale/LocaleInformation_sr_YU.java,
4149 gnu/java/locale/LocaleInformation_sv_FI.java,
4150 gnu/java/locale/LocaleInformation_sv_SE.java,
4151 gnu/java/locale/LocaleInformation_ta_IN.java,
4152 gnu/java/locale/LocaleInformation_te_IN.java,
4153 gnu/java/locale/LocaleInformation_tg_TJ.java,
4154 gnu/java/locale/LocaleInformation_tl_PH.java,
4155 gnu/java/locale/LocaleInformation_tr_TR.java,
4156 gnu/java/locale/LocaleInformation_uk_UA.java,
4157 gnu/java/locale/LocaleInformation_ur_PK.java,
4158 gnu/java/locale/LocaleInformation_uz_UZ.java,
4159 gnu/java/locale/LocaleInformation_vi_VN.java,
4160 gnu/java/locale/LocaleInformation_yi_US.java,
4161 gnu/java/locale/LocaleInformation_zh_CN.java,
4162 gnu/java/locale/LocaleInformation_zh_HK.java,
4163 gnu/java/locale/LocaleInformation_zh_SG.java,
4164 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4165 info; from Classpath.
4166
4167 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4168 isPaintPending): New methods.
4169 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4170 setMaximizedBounds): New methods.
4171 (beginLayout, endLayout, isPaintPending): Likewise.
4172 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4173 (requestFocus): Likewise.
4174 (isObscured): Likewise.
4175 (canDetermineObscurity): Likewise.
4176 (coalescePaintEvent): Likewise.
4177 (updateCursorImmediately): Likewise.
4178 (createVolatileImage): Likewise.
4179 (handlesWheelScrolling): Likewise.
4180 (createBuffers): Likewise.
4181 (getBackBuffer): Likewise.
4182 (flip): Likewise.
4183 (destroyBuffers): Likewise.
4184
4185 * Makefile.in: Rebuilt.
4186 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4187 RobotPeer.java.
4188 * gnu/java/awt/GLightweightPeer.java,
4189 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4190 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4191 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4192 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4193 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4194 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4195 java/awt/dnd/peer/DragSourceContextPeer.java,
4196 java/awt/dnd/peer/DropTargetContextPeer.java,
4197 java/awt/peer/ButtonPeer.java,
4198 java/awt/peer/CheckboxMenuItemPeer.java,
4199 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4200 java/awt/peer/ComponentPeer.java,
4201 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4202 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4203 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4204 java/awt/peer/MenuBarPeer.java,
4205 java/awt/peer/MenuComponentPeer.java,
4206 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4207 java/awt/peer/PopupMenuPeer.java,
4208 java/awt/peer/ScrollPanePeer.java,
4209 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4210 java/awt/peer/TextComponentPeer.java,
4211 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4212 New versions from Classpath.
4213 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4214 * java/awt/peer/RobotPeer.java: Likewise.
4215
4216 2003-03-01 Mark Wielaard <mark@klomp.org>
4217
4218 * java/io/ObjectInputStream.java: Reindent.
4219 * java/io/ObjectOutputStream.java: Likewise.
4220
4221 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4222
4223 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4224 jvalue for each argument. Simplify.
4225 * testsuite/libjava.jni/calls.c (docall),
4226 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4227 misalignment.
4228
4229 2003-02-28 Mark Wielaard <mark@klomp.org>
4230
4231 * Makefile.am (nat_source_files): Remove
4232 java/io/natObjectOutputStream.cc.
4233 * Makefile.in: Regenerated.
4234 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4235 * java/io/ObjectStreamField.java (typename): New field.
4236 (ObjectStreamField(String, Class)): Initialize new field.
4237 (ObjectStreamField(String, String)): New Constructor.
4238 (getTypeCode): Use new field.
4239 (getTypeString): Use new field.
4240 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4241 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4242 Handle reading of Proxy classes. Never drain(), just write
4243 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4244 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4245 (flush): Call flush(), not just drain().
4246 (writeBoolean): Always use blockDataOutput.
4247 (writeByte): Likewise.
4248 (writeShort): Likewise.
4249 (writeChar): Likewise.
4250 (writeInt): Likewise.
4251 (writeLong): Likewise.
4252 (writeFloat): Likewise.
4253 (writeDouble): Likewise.
4254 (writeBytes): Likewise.
4255 (putfield (put(String,Object))): Throw IllegalArgumentException if
4256 field cannot be found.
4257 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4258 (writeArraySizeAndElements): Write byte[] in one go.
4259 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4260 set BlockDataMode to false.
4261 (annotateProxyClass): New method.
4262 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4263 (getField): No longer native.
4264 (getMethod): Likewise.
4265 (setBlockDataMode): Always drain() on switch, return old mode.
4266 (static): New static code block.
4267 * java/io/natObjectOutputStream.cc: Removed.
4268 * java/io/ObjectInputStream.java (getField): No longer native.
4269 (getMethod): Likewise.
4270 (readObject): Remember and reset old BlockDataMode. Track whether
4271 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4272 TC_LONGSTRING.
4273 (defaultReadObject): Set BlockDataMode to false during readFields.
4274 (resolveClass): Create new SecurityManager if necessary.
4275 Use Class.forName() if null ClassLoader found.
4276 (read(byte[],int,int): Copy remaining bytes to data before calling
4277 readNextBlock().
4278 (readFields): Set and reset BlockDataMode on call_read_method.
4279 Catch NoSuchFieldErrors.
4280 (setBlockDataMode): Return old mode.
4281 (static): New static code block.
4282 * java/io/natObjectInputStream.cc (getField): Removed.
4283 (getMethod): Likewise.
4284
4285 2003-02-27 Michael Koch <konqueror@gmx.de>
4286
4287 * java/beans/Beans.java,
4288 java/beans/FeatureDescriptor.java
4289 java/beans/PropertyEditorManager.java:
4290 Reformated to GNU style.
4291
4292 2003-02-25 Michael Koch <konqueror@gmx.de>
4293
4294 * gnu/java/nio/MappedByteFileBuffer.java,
4295 gnu/java/nio/natMappedByteFileBuffer.cc:
4296 New files, both are not compiled yet to get not noncompiling CVS.
4297
4298 2003-02-24 Tom Tromey <tromey@redhat.com>
4299
4300 * java/util/prefs/AbstractPreferences.java (isUserNode):
4301 Implemented.
4302
4303 2003-02-24 Tom Tromey <tromey@redhat.com>
4304
4305 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4306 Deprecate.
4307 * java/lang/Thread.java (resume): Deprecate.
4308 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4309 in @deprecated.
4310
4311 2003-02-23 Tom Tromey <tromey@redhat.com>
4312
4313 * Makefile.in: Rebuilt.
4314 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4315
4316 2003-02-23 Tom Tromey <tromey@redhat.com>
4317
4318 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4319 libraries): Removed.
4320 (add_library): Removed.
4321 (_load): Don't call add_library.
4322 (loadLibraryInternal): Likewise.
4323 (init): Likewise.
4324 (lookup_data): New struct.
4325 (find_symbol): New function.
4326 (_Jv_FindSymbolInExecutable): Use it.
4327
4328 2002-02-21 Anthony Green <green@redhat.com>
4329
4330 * java/lang/Thread.java (Thread): New constructor taking stack
4331 size parameter (ignored for now).
4332 * Many methods: Merged GNU Classpath documentation.
4333
4334 * java/lang/Class.java (finalize): throws a Throwable.
4335
4336 2003-02-21 Mark Wielaard <mark@klomp.org>
4337
4338 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4339 argument is null.
4340
4341 2003-02-21 Mark Wielaard <mark@klomp.org>
4342
4343 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4344 then 65535 chars throw IllegalArgumentException.
4345
4346 2003-02-21 Mark Wielaard <mark@klomp.org>
4347
4348 * java/util/zip/ZipFile.java (finalize): New method.
4349
4350 2003-02-21 Michael Koch <konqueror@gmx.de>
4351
4352 * gnu/java/nio/natSocketChannelImpl.cc:
4353 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4354 <cato@df.lth.se> for pointing to it.
4355
4356 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4357
4358 * java/math/BigInteger.java (euclidInv): Take result array as an
4359 argument. Updated all callers.
4360 (modInverse): Removed unused variables.
4361
4362 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4363
4364 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4365 config.status.
4366 * configure: Rebuilt.
4367
4368 2003-02-19 Michael Koch <konqueror@gmx.de>
4369
4370 * gnu/java/nio/natSocketChannelImpl.cc:
4371 Added support for platforms without network support.
4372
4373 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4374
4375 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4376 after config.h. Use <> for consistency.
4377 * java/lang/natObject.cc: Likewise.
4378 * java/lang/natRuntime.cc: Likewise.
4379 * java/lang/natSystem.cc: Likewise.
4380 * java/util/natTimeZone.cc: Likewise.
4381 * win32.cc: Likewise.
4382 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4383 listen, write, read): Undef to avoid interference from OS macros.
4384
4385 2003-02-19 Michael Koch <konqueror@gmx.de>
4386
4387 * gnu/java/nio/ByteBufferImpl.java
4388 (ByteBufferImpl): Renamed two variables.
4389 * gnu/java/nio/CharBufferImpl.java
4390 (CharBufferImpl): Renamed two variables.
4391 * gnu/java/nio/DoubleBufferImpl.java
4392 (DoubleBufferImpl): Renamed two variables.
4393 * gnu/java/nio/FloatBufferImpl.java
4394 (FloatBufferImpl): Renamed two variables.
4395 * gnu/java/nio/IntBufferImpl.java
4396 (IntBufferImpl): Renamed two variables.
4397 * gnu/java/nio/LongBufferImpl.java
4398 (LongBufferImpl): Renamed two variables.
4399 * gnu/java/nio/ShortBufferImpl.java
4400 (ShortBufferImpl): Renamed two variables.
4401 * java/nio/CharBuffer.java
4402 (wrap): Fixed arguments to CharBufferImpl constructor.
4403 (hasArray): Only not read-only buffers have backing arrays.
4404 (length): Documentation added.
4405 (subSequence): Documentation added.
4406 * java/nio/DoubleBuffer.java
4407 (hasArray): Only not read-only buffers have backing arrays.
4408 * java/nio/FloatBuffer.java
4409 (hasArray): Only not read-only buffers have backing arrays.
4410 * java/nio/IntBuffer.java
4411 (hasArray): Only not read-only buffers have backing arrays.
4412 * java/nio/LongBuffer.java
4413 (hasArray): Only not read-only buffers have backing arrays.
4414 * java/nio/ShortBuffer.java
4415 (hasArray): Only not read-only buffers have backing arrays.
4416
4417 2003-02-19 Michael Koch <konqueror@gmx.de>
4418
4419 * javax/accessibility/AccessibleContext.java
4420 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4421
4422 2003-02-19 Michael Koch <konqueror@gmx.de>
4423
4424 * java/awt/ScrollPaneAdjustable.java: Reformated.
4425
4426 2003-02-19 Michael Koch <konqueror@gmx.de>
4427
4428 * gnu/awt/j2d/Graphics2DImpl.java
4429 (getFontRenderContext): New method.
4430 (drawGlyphVector): New method.
4431 * java/awt/Graphics2D.java
4432 (getFontRenderContext): New abstract method.
4433 (drawGlyphVector): New abstract method.
4434
4435 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4436
4437 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4438 if necessary.
4439
4440 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4441 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4442 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4443 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4444 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4445 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4446 (setFont, gtkSetFont): add.
4447 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4448 Propagate font to peer. (setFont): add FIXME comment.
4449
4450 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4451 (gtkTextGetSize): fix height, width computation.
4452
4453 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4454 Make X font name a bit less bogus.
4455
4456 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4457 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4458
4459 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4460 (processAdjustmentEvent): Adjust value.
4461
4462 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4463 logic errors.
4464
4465 * java/awt/Component.java (setVisible, show, hide): Call show and
4466 hide methods in subclasses.
4467 (getPreferredSize): don't set prefSize before we have peer.
4468
4469 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4470 Guess (0,0) if we don't have peer.
4471
4472
4473 2003-02-18 Michael Koch <konqueror@gmx.de>
4474
4475 * java/nio/channels/FileChannel.java
4476 (toString): New implementation, added documentation.
4477 (map): Added exception documentation.
4478 (size): Added exception documentation.
4479 (write): New methods, documentation work.
4480 (read): New methods, documentation work.
4481 (implCloseChannel): Rewrote exception documentation.
4482 (force): Throws IOException, added documentation.
4483 (lock): New methods.
4484 (tryLock): New methods.
4485 (position): New methods.
4486 (transferTo): New method.
4487 (transferFrom): New method.
4488 (truncate): New method.
4489 * java/nio/channels/spi/SelectorProvider.java
4490 (provider): Implemented.
4491 * Makefile.am
4492 (ordinary_java_source_files): Added the following files:
4493 gnu/java/nio/DatagramChannelImpl.java
4494 gnu/java/nio/FileChannelImpl.java
4495 gnu/java/nio/PipeImpl.java
4496 gnu/java/nio/SelectionKeyImpl.java
4497 gnu/java/nio/SelectorImpl.java
4498 gnu/java/nio/SelectorProviderImpl.java
4499 gnu/java/nio/ServerSocketChannelImpl.java
4500 gnu/java/nio/SocketChannelImpl.java
4501 java/nio/channels/FileLock.java
4502 (nat_java_source_files): Added the following files:
4503 gnu/java/nio/natFileChannelImpl.cc
4504 gnu/java/nio/natSelectorImpl.cc
4505 gnu/java/nio/natSocketChannelImpl.cc
4506 * Makefile.in: Regenerated.
4507
4508 2003-02-17 Tom Tromey <tromey@redhat.com>
4509
4510 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4511 * java/awt/image/ImageFilter.java: Likewise.
4512
4513 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4514
4515 * java/math/BigInteger.java (euclidInv): Return array of
4516 `BigInteger's. Changed all callers.
4517
4518 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4519
4520 * java/util/Properties.java (store): Move the code formerly in
4521 list(), into this method.
4522 (list (PrintStream)): Just call list (PrintWriter) with a
4523 PrintWriter object constructed from the given PrintStream object.
4524 (list (PrintWriter)): Emulate the output of Properties.list()
4525 as found in JDK 1.3/1.4.
4526
4527 2003-02-17 Michael Koch <konqueror@gmx.de>
4528
4529 * java/net/DatagramSocket.java
4530 (connect): Merged with classpath.
4531 (disconnect): Merged documentation with classpath.
4532 (receice): Merged documentation with classpath.
4533 (send): Merged documentation with classpath.
4534
4535 2003-02-17 Michael Koch <konqueror@gmx.de>
4536
4537 * java/awt/dnd/DragSourceContext.java
4538 (addDragSourceListener): Added documentation.
4539 * java/awt/dnd/DragSourceDragEvent.java
4540 (serialVersionUID): New member variable.
4541 (getDropAction): Reformated.
4542 * java/awt/dnd/DragSourceDropEvent.java
4543 (serialVersionUID): New member variable.
4544 (dropSuccess): Renamed from success for serialization issues.
4545 * java/awt/dnd/DragSourceEvent.java
4546 (serialVersionUID): New member variable.
4547 * java/awt/dnd/DropTarget.java
4548 (serialVersionUID): New member variable.
4549 (DropTarget): Implemented, documentation reworked.
4550 (setComponent): Documentation added.
4551 (getComponent): Documentation added.
4552 (setDefaultActions): Documentation added.
4553 (getDefaultActions): Documentation added.
4554 (addDropTargetListener): Documentation added.
4555 * java/awt/dnd/DropTargetContext.java
4556 (DropTargetContext): Documentation added.
4557 (TransferableProxy.TransferableProxy): New method.
4558 (dropComplete): Fixed documentation.
4559 (getTransferable): Fixed documentation.
4560 (createTransferableProxy): Implemented.
4561 * java/awt/dnd/DropTargetDragEvent.java
4562 (DropTargetDragEvent): Documentation added.
4563 (serialVersionUID): New member variable.
4564 (DropTargetDragEvent): Throw exceptions, documentation added.
4565 (acceptDrag): Implemented.
4566 (getCurrentDataFlavors): Implemented.3yy
4567 (getCurrentDataFlavorsAsList): Implemented.
4568 (isDataFlavorSupported): Implemented.
4569 (rejectDrag): Implemented.
4570 * java/awt/dnd/DropTargetDropEvent.java
4571 (DropTargetDropEvent): Documentation added.
4572 (serialVersionUID): New member variable.
4573 (actions): Renamed from srcActions for serialization issues.
4574 (isLocalTx): Renamed from isLocalTx for serialization issues.
4575 (DropTargetDropEvent): New implementation, throw exceptions,
4576 documentation added.
4577 (getCurrentDataFlavors): Implemented.
4578 (getCurrentDataFlavorsAsList): Implemented.
4579 (isDataFlavorSupported): Implemented.
4580 (getSourceActions): Implemented.
4581 (getDropAction): Implemented.
4582 (getTransferable): Implemented.
4583 (acceptDrop): Implemented.
4584 (rejectDrop): Implemented.
4585 * java/awt/dnd/DropTargetListener.java
4586 (drop): Fixed documentation.
4587 * java/awt/dnd/MouseDragGestureRecognizer.java
4588 (MouseDragGestureRecognizer): Documentation added.
4589
4590 2003-02-17 Michael Koch <konqueror@gmx.de>
4591
4592 * java/awt/font/FontRenderContext.java,
4593 java/awt/font/ShapeGraphicAttribute.java,
4594 java/awt/font/MultipleMaster.java,
4595 java/awt/font/TransformAttribute.java,
4596 java/awt/font/GlyphJustificationInfo.java,
4597 java/awt/font/LineBreakMeasurer.java,
4598 java/awt/font/TextMeasurer.java,
4599 java/awt/font/TextLayout.java,
4600 java/awt/font/LineMetrics.java,
4601 java/awt/font/TextAttribute.java,
4602 java/awt/font/GlyphMetrics.java,
4603 java/awt/font/OpenType.java,
4604 java/awt/font/GlyphVector.java,
4605 java/awt/font/GraphicAttribute.java,
4606 java/awt/font/ImageGraphicAttribute.java,
4607 java/awt/font/NumericShaper.java: New files.
4608 * Makefile.am
4609 (awt_java_source_files): Added the following files:
4610 java/awt/font/FontRenderContext.java
4611 java/awt/font/ShapeGraphicAttribute.java
4612 java/awt/font/MultipleMaster.java
4613 java/awt/font/TransformAttribute.java
4614 java/awt/font/GlyphJustificationInfo.java
4615 java/awt/font/LineBreakMeasurer.java
4616 java/awt/font/TextMeasurer.java
4617 java/awt/font/TextLayout.java
4618 java/awt/font/LineMetrics.java
4619 java/awt/font/TextAttribute.java
4620 java/awt/font/GlyphMetrics.java
4621 java/awt/font/OpenType.java
4622 java/awt/font/GlyphVector.java
4623 java/awt/font/GraphicAttribute.java
4624 java/awt/font/ImageGraphicAttribute.java
4625 java/awt/font/NumericShaper.java
4626 * Makefile.in: Regenerated.
4627
4628 2003-02-17 Michael Koch <konqueror@gmx.de>
4629
4630 * java/awt/print/Paper.java
4631 (Paper): Implements Cloneable.
4632 * java/awt/print/PrinterJob.java
4633 (setJobName): Return value must be void.
4634 (print): Throws PrinterException.
4635
4636 2003-02-16 Tom Tromey <tromey@redhat.com>
4637
4638 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4639 variable.
4640
4641 2003-02-15 Michael Koch <konqueror@gmx.de>
4642
4643 * java/awt/datatransfer/DataFlavor.java
4644 (isRepresentationClassByteBuffer): Removed try-catch block.
4645 (isRepresentationClassCharBuffer): Removed try-catch block.
4646 (isRepresentationClassReader): Removed try-catch block.
4647
4648 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4649
4650 * java/nio/charset/Charset.java
4651 (isRegistered): Fixed method args and implementation.
4652 * java/nio/charset/CharsetEncoder.java
4653 (unmappableCharacterAction): New method.
4654
4655 2003-02-15 Michael Koch <konqueror@gmx.de>
4656
4657 * java/awt/CheckboxMenuItem.java
4658 (CheckBoxMenuItem): Dont implement Serializable.
4659 (getListeners): New method,
4660 (getItemListeners): New method.
4661 * java/awt/Choice.java
4662 (getListeners): New method,
4663 (getItemListeners): New method.
4664 * java/awt/Container.java
4665 (getListeners): Added exception documentation.
4666 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4667 (getFocusTraversalKeys): Added documentation.
4668 (areFocusTraversalKeysSet): Added documentation.
4669 (applyComponentOrientation): Added documentation.
4670 * java/awt/ContainerOrderFocusTraversalPolicy.java
4671 (implicitDownCycleTraversal): Renamed from downCycle for
4672 serialization.
4673 (ContainerOrderFocusTraversalPolicy): Added documentation.
4674 (accept): Reformated.
4675 * java/awt/Dialog.java
4676 (Dialog): Dont implement Serializable.
4677 (Dialog): Added documentation.
4678 * java/awt/Font.java
4679 (Font): Dont use absolute class name.
4680 * java/awt/Frame.java
4681 (Frame): Font implement Serializable.
4682 * java/awt/List.java
4683 (getListeners): New method,
4684 (getActionListeners): New method.
4685 (getItemListeners): New method.
4686 * java/awt/Menu.java
4687 (countItems): New deprecated method.
4688 * java/awt/Scrollbar.java
4689 (getListeners): New method,
4690 (getAdjustmentListeners): New method,
4691 * java/awt/TextComponent.java
4692 (getListeners): New method,
4693 (getTextListeners): New method,
4694 * java/awt/TextField.java
4695 (getListeners): New method,
4696 (getActionListeners): New method.
4697 * java/awt/Window.java
4698 (windowFocusListener): New member variable.
4699 (windowStateListener): New member variable.
4700 (getWindowFocusListeners): New method.
4701 (getWindowStateListeners): New method.
4702 (addWindowFocusListener): New method.
4703 (addWindowStateListener): New method.
4704 (removeWindowFocusListener): New method.
4705 (removeWindowStateListener): New method.
4706 * java/awt/datatransfer/DataFlavor.java
4707 (isRepresentationClassByteBuffer): New method.
4708 (isRepresentationClassCharBuffer): New method.
4709 (isRepresentationClassReader): New method.
4710
4711 2003-02-14 Mark Wielaard <mark@klomp.org>
4712
4713 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4714 zero when there is an exponent and the significant is zero.
4715 (divide): Always set scale to newScale even in special ZERO case.
4716
4717 2003-02-14 Tom Tromey <tromey@redhat.com>
4718
4719 * java/lang/System.java (properties): Use Properties.clone.
4720 (setProperties): Likewise.
4721
4722 2003-02-14 Michael Koch <konqueror@gmx.de>
4723
4724 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4725 * gnu/java/nio/ServerSocketChannelImpl.java
4726 (SocketAccept): Removed.
4727 (accept): Commented out use of SocketAccept.
4728
4729 2003-02-13 Tom Tromey <tromey@redhat.com>
4730
4731 * verify.cc (state::seen_subrs): New field.
4732 (state::state): Initialize it.
4733 (state::clean_subrs): New method.
4734 (state::~state): Call it.
4735 (state::copy): Copy subroutine list.
4736 (state::add_subr): New method.
4737 (state::merge): Only register a change if the current subroutine
4738 hasn't yet been noted.
4739
4740 2003-02-13 Mark Wielaard <mark@klomp.org>
4741
4742 * java/io/InputStreamReader.java (getEncoding): Return null when
4743 closed.
4744 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4745
4746 2003-02-13 Mark Wielaard <mark@klomp.org>
4747
4748 * java/util/zip/InflaterInputStream.java (read): Return zero when len
4749 is zero.
4750
4751 2003-02-13 Mark Wielaard <mark@klomp.org>
4752
4753 * java/io/BufferedOutputStream.java (write(int)): Only flush when
4754 next byte cannot be buffered.
4755
4756 2003-02-13 Michael Koch <konqueror@gmx.de>
4757
4758 * java/awt/Label.java
4759 (Label): Don't implement Serializable directly.
4760 (addNotify): Fixed typo in documentation.
4761 * java/awt/List.java
4762 (List): Don't implement Serializable directly.
4763 * java/awt/PopupMenu.java
4764 (PopupMenu): Don't implement Serializable directly.
4765 * java/awt/ScrollPane.java
4766 (ScrollPane): Don't implement Serializable directly.
4767 * java/awt/Scrollbar.java
4768 (Scrollbar): Don't implement Serializable directly.
4769 * java/awt/TextArea.java
4770 (preferredSize): Fixed method arguments.
4771 * java/awt/TextField.java
4772 (TextField): Don't implement Serializable directly.
4773 * java/awt/color/ICC_ColorSpace.java
4774 (fromCIOXYZ): Documentation added.
4775 (getMinValue): Documentation added.
4776 (getMaxValue): Documentation added.
4777 * java/awt/datatransfer/DataFlavor.java
4778 (isMimeTypeEqual): May not be final.
4779 (clone): Throws CloneNotSupportedException.
4780 (getReaderForText): Don't throws UnsupportedEncodingException.
4781
4782 2003-02-13 Michael Koch <konqueror@gmx.de>
4783
4784 * gnu/java/awt/peer/gtk/GdkGraphics.java
4785 (drawString): New stubbed method.
4786 * java/awt/Graphics.java
4787 (drawString): New method.
4788
4789 2003-02-13 Casey Marshall <rsdio@metastatic.org>
4790
4791 PR libgcj/9271:
4792 * java/security/SecureRandom.java (next): Avoid bias in results.
4793
4794 2003-02-13 Michael <konqueror@gmx.de>
4795
4796 * gnu/java/nio/FileChannelImpl.java
4797 (lengthInternal): Must be native.
4798 (size): Check if channel is already closed.
4799 (implCloseChannel): Reformated.
4800 (read): w was unused, removed it.
4801 (read): Removed.
4802 (read): New method.
4803 (write): New method.
4804 (map): Check arguments.
4805 (force): Throws IOException, check if channel is closed.
4806 (transferTo): New method.
4807 (transferFrom): New method.
4808 (lock): New method.
4809 (tryLock): New method.
4810 (position): New method.
4811 (truncate): New method.
4812 (nio_mmap_file): Uncommented.
4813 (nio_munmap_file): Uncommented.
4814 (nio_msync): Uncommented.
4815 * gnu/java/nio/natFileChannelImpl.cc: New file.
4816
4817 2003-02-13 Michael Koch <konqueror@gmx.de>
4818
4819 * java/nio/ByteBuffer.java
4820 (endian): New member variable.
4821 (get): New methods.
4822 (equals): New method.
4823 (compareTo): New method.
4824 (order): New methods.
4825 (compact): New method.
4826 (isDirect): New method.
4827 (slice): New method.
4828 (duplicate): New method.
4829 (asReadOnlyBuffer): New method.
4830 (asCharBuffer): New method.
4831 (asDoubleBuffer): New method.
4832 (asFloatBuffer): New method.
4833 (asIntBuffer): New method.
4834 (asLongBuffer): New method.
4835 (asShortBuffer): New method.
4836 (get*): New methods.
4837 (put*): New methods.
4838 (toString): New method.
4839 * java/nio/CharBuffer.java
4840 (CharBuffer): Implement Comparable instead of Cloneable.
4841 (get): May not be final.
4842 (put): May not be final.
4843
4844 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
4845
4846 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4847 lastIndexOf( ) instead of indexOf( ) to find the colon before
4848 the line number, because Win32 file names might contain a
4849 drive letter and a colon at the start of an absolute path.
4850
4851 2003-02-13 Michael Koch <konqueror@gmx.de>
4852
4853 * gnu/java/nio/natSocketChannelImpl.cc
4854 (SocketConnect): This is not implemented yet.
4855 (SocketBind): This is not implemented yet.
4856
4857 2003-02-13 Michael Koch <konqueror@gmx.de>
4858
4859 * gnu/java/nio/natByteBufferImpl.cc,
4860 gnu/java/nio/natCharBufferImpl.cc,
4861 gnu/java/nio/natDoubleBufferImpl.cc,
4862 gnu/java/nio/natFloatBufferImpl.cc,
4863 gnu/java/nio/natIntBufferImpl.cc,
4864 gnu/java/nio/natLongBufferImpl.cc,
4865 gnu/java/nio/natShortBufferImpl.cc:
4866 Added copyright and license.
4867 * java/nio/DoubleBuffer.java,
4868 java/nio/FloatBuffer.java,
4869 java/nio/IntBuffer.java,
4870 java/nio/LongBuffer.java,
4871 java/nio/ShortBuffer.java
4872 (array): Throw exceptions.
4873 (arrayOffset): Throw exceptions.
4874
4875 2003-02-13 Michael Koch <konqueror@gmx.de>
4876
4877 * gnu/java/util/prefs/FileBasedFactory.java,
4878 gnu/java/util/prefs/MemmoryBasedFactory.java,
4879 gnu/java/util/prefs/MemoryBasedPreferences.java,
4880 gnu/java/util/prefs/NodeReader.java,
4881 gnu/java/util/prefs/NodeWriter.java,
4882 java/util/prefs/AbstractPreferences.java,
4883 java/util/prefs/BackingStoreException.java,
4884 java/util/prefs/InvalidPreferencesFormatException.java,
4885 java/util/prefs/NodeChangeEvent.java,
4886 java/util/prefs/NodeChangeListener.java,
4887 java/util/prefs/PreferenceChangeEvent.java,
4888 java/util/prefs/PreferenceChangeListener.java,
4889 java/util/prefs/Preferences.java,
4890 java/util/prefs/PreferencesFactory.java:
4891 New files, all merged from classpath.
4892 * Makefile.am
4893 (ordinary_java_source_files): Added the following files:
4894 gnu/java/util/prefs/FileBasedFactory.java,
4895 gnu/java/util/prefs/MemmoryBasedFactory.java,
4896 gnu/java/util/prefs/MemoryBasedPreferences.java,
4897 gnu/java/util/prefs/NodeReader.java,
4898 gnu/java/util/prefs/NodeWriter.java,
4899 (core_java_source_files): Added the following files:
4900 java/util/prefs/AbstractPreferences.java,
4901 java/util/prefs/BackingStoreException.java,
4902 java/util/prefs/InvalidPreferencesFormatException.java,
4903 java/util/prefs/NodeChangeEvent.java,
4904 java/util/prefs/NodeChangeListener.java,
4905 java/util/prefs/PreferenceChangeEvent.java,
4906 java/util/prefs/PreferenceChangeListener.java,
4907 java/util/prefs/Preferences.java,
4908 java/util/prefs/PreferencesFactory.java
4909 * Makefile.in: Regenerated.
4910
4911 2003-02-13 Michael Koch <konqueror@gmx.de>
4912
4913 * java/net/NetPermission.java
4914 (NetPermission): Make doucmentation match the method declaration.
4915 * java/net/NetworkInterface.java
4916 (equals): Reformated for GNU coding style.
4917 * java/net/ServerSocket.java: Merged with classpath.
4918 * java/net/Socket.java: Partly merged with classpath (Added some @since).
4919 * java/net/SocketImpl.java
4920 (localPort): Merged with classpath (initialize with -1).
4921 * java/net/SocketPermission.java: Merged with classpath (reindented).
4922 * java/net/URLDecoder.java: Merged with classpath (reindented).
4923
4924 2003-02-13 Michael Koch <konqueror@gmx.de>
4925
4926 * java/awt/GridBagConstraints.java
4927 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4928 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4929 * java/awt/KeyboardFocusManager.java
4930 (setGlobalCurrentFocusCycleRoot): Must be public.
4931 * java/awt/MenuComponent.java
4932 (MenuComponent): Must be public.
4933 * java/awt/Toolkit.java:
4934 Added some empty lines to make documentation more readable.
4935 (getFontPeer): Added @deprecated.
4936 (getColorModel): Added exception documentation.
4937 (getProperty): Fixed documentation.
4938
4939 2003-02-12 Jeff Sturm <jsturm@one-point.com>
4940
4941 * configure.host (alpha*-*): Default to -mieee.
4942 * configure.in (IEEESPEC): New.
4943 * libgcj.spec.in (jc1): Add IEEESPEC.
4944 * configure: Rebuild.
4945
4946 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4947
4948 * include/win32.h: Include ws2tcpip.h instead of
4949 winsock.h to obtain definition of the socklen_t type.
4950 Remove IP_TOS definition - not needed with ws2tcpip.h
4951 (_Jv_connect): Correct slight formatting error.
4952
4953 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4954
4955 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4956 size of the arguments for a JNI function. For Win32,
4957 modify to search for all forms of possible exported
4958 names of an stdcall JNI function.
4959 (_Jv_JNIMethod::call): Modify to calculate the size
4960 of the arguments passed to a JNI function and pass
4961 it to _Jv_LookupJNIMethod.
4962
4963 2003-02-12 Michael Koch <konqueror@gmx.de>
4964
4965 * java/nio/channels/Channels.java: New file.
4966 * Makefile.am
4967 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4968 * Makefile.in: Regenerated.
4969
4970 2003-02-12 Michael Koch <konqueror@gmx.de>
4971
4972 * java/nio/ByteBuffer.java
4973 (allocate): Implemented.
4974 (wrap): Implemented.
4975 * java/nio/CharBuffer.java:
4976 Some documentation added and reworked.
4977 (endian): Removed.
4978 (allocate): Implemented.
4979 (wrap): Implemented.
4980 (array): Throw exceptions.
4981 (arrayOffset): Throw exceptions.
4982 (toString): Implemented.
4983 (length): Implemented.
4984 (put): Implemented.
4985 (charAt): Implemented.
4986
4987 2003-02-11 John Leuner <jewel@debian.org>
4988
4989 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
4990 reads from end of file.
4991
4992 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
4993
4994 * java/io/natFileDescriptorWin32.cc
4995 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4996 returns with Win32 error code ERROR_BROKEN_PIPE.
4997
4998 2003-02-11 Michael Koch <konqueror@gmx.de>
4999
5000 * Makefile.in
5001 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5002
5003 2003-02-11 Michael Koch <konqueror@gmx.de>
5004
5005 * gnu/java/nio/ByteBufferImpl.java:
5006 Reformated and removed some code.
5007 (backing_buffer): Removed.
5008 (array_offset): Removed.
5009 (ro): Renamed to readOnly.
5010 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5011 * gnu/java/nio/CharBufferImpl.java:
5012 Reformated and removed some code.
5013 (array_offset): Removed.
5014 (ro): Renamed to readOnly.
5015 (CharBufferImpl): Use parent constructor, initialize readOnly.
5016 (inc_pos): Removed.
5017 (order): New method.
5018 * gnu/java/nio/DoubleBufferImpl.java:
5019 Reformated and removed some code.
5020 (array_offset): Removed.
5021 (ro): Renamed to readOnly.
5022 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5023 (inc_pos): Removed.
5024 (order): New method.
5025 * gnu/java/nio/FloatBufferImpl.java:
5026 Reformated and removed some code.
5027 (array_offset): Removed.
5028 (ro): Renamed to readOnly.
5029 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5030 (inc_pos): Removed.
5031 (order): New method.
5032 * gnu/java/nio/IntBufferImpl.java:
5033 Reformated and removed some code.
5034 (array_offset): Removed.
5035 (ro): Renamed to readOnly.
5036 (IntBufferImpl): Use parent constructor, initialize readOnly.
5037 (inc_pos): Removed.
5038 (order): New method.
5039 * gnu/java/nio/LongBufferImpl.java:
5040 Reformated and removed some code.
5041 (array_offset): Removed.
5042 (ro): Renamed to readOnly.
5043 (LongBufferImpl): Use parent constructor, initialize readOnly.
5044 (inc_pos): Removed.
5045 (order): New method.
5046 * gnu/java/nio/ShortBufferImpl.java:
5047 Reformated and removed some code.
5048 (array_offset): Removed.
5049 (ro): Renamed to readOnly.
5050 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5051 (inc_pos): Removed.
5052 (order): New method.
5053 * Makefile.am
5054 (ordinary_java_source_files): Added the following files:
5055 gnu/java/nio/ByteBufferImpl.java
5056 gnu/java/nio/CharBufferImpl.java
5057 gnu/java/nio/DoubleBufferImpl.java
5058 gnu/java/nio/FloatBufferImpl.java
5059 gnu/java/nio/IntBufferImpl.java
5060 gnu/java/nio/LongBufferImpl.java
5061 gnu/java/nio/ShortBufferImpl.java
5062 java/nio/DoubleBuffer.java
5063 java/nio/FloatBuffer.java
5064 java/nio/IntBuffer.java
5065 java/nio/LongBuffer.java
5066 java/nio/ShortBuffer.java
5067 (nat_source_files): Added the following files:
5068 gnu/java/nio/natByteBufferImpl.cc
5069 gnu/java/nio/natCharBufferImpl.cc
5070 gnu/java/nio/natDoubleBufferImpl.cc
5071 gnu/java/nio/natFloatBufferImpl.cc
5072 gnu/java/nio/natIntBufferImpl.cc
5073 gnu/java/nio/natLongBufferImpl.cc
5074 gnu/java/nio/natShortBufferImpl.cc
5075 * Makefile.in: Regenerated.
5076
5077 2003-02-11 Michael Koch <konqueror@gmx.de>
5078
5079 * gnu/java/nio/natCharBufferImpl.cc
5080 (nio_cast): Removed.
5081 (nio_put_*): Removed.
5082 (nio_get_*): Removed.
5083 * gnu/java/nio/natDoubleBufferImpl.cc
5084 (nio_cast): Removed.
5085 (nio_put_*): Removed.
5086 (nio_get_*): Removed.
5087 * gnu/java/nio/natFloatBufferImpl.cc
5088 (nio_cast): Removed.
5089 (nio_put_*): Removed.
5090 (nio_get_*): Removed.
5091 * gnu/java/nio/natIntBufferImpl.cc
5092 (nio_cast): Removed.
5093 (nio_put_*): Removed.
5094 (nio_get_*): Removed.
5095 * gnu/java/nio/natLongBufferImpl.cc
5096 (nio_cast): Removed.
5097 (nio_put_*): Removed.
5098 (nio_get_*): Removed.
5099 * gnu/java/nio/natShortBufferImpl.cc
5100 (nio_cast): Removed.
5101 (nio_put_*): Removed.
5102 (nio_get_*): Removed.
5103 * gnu/java/nio/SelectorProviderImpl.java
5104 (openDatagramChannel): Throws IOException.
5105 (openPipe): Throws IOException.
5106 (openSelector): Throws IOException.
5107 (openServerSocketChannel): Throws IOException.
5108 (openSocketChannel): Throws IOException.
5109 * gnu/java/nio/ServerSocketChannelImpl.java
5110 (ServerSocketChannelImpl): Throws IOException.
5111 (implCloseSelectableChannel): Throws IOException.
5112 (implConfigureBlocking): Throws IOException.
5113 * java/nio/ByteBuffer.java
5114 (readOnly): Removed.
5115 (hasArray): Use isReadOnly() instead of readOnly.
5116 (array): Use isReadOnly() instead of readOnly.
5117 (arrayOffset): Use isReadOnly() instead of readOnly.
5118 * java/nio/CharBuffer.java
5119 (CharBuffer): Implements Cloneable and CharSequence.
5120
5121 2003-02-11 Michael Koch <konqueror@gmx.de>
5122
5123 * java/nio/DoubleBuffer.java
5124 (DoubleBuffer): Implements Comparable.
5125 (endian): Removed.
5126 (array_offset): New member variable.
5127 (DoubleBuffer): New constuctor.
5128 (get): May not be final.
5129 (put): May not be final.
5130 (arrayOffset): Implemented.
5131 (order): Made abstract.
5132 (order): Removed.
5133 (as*Buffer): Removed.
5134 (get*): Removed.
5135 (put*): Removed.
5136 * java/nio/FloatBuffer.java
5137 (FloatBuffer): Implements Comparable.
5138 (endian): Removed.
5139 (array_offset): New member variable.
5140 (FloatBuffer): New constuctor.
5141 (get): May not be final.
5142 (put): May not be final.
5143 (arrayOffset): Implemented.
5144 (order): Made abstract.
5145 (order): Removed.
5146 (as*Buffer): Removed.
5147 (get*): Removed.
5148 (put*): Removed.
5149 * java/nio/IntBuffer.java
5150 (IntBuffer): Implements Comparable.
5151 (endian): Removed.
5152 (array_offset): New member variable.
5153 (IntBuffer): New constuctor.
5154 (get): May not be final.
5155 (put): May not be final.
5156 (arrayOffset): Implemented.
5157 (order): Made abstract.
5158 (order): Removed.
5159 (as*Buffer): Removed.
5160 (get*): Removed.
5161 (put*): Removed.
5162 * java/nio/LongBuffer.java
5163 (LongBuffer): Implements Comparable.
5164 (endian): Removed.
5165 (array_offset): New member variable.
5166 (LongBuffer): New constuctor.
5167 (get): May not be final.
5168 (put): May not be final.
5169 (arrayOffset): Implemented.
5170 (order): Made abstract.
5171 (order): Removed.
5172 (as*Buffer): Removed.
5173 (get*): Removed.
5174 (put*): Removed.
5175 * java/nio/ShortBuffer.java
5176 (ShortBuffer): Implements Comparable.
5177 (endian): Removed.
5178 (array_offset): New member variable.
5179 (ShortBuffer): New constuctor.
5180 (get): May not be final.
5181 (put): May not be final.
5182 (arrayOffset): Implemented.
5183 (order): Made abstract.
5184 (order): Removed.
5185 (as*Buffer): Removed.
5186 (get*): Removed.
5187 (put*): Removed.
5188
5189 2003-02-11 Michael Koch <konqueror@gmx.de>
5190
5191 * java/nio/channels/SelectionKey.java
5192 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5193 values.
5194
5195 2003-02-11 Michael Koch <konqueror@gmx.de>
5196
5197 * java/nio/channels/DatagramChannel.java
5198 (write): Throws IOException.
5199 (connect): Throws IOException.
5200 (disconnect): Throws IOException.
5201 (read): Throws IOException.
5202 (receive): Throws IOException.
5203 (send): Throws IOException.
5204 * java/nio/channels/Pipe.java
5205 (open): Throws IOException.
5206 * java/nio/channels/SelectableChannel.java
5207 (configureBlocking): Throws IOException.
5208 * java/nio/channels/ServerSocketChannel.java
5209 (accept): Throws IOException.
5210 * java/nio/channels/SocketChannel.java
5211 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5212 GatheringByteChannel.
5213 (read): Throws IOException.
5214 (write): Throws IOException.
5215 (finishConnect): Throws IOException.
5216 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5217 (end): Throws AsynchronousCloseException.
5218 * java/nio/channels/spi/AbstractSelectableChannel.java
5219 (configureBlocking): Throws IOException.
5220 (implCloseChannel): Throws IOException.
5221 (implCloseSelectableChannel): Throws IOException.
5222 (implConfigureBlocking): Throws IOException.
5223 * java/nio/channels/spi/SelectorProvider.java
5224 (openDatagramChannel): Throws IOException.
5225 (openPipe): Throws IOException.
5226 (openSelector): Throws IOException.
5227 (openServerSocketChannel): Throws IOException.
5228 (openSocketChannel): Throws IOException.
5229
5230 2003-02-11 Michael Koch <konqueror@gmx.de>
5231
5232 * gnu/java/nio/FileLockImpl.java,
5233 java/nio/channels/FileLock.java: New files.
5234
5235 2003-02-11 Michael Koch <konqueror@gmx.de>
5236
5237 * java/nio/charset/IllegalCharsetNameException.java
5238 (serialVersionUID): New member variable.
5239 (charsetName): New member variable.
5240 (IllegalCharsetException): New implementation.
5241 (getCharsetName): New implementation.
5242 * java/nio/charset/UnsupportedCharsetException.java
5243 (serialVersionUID): New member variable.
5244 (charsetName): New member variable.
5245 (UnsupportedCharsetException): New implementation.
5246 (getCharsetName): New implementation.
5247
5248 2003-02-10 Tom Tromey <tromey@redhat.com>
5249
5250 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5251 (ex): Renamed from sqlException.
5252
5253 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5254
5255 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5256 method used to ensure seeding has occurred and that a specific
5257 seed can be set and used.
5258
5259 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5260
5261 * java/lang/Win32Process.java (destroy): Declare as native.
5262 (hasExited): New native method.
5263 (exitValue): Define.
5264 (getErrorStream): Likewise.
5265 (getInputStream): Likewise.
5266 (getOutputStream): Likewise.
5267 (waitFor): Declare as native.
5268 (startProcess): New native method.
5269 (cleanup): Likewise.
5270 (ConcreteProcess): Define.
5271 (outputStream, inputStream, errorStream): New members.
5272 (procHandle, exitCode): Likewise.
5273
5274 * java/lang/natWin32Process.cc
5275 (java::lang::ConcreteProcess::cleanup): Define.
5276 (java::lang::ConcreteProcess::destroy): Likewise.
5277 (java::lang::ConcreteProcess::hasExited): Likewise.
5278 (java::lang::ConcreteProcess::waitFor): Likewise.
5279 (new_string): Likewise.
5280 (java::lang::ConcreteProcess::startProcess): Likewise.
5281
5282 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5283
5284 * java/math/BigInteger.java:
5285 Updated notice to include years 2002 and 3.
5286 Added 2 private (int) arrays with values from the HAC (Handbook of
5287 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5288 and t[] that contains nbr. of tests --used in isProbablePrime().
5289
5290 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5291
5292 * java/math/BigInteger.java (make(int[],int), add(int,int),
5293 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5294 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5295 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5296 make(long).
5297
5298 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5299 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5300 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5301 BIs and returns void.
5302 (modInverse(BI)): Use new signatures of euclidInv().
5303
5304 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5305 static small primes instead of remainder().
5306 Use pre-computed max nbr of trials based on bitlength of BI to test.
5307 Use pre-computed small primes for the trial tests instead of random
5308 numbers.
5309
5310 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5311 not used.
5312
5313 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5314 invoacation of MPN.chars_per_word(). not used.
5315
5316 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5317 local var and used where needed.
5318
5319 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5320 Combined declaration with initialisation of locals.
5321 Removed unused var.
5322
5323 * java/math/BigInteger.java: Style changes
5324 (pow(int)): Removed 'else' keyword.
5325 (toString(int)): idem.
5326 (doubleValue()): idem.
5327 (bitLength()): idem.
5328 (equals(Object)): Use static methods name in same class w/o prepending
5329 class name.
5330 (doubleValue()): idem.
5331 (setNegative(BI)): idem.
5332 (negate()): idem.
5333 (and(BI,int)): idem.
5334 (and(BI)): idem.
5335 (gcd(BI)): idem.
5336 (byteArrayToIntArray()): Removed casting to (int). this is
5337 std. behaviour.
5338 (canonicalize()): idem.
5339 (alloc(int)): Always instantiate a new BI.
5340
5341 2003-02-10 Tom Tromey <tromey@redhat.com>
5342
5343 * java/sql/Timestamp.java (compareTo(Object)): New method.
5344 (compareTo(Timestamp)): Likewise.
5345 (serialVersionUID): Updated.
5346
5347 2003-02-07 Mark Wielaard <mark@klomp.org>
5348
5349 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5350 when verify is true.
5351 (JarFile(File, boolean)): Likewise.
5352 (manifestRead): Set manifestRead field correctly.
5353
5354 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5355
5356 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5357 tests; see patch #1016 on Savannah.
5358
5359 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5360
5361 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5362 (toString): do not return Strings starting with . and - erroneously.
5363 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5364 DiagBigDecimal.
5365
5366 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5367
5368 * java/beans/PropertyDescriptor.java
5369 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5370 methods.
5371 (PropertyDescriptor(String, Class, String, String)): Likewise.
5372 (PropertyDescriptor(String, Method, Method): Factor out getter and
5373 setter method sanity checks into new method.
5374 (findMethods): Don't do parameter sanity checking of get method here.
5375 (checkMethods): New method.
5376
5377 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5378
5379 * java/beans/PropertyDescriptor.java: Reformat.
5380
5381 2003-02-04 Tom Tromey <tromey@redhat.com>
5382
5383 * java/io/PipedOutputStream.java (flush): Declare as throwing
5384 IOException.
5385 (close): Likewise.
5386 * java/io/PipedWriter.java (close): Declare as throwing
5387 IOException.
5388 * java/io/StringWriter.java (close): Declare as throwing
5389 IOException.
5390
5391 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5392
5393 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5394 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5395 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5396 "_JNI_OnLoad@8" (MSVC).
5397
5398 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5399
5400 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5401 convention on Win32 to invoke native JNI methods.
5402
5403 2003-02-03 Andrew Haley <aph@redhat.com>
5404
5405 * configure.host (x86_64): Enable interpreter.
5406
5407 2003-02-03 Andrew Haley <aph@redhat.com>
5408
5409 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5410 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5411 * configure.in (BACKTRACESPEC): New.
5412 * configure: Regenerate.
5413
5414 2003-02-02 Tom Tromey <tromey@redhat.com>
5415
5416 * configure: Rebuilt.
5417 * configure.in (TOOLKIT) [xlib]: Set correctly.
5418
5419 * Makefile.in: Rebuilt.
5420 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5421 libstdc++.
5422
5423 2003-01-31 Mark WIelaard <mark@klomp.org>
5424
5425 * Makefile.in: Rebuilt.
5426 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5427
5428 2003-01-31 Tom Tromey <tromey@redhat.com>
5429
5430 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5431 cast to element type.
5432 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5433 (_Jv_JNI_GetObjectArrayElement): Likewise.
5434
5435 * Makefile.in: Rebuilt.
5436 * Makefile.am (cond_x_ltlibrary): Renamed library to
5437 lib-gnu-awt-xlib.la.
5438 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5439 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5440 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5441 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5442 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5443 (lib_gnu_awt_xlib_la_LINK): Likewise.
5444 (install-exec-hook): Removed.
5445 (lib-gnu-awt-xlib.la): Renamed.
5446
5447 2003-01-31 Tom Tromey <tromey@redhat.com>
5448
5449 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5450 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5451 aclocal.m4 and lost in some merge.
5452
5453 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5454 Don't try to find graphics configuration.
5455 * java/awt/Toolkit.java (default_toolkit_name): Use new
5456 Configuration entry.
5457 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5458 New global.
5459 * configure: Rebuilt.
5460 * configure.in (TOOLKIT): New subst.
5461 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5462 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5463 directory. Make output directories for .c files.
5464 * Makefile.in: Rebuilt.
5465 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5466 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5467 (all_java_source_files): Added new sources.
5468 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5469 (gtk_c_files): New macro.
5470 (gtk_c_source_files): New macro.
5471 (cond_gtk_ltlibrary): New macro.
5472 ($(gtk_c_files)): New target.
5473 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5474 (gtk_awt_peer_sources): New macro.
5475 (gtk_c_headers): New macro.
5476 ($(gtk_c_headers)): New target.
5477 (ACLOCAL_AMFLAGS): New macro.
5478 * gtk.m4, glib.m4, libart.m4: New files.
5479 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5480 gnu/java/awt/peer/gtk/GdkGraphics.java,
5481 gnu/java/awt/peer/gtk/GtkArg.java,
5482 gnu/java/awt/peer/gtk/GtkArgList.java,
5483 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5484 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5485 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5486 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5487 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5488 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5489 gnu/java/awt/peer/gtk/GtkClipboard.java,
5490 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5491 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5492 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5493 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5494 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5495 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5496 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5497 gnu/java/awt/peer/gtk/GtkImage.java,
5498 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5499 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5500 gnu/java/awt/peer/gtk/GtkListPeer.java,
5501 gnu/java/awt/peer/gtk/GtkMainThread.java,
5502 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5503 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5504 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5505 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5506 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5507 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5508 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5509 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5510 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5511 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5512 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5513 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5514 gnu/java/awt/peer/gtk/GtkToolkit.java,
5515 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5516 gnu/java/awt/peer/gtk/TestAWT.java,
5517 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5518 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5519 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5520 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5521 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5522 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5523 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5524 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5525 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5526 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5527 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5528 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5529 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5530 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5531 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5532 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5533 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5534 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5535 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5536 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5537 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5538 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5539 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5540 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5541 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5542 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5543 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5544 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5545 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5546 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5547 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5548 jni/classpath/native_state.c, jni/classpath/native_state.h,
5549 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5550
5551 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5552
5553 * java/util/Properties.java (load): Ignore backslash before EOF.
5554
5555 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5556
5557 * java/lang/natClass.cc (initializeClass): Check tables when
5558 (state == JV_STATE_IN_PROGRESS).
5559 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5560 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5561 interpreted classes.
5562 (linkClass0): Use _Jv_WaitForState.
5563
5564 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5565
5566 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5567 object when finished.
5568
5569 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5570
5571 * libjava/configure.host: Disable can_unwind_signal on darwin.
5572
5573 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5574
5575 Fixes PR java/9254:
5576 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5577 additionally containing id of the owner thread as well as
5578 the number of nested times the thread has acquired the mutex.
5579 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5580 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5581 (_Jv_MutexUnlock): Check if really the owner thread, reset
5582 owner thread id to 0 before leaving, if leaving for the last
5583 time.
5584 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5585 refcount.
5586 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5587 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5588 the passed mutex.
5589 Pass handle of the broadcast event, instead of a pointer to it
5590 in Win32 ResetEvent( ) call.
5591 Remove incorrect return values.
5592 (_Jv_CondDestroy): Close both event handles and delete
5593 critical section.
5594 (_Jv_CondNotify): Check if really the owner thread.
5595 (_Jv_CondNotifyAll): Check if really the owner thread.
5596 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5597 (really_start): Use SetEvent( ) to signal daemon_cond.
5598 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5599 WaitForSingleObject( ) instead to wait for daemon_cond to be
5600 signalled.
5601
5602 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5603
5604 * configure.in: Specifically define HAVE_BACKTRACE if building
5605 for MinGW.
5606 * include/win32.h: Remove HAVE_BACKTRACE definition.
5607 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5608 * configure: Rebuilt.
5609
5610 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5611
5612 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5613 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5614 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5615 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5616 * Makefile.in, configure: Rebuilt.
5617
5618 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5619
5620 Fixes PR java/9253:
5621 * java/io/natFileWin32.cc (performList): Append only "*.*"
5622 if the canonical file path already has a "\" at the end.
5623
5624 2003-01-24 Tom Tromey <tromey@redhat.com>
5625
5626 * defineclass.cc (handleMethodsEnd): Precompute code for static
5627 method.
5628 (handleCodeAttribute): Likewise.
5629 * resolve.cc (ncode): Use run_class for unsynchronized static
5630 methods.
5631 * include/java-interp.h (class _Jv_InterpMethod): Declare
5632 run_class.
5633 * interpret.cc (run_synch_class): Initialize class.
5634 (run) [insn_invokestatic]: Don't initialize class.
5635 [insn_anewarray]: Likewise.
5636 [insn_multianewarray]: Likewise.
5637 (run_class): New function.
5638
5639 2003-01-24 Tom Tromey <tromey@redhat.com>
5640
5641 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5642 comment.
5643
5644 2003-01-22 Andrew Haley <aph@redhat.com>
5645
5646 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5647 * configure.host (CHECKREFSPEC): Define for x86_64.
5648
5649 2003-01-21 Tom Tromey <tromey@redhat.com>
5650
5651 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5652 search at 2, not 3.
5653
5654 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5655
5656 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5657 looking at any characters.
5658 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5659 be used.
5660 (isAbsolute): Check path's length as well.
5661
5662 2003-01-17 Mark Wielaard <mark@klomp.org>
5663
5664 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5665 (nat_source_files): Add natVMObjectStreamClass.cc.
5666 * Makefile.in: Regenerated.
5667 * gcj/javaprims.h (namespace java): Regenerated.
5668 * java/io/ObjectStreamClass.java (getClassUID): Call
5669 VMObjectStreamClass.hasClassInitializer().
5670 (hasClassInitializer): Removed.
5671 * java/io/VMObjectStreamClass.java: New class.
5672 * java/io/natVMObjectStreamClass.cc: New file.
5673 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5674
5675 2003-01-16 Mark Wielaard <mark@klomp.org>
5676
5677 * java/net/SocketImpl.java (toString): Don't explicitly call
5678 toString() on possible null address.
5679
5680 2003-01-16 Michael Koch <konqueror@gmx.de>
5681
5682 * java/net/MulticastSocket.java
5683 (setInterface): Reindented.
5684
5685 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5686
5687 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5688 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5689 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5690 translateY arguments. Implement.
5691 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5692 down translation arguments.
5693 (drawPolyline, drawPolygon): Fix incorrect tests.
5694 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5695 translateX and translateY arguments.
5696
5697 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5698
5699 * Makefile.in: Rebuilt.
5700 * Makefile.am (xlib_includes): New macro.
5701 (INCLUDES): Use it.
5702
5703 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5704
5705 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5706 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5707 16-bit display mode.
5708
5709 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5710
5711 * java/awt/CardLayout.java (show): Rewrote.
5712 (gotoComponent): Removed `target' argument. Simplified code.
5713 Don't pre-compute `choice' unless `what' is FIRST or LAST.
5714 Changed all callers.
5715 (NONE): Removed.
5716
5717 2003-01-14 Michael Koch <konqueror@gmx.de>
5718
5719 * java/net/InetSocketAddress.java
5720 (serialVersionUID): New member variable.
5721 * java/net/NetPermission.java
5722 (NetPermission): Dont implement java.io.Serialization directly.
5723 * java/net/SocketAddress.java:
5724 (serialVersionUID): Documentation added.
5725
5726 2003-01-14 Michael Koch <konqueror@gmx.de>
5727
5728 * java/awt/Label.java
5729 (Label): Implements javax.accessibility.Accessible;
5730 * java/awt/List.java
5731 (List): Implements javax.accessibility.Accessible;
5732 * java/awt/ScrollPane.java
5733 (ScrollPane): Implements javax.accessibility.Accessible;
5734 * java/awt/Scrollbar.java
5735 (Scrollbar): Implements javax.accessibility.Accessible;
5736 * java/awt/TextComponent.java
5737 (setCaretPosition): Throw exception, documentation added.
5738 * java/awt/Toolkit.java:
5739 Added some newlines in method documentations.
5740 (createButton): Exception documentation added.
5741 (createTextField): Exception documentation added.
5742 (createLabel): Exception documentation added.
5743 (createList): Exception documentation added.
5744 (createCheckbox): Exception documentation added.
5745 (createScrollbar): Exception documentation added.
5746 (createScrollPane): Exception documentation added.
5747 (createTextArea): Exception documentation added.
5748 (createChoice): Exception documentation added.
5749 (createFrame): Exception documentation added.
5750 (createWindow): Exception documentation added.
5751 (createDialog): Exception documentation added.
5752 (createMenuBar): Exception documentation added.
5753 (createMenu): Exception documentation added.
5754 (createMenuItem): Exception documentation added.
5755 (createFileDialog): Exception documentation added.
5756 (createCheckboxMenuItem): Exception documentation added.
5757 (loadSystemColors): Exception documentation added.
5758 (setDynamicLayout): Exception documentation added.
5759 (isDynamicLayoutSet): Exception documentation added.
5760 (isDynamicLayoutActive): Exception documentation added.
5761 (getScreenSize): Exception documentation added.
5762 (getScreenResolution): Exception documentation added.
5763 (getScreenInsets): Exception documentation added.
5764 (getColorModel): Exception documentation added.
5765 (getSystemClipboard): Exception documentation added.
5766 (getSystemSelection): Exception documentation added.
5767 (getMenuShortcutKeyMask): Exception documentation added.
5768 (getSystemEventQueue): Exception documentation added.
5769 * java/awt/Window.java:
5770 Reindented some code.
5771 (Window): Centralized implementation, documentation added.
5772 (finalize): Documentation added.
5773 (hide): Fixed typo in comment.
5774 (getWindowListeners): Documentation added.
5775 * java/awt/color/ColorSpace.java
5776 (toRGB): Documentation added.
5777 * java/awt/color/ICC_ColorSpace.java
5778 (ICC_ColorSpace): Documentation added.
5779 (toRGB): Throw exception, documentation added.
5780 (fromRGB): Throw exception, documentation added.
5781 (toCIEXYZ): Documentation added.
5782 (fromCIEXYZ): Documentation added.
5783 (getMinValue): Documentation added.
5784 (getMaxValue): Documentation added.
5785 * java/awt/geom/Dimension2D.java
5786 (clone): Documentation added.
5787 * java/awt/geom/GeneralPath.java
5788 (clone): Documentation added.
5789 * java/awt/geom/Line2D.java
5790 (clone): Documentation added.
5791 * java/awt/geom/QuadCurve2D.java
5792 (clone): Documentation added.
5793 * java/awt/image/ColorModel.java
5794 (ColorModel): Throw exception, documentation added.
5795 * java/awt/image/ImageFilter.java
5796 (clone): Doesnt throw CloneNotSupportedException.
5797
5798 2003-01-14 Andrew Haley <aph@redhat.com>
5799
5800 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5801 in a try block.
5802
5803 2003-01-10 Andrew Haley <aph@redhat.com>
5804
5805 * include/dwarf2-signal.h: Remove x86_64.
5806 * configure.host (x86_64 DIVIDESPEC): Remove.
5807 * include/x86_64-signal.h: New file.
5808 * configure.in: Regenerate.
5809
5810 2003-01-10 Michael Koch <konqueror@gmx.de>
5811
5812 * java/net/DatagramSocket.java
5813 (ch): Description added.
5814 (remotePort): Initialize with -1.
5815 (connect): Doesnt throws SocketException.
5816 * java/net/MulticastSocket.java
5817 (setInterface): Merge with Classpath.
5818 * java/net/ServerSocket.java
5819 (closed): New member variable.
5820 (bind): Check if socket is closed.
5821 (close): Close an associated channel too, set new value to closed.
5822 (isBound): Reindented.
5823 (isClosed): Implemented.
5824 * java/net/Socket.java
5825 (closed): New member variable.
5826 (bind): Check if socket is closed.
5827 (connect): Check if socket is closed.
5828 (close): Close an associated channel too, set new value to closed.
5829 (isClosed): Implemented.
5830
5831 2003-01-10 Michael Koch <konqueror@gmx.de>
5832
5833 * java/awt/DisplayMode.java
5834 (equals): Fixed argument type and implementation.
5835
5836 2003-01-07 Tom Tromey <tromey@redhat.com>
5837
5838 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5839 JV_HASH_SYNCHRONIZATION.
5840 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5841 JV_HASH_SYNCHRONIZATION.
5842
5843 2003-01-07 Michael Koch <konqueror@gmx.de>
5844
5845 * java/net/DatagramSocket.java:
5846 Added classpath license info.
5847 (DatagramSocket): Merged description with classpath.
5848 (close): Merged description with classpath.
5849 (getChannel): Merged description with classpath.
5850 (getInetAddress): Merged description with classpath.
5851 (getPort): Merged description with classpath.
5852 (getLocalAddress): Merged description with classpath.
5853 (getLocalPort): Merged description with classpath.
5854 (getSoTimeout): Merged description with classpath.
5855 (setSoTimeout): Merged description with classpath.
5856 (getSendBufferSize): Merged description with classpath.
5857 (setSendBufferSize): Merged description with classpath.
5858 (getReceiveBufferSize): Merged description with classpath.
5859 (setReceiveBufferSize): Merged description with classpath.
5860
5861 2003-01-04 Tom Tromey <tromey@redhat.com>
5862
5863 * java/awt/List.java: Merged with Classpath.
5864
5865 2003-01-03 Mark Wielaard <mark@klomp.org>
5866
5867 * java/io/FileDescriptor.java (position): New private field.
5868 * java/io/natFileDescriptorPosix.cc (write): Up position.
5869 (setLength): Use and set position.
5870 (seek): Set position.
5871 (getFilePointer): Return position.
5872 (read): Up position.
5873
5874 2003-01-03 Mark Wielaard <mark@klomp.org>
5875
5876 Merge with Classpath:
5877 * java/io/ObjectStreamClass.java (lookup): Split method and call
5878 lookupForClassObject().
5879 (lookupForClassObject): New method.
5880 (isProxyClass): New field.
5881 (setClass): Set isProxyClass, add object to classLookupTable, set
5882 superClass and calculateOffsets.
5883 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5884 and not a proxy class.
5885 (setFields): Set accessible true for serialPersistentFields.
5886 (getClassUID): Same for suid. And check if suid is of type long.
5887 (hasClassInitializer): Don't throw NoSuchMethodError.
5888
5889 2003-01-03 Mark Wielaard <mark@klomp.org>
5890
5891 * java/io/FileInputStream.java (finalize): Don't explicitly
5892 finalize FileDescriptor.
5893
5894 2003-01-03 Jeff Sturm <jsturm@one-point.com>
5895
5896 * configure.host (sparc*-*): Enable bytecode interpreter.
5897
5898 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
5899
5900 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5901 Don't throw RemoteException.
5902 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5903 throw RemoteException.
5904
5905 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
5906
5907 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5908 proxyHost): New static fields.
5909 (<clinit>): Initialize new fields.
5910 (connect): Use proxy if necessary.
5911 (usingProxy): Implement.
5912
5913 2003-01-03 Eric Blake <ebb9@email.byu.edu>
5914
5915 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5916 (TreeIterator.remove): Prefer IllegalStateException over
5917 ConcurrentModificationException, to match Sun.
5918
5919 2002-12-22 Anthony Green <green@redhat.com>
5920
5921 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5922
5923 2003-01-02 Mark Wielaard <mark@klomp.org>
5924
5925 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5926 public.
5927 (HTTP_USE_PROXY): Add field.
5928 (getResponseVals): Only set responseCode when not yet explicitly
5929 set by subclass.
5930
5931 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
5932 Mark Wielaard <mark@klomp.org>
5933
5934 * java/util/zip/ZipFile.java (entries): Now HashMap.
5935 (readLeShort(DataInput, byte[])): Read from given byte array.
5936 (readLeInt(DataInput, byte[]): Likewise.
5937 (readLeShort(byte[] b, int off)): New method.
5938 (readLeInt(byte[] b, int off)): Likewise.
5939 (readEntries): Use byte arrays to read info in bigger chunks.
5940 (getEntries): Return HashMap.
5941 (getEntry): Use HashMap.
5942 (locBuf): New private field.
5943 (checkLocalHeader): Use locBuf to read info in one chunk.
5944 (getInputStream): Use entries HashMap, wrap PartialInputStream
5945 in BufferedInputStream.
5946 (ZipEntryEnumeration): Use HashMap and Interator.
5947
5948 2003-01-02 Mark Wielaard <mark@klomp.org>
5949 Jeroen Frijters <jeroen@sumatra.nl>
5950
5951 * java/net/URLClassLoader.java (Resource.getCodeSource):
5952 Fix check certs == null.
5953 (getCanonicalFileURL): Removed method.
5954 (JarURLLoader): Don't call removed method.
5955 (FileURLLoader): Likewise.
5956 (FileURLLoader.getResource): Don't canonicalize file name.
5957
5958 2003-01-01 Tom Tromey <tromey@redhat.com>
5959
5960 * Makefile.in: Rebuilt.
5961 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5962 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5963 java/awt/BufferCapabilities.java, java/awt/Button.java,
5964 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5965 java/awt/Container.java, java/awt/Cursor.java,
5966 java/awt/EventQueue.java, java/awt/FileDialog.java,
5967 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5968 java/awt/MenuBar.java, java/awt/MenuComponent.java,
5969 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5970 java/awt/Scrollbar.java, java/awt/TextArea.java,
5971 java/awt/TextField.java, java/awt/color/CMMException.java,
5972 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5973 java/awt/color/ProfileDataException.java,
5974 java/awt/datatransfer/Clipboard.java,
5975 java/awt/datatransfer/DataFlavor.java,
5976 java/awt/datatransfer/FlavorMap.java,
5977 java/awt/datatransfer/SystemFlavorMap.java,
5978 java/awt/dnd/DragGestureEvent.java,
5979 java/awt/dnd/DragGestureRecognizer.java,
5980 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5981 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5982 java/awt/im/InputMethodHighlight.java,
5983 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5984 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5985
5986 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5987 `op' to BufferedImageOp.
5988
5989 2002-12-31 Tom Tromey <tromey@redhat.com>
5990
5991 Fix for PR libgcj/7416:
5992 * javax/naming/InitialContext.java (init): Use
5993 gnu.classpath.home.url.
5994 * java/security/Security.java: Use new properties.
5995 (loadProviders): Accept base url; use it.
5996 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5997 gnu.classpath.home.url.
5998 (gnu.classpath.home.url): Define.
5999 (gnu.classpath.vm.shortname): Likewise.
6000
6001 2002-12-31 Tom Tromey <tromey@redhat.com>
6002 Ranjit Mathew <rmathew@hotmail.com>
6003
6004 Fix for PR libgcj/8997:
6005 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6006 Include platform.h.
6007 * include/posix.h (_Jv_platform_usleep): New function.
6008 * include/win32.h (_Jv_platform_usleep): New function.
6009
6010 2002-12-29 Tom Tromey <tromey@redhat.com>
6011
6012 * gcj/javaprims.h: Updated.
6013 * scripts/classes.pl (scan): Removed stray semicolon.
6014
6015 2002-12-30 Mark Wielaard <mark@klomp.org>
6016
6017 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6018 if zero or smaller.
6019
6020 2002-12-30 Mark Wielaard <mark@klomp.org>
6021
6022 * java/util/Properties (formatForOutput): Don't fall through to
6023 default case after escaping character.
6024
6025 2002-12-30 Mark Wielaard <mark@klomp.org>
6026
6027 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6028 against count.
6029
6030 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6031
6032 * boehm.cc: Remove stray semicolon.
6033 * interpret.cc: Likewise.
6034 * prims.cc: Likewise.
6035 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6036 earlier to ensure default arguments are processed.
6037 * gcj/array.h (JArray): Add forward declaration.
6038 (elements): Likewise.
6039 * gcj/javaprim.h: Remove stray semicolons.
6040 * include/bohm-gc.h: Likewise.
6041 * include/jni.h: Likewise.
6042 * include/jvm.h: Likewise.
6043 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6044
6045 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6046
6047 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6048 of catch_type.
6049 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6050 idt tables after initializing superclass.
6051 * java/lang/natClassLoader.cc (uaddr): New typedef.
6052 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6053 if they are constant pool indicies. Don't link vtable, otable yet.
6054
6055 2002-12-21 Anthony Green <green@redhat.com>
6056
6057 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6058 libraries.
6059 * Makefile.in: Rebuilt.
6060
6061 2002-12-19 Anthony Green <green@redhat.com>
6062
6063 * Makefile.am (ordinary_java_source_files): Add
6064 org/xml/sax/helpers/NewInstance.java.
6065 * Makefile.in: Rebuilt.
6066 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6067 org/xml/sax/helpers/package.html: New files.
6068 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6069 http://www.saxproject.org.
6070
6071 2002-12-19 Andrew Haley <aph@redhat.com>
6072
6073 * java/util/natResourceBundle.cc: Include
6074 ArrayIndexOutOfBoundsException.h.
6075 (getCallingClassLoader): Don't put upper bound on stack search.
6076 Catch ArrayIndexOutOfBoundsException.
6077
6078 2002-12-19 Tom Tromey <tromey@redhat.com>
6079
6080 * libtool-version: Increased `current'.
6081
6082 2002-12-19 Tom Tromey <tromey@redhat.com>
6083
6084 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6085 comment.
6086 * java/lang/ClassLoader.java (defineClass): Use chained
6087 exception when rethrowing.
6088 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6089 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6090 constants.
6091 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6092 (_Jv_PrepareClass): Use it.
6093 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6094 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6095 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6096 (Class): _Jv_PrepareMissingMethods now friend.
6097 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6098 Record `NULL' for system class loader.
6099 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6100 system class loader.
6101 (_Jv_FindClassInCache): Likewise.
6102 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6103 (_Jv_FindClass): Special case system class loader.
6104 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6105 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6106 vtable slots.
6107 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6108 in a final class.
6109 (_getDeclaredMethod): Don't return synthetic methods.
6110 (getDeclaredMethods): Likewise.
6111 (_getMethod): Likewise.
6112 (_getMethods): Likewise.
6113
6114 2002-12-18 Raif Naffah <raif@fl.net.au>
6115
6116 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6117 canonical form after divide().
6118 (modInverse): Likewise.
6119
6120 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6121 Mark Wielaard <mark@klomp.org>
6122
6123 * java/security/SecurityRandom (digest): Removed field.
6124 (SecureRandom): Check all providers for case-insensitive SecureRandom
6125 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6126 if necessary.
6127 (getInstance(String,Provider,boolean): New method.
6128 (getInstance(String)): Use new method.
6129 (getInstance(String,String)): Likewise.
6130 (getInstance(String,Provider)): Likewise.
6131
6132 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6133
6134 * java/security/Security.java (loadProviders): Increment i only once.
6135
6136 2002-12-12 Mark Wielaard <mark@klomp.org>
6137
6138 * java/lang/ClassLoader.java (resolveClass0): Transform
6139 ClassNotFoundException to NoClassDefFoundError. Transform all other
6140 throwables to LinkageError.
6141
6142 2002-12-11 Tom Tromey <tromey@redhat.com>
6143
6144 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6145
6146 * java/lang/ClassLoader.java (loadedClasses): New field.
6147 (defineClass): Fixed indentation. Put new class in
6148 loadedClasses.
6149 (findLoadedClass): Implement here.
6150 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6151
6152 2002-12-10 Tom Tromey <tromey@redhat.com>
6153
6154 * Makefile.in: Rebuilt.
6155 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6156 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6157 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6158 * java/lang/natClassLoader.cc
6159 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6160
6161 2002-12-10 Mark Wielaard <mark@klomp.org>
6162 Tom Tromey <tromey@redhat.com>
6163
6164 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6165 (JarURLLoader): Use it.
6166 (FileURLLoader): Likewise.
6167 (JarURLResource.getURL): Use chained exception.
6168 (FileResource.getURL): Likewise.
6169 (FileURLLoader.getResource): Use canonical file name.
6170 (addURL): Indentation fix.
6171
6172 2002-12-10 Tom Tromey <tromey@redhat.com>
6173
6174 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6175 From Laurent Bardet <l.bardet@magic.fr>.
6176
6177 2002-12-09 Tom Tromey <tromey@redhat.com>
6178
6179 * include/win32.h (_Jv_platform_solib_prefix): New define.
6180 (_Jv_platform_solib_suffix): Likewise.
6181 * include/posix.h (_Jv_platform_solib_prefix): New define.
6182 (_Jv_platform_solib_suffix): Likewise.
6183 * java/lang/natRuntime.cc: Include StackTrace.h.
6184 (_load): Use findLibrary and new platform defines.
6185 (nativeGetLibname): Use new platform defines.
6186
6187 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6188 `t' won't be null.
6189
6190 2002-12-08 Mark Wielaard <mark@klomp.org>
6191
6192 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6193 cache remote jar files.
6194 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6195 add File.separator to URL when it is a directory.
6196 * java/lang/ClassLoader.java: Add Classpath javadoc.
6197 (parent): final.
6198 (getParent): Add (disabled) security check.
6199 (findLibrary): New default method.
6200 * java/net/JarURLConnection.java (getManifest): Implement.
6201 (getInputStream): Only create InputStream when entry exists.
6202 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6203 when they exist.
6204 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6205
6206 2002-12-08 Mark Wielaard <mark@klomp.org>
6207
6208 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6209 (lastDefaultLocale): New field.
6210 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6211 resourceBundleCache.
6212
6213 2002-12-06 Mark Wielaard <mark@klomp.org>
6214
6215 * java/net/InetAddress.java (toString): Use hostname when not null,
6216 don't do an explicit reverse getHostName() lookup.
6217 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6218 NullPointerException.
6219
6220 2002-12-06 Tom Tromey <tromey@redhat.com>
6221
6222 * include/java-interp.h (class _Jv_InterpMethod): Added
6223 JV_MARKOBJ_DECL.
6224 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6225 mark `prepared' field of interpreted method.
6226 * interpret.cc (compile): Use _Jv_AllocBytes.
6227
6228 2002-12-05 Andrew Haley <aph@redhat.com>
6229
6230 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6231 #ifdef (HAVE_BACKTRACE) around the whole function body.
6232
6233 2002-12-05 Tom Tromey <tromey@redhat.com>
6234
6235 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6236 * resolve.cc: Don't include AbstractMethodError.h.
6237 (_Jv_abstractMethodError): Removed.
6238 * defineclass.cc (handleMethodsBegin): Initialize method index to
6239 -1.
6240 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6241 method index for "new" final method.
6242 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6243 isVirtualMethod. Added `flags' argument.
6244 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6245 class.
6246
6247 2002-12-04 Tom Tromey <tromey@redhat.com>
6248
6249 * java/net/SocketPermission.java (hashCode): Rewrote.
6250
6251 2002-12-04 Tom Tromey <tromey@redhat.com>
6252
6253 * Makefile.in: Rebuilt.
6254 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6255 natResourceBundle.
6256 * java/util/ResourceBundle.java (Security): Removed.
6257 (getCallingClassLoader): Now native.
6258 * java/util/natResourceBundle.cc: New file.
6259 * java/lang/natVMSecurityManager.cc: New file.
6260 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6261
6262 2002-12-03 Mark Wielaard <mark@klomp.org>
6263
6264 * java/util/jar/JarFile.java (manifest): Not final.
6265 (manifestRead): New field.
6266 (JarFile): Don't read Manifest in constructor.
6267 (getManifest): New method.
6268 (JarEnumeration.nextElement): Use new method.
6269 (getEntry): Likewise.
6270 * java/util/zip/ZipFile.java (name): Final.
6271 (raf): Likewsie.
6272 (entries): Change type to Hashtable.
6273 (closed): New field.
6274 (ZipFile): Don't read enties in constructor.
6275 (readEntries): Use Hashtable.
6276 (close): Set new close flag and set entries to null inside
6277 synchronized block.
6278 (entries): Contruct enumeration using new getEntries() method and
6279 entries Hashtable.
6280 (getEntryIndex): Removed.
6281 (getEntries): New method.
6282 (getEntry): Use new getEntries() method and entries Hastable.
6283 (getInputStream): Likewise.
6284 (size): Return getEntries().size().
6285 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6286 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6287 (time): Removed
6288 (dostime): New field.
6289 (zipFileIndex): Removed.
6290 (ZipEntry(ZipEntry)): Copy dostime.
6291 (setDOSTime): Now final and doesn't convert dos time.
6292 (getDOSTime): Likewise.
6293 (setTime): Convert dos time.
6294 (getTime): Likewise.
6295 (getCalendar): New method.
6296 (setExtra): Use setTime().
6297 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6298
6299 2002-12-03 Tom Tromey <tromey@redhat.com>
6300
6301 * java/lang/Character.java (forDigit): Formatting fix.
6302
6303 2002-12-03 Raif Naffah <raif@fl.net.au>
6304
6305 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6306 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6307 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6308
6309 2002-12-03 Andrew Haley <aph@redhat.com>
6310
6311 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6312 _Jv_PushClass.
6313 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6314 (_Jv_PopClass): New.
6315 (_Jv_PushClass): New.
6316 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6317 discover the ClassLoader of our caller.
6318 (_Jv_CheckArrayStore): Don't check that a class is assignment
6319 compatible with Object.
6320 * java/lang/natVMTHrowable.cc: Delete.
6321 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6322 java.lang.VMThrowable.
6323 (StackTrace(), StackTrace(int)): New constructors.
6324 (classAt, methodAt, update, methodAtAddress): New methods.
6325 (map): New field.
6326 * java/lang/VMThrowable.java: Use StackTrace instead of
6327 natVMTHrowable.
6328 * java/lang/Class.h (getClassLoaderInternal): New.
6329 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6330 Be friendly with gnu::gcj::runtime::StackTrace.
6331 (Object.chain): New field.
6332 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6333 gnu::gcj::runtime::StackTrace.
6334 * gnu/gcj/runtime/natStackTrace.cc: New file.
6335 * gnu/gcj/runtime/MethodRef.java: New file.
6336 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6337 instead of getClassLoader().
6338 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6339 java::lang::VMThrowable.
6340 * Makefile.am (core_java_source_files): Add MethodRef.java,
6341 StackTrace.java.
6342 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6343 * Makefile.in: Rebuild.
6344
6345 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6346
6347 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6348 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6349 yes also for sh-linux* and sh[34]*-linux*.
6350 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6351 set SIGNAL_HANDLER to use DWARF2 exception for them.
6352 * configure: Regenerate.
6353
6354 2002-12-02 Tom Tromey <tromey@redhat.com>
6355
6356 * jni.cc: Added `name' argument.
6357 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6358 `const char *' argument.
6359 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6360
6361 2002-12-01 Tom Tromey <tromey@redhat.com>
6362
6363 Bug compatibility, for PR libgcj/8738:
6364 * java/io/CharArrayWriter.java (close): Do nothing.
6365 (flush): Likewise.
6366 (reset): Don't touch `closed'.
6367 (write(int)): Don't throw IOException.
6368 (write(char[],int,int)): Likewise.
6369 (write(String,int,int)): Likewise.
6370 (closed): Removed.
6371
6372 2002-12-01 Mark Wielaard <mark@klomp.org>
6373
6374 * java/lang/SecurityManager.java: Remerge comments, indenting and
6375 checkXXX methods with Classpath.
6376
6377 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6378
6379 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6380 getNormalizedComponents): Fix calculation which was using one too
6381 many bits in the unnormalized format.
6382
6383 2002-11-29 Gary Benson <gbenson@redhat.com>
6384
6385 For PR libgcj/8759:
6386 * java/beans/Introspector.java (flushCaches): New method.
6387 (flushFromCaches): Likewise.
6388
6389 2002-11-29 Michael Koch <konqueror@gmx.de>
6390
6391 * java/nio/channels/DatagramChannel.java
6392 (open): Added exception documentation.
6393 (write): Added exception documentation.
6394 (connect): Added exception documentation.
6395 (disconnect): Added exception documentation.
6396 (isConnected): Added exception documentation.
6397 (read): Added exception documentation.
6398 (receive): Added exception documentation.
6399 (send): Added exception documentation.
6400 (validOps): Added exception documentation.
6401 * java/nio/channels/SocketChannel.java
6402 (open): Added exception documentation.
6403 (read): Added exception documentation.
6404 (write): Added exception documentation.
6405 (connect): Added exception documentation.
6406 (finishConnect): Added exception documentation.
6407
6408 2002-11-29 Michael Koch <konqueror@gmx.de>
6409
6410 * gnu/java/nio/DatagramChannelImpl:
6411 (fd): New member variable to store file descriptor of socket.
6412 * gnu/java/nio/SelectionKeyImpl.java:
6413 (ops): Removed.
6414 (readyOps): New member variable.
6415 (interestOps): New member variable.
6416 (readyOps): Implemented.
6417 (readyOps): New method to set member variable readyOps.
6418 (interestOps): Replaced ops by interestOps.
6419 * gnu/java/nio/SelectorImpl.java:
6420 (SelectorImpl): Initialize key sets.
6421 (select): Call select with -1 instead of Long.MAX_VALUE).
6422 (java_do_select): Make it a native method.
6423 (getFDsAsArray): New helper method.
6424 (select): Remove canceled keys, give only interested file discriptors
6425 to java_do_select, set ready ops.
6426 (add): No need to initialize keys set here.
6427 (add_selected): No need to initialize selected set here.
6428 (deregisterCanceledKeys): New helper method.
6429 (register): Set interest ops, set attachments, added handling of datagram
6430 channels.
6431 * gnu/java/nio/ServerSocketChannelImpl:
6432 (SocketAccept): Renamed from NioSocketAccept.
6433 (implConfigureBlocking): Implemented.
6434 (accept): Use SocketAccept instead of NioSocketAccept.
6435 * gnu/java/nio/SocketChannelImpl:
6436 Reactivate native methods.
6437
6438 2002-11-29 Michael Koch <konqueror@gmx.de>
6439
6440 * gnu/java/nio/natByteBufferImpl.cc,
6441 gnu/java/nio/natCharBufferImpl.cc,
6442 gnu/java/nio/natDoubleBufferImpl.cc,
6443 gnu/java/nio/natFloatBufferImpl.cc,
6444 gnu/java/nio/natIntBufferImpl.cc,
6445 gnu/java/nio/natLongBufferImpl.cc,
6446 gnu/java/nio/natSelectorImpl.cc,
6447 gnu/java/nio/natServerSocketChannelImpl.cc,
6448 gnu/java/nio/natShortBufferImpl.cc,
6449 gnu/java/nio/natSocketChannelImpl.cc:
6450 New files that implement native functionalities.
6451
6452 2002-11-29 Michael Koch <konqueror@gmx.de>
6453
6454 * gnu/java/nio/ByteBufferImpl.java
6455 (ByteBufferImpl): Moved position() after limit.
6456 (nio_*): Use native implementation.
6457 * gnu/java/nio/CharBufferImpl.java:
6458 Reformated.
6459 (endian): New member variable string endianess of buffer.
6460 (CharBufferImpl): Moved position() after limit.
6461 (nio_*): Use native implementation.
6462 (subSequence): Implemented.
6463 * gnu/java/nio/DoubleBufferImpl.java
6464 (DoubleBufferImpl): Moved position() after limit.
6465 (nio_*): Use native implementation.
6466 * gnu/java/nio/FloatBufferImpl.java
6467 Reformated.
6468 (FloatBufferImpl): Moved position() after limit.
6469 (nio_*): Use native implementation.
6470 * gnu/java/nio/IntBufferImpl.java
6471 Added needed imports, Reformated.
6472 (IntBufferImpl): Moved position() after limit.
6473 (nio_*): Use native implementation.
6474 * gnu/java/nio/LongBufferImpl.java
6475 Reformated.
6476 (LongBufferImpl): Moved position() after limit.
6477 (nio_*): Use native implementation.
6478 * gnu/java/nio/ShortBufferImpl.java
6479 Reformated.
6480 (ShortBufferImpl): Moved position() after limit.
6481 (nio_*): Use native implementation.
6482
6483 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6484
6485 * java/util/Locale.java (toString): Improve efficiency if country
6486 and variant are both empty.
6487
6488 2002-11-26 Tom Tromey <tromey@redhat.com>
6489
6490 * verify.cc (pop_init_ref): New method.
6491 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6492 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6493 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6494 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6495 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6496 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6497 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6498 let `this' argument be uninitialized. Don't let `null' be passed
6499 as `this' to construtor.
6500
6501 2002-11-26 Mark Wielaard <mark@klomp.org>
6502
6503 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6504 * javax/transaction/HeuristicMixedException.java: Likewise.
6505 * javax/transaction/HeuristicRollbackException.java: Likewise.
6506 * javax/transaction/InvalidTransactionException.java: Likewise.
6507 * javax/transaction/NotSupportedException.java: Likewise.
6508 * javax/transaction/RollbackException.java: Likewise.
6509 * javax/transaction/Status.java: Likewise.
6510 * javax/transaction/Synchronization.java: Likewise.
6511 * javax/transaction/SystemException.java: Likewise.
6512 * javax/transaction/Transaction.java: Likewise.
6513 * javax/transaction/TransactionManager.java: Likewise.
6514 * javax/transaction/TransactionRequiredException.java: Likewise.
6515 * javax/transaction/TransactionRolledbackException.java: Likewise.
6516 * javax/transaction/UserTransaction.java: Likewise.
6517 * javax/transaction/xa/XAException.java: Likewise.
6518 * javax/transaction/xa/XAResource.java: Likewise.
6519 * javax/transaction/xa/Xid.java: Likewise.
6520
6521 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6522
6523 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6524 define.
6525 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6526 * include/posix.h (socklen_t): Define if not already defined.
6527
6528 2002-11-25 Tom Tromey <tromey@redhat.com>
6529
6530 * verify.cc (type::compatible): Backed out broken change.
6531
6532 * verify.cc (type::compatible): Check initialization status
6533 first.
6534 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6535 Don't use NULLCHECK.
6536
6537 2002-11-23 H.J. Lu <hjl@gnu.org>
6538
6539 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6540 Include ../config/accross.m4.
6541 * aclocal.m4; Rebuild.
6542 * configure: Likewise.
6543
6544 2002-11-23 Mark Wielaard <mark@klomp.org>
6545
6546 * javax/naming/AuthenticationException.java: Update copyright header.
6547 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6548 * javax/naming/Binding.java: Likewise.
6549 * javax/naming/CannotProceedException.java: Likewise.
6550 * javax/naming/CommunicationException.java: Likewise.
6551 * javax/naming/CompositeName.java: Likewise.
6552 * javax/naming/CompoundName.java: Likewise.
6553 * javax/naming/ConfigurationException.java: Likewise.
6554 * javax/naming/Context.java: Likewise.
6555 * javax/naming/ContextNotEmptyException.java: Likewise.
6556 * javax/naming/InitialContext.java: Likewise.
6557 * javax/naming/InsufficientResourcesException.java: Likewise.
6558 * javax/naming/InterruptedNamingException.java: Likewise.
6559 * javax/naming/LimitExceededException.java: Likewise.
6560 * javax/naming/LinkException.java: Likewise.
6561 * javax/naming/LinkLoopException.java: Likewise.
6562 * javax/naming/LinkRef.java: Likewise.
6563 * javax/naming/MalformedLinkException.java: Likewise.
6564 * javax/naming/NameAlreadyBoundException.java: Likewise.
6565 * javax/naming/NameClassPair.java: Likewise.
6566 * javax/naming/NameNotFoundException.java: Likewise.
6567 * javax/naming/NameParser.java: Likewise.
6568 * javax/naming/NamingEnumeration.java: Likewise.
6569 * javax/naming/NamingSecurityException.java: Likewise.
6570 * javax/naming/NoInitialContextException.java: Likewise.
6571 * javax/naming/NoPermissionException.java: Likewise.
6572 * javax/naming/NotContextException.java: Likewise.
6573 * javax/naming/OperationNotSupportedException.java: Likewise.
6574 * javax/naming/PartialResultException.java: Likewise.
6575 * javax/naming/Reference.java: Likewise.
6576 * javax/naming/Referenceable.java: Likewise.
6577 * javax/naming/ReferralException.java: Likewise.
6578 * javax/naming/ServiceUnavailableException.java: Likewise.
6579 * javax/naming/SizeLimitExceededException.java: Likewise.
6580 * javax/naming/TimeLimitExceededException.java: Likewise.
6581 * javax/naming/directory/Attribute.java: Likewise.
6582 * javax/naming/directory/AttributeInUseException.java: Likewise.
6583 * javax/naming/directory/AttributeModificationException.java: Likewise.
6584 * javax/naming/directory/Attributes.java: Likewise.
6585 * javax/naming/directory/BasicAttribute.java: Likewise.
6586 * javax/naming/directory/BasicAttributes.java: Likewise.
6587 * javax/naming/directory/DirContext.java: Likewise.
6588 * javax/naming/directory/InitialDirContext.java: Likewise.
6589 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6590 Likewise.
6591 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6592 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6593 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6594 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6595 * javax/naming/directory/ModificationItem.java: Likewise.
6596 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6597 * javax/naming/directory/SchemaViolationException.java: Likewise.
6598 * javax/naming/directory/SearchControls.java: Likewise.
6599 * javax/naming/directory/SearchResult.java: Likewise.
6600 * javax/naming/event/EventContext.java: Likewise.
6601 * javax/naming/event/EventDirContext.java: Likewise.
6602 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6603 * javax/naming/event/NamingEvent.java: Likewise.
6604 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6605 * javax/naming/event/NamingListener.java: Likewise.
6606 * javax/naming/event/ObjectChangeListener.java: Likewise.
6607 * javax/naming/ldap/Control.java: Likewise.
6608 * javax/naming/ldap/ControlFactory.java: Likewise.
6609 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6610 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6611 * javax/naming/ldap/HasControls.java: Likewise.
6612 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6613 * javax/naming/ldap/LdapContext.java: Likewise.
6614 * javax/naming/ldap/LdapReferralException.java: Likewise.
6615 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6616 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6617 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6618 * javax/naming/spi/DirObjectFactory.java: Likewise.
6619 * javax/naming/spi/DirStateFactory.java: Likewise.
6620 * javax/naming/spi/DirectoryManager.java: Likewise.
6621 * javax/naming/spi/InitialContextFactory.java: Likewise.
6622 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6623 * javax/naming/spi/NamingManager.java: Likewise.
6624 * javax/naming/spi/ObjectFactory.java: Likewise.
6625 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6626 * javax/naming/spi/ResolveResult.java: Likewise.
6627 * javax/naming/spi/Resolver.java: Likewise.
6628 * javax/naming/spi/StateFactory.java: Likewise.
6629
6630 * javax/naming/spi/NamingManager.java (ofb): Package private.
6631
6632 2002-11-21 Mark Wielaard <mark@klomp.org>
6633
6634 * java/net/URL.java: Merge with Classpath (partly).
6635 * java/net/URLStreamHandler: Merge with Classpath.
6636
6637 2002-11-22 Michael Koch <konqueror@gmx.de>
6638
6639 * include/posix.h:
6640 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6641 * include/win32.h:
6642 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6643 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6644
6645 2002-11-21 Michael Koch <konqueror@gmx.de>
6646
6647 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6648 Only the new network functions should be in it.
6649
6650 2002-11-21 Michael Koch <konqueror@gmx.de>
6651
6652 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6653 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6654
6655 2002-11-21 Michael Koch <konqueror@gmx.de>
6656
6657 * java/nio/channels/AsynchronousCloseException.java,
6658 java/nio/channels/CancelledKeyException.java,
6659 java/nio/channels/ClosedByInterruptException.java,
6660 java/nio/channels/ConnectionPendingException.java,
6661 java/nio/channels/FileLockInterruptionException.java,
6662 java/nio/channels/IllegalSelectorException.java,
6663 java/nio/channels/NoConnectionPendingException.java,
6664 java/nio/channels/NonReadableChannelException.java,
6665 java/nio/channels/NonWritableChannelException.java,
6666 java/nio/channels/NotYetBoundException.java,
6667 java/nio/channels/NotYetConnectedException.java,
6668 java/nio/channels/OverlappingFileLockException.java,
6669 java/nio/channels/UnresolvedAddressException.java,
6670 java/nio/channels/UnsupportedAddressTypeException.java:
6671 New files.
6672 * Makefile.am (ordinary_java_source_files): Added new files.
6673 * Makefile.in: Regenerated.
6674
6675 2002-11-21 Michael Koch <konqueror@gmx.de>
6676
6677 * include/posix.h
6678 (_Jv_socket): New method.
6679 (_Jv_connect): New method.
6680 (_Jv_close): New method.
6681 (_Jv_platform_close_on_exec): Prefixed system function with "::".
6682 (_Jv_bind): New method.
6683 (_Jv_listen): New method.
6684 (_Jv_write): New method.
6685 (_Jv_read): New method.
6686 * include/win32.h
6687 (_Jv_socket): New method.
6688 (_Jv_connect): New method.
6689 (_Jv_close): New method.
6690 (_Jv_bind): New method.
6691 (_Jv_listen): New method.
6692 (_Jv_write): New method.
6693 (_Jv_read): New method.
6694 * java/net/natNetworkInterface.cc:
6695 Include platform.h, removed inclusion of socket.h
6696 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6697 ::close() by _Jv_close().
6698 * java/net/natPlainDatagramSocketImpl.cc:
6699 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6700 added some new lines to make code more readable.
6701 (create): Replaced ::socket() by _Jv_socket().
6702 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6703 * java/net/natPlainSocketImpl.cc:
6704 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6705 removed include of socket.h, removed some windows defines
6706 (now in include/win32.h).
6707 (create): Replaced ::socket() by _Jv_socket().
6708 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6709 (write): Replaced ::read by _Jv_write().
6710 (read): Replaced ::read by _Jv_read().
6711
6712 2002-11-20 Michael Koch <konqueror@gmx.de>
6713
6714 * Makefile.am (ordinary_java_source_files):
6715 Added java/nio/channels/FileChannel.java.
6716 * Makefile.in: Regenerated.
6717
6718 2002-11-20 Michael Koch <konqueror@gmx.de>
6719
6720 * java/io/FileInputStream.java
6721 (getChannel): New method.
6722 * java/io/FileOutputStream.java
6723 (getChannel): New method.
6724 * java/net/ServerSocket.java
6725 (bind): Removed duplicate code and called another bind method instead.
6726 * java/nio/channels/SelectionKey.java
6727 (isValid): Removed wrong exception documentation.
6728 * java/nio/channels/ServerSocketChannel.java
6729 (accept): Added exception documentation.
6730 (open): Fixed typo, added exception documentation.
6731 * java/nio/channels/spi/AbstractSelectableChannel.java
6732 (implCloseChannel): Added exception documentation.
6733 (add): Reformated.
6734 (register): Added exception documentation.
6735
6736 2002-11-20 Andreas Jaeger <aj@suse.de>
6737
6738 * configure: Regenerated with new libtool.m4.
6739
6740 2002-11-19 Tom Tromey <tromey@redhat.com>
6741
6742 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6743 `referent'.
6744 (finalize_referred_to_object): Don't modify `referent' or `copy'
6745 fields.
6746 (add_to_hash): Correctly set `n->next' when updating list.
6747 * java/lang/ref/Reference.java (enqueue): Return false if already
6748 enqueued.
6749
6750 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
6751
6752 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6753 to function and function pointer declarations in accordance with
6754 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6755 based on whether __GCJ_JNI_IMPL__ has been defined or not.
6756 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6757 JNI function definitions.
6758
6759 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6760
6761 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6762 that was causing CoderResults to be cached, not WeakReferences
6763 to CoderResults.
6764
6765 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6766
6767 * java/security/KeyStore.java (getInstance): Fix
6768 comment and throw IllegalArgumentException if
6769 given provider is null.
6770 (getInstance): New method for jdk1.4 compatibility.
6771
6772 2002-11-18 Michael Koch <konqueror@gmx.de>
6773
6774 * java/net/PlainSocketImpl.java: Fix imports.
6775
6776 2002-11-18 Michael Koch <konqueror@gmx.de>
6777
6778 * java/nio/channels/SelectionKey.java
6779 (isValid): Added exception documentation.
6780 * java/nio/channels/Selector.java
6781 (open): Declare "throws IOException".
6782
6783 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6784
6785 * java/nio/charset/Charset.java
6786 (<clinit>): New method.
6787 (encode): Synchronize use of cached encoder object.
6788 (decode): Synchronize use of cached encoder object.
6789
6790 2002-11-18 Michael Koch <konqueror@gmx.de>
6791
6792 * gnu/java/nio/ByteBufferImpl.java,
6793 gnu/java/nio/CharBufferImpl.java,
6794 gnu/java/nio/DatagramChannelImpl.java,
6795 gnu/java/nio/DoubleBufferImpl.java,
6796 gnu/java/nio/FileChannelImpl.java,
6797 gnu/java/nio/FloatBufferImpl.java,
6798 gnu/java/nio/IntBufferImpl.java,
6799 gnu/java/nio/LongBufferImpl.java,
6800 gnu/java/nio/PipeImpl.java,
6801 gnu/java/nio/SelectionKeyImpl.java,
6802 gnu/java/nio/SelectorImpl.java,
6803 gnu/java/nio/SelectorProviderImpl.java,
6804 gnu/java/nio/ServerSocketChannelImpl.java,
6805 gnu/java/nio/ShortBufferImpl.java,
6806 gnu/java/nio/SocketChannelImpl.java,
6807 java/nio/DoubleBuffer.java,
6808 java/nio/FloatBuffer.java,
6809 java/nio/IntBuffer.java,
6810 java/nio/LongBuffer.java,
6811 java/nio/ShortBuffer.java,
6812 java/nio/channels/FileChannel.java: New files.
6813
6814 2002-11-18 Michael Koch <konqueror@gmx.de>
6815
6816 * Makefile.am (ordinary_java_source_files):
6817 Added java/nio/ReadOnlyBufferException.java and
6818 java/nio/channels/ClosedSelectorException.java.
6819 * Makefile.in: Regenerated.
6820
6821 2002-11-18 Michael Koch <konqueror@gmx.de>
6822
6823 * java/net/PlainSocketImpl.java: Reworked imports.
6824 * java/net/ServerSocket.java
6825 (ServerSocket): Create socket.
6826 * java/net/SocketAddress.java: Documentation added.
6827 * java/net/natPlainSocketImpl.cc: Reindented.
6828 * java/nio/ReadOnlyBufferException.java: New file
6829 * java/nio/channels/ClosedChannelException.java: Documentation added.
6830 * java/nio/channels/ClosedSelectorException.java: New file.
6831
6832 2002-11-17 Mark Wielaard <mark@klomp.org>
6833
6834 * java/net/HttpURLConnection.java ((getPermission): Take port
6835 into consideration.
6836 (getErrorStream): Implement.
6837
6838 2002-11-17 Mark Wielaard <mark@klomp.org>
6839
6840 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6841
6842 2002-11-16 Mark Wielaard <mark@klomp.org>
6843
6844 Integrate work by Raif S. Naffah (raif@fl.net.au)
6845 * java/security/DummyKeyPairGenerator.java (clone): New method.
6846 * java/security/DummyMessageDigest.java (clone): New method.
6847 (engineUpdate): Now public.
6848 (engineReset): Likewise.
6849 (engineDigest): Likewise.
6850 (engineGetDigestLength): New method.
6851 * java/security/DummySignature.java (clone): New method.
6852 * java/security/KeyPairGenerator.java (provider): Now package private.
6853 (getInstance(String)): Use getInstance(String,Provider).
6854 (getInstance(String,String): Use getInstance(String,Provider)
6855 (getInstance(String,Provider): New method.
6856 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6857 * java/security/KeyPairGeneratorSpi.java (clone): New method.
6858 * java/security/MessageDigest.java (provider): Now package private.
6859 (getInstance(String): Use getInstance(String,Provider).
6860 (getInstance(String,String): Use getInstance(String,Provider)
6861 (getInstance(String,Provider): New method.
6862 * java/security/Provider.java (toCanonicalKey): New method.
6863 (get): New method that uses toCanonicalKey().
6864 (put): Use toCanonicalKey().
6865 (remove): Likewise.
6866 * java/security/Security.java (insertProviderAt): Provider index is one
6867 based, not zero based.
6868 (addProvider): Likewise.
6869 (removeProvider): Likewise.
6870 * java/security/Signature.java (provider): Now package private.
6871 (getInstance(String)): Use getInstance(String,Provider).
6872 (getInstance(String,String): Use getInstance(String,Provider)
6873 (getInstance(String,Provider): New method.
6874 (getInstance(String,String,Provider): Don't cast DummySignature.
6875
6876 2002-11-15 Tom Tromey <tromey@redhat.com>
6877
6878 For PR libgcj/8593:
6879 * java/util/zip/GZIPInputStream.java (read): Check file size.
6880 Look in inflater for remaining input bytes.
6881 (read4): Added buf and offset arguments.
6882
6883 2002-11-12 Eric Blake <ebb9@email.byu.edu>
6884
6885 * java/applet/AppletContext.java: Fix typo and remove redundant
6886 modifiers.
6887
6888 2002-11-14 Tom Tromey <tromey@redhat.com>
6889
6890 * java/lang/natRuntime.cc (insertSystemProperties): Set
6891 gnu.classpath.home.
6892
6893 2002-11-13 Michael Koch <konqueror@gmx.de>
6894
6895 * java/nio/ByteBuffer.java
6896 (allocate): New method.
6897 (wrap): New method.
6898 (put): New method.
6899 (get): New method.
6900
6901 2002-11-13 Michael Koch <konqueror@gmx.de>
6902
6903 * java/nio/channels/AlreadyConnectedException.java:
6904 Removed unneeded import.
6905 (AlreadyConnectedException): Documentation added.
6906 * java/nio/channels/Pipe.java
6907 (SinkChannel.SinkChannel): Documentation added.
6908 (SinkChannel.validOps): New method.
6909 (SourceChannel.SourceChannel): Documentation added.
6910 (SourceChannel.validOps): New method.
6911 (Pipe): Documentation added.
6912 (open): Documentation added.
6913 (SinkChannel.channel): Documentation added.
6914 (SourceChannel.channel): Documentation added.
6915 * java/nio/channel/SelectableChannel.java
6916 (SelectableChannel): Documentation added.
6917 (blockingLock): Documentation added.
6918 (configureBlocking):Documentation added.
6919 (isBlocking):Documentation added.
6920 (isRegistered):Documentation added.
6921 (keyFor):Documentation added.
6922 (provider):Documentation added.
6923 (register): Documentation added.
6924 (validOps): Documentation added.
6925 * jaba/nio/channels/SelectionKey.java
6926 (SelectionKey): Documentation added.
6927 (attach): Documentation added.
6928 (attachment): Documentation added.
6929 (isAcceptable): Documentation added.
6930 (isConnetable): Documentation added.
6931 (isReadable): Documentation added.
6932 (isWritable): Documentation added.
6933 (cancel): Documentation added.
6934 (channel): Documentation added.
6935 (interestOps): Documentation added.
6936 (isValid): Documentation added.
6937 (readyOps): Documentation added.
6938 (selector): Documentation added.
6939 * jaba/nio/channels/Selector.java
6940 (Selector): Documentation added.
6941 (open): Documentation added.
6942 (close): Documentation added.
6943 (isOpen): Documentation added.
6944 (keys): Documentation added.
6945 (provider): Documentation added.
6946 (select): Documentation added.
6947 (selectedKeys): Documentation added.
6948 (selectNow): Documentation added.
6949 (wakeup): Documentation added.
6950 * java/nio/channels/spi/AbstractInterruptibleChannel.java
6951 (AbstractInterruptibleChannel): Documentation added.
6952 (opened): Default to true;
6953 (begin): Documentation added.
6954 (close): Set opened to false, documentation added.
6955 (isOpen): Documentation added.
6956 * java/nio/channels/spi/AbstractSelectionKey.java
6957 (AbstractSelectionKey): Documentation added.
6958 (cancel): Documentation added.
6959 (isValid): Documentation added.
6960 * java/nio/channels/spi/AbstractSelector.java
6961 (AbstractSelector): Documentation added.
6962 (begin): Documentation added.
6963 (close): Documentation added.
6964 (isOpen): Documentation added.
6965 (deregister): Documentation added.
6966 (end): Documentation added.
6967 (provider): Documentation added.
6968 (implCloseSelector): Documentation added.
6969 (register): Documentation added.
6970 * java/nio/channels/spi/SelectorProvider.java
6971 (SelectorProvider): Documentation added.
6972 (openDatagramChannel): Documentation added.
6973 (openPipe): Documentation added.
6974 (openSelector): Documentation added.
6975 (openServerSocketChannel): Documentation added.
6976 (openSocketChannel): Documentation added.
6977 (provider): Documentation added.
6978
6979 2002-11-12 Michael Koch <konqueror@gmx.de>
6980
6981 * java/nio/Buffer.java: Implemented.
6982 * java/nio/CharBuffer.java: New file.
6983 * java/nio/InvalidMarkException.java: New file.
6984 * java/nio/channels/DatagramChannel.java: Implemented.
6985 * java/nio/channels/ServerSocketChannel.java: Implemented.
6986 * java/nio/channels/SocketChannel.java: Implemented.
6987 * java/nio/channels/spi/AbstractChannel.java: Removed.
6988 * java/nio/channels/spi/AbstractSelectableChannel.java:
6989 Implemented.
6990 * java/nio/charset/Charset.java:
6991 Merge from Classpath.
6992 * java/nio/charset/CharsetDecoder.java: New file.
6993 * java/nio/charset/CharsetEncoder.java: New file.
6994 * java/nio/charset/CoderResult.java: New file.
6995 * Makefile.am (ordinary_java_source_files): Added new files.
6996 * Makefile.in: Regenerated.
6997
6998 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6999
7000 * gnu/java/nio/charset/ISO_8859_1.java,
7001 gnu/java/nio/charset/Provider.java,
7002 gnu/java/nio/charset/US_ASCII.java,
7003 gnu/java/nio/charset/UTF_16.java,
7004 gnu/java/nio/charset/UTF_16BE.java,
7005 gnu/java/nio/charset/UTF_16Decoder.java,
7006 gnu/java/nio/charset/UTF_16Encoder.java,
7007 gnu/java/nio/charset/UTF_16LE.java,
7008 gnu/java/nio/charset/UTF_8.java: New files.
7009
7010 2002-11-11 Michael Koch <konqueror@gmx.de>
7011
7012 * java/nio/charset/CharacterCodingException.java:
7013 This class must be public.
7014 * java/nio/charset/CoderMalfunctionError.java:
7015 This class must be public.
7016 * java/nio/charset/CodingErrorAction.java:
7017 This class must be public.
7018 * java/nio/charset/IllegalCharsetNameException.java:
7019 This class must be public, better implementation.
7020 * java/nio/charset/MalformedInputException.java:
7021 This class must be public, better implementation.
7022 * java/nio/charset/UnmappableCharacterException.java:
7023 This class must be public, better implementation.
7024 * java/nio/charset/UnsupportedCharsetException.java:
7025 This class must be public, better implementation.
7026
7027 2002-11-11 Michael Koch <konqueror@gmx.de>
7028
7029 * java/nio/BufferOverflowException.java,
7030 java/nio/BufferUnderflowException.java: New file.
7031 * Makefile.am (ordinary_java_source_files):
7032 Added new files.
7033 * Makefile.in: Regenerated.
7034
7035 2002-11-10 Tom Tromey <tromey@redhat.com>
7036
7037 * java/awt/Container.java (validate): Use tree lock.
7038 (getComponent): Likewise.
7039 (getComponents): Likewise.
7040 (addImpl): Likewise.
7041 (remove): Likewise.
7042 (removeAll): Likewise.
7043 (processEvent): Fixed indentation.
7044 (getComponentAt): Use tree lock.
7045 (findComponentAt): Likewise.
7046 (removeNotify): Likewise.
7047 (isAncestorOf): Likewise.
7048 (list): Likewise.
7049 (visitChildren): Likewise.
7050 (findNextFocusComponent): Likewise.
7051 (addNotifyContainerChildren): Likewise.
7052 (getAccessibleChildrenCount): Likewise.
7053 (getAccessibleChild): Likewise.
7054
7055 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7056 (getSize): Likewise.
7057 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7058 (getSize): Likewise.
7059 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7060 (calcSize): Likewise.
7061 * java/awt/CardLayout.java (getSize): Use tree lock.
7062 (gotoComponent): Likewise.
7063 (layoutContainer): Likewise.
7064
7065 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7066 count is 0.
7067 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7068 count is 0.
7069
7070 * java/io/Externalizable.java, java/io/FilePermission.java,
7071 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7072 java/io/SerializablePermission.java, java/text/Format.java,
7073 java/util/AbstractMap.java, java/util/HashMap.java,
7074 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7075 versions from Classpath.
7076
7077 2002-11-10 Anthony Green <green@redhat.com>
7078
7079 * java/util/jar/Attributes.java (Name): Fix name check.
7080
7081 2002-11-10 Mark Wielaard <mark@klomp.org>
7082
7083 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7084 with getName() as message.
7085 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7086 type as message.
7087
7088 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7089 unused.
7090
7091 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7092
7093 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7094 for Win32. JNICALL has been defined to __stdcall to be compatible
7095 with Sun's JDKs.
7096
7097 2002-11-10 Tom Tromey <tromey@redhat.com>
7098
7099 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7100 (setRows): Check newRows, not rows.
7101
7102 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7103
7104 2002-11-09 Tom Tromey <tromey@redhat.com>
7105
7106 * java/applet/Applet.java, java/applet/AppletContext.java,
7107 java/applet/AppletStub.java, java/applet/AudioClip.java,
7108 java/awt/CardLayout.java,
7109 java/awt/ContainerOrderFocusTraversalPolicy.java,
7110 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7111 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7112 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7113 java/awt/color/ICC_ColorSpace.java,
7114 java/awt/color/ICC_Profile.java,
7115 java/awt/color/ICC_ProfileGray.java,
7116 java/awt/color/ICC_ProfileRGB.java,
7117 java/awt/datatransfer/DataFlavor.java,
7118 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7119 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7120 New versions from Classpath.
7121 * Makefile.in: Rebuilt.
7122 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7123 ICC_ProfileRGB.
7124
7125 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7126 display policy.
7127
7128 * java/awt/List.java (processEvent): Added missing `else's.
7129
7130 * java/awt/Window.java (show): validate() before showing. Make
7131 parent displayable.
7132 (isDisplayable): New method.
7133
7134 2002-11-07 Mark Wielaard <mark@klomp.org>
7135
7136 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7137 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7138
7139 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7140 annotation.
7141 (loadClass): Take String as codebases.
7142 (getClassAnnotation): Use MyClassLoader annotations.
7143 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7144 call exportObject(this).
7145
7146 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7147 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7148 (setAnnotation): Don't set locBytesStream and locStream.
7149 (replaceObject): Removed.
7150 (flush): Don't test locStream.
7151 (getLocBytes): LikeWise.
7152 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7153 (leaseCache): New field.
7154 (dirty): Use leaseCache.
7155 (LeaseRecord): New inner class.
7156 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7157 explicitly call exportObject().
7158 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7159 false to communicate with Sun JDK130.
7160 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7161 * gnu/java/rmi/server/RMIObjectInputStream.java
7162 (UnicastConnectionManager): Removed field.
7163 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7164 Use UnicastServer.getExportedRef().
7165 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7166 (expireTime): Likewise.
7167 (CONNECTION_TIMEOUT): Likewise.
7168 (disconnect): Call sock.close().
7169 (isExpired): New method.
7170 (resetTime): Likewise.
7171 (run): Use do while loop and catch Exception for discardConnection().
7172 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7173 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7174 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7175 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7176 (exportObject): Use refcache.
7177 (unexportObject): Likewise.
7178 (getExportedRef): New method.
7179 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7180 constructor.
7181 (exportObject): Save manager.serverobj.
7182 (getStub): New method.
7183
7184 2002-11-07 Mark Wielaard <mark@klomp.org>
7185
7186 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7187 (getByte): Likewise.
7188 (getShort): Likewise.
7189 (getInt): Likewise.
7190 (getLong): Likewise.
7191 (getFloat): Likewise.
7192 (getDouble): Likewise.
7193 (get): Likewise.
7194 (setChar): Likewise.
7195 (setByte): Likewise.
7196 (setShort): Likewise.
7197 (setInt): Likewise.
7198 (setLong): Likewise.
7199 (setFloat): Likewise.
7200 (setDouble): Likewise.
7201
7202 2002-11-07 Michael Koch <konqueror@gmx.de>
7203
7204 * java/awt/Choice.java,
7205 java/awt/Container.java,
7206 java/awt/GridBagLayout.java:
7207 Fixed documentation.
7208 * java/awt/peer/ContainerPeer.java:
7209 Reindented.
7210
7211 2002-11-07 Michael Koch <konqueror@gmx.de>
7212
7213 * java/awt/color/ICC_Profile.java:
7214 Added missing constants.
7215 * java/awt/color/ICC_ColorSpace.java
7216 (getMinValue): Added dummy implementation.
7217 (getMaxValue): Added dummy implementation.
7218 * java/awt/datatransfer/DataFlavor.java
7219 (imageFlavor): Added.
7220 (isMimeTypeEqual): Must be final.
7221 (getDefaultRepresentationClass): Must be non-static.
7222 (getDefaultRepresentationClassAsString): Must be non-static.
7223 * java/awt/dnd/DragSourceContext.java
7224 (dragExit): Corrected argument.
7225 (dragDropEnd): Corrected argument.
7226 * java/awt/dnd/DragSourceListener.java.java
7227 (dragExit): Corrected argument.
7228 (dragDropEnd): Corrected argument.
7229 * java/awt/font/TextHitInfo.java
7230 (toString): Added stubbed implementation.
7231 * java/awt/geom/PathIterator.java:
7232 The constants must be static.
7233 * java/awt/image/VolatileImage.java
7234 (IMAGE_INCOMPATIBLE): Fixed typo.
7235 * java/awt/image/renderable/RenderableImage.java
7236 (HINTS_OBSERVED): Must be static.
7237 * java/beans/BeanInfo.java:
7238 Constants must be final.
7239
7240 2002-11-06 Tom Tromey <tromey@redhat.com>
7241
7242 From svens@it.uu.se. For PR libgcj/8481.
7243 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7244
7245 2002-11-06 Tom Tromey <tromey@redhat.com>
7246
7247 * jni.cc (array_from_valist): Assume that jlong won't be
7248 promoted.
7249
7250 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7251
7252 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7253 Return 20.
7254 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7255 Return 16.
7256
7257 2002-11-03 Tom Tromey <tromey@redhat.com>
7258
7259 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7260 VMClassLoader, not findClass.
7261
7262 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7263
7264 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7265 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7266 _Jv_DetermineVTableIndex, to determine vtable offset.
7267 (_Jv_DetermineVTableIndex): Remove.
7268 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7269
7270 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7271
7272 2002-11-03 Tom Tromey <tromey@redhat.com>
7273
7274 * java/nio/channels/AlreadyConnectedException.java: Extend
7275 IllegalStateException, per spec.
7276
7277 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7278
7279 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7280
7281 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7282
7283 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7284 size items.
7285
7286 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7287
7288 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7289 initial estimated size to avoid enlarge buffer frequently.
7290
7291 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7292
7293 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7294 ClassLoader when null.
7295 (ProxyType.hashCode): Loader null check no longer needed.
7296 (ProxyType.sameTypes): New method.
7297 (ProxyType.equals): Use new method.
7298
7299 2002-10-31 Mark Wielaard <mark@klomp.org>
7300
7301 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7302 length of String.
7303 * java/net/URLEncoder.java (encode): Likewise.
7304
7305 2002-10-31 Mark Wielaard <mark@klomp.org>
7306
7307 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7308 when stream is closed.
7309 (closeEntry): Likewise.
7310 (read): Likewise.
7311 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7312 ZipException when no entry active.
7313 (closeEntry): Likewise.
7314 (write): Likewise.
7315
7316 2002-11-02 Tom Tromey <tromey@redhat.com>
7317
7318 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7319 * java/lang/natClass.cc (initializeClass): Don't return just
7320 because self==thread.
7321
7322 For PR java/8415:
7323 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7324 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7325
7326 2002-11-02 Andreas Schwab <schwab@suse.de>
7327
7328 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7329 pass GCJFLAGS.
7330 (FLAGS_TO_PASS): Define.
7331 * Makefile.in: Regenerated.
7332
7333 2002-11-01 Michael Koch <konqueror@gmx.de>
7334
7335 * java/nio/ByteOrder.java: New file.
7336 * java/nio/channels/DatagramChannel.java:
7337 (DatagramChannel): New constructor.
7338 * java/nio/channels/Pipe.java: New file.
7339 * java/nio/channels/SelectableChannel.java: New file.
7340 * java/nio/channels/SelectionKey.java: New file.
7341 * java/nio/channels/Selector.java: New file.
7342 * java/nio/channels/ServerSocketChannel.java
7343 (ServerSocketChannel): New constructor.
7344 * java/nio/channels/SocketChannel.java
7345 (SocketChannel): New constructor.
7346 * java/nio/channels/Pipe.java: New file.
7347 * java/nio/channels/spi/AbstractChannel.java: New file.
7348 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7349 * java/nio/channels/spi/AbstractSelectableChannel.java:
7350 License added
7351 (AbstractSelectableChannel): New stubbed method.
7352 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7353 * java/nio/channels/spi/AbstractSelector.java: New file.
7354 * java/nio/channels/spi/SelectorProvider.java: New file.
7355 * java/nio/charset/Charset.java: New file.
7356 * java/nio/charset/CoderMalfunctionError.java: New file.
7357 * java/nio/charset/CodingErrorAction.java: New file.
7358 * java/nio/charset/spi/CharsetProvider.java
7359 (charsetForName): Uncommented.
7360 * Makefile.am (java_native_source_files): Added new files.
7361 * Makefile.in: Regenerated.
7362
7363 2002-11-01 Michael Koch <konqueror@gmx.de>
7364
7365 * java/net/InetAddress.java:
7366 (isAnyLocalAddress): Implemented.
7367 (isLoopbackAddress): Implemented, comment added.
7368 (isLinkLocalAddress): Implemented, documentation added.
7369 (isSiteLocalAddress): Implemented, documentation added.
7370 (isMCGlobal): Implemented, documentation added.
7371 (isMCNodeLocal): Implemented, documentation added.
7372 (isMCLinkLocal): Implemented, documentation added.
7373 (isMCSiteLocal): Implemented, documentation added.
7374 (isMCOrgLocal): Implemented, documentation added.
7375 (getHostName): Documentation added.
7376 (getCanonicalHostName): Implemented, documentation added.
7377 (getAddress): Documentation added.
7378 (hashCode): Documentation added.
7379 (equals): Documentation added.
7380 (toString): Fixed implementation.
7381 (getByAddress): Use Inet4Address and Inet6Address.
7382 (lookup): New linewrap.
7383 (getByName): SecurityManager check added, support Inet4Address and
7384 Inet6address, comments added.
7385 (getAllByName): SecurityManager check added, comments added.
7386 * java/net/Inet6Address.java:
7387 (Inet6Address): Initialize parent class with addr instead of null.
7388 * java/net/URL.java
7389 (equals): Documentation added.
7390 (getFile): Documentation added.
7391 (hashCode): Documentation added.
7392 * java/net/natInetAddress.cc:
7393 (aton): Fix IPv6 support.
7394 * java/net/natPlainDatagramSocketImpl.cc:
7395 (peek): Throw PortUnreachableException when suitable.
7396 (peekData): Throw PortUnreachableException when suitable.
7397 (send): Throw PortUnreachableException when suitable.
7398 (receive): Throw PortUnreachableException when suitable.
7399
7400 2002-10-27 Mark Wielaard <mark@klomp.org>
7401
7402 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7403 argument.
7404 (readLeShort): Likewise and use byte[].
7405 (readLeInt): Likewise.
7406 (readEntries): Use new versions of methods and use byte[] for reading
7407 a complete zip entry. Add ZipFile name to exceptions.
7408 (entries): Add ZipFile name to exceptions.
7409 (getEntry): Likewise.
7410 (checkLocalHeader): Use new versions of methods and add ZipFile name
7411 to exceptions.
7412
7413 2002-10-31 Mark Anderson <mark@panonet.net>
7414
7415 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7416 added
7417
7418 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7419
7420 * configure.in: Disable hash sync when not using threads.
7421 * configure: Regenerated.
7422
7423 2002-10-24 Tom Tromey <tromey@redhat.com>
7424
7425 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7426 (_Jv_FindSymbolInExecutable): Removed argument name.
7427 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7428 java.library.path is set.
7429
7430 * gij.cc (help): Document --showversion.
7431 (version): Don't exit.
7432 (main): Handle --showversion. Exit if --version given.
7433
7434 2002-10-23 Tom Tromey <tromey@redhat.com>
7435
7436 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7437 (array_from_valist): Correctly handle promotion for jint, jlong,
7438 jfloat, and jdouble.
7439
7440 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7441
7442 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7443 GetFileAttributesEx( ) to find file length and modification times,
7444 as the latter is not present on Windows 95.
7445
7446 2002-10-21 Michael Koch <konqueror@gmx.de>
7447
7448 * java/net/URL.java
7449 (URL): Activate SecurityManager checks.
7450 (equals): Use URLStreamHandler implementation instead of doing it
7451 alone. This allows special protocol stream handlers to change default
7452 behaviour.
7453 (hashCode): Use URLStreamHandler implementation instead of doing it
7454 alone. This allows special protocol stream handlers to change default
7455 behaviour.
7456 * java/net/URLStreamHandler.java
7457 (equals): Implemented default URL equality check.
7458 (hostsEqual): Implemented default URL equality check.
7459 (hashCode): Implemented default URL hashCode algorithm.
7460 * java/net/natPlainDatagramSocketImpl.cc:
7461 No lines longer then 80 characters.
7462
7463 2002-10-20 Adam Megacz <adam@xwt.org>
7464
7465 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7466 * configure.in: enabled hash sync on Win32
7467 * include/win32-threads.h (_Jv_ThreadId_t): added.
7468 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7469 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7470 removed some posix-isms, use Thread::sleep() instead of usleep,
7471 added code to clear bottom three bits if platform has a broken
7472 linker.
7473 * include/win32-threads.h (_Jv_ThreadId_t): added.
7474
7475 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7476
7477 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7478 runtime property "gnu.gcj.progname" containing the name used to
7479 invoke the current Java program (similar to argv[0] for C
7480 programs).
7481
7482 2002-10-15 Tom Tromey <tromey@redhat.com>
7483
7484 Fix for PR libgcj/8234:
7485 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7486 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7487
7488 2002-10-13 Mark Wielaard <mark@klomp.org>
7489
7490 * mauve-libgcj: Enable Mauve tests that compile now.
7491
7492 2002-10-11 Mark Wielaard <mark@klomp.org>
7493
7494 Fix for PR libgcj/8142
7495 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7496 loading native modules.
7497
7498 2002-10-10 Michael Koch <konqueror@gmx.de>
7499
7500 * javax/swing/AbstractListModel.java
7501 (getListDataListeners): New stubbed method.
7502 javax/swing/DefaultBoundedRangeModel.java
7503 (getChangeListeners): New stubbed method.
7504 javax/swing/DefaultSingleSelectionModel.java
7505 (getChangeListeners): New stubbed method.
7506
7507 2002-10-10 Michael Koch <konqueror@gmx.de>
7508
7509 * gcj/.cvsignore: New file to ignore files generated during build.
7510 * include/.cvsignore: New file to ignore files generated during build.
7511
7512 2002-10-10 Michael Koch <konqueror@gmx.de>
7513
7514 * java/net/HttpURLConnection.java
7515 (getPermission): New method.
7516 (getErrorStream): New stub method.
7517 (getHeaderFieldDate): New stub method.
7518 * java/net/Inet4Address.java:
7519 (isLinkLocalAddress): Typo fixed.
7520 * java/net/InetAddress.java:
7521 (readResolve): New stubbed method (for serialization).
7522 (isAnyLocalAddress): New stubbed method.
7523 (isLoopbackAddress): New stubbed method.
7524 (isLinkLocalAddress): New stubbed method.
7525 (isSiteLocalAddress): New stubbed method.
7526 (isMCGlobal): New stubbed method.
7527 (isMCNodeGlobal): New stubbed method.
7528 (isMCLinkLocal): New stubbed method.
7529 (isMCSiteLocal): New stubbed method.
7530 (isMCOrgLocal): New stubbed method.
7531 (getCanonicalHostName): New stubbed method.
7532 (getByAddress): Create instances of Inet4Address/Inet6Address,
7533 instead of InetAddress, documentation added.
7534 * java/net/MulticastSocket.java
7535 (getInterface): Removed FIXME.
7536 (getNetworkInterface): New method.
7537 (setNetworkInterface): New method.
7538 * java/net/NetworkInterface.java:
7539 (toString): Use property "line.separator" instead of "\n".
7540 * java/net/URLConnection.java
7541 (getContent): New stubbed method.
7542 * java/net/URLStreamHandler.java:
7543 (equals): New stubbed method.
7544 (hostsEqual): New stubbed method.
7545 (hashCode): New stubbed method.
7546 * java/net/natNetworkInterface.cc:
7547 (getRealNetworkInterfaces): Create Inet4Address object
7548 instead of InetAddress.
7549
7550 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7551
7552 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7553 unsigned long temporary to implement insn_iushr shifts.
7554
7555 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7556
7557 * configure.host [s390*-*]: Enable Java interpreter.
7558 Enable hash synchronization. Add sysdeps dir.
7559 * sysdep/s390/locks.h: New file.
7560
7561 2002-10-06 Mark Wielaard <mark@klomp.org>
7562
7563 * java/lang/Thread.java (setDaemon): Check startable_flag,
7564 not isAlive().
7565
7566 2002-10-07 Michael Koch <konqueror@gmx.de>
7567
7568 * java/nio/Buffer.java: New stub file.
7569 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7570 of class Charset.
7571 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7572 * Makefile.in: Regenerated.
7573
7574 2002-10-07 Michael Koch <konqueror@gmx.de>
7575
7576 * java/nio/ByteBuffer.java:
7577 removed import of not commited class.
7578
7579 2002-10-07 Michael Koch <konqueror@gmx.de>
7580
7581 * java/nio/ByteBuffer.java,
7582 java/nio/MappedByteBuffer.java:
7583 New files, forgot to add these dummies.
7584 * Makefile.am (java_native_source_files): Added new files.
7585 * Makefile.in: Regenerated.
7586
7587 2002-10-07 Michael Koch <konqueror@gmx.de>
7588
7589 * java/nio/channels/AlreadyConnectedException.java,
7590 java/nio/channels/ClosedChannelException.java,
7591 java/nio/channels/ReadableByteChannel.java,
7592 java/nio/channels/InterruptibleChannel.java,
7593 java/nio/channels/Channel.java,
7594 java/nio/channels/ByteChannel.java,
7595 java/nio/channels/GatheringByteChannel.java,
7596 java/nio/channels/ScatteringByteChannel.java,
7597 java/nio/channels/WritableByteChannel.java,
7598 java/nio/charset/CharacterCodingException.java,
7599 java/nio/charset/IllegalCharsetNameException.java,
7600 java/nio/charset/MalformedInputException.java,
7601 java/nio/charset/UnmappableCharacterException.java,
7602 java/nio/charset/UnsupportedCharsetException.java,
7603 java/nio/charset/spi/CharsetProvider.java: New file.
7604 These files are exceptions or interfaces,
7605 no real or abstract classes.
7606 * Makefile.am (java_native_source_files): Added new files.
7607 * Makefile.in: Regenerated.
7608
7609 2002-10-05 Michael Koch <konqueror@gmx.de>
7610
7611 * java/net/InetAddress.java
7612 (getByAddress): Fixed documentation.
7613 (getByAddress): New method.
7614 * java/net/Inet4Address.java: New file.
7615 * java/net/URL.java
7616 (URL): Documentation added.
7617 (getContent): Documentation added.
7618 (getContent): New stubbed method.
7619 (getQuery): New method.
7620 (openConnection): Documentation added.
7621 (openStream): Documentation added.
7622 (setURLStreamHandlerFactory): Documentation added.
7623 * java/net/URI.java: New stub file.
7624 * Makefile.am
7625 (java_native_source_files): Added java/net/Inet4Address.java,
7626 java/net/Inet6Address.java and java/net/URI.java.
7627 * Makefile.in: Regenerated.
7628
7629 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7630
7631 * java/lang/ProtectionDomain.java (linesep): Remove field.
7632 (toString): Use System.getProperty("line.separator").
7633
7634 2002-10-04 Michael Koch <konqueror@gmx.de>
7635
7636 * java/security/Identity.java: Added serialVersionUID.
7637 * java/security/KeyPair.java: Added serialVersionUID.
7638 * java/security/Provider.java: Added serialVersionUID.
7639 * java/security/SecureRandom.java: Added serialVersionUID.
7640 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7641 * java/security/SignedObject.java: Added serialVersionUID.
7642 * java/security/cert/Certificate.java: Added serialVersionUID.
7643
7644 2002-10-04 Mark Wielaard <mark@klomp.org>
7645
7646 * java/security/Security.java: Use java.home or gnu.classpath.home
7647 to load providers.
7648 (loadProviders): Extra dir argument.
7649 (getProvider): Return null when not found.
7650
7651 2002-10-04 Mark Wielaard <mark@klomp.org>
7652
7653 * java/lang/Throwable.java: Remerge with Classpath.
7654
7655 2002-10-04 Michael Koch <konqueror@gmx.de>
7656
7657 * java/net/InetAddress.java:
7658 (isMulticastAddress): Added documentation.
7659 (getHostAddress): Added documentation.
7660 (toString): Added documentation.
7661 (getByAddress): Fixed documentation.
7662 (getByName): Added documentation.
7663 (getAllByName): Added documentation.
7664 (getLocalHost): Added documentation.
7665
7666 2002-10-04 Michael Koch <konqueror@gmx.de>
7667
7668 * java/beans/beancontext/BeanContextChildSupport.java:
7669 Added serialVersionUID.
7670 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7671 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7672 * javax/naming/Name.java: Added serialVersionUID.
7673
7674 2002-10-03 Adam Megacz <adam@xwt.org>
7675
7676 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7677 some functionality that isn't supported yet on WIN32.
7678
7679 2002-10-03 Tom Tromey <tromey@redhat.com>
7680
7681 * Makefile.in: Rebuilt.
7682 * Makefile.am (awt_java_source_files): Added new files.
7683
7684 2002-10-03 Michael Koch <konqueror@gmx.de>
7685
7686 * java/net/InetAddress.java
7687 (class InetAddress): Removed final keyword.
7688 (equals): Fixed typo.
7689 (getByAddress): New method.
7690
7691 2002-10-03 Michael Koch <konqueror@gmx.de>
7692
7693 * java/awt/dnd/Autoscroll.java:
7694 New file, merge from Classpath.
7695 * java/awt/dnd/DragSourceAdapter.java:
7696 (dragExit): Fixed typos in argument type.
7697 (dragDropEnd): Fixed typos in argument type.
7698 * java/awt/dnd/DragSourceDropEvent.java:
7699 New file, merge from Classpath.
7700 * java/awt/dnd/DropTarget.java:
7701 Added stubs, merge from Classpath.
7702 * java/awt/dnd/DropTargetAdapter.java:
7703 New file, merge from Classpath.
7704 * java/awt/dnd/DropTargetContext.java:
7705 New file, merge from Classpath.
7706 * java/awt/dnd/DropTargetDragEvent.java:
7707 New file, merge from Classpath.
7708 * java/awt/dnd/DropTargetDropEvent.java:
7709 New file, merge from Classpath.
7710 * java/awt/dnd/DropTargetEvent.java:
7711 New file, merge from Classpath.
7712 * java/awt/dnd/DropTargetListener.java:
7713 New file, merge from Classpath.
7714 * java/awt/dnd/MouseDragGestureRecognizer.java:
7715 New file, merge from Classpath.
7716 * java/awt/dnd/peer/DropTargetContextPeer.java:
7717 New file, merge from Classpath.
7718
7719 2002-10-03 Michael Koch <konqueror@gmx.de>
7720
7721 * java/net/DatagramPacket.java
7722 (setLength): Fixed typo and be HTML-aware.
7723 * java/net/InetSocketAddress.java
7724 (InetSocketAddress): Correct initialization of hostname, fixed typo.
7725 (equals): Added comment about equality of InetSocketAddress objects.
7726 * java/net/ServerSocket.java
7727 (accept): Added checks.
7728 (isClosed): New stubbed method.
7729 * java/net/SocketOptions.java: Reindention.
7730 * java/net/SocketPermission
7731 (SocketPermission): Documentation fixed.
7732
7733 2002-10-03 Michael Koch <konqueror@gmx.de>
7734
7735 * java/net/DatagramSocket.java
7736 (receive): Check with SecurityManager AFTER the packet is received,
7737 check if connected to multicast address, documentation added.
7738 (send): Only check SecurityManager if connected, check address of
7739 packet to send.
7740 (connect): Implemented, documentation added.
7741 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7742 * java/net/InetSocketAddress.java
7743 (whole file): Reindented.
7744 (hostname): New attribute.
7745 (InetSocketAddress): Initialize new attribute.
7746 (getAddress): Documentation added.
7747 (getHostName): Documentation added.
7748 (getPort): Documentation added.
7749 (hashCode): Documentation added.
7750 (isUnresolved): Documentation added.
7751 (toString): Conform to output of JDK 1.4.1, documentation added.
7752 * java/net/MulticastSocket.java
7753 (joinGroup): Removed FIXME, documentation added.
7754 (leaveGroup): Removed FIXME, documentation added.
7755 (send): Documentation added.
7756 * java/net/Socket.java
7757 (inputShutdown): New variable.
7758 (outputShutdown): New variable.
7759 (Socket): Initialize new variables.
7760 (getRemoteSocketAddress): Check if connected.
7761 (shutdownInput): Set new variable.
7762 (shutdownOutput): Set new variable.
7763 (isConnected): New method.
7764 (isClosed): New method.
7765 (isInputShutdown): New method.
7766 (isOutputShutdown): New method.
7767 * java/net/URLStreamHandler.java
7768 (URLStreamHandler): New method.
7769 (openConnection): Added documentation.
7770 (parseURL): Added documentation.
7771 (getHostAddress): New method.
7772 (getDefaultPort): New method.
7773
7774 2002-10-02 Tom Tromey <tromey@redhat.com>
7775
7776 * java/rmi/activation/ActivationDesc.java,
7777 java/rmi/activation/ActivationGroupDesc.java,
7778 java/rmi/activation/ActivationGroupID.java,
7779 java/rmi/activation/ActivationID.java: New versions from
7780 Classpath.
7781
7782 2002-09-30 Bo Thorsen <bo@suse.de>
7783
7784 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7785
7786 2002-09-30 Tom Tromey <tromey@redhat.com>
7787
7788 * java/io/ObjectInputStream.java (resolveProxyClass): New method
7789 from Classpath.
7790 * Makefile.in: Rebuilt.
7791 * Makefile.am (rmi_java_source_files): Added new files.
7792 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7793 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7794 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7795 Classpath.
7796 * gnu/java/rmi/dgc/DGCImpl.java,
7797 gnu/java/rmi/dgc/DGCImpl_Skel.java,
7798 gnu/java/rmi/dgc/DGCImpl_Stub.java,
7799 gnu/java/rmi/registry/RegistryImpl_Skel.java,
7800 gnu/java/rmi/registry/RegistryImpl_Stub.java,
7801 gnu/java/rmi/server/RMIHashes.java,
7802 gnu/java/rmi/server/RMIObjectInputStream.java,
7803 gnu/java/rmi/server/RMIObjectOutputStream.java,
7804 gnu/java/rmi/server/UnicastConnection.java,
7805 gnu/java/rmi/server/UnicastConnectionManager.java,
7806 gnu/java/rmi/server/UnicastRef.java,
7807 gnu/java/rmi/server/UnicastServer.java,
7808 gnu/java/rmi/server/UnicastServerRef.java,
7809 java/rmi/MarshalledObject.java,
7810 java/rmi/server/RMIClassLoader.java,
7811 java/rmi/server/RemoteObject.java,
7812 java/rmi/server/UnicastRemoteObject.java,
7813 java/security/SecureClassLoader.java: Merged from Classpath.
7814
7815 2002-09-29 Anthony Green <green@redhat.com>
7816
7817 * java/lang/reflect/UndeclaredThrowableException.java: New file.
7818 Imported from GNU Classpath.
7819 * java/lang/reflect/natProxy.cc: New file.
7820 * java/lang/reflect/InvocationHandler.java: New file. Imported
7821 from GNU Classpath.
7822 * java/lang/reflect/Proxy.java: New file. Imported from GNU
7823 Classpath.
7824 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7825 Classpath.
7826 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7827 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7828 New statics.
7829 * gcj/javaprims.h ("Java"): Add new classes.
7830 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7831 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7832 java/lang/reflect/Proxy$$ProxyType.h): And this.
7833 (inner_nat_headers): Add these new headers.
7834 (ordinary_java_source_files): Add new files.
7835 (nat_source_files): Add new file.
7836 * Makefile.in: Rebuilt.
7837
7838 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
7839
7840 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7841 a single configuration.
7842
7843 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7844
7845 * java/util/TimeZone.java (getDSTSavings): New method.
7846 Fixes PR libgcj/7786.
7847
7848 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7849
7850 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7851 to see if `the_method == 0' before looking up vtable index.
7852 Fixes PR libgcj/7709.
7853
7854 2002-09-25 Tom Tromey <tromey@redhat.com>
7855
7856 * java/lang/natClassLoader.cc:
7857 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7858 * resolve.cc: Include NoClassDefFoundError.h, not
7859 ClassNotFoundException.h.
7860 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7861
7862 * defineclass.cc: Don't include ClassNotFoundException.h.
7863
7864 * resolve.cc: Include StringBuffer.
7865 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7866
7867 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7868 allocated but not initialized.
7869
7870 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7871
7872 Fix for PR libgcj/7766:
7873 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7874 (getNextEntry): Set it.
7875 (closeEntry): Likewise.
7876 (read): Likewise.
7877 (close): Likewise.
7878 (available): Use it.
7879
7880 2002-09-25 Michael Koch <konqueror@gmx.de>
7881
7882 * java/net/DatagramSocket.java
7883 (DatagramSocket): Initialize new instance variables.
7884 (close): Reset new instance variables.
7885 (getLocalAddress): Remove unneeded SecurityManager usage.
7886 (getLocalPort): Check if socket is already bound.
7887 (isConnected): New method.
7888 (getInetAddress): Implemented.
7889 (getPort): Better Implementation, documentation fixed.
7890 (getRemoteSocketAddress): New method.
7891 * java/net/JarURLConnection.java
7892 (element): Typo fixed.
7893 (getMainAttributes): New method.
7894 (getAttributes): New method (stub only).
7895 (getManifest): New method (stub only).
7896 * java/net/NetPermission.java: Added serialVersionsUID.
7897 * java/net/Socket.java
7898 (connect): Check blocking mode of associated channel,
7899 documentation added.
7900 (getLocalSocketAddress): Better implementation.
7901 (getRemoteSocketAddress): Implemented.
7902 (isBound): New method.
7903 (setSendBufferSize): Documentation added.
7904 * java/net/SocketAddress.java: Added serialVersionsUID.
7905 * java/net/SocketPermission.java: Added serialVersionsUID.
7906 * java/net/URL.java
7907 (URL): Wrap for shorter lines, initialize new instance variables,
7908 documentation added.
7909 (equals): Check new instance variables too.
7910 (getContent): Documentation added.
7911 (getPath): Documentation added.
7912 (getAuthority): New method.
7913 (getHost): Documentation added.
7914 (getPort): Documentation added.
7915 (getDefaultPort): New method.
7916 (getProtocol): Documentation added.
7917 (getUserInfo): Documentation added.
7918 (set): Initialize new instance variables, documentation added.
7919 * java/net/URLStreamHandler.java
7920 (setURL): New method.
7921 * java/net/natPlainDatagramSocketImpl.cc
7922 (connect): Fix exception name.
7923 (disconnect): Fix exception name.
7924
7925 2002-09-25 Michael Koch <konqueror@gmx.de>
7926
7927 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7928 * java/nio/channels/DatagramChannel.java:
7929 extends AbstractSelectableChannel
7930 * java/nio/channels/ServerSocketChannel.java:
7931 extends AbstractSelectableChannel
7932 * java/nio/channels/SocketChannel.java:
7933 extends AbstractSelectableChannel
7934 * Makefile.am (ordinary_java_source_files):
7935 java/nio/channels/spi/AbstractSelectableChannel.java added.
7936 * Makefile.in: Regenerated.
7937
7938 2002-09-25 Michael Koch <konqueror@gmx.de>
7939
7940 * java/net/DatagramSocket.java
7941 (DatagramSocket): Exception documentation added.
7942 (bind): Exception documentation added, addded SecurityManager check,
7943 added SocketAddress type check.
7944 (getSoTimeout): Check impl.
7945 (receive): Fix SecurityManager check, check impl, documentation added.
7946 (send): Check channel mode, documentation added.
7947 (connect): New method.
7948 (disconnect): Implemented.
7949 (getLocalSocketAddress): New method.
7950 (getReceiveBufferSize): Check impl.
7951 (setReuseAddress): Check impl.
7952 (getReuseAddress): Check impl.
7953 (setBroadcast): Check impl.
7954 (getBroadcast): Check impl.
7955 (setTrafficClass): Check impl, Documentation cleared.
7956 (getTrafficClass): Check impl.
7957 (getSendBufferSize): Check impl.
7958 (setReceiveBufferSize): Check impl, documentation added.
7959 (setSendBufferSize): Documentation added.
7960 (setDatagramSocketImplFactory): New method.
7961 * java/net/HttpURLConnection.java
7962 (HTTP_INTERNAL_ERROR): The correct code is 500.
7963 (HTTP_NOT_IMPLEMENTED): Added new constant.
7964 (setFollowRedirects): Documentation added.
7965 (getInstanceFollowRedirects): New method.
7966 (setInstanceFollowRedirects): New method.
7967 (setRequestMethod): Documentation added.
7968 (getResponseCode): Documentation added.
7969 (getResponseMessage): Documentation added.
7970 * java/net/JarURLConnection.java
7971 (JarURLConnection): protected since JDK 1.4.
7972 (getJarEntry): java.io.IOException to IOException, documentation added.
7973 (getJarFile): Documentation added.
7974 * java/net/ServerSocket.java
7975 (ServerSocket): Private to public, exception added.
7976 (ServerSocket): java.io.IOException to IOException, documentation added.
7977 (bind): Check socket address type, documentation added.
7978 (bind): java.io.IOException to IOException, documentation added.
7979 (accept): Documentation added.
7980 (implAccept): Check ch is not non-blocking, documentation added.
7981 (setSoTimeout): Documentation fixed.
7982 (setReceiveBufferSize): Documentation added.
7983 * java/net/Socket.java
7984 (Socket): Documentation added.
7985 (bind): Documentation added.
7986 (connect): Check socket address type, documentation added.
7987 (getRemoteSocketAddress): New method.
7988 (getLocalSocketAddress): New method.
7989 (setSoLinger): Documentation added.
7990 (getReuseAddress): New method.
7991 (setReuseAddress): New method.
7992 (getTrafficClass): New method.
7993 (setTrafficClass): New method.
7994 * java/net/URLStreamHandler.java
7995 (openConnection): java.io.IOException to IOException.
7996 (parseURL): Documentation added.
7997 (sameFile): public to protected, documentation added.
7998 (setURL): Documentation added.
7999 * java/nio/IllegalBlockingModeException.java: New file.
8000 * Makefile.am (ordinary_java_source_files):
8001 added java/nio/IllegalBlockingModeException.java
8002 * Makefile.in: Regenerated.
8003
8004 2002-09-25 Michael Koch <konqueror@gmx.de>
8005
8006 * java/net/DatagramPacket
8007 (DatagramPacket): Exception documentation added.
8008 (setData): Likewise.
8009 (setSocketAddress): Likewise.
8010 * java/net/DatagramSocketImpl.java
8011 (peek): Documentation addded.
8012 (peekData): Documentation addded.
8013 (send): Documentation addded.
8014 (receive): Documentation addded.
8015 (connect): New method.
8016 (disconnect): New method.
8017 (joinGroup): New abstract method.
8018 (leaveGroup): New abstract method.
8019 * java/net/InetSocketAddress.java
8020 (InetSocketAddress): Documentation added.
8021 (equals): final keyword added.
8022 (getAddress): final keyword added.
8023 (getHostName): final keyword added.
8024 (getPort): final keyword added.
8025 (hashCode): final keyword added.
8026 (isUnresolved): final keyword added.
8027 * java/net/MulticastSocket.java
8028 (MulticastSocket): Documentation added.
8029 (MulticastSocket): New method.
8030 (joinGroup): Documentation added.
8031 (joinGroup): New method.
8032 (leaveGroup): Documentation added.
8033 (leaveGroup): New method.
8034 (send): Documentation added.
8035 * java/net/NetworkInterface.java
8036 (getByName): Documentation added.
8037 (getByInetAddress): Documentation added.
8038 (getNetworkInterfaces): Documentation added.
8039 * java/net/PlainDatagramSocketImpl.java
8040 (connect): New method.
8041 (disconnect): New method.
8042 * java/net/SocketImpl.java
8043 (create): Documentation added.
8044 (shutdownInput): Convert public to protected, as it always was.
8045 (shutdownOutput): Convert public to protected, as it always was.
8046 * java/net/SocketOptions.java
8047 (whole file): Reintented.
8048 * java/net/URLClassLoader.java
8049 (URLClassLoader): SecurityManager check added, documentation added.
8050 (findResources): Documentation added.
8051 (findClass): Documentation added.
8052 (newInstance): More correct method arguments.
8053 * java/net/URLConnection.java
8054 (connect): Documentation added.
8055 (getContent): Documentation added.
8056 (getPermission): Documentation added.
8057 (getInputStream): Documentation added.
8058 (getOutputStream): Documentation added.
8059 (setDoInput): Throw correct exception, documentation added.
8060 (setDoOutput): Throw correct exception, documentation added.
8061 (setAllowUserInteraction): Throw correct exception, documentation added.
8062 (setUseCaches): Throw correct exception, documentation added.
8063 (setIfModifiedSince): Throw correct exception, documentation added.
8064 (setRequestProperty): Throw exception, documentation added.
8065 (addRequestProperty): Throw exception, documentation added.
8066 (getRequestProperty): Throw exception, documentation added.
8067 (getRequestProperties): Documentation added.
8068 (setContentHandlerFactory): Documentation added.
8069 (guessContentTypeFromName): protected to public.
8070 (setFileNameMap): Documentation added.
8071 * java/net/URLDecoder.java
8072 (URLDecoder): New method.
8073 (decode): Documentation added.
8074 (whole file): Reindented.
8075 * java/net/URLEncoder.java
8076 (encode): Documentation added.
8077 * java/net/natPlainDatagramSocketImpl.cc
8078 (connect): New method.
8079 (disconnect): New method.
8080 * javax/naming/RefAddr:
8081 (addrType): addrType was never final.
8082 (equals): Fix typo in method name.
8083 * javax/naming/BinaryRefAddr:
8084 (equals): Fix typo in method name.
8085
8086 2002-09-22 Tom Tromey <tromey@redhat.com>
8087
8088 Fix for PR libgcj/6576:
8089 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8090 didn't find a given bundle.
8091 (getBundle): Don't require base bundle.
8092 (setParent): Removed old comment.
8093 (tryLocalBundle): Try components even if preceding components were
8094 empty.
8095
8096 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8097
8098 * Makefile.am (all-multi): Fix multilib parallel build.
8099
8100 2002-09-21 Michael Koch <konqueror@gmx.de>
8101
8102 * java/net/Socket.java
8103 (sendUrgentData): New method.
8104 (getChannel): New method.
8105 * java/net/ServerSocket.java
8106 (getChannel): New method.
8107 (isBound): New method.
8108 * java/net/DatagramSocket.java
8109 (DatagramSocket): Two new methods.
8110 (bind): New method.
8111 (getChannel): New method.
8112 (isBound): New method.
8113 (send): Added newline to to make shorter lines.
8114 * java/net/PlainDatagramSocketImpl.java
8115 (mcastGrp): Added argument.
8116 (join): Use new mcastGrp.
8117 (leave): Use new mcastGrp.
8118 (joinGroup): New method.
8119 (leaveGroup): New method.
8120 * java/net/natPlainDatagramSocketImpl.cc
8121 (mcastGrp): Added argument, no yet really implemented.
8122 (getOption): Added newline for shorter lines.
8123 * java/net/natPlainSocketImpl.cc
8124 (read, setOption, getOption): Added newline for shorter lines.
8125
8126 2002-09-19 Tom Tromey <tromey@redhat.com>
8127
8128 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8129 newly-created exception.
8130
8131 2002-09-18 Michael Koch <konqueror@gmx.de>
8132
8133 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8134 java/util/regex/PatternSyntaxException.java:
8135 Merge with classpath, new files.
8136 * Makefile.am (core_java_source_files):
8137 Added java/util/regex/Matcher.java,
8138 java/util/regex/Pattern.java,
8139 java/util/regex/PatternSyntaxException.java
8140 * Makefile.in: Regenerated.
8141 * include/config.h.in: Added HAVE_NET_IF_H.
8142 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8143 Removed #if 0 ... #endif.
8144
8145 2002-09-17 Michael Koch <konqueror@gmx.de>
8146
8147 * java/net/natNetworkInterface.cc:
8148 Removed unneed and yet wrong includes.
8149
8150 2002-09-17 Michael Koch <konqueror@gmx.de>
8151
8152 * java/net/NetworkInterface.java: New file.
8153 * java/net/natNetworkInterface.java: New file.
8154 * configure.in: Added check for net/if.h.
8155 * configure: Regenerated.
8156 * Makefile.am
8157 (ordinary_java_source_files): Added NetworkInterface.java.
8158 (nat_source_files): Added natNetworkInterface.cc.
8159 * Makefile.in: Regenerated.
8160
8161 2002-09-16 Tom Tromey <tromey@redhat.com>
8162
8163 * java/net/URLClassLoader.java (findClass): Code source for a
8164 class from a jar is not necessarily a jar: URL.
8165
8166 2002-09-16 Michael Koch <konqueror@gmx.de>
8167
8168 * java/lang/AssertionError.java:
8169 Merge with classpath, fixes HTML.
8170 * java/rmi/server/LogStream.java:
8171 Merge with classpath, fixes some constants.
8172 * java/net/server/RemoteServer.java:
8173 Merge with classpath, adds serialVersionUID.
8174 * javax/naming/BinaryRefAddr.java:
8175 Merge with classpath, s/equal/equals/.
8176 * javax/naming/NamingException.java:
8177 Merge with classpath, fixed typo.
8178 * javax/naming/RefAddr.java:
8179 Merge with classpath, s/equal/equals/.
8180 * java/awt/Toolkit.java:
8181 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8182 and typo fixed.
8183
8184 2002-09-15 Adam Megacz <adam@xwt.org>
8185
8186 * java/net/natPlainSocketImpl.cc: fixed typo.
8187
8188 2002-09-15 Adam Megacz <adam@xwt.org>
8189
8190 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8191 which don't work on Win32 (yet).
8192
8193 2002-09-14 Adam Megacz <adam@xwt.org>
8194
8195 * java/net/natPlainDatagramSocket.cc: removed #include
8196 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8197 * include/win32.h: included definition for IP_TOS to satisfy
8198 natPlainDatagramSocket.cc
8199
8200 2002-09-13 Michael Koch <konqueror@gmx.de>
8201
8202 * java/net/DatagramPacket.java (DatagramPacket):
8203 Added linebreak for 80 chars per line.
8204 * java/net/JarURLConection.java
8205 (getInputStreami, getJarEntry): Likewise.
8206 * java/net/SocketPErmission.java
8207 (SocketPermission class docu, implies): Likewise.
8208 * java/net/URLClassLoader.java (findResources): Likewise.
8209 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8210
8211 2002-09-13 Michael Koch <konqueror@gmx.de>
8212
8213 * java/nio/channels/DatagramChannel.java,
8214 java/nio/channels/ServerSocketChannel.java
8215 java/nio/channels/SocketChannel.java:
8216 New dummy files to make java.net fully JDK 1.4 compatible
8217 * Makefile.am (ordinary_java_source_files): Added
8218 java/net/DatagramSocketImplFactory.java (long forgotten),
8219 java/nio/SocketChannel.java,
8220 java/nio/ServerSocketChannel.java,
8221 java/nio/DatagramChannel.java
8222 * Makefile.in: Regenrated.
8223
8224 2002-09-12 Michael Koch <konqueror@gmx.de>
8225
8226 * java/net/DatagramSocketImpl.java
8227 (peekData): New method.
8228 * java/net/PlainDatagramSocketImpl.java
8229 (peekData): New method.
8230 * java/net/natPlainDatagramSocketImpl.cc
8231 (peekData): New method.
8232 * java/net/URLConnection
8233 (getPermission): New method.
8234 (addRequestProperty): New method.
8235 (getRequestProperties): New method.
8236 (guessContentTypeFromStream): New method, not really implemented.
8237 (URLConnection): Added/updated documentation.
8238 (connect): Added/updated documentation.
8239 (getURL): Added/updated documentation.
8240 (getContentLength): Added/updated documentation.
8241 (getContentType: Added/updated documentation.
8242 (getContentEncoding): Added/updated documentation.
8243 (getExpiration): Added/updated documentation.
8244 (getDate): Added/updated documentation.
8245 (getLastModified): Added/updated documentation.
8246 (getHeaderField): Added/updated documentation.
8247 (getHeaderFields): Added/updated documentation.
8248 (getHeaderFieldInt): Added/updated documentation.
8249 (getHeaderFieldDate): Added/updated documentation.
8250 (getHeaderFieldKey): Added/updated documentation.
8251 (getContent): Added/updated documentation.
8252 (getInputStream): Added/updated documentation.
8253 (getOutputStream): Added/updated documentation.
8254 (toString): Added/updated documentation.
8255 (setDoInput): Added/updated documentation.
8256 (getDoInput): Added/updated documentation.
8257 (setDoOutput): Added/updated documentation.
8258 (getDoOutput): Added/updated documentation.
8259 (setAllowUserInteraction): Added/updated documentation.
8260 (getAllowUserInteraction): Added/updated documentation.
8261 (setDefaultAllowUserInteraction): Added/updated documentation.
8262 (getDefaultAllowUserInteraction): Added/updated documentation.
8263 (setUseCaches): Added/updated documentation.
8264 (getUseCaches): Added/updated documentation.
8265 (setIfModifiedSince): Added/updated documentation.
8266 (getIfModifiedSince): Added/updated documentation.
8267 (getDefaultUseCaches): Added/updated documentation.
8268 (setDefaultUseCaches): Added/updated documentation.
8269 (setRequestProperty): Added/updated documentation.
8270 (getRequestProperty): Added/updated documentation.
8271 (setDefaultRequestProperty): Added/updated documentation.
8272 (getDefaultRequestProperty): Added/updated documentation.
8273 (setContentHandlerFactory): Added/updated documentation.
8274 (guessContentTypeFromName): Added/updated documentation.
8275 (getFileNameMap): Added/updated documentation.
8276 (setFileNameMap): Added/updated documentation.
8277
8278 2002-09-11 Michael Koch <konqueror@gmx.de>
8279
8280 * java/net/Socket.java
8281 (Socket): protected to public (since JDK 1.4). Added @specnote.
8282 (bind): New method.
8283 (connect): Two new methods.
8284 (getKeepalive): Get correct socket option.
8285 (setKeepalive): Set correct socket option.
8286 (getOOBInline): New method.
8287 (setOOBInline): New method.
8288 * java/net/ServerSocket.java
8289 (bind): Two new methods.
8290 (getInetAddress): Reimplemented, catch exception.
8291 (getLocalSocketAddress): New method.
8292 (setReuseAddress): New method.
8293 (getReuseAdress): New method.
8294 (setReceiveBufferSize): New method.
8295 (getReceiveBufferSize): New method.
8296 (toString): Made string JDK 1.4 compliant.
8297
8298 2002-09-10 Michael Koch <konqueror@gmx.de>
8299
8300 * java/net/SocketImpl.java
8301 (connect): New method.
8302 (supportsUrgentData): New method.
8303 (sendUrgentData): New method.
8304 * java/net/PlainSocketImpl.java
8305 (connect): One new method and two new implementation.
8306 (sendUrgentData): New method.
8307 * java/natPlainSocketImpl.cc
8308 (connect): Arguments changed, added support for timeouts.
8309 (getOption): Another __java_boolean to jboolean.
8310
8311 2002-09-07 Adam Megacz <adam@xwt.org>
8312
8313 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8314 definition of IP_TOS.
8315
8316 2002-09-04 Michael Koch <konqueror@gmx.de>
8317
8318 * java/net/DatagramSocket.java
8319 (DatagramSocket): Added documentation.
8320 (close): Likewise.
8321 (getLocalAddress): Likewise.
8322 (getLocalPort): Likewise.
8323 (receive): Likewise.
8324 (send): Likewise.
8325 (setSoTimeout): Likewise.
8326 (connect): New method.
8327 (disconnect): New method.
8328 (getInetAddress): New method (FIXME)
8329 (getPort): New method.
8330 (setReuseAddress): New method.
8331 (getReuseAddress): New method.
8332 (setBroadcast): New method.
8333 (getBroadcast): New method.
8334 (setTrafficClass): New method.
8335 (getTrafficClass): New method.
8336 * java/net/MulticastSocket.java):
8337 (getTTL): Added @see in documentation.
8338 (setTTL): Added @see in documentation.
8339 (setLoopbackMode): New method.
8340 (getLoopbackMode): New method.
8341 * java/net/PlainSocketImpl.java:
8342 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8343 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8344 * java/net/PlainDatagramSocketImpl.java
8345 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8346 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8347 * java/net/natPlainSocketImpl.cc
8348 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8349 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8350 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8351 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8352 This should also fix SO_KEEPALIVE
8353 * java/net/natPlainDatagramSocketImpl.cc
8354 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8355 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8356 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8357 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8358
8359 2002-09-04 Michael Koch <konqueror@gmx.de>
8360
8361 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8362 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8363 IP_MULTICAST_LOOP, IP_TOS
8364
8365 2002-09-03 Tom Tromey <tromey@redhat.com>
8366
8367 * java/lang/Class.h (_getDeclaredMethod): Declare.
8368 (_getMethod): Now private.
8369 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8370 getDeclaredMethod. Now returns NULL on failure.
8371 * java/lang/Class.java (_getDeclaredMethod): Declare.
8372 (getDeclaredMethod): No longer native; implements access checks.
8373
8374 2002-09-01 Mark Wielaard <mark@klomp.org>
8375
8376 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8377 (sanitizeStack): Correctly reset unknown and interpreter counters,
8378 detect interpreter runtime frames.
8379 (demangleInterpreterMethod): New method.
8380 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8381 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8382 filling in addrs[].
8383
8384 2002-09-02 Michael Koch <konqueror@gmx.de>
8385
8386 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8387 re-indented documentation.
8388
8389 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8390
8391 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8392 public, per 1.4 spec. Fixes PR libgcj/7785.
8393
8394 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8395
8396 * Makefile.in: Rebuilt.
8397 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8398
8399 2002-08-29 Tom Tromey <tromey@redhat.com>
8400
8401 * java/net/JarURLConnection.java (getCertificates): New method
8402 from Classpath.
8403 * java/net/URLClassLoader.java (URLClassLoader): Extends
8404 SecureClassLoader.
8405 (definePackage): New method from Classpath.
8406 (getPermissions): Likewise.
8407 (newInstance): Likewise.
8408 (findClass): Construct CodeSource for new class (from Classpath).
8409 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8410 methods.
8411 * java/net/URL.java (getUserInfo): New method.
8412 (set(String,String,int,String,String,String,String,String)): New
8413 method.
8414 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8415 (shutdownInput, shutdownOutput): Declare.
8416 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8417 Define.
8418 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8419 (getOption): Likewise.
8420 (shutdownInput): New method.
8421 (shutdownOutput): Likewise.
8422 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8423 keepalive.
8424 (getOption): Likewise.
8425 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8426 * java/net/Socket.java (setKeepAlive): New method.
8427 (getKeepAlive): Likewise.
8428 (shutdownInput, shutdownOutput): New methods.
8429
8430 2002-08-29 Michael Koch <konqueror@gmx.de>
8431
8432 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8433 new methods are:
8434 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8435 address),
8436 DatagramPacket(byte[] buf, int length, SocketAddress address),
8437 void setSocketAddress(SocketAddress address)
8438 public SocketAddress getSocketAddress()
8439
8440 2002-08-29 Tom Tromey <tromey@redhat.com>
8441
8442 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8443 ftruncate is missing.
8444 * configure, include/config.h.in: Rebuilt.
8445 * acconfig.h (HAVE_FTRUNCATE): Mention.
8446 * configure.in: Check for ftruncate.
8447
8448 2002-08-29 Tom Tromey <tromey@redhat.com>
8449
8450 * include/jvm.h (struct _Jv_frame_info): New structure.
8451 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8452 java-interp.h.
8453 (lookupInterp): New method.
8454 (getAddrAsString): Use _Jv_frame_info.
8455 (dladdrLookup): Likewise.
8456 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8457 interpreted frame.
8458 (lookupInterp): Declare.
8459 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8460 (fillInStackTrace): Collect information on interpreted frames.
8461 Use _Jv_frame_info.
8462 * interpret.cc: Include Thread.h.
8463 (run): Create and push _Jv_MethodChain object.
8464 (_Jv_EndOfInterpreter): New global.
8465 * java/lang/Thread.java (interp_frame): New field.
8466 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8467 Include NameFinder.h.
8468
8469 2002-08-28 Tom Tromey <tromey@redhat.com>
8470
8471 * java/lang/Class.h: Include Package.h.
8472 (Class::getProtectionDomain): Declare.
8473 (Class::getPackage): Declare.
8474
8475 2002-08-28 Michael Koch <konqueror@gmx.de>
8476
8477 * java/net/InetSocketAddress.java: Added some documentation and argument
8478 checks for the port numbers.
8479 * java/net/DatagramSocketImplFactory.java: New file.
8480
8481 2002-08-28 Michael Koch <konqueror@gmx.de>
8482
8483 * java/net/Authenticator.java: added some documentation.
8484
8485 2002-08-27 Tom Tromey <tromey@redhat.com>
8486
8487 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8488 class.
8489 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8490
8491 2002-08-27 Michael Koch <konqueror@gmx.de>
8492
8493 * java/net/BindException.java,
8494 java/net/JarURLConnection.java,
8495 java/net/FileNameMap.java,
8496 java/net/HttpURLConnection.java,
8497 java/net/InetSocketAddress.java,
8498 java/net/DatagramPacket.java,
8499 java/net/DatagramSocket.java,
8500 java/net/DatagramSocketImpl.java,
8501 java/net/MulticastSocket.java,
8502 java/net/PasswordAuthentication.java,
8503 java/net/ServerSocket.java,
8504 java/net/Socket.java,
8505 java/net/URLClassLoader.java,
8506 java/net/URLConnection.java: add/update of some @since/@deprecated
8507
8508 2002-08-27 Tony Kimball <alk@pobox.com>
8509 Tom Tromey <tromey@redhat.com>
8510
8511 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8512 define.
8513 (::close): Removed.
8514 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8515 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8516 (::close): Removed.
8517 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8518 * include/win32.h (getcwd): Removed declaration. Include io.h.
8519
8520 2002-08-25 Adam Megacz <adam@xwt.org>
8521
8522 * include/win32.h (getcwd): copied function declaration as
8523 temporary fix for header confusion.
8524
8525 2002-08-24 Mark Wielaard <mark@klomp.org>
8526
8527 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8528 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8529 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8530 and natNameFinder.cc.
8531 * Makefile.in: Regenerate.
8532 * prims.cc: Use trace_enabled from VMThrowable.
8533 * name-finder.cc: Removed.
8534 * gcj/javaprims.h: Add class VMThrowable.
8535 * gnu/gcj/runtime/NameFinder.java: New file.
8536 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8537 * include/name-finder.h: Removed.
8538 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8539 method stackTraceString().
8540 (printStackTrace (PrintWriter)): Likewise.
8541 (stackTraceString): Complete rewrite of old printStackTrace using
8542 StringBuffer.
8543 (stackTraceStringBuffer): New helper method for stackTraceString().
8544 (fillInStackTrace): Delegate to VMTrowable.
8545 (getStackTrace): Likewise.
8546 (getStackTrace0): Removed.
8547 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8548 (setStackTrace): Copy given array.
8549 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8550 * java/lang/VMThrowable.java: New class.
8551 * java/lang/natVMThrowable.cc: New file.
8552
8553 2003-08-23 Michael Koch <konqueror@gmx.de>
8554
8555 * java/net/URLConnection.java,
8556 java/netJarURLConnection.java,
8557 gnu/gcj/protocol/core/Connection.java,
8558 gnu/gcj/protocol/file/Connection.java,
8559 gnu/gcj/protocol/http/Connection.java: Added implementation of
8560 getHeaderFields().
8561
8562 2002-08-22 Tom Tromey <tromey@redhat.com>
8563
8564 * gij.cc (help): Document -cp and -classpath.
8565 (main): Handle -classpath.
8566
8567 2002-08-21 Tom Tromey <tromey@redhat.com>
8568
8569 * Makefile.in: Rebuilt.
8570 * Makefile.am (ordinary_java_source_files): Added
8571 SocketAddress.java, InetSocketAddress.java.
8572 * java/net/PortUnreachableException.java: Merged with Classpath.
8573 * java/net/SocketTimeoutException.java: Likewise.
8574 * java/net/URISyntaxException.java: Likewise.
8575 * java/net/SocketAddress.java: New class from Classpath.
8576 * java/net/InetSocketAddress.java: Likewise.
8577
8578 2003-08-21 Michael Koch <konqueror@gmx.de>
8579
8580 * java/net/Authenticator.java: updated JDK 1.4
8581 * java/net/ContentHandler.java: updated JDK 1.4
8582
8583 2002-08-20 Michael Koch <konqueror@gmx.de>
8584
8585 * java/net/URISyntaxException.java: New file.
8586 * java/net/SocketTimeoutException.java: New file.
8587 * java/net/PortUnreachableException.java: New file.
8588 * Makefile.am: Updated.
8589 * Makefile.in: Rebuilt.
8590
8591 2002-08-18 Mark Wielaard <mark@klomp.org>
8592
8593 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8594 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8595 MessageDigestSpi (fixes Classpath bug #783).
8596
8597 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8598
8599 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8600 (startProcess): Allocate path for chdir in async-signal-safe way.
8601
8602 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8603
8604 Fix for PR libgcj/7570 and PR libgcj/7578:
8605 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8606 (startProcess): Handle new `dir' argument.
8607 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8608 argument.
8609 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8610 argument.
8611 (startProcess): Likewise.
8612 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8613 argument.
8614 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8615 (exec): Don't create new environment if ENV==null. Pass DIR to
8616 execInternal.
8617 * java/lang/natRuntime.cc: Include java/io/File.h.
8618 (execInternal): Added `dir' argument.
8619
8620 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8621
8622 * java/io/RandomAccessFile.java (skipBytes): Return number of
8623 bytes skipped.
8624
8625 2002-08-01 Mark Wielaard <mark@klomp.org>
8626
8627 Reenable patch since shared library troubles on powerpc are solved:
8628 * gnu/java/security/provider/Gnu.java: Reference all implementation
8629 classes by using Class.getName().
8630 * gnu/java/security/der/DEREncodingException.java,
8631 gnu/java/security/provider/DERReader.java,
8632 gnu/java/security/provider/DERWriter.java,
8633 gnu/java/security/provider/DSAKeyPairGenerator.java,
8634 gnu/java/security/provider/DSAParameterGenerator.java,
8635 gnu/java/security/provider/DSAParameters.java,
8636 gnu/java/security/provider/DSASignature.java,
8637 gnu/java/security/provider/GnuDSAPrivateKey.java,
8638 gnu/java/security/provider/GnuDSAPublicKey.java,
8639 gnu/java/security/provider/MD5.java,
8640 gnu/java/security/util/Prime.java: New classes
8641 * Makefile.am (ordinary_java_source_files): Add above files.
8642 * Makefile.in: Regenerate.
8643 * gnu/java/security/provider/DefaultPolicy.java
8644 (getPermissions): Don't maintain static class variable of Permissions.
8645 * gnu/java/security/provider/SHA.java
8646 (engineUpdate): algorithm change.
8647 (engineDigest): algorithm change.
8648
8649 2002-08-09 Mark Wielaard <mark@klomp.org>
8650
8651 * java/awt/image/MemoryImageSource.java: Change constructor to take
8652 int[] not byte[].
8653 * java/awt/Graphics2D.java: Uncomment methods that can now be
8654 compiled.
8655 * java/awt/GridBagLayout.java: New stub implementation.
8656 * javax/swing/text/html/HTML.java: Stub implementation.
8657 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8658 implementation.
8659
8660 * Makefile.am: Add new files.
8661 * Makefile.in: Rebuilt.
8662
8663 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8664
8665 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8666 methods in Graphics2D.
8667
8668 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8669
8670 AWT/Swing merge from GNU Classpath.
8671
8672 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8673 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8674 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8675 java/awt/color/ProfileDataException.java,
8676 java/awt/CompositeContext.java, java/awt/Composite.java,
8677 java/awt/ContainerOrderFocusTraversalPolicy.java,
8678 java/awt/datatransfer/FlavorTable.java,
8679 java/awt/DefaultFocusTraversalPolicy.java,
8680 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8681 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8682 java/awt/dnd/DragGestureListener.java,
8683 java/awt/dnd/DragGestureRecognizer.java,
8684 java/awt/dnd/DragSourceAdapter.java,
8685 java/awt/dnd/DragSourceContext.java,
8686 java/awt/dnd/DragSourceDragEvent.java,
8687 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8688 java/awt/dnd/DragSourceListener.java,
8689 java/awt/dnd/DragSourceMotionListener.java,
8690 java/awt/dnd/DropTarget.java,
8691 java/awt/dnd/InvalidDnDOperationException.java,
8692 java/awt/dnd/peer/DragSourceContextPeer.java,
8693 java/awt/event/AWTEventListenerProxy.java,
8694 java/awt/event/MouseWheelEvent.java,
8695 java/awt/event/MouseWheelListener.java,
8696 java/awt/event/WindowFocusListener.java,
8697 java/awt/event/WindowStateListener.java,
8698 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8699 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8700 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8701 java/awt/geom/FlatteningPathIterator.java,
8702 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8703 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8704 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8705 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8706 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8707 java/awt/image/ImagingOpException.java,
8708 java/awt/image/RasterFormatException.java,
8709 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8710 java/awt/image/VolatileImage.java,
8711 java/awt/image/WritableRenderedImage.java,
8712 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8713 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8714 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8715 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8716 java/awt/PageAttributes.java, java/awt/print/Book.java,
8717 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8718 java/awt/print/Paper.java, java/awt/print/Printable.java,
8719 java/awt/print/PrinterAbortException.java,
8720 java/awt/print/PrinterException.java,
8721 java/awt/print/PrinterGraphics.java,
8722 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8723 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8724 java/awt/Stroke.java, java/awt/TexturePaint.java,
8725 javax/accessibility/AccessibleAction.java,
8726 javax/accessibility/AccessibleBundle.java,
8727 javax/accessibility/AccessibleComponent.java,
8728 javax/accessibility/AccessibleContext.java,
8729 javax/accessibility/AccessibleEditableText.java,
8730 javax/accessibility/AccessibleExtendedComponent.java,
8731 javax/accessibility/AccessibleExtendedTable.java,
8732 javax/accessibility/AccessibleHyperlink.java,
8733 javax/accessibility/AccessibleHypertext.java,
8734 javax/accessibility/AccessibleIcon.java,
8735 javax/accessibility/Accessible.java,
8736 javax/accessibility/AccessibleKeyBinding.java,
8737 javax/accessibility/AccessibleRelation.java,
8738 javax/accessibility/AccessibleRelationSet.java,
8739 javax/accessibility/AccessibleResourceBundle.java,
8740 javax/accessibility/AccessibleRole.java,
8741 javax/accessibility/AccessibleSelection.java,
8742 javax/accessibility/AccessibleState.java,
8743 javax/accessibility/AccessibleStateSet.java,
8744 javax/accessibility/AccessibleTable.java,
8745 javax/accessibility/AccessibleTableModelChange.java,
8746 javax/accessibility/AccessibleText.java,
8747 javax/accessibility/AccessibleValue.java,
8748 javax/swing/AbstractAction.java,
8749 javax/swing/AbstractButton.java,
8750 javax/swing/AbstractCellEditor.java,
8751 javax/swing/AbstractListModel.java,
8752 javax/swing/AbstractSet.java, javax/swing/Action.java,
8753 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8754 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8755 javax/swing/border/CompoundBorder.java,
8756 javax/swing/border/EmptyBorder.java,
8757 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8758 javax/swing/border/LineBorder.java,
8759 javax/swing/border/MatteBorder.java,
8760 javax/swing/border/TitledBorder.java,
8761 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8762 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8763 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8764 javax/swing/CellRendererPane.java,
8765 javax/swing/colorchooser/AbstractColorChooserPanel.java,
8766 javax/swing/colorchooser/ColorChooserComponentFactory.java,
8767 javax/swing/colorchooser/ColorSelectionModel.java,
8768 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8769 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8770 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8771 javax/swing/DefaultBoundedRangeModel.java,
8772 javax/swing/DefaultButtonModel.java,
8773 javax/swing/DefaultCellEditor.java,
8774 javax/swing/DefaultCellRenderer.java,
8775 javax/swing/DefaultComboBoxModel.java,
8776 javax/swing/DefaultDesktopManager.java,
8777 javax/swing/DefaultFocusManager.java,
8778 javax/swing/DefaultListCellRenderer.java,
8779 javax/swing/DefaultListModel.java,
8780 javax/swing/DefaultListSelectionModel.java,
8781 javax/swing/DefaultSingleSelectionModel.java,
8782 javax/swing/DesktopManager.java,
8783 javax/swing/event/AncestorEvent.java,
8784 javax/swing/event/AncestorListener.java,
8785 javax/swing/event/CaretEvent.java,
8786 javax/swing/event/CaretListener.java,
8787 javax/swing/event/CellEditorListener.java,
8788 javax/swing/event/ChangeEvent.java,
8789 javax/swing/event/ChangeListener.java,
8790 javax/swing/event/DocumentEvent.java,
8791 javax/swing/event/DocumentListener.java,
8792 javax/swing/event/EventListenerList.java,
8793 javax/swing/event/HyperlinkEvent.java,
8794 javax/swing/event/HyperlinkListener.java,
8795 javax/swing/event/InternalFrameAdapter.java,
8796 javax/swing/event/InternalFrameEvent.java,
8797 javax/swing/event/InternalFrameListener.java,
8798 javax/swing/event/ListDataEvent.java,
8799 javax/swing/event/ListDataListener.java,
8800 javax/swing/event/ListSelectionEvent.java,
8801 javax/swing/event/ListSelectionListener.java,
8802 javax/swing/event/MenuDragMouseEvent.java,
8803 javax/swing/event/MenuDragMouseListener.java,
8804 javax/swing/event/MenuEvent.java,
8805 javax/swing/event/MenuKeyEvent.java,
8806 javax/swing/event/MenuKeyListener.java,
8807 javax/swing/event/MenuListener.java,
8808 javax/swing/event/MouseInputAdapter.java,
8809 javax/swing/event/MouseInputListener.java,
8810 javax/swing/event/PopupMenuEvent.java,
8811 javax/swing/event/PopupMenuListener.java,
8812 javax/swing/event/SwingPropertyChangeSupport.java,
8813 javax/swing/event/TableColumnModelEvent.java,
8814 javax/swing/event/TableColumnModelListener.java,
8815 javax/swing/event/TableModelEvent.java,
8816 javax/swing/event/TableModelListener.java,
8817 javax/swing/event/TreeExpansionEvent.java,
8818 javax/swing/event/TreeExpansionListener.java,
8819 javax/swing/event/TreeModelEvent.java,
8820 javax/swing/event/TreeModelListener.java,
8821 javax/swing/event/TreeSelectionEvent.java,
8822 javax/swing/event/TreeSelectionListener.java,
8823 javax/swing/event/TreeWillExpandListener.java,
8824 javax/swing/event/UndoableEditEvent.java,
8825 javax/swing/event/UndoableEditListener.java,
8826 javax/swing/filechooser/FileFilter.java,
8827 javax/swing/filechooser/FileSystemView.java,
8828 javax/swing/filechooser/FileView.java,
8829 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8830 javax/swing/Icon.java, javax/swing/ImageIcon.java,
8831 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8832 javax/swing/JApplet.java, javax/swing/JButton.java,
8833 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8834 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8835 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8836 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8837 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8838 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8839 javax/swing/JLayeredPane.java, javax/swing/JList.java,
8840 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8841 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8842 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8843 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8844 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8845 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8846 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8847 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8848 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8849 javax/swing/JTextField.java, javax/swing/JTextPane.java,
8850 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8851 javax/swing/JToolTip.java, javax/swing/JTree.java,
8852 javax/swing/JViewport.java, javax/swing/JWindow.java,
8853 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8854 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8855 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8856 javax/swing/MenuSelectionManager.java,
8857 javax/swing/MutableComboBoxModel.java,
8858 javax/swing/OverlayLayout.java,
8859 javax/swing/plaf/ActionMapUIResource.java,
8860 javax/swing/plaf/basic/BasicBorders.java,
8861 javax/swing/plaf/basic/BasicButtonUI.java,
8862 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8863 javax/swing/plaf/basic/BasicDefaults.java,
8864 javax/swing/plaf/basic/BasicGraphicsUtils.java,
8865 javax/swing/plaf/basic/BasicIconFactory.java,
8866 javax/swing/plaf/basic/BasicLabelUI.java,
8867 javax/swing/plaf/basic/BasicListUI.java,
8868 javax/swing/plaf/basic/BasicLookAndFeel.java,
8869 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8870 javax/swing/plaf/basic/BasicPanelUI.java,
8871 javax/swing/plaf/basic/BasicRadioButtonUI.java,
8872 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8873 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8874 javax/swing/plaf/basic/BasicTextUI.java,
8875 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8876 javax/swing/plaf/basic/BasicTreeUI.java,
8877 javax/swing/plaf/basic/BasicViewportUI.java,
8878 javax/swing/plaf/BorderUIResource.java,
8879 javax/swing/plaf/ButtonUI.java,
8880 javax/swing/plaf/ColorChooserUI.java,
8881 javax/swing/plaf/ColorUIResource.java,
8882 javax/swing/plaf/ComboBoxUI.java,
8883 javax/swing/plaf/ComponentInputMapUIResource.java,
8884 javax/swing/plaf/ComponentUI.java,
8885 javax/swing/plaf/DesktopIconUI.java,
8886 javax/swing/plaf/DesktopPaneUI.java,
8887 javax/swing/plaf/DimensionUIResource.java,
8888 javax/swing/plaf/FileChooserUI.java,
8889 javax/swing/plaf/FontUIResource.java,
8890 javax/swing/plaf/IconUIResource.java,
8891 javax/swing/plaf/InputMapUIResource.java,
8892 javax/swing/plaf/InsetsUIResource.java,
8893 javax/swing/plaf/InternalFrameUI.java,
8894 javax/swing/plaf/LabelUI.java,
8895 javax/swing/plaf/ListUI.java,
8896 javax/swing/plaf/MenuBarUI.java,
8897 javax/swing/plaf/MenuItemUI.java,
8898 javax/swing/plaf/OptionPaneUI.java,
8899 javax/swing/plaf/PanelUI.java,
8900 javax/swing/plaf/PopupMenuUI.java,
8901 javax/swing/plaf/ProgressBarUI.java,
8902 javax/swing/plaf/RootPaneUI.java,
8903 javax/swing/plaf/ScrollBarUI.java,
8904 javax/swing/plaf/ScrollPaneUI.java,
8905 javax/swing/plaf/SeparatorUI.java,
8906 javax/swing/plaf/SliderUI.java,
8907 javax/swing/plaf/SplitPaneUI.java,
8908 javax/swing/plaf/TabbedPaneUI.java,
8909 javax/swing/plaf/TableHeaderUI.java,
8910 javax/swing/plaf/TableUI.java,
8911 javax/swing/plaf/TextUI.java,
8912 javax/swing/plaf/ToolBarUI.java,
8913 javax/swing/plaf/ToolTipUI.java,
8914 javax/swing/plaf/TreeUI.java,
8915 javax/swing/plaf/UIResource.java,
8916 javax/swing/plaf/ViewportUI.java,
8917 javax/swing/ProgressMonitorInputStream.java,
8918 javax/swing/ProgressMonitor.java,
8919 javax/swing/Renderer.java,
8920 javax/swing/RepaintManager.java,
8921 javax/swing/RootPaneContainer.java,
8922 javax/swing/Scrollable.java,
8923 javax/swing/ScrollPaneConstants.java,
8924 javax/swing/ScrollPaneLayout.java,
8925 javax/swing/SingleSelectionModel.java,
8926 javax/swing/SizeRequirements.java,
8927 javax/swing/SizeSequence.java,
8928 javax/swing/SwingConstants.java,
8929 javax/swing/SwingUtilities.java,
8930 javax/swing/table/AbstractTableModel.java,
8931 javax/swing/table/DefaultTableCellRenderer.java,
8932 javax/swing/table/DefaultTableColumnModel.java,
8933 javax/swing/table/DefaultTableModel.java,
8934 javax/swing/table/TableCellEditor.java,
8935 javax/swing/table/TableCellRenderer.java,
8936 javax/swing/table/TableColumn.java,
8937 javax/swing/table/TableColumnModel.java,
8938 javax/swing/table/TableModel.java,
8939 javax/swing/text/AbstractDocument.java,
8940 javax/swing/text/AttributeSet.java,
8941 javax/swing/text/BadLocationException.java,
8942 javax/swing/text/Caret.java,
8943 javax/swing/text/CharacterIterator.java,
8944 javax/swing/text/ComponentView.java,
8945 javax/swing/text/DefaultCaret.java,
8946 javax/swing/text/DefaultEditorKit.java,
8947 javax/swing/text/Document.java,
8948 javax/swing/text/EditorKit.java,
8949 javax/swing/text/Element.java,
8950 javax/swing/text/GapContent.java,
8951 javax/swing/text/JTextComponent.java,
8952 javax/swing/text/Keymap.java,
8953 javax/swing/text/MutableAttributeSet.java,
8954 javax/swing/text/PlainDocument.java,
8955 javax/swing/text/PlainEditorKit.java,
8956 javax/swing/text/Position.java,
8957 javax/swing/text/Segment.java,
8958 javax/swing/text/StyledDocument.java,
8959 javax/swing/text/StyledEditorKit.java,
8960 javax/swing/text/Style.java,
8961 javax/swing/text/TextAction.java,
8962 javax/swing/text/ViewFactory.java,
8963 javax/swing/text/View.java,
8964 javax/swing/Timer.java,
8965 javax/swing/ToggleButtonModel.java,
8966 javax/swing/ToolTipManager.java,
8967 javax/swing/tree/AbstractLayoutCache.java,
8968 javax/swing/tree/DefaultMutableTreeNode.java,
8969 javax/swing/tree/DefaultTreeCellEditor.java,
8970 javax/swing/tree/DefaultTreeCellRenderer.java,
8971 javax/swing/tree/DefaultTreeModel.java,
8972 javax/swing/tree/DefaultTreeSelectionModel.java,
8973 javax/swing/tree/ExpandVetoException.java,
8974 javax/swing/tree/FixedHeightLayoutCache.java,
8975 javax/swing/tree/MutableTreeNode.java,
8976 javax/swing/tree/RowMapper.java,
8977 javax/swing/tree/TreeCellEditor.java,
8978 javax/swing/tree/TreeCellRenderer.java,
8979 javax/swing/tree/TreeModel.java,
8980 javax/swing/tree/TreeNode.java,
8981 javax/swing/tree/TreePath.java,
8982 javax/swing/tree/TreeSelectionModel.java,
8983 javax/swing/tree/VariableHeightLayoutCache.java,
8984 javax/swing/UIDefaults.java,
8985 javax/swing/UIManager.java,
8986 javax/swing/undo/AbstractUndoableEdit.java,
8987 javax/swing/undo/CannotRedoException.java,
8988 javax/swing/undo/CannotUndoException.java,
8989 javax/swing/undo/CompoundEdit.java,
8990 javax/swing/undo/StateEditable.java,
8991 javax/swing/undo/StateEdit.java,
8992 javax/swing/undo/UndoableEdit.java,
8993 javax/swing/undo/UndoableEditSupport.java,
8994 javax/swing/undo/UndoManager.java,
8995 javax/swing/UnsupportedLookAndFeelException.java,
8996 javax/swing/ViewportLayout.java,
8997 javax/swing/WindowConstants.java: New files, from GNU Classpath.
8998
8999 * java/awt/ActiveEvent.java,
9000 java/awt/Adjustable.java, java/awt/AWTError.java,
9001 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9002 java/awt/AWTException.java, java/awt/AWTPermission.java,
9003 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9004 java/awt/Color.java, java/awt/Component.java,
9005 java/awt/ComponentOrientation.java, java/awt/Container.java,
9006 java/awt/datatransfer/MimeTypeParseException.java,
9007 java/awt/datatransfer/Transferable.java,
9008 java/awt/datatransfer/UnsupportedFlavorException.java,
9009 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9010 java/awt/event/ActionListener.java,
9011 java/awt/event/AdjustmentEvent.java,
9012 java/awt/event/AdjustmentListener.java,
9013 java/awt/event/AWTEventListener.java,
9014 java/awt/event/ComponentAdapter.java,
9015 java/awt/event/ComponentEvent.java,
9016 java/awt/event/ComponentListener.java,
9017 java/awt/event/ContainerAdapter.java,
9018 java/awt/event/ContainerEvent.java,
9019 java/awt/event/ContainerListener.java,
9020 java/awt/event/FocusAdapter.java,
9021 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9022 java/awt/event/HierarchyBoundsAdapter.java,
9023 java/awt/event/HierarchyBoundsListener.java,
9024 java/awt/event/HierarchyEvent.java,
9025 java/awt/event/HierarchyListener.java,
9026 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9027 java/awt/event/InputMethodListener.java,
9028 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9029 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9030 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9031 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9032 java/awt/event/MouseListener.java,
9033 java/awt/event/MouseMotionAdapter.java,
9034 java/awt/event/MouseMotionListener.java,
9035 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9036 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9037 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9038 java/awt/event/WindowListener.java, java/awt/Font.java,
9039 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9040 java/awt/geom/Ellipse2D.java,
9041 java/awt/geom/IllegalPathStateException.java,
9042 java/awt/geom/Line2D.java,
9043 java/awt/geom/NoninvertibleTransformException.java,
9044 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9045 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9046 java/awt/geom/RoundRectangle2D.java,
9047 java/awt/GraphicsConfiguration.java,
9048 java/awt/IllegalComponentStateException.java,
9049 java/awt/image/IndexColorModel.java,
9050 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9051 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9052 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9053 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9054 java/awt/MenuItem.java, java/awt/PaintContext.java,
9055 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9056 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9057 java/awt/PrintJob.java, java/awt/Rectangle.java,
9058 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9059 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9060 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9061
9062 * java/awt/im/spi/InputMethod.java,
9063 java/awt/im/spi/InputMethodContext.java,
9064 java/awt/im/spi/InputMethodDescriptor.java,
9065 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9066 java/awt/image/renderable/ParameterBlock.java,
9067 java/awt/image/renderable/RenderContext.java,
9068 java/awt/image/renderable/RenderableImage.java,
9069 java/awt/image/renderable/RenderableImageOp.java,
9070 java/awt/image/renderable/RenderableImageProducer.java,
9071 java/awt/image/renderable/RenderedImageFactory.java: New files from
9072 classpath.
9073
9074 * gnu/java/awt/EventModifier.java,
9075 gnu/java/awt/image/ImageDecoder.java,
9076 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9077
9078 * gnu/awt/xlib/XGraphicsConfiguration.java,
9079 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9080 API.
9081
9082 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9083 GNU Classpath.
9084
9085 * Makefile.am: Add new files.
9086 * Makefile.in: Rebuilt.
9087
9088 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9089
9090 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9091 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9092 findResource, getResources, findResources): Add javadoc from classpath.
9093 (getSystemResources): Implemented.
9094
9095 2002-08-01 Mark Wielaard <mark@klomp.org>
9096
9097 Revert patch that breaks libgcj shared library on powerpc:
9098 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9099 implementation classes by using Class.getName(). Uses Strings again.
9100 * gnu/java/security/der/DEREncodingException.java,
9101 gnu/java/security/provider/DERReader.java,
9102 gnu/java/security/provider/DERWriter.java,
9103 gnu/java/security/provider/DSAKeyPairGenerator.java,
9104 gnu/java/security/provider/DSAParameterGenerator.java,
9105 gnu/java/security/provider/DSAParameters.java,
9106 gnu/java/security/provider/DSASignature.java,
9107 gnu/java/security/provider/GnuDSAPrivateKey.java,
9108 gnu/java/security/provider/GnuDSAPublicKey.java,
9109 gnu/java/security/provider/MD5.java,
9110 gnu/java/security/util/Prime.java: Removed.
9111 * Makefile.am (ordinary_java_source_files): Remove above files.
9112 * Makefile.in: Regenerate.
9113 * gnu/java/security/provider/DefaultPolicy.java
9114 (getPermissions): Revert to maintaining static class variable of
9115 Permissions.
9116 * gnu/java/security/provider/SHA.java
9117 (engineUpdate): Revert algorithm change.
9118 (engineDigest): Revert algorithm change.
9119
9120 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9121
9122 * configure.host: Add SH support.
9123 * sysdep/sh/locks.h: New file.
9124
9125 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9126
9127 * java/awt/Frame.java (Frame): Remove println calls.
9128
9129 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9130
9131 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9132 * configure: Rebuilt.
9133
9134 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9135
9136 * sysdep/powerpc/locks.h: Formatting.
9137 (_LARX): Define.
9138 (_STCX): Define.
9139 (compare_and_swap): Use _LARX and _STCX.
9140 (compare_and_swap_release): Likewise.
9141
9142 2002-07-26 Tom Tromey <tromey@redhat.com>
9143
9144 * java/net/Authenticator.java: New version from Classpath.
9145 * java/net/DatagramSocketImpl.java: New version from Classpath.
9146
9147 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9148
9149 * configure.host: Add powerpc64*-* entry.
9150
9151 2002-07-26 Tom Tromey <tromey@redhat.com>
9152
9153 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9154 fcntl.h.
9155
9156 2002-07-24 Tom Tromey <tromey@redhat.com>
9157
9158 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9159 argument to _load.
9160
9161 2002-07-24 Tom Tromey <tromey@redhat.com>
9162 Tony Kimball <alk@pobox.com>
9163
9164 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9165 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9166 * java/io/RandomAccessFile.java (setLength): New method.
9167 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9168 * java/io/FileDescriptor.java (setLength): New method.
9169
9170 2002-07-24 Mark Wielaard <mark@klomp.org>
9171
9172 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9173 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9174 field call setAccessible(true).
9175 (setByteField): Likewise.
9176 (setCharField): Likewise.
9177 (setDoubleField): Likewise.
9178 (setFloatField): Likewise.
9179 (setIntField): Likewise.
9180 (setLongField): Likewise.
9181 (setShortField): Likewise.
9182 (setObjectField): Likewise.
9183
9184 2002-07-24 Tom Tromey <tromey@redhat.com>
9185
9186 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9187 use toString() to format array element.
9188
9189 2002-07-23 Mark Wielaard <mark@klomp.org>
9190
9191 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9192 MessageDigestSpi (fixes Classpath bug #783).
9193
9194 2002-07-21 Mark Wielaard <mark@klomp.org>
9195
9196 * gnu/java/security/provider/Gnu.java: Reference all implementation
9197 classes by using Class.getName().
9198
9199 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9200
9201 * java/lang/ieeefp.h: Add x86-64 support.
9202 * configure.in: Likewise.
9203 * configure.host: Likewise.
9204 * configure: Regenerated.
9205 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9206
9207 2002-07-16 Mark Wielaard <mark@klomp.org>
9208
9209 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9210 (whitespaceChars): call resetChar().
9211
9212 2002-07-15 Tom Tromey <tromey@redhat.com>
9213
9214 * Makefile.in: Rebuilt.
9215 * Makefile.am (awt_java_source_files): Added new files.
9216 * java/beans/ExceptionListener.java: Merged with Classpath.
9217 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9218 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9219 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9220 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9221 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9222 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9223 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9224
9225 2002-07-14 Mark Wielaard <mark@klomp.org>
9226
9227 * gnu/java/security/der/DEREncodingException.java,
9228 gnu/java/security/provider/DERReader.java,
9229 gnu/java/security/provider/DERWriter.java,
9230 gnu/java/security/provider/DSAKeyPairGenerator.java,
9231 gnu/java/security/provider/DSAParameterGenerator.java,
9232 gnu/java/security/provider/DSAParameters.java,
9233 gnu/java/security/provider/DSASignature.java,
9234 gnu/java/security/provider/GnuDSAPrivateKey.java,
9235 gnu/java/security/provider/GnuDSAPublicKey.java,
9236 gnu/java/security/provider/MD5.java,
9237 gnu/java/security/util/Prime.java: New files from Classpath.
9238 * Makefile.am (ordinary_java_source_files): Add new files.
9239 * Makefile.in: Regenerate.
9240
9241 2002-07-14 C. Brian Jones <cbj@gnu.org>
9242
9243 * gnu/java/security/provider/DefaultPolicy.java
9244 (getPermissions): do not maintain static class variable of
9245 Permissions
9246 * gnu/java/security/provider/SHA.java
9247 (engineUpdate): algorithm change
9248 (engineDigest): algorithm change
9249
9250 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9251
9252 For PR libgcj/7292:
9253 * java/lang/Character.java (toString(char)): Now static.
9254
9255 2002-07-12 Mark Wielaard <mark@klomp.org>
9256
9257 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9258 (getStackTrace0): new method.
9259 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9260 (printStackTrace(PrintWriter)): replace with pure java implementation.
9261 (printRawStackTrace): removed.
9262 (getStackTrace0): new method.
9263 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9264 * gcj/javaprims.h: regenerate class list.
9265 * include/name-finder.h (lookup): new returns StackTraceElement*.
9266 (method_name, file_name): fields removed.
9267 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9268 (~_Jv_name_finder): close new descriptors.
9269 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9270 (createStackTraceElement): new method.
9271 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9272
9273 2002-07-10 Tom Tromey <tromey@redhat.com>
9274
9275 * configure: Rebuilt.
9276 * configure.in: Use `test' after `&&'. From Chris Faylor.
9277
9278 2002-07-08 Mark Wielaard <mark@klomp.org>
9279
9280 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9281 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9282 java.sql.DatabaseMetaData.TestJdbc20
9283
9284 2002-07-05 Tony Kimball <alk@pobox.com>
9285
9286 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9287
9288 2002-07-04 Tom Tromey <tromey@redhat.com>
9289 Jeff Sturm <jsturm@one-point.com>
9290
9291 Fix for PR libgcj/7060:
9292 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9293 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9294 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9295 * java/lang/Class.java (getMethod): New Java implementation;
9296 complies with spec.
9297 (_getMethod): New native method.
9298
9299 2002-07-02 Tom Tromey <tromey@redhat.com>
9300 David Hovemeyer <daveho@cs.umd.edu>
9301
9302 * java/text/ChoiceFormat.java
9303 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9304 in check loop.
9305 * java/text/MessageFormat.java
9306 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9307 to MessageFormat.
9308
9309 2002-07-01 Tom Tromey <tromey@redhat.com>
9310
9311 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9312 StringTokenizer on null string. For PR libgcj/7180.
9313 From daveho@cs.umd.edu.
9314
9315 2002-06-24 Tom Tromey <tromey@redhat.com>
9316
9317 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9318 (IntegerClass): Likewise.
9319 * java/lang/natClass.cc (CloneableClass): Removed.
9320 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9321 ConstructorClass): Likewise.
9322 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9323 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9324 SerializableClass): Likewise.
9325 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9326 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9327 LongClass, FloatClass, DoubleClass): Likewise.
9328
9329 * verify.cc (branch_prepass): Updated for change to exception
9330 handler type.
9331 (verify_instructions_0): Likewise.
9332 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9333 (handleExceptionTableEntry): Updated for change to exception
9334 handler type.
9335 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9336 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9337 (union _Jv_InterpPC): New.
9338 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9339 (class _Jv_InterpMethod): Added new `prepared' field.
9340 (class _Jv_InterpMethod): Added `compile' method. Removed
9341 `continue1' and `find_exception'. Changed arguments to `run'.
9342 * interpret.cc (union insn_slot): New.
9343 (find_exception): Removed.
9344 (run_normal): Removed most logic.
9345 (run_synch_object): Likewise; also, use JvSynchronize.
9346 (run_synch_class): Likewise.
9347 (run): Removed.
9348 (continue1): Renamed as `run'. Compile bytecode if required.
9349 Add new code to allow refinement of direct-threaded code at
9350 runtime. Handle exceptions.
9351 (SAVE_PC): Removed.
9352 (compile): New method.
9353 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9354 (NULLARRAYCHECK): Don't use SAVE_PC.
9355 (pc_t): New typedef.
9356 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9357 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9358
9359 2002-06-23 Tom Tromey <tromey@redhat.com>
9360
9361 * configure: Rebuilt.
9362 * configure.in (INTERPRETER): New subst.
9363 (AM_RUNTESTFLAGS): Don't subst.
9364
9365 * Makefile.in: Rebuilt.
9366 * Makefile.am ($(srcdir)/java/lang/Object.h,
9367 $(srcdir)/java/lang/Class.h): Added dummy targets.
9368
9369 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9370
9371 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9372
9373 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9374 java/sql/Savepoint.java: New files.
9375 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9376 java/sql/Blob.java, java/sql/CallableStatement.java,
9377 java/sql/Clob.java, java/sql/Connection.java,
9378 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9379 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9380 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9381 java/sql/Ref.java, java/sql/ResultSet.java,
9382 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9383 java/sql/SQLException.java, java/sql/SQLInput.java,
9384 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9385 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9386 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9387 (JDK 1.4) specification.
9388 * javax/sql/ConnectionEvent.java,
9389 javax/sql/ConnectionEventListener.java,
9390 javax/sql/ConnectionPoolDataSource.java,
9391 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9392 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9393 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9394 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9395 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9396 javax/sql/XADataSource.java: New files.
9397 * Makefile.am: Add new files.
9398 * Makefile.in: Rebuilt.
9399
9400 2002-06-20 Tom Tromey <tromey@redhat.com>
9401
9402 For PR libgcj/7073:
9403 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9404 exists.
9405 * defineclass.cc (handleClassBegin): Superclass for interface is
9406 `null'.
9407
9408 2002-06-18 Tom Tromey <tromey@redhat.com>
9409
9410 * gcj/javaprims.h: Updated class declaration list.
9411 * Makefile.in: Rebuilt.
9412 * Makefile.am (core_java_source_files): Removed
9413 BasicMapEntry.java.
9414 * java/util/BasicMapEntry.java: Removed.
9415
9416 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9417
9418 * java/net/natPlainDatagramSocketImpl.cc (receive):
9419 Check bounds of argument to FD_SET.
9420 (setOption): Throw exception if socket is closed.
9421
9422 * java/net/natPlainSocketImpl.cc (accept, read):
9423 Check bounds of argument to FD_SET.
9424 (setOption): Throw exception if socket is closed.
9425
9426 2002-06-18 Tom Tromey <tromey@redhat.com>
9427
9428 * gcj/javaprims.h: Updated class declaration list.
9429 * Makefile.in: Rebuilt.
9430 * Makefile.am (core_java_source_files): Added
9431 PropertyPermissionCollection.java.
9432 * java/lang/Thread.java (group, name): Now package-private.
9433 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9434 * java/util/AbstractList.java: Likewise.
9435 * java/util/AbstractMap.java: Likewise.
9436 * java/util/Calendar.java: Likewise.
9437 * java/util/Collections.java: Likewise.
9438 * java/util/HashMap.java: Likewise.
9439 * java/util/Hashtable.java: Likewise.
9440 * java/util/LinkedHashMap.java: Likewise.
9441 * java/util/LinkedList.java: Likewise.
9442 * java/util/List.java: Likewise.
9443 * java/util/ListResourceBundle.java: Likewise.
9444 * java/util/Map.java: Likewise.
9445 * java/util/Observable.java: Likewise.
9446 * java/util/Properties.java: Likewise.
9447 * java/util/PropertyPermission.java: Likewise.
9448 * java/util/PropertyPermissionCollection.java: Likewise.
9449 * java/util/PropertyResourceBundle.java: Likewise.
9450 * java/util/Random.java: Likewise.
9451 * java/util/SimpleTimeZone.java: Likewise.
9452 * java/util/StringTokenizer.java: Likewise.
9453 * java/util/TimerTask.java: Likewise.
9454 * java/util/TreeMap.java: Likewise.
9455 * java/util/WeakHashMap.java: Likewise.
9456 * java/util/jar/Attributes.java: Likewise.
9457 * java/util/jar/JarException.java: Likewise.
9458 * java/util/jar/Manifest.java: Likewise.
9459
9460 2002-06-17 Tom Tromey <tromey@redhat.com>
9461
9462 * gcj/javaprims.h: Updated class declaration list.
9463 * Makefile.in: Rebuilt.
9464 * Makefile.am (core_java_source_files): Added new file.
9465 * java/util/EventListenerProxy.java: New file.
9466 * java/util/EventListener.java: Re-merge with Classpath.
9467 * java/util/EventObject.java: Re-merge with Classpath.
9468
9469 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9470
9471 * java/lang/ClassNotFoundException.java: New Classpath version.
9472
9473 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9474
9475 * java/rmi/activation/ActivateFailedException.java: Remerge from
9476 Classpath version.
9477 * java/rmi/activation/ActivationException.java: Ditto.
9478 * java/rmi/activation/UnknownGroupException.java: Ditto.
9479 * java/rmi/activation/UnknownObjectException.java: Ditto.
9480 * java/rmi/server/ExportException: Ditto.
9481 * java/rmi/server/ServerCloneException: Ditto.
9482 * java/rmi/server/ServerNotActiveException: Ditto.
9483 * java/rmi/server/SkeletonMismatchException: Ditto.
9484 * java/rmi/server/SkeletonNotFoundException: Ditto.
9485 * java/rmi/server/SocketSecurityException: Ditto.
9486
9487 2002-06-16 Tom Tromey <tromey@redhat.com>
9488
9489 * gcj/javaprims.h: Updated class declaration list.
9490
9491 * java/io/LineNumberInputStream.java: Merged with Classpath.
9492
9493 * java/lang/RuntimeException.java: Re-merge with Classpath.
9494 * java/util/ArrayList.java: Likewise.
9495 * java/util/Arrays.java: Likewise.
9496 * java/util/BitSet.java: Likewise.
9497 * java/util/Dictionary.java: Likewise.
9498 * java/util/IdentityHashMap.java: Likewise.
9499 * java/util/MissingResourceException.java: Likewise.
9500 * java/util/Observer.java: Likewise.
9501 * java/util/TooManyListenersException.java: Likewise.
9502 * java/util/zip/DataFormatException.java: Likewise.
9503 * java/util/zip/ZipException.java: Likewise.
9504
9505 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9506
9507 * java/rmi/AccessException.java: Remerge from Classpath.
9508 * java/rmi/AlreadyBoundException.java: Ditto.
9509 * java/rmi/ConnectException.java: Ditto.
9510 * java/rmi/ConnectIOException.java: Ditto.
9511 * java/rmi/MarshalException.java: Ditto.
9512 * java/rmi/NoSuchObjectException.java: Ditto.
9513 * java/rmi/NotBoundException.java: Ditto.
9514 * java/rmi/RemoteException.java: Ditto.
9515 * java/rmi/RMISecurityException.java: Ditto.
9516 * java/rmi/ServerError.java: Ditto.
9517 * java/rmi/ServerException.java: Ditto.
9518 * java/rmi/ServerRuntimeException.java: Ditto.
9519 * java/rmi/StubNotFoundException.java: Ditto.
9520 * java/rmi/UnexpectedExcpetion.java: Ditto.
9521 * java/rmi/UnknownHostException.java: Ditto.
9522 * java/rmi/UnmarshalException.java: Ditto.
9523
9524 2002-06-15 Tom Tromey <tromey@redhat.com>
9525
9526 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9527 * java/lang/ArithmeticException.java: Likewise.
9528 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9529 * java/lang/ArrayStoreException.java: Likewise.
9530 * java/lang/Byte.java: Likewise.
9531 * java/lang/CharSequence.java: Likewise.
9532 * java/lang/ClassCastException.java: Likewise.
9533 * java/lang/ClassCircularityError.java: Likewise.
9534 * java/lang/ClassFormatError.java: Likewise.
9535 * java/lang/CloneNotSupportedException.java: Likewise.
9536 * java/lang/Cloneable.java: Likewise.
9537 * java/lang/Comparable.java: Likewise.
9538 * java/lang/Compiler.java: Likewise.
9539 * java/lang/Error.java: Likewise.
9540 * java/lang/ExceptionInInitializerError.java: Likewise.
9541 * java/lang/IllegalAccessError.java: Likewise.
9542 * java/lang/IllegalAccessException.java: Likewise.
9543 * java/lang/IllegalArgumentException.java: Likewise.
9544 * java/lang/IllegalMonitorStateException.java: Likewise.
9545 * java/lang/IllegalStateException.java: Likewise.
9546 * java/lang/IllegalThreadStateException.java: Likewise.
9547 * java/lang/IncompatibleClassChangeError.java: Likewise.
9548 * java/lang/IndexOutOfBoundsException.java: Likewise.
9549 * java/lang/InheritableThreadLocal.java: Likewise.
9550 * java/lang/InstantiationError.java: Likewise.
9551 * java/lang/InstantiationException.java: Likewise.
9552 * java/lang/InternalError.java: Likewise.
9553 * java/lang/InterruptedException.java: Likewise.
9554 * java/lang/LinkageError.java: Likewise.
9555 * java/lang/NegativeArraySizeException.java: Likewise.
9556 * java/lang/NoClassDefFoundError.java: Likewise.
9557 * java/lang/NoSuchFieldError.java: Likewise.
9558 * java/lang/NoSuchFieldException.java: Likewise.
9559 * java/lang/NoSuchMethodError.java: Likewise.
9560 * java/lang/NoSuchMethodException.java: Likewise.
9561 * java/lang/NullPointerException.java: Likewise.
9562 * java/lang/NumberFormatException.java: Likewise.
9563 * java/lang/OutOfMemoryError.java: Likewise.
9564 * java/lang/Process.java: Likewise.
9565 * java/lang/Runnable.java: Likewise.
9566 * java/lang/RuntimePermission.java: Likewise.
9567 * java/lang/SecurityException.java: Likewise.
9568 * java/lang/Short.java: Likewise.
9569 * java/lang/StackOverflowError.java: Likewise.
9570 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9571 * java/lang/ThreadDeath.java: Likewise.
9572 * java/lang/ThreadLocal.java: Likewise.
9573 * java/lang/UnknownError.java: Likewise.
9574 * java/lang/UnsatisfiedLinkError.java: Likewise.
9575 * java/lang/UnsupportedClassVersionError.java: Likewise.
9576 * java/lang/UnsupportedOperationException.java: Likewise.
9577 * java/lang/VerifyError.java: Likewise.
9578 * java/lang/VirtualMachineError.java: Likewise.
9579 * java/lang/reflect/InvocationTargetException.java: Likewise.
9580 * java/net/BindException.java: Likewise.
9581 * java/net/ConnectException.java: Likewise.
9582 * java/net/MalformedURLException.java: Likewise.
9583 * java/net/NoRouteToHostException.java: Likewise.
9584 * java/net/ProtocolException.java: Likewise.
9585 * java/net/SocketException.java: Likewise.
9586 * java/net/UnknownHostException.java: Likewise.
9587 * java/net/UnknownServiceException.java: Likewise.
9588
9589 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9590 * java/io/CharConversionException.java: Likewise.
9591 * java/io/EOFException.java: Likewise.
9592 * java/io/FileNotFoundException.java: Likewise.
9593 * java/io/IOException.java: Likewise.
9594 * java/io/InterruptedIOException.java: Likewise.
9595 * java/io/InvalidClassException.java: Likewise.
9596 * java/io/InvalidObjectException.java: Likewise.
9597 * java/io/NotActiveException.java: Likewise.
9598 * java/io/NotSerializableException.java: Likewise.
9599 * java/io/ObjectStreamException.java: Likewise.
9600 * java/io/ObjectStreamConstants.java: Likewise.
9601 * java/io/OptionalDataException.java: Likewise.
9602 * java/io/PipedInputStream.java: Likewise.
9603 * java/io/PushbackInputStream.java: Likewise.
9604 * java/io/StreamCorruptedException.java: Likewise.
9605 * java/io/SyncFailedException.java: Likewise.
9606 * java/io/UTFDataFormatException.java: Likewise.
9607 * java/io/UnsupportedEncodingException.java: Likewise.
9608 * java/io/WriteAbortedException.java: Likewise.
9609
9610 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9611
9612 * java/text/ChoiceFormat.java: Update comments from Classpath.
9613 * java/text/ParseException.java (serialVersionUID): New
9614 field from Classpath.
9615 * java/text/ParseException.java: Update formatting & comments
9616 from Classpath.
9617
9618 2002-06-15 Tom Tromey <tromey@redhat.com>
9619
9620 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9621 been read but none output by inflater.
9622 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9623 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9624 is_finished.
9625 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9626 version.
9627 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9628 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9629 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9630 version.
9631 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9632
9633 2002-06-13 Tom Tromey <tromey@redhat.com>
9634
9635 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9636 true and OFFSET!=0.
9637 * java/lang/String.java (String(char[],int,int,boolean): New
9638 constructor.
9639 * java/lang/Long.java: Imported new version from Classpath.
9640 * java/lang/Number.java: Likewise.
9641 * java/lang/Integer.java: Likewise.
9642 * java/lang/Long.java: Likewise.
9643 * java/lang/Float.java: Likewise.
9644 * java/lang/Boolean.java: Likewise.
9645 * java/lang/Double.java: Likewise.
9646 * java/lang/Void.java: Likewise.
9647
9648 2002-06-12 Tom Tromey <tromey@redhat.com>
9649
9650 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9651 Fixes PR libgcj/6652.
9652
9653 2002-06-10 Tom Tromey <tromey@redhat.com>
9654
9655 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9656 (Class::getPackagePortion): Likewise.
9657 * java/lang/Class.java (desiredAssertionStatus): New method from
9658 Classpath.
9659 (getPackagePortion): Likewise.
9660 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9661 packageAssertionStatus, classAssertionStatus): New methods from
9662 Classpath.
9663 * java/lang/ClassLoader.java (defaultAssertionStatus,
9664 systemPackageAssertionStatus, packageAssertionStatus,
9665 systemClassAssertionStatus, classAssertionStatus): New fields from
9666 Classpath.
9667 (setDefaultAssertionStatus, setPackageAssertionStatus,
9668 setClassAssertionStatus, clearAssertionStatus): New methods from
9669 Classpath.
9670 * Makefile.in: Rebuilt.
9671 * Makefile.am (core_java_source_files): Added AssertionError.java.
9672 * java/lang/AssertionError.java: New from Classpath.
9673
9674 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9675
9676 * configure.host: Disable hash synchronization and slow_pthread_self
9677 for cygwin.
9678
9679 2002-06-06 Adam Megacz <adam@xwt.org>
9680
9681 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9682 locking, just like the Sun JVM does.
9683
9684 2002-06-05 H.J. Lu (hjl@gnu.org)
9685
9686 * Makefile.am (libgcj_convenience.la): Revert the last change.
9687 (libgcj.la): Likewise.
9688 * Makefile.in: Regenerated.
9689
9690 2002-06-04 H.J. Lu (hjl@gnu.org)
9691
9692 * Makefile.am (libgcj_convenience.la): New target.
9693 (libgcj.la): Depend on libgcj_convenience.la.
9694 * Makefile.in: Regenerated.
9695
9696 2002-06-04 H.J. Lu (hjl@gnu.org)
9697
9698 * configure.in (--with-newlib): New option:
9699 Check ${with_newlib} instead of ${with_cross_host} for newlib.
9700 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9701 Linux.
9702 * configure: Regenerated.
9703
9704 2002-06-04 Tom Tromey <tromey@redhat.com>
9705
9706 * java/util/natTimeZone.cc: Include <stdio.h>.
9707
9708 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
9709
9710 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9711 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9712 Set SIGNAL_HANDLER=include/s390-linux.h.
9713 * configure: Regenerate.
9714 * include/s390-linux.h: New file.
9715
9716 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9717
9718 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9719 not "stackTrace".
9720
9721 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9722
9723 Merge JDK 1.4 java.security changes from classpath.
9724
9725 * java/security/AccessControlException.java: Merge from Classpath.
9726 * java/security/AccessController.java: Likewise.
9727 * java/security/AllPermission.java: Likewise.
9728 * java/security/BasicPermission.java: Likewise.
9729 * java/security/Certificate.java: Likewise.
9730 * java/security/CodeSource.java: Likewise.
9731 * java/security/DigestException.java: Likewise.
9732 * java/security/DigestOutputStream.java: Likewise.
9733 * java/security/DomainCombiner.java: Likewise.
9734 * java/security/GeneralSecurityException.java: Likewise.
9735 * java/security/Guard.java: Likewise.
9736 * java/security/GuardedObject.java: Likewise.
9737 * java/security/InvalidAlgorithmParameterException.java: Likewise.
9738 * java/security/InvalidKeyException.java: Likewise.
9739 * java/security/InvalidParameterException.java: Likewise.
9740 * java/security/Key.java: Likewise.
9741 * java/security/KeyException.java: Likewise.
9742 * java/security/KeyManagementException.java: Likewise.
9743 * java/security/KeyStoreException.java: Likewise.
9744 * java/security/MessageDigest.java: Likewise.
9745 * java/security/NoSuchAlgorithmException.java: Likewise.
9746 * java/security/NoSuchProviderException.java: Likewise.
9747 * java/security/Permission.java: Likewise.
9748 * java/security/PermissionCollection.java: Likewise.
9749 * java/security/Permissions.java: Likewise.
9750 * java/security/Policy.java: Likewise.
9751 * java/security/Principal.java: Likewise.
9752 * java/security/PrivateKey.java: Likewise.
9753 * java/security/PrivilegedAction.java: Likewise.
9754 * java/security/PrivilegedActionException.java: Likewise.
9755 * java/security/PrivilegedExceptionAction.java: Likewise.
9756 * java/security/ProtectionDomain.java: Likewise.
9757 * java/security/ProviderException.java: Likewise.
9758 * java/security/PublicKey.java: Likewise.
9759 * java/security/SecureClassLoader.java: Likewise.
9760 * java/security/SecurityPermission.java: Likewise.
9761 * java/security/SignatureException.java: Likewise.
9762 * java/security/UnrecoverableKeyException.java: Likewise.
9763 * java/security/UnresolvedPermission.java: Likewise.
9764 * java/security/acl/AclNotFoundException.java: Likewise.
9765 * java/security/acl/LastOwnerException.java: Likewise.
9766 * java/security/acl/NotOwnerException.java: Likewise.
9767 * java/security/cert/CRLException.java: Likewise.
9768 * java/security/cert/CertificateEncodingException.java: Likewise.
9769 * java/security/cert/CertificateException.java: Likewise.
9770 * java/security/cert/CertificateExpiredException.java: Likewise.
9771 * java/security/cert/CertificateFactory.java: Likewise.
9772 * java/security/cert/CertificateNotYetValidException.java: Likewise.
9773 * java/security/cert/CertificateParsingException.java: Likewise.
9774 * java/security/spec/InvalidKeySpecException.java: Likewise.
9775 * java/security/spec/InvalidParameterSpecException.java: Likewise.
9776
9777 * java/security/cert/CertPath.java: New file.
9778 * java/security/cert/CertPathBuilderException.java: New file.
9779 * java/security/cert/CertPathValidatorException.java: New file.
9780 * java/security/cert/CertStoreException.java: New file.
9781
9782 * Makefile.am: Add new CertPath classes.
9783 * Makefile.in: Rebuilt.
9784
9785 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9786
9787 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9788
9789 Merge JDK 1.4 exception chaining support from classpath.
9790
9791 * java/lang/Throwable.java: Merge 1.4 support from classpath.
9792 (stackTraceBytes): Rename from stackTrace.
9793 * java/lang/Exception.java: Merge from classpath.
9794 * java/lang/StackTraceElement: New file from classpath.
9795 * gcj/javaprims.h: Rebuild CNI namespace declarations.
9796 * Makefile.am: Add StackTraceElement.
9797 * Makefile.in: Rebuilt.
9798
9799 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9800
9801 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9802 they build first.
9803 * Makefile.in: Rebuilt.
9804
9805 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9806
9807 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9808 * configure.in: Likewise.
9809 * aclocal.m4: Regenerate.
9810 * configure: Regenerate.
9811
9812 2002-05-13 Tom Tromey <tromey@redhat.com>
9813
9814 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9815 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9816 Include platform.h.
9817
9818 Fixes PR libgcj/6389:
9819 * Makefile.in: Rebuilt.
9820 * Makefile.am (nat_source_files): Added natTimeZone.cc.
9821 * java/util/natTimeZone.cc: New file.
9822 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9823 * java/lang/System.java: Merged with Classpath.
9824 * java/lang/Runtime.java: Merged with Classpath.
9825 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9826 security check.
9827 (setIn0): Renamed from setIn; don't run security check.
9828 (setOut0): Renamed from setOut; don't run security check.
9829 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9830 init_properties): Moved to natRuntime.cc.
9831 Moved many includes to natRuntime.cc.
9832 (isWordsBigEndian): New method.
9833 * java/lang/natRuntime.cc: Include Long.h, also other includes
9834 previously in natSystem.cc.
9835 (maxMemory): New function.
9836 (exitInternal): Renamed from `_exit'.
9837 (exit): Removed.
9838 (init): Don't set finalize_on_exit.
9839 (exitInternal): Use `finalizeOnExit'.
9840 (file_encoding, getpwuid_adaptor): New functions from
9841 natSystem.cc.
9842 (insertSystemProperties): New method, renamed from
9843 System::init_properties. Don't set user.timezone.
9844 (_load): Don't call checkLink.
9845 (execInternal): New method.
9846 (availableProcessors): Likewise.
9847 (nativeGetLibname): Likewise.
9848
9849 2002-05-11 Mark Wielaard <mark@klomp.org>
9850
9851 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9852 space characters.
9853 (previous_internal): Likewise.
9854
9855 2002-05-09 Tom Tromey <tromey@redhat.com>
9856
9857 * jni.cc (_Jv_JNIFunctions): Fixed typo.
9858
9859 * java/util/ResourceBundle.java: New version from Classpath.
9860 * java/util/Locale.java: Likewise.
9861
9862 2002-05-09 Jakub Jelinek <jakub@redhat.com>
9863
9864 * testsuite/lib/libjava.exp (libjava_arguments): Append all
9865 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9866 LD_LIBRARY_PATH.
9867
9868 2002-05-08 Mark Mitchell <mark@codesourcery.com>
9869
9870 * libjava/Makefile.am (all_java_source_files): New variable.
9871 (all_java_class_files): Likewise.
9872 .java.class: New rule.
9873 (CLEANFILES): Remove tmp-list.
9874 * libjava/Makefile.in: Regenerated.
9875
9876 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
9877
9878 * testsuite/lib/libjava.exp (test_libjava_from_javac):
9879 Append .exe to executable names. Fix for cygwin.
9880
9881 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
9882
9883 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9884 script entry, and set LD to it when configuring multilibs.
9885 * configure: Rebuilt.
9886
9887 2002-05-07 Tom Tromey <tromey@redhat.com>
9888
9889 * java/lang/natString.cc (unintern): Fixed typo.
9890
9891 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9892
9893 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9894 with -no-install on *-*-cygwin*.
9895
9896 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9897
9898 * testsuite/lib/libjava.exp (test_libjava_from_source):
9899 Add comment explaining last patch
9900
9901 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
9902
9903 * testsuite/lib/libjava.exp (test_libjava_from_source):
9904 Append .exe to executable names. If no suffix is present,
9905 then ".exe" is added by default on win32. Harmless
9906 elsewhere so always do it.
9907
9908 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
9909 Tom Tromey <tromey@redhat.com>
9910
9911 * java/lang/natSystem.cc (getSystemTimeZone): Use
9912 HAVE_UNDERSCORE_TIMEZONE.
9913 * include/config.h.in: Rebuilt.
9914 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9915 * aclocal.m4, configure: Rebuilt.
9916 * acinclude.m4: Run AC_EXEEXT.
9917 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9918 Add test for `_timezone'.
9919
9920 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
9921
9922 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9923 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9924 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9925 * Makefile.in: Rebuilt.
9926
9927 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
9928
9929 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9930 use sigaction instead of __libc_sigaction.
9931
9932 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9933
9934 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9935 (libjava_init): Use it to find libgcj.spec.
9936 (libjava_arguments): Likewise.
9937
9938 2002-05-02 David S. Miller <davem@redhat.com>
9939
9940 PR bootstrap/6525
9941 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9942 __libc_sigaction on Sparc.
9943
9944 2002-05-02 Jerome Marc <marcjero@yahoo.com>
9945
9946 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9947 sys/filio.h, if present.
9948
9949 2002-04-30 Tom Tromey <tromey@redhat.com>
9950
9951 * java/io/BufferedReader.java (fill): Handle case where markPos
9952 point to ignored \n. Fixes PR libgcj/6301.
9953
9954 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
9955
9956 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9957
9958 2002-04-29 Adam King <aking@dreammechanics.com>
9959
9960 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9961 of file in APPEND mode.
9962
9963 2002-04-25 David S. Miller <davem@redhat.com>
9964
9965 PR target/6422
9966 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9967 program counter to next program counter minus 8. Update
9968 comments in this macro to explain why.
9969
9970 2002-04-26 Tom Tromey <tromey@redhat.com>
9971
9972 * verify.cc (construct_primitive_array_type) [void_type]: New
9973 case.
9974 (branch_prepass): Added dummy entries for unused instruction
9975 values.
9976 (verify_instructions_0): Likewise.
9977 * interpret.cc (continue1): Comment fix.
9978 * include/java-insns.h (op_xxxunusedxxx1): Removed.
9979 * Makefile.in: Rebuilt.
9980 * Makefile.am: Added -Wswitch-enum.
9981
9982 2002-04-24 Tom Tromey <tromey@redhat.com>
9983
9984 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9985 correct length of UTF-8 encoded name. Strip leading `/'.
9986 (_Jv_RegisterResource): Use _Jv_Malloc.
9987
9988 2002-04-23 Adam Megacz <adam@xwt.org>
9989
9990 * win32.cc, include/win32.cc (backtrace): Added this function
9991 because Win32 does not supply it.
9992
9993 2002-04-21 David S. Miller <davem@redhat.com>
9994
9995 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9996 magic instruction reading sequence.
9997
9998 2002-04-21 Mark Wielaard <mark@klomp.org>
9999
10000 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10001
10002 2002-04-19 David S. Miller <davem@redhat.com>
10003
10004 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10005 arg.
10006 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10007 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10008 on Sparc too.
10009 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10010 for 64-bit sparc.
10011 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10012 * sysdeps/sparc/locks.h: New file.
10013 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10014 on all sparc Solaris configurations. Set to
10015 include/dwarf2-signal.h on sparc Linux.
10016 * configure: Regenerate
10017 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10018
10019 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10020
10021 * configure: Rebuilt.
10022 * configure.in (backtrace): Function doesn't work on IA-64.
10023
10024 2002-04-17 Adam King <aking@dreammechanics.com>
10025
10026 * java/io/File.java (normalizePath): Add Win32 support for auto
10027 conversion of a '/' path separator to Win32's '\' separator.
10028
10029 2002-04-16 Tom Tromey <tromey@redhat.com>
10030
10031 Fix for PR libgcj/6081:
10032 * Makefile.in: Rebuilt.
10033 * Makefile.am (install-data-local): Use GNU make trick to avoid
10034 shell limit.
10035
10036 2002-04-16 Adam King <aking@dreammechanics.com>
10037 Tom Tromey <tromey@redhat.com>
10038
10039 * java/io/natFileWin32.cc (performList): Return the correct array
10040 type. Don't duplicate the creation of a File since it's already
10041 done earlier in the method and the existing code would cause a
10042 ArrayStoreException. Don't use fixed-size array.
10043 (_access, _stat, attr, getCanonicalPath, performMkdir,
10044 performRenameTo): Don't use fixed-size array.
10045 (getCanonicalPath): Use throw, not _Jv_Throw.
10046
10047 2002-04-15 DJ Delorie <dj@redhat.com>
10048
10049 * configure.in: Allow building in $srcdir.
10050 * configure: Regenerated.
10051
10052 2002-04-14 Mark Wielaard <mark@klomp.org>
10053
10054 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10055 * java/net/natSocketImpl.cc (close): Likewise.
10056
10057 2002-04-14 Mark Wielaard <mark@klomp.org>
10058
10059 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10060
10061 2002-04-13 Adam King <aking@dreammechanics.com>
10062
10063 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10064 the f/F/d/D modifiers.
10065
10066 2002-04-12 Anthony Green <green@redhat.com>
10067
10068 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10069 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10070 * Makefile.in: Rebuilt.
10071 * configure.in: Substitute gcc_version.
10072 * configure: Rebuilt.
10073
10074 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10075
10076 * configure.host: Set can_unwind_signal on hosts which support it.
10077 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10078 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10079 exceptions and can_unwind_signal isn't set.
10080 * configure: Rebuilt.
10081
10082 2002-04-11 Tom Tromey <tromey@redhat.com>
10083
10084 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10085
10086 2002-04-11 Adam King <aking@dreammechanics.com>
10087 Tom Tromey <tromey@redhat.com>
10088
10089 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10090 _Jv_ThrowNullPointerException): Mark as noreturn.
10091 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10092 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10093 fixes.
10094
10095 2002-04-10 Tom Tromey <tromey@redhat.com>
10096
10097 * Makefile.in: Rebuilt.
10098 * Makefile.am (java/lang/Thread.h): Mark
10099 _Jv_AttachCurrentThreadAsDaemon as friend.
10100 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10101 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10102 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10103 function.
10104 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10105 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10106 (_Jv_JNI_InvokeFunctions): Added
10107 _Jv_JNI_AttachCurrentThreadAsDaemon.
10108 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10109 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10110 (JNI_CreateJavaVM): Likewise.
10111 (_Jv_JNI_AttachCurrentThread): Likewise.
10112 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10113 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10114 (_Jv_JNIFunctions): Initialize new fields.
10115 (_Jv_JNI_NewDirectByteBuffer): New function.
10116 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10117 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10118 * include/jni.h (JNI_VERSION_1_4): New macro.
10119 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10120 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10121 (JNINativeInterface::NewDirectByteBuffer): New field.
10122 (JNINativeInterface::GetDirectBufferAddress): New field.
10123 (JNINativeInterface::GetDirectBufferCapacity): New field.
10124 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10125 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10126 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10127
10128 2002-04-09 Tom Tromey <tromey@redhat.com>
10129
10130 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10131
10132 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10133
10134 Fix for PR libgcj/6187:
10135 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10136 distance.
10137
10138 2002-04-07 Mark Wielaard <mark@klomp.org>
10139
10140 * java/util/AbstractMap.java (putAll): Use entrySet size.
10141 (toString): Explicitly use getKey() and getValue().
10142
10143 2002-04-07 Mark Wielaard <mark@klomp.org>
10144
10145 * java/util/Hashtable.java (contains): Remove NullPointer check.
10146 (containsValue): Add NullPointer check.
10147 (remove): Always throw NullPointerException when key
10148 is null.
10149
10150 2002-04-07 Adam King <aking@dreammechanics.com>
10151
10152 * java/lang/natSystem.cc (init_properties): Call new function
10153 _Jv_platform_initProperties.
10154 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10155 support for the System properties os.name, os.arch, os.version,
10156 user.name, user.home, and user.dir.
10157 * include/posix.h, include/win32.h, posix.cc: New function
10158 _Jv_platform_initProperties.
10159
10160 2002-04-06 Mark Wielaard <mark@klomp.org>
10161
10162 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10163
10164 2002-04-06 Mark Wielaard <mark@klomp.org>
10165
10166 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10167 all of the remaining elements.
10168 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10169 (removeRange): If toIndex == fromIndex do
10170 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10171 (removeAll): Always throw NullPointerException when collection is
10172 null.
10173 (retrainAll): Likewise.
10174
10175 2002-04-05 Mark Wielaard <mark@klomp.org>
10176
10177 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10178 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10179
10180 2002-04-05 Adam Megacz <adam@xwt.org>
10181
10182 * exception.cc (abort): added static modifier
10183
10184 2002-04-04 Adam Megacz <adam@xwt.org>
10185
10186 * include/win32.h (_Jv_platform_close_on_exec): added inline
10187 modifier.
10188
10189 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10190
10191 * configure.host: Add case statement to support generic port
10192 properties. Add *-*-freebsd* section.
10193
10194 2002-04-04 Mark Wielaard <mark@klomp.org>
10195
10196 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10197 test.
10198 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10199 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10200 that depend on awt code and BufferedByteOutputStream.interrupt.
10201
10202 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10203
10204 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10205 incorrect "hi" value when count > 40.
10206
10207 2002-04-03 Mark Wielaard <mark@klomp.org>
10208
10209 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10210 ordering.
10211
10212 2002-04-02 Tom Tromey <tromey@redhat.com>
10213
10214 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10215 not `0'.
10216
10217 2002-04-02 Mark Wielaard <mark@klomp.org>
10218
10219 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10220 list of testsuite crashers.
10221
10222 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10223
10224 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10225 when resizing table.
10226
10227 2002-04-01 Mark Wielaard <mark@klomp.org>
10228
10229 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10230 NegativeArraySizeException
10231 (clear(int)): Use sign extended shift.
10232 (flip(int)): Likewise.
10233 (get(int)): Likewise.
10234 (nextClearBit(int)): Likewise.
10235 (nextSetBit(int)): Likewise.
10236 (set(int)): Likewise.
10237
10238 2002-04-01 Mark Wielaard <mark@klomp.org>
10239
10240 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10241 that can be compiled now and add testsuite crashers to ignore list.
10242
10243 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10244
10245 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10246
10247 * libgcj.spec.in: Override libgcc, not lib.
10248 * libgcj-test.spec.in: Likewise.
10249
10250 2002-03-29 Tom Tromey <tromey@redhat.com>
10251
10252 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10253 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10254
10255 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10256
10257 * java/net/PlainDatagramSocketImpl.java
10258 (close): Use native implementation.
10259 (finalize): New method.
10260
10261 * java/net/PlainSocketImpl.java (finalize): New method.
10262
10263 * java/net/natPlainDatagramSocketImpl.cc
10264 (java/io/FileDescriptor.h): Don't include.
10265 (close): Implement method here.
10266 (create): Don't assign fd.
10267
10268 * java/net/natPlainSocketImpl.cc
10269 (java/io/FileDescriptor.h): Don't include.
10270 (create): Don't assign fd.
10271 (accept): Likewise.
10272 (close): Synchronize.
10273
10274 2002-03-27 Richard Henderson <rth@redhat.com>
10275
10276 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10277
10278 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10279
10280 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10281 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10282 instead of syscall on IA-64.
10283 Add FIXME comment.
10284
10285 2002-03-27 Anthony Green <green@redhat.com>
10286
10287 * libgcj.spec.in: Add CHECKREFSPEC.
10288 * configure.in: Ditto.
10289 * configure.host: Ditto. Check references for xscale-elf.
10290 * configure: Rebuilt.
10291
10292 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10293
10294 * include/dwarf2-signal.h: Temporarily back out last change.
10295
10296 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10297
10298 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10299
10300 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10301
10302 * configure.in, configure: enable dwarf2-exception-style
10303 exception handling on IA-64.
10304 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10305 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10306 Add FIXME comment.
10307
10308 2002-03-25 Tom Tromey <tromey@redhat.com>
10309
10310 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10311 (jv_convert_LDFLAGS): Likewise.
10312 (gij_LDFLAGS): Likewise.
10313 (rmic_LDFLAGS): Likewise.
10314 (rmiregistry_LDFLAGS): Likewise.
10315 * configure.in (THREADLDFLAGS): New subst; set correctly for
10316 *BSD.
10317
10318 2002-03-25 Tom Tromey <tromey@redhat.com>
10319
10320 For PR libgcj/5303:
10321 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10322 and --version.
10323 (help): New method.
10324 (version): Likewise.
10325 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10326 "GNU".
10327 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10328 "GNU".
10329
10330 2002-03-25 Tom Tromey <tromey@redhat.com>
10331
10332 * java/awt/Component.java (processEvent): Check ComponentEvent
10333 after KeyEvent.
10334
10335 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10336
10337 * java/io/PushbackReader.java: Reformat.
10338
10339 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10340 calculate correct number of bytes skipped.
10341
10342 Based on patch from Intel's ORP team:
10343 * java/io/PushbackInputStream.java (available): Calculate correct
10344 number of bytes in buffer.
10345 (read): Remove redundant bound check. Return bytes from both the
10346 buffer and the stream.
10347
10348 2002-03-24 Tom Tromey <tromey@redhat.com>
10349
10350 * java/awt/TextComponent.java (TextComponent): Editable by
10351 default.
10352
10353 * java/awt/MenuItem.java (eventMask): No longer private.
10354 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10355 superclass if we didn't handle event.
10356 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10357 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10358 * java/awt/Choice.java (dispatchEventImpl): New method.
10359 * java/awt/List.java (dispatchEventImpl): New method.
10360 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10361 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10362 * java/awt/TextField.java (dispatchEventImpl): New method.
10363
10364 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10365
10366 * java/beans/IntrospectionException.java: Update to 1.4.
10367 * java/beans/PropertyVetoException.java: Ditto.
10368
10369 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10370
10371 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10372 Arrays.equals instead of ArrayHelper.equalsArray.
10373
10374 2002-03-24 C. Brian Jones <cbj@gnu.org>
10375
10376 * java/beans/Introspector.java: added new static final fields
10377 introduced in 1.2, lots of other updates remain to be done
10378
10379 2002-03-24 C. Brian Jones <cbj@gnu.org>
10380
10381 * java/beans/Introspector.java: reformatting
10382
10383 2002-03-24 C. Brian Jones <cbj@gnu.org>
10384
10385 * java/beans/Introspector.java: default beanInfoSearchPath will
10386 not include sun.beans.infos given we provide no such package and
10387 the API doesn't really require it; gnu.java.beans.info is the
10388 default.
10389
10390 2002-03-24 Mark Wielaard <mark@klomp.org>
10391
10392 Thanks to Orp developers
10393 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10394 switch TRUE and FALSE return values.
10395
10396 2002-03-23 Tom Tromey <tromey@redhat.com>
10397
10398 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10399 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10400
10401 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10402
10403 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10404 MONTH entry. Fixes PR libgcj/6045.
10405
10406 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10407
10408 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10409
10410 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10411
10412 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10413 not release_set.
10414 * sysdep/powerpc/locks.h (write_barrier): New function.
10415 * sysdep/i386/locks.h (write_barrier): New function.
10416
10417 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10418
10419 * include/jni.h Use correct C comments.
10420
10421 2002-03-18 Tom Tromey <tromey@redhat.com>
10422
10423 * include/jni.h (JNIIMPORT): New macro.
10424 (JNIEXPORT): Likewise.
10425 (JNICALL): Likewise.
10426
10427 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10428
10429 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10430 systems.
10431
10432 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10433
10434 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10435 INIT_SEGV: Use old_i386_kernel_sigaction.
10436 INIT_FP: Likewise.
10437
10438 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10439
10440 * java/lang/natSystem.cc (init_properties): Update VM version
10441 properties.
10442 * configure.in: Set GCJVERSION.
10443 * acconfig.h: Add GCJVERSION.
10444 * configure: Rebuilt.
10445 * include/config.h.in: Rebuilt.
10446
10447 2002-03-17 Anthony Green <green@redhat.com>
10448
10449 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10450
10451 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10452
10453 Build a single libgcj.so, without separate gc and zlib libraries.
10454 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10455 SYS_ZLIBS if system zlib is used.
10456 * configure: Rebuilt.
10457 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10458 * Makefile.in: Rebuilt.
10459 * libtool-version: Increment .so version number.
10460
10461 * Makefile.am: Escape quotes in echo.
10462 * Makefile.in: Rebuilt.
10463
10464 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10465
10466 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10467 * Makefile.in: Rebuilt.
10468
10469 2002-03-15 Anthony Green <green@redhat.com>
10470
10471 * configure.host (FILE): New macro for specifing File
10472 implementation.
10473 * configure: Rebuilt.
10474 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10475
10476 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10477
10478 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10479 already implicitly brought in from libgcj.la.
10480 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10481 * Makefile.in: Rebuilt.
10482
10483 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10484
10485 * THANKS: Fix punctuation, alphabetization.
10486
10487 2002-03-15 Tom Tromey <tromey@redhat.com>
10488 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10489
10490 Fix for PR libgcj/5944.
10491 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10492
10493 2002-03-15 Anthony Green <green@redhat.com>
10494
10495 * configure.in (tool_include_dir): Define.
10496 * configure: Rebuilt.
10497 * gcj/Makefile.am: Install libgcj-config.h relative to
10498 tool_include_dir.
10499 * gcj/Makefile: Rebuilt.
10500 * gcj/libgcj-config.h: Add warning comment.
10501
10502 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10503
10504 * configure.host (powerpc*-darwin*): Enable interpreter.
10505
10506 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10507
10508 * include/posix.h: Add multiple include header protection.
10509 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10510
10511 2002-03-10 Adam Megacz <adam@xwt.org>
10512
10513 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10514
10515 2002-03-10 Tom Tromey <tromey@redhat.com>
10516
10517 * java/awt/GridLayout.java (layoutContainer): Handle case where
10518 there are no items in container.
10519
10520 * java/lang/Win32Process.java: Added comment.
10521 * include/posix.h (_Jv_platform_close_on_exec): New function.
10522 Include fcntl.h.
10523 * include/win32.h (_Jv_platform_close_on_exec): New function.
10524 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10525 flag.
10526 (accept): Likewise.
10527 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10528 close-on-exec flag.
10529 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10530 flag.
10531
10532 2002-03-09 Tom Tromey <tromey@redhat.com>
10533
10534 * verify.cc (state::NO_STACK): New constant.
10535 (state::is_unmerged_ret_state): Handle case where stacktop is
10536 NO_STACK.
10537 (state::merge): Handle NO_STACK merges.
10538 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10539 for instruction following jsr.
10540 (stacktop, stackdepth): Removed unused variables.
10541 (pop_jump): Ignore case where all remaining states are skipped.
10542
10543 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10544
10545 * java/awt/ImageMediaEntry: Removed.
10546 * java/awt/MediaEntry: Removed.
10547
10548 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10549
10550 Hashtable synchronization for PowerPC.
10551 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10552 slow_pthread_self. Set up symlink for sysdeps directory.
10553 * configure: Rebuild.
10554 * configure.host: Document more shell variables. Set sysdeps_dir
10555 for most platforms. Set slow_pthread_self for i686. Set
10556 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10557 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10558 that memory barrier is emitted where required.
10559 * prims.cc: 64-bit align static primitive class instances.
10560 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10561 read_barrier() to enforce ordering of reads.
10562 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10563 primitives for PowerPC.
10564 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10565 moved from natObject.cc.
10566 * sysdep/alpha/locks.h: Likewise.
10567 * sysdep/ia64/locks.h: Likewise.
10568 * sysdep/generic/locks.h: Likewise.
10569 * java/lang/natObject.cc: Move thread synchronization primitives to
10570 system-dependent headers.
10571
10572 2002-03-09 Adam Megacz <adam@xwt.org>
10573
10574 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10575 bytes read and no failure code returned.
10576
10577 2002-03-09 Adam Megacz <adam@xwt.org>
10578
10579 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10580 definitions to simulate -mthreads.
10581
10582 2002-03-09 Adam Megacz <adam@xwt.org>
10583
10584 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10585 avoid precision loss.
10586
10587 2002-03-09 Per Bothner <per@bothner.com>
10588
10589 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10590 * gnu/gcj/xlib/XImage.java: Likewise.
10591 * gnu/gcj/xlib/XColor.java: Likewise.
10592
10593 2002-03-09 Adam Megacz <adam@xwt.org>
10594
10595 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10596 IOException so that Throwable.printStackTrace fails correctly.
10597
10598 2002-03-08 Adam Megacz <adam@xwt.org>
10599
10600 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10601 fixed.
10602
10603 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10604
10605 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10606 truncated to int.
10607
10608 2002-03-08 Tom Tromey <tromey@redhat.com>
10609
10610 * include/jni.h: Include stdio.h.
10611
10612 2002-03-08 Tom Tromey <tromey@redhat.com>
10613
10614 * posix.cc (internal_gettimeofday): New function.
10615 (_Jv_select): Use it.
10616
10617 2002-03-07 Adam Megacz <adam@xwt.org>
10618
10619 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10620 WIN32, and added thunks for read(), write(), and close().
10621 * java/net/natPlainSocketImpl.cc (accept, read, read):
10622 Disabled timeouts on WIN32 pending discussion.
10623
10624 2002-03-07 Adam Megacz <adam@xwt.org>
10625
10626 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10627 returns jlong. Added implementation
10628 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10629 returns jlong.
10630 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10631 returns jlong.
10632 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10633 returns jlong.
10634 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10635 _Jv_platform_gettimeofday signature.
10636
10637 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10638
10639 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10640 (read): Call recv() directly, not _Jv_recv().
10641
10642 2002-03-06 Tom Tromey <tromey@redhat.com>
10643
10644 * java/io/natFileDescriptorEcos.cc (init): Don't use
10645 GetStdHandle.
10646 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10647 is negative.
10648 (init): Don't use GetStdHandle.
10649
10650 * include/config.h.in: Rebuilt.
10651 * configure: Rebuilt.
10652 * Makefile.in: Rebuilt.
10653
10654 2002-03-06 Adam Megacz <adam@xwt.org>
10655
10656 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10657 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10658 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10659 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10660
10661 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10662
10663 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10664 the code for generating include/java-chartables.h.
10665 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10666 merge with Classpath.
10667 * scripts/unicode-muncher.pl: Copy from Classpath.
10668 * scritps/MakeCharTables.java: New file.
10669 * gnu/gcj/convert/Blocks-3.txt: New file.
10670 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10671 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10672 * gnu/java/lang/CharData.java: Copy from Classpath.
10673 * Makefile.am (ordinary_java_source_files): Add
10674 gnu/java/lang/CharData.java.
10675 * configure.in: Remove --enable-fast-character option.
10676 * java/lang/Character.java: Merge algorithms and Javadoc with
10677 Classpath.
10678 * java/lang/natCharacter.cc: Implement Unicode lookup table more
10679 efficiently.
10680 * include/java-chardecomp.h: Regenerate.
10681 * include/java-chartables.h: Regenerate.
10682
10683 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10684
10685 * java/awt/MediaTracker.java: Implemented.
10686 * Makefile.am: Add MediaTracker.
10687 * Makefile.in: Rebuilt.
10688
10689 2002-03-05 Tom Tromey <tromey@redhat.com>
10690
10691 * java/lang/natPosixProcess.cc (fail): Removed.
10692 (startProcess): Simplified error-handling. Preserve
10693 LD_LIBRARY_PATH across exec.
10694
10695 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10696 AbstractMethodError.
10697
10698 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10699
10700 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10701 * Makefile.in: Rebuilt.
10702
10703 2002-03-03 Mark Wielaard <mark@klomp.org>
10704
10705 * java/util/Timer (TaskQueue.stop): set elements to zero.
10706
10707 2002-02-28 Anthony Green <green@redhat.com>
10708
10709 * java/lang/reflect/natMethod.cc (result): Add void* element.
10710 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
10711 constructor test.
10712
10713 2002-02-27 Adam Megacz <adam@xwt.org>
10714
10715 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10716 '#undef STRICT'.
10717
10718 2002-02-26 Tom Tromey <tromey@redhat.com>
10719
10720 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10721 * gij.cc (version): Use __VERSION__.
10722 * include/config.h.in: Rebuilt.
10723 * acconfig.h (GCJVERSION): Removed.
10724 * configure: Rebuilt.
10725 * configure.in (GCJVERSION): Removed.
10726
10727 2002-02-26 Andreas Schwab <schwab@suse.de>
10728
10729 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10730 glibcpp_CXX, since libjava uses even another CXX.
10731 * aclocal.m4, configure: Regenerated.
10732
10733 2002-02-26 Tom Tromey <tromey@redhat.com>
10734
10735 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10736 `1'.
10737
10738 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10739
10740 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10741 dependency tracking for .java files.
10742 * Makefile.in: Rebuilt.
10743
10744 2002-02-24 Adam Megacz <adam@xwt.org>
10745
10746 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10747 typo. Sorry.
10748
10749 2002-02-24 Adam Megacz <adam@xwt.org>
10750
10751 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10752 for Win32, changed #ifdefs to check WIN32 instead of the
10753 (now-obsolete) USE_WINSOCK, and removed support for socket
10754 timeouts on Win32 pending further discussion.
10755
10756 2002-02-24 Adam Megacz <adam@xwt.org>
10757
10758 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10759 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10760 delete
10761
10762 2002-02-24 Adam Megacz <adam@xwt.org>
10763
10764 * java/lang/Win32Process.java: Created a dummy class to allow
10765 build process to run to completion.
10766
10767 2002-02-24 Jeff Sturm <jsturm@one-point.com>
10768
10769 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10770 Define ffi_result union for ffi_call result. Cast
10771 ffi_result members to jvalue.
10772
10773 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
10774
10775 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10776 * testsuite/Makefile.in: Likewise.
10777
10778 2002-02-20 Per Bothner <per@bothner.com>
10779
10780 * java/net/URL.java (getPath): New JDK 1.3 method.
10781
10782 * java/net/URLStreamHandler.java (parseURL):
10783 It is wrong to prepend '/' to the file part of a relative url.
10784
10785 * java/net/URLStreamHandler.java (parseURL):
10786 Minor optizations - append '/' rather than "/".
10787
10788 * java/net/URLStreamHandler.java (parseURL):
10789 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10790 We probably should canonicalize for a context-relative url, though.
10791 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
10792 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
10793 (sameFile): New method. Uses canonicalizeFilename.
10794
10795 2002-02-22 Tom Tromey <tromey@redhat.com>
10796
10797 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10798 java.vendor and java.vm.vendor.
10799 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10800 recent copyright date.
10801 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10802 * gij.cc (version): Print `Inc'.
10803
10804 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10805
10806 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10807 * aclocal.m4, configure: Rebuilt.
10808
10809 2002-02-20 Per Bothner <per@bothner.com>
10810
10811 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
10812 and/or output streams immediately here, instead of using File.exists.
10813 (inputStream, outputStream): New fields to save open streams.
10814 (getInputStream, getOutputStream): Use already-opened streams.
10815
10816 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10817
10818 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10819 Use it.
10820 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10821 * aclocal.m4, configure, Makefile.in: Rebuilt.
10822
10823 2002-02-19 Tom Tromey <tromey@redhat.com>
10824
10825 Fix for PR libgcj/5696:
10826 * verify.cc (is_assignable_from_slow): Never call
10827 _Jv_IsAssignableFrom.
10828 (verify_instructions_0): Added new debug statement.
10829 (state::print): Print information about whether local has
10830 changed.
10831 (state::merge): Don't call note_variable when merging locals.
10832 (state::set_exception): Removed old FIXME comment.
10833
10834 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10835
10836 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10837 enable SO_BROADCAST.
10838
10839 2002-02-18 Jason Merrill <jason@redhat.com>
10840
10841 * name-finder.cc (toHex): Use word mode, not long long.
10842
10843 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10844
10845 2002-02-15 Tom Tromey <tromey@redhat.com>
10846
10847 Fix for PR libgcj/5695:
10848 * verify.cc (is_assignable_from_slow): Check to see if target is
10849 an Object before checking to see if source is an interface.
10850 (verify_instructions_0) [op_invokeinterface]: Handle case where
10851 we're making an interface call on Object.
10852
10853 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10854
10855 * Makefile.in: Rebuilt with Eric's change below.
10856
10857 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10858 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10859 Removed functions which are now implemented in Math.java.
10860
10861 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10862
10863 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10864 * Makefile.am (core_java_source_files): Add
10865 java/lang/StrictMath.java.
10866 * java/lang/Math.java: Merge with Classpath.
10867 * java/lang/StrictMath.java: New file - merge with Classpath.
10868
10869 2002-02-14 Mark Wielaard <mark@klomp.org>
10870
10871 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10872 package as a workaround for gcj 3.0.x
10873
10874 2002-02-14 Mark Wielaard <mark@klomp.org>
10875
10876 * java/security/BasicPermission.java: extends with fully qualified
10877 classname as workaround for gcj 3.0.4.
10878
10879 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10880
10881 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10882 around gcj bug of wrong emitted qualifier for inherited method.
10883 * java/net/SocketImpl.java (setOption, getOption): Ditto.
10884 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10885 constructor to reduce amount of emitted bytecode. While this
10886 happens to work around a jikes 1.15 bug, it is still a useful
10887 patch even for correct compilers.
10888 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10889 * gnu/java/rmi/server/UnicastRemoteCall.java
10890 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10891
10892 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10893
10894 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10895 * java/net/SocketImpl.java: Ditto.
10896 * java/rmi/server/RMIClassLoader.java: Ditto.
10897 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10898
10899 2002-02-14 Mark Wielaard <mark@klomp.org>
10900
10901 Thanks to Takashi Okamoto
10902 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10903 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10904 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10905
10906 2002-02-13 Todd Stock <toddastock@yahoo.com>
10907
10908 Fix for PR libgcj/5670:
10909 * verify.cc (is_assignable_from_slow): If `source' is interface,
10910 recursively look for merge with `target'.
10911
10912 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
10913
10914 * include/jni.h: Fix typo.
10915
10916 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
10917
10918 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10919 correctly.
10920
10921 2002-02-13 Todd Stock <toddastock@yahoo.com>
10922
10923 Fix for PR libgcj/5671:
10924 * verify.cc (state::merge): Handle case where we're merging
10925 against an interface.
10926
10927 2002-02-12 Tom Tromey <tromey@redhat.com>
10928
10929 * exception.cc (std::abort): Mark as noreturn.
10930
10931 2002-02-12 Adam Megacz <adam@xwt.org>
10932
10933 * java/lang/Win32Process.java: Filled in a placeholder
10934 implementation so Win32 will build.
10935
10936 2002-02-12 Adam Megacz <adam@xwt.org>
10937
10938 * java/io/natFilePosix.cc: Copied this from natFile.cc.
10939 * java/io/natFile.cc: Removed from repository.
10940 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10941
10942 2002-02-12 Adam Megacz <adam@xwt.org>
10943
10944 * win32.cc: Added two #includes to make win32.cc compile.
10945
10946 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10947
10948 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10949 declarations.
10950 (_Jv_InitGC): Don't bother locking, as this is always called from a
10951 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10952
10953 2002-02-11 Adam Megacz <adam@xwt.org>
10954
10955 * include/win32.h: Added _Jv_platform_gettimeofday.
10956 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10957
10958 2002-02-11 Adam Megacz <adam@xwt.org>
10959
10960 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10961 Added #undef STRICT to make windows.h and
10962 java/lang/reflect/Modifier.h cooperate.
10963
10964 2002-02-11 Adam Megacz <adam@xwt.org>
10965
10966 * java/io/natFileWin32.cc: Created a placeholder class with lots
10967 of FIXMEs.
10968
10969 2002-02-11 Adam Megacz <adam@xwt.org>
10970
10971 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10972 std::abort() to simply abort(). Also added "fake" std::abort() so
10973 we can #include unwind-pe.h without having to link against
10974 libstdc++-v3.
10975
10976 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
10977
10978 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10979
10980 2002-02-08 Tom Tromey <tromey@redhat.com>
10981
10982 * interpret.cc (convert): New function.
10983 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10984 convert.
10985 Include Long.h.
10986
10987 2002-02-08 Anthony Green <green@redhat.com>
10988
10989 * configure.host: Add support for xscale-elf embedded target.
10990
10991 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
10992
10993 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10994 dereferenced.
10995 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10996 frame.
10997
10998 2002-02-07 Tom Tromey <tromey@redhat.com>
10999
11000 * java/io/natFile.cc (_access): Use __builtin_alloca.
11001 (_stat): Likewise.
11002 (attr): Likewise.
11003 (getCanonicalPath): Likewise.
11004 (performList): Likewise.
11005 (performMkdir): Likewise.
11006 (performSetReadOnly): Likewise.
11007 (performRenameTo): Likewise.
11008 (performSetLastModified): Likewise.
11009 (performCreate): Likewise.
11010 (performDelete): Likewise.
11011
11012 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11013
11014 * HACKING: Fix URL for the automake-gcj.
11015
11016 2002-02-07 Tom Tromey <tromey@redhat.com>
11017
11018 * java/lang/natThrowable.cc: Updated copyright.
11019 * java/io/natFileWin32.cc: Updated copyright.
11020 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11021 * win32-threads.cc: Updated copyright.
11022 * name-finder.cc: Updated copyright.
11023 * include/name-finder.h: Updated copyright.
11024
11025 * include/name-finder.h: Conditionally include sys/wait.h.
11026 * include/config.h.in: Rebuilt.
11027
11028 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11029 Size buffer based on real size of string.
11030 (_stat): Likewise.
11031 (attr): Likewise.
11032 (getCanonicalPath): Likewise.
11033 (performList): Likewise.
11034 (performMkdir): Likewise.
11035 (performSetReadOnly): Likewise.
11036 (unixroot): Removed.
11037 (performRenameTo): Likewise.
11038 (performSetLastModified): Likewise.
11039 (performCreate): Likewise.
11040 (performDelete): Likewise.
11041 (performListRoots): Always return new array.
11042
11043 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11044 * win32.cc (win32_exception_handler): Now static.
11045 * include/win32.h (_Jv_platform_initialize): Declare.
11046 (win32_exception_handler): Don't declare.
11047 * java/lang/natSystem.cc (currentTimeMillis): Use
11048 _Jv_platform_gettimeofday.
11049 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11050 (_Jv_select): Use new name.
11051 (_Jv_platform_initialize): New function.
11052 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11053 _Jv_gettimeofday.
11054 (_Jv_platform_initialize): Declare.
11055
11056 * configure: Rebuilt.
11057 * configure.in: Removed unnecessary parens.
11058
11059 2002-02-06 Adam Megacz <adam@xwt.org>
11060
11061 * configure.in: Changed mingw) to *mingw*).
11062 * win32.cc: Created this file.
11063 * win32.h: Created this file.
11064 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11065 win32_exception_handler from prims.cc to win32.cc, added
11066 header in win32.h.
11067 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11068 longer needed now that we have platform.h
11069
11070 2002-02-06 Adam Megacz <adam@xwt.org>
11071
11072 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11073 use uint<n>_t instead of LONG and BYTE
11074
11075 2002-02-06 Adam Megacz <adam@xwt.org>
11076
11077 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11078
11079 2002-02-06 Anthony Green <green@redhat.com>
11080
11081 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11082 Implement missing method stubs.
11083 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11084 targets.
11085 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11086 concept of timezones.
11087 (init_properties): Don't refer to _Jv_Environment_Properties
11088 when this feature is not available.
11089 * include/config.h.in: Rebuilt.
11090 * acconfig.h: Add DISABLE_MAIN_ARGS.
11091 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11092 * configure: Rebuilt.
11093 * configure.in: Add --disable-main-args option. Test for
11094 opendir function. Replace AC_CHECK_SIZEOF with
11095 AC_COMPILE_CHECK_SIZEOF.
11096 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11097 * aclocal.m4: Rebuilt.
11098 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11099
11100 2002-02-06 Tom Tromey <tromey@redhat.com>
11101
11102 * verify.cc (require_array_type): If argument is a null array of
11103 references, return null as the element type.
11104
11105 2002-02-06 Mark Wielaard <mark@klomp.org>
11106
11107 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11108 duplicate of a wide type.
11109
11110 2002-02-06 Tom Tromey <tromey@redhat.com>
11111
11112 * verify.cc (type::isnull): New method.
11113 (require_array_type): Handle case where array is null.
11114 (verify_instructions_0) [op_arraylength]: Likewise.
11115
11116 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11117
11118 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11119 Symlink PLATFORMH to platform.h.
11120 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11121 PLATFORMOBJS.
11122 * java/lang/natSystem.cc: #include platform.h not posix.h.
11123 * Makefile.in: Rebuilt with libgcj automake.
11124 * configure: Rebuilt.
11125
11126 2002-02-05 Richard Henderson <rth@redhat.com>
11127
11128 * Makefile.in: Undo munging last change.
11129
11130 2002-02-04 Adam Megacz <adam@xwt.org>
11131
11132 * win32.cc: Created it.
11133 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11134 which is set to posix.cc or win32.cc.
11135 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11136
11137 2002-02-04 Adam Megacz <adam@xwt.org>
11138
11139 * configure.in: Corrected mingw case branches; added * before
11140 and after.
11141
11142 2002-02-04 Adam Megacz <adam@xwt.org>
11143
11144 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11145 if compiling for win32
11146
11147 2002-02-04 Adam Megacz <adam@xwt.org>
11148
11149 * win32-threads.cc: #undef STRICT after gc.h inclusion
11150
11151 2002-02-02 Tom Tromey <tromey@redhat.com>
11152
11153 * Makefile.in: Rebuilt.
11154
11155 2002-02-02 Jason Merrill <jason@redhat.com>
11156
11157 * Makefile.am (clean-nat): New target.
11158
11159 2002-02-02 Tom Tromey <tromey@redhat.com>
11160
11161 * java/io/natFile.cc: Removed old "FIXME" comments.
11162
11163 2002-02-01 Tom Tromey <tromey@redhat.com>
11164
11165 * java/lang/natPosixProcess.cc (myclose): New function.
11166 (fail): Use it.
11167 (startProcess): Likewise.
11168
11169 2002-02-01 Adam Megacz <adam@xwt.org>
11170
11171 * prims.cc: Added #undef STRICT after #include<windows.h>.
11172
11173 2002-02-01 Adam Megacz <adam@xwt.org>
11174
11175 * prims.cc
11176 (_Jv_CreateJavaVM): We now use WIN32 instead of
11177 USE_WIN32_SIGNALLING and USE_WINSOCK.
11178 (win32_exception_handler): Now throws an exception out of
11179 the signal handler; assumes SJLJ.
11180
11181 2002-02-01 Adam Megacz <adam@xwt.org>
11182
11183 * win32-threads.cc:
11184 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11185 wait() algorithm to make it safe.
11186 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11187 Added lazy creation of Win32 Events for better performance
11188 (really_start): This now uses GC_CreateThread so boehm-gc
11189 knows about new threads even when statically linked.
11190
11191 2002-02-01 Adam Megacz <adam@xwt.org>
11192
11193 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11194 enable safer wait() algorithm.
11195 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11196 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11197 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11198 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11199 instead of mutex.
11200 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11201
11202 2002-02-01 Adam Megacz <adam@xwt.org>
11203
11204 * configure.in: Added support for mingw.
11205 * java/lang/Win32Process.java: Created as empty file.
11206 * java/lang/natWin32Process.cc: Created as empty file.
11207
11208 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11209
11210 PR java/4972
11211 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11212 for libiconv in LIBICONV variable.
11213 * configure: Regenerated.
11214
11215 2002-01-31 Tom Tromey <tromey@redhat.com>
11216
11217 * verify.cc (state::enter_subroutine): New method.
11218 (handle_jsr_insn): Use it.
11219 (state::merge): When processing a `ret', correctly use
11220 subroutine's state to determine which local variables have
11221 changed.
11222 (push_exception_jump): Don't let stack overflow.
11223
11224 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11225
11226 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11227 --version output.
11228
11229 2002-01-30 Tom Tromey <tromey@redhat.com>
11230
11231 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11232 parameter for `recv' return type.
11233
11234 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11235 (state::merge): ... not here.
11236 (subr_entry_info): New structure.
11237 (entry_points): New field.
11238 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11239 entry_points.
11240
11241 2002-01-29 Tom Tromey <tromey@redhat.com>
11242
11243 * java/awt/List.java (addNotify): Correctly check to see if peer
11244 does not exist.
11245
11246 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11247 to compute height of each cell, and number of columns to compute
11248 width of each cell.
11249 * java/awt/Window.java (getOwnedWindows): Don't return null.
11250 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11251 of component. Increment x using horizontal gap, not vertical
11252 gap.
11253
11254 2002-01-28 Tom Tromey <tromey@redhat.com>
11255
11256 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11257 `nargs' byte is number of words, not number of arguments.
11258
11259 2002-01-27 Tom Tromey <tromey@redhat.com>
11260
11261 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11262 (when): Likewise.
11263 * java/awt/event/InputEvent.java (modifiers, when): Now
11264 package-private.
11265
11266 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11267 and to-do list.
11268 (state::merge): Use current class' class loader.
11269 (state::print): Print subroutine.
11270 (state::merge): Don't look at subroutine of unmerged `ret'.
11271
11272 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11273
11274 * nogc.cc: Remove warnings.
11275 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11276 New functions.
11277
11278 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11279
11280 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11281 int, int): Remove empty "if" statement to work around compiler bug.
11282 (newPixels(int[], ColorModel, int, int): Likewise.
11283
11284 2002-01-25 Per Bothner <per@bothner.com>
11285
11286 * verify.cc (verify_fail): Change from being a top-level function
11287 to e method of _Jv_BytecodeVerifier. Emit current method name.
11288 Pass the current verifier to type: and state: methods as needed,
11289 for better error messages, and for resolve.
11290 (resolve): Pass current class's loader for Class.forName and
11291 _Jv_FindClassFromSignature, rather than using the default loader.
11292 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11293 (get_type_val_for_signature): Make non-static.
11294 (various methods): Pass start_PC implicitly, not explicitly.
11295
11296 2002-01-25 Tom Tromey <tromey@redhat.com>
11297
11298 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11299 loop termination condition.
11300 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11301 width.
11302
11303 2002-01-24 Tom Tromey <tromey@redhat.com>
11304
11305 * java/awt/Shape.java: Merged with Classpath.
11306 * java/awt/Scrollbar.java: Merged with Classpath.
11307
11308 * java/awt/Container.java (addNotify): Unconditionally call
11309 addNotifyContainerChildren and superclass addNotify.
11310
11311 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11312 getAlpha, not getBlue.
11313
11314 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11315
11316 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11317
11318 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11319 (grabPixels(long)): Wait to be notified that the ImageProducer has
11320 completed.
11321
11322 2002-01-24 Per Bothner <per@bothner.com>
11323
11324 * verify.cc (is_assignable_from_slow): If target is an interface,
11325 we must still check the source's superclass before giving up.
11326
11327 2002-01-24 Tom Tromey <tromey@redhat.com>
11328
11329 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11330
11331 2002-01-23 Tom Tromey <tromey@redhat.com>
11332
11333 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11334 `else'.
11335
11336 * Makefile.in: Rebuilt.
11337 * Makefile.am (awt_java_source_files): Added new files.
11338 * java/awt/Toolkit.java: Merged with Classpath.
11339 * java/awt/PrintGraphics.java: New file from Classpath.
11340 * java/awt/PrintJob.java: New file from Classpath.
11341 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11342 * java/awt/datatransfer/ClipboardOwner.java: New file from
11343 Classpath.
11344 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11345 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11346 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11347 Classpath.
11348 * java/awt/datatransfer/StringSelection.java: New file from
11349 Classpath.
11350 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11351 Classpath.
11352 * java/awt/datatransfer/Transferable.java: New file from
11353 Classpath.
11354 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11355 from Classpath.
11356
11357 * Makefile.in: Rebuilt.
11358 * Makefile.am (awt_java_source_files): Added new files.
11359 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11360 Classpath.
11361 * java/awt/image/CropImageFilter.java: New file from Classpath.
11362 * java/awt/image/FilteredImageSource.java: New file from
11363 Classpath.
11364 * java/awt/image/ImageFilter.java: New file from Classpath.
11365 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11366 * java/awt/image/PixelGrabber.java: New file from Classpath.
11367 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11368 * java/awt/image/ReplicateScaleFilter.java: New file from
11369 Classpath.
11370 * java/awt/image/ImageProducer.java: Replaced with Classpath
11371 version.
11372 * java/awt/image/ImageObserver.java: Replaced with Classpath
11373 version.
11374 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11375 version.
11376 * java/awt/GridBagConstraints.java (clone): Catch
11377 CloneNotSupportedException.
11378
11379 2002-01-23 Per Bothner <per@bothner.com>
11380
11381 * java/lang/reflect/natField.cc (setAddr): New function.
11382 Calls getAddr and then checks that the field isn't final.
11383 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11384 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11385 (set): Call setAddr before check that new value has right type,
11386 to better match specified semantics.
11387
11388 2002-01-22 Tom Tromey <tromey@redhat.com>
11389
11390 * java/awt/TextField.java: Replaced with Classpath version.
11391 * java/awt/TextArea.java: Replaced with Classpath version.
11392 * java/awt/TextComponent.java: Replaced with Classpath version.
11393
11394 * java/awt/GridBagConstraints.java: Updated copyright.
11395
11396 2002-01-22 Mark Wielaard <mark@klomp.org>
11397
11398 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11399 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11400 java/awt/Dialog.java java/awt/FileDialog.java
11401 java/awt/Font.java java/awt/FontMetrics.java
11402 java/awt/Image.java java/awt/ImageMediaEntry.java
11403 java/awt/Insets.java java/awt/List.java
11404 java/awt/MediaEntry.java java/awt/MediaTracker.java
11405 java/awt/Menu.java java/awt/MenuBar.java
11406 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11407 java/awt/PaintContext.java java/awt/Panel.java
11408 java/awt/PopupMenu.java java/awt/SystemColor.java
11409 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11410 java/awt/peer/CheckboxMenuItemPeer.java
11411 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11412 java/awt/peer/ComponentPeer.java
11413 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11414 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11415 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11416 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11417 java/awt/peer/MenuBarPeer.java
11418 java/awt/peer/MenuComponentPeer.java
11419 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11420 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11421 java/awt/peer/ScrollPanePeer.java
11422 java/awt/peer/ScrollbarPeer.java
11423 java/awt/peer/TextAreaPeer.java
11424 java/awt/peer/TextComponentPeer.java
11425 java/awt/peer/TextFieldPeer.java
11426 java/awt/peer/WindowPeer.java: Add license clarification.
11427
11428 2002-01-22 Mark Wielaard <mark@klomp.org>
11429
11430 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11431 gnu/gcj/runtime/StringBuffer.java
11432 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11433 gnu/java/awt/ComponentDataBlitOp.java
11434 gnu/java/awt/GLightweightPeer.java
11435 gnu/java/beans/BeanInfoEmbryo.java
11436 gnu/java/beans/EmptyBeanInfo.java
11437 gnu/java/beans/ExplicitBeanInfo.java
11438 gnu/java/beans/IntrospectionIncubator.java
11439 gnu/java/beans/editors/ColorEditor.java
11440 gnu/java/beans/editors/FontEditor.java
11441 gnu/java/beans/editors/NativeBooleanEditor.java
11442 gnu/java/beans/editors/NativeByteEditor.java
11443 gnu/java/beans/editors/NativeDoubleEditor.java
11444 gnu/java/beans/editors/NativeFloatEditor.java
11445 gnu/java/beans/editors/NativeIntEditor.java
11446 gnu/java/beans/editors/NativeLongEditor.java
11447 gnu/java/beans/editors/NativeShortEditor.java
11448 gnu/java/beans/editors/StringEditor.java
11449 gnu/java/beans/info/ComponentBeanInfo.java
11450 gnu/java/io/ClassLoaderObjectInputStream.java
11451 gnu/java/io/NullOutputStream.java
11452 gnu/java/io/ObjectIdentityWrapper.java
11453 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11454 gnu/java/lang/reflect/TypeSignature.java
11455 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11456 gnu/java/locale/Calendar_en.java
11457 gnu/java/locale/Calendar_nl.java
11458 gnu/java/locale/LocaleInformation.java
11459 gnu/java/locale/LocaleInformation_de.java
11460 gnu/java/locale/LocaleInformation_en.java
11461 gnu/java/locale/LocaleInformation_nl.java
11462 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11463 gnu/java/rmi/registry/RegistryImpl.java
11464 gnu/java/rmi/rmic/Compile_gcj.java
11465 gnu/java/rmi/rmic/Compiler.java
11466 gnu/java/rmi/rmic/CompilerProcess.java
11467 gnu/java/rmi/rmic/RMIC.java
11468 gnu/java/rmi/rmic/TabbedWriter.java
11469 gnu/java/rmi/server/ProtocolConstants.java
11470 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11471 gnu/java/rmi/server/RMIHashes.java
11472 gnu/java/rmi/server/RMIObjectInputStream.java
11473 gnu/java/rmi/server/RMIObjectOutputStream.java
11474 gnu/java/rmi/server/UnicastConnection.java
11475 gnu/java/rmi/server/UnicastConnectionManager.java
11476 gnu/java/rmi/server/UnicastRef.java
11477 gnu/java/rmi/server/UnicastRemoteCall.java
11478 gnu/java/rmi/server/UnicastRemoteStub.java
11479 gnu/java/rmi/server/UnicastServer.java
11480 gnu/java/rmi/server/UnicastServerRef.java
11481 gnu/java/security/provider/DefaultPolicy.java
11482 gnu/java/security/provider/Gnu.java
11483 gnu/java/security/provider/SHA.java
11484 gnu/java/security/provider/SHA1PRNG.java
11485 gnu/java/text/BaseBreakIterator.java
11486 gnu/java/text/CharacterBreakIterator.java
11487 gnu/java/text/LineBreakIterator.java
11488 gnu/java/text/SentenceBreakIterator.java
11489 gnu/java/text/WordBreakIterator.java
11490 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11491 java/applet/AppletContext.java java/applet/AppletStub.java
11492 java/applet/AudioClip.java java/awt/AWTError.java
11493 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11494 java/awt/AWTException.java java/awt/AWTPermission.java
11495 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11496 java/awt/Button.java java/awt/Canvas.java
11497 java/awt/CardLayout.java java/awt/Checkbox.java
11498 java/awt/CheckboxGroup.java java/awt/Component.java
11499 java/awt/ComponentOrientation.java java/awt/Container.java
11500 java/awt/Dimension.java java/awt/Event.java
11501 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11502 java/awt/FlowLayout.java java/awt/Frame.java
11503 java/awt/Graphics.java java/awt/Graphics2D.java
11504 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11505 java/awt/IllegalComponentStateException.java
11506 java/awt/ItemSelectable.java java/awt/Label.java
11507 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11508 java/awt/MenuComponent.java java/awt/MenuItem.java
11509 java/awt/Paint.java java/awt/Point.java
11510 java/awt/Rectangle.java java/awt/RenderingHints.java
11511 java/awt/Transparency.java java/awt/Window.java
11512 java/awt/color/ColorSpace.java
11513 java/awt/color/ICC_ColorSpace.java
11514 java/awt/color/ICC_Profile.java
11515 java/awt/event/HierarchyBoundsAdapter.java
11516 java/awt/event/HierarchyBoundsListener.java
11517 java/awt/event/HierarchyEvent.java
11518 java/awt/event/HierarchyListener.java
11519 java/awt/geom/AffineTransform.java
11520 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11521 java/awt/geom/IllegalPathStateException.java
11522 java/awt/geom/Line2D.java
11523 java/awt/geom/NoninvertibleTransformException.java
11524 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11525 java/awt/geom/Rectangle2D.java
11526 java/awt/geom/RectangularShape.java
11527 java/awt/geom/RoundRectangle2D.java
11528 java/awt/image/BufferedImage.java
11529 java/awt/image/ColorModel.java
11530 java/awt/image/ComponentColorModel.java
11531 java/awt/image/ComponentSampleModel.java
11532 java/awt/image/DataBuffer.java
11533 java/awt/image/DataBufferByte.java
11534 java/awt/image/DataBufferInt.java
11535 java/awt/image/DataBufferUShort.java
11536 java/awt/image/DirectColorModel.java
11537 java/awt/image/PackedColorModel.java
11538 java/awt/image/Raster.java java/awt/image/RasterOp.java
11539 java/awt/image/SampleModel.java
11540 java/awt/image/SinglePixelPackedSampleModel.java
11541 java/awt/image/WritableRaster.java
11542 java/beans/AppletInitializer.java
11543 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11544 java/beans/Beans.java java/beans/Customizer.java
11545 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11546 java/beans/FeatureDescriptor.java
11547 java/beans/IndexedPropertyDescriptor.java
11548 java/beans/IntrospectionException.java
11549 java/beans/Introspector.java java/beans/MethodDescriptor.java
11550 java/beans/ParameterDescriptor.java
11551 java/beans/PropertyChangeEvent.java
11552 java/beans/PropertyChangeListener.java
11553 java/beans/PropertyChangeSupport.java
11554 java/beans/PropertyDescriptor.java
11555 java/beans/PropertyEditor.java
11556 java/beans/PropertyEditorManager.java
11557 java/beans/PropertyEditorSupport.java
11558 java/beans/PropertyVetoException.java
11559 java/beans/SimpleBeanInfo.java
11560 java/beans/VetoableChangeListener.java
11561 java/beans/VetoableChangeSupport.java
11562 java/beans/Visibility.java
11563 java/beans/beancontext/BeanContext.java
11564 java/beans/beancontext/BeanContextChild.java
11565 java/beans/beancontext/BeanContextChildComponentProxy.java
11566 java/beans/beancontext/BeanContextChildSupport.java
11567 java/beans/beancontext/BeanContextContainerProxy.java
11568 java/beans/beancontext/BeanContextEvent.java
11569 java/beans/beancontext/BeanContextMembershipEvent.java
11570 java/beans/beancontext/BeanContextMembershipListener.java
11571 java/beans/beancontext/BeanContextProxy.java
11572 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11573 java/beans/beancontext/BeanContextServiceProvider.java
11574 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11575 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11576 java/beans/beancontext/BeanContextServiceRevokedListener.java
11577 java/beans/beancontext/BeanContextServices.java
11578 java/beans/beancontext/BeanContextServicesListener.java
11579 java/io/BufferedInputStream.java
11580 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11581 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11582 java/io/ByteArrayOutputStream.java
11583 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11584 java/io/CharConversionException.java java/io/DataInput.java
11585 java/io/DataInputStream.java java/io/DataOutput.java
11586 java/io/EOFException.java java/io/Externalizable.java
11587 java/io/FileFilter.java java/io/FileNotFoundException.java
11588 java/io/FilePermission.java java/io/FileReader.java
11589 java/io/FileWriter.java java/io/FilenameFilter.java
11590 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11591 java/io/FilterReader.java java/io/FilterWriter.java
11592 java/io/IOException.java java/io/InputStream.java
11593 java/io/InterruptedIOException.java
11594 java/io/InvalidClassException.java
11595 java/io/InvalidObjectException.java
11596 java/io/NotActiveException.java
11597 java/io/NotSerializableException.java java/io/ObjectInput.java
11598 java/io/ObjectInputStream.java
11599 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11600 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11601 java/io/ObjectStreamConstants.java
11602 java/io/ObjectStreamException.java
11603 java/io/ObjectStreamField.java
11604 java/io/OptionalDataException.java java/io/OutputStream.java
11605 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11606 java/io/PipedReader.java java/io/PipedWriter.java
11607 java/io/PrintWriter.java java/io/PushbackInputStream.java
11608 java/io/PushbackReader.java java/io/Reader.java
11609 java/io/SequenceInputStream.java java/io/Serializable.java
11610 java/io/SerializablePermission.java
11611 java/io/StreamCorruptedException.java
11612 java/io/StreamTokenizer.java
11613 java/io/StringBufferInputStream.java java/io/StringReader.java
11614 java/io/StringWriter.java java/io/SyncFailedException.java
11615 java/io/UTFDataFormatException.java
11616 java/io/UnsupportedEncodingException.java
11617 java/io/WriteAbortedException.java java/io/Writer.java
11618 java/lang/AbstractMethodError.java
11619 java/lang/ArithmeticException.java
11620 java/lang/ArrayIndexOutOfBoundsException.java
11621 java/lang/ArrayStoreException.java java/lang/Boolean.java
11622 java/lang/Byte.java java/lang/CharSequence.java
11623 java/lang/ClassCastException.java
11624 java/lang/ClassCircularityError.java
11625 java/lang/ClassFormatError.java
11626 java/lang/ClassNotFoundException.java
11627 java/lang/CloneNotSupportedException.java
11628 java/lang/Cloneable.java java/lang/Comparable.java
11629 java/lang/Compiler.java java/lang/Double.java
11630 java/lang/Error.java java/lang/Exception.java
11631 java/lang/ExceptionInInitializerError.java
11632 java/lang/Float.java java/lang/IllegalAccessError.java
11633 java/lang/IllegalAccessException.java
11634 java/lang/IllegalArgumentException.java
11635 java/lang/IllegalMonitorStateException.java
11636 java/lang/IllegalStateException.java
11637 java/lang/IllegalThreadStateException.java
11638 java/lang/IncompatibleClassChangeError.java
11639 java/lang/IndexOutOfBoundsException.java
11640 java/lang/InheritableThreadLocal.java
11641 java/lang/InstantiationError.java
11642 java/lang/InstantiationException.java java/lang/Integer.java
11643 java/lang/InternalError.java
11644 java/lang/InterruptedException.java
11645 java/lang/LinkageError.java java/lang/Long.java
11646 java/lang/NegativeArraySizeException.java
11647 java/lang/NoClassDefFoundError.java
11648 java/lang/NoSuchFieldError.java
11649 java/lang/NoSuchFieldException.java
11650 java/lang/NoSuchMethodError.java
11651 java/lang/NoSuchMethodException.java
11652 java/lang/NullPointerException.java java/lang/Number.java
11653 java/lang/NumberFormatException.java
11654 java/lang/OutOfMemoryError.java java/lang/Package.java
11655 java/lang/Process.java java/lang/Runnable.java
11656 java/lang/RuntimeException.java
11657 java/lang/RuntimePermission.java
11658 java/lang/SecurityException.java
11659 java/lang/SecurityManager.java java/lang/Short.java
11660 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11661 java/lang/StringIndexOutOfBoundsException.java
11662 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11663 java/lang/ThreadLocal.java java/lang/UnknownError.java
11664 java/lang/UnsatisfiedLinkError.java
11665 java/lang/UnsupportedClassVersionError.java
11666 java/lang/UnsupportedOperationException.java
11667 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11668 java/lang/Void.java java/lang/ref/PhantomReference.java
11669 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11670 java/lang/ref/SoftReference.java
11671 java/lang/ref/WeakReference.java
11672 java/lang/reflect/AccessibleObject.java
11673 java/lang/reflect/InvocationTargetException.java
11674 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11675 java/lang/reflect/ReflectPermission.java
11676 java/math/BigDecimal.java java/math/BigInteger.java
11677 java/net/Authenticator.java java/net/BindException.java
11678 java/net/ConnectException.java java/net/ContentHandler.java
11679 java/net/ContentHandlerFactory.java
11680 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11681 java/net/FileNameMap.java java/net/MalformedURLException.java
11682 java/net/MulticastSocket.java java/net/NetPermission.java
11683 java/net/NoRouteToHostException.java
11684 java/net/PasswordAuthentication.java
11685 java/net/ProtocolException.java java/net/ServerSocket.java
11686 java/net/Socket.java java/net/SocketException.java
11687 java/net/SocketImpl.java java/net/SocketImplFactory.java
11688 java/net/SocketOptions.java java/net/SocketPermission.java
11689 java/net/URLDecoder.java java/net/URLEncoder.java
11690 java/net/URLStreamHandlerFactory.java
11691 java/net/UnknownHostException.java
11692 java/net/UnknownServiceException.java
11693 java/rmi/AccessException.java
11694 java/rmi/AlreadyBoundException.java
11695 java/rmi/ConnectException.java
11696 java/rmi/ConnectIOException.java
11697 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11698 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11699 java/rmi/NotBoundException.java
11700 java/rmi/RMISecurityException.java
11701 java/rmi/RMISecurityManager.java java/rmi/Remote.java
11702 java/rmi/RemoteException.java java/rmi/ServerError.java
11703 java/rmi/ServerException.java
11704 java/rmi/ServerRuntimeException.java
11705 java/rmi/StubNotFoundException.java
11706 java/rmi/UnexpectedException.java
11707 java/rmi/UnknownHostException.java
11708 java/rmi/UnmarshalException.java
11709 java/rmi/activation/Activatable.java
11710 java/rmi/activation/ActivateFailedException.java
11711 java/rmi/activation/ActivationDesc.java
11712 java/rmi/activation/ActivationException.java
11713 java/rmi/activation/ActivationGroup.java
11714 java/rmi/activation/ActivationGroupDesc.java
11715 java/rmi/activation/ActivationGroupID.java
11716 java/rmi/activation/ActivationID.java
11717 java/rmi/activation/ActivationInstantiator.java
11718 java/rmi/activation/ActivationMonitor.java
11719 java/rmi/activation/ActivationSystem.java
11720 java/rmi/activation/Activator.java
11721 java/rmi/activation/UnknownGroupException.java
11722 java/rmi/activation/UnknownObjectException.java
11723 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11724 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11725 java/rmi/registry/Registry.java
11726 java/rmi/registry/RegistryHandler.java
11727 java/rmi/server/ExportException.java
11728 java/rmi/server/LoaderHandler.java
11729 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11730 java/rmi/server/Operation.java
11731 java/rmi/server/RMIClassLoader.java
11732 java/rmi/server/RMIClientSocketFactory.java
11733 java/rmi/server/RMIFailureHandler.java
11734 java/rmi/server/RMIServerSocketFactory.java
11735 java/rmi/server/RMISocketFactory.java
11736 java/rmi/server/RemoteCall.java
11737 java/rmi/server/RemoteObject.java
11738 java/rmi/server/RemoteRef.java
11739 java/rmi/server/RemoteServer.java
11740 java/rmi/server/RemoteStub.java
11741 java/rmi/server/ServerCloneException.java
11742 java/rmi/server/ServerNotActiveException.java
11743 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11744 java/rmi/server/SkeletonMismatchException.java
11745 java/rmi/server/SkeletonNotFoundException.java
11746 java/rmi/server/SocketSecurityException.java
11747 java/rmi/server/UID.java
11748 java/rmi/server/UnicastRemoteObject.java
11749 java/rmi/server/Unreferenced.java
11750 java/security/AccessControlContext.java
11751 java/security/AccessControlException.java
11752 java/security/AccessController.java
11753 java/security/AlgorithmParameterGenerator.java
11754 java/security/AlgorithmParameterGeneratorSpi.java
11755 java/security/AlgorithmParameters.java
11756 java/security/AlgorithmParametersSpi.java
11757 java/security/AllPermission.java
11758 java/security/BasicPermission.java
11759 java/security/Certificate.java java/security/CodeSource.java
11760 java/security/DigestException.java
11761 java/security/DigestInputStream.java
11762 java/security/DigestOutputStream.java
11763 java/security/DomainCombiner.java
11764 java/security/DummyKeyPairGenerator.java
11765 java/security/DummyMessageDigest.java
11766 java/security/DummySignature.java
11767 java/security/GeneralSecurityException.java
11768 java/security/Guard.java java/security/GuardedObject.java
11769 java/security/Identity.java java/security/IdentityScope.java
11770 java/security/InvalidAlgorithmParameterException.java
11771 java/security/InvalidKeyException.java
11772 java/security/InvalidParameterException.java
11773 java/security/Key.java java/security/KeyException.java
11774 java/security/KeyFactory.java java/security/KeyFactorySpi.java
11775 java/security/KeyManagementException.java
11776 java/security/KeyPair.java java/security/KeyPairGenerator.java
11777 java/security/KeyPairGeneratorSpi.java
11778 java/security/KeyStore.java
11779 java/security/KeyStoreException.java
11780 java/security/KeyStoreSpi.java
11781 java/security/MessageDigest.java
11782 java/security/MessageDigestSpi.java
11783 java/security/NoSuchAlgorithmException.java
11784 java/security/NoSuchProviderException.java
11785 java/security/Permission.java
11786 java/security/PermissionCollection.java
11787 java/security/Permissions.java java/security/Policy.java
11788 java/security/Principal.java java/security/PrivateKey.java
11789 java/security/PrivilegedAction.java
11790 java/security/PrivilegedActionException.java
11791 java/security/PrivilegedExceptionAction.java
11792 java/security/ProtectionDomain.java
11793 java/security/Provider.java
11794 java/security/ProviderException.java
11795 java/security/PublicKey.java
11796 java/security/SecureClassLoader.java
11797 java/security/SecureRandom.java
11798 java/security/SecureRandomSpi.java java/security/Security.java
11799 java/security/SecurityPermission.java
11800 java/security/Signature.java
11801 java/security/SignatureException.java
11802 java/security/SignatureSpi.java
11803 java/security/SignedObject.java java/security/Signer.java
11804 java/security/UnrecoverableKeyException.java
11805 java/security/UnresolvedPermission.java
11806 java/security/acl/Acl.java java/security/acl/AclEntry.java
11807 java/security/acl/AclNotFoundException.java
11808 java/security/acl/Group.java
11809 java/security/acl/LastOwnerException.java
11810 java/security/acl/NotOwnerException.java
11811 java/security/acl/Owner.java java/security/acl/Permission.java
11812 java/security/cert/CRL.java
11813 java/security/cert/CRLException.java
11814 java/security/cert/Certificate.java
11815 java/security/cert/CertificateEncodingException.java
11816 java/security/cert/CertificateException.java
11817 java/security/cert/CertificateExpiredException.java
11818 java/security/cert/CertificateFactory.java
11819 java/security/cert/CertificateFactorySpi.java
11820 java/security/cert/CertificateNotYetValidException.java
11821 java/security/cert/CertificateParsingException.java
11822 java/security/cert/X509CRL.java
11823 java/security/cert/X509CRLEntry.java
11824 java/security/cert/X509Certificate.java
11825 java/security/cert/X509Extension.java
11826 java/security/interfaces/DSAKey.java
11827 java/security/interfaces/DSAKeyPairGenerator.java
11828 java/security/interfaces/DSAParams.java
11829 java/security/interfaces/DSAPrivateKey.java
11830 java/security/interfaces/DSAPublicKey.java
11831 java/security/interfaces/RSAKey.java
11832 java/security/interfaces/RSAPrivateCrtKey.java
11833 java/security/interfaces/RSAPrivateKey.java
11834 java/security/interfaces/RSAPublicKey.java
11835 java/security/spec/AlgorithmParameterSpec.java
11836 java/security/spec/DSAParameterSpec.java
11837 java/security/spec/DSAPrivateKeySpec.java
11838 java/security/spec/DSAPublicKeySpec.java
11839 java/security/spec/EncodedKeySpec.java
11840 java/security/spec/InvalidKeySpecException.java
11841 java/security/spec/InvalidParameterSpecException.java
11842 java/security/spec/KeySpec.java
11843 java/security/spec/PKCS8EncodedKeySpec.java
11844 java/security/spec/RSAKeyGenParameterSpec.java
11845 java/security/spec/RSAPrivateCrtKeySpec.java
11846 java/security/spec/RSAPrivateKeySpec.java
11847 java/security/spec/RSAPublicKeySpec.java
11848 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11849 java/sql/BatchUpdateException.java java/sql/Blob.java
11850 java/sql/CallableStatement.java java/sql/Clob.java
11851 java/sql/Connection.java java/sql/DataTruncation.java
11852 java/sql/DatabaseMetaData.java java/sql/Date.java
11853 java/sql/Driver.java java/sql/DriverManager.java
11854 java/sql/DriverPropertyInfo.java
11855 java/sql/PreparedStatement.java java/sql/Ref.java
11856 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11857 java/sql/SQLData.java java/sql/SQLException.java
11858 java/sql/SQLInput.java java/sql/SQLOutput.java
11859 java/sql/SQLWarning.java java/sql/Statement.java
11860 java/sql/Struct.java java/sql/Time.java
11861 java/sql/Timestamp.java java/sql/Types.java
11862 java/text/Annotation.java
11863 java/text/AttributedCharacterIterator.java
11864 java/text/AttributedString.java
11865 java/text/AttributedStringIterator.java
11866 java/text/BreakIterator.java java/text/CharacterIterator.java
11867 java/text/ChoiceFormat.java java/text/Collator.java
11868 java/text/DateFormat.java java/text/DateFormatSymbols.java
11869 java/text/DecimalFormat.java
11870 java/text/DecimalFormatSymbols.java
11871 java/text/FieldPosition.java java/text/Format.java
11872 java/text/MessageFormat.java java/text/NumberFormat.java
11873 java/text/ParseException.java java/text/ParsePosition.java
11874 java/text/SimpleDateFormat.java
11875 java/text/StringCharacterIterator.java
11876 java/util/AbstractCollection.java java/util/AbstractList.java
11877 java/util/AbstractMap.java
11878 java/util/AbstractSequentialList.java
11879 java/util/AbstractSet.java java/util/ArrayList.java
11880 java/util/Arrays.java java/util/BasicMapEntry.java
11881 java/util/BitSet.java java/util/Calendar.java
11882 java/util/Collection.java java/util/Collections.java
11883 java/util/Comparator.java
11884 java/util/ConcurrentModificationException.java
11885 java/util/Date.java java/util/Dictionary.java
11886 java/util/EmptyStackException.java java/util/Enumeration.java
11887 java/util/EventListener.java java/util/EventObject.java
11888 java/util/GregorianCalendar.java java/util/HashMap.java
11889 java/util/HashSet.java java/util/Hashtable.java
11890 java/util/IdentityHashMap.java java/util/Iterator.java
11891 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11892 java/util/LinkedList.java java/util/List.java
11893 java/util/ListIterator.java java/util/ListResourceBundle.java
11894 java/util/Locale.java java/util/Map.java
11895 java/util/MissingResourceException.java
11896 java/util/NoSuchElementException.java
11897 java/util/Observable.java java/util/Observer.java
11898 java/util/Properties.java java/util/PropertyPermission.java
11899 java/util/PropertyResourceBundle.java java/util/Random.java
11900 java/util/RandomAccess.java java/util/ResourceBundle.java
11901 java/util/Set.java java/util/SimpleTimeZone.java
11902 java/util/SortedMap.java java/util/SortedSet.java
11903 java/util/Stack.java java/util/StringTokenizer.java
11904 java/util/TimeZone.java java/util/Timer.java
11905 java/util/TimerTask.java
11906 java/util/TooManyListenersException.java
11907 java/util/TreeMap.java java/util/TreeSet.java
11908 java/util/Vector.java java/util/WeakHashMap.java
11909 java/util/jar/Attributes.java java/util/jar/JarEntry.java
11910 java/util/jar/JarException.java java/util/jar/JarFile.java
11911 java/util/jar/JarInputStream.java
11912 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11913 java/util/zip/Adler32.java java/util/zip/CRC32.java
11914 java/util/zip/CheckedInputStream.java
11915 java/util/zip/CheckedOutputStream.java
11916 java/util/zip/Checksum.java
11917 java/util/zip/DataFormatException.java
11918 java/util/zip/Deflater.java
11919 java/util/zip/DeflaterOutputStream.java
11920 java/util/zip/GZIPInputStream.java
11921 java/util/zip/GZIPOutputStream.java
11922 java/util/zip/Inflater.java
11923 java/util/zip/InflaterInputStream.java
11924 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11925 java/util/zip/ZipException.java java/util/zip/ZipFile.java
11926 java/util/zip/ZipInputStream.java
11927 java/util/zip/ZipOutputStream.java
11928 javax/naming/BinaryRefAddr.java
11929 javax/naming/InvalidNameException.java javax/naming/Name.java
11930 javax/naming/NamingException.java javax/naming/RefAddr.java
11931 javax/naming/StringRefAddr.java: Add license clarification.
11932
11933 2002-01-22 Tom Tromey <tromey@redhat.com>
11934
11935 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11936 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11937 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11938 version.
11939 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11940 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11941 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11942 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11943 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11944 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11945 * java/awt/peer/FontPeer.java: Replace with Classpath version.
11946 * java/awt/peer/FramePeer.java: Replace with Classpath version.
11947 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11948 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11949 * java/awt/peer/ListPeer.java: Replace with Classpath version.
11950 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11951 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11952 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11953 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11954 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11955 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11956 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11957 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11958 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11959 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11960 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11961 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11962 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11963 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11964 (minimumSize, preferredSize, reshape): Likewise.
11965 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11966 getColorModel): New methods.
11967 * java/awt/PopupMenu.java: Merged with Classpath.
11968 * java/awt/MenuBar.java: Merged with Classpath.
11969 * java/awt/SystemColor.java: Replace with Classpath version.
11970 * java/awt/Panel.java: Merged with Classpath.
11971 * java/awt/PaintContext.java: Updated copyright.
11972 * java/awt/MenuShortcut.java: Merged with Classpath.
11973 * java/awt/MenuContainer.java: Merged with Classpath.
11974 * java/awt/Menu.java: Merged with Classpath.
11975 * java/awt/MediaEntry.java: New file from Classpath.
11976 * java/awt/MediaTracker.java: New file from Classpath.
11977 * java/awt/List.java: Merged with Classpath version.
11978 * java/awt/Insets.java: Merged with Classpath version.
11979 * java/awt/ImageMediaEntry.java: New file from Classpath.
11980 * java/awt/Image.java: Replaced with Classpath version.
11981 * java/awt/FontMetrics.java: Merged with Classpath version.
11982 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11983 constant.
11984 * java/awt/Font.java: Merged with Classpath version.
11985 * java/awt/Dialog.java: Merged with Classpath version.
11986 * java/awt/Color.java: Merged with Classpath version.
11987 * java/awt/Choice.java: Merged with Classpath version.
11988 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11989 * java/awt/Adjustable.java: Replace with Classpath version.
11990 * java/awt/MenuItem.java (paramString): Don't include class name
11991 or brackets. Call superclass paramString.
11992 * java/awt/MenuComponent.java (toString): Call paramString.
11993 (paramString): Compute string; don't call toString.
11994 * java/awt/Label.java (paramString): Don't include class name
11995 or brackets. Call superclass paramString.
11996 * java/awt/Checkbox.java (paramString): Don't include class name
11997 or brackets. Call superclass paramString.
11998 * java/awt/Button.java (paramString): Don't include class name or
11999 brackets. Call superclass paramString.
12000 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12001
12002 2002-01-20 Andreas Schwab <schwab@suse.de>
12003
12004 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12005 function and of parameter recv_func to ssize_t, as specified by
12006 POSIX.
12007
12008 2002-01-19 Per Bothner <per@bothner.com>
12009
12010 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12011 uncompressed_size in readiness for next entry.
12012
12013 2002-01-18 Tom Tromey <tromey@redhat.com>
12014
12015 * java/net/natPlainSocketImpl.cc: Include
12016 IllegalArgumentException.h.
12017 (_Jv_recv): New template function.
12018 (BooleanClass): Removed.
12019 (read): Use _Jv_recv.
12020 (setOption): Use Boolean::class$. Throw exception if object is
12021 not Boolean or Integer.
12022
12023 2002-01-17 Tom Tromey <tromey@redhat.com>
12024
12025 * java/awt/MenuComponent.java: Merged with Classpath.
12026 * java/awt/MenuItem.java: Merged with Classpath.
12027 * java/awt/Button.java: Merged with Classpath.
12028
12029 * java/awt/ActiveEvent.java: Updated copyright.
12030
12031 * java/awt/AWTError.java: Replaced with Classpath version.
12032 * java/awt/AWTException.java: Replaced with Classpath version.
12033 * java/awt/IllegalComponentStateException.java: Replaced with
12034 Classpath version.
12035
12036 2002-01-16 Tom Tromey <tromey@redhat.com>
12037
12038 * java/awt/Canvas.java (serialVersionUID): New constant.
12039 Updated copyright. Added javadoc from Classpath.
12040 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12041
12042 * java/awt/CheckboxGroup.java: Merged with Classpath.
12043 * java/awt/Checkbox.java: Merged with Classpath.
12044
12045 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12046 Classpath.
12047 * java/awt/Point.java: Updated copyright.
12048
12049 * java/awt/Point.java (toString): Use getClass().getName().
12050 Added javadoc.
12051
12052 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12053 commented code.
12054 (hash): Correctly compute initial value for `h'.
12055
12056 * java/awt/Label.java: Merged with Classpath.
12057
12058 2002-01-15 Tom Tromey <tromey@redhat.com>
12059
12060 * java/awt/AWTPermission.java: Updated copyright.
12061
12062 * java/awt/LayoutManager2.java: Merged with Classpath.
12063 * java/awt/LayoutManager.java: Merged with Classpath.
12064 * java/awt/GridLayout.java: Updated copyright and javadoc.
12065 (getSize): Use `parent.ncomponents'. Handle insets.
12066 (layoutContainer): Use `parent.ncomponents'. Handle case where
12067 there are fewer children than columns. Correctly compute size of
12068 each cell in the grid. Handle case where there isn't enough
12069 space.
12070 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12071 all users.
12072 (gotoComponent): Use parent.ncomponents. Ensure child exists
12073 before calling setVisible() on it. Last item is `num - 1', not
12074 `num'.
12075 (layoutContainer): Hoist invariants out of loop.
12076
12077 Start of AWT merge with Classpath:
12078 * Makefile.in: Rebuilt.
12079 * Makefile.am (awt_java_source_files): Reference files in
12080 gnu/java/awt, not gnu/gcj/awt.
12081 * java/awt/image/BufferedImage.java: Updated copyright.
12082 * java/awt/image/ComponentColorModel.java: Updated copyright.
12083 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12084 * java/awt/image/DataBuffer.java: Updated copyright.
12085 * java/awt/image/DataBufferByte.java: Updated copyright.
12086 * java/awt/image/DataBufferInt.java: Updated copyright.
12087 * java/awt/image/DataBufferUShort.java: Updated copyright.
12088 * java/awt/image/IndexColorModel.java: Updated copyright.
12089 * java/awt/image/PackedColorModel.java: Updated copyright.
12090 * java/awt/image/Raster.java: Updated copyright.
12091 * java/awt/image/RasterOp.java: Updated copyright.
12092 * java/awt/image/SampleModel.java: Updated copyright.
12093 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12094 * java/awt/image/WritableRaster.java: Updated copyright.
12095 * java/awt/color/ColorSpace.java: Updated copyright.
12096 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12097 * java/awt/color/ICC_Profile.java: Updated copyright.
12098 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12099 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12100 * java/awt/event/HierarchyEvent.java: Updated copyright.
12101 * java/awt/event/HierarchyListener.java: Updated copyright.
12102 * java/awt/geom/AffineTransform.java: Updated copyright.
12103 * java/awt/geom/Dimension2D.java: Updated copyright.
12104 * java/awt/geom/Ellipse2D.java: Updated copyright.
12105 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12106 * java/awt/geom/Line2D.java: Updated copyright.
12107 * java/awt/geom/NoninvertibleTransformException.java: Updated
12108 copyright.
12109 * java/awt/geom/PathIterator.java: Updated copyright.
12110 * java/awt/geom/Point2D.java: Updated copyright.
12111 * java/awt/geom/Rectangle2D.java: Updated copyright.
12112 * java/awt/geom/RectangularShape.java: Updated copyright.
12113 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12114 * java/awt/Toolkit.java: Updated import for file moves.
12115 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12116 Classpath.
12117 (hashCode): New method from Classpath.
12118 * java/awt/Graphics2D.java: Updated copyright.
12119 * java/awt/Transparency.java: Updated copyright.
12120 * java/awt/Paint.java: Updated copyright.
12121 * java/awt/Graphics.java: New version from Classpath.
12122 * java/awt/EventDispatchThread.java: Updated copyright.
12123 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12124 children.
12125 (gotoComponent): Wrap around on next/previous.
12126 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12127 * gnu/gcj/awt/Buffers.java: Removed.
12128 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12129 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12130 * gnu/java/awt/BitMaskExtent.java: Added.
12131 * gnu/java/awt/Buffers.java: Added.
12132 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12133 * gnu/java/awt/GLightweightPeer.java: Added.
12134 * java/awt/geom/Line2D.java (clone): Ignore
12135 CloneNotSupportedException.
12136 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12137 * java/awt/Frame.java: Merged with Classpath.
12138 * java/awt/RenderingHints.java: Copyright update.
12139 * java/awt/Paint.java: Copyright update.
12140 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12141 * java/awt/image/ColorModel.java: Merged with Classpath.
12142 * java/awt/Window.java (show): New Implementation from Classpath.
12143 (isShowing): Use super.isShowing().
12144 * java/awt/EventQueue.java: Merged with Classpath.
12145 * java/awt/AWTEventMulticaster.java (save): Throw
12146 RuntimeException.
12147 (saveInternal): Likewise.
12148 * java/awt/AWTEvent.java: Now implements Serializable.
12149 * java/awt/Event.java: Copyright update.
12150 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12151 * java/awt/image/BufferedImage.java: Copyright update.
12152 * java/awt/GraphicsConfiguration.java: Copyright update.
12153 * java/awt/Component.java: (addNotify): Don't call
12154 addNotifyContainerChildren().
12155 (addNotifyContainerChildren): Removed.
12156 (setPeer): New method from Classpath.
12157 (setTreeLock): Likewise.
12158 (setVisible): Rewrote.
12159 (show): Use it.
12160 (hide): Likewise.
12161 (validate): Set `valid'.
12162 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12163 (createImage(ImageProducer)): Likewise.
12164 (prepareImage): Likewise.
12165 * java/awt/Container.java (addImpl): Handle case where constraint
12166 is not a String. Post event via system event queue.
12167 (remove): Post event via system event queue.
12168 (validateTree): Only validate child if it is invalid.
12169 (getAlignmentX): Call super method as default.
12170 (getAlignmentY): Likewise.
12171 (addContainerListener): Now synchronized.
12172 (removeContainerListener): Likewise.
12173 (addNotifyContainerChildren): Now private.
12174 * java/awt/ComponentOrientation.java: Updated copyright. Added
12175 @author.
12176 * java/awt/FlowLayout.java (serialVersionUID): New field.
12177 (setAlignment): Better exception message.
12178 (layoutContainer): Don't compute component's preferred size unless
12179 we're going to use it.
12180 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12181 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12182 (firstLine, lastLine, firstItem, lastItem): New fields.
12183 (addLayoutComponent): Handle case where constraints is null.
12184 Also, handle relative locations.
12185 (removeLayoutComponent): Handle relative locations.
12186 (MIN, MAX, PREF): New constants.
12187 (calcCompSize): New method.
12188 (calcSize): New method.
12189 (minimumLayoutSize): Use it.
12190 (preferredLayoutSize): Likewise.
12191 (maximumLayoutSize): Likewise.
12192 (toString): Include more information.
12193 (setBounds): New method.
12194 (layoutContainer): Use libgcj implementation; extended to handle
12195 relative locations.
12196
12197 2002-01-15 Tom Tromey <tromey@redhat.com>
12198
12199 * java/lang/Float.java (equals): Preserve old code.
12200 * java/lang/Double.java (equals): Preserve old code.
12201
12202 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12203
12204 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12205 * java/lang/Float.java (equals, compare): Ditto.
12206
12207 2002-01-13 Mark Wielaard <mark@klomp.org>
12208
12209 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12210 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12211 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12212 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12213
12214 2002-01-11 Mark Wielaard <mark@klomp.org>
12215
12216 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12217 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12218 InetAddress.
12219 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12220 * java/net/Socket.java: Merge with Classpath.
12221 * java/net/ServerSocket.java: Likewise.
12222
12223 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12224
12225 * interpret.cc (NULLARRAYCHECK): New macro.
12226 (SAVE_PC): Just store `pc'.
12227 (find_exception): Subtract one from `pc' here.
12228 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12229 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12230 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12231 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12232 don't call SAVE_PC.
12233 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12234 call SAVE_PC.
12235
12236 2002-01-11 Tom Tromey <tromey@redhat.com>
12237
12238 * java/lang/natSystem.cc (init_properties): Only look for default
12239 locale if LC_MESSAGES is defined.
12240 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12241 * configure.in: Call AM_LC_MESSAGES.
12242 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12243
12244 2002-01-10 Tom Tromey <tromey@redhat.com>
12245
12246 For PR libgcj/5303:
12247 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12248 --version. Recognize GNU-style long options. Print GNU-style
12249 error messages.
12250 (usage): Print GNU-style help. Exit with status 0.
12251 (error): New method.
12252 (run): Print error message if no class names found.
12253 (main): Don't print usage on error.
12254
12255 2002-01-09 Tom Tromey <tromey@redhat.com>
12256
12257 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12258 property.
12259 (help, version): Use println(), not println("").
12260
12261 For PR libgcj/5303:
12262 * gnu/gcj/convert/Convert.java (error): Program is called
12263 `jv-convert'. Print GNU-style message. Exit with status 1, not
12264 -1.
12265 (main): Handle --help and --version.
12266 (help): New method.
12267 (version): Likewise.
12268
12269 2002-01-08 Tom Tromey <tromey@redhat.com>
12270
12271 * Makefile.in: Rebuilt.
12272 * Makefile.am (ordinary_java_source_files): Added new files.
12273 * gnu/java/locale/LocaleInformation.java: Extend
12274 LocaleInformation_en.
12275 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12276 and time/date formats.
12277 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12278 generated.
12279 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12280 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12281 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12282 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12283 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12284 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12285 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12286 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12287 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12288 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12289 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12290 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12291 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12292 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12293 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12294 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12295 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12296 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12297 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12298 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12299 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12300 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12301 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12302 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12303 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12304 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12305 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12306 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12307 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12308 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12309 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12310 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12311 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12312 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12313 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12314 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12315 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12316 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12317 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12318 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12319 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12320 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12321 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12322 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12323 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12324 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12325 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12326 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12327 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12328 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12329 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12330 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12331 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12332 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12333 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12334 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12335 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12336 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12337 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12338 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12339 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12340 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12341 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12342 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12343 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12344 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12345 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12346 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12347 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12348 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12349 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12350 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12351 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12352 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12353 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12354 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12355 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12356 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12357 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12358 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12359 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12360 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12361 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12362 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12363 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12364 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12365 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12366 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12367 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12368 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12369 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12370 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12371 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12372 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12373 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12374 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12375 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12376 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12377 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12378 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12379 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12380 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12381 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12382 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12383 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12384 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12385 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12386 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12387 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12388 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12389 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12390 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12391 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12392 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12393 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12394 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12395 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12396 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12397 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12398 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12399 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12400 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12401 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12402 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12403 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12404 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12405 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12406 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12407 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12408 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12409
12410 For PR libgcj/5031:
12411 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12412 choose default locale.
12413
12414 * Makefile.in: Rebuilt.
12415 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12416
12417 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12418
12419 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12420 sockets.
12421 (close): New function closes the socket.
12422 (write): New functions for output to socket.
12423 (read): New functions for reading from socket.
12424 * java/net/PlainSocketImpl.java: Glue for new timeout
12425 implementation.
12426 (write): Call the native impl.
12427 (read): Likewise.
12428 (getInputStream): Get a stream to read from the socket.
12429 (getOutputStream): Get a stream to write to the socket.
12430
12431 2002-01-08 Tom Tromey <tromey@redhat.com>
12432
12433 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12434
12435 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12436
12437 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12438 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12439
12440 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12441
12442 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12443 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12444 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12445 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12446 insn_bastore, insn_castore, insn_sastore]: Use it.
12447 (continue1) [insn_arraylength]: Check for null array.
12448
12449 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12450
12451 * configure, include/config.h.in: Rebuilt.
12452 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12453 * configure.in: Call AC_STRUCT_TIMEZONE.
12454
12455 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12456
12457 * configure.host: Disable the interpreter for Darwin.
12458
12459 2002-01-04 Tom Tromey <tromey@redhat.com>
12460
12461 * java/lang/Thread.java (stop): No longer synchronized.
12462 (start): Likewise.
12463
12464 2002-01-02 Tom Tromey <tromey@redhat.com>
12465
12466 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12467 patch.
12468
12469 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12470
12471 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12472 PPC Darwin, not for all of Darwin.