2003-07-20 Michael Koch <konqueror@gmx.de>
[gcc.git] / libjava / ChangeLog
1 2003-07-20 Michael Koch <konqueror@gmx.de>
2
3 * java/net/URL.java
4 (URL): Fixed documentation to name an argument correcty, Reformatted
5 one method declaration.
6 (getURLStreamHandler): Added documentation from classpath.
7 2003-07-19 Tom Tromey <tromey@redhat.com>
8
9 * mauve-libgcj: Don't run CollationElementIterator tests.
10
11 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
12
13 * java/net/URLClassLoader.java (addURL): Moved implementation to
14 private addURLImpl() to avoid calling addURL from the constructor.
15 (addURLImpl): Contains the code that was previously in addURL.
16 (addURLs): Call addURLImpl(), not addURL().
17
18 2003-07-18 Graydon Hoare <graydon@redhat.com>
19
20 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
21 Handle missing event cases, connect to "value-changed" signal.
22
23 2003-07-18 Graydon Hoare <graydon@redhat.com>
24
25 * java/awt/geom/CubicCurve2D.java,
26 java/awt/geom/Line2D.java,
27 java/awt/geom/QuadCurve2D.java,
28 java/awt/geom/Rectangle2D.java:
29 Fix path some calculations, make path iterators follow
30 a consistent style.
31
32 2003-07-18 Mark Wielaard <mark@klomp.org>
33
34 * java/util/logging/Handler.java (isLoggable): Check record level
35 smaller or equal.
36
37 2003-07-17 Michael Koch <konqueror@gmx.de>
38
39 * gnu/java/awt/peer/gtk/GtkToolkit.java:
40 Reworked imports.
41
42 2003-07-14 Michael Koch <konqueror@gmx.de>
43
44 * gnu/java/rmi/server/UnicastServerRef.java:
45 New version from classpath.
46
47 2003-07-14 Michael Koch <konqueror@gmx.de>
48
49 * java/awt/image/MemoryImageSource.java,
50 java/beans/PropertyEditorManager.java,
51 javax/naming/CompoundName.java,
52 javax/naming/spi/NamingManager.java,
53 javax/swing/AbstractButton.java,
54 javax/swing/ButtonModel.java,
55 javax/swing/SwingUtilities.java,
56 javax/swing/UIManager.java,
57 javax/swing/colorchooser/DefaultColorSelectionModel.java,
58 javax/swing/event/AncestorEvent.java,
59 javax/swing/event/InternalFrameEvent.java,
60 java/util/zip/ZipFile.java:
61 New versions from classpath.
62
63 2003-07-13 Michael Koch <konqueror@gmx.de>
64
65 * gnu/java/nio/FileChannelImpl.java,
66 gnu/java/nio/natFileChannelImpl.cc: Removed.
67 * java/io/FileInputStream.java,
68 java/io/FileOutputStream.java,
69 java/io/RandomAccessFile.java,
70 java/nio/MappedByteBufferImpl.java:
71 Import java.nio.channels.FileChannelImpl instead of
72 gnu.java.nio.FileChannelImpl.
73 * java/nio/channels/FileChannelImpl.java,
74 java/nio/channels/natFileChannelImpl.cc:
75 New files.
76 * Makefile.am
77 (ordinary_java_source_files):
78 Removed gnu/java/nio/FileChannelImpl.java and added
79 java/nio/channels/FileChannelImpl.java.
80 (nat source_files):
81 Removed gnu/java/nio/natFileChannelImpl.cc and added
82 java/nio/channels/natFileChannelImpl.cc.
83 * Makefile.in: Regenerated.
84
85 2003-07-13 Michael Koch <konqueror@gmx.de>
86
87 * javax/swing/plaf/basic/BasicBorders.java,
88 javax/swing/plaf/basic/BasicLabelUI.java,
89 javax/swing/plaf/basic/BasicLookAndFeel.java,
90 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
91 javax/swing/plaf/basic/BasicTextUI.java,
92 javax/swing/plaf/metal/MetalLookAndFeel.java:
93 New versions from classpath.
94
95 2003-07-13 Michael Koch <konqueror@gmx.de>
96
97 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
98 * gnu/java/awt/peer/gtk/GdkGraphics.java
99 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
100 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
101 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
102 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
103 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
104 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
105 * gnu/java/awt/peer/gtk/GtkClipboard.java
106 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
107 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
108 * gnu/java/awt/peer/gtk/GtkFramePeer.java
109 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
110 * gnu/java/awt/peer/gtk/GtkImage.java
111 * gnu/java/awt/peer/gtk/GtkImagePainter.java
112 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
113 * gnu/java/awt/peer/gtk/GtkListPeer.java
114 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
115 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
116 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
117 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
118 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
119 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
120 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
121 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
122 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
123 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
124 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
125 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
126
127 2003-07-13 Michael Koch <konqueror@gmx.de>
128
129 * gnu/java/locale/LocaleInformation_de.java
130 * gnu/java/locale/LocaleInformation_en.java
131 * gnu/java/locale/LocaleInformation_nl.java
132
133 2003-07-13 Michael Koch <konqueror@gmx.de>
134
135 * gnu/java/awt/EmbeddedWindow.java,
136 gnu/java/awt/EmbeddedWindowSupport.java,
137 gnu/java/awt/natEmbeddedWindow.cc:
138 New files.
139 * java/awt/Window.java
140 (Window): New constructor to support embedded windows.
141 * Makefile.am
142 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
143 gnu/java/awt/EmbeddedWindowSupport.java.
144 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
145 * Makefile.in: Regenerated.
146
147 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
148
149 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
150 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
151 * java/awt/im/InputContext.java: Remove a redundant
152 partial line.
153
154 2003-07-09 Tom Tromey <tromey@redhat.com>
155
156 * Makefile.in: Rebuilt.
157 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
158
159 2003-07-09 Mark Wielaard <mark@klomp.org>
160
161 * java/io/ObjectOutputStream.java (writeObject): break after
162 calling writeClassDescriptor().
163
164 2003-07-09 Mark Mitchell <mark@codesourcery.com>
165
166 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
167
168 2003-07-09 Michael Koch <konqueror@gmx.de>
169
170 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
171 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
172 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
173 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
174 Explicitly import used classes.
175 * java/awt/Container.java: New version from classpath.
176
177 2003-07-09 Michael Koch <konqueror@gmx.de>
178
179 * libgcj.pc.in: New file.
180 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
181 * Makefile.in: Regenerated.
182 * configure: Regenrated.
183 * configure.in: Create libgcj.pc from libgcj.pc.in.
184
185 2003-07-08 Mark Wielaard <mark@klomp.org>
186
187 * gcj/cni.h: CNI now expands to Compiled Native Interface.
188
189 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
190 * java/lang/fdlibm.h: Likewise.
191
192 2003-07-07 Adam Megacz <adam@xwt.org>
193
194 * posix.cc: added #include<stdio.h>
195
196 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
197
198 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
199 formatting.
200
201 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
202 (setCaretPosition, setEditable): Rely entirely on native
203 implementation.
204 (getArgs): Remove.
205 (postTextEvent): New method.
206 (handleEvent): New method.
207 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
208 method.
209 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
210 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
211 (keysym_to_awt_keycode): Fix range checks.
212 (generates_key_typed_event): New function.
213 (awt_event_handler): Post AWT_KEY_RELEASED events to event
214 queue.
215 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
216 (gtkInit): Store TextComponent's postTextEvent method ID.
217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
218 (setText): Post TEXT_VALUE_CHANGED event to event queue.
219
220 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
221
222 * configure.in: Check for usleep declaration.
223 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
224 * configure: Regenerate.
225 * include/config.h.in: Likewise.
226 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
227
228 2003-07-01 Michael Koch <konqueror@gmx.de>
229
230 * gnu/gcj/convert/natIconv.cc
231 (iconv_init): Fixed possible memory leak by releasing allocated iconv
232 handle.
233
234 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
235
236 * glib-2.0.m4: New file.
237 * gtk-2.0.m4: New file.
238 * glib.m4: Remove.
239 * gtk.m4: Remove.
240 * configure.in: Update AM_PATH_GTK macro call to
241 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
242 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
243 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
244 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
245 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
246 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
247 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
248 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
249 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
250 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
251 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
252 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
253 jni/gtk-peer/gthread-jni.c,
254 jni/gtk-peer/gthread-jni.h:
255 New versions from classpath.
256 * aclocal.m4: Regenerate.
257 * configure: Regenerate.
258 * Makefile.in: Regenerate.
259 * gcj/Makefile.in: Regenerate.
260 * include/Makefile.in: Regenerate.
261 * testsuite/Makefile.in: Regenerate.
262
263 2003-06-30 Gary Benson <gbenson@redhat.com>
264
265 For PR libgcj/11349:
266 * javax/naming/spi/NamingManager.java (getURLContext): Use
267 correct name for factory class.
268
269 2003-06-28 Michael Koch <konqueror@gmx.de>
270
271 * java/io/PrintStream.java
272 (checkError): Call flush() instead of direct flushing of the Writer
273 object.
274 (print): Call print(String) instead of direct print method of the
275 Writer Object.
276 (println): Call println(String) instead of direct println method of the
277 Writer Object.
278 (write): Simplified.
279
280 2003-06-28 Michael Koch <konqueror@gmx.de>
281
282 * java/net/ServerSocket.java
283 (setChannel): New method.
284 * java/net/Socket.java
285 (setChannel): New method.
286
287 2003-06-27 Michael Koch <konqueror@gmx.de>
288
289 * java/beans/beancontext/BeanContextSupport.java:
290 New version from classpath.
291
292 2003-06-27 Michael Koch <konqueror@gmx.de>
293
294 * java/awt/Window.java,
295 java/awt/font/GraphicAttribute.java,
296 java/awt/font/ImageGraphicAttribute.java,
297 java/awt/image/DataBufferByte.java,
298 java/awt/image/DataBufferInt.java,
299 java/awt/image/DataBufferUShort.java,
300 java/awt/image/DirectColorModel.java,
301 java/awt/image/PixelGrabber.java:
302 New versions from classpath.
303
304 2003-06-27 Michael Koch <konqueror@gmx.de>
305
306 * java/security/Certificate.java
307 (getGuarantor): Removed wrong @deprecated tag.
308 (getPrincipal): Likewise.
309 (getPublicKey): Likewise.
310 (encode): Likewise.
311 (decode): Likewise.
312 (getFormat): Likewise.
313 (toString): Likewise.
314 * java/security/cert/PolicyQualifierInfo.java
315 (PolicyQualifierInfo): Made final.
316 * javax/security/auth/x500/X500Principal.java
317 (serialVersionUID): New member variable.
318
319 2003-06-27 Michael Koch <konqueror@gmx.de>
320
321 * java/text/Format.java
322 (serialVersionUID): Fixed value.
323
324 2003-06-27 Michael Koch <konqueror@gmx.de>
325
326 * java/net/Inet4Address.java
327 (Inet4Address): Made package-private.
328 * java/net/Inet6Address.java
329 (Inet4Address): Made package-private.
330
331 2003-06-27 Michael Koch <konqueror@gmx.de>
332
333 * java/io/RandomAccessFile.java
334 (readLine): Removed wrong @deprecated tag.
335 (getChannel): Made final.
336
337 2003-06-27 Michael Koch <konqueror@gmx.de>
338
339 * gnu/java/nio/FileChannelImpl.java
340 (write): Removed.
341
342 2003-06-27 Michael Koch <konqueror@gmx.de>
343
344 * java/nio/ByteBufferImpl.java
345 (ByteBufferImpl): Made it a package-private class
346 * java/nio/CharBufferImpl.java
347 (CharBufferImpl): Made it a package-private class
348 * java/nio/DirectByteBufferImpl.java
349 (DirectByteBufferImpl): Made it a package-private class
350 * java/nio/DoubleBufferImpl.java
351 (DoubleBufferImpl): Made it a package-private class
352 * java/nio/FloatBufferImpl.java
353 (FloatBufferImpl): Made it a package-private class
354 * java/nio/IntBufferImpl.java
355 (IntBufferImpl): Made it a package-private class
356 * java/nio/LongBufferImpl.java
357 (LongBufferImpl): Made it a package-private class
358 * java/nio/ShortBufferImpl.java
359 (ShortBufferImpl): Made it a package-private class
360 * java/nio/channels/FileChannel.java
361 (write): Made final.
362 * java/nio/channels/ServerSocketChannel.java
363 (ServerSocketChanne): Made protected.
364
365 2003-06-27 Michael Koch <konqueror@gmx.de>
366
367 * javax/naming/CompositeName.java
368 (serialVersionUID): New member variable.
369 * javax/naming/CompoundName.java
370 (serialVersionUID): New member variable.
371 * javax/naming/InitialContext.java
372 (InitialContext): Throws NamingException.
373 (init): Likewise.
374 * javax/naming/LinkRef.java
375 (serialVersionUID): New member variable.
376 (gteLinkName): Throws NamingException.
377 * javax/naming/NamingException.java
378 (serialVersionUID): New member variable.
379 * javax/naming/NamingSecurityException.java
380 (NamingSecurityException): Made abstract.
381 (serialVersionUID): New member variable.
382 * javax/naming/ReferralException.java
383 (serialVersionUID): New member variable.
384 * javax/naming/StringRefAddr.java
385 (serialVersionUID): New member variable.
386 * javax/naming/directory/BasicAttribute.java:
387 Reworked imports.
388 (serialVersionUID): New member variable.
389 (get): Throws NamingException.
390 (getAll): Throws NamingException.
391 * javax/naming/directory/BasicAttributes.java:
392 Reworked imports.
393 (serialVersionUID): New member variable.
394 * javax/naming/ldap/UnsolicitedNotificationEvent.java
395 (serialVersionUID): New member variable.
396
397 2003-06-27 Michael Koch <konqueror@gmx.de>
398
399 * Makefile.am
400 (awt_java_source_files): Added new files:
401 javax/swing/Popup.java,
402 javax/swing/PopupFactory.java
403 * Makefile.in: Regenerated.
404
405 2003-06-27 Michael Koch <konqueror@gmx.de>
406
407 * javax/swing/JWindow.java,
408 javax/swing/event/AncestorEvent.java,
409 javax/swing/event/HyperlinkEvent.java,
410 javax/swing/event/InternalFrameEvent.java,
411 javax/swing/event/ListDataEvent.java,
412 javax/swing/event/TableModelEvent.java,
413 javax/swing/plaf/PopupMenuUI.java,
414 javax/swing/plaf/SplitPaneUI.java,
415 javax/swing/plaf/TabbedPaneUI.java,
416 javax/swing/plaf/TextUI.java,
417 javax/swing/plaf/TreeUI.java,
418 javax/swing/plaf/basic/BasicTextUI.java,
419 javax/swing/plaf/basic/BasicTreeUI.java:
420 New versions from classpath.
421 * javax/swing/Popup.java,
422 javax/swing/PopupFactory.jav:
423 New source files from classpath.
424 * javax/swing/plaf/doc-files/TreeUI-1.png:
425 New binary files from classpath.
426
427 2003-06-25 Michael Koch <konqueror@gmx.de>
428
429 * Makefile.am
430 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
431 * Makefile.in: Regenerated.
432
433 2003-06-25 Michael Koch <konqueror@gmx.de>
434
435 * javax/swing/plaf/ActionMapUIResource.java,
436 javax/swing/plaf/BorderUIResource.java,
437 javax/swing/plaf/ButtonUI.java,
438 javax/swing/plaf/ColorChooserUI.java,
439 javax/swing/plaf/ColorUIResource.java,
440 javax/swing/plaf/ComboBoxUI.java,
441 javax/swing/plaf/ComponentInputMapUIResource.java,
442 javax/swing/plaf/ComponentUI.java,
443 javax/swing/plaf/DesktopIconUI.java,
444 javax/swing/plaf/DesktopPaneUI.java,
445 javax/swing/plaf/DimensionUIResource.java,
446 javax/swing/plaf/FileChooserUI.java,
447 javax/swing/plaf/FontUIResource.java,
448 javax/swing/plaf/IconUIResource.java,
449 javax/swing/plaf/InputMapUIResource.java,
450 javax/swing/plaf/InsetsUIResource.java,
451 javax/swing/plaf/InternalFrameUI.java,
452 javax/swing/plaf/LabelUI.java,
453 javax/swing/plaf/ListUI.java,
454 javax/swing/plaf/MenuBarUI.java,
455 javax/swing/plaf/MenuItemUI.java,
456 javax/swing/plaf/OptionPaneUI.java,
457 javax/swing/plaf/PanelUI.java,
458 javax/swing/plaf/ProgressBarUI.java,
459 javax/swing/plaf/RootPaneUI.java,
460 javax/swing/plaf/ScrollBarUI.java,
461 javax/swing/plaf/ScrollPaneUI.java,
462 javax/swing/plaf/SeparatorUI.java,
463 javax/swing/plaf/SliderUI.java,
464 javax/swing/plaf/TableHeaderUI.java,
465 javax/swing/plaf/TableUI.java,
466 javax/swing/plaf/ToolBarUI.java,
467 javax/swing/plaf/ToolTipUI.java,
468 javax/swing/plaf/ViewportUI.java:
469 New versions from classpath.
470 * javax/swing/plaf/SpinnerUI.java:
471 New file from classpath
472
473 2003-06-25 Michael Koch <konqueror@gmx.de>
474
475 * java/awt/image/ColorModel.java:
476 New version from classpath.
477
478 2003-06-25 Michael Koch <konqueror@gmx.de>
479
480 * java/net/PlainDatagramSocketImpl.java:
481 Partly merged with classpath, this mainly adds documentation.
482
483 2003-06-25 Michael Koch <konqueror@gmx.de>
484
485 * java/io/ObjectInputStream.java
486 (readClassDescriptor): New method.
487 (readObject): Moved functionality to readClassDescriptor().
488 * java/io/ObjectOutputStream.java
489 (writeClassDescriptor): New method.
490 (writeObject): Moved functionality to writeClassDescriptor().
491
492 2003-06-25 Michael Koch <konqueror@gmx.de>
493
494 * javax/swing/plaf/basic/BasicListUI.java,
495 javax/swing/plaf/basic/BasicOptionPaneUI.java:
496 Added missing methods.
497
498 2003-06-25 Michael Koch <konqueror@gmx.de>
499
500 * javax/swing/event/AncestorEvent.java
501 javax/swing/event/HyperlinkEvent.java
502 javax/swing/event/InternalFrameEvent.java
503 javax/swing/event/ListDataEvent.java
504 javax/swing/event/TableModelEvent.java:
505 Compile fixes.
506
507 2003-06-24 Michael Koch <konqueror@gmx.de>
508
509 * java/net/URL.java:
510 Renamed "handler" to "ph" in the whole file to match classpaths
511 version.
512 * java/net/URLStreamHandler.java:
513 (equals): Renamed "handler" to "ph".
514
515 2003-06-24 Michael Koch <konqueror@gmx.de>
516
517 * javax/swing/event/AncestorEvent.java,
518 javax/swing/event/HyperlinkEvent.java,
519 javax/swing/event/InternalFrameEvent.java,
520 javax/swing/event/ListDataEvent.java,
521 javax/swing/event/TableModelEvent.java,
522 javax/swing/event/TreeWillExpandListener.java,
523 javax/swing/plaf/ComponentUI.java,
524 javax/swing/plaf/DesktopIconUI.java,
525 javax/swing/plaf/DesktopPaneUI.java,
526 javax/swing/plaf/DimensionUIResource.java,
527 javax/swing/plaf/FileChooserUI.java,
528 javax/swing/plaf/FontUIResource.java,
529 javax/swing/plaf/IconUIResource.java,
530 javax/swing/plaf/InputMapUIResource.java,
531 javax/swing/plaf/InsetsUIResource.java,
532 javax/swing/plaf/InternalFrameUI.java,
533 javax/swing/plaf/LabelUI.java,
534 javax/swing/plaf/ListUI.java,
535 javax/swing/plaf/MenuBarUI.java,
536 javax/swing/plaf/MenuItemUI.java,
537 javax/swing/plaf/OptionPaneUI.java,
538 javax/swing/plaf/PanelUI.java,
539 javax/swing/plaf/ProgressBarUI.java,
540 javax/swing/plaf/doc-files/ComponentUI-1.dia,
541 javax/swing/plaf/doc-files/ComponentUI-1.png:
542 New versions from classpath.
543
544 2003-06-24 Michael Koch <konqueror@gmx.de>
545
546 * java/nio/Buffer.java
547 (cap): Made package-private.
548 (pos): Likewise.
549 (limit): Likewise.
550 (mark): Likewise.
551
552 2003-06-24 Michael Koch <konqueror@gmx.de>
553
554 * java/net/SocketImpl.java
555 (shutdownInput): Made it non-abstract method throwing an exception
556 like in SUNs JRE.
557 (shutdownOutput): Likewise.
558 * java/net/SocketInputStream.java,
559 java/net/SocketOutputStream.java:
560 New files from classpath.
561
562 2003-06-24 Michael Koch <konqueror@gmx.de>
563
564 * java/awt/Font.java,
565 java/awt/Window.java,
566 java/awt/color/ColorSpace.java,
567 java/awt/datatransfer/StringSelection.java,
568 java/awt/image/ColorModel.java:
569 New versions from classpath.
570
571 2003-06-24 Michael Koch <konqueror@gmx.de>
572
573 * Makefile.am
574 (awt_java_source_files): Added new files:
575 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
576 javax/swing/plaf/basic/BasicSplitPaneUI.java
577 * Makefile.in: Regenerated.
578
579 2003-06-24 Michael Koch <konqueror@gmx.de>
580
581 * javax/swing/text/JTextComponent.java:
582 New version from classpath.
583
584 2003-06-24 Michael Koch <konqueror@gmx.de>
585
586 * javax/swing/Timer.java,
587 javax/swing/plaf/ActionMapUIResource.java,
588 javax/swing/plaf/ButtonUI.java,
589 javax/swing/plaf/ColorChooserUI.java,
590 javax/swing/plaf/ColorUIResource.java,
591 javax/swing/plaf/ComboBoxUI.java,
592 javax/swing/plaf/ComponentInputMapUIResource.java,
593 javax/swing/plaf/basic/BasicBorders.java:
594 New versions from classpath.
595 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
596 javax/swing/plaf/basic/BasicSplitPaneUI.java:
597 New file from classpath.
598 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
599 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
600 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
601 javax/swing/plaf/doc-files/ComponentUI-1.dia,
602 javax/swing/plaf/doc-files/ComponentUI-1.png:
603 New binary files from classpath.
604
605 2003-06-24 Michael Koch <konqueror@gmx.de>
606
607 * java/io/LineNumberReader.java
608 (skip): Dont do line number accounting here as this is already done in
609 read(), simplified.
610
611 2003-06-21 Michael Koch <konqueror@gmx.de>
612
613 * java/io/File.java
614 (static): Load javaio lib if existing (only in classpath).
615 (File): Revised documentation to show the correct argument name.
616 (createTempFile): Partly merged with classpath.
617 (compareTo): Simplified.
618 (lastModified): Throw exception if time < 0.
619 (deleteOnExit): Revised documentation.
620
621 2003-06-21 Michael Koch <konqueror@gmx.de>
622
623 * java/net/PlainSocketImpl.java:
624 Reformatted.
625 (PlainSocketImpl): Merged class documentaion with classpath.
626 (in): Moved.
627 (out): Moved.
628 (PlainSocketImpl): New empty constructor.
629 (finalize): Moved.
630 (setOption): Merged documentation from classpath.
631 (getOption): Likewise.
632 (create): Likewise.
633 (connect): Likewise.
634 (bind): Likewise.
635 (listen): Likewise.
636 (accept): Likewise.
637 (available): Likewise.
638 (close): Likewise.
639 (read): Likewise.
640 (write): Likewise.
641 (getInputStream): Made synchronozed to get sure that only one stream
642 object can be created for this socket, merged documentation from
643 classpath.
644 (getOutputStream): Likewise.
645
646 2003-06-21 Michael Koch <konqueror@gmx.de>
647
648 * java/net/PlainSocketImpl.java:
649 Reformatting.
650 (static): New implicit method.
651 (read): Made package private.
652 (write): Likewise.
653
654 2003-06-21 Michael Koch <konqueror@gmx.de>
655
656 * java/util/SimpleTimeZone.java:
657 Removed unneeded import, reformatting.
658
659 2003-06-21 Michael Koch <konqueror@gmx.de>
660
661 * java/text/DateFormat.java,
662 java/text/SimpleDateFormat.java,
663 java/util/Locale.java:
664 New versions from classpath.
665
666 2003-06-21 Michael Koch <konqueror@gmx.de>
667
668 * javax/swing/SpinnerModel.java:
669 New file from classpath.
670 * javax/swing/border/LineBorder.java,
671 javax/swing/border/SoftBevelBorder.java,
672 javax/swing/plaf/BorderUIResource.java,
673 javax/swing/plaf/basic/BasicBorders.java:
674 New versions from classpath.
675 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
676 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
677 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
678 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
679 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
680 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
681 New binary files from classpath.
682
683 2003-06-21 Michael Koch <konqueror@gmx.de>
684
685 * java/util/logging/LogRecord.java,
686 java/util/logging/Logger.java,
687 java/util/logging/SocketHandler.java,
688 java/util/logging/SimpleFormatter.java,
689 java/util/logging/Formatter.java,
690 java/util/logging/ErrorManager.java,
691 java/util/logging/Handler.java,
692 java/util/logging/FileHandler.java,
693 java/util/logging/LogManager.java,
694 java/util/logging/Level.java,
695 java/util/logging/ConsoleHandler.java,
696 java/util/logging/StreamHandler.java,
697 java/util/logging/LoggingPermission.java,
698 java/util/logging/Filter.java,
699 java/util/logging/MemoryHandler.java,
700 java/util/logging/XMLFormatter.java:
701 New files from classpath.
702
703 2003-06-20 Michael Koch <konqueror@gmx.de>
704
705 * java/io/ObjectStreamField.java
706 (unshared): new member variable.
707 (ObjectStreamField): New constructor.
708 (isUnshared): New method.
709
710 2003-06-20 Michael Koch <konqueror@gmx.de>
711
712 * java/net/URLStreamHandler.java
713 (hostsEqual): Rewritten.
714
715 2003-06-20 Michael Koch <konqueror@gmx.de>
716
717 * gnu/java/nio/MappedByteFileBuffer.java,
718 gnu/java/nio/natMappedByteFileBuffer.cc:
719 Removed
720 * java/nio/MappedByteBufferImpl.java:
721 New file.
722 * gnu/java/nio/FileChannelImpl.java:
723 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
724 * Makefile.am
725 (ordinary_java_source_files): Removed
726 gnu/java/nio/MappedByteFileBuffer.java and added
727 java/nio/MappedByteBufferImpl.java.
728 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
729 * Makefile.in: Regenerated.
730
731 2003-06-19 Michael Koch <konqueror@gmx.de>
732
733 * gnu/java/nio/DatagramChannelImpl.java
734 (fd): Removed.
735 (blocking): New member variable.
736 (socket): Likewise.
737 (DatagramChannelImpl): Throws IOException, initialize socket.
738 (socket):Implemented.
739 (implCloseSelectableChannel): Throws IOException, implemented.
740 (implConfigureBlocking): Likewise.
741 (connect): Likewise.
742 (disconnect): Likewise.
743 (isConnected): Likewise.
744 (write): Likewise.
745 (read): Likewise.
746 (receive): Throws IOException.
747 (send): Likewise.
748 * gnu/java/nio/SocketChannelImpl.java
749 (read): Implemented.
750 (write): Implemented.
751
752 2003-06-19 Michael Koch <konqueror@gmx.de>
753
754 * javax/swing/JComponent.java,
755 javax/swing/JInternalFrame.java,
756 javax/swing/MenuSelectionManager.java,
757 javax/swing/SwingUtilities.java,
758 javax/swing/ToggleButtonModel.java:
759 New versions from classpath.
760
761 2003-06-19 Michael Koch <konqueror@gmx.de>
762
763 * java/text/CollationElementIterator.java
764 (NULLORDER): Initialize with -1 as JDK documentation says.
765
766 2003-06-19 Michael Koch <konqueror@gmx.de>
767
768 * java/net/HttpURLConnection.java,
769 java/net/Inet4Address.java,
770 java/net/Inet6Address.java,
771 java/net/SocketImpl.java,
772 java/net/URLClassLoader.java:
773 Reworked import statements.
774 * java/net/InetAddress.java
775 (getByAddress): Simplified.
776 * java/net/ServerSocket.java
777 (ServerSocket): Moved special handling during bind operation to
778 bind().
779 (bind): Handle different cases when trying to bind a socket.
780 * java/net/URLConnection.java
781 (getHeaderFieldDate): Merged with classpath.
782 (getHeaderFieldInt): Likewise.
783
784 2003-06-19 Michael Koch <konqueror@gmx.de>
785
786 * java/util/zip/InflaterInputStream.java
787 (InflaterInputStream): Throw NullPointerException if in is null (as
788 JDK does).
789
790 2003-06-19 Michael Koch <konqueror@gmx.de>
791
792 * java/awt/Font.java
793 javax/swing/UIManager.java
794 javax/swing/border/AbstractBorder.java
795 javax/swing/border/BevelBorder.java
796 javax/swing/border/Border.java
797 javax/swing/border/CompoundBorder.java
798 javax/swing/border/EmptyBorder.java
799 javax/swing/border/EtchedBorder.java
800 javax/swing/border/LineBorder.java
801 javax/swing/border/MatteBorder.java
802 javax/swing/border/TitledBorder.java
803 javax/swing/plaf/BorderUIResource.java
804 javax/swing/plaf/basic/BasicBorders.java
805 javax/swing/plaf/basic/BasicButtonUI.java
806 javax/swing/plaf/basic/BasicCheckBoxUI.java
807 javax/swing/plaf/basic/BasicGraphicsUtils.java
808 javax/swing/plaf/basic/BasicLabelUI.java
809 javax/swing/plaf/basic/BasicRadioButtonUI.java
810 javax/swing/plaf/basic/BasicToggleButtonUI.java:
811 New versions from classpath.
812 * javax/swing/border/SoftBevelBorder.java:
813 New file from classpath.
814 * javax/swing/border/doc-files/LineBorder-1.png,
815 javax/swing/border/doc-files/BevelBorder-1.png,
816 javax/swing/border/doc-files/BevelBorder-2.png,
817 javax/swing/border/doc-files/BevelBorder-3.png,
818 javax/swing/border/doc-files/EmptyBorder-1.png,
819 javax/swing/border/doc-files/EtchedBorder-1.png,
820 javax/swing/border/doc-files/EtchedBorder-2.png,
821 javax/swing/border/doc-files/MatteBorder-1.png,
822 javax/swing/border/doc-files/MatteBorder-2.png,
823 javax/swing/border/doc-files/MatteBorder-3.png,
824 javax/swing/border/doc-files/MatteBorder-4.png,
825 javax/swing/border/doc-files/MatteBorder-5.png,
826 javax/swing/border/doc-files/MatteBorder-6.png,
827 javax/swing/border/doc-files/SoftBevelBorder-1.png,
828 javax/swing/border/doc-files/SoftBevelBorder-2.png,
829 javax/swing/border/doc-files/SoftBevelBorder-3.png,
830 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
831 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
832 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
833 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
834 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
835 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
836 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
837 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
838 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
839 New binary files from classpath.
840 * Makefile.am
841 (awt_java_source_files): Added
842 javax/swing/border/SoftBevelBorder.java.
843 * Makefile.in: Regenerated.
844
845 2003-06-19 Michael Koch <konqueror@gmx.de>
846
847 * gnu/java/security/x509/X509Certificate.java
848 (writeReplace): Merged from classpath.
849
850 2003-06-19 Michael Koch <konqueror@gmx.de>
851
852 * gnu/java/nio/FileChannelImpl.java
853 (map_address): Made public.
854 (FileChannelImpl): Merged with classpath.
855 * gnu/java/nio/natFileChannelImpl.cc
856 (nio_mmap_file): Commented out unused arguments.
857 (nio_unmmap_file): Likewise.
858 (niu_msync): Likewise.
859
860 2003-06-19 Michael Koch <konqueror@gmx.de>
861
862 * java/awt/image/IndexColorModel.java:
863 New version from classpath.
864
865 2003-06-18 Tom Tromey <tromey@redhat.com>
866
867 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
868 on arrays.
869 (isLoopbackAddress): Likewise.
870 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
871 on arrays.
872
873 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
874
875 * java/lang/natVMSecurityManager.cc (getClassContext):
876 Use maxlen instead of len for loop bound.
877
878 2003-06-18 Michael Koch <konqueror@gmx.de>
879
880 * gnu/java/nio/SelectorImpl.java
881 (register): Use fd with value 0 for now, will be fixed later.
882 * gnu/java/nio/ServerSocketChannelImpl.java
883 (fd): Removed.
884 (local_port): Removed.
885 (InetSocketAddress): Removed.
886 (ServerSocketChannelImpl): Just initialize internal socket object.
887 (implCloseSelectableChannel): Close internal socket object.
888 (implConfigureBlocking): Added comment.
889 (accept): Use jaba.net stuff to accept socket.
890 * gnu/java/nio/SocketChannelImpl.java
891 (fd): Removed.
892 (local_port): Removed.
893 (InetSocketAddress): Removed.
894 (SocketCreate): Removed.
895 (SocketConnect): Removed.
896 (SocketBind): Removed.
897 (SocketListen): Removed.
898 (SocketAvailable): Removed.
899 (SocketClose): Removed.
900 (SocketRead): Removed.
901 (SocketWrite): Removed.
902 (SocketChannelImpl): Just initialize internal socket object.
903 (implCloseSelectableChannel): Close internal socket object.
904 (implConfigureBlocking): Fixed implementation, added comment.
905 (connect): Use internal socket object to connect.
906 (socket): No need for sanity checks.
907 (read): Comment out some stuff, this will be reimplemented in the next
908 commit.
909 (write): Likewise.
910 * gnu/java/nio/natFileChannelImpl.cc
911 (nio_mmap_file): Line wrapped.
912 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
913 * Makefile.am
914 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
915 * Makefile.in: Regenerated.
916
917 2003-06-18 Michael Koch <konqueror@gmx.de>
918
919 * java/util/Locale.java
920 (equals): Merged from classpath.
921
922 2003-06-18 Michael Koch <konqueror@gmx.de>
923
924 * java/net/InetAddress.java:
925 Reformatted to better match classpath's version.
926 * java/net/URL.java
927 (equals): Simplified.
928 * java/net/URLConnection.java
929 (setDoInput): Revised documentation.
930 (getDefaultUseCaches): Likewise.
931 (setRequestProperty): Added @since tag.
932
933 2003-06-17 Michael Koch <konqueror@gmx.de>
934
935 * java/net/InetSocketAddress.java
936 (InetSocketAddress): Use wildcard address if addr is null.
937 (InetSocketAddress): Dont duplicate implementation.
938 (InetSocketAddress): Throw exception when hostname is null.
939 * java/net/Socket.java:
940 Reworked imports.
941 (Socket): Throw exception when raddr is null, handle case when laddr
942 is null.
943
944 2003-06-17 Michael Koch <konqueror@gmx.de>
945
946 * java/nio/DirectByteBufferImpl.java
947 (address): Made package private.
948 (DirectByteBufferImpl): New constructor.
949 * java/nio/natDirectByteBufferImpl.cc
950 (allocateImpl): Moved to java.nio namespace, implemented.
951 (freeImpl): Likewise.
952 (getImpl): Likewise.
953 (putImpl): Likewise.
954 * jni.cc
955 (_Jv_JNI_NewDirectByteBuffer): Implemented.
956 (_Jv_JNI_GetDirectBufferAddress): Implemented.
957 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
958
959 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
960
961 * include/powerpc-signal.h: New File.
962 * configure.in: Use it.
963 * configure: Regenerated.
964
965 2003-06-17 Michael Koch <konqueror@gmx.de>
966
967 * java/util/Locale.java
968 (getDisplayLanguage): Made it final.
969 (getDisplayCountry): Likewise.
970 (getDisplayVariant): Likewise.
971 (getDisplayName): Likewise.
972
973 2003-06-17 Michael Koch <konqueror@gmx.de>
974
975 * java/util/PropertyResourceBundle.java:
976 Removed unneeded import.
977
978 2003-06-17 Michael Koch <konqueror@gmx.de>
979
980 * java/util/prefs/AbstractPreferences.java,
981 java/util/prefs/PreferencesFactory.java:
982 Reworked imports, removed unused imports.
983 * java/util/prefs/Preferences.java
984 (systemNodeForPackage): Method takes a Class not an Object.
985 (userNodeForPackage): Likewise.
986 (nodeForPackage): Likewise.
987
988 2003-06-17 Michael Koch <konqueror@gmx.de>
989
990 * gnu/java/security/x509/X509Certificate.java:
991 Explicitely import used classes.
992
993 2003-06-17 Michael Koch <konqueror@gmx.de>
994
995 * java/util/zip/ZipEntry.java,
996 java/util/zip/ZipFile.java,
997 java/util/zip/ZipInputStream.java,
998 java/util/zip/ZipOutputStream.java:
999 Reworked imports, only import used classes.
1000
1001 2003-06-17 Michael Koch <konqueror@gmx.de>
1002
1003 * gnu/java/lang/ArrayHelper.java,
1004 gnu/java/lang/ClassHelper.java:
1005 Reformatted to match classpath's versions.
1006
1007 2003-06-14 Michael Koch <konqueror@gmx.de>
1008
1009 * gnu/java/nio/FileChannelImpl.java
1010 (map_address): Removed incorrect comment.
1011 * gnu/java/nio/SelectorImpl.java
1012 (register): Remove code duplication and code for file channel handling.
1013 * gnu/java/nio/ServerSocketChannelImpl.java
1014 (serverSocket): Renamed from sock_object.
1015 (ServerSocketChannel): Initialize serverSocket.
1016 (socket): Return serverSocket.
1017 * gnu/java/nio/SocketChannelImpl.java
1018 (socket): Renamed from sock_object.
1019 (isConnectionPenging): Simplified.
1020 (socket): Return socket.
1021 2003-06-14 Michael Koch <konqueror@gmx.de>
1022
1023 * java/security/BasicPermission.java:
1024 New version from classpath.
1025
1026 2003-06-14 Michael Koch <konqueror@gmx.de>
1027
1028 * javax/naming/directory/Attribute.java:
1029 New version from classpath.
1030
1031 2003-06-14 Michael Koch <konqueror@gmx.de>
1032
1033 * java/io/BufferedReader.java,
1034 java/io/FileOutputStream.java:
1035 New versions from classpath.
1036
1037 2003-06-12 Andrew Haley <aph@redhat.com>
1038
1039 * prims.cc (catch_segv): Create exception in handler.
1040 (catch_fpe): Likewise.
1041 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
1042 (_Jv_ThrowSignal): Remove.
1043
1044 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
1045 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
1046 to nullp and arithexception.
1047 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1048 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1049 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1050 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1051 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
1052
1053 2003-06-11 Andrew Haley <aph@redhat.com>
1054
1055 * jni.cc (_Jv_JNI_check_types): New.
1056 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
1057 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
1058 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
1059 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
1060
1061 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
1062 infinite loop.
1063
1064 2003-06-11 Tom Tromey <tromey@redhat.com>
1065
1066 * java/lang/ClassLoader.java (loadClass): Not deprecated.
1067 * java/io/PrintStream.java: Not deprecated.
1068
1069 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
1070
1071 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
1072 (fillOval): implemented
1073 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
1074 (fillArc): implemented.
1075 * gnu/gcj/xlib/GC.java (drawArc): added native method.
1076 (fillArc): added native method.
1077 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
1078 (fillArc): added native method.
1079
1080 2003-06-11 Michael Koch <konqueror@gmx.de>
1081
1082 * java/awt/im/InputSubset.java:
1083 New version from classpath.
1084
1085 2003-06-11 Michael Koch <konqueror@gmx.de>
1086
1087 * javax/swing/AbstractAction.java,
1088 javax/swing/AbstractButton.java,
1089 javax/swing/AbstractCellEditor.java,
1090 javax/swing/AbstractListModel.java,
1091 javax/swing/BorderFactory.java,
1092 javax/swing/Box.java,
1093 javax/swing/BoxLayout.java,
1094 javax/swing/ButtonGroup.java,
1095 javax/swing/DefaultButtonModel.java,
1096 javax/swing/DefaultListModel.java,
1097 javax/swing/DefaultListSelectionModel.java,
1098 javax/swing/FocusManager.java,
1099 javax/swing/ImageIcon.java,
1100 javax/swing/InputMap.java,
1101 javax/swing/JApplet.java,
1102 javax/swing/JButton.java,
1103 javax/swing/JCheckBox.java,
1104 javax/swing/JCheckBoxMenuItem.java,
1105 javax/swing/JColorChooser.java,
1106 javax/swing/JComboBox.java,
1107 javax/swing/JComponent.java,
1108 javax/swing/JDesktopPane.java,
1109 javax/swing/JDialog.java,
1110 javax/swing/JEditorPane.java,
1111 javax/swing/JFileChooser.java,
1112 javax/swing/JFormattedTextField.java,
1113 javax/swing/JFrame.java,
1114 javax/swing/JLabel.java,
1115 javax/swing/JLayeredPane.java,
1116 javax/swing/JList.java,
1117 javax/swing/JMenuBar.java,
1118 javax/swing/JMenuItem.java,
1119 javax/swing/JOptionPane.java,
1120 javax/swing/JPanel.java,
1121 javax/swing/JPasswordField.java,
1122 javax/swing/JPopupMenu.java,
1123 javax/swing/JProgressBar.java,
1124 javax/swing/JRadioButton.java,
1125 javax/swing/JRadioButtonMenuItem.java,
1126 javax/swing/JRootPane.java,
1127 javax/swing/JScrollBar.java,
1128 javax/swing/JScrollPane.java,
1129 javax/swing/JSeparator.java,
1130 javax/swing/JSlider.java,
1131 javax/swing/JTabbedPane.java,
1132 javax/swing/JTable.java,
1133 javax/swing/JTextField.java,
1134 javax/swing/JToggleButton.java,
1135 javax/swing/JToolBar.java,
1136 javax/swing/JToolTip.java,
1137 javax/swing/JTree.java,
1138 javax/swing/JViewport.java,
1139 javax/swing/JWindow.java,
1140 javax/swing/KeyStroke.java,
1141 javax/swing/ListSelectionModel.java,
1142 javax/swing/LookAndFeel.java,
1143 javax/swing/RepaintManager.java,
1144 javax/swing/ScrollPaneLayout.java,
1145 javax/swing/SizeRequirements.java,
1146 javax/swing/SwingConstants.java,
1147 javax/swing/Timer.java,
1148 javax/swing/UIDefaults.java,
1149 javax/swing/UIManager.java,
1150 javax/swing/border/AbstractBorder.java,
1151 javax/swing/border/CompoundBorder.java,
1152 javax/swing/colorchooser/AbstractColorChooserPanel.java,
1153 javax/swing/colorchooser/ColorChooserComponentFactory.java,
1154 javax/swing/colorchooser/ColorSelectionModel.java,
1155 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1156 javax/swing/event/AncestorEvent.java,
1157 javax/swing/event/HyperlinkEvent.java,
1158 javax/swing/event/InternalFrameAdapter.java,
1159 javax/swing/event/InternalFrameEvent.java,
1160 javax/swing/event/ListDataEvent.java,
1161 javax/swing/event/MouseInputAdapter.java,
1162 javax/swing/event/SwingPropertyChangeSupport.java,
1163 javax/swing/event/TableModelEvent.java,
1164 javax/swing/event/TreeWillExpandListener.java,
1165 javax/swing/event/UndoableEditEvent.java,
1166 javax/swing/filechooser/FileFilter.java,
1167 javax/swing/filechooser/FileSystemView.java,
1168 javax/swing/filechooser/FileView.java,
1169 javax/swing/plaf/BorderUIResource.java,
1170 javax/swing/plaf/basic/BasicDefaults.java,
1171 javax/swing/table/AbstractTableModel.java,
1172 javax/swing/table/DefaultTableCellRenderer.java,
1173 javax/swing/table/DefaultTableColumnModel.java,
1174 javax/swing/table/DefaultTableModel.java,
1175 javax/swing/table/TableColumn.java,
1176 javax/swing/text/JTextComponent.java,
1177 javax/swing/tree/AbstractLayoutCache.java,
1178 javax/swing/tree/DefaultMutableTreeNode.java,
1179 javax/swing/tree/DefaultTreeCellEditor.java,
1180 javax/swing/tree/DefaultTreeCellRenderer.java,
1181 javax/swing/tree/DefaultTreeModel.java,
1182 javax/swing/tree/DefaultTreeSelectionModel.java,
1183 javax/swing/tree/FixedHeightLayoutCache.java,
1184 javax/swing/tree/TreeCellEditor.java,
1185 javax/swing/tree/TreeModel.java,
1186 javax/swing/tree/TreeNode.java,
1187 javax/swing/tree/TreePath.java,
1188 javax/swing/tree/TreeSelectionModel.java,
1189 javax/swing/tree/VariableHeightLayoutCache.java,
1190 javax/swing/undo/AbstractUndoableEdit.java,
1191 javax/swing/undo/CompoundEdit.java,
1192 javax/swing/undo/StateEdit.java,
1193 javax/swing/undo/UndoManager.java,
1194 javax/swing/undo/UndoableEditSupport.java:
1195 New versions from classpath.
1196 * javax/swing/table/JTableHeader.java:
1197 New file from classpath.
1198 * Makefile.am
1199 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1200 * Makefile.in: Regenerated.
1201
1202 2003-06-11 Michael Koch <konqueror@gmx.de>
1203
1204 * java/nio/MappedByteBuffer.java,
1205 java/nio/channels/Channels.java,
1206 java/nio/channels/ServerSocketChannel.java,
1207 java/nio/channels/spi/AbstractSelector.java:
1208 Removed unneeded imports.
1209
1210 2003-06-11 Michael Koch <konqueror@gmx.de>
1211
1212 * java/net/DatagramSocket.java:
1213 Partly merged with classpath.
1214
1215 2003-06-11 Michael Koch <konqueror@gmx.de>
1216
1217 * java/awt/Frame.java,
1218 java/awt/Graphics.java,
1219 java/awt/Menu.java,
1220 java/awt/Robot.java,
1221 java/awt/image/ColorModel.java:
1222 New versions from classpath.
1223
1224 2003-06-10 Michael Koch <konqueror@gmx.de>
1225
1226 * java/io/PrintStream.java:
1227 Merged version from classpath.
1228 (close): Removed sychronized keyword. This class is not garantied to
1229 be thread-safe.
1230 (write): Likewise.
1231
1232 2003-06-09 Tom Tromey <tromey@redhat.com>
1233
1234 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1235 field.
1236 (getDescent): Likewise, for "descent".
1237
1238 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1239
1240 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1241 (getMaxDescent): adjusted return value.
1242 (getAscent): modified to use metrics for 'O'.
1243 (getDescent): modified to use metrics for 'y'.
1244
1245 2003-06-08 Anthony Green <green@redhat.com>
1246
1247 * java/net/URLStreamHandler.java (sameFile): Fix port value
1248 comparison.
1249 * java/net/URL.java (handler): Make package private.
1250 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1251
1252 2003-06-07 Tom Tromey <tromey@redhat.com>
1253
1254 For PR libgcj/11085:
1255 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1256 Limit number of characters in numeric field when required.
1257 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1258 Respect maximumIntegerDigits.
1259
1260 2003-06-08 Michael Koch <konqueror@gmx.de>
1261
1262 * java/net/Socket.java
1263 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1264 call bind() and connect() to actually do the bind and connect tasks.
1265 (bind): Connect to canonical address if bindpoint is null, create
1266 socket and bind it to bindpoint.
1267 (connect): Check for exceptions.
1268
1269 2003-06-08 Michael Koch <konqueror@gmx.de>
1270
1271 * java/net/DatagramSocket.java
1272 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1273 into the Multicast constructors.
1274 * java/net/DatagramSocketImpl.java
1275 (getOption): Removed.
1276 (setOption): Removed.
1277 * java/net/MulticastSocket.java
1278 (MulticastSocket): Call setReuseAddress (true).
1279 * java/net/SocketImpl.java
1280 (getOption): Removed.
1281 (setOption): Removed.
1282
1283 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1284
1285 PR libgcj/10886:
1286 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1287 Test for empty vector.
1288
1289 2003-06-06 Mark Wielaard <mark@klomp.org>
1290
1291 * java/security/Security.java (secprops): Initialize.
1292 (loadProviders): Return boolean.
1293 (static): Check result of loadProvider calls. If necessary
1294 display WARNING and fallback to Gnu provider.
1295
1296 2002-06-06 James Clark <jjc@jclark.com>
1297
1298 Fix for PR libgcj/8738:
1299 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1300 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1301 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1302 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1303 (write): Always decrease avail when count is increased.
1304 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1305 and whether output buffer is full before increasing size.
1306
1307 2002-06-06 Mark Wielaard <mark@klomp dot org>
1308
1309 * java/io/PrintStream.java (writeChars(char[],int, int)):
1310 Check converter.havePendingBytes().
1311 (writeChars(String,int,int)): Likewise.
1312 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1313 Check converter.havePendingBytes() and flush buffer when stalled.
1314
1315 2003-06-07 Michael Koch <konqueror@gmx.de>
1316
1317 * include/posix.h
1318 (O_DSYNC): Define O_DSYNC on platforms not
1319 supporting O_FSYNC (newlib).
1320
1321 2003-06-06 Mark Wielaard <mark@klomp.org>
1322
1323 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1324 AWTError.
1325
1326 2003-06-06 Michael Koch <konqueror@gmx.de>
1327
1328 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1329 More compile fixes from my stupid work yesterday.
1330
1331 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1332
1333 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1334 if _IEEE_LIBM is undefined.
1335
1336 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1337
1338 * libjava/include/posix.h (O_SYNC): Define if not available
1339 and a reasonable, perhaps more conservative, replacement exists.
1340 (O_DSYNC): Likewise.
1341 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1342
1343 2003-06-05 Michael Koch <konqueror@gmx.de>
1344
1345 * javax/swing/plaf/BorderUIResource.java,
1346 javax/swing/plaf/basic/BasicDefaults.java,
1347 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1348 More compile fixes for latest Border commit. I should not commit
1349 something in this heat here ...
1350
1351 2003-06-05 Michael Koch <konqueror@gmx.de>
1352
1353 * javax/swing/border/BevelBorder.java
1354 (BevelBorder): Removed.
1355 * javax/swing/border/EmptyBorder.java:
1356 Reformatted.
1357 (EmptyBorder): Removed.
1358 (getBorderInsets): Dont use l, r, t and b.
1359 * javax/swing/border/EtchedBorder.java
1360 (EtchedBorder): Removed.
1361 * javax/swing/border/LineBorder.java
1362 (LineBorder): Removed.
1363 * javax/swing/border/MatteBorder.java
1364 (MatteBorder): Removed.
1365 * javax/swing/border/TitledBorder.java
1366 (defaultBorder): Use other default for now.
1367 (defaultFont): Likewise.
1368 (defaultColor): Likewise.
1369
1370 2003-06-05 Michael Koch <konqueror@gmx.de>
1371
1372 * javax/swing/border/Border.java:
1373 New version from classpath.
1374
1375 2003-06-05 Michael Koch <konqueror@gmx.de>
1376
1377 * javax/swing/border/AbstractBorder.java,
1378 javax/swing/border/BevelBorder.java,
1379 javax/swing/border/CompoundBorder.java,
1380 javax/swing/border/EmptyBorder.java,
1381 javax/swing/border/EtchedBorder.java,
1382 javax/swing/border/LineBorder.java,
1383 javax/swing/border/MatteBorder.java,
1384 javax/swing/border/TitledBorder.java:
1385 New versions from Classpath.
1386
1387 2003-06-05 Michael Koch <konqueror@gmx.de>
1388
1389 * java/awt/Button.java,
1390 java/awt/Checkbox.java,
1391 java/awt/CheckboxMenuItem.java,
1392 java/awt/Choice.java,
1393 java/awt/Container.java,
1394 java/awt/Dialog.java,
1395 java/awt/EventQueue.java,
1396 java/awt/FileDialog.java,
1397 java/awt/Frame.java,
1398 java/awt/Label.java,
1399 java/awt/List.java,
1400 java/awt/Menu.java,
1401 java/awt/MenuItem.java,
1402 java/awt/Panel.java,
1403 java/awt/PopupMenu.java,
1404 java/awt/Rectangle.java,
1405 java/awt/ScrollPane.java,
1406 java/awt/Scrollbar.java,
1407 java/awt/TextArea.java,
1408 java/awt/TextField.java,
1409 java/awt/Window.java,
1410 java/awt/datatransfer/DataFlavor.java,
1411 java/awt/dnd/DragSource.java,
1412 java/awt/dnd/DragSourceContext.java,
1413 java/awt/event/HierarchyEvent.java,
1414 java/awt/event/MouseWheelEvent.java,
1415 java/awt/im/InputContext.java,
1416 java/awt/image/BufferedImage.java,
1417 java/awt/image/ComponentColorModel.java,
1418 java/awt/image/Raster.java,
1419 java/awt/image/WritableRaster.java,
1420 java/awt/peer/ComponentPeer.java,
1421 java/awt/print/PageFormat.java,
1422 java/awt/print/PrinterJob.java:
1423 New versions from Classpath.
1424
1425 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1426
1427 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1428 numberFormat.setParseIntegerOnly(true).
1429
1430 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1431
1432 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1433
1434 2003-06-03 Andrew Haley <aph@redhat.com>
1435
1436 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1437 stack volatile to prevent optimization from removing it.
1438
1439 2003-05-27 Michael Koch <konqueror@gmx.de>
1440
1441 * java/util/zip/Deflater.java
1442 (FILTERED): Merged documentation from classpath.
1443 * java/util/zip/DeflaterOutputStream.java
1444 (DeflaterOutputStream): Merged documentation and argument validity
1445 check from classpath.
1446 (deflate): Merged documentation from classpath.
1447 (finish): Likewise.
1448 * java/util/zip/Inflater.java
1449 (Inflater): Merged class documentation from classpath.
1450 (zstream): Reordered.
1451 (is_finished): Reordered.
1452 (dict_needed): Reordered.
1453 (Inflater): Reordered, merged documentation from classpath.
1454 (end): Likewise.
1455 (finalize): Merged documentation from classpath.
1456 (finished): Likewise.
1457 (getAdler): Likewise.
1458 (getRemaining): Likewise.
1459 (getTotalIn): Likewise.
1460 (getTotalOut): Likewise.
1461 (inflate): Likewise.
1462 (needsDictionary): Likewise.
1463 (needsInput): Likewise.
1464 (reset): Likewise.
1465 (setDictionary): Likewise.
1466 (setInput): Likewise.
1467
1468 2003-05-27 Michael Koch <konqueror@gmx.de>
1469
1470 * java/net/URLConnection.java
1471 (getHeaderFieldInt): Merged with classpath.
1472
1473 2003-05-27 Michael Koch <konqueror@gmx.de>
1474
1475 * java/io/PrintStream.java
1476 (PrintStream): Reformatted.
1477 (PrintStream): New method, merged from classpath.
1478 (write): Reformatted.
1479
1480 2003-05-27 Michael Koch <konqueror@gmx.de>
1481
1482 * java/lang/System.java:
1483 Explicitely import needed classes.
1484
1485 2003-05-26 Michael Koch <konqueror@gmx.de>
1486
1487 * java/net/NetPermission.java,
1488 java/net/NetworkInterface.java,
1489 java/net/PasswordAuthentication.java,
1490 java/net/SocketPermission.java:
1491 New versions from classpath.
1492
1493 2003-05-25 Michael Koch <konqueror@gmx.de>
1494
1495 * java/io/PushbackInputStream.java,
1496 java/net/Authenticator.java,
1497 java/net/ContentHandler.java,
1498 java/net/ContentHandlerFactory.java,
1499 java/net/DatagramSocket.java,
1500 java/net/DatagramSocketImpl.java,
1501 java/net/DatagramSocketImplFactory.java,
1502 java/net/FileNameMap.java,
1503 java/net/SocketImplFactory.java,
1504 java/net/SocketOptions.java,
1505 java/net/URLStreamHandlerFactory.java:
1506 Merged new versions from classpath.
1507
1508 2003-05-25 Michael Koch <konqueror@gmx.de>
1509
1510 * java/awt/Checkbox.java,
1511 java/awt/Dialog.java,
1512 java/awt/Font.java,
1513 java/awt/Frame.java,
1514 java/awt/ScrollPaneAdjustable.java,
1515 java/awt/Scrollbar.java,
1516 java/awt/Window.java:
1517 New versions from classpath.
1518
1519 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1520
1521 PR libgcj/10838:
1522 * java/io/ObjectInputStream (enableResolveObject):
1523 Fixed spelling of permission name.
1524
1525 2003-05-20 Michael Koch <konqueror@gmx.de>
1526
1527 * java/io/DataInputStream.java
1528 (convertFromUTF): Merged comment from classpath.
1529 * java/io/PrintStream.java
1530 (error_occured): Renamed from error, merged comment from classpath.
1531 (PrintStream): No need to initialized error.
1532 (checkError): Replace error with error_occurred.
1533 (setError): Likewise.
1534
1535 2003-05-20 Michael Koch <konqueror@gmx.de>
1536
1537 * java/io/DataInputStream.java:
1538 Reformatted, Replaced < and & with html entitites in documentation.
1539 * java/io/File.java:
1540 Reformatted.
1541 * java/io/PrintWriter.java:
1542 Moved class documentation.
1543
1544 2003-05-20 Michael Koch <konqueror@gmx.de>
1545
1546 * gnu/java/nio/ByteBufferImpl.java,
1547 gnu/java/nio/CharBufferImpl.java,
1548 gnu/java/nio/CharViewBufferImpl.java,
1549 gnu/java/nio/DirectByteBufferImpl.java,
1550 gnu/java/nio/DoubleBufferImpl.java,
1551 gnu/java/nio/DoubleViewBufferImpl.java,
1552 gnu/java/nio/FloatBufferImpl.java,
1553 gnu/java/nio/FloatViewBufferImpl.java,
1554 gnu/java/nio/IntBufferImpl.java,
1555 gnu/java/nio/IntViewBufferImpl.java,
1556 gnu/java/nio/LongBufferImpl.java,
1557 gnu/java/nio/LongViewBufferImpl.java,
1558 gnu/java/nio/natDirectByteBufferImpl.cc,
1559 gnu/java/nio/ShortBufferImpl.java,
1560 gnu/java/nio/ShortViewBufferImpl.java:
1561 Moved files to java/nio.
1562 * gnu/java/nio/SocketChannelImpl.java
1563
1564 * java/nio/ByteBuffer.java,
1565 java/nio/CharBuffer.java,
1566 java/nio/DoubleBuffer.java,
1567 java/nio/FloatBuffer.java,
1568 java/nio/IntBuffer.java,
1569 java/nio/LongBuffer.java,
1570 java/nio/ShortBuffer.java:
1571 Dont import anything.
1572 * java/nio/ByteBufferImpl.java,
1573 java/nio/CharBufferImpl.java,
1574 java/nio/CharViewBufferImpl.java,
1575 java/nio/DirectByteBufferImpl.java,
1576 java/nio/DoubleBufferImpl.java,
1577 java/nio/DoubleViewBufferImpl.java,
1578 java/nio/FloatBufferImpl.java,
1579 java/nio/FloatViewBufferImpl.java,
1580 java/nio/IntBufferImpl.java,
1581 java/nio/IntViewBufferImpl.java,
1582 java/nio/LongBufferImpl.java,
1583 java/nio/LongViewBufferImpl.java,
1584 java/nio/natDirectByteBufferImpl.cc,
1585 java/nio/ShortBufferImpl.java,
1586 java/nio/ShortViewBufferImpl.java:
1587 Moved from gnu/java/nio.
1588 * Makefile.am
1589 (ordinary_java_source_files): Moved files from gnu/java/nio to
1590 java/nio.
1591 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1592 to java/nio.
1593 * Makefile.in: Regenerated.
1594
1595 2003-05-19 Michael Koch <konqueror@gmx.de>
1596
1597 * java/util/Calendar.java
1598 (get): Not final anymore since JDK 1.4
1599 (set): Likewise.
1600
1601 2003-05-19 Michael Koch <konqueror@gmx.de>
1602
1603 * java/text/CollationKey.java:
1604 Merged copyright and dat from classpath.
1605 * java/text/RuleBasedCollator.java:
1606 Merged class documentation from classpath.
1607
1608 2003-05-19 Michael Koch <konqueror@gmx.de>
1609
1610 * java/nio/CharBuffer.java
1611 (toString): Compile fix.
1612
1613 2003-05-19 Michael Koch <konqueror@gmx.de>
1614
1615 * gnu/java/nio/ByteBufferImpl.java
1616 (putLong): Fixed conversion to bytes.
1617 (putDouble): Fixed conversion to bytes.
1618 * gnu/java/nio/DirectByteBufferImpl.java
1619 (putLong): Fixed conversion to bytes.
1620 (putDouble): Fixed conversion to bytes.
1621 * gnu/java/nio/FileLockImpl.java
1622 (isValid): Reformatted.
1623 * java/nio/Buffer.java
1624 (Buffer): Fixed off-by-one bug in handling mark.
1625 * java/nio/ByteBuffer.java:
1626 Added newline.
1627 * java/nio/CharBuffer.java
1628 (toString): Don't use relative get to get string data.
1629
1630 2003-05-16 Michael Koch <konqueror@gmx.de>
1631
1632 * java/io/natFileDescriptorPosix.cc
1633 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1634 tested.
1635
1636 2003-05-14 Michael Koch <konqueror@gmx.de>
1637
1638 * gnu/java/nio/FileLockImpl.java
1639 (released): New member variable.
1640 (FileLockImpl): Initialize released.
1641 (releaseImpl): New native method.
1642 (release): Implemented.
1643 * gnu/java/nio/SelectorImpl.java: Reformatted.
1644 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1645 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1646 (accept): Throws IOException.
1647 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1648 (implConfigureBlocking): Throws IOException.
1649 (connect): Likewise.
1650 (read): Likewise.
1651 (write): Likewise.
1652 * gnu/java/nio/natFileLockImpl.cc: New file.
1653 * java/nio/channels/FileLock.java: Reformatted.
1654 * Makefile.am:
1655 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1656 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1657 * Makefile.in: Regenerated.
1658
1659 2003-05-13 Michael Koch <konqueror@gmx.de>
1660
1661 * gnu/java/nio/CharViewBufferImpl.java
1662 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1663 (get): Shift bits to the right direction.
1664 (put): Likewise.
1665 * gnu/java/nio/DoubleViewBufferImpl.java
1666 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1667 (get): Shift bits to the right direction.
1668 (put): Likewise.
1669 * gnu/java/nio/FloatViewBufferImpl.java
1670 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1671 (get): Shift bits to the right direction.
1672 (put): Likewise.
1673 * gnu/java/nio/IntViewBufferImpl.java
1674 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1675 (get): Shift bits to the right direction.
1676 (put): Likewise.
1677 * gnu/java/nio/LongViewBufferImpl.java
1678 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1679 (get): Shift bits to the right direction.
1680 (put): Likewise.
1681 * gnu/java/nio/ShortViewBufferImpl.java
1682 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1683 (get): Shift bits to the right direction.
1684 (put): Likewise.
1685
1686 2003-05-13 Michael Koch <konqueror@gmx.de>
1687
1688 * gnu/java/nio/natDirectByteBufferImpl.cc
1689 (allocateImpl): jlong -> RawData*.
1690 (freeImpl): Likewise.
1691
1692 2003-05-13 Michael Koch <konqueror@gmx.de>
1693
1694 * java/nio/channels/FileChannel.java
1695 (MapMode.m): Made it package-private to match JDK 1.4.
1696 * java/nio/charset/Charset.java
1697 (decode): Made it final to match JDK 1.4.
1698
1699 2003-05-13 Michael Koch <konqueror@gmx.de>
1700
1701 * java/io/FileDescriptor.java
1702 (SYNC): New constant.
1703 (DSYNC): Likewise.
1704 (getLength): Renamed from lenght() to match classpath's
1705 FileDescriptor.java.
1706 * java/io/RandomAccessFile.java
1707 (RandomAccessFile): Removed unneeded mode check, implemented mode
1708 "rws" and "rwd", merged documentation from classpath.
1709 (setLength): Reformatted.
1710 (length): Use new getLength() of FileDescriptor.
1711 * java/io/natFileDescriptorEcos.cc
1712 (getLength): Renamed from length().
1713 * java/io/natFileDescriptorPosix.cc
1714 (open): Implemented support for SYNC and DSYNC.
1715 (seek): Use getLength() instead of length().
1716 (getLength): Renamed from length().
1717 * java/io/natFileDescriptorWin32.cc
1718 (getLength): Renamed from length().
1719 (seek): Use getLength() instead of length().
1720 (available): Likewise.
1721 * gnu/java/nio/natFileChannelImpl.cc
1722 (size): Use getLength() instead of length().
1723
1724 2003-05-13 Michael Koch <konqueror@gmx.de>
1725
1726 * gnu/java/nio/ByteBufferImpl.java
1727 (ByteBufferImpl): All constructors revised.
1728 (slice): Reimplemented.
1729 (duplicate): Reimplemented.
1730 (asReadOnlyBuffer): Reimplemented.
1731 * java/nio/ByteBuffer.java:
1732 Reformatted.
1733 (array_offset): Renamed from "offset" to match all other buffer
1734 classes.
1735 (ByteBuffer): All constructors revised.
1736 (allocateDirect): Implemented.
1737 (allocate): New implementation, documentation reworked.
1738 (wrap): Likewise.
1739 (get): Documentation reworked.
1740 (put): New implementation, documentation reworked.
1741 (hasArray): Documentation reworked.
1742 (arrayOffset): Likewise.
1743 (hashCode): Likewise.
1744 (equals): Likewise.
1745 (compareTo): Likewise.
1746 (order): Likewise.
1747 (compact): Likewise.
1748 (isDirect): Likewise.
1749 (slice): Likewise.
1750 (duplicate): Likewise.
1751 (asReadOnlyBuffer): Likewise.
1752 * Makefile.am
1753 (ordinary_java_source_files):
1754 Added gnu/java/nio/DirectByteBufferImpl.java.
1755 (nat_source_files):
1756 Added gnu/java/nio/natDirectByteBufferImpl.cc.
1757 * Makefile.in: Regenerated.
1758
1759 2003-05-12 Michael Koch <konqueror@gmx.de>
1760
1761 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1762 (nio_get_*): Removed.
1763 (nio_put_*): Removed.
1764 (as*Buffer): Implemented.
1765 (compact): Implemented.
1766 (get): Documentation added.
1767 (put): Documentation added.
1768 (get*): Newly implemented.
1769 (put*): Newly implemented.
1770 * gnu/java/nio/CharBufferImpl.java: Reformatted.
1771 (CharBufferImpl): Revised.
1772 (slice): New implementation.
1773 (duplicate): New implementation.
1774 (compact): New implementation.
1775 (asReadOnlyBuffer): New implementation.
1776 (get): Documentation revised.
1777 (order): Return native byte order.
1778 * gnu/java/nio/DirectByteBufferImpl.java
1779 (allocateDirect): objects can be null not 0.
1780 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1781 (DoubleBufferImpl): Revised.
1782 (slice): New implementation.
1783 (duplicate): New implementation.
1784 (compact): New implementation.
1785 (asReadOnlyBuffer): New implementation.
1786 (get): Documentation revised.
1787 (order): Return native byte order.
1788 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1789 (FloatBufferImpl): Revised.
1790 (slice): New implementation.
1791 (duplicate): New implementation.
1792 (compact): New implementation.
1793 (asReadOnlyBuffer): New implementation.
1794 (get): Documentation revised.
1795 (order): Return native byte order.
1796 * gnu/java/nio/IntBufferImpl.java: Reformatted.
1797 (IntBufferImpl): Revised.
1798 (slice): New implementation.
1799 (duplicate): New implementation.
1800 (compact): New implementation.
1801 (asReadOnlyBuffer): New implementation.
1802 (get): Documentation revised.
1803 (order): Return native byte order.
1804 * gnu/java/nio/LongBufferImpl.java: Reformatted.
1805 (LongBufferImpl): Revised.
1806 (slice): New implementation.
1807 (duplicate): New implementation.
1808 (compact): New implementation.
1809 (asReadOnlyBuffer): New implementation.
1810 (get): Documentation revised.
1811 (order): Return native byte order.
1812 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1813 (ShortBufferImpl): Revised.
1814 (slice): New implementation.
1815 (duplicate): New implementation.
1816 (compact): New implementation.
1817 (asReadOnlyBuffer): New implementation.
1818 (get): Documentation revised.
1819 (order): Return native byte order.
1820 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1821 (CharBuffer): Revised.
1822 (order): Removed.
1823 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1824 (DoubleBuffer): Revised.
1825 (allocateDirect): Removed.
1826 (order): Removed.
1827 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1828 (FloatBuffer): Revised.
1829 (allocateDirect): Removed.
1830 (order): Removed.
1831 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1832 (IntBuffer): Revised.
1833 (allocateDirect): Removed.
1834 (order): Removed.
1835 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1836 (LongBuffer): Revised.
1837 (allocateDirect): Removed.
1838 (order): Removed.
1839 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1840 (ShortBuffer): Revised.
1841 (allocateDirect): Removed.
1842 (order): Removed.
1843 * gnu/java/nio/natByteBufferImpl.cc: Removed.
1844 * gnu/java/nio/natCharBufferImpl.cc: Removed.
1845 * Makefile.am
1846 (ordinary_java_source_files): Added the following files:
1847 gnu/java/nio/CharViewBufferImpl.java,
1848 gnu/java/nio/DoubleViewBufferImpl.java,
1849 gnu/java/nio/FloatViewBufferImpl.java,
1850 gnu/java/nio/IntViewBufferImpl.java,
1851 gnu/java/nio/LongViewBufferImpl.java,
1852 gnu/java/nio/ShortViewBufferImpl.java
1853 (nat_source_files): Removed the following files:
1854 gnu/java/nio/natByteBufferImpl.cc,
1855 gnu/java/nio/natCharBufferImpl.cc
1856 * Makefile.in: Regenerated.
1857
1858 2003-05-12 Michael Koch <konqueror@gmx.de>
1859
1860 * gnu/java/nio/CharViewBufferImpl.java,
1861 gnu/java/nio/DirectByteBufferImpl.java,
1862 gnu/java/nio/DoubleViewBufferImpl.java,
1863 gnu/java/nio/FloatViewBufferImpl.java,
1864 gnu/java/nio/IntViewBufferImpl.java,
1865 gnu/java/nio/LongViewBufferImpl.java,
1866 gnu/java/nio/ShortViewBufferImpl.java,
1867 gnu/java/nio/natDirectByteBufferImpl.cc:
1868 New files, not yet to be compiled.
1869
1870 2003-05-10 Michael Koch <konqueror@gmx.de>
1871
1872 * javax/swing/plaf/ButtonUI.java,
1873 javax/swing/plaf/ColorUIResource.java,
1874 javax/swing/plaf/ComponentUI.java,
1875 javax/swing/plaf/DimensionUIResource.java,
1876 javax/swing/plaf/FontUIResource.java,
1877 javax/swing/plaf/IconUIResource.java,
1878 javax/swing/plaf/InsetsUIResource.java,
1879 javax/swing/plaf/LabelUI.java,
1880 javax/swing/plaf/ListUI.java,
1881 javax/swing/plaf/OptionPaneUI.java,
1882 javax/swing/plaf/PanelUI.java,
1883 javax/swing/plaf/TabbedPaneUI.java,
1884 javax/swing/plaf/TextUI.java,
1885 javax/swing/plaf/TreeUI.java,
1886 javax/swing/plaf/ViewportUI.java,
1887 javax/swing/plaf/basic/BasicBorders.java,
1888 javax/swing/plaf/basic/BasicButtonUI.java,
1889 javax/swing/plaf/basic/BasicCheckBoxUI.java,
1890 javax/swing/plaf/basic/BasicDefaults.java,
1891 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1892 javax/swing/plaf/basic/BasicIconFactory.java,
1893 javax/swing/plaf/basic/BasicLabelUI.java,
1894 javax/swing/plaf/basic/BasicListUI.java,
1895 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1896 javax/swing/plaf/basic/BasicPanelUI.java,
1897 javax/swing/plaf/basic/BasicRadioButtonUI.java,
1898 javax/swing/plaf/basic/BasicScrollPaneUI.java,
1899 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1900 javax/swing/plaf/basic/BasicTextUI.java,
1901 javax/swing/plaf/basic/BasicToggleButtonUI.java,
1902 javax/swing/plaf/basic/BasicTreeUI.java,
1903 javax/swing/plaf/basic/BasicViewportUI.java,
1904 javax/swing/plaf/metal/MetalLookAndFeel.java:
1905 New versions from classpath. This adds copyrights to all files and
1906 some serialVersionUIDs.
1907
1908 2003-05-10 Michael Koch <konqueror@gmx.de>
1909
1910 * java/nio/CharBuffer.java
1911 (offset): Make it package-private.
1912 (backing_buffer): Likewise.
1913 * java/nio/DoubleBuffer.java
1914 (offset): Make it package-private.
1915 (backing_buffer): Likewise.
1916 (put): Reformatted.
1917 * java/nio/FloatBuffer.java
1918 (offset): Make it package-private.
1919 (backing_buffer): Likewise.
1920 * java/nio/IntBuffer.java
1921 (offset): Make it package-private.
1922 (backing_buffer): Likewise.
1923 * java/nio/LongBuffer.java
1924 (offset): Make it package-private.
1925 (backing_buffer): Likewise.
1926 * java/nio/ShortBuffer.java
1927 (offset): Make it package-private.
1928 (backing_buffer): Likewise.
1929
1930 2003-05-10 Michael Koch <konqueror@gmx.de>
1931
1932 * java/nio/CharBuffer.java
1933 (put): Fixed precondtion check.
1934 (toString): Make it work without backing array.
1935 (put): Skip one level of method calling.
1936
1937 2003-05-10 Michael Koch <konqueror@gmx.de>
1938
1939 * java/security/Identity.java,
1940 java/security/IdentityScope.java,
1941 java/security/Key.java,
1942 java/security/KeyPair.java,
1943 java/security/PrivateKey.java,
1944 java/security/Provider.java,
1945 java/security/PublicKey.java,
1946 java/security/SecureRandom.java,
1947 java/security/SecureRandomSpi.java,
1948 java/security/SignedObject.java,
1949 java/security/Signer.java,
1950 java/security/cert/Certificate.java,
1951 java/security/cert/PKIXCertPathBuilderResult.java,
1952 java/security/cert/X509Certificate.java:
1953 New versions from classpath.
1954
1955 2003-05-09 Tom Tromey <tromey@redhat.com>
1956
1957 * Makefile.in: Rebuilt.
1958 * Makefile.am (nat_source_files): Removed old files.
1959 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1960 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1961 * gnu/java/nio/natIntBufferImpl.cc: Removed.
1962 * gnu/java/nio/natLongBufferImpl.cc: Removed.
1963 * gnu/java/nio/natShortBufferImpl.cc: Removed.
1964
1965 2003-05-09 Michael Koch <konqueror@gmx.de>
1966
1967 * gnu/java/nio/ByteBufferImpl.java
1968 (nio_cast): Removed.
1969 (ByteBufferImpl): Removed.
1970 (nio_get_Byte): Removed.
1971 (nio_put_Byte): Removed.
1972 (asByteBuffer): Removed.
1973 (asCharBuffer): Removed implementation and throw exception.
1974 (asShortBuffer): Likewise.
1975 (asIntBuffer): Likewise.
1976 (asLongBuffer): Likewise.
1977 (asFloatBuffer): Likewise.
1978 (asDoubleBuffer): Likewise.
1979 * gnu/java/nio/CharBufferImpl.java
1980 (CharBufferImpl): Removed.
1981 (nio_get_Byte): Removed.
1982 (nio_put_Byte): Removed.
1983 (asByteBuffer): Removed.
1984 * gnu/java/nio/DoubleBufferImpl.java
1985 (DoubleBufferImpl): Removed.
1986 (nio_get_Byte): Removed.
1987 (nio_put_Byte): Removed.
1988 (asByteBuffer): Removed.
1989 * gnu/java/nio/FloatBufferImpl.java
1990 (FloatBufferImpl): Removed.
1991 (nio_get_Byte): Removed.
1992 (nio_put_Byte): Removed.
1993 (asByteBuffer): Removed.
1994 * gnu/java/nio/IntBufferImpl.java
1995 (IntBufferImpl): Removed.
1996 (nio_get_Byte): Removed.
1997 (nio_put_Byte): Removed.
1998 (asByteBuffer): Removed.
1999 * gnu/java/nio/LongBufferImpl.java
2000 (LongBufferImpl): Removed.
2001 (nio_get_Byte): Removed.
2002 (nio_put_Byte): Removed.
2003 (asByteBuffer): Removed.
2004 * gnu/java/nio/ShortBufferImpl.java
2005 (ShortBufferImpl): Removed.
2006 (nio_get_Byte): Removed.
2007 (nio_put_Byte): Removed.
2008 (asByteBuffer): Removed.
2009 * gnu/java/nio/natByteBufferImpl.cc
2010 (nio_cast): Removed.
2011 (nio_get_Byte): Removed.
2012 (nio_put_Byte): Removed.
2013 * gnu/java/nio/natCharBufferImpl.cc
2014 (nio_get_Byte): Removed.
2015 (nio_put_Byte): Removed.
2016
2017 2003-05-09 Michael Koch <konqueror@gmx.de>
2018
2019 * java/net/JarURLConnection.java
2020 (getJarEntry): Merged documentation from classpath.
2021 (getJarFile): Likewise.
2022 (getMainAttributes): Likewise.
2023 (getAttributes): Likewise.
2024 (getManifest): Likewise.
2025 (getCertificates): Reformatted.
2026 * java/net/URLConnection.java:
2027 Little classpath merge.
2028
2029 2003-05-09 Michael Koch <konqueror@gmx.de>
2030
2031 * java/io/DataOutputStream.java
2032 (writeShort): Made it synchronized.
2033 (writeChar): Likewise.
2034 (writeInt): Likewise.
2035 (writeLong): Liekwise.
2036 (writeUTF): Made it synchronized, renamed argument to match classpath.
2037 * java/io/InputStreamReader.java
2038 (converter): Added documentation.
2039 (read): Merged documentation from classpath.
2040 * java/io/OutputStreamWriter.java
2041 (OutputStreamWriter): Merged documentation from classpath.
2042 (close): Reformatted.
2043 (getEncoding): Likewise.
2044 (flush): Likewise.
2045 (write): Merged documentation from classpath, reformatted.
2046
2047 2003-05-08 Tom Tromey <tromey@redhat.com>
2048
2049 * configure.host <powerpc64*-*>: Set with_libffi_default and
2050 libgcj_interpreter to "yes".
2051
2052 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
2053
2054 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
2055
2056 2003-05-06 Tom Tromey <tromey@redhat.com>
2057
2058 * verify.cc: Reverted previous patch.
2059
2060 2003-05-06 Michael Koch <konqueror@gmx.de>
2061
2062 * java/io/DataOutputStream.java
2063 (write): Renamed argument to "value", merged documentation from
2064 classpath.
2065 (writeBoolean): Likewise.
2066 (writeByte): Likewise.
2067 (writeShort): Likewise.
2068 (writeChar): Likewise.
2069 (writeInt): Likewise.
2070 (writeLong): Likewise.
2071 (writeFloat): Likewise.
2072 (writeDouble): Likewise.
2073 (writeBytes): Likewise.
2074 (writeChars): Likewise.
2075 (writeUTF): Likewise.
2076 * java/io/File.java
2077 (performDelete): Added documentation.
2078 (performList): Likewise.
2079 (performMkdir): Likewise.
2080 (performSetReadOnly): Likewise.
2081 (performRenameTo): Likewise.
2082 (performSetLastModified): Likewise.
2083 (delete): Made it sychronized.
2084 (renameTo): Made it sychronized.
2085 (equals): Reformatted.
2086 (isHidden): Likewise.
2087 (listFiles): Likewise.
2088 (setReadOnly): Likewise.
2089 (listRoots): Likewise.
2090 (setLastModified): Likewise.
2091 (checkRead): Likewise.
2092 (checkWrite): Likewise.
2093 * java/io/FileInputStream.java
2094 (skip): Made it sychronized, merged from classpath.
2095 * java/io/FileOutputStream.java
2096 (write): Merged from classpath.
2097 * java/io/InputStreamReader.java:
2098 (InputStreamReader): Merged documentation from classpath.
2099
2100 2003-05-05 Michael Koch <konqueror@gmx.de>
2101
2102 * java/net/NetworkInterface.java
2103 (networkInterfaces): Removed.
2104 (getByName): Use getRealNetworkInterfaces() instead of
2105 networkInterfaces.
2106 (getByInetAddress): Likewise.
2107 (getNetworkInterfaces): Likewise.
2108 (toString): Fix output of addresses of an interface.
2109
2110 2003-05-05 Michael Koch <konqueror@gmx.de>
2111
2112 * java/io/DataInputStream.java:
2113 Merged new documentation from classpath.
2114
2115 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
2116
2117 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
2118 "version".
2119 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
2120 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
2121 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
2122 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
2123 * gnu/awt/gtk/GtkMainThread.java: Likewise.
2124 * gnu/awt/gtk/GtkToolkit.java: Likewise.
2125 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
2126 * java/security/Key.java: Likewise.
2127 * java/security/PrivateKey.java: Likewise.
2128 * java/security/Provider.java: Likewise.
2129 * java/security/PublicKey.java: Likewise.
2130
2131 2003-05-02 Michael Koch <konqueror@gmx.de>
2132
2133 * java/net/URI.java
2134 (create): Doesnt throws any exceptions.
2135 * java/net/URLConnection.java
2136 (URLConnection): Commend added.
2137 (getExpiration): The header field is called "expires" not
2138 "expiration".
2139 (getHeaderField): Merged documentation with classpath.
2140 (getHeaderFieldInt): Likewise.
2141 (getHeaderFieldDate): Likewise.
2142 (getHeaderFieldKey): Likewise.
2143 (getPermission): Likewise.
2144 (setDefaultUseCaches): Likewise.
2145 (setRequestProperty): Likewise.
2146 (addRequestProperty): Likewise.
2147 (getRequestProperty): Likewise.
2148 (getRequestProperties): Likewise.
2149 (setDefaultRequestProperty): Likewise.
2150 (getDefaultRequestProperty): Likewise.
2151 (guessContentTypeFromStream): Likewise.
2152 (getFileNameMap): Likewise.
2153 (setFileNameMap): Likewise.
2154 (setDoInput): Merged implementation and documentation with classpath.
2155 (setDoOutput): Likewise.
2156 (setAllowUserInteraction): Likewise.
2157 (setDefaultAllowUserInteraction): Likewise.
2158 (setContentHandlerFactory): Made it synchronized, merged documentation
2159 with classpath.
2160 (guessContentTypeFromName): Renamed argument fname to filename to
2161 match classpath, merged documentation with classpath.
2162
2163 2003-05-02 Michael Koch <konqueror@gmx.de>
2164
2165 * java/net/JarURLConnection.java
2166 (JarURLConnection): Class documentation merged with classpath.
2167 (getJarFileURL): Moved and documentation merged with classpath.
2168 (getEntryName): Likewise.
2169 (JarURLConnection): Documentation merged with classpath.
2170 (getJarEntry): Likewise.
2171 (getJarFile): Likewise.
2172 * java/net/PlainDatagramSocketImpl.java:
2173 Class documentation moved.
2174 * java/net/URLConnection.java
2175 (fileNameMap): Moved and documentation merged with classpath.
2176 (factory): Likewise.
2177 (defaultAllowUserInteraction): Likewis.
2178 (defaultUseCaches): Likewise.
2179 (allowUserInteraction): Likewise.
2180 (connected): Likewise.
2181 (url): Likewise.
2182 (connect): Documentation merged with classpath.
2183 (getURL): Likewise.
2184 (getContentLength): Likewise.
2185 (getContentType): Likewise.
2186 (getContentEncoding): Likewise.
2187 (getExpiration): Likewise.
2188 (getDate): Likewise.
2189 (getLastModified): Likewise.
2190 (getHeaderField): Likewise.
2191 (getContent): Likewise.
2192 (getPermission): Likewise.
2193 (getInputStream): Likewise.
2194 (getOutputStream): Likewise.
2195 (toString): Likewise.
2196 (getDoInput): Likewise.
2197 (getDoOutput): Likewise.
2198 (setAllowUserInteraction): Likewise.
2199 (getAllowUserInteraction): Likewise.
2200 (setDefaultAllowUserInteraction): Likewise.
2201 (getDefaultAllowUserInteraction): Likewise.
2202 (setUseCaches): Likewise.
2203 (getUseCaches): Likewise.
2204 (setIfModifiedSince): Likewise.
2205 (getIfModifiedSince): Likewise.
2206 (setDefaultRequestProperty): Likewise.
2207 (getDefaultRequestProperty): Likewise.
2208 (setContentHandlerFactory): Likewise.
2209 (setFileNameMap): Likewise.
2210
2211 2003-05-02 Michael Koch <konqueror@gmx.de>
2212
2213 * java/net/InetAddress.java:
2214 Merged class documentation with classpath.
2215 * java/net/JarURLConnection.java:
2216 Explicitely import all used classes.
2217 * java/net/URL.java:
2218 Reformatting.
2219 * java/net/ServerSocket.java,
2220 java/net/Socket.java:
2221 New versions from classpath.
2222
2223 2003-05-02 Michael Koch <konqueror@gmx.de>
2224
2225 * gnu/java/nio/FileChannelImpl.java
2226 (read): New implementation.
2227 (implRead): New methods.
2228 (write): New implementation, call other write insteal of read method.
2229 (implWrite): New methods.
2230 (map): Added comment.
2231 (transferFrom): Implemented.
2232 (transferTo): Implemented.
2233 (lock): Added checks to throw exceptions.
2234 (truncate): Added check to throw exception.
2235 * gnu/java/nio/natFileChannelImpl.cc
2236 (implRead): New method.
2237 (implWrite): New method.
2238 * java/nio/ByteBuffer.java
2239 (hashCode): Fixed comment.
2240 (get): Fixed exception documentation.
2241 (put): Fixed exception documentation.
2242 * java/nio/CharBuffer.java:
2243 Added comment for later optimizations.
2244
2245 2003-04-30 Tom Tromey <tromey@redhat.com>
2246
2247 PR libgcj/10582:
2248 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2249 Removed.
2250 (type::compatible): Use _Jv_IsAssignableFrom.
2251 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2252 (_Jv_IsAssignableFrom): Work even when source or target class is
2253 not prepared.
2254
2255 2003-04-30 Michael Koch <konqueror@gmx.de>
2256
2257 * java/text/BreakIterator.java
2258 (clone): New method.
2259
2260 2003-04-30 Michael Koch <konqueror@gmx.de>
2261
2262 * java/text/CollationElementIterator.java,
2263 java/text/CollationKey.java,
2264 java/text/RuleBasedCollator.java:
2265 Merged copyright and documentation from classpath and
2266 rearranged some code. No code changes done.
2267
2268 2003-04-30 Michael Koch <konqueror@gmx.de>
2269
2270 * java/util/regex/Matcher.java
2271 (pattern): New member variable.
2272 (appendReplacement): New method.
2273 (appendTail): New method.
2274 (end): New method.
2275 (find): New method.
2276 (group): New method.
2277 (replaceFirst): Added documentation.
2278 (replaceAll): Added documentation.
2279 (groupCount): New method.
2280 (lookingAt): New method.
2281 (matches): New method.
2282 (reset): New method.
2283 (start): New method.
2284 * java/util/regex/Pattern.java
2285 (serialVersionUID): New constant.
2286 (CANON_EQ): New constant.
2287 (CASE_INSENSITIVE): New constant.
2288 (COMMENTS): New constant.
2289 (DOTALL): New constant.
2290 (MULTILINE): New constant.
2291 (UNICODE_CASE): New constant.
2292 (UNIX_LINES): New constant.
2293 (regex): New member variable.
2294 (flags): New member variable.
2295 (Pattern): New method.
2296 (compile): Documentation added.
2297 (flags): New method.
2298 (matches): Documentation added.
2299 (matcher): Documentation added.
2300 (split): Documentation added.
2301 (pattern): New method.
2302
2303 2003-04-30 Michael Koch <konqueror@gmx.de>
2304
2305 * gnu/java/security/Engine.java,
2306 gnu/java/security/OID.java,
2307 gnu/java/security/der/BitString.java,
2308 gnu/java/security/der/DER.java,
2309 gnu/java/security/der/DERReader.java,
2310 gnu/java/security/der/DERValue.java,
2311 gnu/java/security/der/DERWriter.java,
2312 gnu/java/security/provider/DSAKeyFactory.java,
2313 gnu/java/security/provider/X509CertificateFactory.java,
2314 gnu/java/security/x509/X500DistinguishedName.java,
2315 gnu/java/security/x509/X509CRL.java,
2316 gnu/java/security/x509/X509CRLEntry.java,
2317 gnu/java/security/x509/X509Certificate.java,
2318 java/security/cert/CRLSelector.java,
2319 java/security/cert/CertPathBuilder.java,
2320 java/security/cert/CertPathBuilderResult.java,
2321 java/security/cert/CertPathBuilderSpi.java,
2322 java/security/cert/CertPathParameters.java,
2323 java/security/cert/CertPathValidator.java,
2324 java/security/cert/CertPathValidatorResult.java,
2325 java/security/cert/CertPathValidatorSpi.java,
2326 java/security/cert/CertSelector.java,
2327 java/security/cert/CertStore.java,
2328 java/security/cert/CertStoreParameters.java,
2329 java/security/cert/CertStoreSpi.java,
2330 java/security/cert/CollectionCertStoreParameters.java,
2331 java/security/cert/LDAPCertStoreParameters.java,
2332 java/security/cert/PKIXBuilderParameters.java,
2333 java/security/cert/PKIXCertPathBuilderResult.java,
2334 java/security/cert/PKIXCertPathChecker.java,
2335 java/security/cert/PKIXCertPathValidatorResult.java,
2336 java/security/cert/PKIXParameters.java,
2337 java/security/cert/PolicyNode.java,
2338 java/security/cert/PolicyQualifierInfo.java,
2339 java/security/cert/TrustAnchor.java,
2340 javax/security/auth/x500/X500Principal.java:
2341 New files from classpath.
2342 * gnu/java/io/ASN1ParsingException.java,
2343 gnu/java/io/Base64InputStream.java,
2344 gnu/java/security/der/DEREncodingException.java,
2345 gnu/java/security/provider/DSAParameters.java,
2346 gnu/java/security/provider/DSASignature.java,
2347 gnu/java/security/provider/Gnu.java,
2348 gnu/java/security/provider/GnuDSAPrivateKey.java,
2349 gnu/java/security/provider/GnuDSAPublicKey.java,
2350 java/security/AlgorithmParameterGenerator.java,
2351 java/security/AlgorithmParameters.java,
2352 java/security/KeyFactory.java,
2353 java/security/KeyPairGenerator.java,
2354 java/security/KeyStore.java,
2355 java/security/MessageDigest.java,
2356 java/security/SecureClassLoader.java,
2357 java/security/SecureRandom.java,
2358 java/security/Security.java,
2359 java/security/Signature.java,
2360 java/security/cert/Certificate.java,
2361 java/security/cert/CertificateFactory.java,
2362 java/security/cert/CertificateFactorySpi.java,
2363 java/security/cert/X509CRL.java,
2364 java/security/cert/X509Certificate.java,
2365 java/security/spec/DSAPublicKeySpec.java:
2366 New versions from classpath.
2367 * gnu/java/security/provider/DERReader.java,
2368 gnu/java/security/provider/DERWriter.java,
2369 java/security/Engine.java: Removed.
2370 * Makefile.am
2371 (java_source_files, javax_source_files): Added new files.
2372 * Makefile.in: Regenerated.
2373
2374 2003-04-29 Michael Koch <konqueror@gmx.de>
2375
2376 * javax/swing/JTable.java
2377 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2378 (AUTO_RESIZE_LAST_COLUMN): New constant.
2379 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2380 (AUTO_RESIZE_OFF): New constant.
2381 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2382 (JTable): New method.
2383 (columnAdded): New method.
2384 (columnMarginChanged): New method.
2385 (columnMoved): New method.
2386 (columnRemoved): New method.
2387 (columnSelectionChanged): New method.
2388 (editingCanceled): New method.
2389 (editingStopped): New method.
2390 (getColumnModel): New method.
2391 (getPreferredScrollableViewportSize): New method.
2392 (getScrollableBlockIncrement): New method.
2393 (getScrollableTracksViewportHeight): New method.
2394 (getScrollableTracksViewportWidth): New method.
2395 (getScrollableUnitIncrement): New method.
2396 (getSelectedRow): New method.
2397 (getSelectionModel): New method.
2398 (tableChanged): New method.
2399 (setModel): New method.
2400 (setSelectionMode): New method.
2401 (setSelectionModel): New method.
2402 (setShowGrid): New method.
2403 (valueChanged): New method.
2404 * javax/swing/text/DefaultEditorKit.java
2405 (backwardAction): New constant.
2406 (beepAction): New constant.
2407 (beginAction): New constant.
2408 (beginLineAction): New constant.
2409 (beginParagraphAction): New constant.
2410 (beginWordAction): New constant.
2411 (copyAction): New constant.
2412 (cutAction): New constant.
2413 (defaultKeyTypedAction): New constant.
2414 (deleteNextCharAction): New constant.
2415 (deletePrevCharAction): New constant.
2416 (downAction): New constant.
2417 (endAction): New constant.
2418 (endLineAction): New constant.
2419 (endOfLineStringProperty): New constant.
2420 (endParagraphAction): New constant.
2421 (endWordAction): New constant.
2422 (forwardAction): New constant.
2423 (insertBreakAction): New constant.
2424 (insertContentAction): New constant.
2425 (insertTabAction): New constant.
2426 (nextWordAction): New constant.
2427 (pageDownAction): New constant.
2428 (pageUpAction): New constant.
2429 (pasteAction): New constant.
2430 (previousWordAction): New constant.
2431 (readOnlyAction): New constant.
2432 (selectAllAction): New constant.
2433 (selectionBackwardAction): New constant.
2434 (selectionBeginAction): New constant.
2435 (selectionBeginLineAction): New constant.
2436 (selectionBeginParagraphAction): New constant.
2437 (selectionBeginWordAction): New constant.
2438 (selectionDownAction): New constant.
2439 (selectionEndAction): New constant.
2440 (selectionEndLineAction): New constant.
2441 (selectionEndParagraphAction): New constant.
2442 (selectionEndWordAction): New constant.
2443 (selectionForwardAction): New constant.
2444 (selectionNextWordAction): New constant.
2445 (selectionPreviousWordAction): New constant.
2446 (selectionUpAction): New constant.
2447 (selectLineAction): New constant.
2448 (selectParagraphAction): New constant.
2449 (selectWordAction): New constant.
2450 (upAction): New constant.
2451 (writableAction): New constant.
2452
2453 2003-04-29 Michael Koch <konqueror@gmx.de>
2454
2455 * java/util/PropertyPermission.java:
2456 New version from classpath
2457 * java/util/ResourceBundle.java:
2458 Partly merged from classpath
2459 (getObject): Reformated.
2460 (tryBundle): Set foundBundle = null if no bundle found.
2461
2462 2003-04-29 Michael Koch <konqueror@gmx.de>
2463
2464 * javax/swing/AbstractListModel.java,
2465 javax/swing/DefaultBoundedRangeModel.java,
2466 javax/swing/DefaultSingleSelectionModel.java:
2467 New Versions from classpath.
2468
2469 2003-04-29 Michael Koch <konqueror@gmx.de>
2470
2471 * java/awt/Window.java
2472 (show): Call super.show() instead of setVisible() to avoid endless
2473 loop.
2474 (hide): Call super.hide() instead of setVisible() to avoid endless
2475 loop.
2476
2477 2003-04-29 Michael Koch <konqueror@gmx.de>
2478
2479 * java/util/zip/Deflater.java,
2480 java/util/zip/DeflaterOutputStream.java:
2481 Partly merged with classpath.
2482
2483 2003-04-27 Tom Tromey <tromey@redhat.com>
2484
2485 * java/lang/natString.cc (_Jv_AllocString): Initialize
2486 cachedHashCode.
2487 (init): Likewise.
2488 (_Jv_NewStringUtf8Const): Likewise.
2489
2490 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2491
2492 * include/jvm.h: (_Jv_GetNbArgs) added
2493 (_Jv_GetSafeArg) added
2494 (_Jv_SetArgs) added
2495 * prims.cc: (_Jv_GetNbArgs) implemented
2496 (_Jv_GetSafeArg) implemented
2497 (_Jv_SetArgs) implemented
2498 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2499 setting _Jv_argc and _Jv_argv
2500 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2501 instead of _Jv_argv
2502 * java/lang/natRuntime.cc: (insertSystemProperties) use
2503 _Jv_GetSafeArg() instead of _Jv_argv
2504
2505 2003-04-23 Tom Tromey <tromey@redhat.com>
2506
2507 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2508 required by this object. Search superclasses to find required
2509 alignment.
2510 (get_alignment_from_class): Use alignment of type as it appears
2511 in a struct.
2512 (ALIGNOF): New macro.
2513 (struct aligner): New helper structure.
2514
2515 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2516
2517 * java/awt/Container.java (addImpl): Enable paint events if adding
2518 a lightweight to a heavyweight.
2519 (addNotify): Ensure that peer is created before
2520 addNotifyContainerChildren.
2521 (addNotifyContainerChildren): Enable paint events if a heavyweight
2522 container contains a lightweight.
2523
2524 2003-04-20 Tom Tromey <tromey@redhat.com>
2525
2526 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2527 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2528 Classpath.
2529
2530 2003-04-19 Tom Tromey <tromey@redhat.com>
2531
2532 * java/sql/Date.java, java/sql/DriverManager.java,
2533 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2534 Classpath.
2535
2536 * Makefile.in: Rebuilt.
2537 * Makefile.am (ordinary_java_source_files): Added new files.
2538 * java/security/AlgorithmParameterGenerator.java,
2539 java/security/AlgorithmParameters.java, java/security/Engine.java,
2540 java/security/Identity.java, java/security/IdentityScope.java,
2541 java/security/KeyFactory.java,
2542 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2543 java/security/MessageDigest.java, java/security/Policy.java,
2544 java/security/ProtectionDomain.java,
2545 java/security/SecureRandom.java, java/security/Security.java,
2546 java/security/Signature.java, java/security/SignatureSpi.java,
2547 java/security/SignedObject.java, java/security/Signer.java,
2548 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2549 java/security/spec/PSSParameterSpec.java,
2550 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2551 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2552 Classpath.
2553
2554 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2555
2556 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2557 (dispose): Null metrics.
2558 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2559 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2560 finalize.
2561 (finalize): Call dispose.
2562 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2563 (gcCachedCount): New field.
2564 (finalize): New method.
2565 (putGCInCache): New method.
2566 (getGCFromCache): New method.
2567 * gnu/gcj/xlib/GC.java (GC): Make protected.
2568 (clone): Get new GC from cache if possible.
2569 (create): New static method.
2570 (dispose): Save old GC in cache.
2571 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2572 deleting.
2573 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2574 is null.
2575 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2576 * java/awt/Container.java (visitChild): Dispose gfx2 when
2577 finished.
2578
2579 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2580
2581 * java/math/BigInteger.java (probablePrime): New.
2582 * java/math/BigDecimal.java (unscaledValue): New.
2583
2584 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2585
2586 * java/io/File.java (getAbsolutePath): On Windows, take care
2587 of paths like "C:", "G:foo\bar", etc.
2588 (getName): Make it work correctly on Windows.
2589 (getParent): Make it work correctly on Windows. For UNIX,
2590 fix bug that causes "/" to be returned as the parent of "/",
2591 instead of null as returned by Sun's JRE.
2592
2593 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2594
2595 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2596
2597 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2598 inner class.
2599 (CACHE_SIZE_PER_DISPLAY): New field
2600 (fontMetricsCache): New field
2601 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2602 loading ISO10646-1 fonts.
2603
2604 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2605
2606 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2607 characters.
2608 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2609 characters.
2610
2611 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2612
2613 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2614 floating point.
2615
2616 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2617
2618 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2619 installed libpthread is either linuxthreads with floating stacks or
2620 NPTL.
2621
2622 2003-04-14 Tom Tromey <tromey@redhat.com>
2623
2624 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2625 of alignment.
2626
2627 2003-04-10 Tom Tromey <tromey@redhat.com>
2628
2629 * verify.cc (pop64): Removed.
2630 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2631 exception if top-of-stack is narrow.
2632 (initialize_stack): Check to ensure that <init> is not static and
2633 <clinit> is.
2634
2635 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2636
2637 * java/io/ObjectStreamException
2638 * java/io/FileFilter
2639 * java/io/FilenameFilter
2640 * java/io/ObjectInput
2641 * java/io/ObjectOutput
2642 * java/io/ObjectStreamConstants
2643 Minor doc fixes, format fixes, spelling corrections, etc.
2644 * java/io/DataInput
2645 Corrected code samples in Javadocs to match reality
2646 * java/io/DataOutput
2647 * java/io/ObjectInputValidation
2648 Major documentation fixes - all Javadocs re-written or updated
2649
2650 2003-04-06 Michael Koch <konqueror@gmx.de>
2651
2652 * java/net/URLConnection.java:
2653 Import classes directly.
2654 (URLConnection): Merged class documentation with classpath.
2655 (url): Moved, documentation from classpath added.
2656 (doInput): Moved, documentation from classpath added.
2657 (doOutput): Moved, documentation from classpath added.
2658 (allowUserInteraction): Moved.
2659 (useCaches): Moved, documentation from classpath added.
2660 (ifModifiedSince): Moved, documentation from classpath added.
2661 (connected): Moved, documentation from classpath added.
2662
2663 2003-04-06 Michael Koch <konqueror@gmx.de>
2664
2665 * java/io/FileInputStream.java
2666 (skip): Renamed some variables to match classpath, added
2667 checks from classpath.
2668
2669 2003-03-31 Michael Koch <konqueror@gmx.de>
2670
2671 * javax/swing/AbstractAction.java
2672 (AbstractAction): Reformatted.
2673 (serialVersionUID): New private member variable.
2674 * javax/swing/plaf/BorderUIResource.java
2675 (serialVersionUID): New private member variable.
2676 * javax/swing/plaf/basic/BasicLookAndFeel.java
2677 (serialVersionUID): New private member variable.
2678
2679 2003-03-31 Michael Koch <konqueror@gmx.de>
2680
2681 * java/sql/Date.java
2682 (valueOf): Deprecated, reformatted.
2683 (toString): Deprecated, reformatted.
2684 * java/sql/Time.java
2685 (valueOf): Deprecated, reformatted.
2686 (toString): Deprecated, reformatted.
2687
2688 2003-03-31 Michael Koch <konqueror@gmx.de>
2689
2690 * java/rmi/dgc/VMID.java
2691 (isUnique): Deprecated.
2692
2693 2003-03-31 Michael Koch <konqueror@gmx.de>
2694
2695 * java/io/File.java
2696 (separator): Merged documentation from classpath.
2697 (separatorChar): Merged documentation from classpath.
2698 (pathSeparator): Merged documentation from classpath.
2699 (pathSeparatorChar): Merged documentation from classpath.
2700 (path): Merged documentation from classpath.
2701 (canRead): Merged documentation from classpath.
2702 (canWrite): Merged documentation from classpath.
2703 (createNewFile): Merged documentation from classpath.
2704 (delete): Merged documentation from classpath.
2705 (equals): Merged documentation from classpath.
2706 (exists): Merged documentation from classpath.
2707 (File): Renamed p to name to match classpath, merged documentation
2708 from classpath.
2709 (getAbsolutePath): Merged documentation from classpath.
2710 (getCanonicalPath): Merged documentation from classpath.
2711 (getCanonicalFile): Merged documentation from classpath.
2712 (getName): Merged documentation from classpath.
2713 (getParent): Merged documentation from classpath.
2714 (getParentFile): Merged documentation from classpath.
2715 (getPath): Merged documentation from classpath.
2716 (hashCode): Merged documentation from classpath.
2717 (isAbsolute): Merged documentation from classpath.
2718 (isDirectory): Merged documentation from classpath.
2719 (isFile): Merged documentation from classpath.
2720 (isHidden): Merged documentation from classpath.
2721 (lastModified): Merged documentation from classpath.
2722 (length): Merged documentation from classpath.
2723 (list): Merged documentation from classpath.
2724 (listFiles): Merged documentation from classpath.
2725 (toString): Merged documentation from classpath.
2726 (toURL): Merged documentation from classpath.
2727 (mkdir): Merged documentation from classpath.
2728 (mkdirs): Merged documentation from classpath.
2729 (createTempFile): Merged documentation from classpath.
2730 (setReadOnly): Merged documentation from classpath.
2731 (listRoots): Merged documentation from classpath.
2732 (compareTo): Merged documentation from classpath.
2733 (renameTo): Merged documentation from classpath.
2734 (setLastModified): Merged documentation from classpath.
2735 * java/io/PrintStream.java
2736 (auto_flush): Merged documentation from classpath.
2737 (PrintStream): Merged documentation from classpath.
2738 (checkError): Merged documentation from classpath.
2739 (setError): Merged documentation from classpath.
2740 (close): Merged documentation from classpath.
2741 (flush): Merged documentation from classpath.
2742 (print): Merged documentation from classpath.
2743 (println): Merged documentation from classpath.
2744 (write): Renamed count to len to match classpath,
2745 merged documentation from classpath.
2746 * java/io/RandomAccessFile.java
2747 (readShort): Merged documentation from classpath.
2748 (readUnsignedByte): Merged documentation from classpath.
2749 (readUnsignedShort): Merged documentation from classpath.
2750 (readUTF): Merged documentation from classpath.
2751 (seek): Reformatted, merged documentation from classpath.
2752 (skipBytes): Renamed some variables to match classpath, reformatted,
2753 merged documentation from classpath.
2754 (write): Merged documentation from classpath.
2755 (writeBoolean): Merged documentation from classpath.
2756 (writeByte): Merged documentation from classpath.
2757 (writeShort): Merged documentation from classpath.
2758 (writeChar): Merged documentation from classpath.
2759 (writeInt): Merged documentation from classpath.
2760 (writeLong): Merged documentation from classpath.
2761 (writeFloat): Merged documentation from classpath.
2762 (writeDouble): Merged documentation from classpath.
2763 (writeBytes): Merged documentation from classpath.
2764 (writeChars): Merged documentation from classpath.
2765 (writeUTF): Reformatted.
2766 (getChannel): Reformatted.
2767
2768 2003-03-31 Michael Koch <konqueror@gmx.de>
2769
2770 * java/awt/font/TextAttribute.java
2771 (readResolve): Throws java.io.InvalidObjectException.
2772
2773 2003-03-31 Michael Koch <konqueror@gmx.de>
2774
2775 * java/rmi/server/LoaderHandler.java
2776 (loadClass): Deprecated.
2777 (getSecurityContext): Deprecated.
2778 * java/rmi/server/LogStream.java
2779 (getDefaultStream): Deprecated.
2780 (setDefaultStream): Deprecated.
2781 (getOutputStream): Deprecated.
2782 (setOutputStream): Deprecated.
2783 (write): Deprecated.
2784 (toString): Deprecated.
2785 (parseLevel): Deprecated.
2786 * java/rmi/server/Operation.java
2787 (Operation): Deprecated.
2788 (getOperation): Deprecated.
2789 (toString): Deprecated.
2790 * java/rmi/server/RemoteCall.java
2791 (getOutputStream): Deprecated.
2792 (releaseOutputStream): Deprecated.
2793 (getInputStream): Deprecated.
2794 (releaseInputStream): Deprecated.
2795 (getResultStream): Deprecated.
2796 (executeCall): Deprecated.
2797 (done): Deprecated.
2798 * java/rmi/server/RemoteRef.java
2799 (invoke): Deprecated.
2800 (newCall): Deprecated.
2801 (done): Deprecated.
2802 * java/rmi/server/RemoteStub.java
2803 (setRef): Deprecated.
2804 * java/rmi/server/Skeleton.java:
2805 No need to import java.lang.Exception explicitly.
2806 (dispatch): Deprecated.
2807 (getOperations): Deprecated.
2808
2809 2003-03-31 Michael Koch <konqueror@gmx.de>
2810
2811 * java/rmi/dgc/VMID.java,
2812 java/rmi/registry/RegistryHandler.java,
2813 java/rmi/server/LogStream.java,
2814 java/rmi/server/Operation.java,
2815 java/rmi/server/RemoteCall.java,
2816 java/rmi/server/RemoteRef.java,
2817 java/rmi/server/RemoteStub.java:
2818 Reformatted.
2819
2820 2003-03-31 Michael Koch <konqueror@gmx.de>
2821
2822 * javax/swing/AbstractCellEditor.java,
2823 javax/swing/AbstractListModel.java,
2824 javax/swing/ActionMap.java,
2825 javax/swing/BorderFactory.java,
2826 javax/swing/ButtonGroup.java,
2827 javax/swing/DefaultBoundedRangeModel.java,
2828 javax/swing/DefaultButtonModel.java,
2829 javax/swing/DefaultCellEditor.java,
2830 javax/swing/DefaultComboBoxModel.java,
2831 javax/swing/DefaultDesktopManager.java,
2832 javax/swing/DefaultListCellRenderer.java,
2833 javax/swing/DefaultSingleSelectionModel.java,
2834 javax/swing/InputMap.java,
2835 javax/swing/JComponent.java,
2836 javax/swing/JMenu.java,
2837 javax/swing/JSlider.java,
2838 javax/swing/KeyStroke.java,
2839 javax/swing/OverlayLayout.java,
2840 javax/swing/ScrollPaneLayout.java,
2841 javax/swing/SizeRequirements.java,
2842 javax/swing/UIManager.java,
2843 javax/swing/ViewportLayout.java,
2844 javax/swing/border/AbstractBorder.java,
2845 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2846 javax/swing/event/EventListenerList.java,
2847 javax/swing/table/AbstractTableModel.java,
2848 javax/swing/table/DefaultTableCellRenderer.java,
2849 javax/swing/table/DefaultTableColumnModel.java,
2850 javax/swing/table/DefaultTableModel.java,
2851 javax/swing/table/TableColumn.java,
2852 javax/swing/text/StyledEditorKit.java,
2853 javax/swing/tree/DefaultMutableTreeNode.java,
2854 javax/swing/tree/DefaultTreeModel.java,
2855 javax/swing/tree/DefaultTreeSelectionModel.java,
2856 javax/swing/tree/TreePath.java,
2857 javax/swing/undo/AbstractUndoableEdit.java,
2858 javax/swing/undo/StateEdit.java,
2859 javax/swing/undo/StateEditable.java,
2860 javax/swing/undo/UndoableEditSupport.java:
2861 Merges from classpath.
2862
2863 2003-03-30 Tom Tromey <tromey@redhat.com>
2864
2865 * java/lang/String.java (data, boffset, count): Documented.
2866 (String(byte[],String)): Reformatted.
2867 (String(byte[])): Likewise.
2868 (lastIndexOf(int)): Likewise.
2869 (lastIndexOf(String)): Likewise.
2870 (substring(int)): Renamed argument to match Classpath.
2871 (String(StringBuffer)): Don't share buffer if it is nearly empty.
2872
2873 * java/lang/String.java: Miscellaneous minor formatting changes
2874 to match Classpath more closely.
2875
2876 2003-03-29 Eric Blake <ebb9@email.byu.edu>
2877 Tom Tromey <tromey@redhat.com>
2878
2879 * java/lang/natString.cc (hashCode): Use cachedHashCode.
2880 (init()): Removed.
2881 (charAt): Put index in exception.
2882 (contentEquals): New method.
2883 Include StringBuffer.h.
2884 * java/lang/String.java (cachedHashCode): New field.
2885 (String()): Follow classpath implementation.
2886 (init()): Removed.
2887 (contentEquals): Declare.
2888 (subSequence): Don't declare IndexOutIfBoundsException in throws
2889 clause.
2890 (matches, replaceFirst, replaceAll, split): New methods from
2891 Classpath.
2892
2893 2003-03-29 Tom Tromey <tromey@redhat.com>
2894
2895 * java/lang/String.java: Reordered to follow Classpath; merged in
2896 javadoc.
2897
2898 * java/text/MessageFormat.java: Removed some whitespace.
2899
2900 * Makefile.in: Rebuilt.
2901 * Makefile.am (awt_java_source_files): Added new files.
2902 * gnu/javax/rmi/PortableServer.java,
2903 gnu/javax/rmi/CORBA/DelegateFactory.java,
2904 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2905 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2906 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2907 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2908 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2909 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2910 javax/rmi/PortableRemoteObject.java,
2911 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2912 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2913 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2914 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2915 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2916 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2917
2918 * java/lang/natClass.cc (newInstance): Put method name in
2919 exception.
2920 (getConstructor): Likewise.
2921 (getDeclaredConstructor): Likewise.
2922 (getPrivateMethod): Likewise.
2923
2924 2003-03-28 Tom Tromey <tromey@redhat.com>
2925
2926 * java/lang/reflect/Proxy.java: New version from Classpath.
2927 * java/lang/Package.java: New version from Classpath.
2928
2929 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
2930
2931 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2932 * configure: Regenerate.
2933
2934 2003-03-28 Michael Koch <konqueror@gmx.de>
2935
2936 * java/io/File.java:
2937 Import needed classes instead of whole packages, merged class
2938 documentation with classpath, moved constants and variables to top of
2939 class.
2940 * java/io/PrintStream.java:
2941 Merged class documentation with classpath, moved constants and
2942 variables to top of class.
2943 * java/io/RandomAccessFile.java
2944 (RandomAccessFile): Merged with classpath.
2945 (read): Merged with classpath).
2946 (read*): Reformatted.
2947
2948 2003-03-28 Michael Koch <konqueror@gmx.de>
2949
2950 * java/io/FileDescriptor.java
2951 (finalize): Throws Throwable, not IOException.
2952 * java/io/ObjectOutputStream.java
2953 (PutField.put): Doesnt throws anything.
2954
2955 2003­03-28 Michael Koch <konqueror@gmx.de>
2956
2957 * java/io/FileOutputStream.java:
2958 Merged class documentation and authors with classpath.
2959 (FileOutputStream): Partly merged with classpath.
2960 (write): Merged with classpath.
2961 (getChannel): Make it synchronized instead of explicit block in this
2962 method.
2963 * java/io/RandomAccessFile.java:
2964 Merged class documentation and authors with classpath.
2965
2966 2003-03-26 Tom Tromey <tromey@redhat.com>
2967
2968 * java/lang/natRuntime.cc (insertSystemProperties): Set
2969 gnu.classpath.home.url.
2970 * Makefile.in: Rebuilt.
2971 * Makefile.am: Define LIBDIR.
2972
2973 2003-03-25 Michael Koch <konqueror@gmx.de>
2974
2975 * java/io/FileInputStream.java
2976 (read): Renamed b to buf and off to offset.
2977 * java/io/FileOutputStream.java
2978 (ch): Documentation added.
2979 (FileOutputStream): Documentation added.
2980 (getFD): Documentation added.
2981 (write): Documentation added.
2982 (close): Documentation added.
2983 (getChannel): Documentation added.
2984
2985 2003-03-24 Michael Koch <konqueror@gmx.de>
2986
2987 * java/io/DataOutputStream.java
2988 (write): Merged from classpath.
2989 * java/io/File.java:
2990 Merged copyrigth with classpath.
2991 * java/io/FileInputStream.java
2992 (getChannel): Made it synchronized instead of using a synchronized
2993 block.
2994 * java/io/FileOutputStream.java: Reformatted.
2995 * java/io/InputStreamReader.java
2996 (InputStreamReader): Renamed enc to encoding_name.
2997 (close): Merged documentation from classpath.
2998 (getEncoding): Merged documentation from classpath.
2999 (ready): Merged documentation from classpath.
3000 (read): Merged documentation from classpath.
3001 * java/io/LineNumberReader.java
3002 (lineNumber): Made it private.
3003 (LineNumberReader): Use Constant instead of a direct value.
3004 * java/io/OutputStreamWriter.java
3005 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
3006 documentation from classpath.
3007 (close): Merged documentation from classpath.
3008 (flush): Merged documentation from classpath.
3009 (write): Merged documentation from classpath.
3010 * java/io/PrintStream.java: Reformatted.
3011
3012 2003-03-24 Michael Koch <konqueror@gmx.de>
3013
3014 * javax/swing/text/ComponentView.java
3015 (getComponent): Must be final.
3016 * javax/swing/tree/DefaultTreeCellRenderer.java:
3017 Reformatted.
3018 * javax/swing/undo/StateEditable.java:
3019 Reformatted.
3020
3021 2003-03-24 Michael Koch <konqueror@gmx.de>
3022
3023 * java/rmi/activation/ActivationInstantiator.java:
3024 Reformatted.
3025 * java/rmi/activation/Activator.java:
3026 Reformatted.
3027 * java/rmi/registry/RegistryHandler.java:
3028 Remerged from classpath.
3029
3030 2003-03-24 Michael Koch <konqueror@gmx.de>
3031
3032 * java/util/Date.java:
3033 Fixed documentation starting tag to make javadoc happy.
3034 * java/util/regex/Pattern.java
3035 (Pattern): Implements Serializable.
3036 * java/util/PatternSyntaxException.java
3037 (serialVersionUID): New member variable.
3038
3039 2003-03-24 Michael Koch <koqnueror@gmx.de>
3040
3041 * java/awt/ContainerOrderFocusTraversalPolicy.java
3042 (getFirstComponent): Implemented.
3043 (getLastComponent): Implemented.
3044 (getDefaultComponent): Implemented.
3045 (setImplicitDownCycleTraversal): Fixed implementation.
3046 * java/awt/Robot.java
3047 (Robot): Added documentation.
3048 * java/awt/Toolkit.java
3049 (getFontList): Deprecated.
3050 (getFontMetrics): Deprecated.
3051 (getPrintJob): Added documentation.
3052 (getSystemSelection): Added documentation.
3053 (getLockingKeyState): Added documentation.
3054 (setLockingKeyState): Added documentation.
3055 (createCustomCursor): Added documentation.
3056 (getBestCursorSize): Added documentation.
3057 (getMaximumCursorColors): Added documentation.
3058 (isFrameStateSupported): Added documentation.
3059
3060 2003-03-24 Michael Koch <konqueror@gmx.de>
3061
3062 * java/io/RandomAccessFile.java:
3063 More little merges with classpath. No code changes.
3064
3065 2003-03-24 Michael Koch <konqueror@gmx.de>
3066
3067 * java/net/natInetAddressNoNet.cc:
3068 Include stddef.h.
3069 * java/net/natPlainDatagramSocketImplNoNet.cc:
3070 Fixed inlcude of java/net/DatagramPacket.h.
3071 * java/net/natPlainSocketImplNoNet.cc:
3072 Include some missing classes.
3073
3074 2003-03-24 Michael Koch <konqueror@gmx.de>
3075
3076 * java/awt/dnd/DropTarget.java
3077 (DropTargetAutoScroller): According to the online documentation, this
3078 is protected, but in reality it is public.
3079 * java/awt/dnd/DropTargetContext.java
3080 (TransferableProxy): According to the online documentation, this
3081 is protected, but in reality it is public.
3082
3083 2003-03-24 Michael Koch <konqueror@gmx.de>
3084
3085 * java/io/DataInputStream.java
3086 (): Wrapped documentation line.
3087 (): Fixed @return tag.
3088 * java/io/DataOutputStream.java
3089 (written): Moved to top of class.
3090 (all methods): Merged documentation from classpath.
3091 * java/io/File.java:
3092 Merged copyright year with classpath.
3093 * java/io/FileInputStream.java
3094 (all methods): Merged documentation from classpath.
3095 * java/io/LineNumberReader.java
3096 (getLineNumber): Fixed @return tag.
3097 * java/io/ObjectInputStream.java.
3098 Reformatted.
3099 * java/io/ObjectOutputStream.java:
3100 Reformatted, fixed some @see tags.
3101 * java/io/OutputStreamWriter.java:
3102 Deleted empty line.
3103 * java/io/Writer.java:
3104 Reformatted.
3105
3106 2003-03-24 Michael Koch <konqueror@gmx.de>
3107
3108 * java/awt/Frame.java
3109 (DEFAULT_CURSOR): Fixed @deprecated tag.
3110 (setCursor): Fixed @deprecated tag.
3111
3112 2003-03-24 Michael Koch <konqueror@gmx.de>
3113
3114 * java/beans/beancontext/BeanContextEvent.java:
3115 Reformated.
3116
3117 2003-03-23 Eric Blake <ebb9@email.byu.edu>
3118
3119 * java/lang/natStringBuffer.cc (regionMatches): New function.
3120 * java/lang/String.java (count): Now package-private.
3121 * java/lang/StringBuffer.java: Merged with Classpath.
3122
3123 2003-03-23 Michael Koch <konqueror@gmx.de>
3124
3125 * java/io/BufferedOutputStream.java:
3126 Reformated.
3127 * java/io/BufferedReader.java:
3128 Reformated.
3129 * java/io/ByteArrayOutputStream.java
3130 (size): Fixed @see tag.
3131 * java/io/CharArrayWriter.java
3132 (size): Fixed @see tag.
3133 * java/io/DataInput.java:
3134 Reformated.
3135 * java/io/DataOutput.java:
3136 Reformated.
3137 * java/io/DataOutputStream.java:
3138 Merged copyright years with classpath.
3139 * java/io/Externalizable.java:
3140 Reformated.
3141 * java/io/FileFilter.java:
3142 Reformated.
3143 * java/io/FileInputStream.java:
3144 Merged copyright years with classpath.
3145 * java/io/FileOutputStream.java:
3146 Merged copyright years with classpath.
3147 * java/io/FilePermission.java
3148 (FilePermission): Replaced @XXX with FIXME:.
3149 * java/io/FileWriter.java:
3150 Reformated.
3151 * java/io/FilenameFilter.java:
3152 Reformated.
3153 * java/io/FilterInputStream.java:
3154 Reformated.
3155 * java/io/FilterOutputStream.java:
3156 Reformated.
3157 * java/io/FilterReader.java:
3158 Reformated.
3159 * java/io/FilterWriter.java:
3160 Reformated.
3161 * java/io/LineNumberInputStream.java
3162 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3163 happy.
3164 (getLineNumber): Fixed @return tag.
3165 * java/io/ObjectInput.java:
3166 Reformated.
3167 * java/io/ObjectOutput.java:
3168 Reformated.
3169 * java/io/ObjectStreamClass.java:
3170 Reformated.
3171 * java/io/PrintStream.java:
3172 Merged copyright years with classpath.
3173 * java/io/PushbackReader.java
3174 (PushbackReader): Replaced @code with @param.
3175 * java/io/SerializablePermission.java:
3176 Reformated.
3177 * java/io/StreamTokenizer.java
3178 (resetSyntax): Fixed @see tag.
3179
3180 2003-03-22 Richard Henderson <rth@redhat.com>
3181
3182 * sysdep/ia64/locks.h: Include ia64intrin.h.
3183 (compare_and_swap): Use __sync_bool_compare_and_swap.
3184 (compare_and_swap_release): Expose ar.ccv assignment.
3185
3186 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3187
3188 * include/posix.h: Add suffix for darwin dynamic libraries.
3189
3190 2003-03-21 Michael Koch <konqueror@gmx.de>
3191
3192 * javax/swing/Action.java
3193 (ACCELERATOR_KEY): New constant.
3194 (ACTION_COMMAND_KEY): Likewise.
3195 (MNEMONIC_KEY): Likewise.
3196 * javax/swing/UnsupportedLookAndFeelException.java
3197 (UnsupportedLookAndFeelException): Must be public.
3198 * javax/swing/WindowConstants.java
3199 (EXIT_ON_CLOSE): New constant.
3200 * javax/swing/text/BadLocationException.java
3201 (offset): New member variable.
3202 (BadLocationException): New implementation, documentation added.
3203 (offsetRequested): New method.
3204 * javax/swing/text/Caret.java:
3205 Reformated.
3206 * javax/swing/text/Document.java:
3207 Reformated.
3208
3209 2003-03-21 Michael Koch <konqueror@gmx.de>
3210
3211 * java/rmi/activation/Activatable.java
3212 (serialVersionUID): New member variable.
3213 * java/rmi/activation/ActivationGroup.java
3214 (serialVersionUID): New member variable.
3215 * java/rmi/activation/ActivationGroupDesc.java
3216 (serialVersionUID): New member variable.
3217 * java/rmi/registry/Registry.java:
3218 Reformated.
3219 (Registry): Deprecated.
3220 * java/rmi/server/LoaderHandler.java
3221 Reformated.
3222 (LoaderHandler): Deprecated.
3223 * java/rmi/server/LogStream.java
3224 Reformated.
3225 (LogStream): Deprecated.
3226 * java/rmi/server/Operation.java
3227 (Operation): Deprecated.
3228 * java/rmi/server/RMIFailureHandler.java:
3229 Reformated.
3230 * java/rmi/server/RMISocketFactory.java:
3231 Reformated.
3232 * java/rmi/server/RemoteCall.java
3233 (RemoteCall): Deprecated.
3234 * java/rmi/server/RemoteStub.java:
3235 Reformated.
3236 * java/rmi/server/Skeleton.java
3237 Reformated.
3238 (Skeleton): Deprecated.
3239
3240 2003-03-21 Michael Koch <konqueror@gmx.de>
3241
3242 * java/io/LineNumberReader.java
3243 (LineNumberReader): Merged documentation with classpath.
3244 (getLineNumber): Likewise.
3245 (setLineNumber): Likewise.
3246 (mark): Likewise.
3247 (reset): Likewise.
3248 (read): Likewise.
3249 (readLine): Likewise.
3250 (skip): Likewise.
3251
3252 2003-03-21 Michael Koch <konqueror@gmx.de>
3253
3254 * java/rmi/RMISecurityManager.java
3255 (checkAccept): Removed.
3256 (checkAccess): Likewise.
3257 (checkAccess): Likewise.
3258 (checkAwtEventQueueAccess): Likewise.
3259 (checkConnect): Likewise.
3260 (checkCreateClassLoader): Likewise.
3261 (checkDelete): Likewise.
3262 (checkExec): Likewise.
3263 (checkExit): Likewise.
3264 (checkLink): Likewise.
3265 (checkListen): Likewise.
3266 (checkMemberAccess): Likewise.
3267 (checkMulticast): Likewise.
3268 (checkPackageAccess): Likewise.
3269 (checkPackageDefinition): Likewise.
3270 (checkPermission): Likewise.
3271 (checkPrintJobAccess): Likewise.
3272 (checkPropertiesAccess): Likewise.
3273 (checkPropertyAccess): Likewise.
3274 (checkRead): Likewise.
3275 (checkSecurityAccess): Likewise.
3276 (checkSetFactory): Likewise.
3277 (checkSystemClipboardAccess): Likewise.
3278 (checkTopLevelWindow): Likewise.
3279 (checkWrite): Likewise.
3280
3281 2003-03-20 Michael Koch <konqueror@gmx.de>
3282
3283 * gnu/java/nio/FileChannelImpl.java
3284 (address): Removed.
3285 (map_address): New member variable.
3286 (length): Make it package private.
3287 (fd): Make it package private.
3288 (buf): Make it package private.
3289 (file_obj): Make it package private.
3290 (FileChannelImpl): New constructor.
3291 (nio_mmap_file): Use RawData instead of long.
3292 (nio_munmap_file): Use RawData instead of long.
3293 (nio_msync): Use RawData instead of long.
3294 (implCloseChannel): New implementation using map_address.
3295 (read): Reformated.
3296 (map): Implemented.
3297 (create_direct_mapped_buffer): Implemented, use RawData, throws
3298 IOException.
3299 (force): Use map_address instead of address.
3300 * gnu/java/nio/MappedByteFileBuffer.java
3301 (address): Removed.
3302 (map_address): New member variable.
3303 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3304 (several methods): Use map_address instead of address, replaced long
3305 with RawData where appropriate.
3306 * gnu/java/nio/natFileChannelImpl.cc
3307 (nio_mmap_file): Replaced long with RawData.
3308 (nio_munmap_file): Replaced long with RawData.
3309 (nio_msync): Replaced long with RawData.
3310 * gnu/java/nio/natMappedByteFileBuffer.cc
3311 (several methods): Replaced long with RawData where appropriate.
3312
3313 2003-03-20 Michael Koch <konqueror@gmx.de>
3314
3315 * java/net/InetAddress.java,
3316 java/net/JarURLConnection.java,
3317 java/net/PlainDatagramSocketImpl.java,
3318 java/net/PlainSocketImpl.java,
3319 java/net/URLConnection.java:
3320 Merged copyright statements with classpath for easier merging.
3321
3322 2003-03-20 Michael Koch <konqueror@gmx.de>
3323
3324 * java/io/FileInputStream.java
3325 (getChannel): New implementation.
3326 * java/io/FileOutputStream.java
3327 (ch): New member variable.
3328 (getChannel): Implemented.
3329 * java/io/RandomAccessFile.java
3330 (RandomAccessFile): Throws FileNotFoundException instead of
3331 IOException.
3332 (getChannel): New method.
3333 (ch): New member variable.
3334
3335 2003-03-20 Michael Koch <konqueror@gmx.de>
3336
3337 * java/io/DataOutputStream.java,
3338 java/io/File.java,
3339 java/io/FileInputStream.java,
3340 java/io/FileOutputStream.java,
3341 java/io/InputStreamReader.java,
3342 java/io/LineNumberReader.java,
3343 java/io/OutputStreamWriter.java,
3344 java/io/PrintStream.java,
3345 java/io/RandomAccessFile.java:
3346 Merged copyright statements with classpath for easier merging.
3347
3348 2003-03-19 Michael Koch <konqueror@gmx.de>
3349
3350 * java/lang/Process.java:
3351 Merged from classpath.
3352
3353 2003-03-19 Michael Koch <konqueror@gmx.de>
3354
3355 * java/io/FileOutputStream.java
3356 (FileOutputStream): New constructor, merged from classpath.
3357 * java/io/FileWriter.java
3358 (FileWriter): New constructor, merged from classpath.
3359
3360 2003-03-18 Michael Koch <konqueror@gmx.de>
3361
3362 * java/awt/ScrollPane.java
3363 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3364 (getViewportSize): Likewise.
3365 (addNotify): Likewise.
3366 (removeNotify): Likewise.
3367 * java/awt/ScrollPaneAdjustable.java
3368 (ScrollPaneAdjustable): No longer extends Scrollbar.
3369 * java/beans/beancontext/BeanContextServices.java:
3370 Reformated.
3371 (getService): Added throws TooManyListenersException;
3372 * java/beans/beancontext/BeanContextServicesSupport.java:
3373 Reformated.
3374
3375 2003-03-18 Michael Koch <konqueror@gmx.de>
3376
3377 * java/io/BufferedOutputStream.java,
3378 java/io/DataInput.java,
3379 java/io/DataInputStream.java,
3380 java/io/DataOutput.java,
3381 java/io/Externalizable.java:
3382 More merges from classpath.
3383
3384 2003-03-18 Michael Koch <konqueror@gmx.de>
3385
3386 * configure.in: Fixed links to platform dependant java.net files.
3387 * configure: Regenerated.
3388 * java/net/natInetAddress.cc,
3389 java/net/natNetworkInterface.cc,
3390 java/net/natPlainDatagramSocketImpl.cc,
3391 java/net/natPlainSocketImpl.cc:
3392 Removed.
3393
3394 2003-03-18 Michael Koch <konqueror@gmx.de>
3395
3396 * configure.in: Create links to architecture dependent files,
3397 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3398 * configure: Regenerated.
3399 * java/net/natInetAddressNoNet.cc,
3400 java/net/natInetAddressPosix.cc,
3401 java/net/natInetAddressWin32.cc,
3402 java/net/natNetworkInterfaceNoNet.cc,
3403 java/net/natNetworkInterfacePosix.cc,
3404 java/net/natNetworkInterfaceWin32.cc,
3405 java/net/natPlainDatagramSocketImplNoNet.cc,
3406 java/net/natPlainDatagramSocketImplPosix.cc,
3407 java/net/natPlainDatagramSocketImplWin32.cc,
3408 java/net/natPlainSocketImplNoNet.cc,
3409 java/net/natPlainSocketImplPosix.cc,
3410 java/net/natPlainSocketImplWin32.cc: New files.
3411
3412 2003-03-18 Michael Koch <konqueror@gmx.de>
3413
3414 * java/io/BufferedReader.java,
3415 java/io/BufferedWriter.java,
3416 java/io/ByteArrayOutputStream.java,
3417 java/io/FileFilter.java,
3418 java/io/FilePermission.java,
3419 java/io/FileReader.java,
3420 java/io/FileWriter.java,
3421 java/io/FilenameFilter.java,
3422 java/io/FilterInputStream.java,
3423 java/io/FilterOutputStream.java,
3424 java/io/FilterReader.java,
3425 java/io/FilterWriter.java,
3426 java/io/ObjectInput.java,
3427 java/io/ObjectInputValidation.java,
3428 java/io/ObjectOutput.java,
3429 java/io/ObjectStreamField.java,
3430 java/io/PipedInputStream.java,
3431 java/io/PipedReader.java,
3432 java/io/PrintWriter.java,
3433 java/io/PushbackReader.java,
3434 java/io/Reader.java,
3435 java/io/SerializablePermission.java,
3436 java/io/StringReader.java,
3437 java/io/Writer.java:
3438 Merged from classpath.
3439
3440 2003-03-17 Michael Koch <konqueror@gmx.de>
3441
3442 * java/awt/ScrollPaneAdjustable.java:
3443 Compile fixes.
3444
3445 2003-03-17 Michael Koch <konqueror@gmx.de>
3446
3447 * java/net/DatagramSocket.java
3448 (connect): Fixed comment.
3449 * java/nio/ByteBuffer.java
3450 (hasArray): Fixed comment.
3451
3452 2003-03-17 Michael Koch <konqueror@gmx.de>
3453
3454 * java/beans/Beans.java:
3455 Explicitely import classes not packages.
3456 * java/beans/FeatureDescriptor.java
3457 (preferred): New member variable.
3458 (isPreferred): New method.
3459 (setPreferred): New method.
3460 * java/beans/PropertyEditorManager.java:
3461 Explicitely import used classes.
3462 * java/beans/beancontext/BeanContextChild.java:
3463 Added line wrapping.
3464 * java/beans/beancontext/BeanContextChildSupport.java:
3465 Reindented.
3466 * java/beans/beancontext/BeanContextEvent.java:
3467 Reindented.
3468
3469 2003-03-17 Michael Koch <konqueror@gmx.de>
3470
3471 * java/awt/Dialog.java
3472 (Dialog): New constructor, changed implementations, added
3473 documentation.
3474 * java/awt/ScrollPaneAdjustable.java
3475 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3476 Serializable.
3477 (serialVersionUID): New member variable.
3478 (sp): New member variable.
3479 (orientation): New member variable.
3480 (value): New member variable.
3481 (minimum): New member variable.
3482 (maximum): New member variable.
3483 (visibleAmount): New member variable.
3484 (unitIncrement): New member variable.
3485 (blockIncrement): New member variable.
3486 (AdjustmentListener): New member variable.
3487 (ScrollPaneAdjustable): New implementation.
3488 (addAdjustmentListener): New method.
3489 (removeAdjustmentListener): New method.
3490 (getAdjustmentListeners): New method.
3491 (getBlockIncrement): New method.
3492 (getMaximum): New method.
3493 (getMinimum): New method.
3494 (getOrientation): New method.
3495 (getUnitIncrement): New method.
3496 (getValue): New method.
3497 (getVisibleAmount): New method.
3498 (setBlockIncrement): New method.
3499 (setMaximum): Implemented.
3500 (setMinimum): Implemented.
3501 (setUnitIncrement): New method.
3502 (setValue): New method.
3503 (setVisibleAmount): Implemented.
3504 (paramString): New stubbed method.
3505 * java/awt/Window.java
3506 (show): Call setVisible().
3507 (hide): Call setVisible().
3508 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3509 and WINDOW_STATE_CHANGED.
3510 (processWindowFocusEvent): New method.
3511 (processWindowStateEvent): New method.
3512 (postEvent): Deprecated.
3513 (applyResourceBundle): Deprecated.
3514 * java/awt/datatransfer/DataFlavor.java
3515 (DataFlavor): Doesn't thow ClassNotFoundException.
3516
3517 2003-03-17 Michael Koch
3518
3519 * javax/print/attribute/Attribute.java,
3520 javax/print/attribute/AttributeSet.java,
3521 javax/print/attribute/PrintRequestAttributeSet.java:
3522 New files.
3523 * Makefile.am
3524 (javax_source_files): Added new files:
3525 javax/print/attribute/Attribute.java
3526 javax/print/attribute/AttributeSet.java
3527 javax/print/attribute/PrintRequestAttributeSet.java
3528 * Makefile.in: Regenerated.
3529
3530 2003-03-17 Michael Koch
3531
3532 * javax/print/attribute/Attribute.java,
3533 javax/print/attribute/AttributeSet.java,
3534 javax/print/attribute/PrintRequestAttributeSet.java:
3535 New files.
3536 * Makefile.am
3537 (awt_java_source_files): Added new files:
3538 javax/print/attribute/Attribute.java
3539 javax/print/attribute/AttributeSet.java
3540 javax/print/attribute/PrintRequestAttributeSet.java
3541 * Makefile.in: Regenerated.
3542
3543 2003-03-16 Tom Tromey <tromey@redhat.com>
3544
3545 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3546 Include platform.h.
3547 * java/lang/natRuntime.cc (insertSystemProperties): Use
3548 _Jv_platform_path_separator.
3549 (nativeGetLibname): Use _Jv_platform_file_separator.
3550 (_load): Use _Jv_platform_onload_names.
3551 (onload_names): New global.
3552 * include/win32.h (_Jv_platform_file_separator): New define.
3553 (_Jv_platform_path_separator): Likewise.
3554 (_Jv_platform_onload_names): Likewise.
3555 (_Jv_platform_ffi_abi): Likewise.
3556 * include/posix.h (_Jv_platform_file_separator): New define.
3557 (_Jv_platform_path_separator): Likewise.
3558 (_Jv_platform_onload_names): Likewise.
3559 (_Jv_platform_ffi_abi): Likewise.
3560
3561 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3562
3563 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3564
3565 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3566
3567 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3568 hierarchy loop.
3569 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3570 list to Object,ObjectStreamClass, moved callReadMethod code up into
3571 readObject and added Class argument to all setXxxField calls.
3572 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3573 consistent with ObjectOutputStream and to facilitate caching the
3574 Method in the future.
3575 (setBooleanField): Added Class argument.
3576 (setByteField): Likewise.
3577 (setCharField): Likewise.
3578 (setDoubleField): Likewise.
3579 (setFloatField): Likewise.
3580 (setIntField): Likewise.
3581 (setLongField): Likewise.
3582 (setShortField): Likewise.
3583 (setObjectField): Likewise.
3584 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3585 class hierarchy loop.
3586 (defaultWriteObject): Call writeFields with new argument list.
3587 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3588 list to Object,ObjectStreamClass, moved callWriteMethod up into
3589 writeObject and added Class argument to all getXxxField calls.
3590 (callWriteMethod): Added ObjectStreamClass argument to be able to
3591 get the proper class to call getMethod on (each class can have (or
3592 not have) its own writeObject method).
3593 (getBooleanField): Added Class argument.
3594 (getByteField): Likewise.
3595 (getCharField): Likewise.
3596 (getDoubleField): Likewise.
3597 (getFloatField): Likewise.
3598 (getIntField): Likewise.
3599 (getLongField): Likewise.
3600 (getShortField): Likewise.
3601 (getObjectField): Likewise.
3602 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3603 facilitate caching the Method object in the future.
3604
3605 2003-03-12 Andreas Schwab <schwab@suse.de>
3606
3607 * configure.in: Avoid trailing /. in toolexeclibdir.
3608 * configure: Rebuilt.
3609
3610 2003-03-11 Michael Koch <konqueror@gmx.de>
3611
3612 * gnu/java/nio/ByteBufferImpl.java
3613 (putInt): Use limit() instead of limit.
3614 * gnu/java/nio/CharBufferImpl.java
3615 (slice): Fixed implementation.
3616 (subSequence): Better bounds checking.
3617 * gnu/java/nio/MappedByteFileBuffer.java:
3618 Import all needed classes directly.
3619 * java/nio/ByteBuffer.java
3620 (hashCode): New dummy method.
3621 * java/nio/CharBuffer.java
3622 (array_offset): New member variable.
3623 (hasArray): Fixed documentation.
3624 (arrayOffset): Return array_offset.
3625
3626 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3627
3628 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3629 setter; made return value of getter const char* instead of char*
3630 * prims.cc: removed all references to _Jv_ThisExecutable().
3631 These are in the platform-specific sections now.
3632 * posix.cc: define platform-specific _Jv_ThisExecutable().
3633 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3634 * win32.cc: define platform-specific _Jv_ThisExecutable()
3635 using GetModuleFilename()
3636 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3637 to argv[0] instead of _Jv_ThisExecutable()
3638
3639 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3640
3641 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3642 that is set if we are using addr2name.awk instead of addr2line.
3643 (NameFinder): Set usingAddr2name if using addr2name.awk.
3644 (getExternalLabel): New native method to convert a method
3645 name to an external label.
3646 (lookup): Convert name given by addr2line to an external label
3647 before demangling.
3648
3649 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3650 constant representing the prefix attached to method names to
3651 convert them to an external label.
3652 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3653 using LABEL_PREFIX.
3654
3655 2003-03-10 Tom Tromey <tromey@redhat.com>
3656
3657 * Makefile.in: Rebuilt.
3658 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3659 (JC1FLAGS): Removed -Wno-deprecated.
3660
3661 2003-03-10 Michael Koch <konqueror@gmx.de>
3662
3663 * java/nio/ByteOrder.java
3664 (nativeOrder): Working implementation, added documentation.
3665 (toString): Added documentation.
3666
3667 2003-03-10 Michael Koch <konqueror@gmx.de>
3668
3669 * java/net/DatagramSocket.java,
3670 java/net/MulticastSocket.java,
3671 java/net/Socket.java,
3672 java/net/URL.java,
3673 java/net/URLConnection.java:
3674 Fixed some documentation tags to make javadoc and friends happy.
3675
3676 2003-03-10 Michael Koch <koqnueror@gmx.de>
3677
3678 * java/beans/beancontext/BeanContextServicesSupport.java,
3679 java/beans/beancontext/BeanContextSupport.java: New files.
3680 * Makefile.am
3681 (awt_source_files): Added new files.
3682 * Makefile.in: Regenerated.
3683
3684 2003-03-10 Michael Koch <konqueror@gmx.de>
3685
3686 * java/awt/FocusTraversalPolicy.java
3687 (FocusTraversalPolicy): Documentation added.
3688 (getComponentAfter): Documentation added.
3689 (getComponentBefore): Documentation added.
3690 (getFirstComponent): Documentation added.
3691 (getLastComponent): Documentation added.
3692 (getDefaultComponent): Documentation added.
3693 (getInitialComponent): Documentation added.
3694 * java/awt/ScrollPaneAdjustable.java
3695 (sp): New member variable.
3696 (orientation): New member variable.
3697 (value): New member variable.
3698 (minimum): New member variable.
3699 (maximum): New member variable.
3700 (visibleAmount): New member variable.
3701 (unitIncrement): New member variable.
3702 (blockIncrement): New member variable.
3703 (adjustmentListener): New member variable.
3704 (ScrollPaneAdjustable): Rewrote.
3705 (addAdjustmentListener): New method.
3706 (removeAdjustmentListener): New method.
3707 (getAdjustmentListeners): New method.
3708 (getBlockIncrement): New method.
3709 (getMaximum): New method.
3710 (getMinimum): New method.
3711 (getOrientation): New method.
3712 (getUnitIncrement): New method.
3713 (getValue): New method.
3714 (getVisibleAmount): New method.
3715 (setBlockIncrement): New method.
3716 (setUnitIncrement): New method.
3717 (setMaximum): Implemented.
3718 (setMinimum): Implemented.
3719 (setValue): New method.
3720 (setVisibleAmount): Implemented.
3721 (paramString): New method.
3722 * java/awt/Window.java
3723 (show): Use setVisible(true) instead of super.show().
3724 (hide): Use sevVisible(false) instead of super.hide().
3725 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3726 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3727 (postEvent): Deprecated.
3728 (applyResourceBundle): Deprecated.
3729 (processWindowFocusEvent): New method.
3730 (processWindowStateEvent): New method.
3731 * java/awt/datatransfer/DataFlavor.java: Reindented.
3732 * java/awt/font/TextHitInfo.java
3733 (charIndex): New member variable.
3734 (leadingEdge): New member variable.
3735 (TextHitInfo): New constructor.
3736 (getCharIndex): Implemented.
3737 (isLeadingEdge): Implemented.
3738 (getInsertionIndex): Implemented.
3739 (hashCode): Access charIndex directly.
3740 (equals): Reformated.
3741 (leading): Implemented.
3742 (trailing): Implemented.
3743 (beforeOffset): Implemented.
3744 (afterOffset): Implemented.
3745 (getOtherHit): Implemented.
3746 (getOffsetHit): Implemented.
3747 (toString): Implemented.
3748 * java/awt/image/BufferedImage.java
3749 (BufferedImage): Implements WritableRenderedImage.
3750 (observers): New member variable.
3751 (addTileObserver): New method.
3752 (removeTileObserver): New method.
3753
3754 2003-03-09 Tom Tromey <tromey@redhat.com>
3755
3756 PR libgcj/9934:
3757 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3758 to lseek. Return 0 if we can't compute the value.
3759
3760 2003-03-03 Michael Koch <konqueror@gmx.de>
3761
3762 * java/net/NetworkInterface.java: Merged with classpath.
3763
3764 2003-03-03 Tom Tromey <tromey@redhat.com>
3765
3766 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3767 of bytecode.
3768 (handle_ret_insn): Fail if returning to jsr that appears at end of
3769 bytecode.
3770
3771 2003-03-03 Michael Koch <konqueror@gmx.de>
3772
3773 * Makefile.am
3774 (ordinary_java_source_files):
3775 Added gnu/java/nio/MappedByteFileBuffer.java.
3776 (nat_source_files):
3777 Added gnu/java/nio/natMappedByteFileBuffer.cc.
3778 * Makefile.in: Regenerated.
3779
3780 2003-03-03 Michael Koch <konqueror@gmx.de>
3781
3782 * java/net/DatagramSocket.java
3783 (connect): Merged comment from classpath.
3784 (receive): Merged documentation from classpath.
3785 * java/net/Socket.java
3786 (setSoTimeout): Clarified documentation.
3787 * java/net/URL.java
3788 (getPath): Merged from classpath.
3789 (getUserInfo): Merged from classpath.
3790 (getQuery): Merged from classpath.
3791 * java/net/URLStreamHandler.java
3792 (toExternalForm): Merged from classpath.
3793
3794 2003-03-02 Mark Wielaard <mark@klomp.org>
3795
3796 * java/util/Properties.java (load): Only skip line if the first
3797 character is a comment, whitespaces don't count.
3798
3799 2003-03-02 Michael Koch <konqueror@gmx.de>
3800
3801 * java/net/NetPermission.java:
3802 Merged copyright with classpath.
3803
3804 2003-03-02 Michael Koch <konqueror@gmx.de>
3805
3806 * java/lang/Package.java:
3807 Remerged from classpath.
3808
3809 2003-03-02 Michael Koch <konqueror@gmx.de>
3810
3811 * java/net/HttpURLConnection.java
3812 (HTTP_SERVER_ERROR): Deprecated.
3813 * java/net/MulticastSocket.java
3814 (send): Replaced checkMulticast with appropriate checkPermission call,
3815 deprecated.
3816 * java/net/URLDecoder.java
3817 (decode): Deprecated.
3818 * java/net/URLEncoder.java
3819 (encode): Deprecated.
3820
3821 2003-03-02 Michael Koch <konqueror@gmx.de>
3822
3823 * javax/swing/text/Caret.java
3824 (getMagicCaretPosition): Fixed typo in method name.
3825 * javax/swing/text/DefaultCaret.java
3826 (getMagicCaretPosition): Fixed typo in method name.
3827
3828 2003-03-02 Michael Koch <konqueror@gmx.de>
3829
3830 * java/awt/List.java
3831 (setMultipleSelections): Deprecated.
3832 (delItem): Deprecated.
3833 * java/awt/MenuComponent.java
3834 (getPeer): Deprecated.
3835 * java/awt/ScrollPane.java
3836 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3837 * java/awt/dnd/MouseDragGestureRecognizer.java
3838 (mouseClicked): Added comment.
3839 (mousePressed): Added comment.
3840 (mouseReleased): Added comment.
3841 (mouseEntered): Added comment.
3842 (mouseExited): Added comment.
3843 (mouseDragged): Added comment.
3844 (mouseMoved): Added comment.
3845 * java/awt/event/KeyEvent.java
3846 (KeyEvent): Deprecated.
3847 (setModifiers): Deprecated.
3848
3849 2003-03-02 Michael Koch <konqueror@gmx.de>
3850
3851 * gnu/java/nio/FileChannelImpl.java
3852 (fd): Type FileDescriptor instead of int.
3853 (lengthInternal): Removed.
3854 (FileChannelImpl): Fixed arguments, check type of file object.
3855 (size): Made it native.
3856 (implPosition): New native method.
3857 (implTruncate): New native method.
3858 (position): Implemented.
3859 (truncate): Implemented.
3860 (nio_mmap_file): Changed arguments.
3861 (nio_munmap_file): Changed arguments.
3862 (nio_msync): Changed arguments.
3863 * gnu/java/nio/natFileChannelImpl.cc
3864 (lengthInternal): Removed.
3865 (size): New method.
3866 (implPosition): New method.
3867 (implTruncate): New method.
3868 (nio_mmap_file): Changed arguments.
3869 (nio_munmap_file): Changed arguments.
3870 (nio_msync): Changed arguments.
3871
3872 2003-03-02 Michael Koch <konqueror@gmx.de>
3873
3874 * java/awt/dnd/DropTargetContext.java:
3875 Compile fix: Forgot to commit import.
3876
3877 2003-03-02 Michael Koch <konqueror@gmx.de>
3878
3879 * java/awt/Component.java,
3880 java/awt/ScrollPane.java:
3881 Fixed typos.
3882
3883 2003-03-02 Michael Koch <konqueror@gmx.de>
3884
3885 * java/awt/dnd/DnDEventMulticaster.java: New file.
3886 * java/awt/dnd/DragSource.java
3887 (flavorMap): New member variable.
3888 (dragSourceListener): New member variable.
3889 (dragSourceMotionListener): New member variable.
3890 (getFlavorMap): Implemented.
3891 (createDragGestureRecognizer): Implemented.
3892 (addDragSourceListener): Implemented.
3893 (removeDragSourceListener): Implemented.
3894 (getDragSourceListeners): Implemented.
3895 (addDragSourceMotionListener): Implemented.
3896 (removeDragSourceMotionListener): Implemented.
3897 (getDragSourceMotionListeners): Implemented.
3898 (getListeners): Implemented.
3899 * java/awt/dnd/DragSourceContext.java
3900 (peer): New member variable.
3901 (cursor): New member variable.
3902 (transferable): New member variable.
3903 (trigger): New member variable.
3904 (dragSourceListener): New member variable.
3905 (image): New member variable.
3906 (offset): New member variable.
3907 (DragSourceContext): Implemented.
3908 (getDragSource): Implemented.
3909 (getComponent): Implemented.
3910 (getTrigger): Implemented.
3911 (getSourceActions): Implemented.
3912 (setCursor): Implemented.
3913 (getCursor): Implemented.
3914 (addDragSourceListener): Implemented.
3915 (removeDragSourceListener): Implemented.
3916 (getTransferable): Implemented.
3917 * java/awt/dnd/DropTarget.java
3918 (DropTargetAutoScroller.component): New member variable.
3919 (DropTargetAutoScroller.point): New member variable.
3920 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3921 (DropTargetAutoScroller.updateLocation): Implemented.
3922 (active): Renamed from isActive, defaults to true now.
3923 (component): New member variable.
3924 (flavorMap): New member variable.
3925 (actions): New member variable.
3926 (dropTargetContext): New member variable.
3927 (dropTargetListener): New member variable.
3928 (DropTarget): Implemented.
3929 (getComponent): Implemented.
3930 (setComponent): Implemented.
3931 (setDefaultActions): Implemented.
3932 (getDefaultActions): Implemented.
3933 (setActive): Use active instead of isActive.
3934 (isActive): Use active instead of isActive.
3935 (addDropTargetListener): Implemented.
3936 (removeDropTargetListener): Implemented.
3937 (getFlavorMap): Implemented.
3938 (setFlavorMap): Implemented.
3939 (getDropTargetContext): Implemented.
3940 (createDropTargetContext): Implemented.
3941 (createDropTargetAutoScroller): Implemented.
3942 * java/awt/dnd/DropTargetContext.java
3943 (TransferableProxy.getTransferDataFlavors): Implemented.
3944 (TransferableProxy.isDataFlavorSupported): Implemented.
3945 (TransferableProxy.getTransferData): Implemented.
3946 (dropTarget): New member variable.
3947 (dtcp): New member variable.
3948 (DropTargetContext): New package private constructor.
3949 (getDropTarget): Implemented.
3950 (getComponent): Implemented.
3951 (addNotify): Implemented.
3952 (removeNotify): Implemented.
3953 (getCurrentDataFlavorsAsList): Implemented.
3954 (isDataFlavorSupported): Implemented.
3955 * java/awt/dnd/MouseDragGestureRecognizer.java
3956 (registerListeners): Implemented.
3957 (unregisterListeners): Implemented.
3958 * Makefile.am
3959 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3960 * Makefile.in: Regenerated.
3961
3962 2003-03-02 Michael Koch <konqueror@gmx.de>
3963
3964 * java/awt/Component.java
3965 (eventTypeEnabled): New method.
3966 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3967 * java/awt/Container.java
3968 (changeSupport): New member variable.
3969 (addPropertyChangeListener): New methods.
3970 * java/awt/ContainerOrderFocusTraversalPolicy.java
3971 (ContainerOrderFocusTraversalPolicy): Added comment.
3972 (getComponentAfter): Throw exception, documentation added.
3973 (getComponentBefore): Throw exception, documentation added.
3974 (getFirstComponent): Throw exception, documentation added.
3975 (getLastComponent): Throw exception, documentation added.
3976 (getDefaultComponent): Throw exception, documentation added.
3977 * java/awt/EventQueue.java: Reindented.
3978 * java/awt/FocusTraversalPolicy.java:
3979 (FocusTraversalPolicy): Added comment.
3980 (getComponentAfter): Documentation added.
3981 (getComponentBefore): Documentation added.
3982 (getFirstComponent): Documentation added.
3983 (getLastComponent): Documentation added.
3984 (getDefaultComponent): Documentation added.
3985 (getInitialComponent): Documentation added.
3986 * java/awt/ScrollPane.java
3987 (wheelScrollingEnabled): New member variable.
3988 (ScrollPane): Initialize wheelScollingEnabled.
3989 (eventTypeEnabled): New method.
3990 (isWheelScrollingEnabled): New method.
3991 (setWheelScrollingEnabled): New method.
3992
3993 2003-03-02 Michael Koch <konqueror@gmx.de>
3994
3995 * java/net/DatagramSocket.java
3996 (closed): New member variable.
3997 (close): Use closed variable.
3998 (getInetAddress): No need to call isConnected().
3999 (getPort): No need to call isConnected().
4000 (disconnect): Reset remoteAddress and remotePort, fixed typo.
4001 (isClosed): Reimplemented.
4002
4003 2003-03-02 Michael Koch <konqueror@gmx.de>
4004
4005 * configure.in: Added check for memory mapping of files.
4006 * configure: Regenerated.
4007 * config.h.in: Regenerated.
4008
4009 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
4010
4011 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
4012 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
4013
4014 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4015
4016 * java/io/File.java (normalizePath): Remove trailing separator
4017 on Windows only if path is not of the form "x:\".
4018
4019 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
4020 (java::io::File::attr): Change formatting a bit and use
4021 WIN32_EPOCH_MILLIS instead of magic numbers.
4022 (java::io::File::isAbsolute): Path must have at least 3
4023 characters for a UNC network path.
4024 (java::io::File::init_native): Define.
4025 (java::io::File::performCreate): Likewise.
4026 (java::io::File::performSetReadOnly): Likewise.
4027 (java::io::File::performSetLastModified): Likewise.
4028 (java::io::File::performListRoots): Likewise.
4029
4030 2003-03-01 Tom Tromey <tromey@redhat.com>
4031
4032 * java/lang/natObject.cc: Don't include assert.h.
4033 (heavy_lock_obj_finalization_proc): Use JvAssert.
4034 (remove_all_heavy): Likewise.
4035 (_Jv_MonitorEnter): Likewise.
4036 (_Jv_MonitorExit): Likewise.
4037 (wait): Likewise.
4038
4039 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
4040
4041 * java/io/File (getAbsolutePath): Prefix drive specifier on
4042 Windows for paths starting with a '\'.
4043 (toURL): Make URL more consistent with what Sun's JDK returns.
4044
4045 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
4046 true only if the path is a UNC network path or it starts with a
4047 drive specifier.
4048
4049 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
4050 Be prepared to handle either '/' or '\\' in the file path for
4051 Windows if using the "file" protocol.
4052 Canonicalise the file path if using a relative path in the given
4053 context and the "file" protocol.
4054
4055 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
4056
4057 * java/lang/natWin32Process.cc (startProcess): Double-quote each
4058 program array element passed to CreateProcess.
4059
4060 2003-03-01 Tom Tromey <tromey@redhat.com>
4061
4062 * java/rmi/registry/RegistryHandler.java: Deprecate.
4063
4064 2003-03-01 Tom Tromey <tromey@redhat.com>
4065
4066 * javax/accessibility/AccessibleEditableText.java,
4067 javax/accessibility/AccessibleHyperlink.java: New versions from
4068 Classpath.
4069
4070 * gnu/java/locale/LocaleInformation_af_ZA.java,
4071 gnu/java/locale/LocaleInformation_ar_AE.java,
4072 gnu/java/locale/LocaleInformation_ar_BH.java,
4073 gnu/java/locale/LocaleInformation_ar_DZ.java,
4074 gnu/java/locale/LocaleInformation_ar_EG.java,
4075 gnu/java/locale/LocaleInformation_ar_IN.java,
4076 gnu/java/locale/LocaleInformation_ar_IQ.java,
4077 gnu/java/locale/LocaleInformation_ar_JO.java,
4078 gnu/java/locale/LocaleInformation_ar_KW.java,
4079 gnu/java/locale/LocaleInformation_ar_LB.java,
4080 gnu/java/locale/LocaleInformation_ar_LY.java,
4081 gnu/java/locale/LocaleInformation_ar_MA.java,
4082 gnu/java/locale/LocaleInformation_ar_OM.java,
4083 gnu/java/locale/LocaleInformation_ar_QA.java,
4084 gnu/java/locale/LocaleInformation_ar_SD.java,
4085 gnu/java/locale/LocaleInformation_ar_SY.java,
4086 gnu/java/locale/LocaleInformation_ar_TN.java,
4087 gnu/java/locale/LocaleInformation_ar_YE.java,
4088 gnu/java/locale/LocaleInformation_be_BY.java,
4089 gnu/java/locale/LocaleInformation_bn_IN.java,
4090 gnu/java/locale/LocaleInformation_br_FR.java,
4091 gnu/java/locale/LocaleInformation_bs_BA.java,
4092 gnu/java/locale/LocaleInformation_ca_ES.java,
4093 gnu/java/locale/LocaleInformation_cs_CZ.java,
4094 gnu/java/locale/LocaleInformation_cy_GB.java,
4095 gnu/java/locale/LocaleInformation_da_DK.java,
4096 gnu/java/locale/LocaleInformation_de_AT.java,
4097 gnu/java/locale/LocaleInformation_de_BE.java,
4098 gnu/java/locale/LocaleInformation_de_CH.java,
4099 gnu/java/locale/LocaleInformation_de_DE.java,
4100 gnu/java/locale/LocaleInformation_de_LU.java,
4101 gnu/java/locale/LocaleInformation_el_GR.java,
4102 gnu/java/locale/LocaleInformation_en_AU.java,
4103 gnu/java/locale/LocaleInformation_en_BW.java,
4104 gnu/java/locale/LocaleInformation_en_CA.java,
4105 gnu/java/locale/LocaleInformation_en_DK.java,
4106 gnu/java/locale/LocaleInformation_en_GB.java,
4107 gnu/java/locale/LocaleInformation_en_HK.java,
4108 gnu/java/locale/LocaleInformation_en_IE.java,
4109 gnu/java/locale/LocaleInformation_en_IN.java,
4110 gnu/java/locale/LocaleInformation_en_NZ.java,
4111 gnu/java/locale/LocaleInformation_en_PH.java,
4112 gnu/java/locale/LocaleInformation_en_SG.java,
4113 gnu/java/locale/LocaleInformation_en_US.java,
4114 gnu/java/locale/LocaleInformation_en_ZA.java,
4115 gnu/java/locale/LocaleInformation_en_ZW.java,
4116 gnu/java/locale/LocaleInformation_es_AR.java,
4117 gnu/java/locale/LocaleInformation_es_BO.java,
4118 gnu/java/locale/LocaleInformation_es_CL.java,
4119 gnu/java/locale/LocaleInformation_es_CO.java,
4120 gnu/java/locale/LocaleInformation_es_CR.java,
4121 gnu/java/locale/LocaleInformation_es_DO.java,
4122 gnu/java/locale/LocaleInformation_es_EC.java,
4123 gnu/java/locale/LocaleInformation_es_ES.java,
4124 gnu/java/locale/LocaleInformation_es_GT.java,
4125 gnu/java/locale/LocaleInformation_es_HN.java,
4126 gnu/java/locale/LocaleInformation_es_MX.java,
4127 gnu/java/locale/LocaleInformation_es_NI.java,
4128 gnu/java/locale/LocaleInformation_es_PA.java,
4129 gnu/java/locale/LocaleInformation_es_PE.java,
4130 gnu/java/locale/LocaleInformation_es_PR.java,
4131 gnu/java/locale/LocaleInformation_es_PY.java,
4132 gnu/java/locale/LocaleInformation_es_SV.java,
4133 gnu/java/locale/LocaleInformation_es_US.java,
4134 gnu/java/locale/LocaleInformation_es_UY.java,
4135 gnu/java/locale/LocaleInformation_es_VE.java,
4136 gnu/java/locale/LocaleInformation_et_EE.java,
4137 gnu/java/locale/LocaleInformation_eu_ES.java,
4138 gnu/java/locale/LocaleInformation_fa_IR.java,
4139 gnu/java/locale/LocaleInformation_fi_FI.java,
4140 gnu/java/locale/LocaleInformation_fo_FO.java,
4141 gnu/java/locale/LocaleInformation_fr_BE.java,
4142 gnu/java/locale/LocaleInformation_fr_CA.java,
4143 gnu/java/locale/LocaleInformation_fr_CH.java,
4144 gnu/java/locale/LocaleInformation_fr_FR.java,
4145 gnu/java/locale/LocaleInformation_fr_LU.java,
4146 gnu/java/locale/LocaleInformation_ga_IE.java,
4147 gnu/java/locale/LocaleInformation_gd_GB.java,
4148 gnu/java/locale/LocaleInformation_gl_ES.java,
4149 gnu/java/locale/LocaleInformation_gv_GB.java,
4150 gnu/java/locale/LocaleInformation_he_IL.java,
4151 gnu/java/locale/LocaleInformation_hi_IN.java,
4152 gnu/java/locale/LocaleInformation_hr_HR.java,
4153 gnu/java/locale/LocaleInformation_hu_HU.java,
4154 gnu/java/locale/LocaleInformation_id_ID.java,
4155 gnu/java/locale/LocaleInformation_it_CH.java,
4156 gnu/java/locale/LocaleInformation_it_IT.java,
4157 gnu/java/locale/LocaleInformation_iw_IL.java,
4158 gnu/java/locale/LocaleInformation_ja_JP.java,
4159 gnu/java/locale/LocaleInformation_ka_GE.java,
4160 gnu/java/locale/LocaleInformation_kl_GL.java,
4161 gnu/java/locale/LocaleInformation_ko_KR.java,
4162 gnu/java/locale/LocaleInformation_kw_GB.java,
4163 gnu/java/locale/LocaleInformation_lt_LT.java,
4164 gnu/java/locale/LocaleInformation_lv_LV.java,
4165 gnu/java/locale/LocaleInformation_mi_NZ.java,
4166 gnu/java/locale/LocaleInformation_mk_MK.java,
4167 gnu/java/locale/LocaleInformation_mr_IN.java,
4168 gnu/java/locale/LocaleInformation_mt_MT.java,
4169 gnu/java/locale/LocaleInformation_nl_BE.java,
4170 gnu/java/locale/LocaleInformation_nl_NL.java,
4171 gnu/java/locale/LocaleInformation_nn_NO.java,
4172 gnu/java/locale/LocaleInformation_no_NO.java,
4173 gnu/java/locale/LocaleInformation_oc_FR.java,
4174 gnu/java/locale/LocaleInformation_pl_PL.java,
4175 gnu/java/locale/LocaleInformation_pt_BR.java,
4176 gnu/java/locale/LocaleInformation_pt_PT.java,
4177 gnu/java/locale/LocaleInformation_ro_RO.java,
4178 gnu/java/locale/LocaleInformation_ru_RU.java,
4179 gnu/java/locale/LocaleInformation_ru_UA.java,
4180 gnu/java/locale/LocaleInformation_se_NO.java,
4181 gnu/java/locale/LocaleInformation_sk_SK.java,
4182 gnu/java/locale/LocaleInformation_sl_SI.java,
4183 gnu/java/locale/LocaleInformation_sq_AL.java,
4184 gnu/java/locale/LocaleInformation_sr_YU.java,
4185 gnu/java/locale/LocaleInformation_sv_FI.java,
4186 gnu/java/locale/LocaleInformation_sv_SE.java,
4187 gnu/java/locale/LocaleInformation_ta_IN.java,
4188 gnu/java/locale/LocaleInformation_te_IN.java,
4189 gnu/java/locale/LocaleInformation_tg_TJ.java,
4190 gnu/java/locale/LocaleInformation_tl_PH.java,
4191 gnu/java/locale/LocaleInformation_tr_TR.java,
4192 gnu/java/locale/LocaleInformation_uk_UA.java,
4193 gnu/java/locale/LocaleInformation_ur_PK.java,
4194 gnu/java/locale/LocaleInformation_uz_UZ.java,
4195 gnu/java/locale/LocaleInformation_vi_VN.java,
4196 gnu/java/locale/LocaleInformation_yi_US.java,
4197 gnu/java/locale/LocaleInformation_zh_CN.java,
4198 gnu/java/locale/LocaleInformation_zh_HK.java,
4199 gnu/java/locale/LocaleInformation_zh_SG.java,
4200 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4201 info; from Classpath.
4202
4203 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4204 isPaintPending): New methods.
4205 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4206 setMaximizedBounds): New methods.
4207 (beginLayout, endLayout, isPaintPending): Likewise.
4208 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4209 (requestFocus): Likewise.
4210 (isObscured): Likewise.
4211 (canDetermineObscurity): Likewise.
4212 (coalescePaintEvent): Likewise.
4213 (updateCursorImmediately): Likewise.
4214 (createVolatileImage): Likewise.
4215 (handlesWheelScrolling): Likewise.
4216 (createBuffers): Likewise.
4217 (getBackBuffer): Likewise.
4218 (flip): Likewise.
4219 (destroyBuffers): Likewise.
4220
4221 * Makefile.in: Rebuilt.
4222 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4223 RobotPeer.java.
4224 * gnu/java/awt/GLightweightPeer.java,
4225 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4226 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4227 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4228 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4229 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4230 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4231 java/awt/dnd/peer/DragSourceContextPeer.java,
4232 java/awt/dnd/peer/DropTargetContextPeer.java,
4233 java/awt/peer/ButtonPeer.java,
4234 java/awt/peer/CheckboxMenuItemPeer.java,
4235 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4236 java/awt/peer/ComponentPeer.java,
4237 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4238 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4239 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4240 java/awt/peer/MenuBarPeer.java,
4241 java/awt/peer/MenuComponentPeer.java,
4242 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4243 java/awt/peer/PopupMenuPeer.java,
4244 java/awt/peer/ScrollPanePeer.java,
4245 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4246 java/awt/peer/TextComponentPeer.java,
4247 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4248 New versions from Classpath.
4249 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4250 * java/awt/peer/RobotPeer.java: Likewise.
4251
4252 2003-03-01 Mark Wielaard <mark@klomp.org>
4253
4254 * java/io/ObjectInputStream.java: Reindent.
4255 * java/io/ObjectOutputStream.java: Likewise.
4256
4257 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4258
4259 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4260 jvalue for each argument. Simplify.
4261 * testsuite/libjava.jni/calls.c (docall),
4262 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4263 misalignment.
4264
4265 2003-02-28 Mark Wielaard <mark@klomp.org>
4266
4267 * Makefile.am (nat_source_files): Remove
4268 java/io/natObjectOutputStream.cc.
4269 * Makefile.in: Regenerated.
4270 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4271 * java/io/ObjectStreamField.java (typename): New field.
4272 (ObjectStreamField(String, Class)): Initialize new field.
4273 (ObjectStreamField(String, String)): New Constructor.
4274 (getTypeCode): Use new field.
4275 (getTypeString): Use new field.
4276 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4277 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4278 Handle reading of Proxy classes. Never drain(), just write
4279 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4280 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4281 (flush): Call flush(), not just drain().
4282 (writeBoolean): Always use blockDataOutput.
4283 (writeByte): Likewise.
4284 (writeShort): Likewise.
4285 (writeChar): Likewise.
4286 (writeInt): Likewise.
4287 (writeLong): Likewise.
4288 (writeFloat): Likewise.
4289 (writeDouble): Likewise.
4290 (writeBytes): Likewise.
4291 (putfield (put(String,Object))): Throw IllegalArgumentException if
4292 field cannot be found.
4293 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4294 (writeArraySizeAndElements): Write byte[] in one go.
4295 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4296 set BlockDataMode to false.
4297 (annotateProxyClass): New method.
4298 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4299 (getField): No longer native.
4300 (getMethod): Likewise.
4301 (setBlockDataMode): Always drain() on switch, return old mode.
4302 (static): New static code block.
4303 * java/io/natObjectOutputStream.cc: Removed.
4304 * java/io/ObjectInputStream.java (getField): No longer native.
4305 (getMethod): Likewise.
4306 (readObject): Remember and reset old BlockDataMode. Track whether
4307 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4308 TC_LONGSTRING.
4309 (defaultReadObject): Set BlockDataMode to false during readFields.
4310 (resolveClass): Create new SecurityManager if necessary.
4311 Use Class.forName() if null ClassLoader found.
4312 (read(byte[],int,int): Copy remaining bytes to data before calling
4313 readNextBlock().
4314 (readFields): Set and reset BlockDataMode on call_read_method.
4315 Catch NoSuchFieldErrors.
4316 (setBlockDataMode): Return old mode.
4317 (static): New static code block.
4318 * java/io/natObjectInputStream.cc (getField): Removed.
4319 (getMethod): Likewise.
4320
4321 2003-02-27 Michael Koch <konqueror@gmx.de>
4322
4323 * java/beans/Beans.java,
4324 java/beans/FeatureDescriptor.java
4325 java/beans/PropertyEditorManager.java:
4326 Reformated to GNU style.
4327
4328 2003-02-25 Michael Koch <konqueror@gmx.de>
4329
4330 * gnu/java/nio/MappedByteFileBuffer.java,
4331 gnu/java/nio/natMappedByteFileBuffer.cc:
4332 New files, both are not compiled yet to get not noncompiling CVS.
4333
4334 2003-02-24 Tom Tromey <tromey@redhat.com>
4335
4336 * java/util/prefs/AbstractPreferences.java (isUserNode):
4337 Implemented.
4338
4339 2003-02-24 Tom Tromey <tromey@redhat.com>
4340
4341 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4342 Deprecate.
4343 * java/lang/Thread.java (resume): Deprecate.
4344 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4345 in @deprecated.
4346
4347 2003-02-23 Tom Tromey <tromey@redhat.com>
4348
4349 * Makefile.in: Rebuilt.
4350 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4351
4352 2003-02-23 Tom Tromey <tromey@redhat.com>
4353
4354 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4355 libraries): Removed.
4356 (add_library): Removed.
4357 (_load): Don't call add_library.
4358 (loadLibraryInternal): Likewise.
4359 (init): Likewise.
4360 (lookup_data): New struct.
4361 (find_symbol): New function.
4362 (_Jv_FindSymbolInExecutable): Use it.
4363
4364 2002-02-21 Anthony Green <green@redhat.com>
4365
4366 * java/lang/Thread.java (Thread): New constructor taking stack
4367 size parameter (ignored for now).
4368 * Many methods: Merged GNU Classpath documentation.
4369
4370 * java/lang/Class.java (finalize): throws a Throwable.
4371
4372 2003-02-21 Mark Wielaard <mark@klomp.org>
4373
4374 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4375 argument is null.
4376
4377 2003-02-21 Mark Wielaard <mark@klomp.org>
4378
4379 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4380 then 65535 chars throw IllegalArgumentException.
4381
4382 2003-02-21 Mark Wielaard <mark@klomp.org>
4383
4384 * java/util/zip/ZipFile.java (finalize): New method.
4385
4386 2003-02-21 Michael Koch <konqueror@gmx.de>
4387
4388 * gnu/java/nio/natSocketChannelImpl.cc:
4389 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4390 <cato@df.lth.se> for pointing to it.
4391
4392 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4393
4394 * java/math/BigInteger.java (euclidInv): Take result array as an
4395 argument. Updated all callers.
4396 (modInverse): Removed unused variables.
4397
4398 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4399
4400 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4401 config.status.
4402 * configure: Rebuilt.
4403
4404 2003-02-19 Michael Koch <konqueror@gmx.de>
4405
4406 * gnu/java/nio/natSocketChannelImpl.cc:
4407 Added support for platforms without network support.
4408
4409 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4410
4411 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4412 after config.h. Use <> for consistency.
4413 * java/lang/natObject.cc: Likewise.
4414 * java/lang/natRuntime.cc: Likewise.
4415 * java/lang/natSystem.cc: Likewise.
4416 * java/util/natTimeZone.cc: Likewise.
4417 * win32.cc: Likewise.
4418 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4419 listen, write, read): Undef to avoid interference from OS macros.
4420
4421 2003-02-19 Michael Koch <konqueror@gmx.de>
4422
4423 * gnu/java/nio/ByteBufferImpl.java
4424 (ByteBufferImpl): Renamed two variables.
4425 * gnu/java/nio/CharBufferImpl.java
4426 (CharBufferImpl): Renamed two variables.
4427 * gnu/java/nio/DoubleBufferImpl.java
4428 (DoubleBufferImpl): Renamed two variables.
4429 * gnu/java/nio/FloatBufferImpl.java
4430 (FloatBufferImpl): Renamed two variables.
4431 * gnu/java/nio/IntBufferImpl.java
4432 (IntBufferImpl): Renamed two variables.
4433 * gnu/java/nio/LongBufferImpl.java
4434 (LongBufferImpl): Renamed two variables.
4435 * gnu/java/nio/ShortBufferImpl.java
4436 (ShortBufferImpl): Renamed two variables.
4437 * java/nio/CharBuffer.java
4438 (wrap): Fixed arguments to CharBufferImpl constructor.
4439 (hasArray): Only not read-only buffers have backing arrays.
4440 (length): Documentation added.
4441 (subSequence): Documentation added.
4442 * java/nio/DoubleBuffer.java
4443 (hasArray): Only not read-only buffers have backing arrays.
4444 * java/nio/FloatBuffer.java
4445 (hasArray): Only not read-only buffers have backing arrays.
4446 * java/nio/IntBuffer.java
4447 (hasArray): Only not read-only buffers have backing arrays.
4448 * java/nio/LongBuffer.java
4449 (hasArray): Only not read-only buffers have backing arrays.
4450 * java/nio/ShortBuffer.java
4451 (hasArray): Only not read-only buffers have backing arrays.
4452
4453 2003-02-19 Michael Koch <konqueror@gmx.de>
4454
4455 * javax/accessibility/AccessibleContext.java
4456 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4457
4458 2003-02-19 Michael Koch <konqueror@gmx.de>
4459
4460 * java/awt/ScrollPaneAdjustable.java: Reformated.
4461
4462 2003-02-19 Michael Koch <konqueror@gmx.de>
4463
4464 * gnu/awt/j2d/Graphics2DImpl.java
4465 (getFontRenderContext): New method.
4466 (drawGlyphVector): New method.
4467 * java/awt/Graphics2D.java
4468 (getFontRenderContext): New abstract method.
4469 (drawGlyphVector): New abstract method.
4470
4471 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4472
4473 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4474 if necessary.
4475
4476 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4477 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4478 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4479 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4480 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4481 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4482 (setFont, gtkSetFont): add.
4483 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4484 Propagate font to peer. (setFont): add FIXME comment.
4485
4486 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4487 (gtkTextGetSize): fix height, width computation.
4488
4489 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4490 Make X font name a bit less bogus.
4491
4492 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4493 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4494
4495 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4496 (processAdjustmentEvent): Adjust value.
4497
4498 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4499 logic errors.
4500
4501 * java/awt/Component.java (setVisible, show, hide): Call show and
4502 hide methods in subclasses.
4503 (getPreferredSize): don't set prefSize before we have peer.
4504
4505 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4506 Guess (0,0) if we don't have peer.
4507
4508
4509 2003-02-18 Michael Koch <konqueror@gmx.de>
4510
4511 * java/nio/channels/FileChannel.java
4512 (toString): New implementation, added documentation.
4513 (map): Added exception documentation.
4514 (size): Added exception documentation.
4515 (write): New methods, documentation work.
4516 (read): New methods, documentation work.
4517 (implCloseChannel): Rewrote exception documentation.
4518 (force): Throws IOException, added documentation.
4519 (lock): New methods.
4520 (tryLock): New methods.
4521 (position): New methods.
4522 (transferTo): New method.
4523 (transferFrom): New method.
4524 (truncate): New method.
4525 * java/nio/channels/spi/SelectorProvider.java
4526 (provider): Implemented.
4527 * Makefile.am
4528 (ordinary_java_source_files): Added the following files:
4529 gnu/java/nio/DatagramChannelImpl.java
4530 gnu/java/nio/FileChannelImpl.java
4531 gnu/java/nio/PipeImpl.java
4532 gnu/java/nio/SelectionKeyImpl.java
4533 gnu/java/nio/SelectorImpl.java
4534 gnu/java/nio/SelectorProviderImpl.java
4535 gnu/java/nio/ServerSocketChannelImpl.java
4536 gnu/java/nio/SocketChannelImpl.java
4537 java/nio/channels/FileLock.java
4538 (nat_java_source_files): Added the following files:
4539 gnu/java/nio/natFileChannelImpl.cc
4540 gnu/java/nio/natSelectorImpl.cc
4541 gnu/java/nio/natSocketChannelImpl.cc
4542 * Makefile.in: Regenerated.
4543
4544 2003-02-17 Tom Tromey <tromey@redhat.com>
4545
4546 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4547 * java/awt/image/ImageFilter.java: Likewise.
4548
4549 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4550
4551 * java/math/BigInteger.java (euclidInv): Return array of
4552 `BigInteger's. Changed all callers.
4553
4554 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4555
4556 * java/util/Properties.java (store): Move the code formerly in
4557 list(), into this method.
4558 (list (PrintStream)): Just call list (PrintWriter) with a
4559 PrintWriter object constructed from the given PrintStream object.
4560 (list (PrintWriter)): Emulate the output of Properties.list()
4561 as found in JDK 1.3/1.4.
4562
4563 2003-02-17 Michael Koch <konqueror@gmx.de>
4564
4565 * java/net/DatagramSocket.java
4566 (connect): Merged with classpath.
4567 (disconnect): Merged documentation with classpath.
4568 (receice): Merged documentation with classpath.
4569 (send): Merged documentation with classpath.
4570
4571 2003-02-17 Michael Koch <konqueror@gmx.de>
4572
4573 * java/awt/dnd/DragSourceContext.java
4574 (addDragSourceListener): Added documentation.
4575 * java/awt/dnd/DragSourceDragEvent.java
4576 (serialVersionUID): New member variable.
4577 (getDropAction): Reformated.
4578 * java/awt/dnd/DragSourceDropEvent.java
4579 (serialVersionUID): New member variable.
4580 (dropSuccess): Renamed from success for serialization issues.
4581 * java/awt/dnd/DragSourceEvent.java
4582 (serialVersionUID): New member variable.
4583 * java/awt/dnd/DropTarget.java
4584 (serialVersionUID): New member variable.
4585 (DropTarget): Implemented, documentation reworked.
4586 (setComponent): Documentation added.
4587 (getComponent): Documentation added.
4588 (setDefaultActions): Documentation added.
4589 (getDefaultActions): Documentation added.
4590 (addDropTargetListener): Documentation added.
4591 * java/awt/dnd/DropTargetContext.java
4592 (DropTargetContext): Documentation added.
4593 (TransferableProxy.TransferableProxy): New method.
4594 (dropComplete): Fixed documentation.
4595 (getTransferable): Fixed documentation.
4596 (createTransferableProxy): Implemented.
4597 * java/awt/dnd/DropTargetDragEvent.java
4598 (DropTargetDragEvent): Documentation added.
4599 (serialVersionUID): New member variable.
4600 (DropTargetDragEvent): Throw exceptions, documentation added.
4601 (acceptDrag): Implemented.
4602 (getCurrentDataFlavors): Implemented.3yy
4603 (getCurrentDataFlavorsAsList): Implemented.
4604 (isDataFlavorSupported): Implemented.
4605 (rejectDrag): Implemented.
4606 * java/awt/dnd/DropTargetDropEvent.java
4607 (DropTargetDropEvent): Documentation added.
4608 (serialVersionUID): New member variable.
4609 (actions): Renamed from srcActions for serialization issues.
4610 (isLocalTx): Renamed from isLocalTx for serialization issues.
4611 (DropTargetDropEvent): New implementation, throw exceptions,
4612 documentation added.
4613 (getCurrentDataFlavors): Implemented.
4614 (getCurrentDataFlavorsAsList): Implemented.
4615 (isDataFlavorSupported): Implemented.
4616 (getSourceActions): Implemented.
4617 (getDropAction): Implemented.
4618 (getTransferable): Implemented.
4619 (acceptDrop): Implemented.
4620 (rejectDrop): Implemented.
4621 * java/awt/dnd/DropTargetListener.java
4622 (drop): Fixed documentation.
4623 * java/awt/dnd/MouseDragGestureRecognizer.java
4624 (MouseDragGestureRecognizer): Documentation added.
4625
4626 2003-02-17 Michael Koch <konqueror@gmx.de>
4627
4628 * java/awt/font/FontRenderContext.java,
4629 java/awt/font/ShapeGraphicAttribute.java,
4630 java/awt/font/MultipleMaster.java,
4631 java/awt/font/TransformAttribute.java,
4632 java/awt/font/GlyphJustificationInfo.java,
4633 java/awt/font/LineBreakMeasurer.java,
4634 java/awt/font/TextMeasurer.java,
4635 java/awt/font/TextLayout.java,
4636 java/awt/font/LineMetrics.java,
4637 java/awt/font/TextAttribute.java,
4638 java/awt/font/GlyphMetrics.java,
4639 java/awt/font/OpenType.java,
4640 java/awt/font/GlyphVector.java,
4641 java/awt/font/GraphicAttribute.java,
4642 java/awt/font/ImageGraphicAttribute.java,
4643 java/awt/font/NumericShaper.java: New files.
4644 * Makefile.am
4645 (awt_java_source_files): Added the following files:
4646 java/awt/font/FontRenderContext.java
4647 java/awt/font/ShapeGraphicAttribute.java
4648 java/awt/font/MultipleMaster.java
4649 java/awt/font/TransformAttribute.java
4650 java/awt/font/GlyphJustificationInfo.java
4651 java/awt/font/LineBreakMeasurer.java
4652 java/awt/font/TextMeasurer.java
4653 java/awt/font/TextLayout.java
4654 java/awt/font/LineMetrics.java
4655 java/awt/font/TextAttribute.java
4656 java/awt/font/GlyphMetrics.java
4657 java/awt/font/OpenType.java
4658 java/awt/font/GlyphVector.java
4659 java/awt/font/GraphicAttribute.java
4660 java/awt/font/ImageGraphicAttribute.java
4661 java/awt/font/NumericShaper.java
4662 * Makefile.in: Regenerated.
4663
4664 2003-02-17 Michael Koch <konqueror@gmx.de>
4665
4666 * java/awt/print/Paper.java
4667 (Paper): Implements Cloneable.
4668 * java/awt/print/PrinterJob.java
4669 (setJobName): Return value must be void.
4670 (print): Throws PrinterException.
4671
4672 2003-02-16 Tom Tromey <tromey@redhat.com>
4673
4674 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4675 variable.
4676
4677 2003-02-15 Michael Koch <konqueror@gmx.de>
4678
4679 * java/awt/datatransfer/DataFlavor.java
4680 (isRepresentationClassByteBuffer): Removed try-catch block.
4681 (isRepresentationClassCharBuffer): Removed try-catch block.
4682 (isRepresentationClassReader): Removed try-catch block.
4683
4684 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4685
4686 * java/nio/charset/Charset.java
4687 (isRegistered): Fixed method args and implementation.
4688 * java/nio/charset/CharsetEncoder.java
4689 (unmappableCharacterAction): New method.
4690
4691 2003-02-15 Michael Koch <konqueror@gmx.de>
4692
4693 * java/awt/CheckboxMenuItem.java
4694 (CheckBoxMenuItem): Dont implement Serializable.
4695 (getListeners): New method,
4696 (getItemListeners): New method.
4697 * java/awt/Choice.java
4698 (getListeners): New method,
4699 (getItemListeners): New method.
4700 * java/awt/Container.java
4701 (getListeners): Added exception documentation.
4702 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4703 (getFocusTraversalKeys): Added documentation.
4704 (areFocusTraversalKeysSet): Added documentation.
4705 (applyComponentOrientation): Added documentation.
4706 * java/awt/ContainerOrderFocusTraversalPolicy.java
4707 (implicitDownCycleTraversal): Renamed from downCycle for
4708 serialization.
4709 (ContainerOrderFocusTraversalPolicy): Added documentation.
4710 (accept): Reformated.
4711 * java/awt/Dialog.java
4712 (Dialog): Dont implement Serializable.
4713 (Dialog): Added documentation.
4714 * java/awt/Font.java
4715 (Font): Dont use absolute class name.
4716 * java/awt/Frame.java
4717 (Frame): Font implement Serializable.
4718 * java/awt/List.java
4719 (getListeners): New method,
4720 (getActionListeners): New method.
4721 (getItemListeners): New method.
4722 * java/awt/Menu.java
4723 (countItems): New deprecated method.
4724 * java/awt/Scrollbar.java
4725 (getListeners): New method,
4726 (getAdjustmentListeners): New method,
4727 * java/awt/TextComponent.java
4728 (getListeners): New method,
4729 (getTextListeners): New method,
4730 * java/awt/TextField.java
4731 (getListeners): New method,
4732 (getActionListeners): New method.
4733 * java/awt/Window.java
4734 (windowFocusListener): New member variable.
4735 (windowStateListener): New member variable.
4736 (getWindowFocusListeners): New method.
4737 (getWindowStateListeners): New method.
4738 (addWindowFocusListener): New method.
4739 (addWindowStateListener): New method.
4740 (removeWindowFocusListener): New method.
4741 (removeWindowStateListener): New method.
4742 * java/awt/datatransfer/DataFlavor.java
4743 (isRepresentationClassByteBuffer): New method.
4744 (isRepresentationClassCharBuffer): New method.
4745 (isRepresentationClassReader): New method.
4746
4747 2003-02-14 Mark Wielaard <mark@klomp.org>
4748
4749 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4750 zero when there is an exponent and the significant is zero.
4751 (divide): Always set scale to newScale even in special ZERO case.
4752
4753 2003-02-14 Tom Tromey <tromey@redhat.com>
4754
4755 * java/lang/System.java (properties): Use Properties.clone.
4756 (setProperties): Likewise.
4757
4758 2003-02-14 Michael Koch <konqueror@gmx.de>
4759
4760 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4761 * gnu/java/nio/ServerSocketChannelImpl.java
4762 (SocketAccept): Removed.
4763 (accept): Commented out use of SocketAccept.
4764
4765 2003-02-13 Tom Tromey <tromey@redhat.com>
4766
4767 * verify.cc (state::seen_subrs): New field.
4768 (state::state): Initialize it.
4769 (state::clean_subrs): New method.
4770 (state::~state): Call it.
4771 (state::copy): Copy subroutine list.
4772 (state::add_subr): New method.
4773 (state::merge): Only register a change if the current subroutine
4774 hasn't yet been noted.
4775
4776 2003-02-13 Mark Wielaard <mark@klomp.org>
4777
4778 * java/io/InputStreamReader.java (getEncoding): Return null when
4779 closed.
4780 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4781
4782 2003-02-13 Mark Wielaard <mark@klomp.org>
4783
4784 * java/util/zip/InflaterInputStream.java (read): Return zero when len
4785 is zero.
4786
4787 2003-02-13 Mark Wielaard <mark@klomp.org>
4788
4789 * java/io/BufferedOutputStream.java (write(int)): Only flush when
4790 next byte cannot be buffered.
4791
4792 2003-02-13 Michael Koch <konqueror@gmx.de>
4793
4794 * java/awt/Label.java
4795 (Label): Don't implement Serializable directly.
4796 (addNotify): Fixed typo in documentation.
4797 * java/awt/List.java
4798 (List): Don't implement Serializable directly.
4799 * java/awt/PopupMenu.java
4800 (PopupMenu): Don't implement Serializable directly.
4801 * java/awt/ScrollPane.java
4802 (ScrollPane): Don't implement Serializable directly.
4803 * java/awt/Scrollbar.java
4804 (Scrollbar): Don't implement Serializable directly.
4805 * java/awt/TextArea.java
4806 (preferredSize): Fixed method arguments.
4807 * java/awt/TextField.java
4808 (TextField): Don't implement Serializable directly.
4809 * java/awt/color/ICC_ColorSpace.java
4810 (fromCIOXYZ): Documentation added.
4811 (getMinValue): Documentation added.
4812 (getMaxValue): Documentation added.
4813 * java/awt/datatransfer/DataFlavor.java
4814 (isMimeTypeEqual): May not be final.
4815 (clone): Throws CloneNotSupportedException.
4816 (getReaderForText): Don't throws UnsupportedEncodingException.
4817
4818 2003-02-13 Michael Koch <konqueror@gmx.de>
4819
4820 * gnu/java/awt/peer/gtk/GdkGraphics.java
4821 (drawString): New stubbed method.
4822 * java/awt/Graphics.java
4823 (drawString): New method.
4824
4825 2003-02-13 Casey Marshall <rsdio@metastatic.org>
4826
4827 PR libgcj/9271:
4828 * java/security/SecureRandom.java (next): Avoid bias in results.
4829
4830 2003-02-13 Michael <konqueror@gmx.de>
4831
4832 * gnu/java/nio/FileChannelImpl.java
4833 (lengthInternal): Must be native.
4834 (size): Check if channel is already closed.
4835 (implCloseChannel): Reformated.
4836 (read): w was unused, removed it.
4837 (read): Removed.
4838 (read): New method.
4839 (write): New method.
4840 (map): Check arguments.
4841 (force): Throws IOException, check if channel is closed.
4842 (transferTo): New method.
4843 (transferFrom): New method.
4844 (lock): New method.
4845 (tryLock): New method.
4846 (position): New method.
4847 (truncate): New method.
4848 (nio_mmap_file): Uncommented.
4849 (nio_munmap_file): Uncommented.
4850 (nio_msync): Uncommented.
4851 * gnu/java/nio/natFileChannelImpl.cc: New file.
4852
4853 2003-02-13 Michael Koch <konqueror@gmx.de>
4854
4855 * java/nio/ByteBuffer.java
4856 (endian): New member variable.
4857 (get): New methods.
4858 (equals): New method.
4859 (compareTo): New method.
4860 (order): New methods.
4861 (compact): New method.
4862 (isDirect): New method.
4863 (slice): New method.
4864 (duplicate): New method.
4865 (asReadOnlyBuffer): New method.
4866 (asCharBuffer): New method.
4867 (asDoubleBuffer): New method.
4868 (asFloatBuffer): New method.
4869 (asIntBuffer): New method.
4870 (asLongBuffer): New method.
4871 (asShortBuffer): New method.
4872 (get*): New methods.
4873 (put*): New methods.
4874 (toString): New method.
4875 * java/nio/CharBuffer.java
4876 (CharBuffer): Implement Comparable instead of Cloneable.
4877 (get): May not be final.
4878 (put): May not be final.
4879
4880 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
4881
4882 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4883 lastIndexOf( ) instead of indexOf( ) to find the colon before
4884 the line number, because Win32 file names might contain a
4885 drive letter and a colon at the start of an absolute path.
4886
4887 2003-02-13 Michael Koch <konqueror@gmx.de>
4888
4889 * gnu/java/nio/natSocketChannelImpl.cc
4890 (SocketConnect): This is not implemented yet.
4891 (SocketBind): This is not implemented yet.
4892
4893 2003-02-13 Michael Koch <konqueror@gmx.de>
4894
4895 * gnu/java/nio/natByteBufferImpl.cc,
4896 gnu/java/nio/natCharBufferImpl.cc,
4897 gnu/java/nio/natDoubleBufferImpl.cc,
4898 gnu/java/nio/natFloatBufferImpl.cc,
4899 gnu/java/nio/natIntBufferImpl.cc,
4900 gnu/java/nio/natLongBufferImpl.cc,
4901 gnu/java/nio/natShortBufferImpl.cc:
4902 Added copyright and license.
4903 * java/nio/DoubleBuffer.java,
4904 java/nio/FloatBuffer.java,
4905 java/nio/IntBuffer.java,
4906 java/nio/LongBuffer.java,
4907 java/nio/ShortBuffer.java
4908 (array): Throw exceptions.
4909 (arrayOffset): Throw exceptions.
4910
4911 2003-02-13 Michael Koch <konqueror@gmx.de>
4912
4913 * gnu/java/util/prefs/FileBasedFactory.java,
4914 gnu/java/util/prefs/MemmoryBasedFactory.java,
4915 gnu/java/util/prefs/MemoryBasedPreferences.java,
4916 gnu/java/util/prefs/NodeReader.java,
4917 gnu/java/util/prefs/NodeWriter.java,
4918 java/util/prefs/AbstractPreferences.java,
4919 java/util/prefs/BackingStoreException.java,
4920 java/util/prefs/InvalidPreferencesFormatException.java,
4921 java/util/prefs/NodeChangeEvent.java,
4922 java/util/prefs/NodeChangeListener.java,
4923 java/util/prefs/PreferenceChangeEvent.java,
4924 java/util/prefs/PreferenceChangeListener.java,
4925 java/util/prefs/Preferences.java,
4926 java/util/prefs/PreferencesFactory.java:
4927 New files, all merged from classpath.
4928 * Makefile.am
4929 (ordinary_java_source_files): Added the following files:
4930 gnu/java/util/prefs/FileBasedFactory.java,
4931 gnu/java/util/prefs/MemmoryBasedFactory.java,
4932 gnu/java/util/prefs/MemoryBasedPreferences.java,
4933 gnu/java/util/prefs/NodeReader.java,
4934 gnu/java/util/prefs/NodeWriter.java,
4935 (core_java_source_files): Added the following files:
4936 java/util/prefs/AbstractPreferences.java,
4937 java/util/prefs/BackingStoreException.java,
4938 java/util/prefs/InvalidPreferencesFormatException.java,
4939 java/util/prefs/NodeChangeEvent.java,
4940 java/util/prefs/NodeChangeListener.java,
4941 java/util/prefs/PreferenceChangeEvent.java,
4942 java/util/prefs/PreferenceChangeListener.java,
4943 java/util/prefs/Preferences.java,
4944 java/util/prefs/PreferencesFactory.java
4945 * Makefile.in: Regenerated.
4946
4947 2003-02-13 Michael Koch <konqueror@gmx.de>
4948
4949 * java/net/NetPermission.java
4950 (NetPermission): Make doucmentation match the method declaration.
4951 * java/net/NetworkInterface.java
4952 (equals): Reformated for GNU coding style.
4953 * java/net/ServerSocket.java: Merged with classpath.
4954 * java/net/Socket.java: Partly merged with classpath (Added some @since).
4955 * java/net/SocketImpl.java
4956 (localPort): Merged with classpath (initialize with -1).
4957 * java/net/SocketPermission.java: Merged with classpath (reindented).
4958 * java/net/URLDecoder.java: Merged with classpath (reindented).
4959
4960 2003-02-13 Michael Koch <konqueror@gmx.de>
4961
4962 * java/awt/GridBagConstraints.java
4963 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4964 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4965 * java/awt/KeyboardFocusManager.java
4966 (setGlobalCurrentFocusCycleRoot): Must be public.
4967 * java/awt/MenuComponent.java
4968 (MenuComponent): Must be public.
4969 * java/awt/Toolkit.java:
4970 Added some empty lines to make documentation more readable.
4971 (getFontPeer): Added @deprecated.
4972 (getColorModel): Added exception documentation.
4973 (getProperty): Fixed documentation.
4974
4975 2003-02-12 Jeff Sturm <jsturm@one-point.com>
4976
4977 * configure.host (alpha*-*): Default to -mieee.
4978 * configure.in (IEEESPEC): New.
4979 * libgcj.spec.in (jc1): Add IEEESPEC.
4980 * configure: Rebuild.
4981
4982 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4983
4984 * include/win32.h: Include ws2tcpip.h instead of
4985 winsock.h to obtain definition of the socklen_t type.
4986 Remove IP_TOS definition - not needed with ws2tcpip.h
4987 (_Jv_connect): Correct slight formatting error.
4988
4989 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4990
4991 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4992 size of the arguments for a JNI function. For Win32,
4993 modify to search for all forms of possible exported
4994 names of an stdcall JNI function.
4995 (_Jv_JNIMethod::call): Modify to calculate the size
4996 of the arguments passed to a JNI function and pass
4997 it to _Jv_LookupJNIMethod.
4998
4999 2003-02-12 Michael Koch <konqueror@gmx.de>
5000
5001 * java/nio/channels/Channels.java: New file.
5002 * Makefile.am
5003 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
5004 * Makefile.in: Regenerated.
5005
5006 2003-02-12 Michael Koch <konqueror@gmx.de>
5007
5008 * java/nio/ByteBuffer.java
5009 (allocate): Implemented.
5010 (wrap): Implemented.
5011 * java/nio/CharBuffer.java:
5012 Some documentation added and reworked.
5013 (endian): Removed.
5014 (allocate): Implemented.
5015 (wrap): Implemented.
5016 (array): Throw exceptions.
5017 (arrayOffset): Throw exceptions.
5018 (toString): Implemented.
5019 (length): Implemented.
5020 (put): Implemented.
5021 (charAt): Implemented.
5022
5023 2003-02-11 John Leuner <jewel@debian.org>
5024
5025 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
5026 reads from end of file.
5027
5028 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
5029
5030 * java/io/natFileDescriptorWin32.cc
5031 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
5032 returns with Win32 error code ERROR_BROKEN_PIPE.
5033
5034 2003-02-11 Michael Koch <konqueror@gmx.de>
5035
5036 * Makefile.in
5037 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
5038
5039 2003-02-11 Michael Koch <konqueror@gmx.de>
5040
5041 * gnu/java/nio/ByteBufferImpl.java:
5042 Reformated and removed some code.
5043 (backing_buffer): Removed.
5044 (array_offset): Removed.
5045 (ro): Renamed to readOnly.
5046 (ByteBufferImpl): Use parent constructor, initialize readOnly.
5047 * gnu/java/nio/CharBufferImpl.java:
5048 Reformated and removed some code.
5049 (array_offset): Removed.
5050 (ro): Renamed to readOnly.
5051 (CharBufferImpl): Use parent constructor, initialize readOnly.
5052 (inc_pos): Removed.
5053 (order): New method.
5054 * gnu/java/nio/DoubleBufferImpl.java:
5055 Reformated and removed some code.
5056 (array_offset): Removed.
5057 (ro): Renamed to readOnly.
5058 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
5059 (inc_pos): Removed.
5060 (order): New method.
5061 * gnu/java/nio/FloatBufferImpl.java:
5062 Reformated and removed some code.
5063 (array_offset): Removed.
5064 (ro): Renamed to readOnly.
5065 (FloatBufferImpl): Use parent constructor, initialize readOnly.
5066 (inc_pos): Removed.
5067 (order): New method.
5068 * gnu/java/nio/IntBufferImpl.java:
5069 Reformated and removed some code.
5070 (array_offset): Removed.
5071 (ro): Renamed to readOnly.
5072 (IntBufferImpl): Use parent constructor, initialize readOnly.
5073 (inc_pos): Removed.
5074 (order): New method.
5075 * gnu/java/nio/LongBufferImpl.java:
5076 Reformated and removed some code.
5077 (array_offset): Removed.
5078 (ro): Renamed to readOnly.
5079 (LongBufferImpl): Use parent constructor, initialize readOnly.
5080 (inc_pos): Removed.
5081 (order): New method.
5082 * gnu/java/nio/ShortBufferImpl.java:
5083 Reformated and removed some code.
5084 (array_offset): Removed.
5085 (ro): Renamed to readOnly.
5086 (ShortBufferImpl): Use parent constructor, initialize readOnly.
5087 (inc_pos): Removed.
5088 (order): New method.
5089 * Makefile.am
5090 (ordinary_java_source_files): Added the following files:
5091 gnu/java/nio/ByteBufferImpl.java
5092 gnu/java/nio/CharBufferImpl.java
5093 gnu/java/nio/DoubleBufferImpl.java
5094 gnu/java/nio/FloatBufferImpl.java
5095 gnu/java/nio/IntBufferImpl.java
5096 gnu/java/nio/LongBufferImpl.java
5097 gnu/java/nio/ShortBufferImpl.java
5098 java/nio/DoubleBuffer.java
5099 java/nio/FloatBuffer.java
5100 java/nio/IntBuffer.java
5101 java/nio/LongBuffer.java
5102 java/nio/ShortBuffer.java
5103 (nat_source_files): Added the following files:
5104 gnu/java/nio/natByteBufferImpl.cc
5105 gnu/java/nio/natCharBufferImpl.cc
5106 gnu/java/nio/natDoubleBufferImpl.cc
5107 gnu/java/nio/natFloatBufferImpl.cc
5108 gnu/java/nio/natIntBufferImpl.cc
5109 gnu/java/nio/natLongBufferImpl.cc
5110 gnu/java/nio/natShortBufferImpl.cc
5111 * Makefile.in: Regenerated.
5112
5113 2003-02-11 Michael Koch <konqueror@gmx.de>
5114
5115 * gnu/java/nio/natCharBufferImpl.cc
5116 (nio_cast): Removed.
5117 (nio_put_*): Removed.
5118 (nio_get_*): Removed.
5119 * gnu/java/nio/natDoubleBufferImpl.cc
5120 (nio_cast): Removed.
5121 (nio_put_*): Removed.
5122 (nio_get_*): Removed.
5123 * gnu/java/nio/natFloatBufferImpl.cc
5124 (nio_cast): Removed.
5125 (nio_put_*): Removed.
5126 (nio_get_*): Removed.
5127 * gnu/java/nio/natIntBufferImpl.cc
5128 (nio_cast): Removed.
5129 (nio_put_*): Removed.
5130 (nio_get_*): Removed.
5131 * gnu/java/nio/natLongBufferImpl.cc
5132 (nio_cast): Removed.
5133 (nio_put_*): Removed.
5134 (nio_get_*): Removed.
5135 * gnu/java/nio/natShortBufferImpl.cc
5136 (nio_cast): Removed.
5137 (nio_put_*): Removed.
5138 (nio_get_*): Removed.
5139 * gnu/java/nio/SelectorProviderImpl.java
5140 (openDatagramChannel): Throws IOException.
5141 (openPipe): Throws IOException.
5142 (openSelector): Throws IOException.
5143 (openServerSocketChannel): Throws IOException.
5144 (openSocketChannel): Throws IOException.
5145 * gnu/java/nio/ServerSocketChannelImpl.java
5146 (ServerSocketChannelImpl): Throws IOException.
5147 (implCloseSelectableChannel): Throws IOException.
5148 (implConfigureBlocking): Throws IOException.
5149 * java/nio/ByteBuffer.java
5150 (readOnly): Removed.
5151 (hasArray): Use isReadOnly() instead of readOnly.
5152 (array): Use isReadOnly() instead of readOnly.
5153 (arrayOffset): Use isReadOnly() instead of readOnly.
5154 * java/nio/CharBuffer.java
5155 (CharBuffer): Implements Cloneable and CharSequence.
5156
5157 2003-02-11 Michael Koch <konqueror@gmx.de>
5158
5159 * java/nio/DoubleBuffer.java
5160 (DoubleBuffer): Implements Comparable.
5161 (endian): Removed.
5162 (array_offset): New member variable.
5163 (DoubleBuffer): New constuctor.
5164 (get): May not be final.
5165 (put): May not be final.
5166 (arrayOffset): Implemented.
5167 (order): Made abstract.
5168 (order): Removed.
5169 (as*Buffer): Removed.
5170 (get*): Removed.
5171 (put*): Removed.
5172 * java/nio/FloatBuffer.java
5173 (FloatBuffer): Implements Comparable.
5174 (endian): Removed.
5175 (array_offset): New member variable.
5176 (FloatBuffer): New constuctor.
5177 (get): May not be final.
5178 (put): May not be final.
5179 (arrayOffset): Implemented.
5180 (order): Made abstract.
5181 (order): Removed.
5182 (as*Buffer): Removed.
5183 (get*): Removed.
5184 (put*): Removed.
5185 * java/nio/IntBuffer.java
5186 (IntBuffer): Implements Comparable.
5187 (endian): Removed.
5188 (array_offset): New member variable.
5189 (IntBuffer): New constuctor.
5190 (get): May not be final.
5191 (put): May not be final.
5192 (arrayOffset): Implemented.
5193 (order): Made abstract.
5194 (order): Removed.
5195 (as*Buffer): Removed.
5196 (get*): Removed.
5197 (put*): Removed.
5198 * java/nio/LongBuffer.java
5199 (LongBuffer): Implements Comparable.
5200 (endian): Removed.
5201 (array_offset): New member variable.
5202 (LongBuffer): New constuctor.
5203 (get): May not be final.
5204 (put): May not be final.
5205 (arrayOffset): Implemented.
5206 (order): Made abstract.
5207 (order): Removed.
5208 (as*Buffer): Removed.
5209 (get*): Removed.
5210 (put*): Removed.
5211 * java/nio/ShortBuffer.java
5212 (ShortBuffer): Implements Comparable.
5213 (endian): Removed.
5214 (array_offset): New member variable.
5215 (ShortBuffer): New constuctor.
5216 (get): May not be final.
5217 (put): May not be final.
5218 (arrayOffset): Implemented.
5219 (order): Made abstract.
5220 (order): Removed.
5221 (as*Buffer): Removed.
5222 (get*): Removed.
5223 (put*): Removed.
5224
5225 2003-02-11 Michael Koch <konqueror@gmx.de>
5226
5227 * java/nio/channels/SelectionKey.java
5228 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5229 values.
5230
5231 2003-02-11 Michael Koch <konqueror@gmx.de>
5232
5233 * java/nio/channels/DatagramChannel.java
5234 (write): Throws IOException.
5235 (connect): Throws IOException.
5236 (disconnect): Throws IOException.
5237 (read): Throws IOException.
5238 (receive): Throws IOException.
5239 (send): Throws IOException.
5240 * java/nio/channels/Pipe.java
5241 (open): Throws IOException.
5242 * java/nio/channels/SelectableChannel.java
5243 (configureBlocking): Throws IOException.
5244 * java/nio/channels/ServerSocketChannel.java
5245 (accept): Throws IOException.
5246 * java/nio/channels/SocketChannel.java
5247 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5248 GatheringByteChannel.
5249 (read): Throws IOException.
5250 (write): Throws IOException.
5251 (finishConnect): Throws IOException.
5252 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5253 (end): Throws AsynchronousCloseException.
5254 * java/nio/channels/spi/AbstractSelectableChannel.java
5255 (configureBlocking): Throws IOException.
5256 (implCloseChannel): Throws IOException.
5257 (implCloseSelectableChannel): Throws IOException.
5258 (implConfigureBlocking): Throws IOException.
5259 * java/nio/channels/spi/SelectorProvider.java
5260 (openDatagramChannel): Throws IOException.
5261 (openPipe): Throws IOException.
5262 (openSelector): Throws IOException.
5263 (openServerSocketChannel): Throws IOException.
5264 (openSocketChannel): Throws IOException.
5265
5266 2003-02-11 Michael Koch <konqueror@gmx.de>
5267
5268 * gnu/java/nio/FileLockImpl.java,
5269 java/nio/channels/FileLock.java: New files.
5270
5271 2003-02-11 Michael Koch <konqueror@gmx.de>
5272
5273 * java/nio/charset/IllegalCharsetNameException.java
5274 (serialVersionUID): New member variable.
5275 (charsetName): New member variable.
5276 (IllegalCharsetException): New implementation.
5277 (getCharsetName): New implementation.
5278 * java/nio/charset/UnsupportedCharsetException.java
5279 (serialVersionUID): New member variable.
5280 (charsetName): New member variable.
5281 (UnsupportedCharsetException): New implementation.
5282 (getCharsetName): New implementation.
5283
5284 2003-02-10 Tom Tromey <tromey@redhat.com>
5285
5286 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5287 (ex): Renamed from sqlException.
5288
5289 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5290
5291 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5292 method used to ensure seeding has occurred and that a specific
5293 seed can be set and used.
5294
5295 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5296
5297 * java/lang/Win32Process.java (destroy): Declare as native.
5298 (hasExited): New native method.
5299 (exitValue): Define.
5300 (getErrorStream): Likewise.
5301 (getInputStream): Likewise.
5302 (getOutputStream): Likewise.
5303 (waitFor): Declare as native.
5304 (startProcess): New native method.
5305 (cleanup): Likewise.
5306 (ConcreteProcess): Define.
5307 (outputStream, inputStream, errorStream): New members.
5308 (procHandle, exitCode): Likewise.
5309
5310 * java/lang/natWin32Process.cc
5311 (java::lang::ConcreteProcess::cleanup): Define.
5312 (java::lang::ConcreteProcess::destroy): Likewise.
5313 (java::lang::ConcreteProcess::hasExited): Likewise.
5314 (java::lang::ConcreteProcess::waitFor): Likewise.
5315 (new_string): Likewise.
5316 (java::lang::ConcreteProcess::startProcess): Likewise.
5317
5318 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5319
5320 * java/math/BigInteger.java:
5321 Updated notice to include years 2002 and 3.
5322 Added 2 private (int) arrays with values from the HAC (Handbook of
5323 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5324 and t[] that contains nbr. of tests --used in isProbablePrime().
5325
5326 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5327
5328 * java/math/BigInteger.java (make(int[],int), add(int,int),
5329 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5330 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5331 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5332 make(long).
5333
5334 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5335 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5336 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5337 BIs and returns void.
5338 (modInverse(BI)): Use new signatures of euclidInv().
5339
5340 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5341 static small primes instead of remainder().
5342 Use pre-computed max nbr of trials based on bitlength of BI to test.
5343 Use pre-computed small primes for the trial tests instead of random
5344 numbers.
5345
5346 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5347 not used.
5348
5349 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5350 invoacation of MPN.chars_per_word(). not used.
5351
5352 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5353 local var and used where needed.
5354
5355 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5356 Combined declaration with initialisation of locals.
5357 Removed unused var.
5358
5359 * java/math/BigInteger.java: Style changes
5360 (pow(int)): Removed 'else' keyword.
5361 (toString(int)): idem.
5362 (doubleValue()): idem.
5363 (bitLength()): idem.
5364 (equals(Object)): Use static methods name in same class w/o prepending
5365 class name.
5366 (doubleValue()): idem.
5367 (setNegative(BI)): idem.
5368 (negate()): idem.
5369 (and(BI,int)): idem.
5370 (and(BI)): idem.
5371 (gcd(BI)): idem.
5372 (byteArrayToIntArray()): Removed casting to (int). this is
5373 std. behaviour.
5374 (canonicalize()): idem.
5375 (alloc(int)): Always instantiate a new BI.
5376
5377 2003-02-10 Tom Tromey <tromey@redhat.com>
5378
5379 * java/sql/Timestamp.java (compareTo(Object)): New method.
5380 (compareTo(Timestamp)): Likewise.
5381 (serialVersionUID): Updated.
5382
5383 2003-02-07 Mark Wielaard <mark@klomp.org>
5384
5385 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5386 when verify is true.
5387 (JarFile(File, boolean)): Likewise.
5388 (manifestRead): Set manifestRead field correctly.
5389
5390 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5391
5392 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5393 tests; see patch #1016 on Savannah.
5394
5395 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5396
5397 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5398 (toString): do not return Strings starting with . and - erroneously.
5399 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5400 DiagBigDecimal.
5401
5402 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5403
5404 * java/beans/PropertyDescriptor.java
5405 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5406 methods.
5407 (PropertyDescriptor(String, Class, String, String)): Likewise.
5408 (PropertyDescriptor(String, Method, Method): Factor out getter and
5409 setter method sanity checks into new method.
5410 (findMethods): Don't do parameter sanity checking of get method here.
5411 (checkMethods): New method.
5412
5413 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5414
5415 * java/beans/PropertyDescriptor.java: Reformat.
5416
5417 2003-02-04 Tom Tromey <tromey@redhat.com>
5418
5419 * java/io/PipedOutputStream.java (flush): Declare as throwing
5420 IOException.
5421 (close): Likewise.
5422 * java/io/PipedWriter.java (close): Declare as throwing
5423 IOException.
5424 * java/io/StringWriter.java (close): Declare as throwing
5425 IOException.
5426
5427 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5428
5429 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5430 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5431 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5432 "_JNI_OnLoad@8" (MSVC).
5433
5434 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5435
5436 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5437 convention on Win32 to invoke native JNI methods.
5438
5439 2003-02-03 Andrew Haley <aph@redhat.com>
5440
5441 * configure.host (x86_64): Enable interpreter.
5442
5443 2003-02-03 Andrew Haley <aph@redhat.com>
5444
5445 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5446 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5447 * configure.in (BACKTRACESPEC): New.
5448 * configure: Regenerate.
5449
5450 2003-02-02 Tom Tromey <tromey@redhat.com>
5451
5452 * configure: Rebuilt.
5453 * configure.in (TOOLKIT) [xlib]: Set correctly.
5454
5455 * Makefile.in: Rebuilt.
5456 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5457 libstdc++.
5458
5459 2003-01-31 Mark WIelaard <mark@klomp.org>
5460
5461 * Makefile.in: Rebuilt.
5462 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5463
5464 2003-01-31 Tom Tromey <tromey@redhat.com>
5465
5466 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5467 cast to element type.
5468 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5469 (_Jv_JNI_GetObjectArrayElement): Likewise.
5470
5471 * Makefile.in: Rebuilt.
5472 * Makefile.am (cond_x_ltlibrary): Renamed library to
5473 lib-gnu-awt-xlib.la.
5474 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5475 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5476 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5477 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5478 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5479 (lib_gnu_awt_xlib_la_LINK): Likewise.
5480 (install-exec-hook): Removed.
5481 (lib-gnu-awt-xlib.la): Renamed.
5482
5483 2003-01-31 Tom Tromey <tromey@redhat.com>
5484
5485 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5486 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5487 aclocal.m4 and lost in some merge.
5488
5489 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5490 Don't try to find graphics configuration.
5491 * java/awt/Toolkit.java (default_toolkit_name): Use new
5492 Configuration entry.
5493 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5494 New global.
5495 * configure: Rebuilt.
5496 * configure.in (TOOLKIT): New subst.
5497 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5498 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5499 directory. Make output directories for .c files.
5500 * Makefile.in: Rebuilt.
5501 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5502 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5503 (all_java_source_files): Added new sources.
5504 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5505 (gtk_c_files): New macro.
5506 (gtk_c_source_files): New macro.
5507 (cond_gtk_ltlibrary): New macro.
5508 ($(gtk_c_files)): New target.
5509 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5510 (gtk_awt_peer_sources): New macro.
5511 (gtk_c_headers): New macro.
5512 ($(gtk_c_headers)): New target.
5513 (ACLOCAL_AMFLAGS): New macro.
5514 * gtk.m4, glib.m4, libart.m4: New files.
5515 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5516 gnu/java/awt/peer/gtk/GdkGraphics.java,
5517 gnu/java/awt/peer/gtk/GtkArg.java,
5518 gnu/java/awt/peer/gtk/GtkArgList.java,
5519 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5520 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5521 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5522 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5523 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5524 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5525 gnu/java/awt/peer/gtk/GtkClipboard.java,
5526 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5527 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5528 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5529 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5530 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5531 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5532 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5533 gnu/java/awt/peer/gtk/GtkImage.java,
5534 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5535 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5536 gnu/java/awt/peer/gtk/GtkListPeer.java,
5537 gnu/java/awt/peer/gtk/GtkMainThread.java,
5538 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5539 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5540 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5541 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5542 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5543 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5544 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5545 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5546 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5547 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5548 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5549 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5550 gnu/java/awt/peer/gtk/GtkToolkit.java,
5551 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5552 gnu/java/awt/peer/gtk/TestAWT.java,
5553 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5554 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5555 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5556 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5557 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5558 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5559 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5560 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5561 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5562 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5563 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5564 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5565 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5566 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5567 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5568 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5569 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5570 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5571 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5572 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5573 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5574 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5575 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5576 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5577 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5578 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5579 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5580 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5581 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5582 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5583 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5584 jni/classpath/native_state.c, jni/classpath/native_state.h,
5585 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5586
5587 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5588
5589 * java/util/Properties.java (load): Ignore backslash before EOF.
5590
5591 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5592
5593 * java/lang/natClass.cc (initializeClass): Check tables when
5594 (state == JV_STATE_IN_PROGRESS).
5595 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5596 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5597 interpreted classes.
5598 (linkClass0): Use _Jv_WaitForState.
5599
5600 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5601
5602 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5603 object when finished.
5604
5605 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5606
5607 * libjava/configure.host: Disable can_unwind_signal on darwin.
5608
5609 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5610
5611 Fixes PR java/9254:
5612 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5613 additionally containing id of the owner thread as well as
5614 the number of nested times the thread has acquired the mutex.
5615 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5616 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5617 (_Jv_MutexUnlock): Check if really the owner thread, reset
5618 owner thread id to 0 before leaving, if leaving for the last
5619 time.
5620 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5621 refcount.
5622 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5623 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5624 the passed mutex.
5625 Pass handle of the broadcast event, instead of a pointer to it
5626 in Win32 ResetEvent( ) call.
5627 Remove incorrect return values.
5628 (_Jv_CondDestroy): Close both event handles and delete
5629 critical section.
5630 (_Jv_CondNotify): Check if really the owner thread.
5631 (_Jv_CondNotifyAll): Check if really the owner thread.
5632 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5633 (really_start): Use SetEvent( ) to signal daemon_cond.
5634 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5635 WaitForSingleObject( ) instead to wait for daemon_cond to be
5636 signalled.
5637
5638 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5639
5640 * configure.in: Specifically define HAVE_BACKTRACE if building
5641 for MinGW.
5642 * include/win32.h: Remove HAVE_BACKTRACE definition.
5643 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5644 * configure: Rebuilt.
5645
5646 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5647
5648 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5649 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5650 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5651 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5652 * Makefile.in, configure: Rebuilt.
5653
5654 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5655
5656 Fixes PR java/9253:
5657 * java/io/natFileWin32.cc (performList): Append only "*.*"
5658 if the canonical file path already has a "\" at the end.
5659
5660 2003-01-24 Tom Tromey <tromey@redhat.com>
5661
5662 * defineclass.cc (handleMethodsEnd): Precompute code for static
5663 method.
5664 (handleCodeAttribute): Likewise.
5665 * resolve.cc (ncode): Use run_class for unsynchronized static
5666 methods.
5667 * include/java-interp.h (class _Jv_InterpMethod): Declare
5668 run_class.
5669 * interpret.cc (run_synch_class): Initialize class.
5670 (run) [insn_invokestatic]: Don't initialize class.
5671 [insn_anewarray]: Likewise.
5672 [insn_multianewarray]: Likewise.
5673 (run_class): New function.
5674
5675 2003-01-24 Tom Tromey <tromey@redhat.com>
5676
5677 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5678 comment.
5679
5680 2003-01-22 Andrew Haley <aph@redhat.com>
5681
5682 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5683 * configure.host (CHECKREFSPEC): Define for x86_64.
5684
5685 2003-01-21 Tom Tromey <tromey@redhat.com>
5686
5687 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5688 search at 2, not 3.
5689
5690 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5691
5692 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5693 looking at any characters.
5694 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5695 be used.
5696 (isAbsolute): Check path's length as well.
5697
5698 2003-01-17 Mark Wielaard <mark@klomp.org>
5699
5700 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5701 (nat_source_files): Add natVMObjectStreamClass.cc.
5702 * Makefile.in: Regenerated.
5703 * gcj/javaprims.h (namespace java): Regenerated.
5704 * java/io/ObjectStreamClass.java (getClassUID): Call
5705 VMObjectStreamClass.hasClassInitializer().
5706 (hasClassInitializer): Removed.
5707 * java/io/VMObjectStreamClass.java: New class.
5708 * java/io/natVMObjectStreamClass.cc: New file.
5709 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5710
5711 2003-01-16 Mark Wielaard <mark@klomp.org>
5712
5713 * java/net/SocketImpl.java (toString): Don't explicitly call
5714 toString() on possible null address.
5715
5716 2003-01-16 Michael Koch <konqueror@gmx.de>
5717
5718 * java/net/MulticastSocket.java
5719 (setInterface): Reindented.
5720
5721 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5722
5723 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5724 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5725 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5726 translateY arguments. Implement.
5727 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5728 down translation arguments.
5729 (drawPolyline, drawPolygon): Fix incorrect tests.
5730 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5731 translateX and translateY arguments.
5732
5733 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5734
5735 * Makefile.in: Rebuilt.
5736 * Makefile.am (xlib_includes): New macro.
5737 (INCLUDES): Use it.
5738
5739 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5740
5741 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5742 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5743 16-bit display mode.
5744
5745 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5746
5747 * java/awt/CardLayout.java (show): Rewrote.
5748 (gotoComponent): Removed `target' argument. Simplified code.
5749 Don't pre-compute `choice' unless `what' is FIRST or LAST.
5750 Changed all callers.
5751 (NONE): Removed.
5752
5753 2003-01-14 Michael Koch <konqueror@gmx.de>
5754
5755 * java/net/InetSocketAddress.java
5756 (serialVersionUID): New member variable.
5757 * java/net/NetPermission.java
5758 (NetPermission): Dont implement java.io.Serialization directly.
5759 * java/net/SocketAddress.java:
5760 (serialVersionUID): Documentation added.
5761
5762 2003-01-14 Michael Koch <konqueror@gmx.de>
5763
5764 * java/awt/Label.java
5765 (Label): Implements javax.accessibility.Accessible;
5766 * java/awt/List.java
5767 (List): Implements javax.accessibility.Accessible;
5768 * java/awt/ScrollPane.java
5769 (ScrollPane): Implements javax.accessibility.Accessible;
5770 * java/awt/Scrollbar.java
5771 (Scrollbar): Implements javax.accessibility.Accessible;
5772 * java/awt/TextComponent.java
5773 (setCaretPosition): Throw exception, documentation added.
5774 * java/awt/Toolkit.java:
5775 Added some newlines in method documentations.
5776 (createButton): Exception documentation added.
5777 (createTextField): Exception documentation added.
5778 (createLabel): Exception documentation added.
5779 (createList): Exception documentation added.
5780 (createCheckbox): Exception documentation added.
5781 (createScrollbar): Exception documentation added.
5782 (createScrollPane): Exception documentation added.
5783 (createTextArea): Exception documentation added.
5784 (createChoice): Exception documentation added.
5785 (createFrame): Exception documentation added.
5786 (createWindow): Exception documentation added.
5787 (createDialog): Exception documentation added.
5788 (createMenuBar): Exception documentation added.
5789 (createMenu): Exception documentation added.
5790 (createMenuItem): Exception documentation added.
5791 (createFileDialog): Exception documentation added.
5792 (createCheckboxMenuItem): Exception documentation added.
5793 (loadSystemColors): Exception documentation added.
5794 (setDynamicLayout): Exception documentation added.
5795 (isDynamicLayoutSet): Exception documentation added.
5796 (isDynamicLayoutActive): Exception documentation added.
5797 (getScreenSize): Exception documentation added.
5798 (getScreenResolution): Exception documentation added.
5799 (getScreenInsets): Exception documentation added.
5800 (getColorModel): Exception documentation added.
5801 (getSystemClipboard): Exception documentation added.
5802 (getSystemSelection): Exception documentation added.
5803 (getMenuShortcutKeyMask): Exception documentation added.
5804 (getSystemEventQueue): Exception documentation added.
5805 * java/awt/Window.java:
5806 Reindented some code.
5807 (Window): Centralized implementation, documentation added.
5808 (finalize): Documentation added.
5809 (hide): Fixed typo in comment.
5810 (getWindowListeners): Documentation added.
5811 * java/awt/color/ColorSpace.java
5812 (toRGB): Documentation added.
5813 * java/awt/color/ICC_ColorSpace.java
5814 (ICC_ColorSpace): Documentation added.
5815 (toRGB): Throw exception, documentation added.
5816 (fromRGB): Throw exception, documentation added.
5817 (toCIEXYZ): Documentation added.
5818 (fromCIEXYZ): Documentation added.
5819 (getMinValue): Documentation added.
5820 (getMaxValue): Documentation added.
5821 * java/awt/geom/Dimension2D.java
5822 (clone): Documentation added.
5823 * java/awt/geom/GeneralPath.java
5824 (clone): Documentation added.
5825 * java/awt/geom/Line2D.java
5826 (clone): Documentation added.
5827 * java/awt/geom/QuadCurve2D.java
5828 (clone): Documentation added.
5829 * java/awt/image/ColorModel.java
5830 (ColorModel): Throw exception, documentation added.
5831 * java/awt/image/ImageFilter.java
5832 (clone): Doesnt throw CloneNotSupportedException.
5833
5834 2003-01-14 Andrew Haley <aph@redhat.com>
5835
5836 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5837 in a try block.
5838
5839 2003-01-10 Andrew Haley <aph@redhat.com>
5840
5841 * include/dwarf2-signal.h: Remove x86_64.
5842 * configure.host (x86_64 DIVIDESPEC): Remove.
5843 * include/x86_64-signal.h: New file.
5844 * configure.in: Regenerate.
5845
5846 2003-01-10 Michael Koch <konqueror@gmx.de>
5847
5848 * java/net/DatagramSocket.java
5849 (ch): Description added.
5850 (remotePort): Initialize with -1.
5851 (connect): Doesnt throws SocketException.
5852 * java/net/MulticastSocket.java
5853 (setInterface): Merge with Classpath.
5854 * java/net/ServerSocket.java
5855 (closed): New member variable.
5856 (bind): Check if socket is closed.
5857 (close): Close an associated channel too, set new value to closed.
5858 (isBound): Reindented.
5859 (isClosed): Implemented.
5860 * java/net/Socket.java
5861 (closed): New member variable.
5862 (bind): Check if socket is closed.
5863 (connect): Check if socket is closed.
5864 (close): Close an associated channel too, set new value to closed.
5865 (isClosed): Implemented.
5866
5867 2003-01-10 Michael Koch <konqueror@gmx.de>
5868
5869 * java/awt/DisplayMode.java
5870 (equals): Fixed argument type and implementation.
5871
5872 2003-01-07 Tom Tromey <tromey@redhat.com>
5873
5874 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5875 JV_HASH_SYNCHRONIZATION.
5876 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5877 JV_HASH_SYNCHRONIZATION.
5878
5879 2003-01-07 Michael Koch <konqueror@gmx.de>
5880
5881 * java/net/DatagramSocket.java:
5882 Added classpath license info.
5883 (DatagramSocket): Merged description with classpath.
5884 (close): Merged description with classpath.
5885 (getChannel): Merged description with classpath.
5886 (getInetAddress): Merged description with classpath.
5887 (getPort): Merged description with classpath.
5888 (getLocalAddress): Merged description with classpath.
5889 (getLocalPort): Merged description with classpath.
5890 (getSoTimeout): Merged description with classpath.
5891 (setSoTimeout): Merged description with classpath.
5892 (getSendBufferSize): Merged description with classpath.
5893 (setSendBufferSize): Merged description with classpath.
5894 (getReceiveBufferSize): Merged description with classpath.
5895 (setReceiveBufferSize): Merged description with classpath.
5896
5897 2003-01-04 Tom Tromey <tromey@redhat.com>
5898
5899 * java/awt/List.java: Merged with Classpath.
5900
5901 2003-01-03 Mark Wielaard <mark@klomp.org>
5902
5903 * java/io/FileDescriptor.java (position): New private field.
5904 * java/io/natFileDescriptorPosix.cc (write): Up position.
5905 (setLength): Use and set position.
5906 (seek): Set position.
5907 (getFilePointer): Return position.
5908 (read): Up position.
5909
5910 2003-01-03 Mark Wielaard <mark@klomp.org>
5911
5912 Merge with Classpath:
5913 * java/io/ObjectStreamClass.java (lookup): Split method and call
5914 lookupForClassObject().
5915 (lookupForClassObject): New method.
5916 (isProxyClass): New field.
5917 (setClass): Set isProxyClass, add object to classLookupTable, set
5918 superClass and calculateOffsets.
5919 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5920 and not a proxy class.
5921 (setFields): Set accessible true for serialPersistentFields.
5922 (getClassUID): Same for suid. And check if suid is of type long.
5923 (hasClassInitializer): Don't throw NoSuchMethodError.
5924
5925 2003-01-03 Mark Wielaard <mark@klomp.org>
5926
5927 * java/io/FileInputStream.java (finalize): Don't explicitly
5928 finalize FileDescriptor.
5929
5930 2003-01-03 Jeff Sturm <jsturm@one-point.com>
5931
5932 * configure.host (sparc*-*): Enable bytecode interpreter.
5933
5934 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
5935
5936 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5937 Don't throw RemoteException.
5938 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5939 throw RemoteException.
5940
5941 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
5942
5943 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5944 proxyHost): New static fields.
5945 (<clinit>): Initialize new fields.
5946 (connect): Use proxy if necessary.
5947 (usingProxy): Implement.
5948
5949 2003-01-03 Eric Blake <ebb9@email.byu.edu>
5950
5951 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5952 (TreeIterator.remove): Prefer IllegalStateException over
5953 ConcurrentModificationException, to match Sun.
5954
5955 2002-12-22 Anthony Green <green@redhat.com>
5956
5957 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5958
5959 2003-01-02 Mark Wielaard <mark@klomp.org>
5960
5961 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5962 public.
5963 (HTTP_USE_PROXY): Add field.
5964 (getResponseVals): Only set responseCode when not yet explicitly
5965 set by subclass.
5966
5967 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
5968 Mark Wielaard <mark@klomp.org>
5969
5970 * java/util/zip/ZipFile.java (entries): Now HashMap.
5971 (readLeShort(DataInput, byte[])): Read from given byte array.
5972 (readLeInt(DataInput, byte[]): Likewise.
5973 (readLeShort(byte[] b, int off)): New method.
5974 (readLeInt(byte[] b, int off)): Likewise.
5975 (readEntries): Use byte arrays to read info in bigger chunks.
5976 (getEntries): Return HashMap.
5977 (getEntry): Use HashMap.
5978 (locBuf): New private field.
5979 (checkLocalHeader): Use locBuf to read info in one chunk.
5980 (getInputStream): Use entries HashMap, wrap PartialInputStream
5981 in BufferedInputStream.
5982 (ZipEntryEnumeration): Use HashMap and Interator.
5983
5984 2003-01-02 Mark Wielaard <mark@klomp.org>
5985 Jeroen Frijters <jeroen@sumatra.nl>
5986
5987 * java/net/URLClassLoader.java (Resource.getCodeSource):
5988 Fix check certs == null.
5989 (getCanonicalFileURL): Removed method.
5990 (JarURLLoader): Don't call removed method.
5991 (FileURLLoader): Likewise.
5992 (FileURLLoader.getResource): Don't canonicalize file name.
5993
5994 2003-01-01 Tom Tromey <tromey@redhat.com>
5995
5996 * Makefile.in: Rebuilt.
5997 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5998 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5999 java/awt/BufferCapabilities.java, java/awt/Button.java,
6000 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
6001 java/awt/Container.java, java/awt/Cursor.java,
6002 java/awt/EventQueue.java, java/awt/FileDialog.java,
6003 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
6004 java/awt/MenuBar.java, java/awt/MenuComponent.java,
6005 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
6006 java/awt/Scrollbar.java, java/awt/TextArea.java,
6007 java/awt/TextField.java, java/awt/color/CMMException.java,
6008 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
6009 java/awt/color/ProfileDataException.java,
6010 java/awt/datatransfer/Clipboard.java,
6011 java/awt/datatransfer/DataFlavor.java,
6012 java/awt/datatransfer/FlavorMap.java,
6013 java/awt/datatransfer/SystemFlavorMap.java,
6014 java/awt/dnd/DragGestureEvent.java,
6015 java/awt/dnd/DragGestureRecognizer.java,
6016 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
6017 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
6018 java/awt/im/InputMethodHighlight.java,
6019 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
6020 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
6021
6022 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
6023 `op' to BufferedImageOp.
6024
6025 2002-12-31 Tom Tromey <tromey@redhat.com>
6026
6027 Fix for PR libgcj/7416:
6028 * javax/naming/InitialContext.java (init): Use
6029 gnu.classpath.home.url.
6030 * java/security/Security.java: Use new properties.
6031 (loadProviders): Accept base url; use it.
6032 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
6033 gnu.classpath.home.url.
6034 (gnu.classpath.home.url): Define.
6035 (gnu.classpath.vm.shortname): Likewise.
6036
6037 2002-12-31 Tom Tromey <tromey@redhat.com>
6038 Ranjit Mathew <rmathew@hotmail.com>
6039
6040 Fix for PR libgcj/8997:
6041 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
6042 Include platform.h.
6043 * include/posix.h (_Jv_platform_usleep): New function.
6044 * include/win32.h (_Jv_platform_usleep): New function.
6045
6046 2002-12-29 Tom Tromey <tromey@redhat.com>
6047
6048 * gcj/javaprims.h: Updated.
6049 * scripts/classes.pl (scan): Removed stray semicolon.
6050
6051 2002-12-30 Mark Wielaard <mark@klomp.org>
6052
6053 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
6054 if zero or smaller.
6055
6056 2002-12-30 Mark Wielaard <mark@klomp.org>
6057
6058 * java/util/Properties (formatForOutput): Don't fall through to
6059 default case after escaping character.
6060
6061 2002-12-30 Mark Wielaard <mark@klomp.org>
6062
6063 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
6064 against count.
6065
6066 2002-12-27 Mark Mitchell <mark@codesourcery.com>
6067
6068 * boehm.cc: Remove stray semicolon.
6069 * interpret.cc: Likewise.
6070 * prims.cc: Likewise.
6071 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
6072 earlier to ensure default arguments are processed.
6073 * gcj/array.h (JArray): Add forward declaration.
6074 (elements): Likewise.
6075 * gcj/javaprim.h: Remove stray semicolons.
6076 * include/bohm-gc.h: Likewise.
6077 * include/jni.h: Likewise.
6078 * include/jvm.h: Likewise.
6079 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
6080
6081 2002-12-23 Jeff Sturm <jsturm@one-point.com>
6082
6083 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
6084 of catch_type.
6085 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
6086 idt tables after initializing superclass.
6087 * java/lang/natClassLoader.cc (uaddr): New typedef.
6088 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
6089 if they are constant pool indicies. Don't link vtable, otable yet.
6090
6091 2002-12-21 Anthony Green <green@redhat.com>
6092
6093 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
6094 libraries.
6095 * Makefile.in: Rebuilt.
6096
6097 2002-12-19 Anthony Green <green@redhat.com>
6098
6099 * Makefile.am (ordinary_java_source_files): Add
6100 org/xml/sax/helpers/NewInstance.java.
6101 * Makefile.in: Rebuilt.
6102 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
6103 org/xml/sax/helpers/package.html: New files.
6104 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
6105 http://www.saxproject.org.
6106
6107 2002-12-19 Andrew Haley <aph@redhat.com>
6108
6109 * java/util/natResourceBundle.cc: Include
6110 ArrayIndexOutOfBoundsException.h.
6111 (getCallingClassLoader): Don't put upper bound on stack search.
6112 Catch ArrayIndexOutOfBoundsException.
6113
6114 2002-12-19 Tom Tromey <tromey@redhat.com>
6115
6116 * libtool-version: Increased `current'.
6117
6118 2002-12-19 Tom Tromey <tromey@redhat.com>
6119
6120 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
6121 comment.
6122 * java/lang/ClassLoader.java (defineClass): Use chained
6123 exception when rethrowing.
6124 * defineclass.cc (handleClassBegin): Mark class as interpreted.
6125 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
6126 constants.
6127 * resolve.cc (_Jv_PrepareMissingMethods): New function.
6128 (_Jv_PrepareClass): Use it.
6129 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
6130 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
6131 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
6132 (Class): _Jv_PrepareMissingMethods now friend.
6133 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
6134 Record `NULL' for system class loader.
6135 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
6136 system class loader.
6137 (_Jv_FindClassInCache): Likewise.
6138 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
6139 (_Jv_FindClass): Special case system class loader.
6140 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
6141 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
6142 vtable slots.
6143 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
6144 in a final class.
6145 (_getDeclaredMethod): Don't return synthetic methods.
6146 (getDeclaredMethods): Likewise.
6147 (_getMethod): Likewise.
6148 (_getMethods): Likewise.
6149
6150 2002-12-18 Raif Naffah <raif@fl.net.au>
6151
6152 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
6153 canonical form after divide().
6154 (modInverse): Likewise.
6155
6156 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6157 Mark Wielaard <mark@klomp.org>
6158
6159 * java/security/SecurityRandom (digest): Removed field.
6160 (SecureRandom): Check all providers for case-insensitive SecureRandom
6161 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6162 if necessary.
6163 (getInstance(String,Provider,boolean): New method.
6164 (getInstance(String)): Use new method.
6165 (getInstance(String,String)): Likewise.
6166 (getInstance(String,Provider)): Likewise.
6167
6168 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6169
6170 * java/security/Security.java (loadProviders): Increment i only once.
6171
6172 2002-12-12 Mark Wielaard <mark@klomp.org>
6173
6174 * java/lang/ClassLoader.java (resolveClass0): Transform
6175 ClassNotFoundException to NoClassDefFoundError. Transform all other
6176 throwables to LinkageError.
6177
6178 2002-12-11 Tom Tromey <tromey@redhat.com>
6179
6180 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6181
6182 * java/lang/ClassLoader.java (loadedClasses): New field.
6183 (defineClass): Fixed indentation. Put new class in
6184 loadedClasses.
6185 (findLoadedClass): Implement here.
6186 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6187
6188 2002-12-10 Tom Tromey <tromey@redhat.com>
6189
6190 * Makefile.in: Rebuilt.
6191 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6192 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6193 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6194 * java/lang/natClassLoader.cc
6195 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6196
6197 2002-12-10 Mark Wielaard <mark@klomp.org>
6198 Tom Tromey <tromey@redhat.com>
6199
6200 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6201 (JarURLLoader): Use it.
6202 (FileURLLoader): Likewise.
6203 (JarURLResource.getURL): Use chained exception.
6204 (FileResource.getURL): Likewise.
6205 (FileURLLoader.getResource): Use canonical file name.
6206 (addURL): Indentation fix.
6207
6208 2002-12-10 Tom Tromey <tromey@redhat.com>
6209
6210 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6211 From Laurent Bardet <l.bardet@magic.fr>.
6212
6213 2002-12-09 Tom Tromey <tromey@redhat.com>
6214
6215 * include/win32.h (_Jv_platform_solib_prefix): New define.
6216 (_Jv_platform_solib_suffix): Likewise.
6217 * include/posix.h (_Jv_platform_solib_prefix): New define.
6218 (_Jv_platform_solib_suffix): Likewise.
6219 * java/lang/natRuntime.cc: Include StackTrace.h.
6220 (_load): Use findLibrary and new platform defines.
6221 (nativeGetLibname): Use new platform defines.
6222
6223 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6224 `t' won't be null.
6225
6226 2002-12-08 Mark Wielaard <mark@klomp.org>
6227
6228 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6229 cache remote jar files.
6230 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6231 add File.separator to URL when it is a directory.
6232 * java/lang/ClassLoader.java: Add Classpath javadoc.
6233 (parent): final.
6234 (getParent): Add (disabled) security check.
6235 (findLibrary): New default method.
6236 * java/net/JarURLConnection.java (getManifest): Implement.
6237 (getInputStream): Only create InputStream when entry exists.
6238 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6239 when they exist.
6240 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6241
6242 2002-12-08 Mark Wielaard <mark@klomp.org>
6243
6244 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6245 (lastDefaultLocale): New field.
6246 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6247 resourceBundleCache.
6248
6249 2002-12-06 Mark Wielaard <mark@klomp.org>
6250
6251 * java/net/InetAddress.java (toString): Use hostname when not null,
6252 don't do an explicit reverse getHostName() lookup.
6253 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6254 NullPointerException.
6255
6256 2002-12-06 Tom Tromey <tromey@redhat.com>
6257
6258 * include/java-interp.h (class _Jv_InterpMethod): Added
6259 JV_MARKOBJ_DECL.
6260 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6261 mark `prepared' field of interpreted method.
6262 * interpret.cc (compile): Use _Jv_AllocBytes.
6263
6264 2002-12-05 Andrew Haley <aph@redhat.com>
6265
6266 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6267 #ifdef (HAVE_BACKTRACE) around the whole function body.
6268
6269 2002-12-05 Tom Tromey <tromey@redhat.com>
6270
6271 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6272 * resolve.cc: Don't include AbstractMethodError.h.
6273 (_Jv_abstractMethodError): Removed.
6274 * defineclass.cc (handleMethodsBegin): Initialize method index to
6275 -1.
6276 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6277 method index for "new" final method.
6278 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6279 isVirtualMethod. Added `flags' argument.
6280 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6281 class.
6282
6283 2002-12-04 Tom Tromey <tromey@redhat.com>
6284
6285 * java/net/SocketPermission.java (hashCode): Rewrote.
6286
6287 2002-12-04 Tom Tromey <tromey@redhat.com>
6288
6289 * Makefile.in: Rebuilt.
6290 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6291 natResourceBundle.
6292 * java/util/ResourceBundle.java (Security): Removed.
6293 (getCallingClassLoader): Now native.
6294 * java/util/natResourceBundle.cc: New file.
6295 * java/lang/natVMSecurityManager.cc: New file.
6296 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6297
6298 2002-12-03 Mark Wielaard <mark@klomp.org>
6299
6300 * java/util/jar/JarFile.java (manifest): Not final.
6301 (manifestRead): New field.
6302 (JarFile): Don't read Manifest in constructor.
6303 (getManifest): New method.
6304 (JarEnumeration.nextElement): Use new method.
6305 (getEntry): Likewise.
6306 * java/util/zip/ZipFile.java (name): Final.
6307 (raf): Likewsie.
6308 (entries): Change type to Hashtable.
6309 (closed): New field.
6310 (ZipFile): Don't read enties in constructor.
6311 (readEntries): Use Hashtable.
6312 (close): Set new close flag and set entries to null inside
6313 synchronized block.
6314 (entries): Contruct enumeration using new getEntries() method and
6315 entries Hashtable.
6316 (getEntryIndex): Removed.
6317 (getEntries): New method.
6318 (getEntry): Use new getEntries() method and entries Hastable.
6319 (getInputStream): Likewise.
6320 (size): Return getEntries().size().
6321 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6322 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6323 (time): Removed
6324 (dostime): New field.
6325 (zipFileIndex): Removed.
6326 (ZipEntry(ZipEntry)): Copy dostime.
6327 (setDOSTime): Now final and doesn't convert dos time.
6328 (getDOSTime): Likewise.
6329 (setTime): Convert dos time.
6330 (getTime): Likewise.
6331 (getCalendar): New method.
6332 (setExtra): Use setTime().
6333 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6334
6335 2002-12-03 Tom Tromey <tromey@redhat.com>
6336
6337 * java/lang/Character.java (forDigit): Formatting fix.
6338
6339 2002-12-03 Raif Naffah <raif@fl.net.au>
6340
6341 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6342 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6343 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6344
6345 2002-12-03 Andrew Haley <aph@redhat.com>
6346
6347 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6348 _Jv_PushClass.
6349 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6350 (_Jv_PopClass): New.
6351 (_Jv_PushClass): New.
6352 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6353 discover the ClassLoader of our caller.
6354 (_Jv_CheckArrayStore): Don't check that a class is assignment
6355 compatible with Object.
6356 * java/lang/natVMTHrowable.cc: Delete.
6357 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6358 java.lang.VMThrowable.
6359 (StackTrace(), StackTrace(int)): New constructors.
6360 (classAt, methodAt, update, methodAtAddress): New methods.
6361 (map): New field.
6362 * java/lang/VMThrowable.java: Use StackTrace instead of
6363 natVMTHrowable.
6364 * java/lang/Class.h (getClassLoaderInternal): New.
6365 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6366 Be friendly with gnu::gcj::runtime::StackTrace.
6367 (Object.chain): New field.
6368 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6369 gnu::gcj::runtime::StackTrace.
6370 * gnu/gcj/runtime/natStackTrace.cc: New file.
6371 * gnu/gcj/runtime/MethodRef.java: New file.
6372 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6373 instead of getClassLoader().
6374 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6375 java::lang::VMThrowable.
6376 * Makefile.am (core_java_source_files): Add MethodRef.java,
6377 StackTrace.java.
6378 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6379 * Makefile.in: Rebuild.
6380
6381 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6382
6383 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6384 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6385 yes also for sh-linux* and sh[34]*-linux*.
6386 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6387 set SIGNAL_HANDLER to use DWARF2 exception for them.
6388 * configure: Regenerate.
6389
6390 2002-12-02 Tom Tromey <tromey@redhat.com>
6391
6392 * jni.cc: Added `name' argument.
6393 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6394 `const char *' argument.
6395 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6396
6397 2002-12-01 Tom Tromey <tromey@redhat.com>
6398
6399 Bug compatibility, for PR libgcj/8738:
6400 * java/io/CharArrayWriter.java (close): Do nothing.
6401 (flush): Likewise.
6402 (reset): Don't touch `closed'.
6403 (write(int)): Don't throw IOException.
6404 (write(char[],int,int)): Likewise.
6405 (write(String,int,int)): Likewise.
6406 (closed): Removed.
6407
6408 2002-12-01 Mark Wielaard <mark@klomp.org>
6409
6410 * java/lang/SecurityManager.java: Remerge comments, indenting and
6411 checkXXX methods with Classpath.
6412
6413 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6414
6415 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6416 getNormalizedComponents): Fix calculation which was using one too
6417 many bits in the unnormalized format.
6418
6419 2002-11-29 Gary Benson <gbenson@redhat.com>
6420
6421 For PR libgcj/8759:
6422 * java/beans/Introspector.java (flushCaches): New method.
6423 (flushFromCaches): Likewise.
6424
6425 2002-11-29 Michael Koch <konqueror@gmx.de>
6426
6427 * java/nio/channels/DatagramChannel.java
6428 (open): Added exception documentation.
6429 (write): Added exception documentation.
6430 (connect): Added exception documentation.
6431 (disconnect): Added exception documentation.
6432 (isConnected): Added exception documentation.
6433 (read): Added exception documentation.
6434 (receive): Added exception documentation.
6435 (send): Added exception documentation.
6436 (validOps): Added exception documentation.
6437 * java/nio/channels/SocketChannel.java
6438 (open): Added exception documentation.
6439 (read): Added exception documentation.
6440 (write): Added exception documentation.
6441 (connect): Added exception documentation.
6442 (finishConnect): Added exception documentation.
6443
6444 2002-11-29 Michael Koch <konqueror@gmx.de>
6445
6446 * gnu/java/nio/DatagramChannelImpl:
6447 (fd): New member variable to store file descriptor of socket.
6448 * gnu/java/nio/SelectionKeyImpl.java:
6449 (ops): Removed.
6450 (readyOps): New member variable.
6451 (interestOps): New member variable.
6452 (readyOps): Implemented.
6453 (readyOps): New method to set member variable readyOps.
6454 (interestOps): Replaced ops by interestOps.
6455 * gnu/java/nio/SelectorImpl.java:
6456 (SelectorImpl): Initialize key sets.
6457 (select): Call select with -1 instead of Long.MAX_VALUE).
6458 (java_do_select): Make it a native method.
6459 (getFDsAsArray): New helper method.
6460 (select): Remove canceled keys, give only interested file discriptors
6461 to java_do_select, set ready ops.
6462 (add): No need to initialize keys set here.
6463 (add_selected): No need to initialize selected set here.
6464 (deregisterCanceledKeys): New helper method.
6465 (register): Set interest ops, set attachments, added handling of datagram
6466 channels.
6467 * gnu/java/nio/ServerSocketChannelImpl:
6468 (SocketAccept): Renamed from NioSocketAccept.
6469 (implConfigureBlocking): Implemented.
6470 (accept): Use SocketAccept instead of NioSocketAccept.
6471 * gnu/java/nio/SocketChannelImpl:
6472 Reactivate native methods.
6473
6474 2002-11-29 Michael Koch <konqueror@gmx.de>
6475
6476 * gnu/java/nio/natByteBufferImpl.cc,
6477 gnu/java/nio/natCharBufferImpl.cc,
6478 gnu/java/nio/natDoubleBufferImpl.cc,
6479 gnu/java/nio/natFloatBufferImpl.cc,
6480 gnu/java/nio/natIntBufferImpl.cc,
6481 gnu/java/nio/natLongBufferImpl.cc,
6482 gnu/java/nio/natSelectorImpl.cc,
6483 gnu/java/nio/natServerSocketChannelImpl.cc,
6484 gnu/java/nio/natShortBufferImpl.cc,
6485 gnu/java/nio/natSocketChannelImpl.cc:
6486 New files that implement native functionalities.
6487
6488 2002-11-29 Michael Koch <konqueror@gmx.de>
6489
6490 * gnu/java/nio/ByteBufferImpl.java
6491 (ByteBufferImpl): Moved position() after limit.
6492 (nio_*): Use native implementation.
6493 * gnu/java/nio/CharBufferImpl.java:
6494 Reformated.
6495 (endian): New member variable string endianess of buffer.
6496 (CharBufferImpl): Moved position() after limit.
6497 (nio_*): Use native implementation.
6498 (subSequence): Implemented.
6499 * gnu/java/nio/DoubleBufferImpl.java
6500 (DoubleBufferImpl): Moved position() after limit.
6501 (nio_*): Use native implementation.
6502 * gnu/java/nio/FloatBufferImpl.java
6503 Reformated.
6504 (FloatBufferImpl): Moved position() after limit.
6505 (nio_*): Use native implementation.
6506 * gnu/java/nio/IntBufferImpl.java
6507 Added needed imports, Reformated.
6508 (IntBufferImpl): Moved position() after limit.
6509 (nio_*): Use native implementation.
6510 * gnu/java/nio/LongBufferImpl.java
6511 Reformated.
6512 (LongBufferImpl): Moved position() after limit.
6513 (nio_*): Use native implementation.
6514 * gnu/java/nio/ShortBufferImpl.java
6515 Reformated.
6516 (ShortBufferImpl): Moved position() after limit.
6517 (nio_*): Use native implementation.
6518
6519 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6520
6521 * java/util/Locale.java (toString): Improve efficiency if country
6522 and variant are both empty.
6523
6524 2002-11-26 Tom Tromey <tromey@redhat.com>
6525
6526 * verify.cc (pop_init_ref): New method.
6527 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6528 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6529 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6530 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6531 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6532 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6533 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6534 let `this' argument be uninitialized. Don't let `null' be passed
6535 as `this' to construtor.
6536
6537 2002-11-26 Mark Wielaard <mark@klomp.org>
6538
6539 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6540 * javax/transaction/HeuristicMixedException.java: Likewise.
6541 * javax/transaction/HeuristicRollbackException.java: Likewise.
6542 * javax/transaction/InvalidTransactionException.java: Likewise.
6543 * javax/transaction/NotSupportedException.java: Likewise.
6544 * javax/transaction/RollbackException.java: Likewise.
6545 * javax/transaction/Status.java: Likewise.
6546 * javax/transaction/Synchronization.java: Likewise.
6547 * javax/transaction/SystemException.java: Likewise.
6548 * javax/transaction/Transaction.java: Likewise.
6549 * javax/transaction/TransactionManager.java: Likewise.
6550 * javax/transaction/TransactionRequiredException.java: Likewise.
6551 * javax/transaction/TransactionRolledbackException.java: Likewise.
6552 * javax/transaction/UserTransaction.java: Likewise.
6553 * javax/transaction/xa/XAException.java: Likewise.
6554 * javax/transaction/xa/XAResource.java: Likewise.
6555 * javax/transaction/xa/Xid.java: Likewise.
6556
6557 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6558
6559 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6560 define.
6561 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6562 * include/posix.h (socklen_t): Define if not already defined.
6563
6564 2002-11-25 Tom Tromey <tromey@redhat.com>
6565
6566 * verify.cc (type::compatible): Backed out broken change.
6567
6568 * verify.cc (type::compatible): Check initialization status
6569 first.
6570 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6571 Don't use NULLCHECK.
6572
6573 2002-11-23 H.J. Lu <hjl@gnu.org>
6574
6575 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6576 Include ../config/accross.m4.
6577 * aclocal.m4; Rebuild.
6578 * configure: Likewise.
6579
6580 2002-11-23 Mark Wielaard <mark@klomp.org>
6581
6582 * javax/naming/AuthenticationException.java: Update copyright header.
6583 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6584 * javax/naming/Binding.java: Likewise.
6585 * javax/naming/CannotProceedException.java: Likewise.
6586 * javax/naming/CommunicationException.java: Likewise.
6587 * javax/naming/CompositeName.java: Likewise.
6588 * javax/naming/CompoundName.java: Likewise.
6589 * javax/naming/ConfigurationException.java: Likewise.
6590 * javax/naming/Context.java: Likewise.
6591 * javax/naming/ContextNotEmptyException.java: Likewise.
6592 * javax/naming/InitialContext.java: Likewise.
6593 * javax/naming/InsufficientResourcesException.java: Likewise.
6594 * javax/naming/InterruptedNamingException.java: Likewise.
6595 * javax/naming/LimitExceededException.java: Likewise.
6596 * javax/naming/LinkException.java: Likewise.
6597 * javax/naming/LinkLoopException.java: Likewise.
6598 * javax/naming/LinkRef.java: Likewise.
6599 * javax/naming/MalformedLinkException.java: Likewise.
6600 * javax/naming/NameAlreadyBoundException.java: Likewise.
6601 * javax/naming/NameClassPair.java: Likewise.
6602 * javax/naming/NameNotFoundException.java: Likewise.
6603 * javax/naming/NameParser.java: Likewise.
6604 * javax/naming/NamingEnumeration.java: Likewise.
6605 * javax/naming/NamingSecurityException.java: Likewise.
6606 * javax/naming/NoInitialContextException.java: Likewise.
6607 * javax/naming/NoPermissionException.java: Likewise.
6608 * javax/naming/NotContextException.java: Likewise.
6609 * javax/naming/OperationNotSupportedException.java: Likewise.
6610 * javax/naming/PartialResultException.java: Likewise.
6611 * javax/naming/Reference.java: Likewise.
6612 * javax/naming/Referenceable.java: Likewise.
6613 * javax/naming/ReferralException.java: Likewise.
6614 * javax/naming/ServiceUnavailableException.java: Likewise.
6615 * javax/naming/SizeLimitExceededException.java: Likewise.
6616 * javax/naming/TimeLimitExceededException.java: Likewise.
6617 * javax/naming/directory/Attribute.java: Likewise.
6618 * javax/naming/directory/AttributeInUseException.java: Likewise.
6619 * javax/naming/directory/AttributeModificationException.java: Likewise.
6620 * javax/naming/directory/Attributes.java: Likewise.
6621 * javax/naming/directory/BasicAttribute.java: Likewise.
6622 * javax/naming/directory/BasicAttributes.java: Likewise.
6623 * javax/naming/directory/DirContext.java: Likewise.
6624 * javax/naming/directory/InitialDirContext.java: Likewise.
6625 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6626 Likewise.
6627 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6628 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6629 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6630 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6631 * javax/naming/directory/ModificationItem.java: Likewise.
6632 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6633 * javax/naming/directory/SchemaViolationException.java: Likewise.
6634 * javax/naming/directory/SearchControls.java: Likewise.
6635 * javax/naming/directory/SearchResult.java: Likewise.
6636 * javax/naming/event/EventContext.java: Likewise.
6637 * javax/naming/event/EventDirContext.java: Likewise.
6638 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6639 * javax/naming/event/NamingEvent.java: Likewise.
6640 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6641 * javax/naming/event/NamingListener.java: Likewise.
6642 * javax/naming/event/ObjectChangeListener.java: Likewise.
6643 * javax/naming/ldap/Control.java: Likewise.
6644 * javax/naming/ldap/ControlFactory.java: Likewise.
6645 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6646 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6647 * javax/naming/ldap/HasControls.java: Likewise.
6648 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6649 * javax/naming/ldap/LdapContext.java: Likewise.
6650 * javax/naming/ldap/LdapReferralException.java: Likewise.
6651 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6652 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6653 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6654 * javax/naming/spi/DirObjectFactory.java: Likewise.
6655 * javax/naming/spi/DirStateFactory.java: Likewise.
6656 * javax/naming/spi/DirectoryManager.java: Likewise.
6657 * javax/naming/spi/InitialContextFactory.java: Likewise.
6658 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6659 * javax/naming/spi/NamingManager.java: Likewise.
6660 * javax/naming/spi/ObjectFactory.java: Likewise.
6661 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6662 * javax/naming/spi/ResolveResult.java: Likewise.
6663 * javax/naming/spi/Resolver.java: Likewise.
6664 * javax/naming/spi/StateFactory.java: Likewise.
6665
6666 * javax/naming/spi/NamingManager.java (ofb): Package private.
6667
6668 2002-11-21 Mark Wielaard <mark@klomp.org>
6669
6670 * java/net/URL.java: Merge with Classpath (partly).
6671 * java/net/URLStreamHandler: Merge with Classpath.
6672
6673 2002-11-22 Michael Koch <konqueror@gmx.de>
6674
6675 * include/posix.h:
6676 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6677 * include/win32.h:
6678 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6679 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6680
6681 2002-11-21 Michael Koch <konqueror@gmx.de>
6682
6683 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6684 Only the new network functions should be in it.
6685
6686 2002-11-21 Michael Koch <konqueror@gmx.de>
6687
6688 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6689 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6690
6691 2002-11-21 Michael Koch <konqueror@gmx.de>
6692
6693 * java/nio/channels/AsynchronousCloseException.java,
6694 java/nio/channels/CancelledKeyException.java,
6695 java/nio/channels/ClosedByInterruptException.java,
6696 java/nio/channels/ConnectionPendingException.java,
6697 java/nio/channels/FileLockInterruptionException.java,
6698 java/nio/channels/IllegalSelectorException.java,
6699 java/nio/channels/NoConnectionPendingException.java,
6700 java/nio/channels/NonReadableChannelException.java,
6701 java/nio/channels/NonWritableChannelException.java,
6702 java/nio/channels/NotYetBoundException.java,
6703 java/nio/channels/NotYetConnectedException.java,
6704 java/nio/channels/OverlappingFileLockException.java,
6705 java/nio/channels/UnresolvedAddressException.java,
6706 java/nio/channels/UnsupportedAddressTypeException.java:
6707 New files.
6708 * Makefile.am (ordinary_java_source_files): Added new files.
6709 * Makefile.in: Regenerated.
6710
6711 2002-11-21 Michael Koch <konqueror@gmx.de>
6712
6713 * include/posix.h
6714 (_Jv_socket): New method.
6715 (_Jv_connect): New method.
6716 (_Jv_close): New method.
6717 (_Jv_platform_close_on_exec): Prefixed system function with "::".
6718 (_Jv_bind): New method.
6719 (_Jv_listen): New method.
6720 (_Jv_write): New method.
6721 (_Jv_read): New method.
6722 * include/win32.h
6723 (_Jv_socket): New method.
6724 (_Jv_connect): New method.
6725 (_Jv_close): New method.
6726 (_Jv_bind): New method.
6727 (_Jv_listen): New method.
6728 (_Jv_write): New method.
6729 (_Jv_read): New method.
6730 * java/net/natNetworkInterface.cc:
6731 Include platform.h, removed inclusion of socket.h
6732 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6733 ::close() by _Jv_close().
6734 * java/net/natPlainDatagramSocketImpl.cc:
6735 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6736 added some new lines to make code more readable.
6737 (create): Replaced ::socket() by _Jv_socket().
6738 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6739 * java/net/natPlainSocketImpl.cc:
6740 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6741 removed include of socket.h, removed some windows defines
6742 (now in include/win32.h).
6743 (create): Replaced ::socket() by _Jv_socket().
6744 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6745 (write): Replaced ::read by _Jv_write().
6746 (read): Replaced ::read by _Jv_read().
6747
6748 2002-11-20 Michael Koch <konqueror@gmx.de>
6749
6750 * Makefile.am (ordinary_java_source_files):
6751 Added java/nio/channels/FileChannel.java.
6752 * Makefile.in: Regenerated.
6753
6754 2002-11-20 Michael Koch <konqueror@gmx.de>
6755
6756 * java/io/FileInputStream.java
6757 (getChannel): New method.
6758 * java/io/FileOutputStream.java
6759 (getChannel): New method.
6760 * java/net/ServerSocket.java
6761 (bind): Removed duplicate code and called another bind method instead.
6762 * java/nio/channels/SelectionKey.java
6763 (isValid): Removed wrong exception documentation.
6764 * java/nio/channels/ServerSocketChannel.java
6765 (accept): Added exception documentation.
6766 (open): Fixed typo, added exception documentation.
6767 * java/nio/channels/spi/AbstractSelectableChannel.java
6768 (implCloseChannel): Added exception documentation.
6769 (add): Reformated.
6770 (register): Added exception documentation.
6771
6772 2002-11-20 Andreas Jaeger <aj@suse.de>
6773
6774 * configure: Regenerated with new libtool.m4.
6775
6776 2002-11-19 Tom Tromey <tromey@redhat.com>
6777
6778 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6779 `referent'.
6780 (finalize_referred_to_object): Don't modify `referent' or `copy'
6781 fields.
6782 (add_to_hash): Correctly set `n->next' when updating list.
6783 * java/lang/ref/Reference.java (enqueue): Return false if already
6784 enqueued.
6785
6786 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
6787
6788 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6789 to function and function pointer declarations in accordance with
6790 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6791 based on whether __GCJ_JNI_IMPL__ has been defined or not.
6792 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6793 JNI function definitions.
6794
6795 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6796
6797 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6798 that was causing CoderResults to be cached, not WeakReferences
6799 to CoderResults.
6800
6801 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6802
6803 * java/security/KeyStore.java (getInstance): Fix
6804 comment and throw IllegalArgumentException if
6805 given provider is null.
6806 (getInstance): New method for jdk1.4 compatibility.
6807
6808 2002-11-18 Michael Koch <konqueror@gmx.de>
6809
6810 * java/net/PlainSocketImpl.java: Fix imports.
6811
6812 2002-11-18 Michael Koch <konqueror@gmx.de>
6813
6814 * java/nio/channels/SelectionKey.java
6815 (isValid): Added exception documentation.
6816 * java/nio/channels/Selector.java
6817 (open): Declare "throws IOException".
6818
6819 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6820
6821 * java/nio/charset/Charset.java
6822 (<clinit>): New method.
6823 (encode): Synchronize use of cached encoder object.
6824 (decode): Synchronize use of cached encoder object.
6825
6826 2002-11-18 Michael Koch <konqueror@gmx.de>
6827
6828 * gnu/java/nio/ByteBufferImpl.java,
6829 gnu/java/nio/CharBufferImpl.java,
6830 gnu/java/nio/DatagramChannelImpl.java,
6831 gnu/java/nio/DoubleBufferImpl.java,
6832 gnu/java/nio/FileChannelImpl.java,
6833 gnu/java/nio/FloatBufferImpl.java,
6834 gnu/java/nio/IntBufferImpl.java,
6835 gnu/java/nio/LongBufferImpl.java,
6836 gnu/java/nio/PipeImpl.java,
6837 gnu/java/nio/SelectionKeyImpl.java,
6838 gnu/java/nio/SelectorImpl.java,
6839 gnu/java/nio/SelectorProviderImpl.java,
6840 gnu/java/nio/ServerSocketChannelImpl.java,
6841 gnu/java/nio/ShortBufferImpl.java,
6842 gnu/java/nio/SocketChannelImpl.java,
6843 java/nio/DoubleBuffer.java,
6844 java/nio/FloatBuffer.java,
6845 java/nio/IntBuffer.java,
6846 java/nio/LongBuffer.java,
6847 java/nio/ShortBuffer.java,
6848 java/nio/channels/FileChannel.java: New files.
6849
6850 2002-11-18 Michael Koch <konqueror@gmx.de>
6851
6852 * Makefile.am (ordinary_java_source_files):
6853 Added java/nio/ReadOnlyBufferException.java and
6854 java/nio/channels/ClosedSelectorException.java.
6855 * Makefile.in: Regenerated.
6856
6857 2002-11-18 Michael Koch <konqueror@gmx.de>
6858
6859 * java/net/PlainSocketImpl.java: Reworked imports.
6860 * java/net/ServerSocket.java
6861 (ServerSocket): Create socket.
6862 * java/net/SocketAddress.java: Documentation added.
6863 * java/net/natPlainSocketImpl.cc: Reindented.
6864 * java/nio/ReadOnlyBufferException.java: New file
6865 * java/nio/channels/ClosedChannelException.java: Documentation added.
6866 * java/nio/channels/ClosedSelectorException.java: New file.
6867
6868 2002-11-17 Mark Wielaard <mark@klomp.org>
6869
6870 * java/net/HttpURLConnection.java ((getPermission): Take port
6871 into consideration.
6872 (getErrorStream): Implement.
6873
6874 2002-11-17 Mark Wielaard <mark@klomp.org>
6875
6876 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6877
6878 2002-11-16 Mark Wielaard <mark@klomp.org>
6879
6880 Integrate work by Raif S. Naffah (raif@fl.net.au)
6881 * java/security/DummyKeyPairGenerator.java (clone): New method.
6882 * java/security/DummyMessageDigest.java (clone): New method.
6883 (engineUpdate): Now public.
6884 (engineReset): Likewise.
6885 (engineDigest): Likewise.
6886 (engineGetDigestLength): New method.
6887 * java/security/DummySignature.java (clone): New method.
6888 * java/security/KeyPairGenerator.java (provider): Now package private.
6889 (getInstance(String)): Use getInstance(String,Provider).
6890 (getInstance(String,String): Use getInstance(String,Provider)
6891 (getInstance(String,Provider): New method.
6892 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6893 * java/security/KeyPairGeneratorSpi.java (clone): New method.
6894 * java/security/MessageDigest.java (provider): Now package private.
6895 (getInstance(String): Use getInstance(String,Provider).
6896 (getInstance(String,String): Use getInstance(String,Provider)
6897 (getInstance(String,Provider): New method.
6898 * java/security/Provider.java (toCanonicalKey): New method.
6899 (get): New method that uses toCanonicalKey().
6900 (put): Use toCanonicalKey().
6901 (remove): Likewise.
6902 * java/security/Security.java (insertProviderAt): Provider index is one
6903 based, not zero based.
6904 (addProvider): Likewise.
6905 (removeProvider): Likewise.
6906 * java/security/Signature.java (provider): Now package private.
6907 (getInstance(String)): Use getInstance(String,Provider).
6908 (getInstance(String,String): Use getInstance(String,Provider)
6909 (getInstance(String,Provider): New method.
6910 (getInstance(String,String,Provider): Don't cast DummySignature.
6911
6912 2002-11-15 Tom Tromey <tromey@redhat.com>
6913
6914 For PR libgcj/8593:
6915 * java/util/zip/GZIPInputStream.java (read): Check file size.
6916 Look in inflater for remaining input bytes.
6917 (read4): Added buf and offset arguments.
6918
6919 2002-11-12 Eric Blake <ebb9@email.byu.edu>
6920
6921 * java/applet/AppletContext.java: Fix typo and remove redundant
6922 modifiers.
6923
6924 2002-11-14 Tom Tromey <tromey@redhat.com>
6925
6926 * java/lang/natRuntime.cc (insertSystemProperties): Set
6927 gnu.classpath.home.
6928
6929 2002-11-13 Michael Koch <konqueror@gmx.de>
6930
6931 * java/nio/ByteBuffer.java
6932 (allocate): New method.
6933 (wrap): New method.
6934 (put): New method.
6935 (get): New method.
6936
6937 2002-11-13 Michael Koch <konqueror@gmx.de>
6938
6939 * java/nio/channels/AlreadyConnectedException.java:
6940 Removed unneeded import.
6941 (AlreadyConnectedException): Documentation added.
6942 * java/nio/channels/Pipe.java
6943 (SinkChannel.SinkChannel): Documentation added.
6944 (SinkChannel.validOps): New method.
6945 (SourceChannel.SourceChannel): Documentation added.
6946 (SourceChannel.validOps): New method.
6947 (Pipe): Documentation added.
6948 (open): Documentation added.
6949 (SinkChannel.channel): Documentation added.
6950 (SourceChannel.channel): Documentation added.
6951 * java/nio/channel/SelectableChannel.java
6952 (SelectableChannel): Documentation added.
6953 (blockingLock): Documentation added.
6954 (configureBlocking):Documentation added.
6955 (isBlocking):Documentation added.
6956 (isRegistered):Documentation added.
6957 (keyFor):Documentation added.
6958 (provider):Documentation added.
6959 (register): Documentation added.
6960 (validOps): Documentation added.
6961 * jaba/nio/channels/SelectionKey.java
6962 (SelectionKey): Documentation added.
6963 (attach): Documentation added.
6964 (attachment): Documentation added.
6965 (isAcceptable): Documentation added.
6966 (isConnetable): Documentation added.
6967 (isReadable): Documentation added.
6968 (isWritable): Documentation added.
6969 (cancel): Documentation added.
6970 (channel): Documentation added.
6971 (interestOps): Documentation added.
6972 (isValid): Documentation added.
6973 (readyOps): Documentation added.
6974 (selector): Documentation added.
6975 * jaba/nio/channels/Selector.java
6976 (Selector): Documentation added.
6977 (open): Documentation added.
6978 (close): Documentation added.
6979 (isOpen): Documentation added.
6980 (keys): Documentation added.
6981 (provider): Documentation added.
6982 (select): Documentation added.
6983 (selectedKeys): Documentation added.
6984 (selectNow): Documentation added.
6985 (wakeup): Documentation added.
6986 * java/nio/channels/spi/AbstractInterruptibleChannel.java
6987 (AbstractInterruptibleChannel): Documentation added.
6988 (opened): Default to true;
6989 (begin): Documentation added.
6990 (close): Set opened to false, documentation added.
6991 (isOpen): Documentation added.
6992 * java/nio/channels/spi/AbstractSelectionKey.java
6993 (AbstractSelectionKey): Documentation added.
6994 (cancel): Documentation added.
6995 (isValid): Documentation added.
6996 * java/nio/channels/spi/AbstractSelector.java
6997 (AbstractSelector): Documentation added.
6998 (begin): Documentation added.
6999 (close): Documentation added.
7000 (isOpen): Documentation added.
7001 (deregister): Documentation added.
7002 (end): Documentation added.
7003 (provider): Documentation added.
7004 (implCloseSelector): Documentation added.
7005 (register): Documentation added.
7006 * java/nio/channels/spi/SelectorProvider.java
7007 (SelectorProvider): Documentation added.
7008 (openDatagramChannel): Documentation added.
7009 (openPipe): Documentation added.
7010 (openSelector): Documentation added.
7011 (openServerSocketChannel): Documentation added.
7012 (openSocketChannel): Documentation added.
7013 (provider): Documentation added.
7014
7015 2002-11-12 Michael Koch <konqueror@gmx.de>
7016
7017 * java/nio/Buffer.java: Implemented.
7018 * java/nio/CharBuffer.java: New file.
7019 * java/nio/InvalidMarkException.java: New file.
7020 * java/nio/channels/DatagramChannel.java: Implemented.
7021 * java/nio/channels/ServerSocketChannel.java: Implemented.
7022 * java/nio/channels/SocketChannel.java: Implemented.
7023 * java/nio/channels/spi/AbstractChannel.java: Removed.
7024 * java/nio/channels/spi/AbstractSelectableChannel.java:
7025 Implemented.
7026 * java/nio/charset/Charset.java:
7027 Merge from Classpath.
7028 * java/nio/charset/CharsetDecoder.java: New file.
7029 * java/nio/charset/CharsetEncoder.java: New file.
7030 * java/nio/charset/CoderResult.java: New file.
7031 * Makefile.am (ordinary_java_source_files): Added new files.
7032 * Makefile.in: Regenerated.
7033
7034 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7035
7036 * gnu/java/nio/charset/ISO_8859_1.java,
7037 gnu/java/nio/charset/Provider.java,
7038 gnu/java/nio/charset/US_ASCII.java,
7039 gnu/java/nio/charset/UTF_16.java,
7040 gnu/java/nio/charset/UTF_16BE.java,
7041 gnu/java/nio/charset/UTF_16Decoder.java,
7042 gnu/java/nio/charset/UTF_16Encoder.java,
7043 gnu/java/nio/charset/UTF_16LE.java,
7044 gnu/java/nio/charset/UTF_8.java: New files.
7045
7046 2002-11-11 Michael Koch <konqueror@gmx.de>
7047
7048 * java/nio/charset/CharacterCodingException.java:
7049 This class must be public.
7050 * java/nio/charset/CoderMalfunctionError.java:
7051 This class must be public.
7052 * java/nio/charset/CodingErrorAction.java:
7053 This class must be public.
7054 * java/nio/charset/IllegalCharsetNameException.java:
7055 This class must be public, better implementation.
7056 * java/nio/charset/MalformedInputException.java:
7057 This class must be public, better implementation.
7058 * java/nio/charset/UnmappableCharacterException.java:
7059 This class must be public, better implementation.
7060 * java/nio/charset/UnsupportedCharsetException.java:
7061 This class must be public, better implementation.
7062
7063 2002-11-11 Michael Koch <konqueror@gmx.de>
7064
7065 * java/nio/BufferOverflowException.java,
7066 java/nio/BufferUnderflowException.java: New file.
7067 * Makefile.am (ordinary_java_source_files):
7068 Added new files.
7069 * Makefile.in: Regenerated.
7070
7071 2002-11-10 Tom Tromey <tromey@redhat.com>
7072
7073 * java/awt/Container.java (validate): Use tree lock.
7074 (getComponent): Likewise.
7075 (getComponents): Likewise.
7076 (addImpl): Likewise.
7077 (remove): Likewise.
7078 (removeAll): Likewise.
7079 (processEvent): Fixed indentation.
7080 (getComponentAt): Use tree lock.
7081 (findComponentAt): Likewise.
7082 (removeNotify): Likewise.
7083 (isAncestorOf): Likewise.
7084 (list): Likewise.
7085 (visitChildren): Likewise.
7086 (findNextFocusComponent): Likewise.
7087 (addNotifyContainerChildren): Likewise.
7088 (getAccessibleChildrenCount): Likewise.
7089 (getAccessibleChild): Likewise.
7090
7091 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
7092 (getSize): Likewise.
7093 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
7094 (getSize): Likewise.
7095 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
7096 (calcSize): Likewise.
7097 * java/awt/CardLayout.java (getSize): Use tree lock.
7098 (gotoComponent): Likewise.
7099 (layoutContainer): Likewise.
7100
7101 * java/io/natFileDescriptorWin32.cc (read): Handle case where
7102 count is 0.
7103 * java/io/natFileDescriptorPosix.cc (read): Handle case where
7104 count is 0.
7105
7106 * java/io/Externalizable.java, java/io/FilePermission.java,
7107 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
7108 java/io/SerializablePermission.java, java/text/Format.java,
7109 java/util/AbstractMap.java, java/util/HashMap.java,
7110 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
7111 versions from Classpath.
7112
7113 2002-11-10 Anthony Green <green@redhat.com>
7114
7115 * java/util/jar/Attributes.java (Name): Fix name check.
7116
7117 2002-11-10 Mark Wielaard <mark@klomp.org>
7118
7119 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
7120 with getName() as message.
7121 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
7122 type as message.
7123
7124 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
7125 unused.
7126
7127 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
7128
7129 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
7130 for Win32. JNICALL has been defined to __stdcall to be compatible
7131 with Sun's JDKs.
7132
7133 2002-11-10 Tom Tromey <tromey@redhat.com>
7134
7135 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
7136 (setRows): Check newRows, not rows.
7137
7138 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
7139
7140 2002-11-09 Tom Tromey <tromey@redhat.com>
7141
7142 * java/applet/Applet.java, java/applet/AppletContext.java,
7143 java/applet/AppletStub.java, java/applet/AudioClip.java,
7144 java/awt/CardLayout.java,
7145 java/awt/ContainerOrderFocusTraversalPolicy.java,
7146 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
7147 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
7148 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
7149 java/awt/color/ICC_ColorSpace.java,
7150 java/awt/color/ICC_Profile.java,
7151 java/awt/color/ICC_ProfileGray.java,
7152 java/awt/color/ICC_ProfileRGB.java,
7153 java/awt/datatransfer/DataFlavor.java,
7154 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
7155 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
7156 New versions from Classpath.
7157 * Makefile.in: Rebuilt.
7158 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7159 ICC_ProfileRGB.
7160
7161 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7162 display policy.
7163
7164 * java/awt/List.java (processEvent): Added missing `else's.
7165
7166 * java/awt/Window.java (show): validate() before showing. Make
7167 parent displayable.
7168 (isDisplayable): New method.
7169
7170 2002-11-07 Mark Wielaard <mark@klomp.org>
7171
7172 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7173 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7174
7175 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7176 annotation.
7177 (loadClass): Take String as codebases.
7178 (getClassAnnotation): Use MyClassLoader annotations.
7179 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7180 call exportObject(this).
7181
7182 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7183 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7184 (setAnnotation): Don't set locBytesStream and locStream.
7185 (replaceObject): Removed.
7186 (flush): Don't test locStream.
7187 (getLocBytes): LikeWise.
7188 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7189 (leaseCache): New field.
7190 (dirty): Use leaseCache.
7191 (LeaseRecord): New inner class.
7192 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7193 explicitly call exportObject().
7194 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7195 false to communicate with Sun JDK130.
7196 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7197 * gnu/java/rmi/server/RMIObjectInputStream.java
7198 (UnicastConnectionManager): Removed field.
7199 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7200 Use UnicastServer.getExportedRef().
7201 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7202 (expireTime): Likewise.
7203 (CONNECTION_TIMEOUT): Likewise.
7204 (disconnect): Call sock.close().
7205 (isExpired): New method.
7206 (resetTime): Likewise.
7207 (run): Use do while loop and catch Exception for discardConnection().
7208 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7209 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7210 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7211 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7212 (exportObject): Use refcache.
7213 (unexportObject): Likewise.
7214 (getExportedRef): New method.
7215 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7216 constructor.
7217 (exportObject): Save manager.serverobj.
7218 (getStub): New method.
7219
7220 2002-11-07 Mark Wielaard <mark@klomp.org>
7221
7222 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7223 (getByte): Likewise.
7224 (getShort): Likewise.
7225 (getInt): Likewise.
7226 (getLong): Likewise.
7227 (getFloat): Likewise.
7228 (getDouble): Likewise.
7229 (get): Likewise.
7230 (setChar): Likewise.
7231 (setByte): Likewise.
7232 (setShort): Likewise.
7233 (setInt): Likewise.
7234 (setLong): Likewise.
7235 (setFloat): Likewise.
7236 (setDouble): Likewise.
7237
7238 2002-11-07 Michael Koch <konqueror@gmx.de>
7239
7240 * java/awt/Choice.java,
7241 java/awt/Container.java,
7242 java/awt/GridBagLayout.java:
7243 Fixed documentation.
7244 * java/awt/peer/ContainerPeer.java:
7245 Reindented.
7246
7247 2002-11-07 Michael Koch <konqueror@gmx.de>
7248
7249 * java/awt/color/ICC_Profile.java:
7250 Added missing constants.
7251 * java/awt/color/ICC_ColorSpace.java
7252 (getMinValue): Added dummy implementation.
7253 (getMaxValue): Added dummy implementation.
7254 * java/awt/datatransfer/DataFlavor.java
7255 (imageFlavor): Added.
7256 (isMimeTypeEqual): Must be final.
7257 (getDefaultRepresentationClass): Must be non-static.
7258 (getDefaultRepresentationClassAsString): Must be non-static.
7259 * java/awt/dnd/DragSourceContext.java
7260 (dragExit): Corrected argument.
7261 (dragDropEnd): Corrected argument.
7262 * java/awt/dnd/DragSourceListener.java.java
7263 (dragExit): Corrected argument.
7264 (dragDropEnd): Corrected argument.
7265 * java/awt/font/TextHitInfo.java
7266 (toString): Added stubbed implementation.
7267 * java/awt/geom/PathIterator.java:
7268 The constants must be static.
7269 * java/awt/image/VolatileImage.java
7270 (IMAGE_INCOMPATIBLE): Fixed typo.
7271 * java/awt/image/renderable/RenderableImage.java
7272 (HINTS_OBSERVED): Must be static.
7273 * java/beans/BeanInfo.java:
7274 Constants must be final.
7275
7276 2002-11-06 Tom Tromey <tromey@redhat.com>
7277
7278 From svens@it.uu.se. For PR libgcj/8481.
7279 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7280
7281 2002-11-06 Tom Tromey <tromey@redhat.com>
7282
7283 * jni.cc (array_from_valist): Assume that jlong won't be
7284 promoted.
7285
7286 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7287
7288 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7289 Return 20.
7290 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7291 Return 16.
7292
7293 2002-11-03 Tom Tromey <tromey@redhat.com>
7294
7295 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7296 VMClassLoader, not findClass.
7297
7298 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7299
7300 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7301 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7302 _Jv_DetermineVTableIndex, to determine vtable offset.
7303 (_Jv_DetermineVTableIndex): Remove.
7304 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7305
7306 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7307
7308 2002-11-03 Tom Tromey <tromey@redhat.com>
7309
7310 * java/nio/channels/AlreadyConnectedException.java: Extend
7311 IllegalStateException, per spec.
7312
7313 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7314
7315 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7316
7317 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7318
7319 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7320 size items.
7321
7322 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7323
7324 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7325 initial estimated size to avoid enlarge buffer frequently.
7326
7327 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7328
7329 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7330 ClassLoader when null.
7331 (ProxyType.hashCode): Loader null check no longer needed.
7332 (ProxyType.sameTypes): New method.
7333 (ProxyType.equals): Use new method.
7334
7335 2002-10-31 Mark Wielaard <mark@klomp.org>
7336
7337 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7338 length of String.
7339 * java/net/URLEncoder.java (encode): Likewise.
7340
7341 2002-10-31 Mark Wielaard <mark@klomp.org>
7342
7343 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7344 when stream is closed.
7345 (closeEntry): Likewise.
7346 (read): Likewise.
7347 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7348 ZipException when no entry active.
7349 (closeEntry): Likewise.
7350 (write): Likewise.
7351
7352 2002-11-02 Tom Tromey <tromey@redhat.com>
7353
7354 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7355 * java/lang/natClass.cc (initializeClass): Don't return just
7356 because self==thread.
7357
7358 For PR java/8415:
7359 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7360 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7361
7362 2002-11-02 Andreas Schwab <schwab@suse.de>
7363
7364 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7365 pass GCJFLAGS.
7366 (FLAGS_TO_PASS): Define.
7367 * Makefile.in: Regenerated.
7368
7369 2002-11-01 Michael Koch <konqueror@gmx.de>
7370
7371 * java/nio/ByteOrder.java: New file.
7372 * java/nio/channels/DatagramChannel.java:
7373 (DatagramChannel): New constructor.
7374 * java/nio/channels/Pipe.java: New file.
7375 * java/nio/channels/SelectableChannel.java: New file.
7376 * java/nio/channels/SelectionKey.java: New file.
7377 * java/nio/channels/Selector.java: New file.
7378 * java/nio/channels/ServerSocketChannel.java
7379 (ServerSocketChannel): New constructor.
7380 * java/nio/channels/SocketChannel.java
7381 (SocketChannel): New constructor.
7382 * java/nio/channels/Pipe.java: New file.
7383 * java/nio/channels/spi/AbstractChannel.java: New file.
7384 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7385 * java/nio/channels/spi/AbstractSelectableChannel.java:
7386 License added
7387 (AbstractSelectableChannel): New stubbed method.
7388 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7389 * java/nio/channels/spi/AbstractSelector.java: New file.
7390 * java/nio/channels/spi/SelectorProvider.java: New file.
7391 * java/nio/charset/Charset.java: New file.
7392 * java/nio/charset/CoderMalfunctionError.java: New file.
7393 * java/nio/charset/CodingErrorAction.java: New file.
7394 * java/nio/charset/spi/CharsetProvider.java
7395 (charsetForName): Uncommented.
7396 * Makefile.am (java_native_source_files): Added new files.
7397 * Makefile.in: Regenerated.
7398
7399 2002-11-01 Michael Koch <konqueror@gmx.de>
7400
7401 * java/net/InetAddress.java:
7402 (isAnyLocalAddress): Implemented.
7403 (isLoopbackAddress): Implemented, comment added.
7404 (isLinkLocalAddress): Implemented, documentation added.
7405 (isSiteLocalAddress): Implemented, documentation added.
7406 (isMCGlobal): Implemented, documentation added.
7407 (isMCNodeLocal): Implemented, documentation added.
7408 (isMCLinkLocal): Implemented, documentation added.
7409 (isMCSiteLocal): Implemented, documentation added.
7410 (isMCOrgLocal): Implemented, documentation added.
7411 (getHostName): Documentation added.
7412 (getCanonicalHostName): Implemented, documentation added.
7413 (getAddress): Documentation added.
7414 (hashCode): Documentation added.
7415 (equals): Documentation added.
7416 (toString): Fixed implementation.
7417 (getByAddress): Use Inet4Address and Inet6Address.
7418 (lookup): New linewrap.
7419 (getByName): SecurityManager check added, support Inet4Address and
7420 Inet6address, comments added.
7421 (getAllByName): SecurityManager check added, comments added.
7422 * java/net/Inet6Address.java:
7423 (Inet6Address): Initialize parent class with addr instead of null.
7424 * java/net/URL.java
7425 (equals): Documentation added.
7426 (getFile): Documentation added.
7427 (hashCode): Documentation added.
7428 * java/net/natInetAddress.cc:
7429 (aton): Fix IPv6 support.
7430 * java/net/natPlainDatagramSocketImpl.cc:
7431 (peek): Throw PortUnreachableException when suitable.
7432 (peekData): Throw PortUnreachableException when suitable.
7433 (send): Throw PortUnreachableException when suitable.
7434 (receive): Throw PortUnreachableException when suitable.
7435
7436 2002-10-27 Mark Wielaard <mark@klomp.org>
7437
7438 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7439 argument.
7440 (readLeShort): Likewise and use byte[].
7441 (readLeInt): Likewise.
7442 (readEntries): Use new versions of methods and use byte[] for reading
7443 a complete zip entry. Add ZipFile name to exceptions.
7444 (entries): Add ZipFile name to exceptions.
7445 (getEntry): Likewise.
7446 (checkLocalHeader): Use new versions of methods and add ZipFile name
7447 to exceptions.
7448
7449 2002-10-31 Mark Anderson <mark@panonet.net>
7450
7451 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7452 added
7453
7454 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7455
7456 * configure.in: Disable hash sync when not using threads.
7457 * configure: Regenerated.
7458
7459 2002-10-24 Tom Tromey <tromey@redhat.com>
7460
7461 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7462 (_Jv_FindSymbolInExecutable): Removed argument name.
7463 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7464 java.library.path is set.
7465
7466 * gij.cc (help): Document --showversion.
7467 (version): Don't exit.
7468 (main): Handle --showversion. Exit if --version given.
7469
7470 2002-10-23 Tom Tromey <tromey@redhat.com>
7471
7472 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7473 (array_from_valist): Correctly handle promotion for jint, jlong,
7474 jfloat, and jdouble.
7475
7476 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7477
7478 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7479 GetFileAttributesEx( ) to find file length and modification times,
7480 as the latter is not present on Windows 95.
7481
7482 2002-10-21 Michael Koch <konqueror@gmx.de>
7483
7484 * java/net/URL.java
7485 (URL): Activate SecurityManager checks.
7486 (equals): Use URLStreamHandler implementation instead of doing it
7487 alone. This allows special protocol stream handlers to change default
7488 behaviour.
7489 (hashCode): Use URLStreamHandler implementation instead of doing it
7490 alone. This allows special protocol stream handlers to change default
7491 behaviour.
7492 * java/net/URLStreamHandler.java
7493 (equals): Implemented default URL equality check.
7494 (hostsEqual): Implemented default URL equality check.
7495 (hashCode): Implemented default URL hashCode algorithm.
7496 * java/net/natPlainDatagramSocketImpl.cc:
7497 No lines longer then 80 characters.
7498
7499 2002-10-20 Adam Megacz <adam@xwt.org>
7500
7501 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7502 * configure.in: enabled hash sync on Win32
7503 * include/win32-threads.h (_Jv_ThreadId_t): added.
7504 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7505 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7506 removed some posix-isms, use Thread::sleep() instead of usleep,
7507 added code to clear bottom three bits if platform has a broken
7508 linker.
7509 * include/win32-threads.h (_Jv_ThreadId_t): added.
7510
7511 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7512
7513 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7514 runtime property "gnu.gcj.progname" containing the name used to
7515 invoke the current Java program (similar to argv[0] for C
7516 programs).
7517
7518 2002-10-15 Tom Tromey <tromey@redhat.com>
7519
7520 Fix for PR libgcj/8234:
7521 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7522 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7523
7524 2002-10-13 Mark Wielaard <mark@klomp.org>
7525
7526 * mauve-libgcj: Enable Mauve tests that compile now.
7527
7528 2002-10-11 Mark Wielaard <mark@klomp.org>
7529
7530 Fix for PR libgcj/8142
7531 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7532 loading native modules.
7533
7534 2002-10-10 Michael Koch <konqueror@gmx.de>
7535
7536 * javax/swing/AbstractListModel.java
7537 (getListDataListeners): New stubbed method.
7538 javax/swing/DefaultBoundedRangeModel.java
7539 (getChangeListeners): New stubbed method.
7540 javax/swing/DefaultSingleSelectionModel.java
7541 (getChangeListeners): New stubbed method.
7542
7543 2002-10-10 Michael Koch <konqueror@gmx.de>
7544
7545 * gcj/.cvsignore: New file to ignore files generated during build.
7546 * include/.cvsignore: New file to ignore files generated during build.
7547
7548 2002-10-10 Michael Koch <konqueror@gmx.de>
7549
7550 * java/net/HttpURLConnection.java
7551 (getPermission): New method.
7552 (getErrorStream): New stub method.
7553 (getHeaderFieldDate): New stub method.
7554 * java/net/Inet4Address.java:
7555 (isLinkLocalAddress): Typo fixed.
7556 * java/net/InetAddress.java:
7557 (readResolve): New stubbed method (for serialization).
7558 (isAnyLocalAddress): New stubbed method.
7559 (isLoopbackAddress): New stubbed method.
7560 (isLinkLocalAddress): New stubbed method.
7561 (isSiteLocalAddress): New stubbed method.
7562 (isMCGlobal): New stubbed method.
7563 (isMCNodeGlobal): New stubbed method.
7564 (isMCLinkLocal): New stubbed method.
7565 (isMCSiteLocal): New stubbed method.
7566 (isMCOrgLocal): New stubbed method.
7567 (getCanonicalHostName): New stubbed method.
7568 (getByAddress): Create instances of Inet4Address/Inet6Address,
7569 instead of InetAddress, documentation added.
7570 * java/net/MulticastSocket.java
7571 (getInterface): Removed FIXME.
7572 (getNetworkInterface): New method.
7573 (setNetworkInterface): New method.
7574 * java/net/NetworkInterface.java:
7575 (toString): Use property "line.separator" instead of "\n".
7576 * java/net/URLConnection.java
7577 (getContent): New stubbed method.
7578 * java/net/URLStreamHandler.java:
7579 (equals): New stubbed method.
7580 (hostsEqual): New stubbed method.
7581 (hashCode): New stubbed method.
7582 * java/net/natNetworkInterface.cc:
7583 (getRealNetworkInterfaces): Create Inet4Address object
7584 instead of InetAddress.
7585
7586 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7587
7588 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7589 unsigned long temporary to implement insn_iushr shifts.
7590
7591 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7592
7593 * configure.host [s390*-*]: Enable Java interpreter.
7594 Enable hash synchronization. Add sysdeps dir.
7595 * sysdep/s390/locks.h: New file.
7596
7597 2002-10-06 Mark Wielaard <mark@klomp.org>
7598
7599 * java/lang/Thread.java (setDaemon): Check startable_flag,
7600 not isAlive().
7601
7602 2002-10-07 Michael Koch <konqueror@gmx.de>
7603
7604 * java/nio/Buffer.java: New stub file.
7605 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7606 of class Charset.
7607 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7608 * Makefile.in: Regenerated.
7609
7610 2002-10-07 Michael Koch <konqueror@gmx.de>
7611
7612 * java/nio/ByteBuffer.java:
7613 removed import of not commited class.
7614
7615 2002-10-07 Michael Koch <konqueror@gmx.de>
7616
7617 * java/nio/ByteBuffer.java,
7618 java/nio/MappedByteBuffer.java:
7619 New files, forgot to add these dummies.
7620 * Makefile.am (java_native_source_files): Added new files.
7621 * Makefile.in: Regenerated.
7622
7623 2002-10-07 Michael Koch <konqueror@gmx.de>
7624
7625 * java/nio/channels/AlreadyConnectedException.java,
7626 java/nio/channels/ClosedChannelException.java,
7627 java/nio/channels/ReadableByteChannel.java,
7628 java/nio/channels/InterruptibleChannel.java,
7629 java/nio/channels/Channel.java,
7630 java/nio/channels/ByteChannel.java,
7631 java/nio/channels/GatheringByteChannel.java,
7632 java/nio/channels/ScatteringByteChannel.java,
7633 java/nio/channels/WritableByteChannel.java,
7634 java/nio/charset/CharacterCodingException.java,
7635 java/nio/charset/IllegalCharsetNameException.java,
7636 java/nio/charset/MalformedInputException.java,
7637 java/nio/charset/UnmappableCharacterException.java,
7638 java/nio/charset/UnsupportedCharsetException.java,
7639 java/nio/charset/spi/CharsetProvider.java: New file.
7640 These files are exceptions or interfaces,
7641 no real or abstract classes.
7642 * Makefile.am (java_native_source_files): Added new files.
7643 * Makefile.in: Regenerated.
7644
7645 2002-10-05 Michael Koch <konqueror@gmx.de>
7646
7647 * java/net/InetAddress.java
7648 (getByAddress): Fixed documentation.
7649 (getByAddress): New method.
7650 * java/net/Inet4Address.java: New file.
7651 * java/net/URL.java
7652 (URL): Documentation added.
7653 (getContent): Documentation added.
7654 (getContent): New stubbed method.
7655 (getQuery): New method.
7656 (openConnection): Documentation added.
7657 (openStream): Documentation added.
7658 (setURLStreamHandlerFactory): Documentation added.
7659 * java/net/URI.java: New stub file.
7660 * Makefile.am
7661 (java_native_source_files): Added java/net/Inet4Address.java,
7662 java/net/Inet6Address.java and java/net/URI.java.
7663 * Makefile.in: Regenerated.
7664
7665 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7666
7667 * java/lang/ProtectionDomain.java (linesep): Remove field.
7668 (toString): Use System.getProperty("line.separator").
7669
7670 2002-10-04 Michael Koch <konqueror@gmx.de>
7671
7672 * java/security/Identity.java: Added serialVersionUID.
7673 * java/security/KeyPair.java: Added serialVersionUID.
7674 * java/security/Provider.java: Added serialVersionUID.
7675 * java/security/SecureRandom.java: Added serialVersionUID.
7676 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7677 * java/security/SignedObject.java: Added serialVersionUID.
7678 * java/security/cert/Certificate.java: Added serialVersionUID.
7679
7680 2002-10-04 Mark Wielaard <mark@klomp.org>
7681
7682 * java/security/Security.java: Use java.home or gnu.classpath.home
7683 to load providers.
7684 (loadProviders): Extra dir argument.
7685 (getProvider): Return null when not found.
7686
7687 2002-10-04 Mark Wielaard <mark@klomp.org>
7688
7689 * java/lang/Throwable.java: Remerge with Classpath.
7690
7691 2002-10-04 Michael Koch <konqueror@gmx.de>
7692
7693 * java/net/InetAddress.java:
7694 (isMulticastAddress): Added documentation.
7695 (getHostAddress): Added documentation.
7696 (toString): Added documentation.
7697 (getByAddress): Fixed documentation.
7698 (getByName): Added documentation.
7699 (getAllByName): Added documentation.
7700 (getLocalHost): Added documentation.
7701
7702 2002-10-04 Michael Koch <konqueror@gmx.de>
7703
7704 * java/beans/beancontext/BeanContextChildSupport.java:
7705 Added serialVersionUID.
7706 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7707 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7708 * javax/naming/Name.java: Added serialVersionUID.
7709
7710 2002-10-03 Adam Megacz <adam@xwt.org>
7711
7712 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7713 some functionality that isn't supported yet on WIN32.
7714
7715 2002-10-03 Tom Tromey <tromey@redhat.com>
7716
7717 * Makefile.in: Rebuilt.
7718 * Makefile.am (awt_java_source_files): Added new files.
7719
7720 2002-10-03 Michael Koch <konqueror@gmx.de>
7721
7722 * java/net/InetAddress.java
7723 (class InetAddress): Removed final keyword.
7724 (equals): Fixed typo.
7725 (getByAddress): New method.
7726
7727 2002-10-03 Michael Koch <konqueror@gmx.de>
7728
7729 * java/awt/dnd/Autoscroll.java:
7730 New file, merge from Classpath.
7731 * java/awt/dnd/DragSourceAdapter.java:
7732 (dragExit): Fixed typos in argument type.
7733 (dragDropEnd): Fixed typos in argument type.
7734 * java/awt/dnd/DragSourceDropEvent.java:
7735 New file, merge from Classpath.
7736 * java/awt/dnd/DropTarget.java:
7737 Added stubs, merge from Classpath.
7738 * java/awt/dnd/DropTargetAdapter.java:
7739 New file, merge from Classpath.
7740 * java/awt/dnd/DropTargetContext.java:
7741 New file, merge from Classpath.
7742 * java/awt/dnd/DropTargetDragEvent.java:
7743 New file, merge from Classpath.
7744 * java/awt/dnd/DropTargetDropEvent.java:
7745 New file, merge from Classpath.
7746 * java/awt/dnd/DropTargetEvent.java:
7747 New file, merge from Classpath.
7748 * java/awt/dnd/DropTargetListener.java:
7749 New file, merge from Classpath.
7750 * java/awt/dnd/MouseDragGestureRecognizer.java:
7751 New file, merge from Classpath.
7752 * java/awt/dnd/peer/DropTargetContextPeer.java:
7753 New file, merge from Classpath.
7754
7755 2002-10-03 Michael Koch <konqueror@gmx.de>
7756
7757 * java/net/DatagramPacket.java
7758 (setLength): Fixed typo and be HTML-aware.
7759 * java/net/InetSocketAddress.java
7760 (InetSocketAddress): Correct initialization of hostname, fixed typo.
7761 (equals): Added comment about equality of InetSocketAddress objects.
7762 * java/net/ServerSocket.java
7763 (accept): Added checks.
7764 (isClosed): New stubbed method.
7765 * java/net/SocketOptions.java: Reindention.
7766 * java/net/SocketPermission
7767 (SocketPermission): Documentation fixed.
7768
7769 2002-10-03 Michael Koch <konqueror@gmx.de>
7770
7771 * java/net/DatagramSocket.java
7772 (receive): Check with SecurityManager AFTER the packet is received,
7773 check if connected to multicast address, documentation added.
7774 (send): Only check SecurityManager if connected, check address of
7775 packet to send.
7776 (connect): Implemented, documentation added.
7777 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7778 * java/net/InetSocketAddress.java
7779 (whole file): Reindented.
7780 (hostname): New attribute.
7781 (InetSocketAddress): Initialize new attribute.
7782 (getAddress): Documentation added.
7783 (getHostName): Documentation added.
7784 (getPort): Documentation added.
7785 (hashCode): Documentation added.
7786 (isUnresolved): Documentation added.
7787 (toString): Conform to output of JDK 1.4.1, documentation added.
7788 * java/net/MulticastSocket.java
7789 (joinGroup): Removed FIXME, documentation added.
7790 (leaveGroup): Removed FIXME, documentation added.
7791 (send): Documentation added.
7792 * java/net/Socket.java
7793 (inputShutdown): New variable.
7794 (outputShutdown): New variable.
7795 (Socket): Initialize new variables.
7796 (getRemoteSocketAddress): Check if connected.
7797 (shutdownInput): Set new variable.
7798 (shutdownOutput): Set new variable.
7799 (isConnected): New method.
7800 (isClosed): New method.
7801 (isInputShutdown): New method.
7802 (isOutputShutdown): New method.
7803 * java/net/URLStreamHandler.java
7804 (URLStreamHandler): New method.
7805 (openConnection): Added documentation.
7806 (parseURL): Added documentation.
7807 (getHostAddress): New method.
7808 (getDefaultPort): New method.
7809
7810 2002-10-02 Tom Tromey <tromey@redhat.com>
7811
7812 * java/rmi/activation/ActivationDesc.java,
7813 java/rmi/activation/ActivationGroupDesc.java,
7814 java/rmi/activation/ActivationGroupID.java,
7815 java/rmi/activation/ActivationID.java: New versions from
7816 Classpath.
7817
7818 2002-09-30 Bo Thorsen <bo@suse.de>
7819
7820 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7821
7822 2002-09-30 Tom Tromey <tromey@redhat.com>
7823
7824 * java/io/ObjectInputStream.java (resolveProxyClass): New method
7825 from Classpath.
7826 * Makefile.in: Rebuilt.
7827 * Makefile.am (rmi_java_source_files): Added new files.
7828 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7829 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7830 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7831 Classpath.
7832 * gnu/java/rmi/dgc/DGCImpl.java,
7833 gnu/java/rmi/dgc/DGCImpl_Skel.java,
7834 gnu/java/rmi/dgc/DGCImpl_Stub.java,
7835 gnu/java/rmi/registry/RegistryImpl_Skel.java,
7836 gnu/java/rmi/registry/RegistryImpl_Stub.java,
7837 gnu/java/rmi/server/RMIHashes.java,
7838 gnu/java/rmi/server/RMIObjectInputStream.java,
7839 gnu/java/rmi/server/RMIObjectOutputStream.java,
7840 gnu/java/rmi/server/UnicastConnection.java,
7841 gnu/java/rmi/server/UnicastConnectionManager.java,
7842 gnu/java/rmi/server/UnicastRef.java,
7843 gnu/java/rmi/server/UnicastServer.java,
7844 gnu/java/rmi/server/UnicastServerRef.java,
7845 java/rmi/MarshalledObject.java,
7846 java/rmi/server/RMIClassLoader.java,
7847 java/rmi/server/RemoteObject.java,
7848 java/rmi/server/UnicastRemoteObject.java,
7849 java/security/SecureClassLoader.java: Merged from Classpath.
7850
7851 2002-09-29 Anthony Green <green@redhat.com>
7852
7853 * java/lang/reflect/UndeclaredThrowableException.java: New file.
7854 Imported from GNU Classpath.
7855 * java/lang/reflect/natProxy.cc: New file.
7856 * java/lang/reflect/InvocationHandler.java: New file. Imported
7857 from GNU Classpath.
7858 * java/lang/reflect/Proxy.java: New file. Imported from GNU
7859 Classpath.
7860 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7861 Classpath.
7862 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7863 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7864 New statics.
7865 * gcj/javaprims.h ("Java"): Add new classes.
7866 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7867 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7868 java/lang/reflect/Proxy$$ProxyType.h): And this.
7869 (inner_nat_headers): Add these new headers.
7870 (ordinary_java_source_files): Add new files.
7871 (nat_source_files): Add new file.
7872 * Makefile.in: Rebuilt.
7873
7874 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
7875
7876 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7877 a single configuration.
7878
7879 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7880
7881 * java/util/TimeZone.java (getDSTSavings): New method.
7882 Fixes PR libgcj/7786.
7883
7884 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7885
7886 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7887 to see if `the_method == 0' before looking up vtable index.
7888 Fixes PR libgcj/7709.
7889
7890 2002-09-25 Tom Tromey <tromey@redhat.com>
7891
7892 * java/lang/natClassLoader.cc:
7893 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7894 * resolve.cc: Include NoClassDefFoundError.h, not
7895 ClassNotFoundException.h.
7896 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7897
7898 * defineclass.cc: Don't include ClassNotFoundException.h.
7899
7900 * resolve.cc: Include StringBuffer.
7901 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7902
7903 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7904 allocated but not initialized.
7905
7906 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7907
7908 Fix for PR libgcj/7766:
7909 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7910 (getNextEntry): Set it.
7911 (closeEntry): Likewise.
7912 (read): Likewise.
7913 (close): Likewise.
7914 (available): Use it.
7915
7916 2002-09-25 Michael Koch <konqueror@gmx.de>
7917
7918 * java/net/DatagramSocket.java
7919 (DatagramSocket): Initialize new instance variables.
7920 (close): Reset new instance variables.
7921 (getLocalAddress): Remove unneeded SecurityManager usage.
7922 (getLocalPort): Check if socket is already bound.
7923 (isConnected): New method.
7924 (getInetAddress): Implemented.
7925 (getPort): Better Implementation, documentation fixed.
7926 (getRemoteSocketAddress): New method.
7927 * java/net/JarURLConnection.java
7928 (element): Typo fixed.
7929 (getMainAttributes): New method.
7930 (getAttributes): New method (stub only).
7931 (getManifest): New method (stub only).
7932 * java/net/NetPermission.java: Added serialVersionsUID.
7933 * java/net/Socket.java
7934 (connect): Check blocking mode of associated channel,
7935 documentation added.
7936 (getLocalSocketAddress): Better implementation.
7937 (getRemoteSocketAddress): Implemented.
7938 (isBound): New method.
7939 (setSendBufferSize): Documentation added.
7940 * java/net/SocketAddress.java: Added serialVersionsUID.
7941 * java/net/SocketPermission.java: Added serialVersionsUID.
7942 * java/net/URL.java
7943 (URL): Wrap for shorter lines, initialize new instance variables,
7944 documentation added.
7945 (equals): Check new instance variables too.
7946 (getContent): Documentation added.
7947 (getPath): Documentation added.
7948 (getAuthority): New method.
7949 (getHost): Documentation added.
7950 (getPort): Documentation added.
7951 (getDefaultPort): New method.
7952 (getProtocol): Documentation added.
7953 (getUserInfo): Documentation added.
7954 (set): Initialize new instance variables, documentation added.
7955 * java/net/URLStreamHandler.java
7956 (setURL): New method.
7957 * java/net/natPlainDatagramSocketImpl.cc
7958 (connect): Fix exception name.
7959 (disconnect): Fix exception name.
7960
7961 2002-09-25 Michael Koch <konqueror@gmx.de>
7962
7963 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7964 * java/nio/channels/DatagramChannel.java:
7965 extends AbstractSelectableChannel
7966 * java/nio/channels/ServerSocketChannel.java:
7967 extends AbstractSelectableChannel
7968 * java/nio/channels/SocketChannel.java:
7969 extends AbstractSelectableChannel
7970 * Makefile.am (ordinary_java_source_files):
7971 java/nio/channels/spi/AbstractSelectableChannel.java added.
7972 * Makefile.in: Regenerated.
7973
7974 2002-09-25 Michael Koch <konqueror@gmx.de>
7975
7976 * java/net/DatagramSocket.java
7977 (DatagramSocket): Exception documentation added.
7978 (bind): Exception documentation added, addded SecurityManager check,
7979 added SocketAddress type check.
7980 (getSoTimeout): Check impl.
7981 (receive): Fix SecurityManager check, check impl, documentation added.
7982 (send): Check channel mode, documentation added.
7983 (connect): New method.
7984 (disconnect): Implemented.
7985 (getLocalSocketAddress): New method.
7986 (getReceiveBufferSize): Check impl.
7987 (setReuseAddress): Check impl.
7988 (getReuseAddress): Check impl.
7989 (setBroadcast): Check impl.
7990 (getBroadcast): Check impl.
7991 (setTrafficClass): Check impl, Documentation cleared.
7992 (getTrafficClass): Check impl.
7993 (getSendBufferSize): Check impl.
7994 (setReceiveBufferSize): Check impl, documentation added.
7995 (setSendBufferSize): Documentation added.
7996 (setDatagramSocketImplFactory): New method.
7997 * java/net/HttpURLConnection.java
7998 (HTTP_INTERNAL_ERROR): The correct code is 500.
7999 (HTTP_NOT_IMPLEMENTED): Added new constant.
8000 (setFollowRedirects): Documentation added.
8001 (getInstanceFollowRedirects): New method.
8002 (setInstanceFollowRedirects): New method.
8003 (setRequestMethod): Documentation added.
8004 (getResponseCode): Documentation added.
8005 (getResponseMessage): Documentation added.
8006 * java/net/JarURLConnection.java
8007 (JarURLConnection): protected since JDK 1.4.
8008 (getJarEntry): java.io.IOException to IOException, documentation added.
8009 (getJarFile): Documentation added.
8010 * java/net/ServerSocket.java
8011 (ServerSocket): Private to public, exception added.
8012 (ServerSocket): java.io.IOException to IOException, documentation added.
8013 (bind): Check socket address type, documentation added.
8014 (bind): java.io.IOException to IOException, documentation added.
8015 (accept): Documentation added.
8016 (implAccept): Check ch is not non-blocking, documentation added.
8017 (setSoTimeout): Documentation fixed.
8018 (setReceiveBufferSize): Documentation added.
8019 * java/net/Socket.java
8020 (Socket): Documentation added.
8021 (bind): Documentation added.
8022 (connect): Check socket address type, documentation added.
8023 (getRemoteSocketAddress): New method.
8024 (getLocalSocketAddress): New method.
8025 (setSoLinger): Documentation added.
8026 (getReuseAddress): New method.
8027 (setReuseAddress): New method.
8028 (getTrafficClass): New method.
8029 (setTrafficClass): New method.
8030 * java/net/URLStreamHandler.java
8031 (openConnection): java.io.IOException to IOException.
8032 (parseURL): Documentation added.
8033 (sameFile): public to protected, documentation added.
8034 (setURL): Documentation added.
8035 * java/nio/IllegalBlockingModeException.java: New file.
8036 * Makefile.am (ordinary_java_source_files):
8037 added java/nio/IllegalBlockingModeException.java
8038 * Makefile.in: Regenerated.
8039
8040 2002-09-25 Michael Koch <konqueror@gmx.de>
8041
8042 * java/net/DatagramPacket
8043 (DatagramPacket): Exception documentation added.
8044 (setData): Likewise.
8045 (setSocketAddress): Likewise.
8046 * java/net/DatagramSocketImpl.java
8047 (peek): Documentation addded.
8048 (peekData): Documentation addded.
8049 (send): Documentation addded.
8050 (receive): Documentation addded.
8051 (connect): New method.
8052 (disconnect): New method.
8053 (joinGroup): New abstract method.
8054 (leaveGroup): New abstract method.
8055 * java/net/InetSocketAddress.java
8056 (InetSocketAddress): Documentation added.
8057 (equals): final keyword added.
8058 (getAddress): final keyword added.
8059 (getHostName): final keyword added.
8060 (getPort): final keyword added.
8061 (hashCode): final keyword added.
8062 (isUnresolved): final keyword added.
8063 * java/net/MulticastSocket.java
8064 (MulticastSocket): Documentation added.
8065 (MulticastSocket): New method.
8066 (joinGroup): Documentation added.
8067 (joinGroup): New method.
8068 (leaveGroup): Documentation added.
8069 (leaveGroup): New method.
8070 (send): Documentation added.
8071 * java/net/NetworkInterface.java
8072 (getByName): Documentation added.
8073 (getByInetAddress): Documentation added.
8074 (getNetworkInterfaces): Documentation added.
8075 * java/net/PlainDatagramSocketImpl.java
8076 (connect): New method.
8077 (disconnect): New method.
8078 * java/net/SocketImpl.java
8079 (create): Documentation added.
8080 (shutdownInput): Convert public to protected, as it always was.
8081 (shutdownOutput): Convert public to protected, as it always was.
8082 * java/net/SocketOptions.java
8083 (whole file): Reintented.
8084 * java/net/URLClassLoader.java
8085 (URLClassLoader): SecurityManager check added, documentation added.
8086 (findResources): Documentation added.
8087 (findClass): Documentation added.
8088 (newInstance): More correct method arguments.
8089 * java/net/URLConnection.java
8090 (connect): Documentation added.
8091 (getContent): Documentation added.
8092 (getPermission): Documentation added.
8093 (getInputStream): Documentation added.
8094 (getOutputStream): Documentation added.
8095 (setDoInput): Throw correct exception, documentation added.
8096 (setDoOutput): Throw correct exception, documentation added.
8097 (setAllowUserInteraction): Throw correct exception, documentation added.
8098 (setUseCaches): Throw correct exception, documentation added.
8099 (setIfModifiedSince): Throw correct exception, documentation added.
8100 (setRequestProperty): Throw exception, documentation added.
8101 (addRequestProperty): Throw exception, documentation added.
8102 (getRequestProperty): Throw exception, documentation added.
8103 (getRequestProperties): Documentation added.
8104 (setContentHandlerFactory): Documentation added.
8105 (guessContentTypeFromName): protected to public.
8106 (setFileNameMap): Documentation added.
8107 * java/net/URLDecoder.java
8108 (URLDecoder): New method.
8109 (decode): Documentation added.
8110 (whole file): Reindented.
8111 * java/net/URLEncoder.java
8112 (encode): Documentation added.
8113 * java/net/natPlainDatagramSocketImpl.cc
8114 (connect): New method.
8115 (disconnect): New method.
8116 * javax/naming/RefAddr:
8117 (addrType): addrType was never final.
8118 (equals): Fix typo in method name.
8119 * javax/naming/BinaryRefAddr:
8120 (equals): Fix typo in method name.
8121
8122 2002-09-22 Tom Tromey <tromey@redhat.com>
8123
8124 Fix for PR libgcj/6576:
8125 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
8126 didn't find a given bundle.
8127 (getBundle): Don't require base bundle.
8128 (setParent): Removed old comment.
8129 (tryLocalBundle): Try components even if preceding components were
8130 empty.
8131
8132 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8133
8134 * Makefile.am (all-multi): Fix multilib parallel build.
8135
8136 2002-09-21 Michael Koch <konqueror@gmx.de>
8137
8138 * java/net/Socket.java
8139 (sendUrgentData): New method.
8140 (getChannel): New method.
8141 * java/net/ServerSocket.java
8142 (getChannel): New method.
8143 (isBound): New method.
8144 * java/net/DatagramSocket.java
8145 (DatagramSocket): Two new methods.
8146 (bind): New method.
8147 (getChannel): New method.
8148 (isBound): New method.
8149 (send): Added newline to to make shorter lines.
8150 * java/net/PlainDatagramSocketImpl.java
8151 (mcastGrp): Added argument.
8152 (join): Use new mcastGrp.
8153 (leave): Use new mcastGrp.
8154 (joinGroup): New method.
8155 (leaveGroup): New method.
8156 * java/net/natPlainDatagramSocketImpl.cc
8157 (mcastGrp): Added argument, no yet really implemented.
8158 (getOption): Added newline for shorter lines.
8159 * java/net/natPlainSocketImpl.cc
8160 (read, setOption, getOption): Added newline for shorter lines.
8161
8162 2002-09-19 Tom Tromey <tromey@redhat.com>
8163
8164 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8165 newly-created exception.
8166
8167 2002-09-18 Michael Koch <konqueror@gmx.de>
8168
8169 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8170 java/util/regex/PatternSyntaxException.java:
8171 Merge with classpath, new files.
8172 * Makefile.am (core_java_source_files):
8173 Added java/util/regex/Matcher.java,
8174 java/util/regex/Pattern.java,
8175 java/util/regex/PatternSyntaxException.java
8176 * Makefile.in: Regenerated.
8177 * include/config.h.in: Added HAVE_NET_IF_H.
8178 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8179 Removed #if 0 ... #endif.
8180
8181 2002-09-17 Michael Koch <konqueror@gmx.de>
8182
8183 * java/net/natNetworkInterface.cc:
8184 Removed unneed and yet wrong includes.
8185
8186 2002-09-17 Michael Koch <konqueror@gmx.de>
8187
8188 * java/net/NetworkInterface.java: New file.
8189 * java/net/natNetworkInterface.java: New file.
8190 * configure.in: Added check for net/if.h.
8191 * configure: Regenerated.
8192 * Makefile.am
8193 (ordinary_java_source_files): Added NetworkInterface.java.
8194 (nat_source_files): Added natNetworkInterface.cc.
8195 * Makefile.in: Regenerated.
8196
8197 2002-09-16 Tom Tromey <tromey@redhat.com>
8198
8199 * java/net/URLClassLoader.java (findClass): Code source for a
8200 class from a jar is not necessarily a jar: URL.
8201
8202 2002-09-16 Michael Koch <konqueror@gmx.de>
8203
8204 * java/lang/AssertionError.java:
8205 Merge with classpath, fixes HTML.
8206 * java/rmi/server/LogStream.java:
8207 Merge with classpath, fixes some constants.
8208 * java/net/server/RemoteServer.java:
8209 Merge with classpath, adds serialVersionUID.
8210 * javax/naming/BinaryRefAddr.java:
8211 Merge with classpath, s/equal/equals/.
8212 * javax/naming/NamingException.java:
8213 Merge with classpath, fixed typo.
8214 * javax/naming/RefAddr.java:
8215 Merge with classpath, s/equal/equals/.
8216 * java/awt/Toolkit.java:
8217 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8218 and typo fixed.
8219
8220 2002-09-15 Adam Megacz <adam@xwt.org>
8221
8222 * java/net/natPlainSocketImpl.cc: fixed typo.
8223
8224 2002-09-15 Adam Megacz <adam@xwt.org>
8225
8226 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8227 which don't work on Win32 (yet).
8228
8229 2002-09-14 Adam Megacz <adam@xwt.org>
8230
8231 * java/net/natPlainDatagramSocket.cc: removed #include
8232 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8233 * include/win32.h: included definition for IP_TOS to satisfy
8234 natPlainDatagramSocket.cc
8235
8236 2002-09-13 Michael Koch <konqueror@gmx.de>
8237
8238 * java/net/DatagramPacket.java (DatagramPacket):
8239 Added linebreak for 80 chars per line.
8240 * java/net/JarURLConection.java
8241 (getInputStreami, getJarEntry): Likewise.
8242 * java/net/SocketPErmission.java
8243 (SocketPermission class docu, implies): Likewise.
8244 * java/net/URLClassLoader.java (findResources): Likewise.
8245 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8246
8247 2002-09-13 Michael Koch <konqueror@gmx.de>
8248
8249 * java/nio/channels/DatagramChannel.java,
8250 java/nio/channels/ServerSocketChannel.java
8251 java/nio/channels/SocketChannel.java:
8252 New dummy files to make java.net fully JDK 1.4 compatible
8253 * Makefile.am (ordinary_java_source_files): Added
8254 java/net/DatagramSocketImplFactory.java (long forgotten),
8255 java/nio/SocketChannel.java,
8256 java/nio/ServerSocketChannel.java,
8257 java/nio/DatagramChannel.java
8258 * Makefile.in: Regenrated.
8259
8260 2002-09-12 Michael Koch <konqueror@gmx.de>
8261
8262 * java/net/DatagramSocketImpl.java
8263 (peekData): New method.
8264 * java/net/PlainDatagramSocketImpl.java
8265 (peekData): New method.
8266 * java/net/natPlainDatagramSocketImpl.cc
8267 (peekData): New method.
8268 * java/net/URLConnection
8269 (getPermission): New method.
8270 (addRequestProperty): New method.
8271 (getRequestProperties): New method.
8272 (guessContentTypeFromStream): New method, not really implemented.
8273 (URLConnection): Added/updated documentation.
8274 (connect): Added/updated documentation.
8275 (getURL): Added/updated documentation.
8276 (getContentLength): Added/updated documentation.
8277 (getContentType: Added/updated documentation.
8278 (getContentEncoding): Added/updated documentation.
8279 (getExpiration): Added/updated documentation.
8280 (getDate): Added/updated documentation.
8281 (getLastModified): Added/updated documentation.
8282 (getHeaderField): Added/updated documentation.
8283 (getHeaderFields): Added/updated documentation.
8284 (getHeaderFieldInt): Added/updated documentation.
8285 (getHeaderFieldDate): Added/updated documentation.
8286 (getHeaderFieldKey): Added/updated documentation.
8287 (getContent): Added/updated documentation.
8288 (getInputStream): Added/updated documentation.
8289 (getOutputStream): Added/updated documentation.
8290 (toString): Added/updated documentation.
8291 (setDoInput): Added/updated documentation.
8292 (getDoInput): Added/updated documentation.
8293 (setDoOutput): Added/updated documentation.
8294 (getDoOutput): Added/updated documentation.
8295 (setAllowUserInteraction): Added/updated documentation.
8296 (getAllowUserInteraction): Added/updated documentation.
8297 (setDefaultAllowUserInteraction): Added/updated documentation.
8298 (getDefaultAllowUserInteraction): Added/updated documentation.
8299 (setUseCaches): Added/updated documentation.
8300 (getUseCaches): Added/updated documentation.
8301 (setIfModifiedSince): Added/updated documentation.
8302 (getIfModifiedSince): Added/updated documentation.
8303 (getDefaultUseCaches): Added/updated documentation.
8304 (setDefaultUseCaches): Added/updated documentation.
8305 (setRequestProperty): Added/updated documentation.
8306 (getRequestProperty): Added/updated documentation.
8307 (setDefaultRequestProperty): Added/updated documentation.
8308 (getDefaultRequestProperty): Added/updated documentation.
8309 (setContentHandlerFactory): Added/updated documentation.
8310 (guessContentTypeFromName): Added/updated documentation.
8311 (getFileNameMap): Added/updated documentation.
8312 (setFileNameMap): Added/updated documentation.
8313
8314 2002-09-11 Michael Koch <konqueror@gmx.de>
8315
8316 * java/net/Socket.java
8317 (Socket): protected to public (since JDK 1.4). Added @specnote.
8318 (bind): New method.
8319 (connect): Two new methods.
8320 (getKeepalive): Get correct socket option.
8321 (setKeepalive): Set correct socket option.
8322 (getOOBInline): New method.
8323 (setOOBInline): New method.
8324 * java/net/ServerSocket.java
8325 (bind): Two new methods.
8326 (getInetAddress): Reimplemented, catch exception.
8327 (getLocalSocketAddress): New method.
8328 (setReuseAddress): New method.
8329 (getReuseAdress): New method.
8330 (setReceiveBufferSize): New method.
8331 (getReceiveBufferSize): New method.
8332 (toString): Made string JDK 1.4 compliant.
8333
8334 2002-09-10 Michael Koch <konqueror@gmx.de>
8335
8336 * java/net/SocketImpl.java
8337 (connect): New method.
8338 (supportsUrgentData): New method.
8339 (sendUrgentData): New method.
8340 * java/net/PlainSocketImpl.java
8341 (connect): One new method and two new implementation.
8342 (sendUrgentData): New method.
8343 * java/natPlainSocketImpl.cc
8344 (connect): Arguments changed, added support for timeouts.
8345 (getOption): Another __java_boolean to jboolean.
8346
8347 2002-09-07 Adam Megacz <adam@xwt.org>
8348
8349 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8350 definition of IP_TOS.
8351
8352 2002-09-04 Michael Koch <konqueror@gmx.de>
8353
8354 * java/net/DatagramSocket.java
8355 (DatagramSocket): Added documentation.
8356 (close): Likewise.
8357 (getLocalAddress): Likewise.
8358 (getLocalPort): Likewise.
8359 (receive): Likewise.
8360 (send): Likewise.
8361 (setSoTimeout): Likewise.
8362 (connect): New method.
8363 (disconnect): New method.
8364 (getInetAddress): New method (FIXME)
8365 (getPort): New method.
8366 (setReuseAddress): New method.
8367 (getReuseAddress): New method.
8368 (setBroadcast): New method.
8369 (getBroadcast): New method.
8370 (setTrafficClass): New method.
8371 (getTrafficClass): New method.
8372 * java/net/MulticastSocket.java):
8373 (getTTL): Added @see in documentation.
8374 (setTTL): Added @see in documentation.
8375 (setLoopbackMode): New method.
8376 (getLoopbackMode): New method.
8377 * java/net/PlainSocketImpl.java:
8378 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8379 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8380 * java/net/PlainDatagramSocketImpl.java
8381 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8382 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8383 * java/net/natPlainSocketImpl.cc
8384 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8385 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8386 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8387 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8388 This should also fix SO_KEEPALIVE
8389 * java/net/natPlainDatagramSocketImpl.cc
8390 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8391 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8392 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8393 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8394
8395 2002-09-04 Michael Koch <konqueror@gmx.de>
8396
8397 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8398 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8399 IP_MULTICAST_LOOP, IP_TOS
8400
8401 2002-09-03 Tom Tromey <tromey@redhat.com>
8402
8403 * java/lang/Class.h (_getDeclaredMethod): Declare.
8404 (_getMethod): Now private.
8405 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8406 getDeclaredMethod. Now returns NULL on failure.
8407 * java/lang/Class.java (_getDeclaredMethod): Declare.
8408 (getDeclaredMethod): No longer native; implements access checks.
8409
8410 2002-09-01 Mark Wielaard <mark@klomp.org>
8411
8412 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8413 (sanitizeStack): Correctly reset unknown and interpreter counters,
8414 detect interpreter runtime frames.
8415 (demangleInterpreterMethod): New method.
8416 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8417 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8418 filling in addrs[].
8419
8420 2002-09-02 Michael Koch <konqueror@gmx.de>
8421
8422 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8423 re-indented documentation.
8424
8425 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8426
8427 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8428 public, per 1.4 spec. Fixes PR libgcj/7785.
8429
8430 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8431
8432 * Makefile.in: Rebuilt.
8433 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8434
8435 2002-08-29 Tom Tromey <tromey@redhat.com>
8436
8437 * java/net/JarURLConnection.java (getCertificates): New method
8438 from Classpath.
8439 * java/net/URLClassLoader.java (URLClassLoader): Extends
8440 SecureClassLoader.
8441 (definePackage): New method from Classpath.
8442 (getPermissions): Likewise.
8443 (newInstance): Likewise.
8444 (findClass): Construct CodeSource for new class (from Classpath).
8445 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8446 methods.
8447 * java/net/URL.java (getUserInfo): New method.
8448 (set(String,String,int,String,String,String,String,String)): New
8449 method.
8450 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8451 (shutdownInput, shutdownOutput): Declare.
8452 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8453 Define.
8454 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8455 (getOption): Likewise.
8456 (shutdownInput): New method.
8457 (shutdownOutput): Likewise.
8458 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8459 keepalive.
8460 (getOption): Likewise.
8461 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8462 * java/net/Socket.java (setKeepAlive): New method.
8463 (getKeepAlive): Likewise.
8464 (shutdownInput, shutdownOutput): New methods.
8465
8466 2002-08-29 Michael Koch <konqueror@gmx.de>
8467
8468 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8469 new methods are:
8470 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8471 address),
8472 DatagramPacket(byte[] buf, int length, SocketAddress address),
8473 void setSocketAddress(SocketAddress address)
8474 public SocketAddress getSocketAddress()
8475
8476 2002-08-29 Tom Tromey <tromey@redhat.com>
8477
8478 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8479 ftruncate is missing.
8480 * configure, include/config.h.in: Rebuilt.
8481 * acconfig.h (HAVE_FTRUNCATE): Mention.
8482 * configure.in: Check for ftruncate.
8483
8484 2002-08-29 Tom Tromey <tromey@redhat.com>
8485
8486 * include/jvm.h (struct _Jv_frame_info): New structure.
8487 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8488 java-interp.h.
8489 (lookupInterp): New method.
8490 (getAddrAsString): Use _Jv_frame_info.
8491 (dladdrLookup): Likewise.
8492 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8493 interpreted frame.
8494 (lookupInterp): Declare.
8495 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8496 (fillInStackTrace): Collect information on interpreted frames.
8497 Use _Jv_frame_info.
8498 * interpret.cc: Include Thread.h.
8499 (run): Create and push _Jv_MethodChain object.
8500 (_Jv_EndOfInterpreter): New global.
8501 * java/lang/Thread.java (interp_frame): New field.
8502 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8503 Include NameFinder.h.
8504
8505 2002-08-28 Tom Tromey <tromey@redhat.com>
8506
8507 * java/lang/Class.h: Include Package.h.
8508 (Class::getProtectionDomain): Declare.
8509 (Class::getPackage): Declare.
8510
8511 2002-08-28 Michael Koch <konqueror@gmx.de>
8512
8513 * java/net/InetSocketAddress.java: Added some documentation and argument
8514 checks for the port numbers.
8515 * java/net/DatagramSocketImplFactory.java: New file.
8516
8517 2002-08-28 Michael Koch <konqueror@gmx.de>
8518
8519 * java/net/Authenticator.java: added some documentation.
8520
8521 2002-08-27 Tom Tromey <tromey@redhat.com>
8522
8523 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8524 class.
8525 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8526
8527 2002-08-27 Michael Koch <konqueror@gmx.de>
8528
8529 * java/net/BindException.java,
8530 java/net/JarURLConnection.java,
8531 java/net/FileNameMap.java,
8532 java/net/HttpURLConnection.java,
8533 java/net/InetSocketAddress.java,
8534 java/net/DatagramPacket.java,
8535 java/net/DatagramSocket.java,
8536 java/net/DatagramSocketImpl.java,
8537 java/net/MulticastSocket.java,
8538 java/net/PasswordAuthentication.java,
8539 java/net/ServerSocket.java,
8540 java/net/Socket.java,
8541 java/net/URLClassLoader.java,
8542 java/net/URLConnection.java: add/update of some @since/@deprecated
8543
8544 2002-08-27 Tony Kimball <alk@pobox.com>
8545 Tom Tromey <tromey@redhat.com>
8546
8547 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8548 define.
8549 (::close): Removed.
8550 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8551 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8552 (::close): Removed.
8553 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8554 * include/win32.h (getcwd): Removed declaration. Include io.h.
8555
8556 2002-08-25 Adam Megacz <adam@xwt.org>
8557
8558 * include/win32.h (getcwd): copied function declaration as
8559 temporary fix for header confusion.
8560
8561 2002-08-24 Mark Wielaard <mark@klomp.org>
8562
8563 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8564 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8565 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8566 and natNameFinder.cc.
8567 * Makefile.in: Regenerate.
8568 * prims.cc: Use trace_enabled from VMThrowable.
8569 * name-finder.cc: Removed.
8570 * gcj/javaprims.h: Add class VMThrowable.
8571 * gnu/gcj/runtime/NameFinder.java: New file.
8572 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8573 * include/name-finder.h: Removed.
8574 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8575 method stackTraceString().
8576 (printStackTrace (PrintWriter)): Likewise.
8577 (stackTraceString): Complete rewrite of old printStackTrace using
8578 StringBuffer.
8579 (stackTraceStringBuffer): New helper method for stackTraceString().
8580 (fillInStackTrace): Delegate to VMTrowable.
8581 (getStackTrace): Likewise.
8582 (getStackTrace0): Removed.
8583 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8584 (setStackTrace): Copy given array.
8585 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8586 * java/lang/VMThrowable.java: New class.
8587 * java/lang/natVMThrowable.cc: New file.
8588
8589 2003-08-23 Michael Koch <konqueror@gmx.de>
8590
8591 * java/net/URLConnection.java,
8592 java/netJarURLConnection.java,
8593 gnu/gcj/protocol/core/Connection.java,
8594 gnu/gcj/protocol/file/Connection.java,
8595 gnu/gcj/protocol/http/Connection.java: Added implementation of
8596 getHeaderFields().
8597
8598 2002-08-22 Tom Tromey <tromey@redhat.com>
8599
8600 * gij.cc (help): Document -cp and -classpath.
8601 (main): Handle -classpath.
8602
8603 2002-08-21 Tom Tromey <tromey@redhat.com>
8604
8605 * Makefile.in: Rebuilt.
8606 * Makefile.am (ordinary_java_source_files): Added
8607 SocketAddress.java, InetSocketAddress.java.
8608 * java/net/PortUnreachableException.java: Merged with Classpath.
8609 * java/net/SocketTimeoutException.java: Likewise.
8610 * java/net/URISyntaxException.java: Likewise.
8611 * java/net/SocketAddress.java: New class from Classpath.
8612 * java/net/InetSocketAddress.java: Likewise.
8613
8614 2003-08-21 Michael Koch <konqueror@gmx.de>
8615
8616 * java/net/Authenticator.java: updated JDK 1.4
8617 * java/net/ContentHandler.java: updated JDK 1.4
8618
8619 2002-08-20 Michael Koch <konqueror@gmx.de>
8620
8621 * java/net/URISyntaxException.java: New file.
8622 * java/net/SocketTimeoutException.java: New file.
8623 * java/net/PortUnreachableException.java: New file.
8624 * Makefile.am: Updated.
8625 * Makefile.in: Rebuilt.
8626
8627 2002-08-18 Mark Wielaard <mark@klomp.org>
8628
8629 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8630 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8631 MessageDigestSpi (fixes Classpath bug #783).
8632
8633 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8634
8635 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8636 (startProcess): Allocate path for chdir in async-signal-safe way.
8637
8638 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8639
8640 Fix for PR libgcj/7570 and PR libgcj/7578:
8641 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8642 (startProcess): Handle new `dir' argument.
8643 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8644 argument.
8645 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8646 argument.
8647 (startProcess): Likewise.
8648 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8649 argument.
8650 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8651 (exec): Don't create new environment if ENV==null. Pass DIR to
8652 execInternal.
8653 * java/lang/natRuntime.cc: Include java/io/File.h.
8654 (execInternal): Added `dir' argument.
8655
8656 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8657
8658 * java/io/RandomAccessFile.java (skipBytes): Return number of
8659 bytes skipped.
8660
8661 2002-08-01 Mark Wielaard <mark@klomp.org>
8662
8663 Reenable patch since shared library troubles on powerpc are solved:
8664 * gnu/java/security/provider/Gnu.java: Reference all implementation
8665 classes by using Class.getName().
8666 * gnu/java/security/der/DEREncodingException.java,
8667 gnu/java/security/provider/DERReader.java,
8668 gnu/java/security/provider/DERWriter.java,
8669 gnu/java/security/provider/DSAKeyPairGenerator.java,
8670 gnu/java/security/provider/DSAParameterGenerator.java,
8671 gnu/java/security/provider/DSAParameters.java,
8672 gnu/java/security/provider/DSASignature.java,
8673 gnu/java/security/provider/GnuDSAPrivateKey.java,
8674 gnu/java/security/provider/GnuDSAPublicKey.java,
8675 gnu/java/security/provider/MD5.java,
8676 gnu/java/security/util/Prime.java: New classes
8677 * Makefile.am (ordinary_java_source_files): Add above files.
8678 * Makefile.in: Regenerate.
8679 * gnu/java/security/provider/DefaultPolicy.java
8680 (getPermissions): Don't maintain static class variable of Permissions.
8681 * gnu/java/security/provider/SHA.java
8682 (engineUpdate): algorithm change.
8683 (engineDigest): algorithm change.
8684
8685 2002-08-09 Mark Wielaard <mark@klomp.org>
8686
8687 * java/awt/image/MemoryImageSource.java: Change constructor to take
8688 int[] not byte[].
8689 * java/awt/Graphics2D.java: Uncomment methods that can now be
8690 compiled.
8691 * java/awt/GridBagLayout.java: New stub implementation.
8692 * javax/swing/text/html/HTML.java: Stub implementation.
8693 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8694 implementation.
8695
8696 * Makefile.am: Add new files.
8697 * Makefile.in: Rebuilt.
8698
8699 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8700
8701 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8702 methods in Graphics2D.
8703
8704 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8705
8706 AWT/Swing merge from GNU Classpath.
8707
8708 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8709 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8710 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8711 java/awt/color/ProfileDataException.java,
8712 java/awt/CompositeContext.java, java/awt/Composite.java,
8713 java/awt/ContainerOrderFocusTraversalPolicy.java,
8714 java/awt/datatransfer/FlavorTable.java,
8715 java/awt/DefaultFocusTraversalPolicy.java,
8716 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8717 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8718 java/awt/dnd/DragGestureListener.java,
8719 java/awt/dnd/DragGestureRecognizer.java,
8720 java/awt/dnd/DragSourceAdapter.java,
8721 java/awt/dnd/DragSourceContext.java,
8722 java/awt/dnd/DragSourceDragEvent.java,
8723 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8724 java/awt/dnd/DragSourceListener.java,
8725 java/awt/dnd/DragSourceMotionListener.java,
8726 java/awt/dnd/DropTarget.java,
8727 java/awt/dnd/InvalidDnDOperationException.java,
8728 java/awt/dnd/peer/DragSourceContextPeer.java,
8729 java/awt/event/AWTEventListenerProxy.java,
8730 java/awt/event/MouseWheelEvent.java,
8731 java/awt/event/MouseWheelListener.java,
8732 java/awt/event/WindowFocusListener.java,
8733 java/awt/event/WindowStateListener.java,
8734 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8735 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8736 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8737 java/awt/geom/FlatteningPathIterator.java,
8738 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8739 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8740 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8741 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8742 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8743 java/awt/image/ImagingOpException.java,
8744 java/awt/image/RasterFormatException.java,
8745 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8746 java/awt/image/VolatileImage.java,
8747 java/awt/image/WritableRenderedImage.java,
8748 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8749 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8750 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8751 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8752 java/awt/PageAttributes.java, java/awt/print/Book.java,
8753 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8754 java/awt/print/Paper.java, java/awt/print/Printable.java,
8755 java/awt/print/PrinterAbortException.java,
8756 java/awt/print/PrinterException.java,
8757 java/awt/print/PrinterGraphics.java,
8758 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8759 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8760 java/awt/Stroke.java, java/awt/TexturePaint.java,
8761 javax/accessibility/AccessibleAction.java,
8762 javax/accessibility/AccessibleBundle.java,
8763 javax/accessibility/AccessibleComponent.java,
8764 javax/accessibility/AccessibleContext.java,
8765 javax/accessibility/AccessibleEditableText.java,
8766 javax/accessibility/AccessibleExtendedComponent.java,
8767 javax/accessibility/AccessibleExtendedTable.java,
8768 javax/accessibility/AccessibleHyperlink.java,
8769 javax/accessibility/AccessibleHypertext.java,
8770 javax/accessibility/AccessibleIcon.java,
8771 javax/accessibility/Accessible.java,
8772 javax/accessibility/AccessibleKeyBinding.java,
8773 javax/accessibility/AccessibleRelation.java,
8774 javax/accessibility/AccessibleRelationSet.java,
8775 javax/accessibility/AccessibleResourceBundle.java,
8776 javax/accessibility/AccessibleRole.java,
8777 javax/accessibility/AccessibleSelection.java,
8778 javax/accessibility/AccessibleState.java,
8779 javax/accessibility/AccessibleStateSet.java,
8780 javax/accessibility/AccessibleTable.java,
8781 javax/accessibility/AccessibleTableModelChange.java,
8782 javax/accessibility/AccessibleText.java,
8783 javax/accessibility/AccessibleValue.java,
8784 javax/swing/AbstractAction.java,
8785 javax/swing/AbstractButton.java,
8786 javax/swing/AbstractCellEditor.java,
8787 javax/swing/AbstractListModel.java,
8788 javax/swing/AbstractSet.java, javax/swing/Action.java,
8789 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8790 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8791 javax/swing/border/CompoundBorder.java,
8792 javax/swing/border/EmptyBorder.java,
8793 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8794 javax/swing/border/LineBorder.java,
8795 javax/swing/border/MatteBorder.java,
8796 javax/swing/border/TitledBorder.java,
8797 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8798 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8799 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8800 javax/swing/CellRendererPane.java,
8801 javax/swing/colorchooser/AbstractColorChooserPanel.java,
8802 javax/swing/colorchooser/ColorChooserComponentFactory.java,
8803 javax/swing/colorchooser/ColorSelectionModel.java,
8804 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8805 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8806 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8807 javax/swing/DefaultBoundedRangeModel.java,
8808 javax/swing/DefaultButtonModel.java,
8809 javax/swing/DefaultCellEditor.java,
8810 javax/swing/DefaultCellRenderer.java,
8811 javax/swing/DefaultComboBoxModel.java,
8812 javax/swing/DefaultDesktopManager.java,
8813 javax/swing/DefaultFocusManager.java,
8814 javax/swing/DefaultListCellRenderer.java,
8815 javax/swing/DefaultListModel.java,
8816 javax/swing/DefaultListSelectionModel.java,
8817 javax/swing/DefaultSingleSelectionModel.java,
8818 javax/swing/DesktopManager.java,
8819 javax/swing/event/AncestorEvent.java,
8820 javax/swing/event/AncestorListener.java,
8821 javax/swing/event/CaretEvent.java,
8822 javax/swing/event/CaretListener.java,
8823 javax/swing/event/CellEditorListener.java,
8824 javax/swing/event/ChangeEvent.java,
8825 javax/swing/event/ChangeListener.java,
8826 javax/swing/event/DocumentEvent.java,
8827 javax/swing/event/DocumentListener.java,
8828 javax/swing/event/EventListenerList.java,
8829 javax/swing/event/HyperlinkEvent.java,
8830 javax/swing/event/HyperlinkListener.java,
8831 javax/swing/event/InternalFrameAdapter.java,
8832 javax/swing/event/InternalFrameEvent.java,
8833 javax/swing/event/InternalFrameListener.java,
8834 javax/swing/event/ListDataEvent.java,
8835 javax/swing/event/ListDataListener.java,
8836 javax/swing/event/ListSelectionEvent.java,
8837 javax/swing/event/ListSelectionListener.java,
8838 javax/swing/event/MenuDragMouseEvent.java,
8839 javax/swing/event/MenuDragMouseListener.java,
8840 javax/swing/event/MenuEvent.java,
8841 javax/swing/event/MenuKeyEvent.java,
8842 javax/swing/event/MenuKeyListener.java,
8843 javax/swing/event/MenuListener.java,
8844 javax/swing/event/MouseInputAdapter.java,
8845 javax/swing/event/MouseInputListener.java,
8846 javax/swing/event/PopupMenuEvent.java,
8847 javax/swing/event/PopupMenuListener.java,
8848 javax/swing/event/SwingPropertyChangeSupport.java,
8849 javax/swing/event/TableColumnModelEvent.java,
8850 javax/swing/event/TableColumnModelListener.java,
8851 javax/swing/event/TableModelEvent.java,
8852 javax/swing/event/TableModelListener.java,
8853 javax/swing/event/TreeExpansionEvent.java,
8854 javax/swing/event/TreeExpansionListener.java,
8855 javax/swing/event/TreeModelEvent.java,
8856 javax/swing/event/TreeModelListener.java,
8857 javax/swing/event/TreeSelectionEvent.java,
8858 javax/swing/event/TreeSelectionListener.java,
8859 javax/swing/event/TreeWillExpandListener.java,
8860 javax/swing/event/UndoableEditEvent.java,
8861 javax/swing/event/UndoableEditListener.java,
8862 javax/swing/filechooser/FileFilter.java,
8863 javax/swing/filechooser/FileSystemView.java,
8864 javax/swing/filechooser/FileView.java,
8865 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8866 javax/swing/Icon.java, javax/swing/ImageIcon.java,
8867 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8868 javax/swing/JApplet.java, javax/swing/JButton.java,
8869 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8870 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8871 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8872 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8873 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8874 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8875 javax/swing/JLayeredPane.java, javax/swing/JList.java,
8876 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8877 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8878 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8879 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8880 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8881 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8882 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8883 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8884 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8885 javax/swing/JTextField.java, javax/swing/JTextPane.java,
8886 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8887 javax/swing/JToolTip.java, javax/swing/JTree.java,
8888 javax/swing/JViewport.java, javax/swing/JWindow.java,
8889 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8890 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8891 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8892 javax/swing/MenuSelectionManager.java,
8893 javax/swing/MutableComboBoxModel.java,
8894 javax/swing/OverlayLayout.java,
8895 javax/swing/plaf/ActionMapUIResource.java,
8896 javax/swing/plaf/basic/BasicBorders.java,
8897 javax/swing/plaf/basic/BasicButtonUI.java,
8898 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8899 javax/swing/plaf/basic/BasicDefaults.java,
8900 javax/swing/plaf/basic/BasicGraphicsUtils.java,
8901 javax/swing/plaf/basic/BasicIconFactory.java,
8902 javax/swing/plaf/basic/BasicLabelUI.java,
8903 javax/swing/plaf/basic/BasicListUI.java,
8904 javax/swing/plaf/basic/BasicLookAndFeel.java,
8905 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8906 javax/swing/plaf/basic/BasicPanelUI.java,
8907 javax/swing/plaf/basic/BasicRadioButtonUI.java,
8908 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8909 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8910 javax/swing/plaf/basic/BasicTextUI.java,
8911 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8912 javax/swing/plaf/basic/BasicTreeUI.java,
8913 javax/swing/plaf/basic/BasicViewportUI.java,
8914 javax/swing/plaf/BorderUIResource.java,
8915 javax/swing/plaf/ButtonUI.java,
8916 javax/swing/plaf/ColorChooserUI.java,
8917 javax/swing/plaf/ColorUIResource.java,
8918 javax/swing/plaf/ComboBoxUI.java,
8919 javax/swing/plaf/ComponentInputMapUIResource.java,
8920 javax/swing/plaf/ComponentUI.java,
8921 javax/swing/plaf/DesktopIconUI.java,
8922 javax/swing/plaf/DesktopPaneUI.java,
8923 javax/swing/plaf/DimensionUIResource.java,
8924 javax/swing/plaf/FileChooserUI.java,
8925 javax/swing/plaf/FontUIResource.java,
8926 javax/swing/plaf/IconUIResource.java,
8927 javax/swing/plaf/InputMapUIResource.java,
8928 javax/swing/plaf/InsetsUIResource.java,
8929 javax/swing/plaf/InternalFrameUI.java,
8930 javax/swing/plaf/LabelUI.java,
8931 javax/swing/plaf/ListUI.java,
8932 javax/swing/plaf/MenuBarUI.java,
8933 javax/swing/plaf/MenuItemUI.java,
8934 javax/swing/plaf/OptionPaneUI.java,
8935 javax/swing/plaf/PanelUI.java,
8936 javax/swing/plaf/PopupMenuUI.java,
8937 javax/swing/plaf/ProgressBarUI.java,
8938 javax/swing/plaf/RootPaneUI.java,
8939 javax/swing/plaf/ScrollBarUI.java,
8940 javax/swing/plaf/ScrollPaneUI.java,
8941 javax/swing/plaf/SeparatorUI.java,
8942 javax/swing/plaf/SliderUI.java,
8943 javax/swing/plaf/SplitPaneUI.java,
8944 javax/swing/plaf/TabbedPaneUI.java,
8945 javax/swing/plaf/TableHeaderUI.java,
8946 javax/swing/plaf/TableUI.java,
8947 javax/swing/plaf/TextUI.java,
8948 javax/swing/plaf/ToolBarUI.java,
8949 javax/swing/plaf/ToolTipUI.java,
8950 javax/swing/plaf/TreeUI.java,
8951 javax/swing/plaf/UIResource.java,
8952 javax/swing/plaf/ViewportUI.java,
8953 javax/swing/ProgressMonitorInputStream.java,
8954 javax/swing/ProgressMonitor.java,
8955 javax/swing/Renderer.java,
8956 javax/swing/RepaintManager.java,
8957 javax/swing/RootPaneContainer.java,
8958 javax/swing/Scrollable.java,
8959 javax/swing/ScrollPaneConstants.java,
8960 javax/swing/ScrollPaneLayout.java,
8961 javax/swing/SingleSelectionModel.java,
8962 javax/swing/SizeRequirements.java,
8963 javax/swing/SizeSequence.java,
8964 javax/swing/SwingConstants.java,
8965 javax/swing/SwingUtilities.java,
8966 javax/swing/table/AbstractTableModel.java,
8967 javax/swing/table/DefaultTableCellRenderer.java,
8968 javax/swing/table/DefaultTableColumnModel.java,
8969 javax/swing/table/DefaultTableModel.java,
8970 javax/swing/table/TableCellEditor.java,
8971 javax/swing/table/TableCellRenderer.java,
8972 javax/swing/table/TableColumn.java,
8973 javax/swing/table/TableColumnModel.java,
8974 javax/swing/table/TableModel.java,
8975 javax/swing/text/AbstractDocument.java,
8976 javax/swing/text/AttributeSet.java,
8977 javax/swing/text/BadLocationException.java,
8978 javax/swing/text/Caret.java,
8979 javax/swing/text/CharacterIterator.java,
8980 javax/swing/text/ComponentView.java,
8981 javax/swing/text/DefaultCaret.java,
8982 javax/swing/text/DefaultEditorKit.java,
8983 javax/swing/text/Document.java,
8984 javax/swing/text/EditorKit.java,
8985 javax/swing/text/Element.java,
8986 javax/swing/text/GapContent.java,
8987 javax/swing/text/JTextComponent.java,
8988 javax/swing/text/Keymap.java,
8989 javax/swing/text/MutableAttributeSet.java,
8990 javax/swing/text/PlainDocument.java,
8991 javax/swing/text/PlainEditorKit.java,
8992 javax/swing/text/Position.java,
8993 javax/swing/text/Segment.java,
8994 javax/swing/text/StyledDocument.java,
8995 javax/swing/text/StyledEditorKit.java,
8996 javax/swing/text/Style.java,
8997 javax/swing/text/TextAction.java,
8998 javax/swing/text/ViewFactory.java,
8999 javax/swing/text/View.java,
9000 javax/swing/Timer.java,
9001 javax/swing/ToggleButtonModel.java,
9002 javax/swing/ToolTipManager.java,
9003 javax/swing/tree/AbstractLayoutCache.java,
9004 javax/swing/tree/DefaultMutableTreeNode.java,
9005 javax/swing/tree/DefaultTreeCellEditor.java,
9006 javax/swing/tree/DefaultTreeCellRenderer.java,
9007 javax/swing/tree/DefaultTreeModel.java,
9008 javax/swing/tree/DefaultTreeSelectionModel.java,
9009 javax/swing/tree/ExpandVetoException.java,
9010 javax/swing/tree/FixedHeightLayoutCache.java,
9011 javax/swing/tree/MutableTreeNode.java,
9012 javax/swing/tree/RowMapper.java,
9013 javax/swing/tree/TreeCellEditor.java,
9014 javax/swing/tree/TreeCellRenderer.java,
9015 javax/swing/tree/TreeModel.java,
9016 javax/swing/tree/TreeNode.java,
9017 javax/swing/tree/TreePath.java,
9018 javax/swing/tree/TreeSelectionModel.java,
9019 javax/swing/tree/VariableHeightLayoutCache.java,
9020 javax/swing/UIDefaults.java,
9021 javax/swing/UIManager.java,
9022 javax/swing/undo/AbstractUndoableEdit.java,
9023 javax/swing/undo/CannotRedoException.java,
9024 javax/swing/undo/CannotUndoException.java,
9025 javax/swing/undo/CompoundEdit.java,
9026 javax/swing/undo/StateEditable.java,
9027 javax/swing/undo/StateEdit.java,
9028 javax/swing/undo/UndoableEdit.java,
9029 javax/swing/undo/UndoableEditSupport.java,
9030 javax/swing/undo/UndoManager.java,
9031 javax/swing/UnsupportedLookAndFeelException.java,
9032 javax/swing/ViewportLayout.java,
9033 javax/swing/WindowConstants.java: New files, from GNU Classpath.
9034
9035 * java/awt/ActiveEvent.java,
9036 java/awt/Adjustable.java, java/awt/AWTError.java,
9037 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
9038 java/awt/AWTException.java, java/awt/AWTPermission.java,
9039 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
9040 java/awt/Color.java, java/awt/Component.java,
9041 java/awt/ComponentOrientation.java, java/awt/Container.java,
9042 java/awt/datatransfer/MimeTypeParseException.java,
9043 java/awt/datatransfer/Transferable.java,
9044 java/awt/datatransfer/UnsupportedFlavorException.java,
9045 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
9046 java/awt/event/ActionListener.java,
9047 java/awt/event/AdjustmentEvent.java,
9048 java/awt/event/AdjustmentListener.java,
9049 java/awt/event/AWTEventListener.java,
9050 java/awt/event/ComponentAdapter.java,
9051 java/awt/event/ComponentEvent.java,
9052 java/awt/event/ComponentListener.java,
9053 java/awt/event/ContainerAdapter.java,
9054 java/awt/event/ContainerEvent.java,
9055 java/awt/event/ContainerListener.java,
9056 java/awt/event/FocusAdapter.java,
9057 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
9058 java/awt/event/HierarchyBoundsAdapter.java,
9059 java/awt/event/HierarchyBoundsListener.java,
9060 java/awt/event/HierarchyEvent.java,
9061 java/awt/event/HierarchyListener.java,
9062 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
9063 java/awt/event/InputMethodListener.java,
9064 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
9065 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
9066 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
9067 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
9068 java/awt/event/MouseListener.java,
9069 java/awt/event/MouseMotionAdapter.java,
9070 java/awt/event/MouseMotionListener.java,
9071 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
9072 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
9073 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
9074 java/awt/event/WindowListener.java, java/awt/Font.java,
9075 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
9076 java/awt/geom/Ellipse2D.java,
9077 java/awt/geom/IllegalPathStateException.java,
9078 java/awt/geom/Line2D.java,
9079 java/awt/geom/NoninvertibleTransformException.java,
9080 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
9081 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
9082 java/awt/geom/RoundRectangle2D.java,
9083 java/awt/GraphicsConfiguration.java,
9084 java/awt/IllegalComponentStateException.java,
9085 java/awt/image/IndexColorModel.java,
9086 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
9087 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
9088 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
9089 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
9090 java/awt/MenuItem.java, java/awt/PaintContext.java,
9091 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
9092 java/awt/Polygon.java, java/awt/PrintGraphics.java,
9093 java/awt/PrintJob.java, java/awt/Rectangle.java,
9094 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
9095 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
9096 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
9097
9098 * java/awt/im/spi/InputMethod.java,
9099 java/awt/im/spi/InputMethodContext.java,
9100 java/awt/im/spi/InputMethodDescriptor.java,
9101 java/awt/image/renderable/ContextualRenderedImageFactory.java,
9102 java/awt/image/renderable/ParameterBlock.java,
9103 java/awt/image/renderable/RenderContext.java,
9104 java/awt/image/renderable/RenderableImage.java,
9105 java/awt/image/renderable/RenderableImageOp.java,
9106 java/awt/image/renderable/RenderableImageProducer.java,
9107 java/awt/image/renderable/RenderedImageFactory.java: New files from
9108 classpath.
9109
9110 * gnu/java/awt/EventModifier.java,
9111 gnu/java/awt/image/ImageDecoder.java,
9112 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
9113
9114 * gnu/awt/xlib/XGraphicsConfiguration.java,
9115 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
9116 API.
9117
9118 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
9119 GNU Classpath.
9120
9121 * Makefile.am: Add new files.
9122 * Makefile.in: Rebuilt.
9123
9124 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9125
9126 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
9127 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
9128 findResource, getResources, findResources): Add javadoc from classpath.
9129 (getSystemResources): Implemented.
9130
9131 2002-08-01 Mark Wielaard <mark@klomp.org>
9132
9133 Revert patch that breaks libgcj shared library on powerpc:
9134 * gnu/java/security/provider/Gnu.java: Reverse referencing all
9135 implementation classes by using Class.getName(). Uses Strings again.
9136 * gnu/java/security/der/DEREncodingException.java,
9137 gnu/java/security/provider/DERReader.java,
9138 gnu/java/security/provider/DERWriter.java,
9139 gnu/java/security/provider/DSAKeyPairGenerator.java,
9140 gnu/java/security/provider/DSAParameterGenerator.java,
9141 gnu/java/security/provider/DSAParameters.java,
9142 gnu/java/security/provider/DSASignature.java,
9143 gnu/java/security/provider/GnuDSAPrivateKey.java,
9144 gnu/java/security/provider/GnuDSAPublicKey.java,
9145 gnu/java/security/provider/MD5.java,
9146 gnu/java/security/util/Prime.java: Removed.
9147 * Makefile.am (ordinary_java_source_files): Remove above files.
9148 * Makefile.in: Regenerate.
9149 * gnu/java/security/provider/DefaultPolicy.java
9150 (getPermissions): Revert to maintaining static class variable of
9151 Permissions.
9152 * gnu/java/security/provider/SHA.java
9153 (engineUpdate): Revert algorithm change.
9154 (engineDigest): Revert algorithm change.
9155
9156 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
9157
9158 * configure.host: Add SH support.
9159 * sysdep/sh/locks.h: New file.
9160
9161 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9162
9163 * java/awt/Frame.java (Frame): Remove println calls.
9164
9165 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9166
9167 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9168 * configure: Rebuilt.
9169
9170 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9171
9172 * sysdep/powerpc/locks.h: Formatting.
9173 (_LARX): Define.
9174 (_STCX): Define.
9175 (compare_and_swap): Use _LARX and _STCX.
9176 (compare_and_swap_release): Likewise.
9177
9178 2002-07-26 Tom Tromey <tromey@redhat.com>
9179
9180 * java/net/Authenticator.java: New version from Classpath.
9181 * java/net/DatagramSocketImpl.java: New version from Classpath.
9182
9183 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9184
9185 * configure.host: Add powerpc64*-* entry.
9186
9187 2002-07-26 Tom Tromey <tromey@redhat.com>
9188
9189 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9190 fcntl.h.
9191
9192 2002-07-24 Tom Tromey <tromey@redhat.com>
9193
9194 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9195 argument to _load.
9196
9197 2002-07-24 Tom Tromey <tromey@redhat.com>
9198 Tony Kimball <alk@pobox.com>
9199
9200 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9201 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9202 * java/io/RandomAccessFile.java (setLength): New method.
9203 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9204 * java/io/FileDescriptor.java (setLength): New method.
9205
9206 2002-07-24 Mark Wielaard <mark@klomp.org>
9207
9208 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9209 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9210 field call setAccessible(true).
9211 (setByteField): Likewise.
9212 (setCharField): Likewise.
9213 (setDoubleField): Likewise.
9214 (setFloatField): Likewise.
9215 (setIntField): Likewise.
9216 (setLongField): Likewise.
9217 (setShortField): Likewise.
9218 (setObjectField): Likewise.
9219
9220 2002-07-24 Tom Tromey <tromey@redhat.com>
9221
9222 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9223 use toString() to format array element.
9224
9225 2002-07-23 Mark Wielaard <mark@klomp.org>
9226
9227 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9228 MessageDigestSpi (fixes Classpath bug #783).
9229
9230 2002-07-21 Mark Wielaard <mark@klomp.org>
9231
9232 * gnu/java/security/provider/Gnu.java: Reference all implementation
9233 classes by using Class.getName().
9234
9235 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9236
9237 * java/lang/ieeefp.h: Add x86-64 support.
9238 * configure.in: Likewise.
9239 * configure.host: Likewise.
9240 * configure: Regenerated.
9241 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9242
9243 2002-07-16 Mark Wielaard <mark@klomp.org>
9244
9245 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9246 (whitespaceChars): call resetChar().
9247
9248 2002-07-15 Tom Tromey <tromey@redhat.com>
9249
9250 * Makefile.in: Rebuilt.
9251 * Makefile.am (awt_java_source_files): Added new files.
9252 * java/beans/ExceptionListener.java: Merged with Classpath.
9253 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9254 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9255 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9256 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9257 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9258 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9259 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9260
9261 2002-07-14 Mark Wielaard <mark@klomp.org>
9262
9263 * gnu/java/security/der/DEREncodingException.java,
9264 gnu/java/security/provider/DERReader.java,
9265 gnu/java/security/provider/DERWriter.java,
9266 gnu/java/security/provider/DSAKeyPairGenerator.java,
9267 gnu/java/security/provider/DSAParameterGenerator.java,
9268 gnu/java/security/provider/DSAParameters.java,
9269 gnu/java/security/provider/DSASignature.java,
9270 gnu/java/security/provider/GnuDSAPrivateKey.java,
9271 gnu/java/security/provider/GnuDSAPublicKey.java,
9272 gnu/java/security/provider/MD5.java,
9273 gnu/java/security/util/Prime.java: New files from Classpath.
9274 * Makefile.am (ordinary_java_source_files): Add new files.
9275 * Makefile.in: Regenerate.
9276
9277 2002-07-14 C. Brian Jones <cbj@gnu.org>
9278
9279 * gnu/java/security/provider/DefaultPolicy.java
9280 (getPermissions): do not maintain static class variable of
9281 Permissions
9282 * gnu/java/security/provider/SHA.java
9283 (engineUpdate): algorithm change
9284 (engineDigest): algorithm change
9285
9286 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9287
9288 For PR libgcj/7292:
9289 * java/lang/Character.java (toString(char)): Now static.
9290
9291 2002-07-12 Mark Wielaard <mark@klomp.org>
9292
9293 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9294 (getStackTrace0): new method.
9295 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9296 (printStackTrace(PrintWriter)): replace with pure java implementation.
9297 (printRawStackTrace): removed.
9298 (getStackTrace0): new method.
9299 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9300 * gcj/javaprims.h: regenerate class list.
9301 * include/name-finder.h (lookup): new returns StackTraceElement*.
9302 (method_name, file_name): fields removed.
9303 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9304 (~_Jv_name_finder): close new descriptors.
9305 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9306 (createStackTraceElement): new method.
9307 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9308
9309 2002-07-10 Tom Tromey <tromey@redhat.com>
9310
9311 * configure: Rebuilt.
9312 * configure.in: Use `test' after `&&'. From Chris Faylor.
9313
9314 2002-07-08 Mark Wielaard <mark@klomp.org>
9315
9316 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9317 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9318 java.sql.DatabaseMetaData.TestJdbc20
9319
9320 2002-07-05 Tony Kimball <alk@pobox.com>
9321
9322 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9323
9324 2002-07-04 Tom Tromey <tromey@redhat.com>
9325 Jeff Sturm <jsturm@one-point.com>
9326
9327 Fix for PR libgcj/7060:
9328 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9329 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9330 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9331 * java/lang/Class.java (getMethod): New Java implementation;
9332 complies with spec.
9333 (_getMethod): New native method.
9334
9335 2002-07-02 Tom Tromey <tromey@redhat.com>
9336 David Hovemeyer <daveho@cs.umd.edu>
9337
9338 * java/text/ChoiceFormat.java
9339 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9340 in check loop.
9341 * java/text/MessageFormat.java
9342 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9343 to MessageFormat.
9344
9345 2002-07-01 Tom Tromey <tromey@redhat.com>
9346
9347 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9348 StringTokenizer on null string. For PR libgcj/7180.
9349 From daveho@cs.umd.edu.
9350
9351 2002-06-24 Tom Tromey <tromey@redhat.com>
9352
9353 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9354 (IntegerClass): Likewise.
9355 * java/lang/natClass.cc (CloneableClass): Removed.
9356 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9357 ConstructorClass): Likewise.
9358 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9359 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9360 SerializableClass): Likewise.
9361 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9362 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9363 LongClass, FloatClass, DoubleClass): Likewise.
9364
9365 * verify.cc (branch_prepass): Updated for change to exception
9366 handler type.
9367 (verify_instructions_0): Likewise.
9368 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9369 (handleExceptionTableEntry): Updated for change to exception
9370 handler type.
9371 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9372 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9373 (union _Jv_InterpPC): New.
9374 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9375 (class _Jv_InterpMethod): Added new `prepared' field.
9376 (class _Jv_InterpMethod): Added `compile' method. Removed
9377 `continue1' and `find_exception'. Changed arguments to `run'.
9378 * interpret.cc (union insn_slot): New.
9379 (find_exception): Removed.
9380 (run_normal): Removed most logic.
9381 (run_synch_object): Likewise; also, use JvSynchronize.
9382 (run_synch_class): Likewise.
9383 (run): Removed.
9384 (continue1): Renamed as `run'. Compile bytecode if required.
9385 Add new code to allow refinement of direct-threaded code at
9386 runtime. Handle exceptions.
9387 (SAVE_PC): Removed.
9388 (compile): New method.
9389 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9390 (NULLARRAYCHECK): Don't use SAVE_PC.
9391 (pc_t): New typedef.
9392 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9393 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9394
9395 2002-06-23 Tom Tromey <tromey@redhat.com>
9396
9397 * configure: Rebuilt.
9398 * configure.in (INTERPRETER): New subst.
9399 (AM_RUNTESTFLAGS): Don't subst.
9400
9401 * Makefile.in: Rebuilt.
9402 * Makefile.am ($(srcdir)/java/lang/Object.h,
9403 $(srcdir)/java/lang/Class.h): Added dummy targets.
9404
9405 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9406
9407 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9408
9409 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9410 java/sql/Savepoint.java: New files.
9411 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9412 java/sql/Blob.java, java/sql/CallableStatement.java,
9413 java/sql/Clob.java, java/sql/Connection.java,
9414 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9415 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9416 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9417 java/sql/Ref.java, java/sql/ResultSet.java,
9418 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9419 java/sql/SQLException.java, java/sql/SQLInput.java,
9420 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9421 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9422 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9423 (JDK 1.4) specification.
9424 * javax/sql/ConnectionEvent.java,
9425 javax/sql/ConnectionEventListener.java,
9426 javax/sql/ConnectionPoolDataSource.java,
9427 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9428 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9429 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9430 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9431 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9432 javax/sql/XADataSource.java: New files.
9433 * Makefile.am: Add new files.
9434 * Makefile.in: Rebuilt.
9435
9436 2002-06-20 Tom Tromey <tromey@redhat.com>
9437
9438 For PR libgcj/7073:
9439 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9440 exists.
9441 * defineclass.cc (handleClassBegin): Superclass for interface is
9442 `null'.
9443
9444 2002-06-18 Tom Tromey <tromey@redhat.com>
9445
9446 * gcj/javaprims.h: Updated class declaration list.
9447 * Makefile.in: Rebuilt.
9448 * Makefile.am (core_java_source_files): Removed
9449 BasicMapEntry.java.
9450 * java/util/BasicMapEntry.java: Removed.
9451
9452 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9453
9454 * java/net/natPlainDatagramSocketImpl.cc (receive):
9455 Check bounds of argument to FD_SET.
9456 (setOption): Throw exception if socket is closed.
9457
9458 * java/net/natPlainSocketImpl.cc (accept, read):
9459 Check bounds of argument to FD_SET.
9460 (setOption): Throw exception if socket is closed.
9461
9462 2002-06-18 Tom Tromey <tromey@redhat.com>
9463
9464 * gcj/javaprims.h: Updated class declaration list.
9465 * Makefile.in: Rebuilt.
9466 * Makefile.am (core_java_source_files): Added
9467 PropertyPermissionCollection.java.
9468 * java/lang/Thread.java (group, name): Now package-private.
9469 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9470 * java/util/AbstractList.java: Likewise.
9471 * java/util/AbstractMap.java: Likewise.
9472 * java/util/Calendar.java: Likewise.
9473 * java/util/Collections.java: Likewise.
9474 * java/util/HashMap.java: Likewise.
9475 * java/util/Hashtable.java: Likewise.
9476 * java/util/LinkedHashMap.java: Likewise.
9477 * java/util/LinkedList.java: Likewise.
9478 * java/util/List.java: Likewise.
9479 * java/util/ListResourceBundle.java: Likewise.
9480 * java/util/Map.java: Likewise.
9481 * java/util/Observable.java: Likewise.
9482 * java/util/Properties.java: Likewise.
9483 * java/util/PropertyPermission.java: Likewise.
9484 * java/util/PropertyPermissionCollection.java: Likewise.
9485 * java/util/PropertyResourceBundle.java: Likewise.
9486 * java/util/Random.java: Likewise.
9487 * java/util/SimpleTimeZone.java: Likewise.
9488 * java/util/StringTokenizer.java: Likewise.
9489 * java/util/TimerTask.java: Likewise.
9490 * java/util/TreeMap.java: Likewise.
9491 * java/util/WeakHashMap.java: Likewise.
9492 * java/util/jar/Attributes.java: Likewise.
9493 * java/util/jar/JarException.java: Likewise.
9494 * java/util/jar/Manifest.java: Likewise.
9495
9496 2002-06-17 Tom Tromey <tromey@redhat.com>
9497
9498 * gcj/javaprims.h: Updated class declaration list.
9499 * Makefile.in: Rebuilt.
9500 * Makefile.am (core_java_source_files): Added new file.
9501 * java/util/EventListenerProxy.java: New file.
9502 * java/util/EventListener.java: Re-merge with Classpath.
9503 * java/util/EventObject.java: Re-merge with Classpath.
9504
9505 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9506
9507 * java/lang/ClassNotFoundException.java: New Classpath version.
9508
9509 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9510
9511 * java/rmi/activation/ActivateFailedException.java: Remerge from
9512 Classpath version.
9513 * java/rmi/activation/ActivationException.java: Ditto.
9514 * java/rmi/activation/UnknownGroupException.java: Ditto.
9515 * java/rmi/activation/UnknownObjectException.java: Ditto.
9516 * java/rmi/server/ExportException: Ditto.
9517 * java/rmi/server/ServerCloneException: Ditto.
9518 * java/rmi/server/ServerNotActiveException: Ditto.
9519 * java/rmi/server/SkeletonMismatchException: Ditto.
9520 * java/rmi/server/SkeletonNotFoundException: Ditto.
9521 * java/rmi/server/SocketSecurityException: Ditto.
9522
9523 2002-06-16 Tom Tromey <tromey@redhat.com>
9524
9525 * gcj/javaprims.h: Updated class declaration list.
9526
9527 * java/io/LineNumberInputStream.java: Merged with Classpath.
9528
9529 * java/lang/RuntimeException.java: Re-merge with Classpath.
9530 * java/util/ArrayList.java: Likewise.
9531 * java/util/Arrays.java: Likewise.
9532 * java/util/BitSet.java: Likewise.
9533 * java/util/Dictionary.java: Likewise.
9534 * java/util/IdentityHashMap.java: Likewise.
9535 * java/util/MissingResourceException.java: Likewise.
9536 * java/util/Observer.java: Likewise.
9537 * java/util/TooManyListenersException.java: Likewise.
9538 * java/util/zip/DataFormatException.java: Likewise.
9539 * java/util/zip/ZipException.java: Likewise.
9540
9541 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9542
9543 * java/rmi/AccessException.java: Remerge from Classpath.
9544 * java/rmi/AlreadyBoundException.java: Ditto.
9545 * java/rmi/ConnectException.java: Ditto.
9546 * java/rmi/ConnectIOException.java: Ditto.
9547 * java/rmi/MarshalException.java: Ditto.
9548 * java/rmi/NoSuchObjectException.java: Ditto.
9549 * java/rmi/NotBoundException.java: Ditto.
9550 * java/rmi/RemoteException.java: Ditto.
9551 * java/rmi/RMISecurityException.java: Ditto.
9552 * java/rmi/ServerError.java: Ditto.
9553 * java/rmi/ServerException.java: Ditto.
9554 * java/rmi/ServerRuntimeException.java: Ditto.
9555 * java/rmi/StubNotFoundException.java: Ditto.
9556 * java/rmi/UnexpectedExcpetion.java: Ditto.
9557 * java/rmi/UnknownHostException.java: Ditto.
9558 * java/rmi/UnmarshalException.java: Ditto.
9559
9560 2002-06-15 Tom Tromey <tromey@redhat.com>
9561
9562 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9563 * java/lang/ArithmeticException.java: Likewise.
9564 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9565 * java/lang/ArrayStoreException.java: Likewise.
9566 * java/lang/Byte.java: Likewise.
9567 * java/lang/CharSequence.java: Likewise.
9568 * java/lang/ClassCastException.java: Likewise.
9569 * java/lang/ClassCircularityError.java: Likewise.
9570 * java/lang/ClassFormatError.java: Likewise.
9571 * java/lang/CloneNotSupportedException.java: Likewise.
9572 * java/lang/Cloneable.java: Likewise.
9573 * java/lang/Comparable.java: Likewise.
9574 * java/lang/Compiler.java: Likewise.
9575 * java/lang/Error.java: Likewise.
9576 * java/lang/ExceptionInInitializerError.java: Likewise.
9577 * java/lang/IllegalAccessError.java: Likewise.
9578 * java/lang/IllegalAccessException.java: Likewise.
9579 * java/lang/IllegalArgumentException.java: Likewise.
9580 * java/lang/IllegalMonitorStateException.java: Likewise.
9581 * java/lang/IllegalStateException.java: Likewise.
9582 * java/lang/IllegalThreadStateException.java: Likewise.
9583 * java/lang/IncompatibleClassChangeError.java: Likewise.
9584 * java/lang/IndexOutOfBoundsException.java: Likewise.
9585 * java/lang/InheritableThreadLocal.java: Likewise.
9586 * java/lang/InstantiationError.java: Likewise.
9587 * java/lang/InstantiationException.java: Likewise.
9588 * java/lang/InternalError.java: Likewise.
9589 * java/lang/InterruptedException.java: Likewise.
9590 * java/lang/LinkageError.java: Likewise.
9591 * java/lang/NegativeArraySizeException.java: Likewise.
9592 * java/lang/NoClassDefFoundError.java: Likewise.
9593 * java/lang/NoSuchFieldError.java: Likewise.
9594 * java/lang/NoSuchFieldException.java: Likewise.
9595 * java/lang/NoSuchMethodError.java: Likewise.
9596 * java/lang/NoSuchMethodException.java: Likewise.
9597 * java/lang/NullPointerException.java: Likewise.
9598 * java/lang/NumberFormatException.java: Likewise.
9599 * java/lang/OutOfMemoryError.java: Likewise.
9600 * java/lang/Process.java: Likewise.
9601 * java/lang/Runnable.java: Likewise.
9602 * java/lang/RuntimePermission.java: Likewise.
9603 * java/lang/SecurityException.java: Likewise.
9604 * java/lang/Short.java: Likewise.
9605 * java/lang/StackOverflowError.java: Likewise.
9606 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9607 * java/lang/ThreadDeath.java: Likewise.
9608 * java/lang/ThreadLocal.java: Likewise.
9609 * java/lang/UnknownError.java: Likewise.
9610 * java/lang/UnsatisfiedLinkError.java: Likewise.
9611 * java/lang/UnsupportedClassVersionError.java: Likewise.
9612 * java/lang/UnsupportedOperationException.java: Likewise.
9613 * java/lang/VerifyError.java: Likewise.
9614 * java/lang/VirtualMachineError.java: Likewise.
9615 * java/lang/reflect/InvocationTargetException.java: Likewise.
9616 * java/net/BindException.java: Likewise.
9617 * java/net/ConnectException.java: Likewise.
9618 * java/net/MalformedURLException.java: Likewise.
9619 * java/net/NoRouteToHostException.java: Likewise.
9620 * java/net/ProtocolException.java: Likewise.
9621 * java/net/SocketException.java: Likewise.
9622 * java/net/UnknownHostException.java: Likewise.
9623 * java/net/UnknownServiceException.java: Likewise.
9624
9625 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9626 * java/io/CharConversionException.java: Likewise.
9627 * java/io/EOFException.java: Likewise.
9628 * java/io/FileNotFoundException.java: Likewise.
9629 * java/io/IOException.java: Likewise.
9630 * java/io/InterruptedIOException.java: Likewise.
9631 * java/io/InvalidClassException.java: Likewise.
9632 * java/io/InvalidObjectException.java: Likewise.
9633 * java/io/NotActiveException.java: Likewise.
9634 * java/io/NotSerializableException.java: Likewise.
9635 * java/io/ObjectStreamException.java: Likewise.
9636 * java/io/ObjectStreamConstants.java: Likewise.
9637 * java/io/OptionalDataException.java: Likewise.
9638 * java/io/PipedInputStream.java: Likewise.
9639 * java/io/PushbackInputStream.java: Likewise.
9640 * java/io/StreamCorruptedException.java: Likewise.
9641 * java/io/SyncFailedException.java: Likewise.
9642 * java/io/UTFDataFormatException.java: Likewise.
9643 * java/io/UnsupportedEncodingException.java: Likewise.
9644 * java/io/WriteAbortedException.java: Likewise.
9645
9646 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9647
9648 * java/text/ChoiceFormat.java: Update comments from Classpath.
9649 * java/text/ParseException.java (serialVersionUID): New
9650 field from Classpath.
9651 * java/text/ParseException.java: Update formatting & comments
9652 from Classpath.
9653
9654 2002-06-15 Tom Tromey <tromey@redhat.com>
9655
9656 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9657 been read but none output by inflater.
9658 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9659 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9660 is_finished.
9661 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9662 version.
9663 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9664 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9665 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9666 version.
9667 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9668
9669 2002-06-13 Tom Tromey <tromey@redhat.com>
9670
9671 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9672 true and OFFSET!=0.
9673 * java/lang/String.java (String(char[],int,int,boolean): New
9674 constructor.
9675 * java/lang/Long.java: Imported new version from Classpath.
9676 * java/lang/Number.java: Likewise.
9677 * java/lang/Integer.java: Likewise.
9678 * java/lang/Long.java: Likewise.
9679 * java/lang/Float.java: Likewise.
9680 * java/lang/Boolean.java: Likewise.
9681 * java/lang/Double.java: Likewise.
9682 * java/lang/Void.java: Likewise.
9683
9684 2002-06-12 Tom Tromey <tromey@redhat.com>
9685
9686 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9687 Fixes PR libgcj/6652.
9688
9689 2002-06-10 Tom Tromey <tromey@redhat.com>
9690
9691 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9692 (Class::getPackagePortion): Likewise.
9693 * java/lang/Class.java (desiredAssertionStatus): New method from
9694 Classpath.
9695 (getPackagePortion): Likewise.
9696 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9697 packageAssertionStatus, classAssertionStatus): New methods from
9698 Classpath.
9699 * java/lang/ClassLoader.java (defaultAssertionStatus,
9700 systemPackageAssertionStatus, packageAssertionStatus,
9701 systemClassAssertionStatus, classAssertionStatus): New fields from
9702 Classpath.
9703 (setDefaultAssertionStatus, setPackageAssertionStatus,
9704 setClassAssertionStatus, clearAssertionStatus): New methods from
9705 Classpath.
9706 * Makefile.in: Rebuilt.
9707 * Makefile.am (core_java_source_files): Added AssertionError.java.
9708 * java/lang/AssertionError.java: New from Classpath.
9709
9710 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9711
9712 * configure.host: Disable hash synchronization and slow_pthread_self
9713 for cygwin.
9714
9715 2002-06-06 Adam Megacz <adam@xwt.org>
9716
9717 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9718 locking, just like the Sun JVM does.
9719
9720 2002-06-05 H.J. Lu (hjl@gnu.org)
9721
9722 * Makefile.am (libgcj_convenience.la): Revert the last change.
9723 (libgcj.la): Likewise.
9724 * Makefile.in: Regenerated.
9725
9726 2002-06-04 H.J. Lu (hjl@gnu.org)
9727
9728 * Makefile.am (libgcj_convenience.la): New target.
9729 (libgcj.la): Depend on libgcj_convenience.la.
9730 * Makefile.in: Regenerated.
9731
9732 2002-06-04 H.J. Lu (hjl@gnu.org)
9733
9734 * configure.in (--with-newlib): New option:
9735 Check ${with_newlib} instead of ${with_cross_host} for newlib.
9736 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9737 Linux.
9738 * configure: Regenerated.
9739
9740 2002-06-04 Tom Tromey <tromey@redhat.com>
9741
9742 * java/util/natTimeZone.cc: Include <stdio.h>.
9743
9744 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
9745
9746 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9747 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9748 Set SIGNAL_HANDLER=include/s390-linux.h.
9749 * configure: Regenerate.
9750 * include/s390-linux.h: New file.
9751
9752 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9753
9754 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9755 not "stackTrace".
9756
9757 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9758
9759 Merge JDK 1.4 java.security changes from classpath.
9760
9761 * java/security/AccessControlException.java: Merge from Classpath.
9762 * java/security/AccessController.java: Likewise.
9763 * java/security/AllPermission.java: Likewise.
9764 * java/security/BasicPermission.java: Likewise.
9765 * java/security/Certificate.java: Likewise.
9766 * java/security/CodeSource.java: Likewise.
9767 * java/security/DigestException.java: Likewise.
9768 * java/security/DigestOutputStream.java: Likewise.
9769 * java/security/DomainCombiner.java: Likewise.
9770 * java/security/GeneralSecurityException.java: Likewise.
9771 * java/security/Guard.java: Likewise.
9772 * java/security/GuardedObject.java: Likewise.
9773 * java/security/InvalidAlgorithmParameterException.java: Likewise.
9774 * java/security/InvalidKeyException.java: Likewise.
9775 * java/security/InvalidParameterException.java: Likewise.
9776 * java/security/Key.java: Likewise.
9777 * java/security/KeyException.java: Likewise.
9778 * java/security/KeyManagementException.java: Likewise.
9779 * java/security/KeyStoreException.java: Likewise.
9780 * java/security/MessageDigest.java: Likewise.
9781 * java/security/NoSuchAlgorithmException.java: Likewise.
9782 * java/security/NoSuchProviderException.java: Likewise.
9783 * java/security/Permission.java: Likewise.
9784 * java/security/PermissionCollection.java: Likewise.
9785 * java/security/Permissions.java: Likewise.
9786 * java/security/Policy.java: Likewise.
9787 * java/security/Principal.java: Likewise.
9788 * java/security/PrivateKey.java: Likewise.
9789 * java/security/PrivilegedAction.java: Likewise.
9790 * java/security/PrivilegedActionException.java: Likewise.
9791 * java/security/PrivilegedExceptionAction.java: Likewise.
9792 * java/security/ProtectionDomain.java: Likewise.
9793 * java/security/ProviderException.java: Likewise.
9794 * java/security/PublicKey.java: Likewise.
9795 * java/security/SecureClassLoader.java: Likewise.
9796 * java/security/SecurityPermission.java: Likewise.
9797 * java/security/SignatureException.java: Likewise.
9798 * java/security/UnrecoverableKeyException.java: Likewise.
9799 * java/security/UnresolvedPermission.java: Likewise.
9800 * java/security/acl/AclNotFoundException.java: Likewise.
9801 * java/security/acl/LastOwnerException.java: Likewise.
9802 * java/security/acl/NotOwnerException.java: Likewise.
9803 * java/security/cert/CRLException.java: Likewise.
9804 * java/security/cert/CertificateEncodingException.java: Likewise.
9805 * java/security/cert/CertificateException.java: Likewise.
9806 * java/security/cert/CertificateExpiredException.java: Likewise.
9807 * java/security/cert/CertificateFactory.java: Likewise.
9808 * java/security/cert/CertificateNotYetValidException.java: Likewise.
9809 * java/security/cert/CertificateParsingException.java: Likewise.
9810 * java/security/spec/InvalidKeySpecException.java: Likewise.
9811 * java/security/spec/InvalidParameterSpecException.java: Likewise.
9812
9813 * java/security/cert/CertPath.java: New file.
9814 * java/security/cert/CertPathBuilderException.java: New file.
9815 * java/security/cert/CertPathValidatorException.java: New file.
9816 * java/security/cert/CertStoreException.java: New file.
9817
9818 * Makefile.am: Add new CertPath classes.
9819 * Makefile.in: Rebuilt.
9820
9821 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9822
9823 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9824
9825 Merge JDK 1.4 exception chaining support from classpath.
9826
9827 * java/lang/Throwable.java: Merge 1.4 support from classpath.
9828 (stackTraceBytes): Rename from stackTrace.
9829 * java/lang/Exception.java: Merge from classpath.
9830 * java/lang/StackTraceElement: New file from classpath.
9831 * gcj/javaprims.h: Rebuild CNI namespace declarations.
9832 * Makefile.am: Add StackTraceElement.
9833 * Makefile.in: Rebuilt.
9834
9835 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9836
9837 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9838 they build first.
9839 * Makefile.in: Rebuilt.
9840
9841 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9842
9843 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9844 * configure.in: Likewise.
9845 * aclocal.m4: Regenerate.
9846 * configure: Regenerate.
9847
9848 2002-05-13 Tom Tromey <tromey@redhat.com>
9849
9850 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9851 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9852 Include platform.h.
9853
9854 Fixes PR libgcj/6389:
9855 * Makefile.in: Rebuilt.
9856 * Makefile.am (nat_source_files): Added natTimeZone.cc.
9857 * java/util/natTimeZone.cc: New file.
9858 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9859 * java/lang/System.java: Merged with Classpath.
9860 * java/lang/Runtime.java: Merged with Classpath.
9861 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9862 security check.
9863 (setIn0): Renamed from setIn; don't run security check.
9864 (setOut0): Renamed from setOut; don't run security check.
9865 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9866 init_properties): Moved to natRuntime.cc.
9867 Moved many includes to natRuntime.cc.
9868 (isWordsBigEndian): New method.
9869 * java/lang/natRuntime.cc: Include Long.h, also other includes
9870 previously in natSystem.cc.
9871 (maxMemory): New function.
9872 (exitInternal): Renamed from `_exit'.
9873 (exit): Removed.
9874 (init): Don't set finalize_on_exit.
9875 (exitInternal): Use `finalizeOnExit'.
9876 (file_encoding, getpwuid_adaptor): New functions from
9877 natSystem.cc.
9878 (insertSystemProperties): New method, renamed from
9879 System::init_properties. Don't set user.timezone.
9880 (_load): Don't call checkLink.
9881 (execInternal): New method.
9882 (availableProcessors): Likewise.
9883 (nativeGetLibname): Likewise.
9884
9885 2002-05-11 Mark Wielaard <mark@klomp.org>
9886
9887 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9888 space characters.
9889 (previous_internal): Likewise.
9890
9891 2002-05-09 Tom Tromey <tromey@redhat.com>
9892
9893 * jni.cc (_Jv_JNIFunctions): Fixed typo.
9894
9895 * java/util/ResourceBundle.java: New version from Classpath.
9896 * java/util/Locale.java: Likewise.
9897
9898 2002-05-09 Jakub Jelinek <jakub@redhat.com>
9899
9900 * testsuite/lib/libjava.exp (libjava_arguments): Append all
9901 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9902 LD_LIBRARY_PATH.
9903
9904 2002-05-08 Mark Mitchell <mark@codesourcery.com>
9905
9906 * libjava/Makefile.am (all_java_source_files): New variable.
9907 (all_java_class_files): Likewise.
9908 .java.class: New rule.
9909 (CLEANFILES): Remove tmp-list.
9910 * libjava/Makefile.in: Regenerated.
9911
9912 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
9913
9914 * testsuite/lib/libjava.exp (test_libjava_from_javac):
9915 Append .exe to executable names. Fix for cygwin.
9916
9917 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
9918
9919 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9920 script entry, and set LD to it when configuring multilibs.
9921 * configure: Rebuilt.
9922
9923 2002-05-07 Tom Tromey <tromey@redhat.com>
9924
9925 * java/lang/natString.cc (unintern): Fixed typo.
9926
9927 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9928
9929 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9930 with -no-install on *-*-cygwin*.
9931
9932 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9933
9934 * testsuite/lib/libjava.exp (test_libjava_from_source):
9935 Add comment explaining last patch
9936
9937 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
9938
9939 * testsuite/lib/libjava.exp (test_libjava_from_source):
9940 Append .exe to executable names. If no suffix is present,
9941 then ".exe" is added by default on win32. Harmless
9942 elsewhere so always do it.
9943
9944 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
9945 Tom Tromey <tromey@redhat.com>
9946
9947 * java/lang/natSystem.cc (getSystemTimeZone): Use
9948 HAVE_UNDERSCORE_TIMEZONE.
9949 * include/config.h.in: Rebuilt.
9950 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9951 * aclocal.m4, configure: Rebuilt.
9952 * acinclude.m4: Run AC_EXEEXT.
9953 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9954 Add test for `_timezone'.
9955
9956 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
9957
9958 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9959 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9960 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9961 * Makefile.in: Rebuilt.
9962
9963 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
9964
9965 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9966 use sigaction instead of __libc_sigaction.
9967
9968 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9969
9970 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9971 (libjava_init): Use it to find libgcj.spec.
9972 (libjava_arguments): Likewise.
9973
9974 2002-05-02 David S. Miller <davem@redhat.com>
9975
9976 PR bootstrap/6525
9977 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9978 __libc_sigaction on Sparc.
9979
9980 2002-05-02 Jerome Marc <marcjero@yahoo.com>
9981
9982 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9983 sys/filio.h, if present.
9984
9985 2002-04-30 Tom Tromey <tromey@redhat.com>
9986
9987 * java/io/BufferedReader.java (fill): Handle case where markPos
9988 point to ignored \n. Fixes PR libgcj/6301.
9989
9990 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
9991
9992 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9993
9994 2002-04-29 Adam King <aking@dreammechanics.com>
9995
9996 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9997 of file in APPEND mode.
9998
9999 2002-04-25 David S. Miller <davem@redhat.com>
10000
10001 PR target/6422
10002 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
10003 program counter to next program counter minus 8. Update
10004 comments in this macro to explain why.
10005
10006 2002-04-26 Tom Tromey <tromey@redhat.com>
10007
10008 * verify.cc (construct_primitive_array_type) [void_type]: New
10009 case.
10010 (branch_prepass): Added dummy entries for unused instruction
10011 values.
10012 (verify_instructions_0): Likewise.
10013 * interpret.cc (continue1): Comment fix.
10014 * include/java-insns.h (op_xxxunusedxxx1): Removed.
10015 * Makefile.in: Rebuilt.
10016 * Makefile.am: Added -Wswitch-enum.
10017
10018 2002-04-24 Tom Tromey <tromey@redhat.com>
10019
10020 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
10021 correct length of UTF-8 encoded name. Strip leading `/'.
10022 (_Jv_RegisterResource): Use _Jv_Malloc.
10023
10024 2002-04-23 Adam Megacz <adam@xwt.org>
10025
10026 * win32.cc, include/win32.cc (backtrace): Added this function
10027 because Win32 does not supply it.
10028
10029 2002-04-21 David S. Miller <davem@redhat.com>
10030
10031 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
10032 magic instruction reading sequence.
10033
10034 2002-04-21 Mark Wielaard <mark@klomp.org>
10035
10036 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
10037
10038 2002-04-19 David S. Miller <davem@redhat.com>
10039
10040 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
10041 arg.
10042 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
10043 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
10044 on Sparc too.
10045 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
10046 for 64-bit sparc.
10047 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
10048 * sysdeps/sparc/locks.h: New file.
10049 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
10050 on all sparc Solaris configurations. Set to
10051 include/dwarf2-signal.h on sparc Linux.
10052 * configure: Regenerate
10053 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
10054
10055 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
10056
10057 * configure: Rebuilt.
10058 * configure.in (backtrace): Function doesn't work on IA-64.
10059
10060 2002-04-17 Adam King <aking@dreammechanics.com>
10061
10062 * java/io/File.java (normalizePath): Add Win32 support for auto
10063 conversion of a '/' path separator to Win32's '\' separator.
10064
10065 2002-04-16 Tom Tromey <tromey@redhat.com>
10066
10067 Fix for PR libgcj/6081:
10068 * Makefile.in: Rebuilt.
10069 * Makefile.am (install-data-local): Use GNU make trick to avoid
10070 shell limit.
10071
10072 2002-04-16 Adam King <aking@dreammechanics.com>
10073 Tom Tromey <tromey@redhat.com>
10074
10075 * java/io/natFileWin32.cc (performList): Return the correct array
10076 type. Don't duplicate the creation of a File since it's already
10077 done earlier in the method and the existing code would cause a
10078 ArrayStoreException. Don't use fixed-size array.
10079 (_access, _stat, attr, getCanonicalPath, performMkdir,
10080 performRenameTo): Don't use fixed-size array.
10081 (getCanonicalPath): Use throw, not _Jv_Throw.
10082
10083 2002-04-15 DJ Delorie <dj@redhat.com>
10084
10085 * configure.in: Allow building in $srcdir.
10086 * configure: Regenerated.
10087
10088 2002-04-14 Mark Wielaard <mark@klomp.org>
10089
10090 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
10091 * java/net/natSocketImpl.cc (close): Likewise.
10092
10093 2002-04-14 Mark Wielaard <mark@klomp.org>
10094
10095 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
10096
10097 2002-04-13 Adam King <aking@dreammechanics.com>
10098
10099 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
10100 the f/F/d/D modifiers.
10101
10102 2002-04-12 Anthony Green <green@redhat.com>
10103
10104 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
10105 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
10106 * Makefile.in: Rebuilt.
10107 * configure.in: Substitute gcc_version.
10108 * configure: Rebuilt.
10109
10110 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10111
10112 * configure.host: Set can_unwind_signal on hosts which support it.
10113 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
10114 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
10115 exceptions and can_unwind_signal isn't set.
10116 * configure: Rebuilt.
10117
10118 2002-04-11 Tom Tromey <tromey@redhat.com>
10119
10120 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
10121
10122 2002-04-11 Adam King <aking@dreammechanics.com>
10123 Tom Tromey <tromey@redhat.com>
10124
10125 * include/jvm.h (_Jv_ThrowBadArrayIndex,
10126 _Jv_ThrowNullPointerException): Mark as noreturn.
10127 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
10128 and _Jv_free. Correctly invoke GetTempPath(). Indentation
10129 fixes.
10130
10131 2002-04-10 Tom Tromey <tromey@redhat.com>
10132
10133 * Makefile.in: Rebuilt.
10134 * Makefile.am (java/lang/Thread.h): Mark
10135 _Jv_AttachCurrentThreadAsDaemon as friend.
10136 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
10137 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
10138 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
10139 function.
10140 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
10141 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
10142 (_Jv_JNI_InvokeFunctions): Added
10143 _Jv_JNI_AttachCurrentThreadAsDaemon.
10144 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
10145 (JNI_GetDefaultJavaVMInitArgs): Likewise.
10146 (JNI_CreateJavaVM): Likewise.
10147 (_Jv_JNI_AttachCurrentThread): Likewise.
10148 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
10149 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
10150 (_Jv_JNIFunctions): Initialize new fields.
10151 (_Jv_JNI_NewDirectByteBuffer): New function.
10152 (_Jv_JNI_GetDirectBufferAddress): Likewise.
10153 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
10154 * include/jni.h (JNI_VERSION_1_4): New macro.
10155 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
10156 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
10157 (JNINativeInterface::NewDirectByteBuffer): New field.
10158 (JNINativeInterface::GetDirectBufferAddress): New field.
10159 (JNINativeInterface::GetDirectBufferCapacity): New field.
10160 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10161 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10162 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10163
10164 2002-04-09 Tom Tromey <tromey@redhat.com>
10165
10166 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10167
10168 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10169
10170 Fix for PR libgcj/6187:
10171 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10172 distance.
10173
10174 2002-04-07 Mark Wielaard <mark@klomp.org>
10175
10176 * java/util/AbstractMap.java (putAll): Use entrySet size.
10177 (toString): Explicitly use getKey() and getValue().
10178
10179 2002-04-07 Mark Wielaard <mark@klomp.org>
10180
10181 * java/util/Hashtable.java (contains): Remove NullPointer check.
10182 (containsValue): Add NullPointer check.
10183 (remove): Always throw NullPointerException when key
10184 is null.
10185
10186 2002-04-07 Adam King <aking@dreammechanics.com>
10187
10188 * java/lang/natSystem.cc (init_properties): Call new function
10189 _Jv_platform_initProperties.
10190 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10191 support for the System properties os.name, os.arch, os.version,
10192 user.name, user.home, and user.dir.
10193 * include/posix.h, include/win32.h, posix.cc: New function
10194 _Jv_platform_initProperties.
10195
10196 2002-04-06 Mark Wielaard <mark@klomp.org>
10197
10198 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10199
10200 2002-04-06 Mark Wielaard <mark@klomp.org>
10201
10202 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10203 all of the remaining elements.
10204 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10205 (removeRange): If toIndex == fromIndex do
10206 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10207 (removeAll): Always throw NullPointerException when collection is
10208 null.
10209 (retrainAll): Likewise.
10210
10211 2002-04-05 Mark Wielaard <mark@klomp.org>
10212
10213 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10214 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10215
10216 2002-04-05 Adam Megacz <adam@xwt.org>
10217
10218 * exception.cc (abort): added static modifier
10219
10220 2002-04-04 Adam Megacz <adam@xwt.org>
10221
10222 * include/win32.h (_Jv_platform_close_on_exec): added inline
10223 modifier.
10224
10225 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10226
10227 * configure.host: Add case statement to support generic port
10228 properties. Add *-*-freebsd* section.
10229
10230 2002-04-04 Mark Wielaard <mark@klomp.org>
10231
10232 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10233 test.
10234 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10235 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10236 that depend on awt code and BufferedByteOutputStream.interrupt.
10237
10238 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10239
10240 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10241 incorrect "hi" value when count > 40.
10242
10243 2002-04-03 Mark Wielaard <mark@klomp.org>
10244
10245 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10246 ordering.
10247
10248 2002-04-02 Tom Tromey <tromey@redhat.com>
10249
10250 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10251 not `0'.
10252
10253 2002-04-02 Mark Wielaard <mark@klomp.org>
10254
10255 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10256 list of testsuite crashers.
10257
10258 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10259
10260 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10261 when resizing table.
10262
10263 2002-04-01 Mark Wielaard <mark@klomp.org>
10264
10265 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10266 NegativeArraySizeException
10267 (clear(int)): Use sign extended shift.
10268 (flip(int)): Likewise.
10269 (get(int)): Likewise.
10270 (nextClearBit(int)): Likewise.
10271 (nextSetBit(int)): Likewise.
10272 (set(int)): Likewise.
10273
10274 2002-04-01 Mark Wielaard <mark@klomp.org>
10275
10276 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10277 that can be compiled now and add testsuite crashers to ignore list.
10278
10279 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10280
10281 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10282
10283 * libgcj.spec.in: Override libgcc, not lib.
10284 * libgcj-test.spec.in: Likewise.
10285
10286 2002-03-29 Tom Tromey <tromey@redhat.com>
10287
10288 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10289 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10290
10291 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10292
10293 * java/net/PlainDatagramSocketImpl.java
10294 (close): Use native implementation.
10295 (finalize): New method.
10296
10297 * java/net/PlainSocketImpl.java (finalize): New method.
10298
10299 * java/net/natPlainDatagramSocketImpl.cc
10300 (java/io/FileDescriptor.h): Don't include.
10301 (close): Implement method here.
10302 (create): Don't assign fd.
10303
10304 * java/net/natPlainSocketImpl.cc
10305 (java/io/FileDescriptor.h): Don't include.
10306 (create): Don't assign fd.
10307 (accept): Likewise.
10308 (close): Synchronize.
10309
10310 2002-03-27 Richard Henderson <rth@redhat.com>
10311
10312 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10313
10314 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10315
10316 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10317 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10318 instead of syscall on IA-64.
10319 Add FIXME comment.
10320
10321 2002-03-27 Anthony Green <green@redhat.com>
10322
10323 * libgcj.spec.in: Add CHECKREFSPEC.
10324 * configure.in: Ditto.
10325 * configure.host: Ditto. Check references for xscale-elf.
10326 * configure: Rebuilt.
10327
10328 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10329
10330 * include/dwarf2-signal.h: Temporarily back out last change.
10331
10332 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10333
10334 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10335
10336 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10337
10338 * configure.in, configure: enable dwarf2-exception-style
10339 exception handling on IA-64.
10340 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10341 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10342 Add FIXME comment.
10343
10344 2002-03-25 Tom Tromey <tromey@redhat.com>
10345
10346 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10347 (jv_convert_LDFLAGS): Likewise.
10348 (gij_LDFLAGS): Likewise.
10349 (rmic_LDFLAGS): Likewise.
10350 (rmiregistry_LDFLAGS): Likewise.
10351 * configure.in (THREADLDFLAGS): New subst; set correctly for
10352 *BSD.
10353
10354 2002-03-25 Tom Tromey <tromey@redhat.com>
10355
10356 For PR libgcj/5303:
10357 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10358 and --version.
10359 (help): New method.
10360 (version): Likewise.
10361 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10362 "GNU".
10363 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10364 "GNU".
10365
10366 2002-03-25 Tom Tromey <tromey@redhat.com>
10367
10368 * java/awt/Component.java (processEvent): Check ComponentEvent
10369 after KeyEvent.
10370
10371 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10372
10373 * java/io/PushbackReader.java: Reformat.
10374
10375 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10376 calculate correct number of bytes skipped.
10377
10378 Based on patch from Intel's ORP team:
10379 * java/io/PushbackInputStream.java (available): Calculate correct
10380 number of bytes in buffer.
10381 (read): Remove redundant bound check. Return bytes from both the
10382 buffer and the stream.
10383
10384 2002-03-24 Tom Tromey <tromey@redhat.com>
10385
10386 * java/awt/TextComponent.java (TextComponent): Editable by
10387 default.
10388
10389 * java/awt/MenuItem.java (eventMask): No longer private.
10390 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10391 superclass if we didn't handle event.
10392 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10393 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10394 * java/awt/Choice.java (dispatchEventImpl): New method.
10395 * java/awt/List.java (dispatchEventImpl): New method.
10396 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10397 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10398 * java/awt/TextField.java (dispatchEventImpl): New method.
10399
10400 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10401
10402 * java/beans/IntrospectionException.java: Update to 1.4.
10403 * java/beans/PropertyVetoException.java: Ditto.
10404
10405 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10406
10407 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10408 Arrays.equals instead of ArrayHelper.equalsArray.
10409
10410 2002-03-24 C. Brian Jones <cbj@gnu.org>
10411
10412 * java/beans/Introspector.java: added new static final fields
10413 introduced in 1.2, lots of other updates remain to be done
10414
10415 2002-03-24 C. Brian Jones <cbj@gnu.org>
10416
10417 * java/beans/Introspector.java: reformatting
10418
10419 2002-03-24 C. Brian Jones <cbj@gnu.org>
10420
10421 * java/beans/Introspector.java: default beanInfoSearchPath will
10422 not include sun.beans.infos given we provide no such package and
10423 the API doesn't really require it; gnu.java.beans.info is the
10424 default.
10425
10426 2002-03-24 Mark Wielaard <mark@klomp.org>
10427
10428 Thanks to Orp developers
10429 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10430 switch TRUE and FALSE return values.
10431
10432 2002-03-23 Tom Tromey <tromey@redhat.com>
10433
10434 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10435 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10436
10437 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10438
10439 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10440 MONTH entry. Fixes PR libgcj/6045.
10441
10442 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10443
10444 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10445
10446 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10447
10448 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10449 not release_set.
10450 * sysdep/powerpc/locks.h (write_barrier): New function.
10451 * sysdep/i386/locks.h (write_barrier): New function.
10452
10453 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10454
10455 * include/jni.h Use correct C comments.
10456
10457 2002-03-18 Tom Tromey <tromey@redhat.com>
10458
10459 * include/jni.h (JNIIMPORT): New macro.
10460 (JNIEXPORT): Likewise.
10461 (JNICALL): Likewise.
10462
10463 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10464
10465 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10466 systems.
10467
10468 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10469
10470 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10471 INIT_SEGV: Use old_i386_kernel_sigaction.
10472 INIT_FP: Likewise.
10473
10474 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10475
10476 * java/lang/natSystem.cc (init_properties): Update VM version
10477 properties.
10478 * configure.in: Set GCJVERSION.
10479 * acconfig.h: Add GCJVERSION.
10480 * configure: Rebuilt.
10481 * include/config.h.in: Rebuilt.
10482
10483 2002-03-17 Anthony Green <green@redhat.com>
10484
10485 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10486
10487 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10488
10489 Build a single libgcj.so, without separate gc and zlib libraries.
10490 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10491 SYS_ZLIBS if system zlib is used.
10492 * configure: Rebuilt.
10493 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10494 * Makefile.in: Rebuilt.
10495 * libtool-version: Increment .so version number.
10496
10497 * Makefile.am: Escape quotes in echo.
10498 * Makefile.in: Rebuilt.
10499
10500 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10501
10502 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10503 * Makefile.in: Rebuilt.
10504
10505 2002-03-15 Anthony Green <green@redhat.com>
10506
10507 * configure.host (FILE): New macro for specifing File
10508 implementation.
10509 * configure: Rebuilt.
10510 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10511
10512 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10513
10514 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10515 already implicitly brought in from libgcj.la.
10516 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10517 * Makefile.in: Rebuilt.
10518
10519 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10520
10521 * THANKS: Fix punctuation, alphabetization.
10522
10523 2002-03-15 Tom Tromey <tromey@redhat.com>
10524 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10525
10526 Fix for PR libgcj/5944.
10527 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10528
10529 2002-03-15 Anthony Green <green@redhat.com>
10530
10531 * configure.in (tool_include_dir): Define.
10532 * configure: Rebuilt.
10533 * gcj/Makefile.am: Install libgcj-config.h relative to
10534 tool_include_dir.
10535 * gcj/Makefile: Rebuilt.
10536 * gcj/libgcj-config.h: Add warning comment.
10537
10538 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10539
10540 * configure.host (powerpc*-darwin*): Enable interpreter.
10541
10542 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10543
10544 * include/posix.h: Add multiple include header protection.
10545 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10546
10547 2002-03-10 Adam Megacz <adam@xwt.org>
10548
10549 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10550
10551 2002-03-10 Tom Tromey <tromey@redhat.com>
10552
10553 * java/awt/GridLayout.java (layoutContainer): Handle case where
10554 there are no items in container.
10555
10556 * java/lang/Win32Process.java: Added comment.
10557 * include/posix.h (_Jv_platform_close_on_exec): New function.
10558 Include fcntl.h.
10559 * include/win32.h (_Jv_platform_close_on_exec): New function.
10560 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10561 flag.
10562 (accept): Likewise.
10563 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10564 close-on-exec flag.
10565 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10566 flag.
10567
10568 2002-03-09 Tom Tromey <tromey@redhat.com>
10569
10570 * verify.cc (state::NO_STACK): New constant.
10571 (state::is_unmerged_ret_state): Handle case where stacktop is
10572 NO_STACK.
10573 (state::merge): Handle NO_STACK merges.
10574 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10575 for instruction following jsr.
10576 (stacktop, stackdepth): Removed unused variables.
10577 (pop_jump): Ignore case where all remaining states are skipped.
10578
10579 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10580
10581 * java/awt/ImageMediaEntry: Removed.
10582 * java/awt/MediaEntry: Removed.
10583
10584 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10585
10586 Hashtable synchronization for PowerPC.
10587 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10588 slow_pthread_self. Set up symlink for sysdeps directory.
10589 * configure: Rebuild.
10590 * configure.host: Document more shell variables. Set sysdeps_dir
10591 for most platforms. Set slow_pthread_self for i686. Set
10592 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10593 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10594 that memory barrier is emitted where required.
10595 * prims.cc: 64-bit align static primitive class instances.
10596 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10597 read_barrier() to enforce ordering of reads.
10598 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10599 primitives for PowerPC.
10600 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10601 moved from natObject.cc.
10602 * sysdep/alpha/locks.h: Likewise.
10603 * sysdep/ia64/locks.h: Likewise.
10604 * sysdep/generic/locks.h: Likewise.
10605 * java/lang/natObject.cc: Move thread synchronization primitives to
10606 system-dependent headers.
10607
10608 2002-03-09 Adam Megacz <adam@xwt.org>
10609
10610 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10611 bytes read and no failure code returned.
10612
10613 2002-03-09 Adam Megacz <adam@xwt.org>
10614
10615 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10616 definitions to simulate -mthreads.
10617
10618 2002-03-09 Adam Megacz <adam@xwt.org>
10619
10620 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10621 avoid precision loss.
10622
10623 2002-03-09 Per Bothner <per@bothner.com>
10624
10625 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10626 * gnu/gcj/xlib/XImage.java: Likewise.
10627 * gnu/gcj/xlib/XColor.java: Likewise.
10628
10629 2002-03-09 Adam Megacz <adam@xwt.org>
10630
10631 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10632 IOException so that Throwable.printStackTrace fails correctly.
10633
10634 2002-03-08 Adam Megacz <adam@xwt.org>
10635
10636 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10637 fixed.
10638
10639 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10640
10641 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10642 truncated to int.
10643
10644 2002-03-08 Tom Tromey <tromey@redhat.com>
10645
10646 * include/jni.h: Include stdio.h.
10647
10648 2002-03-08 Tom Tromey <tromey@redhat.com>
10649
10650 * posix.cc (internal_gettimeofday): New function.
10651 (_Jv_select): Use it.
10652
10653 2002-03-07 Adam Megacz <adam@xwt.org>
10654
10655 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10656 WIN32, and added thunks for read(), write(), and close().
10657 * java/net/natPlainSocketImpl.cc (accept, read, read):
10658 Disabled timeouts on WIN32 pending discussion.
10659
10660 2002-03-07 Adam Megacz <adam@xwt.org>
10661
10662 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10663 returns jlong. Added implementation
10664 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10665 returns jlong.
10666 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10667 returns jlong.
10668 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10669 returns jlong.
10670 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10671 _Jv_platform_gettimeofday signature.
10672
10673 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10674
10675 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10676 (read): Call recv() directly, not _Jv_recv().
10677
10678 2002-03-06 Tom Tromey <tromey@redhat.com>
10679
10680 * java/io/natFileDescriptorEcos.cc (init): Don't use
10681 GetStdHandle.
10682 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10683 is negative.
10684 (init): Don't use GetStdHandle.
10685
10686 * include/config.h.in: Rebuilt.
10687 * configure: Rebuilt.
10688 * Makefile.in: Rebuilt.
10689
10690 2002-03-06 Adam Megacz <adam@xwt.org>
10691
10692 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10693 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10694 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10695 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10696
10697 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10698
10699 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10700 the code for generating include/java-chartables.h.
10701 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10702 merge with Classpath.
10703 * scripts/unicode-muncher.pl: Copy from Classpath.
10704 * scritps/MakeCharTables.java: New file.
10705 * gnu/gcj/convert/Blocks-3.txt: New file.
10706 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10707 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10708 * gnu/java/lang/CharData.java: Copy from Classpath.
10709 * Makefile.am (ordinary_java_source_files): Add
10710 gnu/java/lang/CharData.java.
10711 * configure.in: Remove --enable-fast-character option.
10712 * java/lang/Character.java: Merge algorithms and Javadoc with
10713 Classpath.
10714 * java/lang/natCharacter.cc: Implement Unicode lookup table more
10715 efficiently.
10716 * include/java-chardecomp.h: Regenerate.
10717 * include/java-chartables.h: Regenerate.
10718
10719 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10720
10721 * java/awt/MediaTracker.java: Implemented.
10722 * Makefile.am: Add MediaTracker.
10723 * Makefile.in: Rebuilt.
10724
10725 2002-03-05 Tom Tromey <tromey@redhat.com>
10726
10727 * java/lang/natPosixProcess.cc (fail): Removed.
10728 (startProcess): Simplified error-handling. Preserve
10729 LD_LIBRARY_PATH across exec.
10730
10731 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10732 AbstractMethodError.
10733
10734 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10735
10736 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10737 * Makefile.in: Rebuilt.
10738
10739 2002-03-03 Mark Wielaard <mark@klomp.org>
10740
10741 * java/util/Timer (TaskQueue.stop): set elements to zero.
10742
10743 2002-02-28 Anthony Green <green@redhat.com>
10744
10745 * java/lang/reflect/natMethod.cc (result): Add void* element.
10746 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
10747 constructor test.
10748
10749 2002-02-27 Adam Megacz <adam@xwt.org>
10750
10751 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10752 '#undef STRICT'.
10753
10754 2002-02-26 Tom Tromey <tromey@redhat.com>
10755
10756 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10757 * gij.cc (version): Use __VERSION__.
10758 * include/config.h.in: Rebuilt.
10759 * acconfig.h (GCJVERSION): Removed.
10760 * configure: Rebuilt.
10761 * configure.in (GCJVERSION): Removed.
10762
10763 2002-02-26 Andreas Schwab <schwab@suse.de>
10764
10765 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10766 glibcpp_CXX, since libjava uses even another CXX.
10767 * aclocal.m4, configure: Regenerated.
10768
10769 2002-02-26 Tom Tromey <tromey@redhat.com>
10770
10771 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10772 `1'.
10773
10774 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10775
10776 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10777 dependency tracking for .java files.
10778 * Makefile.in: Rebuilt.
10779
10780 2002-02-24 Adam Megacz <adam@xwt.org>
10781
10782 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10783 typo. Sorry.
10784
10785 2002-02-24 Adam Megacz <adam@xwt.org>
10786
10787 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10788 for Win32, changed #ifdefs to check WIN32 instead of the
10789 (now-obsolete) USE_WINSOCK, and removed support for socket
10790 timeouts on Win32 pending further discussion.
10791
10792 2002-02-24 Adam Megacz <adam@xwt.org>
10793
10794 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10795 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10796 delete
10797
10798 2002-02-24 Adam Megacz <adam@xwt.org>
10799
10800 * java/lang/Win32Process.java: Created a dummy class to allow
10801 build process to run to completion.
10802
10803 2002-02-24 Jeff Sturm <jsturm@one-point.com>
10804
10805 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10806 Define ffi_result union for ffi_call result. Cast
10807 ffi_result members to jvalue.
10808
10809 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
10810
10811 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10812 * testsuite/Makefile.in: Likewise.
10813
10814 2002-02-20 Per Bothner <per@bothner.com>
10815
10816 * java/net/URL.java (getPath): New JDK 1.3 method.
10817
10818 * java/net/URLStreamHandler.java (parseURL):
10819 It is wrong to prepend '/' to the file part of a relative url.
10820
10821 * java/net/URLStreamHandler.java (parseURL):
10822 Minor optizations - append '/' rather than "/".
10823
10824 * java/net/URLStreamHandler.java (parseURL):
10825 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10826 We probably should canonicalize for a context-relative url, though.
10827 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
10828 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
10829 (sameFile): New method. Uses canonicalizeFilename.
10830
10831 2002-02-22 Tom Tromey <tromey@redhat.com>
10832
10833 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10834 java.vendor and java.vm.vendor.
10835 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10836 recent copyright date.
10837 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10838 * gij.cc (version): Print `Inc'.
10839
10840 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10841
10842 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10843 * aclocal.m4, configure: Rebuilt.
10844
10845 2002-02-20 Per Bothner <per@bothner.com>
10846
10847 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
10848 and/or output streams immediately here, instead of using File.exists.
10849 (inputStream, outputStream): New fields to save open streams.
10850 (getInputStream, getOutputStream): Use already-opened streams.
10851
10852 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10853
10854 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10855 Use it.
10856 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10857 * aclocal.m4, configure, Makefile.in: Rebuilt.
10858
10859 2002-02-19 Tom Tromey <tromey@redhat.com>
10860
10861 Fix for PR libgcj/5696:
10862 * verify.cc (is_assignable_from_slow): Never call
10863 _Jv_IsAssignableFrom.
10864 (verify_instructions_0): Added new debug statement.
10865 (state::print): Print information about whether local has
10866 changed.
10867 (state::merge): Don't call note_variable when merging locals.
10868 (state::set_exception): Removed old FIXME comment.
10869
10870 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10871
10872 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10873 enable SO_BROADCAST.
10874
10875 2002-02-18 Jason Merrill <jason@redhat.com>
10876
10877 * name-finder.cc (toHex): Use word mode, not long long.
10878
10879 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10880
10881 2002-02-15 Tom Tromey <tromey@redhat.com>
10882
10883 Fix for PR libgcj/5695:
10884 * verify.cc (is_assignable_from_slow): Check to see if target is
10885 an Object before checking to see if source is an interface.
10886 (verify_instructions_0) [op_invokeinterface]: Handle case where
10887 we're making an interface call on Object.
10888
10889 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10890
10891 * Makefile.in: Rebuilt with Eric's change below.
10892
10893 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10894 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10895 Removed functions which are now implemented in Math.java.
10896
10897 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10898
10899 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10900 * Makefile.am (core_java_source_files): Add
10901 java/lang/StrictMath.java.
10902 * java/lang/Math.java: Merge with Classpath.
10903 * java/lang/StrictMath.java: New file - merge with Classpath.
10904
10905 2002-02-14 Mark Wielaard <mark@klomp.org>
10906
10907 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10908 package as a workaround for gcj 3.0.x
10909
10910 2002-02-14 Mark Wielaard <mark@klomp.org>
10911
10912 * java/security/BasicPermission.java: extends with fully qualified
10913 classname as workaround for gcj 3.0.4.
10914
10915 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10916
10917 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10918 around gcj bug of wrong emitted qualifier for inherited method.
10919 * java/net/SocketImpl.java (setOption, getOption): Ditto.
10920 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10921 constructor to reduce amount of emitted bytecode. While this
10922 happens to work around a jikes 1.15 bug, it is still a useful
10923 patch even for correct compilers.
10924 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10925 * gnu/java/rmi/server/UnicastRemoteCall.java
10926 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10927
10928 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10929
10930 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10931 * java/net/SocketImpl.java: Ditto.
10932 * java/rmi/server/RMIClassLoader.java: Ditto.
10933 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10934
10935 2002-02-14 Mark Wielaard <mark@klomp.org>
10936
10937 Thanks to Takashi Okamoto
10938 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10939 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10940 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10941
10942 2002-02-13 Todd Stock <toddastock@yahoo.com>
10943
10944 Fix for PR libgcj/5670:
10945 * verify.cc (is_assignable_from_slow): If `source' is interface,
10946 recursively look for merge with `target'.
10947
10948 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
10949
10950 * include/jni.h: Fix typo.
10951
10952 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
10953
10954 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10955 correctly.
10956
10957 2002-02-13 Todd Stock <toddastock@yahoo.com>
10958
10959 Fix for PR libgcj/5671:
10960 * verify.cc (state::merge): Handle case where we're merging
10961 against an interface.
10962
10963 2002-02-12 Tom Tromey <tromey@redhat.com>
10964
10965 * exception.cc (std::abort): Mark as noreturn.
10966
10967 2002-02-12 Adam Megacz <adam@xwt.org>
10968
10969 * java/lang/Win32Process.java: Filled in a placeholder
10970 implementation so Win32 will build.
10971
10972 2002-02-12 Adam Megacz <adam@xwt.org>
10973
10974 * java/io/natFilePosix.cc: Copied this from natFile.cc.
10975 * java/io/natFile.cc: Removed from repository.
10976 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10977
10978 2002-02-12 Adam Megacz <adam@xwt.org>
10979
10980 * win32.cc: Added two #includes to make win32.cc compile.
10981
10982 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10983
10984 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10985 declarations.
10986 (_Jv_InitGC): Don't bother locking, as this is always called from a
10987 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10988
10989 2002-02-11 Adam Megacz <adam@xwt.org>
10990
10991 * include/win32.h: Added _Jv_platform_gettimeofday.
10992 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10993
10994 2002-02-11 Adam Megacz <adam@xwt.org>
10995
10996 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10997 Added #undef STRICT to make windows.h and
10998 java/lang/reflect/Modifier.h cooperate.
10999
11000 2002-02-11 Adam Megacz <adam@xwt.org>
11001
11002 * java/io/natFileWin32.cc: Created a placeholder class with lots
11003 of FIXMEs.
11004
11005 2002-02-11 Adam Megacz <adam@xwt.org>
11006
11007 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
11008 std::abort() to simply abort(). Also added "fake" std::abort() so
11009 we can #include unwind-pe.h without having to link against
11010 libstdc++-v3.
11011
11012 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
11013
11014 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
11015
11016 2002-02-08 Tom Tromey <tromey@redhat.com>
11017
11018 * interpret.cc (convert): New function.
11019 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
11020 convert.
11021 Include Long.h.
11022
11023 2002-02-08 Anthony Green <green@redhat.com>
11024
11025 * configure.host: Add support for xscale-elf embedded target.
11026
11027 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
11028
11029 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
11030 dereferenced.
11031 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
11032 frame.
11033
11034 2002-02-07 Tom Tromey <tromey@redhat.com>
11035
11036 * java/io/natFile.cc (_access): Use __builtin_alloca.
11037 (_stat): Likewise.
11038 (attr): Likewise.
11039 (getCanonicalPath): Likewise.
11040 (performList): Likewise.
11041 (performMkdir): Likewise.
11042 (performSetReadOnly): Likewise.
11043 (performRenameTo): Likewise.
11044 (performSetLastModified): Likewise.
11045 (performCreate): Likewise.
11046 (performDelete): Likewise.
11047
11048 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11049
11050 * HACKING: Fix URL for the automake-gcj.
11051
11052 2002-02-07 Tom Tromey <tromey@redhat.com>
11053
11054 * java/lang/natThrowable.cc: Updated copyright.
11055 * java/io/natFileWin32.cc: Updated copyright.
11056 * java/io/natFileDescriptorWin32.cc: Updated copyright.
11057 * win32-threads.cc: Updated copyright.
11058 * name-finder.cc: Updated copyright.
11059 * include/name-finder.h: Updated copyright.
11060
11061 * include/name-finder.h: Conditionally include sys/wait.h.
11062 * include/config.h.in: Rebuilt.
11063
11064 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
11065 Size buffer based on real size of string.
11066 (_stat): Likewise.
11067 (attr): Likewise.
11068 (getCanonicalPath): Likewise.
11069 (performList): Likewise.
11070 (performMkdir): Likewise.
11071 (performSetReadOnly): Likewise.
11072 (unixroot): Removed.
11073 (performRenameTo): Likewise.
11074 (performSetLastModified): Likewise.
11075 (performCreate): Likewise.
11076 (performDelete): Likewise.
11077 (performListRoots): Always return new array.
11078
11079 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
11080 * win32.cc (win32_exception_handler): Now static.
11081 * include/win32.h (_Jv_platform_initialize): Declare.
11082 (win32_exception_handler): Don't declare.
11083 * java/lang/natSystem.cc (currentTimeMillis): Use
11084 _Jv_platform_gettimeofday.
11085 * posix.cc (_Jv_platform_gettimeofday): Renamed.
11086 (_Jv_select): Use new name.
11087 (_Jv_platform_initialize): New function.
11088 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
11089 _Jv_gettimeofday.
11090 (_Jv_platform_initialize): Declare.
11091
11092 * configure: Rebuilt.
11093 * configure.in: Removed unnecessary parens.
11094
11095 2002-02-06 Adam Megacz <adam@xwt.org>
11096
11097 * configure.in: Changed mingw) to *mingw*).
11098 * win32.cc: Created this file.
11099 * win32.h: Created this file.
11100 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
11101 win32_exception_handler from prims.cc to win32.cc, added
11102 header in win32.h.
11103 * prims.cc: removed some #ifdef-WIN32'd headers which are no
11104 longer needed now that we have platform.h
11105
11106 2002-02-06 Adam Megacz <adam@xwt.org>
11107
11108 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
11109 use uint<n>_t instead of LONG and BYTE
11110
11111 2002-02-06 Adam Megacz <adam@xwt.org>
11112
11113 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
11114
11115 2002-02-06 Anthony Green <green@redhat.com>
11116
11117 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
11118 Implement missing method stubs.
11119 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
11120 targets.
11121 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
11122 concept of timezones.
11123 (init_properties): Don't refer to _Jv_Environment_Properties
11124 when this feature is not available.
11125 * include/config.h.in: Rebuilt.
11126 * acconfig.h: Add DISABLE_MAIN_ARGS.
11127 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
11128 * configure: Rebuilt.
11129 * configure.in: Add --disable-main-args option. Test for
11130 opendir function. Replace AC_CHECK_SIZEOF with
11131 AC_COMPILE_CHECK_SIZEOF.
11132 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
11133 * aclocal.m4: Rebuilt.
11134 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
11135
11136 2002-02-06 Tom Tromey <tromey@redhat.com>
11137
11138 * verify.cc (require_array_type): If argument is a null array of
11139 references, return null as the element type.
11140
11141 2002-02-06 Mark Wielaard <mark@klomp.org>
11142
11143 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
11144 duplicate of a wide type.
11145
11146 2002-02-06 Tom Tromey <tromey@redhat.com>
11147
11148 * verify.cc (type::isnull): New method.
11149 (require_array_type): Handle case where array is null.
11150 (verify_instructions_0) [op_arraylength]: Likewise.
11151
11152 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11153
11154 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
11155 Symlink PLATFORMH to platform.h.
11156 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
11157 PLATFORMOBJS.
11158 * java/lang/natSystem.cc: #include platform.h not posix.h.
11159 * Makefile.in: Rebuilt with libgcj automake.
11160 * configure: Rebuilt.
11161
11162 2002-02-05 Richard Henderson <rth@redhat.com>
11163
11164 * Makefile.in: Undo munging last change.
11165
11166 2002-02-04 Adam Megacz <adam@xwt.org>
11167
11168 * win32.cc: Created it.
11169 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11170 which is set to posix.cc or win32.cc.
11171 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11172
11173 2002-02-04 Adam Megacz <adam@xwt.org>
11174
11175 * configure.in: Corrected mingw case branches; added * before
11176 and after.
11177
11178 2002-02-04 Adam Megacz <adam@xwt.org>
11179
11180 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11181 if compiling for win32
11182
11183 2002-02-04 Adam Megacz <adam@xwt.org>
11184
11185 * win32-threads.cc: #undef STRICT after gc.h inclusion
11186
11187 2002-02-02 Tom Tromey <tromey@redhat.com>
11188
11189 * Makefile.in: Rebuilt.
11190
11191 2002-02-02 Jason Merrill <jason@redhat.com>
11192
11193 * Makefile.am (clean-nat): New target.
11194
11195 2002-02-02 Tom Tromey <tromey@redhat.com>
11196
11197 * java/io/natFile.cc: Removed old "FIXME" comments.
11198
11199 2002-02-01 Tom Tromey <tromey@redhat.com>
11200
11201 * java/lang/natPosixProcess.cc (myclose): New function.
11202 (fail): Use it.
11203 (startProcess): Likewise.
11204
11205 2002-02-01 Adam Megacz <adam@xwt.org>
11206
11207 * prims.cc: Added #undef STRICT after #include<windows.h>.
11208
11209 2002-02-01 Adam Megacz <adam@xwt.org>
11210
11211 * prims.cc
11212 (_Jv_CreateJavaVM): We now use WIN32 instead of
11213 USE_WIN32_SIGNALLING and USE_WINSOCK.
11214 (win32_exception_handler): Now throws an exception out of
11215 the signal handler; assumes SJLJ.
11216
11217 2002-02-01 Adam Megacz <adam@xwt.org>
11218
11219 * win32-threads.cc:
11220 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11221 wait() algorithm to make it safe.
11222 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11223 Added lazy creation of Win32 Events for better performance
11224 (really_start): This now uses GC_CreateThread so boehm-gc
11225 knows about new threads even when statically linked.
11226
11227 2002-02-01 Adam Megacz <adam@xwt.org>
11228
11229 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11230 enable safer wait() algorithm.
11231 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11232 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11233 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11234 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11235 instead of mutex.
11236 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11237
11238 2002-02-01 Adam Megacz <adam@xwt.org>
11239
11240 * configure.in: Added support for mingw.
11241 * java/lang/Win32Process.java: Created as empty file.
11242 * java/lang/natWin32Process.cc: Created as empty file.
11243
11244 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11245
11246 PR java/4972
11247 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11248 for libiconv in LIBICONV variable.
11249 * configure: Regenerated.
11250
11251 2002-01-31 Tom Tromey <tromey@redhat.com>
11252
11253 * verify.cc (state::enter_subroutine): New method.
11254 (handle_jsr_insn): Use it.
11255 (state::merge): When processing a `ret', correctly use
11256 subroutine's state to determine which local variables have
11257 changed.
11258 (push_exception_jump): Don't let stack overflow.
11259
11260 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11261
11262 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11263 --version output.
11264
11265 2002-01-30 Tom Tromey <tromey@redhat.com>
11266
11267 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11268 parameter for `recv' return type.
11269
11270 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11271 (state::merge): ... not here.
11272 (subr_entry_info): New structure.
11273 (entry_points): New field.
11274 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11275 entry_points.
11276
11277 2002-01-29 Tom Tromey <tromey@redhat.com>
11278
11279 * java/awt/List.java (addNotify): Correctly check to see if peer
11280 does not exist.
11281
11282 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11283 to compute height of each cell, and number of columns to compute
11284 width of each cell.
11285 * java/awt/Window.java (getOwnedWindows): Don't return null.
11286 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11287 of component. Increment x using horizontal gap, not vertical
11288 gap.
11289
11290 2002-01-28 Tom Tromey <tromey@redhat.com>
11291
11292 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11293 `nargs' byte is number of words, not number of arguments.
11294
11295 2002-01-27 Tom Tromey <tromey@redhat.com>
11296
11297 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11298 (when): Likewise.
11299 * java/awt/event/InputEvent.java (modifiers, when): Now
11300 package-private.
11301
11302 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11303 and to-do list.
11304 (state::merge): Use current class' class loader.
11305 (state::print): Print subroutine.
11306 (state::merge): Don't look at subroutine of unmerged `ret'.
11307
11308 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11309
11310 * nogc.cc: Remove warnings.
11311 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11312 New functions.
11313
11314 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11315
11316 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11317 int, int): Remove empty "if" statement to work around compiler bug.
11318 (newPixels(int[], ColorModel, int, int): Likewise.
11319
11320 2002-01-25 Per Bothner <per@bothner.com>
11321
11322 * verify.cc (verify_fail): Change from being a top-level function
11323 to e method of _Jv_BytecodeVerifier. Emit current method name.
11324 Pass the current verifier to type: and state: methods as needed,
11325 for better error messages, and for resolve.
11326 (resolve): Pass current class's loader for Class.forName and
11327 _Jv_FindClassFromSignature, rather than using the default loader.
11328 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11329 (get_type_val_for_signature): Make non-static.
11330 (various methods): Pass start_PC implicitly, not explicitly.
11331
11332 2002-01-25 Tom Tromey <tromey@redhat.com>
11333
11334 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11335 loop termination condition.
11336 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11337 width.
11338
11339 2002-01-24 Tom Tromey <tromey@redhat.com>
11340
11341 * java/awt/Shape.java: Merged with Classpath.
11342 * java/awt/Scrollbar.java: Merged with Classpath.
11343
11344 * java/awt/Container.java (addNotify): Unconditionally call
11345 addNotifyContainerChildren and superclass addNotify.
11346
11347 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11348 getAlpha, not getBlue.
11349
11350 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11351
11352 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11353
11354 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11355 (grabPixels(long)): Wait to be notified that the ImageProducer has
11356 completed.
11357
11358 2002-01-24 Per Bothner <per@bothner.com>
11359
11360 * verify.cc (is_assignable_from_slow): If target is an interface,
11361 we must still check the source's superclass before giving up.
11362
11363 2002-01-24 Tom Tromey <tromey@redhat.com>
11364
11365 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11366
11367 2002-01-23 Tom Tromey <tromey@redhat.com>
11368
11369 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11370 `else'.
11371
11372 * Makefile.in: Rebuilt.
11373 * Makefile.am (awt_java_source_files): Added new files.
11374 * java/awt/Toolkit.java: Merged with Classpath.
11375 * java/awt/PrintGraphics.java: New file from Classpath.
11376 * java/awt/PrintJob.java: New file from Classpath.
11377 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11378 * java/awt/datatransfer/ClipboardOwner.java: New file from
11379 Classpath.
11380 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11381 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11382 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11383 Classpath.
11384 * java/awt/datatransfer/StringSelection.java: New file from
11385 Classpath.
11386 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11387 Classpath.
11388 * java/awt/datatransfer/Transferable.java: New file from
11389 Classpath.
11390 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11391 from Classpath.
11392
11393 * Makefile.in: Rebuilt.
11394 * Makefile.am (awt_java_source_files): Added new files.
11395 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11396 Classpath.
11397 * java/awt/image/CropImageFilter.java: New file from Classpath.
11398 * java/awt/image/FilteredImageSource.java: New file from
11399 Classpath.
11400 * java/awt/image/ImageFilter.java: New file from Classpath.
11401 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11402 * java/awt/image/PixelGrabber.java: New file from Classpath.
11403 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11404 * java/awt/image/ReplicateScaleFilter.java: New file from
11405 Classpath.
11406 * java/awt/image/ImageProducer.java: Replaced with Classpath
11407 version.
11408 * java/awt/image/ImageObserver.java: Replaced with Classpath
11409 version.
11410 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11411 version.
11412 * java/awt/GridBagConstraints.java (clone): Catch
11413 CloneNotSupportedException.
11414
11415 2002-01-23 Per Bothner <per@bothner.com>
11416
11417 * java/lang/reflect/natField.cc (setAddr): New function.
11418 Calls getAddr and then checks that the field isn't final.
11419 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11420 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11421 (set): Call setAddr before check that new value has right type,
11422 to better match specified semantics.
11423
11424 2002-01-22 Tom Tromey <tromey@redhat.com>
11425
11426 * java/awt/TextField.java: Replaced with Classpath version.
11427 * java/awt/TextArea.java: Replaced with Classpath version.
11428 * java/awt/TextComponent.java: Replaced with Classpath version.
11429
11430 * java/awt/GridBagConstraints.java: Updated copyright.
11431
11432 2002-01-22 Mark Wielaard <mark@klomp.org>
11433
11434 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11435 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11436 java/awt/Dialog.java java/awt/FileDialog.java
11437 java/awt/Font.java java/awt/FontMetrics.java
11438 java/awt/Image.java java/awt/ImageMediaEntry.java
11439 java/awt/Insets.java java/awt/List.java
11440 java/awt/MediaEntry.java java/awt/MediaTracker.java
11441 java/awt/Menu.java java/awt/MenuBar.java
11442 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11443 java/awt/PaintContext.java java/awt/Panel.java
11444 java/awt/PopupMenu.java java/awt/SystemColor.java
11445 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11446 java/awt/peer/CheckboxMenuItemPeer.java
11447 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11448 java/awt/peer/ComponentPeer.java
11449 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11450 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11451 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11452 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11453 java/awt/peer/MenuBarPeer.java
11454 java/awt/peer/MenuComponentPeer.java
11455 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11456 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11457 java/awt/peer/ScrollPanePeer.java
11458 java/awt/peer/ScrollbarPeer.java
11459 java/awt/peer/TextAreaPeer.java
11460 java/awt/peer/TextComponentPeer.java
11461 java/awt/peer/TextFieldPeer.java
11462 java/awt/peer/WindowPeer.java: Add license clarification.
11463
11464 2002-01-22 Mark Wielaard <mark@klomp.org>
11465
11466 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11467 gnu/gcj/runtime/StringBuffer.java
11468 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11469 gnu/java/awt/ComponentDataBlitOp.java
11470 gnu/java/awt/GLightweightPeer.java
11471 gnu/java/beans/BeanInfoEmbryo.java
11472 gnu/java/beans/EmptyBeanInfo.java
11473 gnu/java/beans/ExplicitBeanInfo.java
11474 gnu/java/beans/IntrospectionIncubator.java
11475 gnu/java/beans/editors/ColorEditor.java
11476 gnu/java/beans/editors/FontEditor.java
11477 gnu/java/beans/editors/NativeBooleanEditor.java
11478 gnu/java/beans/editors/NativeByteEditor.java
11479 gnu/java/beans/editors/NativeDoubleEditor.java
11480 gnu/java/beans/editors/NativeFloatEditor.java
11481 gnu/java/beans/editors/NativeIntEditor.java
11482 gnu/java/beans/editors/NativeLongEditor.java
11483 gnu/java/beans/editors/NativeShortEditor.java
11484 gnu/java/beans/editors/StringEditor.java
11485 gnu/java/beans/info/ComponentBeanInfo.java
11486 gnu/java/io/ClassLoaderObjectInputStream.java
11487 gnu/java/io/NullOutputStream.java
11488 gnu/java/io/ObjectIdentityWrapper.java
11489 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11490 gnu/java/lang/reflect/TypeSignature.java
11491 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11492 gnu/java/locale/Calendar_en.java
11493 gnu/java/locale/Calendar_nl.java
11494 gnu/java/locale/LocaleInformation.java
11495 gnu/java/locale/LocaleInformation_de.java
11496 gnu/java/locale/LocaleInformation_en.java
11497 gnu/java/locale/LocaleInformation_nl.java
11498 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11499 gnu/java/rmi/registry/RegistryImpl.java
11500 gnu/java/rmi/rmic/Compile_gcj.java
11501 gnu/java/rmi/rmic/Compiler.java
11502 gnu/java/rmi/rmic/CompilerProcess.java
11503 gnu/java/rmi/rmic/RMIC.java
11504 gnu/java/rmi/rmic/TabbedWriter.java
11505 gnu/java/rmi/server/ProtocolConstants.java
11506 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11507 gnu/java/rmi/server/RMIHashes.java
11508 gnu/java/rmi/server/RMIObjectInputStream.java
11509 gnu/java/rmi/server/RMIObjectOutputStream.java
11510 gnu/java/rmi/server/UnicastConnection.java
11511 gnu/java/rmi/server/UnicastConnectionManager.java
11512 gnu/java/rmi/server/UnicastRef.java
11513 gnu/java/rmi/server/UnicastRemoteCall.java
11514 gnu/java/rmi/server/UnicastRemoteStub.java
11515 gnu/java/rmi/server/UnicastServer.java
11516 gnu/java/rmi/server/UnicastServerRef.java
11517 gnu/java/security/provider/DefaultPolicy.java
11518 gnu/java/security/provider/Gnu.java
11519 gnu/java/security/provider/SHA.java
11520 gnu/java/security/provider/SHA1PRNG.java
11521 gnu/java/text/BaseBreakIterator.java
11522 gnu/java/text/CharacterBreakIterator.java
11523 gnu/java/text/LineBreakIterator.java
11524 gnu/java/text/SentenceBreakIterator.java
11525 gnu/java/text/WordBreakIterator.java
11526 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11527 java/applet/AppletContext.java java/applet/AppletStub.java
11528 java/applet/AudioClip.java java/awt/AWTError.java
11529 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11530 java/awt/AWTException.java java/awt/AWTPermission.java
11531 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11532 java/awt/Button.java java/awt/Canvas.java
11533 java/awt/CardLayout.java java/awt/Checkbox.java
11534 java/awt/CheckboxGroup.java java/awt/Component.java
11535 java/awt/ComponentOrientation.java java/awt/Container.java
11536 java/awt/Dimension.java java/awt/Event.java
11537 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11538 java/awt/FlowLayout.java java/awt/Frame.java
11539 java/awt/Graphics.java java/awt/Graphics2D.java
11540 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11541 java/awt/IllegalComponentStateException.java
11542 java/awt/ItemSelectable.java java/awt/Label.java
11543 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11544 java/awt/MenuComponent.java java/awt/MenuItem.java
11545 java/awt/Paint.java java/awt/Point.java
11546 java/awt/Rectangle.java java/awt/RenderingHints.java
11547 java/awt/Transparency.java java/awt/Window.java
11548 java/awt/color/ColorSpace.java
11549 java/awt/color/ICC_ColorSpace.java
11550 java/awt/color/ICC_Profile.java
11551 java/awt/event/HierarchyBoundsAdapter.java
11552 java/awt/event/HierarchyBoundsListener.java
11553 java/awt/event/HierarchyEvent.java
11554 java/awt/event/HierarchyListener.java
11555 java/awt/geom/AffineTransform.java
11556 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11557 java/awt/geom/IllegalPathStateException.java
11558 java/awt/geom/Line2D.java
11559 java/awt/geom/NoninvertibleTransformException.java
11560 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11561 java/awt/geom/Rectangle2D.java
11562 java/awt/geom/RectangularShape.java
11563 java/awt/geom/RoundRectangle2D.java
11564 java/awt/image/BufferedImage.java
11565 java/awt/image/ColorModel.java
11566 java/awt/image/ComponentColorModel.java
11567 java/awt/image/ComponentSampleModel.java
11568 java/awt/image/DataBuffer.java
11569 java/awt/image/DataBufferByte.java
11570 java/awt/image/DataBufferInt.java
11571 java/awt/image/DataBufferUShort.java
11572 java/awt/image/DirectColorModel.java
11573 java/awt/image/PackedColorModel.java
11574 java/awt/image/Raster.java java/awt/image/RasterOp.java
11575 java/awt/image/SampleModel.java
11576 java/awt/image/SinglePixelPackedSampleModel.java
11577 java/awt/image/WritableRaster.java
11578 java/beans/AppletInitializer.java
11579 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11580 java/beans/Beans.java java/beans/Customizer.java
11581 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11582 java/beans/FeatureDescriptor.java
11583 java/beans/IndexedPropertyDescriptor.java
11584 java/beans/IntrospectionException.java
11585 java/beans/Introspector.java java/beans/MethodDescriptor.java
11586 java/beans/ParameterDescriptor.java
11587 java/beans/PropertyChangeEvent.java
11588 java/beans/PropertyChangeListener.java
11589 java/beans/PropertyChangeSupport.java
11590 java/beans/PropertyDescriptor.java
11591 java/beans/PropertyEditor.java
11592 java/beans/PropertyEditorManager.java
11593 java/beans/PropertyEditorSupport.java
11594 java/beans/PropertyVetoException.java
11595 java/beans/SimpleBeanInfo.java
11596 java/beans/VetoableChangeListener.java
11597 java/beans/VetoableChangeSupport.java
11598 java/beans/Visibility.java
11599 java/beans/beancontext/BeanContext.java
11600 java/beans/beancontext/BeanContextChild.java
11601 java/beans/beancontext/BeanContextChildComponentProxy.java
11602 java/beans/beancontext/BeanContextChildSupport.java
11603 java/beans/beancontext/BeanContextContainerProxy.java
11604 java/beans/beancontext/BeanContextEvent.java
11605 java/beans/beancontext/BeanContextMembershipEvent.java
11606 java/beans/beancontext/BeanContextMembershipListener.java
11607 java/beans/beancontext/BeanContextProxy.java
11608 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11609 java/beans/beancontext/BeanContextServiceProvider.java
11610 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11611 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11612 java/beans/beancontext/BeanContextServiceRevokedListener.java
11613 java/beans/beancontext/BeanContextServices.java
11614 java/beans/beancontext/BeanContextServicesListener.java
11615 java/io/BufferedInputStream.java
11616 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11617 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11618 java/io/ByteArrayOutputStream.java
11619 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11620 java/io/CharConversionException.java java/io/DataInput.java
11621 java/io/DataInputStream.java java/io/DataOutput.java
11622 java/io/EOFException.java java/io/Externalizable.java
11623 java/io/FileFilter.java java/io/FileNotFoundException.java
11624 java/io/FilePermission.java java/io/FileReader.java
11625 java/io/FileWriter.java java/io/FilenameFilter.java
11626 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11627 java/io/FilterReader.java java/io/FilterWriter.java
11628 java/io/IOException.java java/io/InputStream.java
11629 java/io/InterruptedIOException.java
11630 java/io/InvalidClassException.java
11631 java/io/InvalidObjectException.java
11632 java/io/NotActiveException.java
11633 java/io/NotSerializableException.java java/io/ObjectInput.java
11634 java/io/ObjectInputStream.java
11635 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11636 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11637 java/io/ObjectStreamConstants.java
11638 java/io/ObjectStreamException.java
11639 java/io/ObjectStreamField.java
11640 java/io/OptionalDataException.java java/io/OutputStream.java
11641 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11642 java/io/PipedReader.java java/io/PipedWriter.java
11643 java/io/PrintWriter.java java/io/PushbackInputStream.java
11644 java/io/PushbackReader.java java/io/Reader.java
11645 java/io/SequenceInputStream.java java/io/Serializable.java
11646 java/io/SerializablePermission.java
11647 java/io/StreamCorruptedException.java
11648 java/io/StreamTokenizer.java
11649 java/io/StringBufferInputStream.java java/io/StringReader.java
11650 java/io/StringWriter.java java/io/SyncFailedException.java
11651 java/io/UTFDataFormatException.java
11652 java/io/UnsupportedEncodingException.java
11653 java/io/WriteAbortedException.java java/io/Writer.java
11654 java/lang/AbstractMethodError.java
11655 java/lang/ArithmeticException.java
11656 java/lang/ArrayIndexOutOfBoundsException.java
11657 java/lang/ArrayStoreException.java java/lang/Boolean.java
11658 java/lang/Byte.java java/lang/CharSequence.java
11659 java/lang/ClassCastException.java
11660 java/lang/ClassCircularityError.java
11661 java/lang/ClassFormatError.java
11662 java/lang/ClassNotFoundException.java
11663 java/lang/CloneNotSupportedException.java
11664 java/lang/Cloneable.java java/lang/Comparable.java
11665 java/lang/Compiler.java java/lang/Double.java
11666 java/lang/Error.java java/lang/Exception.java
11667 java/lang/ExceptionInInitializerError.java
11668 java/lang/Float.java java/lang/IllegalAccessError.java
11669 java/lang/IllegalAccessException.java
11670 java/lang/IllegalArgumentException.java
11671 java/lang/IllegalMonitorStateException.java
11672 java/lang/IllegalStateException.java
11673 java/lang/IllegalThreadStateException.java
11674 java/lang/IncompatibleClassChangeError.java
11675 java/lang/IndexOutOfBoundsException.java
11676 java/lang/InheritableThreadLocal.java
11677 java/lang/InstantiationError.java
11678 java/lang/InstantiationException.java java/lang/Integer.java
11679 java/lang/InternalError.java
11680 java/lang/InterruptedException.java
11681 java/lang/LinkageError.java java/lang/Long.java
11682 java/lang/NegativeArraySizeException.java
11683 java/lang/NoClassDefFoundError.java
11684 java/lang/NoSuchFieldError.java
11685 java/lang/NoSuchFieldException.java
11686 java/lang/NoSuchMethodError.java
11687 java/lang/NoSuchMethodException.java
11688 java/lang/NullPointerException.java java/lang/Number.java
11689 java/lang/NumberFormatException.java
11690 java/lang/OutOfMemoryError.java java/lang/Package.java
11691 java/lang/Process.java java/lang/Runnable.java
11692 java/lang/RuntimeException.java
11693 java/lang/RuntimePermission.java
11694 java/lang/SecurityException.java
11695 java/lang/SecurityManager.java java/lang/Short.java
11696 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11697 java/lang/StringIndexOutOfBoundsException.java
11698 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11699 java/lang/ThreadLocal.java java/lang/UnknownError.java
11700 java/lang/UnsatisfiedLinkError.java
11701 java/lang/UnsupportedClassVersionError.java
11702 java/lang/UnsupportedOperationException.java
11703 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11704 java/lang/Void.java java/lang/ref/PhantomReference.java
11705 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11706 java/lang/ref/SoftReference.java
11707 java/lang/ref/WeakReference.java
11708 java/lang/reflect/AccessibleObject.java
11709 java/lang/reflect/InvocationTargetException.java
11710 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11711 java/lang/reflect/ReflectPermission.java
11712 java/math/BigDecimal.java java/math/BigInteger.java
11713 java/net/Authenticator.java java/net/BindException.java
11714 java/net/ConnectException.java java/net/ContentHandler.java
11715 java/net/ContentHandlerFactory.java
11716 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11717 java/net/FileNameMap.java java/net/MalformedURLException.java
11718 java/net/MulticastSocket.java java/net/NetPermission.java
11719 java/net/NoRouteToHostException.java
11720 java/net/PasswordAuthentication.java
11721 java/net/ProtocolException.java java/net/ServerSocket.java
11722 java/net/Socket.java java/net/SocketException.java
11723 java/net/SocketImpl.java java/net/SocketImplFactory.java
11724 java/net/SocketOptions.java java/net/SocketPermission.java
11725 java/net/URLDecoder.java java/net/URLEncoder.java
11726 java/net/URLStreamHandlerFactory.java
11727 java/net/UnknownHostException.java
11728 java/net/UnknownServiceException.java
11729 java/rmi/AccessException.java
11730 java/rmi/AlreadyBoundException.java
11731 java/rmi/ConnectException.java
11732 java/rmi/ConnectIOException.java
11733 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11734 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11735 java/rmi/NotBoundException.java
11736 java/rmi/RMISecurityException.java
11737 java/rmi/RMISecurityManager.java java/rmi/Remote.java
11738 java/rmi/RemoteException.java java/rmi/ServerError.java
11739 java/rmi/ServerException.java
11740 java/rmi/ServerRuntimeException.java
11741 java/rmi/StubNotFoundException.java
11742 java/rmi/UnexpectedException.java
11743 java/rmi/UnknownHostException.java
11744 java/rmi/UnmarshalException.java
11745 java/rmi/activation/Activatable.java
11746 java/rmi/activation/ActivateFailedException.java
11747 java/rmi/activation/ActivationDesc.java
11748 java/rmi/activation/ActivationException.java
11749 java/rmi/activation/ActivationGroup.java
11750 java/rmi/activation/ActivationGroupDesc.java
11751 java/rmi/activation/ActivationGroupID.java
11752 java/rmi/activation/ActivationID.java
11753 java/rmi/activation/ActivationInstantiator.java
11754 java/rmi/activation/ActivationMonitor.java
11755 java/rmi/activation/ActivationSystem.java
11756 java/rmi/activation/Activator.java
11757 java/rmi/activation/UnknownGroupException.java
11758 java/rmi/activation/UnknownObjectException.java
11759 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11760 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11761 java/rmi/registry/Registry.java
11762 java/rmi/registry/RegistryHandler.java
11763 java/rmi/server/ExportException.java
11764 java/rmi/server/LoaderHandler.java
11765 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11766 java/rmi/server/Operation.java
11767 java/rmi/server/RMIClassLoader.java
11768 java/rmi/server/RMIClientSocketFactory.java
11769 java/rmi/server/RMIFailureHandler.java
11770 java/rmi/server/RMIServerSocketFactory.java
11771 java/rmi/server/RMISocketFactory.java
11772 java/rmi/server/RemoteCall.java
11773 java/rmi/server/RemoteObject.java
11774 java/rmi/server/RemoteRef.java
11775 java/rmi/server/RemoteServer.java
11776 java/rmi/server/RemoteStub.java
11777 java/rmi/server/ServerCloneException.java
11778 java/rmi/server/ServerNotActiveException.java
11779 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11780 java/rmi/server/SkeletonMismatchException.java
11781 java/rmi/server/SkeletonNotFoundException.java
11782 java/rmi/server/SocketSecurityException.java
11783 java/rmi/server/UID.java
11784 java/rmi/server/UnicastRemoteObject.java
11785 java/rmi/server/Unreferenced.java
11786 java/security/AccessControlContext.java
11787 java/security/AccessControlException.java
11788 java/security/AccessController.java
11789 java/security/AlgorithmParameterGenerator.java
11790 java/security/AlgorithmParameterGeneratorSpi.java
11791 java/security/AlgorithmParameters.java
11792 java/security/AlgorithmParametersSpi.java
11793 java/security/AllPermission.java
11794 java/security/BasicPermission.java
11795 java/security/Certificate.java java/security/CodeSource.java
11796 java/security/DigestException.java
11797 java/security/DigestInputStream.java
11798 java/security/DigestOutputStream.java
11799 java/security/DomainCombiner.java
11800 java/security/DummyKeyPairGenerator.java
11801 java/security/DummyMessageDigest.java
11802 java/security/DummySignature.java
11803 java/security/GeneralSecurityException.java
11804 java/security/Guard.java java/security/GuardedObject.java
11805 java/security/Identity.java java/security/IdentityScope.java
11806 java/security/InvalidAlgorithmParameterException.java
11807 java/security/InvalidKeyException.java
11808 java/security/InvalidParameterException.java
11809 java/security/Key.java java/security/KeyException.java
11810 java/security/KeyFactory.java java/security/KeyFactorySpi.java
11811 java/security/KeyManagementException.java
11812 java/security/KeyPair.java java/security/KeyPairGenerator.java
11813 java/security/KeyPairGeneratorSpi.java
11814 java/security/KeyStore.java
11815 java/security/KeyStoreException.java
11816 java/security/KeyStoreSpi.java
11817 java/security/MessageDigest.java
11818 java/security/MessageDigestSpi.java
11819 java/security/NoSuchAlgorithmException.java
11820 java/security/NoSuchProviderException.java
11821 java/security/Permission.java
11822 java/security/PermissionCollection.java
11823 java/security/Permissions.java java/security/Policy.java
11824 java/security/Principal.java java/security/PrivateKey.java
11825 java/security/PrivilegedAction.java
11826 java/security/PrivilegedActionException.java
11827 java/security/PrivilegedExceptionAction.java
11828 java/security/ProtectionDomain.java
11829 java/security/Provider.java
11830 java/security/ProviderException.java
11831 java/security/PublicKey.java
11832 java/security/SecureClassLoader.java
11833 java/security/SecureRandom.java
11834 java/security/SecureRandomSpi.java java/security/Security.java
11835 java/security/SecurityPermission.java
11836 java/security/Signature.java
11837 java/security/SignatureException.java
11838 java/security/SignatureSpi.java
11839 java/security/SignedObject.java java/security/Signer.java
11840 java/security/UnrecoverableKeyException.java
11841 java/security/UnresolvedPermission.java
11842 java/security/acl/Acl.java java/security/acl/AclEntry.java
11843 java/security/acl/AclNotFoundException.java
11844 java/security/acl/Group.java
11845 java/security/acl/LastOwnerException.java
11846 java/security/acl/NotOwnerException.java
11847 java/security/acl/Owner.java java/security/acl/Permission.java
11848 java/security/cert/CRL.java
11849 java/security/cert/CRLException.java
11850 java/security/cert/Certificate.java
11851 java/security/cert/CertificateEncodingException.java
11852 java/security/cert/CertificateException.java
11853 java/security/cert/CertificateExpiredException.java
11854 java/security/cert/CertificateFactory.java
11855 java/security/cert/CertificateFactorySpi.java
11856 java/security/cert/CertificateNotYetValidException.java
11857 java/security/cert/CertificateParsingException.java
11858 java/security/cert/X509CRL.java
11859 java/security/cert/X509CRLEntry.java
11860 java/security/cert/X509Certificate.java
11861 java/security/cert/X509Extension.java
11862 java/security/interfaces/DSAKey.java
11863 java/security/interfaces/DSAKeyPairGenerator.java
11864 java/security/interfaces/DSAParams.java
11865 java/security/interfaces/DSAPrivateKey.java
11866 java/security/interfaces/DSAPublicKey.java
11867 java/security/interfaces/RSAKey.java
11868 java/security/interfaces/RSAPrivateCrtKey.java
11869 java/security/interfaces/RSAPrivateKey.java
11870 java/security/interfaces/RSAPublicKey.java
11871 java/security/spec/AlgorithmParameterSpec.java
11872 java/security/spec/DSAParameterSpec.java
11873 java/security/spec/DSAPrivateKeySpec.java
11874 java/security/spec/DSAPublicKeySpec.java
11875 java/security/spec/EncodedKeySpec.java
11876 java/security/spec/InvalidKeySpecException.java
11877 java/security/spec/InvalidParameterSpecException.java
11878 java/security/spec/KeySpec.java
11879 java/security/spec/PKCS8EncodedKeySpec.java
11880 java/security/spec/RSAKeyGenParameterSpec.java
11881 java/security/spec/RSAPrivateCrtKeySpec.java
11882 java/security/spec/RSAPrivateKeySpec.java
11883 java/security/spec/RSAPublicKeySpec.java
11884 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11885 java/sql/BatchUpdateException.java java/sql/Blob.java
11886 java/sql/CallableStatement.java java/sql/Clob.java
11887 java/sql/Connection.java java/sql/DataTruncation.java
11888 java/sql/DatabaseMetaData.java java/sql/Date.java
11889 java/sql/Driver.java java/sql/DriverManager.java
11890 java/sql/DriverPropertyInfo.java
11891 java/sql/PreparedStatement.java java/sql/Ref.java
11892 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11893 java/sql/SQLData.java java/sql/SQLException.java
11894 java/sql/SQLInput.java java/sql/SQLOutput.java
11895 java/sql/SQLWarning.java java/sql/Statement.java
11896 java/sql/Struct.java java/sql/Time.java
11897 java/sql/Timestamp.java java/sql/Types.java
11898 java/text/Annotation.java
11899 java/text/AttributedCharacterIterator.java
11900 java/text/AttributedString.java
11901 java/text/AttributedStringIterator.java
11902 java/text/BreakIterator.java java/text/CharacterIterator.java
11903 java/text/ChoiceFormat.java java/text/Collator.java
11904 java/text/DateFormat.java java/text/DateFormatSymbols.java
11905 java/text/DecimalFormat.java
11906 java/text/DecimalFormatSymbols.java
11907 java/text/FieldPosition.java java/text/Format.java
11908 java/text/MessageFormat.java java/text/NumberFormat.java
11909 java/text/ParseException.java java/text/ParsePosition.java
11910 java/text/SimpleDateFormat.java
11911 java/text/StringCharacterIterator.java
11912 java/util/AbstractCollection.java java/util/AbstractList.java
11913 java/util/AbstractMap.java
11914 java/util/AbstractSequentialList.java
11915 java/util/AbstractSet.java java/util/ArrayList.java
11916 java/util/Arrays.java java/util/BasicMapEntry.java
11917 java/util/BitSet.java java/util/Calendar.java
11918 java/util/Collection.java java/util/Collections.java
11919 java/util/Comparator.java
11920 java/util/ConcurrentModificationException.java
11921 java/util/Date.java java/util/Dictionary.java
11922 java/util/EmptyStackException.java java/util/Enumeration.java
11923 java/util/EventListener.java java/util/EventObject.java
11924 java/util/GregorianCalendar.java java/util/HashMap.java
11925 java/util/HashSet.java java/util/Hashtable.java
11926 java/util/IdentityHashMap.java java/util/Iterator.java
11927 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11928 java/util/LinkedList.java java/util/List.java
11929 java/util/ListIterator.java java/util/ListResourceBundle.java
11930 java/util/Locale.java java/util/Map.java
11931 java/util/MissingResourceException.java
11932 java/util/NoSuchElementException.java
11933 java/util/Observable.java java/util/Observer.java
11934 java/util/Properties.java java/util/PropertyPermission.java
11935 java/util/PropertyResourceBundle.java java/util/Random.java
11936 java/util/RandomAccess.java java/util/ResourceBundle.java
11937 java/util/Set.java java/util/SimpleTimeZone.java
11938 java/util/SortedMap.java java/util/SortedSet.java
11939 java/util/Stack.java java/util/StringTokenizer.java
11940 java/util/TimeZone.java java/util/Timer.java
11941 java/util/TimerTask.java
11942 java/util/TooManyListenersException.java
11943 java/util/TreeMap.java java/util/TreeSet.java
11944 java/util/Vector.java java/util/WeakHashMap.java
11945 java/util/jar/Attributes.java java/util/jar/JarEntry.java
11946 java/util/jar/JarException.java java/util/jar/JarFile.java
11947 java/util/jar/JarInputStream.java
11948 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11949 java/util/zip/Adler32.java java/util/zip/CRC32.java
11950 java/util/zip/CheckedInputStream.java
11951 java/util/zip/CheckedOutputStream.java
11952 java/util/zip/Checksum.java
11953 java/util/zip/DataFormatException.java
11954 java/util/zip/Deflater.java
11955 java/util/zip/DeflaterOutputStream.java
11956 java/util/zip/GZIPInputStream.java
11957 java/util/zip/GZIPOutputStream.java
11958 java/util/zip/Inflater.java
11959 java/util/zip/InflaterInputStream.java
11960 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11961 java/util/zip/ZipException.java java/util/zip/ZipFile.java
11962 java/util/zip/ZipInputStream.java
11963 java/util/zip/ZipOutputStream.java
11964 javax/naming/BinaryRefAddr.java
11965 javax/naming/InvalidNameException.java javax/naming/Name.java
11966 javax/naming/NamingException.java javax/naming/RefAddr.java
11967 javax/naming/StringRefAddr.java: Add license clarification.
11968
11969 2002-01-22 Tom Tromey <tromey@redhat.com>
11970
11971 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11972 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11973 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11974 version.
11975 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11976 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11977 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11978 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11979 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11980 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11981 * java/awt/peer/FontPeer.java: Replace with Classpath version.
11982 * java/awt/peer/FramePeer.java: Replace with Classpath version.
11983 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11984 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11985 * java/awt/peer/ListPeer.java: Replace with Classpath version.
11986 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11987 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11988 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11989 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11990 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11991 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11992 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11993 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11994 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11995 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11996 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11997 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11998 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11999 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
12000 (minimumSize, preferredSize, reshape): Likewise.
12001 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
12002 getColorModel): New methods.
12003 * java/awt/PopupMenu.java: Merged with Classpath.
12004 * java/awt/MenuBar.java: Merged with Classpath.
12005 * java/awt/SystemColor.java: Replace with Classpath version.
12006 * java/awt/Panel.java: Merged with Classpath.
12007 * java/awt/PaintContext.java: Updated copyright.
12008 * java/awt/MenuShortcut.java: Merged with Classpath.
12009 * java/awt/MenuContainer.java: Merged with Classpath.
12010 * java/awt/Menu.java: Merged with Classpath.
12011 * java/awt/MediaEntry.java: New file from Classpath.
12012 * java/awt/MediaTracker.java: New file from Classpath.
12013 * java/awt/List.java: Merged with Classpath version.
12014 * java/awt/Insets.java: Merged with Classpath version.
12015 * java/awt/ImageMediaEntry.java: New file from Classpath.
12016 * java/awt/Image.java: Replaced with Classpath version.
12017 * java/awt/FontMetrics.java: Merged with Classpath version.
12018 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
12019 constant.
12020 * java/awt/Font.java: Merged with Classpath version.
12021 * java/awt/Dialog.java: Merged with Classpath version.
12022 * java/awt/Color.java: Merged with Classpath version.
12023 * java/awt/Choice.java: Merged with Classpath version.
12024 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
12025 * java/awt/Adjustable.java: Replace with Classpath version.
12026 * java/awt/MenuItem.java (paramString): Don't include class name
12027 or brackets. Call superclass paramString.
12028 * java/awt/MenuComponent.java (toString): Call paramString.
12029 (paramString): Compute string; don't call toString.
12030 * java/awt/Label.java (paramString): Don't include class name
12031 or brackets. Call superclass paramString.
12032 * java/awt/Checkbox.java (paramString): Don't include class name
12033 or brackets. Call superclass paramString.
12034 * java/awt/Button.java (paramString): Don't include class name or
12035 brackets. Call superclass paramString.
12036 * java/awt/MenuComponent.java (getTreeLock): Now protected.
12037
12038 2002-01-20 Andreas Schwab <schwab@suse.de>
12039
12040 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
12041 function and of parameter recv_func to ssize_t, as specified by
12042 POSIX.
12043
12044 2002-01-19 Per Bothner <per@bothner.com>
12045
12046 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
12047 uncompressed_size in readiness for next entry.
12048
12049 2002-01-18 Tom Tromey <tromey@redhat.com>
12050
12051 * java/net/natPlainSocketImpl.cc: Include
12052 IllegalArgumentException.h.
12053 (_Jv_recv): New template function.
12054 (BooleanClass): Removed.
12055 (read): Use _Jv_recv.
12056 (setOption): Use Boolean::class$. Throw exception if object is
12057 not Boolean or Integer.
12058
12059 2002-01-17 Tom Tromey <tromey@redhat.com>
12060
12061 * java/awt/MenuComponent.java: Merged with Classpath.
12062 * java/awt/MenuItem.java: Merged with Classpath.
12063 * java/awt/Button.java: Merged with Classpath.
12064
12065 * java/awt/ActiveEvent.java: Updated copyright.
12066
12067 * java/awt/AWTError.java: Replaced with Classpath version.
12068 * java/awt/AWTException.java: Replaced with Classpath version.
12069 * java/awt/IllegalComponentStateException.java: Replaced with
12070 Classpath version.
12071
12072 2002-01-16 Tom Tromey <tromey@redhat.com>
12073
12074 * java/awt/Canvas.java (serialVersionUID): New constant.
12075 Updated copyright. Added javadoc from Classpath.
12076 * java/awt/ItemSelectable.java: Replaced with Classpath version.
12077
12078 * java/awt/CheckboxGroup.java: Merged with Classpath.
12079 * java/awt/Checkbox.java: Merged with Classpath.
12080
12081 * java/awt/Dimension.java: Updated copyright. Added javadoc from
12082 Classpath.
12083 * java/awt/Point.java: Updated copyright.
12084
12085 * java/awt/Point.java (toString): Use getClass().getName().
12086 Added javadoc.
12087
12088 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
12089 commented code.
12090 (hash): Correctly compute initial value for `h'.
12091
12092 * java/awt/Label.java: Merged with Classpath.
12093
12094 2002-01-15 Tom Tromey <tromey@redhat.com>
12095
12096 * java/awt/AWTPermission.java: Updated copyright.
12097
12098 * java/awt/LayoutManager2.java: Merged with Classpath.
12099 * java/awt/LayoutManager.java: Merged with Classpath.
12100 * java/awt/GridLayout.java: Updated copyright and javadoc.
12101 (getSize): Use `parent.ncomponents'. Handle insets.
12102 (layoutContainer): Use `parent.ncomponents'. Handle case where
12103 there are fewer children than columns. Correctly compute size of
12104 each cell in the grid. Handle case where there isn't enough
12105 space.
12106 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
12107 all users.
12108 (gotoComponent): Use parent.ncomponents. Ensure child exists
12109 before calling setVisible() on it. Last item is `num - 1', not
12110 `num'.
12111 (layoutContainer): Hoist invariants out of loop.
12112
12113 Start of AWT merge with Classpath:
12114 * Makefile.in: Rebuilt.
12115 * Makefile.am (awt_java_source_files): Reference files in
12116 gnu/java/awt, not gnu/gcj/awt.
12117 * java/awt/image/BufferedImage.java: Updated copyright.
12118 * java/awt/image/ComponentColorModel.java: Updated copyright.
12119 * java/awt/image/ComponentSampleModel.java: Updated copyright.
12120 * java/awt/image/DataBuffer.java: Updated copyright.
12121 * java/awt/image/DataBufferByte.java: Updated copyright.
12122 * java/awt/image/DataBufferInt.java: Updated copyright.
12123 * java/awt/image/DataBufferUShort.java: Updated copyright.
12124 * java/awt/image/IndexColorModel.java: Updated copyright.
12125 * java/awt/image/PackedColorModel.java: Updated copyright.
12126 * java/awt/image/Raster.java: Updated copyright.
12127 * java/awt/image/RasterOp.java: Updated copyright.
12128 * java/awt/image/SampleModel.java: Updated copyright.
12129 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
12130 * java/awt/image/WritableRaster.java: Updated copyright.
12131 * java/awt/color/ColorSpace.java: Updated copyright.
12132 * java/awt/color/ICC_ColorSpace.java: Updated copyright
12133 * java/awt/color/ICC_Profile.java: Updated copyright.
12134 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
12135 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
12136 * java/awt/event/HierarchyEvent.java: Updated copyright.
12137 * java/awt/event/HierarchyListener.java: Updated copyright.
12138 * java/awt/geom/AffineTransform.java: Updated copyright.
12139 * java/awt/geom/Dimension2D.java: Updated copyright.
12140 * java/awt/geom/Ellipse2D.java: Updated copyright.
12141 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
12142 * java/awt/geom/Line2D.java: Updated copyright.
12143 * java/awt/geom/NoninvertibleTransformException.java: Updated
12144 copyright.
12145 * java/awt/geom/PathIterator.java: Updated copyright.
12146 * java/awt/geom/Point2D.java: Updated copyright.
12147 * java/awt/geom/Rectangle2D.java: Updated copyright.
12148 * java/awt/geom/RectangularShape.java: Updated copyright.
12149 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
12150 * java/awt/Toolkit.java: Updated import for file moves.
12151 * java/awt/Rectangle.java: Updated copyright; added javadoc from
12152 Classpath.
12153 (hashCode): New method from Classpath.
12154 * java/awt/Graphics2D.java: Updated copyright.
12155 * java/awt/Transparency.java: Updated copyright.
12156 * java/awt/Paint.java: Updated copyright.
12157 * java/awt/Graphics.java: New version from Classpath.
12158 * java/awt/EventDispatchThread.java: Updated copyright.
12159 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12160 children.
12161 (gotoComponent): Wrap around on next/previous.
12162 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12163 * gnu/gcj/awt/Buffers.java: Removed.
12164 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12165 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12166 * gnu/java/awt/BitMaskExtent.java: Added.
12167 * gnu/java/awt/Buffers.java: Added.
12168 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12169 * gnu/java/awt/GLightweightPeer.java: Added.
12170 * java/awt/geom/Line2D.java (clone): Ignore
12171 CloneNotSupportedException.
12172 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12173 * java/awt/Frame.java: Merged with Classpath.
12174 * java/awt/RenderingHints.java: Copyright update.
12175 * java/awt/Paint.java: Copyright update.
12176 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12177 * java/awt/image/ColorModel.java: Merged with Classpath.
12178 * java/awt/Window.java (show): New Implementation from Classpath.
12179 (isShowing): Use super.isShowing().
12180 * java/awt/EventQueue.java: Merged with Classpath.
12181 * java/awt/AWTEventMulticaster.java (save): Throw
12182 RuntimeException.
12183 (saveInternal): Likewise.
12184 * java/awt/AWTEvent.java: Now implements Serializable.
12185 * java/awt/Event.java: Copyright update.
12186 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12187 * java/awt/image/BufferedImage.java: Copyright update.
12188 * java/awt/GraphicsConfiguration.java: Copyright update.
12189 * java/awt/Component.java: (addNotify): Don't call
12190 addNotifyContainerChildren().
12191 (addNotifyContainerChildren): Removed.
12192 (setPeer): New method from Classpath.
12193 (setTreeLock): Likewise.
12194 (setVisible): Rewrote.
12195 (show): Use it.
12196 (hide): Likewise.
12197 (validate): Set `valid'.
12198 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12199 (createImage(ImageProducer)): Likewise.
12200 (prepareImage): Likewise.
12201 * java/awt/Container.java (addImpl): Handle case where constraint
12202 is not a String. Post event via system event queue.
12203 (remove): Post event via system event queue.
12204 (validateTree): Only validate child if it is invalid.
12205 (getAlignmentX): Call super method as default.
12206 (getAlignmentY): Likewise.
12207 (addContainerListener): Now synchronized.
12208 (removeContainerListener): Likewise.
12209 (addNotifyContainerChildren): Now private.
12210 * java/awt/ComponentOrientation.java: Updated copyright. Added
12211 @author.
12212 * java/awt/FlowLayout.java (serialVersionUID): New field.
12213 (setAlignment): Better exception message.
12214 (layoutContainer): Don't compute component's preferred size unless
12215 we're going to use it.
12216 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12217 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12218 (firstLine, lastLine, firstItem, lastItem): New fields.
12219 (addLayoutComponent): Handle case where constraints is null.
12220 Also, handle relative locations.
12221 (removeLayoutComponent): Handle relative locations.
12222 (MIN, MAX, PREF): New constants.
12223 (calcCompSize): New method.
12224 (calcSize): New method.
12225 (minimumLayoutSize): Use it.
12226 (preferredLayoutSize): Likewise.
12227 (maximumLayoutSize): Likewise.
12228 (toString): Include more information.
12229 (setBounds): New method.
12230 (layoutContainer): Use libgcj implementation; extended to handle
12231 relative locations.
12232
12233 2002-01-15 Tom Tromey <tromey@redhat.com>
12234
12235 * java/lang/Float.java (equals): Preserve old code.
12236 * java/lang/Double.java (equals): Preserve old code.
12237
12238 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12239
12240 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12241 * java/lang/Float.java (equals, compare): Ditto.
12242
12243 2002-01-13 Mark Wielaard <mark@klomp.org>
12244
12245 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12246 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12247 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12248 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12249
12250 2002-01-11 Mark Wielaard <mark@klomp.org>
12251
12252 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12253 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12254 InetAddress.
12255 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12256 * java/net/Socket.java: Merge with Classpath.
12257 * java/net/ServerSocket.java: Likewise.
12258
12259 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12260
12261 * interpret.cc (NULLARRAYCHECK): New macro.
12262 (SAVE_PC): Just store `pc'.
12263 (find_exception): Subtract one from `pc' here.
12264 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12265 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12266 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12267 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12268 don't call SAVE_PC.
12269 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12270 call SAVE_PC.
12271
12272 2002-01-11 Tom Tromey <tromey@redhat.com>
12273
12274 * java/lang/natSystem.cc (init_properties): Only look for default
12275 locale if LC_MESSAGES is defined.
12276 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12277 * configure.in: Call AM_LC_MESSAGES.
12278 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12279
12280 2002-01-10 Tom Tromey <tromey@redhat.com>
12281
12282 For PR libgcj/5303:
12283 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12284 --version. Recognize GNU-style long options. Print GNU-style
12285 error messages.
12286 (usage): Print GNU-style help. Exit with status 0.
12287 (error): New method.
12288 (run): Print error message if no class names found.
12289 (main): Don't print usage on error.
12290
12291 2002-01-09 Tom Tromey <tromey@redhat.com>
12292
12293 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12294 property.
12295 (help, version): Use println(), not println("").
12296
12297 For PR libgcj/5303:
12298 * gnu/gcj/convert/Convert.java (error): Program is called
12299 `jv-convert'. Print GNU-style message. Exit with status 1, not
12300 -1.
12301 (main): Handle --help and --version.
12302 (help): New method.
12303 (version): Likewise.
12304
12305 2002-01-08 Tom Tromey <tromey@redhat.com>
12306
12307 * Makefile.in: Rebuilt.
12308 * Makefile.am (ordinary_java_source_files): Added new files.
12309 * gnu/java/locale/LocaleInformation.java: Extend
12310 LocaleInformation_en.
12311 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12312 and time/date formats.
12313 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12314 generated.
12315 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12316 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12317 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12318 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12319 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12320 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12321 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12322 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12323 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12324 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12325 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12326 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12327 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12328 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12329 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12330 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12331 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12332 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12333 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12334 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12335 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12336 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12337 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12338 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12339 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12340 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12341 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12342 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12343 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12344 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12345 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12346 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12347 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12348 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12349 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12350 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12351 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12352 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12353 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12354 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12355 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12356 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12357 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12358 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12359 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12360 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12361 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12362 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12363 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12364 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12365 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12366 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12367 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12368 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12369 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12370 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12371 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12372 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12373 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12374 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12375 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12376 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12377 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12378 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12379 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12380 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12381 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12382 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12383 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12384 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12385 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12386 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12387 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12388 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12389 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12390 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12391 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12392 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12393 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12394 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12395 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12396 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12397 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12398 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12399 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12400 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12401 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12402 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12403 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12404 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12405 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12406 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12407 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12408 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12409 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12410 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12411 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12412 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12413 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12414 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12415 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12416 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12417 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12418 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12419 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12420 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12421 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12422 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12423 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12424 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12425 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12426 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12427 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12428 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12429 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12430 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12431 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12432 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12433 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12434 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12435 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12436 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12437 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12438 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12439 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12440 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12441 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12442 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12443 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12444 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12445
12446 For PR libgcj/5031:
12447 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12448 choose default locale.
12449
12450 * Makefile.in: Rebuilt.
12451 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12452
12453 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12454
12455 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12456 sockets.
12457 (close): New function closes the socket.
12458 (write): New functions for output to socket.
12459 (read): New functions for reading from socket.
12460 * java/net/PlainSocketImpl.java: Glue for new timeout
12461 implementation.
12462 (write): Call the native impl.
12463 (read): Likewise.
12464 (getInputStream): Get a stream to read from the socket.
12465 (getOutputStream): Get a stream to write to the socket.
12466
12467 2002-01-08 Tom Tromey <tromey@redhat.com>
12468
12469 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12470
12471 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12472
12473 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12474 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12475
12476 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12477
12478 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12479 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12480 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12481 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12482 insn_bastore, insn_castore, insn_sastore]: Use it.
12483 (continue1) [insn_arraylength]: Check for null array.
12484
12485 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12486
12487 * configure, include/config.h.in: Rebuilt.
12488 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12489 * configure.in: Call AC_STRUCT_TIMEZONE.
12490
12491 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12492
12493 * configure.host: Disable the interpreter for Darwin.
12494
12495 2002-01-04 Tom Tromey <tromey@redhat.com>
12496
12497 * java/lang/Thread.java (stop): No longer synchronized.
12498 (start): Likewise.
12499
12500 2002-01-02 Tom Tromey <tromey@redhat.com>
12501
12502 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12503 patch.
12504
12505 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12506
12507 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12508 PPC Darwin, not for all of Darwin.