ObjectOutputStream.java (writeObject): break after calling writeClassDescriptor().
[gcc.git] / libjava / ChangeLog
1 2003-07-09 Mark Wielaard <mark@klomp.org>
2
3 * java/io/ObjectOutputStream.java (writeObject): break after
4 calling writeClassDescriptor().
5
6 2003-07-09 Mark Mitchell <mark@codesourcery.com>
7
8 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
9
10 2003-07-09 Michael Koch <konqueror@gmx.de>
11
12 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
13 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
14 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
15 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
16 Explicitly import used classes.
17 * java/awt/Container.java: New version from classpath.
18
19 2003-07-09 Michael Koch <konqueror@gmx.de>
20
21 * libgcj.pc.in
22 * Makefile.am
23 * Makefile.in
24 * configure
25 * configure.in
26
27 2003-07-08 Mark Wielaard <mark@klomp.org>
28
29 * gcj/cni.h: CNI now expands to Compiled Native Interface.
30
31 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
32 * java/lang/fdlibm.h: Likewise.
33
34 2003-07-07 Adam Megacz <adam@xwt.org>
35
36 * posix.cc: added #include<stdio.h>
37
38 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
39
40 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
41 formatting.
42
43 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
44 (setCaretPosition, setEditable): Rely entirely on native
45 implementation.
46 (getArgs): Remove.
47 (postTextEvent): New method.
48 (handleEvent): New method.
49 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
50 method.
51 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
52 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
53 (keysym_to_awt_keycode): Fix range checks.
54 (generates_key_typed_event): New function.
55 (awt_event_handler): Post AWT_KEY_RELEASED events to event
56 queue.
57 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
58 (gtkInit): Store TextComponent's postTextEvent method ID.
59 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
60 (setText): Post TEXT_VALUE_CHANGED event to event queue.
61
62 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
63
64 * configure.in: Check for usleep declaration.
65 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
66 * configure: Regenerate.
67 * include/config.h.in: Likewise.
68 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
69
70 2003-07-01 Michael Koch <konqueror@gmx.de>
71
72 * gnu/gcj/convert/natIconv.cc
73 (iconv_init): Fixed possible memory leak by releasing allocated iconv
74 handle.
75
76 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
77
78 * glib-2.0.m4: New file.
79 * gtk-2.0.m4: New file.
80 * glib.m4: Remove.
81 * gtk.m4: Remove.
82 * configure.in: Update AM_PATH_GTK macro call to
83 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
84 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
85 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
86 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
87 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
88 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
89 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
90 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
91 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
92 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
93 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
94 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
95 jni/gtk-peer/gthread-jni.c,
96 jni/gtk-peer/gthread-jni.h:
97 New versions from classpath.
98 * aclocal.m4: Regenerate.
99 * configure: Regenerate.
100 * Makefile.in: Regenerate.
101 * gcj/Makefile.in: Regenerate.
102 * include/Makefile.in: Regenerate.
103 * testsuite/Makefile.in: Regenerate.
104
105 2003-06-30 Gary Benson <gbenson@redhat.com>
106
107 For PR libgcj/11349:
108 * javax/naming/spi/NamingManager.java (getURLContext): Use
109 correct name for factory class.
110
111 2003-06-28 Michael Koch <konqueror@gmx.de>
112
113 * java/io/PrintStream.java
114 (checkError): Call flush() instead of direct flushing of the Writer
115 object.
116 (print): Call print(String) instead of direct print method of the
117 Writer Object.
118 (println): Call println(String) instead of direct println method of the
119 Writer Object.
120 (write): Simplified.
121
122 2003-06-28 Michael Koch <konqueror@gmx.de>
123
124 * java/net/ServerSocket.java
125 (setChannel): New method.
126 * java/net/Socket.java
127 (setChannel): New method.
128
129 2003-06-27 Michael Koch <konqueror@gmx.de>
130
131 * java/beans/beancontext/BeanContextSupport.java:
132 New version from classpath.
133
134 2003-06-27 Michael Koch <konqueror@gmx.de>
135
136 * java/awt/Window.java,
137 java/awt/font/GraphicAttribute.java,
138 java/awt/font/ImageGraphicAttribute.java,
139 java/awt/image/DataBufferByte.java,
140 java/awt/image/DataBufferInt.java,
141 java/awt/image/DataBufferUShort.java,
142 java/awt/image/DirectColorModel.java,
143 java/awt/image/PixelGrabber.java:
144 New versions from classpath.
145
146 2003-06-27 Michael Koch <konqueror@gmx.de>
147
148 * java/security/Certificate.java
149 (getGuarantor): Removed wrong @deprecated tag.
150 (getPrincipal): Likewise.
151 (getPublicKey): Likewise.
152 (encode): Likewise.
153 (decode): Likewise.
154 (getFormat): Likewise.
155 (toString): Likewise.
156 * java/security/cert/PolicyQualifierInfo.java
157 (PolicyQualifierInfo): Made final.
158 * javax/security/auth/x500/X500Principal.java
159 (serialVersionUID): New member variable.
160
161 2003-06-27 Michael Koch <konqueror@gmx.de>
162
163 * java/text/Format.java
164 (serialVersionUID): Fixed value.
165
166 2003-06-27 Michael Koch <konqueror@gmx.de>
167
168 * java/net/Inet4Address.java
169 (Inet4Address): Made package-private.
170 * java/net/Inet6Address.java
171 (Inet4Address): Made package-private.
172
173 2003-06-27 Michael Koch <konqueror@gmx.de>
174
175 * java/io/RandomAccessFile.java
176 (readLine): Removed wrong @deprecated tag.
177 (getChannel): Made final.
178
179 2003-06-27 Michael Koch <konqueror@gmx.de>
180
181 * gnu/java/nio/FileChannelImpl.java
182 (write): Removed.
183
184 2003-06-27 Michael Koch <konqueror@gmx.de>
185
186 * java/nio/ByteBufferImpl.java
187 (ByteBufferImpl): Made it a package-private class
188 * java/nio/CharBufferImpl.java
189 (CharBufferImpl): Made it a package-private class
190 * java/nio/DirectByteBufferImpl.java
191 (DirectByteBufferImpl): Made it a package-private class
192 * java/nio/DoubleBufferImpl.java
193 (DoubleBufferImpl): Made it a package-private class
194 * java/nio/FloatBufferImpl.java
195 (FloatBufferImpl): Made it a package-private class
196 * java/nio/IntBufferImpl.java
197 (IntBufferImpl): Made it a package-private class
198 * java/nio/LongBufferImpl.java
199 (LongBufferImpl): Made it a package-private class
200 * java/nio/ShortBufferImpl.java
201 (ShortBufferImpl): Made it a package-private class
202 * java/nio/channels/FileChannel.java
203 (write): Made final.
204 * java/nio/channels/ServerSocketChannel.java
205 (ServerSocketChanne): Made protected.
206
207 2003-06-27 Michael Koch <konqueror@gmx.de>
208
209 * javax/naming/CompositeName.java
210 (serialVersionUID): New member variable.
211 * javax/naming/CompoundName.java
212 (serialVersionUID): New member variable.
213 * javax/naming/InitialContext.java
214 (InitialContext): Throws NamingException.
215 (init): Likewise.
216 * javax/naming/LinkRef.java
217 (serialVersionUID): New member variable.
218 (gteLinkName): Throws NamingException.
219 * javax/naming/NamingException.java
220 (serialVersionUID): New member variable.
221 * javax/naming/NamingSecurityException.java
222 (NamingSecurityException): Made abstract.
223 (serialVersionUID): New member variable.
224 * javax/naming/ReferralException.java
225 (serialVersionUID): New member variable.
226 * javax/naming/StringRefAddr.java
227 (serialVersionUID): New member variable.
228 * javax/naming/directory/BasicAttribute.java:
229 Reworked imports.
230 (serialVersionUID): New member variable.
231 (get): Throws NamingException.
232 (getAll): Throws NamingException.
233 * javax/naming/directory/BasicAttributes.java:
234 Reworked imports.
235 (serialVersionUID): New member variable.
236 * javax/naming/ldap/UnsolicitedNotificationEvent.java
237 (serialVersionUID): New member variable.
238
239 2003-06-27 Michael Koch <konqueror@gmx.de>
240
241 * Makefile.am
242 (awt_java_source_files): Added new files:
243 javax/swing/Popup.java,
244 javax/swing/PopupFactory.java
245 * Makefile.in: Regenerated.
246
247 2003-06-27 Michael Koch <konqueror@gmx.de>
248
249 * javax/swing/JWindow.java,
250 javax/swing/event/AncestorEvent.java,
251 javax/swing/event/HyperlinkEvent.java,
252 javax/swing/event/InternalFrameEvent.java,
253 javax/swing/event/ListDataEvent.java,
254 javax/swing/event/TableModelEvent.java,
255 javax/swing/plaf/PopupMenuUI.java,
256 javax/swing/plaf/SplitPaneUI.java,
257 javax/swing/plaf/TabbedPaneUI.java,
258 javax/swing/plaf/TextUI.java,
259 javax/swing/plaf/TreeUI.java,
260 javax/swing/plaf/basic/BasicTextUI.java,
261 javax/swing/plaf/basic/BasicTreeUI.java:
262 New versions from classpath.
263 * javax/swing/Popup.java,
264 javax/swing/PopupFactory.jav:
265 New source files from classpath.
266 * javax/swing/plaf/doc-files/TreeUI-1.png:
267 New binary files from classpath.
268
269 2003-06-25 Michael Koch <konqueror@gmx.de>
270
271 * Makefile.am
272 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
273 * Makefile.in: Regenerated.
274
275 2003-06-25 Michael Koch <konqueror@gmx.de>
276
277 * javax/swing/plaf/ActionMapUIResource.java,
278 javax/swing/plaf/BorderUIResource.java,
279 javax/swing/plaf/ButtonUI.java,
280 javax/swing/plaf/ColorChooserUI.java,
281 javax/swing/plaf/ColorUIResource.java,
282 javax/swing/plaf/ComboBoxUI.java,
283 javax/swing/plaf/ComponentInputMapUIResource.java,
284 javax/swing/plaf/ComponentUI.java,
285 javax/swing/plaf/DesktopIconUI.java,
286 javax/swing/plaf/DesktopPaneUI.java,
287 javax/swing/plaf/DimensionUIResource.java,
288 javax/swing/plaf/FileChooserUI.java,
289 javax/swing/plaf/FontUIResource.java,
290 javax/swing/plaf/IconUIResource.java,
291 javax/swing/plaf/InputMapUIResource.java,
292 javax/swing/plaf/InsetsUIResource.java,
293 javax/swing/plaf/InternalFrameUI.java,
294 javax/swing/plaf/LabelUI.java,
295 javax/swing/plaf/ListUI.java,
296 javax/swing/plaf/MenuBarUI.java,
297 javax/swing/plaf/MenuItemUI.java,
298 javax/swing/plaf/OptionPaneUI.java,
299 javax/swing/plaf/PanelUI.java,
300 javax/swing/plaf/ProgressBarUI.java,
301 javax/swing/plaf/RootPaneUI.java,
302 javax/swing/plaf/ScrollBarUI.java,
303 javax/swing/plaf/ScrollPaneUI.java,
304 javax/swing/plaf/SeparatorUI.java,
305 javax/swing/plaf/SliderUI.java,
306 javax/swing/plaf/TableHeaderUI.java,
307 javax/swing/plaf/TableUI.java,
308 javax/swing/plaf/ToolBarUI.java,
309 javax/swing/plaf/ToolTipUI.java,
310 javax/swing/plaf/ViewportUI.java:
311 New versions from classpath.
312 * javax/swing/plaf/SpinnerUI.java:
313 New file from classpath
314
315 2003-06-25 Michael Koch <konqueror@gmx.de>
316
317 * java/awt/image/ColorModel.java:
318 New version from classpath.
319
320 2003-06-25 Michael Koch <konqueror@gmx.de>
321
322 * java/net/PlainDatagramSocketImpl.java:
323 Partly merged with classpath, this mainly adds documentation.
324
325 2003-06-25 Michael Koch <konqueror@gmx.de>
326
327 * java/io/ObjectInputStream.java
328 (readClassDescriptor): New method.
329 (readObject): Moved functionality to readClassDescriptor().
330 * java/io/ObjectOutputStream.java
331 (writeClassDescriptor): New method.
332 (writeObject): Moved functionality to writeClassDescriptor().
333
334 2003-06-25 Michael Koch <konqueror@gmx.de>
335
336 * javax/swing/plaf/basic/BasicListUI.java,
337 javax/swing/plaf/basic/BasicOptionPaneUI.java:
338 Added missing methods.
339
340 2003-06-25 Michael Koch <konqueror@gmx.de>
341
342 * javax/swing/event/AncestorEvent.java
343 javax/swing/event/HyperlinkEvent.java
344 javax/swing/event/InternalFrameEvent.java
345 javax/swing/event/ListDataEvent.java
346 javax/swing/event/TableModelEvent.java:
347 Compile fixes.
348
349 2003-06-24 Michael Koch <konqueror@gmx.de>
350
351 * java/net/URL.java:
352 Renamed "handler" to "ph" in the whole file to match classpaths
353 version.
354 * java/net/URLStreamHandler.java:
355 (equals): Renamed "handler" to "ph".
356
357 2003-06-24 Michael Koch <konqueror@gmx.de>
358
359 * javax/swing/event/AncestorEvent.java,
360 javax/swing/event/HyperlinkEvent.java,
361 javax/swing/event/InternalFrameEvent.java,
362 javax/swing/event/ListDataEvent.java,
363 javax/swing/event/TableModelEvent.java,
364 javax/swing/event/TreeWillExpandListener.java,
365 javax/swing/plaf/ComponentUI.java,
366 javax/swing/plaf/DesktopIconUI.java,
367 javax/swing/plaf/DesktopPaneUI.java,
368 javax/swing/plaf/DimensionUIResource.java,
369 javax/swing/plaf/FileChooserUI.java,
370 javax/swing/plaf/FontUIResource.java,
371 javax/swing/plaf/IconUIResource.java,
372 javax/swing/plaf/InputMapUIResource.java,
373 javax/swing/plaf/InsetsUIResource.java,
374 javax/swing/plaf/InternalFrameUI.java,
375 javax/swing/plaf/LabelUI.java,
376 javax/swing/plaf/ListUI.java,
377 javax/swing/plaf/MenuBarUI.java,
378 javax/swing/plaf/MenuItemUI.java,
379 javax/swing/plaf/OptionPaneUI.java,
380 javax/swing/plaf/PanelUI.java,
381 javax/swing/plaf/ProgressBarUI.java,
382 javax/swing/plaf/doc-files/ComponentUI-1.dia,
383 javax/swing/plaf/doc-files/ComponentUI-1.png:
384 New versions from classpath.
385
386 2003-06-24 Michael Koch <konqueror@gmx.de>
387
388 * java/nio/Buffer.java
389 (cap): Made package-private.
390 (pos): Likewise.
391 (limit): Likewise.
392 (mark): Likewise.
393
394 2003-06-24 Michael Koch <konqueror@gmx.de>
395
396 * java/net/SocketImpl.java
397 (shutdownInput): Made it non-abstract method throwing an exception
398 like in SUNs JRE.
399 (shutdownOutput): Likewise.
400 * java/net/SocketInputStream.java,
401 java/net/SocketOutputStream.java:
402 New files from classpath.
403
404 2003-06-24 Michael Koch <konqueror@gmx.de>
405
406 * java/awt/Font.java,
407 java/awt/Window.java,
408 java/awt/color/ColorSpace.java,
409 java/awt/datatransfer/StringSelection.java,
410 java/awt/image/ColorModel.java:
411 New versions from classpath.
412
413 2003-06-24 Michael Koch <konqueror@gmx.de>
414
415 * Makefile.am
416 (awt_java_source_files): Added new files:
417 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
418 javax/swing/plaf/basic/BasicSplitPaneUI.java
419 * Makefile.in: Regenerated.
420
421 2003-06-24 Michael Koch <konqueror@gmx.de>
422
423 * javax/swing/text/JTextComponent.java:
424 New version from classpath.
425
426 2003-06-24 Michael Koch <konqueror@gmx.de>
427
428 * javax/swing/Timer.java,
429 javax/swing/plaf/ActionMapUIResource.java,
430 javax/swing/plaf/ButtonUI.java,
431 javax/swing/plaf/ColorChooserUI.java,
432 javax/swing/plaf/ColorUIResource.java,
433 javax/swing/plaf/ComboBoxUI.java,
434 javax/swing/plaf/ComponentInputMapUIResource.java,
435 javax/swing/plaf/basic/BasicBorders.java:
436 New versions from classpath.
437 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
438 javax/swing/plaf/basic/BasicSplitPaneUI.java:
439 New file from classpath.
440 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
441 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
442 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
443 javax/swing/plaf/doc-files/ComponentUI-1.dia,
444 javax/swing/plaf/doc-files/ComponentUI-1.png:
445 New binary files from classpath.
446
447 2003-06-24 Michael Koch <konqueror@gmx.de>
448
449 * java/io/LineNumberReader.java
450 (skip): Dont do line number accounting here as this is already done in
451 read(), simplified.
452
453 2003-06-21 Michael Koch <konqueror@gmx.de>
454
455 * java/io/File.java
456 (static): Load javaio lib if existing (only in classpath).
457 (File): Revised documentation to show the correct argument name.
458 (createTempFile): Partly merged with classpath.
459 (compareTo): Simplified.
460 (lastModified): Throw exception if time < 0.
461 (deleteOnExit): Revised documentation.
462
463 2003-06-21 Michael Koch <konqueror@gmx.de>
464
465 * java/net/PlainSocketImpl.java:
466 Reformatted.
467 (PlainSocketImpl): Merged class documentaion with classpath.
468 (in): Moved.
469 (out): Moved.
470 (PlainSocketImpl): New empty constructor.
471 (finalize): Moved.
472 (setOption): Merged documentation from classpath.
473 (getOption): Likewise.
474 (create): Likewise.
475 (connect): Likewise.
476 (bind): Likewise.
477 (listen): Likewise.
478 (accept): Likewise.
479 (available): Likewise.
480 (close): Likewise.
481 (read): Likewise.
482 (write): Likewise.
483 (getInputStream): Made synchronozed to get sure that only one stream
484 object can be created for this socket, merged documentation from
485 classpath.
486 (getOutputStream): Likewise.
487
488 2003-06-21 Michael Koch <konqueror@gmx.de>
489
490 * java/net/PlainSocketImpl.java:
491 Reformatting.
492 (static): New implicit method.
493 (read): Made package private.
494 (write): Likewise.
495
496 2003-06-21 Michael Koch <konqueror@gmx.de>
497
498 * java/util/SimpleTimeZone.java:
499 Removed unneeded import, reformatting.
500
501 2003-06-21 Michael Koch <konqueror@gmx.de>
502
503 * java/text/DateFormat.java,
504 java/text/SimpleDateFormat.java,
505 java/util/Locale.java:
506 New versions from classpath.
507
508 2003-06-21 Michael Koch <konqueror@gmx.de>
509
510 * javax/swing/SpinnerModel.java:
511 New file from classpath.
512 * javax/swing/border/LineBorder.java,
513 javax/swing/border/SoftBevelBorder.java,
514 javax/swing/plaf/BorderUIResource.java,
515 javax/swing/plaf/basic/BasicBorders.java:
516 New versions from classpath.
517 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
518 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
519 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
520 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
521 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
522 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
523 New binary files from classpath.
524
525 2003-06-21 Michael Koch <konqueror@gmx.de>
526
527 * java/util/logging/LogRecord.java,
528 java/util/logging/Logger.java,
529 java/util/logging/SocketHandler.java,
530 java/util/logging/SimpleFormatter.java,
531 java/util/logging/Formatter.java,
532 java/util/logging/ErrorManager.java,
533 java/util/logging/Handler.java,
534 java/util/logging/FileHandler.java,
535 java/util/logging/LogManager.java,
536 java/util/logging/Level.java,
537 java/util/logging/ConsoleHandler.java,
538 java/util/logging/StreamHandler.java,
539 java/util/logging/LoggingPermission.java,
540 java/util/logging/Filter.java,
541 java/util/logging/MemoryHandler.java,
542 java/util/logging/XMLFormatter.java:
543 New files from classpath.
544
545 2003-06-20 Michael Koch <konqueror@gmx.de>
546
547 * java/io/ObjectStreamField.java
548 (unshared): new member variable.
549 (ObjectStreamField): New constructor.
550 (isUnshared): New method.
551
552 2003-06-20 Michael Koch <konqueror@gmx.de>
553
554 * java/net/URLStreamHandler.java
555 (hostsEqual): Rewritten.
556
557 2003-06-20 Michael Koch <konqueror@gmx.de>
558
559 * gnu/java/nio/MappedByteFileBuffer.java,
560 gnu/java/nio/natMappedByteFileBuffer.cc:
561 Removed
562 * java/nio/MappedByteBufferImpl.java:
563 New file.
564 * gnu/java/nio/FileChannelImpl.java:
565 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
566 * Makefile.am
567 (ordinary_java_source_files): Removed
568 gnu/java/nio/MappedByteFileBuffer.java and added
569 java/nio/MappedByteBufferImpl.java.
570 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
571 * Makefile.in: Regenerated.
572
573 2003-06-19 Michael Koch <konqueror@gmx.de>
574
575 * gnu/java/nio/DatagramChannelImpl.java
576 (fd): Removed.
577 (blocking): New member variable.
578 (socket): Likewise.
579 (DatagramChannelImpl): Throws IOException, initialize socket.
580 (socket):Implemented.
581 (implCloseSelectableChannel): Throws IOException, implemented.
582 (implConfigureBlocking): Likewise.
583 (connect): Likewise.
584 (disconnect): Likewise.
585 (isConnected): Likewise.
586 (write): Likewise.
587 (read): Likewise.
588 (receive): Throws IOException.
589 (send): Likewise.
590 * gnu/java/nio/SocketChannelImpl.java
591 (read): Implemented.
592 (write): Implemented.
593
594 2003-06-19 Michael Koch <konqueror@gmx.de>
595
596 * javax/swing/JComponent.java,
597 javax/swing/JInternalFrame.java,
598 javax/swing/MenuSelectionManager.java,
599 javax/swing/SwingUtilities.java,
600 javax/swing/ToggleButtonModel.java:
601 New versions from classpath.
602
603 2003-06-19 Michael Koch <konqueror@gmx.de>
604
605 * java/text/CollationElementIterator.java
606 (NULLORDER): Initialize with -1 as JDK documentation says.
607
608 2003-06-19 Michael Koch <konqueror@gmx.de>
609
610 * java/net/HttpURLConnection.java,
611 java/net/Inet4Address.java,
612 java/net/Inet6Address.java,
613 java/net/SocketImpl.java,
614 java/net/URLClassLoader.java:
615 Reworked import statements.
616 * java/net/InetAddress.java
617 (getByAddress): Simplified.
618 * java/net/ServerSocket.java
619 (ServerSocket): Moved special handling during bind operation to
620 bind().
621 (bind): Handle different cases when trying to bind a socket.
622 * java/net/URLConnection.java
623 (getHeaderFieldDate): Merged with classpath.
624 (getHeaderFieldInt): Likewise.
625
626 2003-06-19 Michael Koch <konqueror@gmx.de>
627
628 * java/util/zip/InflaterInputStream.java
629 (InflaterInputStream): Throw NullPointerException if in is null (as
630 JDK does).
631
632 2003-06-19 Michael Koch <konqueror@gmx.de>
633
634 * java/awt/Font.java
635 javax/swing/UIManager.java
636 javax/swing/border/AbstractBorder.java
637 javax/swing/border/BevelBorder.java
638 javax/swing/border/Border.java
639 javax/swing/border/CompoundBorder.java
640 javax/swing/border/EmptyBorder.java
641 javax/swing/border/EtchedBorder.java
642 javax/swing/border/LineBorder.java
643 javax/swing/border/MatteBorder.java
644 javax/swing/border/TitledBorder.java
645 javax/swing/plaf/BorderUIResource.java
646 javax/swing/plaf/basic/BasicBorders.java
647 javax/swing/plaf/basic/BasicButtonUI.java
648 javax/swing/plaf/basic/BasicCheckBoxUI.java
649 javax/swing/plaf/basic/BasicGraphicsUtils.java
650 javax/swing/plaf/basic/BasicLabelUI.java
651 javax/swing/plaf/basic/BasicRadioButtonUI.java
652 javax/swing/plaf/basic/BasicToggleButtonUI.java:
653 New versions from classpath.
654 * javax/swing/border/SoftBevelBorder.java:
655 New file from classpath.
656 * javax/swing/border/doc-files/LineBorder-1.png,
657 javax/swing/border/doc-files/BevelBorder-1.png,
658 javax/swing/border/doc-files/BevelBorder-2.png,
659 javax/swing/border/doc-files/BevelBorder-3.png,
660 javax/swing/border/doc-files/EmptyBorder-1.png,
661 javax/swing/border/doc-files/EtchedBorder-1.png,
662 javax/swing/border/doc-files/EtchedBorder-2.png,
663 javax/swing/border/doc-files/MatteBorder-1.png,
664 javax/swing/border/doc-files/MatteBorder-2.png,
665 javax/swing/border/doc-files/MatteBorder-3.png,
666 javax/swing/border/doc-files/MatteBorder-4.png,
667 javax/swing/border/doc-files/MatteBorder-5.png,
668 javax/swing/border/doc-files/MatteBorder-6.png,
669 javax/swing/border/doc-files/SoftBevelBorder-1.png,
670 javax/swing/border/doc-files/SoftBevelBorder-2.png,
671 javax/swing/border/doc-files/SoftBevelBorder-3.png,
672 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
673 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
674 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
675 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
676 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
677 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
678 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
679 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
680 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
681 New binary files from classpath.
682 * Makefile.am
683 (awt_java_source_files): Added
684 javax/swing/border/SoftBevelBorder.java.
685 * Makefile.in: Regenerated.
686
687 2003-06-19 Michael Koch <konqueror@gmx.de>
688
689 * gnu/java/security/x509/X509Certificate.java
690 (writeReplace): Merged from classpath.
691
692 2003-06-19 Michael Koch <konqueror@gmx.de>
693
694 * gnu/java/nio/FileChannelImpl.java
695 (map_address): Made public.
696 (FileChannelImpl): Merged with classpath.
697 * gnu/java/nio/natFileChannelImpl.cc
698 (nio_mmap_file): Commented out unused arguments.
699 (nio_unmmap_file): Likewise.
700 (niu_msync): Likewise.
701
702 2003-06-19 Michael Koch <konqueror@gmx.de>
703
704 * java/awt/image/IndexColorModel.java:
705 New version from classpath.
706
707 2003-06-18 Tom Tromey <tromey@redhat.com>
708
709 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
710 on arrays.
711 (isLoopbackAddress): Likewise.
712 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
713 on arrays.
714
715 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
716
717 * java/lang/natVMSecurityManager.cc (getClassContext):
718 Use maxlen instead of len for loop bound.
719
720 2003-06-18 Michael Koch <konqueror@gmx.de>
721
722 * gnu/java/nio/SelectorImpl.java
723 (register): Use fd with value 0 for now, will be fixed later.
724 * gnu/java/nio/ServerSocketChannelImpl.java
725 (fd): Removed.
726 (local_port): Removed.
727 (InetSocketAddress): Removed.
728 (ServerSocketChannelImpl): Just initialize internal socket object.
729 (implCloseSelectableChannel): Close internal socket object.
730 (implConfigureBlocking): Added comment.
731 (accept): Use jaba.net stuff to accept socket.
732 * gnu/java/nio/SocketChannelImpl.java
733 (fd): Removed.
734 (local_port): Removed.
735 (InetSocketAddress): Removed.
736 (SocketCreate): Removed.
737 (SocketConnect): Removed.
738 (SocketBind): Removed.
739 (SocketListen): Removed.
740 (SocketAvailable): Removed.
741 (SocketClose): Removed.
742 (SocketRead): Removed.
743 (SocketWrite): Removed.
744 (SocketChannelImpl): Just initialize internal socket object.
745 (implCloseSelectableChannel): Close internal socket object.
746 (implConfigureBlocking): Fixed implementation, added comment.
747 (connect): Use internal socket object to connect.
748 (socket): No need for sanity checks.
749 (read): Comment out some stuff, this will be reimplemented in the next
750 commit.
751 (write): Likewise.
752 * gnu/java/nio/natFileChannelImpl.cc
753 (nio_mmap_file): Line wrapped.
754 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
755 * Makefile.am
756 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
757 * Makefile.in: Regenerated.
758
759 2003-06-18 Michael Koch <konqueror@gmx.de>
760
761 * java/util/Locale.java
762 (equals): Merged from classpath.
763
764 2003-06-18 Michael Koch <konqueror@gmx.de>
765
766 * java/net/InetAddress.java:
767 Reformatted to better match classpath's version.
768 * java/net/URL.java
769 (equals): Simplified.
770 * java/net/URLConnection.java
771 (setDoInput): Revised documentation.
772 (getDefaultUseCaches): Likewise.
773 (setRequestProperty): Added @since tag.
774
775 2003-06-17 Michael Koch <konqueror@gmx.de>
776
777 * java/net/InetSocketAddress.java
778 (InetSocketAddress): Use wildcard address if addr is null.
779 (InetSocketAddress): Dont duplicate implementation.
780 (InetSocketAddress): Throw exception when hostname is null.
781 * java/net/Socket.java:
782 Reworked imports.
783 (Socket): Throw exception when raddr is null, handle case when laddr
784 is null.
785
786 2003-06-17 Michael Koch <konqueror@gmx.de>
787
788 * java/nio/DirectByteBufferImpl.java
789 (address): Made package private.
790 (DirectByteBufferImpl): New constructor.
791 * java/nio/natDirectByteBufferImpl.cc
792 (allocateImpl): Moved to java.nio namespace, implemented.
793 (freeImpl): Likewise.
794 (getImpl): Likewise.
795 (putImpl): Likewise.
796 * jni.cc
797 (_Jv_JNI_NewDirectByteBuffer): Implemented.
798 (_Jv_JNI_GetDirectBufferAddress): Implemented.
799 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
800
801 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
802
803 * include/powerpc-signal.h: New File.
804 * configure.in: Use it.
805 * configure: Regenerated.
806
807 2003-06-17 Michael Koch <konqueror@gmx.de>
808
809 * java/util/Locale.java
810 (getDisplayLanguage): Made it final.
811 (getDisplayCountry): Likewise.
812 (getDisplayVariant): Likewise.
813 (getDisplayName): Likewise.
814
815 2003-06-17 Michael Koch <konqueror@gmx.de>
816
817 * java/util/PropertyResourceBundle.java:
818 Removed unneeded import.
819
820 2003-06-17 Michael Koch <konqueror@gmx.de>
821
822 * java/util/prefs/AbstractPreferences.java,
823 java/util/prefs/PreferencesFactory.java:
824 Reworked imports, removed unused imports.
825 * java/util/prefs/Preferences.java
826 (systemNodeForPackage): Method takes a Class not an Object.
827 (userNodeForPackage): Likewise.
828 (nodeForPackage): Likewise.
829
830 2003-06-17 Michael Koch <konqueror@gmx.de>
831
832 * gnu/java/security/x509/X509Certificate.java:
833 Explicitely import used classes.
834
835 2003-06-17 Michael Koch <konqueror@gmx.de>
836
837 * java/util/zip/ZipEntry.java,
838 java/util/zip/ZipFile.java,
839 java/util/zip/ZipInputStream.java,
840 java/util/zip/ZipOutputStream.java:
841 Reworked imports, only import used classes.
842
843 2003-06-17 Michael Koch <konqueror@gmx.de>
844
845 * gnu/java/lang/ArrayHelper.java,
846 gnu/java/lang/ClassHelper.java:
847 Reformatted to match classpath's versions.
848
849 2003-06-14 Michael Koch <konqueror@gmx.de>
850
851 * gnu/java/nio/FileChannelImpl.java
852 (map_address): Removed incorrect comment.
853 * gnu/java/nio/SelectorImpl.java
854 (register): Remove code duplication and code for file channel handling.
855 * gnu/java/nio/ServerSocketChannelImpl.java
856 (serverSocket): Renamed from sock_object.
857 (ServerSocketChannel): Initialize serverSocket.
858 (socket): Return serverSocket.
859 * gnu/java/nio/SocketChannelImpl.java
860 (socket): Renamed from sock_object.
861 (isConnectionPenging): Simplified.
862 (socket): Return socket.
863 2003-06-14 Michael Koch <konqueror@gmx.de>
864
865 * java/security/BasicPermission.java:
866 New version from classpath.
867
868 2003-06-14 Michael Koch <konqueror@gmx.de>
869
870 * javax/naming/directory/Attribute.java:
871 New version from classpath.
872
873 2003-06-14 Michael Koch <konqueror@gmx.de>
874
875 * java/io/BufferedReader.java,
876 java/io/FileOutputStream.java:
877 New versions from classpath.
878
879 2003-06-12 Andrew Haley <aph@redhat.com>
880
881 * prims.cc (catch_segv): Create exception in handler.
882 (catch_fpe): Likewise.
883 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
884 (_Jv_ThrowSignal): Remove.
885
886 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
887 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
888 to nullp and arithexception.
889 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
890 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
891 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
892 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
893 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
894
895 2003-06-11 Andrew Haley <aph@redhat.com>
896
897 * jni.cc (_Jv_JNI_check_types): New.
898 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
899 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
900 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
901 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
902
903 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
904 infinite loop.
905
906 2003-06-11 Tom Tromey <tromey@redhat.com>
907
908 * java/lang/ClassLoader.java (loadClass): Not deprecated.
909 * java/io/PrintStream.java: Not deprecated.
910
911 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
912
913 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
914 (fillOval): implemented
915 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
916 (fillArc): implemented.
917 * gnu/gcj/xlib/GC.java (drawArc): added native method.
918 (fillArc): added native method.
919 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
920 (fillArc): added native method.
921
922 2003-06-11 Michael Koch <konqueror@gmx.de>
923
924 * java/awt/im/InputSubset.java:
925 New version from classpath.
926
927 2003-06-11 Michael Koch <konqueror@gmx.de>
928
929 * javax/swing/AbstractAction.java,
930 javax/swing/AbstractButton.java,
931 javax/swing/AbstractCellEditor.java,
932 javax/swing/AbstractListModel.java,
933 javax/swing/BorderFactory.java,
934 javax/swing/Box.java,
935 javax/swing/BoxLayout.java,
936 javax/swing/ButtonGroup.java,
937 javax/swing/DefaultButtonModel.java,
938 javax/swing/DefaultListModel.java,
939 javax/swing/DefaultListSelectionModel.java,
940 javax/swing/FocusManager.java,
941 javax/swing/ImageIcon.java,
942 javax/swing/InputMap.java,
943 javax/swing/JApplet.java,
944 javax/swing/JButton.java,
945 javax/swing/JCheckBox.java,
946 javax/swing/JCheckBoxMenuItem.java,
947 javax/swing/JColorChooser.java,
948 javax/swing/JComboBox.java,
949 javax/swing/JComponent.java,
950 javax/swing/JDesktopPane.java,
951 javax/swing/JDialog.java,
952 javax/swing/JEditorPane.java,
953 javax/swing/JFileChooser.java,
954 javax/swing/JFormattedTextField.java,
955 javax/swing/JFrame.java,
956 javax/swing/JLabel.java,
957 javax/swing/JLayeredPane.java,
958 javax/swing/JList.java,
959 javax/swing/JMenuBar.java,
960 javax/swing/JMenuItem.java,
961 javax/swing/JOptionPane.java,
962 javax/swing/JPanel.java,
963 javax/swing/JPasswordField.java,
964 javax/swing/JPopupMenu.java,
965 javax/swing/JProgressBar.java,
966 javax/swing/JRadioButton.java,
967 javax/swing/JRadioButtonMenuItem.java,
968 javax/swing/JRootPane.java,
969 javax/swing/JScrollBar.java,
970 javax/swing/JScrollPane.java,
971 javax/swing/JSeparator.java,
972 javax/swing/JSlider.java,
973 javax/swing/JTabbedPane.java,
974 javax/swing/JTable.java,
975 javax/swing/JTextField.java,
976 javax/swing/JToggleButton.java,
977 javax/swing/JToolBar.java,
978 javax/swing/JToolTip.java,
979 javax/swing/JTree.java,
980 javax/swing/JViewport.java,
981 javax/swing/JWindow.java,
982 javax/swing/KeyStroke.java,
983 javax/swing/ListSelectionModel.java,
984 javax/swing/LookAndFeel.java,
985 javax/swing/RepaintManager.java,
986 javax/swing/ScrollPaneLayout.java,
987 javax/swing/SizeRequirements.java,
988 javax/swing/SwingConstants.java,
989 javax/swing/Timer.java,
990 javax/swing/UIDefaults.java,
991 javax/swing/UIManager.java,
992 javax/swing/border/AbstractBorder.java,
993 javax/swing/border/CompoundBorder.java,
994 javax/swing/colorchooser/AbstractColorChooserPanel.java,
995 javax/swing/colorchooser/ColorChooserComponentFactory.java,
996 javax/swing/colorchooser/ColorSelectionModel.java,
997 javax/swing/colorchooser/DefaultColorSelectionModel.java,
998 javax/swing/event/AncestorEvent.java,
999 javax/swing/event/HyperlinkEvent.java,
1000 javax/swing/event/InternalFrameAdapter.java,
1001 javax/swing/event/InternalFrameEvent.java,
1002 javax/swing/event/ListDataEvent.java,
1003 javax/swing/event/MouseInputAdapter.java,
1004 javax/swing/event/SwingPropertyChangeSupport.java,
1005 javax/swing/event/TableModelEvent.java,
1006 javax/swing/event/TreeWillExpandListener.java,
1007 javax/swing/event/UndoableEditEvent.java,
1008 javax/swing/filechooser/FileFilter.java,
1009 javax/swing/filechooser/FileSystemView.java,
1010 javax/swing/filechooser/FileView.java,
1011 javax/swing/plaf/BorderUIResource.java,
1012 javax/swing/plaf/basic/BasicDefaults.java,
1013 javax/swing/table/AbstractTableModel.java,
1014 javax/swing/table/DefaultTableCellRenderer.java,
1015 javax/swing/table/DefaultTableColumnModel.java,
1016 javax/swing/table/DefaultTableModel.java,
1017 javax/swing/table/TableColumn.java,
1018 javax/swing/text/JTextComponent.java,
1019 javax/swing/tree/AbstractLayoutCache.java,
1020 javax/swing/tree/DefaultMutableTreeNode.java,
1021 javax/swing/tree/DefaultTreeCellEditor.java,
1022 javax/swing/tree/DefaultTreeCellRenderer.java,
1023 javax/swing/tree/DefaultTreeModel.java,
1024 javax/swing/tree/DefaultTreeSelectionModel.java,
1025 javax/swing/tree/FixedHeightLayoutCache.java,
1026 javax/swing/tree/TreeCellEditor.java,
1027 javax/swing/tree/TreeModel.java,
1028 javax/swing/tree/TreeNode.java,
1029 javax/swing/tree/TreePath.java,
1030 javax/swing/tree/TreeSelectionModel.java,
1031 javax/swing/tree/VariableHeightLayoutCache.java,
1032 javax/swing/undo/AbstractUndoableEdit.java,
1033 javax/swing/undo/CompoundEdit.java,
1034 javax/swing/undo/StateEdit.java,
1035 javax/swing/undo/UndoManager.java,
1036 javax/swing/undo/UndoableEditSupport.java:
1037 New versions from classpath.
1038 * javax/swing/table/JTableHeader.java:
1039 New file from classpath.
1040 * Makefile.am
1041 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1042 * Makefile.in: Regenerated.
1043
1044 2003-06-11 Michael Koch <konqueror@gmx.de>
1045
1046 * java/nio/MappedByteBuffer.java,
1047 java/nio/channels/Channels.java,
1048 java/nio/channels/ServerSocketChannel.java,
1049 java/nio/channels/spi/AbstractSelector.java:
1050 Removed unneeded imports.
1051
1052 2003-06-11 Michael Koch <konqueror@gmx.de>
1053
1054 * java/net/DatagramSocket.java:
1055 Partly merged with classpath.
1056
1057 2003-06-11 Michael Koch <konqueror@gmx.de>
1058
1059 * java/awt/Frame.java,
1060 java/awt/Graphics.java,
1061 java/awt/Menu.java,
1062 java/awt/Robot.java,
1063 java/awt/image/ColorModel.java:
1064 New versions from classpath.
1065
1066 2003-06-10 Michael Koch <konqueror@gmx.de>
1067
1068 * java/io/PrintStream.java:
1069 Merged version from classpath.
1070 (close): Removed sychronized keyword. This class is not garantied to
1071 be thread-safe.
1072 (write): Likewise.
1073
1074 2003-06-09 Tom Tromey <tromey@redhat.com>
1075
1076 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1077 field.
1078 (getDescent): Likewise, for "descent".
1079
1080 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1081
1082 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1083 (getMaxDescent): adjusted return value.
1084 (getAscent): modified to use metrics for 'O'.
1085 (getDescent): modified to use metrics for 'y'.
1086
1087 2003-06-08 Anthony Green <green@redhat.com>
1088
1089 * java/net/URLStreamHandler.java (sameFile): Fix port value
1090 comparison.
1091 * java/net/URL.java (handler): Make package private.
1092 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1093
1094 2003-06-07 Tom Tromey <tromey@redhat.com>
1095
1096 For PR libgcj/11085:
1097 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1098 Limit number of characters in numeric field when required.
1099 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1100 Respect maximumIntegerDigits.
1101
1102 2003-06-08 Michael Koch <konqueror@gmx.de>
1103
1104 * java/net/Socket.java
1105 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1106 call bind() and connect() to actually do the bind and connect tasks.
1107 (bind): Connect to canonical address if bindpoint is null, create
1108 socket and bind it to bindpoint.
1109 (connect): Check for exceptions.
1110
1111 2003-06-08 Michael Koch <konqueror@gmx.de>
1112
1113 * java/net/DatagramSocket.java
1114 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1115 into the Multicast constructors.
1116 * java/net/DatagramSocketImpl.java
1117 (getOption): Removed.
1118 (setOption): Removed.
1119 * java/net/MulticastSocket.java
1120 (MulticastSocket): Call setReuseAddress (true).
1121 * java/net/SocketImpl.java
1122 (getOption): Removed.
1123 (setOption): Removed.
1124
1125 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1126
1127 PR libgcj/10886:
1128 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1129 Test for empty vector.
1130
1131 2003-06-06 Mark Wielaard <mark@klomp.org>
1132
1133 * java/security/Security.java (secprops): Initialize.
1134 (loadProviders): Return boolean.
1135 (static): Check result of loadProvider calls. If necessary
1136 display WARNING and fallback to Gnu provider.
1137
1138 2002-06-06 James Clark <jjc@jclark.com>
1139
1140 Fix for PR libgcj/8738:
1141 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1142 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1143 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1144 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1145 (write): Always decrease avail when count is increased.
1146 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1147 and whether output buffer is full before increasing size.
1148
1149 2002-06-06 Mark Wielaard <mark@klomp dot org>
1150
1151 * java/io/PrintStream.java (writeChars(char[],int, int)):
1152 Check converter.havePendingBytes().
1153 (writeChars(String,int,int)): Likewise.
1154 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1155 Check converter.havePendingBytes() and flush buffer when stalled.
1156
1157 2003-06-07 Michael Koch <konqueror@gmx.de>
1158
1159 * include/posix.h
1160 (O_DSYNC): Define O_DSYNC on platforms not
1161 supporting O_FSYNC (newlib).
1162
1163 2003-06-06 Mark Wielaard <mark@klomp.org>
1164
1165 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1166 AWTError.
1167
1168 2003-06-06 Michael Koch <konqueror@gmx.de>
1169
1170 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1171 More compile fixes from my stupid work yesterday.
1172
1173 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1174
1175 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1176 if _IEEE_LIBM is undefined.
1177
1178 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1179
1180 * libjava/include/posix.h (O_SYNC): Define if not available
1181 and a reasonable, perhaps more conservative, replacement exists.
1182 (O_DSYNC): Likewise.
1183 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1184
1185 2003-06-05 Michael Koch <konqueror@gmx.de>
1186
1187 * javax/swing/plaf/BorderUIResource.java,
1188 javax/swing/plaf/basic/BasicDefaults.java,
1189 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1190 More compile fixes for latest Border commit. I should not commit
1191 something in this heat here ...
1192
1193 2003-06-05 Michael Koch <konqueror@gmx.de>
1194
1195 * javax/swing/border/BevelBorder.java
1196 (BevelBorder): Removed.
1197 * javax/swing/border/EmptyBorder.java:
1198 Reformatted.
1199 (EmptyBorder): Removed.
1200 (getBorderInsets): Dont use l, r, t and b.
1201 * javax/swing/border/EtchedBorder.java
1202 (EtchedBorder): Removed.
1203 * javax/swing/border/LineBorder.java
1204 (LineBorder): Removed.
1205 * javax/swing/border/MatteBorder.java
1206 (MatteBorder): Removed.
1207 * javax/swing/border/TitledBorder.java
1208 (defaultBorder): Use other default for now.
1209 (defaultFont): Likewise.
1210 (defaultColor): Likewise.
1211
1212 2003-06-05 Michael Koch <konqueror@gmx.de>
1213
1214 * javax/swing/border/Border.java:
1215 New version from classpath.
1216
1217 2003-06-05 Michael Koch <konqueror@gmx.de>
1218
1219 * javax/swing/border/AbstractBorder.java,
1220 javax/swing/border/BevelBorder.java,
1221 javax/swing/border/CompoundBorder.java,
1222 javax/swing/border/EmptyBorder.java,
1223 javax/swing/border/EtchedBorder.java,
1224 javax/swing/border/LineBorder.java,
1225 javax/swing/border/MatteBorder.java,
1226 javax/swing/border/TitledBorder.java:
1227 New versions from Classpath.
1228
1229 2003-06-05 Michael Koch <konqueror@gmx.de>
1230
1231 * java/awt/Button.java,
1232 java/awt/Checkbox.java,
1233 java/awt/CheckboxMenuItem.java,
1234 java/awt/Choice.java,
1235 java/awt/Container.java,
1236 java/awt/Dialog.java,
1237 java/awt/EventQueue.java,
1238 java/awt/FileDialog.java,
1239 java/awt/Frame.java,
1240 java/awt/Label.java,
1241 java/awt/List.java,
1242 java/awt/Menu.java,
1243 java/awt/MenuItem.java,
1244 java/awt/Panel.java,
1245 java/awt/PopupMenu.java,
1246 java/awt/Rectangle.java,
1247 java/awt/ScrollPane.java,
1248 java/awt/Scrollbar.java,
1249 java/awt/TextArea.java,
1250 java/awt/TextField.java,
1251 java/awt/Window.java,
1252 java/awt/datatransfer/DataFlavor.java,
1253 java/awt/dnd/DragSource.java,
1254 java/awt/dnd/DragSourceContext.java,
1255 java/awt/event/HierarchyEvent.java,
1256 java/awt/event/MouseWheelEvent.java,
1257 java/awt/im/InputContext.java,
1258 java/awt/image/BufferedImage.java,
1259 java/awt/image/ComponentColorModel.java,
1260 java/awt/image/Raster.java,
1261 java/awt/image/WritableRaster.java,
1262 java/awt/peer/ComponentPeer.java,
1263 java/awt/print/PageFormat.java,
1264 java/awt/print/PrinterJob.java:
1265 New versions from Classpath.
1266
1267 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1268
1269 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1270 numberFormat.setParseIntegerOnly(true).
1271
1272 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1273
1274 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1275
1276 2003-06-03 Andrew Haley <aph@redhat.com>
1277
1278 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1279 stack volatile to prevent optimization from removing it.
1280
1281 2003-05-27 Michael Koch <konqueror@gmx.de>
1282
1283 * java/util/zip/Deflater.java
1284 (FILTERED): Merged documentation from classpath.
1285 * java/util/zip/DeflaterOutputStream.java
1286 (DeflaterOutputStream): Merged documentation and argument validity
1287 check from classpath.
1288 (deflate): Merged documentation from classpath.
1289 (finish): Likewise.
1290 * java/util/zip/Inflater.java
1291 (Inflater): Merged class documentation from classpath.
1292 (zstream): Reordered.
1293 (is_finished): Reordered.
1294 (dict_needed): Reordered.
1295 (Inflater): Reordered, merged documentation from classpath.
1296 (end): Likewise.
1297 (finalize): Merged documentation from classpath.
1298 (finished): Likewise.
1299 (getAdler): Likewise.
1300 (getRemaining): Likewise.
1301 (getTotalIn): Likewise.
1302 (getTotalOut): Likewise.
1303 (inflate): Likewise.
1304 (needsDictionary): Likewise.
1305 (needsInput): Likewise.
1306 (reset): Likewise.
1307 (setDictionary): Likewise.
1308 (setInput): Likewise.
1309
1310 2003-05-27 Michael Koch <konqueror@gmx.de>
1311
1312 * java/net/URLConnection.java
1313 (getHeaderFieldInt): Merged with classpath.
1314
1315 2003-05-27 Michael Koch <konqueror@gmx.de>
1316
1317 * java/io/PrintStream.java
1318 (PrintStream): Reformatted.
1319 (PrintStream): New method, merged from classpath.
1320 (write): Reformatted.
1321
1322 2003-05-27 Michael Koch <konqueror@gmx.de>
1323
1324 * java/lang/System.java:
1325 Explicitely import needed classes.
1326
1327 2003-05-26 Michael Koch <konqueror@gmx.de>
1328
1329 * java/net/NetPermission.java,
1330 java/net/NetworkInterface.java,
1331 java/net/PasswordAuthentication.java,
1332 java/net/SocketPermission.java:
1333 New versions from classpath.
1334
1335 2003-05-25 Michael Koch <konqueror@gmx.de>
1336
1337 * java/io/PushbackInputStream.java,
1338 java/net/Authenticator.java,
1339 java/net/ContentHandler.java,
1340 java/net/ContentHandlerFactory.java,
1341 java/net/DatagramSocket.java,
1342 java/net/DatagramSocketImpl.java,
1343 java/net/DatagramSocketImplFactory.java,
1344 java/net/FileNameMap.java,
1345 java/net/SocketImplFactory.java,
1346 java/net/SocketOptions.java,
1347 java/net/URLStreamHandlerFactory.java:
1348 Merged new versions from classpath.
1349
1350 2003-05-25 Michael Koch <konqueror@gmx.de>
1351
1352 * java/awt/Checkbox.java,
1353 java/awt/Dialog.java,
1354 java/awt/Font.java,
1355 java/awt/Frame.java,
1356 java/awt/ScrollPaneAdjustable.java,
1357 java/awt/Scrollbar.java,
1358 java/awt/Window.java:
1359 New versions from classpath.
1360
1361 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1362
1363 PR libgcj/10838:
1364 * java/io/ObjectInputStream (enableResolveObject):
1365 Fixed spelling of permission name.
1366
1367 2003-05-20 Michael Koch <konqueror@gmx.de>
1368
1369 * java/io/DataInputStream.java
1370 (convertFromUTF): Merged comment from classpath.
1371 * java/io/PrintStream.java
1372 (error_occured): Renamed from error, merged comment from classpath.
1373 (PrintStream): No need to initialized error.
1374 (checkError): Replace error with error_occurred.
1375 (setError): Likewise.
1376
1377 2003-05-20 Michael Koch <konqueror@gmx.de>
1378
1379 * java/io/DataInputStream.java:
1380 Reformatted, Replaced < and & with html entitites in documentation.
1381 * java/io/File.java:
1382 Reformatted.
1383 * java/io/PrintWriter.java:
1384 Moved class documentation.
1385
1386 2003-05-20 Michael Koch <konqueror@gmx.de>
1387
1388 * gnu/java/nio/ByteBufferImpl.java,
1389 gnu/java/nio/CharBufferImpl.java,
1390 gnu/java/nio/CharViewBufferImpl.java,
1391 gnu/java/nio/DirectByteBufferImpl.java,
1392 gnu/java/nio/DoubleBufferImpl.java,
1393 gnu/java/nio/DoubleViewBufferImpl.java,
1394 gnu/java/nio/FloatBufferImpl.java,
1395 gnu/java/nio/FloatViewBufferImpl.java,
1396 gnu/java/nio/IntBufferImpl.java,
1397 gnu/java/nio/IntViewBufferImpl.java,
1398 gnu/java/nio/LongBufferImpl.java,
1399 gnu/java/nio/LongViewBufferImpl.java,
1400 gnu/java/nio/natDirectByteBufferImpl.cc,
1401 gnu/java/nio/ShortBufferImpl.java,
1402 gnu/java/nio/ShortViewBufferImpl.java:
1403 Moved files to java/nio.
1404 * gnu/java/nio/SocketChannelImpl.java
1405
1406 * java/nio/ByteBuffer.java,
1407 java/nio/CharBuffer.java,
1408 java/nio/DoubleBuffer.java,
1409 java/nio/FloatBuffer.java,
1410 java/nio/IntBuffer.java,
1411 java/nio/LongBuffer.java,
1412 java/nio/ShortBuffer.java:
1413 Dont import anything.
1414 * java/nio/ByteBufferImpl.java,
1415 java/nio/CharBufferImpl.java,
1416 java/nio/CharViewBufferImpl.java,
1417 java/nio/DirectByteBufferImpl.java,
1418 java/nio/DoubleBufferImpl.java,
1419 java/nio/DoubleViewBufferImpl.java,
1420 java/nio/FloatBufferImpl.java,
1421 java/nio/FloatViewBufferImpl.java,
1422 java/nio/IntBufferImpl.java,
1423 java/nio/IntViewBufferImpl.java,
1424 java/nio/LongBufferImpl.java,
1425 java/nio/LongViewBufferImpl.java,
1426 java/nio/natDirectByteBufferImpl.cc,
1427 java/nio/ShortBufferImpl.java,
1428 java/nio/ShortViewBufferImpl.java:
1429 Moved from gnu/java/nio.
1430 * Makefile.am
1431 (ordinary_java_source_files): Moved files from gnu/java/nio to
1432 java/nio.
1433 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1434 to java/nio.
1435 * Makefile.in: Regenerated.
1436
1437 2003-05-19 Michael Koch <konqueror@gmx.de>
1438
1439 * java/util/Calendar.java
1440 (get): Not final anymore since JDK 1.4
1441 (set): Likewise.
1442
1443 2003-05-19 Michael Koch <konqueror@gmx.de>
1444
1445 * java/text/CollationKey.java:
1446 Merged copyright and dat from classpath.
1447 * java/text/RuleBasedCollator.java:
1448 Merged class documentation from classpath.
1449
1450 2003-05-19 Michael Koch <konqueror@gmx.de>
1451
1452 * java/nio/CharBuffer.java
1453 (toString): Compile fix.
1454
1455 2003-05-19 Michael Koch <konqueror@gmx.de>
1456
1457 * gnu/java/nio/ByteBufferImpl.java
1458 (putLong): Fixed conversion to bytes.
1459 (putDouble): Fixed conversion to bytes.
1460 * gnu/java/nio/DirectByteBufferImpl.java
1461 (putLong): Fixed conversion to bytes.
1462 (putDouble): Fixed conversion to bytes.
1463 * gnu/java/nio/FileLockImpl.java
1464 (isValid): Reformatted.
1465 * java/nio/Buffer.java
1466 (Buffer): Fixed off-by-one bug in handling mark.
1467 * java/nio/ByteBuffer.java:
1468 Added newline.
1469 * java/nio/CharBuffer.java
1470 (toString): Don't use relative get to get string data.
1471
1472 2003-05-16 Michael Koch <konqueror@gmx.de>
1473
1474 * java/io/natFileDescriptorPosix.cc
1475 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1476 tested.
1477
1478 2003-05-14 Michael Koch <konqueror@gmx.de>
1479
1480 * gnu/java/nio/FileLockImpl.java
1481 (released): New member variable.
1482 (FileLockImpl): Initialize released.
1483 (releaseImpl): New native method.
1484 (release): Implemented.
1485 * gnu/java/nio/SelectorImpl.java: Reformatted.
1486 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1487 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1488 (accept): Throws IOException.
1489 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1490 (implConfigureBlocking): Throws IOException.
1491 (connect): Likewise.
1492 (read): Likewise.
1493 (write): Likewise.
1494 * gnu/java/nio/natFileLockImpl.cc: New file.
1495 * java/nio/channels/FileLock.java: Reformatted.
1496 * Makefile.am:
1497 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1498 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1499 * Makefile.in: Regenerated.
1500
1501 2003-05-13 Michael Koch <konqueror@gmx.de>
1502
1503 * gnu/java/nio/CharViewBufferImpl.java
1504 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1505 (get): Shift bits to the right direction.
1506 (put): Likewise.
1507 * gnu/java/nio/DoubleViewBufferImpl.java
1508 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1509 (get): Shift bits to the right direction.
1510 (put): Likewise.
1511 * gnu/java/nio/FloatViewBufferImpl.java
1512 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1513 (get): Shift bits to the right direction.
1514 (put): Likewise.
1515 * gnu/java/nio/IntViewBufferImpl.java
1516 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1517 (get): Shift bits to the right direction.
1518 (put): Likewise.
1519 * gnu/java/nio/LongViewBufferImpl.java
1520 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1521 (get): Shift bits to the right direction.
1522 (put): Likewise.
1523 * gnu/java/nio/ShortViewBufferImpl.java
1524 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1525 (get): Shift bits to the right direction.
1526 (put): Likewise.
1527
1528 2003-05-13 Michael Koch <konqueror@gmx.de>
1529
1530 * gnu/java/nio/natDirectByteBufferImpl.cc
1531 (allocateImpl): jlong -> RawData*.
1532 (freeImpl): Likewise.
1533
1534 2003-05-13 Michael Koch <konqueror@gmx.de>
1535
1536 * java/nio/channels/FileChannel.java
1537 (MapMode.m): Made it package-private to match JDK 1.4.
1538 * java/nio/charset/Charset.java
1539 (decode): Made it final to match JDK 1.4.
1540
1541 2003-05-13 Michael Koch <konqueror@gmx.de>
1542
1543 * java/io/FileDescriptor.java
1544 (SYNC): New constant.
1545 (DSYNC): Likewise.
1546 (getLength): Renamed from lenght() to match classpath's
1547 FileDescriptor.java.
1548 * java/io/RandomAccessFile.java
1549 (RandomAccessFile): Removed unneeded mode check, implemented mode
1550 "rws" and "rwd", merged documentation from classpath.
1551 (setLength): Reformatted.
1552 (length): Use new getLength() of FileDescriptor.
1553 * java/io/natFileDescriptorEcos.cc
1554 (getLength): Renamed from length().
1555 * java/io/natFileDescriptorPosix.cc
1556 (open): Implemented support for SYNC and DSYNC.
1557 (seek): Use getLength() instead of length().
1558 (getLength): Renamed from length().
1559 * java/io/natFileDescriptorWin32.cc
1560 (getLength): Renamed from length().
1561 (seek): Use getLength() instead of length().
1562 (available): Likewise.
1563 * gnu/java/nio/natFileChannelImpl.cc
1564 (size): Use getLength() instead of length().
1565
1566 2003-05-13 Michael Koch <konqueror@gmx.de>
1567
1568 * gnu/java/nio/ByteBufferImpl.java
1569 (ByteBufferImpl): All constructors revised.
1570 (slice): Reimplemented.
1571 (duplicate): Reimplemented.
1572 (asReadOnlyBuffer): Reimplemented.
1573 * java/nio/ByteBuffer.java:
1574 Reformatted.
1575 (array_offset): Renamed from "offset" to match all other buffer
1576 classes.
1577 (ByteBuffer): All constructors revised.
1578 (allocateDirect): Implemented.
1579 (allocate): New implementation, documentation reworked.
1580 (wrap): Likewise.
1581 (get): Documentation reworked.
1582 (put): New implementation, documentation reworked.
1583 (hasArray): Documentation reworked.
1584 (arrayOffset): Likewise.
1585 (hashCode): Likewise.
1586 (equals): Likewise.
1587 (compareTo): Likewise.
1588 (order): Likewise.
1589 (compact): Likewise.
1590 (isDirect): Likewise.
1591 (slice): Likewise.
1592 (duplicate): Likewise.
1593 (asReadOnlyBuffer): Likewise.
1594 * Makefile.am
1595 (ordinary_java_source_files):
1596 Added gnu/java/nio/DirectByteBufferImpl.java.
1597 (nat_source_files):
1598 Added gnu/java/nio/natDirectByteBufferImpl.cc.
1599 * Makefile.in: Regenerated.
1600
1601 2003-05-12 Michael Koch <konqueror@gmx.de>
1602
1603 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1604 (nio_get_*): Removed.
1605 (nio_put_*): Removed.
1606 (as*Buffer): Implemented.
1607 (compact): Implemented.
1608 (get): Documentation added.
1609 (put): Documentation added.
1610 (get*): Newly implemented.
1611 (put*): Newly implemented.
1612 * gnu/java/nio/CharBufferImpl.java: Reformatted.
1613 (CharBufferImpl): Revised.
1614 (slice): New implementation.
1615 (duplicate): New implementation.
1616 (compact): New implementation.
1617 (asReadOnlyBuffer): New implementation.
1618 (get): Documentation revised.
1619 (order): Return native byte order.
1620 * gnu/java/nio/DirectByteBufferImpl.java
1621 (allocateDirect): objects can be null not 0.
1622 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1623 (DoubleBufferImpl): Revised.
1624 (slice): New implementation.
1625 (duplicate): New implementation.
1626 (compact): New implementation.
1627 (asReadOnlyBuffer): New implementation.
1628 (get): Documentation revised.
1629 (order): Return native byte order.
1630 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1631 (FloatBufferImpl): Revised.
1632 (slice): New implementation.
1633 (duplicate): New implementation.
1634 (compact): New implementation.
1635 (asReadOnlyBuffer): New implementation.
1636 (get): Documentation revised.
1637 (order): Return native byte order.
1638 * gnu/java/nio/IntBufferImpl.java: Reformatted.
1639 (IntBufferImpl): Revised.
1640 (slice): New implementation.
1641 (duplicate): New implementation.
1642 (compact): New implementation.
1643 (asReadOnlyBuffer): New implementation.
1644 (get): Documentation revised.
1645 (order): Return native byte order.
1646 * gnu/java/nio/LongBufferImpl.java: Reformatted.
1647 (LongBufferImpl): Revised.
1648 (slice): New implementation.
1649 (duplicate): New implementation.
1650 (compact): New implementation.
1651 (asReadOnlyBuffer): New implementation.
1652 (get): Documentation revised.
1653 (order): Return native byte order.
1654 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1655 (ShortBufferImpl): Revised.
1656 (slice): New implementation.
1657 (duplicate): New implementation.
1658 (compact): New implementation.
1659 (asReadOnlyBuffer): New implementation.
1660 (get): Documentation revised.
1661 (order): Return native byte order.
1662 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1663 (CharBuffer): Revised.
1664 (order): Removed.
1665 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1666 (DoubleBuffer): Revised.
1667 (allocateDirect): Removed.
1668 (order): Removed.
1669 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1670 (FloatBuffer): Revised.
1671 (allocateDirect): Removed.
1672 (order): Removed.
1673 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1674 (IntBuffer): Revised.
1675 (allocateDirect): Removed.
1676 (order): Removed.
1677 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1678 (LongBuffer): Revised.
1679 (allocateDirect): Removed.
1680 (order): Removed.
1681 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1682 (ShortBuffer): Revised.
1683 (allocateDirect): Removed.
1684 (order): Removed.
1685 * gnu/java/nio/natByteBufferImpl.cc: Removed.
1686 * gnu/java/nio/natCharBufferImpl.cc: Removed.
1687 * Makefile.am
1688 (ordinary_java_source_files): Added the following files:
1689 gnu/java/nio/CharViewBufferImpl.java,
1690 gnu/java/nio/DoubleViewBufferImpl.java,
1691 gnu/java/nio/FloatViewBufferImpl.java,
1692 gnu/java/nio/IntViewBufferImpl.java,
1693 gnu/java/nio/LongViewBufferImpl.java,
1694 gnu/java/nio/ShortViewBufferImpl.java
1695 (nat_source_files): Removed the following files:
1696 gnu/java/nio/natByteBufferImpl.cc,
1697 gnu/java/nio/natCharBufferImpl.cc
1698 * Makefile.in: Regenerated.
1699
1700 2003-05-12 Michael Koch <konqueror@gmx.de>
1701
1702 * gnu/java/nio/CharViewBufferImpl.java,
1703 gnu/java/nio/DirectByteBufferImpl.java,
1704 gnu/java/nio/DoubleViewBufferImpl.java,
1705 gnu/java/nio/FloatViewBufferImpl.java,
1706 gnu/java/nio/IntViewBufferImpl.java,
1707 gnu/java/nio/LongViewBufferImpl.java,
1708 gnu/java/nio/ShortViewBufferImpl.java,
1709 gnu/java/nio/natDirectByteBufferImpl.cc:
1710 New files, not yet to be compiled.
1711
1712 2003-05-10 Michael Koch <konqueror@gmx.de>
1713
1714 * javax/swing/plaf/ButtonUI.java,
1715 javax/swing/plaf/ColorUIResource.java,
1716 javax/swing/plaf/ComponentUI.java,
1717 javax/swing/plaf/DimensionUIResource.java,
1718 javax/swing/plaf/FontUIResource.java,
1719 javax/swing/plaf/IconUIResource.java,
1720 javax/swing/plaf/InsetsUIResource.java,
1721 javax/swing/plaf/LabelUI.java,
1722 javax/swing/plaf/ListUI.java,
1723 javax/swing/plaf/OptionPaneUI.java,
1724 javax/swing/plaf/PanelUI.java,
1725 javax/swing/plaf/TabbedPaneUI.java,
1726 javax/swing/plaf/TextUI.java,
1727 javax/swing/plaf/TreeUI.java,
1728 javax/swing/plaf/ViewportUI.java,
1729 javax/swing/plaf/basic/BasicBorders.java,
1730 javax/swing/plaf/basic/BasicButtonUI.java,
1731 javax/swing/plaf/basic/BasicCheckBoxUI.java,
1732 javax/swing/plaf/basic/BasicDefaults.java,
1733 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1734 javax/swing/plaf/basic/BasicIconFactory.java,
1735 javax/swing/plaf/basic/BasicLabelUI.java,
1736 javax/swing/plaf/basic/BasicListUI.java,
1737 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1738 javax/swing/plaf/basic/BasicPanelUI.java,
1739 javax/swing/plaf/basic/BasicRadioButtonUI.java,
1740 javax/swing/plaf/basic/BasicScrollPaneUI.java,
1741 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1742 javax/swing/plaf/basic/BasicTextUI.java,
1743 javax/swing/plaf/basic/BasicToggleButtonUI.java,
1744 javax/swing/plaf/basic/BasicTreeUI.java,
1745 javax/swing/plaf/basic/BasicViewportUI.java,
1746 javax/swing/plaf/metal/MetalLookAndFeel.java:
1747 New versions from classpath. This adds copyrights to all files and
1748 some serialVersionUIDs.
1749
1750 2003-05-10 Michael Koch <konqueror@gmx.de>
1751
1752 * java/nio/CharBuffer.java
1753 (offset): Make it package-private.
1754 (backing_buffer): Likewise.
1755 * java/nio/DoubleBuffer.java
1756 (offset): Make it package-private.
1757 (backing_buffer): Likewise.
1758 (put): Reformatted.
1759 * java/nio/FloatBuffer.java
1760 (offset): Make it package-private.
1761 (backing_buffer): Likewise.
1762 * java/nio/IntBuffer.java
1763 (offset): Make it package-private.
1764 (backing_buffer): Likewise.
1765 * java/nio/LongBuffer.java
1766 (offset): Make it package-private.
1767 (backing_buffer): Likewise.
1768 * java/nio/ShortBuffer.java
1769 (offset): Make it package-private.
1770 (backing_buffer): Likewise.
1771
1772 2003-05-10 Michael Koch <konqueror@gmx.de>
1773
1774 * java/nio/CharBuffer.java
1775 (put): Fixed precondtion check.
1776 (toString): Make it work without backing array.
1777 (put): Skip one level of method calling.
1778
1779 2003-05-10 Michael Koch <konqueror@gmx.de>
1780
1781 * java/security/Identity.java,
1782 java/security/IdentityScope.java,
1783 java/security/Key.java,
1784 java/security/KeyPair.java,
1785 java/security/PrivateKey.java,
1786 java/security/Provider.java,
1787 java/security/PublicKey.java,
1788 java/security/SecureRandom.java,
1789 java/security/SecureRandomSpi.java,
1790 java/security/SignedObject.java,
1791 java/security/Signer.java,
1792 java/security/cert/Certificate.java,
1793 java/security/cert/PKIXCertPathBuilderResult.java,
1794 java/security/cert/X509Certificate.java:
1795 New versions from classpath.
1796
1797 2003-05-09 Tom Tromey <tromey@redhat.com>
1798
1799 * Makefile.in: Rebuilt.
1800 * Makefile.am (nat_source_files): Removed old files.
1801 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1802 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1803 * gnu/java/nio/natIntBufferImpl.cc: Removed.
1804 * gnu/java/nio/natLongBufferImpl.cc: Removed.
1805 * gnu/java/nio/natShortBufferImpl.cc: Removed.
1806
1807 2003-05-09 Michael Koch <konqueror@gmx.de>
1808
1809 * gnu/java/nio/ByteBufferImpl.java
1810 (nio_cast): Removed.
1811 (ByteBufferImpl): Removed.
1812 (nio_get_Byte): Removed.
1813 (nio_put_Byte): Removed.
1814 (asByteBuffer): Removed.
1815 (asCharBuffer): Removed implementation and throw exception.
1816 (asShortBuffer): Likewise.
1817 (asIntBuffer): Likewise.
1818 (asLongBuffer): Likewise.
1819 (asFloatBuffer): Likewise.
1820 (asDoubleBuffer): Likewise.
1821 * gnu/java/nio/CharBufferImpl.java
1822 (CharBufferImpl): Removed.
1823 (nio_get_Byte): Removed.
1824 (nio_put_Byte): Removed.
1825 (asByteBuffer): Removed.
1826 * gnu/java/nio/DoubleBufferImpl.java
1827 (DoubleBufferImpl): Removed.
1828 (nio_get_Byte): Removed.
1829 (nio_put_Byte): Removed.
1830 (asByteBuffer): Removed.
1831 * gnu/java/nio/FloatBufferImpl.java
1832 (FloatBufferImpl): Removed.
1833 (nio_get_Byte): Removed.
1834 (nio_put_Byte): Removed.
1835 (asByteBuffer): Removed.
1836 * gnu/java/nio/IntBufferImpl.java
1837 (IntBufferImpl): Removed.
1838 (nio_get_Byte): Removed.
1839 (nio_put_Byte): Removed.
1840 (asByteBuffer): Removed.
1841 * gnu/java/nio/LongBufferImpl.java
1842 (LongBufferImpl): Removed.
1843 (nio_get_Byte): Removed.
1844 (nio_put_Byte): Removed.
1845 (asByteBuffer): Removed.
1846 * gnu/java/nio/ShortBufferImpl.java
1847 (ShortBufferImpl): Removed.
1848 (nio_get_Byte): Removed.
1849 (nio_put_Byte): Removed.
1850 (asByteBuffer): Removed.
1851 * gnu/java/nio/natByteBufferImpl.cc
1852 (nio_cast): Removed.
1853 (nio_get_Byte): Removed.
1854 (nio_put_Byte): Removed.
1855 * gnu/java/nio/natCharBufferImpl.cc
1856 (nio_get_Byte): Removed.
1857 (nio_put_Byte): Removed.
1858
1859 2003-05-09 Michael Koch <konqueror@gmx.de>
1860
1861 * java/net/JarURLConnection.java
1862 (getJarEntry): Merged documentation from classpath.
1863 (getJarFile): Likewise.
1864 (getMainAttributes): Likewise.
1865 (getAttributes): Likewise.
1866 (getManifest): Likewise.
1867 (getCertificates): Reformatted.
1868 * java/net/URLConnection.java:
1869 Little classpath merge.
1870
1871 2003-05-09 Michael Koch <konqueror@gmx.de>
1872
1873 * java/io/DataOutputStream.java
1874 (writeShort): Made it synchronized.
1875 (writeChar): Likewise.
1876 (writeInt): Likewise.
1877 (writeLong): Liekwise.
1878 (writeUTF): Made it synchronized, renamed argument to match classpath.
1879 * java/io/InputStreamReader.java
1880 (converter): Added documentation.
1881 (read): Merged documentation from classpath.
1882 * java/io/OutputStreamWriter.java
1883 (OutputStreamWriter): Merged documentation from classpath.
1884 (close): Reformatted.
1885 (getEncoding): Likewise.
1886 (flush): Likewise.
1887 (write): Merged documentation from classpath, reformatted.
1888
1889 2003-05-08 Tom Tromey <tromey@redhat.com>
1890
1891 * configure.host <powerpc64*-*>: Set with_libffi_default and
1892 libgcj_interpreter to "yes".
1893
1894 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
1895
1896 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1897
1898 2003-05-06 Tom Tromey <tromey@redhat.com>
1899
1900 * verify.cc: Reverted previous patch.
1901
1902 2003-05-06 Michael Koch <konqueror@gmx.de>
1903
1904 * java/io/DataOutputStream.java
1905 (write): Renamed argument to "value", merged documentation from
1906 classpath.
1907 (writeBoolean): Likewise.
1908 (writeByte): Likewise.
1909 (writeShort): Likewise.
1910 (writeChar): Likewise.
1911 (writeInt): Likewise.
1912 (writeLong): Likewise.
1913 (writeFloat): Likewise.
1914 (writeDouble): Likewise.
1915 (writeBytes): Likewise.
1916 (writeChars): Likewise.
1917 (writeUTF): Likewise.
1918 * java/io/File.java
1919 (performDelete): Added documentation.
1920 (performList): Likewise.
1921 (performMkdir): Likewise.
1922 (performSetReadOnly): Likewise.
1923 (performRenameTo): Likewise.
1924 (performSetLastModified): Likewise.
1925 (delete): Made it sychronized.
1926 (renameTo): Made it sychronized.
1927 (equals): Reformatted.
1928 (isHidden): Likewise.
1929 (listFiles): Likewise.
1930 (setReadOnly): Likewise.
1931 (listRoots): Likewise.
1932 (setLastModified): Likewise.
1933 (checkRead): Likewise.
1934 (checkWrite): Likewise.
1935 * java/io/FileInputStream.java
1936 (skip): Made it sychronized, merged from classpath.
1937 * java/io/FileOutputStream.java
1938 (write): Merged from classpath.
1939 * java/io/InputStreamReader.java:
1940 (InputStreamReader): Merged documentation from classpath.
1941
1942 2003-05-05 Michael Koch <konqueror@gmx.de>
1943
1944 * java/net/NetworkInterface.java
1945 (networkInterfaces): Removed.
1946 (getByName): Use getRealNetworkInterfaces() instead of
1947 networkInterfaces.
1948 (getByInetAddress): Likewise.
1949 (getNetworkInterfaces): Likewise.
1950 (toString): Fix output of addresses of an interface.
1951
1952 2003-05-05 Michael Koch <konqueror@gmx.de>
1953
1954 * java/io/DataInputStream.java:
1955 Merged new documentation from classpath.
1956
1957 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
1958
1959 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1960 "version".
1961 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1962 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1963 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1964 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1965 * gnu/awt/gtk/GtkMainThread.java: Likewise.
1966 * gnu/awt/gtk/GtkToolkit.java: Likewise.
1967 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1968 * java/security/Key.java: Likewise.
1969 * java/security/PrivateKey.java: Likewise.
1970 * java/security/Provider.java: Likewise.
1971 * java/security/PublicKey.java: Likewise.
1972
1973 2003-05-02 Michael Koch <konqueror@gmx.de>
1974
1975 * java/net/URI.java
1976 (create): Doesnt throws any exceptions.
1977 * java/net/URLConnection.java
1978 (URLConnection): Commend added.
1979 (getExpiration): The header field is called "expires" not
1980 "expiration".
1981 (getHeaderField): Merged documentation with classpath.
1982 (getHeaderFieldInt): Likewise.
1983 (getHeaderFieldDate): Likewise.
1984 (getHeaderFieldKey): Likewise.
1985 (getPermission): Likewise.
1986 (setDefaultUseCaches): Likewise.
1987 (setRequestProperty): Likewise.
1988 (addRequestProperty): Likewise.
1989 (getRequestProperty): Likewise.
1990 (getRequestProperties): Likewise.
1991 (setDefaultRequestProperty): Likewise.
1992 (getDefaultRequestProperty): Likewise.
1993 (guessContentTypeFromStream): Likewise.
1994 (getFileNameMap): Likewise.
1995 (setFileNameMap): Likewise.
1996 (setDoInput): Merged implementation and documentation with classpath.
1997 (setDoOutput): Likewise.
1998 (setAllowUserInteraction): Likewise.
1999 (setDefaultAllowUserInteraction): Likewise.
2000 (setContentHandlerFactory): Made it synchronized, merged documentation
2001 with classpath.
2002 (guessContentTypeFromName): Renamed argument fname to filename to
2003 match classpath, merged documentation with classpath.
2004
2005 2003-05-02 Michael Koch <konqueror@gmx.de>
2006
2007 * java/net/JarURLConnection.java
2008 (JarURLConnection): Class documentation merged with classpath.
2009 (getJarFileURL): Moved and documentation merged with classpath.
2010 (getEntryName): Likewise.
2011 (JarURLConnection): Documentation merged with classpath.
2012 (getJarEntry): Likewise.
2013 (getJarFile): Likewise.
2014 * java/net/PlainDatagramSocketImpl.java:
2015 Class documentation moved.
2016 * java/net/URLConnection.java
2017 (fileNameMap): Moved and documentation merged with classpath.
2018 (factory): Likewise.
2019 (defaultAllowUserInteraction): Likewis.
2020 (defaultUseCaches): Likewise.
2021 (allowUserInteraction): Likewise.
2022 (connected): Likewise.
2023 (url): Likewise.
2024 (connect): Documentation merged with classpath.
2025 (getURL): Likewise.
2026 (getContentLength): Likewise.
2027 (getContentType): Likewise.
2028 (getContentEncoding): Likewise.
2029 (getExpiration): Likewise.
2030 (getDate): Likewise.
2031 (getLastModified): Likewise.
2032 (getHeaderField): Likewise.
2033 (getContent): Likewise.
2034 (getPermission): Likewise.
2035 (getInputStream): Likewise.
2036 (getOutputStream): Likewise.
2037 (toString): Likewise.
2038 (getDoInput): Likewise.
2039 (getDoOutput): Likewise.
2040 (setAllowUserInteraction): Likewise.
2041 (getAllowUserInteraction): Likewise.
2042 (setDefaultAllowUserInteraction): Likewise.
2043 (getDefaultAllowUserInteraction): Likewise.
2044 (setUseCaches): Likewise.
2045 (getUseCaches): Likewise.
2046 (setIfModifiedSince): Likewise.
2047 (getIfModifiedSince): Likewise.
2048 (setDefaultRequestProperty): Likewise.
2049 (getDefaultRequestProperty): Likewise.
2050 (setContentHandlerFactory): Likewise.
2051 (setFileNameMap): Likewise.
2052
2053 2003-05-02 Michael Koch <konqueror@gmx.de>
2054
2055 * java/net/InetAddress.java:
2056 Merged class documentation with classpath.
2057 * java/net/JarURLConnection.java:
2058 Explicitely import all used classes.
2059 * java/net/URL.java:
2060 Reformatting.
2061 * java/net/ServerSocket.java,
2062 java/net/Socket.java:
2063 New versions from classpath.
2064
2065 2003-05-02 Michael Koch <konqueror@gmx.de>
2066
2067 * gnu/java/nio/FileChannelImpl.java
2068 (read): New implementation.
2069 (implRead): New methods.
2070 (write): New implementation, call other write insteal of read method.
2071 (implWrite): New methods.
2072 (map): Added comment.
2073 (transferFrom): Implemented.
2074 (transferTo): Implemented.
2075 (lock): Added checks to throw exceptions.
2076 (truncate): Added check to throw exception.
2077 * gnu/java/nio/natFileChannelImpl.cc
2078 (implRead): New method.
2079 (implWrite): New method.
2080 * java/nio/ByteBuffer.java
2081 (hashCode): Fixed comment.
2082 (get): Fixed exception documentation.
2083 (put): Fixed exception documentation.
2084 * java/nio/CharBuffer.java:
2085 Added comment for later optimizations.
2086
2087 2003-04-30 Tom Tromey <tromey@redhat.com>
2088
2089 PR libgcj/10582:
2090 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2091 Removed.
2092 (type::compatible): Use _Jv_IsAssignableFrom.
2093 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2094 (_Jv_IsAssignableFrom): Work even when source or target class is
2095 not prepared.
2096
2097 2003-04-30 Michael Koch <konqueror@gmx.de>
2098
2099 * java/text/BreakIterator.java
2100 (clone): New method.
2101
2102 2003-04-30 Michael Koch <konqueror@gmx.de>
2103
2104 * java/text/CollationElementIterator.java,
2105 java/text/CollationKey.java,
2106 java/text/RuleBasedCollator.java:
2107 Merged copyright and documentation from classpath and
2108 rearranged some code. No code changes done.
2109
2110 2003-04-30 Michael Koch <konqueror@gmx.de>
2111
2112 * java/util/regex/Matcher.java
2113 (pattern): New member variable.
2114 (appendReplacement): New method.
2115 (appendTail): New method.
2116 (end): New method.
2117 (find): New method.
2118 (group): New method.
2119 (replaceFirst): Added documentation.
2120 (replaceAll): Added documentation.
2121 (groupCount): New method.
2122 (lookingAt): New method.
2123 (matches): New method.
2124 (reset): New method.
2125 (start): New method.
2126 * java/util/regex/Pattern.java
2127 (serialVersionUID): New constant.
2128 (CANON_EQ): New constant.
2129 (CASE_INSENSITIVE): New constant.
2130 (COMMENTS): New constant.
2131 (DOTALL): New constant.
2132 (MULTILINE): New constant.
2133 (UNICODE_CASE): New constant.
2134 (UNIX_LINES): New constant.
2135 (regex): New member variable.
2136 (flags): New member variable.
2137 (Pattern): New method.
2138 (compile): Documentation added.
2139 (flags): New method.
2140 (matches): Documentation added.
2141 (matcher): Documentation added.
2142 (split): Documentation added.
2143 (pattern): New method.
2144
2145 2003-04-30 Michael Koch <konqueror@gmx.de>
2146
2147 * gnu/java/security/Engine.java,
2148 gnu/java/security/OID.java,
2149 gnu/java/security/der/BitString.java,
2150 gnu/java/security/der/DER.java,
2151 gnu/java/security/der/DERReader.java,
2152 gnu/java/security/der/DERValue.java,
2153 gnu/java/security/der/DERWriter.java,
2154 gnu/java/security/provider/DSAKeyFactory.java,
2155 gnu/java/security/provider/X509CertificateFactory.java,
2156 gnu/java/security/x509/X500DistinguishedName.java,
2157 gnu/java/security/x509/X509CRL.java,
2158 gnu/java/security/x509/X509CRLEntry.java,
2159 gnu/java/security/x509/X509Certificate.java,
2160 java/security/cert/CRLSelector.java,
2161 java/security/cert/CertPathBuilder.java,
2162 java/security/cert/CertPathBuilderResult.java,
2163 java/security/cert/CertPathBuilderSpi.java,
2164 java/security/cert/CertPathParameters.java,
2165 java/security/cert/CertPathValidator.java,
2166 java/security/cert/CertPathValidatorResult.java,
2167 java/security/cert/CertPathValidatorSpi.java,
2168 java/security/cert/CertSelector.java,
2169 java/security/cert/CertStore.java,
2170 java/security/cert/CertStoreParameters.java,
2171 java/security/cert/CertStoreSpi.java,
2172 java/security/cert/CollectionCertStoreParameters.java,
2173 java/security/cert/LDAPCertStoreParameters.java,
2174 java/security/cert/PKIXBuilderParameters.java,
2175 java/security/cert/PKIXCertPathBuilderResult.java,
2176 java/security/cert/PKIXCertPathChecker.java,
2177 java/security/cert/PKIXCertPathValidatorResult.java,
2178 java/security/cert/PKIXParameters.java,
2179 java/security/cert/PolicyNode.java,
2180 java/security/cert/PolicyQualifierInfo.java,
2181 java/security/cert/TrustAnchor.java,
2182 javax/security/auth/x500/X500Principal.java:
2183 New files from classpath.
2184 * gnu/java/io/ASN1ParsingException.java,
2185 gnu/java/io/Base64InputStream.java,
2186 gnu/java/security/der/DEREncodingException.java,
2187 gnu/java/security/provider/DSAParameters.java,
2188 gnu/java/security/provider/DSASignature.java,
2189 gnu/java/security/provider/Gnu.java,
2190 gnu/java/security/provider/GnuDSAPrivateKey.java,
2191 gnu/java/security/provider/GnuDSAPublicKey.java,
2192 java/security/AlgorithmParameterGenerator.java,
2193 java/security/AlgorithmParameters.java,
2194 java/security/KeyFactory.java,
2195 java/security/KeyPairGenerator.java,
2196 java/security/KeyStore.java,
2197 java/security/MessageDigest.java,
2198 java/security/SecureClassLoader.java,
2199 java/security/SecureRandom.java,
2200 java/security/Security.java,
2201 java/security/Signature.java,
2202 java/security/cert/Certificate.java,
2203 java/security/cert/CertificateFactory.java,
2204 java/security/cert/CertificateFactorySpi.java,
2205 java/security/cert/X509CRL.java,
2206 java/security/cert/X509Certificate.java,
2207 java/security/spec/DSAPublicKeySpec.java:
2208 New versions from classpath.
2209 * gnu/java/security/provider/DERReader.java,
2210 gnu/java/security/provider/DERWriter.java,
2211 java/security/Engine.java: Removed.
2212 * Makefile.am
2213 (java_source_files, javax_source_files): Added new files.
2214 * Makefile.in: Regenerated.
2215
2216 2003-04-29 Michael Koch <konqueror@gmx.de>
2217
2218 * javax/swing/JTable.java
2219 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2220 (AUTO_RESIZE_LAST_COLUMN): New constant.
2221 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2222 (AUTO_RESIZE_OFF): New constant.
2223 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2224 (JTable): New method.
2225 (columnAdded): New method.
2226 (columnMarginChanged): New method.
2227 (columnMoved): New method.
2228 (columnRemoved): New method.
2229 (columnSelectionChanged): New method.
2230 (editingCanceled): New method.
2231 (editingStopped): New method.
2232 (getColumnModel): New method.
2233 (getPreferredScrollableViewportSize): New method.
2234 (getScrollableBlockIncrement): New method.
2235 (getScrollableTracksViewportHeight): New method.
2236 (getScrollableTracksViewportWidth): New method.
2237 (getScrollableUnitIncrement): New method.
2238 (getSelectedRow): New method.
2239 (getSelectionModel): New method.
2240 (tableChanged): New method.
2241 (setModel): New method.
2242 (setSelectionMode): New method.
2243 (setSelectionModel): New method.
2244 (setShowGrid): New method.
2245 (valueChanged): New method.
2246 * javax/swing/text/DefaultEditorKit.java
2247 (backwardAction): New constant.
2248 (beepAction): New constant.
2249 (beginAction): New constant.
2250 (beginLineAction): New constant.
2251 (beginParagraphAction): New constant.
2252 (beginWordAction): New constant.
2253 (copyAction): New constant.
2254 (cutAction): New constant.
2255 (defaultKeyTypedAction): New constant.
2256 (deleteNextCharAction): New constant.
2257 (deletePrevCharAction): New constant.
2258 (downAction): New constant.
2259 (endAction): New constant.
2260 (endLineAction): New constant.
2261 (endOfLineStringProperty): New constant.
2262 (endParagraphAction): New constant.
2263 (endWordAction): New constant.
2264 (forwardAction): New constant.
2265 (insertBreakAction): New constant.
2266 (insertContentAction): New constant.
2267 (insertTabAction): New constant.
2268 (nextWordAction): New constant.
2269 (pageDownAction): New constant.
2270 (pageUpAction): New constant.
2271 (pasteAction): New constant.
2272 (previousWordAction): New constant.
2273 (readOnlyAction): New constant.
2274 (selectAllAction): New constant.
2275 (selectionBackwardAction): New constant.
2276 (selectionBeginAction): New constant.
2277 (selectionBeginLineAction): New constant.
2278 (selectionBeginParagraphAction): New constant.
2279 (selectionBeginWordAction): New constant.
2280 (selectionDownAction): New constant.
2281 (selectionEndAction): New constant.
2282 (selectionEndLineAction): New constant.
2283 (selectionEndParagraphAction): New constant.
2284 (selectionEndWordAction): New constant.
2285 (selectionForwardAction): New constant.
2286 (selectionNextWordAction): New constant.
2287 (selectionPreviousWordAction): New constant.
2288 (selectionUpAction): New constant.
2289 (selectLineAction): New constant.
2290 (selectParagraphAction): New constant.
2291 (selectWordAction): New constant.
2292 (upAction): New constant.
2293 (writableAction): New constant.
2294
2295 2003-04-29 Michael Koch <konqueror@gmx.de>
2296
2297 * java/util/PropertyPermission.java:
2298 New version from classpath
2299 * java/util/ResourceBundle.java:
2300 Partly merged from classpath
2301 (getObject): Reformated.
2302 (tryBundle): Set foundBundle = null if no bundle found.
2303
2304 2003-04-29 Michael Koch <konqueror@gmx.de>
2305
2306 * javax/swing/AbstractListModel.java,
2307 javax/swing/DefaultBoundedRangeModel.java,
2308 javax/swing/DefaultSingleSelectionModel.java:
2309 New Versions from classpath.
2310
2311 2003-04-29 Michael Koch <konqueror@gmx.de>
2312
2313 * java/awt/Window.java
2314 (show): Call super.show() instead of setVisible() to avoid endless
2315 loop.
2316 (hide): Call super.hide() instead of setVisible() to avoid endless
2317 loop.
2318
2319 2003-04-29 Michael Koch <konqueror@gmx.de>
2320
2321 * java/util/zip/Deflater.java,
2322 java/util/zip/DeflaterOutputStream.java:
2323 Partly merged with classpath.
2324
2325 2003-04-27 Tom Tromey <tromey@redhat.com>
2326
2327 * java/lang/natString.cc (_Jv_AllocString): Initialize
2328 cachedHashCode.
2329 (init): Likewise.
2330 (_Jv_NewStringUtf8Const): Likewise.
2331
2332 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2333
2334 * include/jvm.h: (_Jv_GetNbArgs) added
2335 (_Jv_GetSafeArg) added
2336 (_Jv_SetArgs) added
2337 * prims.cc: (_Jv_GetNbArgs) implemented
2338 (_Jv_GetSafeArg) implemented
2339 (_Jv_SetArgs) implemented
2340 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2341 setting _Jv_argc and _Jv_argv
2342 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2343 instead of _Jv_argv
2344 * java/lang/natRuntime.cc: (insertSystemProperties) use
2345 _Jv_GetSafeArg() instead of _Jv_argv
2346
2347 2003-04-23 Tom Tromey <tromey@redhat.com>
2348
2349 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2350 required by this object. Search superclasses to find required
2351 alignment.
2352 (get_alignment_from_class): Use alignment of type as it appears
2353 in a struct.
2354 (ALIGNOF): New macro.
2355 (struct aligner): New helper structure.
2356
2357 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2358
2359 * java/awt/Container.java (addImpl): Enable paint events if adding
2360 a lightweight to a heavyweight.
2361 (addNotify): Ensure that peer is created before
2362 addNotifyContainerChildren.
2363 (addNotifyContainerChildren): Enable paint events if a heavyweight
2364 container contains a lightweight.
2365
2366 2003-04-20 Tom Tromey <tromey@redhat.com>
2367
2368 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2369 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2370 Classpath.
2371
2372 2003-04-19 Tom Tromey <tromey@redhat.com>
2373
2374 * java/sql/Date.java, java/sql/DriverManager.java,
2375 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2376 Classpath.
2377
2378 * Makefile.in: Rebuilt.
2379 * Makefile.am (ordinary_java_source_files): Added new files.
2380 * java/security/AlgorithmParameterGenerator.java,
2381 java/security/AlgorithmParameters.java, java/security/Engine.java,
2382 java/security/Identity.java, java/security/IdentityScope.java,
2383 java/security/KeyFactory.java,
2384 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2385 java/security/MessageDigest.java, java/security/Policy.java,
2386 java/security/ProtectionDomain.java,
2387 java/security/SecureRandom.java, java/security/Security.java,
2388 java/security/Signature.java, java/security/SignatureSpi.java,
2389 java/security/SignedObject.java, java/security/Signer.java,
2390 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2391 java/security/spec/PSSParameterSpec.java,
2392 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2393 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2394 Classpath.
2395
2396 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2397
2398 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2399 (dispose): Null metrics.
2400 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2401 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2402 finalize.
2403 (finalize): Call dispose.
2404 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2405 (gcCachedCount): New field.
2406 (finalize): New method.
2407 (putGCInCache): New method.
2408 (getGCFromCache): New method.
2409 * gnu/gcj/xlib/GC.java (GC): Make protected.
2410 (clone): Get new GC from cache if possible.
2411 (create): New static method.
2412 (dispose): Save old GC in cache.
2413 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2414 deleting.
2415 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2416 is null.
2417 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2418 * java/awt/Container.java (visitChild): Dispose gfx2 when
2419 finished.
2420
2421 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2422
2423 * java/math/BigInteger.java (probablePrime): New.
2424 * java/math/BigDecimal.java (unscaledValue): New.
2425
2426 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2427
2428 * java/io/File.java (getAbsolutePath): On Windows, take care
2429 of paths like "C:", "G:foo\bar", etc.
2430 (getName): Make it work correctly on Windows.
2431 (getParent): Make it work correctly on Windows. For UNIX,
2432 fix bug that causes "/" to be returned as the parent of "/",
2433 instead of null as returned by Sun's JRE.
2434
2435 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2436
2437 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2438
2439 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2440 inner class.
2441 (CACHE_SIZE_PER_DISPLAY): New field
2442 (fontMetricsCache): New field
2443 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2444 loading ISO10646-1 fonts.
2445
2446 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2447
2448 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2449 characters.
2450 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2451 characters.
2452
2453 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2454
2455 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2456 floating point.
2457
2458 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2459
2460 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2461 installed libpthread is either linuxthreads with floating stacks or
2462 NPTL.
2463
2464 2003-04-14 Tom Tromey <tromey@redhat.com>
2465
2466 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2467 of alignment.
2468
2469 2003-04-10 Tom Tromey <tromey@redhat.com>
2470
2471 * verify.cc (pop64): Removed.
2472 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2473 exception if top-of-stack is narrow.
2474 (initialize_stack): Check to ensure that <init> is not static and
2475 <clinit> is.
2476
2477 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2478
2479 * java/io/ObjectStreamException
2480 * java/io/FileFilter
2481 * java/io/FilenameFilter
2482 * java/io/ObjectInput
2483 * java/io/ObjectOutput
2484 * java/io/ObjectStreamConstants
2485 Minor doc fixes, format fixes, spelling corrections, etc.
2486 * java/io/DataInput
2487 Corrected code samples in Javadocs to match reality
2488 * java/io/DataOutput
2489 * java/io/ObjectInputValidation
2490 Major documentation fixes - all Javadocs re-written or updated
2491
2492 2003-04-06 Michael Koch <konqueror@gmx.de>
2493
2494 * java/net/URLConnection.java:
2495 Import classes directly.
2496 (URLConnection): Merged class documentation with classpath.
2497 (url): Moved, documentation from classpath added.
2498 (doInput): Moved, documentation from classpath added.
2499 (doOutput): Moved, documentation from classpath added.
2500 (allowUserInteraction): Moved.
2501 (useCaches): Moved, documentation from classpath added.
2502 (ifModifiedSince): Moved, documentation from classpath added.
2503 (connected): Moved, documentation from classpath added.
2504
2505 2003-04-06 Michael Koch <konqueror@gmx.de>
2506
2507 * java/io/FileInputStream.java
2508 (skip): Renamed some variables to match classpath, added
2509 checks from classpath.
2510
2511 2003-03-31 Michael Koch <konqueror@gmx.de>
2512
2513 * javax/swing/AbstractAction.java
2514 (AbstractAction): Reformatted.
2515 (serialVersionUID): New private member variable.
2516 * javax/swing/plaf/BorderUIResource.java
2517 (serialVersionUID): New private member variable.
2518 * javax/swing/plaf/basic/BasicLookAndFeel.java
2519 (serialVersionUID): New private member variable.
2520
2521 2003-03-31 Michael Koch <konqueror@gmx.de>
2522
2523 * java/sql/Date.java
2524 (valueOf): Deprecated, reformatted.
2525 (toString): Deprecated, reformatted.
2526 * java/sql/Time.java
2527 (valueOf): Deprecated, reformatted.
2528 (toString): Deprecated, reformatted.
2529
2530 2003-03-31 Michael Koch <konqueror@gmx.de>
2531
2532 * java/rmi/dgc/VMID.java
2533 (isUnique): Deprecated.
2534
2535 2003-03-31 Michael Koch <konqueror@gmx.de>
2536
2537 * java/io/File.java
2538 (separator): Merged documentation from classpath.
2539 (separatorChar): Merged documentation from classpath.
2540 (pathSeparator): Merged documentation from classpath.
2541 (pathSeparatorChar): Merged documentation from classpath.
2542 (path): Merged documentation from classpath.
2543 (canRead): Merged documentation from classpath.
2544 (canWrite): Merged documentation from classpath.
2545 (createNewFile): Merged documentation from classpath.
2546 (delete): Merged documentation from classpath.
2547 (equals): Merged documentation from classpath.
2548 (exists): Merged documentation from classpath.
2549 (File): Renamed p to name to match classpath, merged documentation
2550 from classpath.
2551 (getAbsolutePath): Merged documentation from classpath.
2552 (getCanonicalPath): Merged documentation from classpath.
2553 (getCanonicalFile): Merged documentation from classpath.
2554 (getName): Merged documentation from classpath.
2555 (getParent): Merged documentation from classpath.
2556 (getParentFile): Merged documentation from classpath.
2557 (getPath): Merged documentation from classpath.
2558 (hashCode): Merged documentation from classpath.
2559 (isAbsolute): Merged documentation from classpath.
2560 (isDirectory): Merged documentation from classpath.
2561 (isFile): Merged documentation from classpath.
2562 (isHidden): Merged documentation from classpath.
2563 (lastModified): Merged documentation from classpath.
2564 (length): Merged documentation from classpath.
2565 (list): Merged documentation from classpath.
2566 (listFiles): Merged documentation from classpath.
2567 (toString): Merged documentation from classpath.
2568 (toURL): Merged documentation from classpath.
2569 (mkdir): Merged documentation from classpath.
2570 (mkdirs): Merged documentation from classpath.
2571 (createTempFile): Merged documentation from classpath.
2572 (setReadOnly): Merged documentation from classpath.
2573 (listRoots): Merged documentation from classpath.
2574 (compareTo): Merged documentation from classpath.
2575 (renameTo): Merged documentation from classpath.
2576 (setLastModified): Merged documentation from classpath.
2577 * java/io/PrintStream.java
2578 (auto_flush): Merged documentation from classpath.
2579 (PrintStream): Merged documentation from classpath.
2580 (checkError): Merged documentation from classpath.
2581 (setError): Merged documentation from classpath.
2582 (close): Merged documentation from classpath.
2583 (flush): Merged documentation from classpath.
2584 (print): Merged documentation from classpath.
2585 (println): Merged documentation from classpath.
2586 (write): Renamed count to len to match classpath,
2587 merged documentation from classpath.
2588 * java/io/RandomAccessFile.java
2589 (readShort): Merged documentation from classpath.
2590 (readUnsignedByte): Merged documentation from classpath.
2591 (readUnsignedShort): Merged documentation from classpath.
2592 (readUTF): Merged documentation from classpath.
2593 (seek): Reformatted, merged documentation from classpath.
2594 (skipBytes): Renamed some variables to match classpath, reformatted,
2595 merged documentation from classpath.
2596 (write): Merged documentation from classpath.
2597 (writeBoolean): Merged documentation from classpath.
2598 (writeByte): Merged documentation from classpath.
2599 (writeShort): Merged documentation from classpath.
2600 (writeChar): Merged documentation from classpath.
2601 (writeInt): Merged documentation from classpath.
2602 (writeLong): Merged documentation from classpath.
2603 (writeFloat): Merged documentation from classpath.
2604 (writeDouble): Merged documentation from classpath.
2605 (writeBytes): Merged documentation from classpath.
2606 (writeChars): Merged documentation from classpath.
2607 (writeUTF): Reformatted.
2608 (getChannel): Reformatted.
2609
2610 2003-03-31 Michael Koch <konqueror@gmx.de>
2611
2612 * java/awt/font/TextAttribute.java
2613 (readResolve): Throws java.io.InvalidObjectException.
2614
2615 2003-03-31 Michael Koch <konqueror@gmx.de>
2616
2617 * java/rmi/server/LoaderHandler.java
2618 (loadClass): Deprecated.
2619 (getSecurityContext): Deprecated.
2620 * java/rmi/server/LogStream.java
2621 (getDefaultStream): Deprecated.
2622 (setDefaultStream): Deprecated.
2623 (getOutputStream): Deprecated.
2624 (setOutputStream): Deprecated.
2625 (write): Deprecated.
2626 (toString): Deprecated.
2627 (parseLevel): Deprecated.
2628 * java/rmi/server/Operation.java
2629 (Operation): Deprecated.
2630 (getOperation): Deprecated.
2631 (toString): Deprecated.
2632 * java/rmi/server/RemoteCall.java
2633 (getOutputStream): Deprecated.
2634 (releaseOutputStream): Deprecated.
2635 (getInputStream): Deprecated.
2636 (releaseInputStream): Deprecated.
2637 (getResultStream): Deprecated.
2638 (executeCall): Deprecated.
2639 (done): Deprecated.
2640 * java/rmi/server/RemoteRef.java
2641 (invoke): Deprecated.
2642 (newCall): Deprecated.
2643 (done): Deprecated.
2644 * java/rmi/server/RemoteStub.java
2645 (setRef): Deprecated.
2646 * java/rmi/server/Skeleton.java:
2647 No need to import java.lang.Exception explicitly.
2648 (dispatch): Deprecated.
2649 (getOperations): Deprecated.
2650
2651 2003-03-31 Michael Koch <konqueror@gmx.de>
2652
2653 * java/rmi/dgc/VMID.java,
2654 java/rmi/registry/RegistryHandler.java,
2655 java/rmi/server/LogStream.java,
2656 java/rmi/server/Operation.java,
2657 java/rmi/server/RemoteCall.java,
2658 java/rmi/server/RemoteRef.java,
2659 java/rmi/server/RemoteStub.java:
2660 Reformatted.
2661
2662 2003-03-31 Michael Koch <konqueror@gmx.de>
2663
2664 * javax/swing/AbstractCellEditor.java,
2665 javax/swing/AbstractListModel.java,
2666 javax/swing/ActionMap.java,
2667 javax/swing/BorderFactory.java,
2668 javax/swing/ButtonGroup.java,
2669 javax/swing/DefaultBoundedRangeModel.java,
2670 javax/swing/DefaultButtonModel.java,
2671 javax/swing/DefaultCellEditor.java,
2672 javax/swing/DefaultComboBoxModel.java,
2673 javax/swing/DefaultDesktopManager.java,
2674 javax/swing/DefaultListCellRenderer.java,
2675 javax/swing/DefaultSingleSelectionModel.java,
2676 javax/swing/InputMap.java,
2677 javax/swing/JComponent.java,
2678 javax/swing/JMenu.java,
2679 javax/swing/JSlider.java,
2680 javax/swing/KeyStroke.java,
2681 javax/swing/OverlayLayout.java,
2682 javax/swing/ScrollPaneLayout.java,
2683 javax/swing/SizeRequirements.java,
2684 javax/swing/UIManager.java,
2685 javax/swing/ViewportLayout.java,
2686 javax/swing/border/AbstractBorder.java,
2687 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2688 javax/swing/event/EventListenerList.java,
2689 javax/swing/table/AbstractTableModel.java,
2690 javax/swing/table/DefaultTableCellRenderer.java,
2691 javax/swing/table/DefaultTableColumnModel.java,
2692 javax/swing/table/DefaultTableModel.java,
2693 javax/swing/table/TableColumn.java,
2694 javax/swing/text/StyledEditorKit.java,
2695 javax/swing/tree/DefaultMutableTreeNode.java,
2696 javax/swing/tree/DefaultTreeModel.java,
2697 javax/swing/tree/DefaultTreeSelectionModel.java,
2698 javax/swing/tree/TreePath.java,
2699 javax/swing/undo/AbstractUndoableEdit.java,
2700 javax/swing/undo/StateEdit.java,
2701 javax/swing/undo/StateEditable.java,
2702 javax/swing/undo/UndoableEditSupport.java:
2703 Merges from classpath.
2704
2705 2003-03-30 Tom Tromey <tromey@redhat.com>
2706
2707 * java/lang/String.java (data, boffset, count): Documented.
2708 (String(byte[],String)): Reformatted.
2709 (String(byte[])): Likewise.
2710 (lastIndexOf(int)): Likewise.
2711 (lastIndexOf(String)): Likewise.
2712 (substring(int)): Renamed argument to match Classpath.
2713 (String(StringBuffer)): Don't share buffer if it is nearly empty.
2714
2715 * java/lang/String.java: Miscellaneous minor formatting changes
2716 to match Classpath more closely.
2717
2718 2003-03-29 Eric Blake <ebb9@email.byu.edu>
2719 Tom Tromey <tromey@redhat.com>
2720
2721 * java/lang/natString.cc (hashCode): Use cachedHashCode.
2722 (init()): Removed.
2723 (charAt): Put index in exception.
2724 (contentEquals): New method.
2725 Include StringBuffer.h.
2726 * java/lang/String.java (cachedHashCode): New field.
2727 (String()): Follow classpath implementation.
2728 (init()): Removed.
2729 (contentEquals): Declare.
2730 (subSequence): Don't declare IndexOutIfBoundsException in throws
2731 clause.
2732 (matches, replaceFirst, replaceAll, split): New methods from
2733 Classpath.
2734
2735 2003-03-29 Tom Tromey <tromey@redhat.com>
2736
2737 * java/lang/String.java: Reordered to follow Classpath; merged in
2738 javadoc.
2739
2740 * java/text/MessageFormat.java: Removed some whitespace.
2741
2742 * Makefile.in: Rebuilt.
2743 * Makefile.am (awt_java_source_files): Added new files.
2744 * gnu/javax/rmi/PortableServer.java,
2745 gnu/javax/rmi/CORBA/DelegateFactory.java,
2746 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2747 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2748 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2749 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2750 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2751 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2752 javax/rmi/PortableRemoteObject.java,
2753 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2754 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2755 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2756 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2757 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2758 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2759
2760 * java/lang/natClass.cc (newInstance): Put method name in
2761 exception.
2762 (getConstructor): Likewise.
2763 (getDeclaredConstructor): Likewise.
2764 (getPrivateMethod): Likewise.
2765
2766 2003-03-28 Tom Tromey <tromey@redhat.com>
2767
2768 * java/lang/reflect/Proxy.java: New version from Classpath.
2769 * java/lang/Package.java: New version from Classpath.
2770
2771 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
2772
2773 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2774 * configure: Regenerate.
2775
2776 2003-03-28 Michael Koch <konqueror@gmx.de>
2777
2778 * java/io/File.java:
2779 Import needed classes instead of whole packages, merged class
2780 documentation with classpath, moved constants and variables to top of
2781 class.
2782 * java/io/PrintStream.java:
2783 Merged class documentation with classpath, moved constants and
2784 variables to top of class.
2785 * java/io/RandomAccessFile.java
2786 (RandomAccessFile): Merged with classpath.
2787 (read): Merged with classpath).
2788 (read*): Reformatted.
2789
2790 2003-03-28 Michael Koch <konqueror@gmx.de>
2791
2792 * java/io/FileDescriptor.java
2793 (finalize): Throws Throwable, not IOException.
2794 * java/io/ObjectOutputStream.java
2795 (PutField.put): Doesnt throws anything.
2796
2797 2003­03-28 Michael Koch <konqueror@gmx.de>
2798
2799 * java/io/FileOutputStream.java:
2800 Merged class documentation and authors with classpath.
2801 (FileOutputStream): Partly merged with classpath.
2802 (write): Merged with classpath.
2803 (getChannel): Make it synchronized instead of explicit block in this
2804 method.
2805 * java/io/RandomAccessFile.java:
2806 Merged class documentation and authors with classpath.
2807
2808 2003-03-26 Tom Tromey <tromey@redhat.com>
2809
2810 * java/lang/natRuntime.cc (insertSystemProperties): Set
2811 gnu.classpath.home.url.
2812 * Makefile.in: Rebuilt.
2813 * Makefile.am: Define LIBDIR.
2814
2815 2003-03-25 Michael Koch <konqueror@gmx.de>
2816
2817 * java/io/FileInputStream.java
2818 (read): Renamed b to buf and off to offset.
2819 * java/io/FileOutputStream.java
2820 (ch): Documentation added.
2821 (FileOutputStream): Documentation added.
2822 (getFD): Documentation added.
2823 (write): Documentation added.
2824 (close): Documentation added.
2825 (getChannel): Documentation added.
2826
2827 2003-03-24 Michael Koch <konqueror@gmx.de>
2828
2829 * java/io/DataOutputStream.java
2830 (write): Merged from classpath.
2831 * java/io/File.java:
2832 Merged copyrigth with classpath.
2833 * java/io/FileInputStream.java
2834 (getChannel): Made it synchronized instead of using a synchronized
2835 block.
2836 * java/io/FileOutputStream.java: Reformatted.
2837 * java/io/InputStreamReader.java
2838 (InputStreamReader): Renamed enc to encoding_name.
2839 (close): Merged documentation from classpath.
2840 (getEncoding): Merged documentation from classpath.
2841 (ready): Merged documentation from classpath.
2842 (read): Merged documentation from classpath.
2843 * java/io/LineNumberReader.java
2844 (lineNumber): Made it private.
2845 (LineNumberReader): Use Constant instead of a direct value.
2846 * java/io/OutputStreamWriter.java
2847 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2848 documentation from classpath.
2849 (close): Merged documentation from classpath.
2850 (flush): Merged documentation from classpath.
2851 (write): Merged documentation from classpath.
2852 * java/io/PrintStream.java: Reformatted.
2853
2854 2003-03-24 Michael Koch <konqueror@gmx.de>
2855
2856 * javax/swing/text/ComponentView.java
2857 (getComponent): Must be final.
2858 * javax/swing/tree/DefaultTreeCellRenderer.java:
2859 Reformatted.
2860 * javax/swing/undo/StateEditable.java:
2861 Reformatted.
2862
2863 2003-03-24 Michael Koch <konqueror@gmx.de>
2864
2865 * java/rmi/activation/ActivationInstantiator.java:
2866 Reformatted.
2867 * java/rmi/activation/Activator.java:
2868 Reformatted.
2869 * java/rmi/registry/RegistryHandler.java:
2870 Remerged from classpath.
2871
2872 2003-03-24 Michael Koch <konqueror@gmx.de>
2873
2874 * java/util/Date.java:
2875 Fixed documentation starting tag to make javadoc happy.
2876 * java/util/regex/Pattern.java
2877 (Pattern): Implements Serializable.
2878 * java/util/PatternSyntaxException.java
2879 (serialVersionUID): New member variable.
2880
2881 2003-03-24 Michael Koch <koqnueror@gmx.de>
2882
2883 * java/awt/ContainerOrderFocusTraversalPolicy.java
2884 (getFirstComponent): Implemented.
2885 (getLastComponent): Implemented.
2886 (getDefaultComponent): Implemented.
2887 (setImplicitDownCycleTraversal): Fixed implementation.
2888 * java/awt/Robot.java
2889 (Robot): Added documentation.
2890 * java/awt/Toolkit.java
2891 (getFontList): Deprecated.
2892 (getFontMetrics): Deprecated.
2893 (getPrintJob): Added documentation.
2894 (getSystemSelection): Added documentation.
2895 (getLockingKeyState): Added documentation.
2896 (setLockingKeyState): Added documentation.
2897 (createCustomCursor): Added documentation.
2898 (getBestCursorSize): Added documentation.
2899 (getMaximumCursorColors): Added documentation.
2900 (isFrameStateSupported): Added documentation.
2901
2902 2003-03-24 Michael Koch <konqueror@gmx.de>
2903
2904 * java/io/RandomAccessFile.java:
2905 More little merges with classpath. No code changes.
2906
2907 2003-03-24 Michael Koch <konqueror@gmx.de>
2908
2909 * java/net/natInetAddressNoNet.cc:
2910 Include stddef.h.
2911 * java/net/natPlainDatagramSocketImplNoNet.cc:
2912 Fixed inlcude of java/net/DatagramPacket.h.
2913 * java/net/natPlainSocketImplNoNet.cc:
2914 Include some missing classes.
2915
2916 2003-03-24 Michael Koch <konqueror@gmx.de>
2917
2918 * java/awt/dnd/DropTarget.java
2919 (DropTargetAutoScroller): According to the online documentation, this
2920 is protected, but in reality it is public.
2921 * java/awt/dnd/DropTargetContext.java
2922 (TransferableProxy): According to the online documentation, this
2923 is protected, but in reality it is public.
2924
2925 2003-03-24 Michael Koch <konqueror@gmx.de>
2926
2927 * java/io/DataInputStream.java
2928 (): Wrapped documentation line.
2929 (): Fixed @return tag.
2930 * java/io/DataOutputStream.java
2931 (written): Moved to top of class.
2932 (all methods): Merged documentation from classpath.
2933 * java/io/File.java:
2934 Merged copyright year with classpath.
2935 * java/io/FileInputStream.java
2936 (all methods): Merged documentation from classpath.
2937 * java/io/LineNumberReader.java
2938 (getLineNumber): Fixed @return tag.
2939 * java/io/ObjectInputStream.java.
2940 Reformatted.
2941 * java/io/ObjectOutputStream.java:
2942 Reformatted, fixed some @see tags.
2943 * java/io/OutputStreamWriter.java:
2944 Deleted empty line.
2945 * java/io/Writer.java:
2946 Reformatted.
2947
2948 2003-03-24 Michael Koch <konqueror@gmx.de>
2949
2950 * java/awt/Frame.java
2951 (DEFAULT_CURSOR): Fixed @deprecated tag.
2952 (setCursor): Fixed @deprecated tag.
2953
2954 2003-03-24 Michael Koch <konqueror@gmx.de>
2955
2956 * java/beans/beancontext/BeanContextEvent.java:
2957 Reformated.
2958
2959 2003-03-23 Eric Blake <ebb9@email.byu.edu>
2960
2961 * java/lang/natStringBuffer.cc (regionMatches): New function.
2962 * java/lang/String.java (count): Now package-private.
2963 * java/lang/StringBuffer.java: Merged with Classpath.
2964
2965 2003-03-23 Michael Koch <konqueror@gmx.de>
2966
2967 * java/io/BufferedOutputStream.java:
2968 Reformated.
2969 * java/io/BufferedReader.java:
2970 Reformated.
2971 * java/io/ByteArrayOutputStream.java
2972 (size): Fixed @see tag.
2973 * java/io/CharArrayWriter.java
2974 (size): Fixed @see tag.
2975 * java/io/DataInput.java:
2976 Reformated.
2977 * java/io/DataOutput.java:
2978 Reformated.
2979 * java/io/DataOutputStream.java:
2980 Merged copyright years with classpath.
2981 * java/io/Externalizable.java:
2982 Reformated.
2983 * java/io/FileFilter.java:
2984 Reformated.
2985 * java/io/FileInputStream.java:
2986 Merged copyright years with classpath.
2987 * java/io/FileOutputStream.java:
2988 Merged copyright years with classpath.
2989 * java/io/FilePermission.java
2990 (FilePermission): Replaced @XXX with FIXME:.
2991 * java/io/FileWriter.java:
2992 Reformated.
2993 * java/io/FilenameFilter.java:
2994 Reformated.
2995 * java/io/FilterInputStream.java:
2996 Reformated.
2997 * java/io/FilterOutputStream.java:
2998 Reformated.
2999 * java/io/FilterReader.java:
3000 Reformated.
3001 * java/io/FilterWriter.java:
3002 Reformated.
3003 * java/io/LineNumberInputStream.java
3004 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
3005 happy.
3006 (getLineNumber): Fixed @return tag.
3007 * java/io/ObjectInput.java:
3008 Reformated.
3009 * java/io/ObjectOutput.java:
3010 Reformated.
3011 * java/io/ObjectStreamClass.java:
3012 Reformated.
3013 * java/io/PrintStream.java:
3014 Merged copyright years with classpath.
3015 * java/io/PushbackReader.java
3016 (PushbackReader): Replaced @code with @param.
3017 * java/io/SerializablePermission.java:
3018 Reformated.
3019 * java/io/StreamTokenizer.java
3020 (resetSyntax): Fixed @see tag.
3021
3022 2003-03-22 Richard Henderson <rth@redhat.com>
3023
3024 * sysdep/ia64/locks.h: Include ia64intrin.h.
3025 (compare_and_swap): Use __sync_bool_compare_and_swap.
3026 (compare_and_swap_release): Expose ar.ccv assignment.
3027
3028 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3029
3030 * include/posix.h: Add suffix for darwin dynamic libraries.
3031
3032 2003-03-21 Michael Koch <konqueror@gmx.de>
3033
3034 * javax/swing/Action.java
3035 (ACCELERATOR_KEY): New constant.
3036 (ACTION_COMMAND_KEY): Likewise.
3037 (MNEMONIC_KEY): Likewise.
3038 * javax/swing/UnsupportedLookAndFeelException.java
3039 (UnsupportedLookAndFeelException): Must be public.
3040 * javax/swing/WindowConstants.java
3041 (EXIT_ON_CLOSE): New constant.
3042 * javax/swing/text/BadLocationException.java
3043 (offset): New member variable.
3044 (BadLocationException): New implementation, documentation added.
3045 (offsetRequested): New method.
3046 * javax/swing/text/Caret.java:
3047 Reformated.
3048 * javax/swing/text/Document.java:
3049 Reformated.
3050
3051 2003-03-21 Michael Koch <konqueror@gmx.de>
3052
3053 * java/rmi/activation/Activatable.java
3054 (serialVersionUID): New member variable.
3055 * java/rmi/activation/ActivationGroup.java
3056 (serialVersionUID): New member variable.
3057 * java/rmi/activation/ActivationGroupDesc.java
3058 (serialVersionUID): New member variable.
3059 * java/rmi/registry/Registry.java:
3060 Reformated.
3061 (Registry): Deprecated.
3062 * java/rmi/server/LoaderHandler.java
3063 Reformated.
3064 (LoaderHandler): Deprecated.
3065 * java/rmi/server/LogStream.java
3066 Reformated.
3067 (LogStream): Deprecated.
3068 * java/rmi/server/Operation.java
3069 (Operation): Deprecated.
3070 * java/rmi/server/RMIFailureHandler.java:
3071 Reformated.
3072 * java/rmi/server/RMISocketFactory.java:
3073 Reformated.
3074 * java/rmi/server/RemoteCall.java
3075 (RemoteCall): Deprecated.
3076 * java/rmi/server/RemoteStub.java:
3077 Reformated.
3078 * java/rmi/server/Skeleton.java
3079 Reformated.
3080 (Skeleton): Deprecated.
3081
3082 2003-03-21 Michael Koch <konqueror@gmx.de>
3083
3084 * java/io/LineNumberReader.java
3085 (LineNumberReader): Merged documentation with classpath.
3086 (getLineNumber): Likewise.
3087 (setLineNumber): Likewise.
3088 (mark): Likewise.
3089 (reset): Likewise.
3090 (read): Likewise.
3091 (readLine): Likewise.
3092 (skip): Likewise.
3093
3094 2003-03-21 Michael Koch <konqueror@gmx.de>
3095
3096 * java/rmi/RMISecurityManager.java
3097 (checkAccept): Removed.
3098 (checkAccess): Likewise.
3099 (checkAccess): Likewise.
3100 (checkAwtEventQueueAccess): Likewise.
3101 (checkConnect): Likewise.
3102 (checkCreateClassLoader): Likewise.
3103 (checkDelete): Likewise.
3104 (checkExec): Likewise.
3105 (checkExit): Likewise.
3106 (checkLink): Likewise.
3107 (checkListen): Likewise.
3108 (checkMemberAccess): Likewise.
3109 (checkMulticast): Likewise.
3110 (checkPackageAccess): Likewise.
3111 (checkPackageDefinition): Likewise.
3112 (checkPermission): Likewise.
3113 (checkPrintJobAccess): Likewise.
3114 (checkPropertiesAccess): Likewise.
3115 (checkPropertyAccess): Likewise.
3116 (checkRead): Likewise.
3117 (checkSecurityAccess): Likewise.
3118 (checkSetFactory): Likewise.
3119 (checkSystemClipboardAccess): Likewise.
3120 (checkTopLevelWindow): Likewise.
3121 (checkWrite): Likewise.
3122
3123 2003-03-20 Michael Koch <konqueror@gmx.de>
3124
3125 * gnu/java/nio/FileChannelImpl.java
3126 (address): Removed.
3127 (map_address): New member variable.
3128 (length): Make it package private.
3129 (fd): Make it package private.
3130 (buf): Make it package private.
3131 (file_obj): Make it package private.
3132 (FileChannelImpl): New constructor.
3133 (nio_mmap_file): Use RawData instead of long.
3134 (nio_munmap_file): Use RawData instead of long.
3135 (nio_msync): Use RawData instead of long.
3136 (implCloseChannel): New implementation using map_address.
3137 (read): Reformated.
3138 (map): Implemented.
3139 (create_direct_mapped_buffer): Implemented, use RawData, throws
3140 IOException.
3141 (force): Use map_address instead of address.
3142 * gnu/java/nio/MappedByteFileBuffer.java
3143 (address): Removed.
3144 (map_address): New member variable.
3145 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3146 (several methods): Use map_address instead of address, replaced long
3147 with RawData where appropriate.
3148 * gnu/java/nio/natFileChannelImpl.cc
3149 (nio_mmap_file): Replaced long with RawData.
3150 (nio_munmap_file): Replaced long with RawData.
3151 (nio_msync): Replaced long with RawData.
3152 * gnu/java/nio/natMappedByteFileBuffer.cc
3153 (several methods): Replaced long with RawData where appropriate.
3154
3155 2003-03-20 Michael Koch <konqueror@gmx.de>
3156
3157 * java/net/InetAddress.java,
3158 java/net/JarURLConnection.java,
3159 java/net/PlainDatagramSocketImpl.java,
3160 java/net/PlainSocketImpl.java,
3161 java/net/URLConnection.java:
3162 Merged copyright statements with classpath for easier merging.
3163
3164 2003-03-20 Michael Koch <konqueror@gmx.de>
3165
3166 * java/io/FileInputStream.java
3167 (getChannel): New implementation.
3168 * java/io/FileOutputStream.java
3169 (ch): New member variable.
3170 (getChannel): Implemented.
3171 * java/io/RandomAccessFile.java
3172 (RandomAccessFile): Throws FileNotFoundException instead of
3173 IOException.
3174 (getChannel): New method.
3175 (ch): New member variable.
3176
3177 2003-03-20 Michael Koch <konqueror@gmx.de>
3178
3179 * java/io/DataOutputStream.java,
3180 java/io/File.java,
3181 java/io/FileInputStream.java,
3182 java/io/FileOutputStream.java,
3183 java/io/InputStreamReader.java,
3184 java/io/LineNumberReader.java,
3185 java/io/OutputStreamWriter.java,
3186 java/io/PrintStream.java,
3187 java/io/RandomAccessFile.java:
3188 Merged copyright statements with classpath for easier merging.
3189
3190 2003-03-19 Michael Koch <konqueror@gmx.de>
3191
3192 * java/lang/Process.java:
3193 Merged from classpath.
3194
3195 2003-03-19 Michael Koch <konqueror@gmx.de>
3196
3197 * java/io/FileOutputStream.java
3198 (FileOutputStream): New constructor, merged from classpath.
3199 * java/io/FileWriter.java
3200 (FileWriter): New constructor, merged from classpath.
3201
3202 2003-03-18 Michael Koch <konqueror@gmx.de>
3203
3204 * java/awt/ScrollPane.java
3205 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3206 (getViewportSize): Likewise.
3207 (addNotify): Likewise.
3208 (removeNotify): Likewise.
3209 * java/awt/ScrollPaneAdjustable.java
3210 (ScrollPaneAdjustable): No longer extends Scrollbar.
3211 * java/beans/beancontext/BeanContextServices.java:
3212 Reformated.
3213 (getService): Added throws TooManyListenersException;
3214 * java/beans/beancontext/BeanContextServicesSupport.java:
3215 Reformated.
3216
3217 2003-03-18 Michael Koch <konqueror@gmx.de>
3218
3219 * java/io/BufferedOutputStream.java,
3220 java/io/DataInput.java,
3221 java/io/DataInputStream.java,
3222 java/io/DataOutput.java,
3223 java/io/Externalizable.java:
3224 More merges from classpath.
3225
3226 2003-03-18 Michael Koch <konqueror@gmx.de>
3227
3228 * configure.in: Fixed links to platform dependant java.net files.
3229 * configure: Regenerated.
3230 * java/net/natInetAddress.cc,
3231 java/net/natNetworkInterface.cc,
3232 java/net/natPlainDatagramSocketImpl.cc,
3233 java/net/natPlainSocketImpl.cc:
3234 Removed.
3235
3236 2003-03-18 Michael Koch <konqueror@gmx.de>
3237
3238 * configure.in: Create links to architecture dependent files,
3239 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3240 * configure: Regenerated.
3241 * java/net/natInetAddressNoNet.cc,
3242 java/net/natInetAddressPosix.cc,
3243 java/net/natInetAddressWin32.cc,
3244 java/net/natNetworkInterfaceNoNet.cc,
3245 java/net/natNetworkInterfacePosix.cc,
3246 java/net/natNetworkInterfaceWin32.cc,
3247 java/net/natPlainDatagramSocketImplNoNet.cc,
3248 java/net/natPlainDatagramSocketImplPosix.cc,
3249 java/net/natPlainDatagramSocketImplWin32.cc,
3250 java/net/natPlainSocketImplNoNet.cc,
3251 java/net/natPlainSocketImplPosix.cc,
3252 java/net/natPlainSocketImplWin32.cc: New files.
3253
3254 2003-03-18 Michael Koch <konqueror@gmx.de>
3255
3256 * java/io/BufferedReader.java,
3257 java/io/BufferedWriter.java,
3258 java/io/ByteArrayOutputStream.java,
3259 java/io/FileFilter.java,
3260 java/io/FilePermission.java,
3261 java/io/FileReader.java,
3262 java/io/FileWriter.java,
3263 java/io/FilenameFilter.java,
3264 java/io/FilterInputStream.java,
3265 java/io/FilterOutputStream.java,
3266 java/io/FilterReader.java,
3267 java/io/FilterWriter.java,
3268 java/io/ObjectInput.java,
3269 java/io/ObjectInputValidation.java,
3270 java/io/ObjectOutput.java,
3271 java/io/ObjectStreamField.java,
3272 java/io/PipedInputStream.java,
3273 java/io/PipedReader.java,
3274 java/io/PrintWriter.java,
3275 java/io/PushbackReader.java,
3276 java/io/Reader.java,
3277 java/io/SerializablePermission.java,
3278 java/io/StringReader.java,
3279 java/io/Writer.java:
3280 Merged from classpath.
3281
3282 2003-03-17 Michael Koch <konqueror@gmx.de>
3283
3284 * java/awt/ScrollPaneAdjustable.java:
3285 Compile fixes.
3286
3287 2003-03-17 Michael Koch <konqueror@gmx.de>
3288
3289 * java/net/DatagramSocket.java
3290 (connect): Fixed comment.
3291 * java/nio/ByteBuffer.java
3292 (hasArray): Fixed comment.
3293
3294 2003-03-17 Michael Koch <konqueror@gmx.de>
3295
3296 * java/beans/Beans.java:
3297 Explicitely import classes not packages.
3298 * java/beans/FeatureDescriptor.java
3299 (preferred): New member variable.
3300 (isPreferred): New method.
3301 (setPreferred): New method.
3302 * java/beans/PropertyEditorManager.java:
3303 Explicitely import used classes.
3304 * java/beans/beancontext/BeanContextChild.java:
3305 Added line wrapping.
3306 * java/beans/beancontext/BeanContextChildSupport.java:
3307 Reindented.
3308 * java/beans/beancontext/BeanContextEvent.java:
3309 Reindented.
3310
3311 2003-03-17 Michael Koch <konqueror@gmx.de>
3312
3313 * java/awt/Dialog.java
3314 (Dialog): New constructor, changed implementations, added
3315 documentation.
3316 * java/awt/ScrollPaneAdjustable.java
3317 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3318 Serializable.
3319 (serialVersionUID): New member variable.
3320 (sp): New member variable.
3321 (orientation): New member variable.
3322 (value): New member variable.
3323 (minimum): New member variable.
3324 (maximum): New member variable.
3325 (visibleAmount): New member variable.
3326 (unitIncrement): New member variable.
3327 (blockIncrement): New member variable.
3328 (AdjustmentListener): New member variable.
3329 (ScrollPaneAdjustable): New implementation.
3330 (addAdjustmentListener): New method.
3331 (removeAdjustmentListener): New method.
3332 (getAdjustmentListeners): New method.
3333 (getBlockIncrement): New method.
3334 (getMaximum): New method.
3335 (getMinimum): New method.
3336 (getOrientation): New method.
3337 (getUnitIncrement): New method.
3338 (getValue): New method.
3339 (getVisibleAmount): New method.
3340 (setBlockIncrement): New method.
3341 (setMaximum): Implemented.
3342 (setMinimum): Implemented.
3343 (setUnitIncrement): New method.
3344 (setValue): New method.
3345 (setVisibleAmount): Implemented.
3346 (paramString): New stubbed method.
3347 * java/awt/Window.java
3348 (show): Call setVisible().
3349 (hide): Call setVisible().
3350 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3351 and WINDOW_STATE_CHANGED.
3352 (processWindowFocusEvent): New method.
3353 (processWindowStateEvent): New method.
3354 (postEvent): Deprecated.
3355 (applyResourceBundle): Deprecated.
3356 * java/awt/datatransfer/DataFlavor.java
3357 (DataFlavor): Doesn't thow ClassNotFoundException.
3358
3359 2003-03-17 Michael Koch
3360
3361 * javax/print/attribute/Attribute.java,
3362 javax/print/attribute/AttributeSet.java,
3363 javax/print/attribute/PrintRequestAttributeSet.java:
3364 New files.
3365 * Makefile.am
3366 (javax_source_files): Added new files:
3367 javax/print/attribute/Attribute.java
3368 javax/print/attribute/AttributeSet.java
3369 javax/print/attribute/PrintRequestAttributeSet.java
3370 * Makefile.in: Regenerated.
3371
3372 2003-03-17 Michael Koch
3373
3374 * javax/print/attribute/Attribute.java,
3375 javax/print/attribute/AttributeSet.java,
3376 javax/print/attribute/PrintRequestAttributeSet.java:
3377 New files.
3378 * Makefile.am
3379 (awt_java_source_files): Added new files:
3380 javax/print/attribute/Attribute.java
3381 javax/print/attribute/AttributeSet.java
3382 javax/print/attribute/PrintRequestAttributeSet.java
3383 * Makefile.in: Regenerated.
3384
3385 2003-03-16 Tom Tromey <tromey@redhat.com>
3386
3387 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3388 Include platform.h.
3389 * java/lang/natRuntime.cc (insertSystemProperties): Use
3390 _Jv_platform_path_separator.
3391 (nativeGetLibname): Use _Jv_platform_file_separator.
3392 (_load): Use _Jv_platform_onload_names.
3393 (onload_names): New global.
3394 * include/win32.h (_Jv_platform_file_separator): New define.
3395 (_Jv_platform_path_separator): Likewise.
3396 (_Jv_platform_onload_names): Likewise.
3397 (_Jv_platform_ffi_abi): Likewise.
3398 * include/posix.h (_Jv_platform_file_separator): New define.
3399 (_Jv_platform_path_separator): Likewise.
3400 (_Jv_platform_onload_names): Likewise.
3401 (_Jv_platform_ffi_abi): Likewise.
3402
3403 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3404
3405 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3406
3407 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3408
3409 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3410 hierarchy loop.
3411 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3412 list to Object,ObjectStreamClass, moved callReadMethod code up into
3413 readObject and added Class argument to all setXxxField calls.
3414 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3415 consistent with ObjectOutputStream and to facilitate caching the
3416 Method in the future.
3417 (setBooleanField): Added Class argument.
3418 (setByteField): Likewise.
3419 (setCharField): Likewise.
3420 (setDoubleField): Likewise.
3421 (setFloatField): Likewise.
3422 (setIntField): Likewise.
3423 (setLongField): Likewise.
3424 (setShortField): Likewise.
3425 (setObjectField): Likewise.
3426 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3427 class hierarchy loop.
3428 (defaultWriteObject): Call writeFields with new argument list.
3429 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3430 list to Object,ObjectStreamClass, moved callWriteMethod up into
3431 writeObject and added Class argument to all getXxxField calls.
3432 (callWriteMethod): Added ObjectStreamClass argument to be able to
3433 get the proper class to call getMethod on (each class can have (or
3434 not have) its own writeObject method).
3435 (getBooleanField): Added Class argument.
3436 (getByteField): Likewise.
3437 (getCharField): Likewise.
3438 (getDoubleField): Likewise.
3439 (getFloatField): Likewise.
3440 (getIntField): Likewise.
3441 (getLongField): Likewise.
3442 (getShortField): Likewise.
3443 (getObjectField): Likewise.
3444 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3445 facilitate caching the Method object in the future.
3446
3447 2003-03-12 Andreas Schwab <schwab@suse.de>
3448
3449 * configure.in: Avoid trailing /. in toolexeclibdir.
3450 * configure: Rebuilt.
3451
3452 2003-03-11 Michael Koch <konqueror@gmx.de>
3453
3454 * gnu/java/nio/ByteBufferImpl.java
3455 (putInt): Use limit() instead of limit.
3456 * gnu/java/nio/CharBufferImpl.java
3457 (slice): Fixed implementation.
3458 (subSequence): Better bounds checking.
3459 * gnu/java/nio/MappedByteFileBuffer.java:
3460 Import all needed classes directly.
3461 * java/nio/ByteBuffer.java
3462 (hashCode): New dummy method.
3463 * java/nio/CharBuffer.java
3464 (array_offset): New member variable.
3465 (hasArray): Fixed documentation.
3466 (arrayOffset): Return array_offset.
3467
3468 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3469
3470 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3471 setter; made return value of getter const char* instead of char*
3472 * prims.cc: removed all references to _Jv_ThisExecutable().
3473 These are in the platform-specific sections now.
3474 * posix.cc: define platform-specific _Jv_ThisExecutable().
3475 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3476 * win32.cc: define platform-specific _Jv_ThisExecutable()
3477 using GetModuleFilename()
3478 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3479 to argv[0] instead of _Jv_ThisExecutable()
3480
3481 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3482
3483 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3484 that is set if we are using addr2name.awk instead of addr2line.
3485 (NameFinder): Set usingAddr2name if using addr2name.awk.
3486 (getExternalLabel): New native method to convert a method
3487 name to an external label.
3488 (lookup): Convert name given by addr2line to an external label
3489 before demangling.
3490
3491 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3492 constant representing the prefix attached to method names to
3493 convert them to an external label.
3494 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3495 using LABEL_PREFIX.
3496
3497 2003-03-10 Tom Tromey <tromey@redhat.com>
3498
3499 * Makefile.in: Rebuilt.
3500 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3501 (JC1FLAGS): Removed -Wno-deprecated.
3502
3503 2003-03-10 Michael Koch <konqueror@gmx.de>
3504
3505 * java/nio/ByteOrder.java
3506 (nativeOrder): Working implementation, added documentation.
3507 (toString): Added documentation.
3508
3509 2003-03-10 Michael Koch <konqueror@gmx.de>
3510
3511 * java/net/DatagramSocket.java,
3512 java/net/MulticastSocket.java,
3513 java/net/Socket.java,
3514 java/net/URL.java,
3515 java/net/URLConnection.java:
3516 Fixed some documentation tags to make javadoc and friends happy.
3517
3518 2003-03-10 Michael Koch <koqnueror@gmx.de>
3519
3520 * java/beans/beancontext/BeanContextServicesSupport.java,
3521 java/beans/beancontext/BeanContextSupport.java: New files.
3522 * Makefile.am
3523 (awt_source_files): Added new files.
3524 * Makefile.in: Regenerated.
3525
3526 2003-03-10 Michael Koch <konqueror@gmx.de>
3527
3528 * java/awt/FocusTraversalPolicy.java
3529 (FocusTraversalPolicy): Documentation added.
3530 (getComponentAfter): Documentation added.
3531 (getComponentBefore): Documentation added.
3532 (getFirstComponent): Documentation added.
3533 (getLastComponent): Documentation added.
3534 (getDefaultComponent): Documentation added.
3535 (getInitialComponent): Documentation added.
3536 * java/awt/ScrollPaneAdjustable.java
3537 (sp): New member variable.
3538 (orientation): New member variable.
3539 (value): New member variable.
3540 (minimum): New member variable.
3541 (maximum): New member variable.
3542 (visibleAmount): New member variable.
3543 (unitIncrement): New member variable.
3544 (blockIncrement): New member variable.
3545 (adjustmentListener): New member variable.
3546 (ScrollPaneAdjustable): Rewrote.
3547 (addAdjustmentListener): New method.
3548 (removeAdjustmentListener): New method.
3549 (getAdjustmentListeners): New method.
3550 (getBlockIncrement): New method.
3551 (getMaximum): New method.
3552 (getMinimum): New method.
3553 (getOrientation): New method.
3554 (getUnitIncrement): New method.
3555 (getValue): New method.
3556 (getVisibleAmount): New method.
3557 (setBlockIncrement): New method.
3558 (setUnitIncrement): New method.
3559 (setMaximum): Implemented.
3560 (setMinimum): Implemented.
3561 (setValue): New method.
3562 (setVisibleAmount): Implemented.
3563 (paramString): New method.
3564 * java/awt/Window.java
3565 (show): Use setVisible(true) instead of super.show().
3566 (hide): Use sevVisible(false) instead of super.hide().
3567 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3568 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3569 (postEvent): Deprecated.
3570 (applyResourceBundle): Deprecated.
3571 (processWindowFocusEvent): New method.
3572 (processWindowStateEvent): New method.
3573 * java/awt/datatransfer/DataFlavor.java: Reindented.
3574 * java/awt/font/TextHitInfo.java
3575 (charIndex): New member variable.
3576 (leadingEdge): New member variable.
3577 (TextHitInfo): New constructor.
3578 (getCharIndex): Implemented.
3579 (isLeadingEdge): Implemented.
3580 (getInsertionIndex): Implemented.
3581 (hashCode): Access charIndex directly.
3582 (equals): Reformated.
3583 (leading): Implemented.
3584 (trailing): Implemented.
3585 (beforeOffset): Implemented.
3586 (afterOffset): Implemented.
3587 (getOtherHit): Implemented.
3588 (getOffsetHit): Implemented.
3589 (toString): Implemented.
3590 * java/awt/image/BufferedImage.java
3591 (BufferedImage): Implements WritableRenderedImage.
3592 (observers): New member variable.
3593 (addTileObserver): New method.
3594 (removeTileObserver): New method.
3595
3596 2003-03-09 Tom Tromey <tromey@redhat.com>
3597
3598 PR libgcj/9934:
3599 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3600 to lseek. Return 0 if we can't compute the value.
3601
3602 2003-03-03 Michael Koch <konqueror@gmx.de>
3603
3604 * java/net/NetworkInterface.java: Merged with classpath.
3605
3606 2003-03-03 Tom Tromey <tromey@redhat.com>
3607
3608 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3609 of bytecode.
3610 (handle_ret_insn): Fail if returning to jsr that appears at end of
3611 bytecode.
3612
3613 2003-03-03 Michael Koch <konqueror@gmx.de>
3614
3615 * Makefile.am
3616 (ordinary_java_source_files):
3617 Added gnu/java/nio/MappedByteFileBuffer.java.
3618 (nat_source_files):
3619 Added gnu/java/nio/natMappedByteFileBuffer.cc.
3620 * Makefile.in: Regenerated.
3621
3622 2003-03-03 Michael Koch <konqueror@gmx.de>
3623
3624 * java/net/DatagramSocket.java
3625 (connect): Merged comment from classpath.
3626 (receive): Merged documentation from classpath.
3627 * java/net/Socket.java
3628 (setSoTimeout): Clarified documentation.
3629 * java/net/URL.java
3630 (getPath): Merged from classpath.
3631 (getUserInfo): Merged from classpath.
3632 (getQuery): Merged from classpath.
3633 * java/net/URLStreamHandler.java
3634 (toExternalForm): Merged from classpath.
3635
3636 2003-03-02 Mark Wielaard <mark@klomp.org>
3637
3638 * java/util/Properties.java (load): Only skip line if the first
3639 character is a comment, whitespaces don't count.
3640
3641 2003-03-02 Michael Koch <konqueror@gmx.de>
3642
3643 * java/net/NetPermission.java:
3644 Merged copyright with classpath.
3645
3646 2003-03-02 Michael Koch <konqueror@gmx.de>
3647
3648 * java/lang/Package.java:
3649 Remerged from classpath.
3650
3651 2003-03-02 Michael Koch <konqueror@gmx.de>
3652
3653 * java/net/HttpURLConnection.java
3654 (HTTP_SERVER_ERROR): Deprecated.
3655 * java/net/MulticastSocket.java
3656 (send): Replaced checkMulticast with appropriate checkPermission call,
3657 deprecated.
3658 * java/net/URLDecoder.java
3659 (decode): Deprecated.
3660 * java/net/URLEncoder.java
3661 (encode): Deprecated.
3662
3663 2003-03-02 Michael Koch <konqueror@gmx.de>
3664
3665 * javax/swing/text/Caret.java
3666 (getMagicCaretPosition): Fixed typo in method name.
3667 * javax/swing/text/DefaultCaret.java
3668 (getMagicCaretPosition): Fixed typo in method name.
3669
3670 2003-03-02 Michael Koch <konqueror@gmx.de>
3671
3672 * java/awt/List.java
3673 (setMultipleSelections): Deprecated.
3674 (delItem): Deprecated.
3675 * java/awt/MenuComponent.java
3676 (getPeer): Deprecated.
3677 * java/awt/ScrollPane.java
3678 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3679 * java/awt/dnd/MouseDragGestureRecognizer.java
3680 (mouseClicked): Added comment.
3681 (mousePressed): Added comment.
3682 (mouseReleased): Added comment.
3683 (mouseEntered): Added comment.
3684 (mouseExited): Added comment.
3685 (mouseDragged): Added comment.
3686 (mouseMoved): Added comment.
3687 * java/awt/event/KeyEvent.java
3688 (KeyEvent): Deprecated.
3689 (setModifiers): Deprecated.
3690
3691 2003-03-02 Michael Koch <konqueror@gmx.de>
3692
3693 * gnu/java/nio/FileChannelImpl.java
3694 (fd): Type FileDescriptor instead of int.
3695 (lengthInternal): Removed.
3696 (FileChannelImpl): Fixed arguments, check type of file object.
3697 (size): Made it native.
3698 (implPosition): New native method.
3699 (implTruncate): New native method.
3700 (position): Implemented.
3701 (truncate): Implemented.
3702 (nio_mmap_file): Changed arguments.
3703 (nio_munmap_file): Changed arguments.
3704 (nio_msync): Changed arguments.
3705 * gnu/java/nio/natFileChannelImpl.cc
3706 (lengthInternal): Removed.
3707 (size): New method.
3708 (implPosition): New method.
3709 (implTruncate): New method.
3710 (nio_mmap_file): Changed arguments.
3711 (nio_munmap_file): Changed arguments.
3712 (nio_msync): Changed arguments.
3713
3714 2003-03-02 Michael Koch <konqueror@gmx.de>
3715
3716 * java/awt/dnd/DropTargetContext.java:
3717 Compile fix: Forgot to commit import.
3718
3719 2003-03-02 Michael Koch <konqueror@gmx.de>
3720
3721 * java/awt/Component.java,
3722 java/awt/ScrollPane.java:
3723 Fixed typos.
3724
3725 2003-03-02 Michael Koch <konqueror@gmx.de>
3726
3727 * java/awt/dnd/DnDEventMulticaster.java: New file.
3728 * java/awt/dnd/DragSource.java
3729 (flavorMap): New member variable.
3730 (dragSourceListener): New member variable.
3731 (dragSourceMotionListener): New member variable.
3732 (getFlavorMap): Implemented.
3733 (createDragGestureRecognizer): Implemented.
3734 (addDragSourceListener): Implemented.
3735 (removeDragSourceListener): Implemented.
3736 (getDragSourceListeners): Implemented.
3737 (addDragSourceMotionListener): Implemented.
3738 (removeDragSourceMotionListener): Implemented.
3739 (getDragSourceMotionListeners): Implemented.
3740 (getListeners): Implemented.
3741 * java/awt/dnd/DragSourceContext.java
3742 (peer): New member variable.
3743 (cursor): New member variable.
3744 (transferable): New member variable.
3745 (trigger): New member variable.
3746 (dragSourceListener): New member variable.
3747 (image): New member variable.
3748 (offset): New member variable.
3749 (DragSourceContext): Implemented.
3750 (getDragSource): Implemented.
3751 (getComponent): Implemented.
3752 (getTrigger): Implemented.
3753 (getSourceActions): Implemented.
3754 (setCursor): Implemented.
3755 (getCursor): Implemented.
3756 (addDragSourceListener): Implemented.
3757 (removeDragSourceListener): Implemented.
3758 (getTransferable): Implemented.
3759 * java/awt/dnd/DropTarget.java
3760 (DropTargetAutoScroller.component): New member variable.
3761 (DropTargetAutoScroller.point): New member variable.
3762 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3763 (DropTargetAutoScroller.updateLocation): Implemented.
3764 (active): Renamed from isActive, defaults to true now.
3765 (component): New member variable.
3766 (flavorMap): New member variable.
3767 (actions): New member variable.
3768 (dropTargetContext): New member variable.
3769 (dropTargetListener): New member variable.
3770 (DropTarget): Implemented.
3771 (getComponent): Implemented.
3772 (setComponent): Implemented.
3773 (setDefaultActions): Implemented.
3774 (getDefaultActions): Implemented.
3775 (setActive): Use active instead of isActive.
3776 (isActive): Use active instead of isActive.
3777 (addDropTargetListener): Implemented.
3778 (removeDropTargetListener): Implemented.
3779 (getFlavorMap): Implemented.
3780 (setFlavorMap): Implemented.
3781 (getDropTargetContext): Implemented.
3782 (createDropTargetContext): Implemented.
3783 (createDropTargetAutoScroller): Implemented.
3784 * java/awt/dnd/DropTargetContext.java
3785 (TransferableProxy.getTransferDataFlavors): Implemented.
3786 (TransferableProxy.isDataFlavorSupported): Implemented.
3787 (TransferableProxy.getTransferData): Implemented.
3788 (dropTarget): New member variable.
3789 (dtcp): New member variable.
3790 (DropTargetContext): New package private constructor.
3791 (getDropTarget): Implemented.
3792 (getComponent): Implemented.
3793 (addNotify): Implemented.
3794 (removeNotify): Implemented.
3795 (getCurrentDataFlavorsAsList): Implemented.
3796 (isDataFlavorSupported): Implemented.
3797 * java/awt/dnd/MouseDragGestureRecognizer.java
3798 (registerListeners): Implemented.
3799 (unregisterListeners): Implemented.
3800 * Makefile.am
3801 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3802 * Makefile.in: Regenerated.
3803
3804 2003-03-02 Michael Koch <konqueror@gmx.de>
3805
3806 * java/awt/Component.java
3807 (eventTypeEnabled): New method.
3808 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3809 * java/awt/Container.java
3810 (changeSupport): New member variable.
3811 (addPropertyChangeListener): New methods.
3812 * java/awt/ContainerOrderFocusTraversalPolicy.java
3813 (ContainerOrderFocusTraversalPolicy): Added comment.
3814 (getComponentAfter): Throw exception, documentation added.
3815 (getComponentBefore): Throw exception, documentation added.
3816 (getFirstComponent): Throw exception, documentation added.
3817 (getLastComponent): Throw exception, documentation added.
3818 (getDefaultComponent): Throw exception, documentation added.
3819 * java/awt/EventQueue.java: Reindented.
3820 * java/awt/FocusTraversalPolicy.java:
3821 (FocusTraversalPolicy): Added comment.
3822 (getComponentAfter): Documentation added.
3823 (getComponentBefore): Documentation added.
3824 (getFirstComponent): Documentation added.
3825 (getLastComponent): Documentation added.
3826 (getDefaultComponent): Documentation added.
3827 (getInitialComponent): Documentation added.
3828 * java/awt/ScrollPane.java
3829 (wheelScrollingEnabled): New member variable.
3830 (ScrollPane): Initialize wheelScollingEnabled.
3831 (eventTypeEnabled): New method.
3832 (isWheelScrollingEnabled): New method.
3833 (setWheelScrollingEnabled): New method.
3834
3835 2003-03-02 Michael Koch <konqueror@gmx.de>
3836
3837 * java/net/DatagramSocket.java
3838 (closed): New member variable.
3839 (close): Use closed variable.
3840 (getInetAddress): No need to call isConnected().
3841 (getPort): No need to call isConnected().
3842 (disconnect): Reset remoteAddress and remotePort, fixed typo.
3843 (isClosed): Reimplemented.
3844
3845 2003-03-02 Michael Koch <konqueror@gmx.de>
3846
3847 * configure.in: Added check for memory mapping of files.
3848 * configure: Regenerated.
3849 * config.h.in: Regenerated.
3850
3851 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
3852
3853 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3854 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3855
3856 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3857
3858 * java/io/File.java (normalizePath): Remove trailing separator
3859 on Windows only if path is not of the form "x:\".
3860
3861 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3862 (java::io::File::attr): Change formatting a bit and use
3863 WIN32_EPOCH_MILLIS instead of magic numbers.
3864 (java::io::File::isAbsolute): Path must have at least 3
3865 characters for a UNC network path.
3866 (java::io::File::init_native): Define.
3867 (java::io::File::performCreate): Likewise.
3868 (java::io::File::performSetReadOnly): Likewise.
3869 (java::io::File::performSetLastModified): Likewise.
3870 (java::io::File::performListRoots): Likewise.
3871
3872 2003-03-01 Tom Tromey <tromey@redhat.com>
3873
3874 * java/lang/natObject.cc: Don't include assert.h.
3875 (heavy_lock_obj_finalization_proc): Use JvAssert.
3876 (remove_all_heavy): Likewise.
3877 (_Jv_MonitorEnter): Likewise.
3878 (_Jv_MonitorExit): Likewise.
3879 (wait): Likewise.
3880
3881 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3882
3883 * java/io/File (getAbsolutePath): Prefix drive specifier on
3884 Windows for paths starting with a '\'.
3885 (toURL): Make URL more consistent with what Sun's JDK returns.
3886
3887 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3888 true only if the path is a UNC network path or it starts with a
3889 drive specifier.
3890
3891 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3892 Be prepared to handle either '/' or '\\' in the file path for
3893 Windows if using the "file" protocol.
3894 Canonicalise the file path if using a relative path in the given
3895 context and the "file" protocol.
3896
3897 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
3898
3899 * java/lang/natWin32Process.cc (startProcess): Double-quote each
3900 program array element passed to CreateProcess.
3901
3902 2003-03-01 Tom Tromey <tromey@redhat.com>
3903
3904 * java/rmi/registry/RegistryHandler.java: Deprecate.
3905
3906 2003-03-01 Tom Tromey <tromey@redhat.com>
3907
3908 * javax/accessibility/AccessibleEditableText.java,
3909 javax/accessibility/AccessibleHyperlink.java: New versions from
3910 Classpath.
3911
3912 * gnu/java/locale/LocaleInformation_af_ZA.java,
3913 gnu/java/locale/LocaleInformation_ar_AE.java,
3914 gnu/java/locale/LocaleInformation_ar_BH.java,
3915 gnu/java/locale/LocaleInformation_ar_DZ.java,
3916 gnu/java/locale/LocaleInformation_ar_EG.java,
3917 gnu/java/locale/LocaleInformation_ar_IN.java,
3918 gnu/java/locale/LocaleInformation_ar_IQ.java,
3919 gnu/java/locale/LocaleInformation_ar_JO.java,
3920 gnu/java/locale/LocaleInformation_ar_KW.java,
3921 gnu/java/locale/LocaleInformation_ar_LB.java,
3922 gnu/java/locale/LocaleInformation_ar_LY.java,
3923 gnu/java/locale/LocaleInformation_ar_MA.java,
3924 gnu/java/locale/LocaleInformation_ar_OM.java,
3925 gnu/java/locale/LocaleInformation_ar_QA.java,
3926 gnu/java/locale/LocaleInformation_ar_SD.java,
3927 gnu/java/locale/LocaleInformation_ar_SY.java,
3928 gnu/java/locale/LocaleInformation_ar_TN.java,
3929 gnu/java/locale/LocaleInformation_ar_YE.java,
3930 gnu/java/locale/LocaleInformation_be_BY.java,
3931 gnu/java/locale/LocaleInformation_bn_IN.java,
3932 gnu/java/locale/LocaleInformation_br_FR.java,
3933 gnu/java/locale/LocaleInformation_bs_BA.java,
3934 gnu/java/locale/LocaleInformation_ca_ES.java,
3935 gnu/java/locale/LocaleInformation_cs_CZ.java,
3936 gnu/java/locale/LocaleInformation_cy_GB.java,
3937 gnu/java/locale/LocaleInformation_da_DK.java,
3938 gnu/java/locale/LocaleInformation_de_AT.java,
3939 gnu/java/locale/LocaleInformation_de_BE.java,
3940 gnu/java/locale/LocaleInformation_de_CH.java,
3941 gnu/java/locale/LocaleInformation_de_DE.java,
3942 gnu/java/locale/LocaleInformation_de_LU.java,
3943 gnu/java/locale/LocaleInformation_el_GR.java,
3944 gnu/java/locale/LocaleInformation_en_AU.java,
3945 gnu/java/locale/LocaleInformation_en_BW.java,
3946 gnu/java/locale/LocaleInformation_en_CA.java,
3947 gnu/java/locale/LocaleInformation_en_DK.java,
3948 gnu/java/locale/LocaleInformation_en_GB.java,
3949 gnu/java/locale/LocaleInformation_en_HK.java,
3950 gnu/java/locale/LocaleInformation_en_IE.java,
3951 gnu/java/locale/LocaleInformation_en_IN.java,
3952 gnu/java/locale/LocaleInformation_en_NZ.java,
3953 gnu/java/locale/LocaleInformation_en_PH.java,
3954 gnu/java/locale/LocaleInformation_en_SG.java,
3955 gnu/java/locale/LocaleInformation_en_US.java,
3956 gnu/java/locale/LocaleInformation_en_ZA.java,
3957 gnu/java/locale/LocaleInformation_en_ZW.java,
3958 gnu/java/locale/LocaleInformation_es_AR.java,
3959 gnu/java/locale/LocaleInformation_es_BO.java,
3960 gnu/java/locale/LocaleInformation_es_CL.java,
3961 gnu/java/locale/LocaleInformation_es_CO.java,
3962 gnu/java/locale/LocaleInformation_es_CR.java,
3963 gnu/java/locale/LocaleInformation_es_DO.java,
3964 gnu/java/locale/LocaleInformation_es_EC.java,
3965 gnu/java/locale/LocaleInformation_es_ES.java,
3966 gnu/java/locale/LocaleInformation_es_GT.java,
3967 gnu/java/locale/LocaleInformation_es_HN.java,
3968 gnu/java/locale/LocaleInformation_es_MX.java,
3969 gnu/java/locale/LocaleInformation_es_NI.java,
3970 gnu/java/locale/LocaleInformation_es_PA.java,
3971 gnu/java/locale/LocaleInformation_es_PE.java,
3972 gnu/java/locale/LocaleInformation_es_PR.java,
3973 gnu/java/locale/LocaleInformation_es_PY.java,
3974 gnu/java/locale/LocaleInformation_es_SV.java,
3975 gnu/java/locale/LocaleInformation_es_US.java,
3976 gnu/java/locale/LocaleInformation_es_UY.java,
3977 gnu/java/locale/LocaleInformation_es_VE.java,
3978 gnu/java/locale/LocaleInformation_et_EE.java,
3979 gnu/java/locale/LocaleInformation_eu_ES.java,
3980 gnu/java/locale/LocaleInformation_fa_IR.java,
3981 gnu/java/locale/LocaleInformation_fi_FI.java,
3982 gnu/java/locale/LocaleInformation_fo_FO.java,
3983 gnu/java/locale/LocaleInformation_fr_BE.java,
3984 gnu/java/locale/LocaleInformation_fr_CA.java,
3985 gnu/java/locale/LocaleInformation_fr_CH.java,
3986 gnu/java/locale/LocaleInformation_fr_FR.java,
3987 gnu/java/locale/LocaleInformation_fr_LU.java,
3988 gnu/java/locale/LocaleInformation_ga_IE.java,
3989 gnu/java/locale/LocaleInformation_gd_GB.java,
3990 gnu/java/locale/LocaleInformation_gl_ES.java,
3991 gnu/java/locale/LocaleInformation_gv_GB.java,
3992 gnu/java/locale/LocaleInformation_he_IL.java,
3993 gnu/java/locale/LocaleInformation_hi_IN.java,
3994 gnu/java/locale/LocaleInformation_hr_HR.java,
3995 gnu/java/locale/LocaleInformation_hu_HU.java,
3996 gnu/java/locale/LocaleInformation_id_ID.java,
3997 gnu/java/locale/LocaleInformation_it_CH.java,
3998 gnu/java/locale/LocaleInformation_it_IT.java,
3999 gnu/java/locale/LocaleInformation_iw_IL.java,
4000 gnu/java/locale/LocaleInformation_ja_JP.java,
4001 gnu/java/locale/LocaleInformation_ka_GE.java,
4002 gnu/java/locale/LocaleInformation_kl_GL.java,
4003 gnu/java/locale/LocaleInformation_ko_KR.java,
4004 gnu/java/locale/LocaleInformation_kw_GB.java,
4005 gnu/java/locale/LocaleInformation_lt_LT.java,
4006 gnu/java/locale/LocaleInformation_lv_LV.java,
4007 gnu/java/locale/LocaleInformation_mi_NZ.java,
4008 gnu/java/locale/LocaleInformation_mk_MK.java,
4009 gnu/java/locale/LocaleInformation_mr_IN.java,
4010 gnu/java/locale/LocaleInformation_mt_MT.java,
4011 gnu/java/locale/LocaleInformation_nl_BE.java,
4012 gnu/java/locale/LocaleInformation_nl_NL.java,
4013 gnu/java/locale/LocaleInformation_nn_NO.java,
4014 gnu/java/locale/LocaleInformation_no_NO.java,
4015 gnu/java/locale/LocaleInformation_oc_FR.java,
4016 gnu/java/locale/LocaleInformation_pl_PL.java,
4017 gnu/java/locale/LocaleInformation_pt_BR.java,
4018 gnu/java/locale/LocaleInformation_pt_PT.java,
4019 gnu/java/locale/LocaleInformation_ro_RO.java,
4020 gnu/java/locale/LocaleInformation_ru_RU.java,
4021 gnu/java/locale/LocaleInformation_ru_UA.java,
4022 gnu/java/locale/LocaleInformation_se_NO.java,
4023 gnu/java/locale/LocaleInformation_sk_SK.java,
4024 gnu/java/locale/LocaleInformation_sl_SI.java,
4025 gnu/java/locale/LocaleInformation_sq_AL.java,
4026 gnu/java/locale/LocaleInformation_sr_YU.java,
4027 gnu/java/locale/LocaleInformation_sv_FI.java,
4028 gnu/java/locale/LocaleInformation_sv_SE.java,
4029 gnu/java/locale/LocaleInformation_ta_IN.java,
4030 gnu/java/locale/LocaleInformation_te_IN.java,
4031 gnu/java/locale/LocaleInformation_tg_TJ.java,
4032 gnu/java/locale/LocaleInformation_tl_PH.java,
4033 gnu/java/locale/LocaleInformation_tr_TR.java,
4034 gnu/java/locale/LocaleInformation_uk_UA.java,
4035 gnu/java/locale/LocaleInformation_ur_PK.java,
4036 gnu/java/locale/LocaleInformation_uz_UZ.java,
4037 gnu/java/locale/LocaleInformation_vi_VN.java,
4038 gnu/java/locale/LocaleInformation_yi_US.java,
4039 gnu/java/locale/LocaleInformation_zh_CN.java,
4040 gnu/java/locale/LocaleInformation_zh_HK.java,
4041 gnu/java/locale/LocaleInformation_zh_SG.java,
4042 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4043 info; from Classpath.
4044
4045 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4046 isPaintPending): New methods.
4047 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4048 setMaximizedBounds): New methods.
4049 (beginLayout, endLayout, isPaintPending): Likewise.
4050 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4051 (requestFocus): Likewise.
4052 (isObscured): Likewise.
4053 (canDetermineObscurity): Likewise.
4054 (coalescePaintEvent): Likewise.
4055 (updateCursorImmediately): Likewise.
4056 (createVolatileImage): Likewise.
4057 (handlesWheelScrolling): Likewise.
4058 (createBuffers): Likewise.
4059 (getBackBuffer): Likewise.
4060 (flip): Likewise.
4061 (destroyBuffers): Likewise.
4062
4063 * Makefile.in: Rebuilt.
4064 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4065 RobotPeer.java.
4066 * gnu/java/awt/GLightweightPeer.java,
4067 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4068 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4069 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4070 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4071 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4072 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4073 java/awt/dnd/peer/DragSourceContextPeer.java,
4074 java/awt/dnd/peer/DropTargetContextPeer.java,
4075 java/awt/peer/ButtonPeer.java,
4076 java/awt/peer/CheckboxMenuItemPeer.java,
4077 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4078 java/awt/peer/ComponentPeer.java,
4079 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4080 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4081 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4082 java/awt/peer/MenuBarPeer.java,
4083 java/awt/peer/MenuComponentPeer.java,
4084 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4085 java/awt/peer/PopupMenuPeer.java,
4086 java/awt/peer/ScrollPanePeer.java,
4087 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4088 java/awt/peer/TextComponentPeer.java,
4089 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4090 New versions from Classpath.
4091 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4092 * java/awt/peer/RobotPeer.java: Likewise.
4093
4094 2003-03-01 Mark Wielaard <mark@klomp.org>
4095
4096 * java/io/ObjectInputStream.java: Reindent.
4097 * java/io/ObjectOutputStream.java: Likewise.
4098
4099 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4100
4101 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4102 jvalue for each argument. Simplify.
4103 * testsuite/libjava.jni/calls.c (docall),
4104 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4105 misalignment.
4106
4107 2003-02-28 Mark Wielaard <mark@klomp.org>
4108
4109 * Makefile.am (nat_source_files): Remove
4110 java/io/natObjectOutputStream.cc.
4111 * Makefile.in: Regenerated.
4112 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4113 * java/io/ObjectStreamField.java (typename): New field.
4114 (ObjectStreamField(String, Class)): Initialize new field.
4115 (ObjectStreamField(String, String)): New Constructor.
4116 (getTypeCode): Use new field.
4117 (getTypeString): Use new field.
4118 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4119 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4120 Handle reading of Proxy classes. Never drain(), just write
4121 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4122 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4123 (flush): Call flush(), not just drain().
4124 (writeBoolean): Always use blockDataOutput.
4125 (writeByte): Likewise.
4126 (writeShort): Likewise.
4127 (writeChar): Likewise.
4128 (writeInt): Likewise.
4129 (writeLong): Likewise.
4130 (writeFloat): Likewise.
4131 (writeDouble): Likewise.
4132 (writeBytes): Likewise.
4133 (putfield (put(String,Object))): Throw IllegalArgumentException if
4134 field cannot be found.
4135 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4136 (writeArraySizeAndElements): Write byte[] in one go.
4137 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4138 set BlockDataMode to false.
4139 (annotateProxyClass): New method.
4140 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4141 (getField): No longer native.
4142 (getMethod): Likewise.
4143 (setBlockDataMode): Always drain() on switch, return old mode.
4144 (static): New static code block.
4145 * java/io/natObjectOutputStream.cc: Removed.
4146 * java/io/ObjectInputStream.java (getField): No longer native.
4147 (getMethod): Likewise.
4148 (readObject): Remember and reset old BlockDataMode. Track whether
4149 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4150 TC_LONGSTRING.
4151 (defaultReadObject): Set BlockDataMode to false during readFields.
4152 (resolveClass): Create new SecurityManager if necessary.
4153 Use Class.forName() if null ClassLoader found.
4154 (read(byte[],int,int): Copy remaining bytes to data before calling
4155 readNextBlock().
4156 (readFields): Set and reset BlockDataMode on call_read_method.
4157 Catch NoSuchFieldErrors.
4158 (setBlockDataMode): Return old mode.
4159 (static): New static code block.
4160 * java/io/natObjectInputStream.cc (getField): Removed.
4161 (getMethod): Likewise.
4162
4163 2003-02-27 Michael Koch <konqueror@gmx.de>
4164
4165 * java/beans/Beans.java,
4166 java/beans/FeatureDescriptor.java
4167 java/beans/PropertyEditorManager.java:
4168 Reformated to GNU style.
4169
4170 2003-02-25 Michael Koch <konqueror@gmx.de>
4171
4172 * gnu/java/nio/MappedByteFileBuffer.java,
4173 gnu/java/nio/natMappedByteFileBuffer.cc:
4174 New files, both are not compiled yet to get not noncompiling CVS.
4175
4176 2003-02-24 Tom Tromey <tromey@redhat.com>
4177
4178 * java/util/prefs/AbstractPreferences.java (isUserNode):
4179 Implemented.
4180
4181 2003-02-24 Tom Tromey <tromey@redhat.com>
4182
4183 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4184 Deprecate.
4185 * java/lang/Thread.java (resume): Deprecate.
4186 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4187 in @deprecated.
4188
4189 2003-02-23 Tom Tromey <tromey@redhat.com>
4190
4191 * Makefile.in: Rebuilt.
4192 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4193
4194 2003-02-23 Tom Tromey <tromey@redhat.com>
4195
4196 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4197 libraries): Removed.
4198 (add_library): Removed.
4199 (_load): Don't call add_library.
4200 (loadLibraryInternal): Likewise.
4201 (init): Likewise.
4202 (lookup_data): New struct.
4203 (find_symbol): New function.
4204 (_Jv_FindSymbolInExecutable): Use it.
4205
4206 2002-02-21 Anthony Green <green@redhat.com>
4207
4208 * java/lang/Thread.java (Thread): New constructor taking stack
4209 size parameter (ignored for now).
4210 * Many methods: Merged GNU Classpath documentation.
4211
4212 * java/lang/Class.java (finalize): throws a Throwable.
4213
4214 2003-02-21 Mark Wielaard <mark@klomp.org>
4215
4216 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4217 argument is null.
4218
4219 2003-02-21 Mark Wielaard <mark@klomp.org>
4220
4221 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4222 then 65535 chars throw IllegalArgumentException.
4223
4224 2003-02-21 Mark Wielaard <mark@klomp.org>
4225
4226 * java/util/zip/ZipFile.java (finalize): New method.
4227
4228 2003-02-21 Michael Koch <konqueror@gmx.de>
4229
4230 * gnu/java/nio/natSocketChannelImpl.cc:
4231 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4232 <cato@df.lth.se> for pointing to it.
4233
4234 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4235
4236 * java/math/BigInteger.java (euclidInv): Take result array as an
4237 argument. Updated all callers.
4238 (modInverse): Removed unused variables.
4239
4240 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4241
4242 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4243 config.status.
4244 * configure: Rebuilt.
4245
4246 2003-02-19 Michael Koch <konqueror@gmx.de>
4247
4248 * gnu/java/nio/natSocketChannelImpl.cc:
4249 Added support for platforms without network support.
4250
4251 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4252
4253 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4254 after config.h. Use <> for consistency.
4255 * java/lang/natObject.cc: Likewise.
4256 * java/lang/natRuntime.cc: Likewise.
4257 * java/lang/natSystem.cc: Likewise.
4258 * java/util/natTimeZone.cc: Likewise.
4259 * win32.cc: Likewise.
4260 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4261 listen, write, read): Undef to avoid interference from OS macros.
4262
4263 2003-02-19 Michael Koch <konqueror@gmx.de>
4264
4265 * gnu/java/nio/ByteBufferImpl.java
4266 (ByteBufferImpl): Renamed two variables.
4267 * gnu/java/nio/CharBufferImpl.java
4268 (CharBufferImpl): Renamed two variables.
4269 * gnu/java/nio/DoubleBufferImpl.java
4270 (DoubleBufferImpl): Renamed two variables.
4271 * gnu/java/nio/FloatBufferImpl.java
4272 (FloatBufferImpl): Renamed two variables.
4273 * gnu/java/nio/IntBufferImpl.java
4274 (IntBufferImpl): Renamed two variables.
4275 * gnu/java/nio/LongBufferImpl.java
4276 (LongBufferImpl): Renamed two variables.
4277 * gnu/java/nio/ShortBufferImpl.java
4278 (ShortBufferImpl): Renamed two variables.
4279 * java/nio/CharBuffer.java
4280 (wrap): Fixed arguments to CharBufferImpl constructor.
4281 (hasArray): Only not read-only buffers have backing arrays.
4282 (length): Documentation added.
4283 (subSequence): Documentation added.
4284 * java/nio/DoubleBuffer.java
4285 (hasArray): Only not read-only buffers have backing arrays.
4286 * java/nio/FloatBuffer.java
4287 (hasArray): Only not read-only buffers have backing arrays.
4288 * java/nio/IntBuffer.java
4289 (hasArray): Only not read-only buffers have backing arrays.
4290 * java/nio/LongBuffer.java
4291 (hasArray): Only not read-only buffers have backing arrays.
4292 * java/nio/ShortBuffer.java
4293 (hasArray): Only not read-only buffers have backing arrays.
4294
4295 2003-02-19 Michael Koch <konqueror@gmx.de>
4296
4297 * javax/accessibility/AccessibleContext.java
4298 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4299
4300 2003-02-19 Michael Koch <konqueror@gmx.de>
4301
4302 * java/awt/ScrollPaneAdjustable.java: Reformated.
4303
4304 2003-02-19 Michael Koch <konqueror@gmx.de>
4305
4306 * gnu/awt/j2d/Graphics2DImpl.java
4307 (getFontRenderContext): New method.
4308 (drawGlyphVector): New method.
4309 * java/awt/Graphics2D.java
4310 (getFontRenderContext): New abstract method.
4311 (drawGlyphVector): New abstract method.
4312
4313 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4314
4315 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4316 if necessary.
4317
4318 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4319 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4320 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4321 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4322 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4323 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4324 (setFont, gtkSetFont): add.
4325 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4326 Propagate font to peer. (setFont): add FIXME comment.
4327
4328 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4329 (gtkTextGetSize): fix height, width computation.
4330
4331 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4332 Make X font name a bit less bogus.
4333
4334 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4335 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4336
4337 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4338 (processAdjustmentEvent): Adjust value.
4339
4340 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4341 logic errors.
4342
4343 * java/awt/Component.java (setVisible, show, hide): Call show and
4344 hide methods in subclasses.
4345 (getPreferredSize): don't set prefSize before we have peer.
4346
4347 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4348 Guess (0,0) if we don't have peer.
4349
4350
4351 2003-02-18 Michael Koch <konqueror@gmx.de>
4352
4353 * java/nio/channels/FileChannel.java
4354 (toString): New implementation, added documentation.
4355 (map): Added exception documentation.
4356 (size): Added exception documentation.
4357 (write): New methods, documentation work.
4358 (read): New methods, documentation work.
4359 (implCloseChannel): Rewrote exception documentation.
4360 (force): Throws IOException, added documentation.
4361 (lock): New methods.
4362 (tryLock): New methods.
4363 (position): New methods.
4364 (transferTo): New method.
4365 (transferFrom): New method.
4366 (truncate): New method.
4367 * java/nio/channels/spi/SelectorProvider.java
4368 (provider): Implemented.
4369 * Makefile.am
4370 (ordinary_java_source_files): Added the following files:
4371 gnu/java/nio/DatagramChannelImpl.java
4372 gnu/java/nio/FileChannelImpl.java
4373 gnu/java/nio/PipeImpl.java
4374 gnu/java/nio/SelectionKeyImpl.java
4375 gnu/java/nio/SelectorImpl.java
4376 gnu/java/nio/SelectorProviderImpl.java
4377 gnu/java/nio/ServerSocketChannelImpl.java
4378 gnu/java/nio/SocketChannelImpl.java
4379 java/nio/channels/FileLock.java
4380 (nat_java_source_files): Added the following files:
4381 gnu/java/nio/natFileChannelImpl.cc
4382 gnu/java/nio/natSelectorImpl.cc
4383 gnu/java/nio/natSocketChannelImpl.cc
4384 * Makefile.in: Regenerated.
4385
4386 2003-02-17 Tom Tromey <tromey@redhat.com>
4387
4388 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4389 * java/awt/image/ImageFilter.java: Likewise.
4390
4391 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4392
4393 * java/math/BigInteger.java (euclidInv): Return array of
4394 `BigInteger's. Changed all callers.
4395
4396 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4397
4398 * java/util/Properties.java (store): Move the code formerly in
4399 list(), into this method.
4400 (list (PrintStream)): Just call list (PrintWriter) with a
4401 PrintWriter object constructed from the given PrintStream object.
4402 (list (PrintWriter)): Emulate the output of Properties.list()
4403 as found in JDK 1.3/1.4.
4404
4405 2003-02-17 Michael Koch <konqueror@gmx.de>
4406
4407 * java/net/DatagramSocket.java
4408 (connect): Merged with classpath.
4409 (disconnect): Merged documentation with classpath.
4410 (receice): Merged documentation with classpath.
4411 (send): Merged documentation with classpath.
4412
4413 2003-02-17 Michael Koch <konqueror@gmx.de>
4414
4415 * java/awt/dnd/DragSourceContext.java
4416 (addDragSourceListener): Added documentation.
4417 * java/awt/dnd/DragSourceDragEvent.java
4418 (serialVersionUID): New member variable.
4419 (getDropAction): Reformated.
4420 * java/awt/dnd/DragSourceDropEvent.java
4421 (serialVersionUID): New member variable.
4422 (dropSuccess): Renamed from success for serialization issues.
4423 * java/awt/dnd/DragSourceEvent.java
4424 (serialVersionUID): New member variable.
4425 * java/awt/dnd/DropTarget.java
4426 (serialVersionUID): New member variable.
4427 (DropTarget): Implemented, documentation reworked.
4428 (setComponent): Documentation added.
4429 (getComponent): Documentation added.
4430 (setDefaultActions): Documentation added.
4431 (getDefaultActions): Documentation added.
4432 (addDropTargetListener): Documentation added.
4433 * java/awt/dnd/DropTargetContext.java
4434 (DropTargetContext): Documentation added.
4435 (TransferableProxy.TransferableProxy): New method.
4436 (dropComplete): Fixed documentation.
4437 (getTransferable): Fixed documentation.
4438 (createTransferableProxy): Implemented.
4439 * java/awt/dnd/DropTargetDragEvent.java
4440 (DropTargetDragEvent): Documentation added.
4441 (serialVersionUID): New member variable.
4442 (DropTargetDragEvent): Throw exceptions, documentation added.
4443 (acceptDrag): Implemented.
4444 (getCurrentDataFlavors): Implemented.3yy
4445 (getCurrentDataFlavorsAsList): Implemented.
4446 (isDataFlavorSupported): Implemented.
4447 (rejectDrag): Implemented.
4448 * java/awt/dnd/DropTargetDropEvent.java
4449 (DropTargetDropEvent): Documentation added.
4450 (serialVersionUID): New member variable.
4451 (actions): Renamed from srcActions for serialization issues.
4452 (isLocalTx): Renamed from isLocalTx for serialization issues.
4453 (DropTargetDropEvent): New implementation, throw exceptions,
4454 documentation added.
4455 (getCurrentDataFlavors): Implemented.
4456 (getCurrentDataFlavorsAsList): Implemented.
4457 (isDataFlavorSupported): Implemented.
4458 (getSourceActions): Implemented.
4459 (getDropAction): Implemented.
4460 (getTransferable): Implemented.
4461 (acceptDrop): Implemented.
4462 (rejectDrop): Implemented.
4463 * java/awt/dnd/DropTargetListener.java
4464 (drop): Fixed documentation.
4465 * java/awt/dnd/MouseDragGestureRecognizer.java
4466 (MouseDragGestureRecognizer): Documentation added.
4467
4468 2003-02-17 Michael Koch <konqueror@gmx.de>
4469
4470 * java/awt/font/FontRenderContext.java,
4471 java/awt/font/ShapeGraphicAttribute.java,
4472 java/awt/font/MultipleMaster.java,
4473 java/awt/font/TransformAttribute.java,
4474 java/awt/font/GlyphJustificationInfo.java,
4475 java/awt/font/LineBreakMeasurer.java,
4476 java/awt/font/TextMeasurer.java,
4477 java/awt/font/TextLayout.java,
4478 java/awt/font/LineMetrics.java,
4479 java/awt/font/TextAttribute.java,
4480 java/awt/font/GlyphMetrics.java,
4481 java/awt/font/OpenType.java,
4482 java/awt/font/GlyphVector.java,
4483 java/awt/font/GraphicAttribute.java,
4484 java/awt/font/ImageGraphicAttribute.java,
4485 java/awt/font/NumericShaper.java: New files.
4486 * Makefile.am
4487 (awt_java_source_files): Added the following files:
4488 java/awt/font/FontRenderContext.java
4489 java/awt/font/ShapeGraphicAttribute.java
4490 java/awt/font/MultipleMaster.java
4491 java/awt/font/TransformAttribute.java
4492 java/awt/font/GlyphJustificationInfo.java
4493 java/awt/font/LineBreakMeasurer.java
4494 java/awt/font/TextMeasurer.java
4495 java/awt/font/TextLayout.java
4496 java/awt/font/LineMetrics.java
4497 java/awt/font/TextAttribute.java
4498 java/awt/font/GlyphMetrics.java
4499 java/awt/font/OpenType.java
4500 java/awt/font/GlyphVector.java
4501 java/awt/font/GraphicAttribute.java
4502 java/awt/font/ImageGraphicAttribute.java
4503 java/awt/font/NumericShaper.java
4504 * Makefile.in: Regenerated.
4505
4506 2003-02-17 Michael Koch <konqueror@gmx.de>
4507
4508 * java/awt/print/Paper.java
4509 (Paper): Implements Cloneable.
4510 * java/awt/print/PrinterJob.java
4511 (setJobName): Return value must be void.
4512 (print): Throws PrinterException.
4513
4514 2003-02-16 Tom Tromey <tromey@redhat.com>
4515
4516 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4517 variable.
4518
4519 2003-02-15 Michael Koch <konqueror@gmx.de>
4520
4521 * java/awt/datatransfer/DataFlavor.java
4522 (isRepresentationClassByteBuffer): Removed try-catch block.
4523 (isRepresentationClassCharBuffer): Removed try-catch block.
4524 (isRepresentationClassReader): Removed try-catch block.
4525
4526 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4527
4528 * java/nio/charset/Charset.java
4529 (isRegistered): Fixed method args and implementation.
4530 * java/nio/charset/CharsetEncoder.java
4531 (unmappableCharacterAction): New method.
4532
4533 2003-02-15 Michael Koch <konqueror@gmx.de>
4534
4535 * java/awt/CheckboxMenuItem.java
4536 (CheckBoxMenuItem): Dont implement Serializable.
4537 (getListeners): New method,
4538 (getItemListeners): New method.
4539 * java/awt/Choice.java
4540 (getListeners): New method,
4541 (getItemListeners): New method.
4542 * java/awt/Container.java
4543 (getListeners): Added exception documentation.
4544 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4545 (getFocusTraversalKeys): Added documentation.
4546 (areFocusTraversalKeysSet): Added documentation.
4547 (applyComponentOrientation): Added documentation.
4548 * java/awt/ContainerOrderFocusTraversalPolicy.java
4549 (implicitDownCycleTraversal): Renamed from downCycle for
4550 serialization.
4551 (ContainerOrderFocusTraversalPolicy): Added documentation.
4552 (accept): Reformated.
4553 * java/awt/Dialog.java
4554 (Dialog): Dont implement Serializable.
4555 (Dialog): Added documentation.
4556 * java/awt/Font.java
4557 (Font): Dont use absolute class name.
4558 * java/awt/Frame.java
4559 (Frame): Font implement Serializable.
4560 * java/awt/List.java
4561 (getListeners): New method,
4562 (getActionListeners): New method.
4563 (getItemListeners): New method.
4564 * java/awt/Menu.java
4565 (countItems): New deprecated method.
4566 * java/awt/Scrollbar.java
4567 (getListeners): New method,
4568 (getAdjustmentListeners): New method,
4569 * java/awt/TextComponent.java
4570 (getListeners): New method,
4571 (getTextListeners): New method,
4572 * java/awt/TextField.java
4573 (getListeners): New method,
4574 (getActionListeners): New method.
4575 * java/awt/Window.java
4576 (windowFocusListener): New member variable.
4577 (windowStateListener): New member variable.
4578 (getWindowFocusListeners): New method.
4579 (getWindowStateListeners): New method.
4580 (addWindowFocusListener): New method.
4581 (addWindowStateListener): New method.
4582 (removeWindowFocusListener): New method.
4583 (removeWindowStateListener): New method.
4584 * java/awt/datatransfer/DataFlavor.java
4585 (isRepresentationClassByteBuffer): New method.
4586 (isRepresentationClassCharBuffer): New method.
4587 (isRepresentationClassReader): New method.
4588
4589 2003-02-14 Mark Wielaard <mark@klomp.org>
4590
4591 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4592 zero when there is an exponent and the significant is zero.
4593 (divide): Always set scale to newScale even in special ZERO case.
4594
4595 2003-02-14 Tom Tromey <tromey@redhat.com>
4596
4597 * java/lang/System.java (properties): Use Properties.clone.
4598 (setProperties): Likewise.
4599
4600 2003-02-14 Michael Koch <konqueror@gmx.de>
4601
4602 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4603 * gnu/java/nio/ServerSocketChannelImpl.java
4604 (SocketAccept): Removed.
4605 (accept): Commented out use of SocketAccept.
4606
4607 2003-02-13 Tom Tromey <tromey@redhat.com>
4608
4609 * verify.cc (state::seen_subrs): New field.
4610 (state::state): Initialize it.
4611 (state::clean_subrs): New method.
4612 (state::~state): Call it.
4613 (state::copy): Copy subroutine list.
4614 (state::add_subr): New method.
4615 (state::merge): Only register a change if the current subroutine
4616 hasn't yet been noted.
4617
4618 2003-02-13 Mark Wielaard <mark@klomp.org>
4619
4620 * java/io/InputStreamReader.java (getEncoding): Return null when
4621 closed.
4622 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4623
4624 2003-02-13 Mark Wielaard <mark@klomp.org>
4625
4626 * java/util/zip/InflaterInputStream.java (read): Return zero when len
4627 is zero.
4628
4629 2003-02-13 Mark Wielaard <mark@klomp.org>
4630
4631 * java/io/BufferedOutputStream.java (write(int)): Only flush when
4632 next byte cannot be buffered.
4633
4634 2003-02-13 Michael Koch <konqueror@gmx.de>
4635
4636 * java/awt/Label.java
4637 (Label): Don't implement Serializable directly.
4638 (addNotify): Fixed typo in documentation.
4639 * java/awt/List.java
4640 (List): Don't implement Serializable directly.
4641 * java/awt/PopupMenu.java
4642 (PopupMenu): Don't implement Serializable directly.
4643 * java/awt/ScrollPane.java
4644 (ScrollPane): Don't implement Serializable directly.
4645 * java/awt/Scrollbar.java
4646 (Scrollbar): Don't implement Serializable directly.
4647 * java/awt/TextArea.java
4648 (preferredSize): Fixed method arguments.
4649 * java/awt/TextField.java
4650 (TextField): Don't implement Serializable directly.
4651 * java/awt/color/ICC_ColorSpace.java
4652 (fromCIOXYZ): Documentation added.
4653 (getMinValue): Documentation added.
4654 (getMaxValue): Documentation added.
4655 * java/awt/datatransfer/DataFlavor.java
4656 (isMimeTypeEqual): May not be final.
4657 (clone): Throws CloneNotSupportedException.
4658 (getReaderForText): Don't throws UnsupportedEncodingException.
4659
4660 2003-02-13 Michael Koch <konqueror@gmx.de>
4661
4662 * gnu/java/awt/peer/gtk/GdkGraphics.java
4663 (drawString): New stubbed method.
4664 * java/awt/Graphics.java
4665 (drawString): New method.
4666
4667 2003-02-13 Casey Marshall <rsdio@metastatic.org>
4668
4669 PR libgcj/9271:
4670 * java/security/SecureRandom.java (next): Avoid bias in results.
4671
4672 2003-02-13 Michael <konqueror@gmx.de>
4673
4674 * gnu/java/nio/FileChannelImpl.java
4675 (lengthInternal): Must be native.
4676 (size): Check if channel is already closed.
4677 (implCloseChannel): Reformated.
4678 (read): w was unused, removed it.
4679 (read): Removed.
4680 (read): New method.
4681 (write): New method.
4682 (map): Check arguments.
4683 (force): Throws IOException, check if channel is closed.
4684 (transferTo): New method.
4685 (transferFrom): New method.
4686 (lock): New method.
4687 (tryLock): New method.
4688 (position): New method.
4689 (truncate): New method.
4690 (nio_mmap_file): Uncommented.
4691 (nio_munmap_file): Uncommented.
4692 (nio_msync): Uncommented.
4693 * gnu/java/nio/natFileChannelImpl.cc: New file.
4694
4695 2003-02-13 Michael Koch <konqueror@gmx.de>
4696
4697 * java/nio/ByteBuffer.java
4698 (endian): New member variable.
4699 (get): New methods.
4700 (equals): New method.
4701 (compareTo): New method.
4702 (order): New methods.
4703 (compact): New method.
4704 (isDirect): New method.
4705 (slice): New method.
4706 (duplicate): New method.
4707 (asReadOnlyBuffer): New method.
4708 (asCharBuffer): New method.
4709 (asDoubleBuffer): New method.
4710 (asFloatBuffer): New method.
4711 (asIntBuffer): New method.
4712 (asLongBuffer): New method.
4713 (asShortBuffer): New method.
4714 (get*): New methods.
4715 (put*): New methods.
4716 (toString): New method.
4717 * java/nio/CharBuffer.java
4718 (CharBuffer): Implement Comparable instead of Cloneable.
4719 (get): May not be final.
4720 (put): May not be final.
4721
4722 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
4723
4724 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4725 lastIndexOf( ) instead of indexOf( ) to find the colon before
4726 the line number, because Win32 file names might contain a
4727 drive letter and a colon at the start of an absolute path.
4728
4729 2003-02-13 Michael Koch <konqueror@gmx.de>
4730
4731 * gnu/java/nio/natSocketChannelImpl.cc
4732 (SocketConnect): This is not implemented yet.
4733 (SocketBind): This is not implemented yet.
4734
4735 2003-02-13 Michael Koch <konqueror@gmx.de>
4736
4737 * gnu/java/nio/natByteBufferImpl.cc,
4738 gnu/java/nio/natCharBufferImpl.cc,
4739 gnu/java/nio/natDoubleBufferImpl.cc,
4740 gnu/java/nio/natFloatBufferImpl.cc,
4741 gnu/java/nio/natIntBufferImpl.cc,
4742 gnu/java/nio/natLongBufferImpl.cc,
4743 gnu/java/nio/natShortBufferImpl.cc:
4744 Added copyright and license.
4745 * java/nio/DoubleBuffer.java,
4746 java/nio/FloatBuffer.java,
4747 java/nio/IntBuffer.java,
4748 java/nio/LongBuffer.java,
4749 java/nio/ShortBuffer.java
4750 (array): Throw exceptions.
4751 (arrayOffset): Throw exceptions.
4752
4753 2003-02-13 Michael Koch <konqueror@gmx.de>
4754
4755 * gnu/java/util/prefs/FileBasedFactory.java,
4756 gnu/java/util/prefs/MemmoryBasedFactory.java,
4757 gnu/java/util/prefs/MemoryBasedPreferences.java,
4758 gnu/java/util/prefs/NodeReader.java,
4759 gnu/java/util/prefs/NodeWriter.java,
4760 java/util/prefs/AbstractPreferences.java,
4761 java/util/prefs/BackingStoreException.java,
4762 java/util/prefs/InvalidPreferencesFormatException.java,
4763 java/util/prefs/NodeChangeEvent.java,
4764 java/util/prefs/NodeChangeListener.java,
4765 java/util/prefs/PreferenceChangeEvent.java,
4766 java/util/prefs/PreferenceChangeListener.java,
4767 java/util/prefs/Preferences.java,
4768 java/util/prefs/PreferencesFactory.java:
4769 New files, all merged from classpath.
4770 * Makefile.am
4771 (ordinary_java_source_files): Added the following files:
4772 gnu/java/util/prefs/FileBasedFactory.java,
4773 gnu/java/util/prefs/MemmoryBasedFactory.java,
4774 gnu/java/util/prefs/MemoryBasedPreferences.java,
4775 gnu/java/util/prefs/NodeReader.java,
4776 gnu/java/util/prefs/NodeWriter.java,
4777 (core_java_source_files): Added the following files:
4778 java/util/prefs/AbstractPreferences.java,
4779 java/util/prefs/BackingStoreException.java,
4780 java/util/prefs/InvalidPreferencesFormatException.java,
4781 java/util/prefs/NodeChangeEvent.java,
4782 java/util/prefs/NodeChangeListener.java,
4783 java/util/prefs/PreferenceChangeEvent.java,
4784 java/util/prefs/PreferenceChangeListener.java,
4785 java/util/prefs/Preferences.java,
4786 java/util/prefs/PreferencesFactory.java
4787 * Makefile.in: Regenerated.
4788
4789 2003-02-13 Michael Koch <konqueror@gmx.de>
4790
4791 * java/net/NetPermission.java
4792 (NetPermission): Make doucmentation match the method declaration.
4793 * java/net/NetworkInterface.java
4794 (equals): Reformated for GNU coding style.
4795 * java/net/ServerSocket.java: Merged with classpath.
4796 * java/net/Socket.java: Partly merged with classpath (Added some @since).
4797 * java/net/SocketImpl.java
4798 (localPort): Merged with classpath (initialize with -1).
4799 * java/net/SocketPermission.java: Merged with classpath (reindented).
4800 * java/net/URLDecoder.java: Merged with classpath (reindented).
4801
4802 2003-02-13 Michael Koch <konqueror@gmx.de>
4803
4804 * java/awt/GridBagConstraints.java
4805 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4806 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4807 * java/awt/KeyboardFocusManager.java
4808 (setGlobalCurrentFocusCycleRoot): Must be public.
4809 * java/awt/MenuComponent.java
4810 (MenuComponent): Must be public.
4811 * java/awt/Toolkit.java:
4812 Added some empty lines to make documentation more readable.
4813 (getFontPeer): Added @deprecated.
4814 (getColorModel): Added exception documentation.
4815 (getProperty): Fixed documentation.
4816
4817 2003-02-12 Jeff Sturm <jsturm@one-point.com>
4818
4819 * configure.host (alpha*-*): Default to -mieee.
4820 * configure.in (IEEESPEC): New.
4821 * libgcj.spec.in (jc1): Add IEEESPEC.
4822 * configure: Rebuild.
4823
4824 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4825
4826 * include/win32.h: Include ws2tcpip.h instead of
4827 winsock.h to obtain definition of the socklen_t type.
4828 Remove IP_TOS definition - not needed with ws2tcpip.h
4829 (_Jv_connect): Correct slight formatting error.
4830
4831 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4832
4833 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4834 size of the arguments for a JNI function. For Win32,
4835 modify to search for all forms of possible exported
4836 names of an stdcall JNI function.
4837 (_Jv_JNIMethod::call): Modify to calculate the size
4838 of the arguments passed to a JNI function and pass
4839 it to _Jv_LookupJNIMethod.
4840
4841 2003-02-12 Michael Koch <konqueror@gmx.de>
4842
4843 * java/nio/channels/Channels.java: New file.
4844 * Makefile.am
4845 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4846 * Makefile.in: Regenerated.
4847
4848 2003-02-12 Michael Koch <konqueror@gmx.de>
4849
4850 * java/nio/ByteBuffer.java
4851 (allocate): Implemented.
4852 (wrap): Implemented.
4853 * java/nio/CharBuffer.java:
4854 Some documentation added and reworked.
4855 (endian): Removed.
4856 (allocate): Implemented.
4857 (wrap): Implemented.
4858 (array): Throw exceptions.
4859 (arrayOffset): Throw exceptions.
4860 (toString): Implemented.
4861 (length): Implemented.
4862 (put): Implemented.
4863 (charAt): Implemented.
4864
4865 2003-02-11 John Leuner <jewel@debian.org>
4866
4867 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
4868 reads from end of file.
4869
4870 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
4871
4872 * java/io/natFileDescriptorWin32.cc
4873 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4874 returns with Win32 error code ERROR_BROKEN_PIPE.
4875
4876 2003-02-11 Michael Koch <konqueror@gmx.de>
4877
4878 * Makefile.in
4879 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4880
4881 2003-02-11 Michael Koch <konqueror@gmx.de>
4882
4883 * gnu/java/nio/ByteBufferImpl.java:
4884 Reformated and removed some code.
4885 (backing_buffer): Removed.
4886 (array_offset): Removed.
4887 (ro): Renamed to readOnly.
4888 (ByteBufferImpl): Use parent constructor, initialize readOnly.
4889 * gnu/java/nio/CharBufferImpl.java:
4890 Reformated and removed some code.
4891 (array_offset): Removed.
4892 (ro): Renamed to readOnly.
4893 (CharBufferImpl): Use parent constructor, initialize readOnly.
4894 (inc_pos): Removed.
4895 (order): New method.
4896 * gnu/java/nio/DoubleBufferImpl.java:
4897 Reformated and removed some code.
4898 (array_offset): Removed.
4899 (ro): Renamed to readOnly.
4900 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4901 (inc_pos): Removed.
4902 (order): New method.
4903 * gnu/java/nio/FloatBufferImpl.java:
4904 Reformated and removed some code.
4905 (array_offset): Removed.
4906 (ro): Renamed to readOnly.
4907 (FloatBufferImpl): Use parent constructor, initialize readOnly.
4908 (inc_pos): Removed.
4909 (order): New method.
4910 * gnu/java/nio/IntBufferImpl.java:
4911 Reformated and removed some code.
4912 (array_offset): Removed.
4913 (ro): Renamed to readOnly.
4914 (IntBufferImpl): Use parent constructor, initialize readOnly.
4915 (inc_pos): Removed.
4916 (order): New method.
4917 * gnu/java/nio/LongBufferImpl.java:
4918 Reformated and removed some code.
4919 (array_offset): Removed.
4920 (ro): Renamed to readOnly.
4921 (LongBufferImpl): Use parent constructor, initialize readOnly.
4922 (inc_pos): Removed.
4923 (order): New method.
4924 * gnu/java/nio/ShortBufferImpl.java:
4925 Reformated and removed some code.
4926 (array_offset): Removed.
4927 (ro): Renamed to readOnly.
4928 (ShortBufferImpl): Use parent constructor, initialize readOnly.
4929 (inc_pos): Removed.
4930 (order): New method.
4931 * Makefile.am
4932 (ordinary_java_source_files): Added the following files:
4933 gnu/java/nio/ByteBufferImpl.java
4934 gnu/java/nio/CharBufferImpl.java
4935 gnu/java/nio/DoubleBufferImpl.java
4936 gnu/java/nio/FloatBufferImpl.java
4937 gnu/java/nio/IntBufferImpl.java
4938 gnu/java/nio/LongBufferImpl.java
4939 gnu/java/nio/ShortBufferImpl.java
4940 java/nio/DoubleBuffer.java
4941 java/nio/FloatBuffer.java
4942 java/nio/IntBuffer.java
4943 java/nio/LongBuffer.java
4944 java/nio/ShortBuffer.java
4945 (nat_source_files): Added the following files:
4946 gnu/java/nio/natByteBufferImpl.cc
4947 gnu/java/nio/natCharBufferImpl.cc
4948 gnu/java/nio/natDoubleBufferImpl.cc
4949 gnu/java/nio/natFloatBufferImpl.cc
4950 gnu/java/nio/natIntBufferImpl.cc
4951 gnu/java/nio/natLongBufferImpl.cc
4952 gnu/java/nio/natShortBufferImpl.cc
4953 * Makefile.in: Regenerated.
4954
4955 2003-02-11 Michael Koch <konqueror@gmx.de>
4956
4957 * gnu/java/nio/natCharBufferImpl.cc
4958 (nio_cast): Removed.
4959 (nio_put_*): Removed.
4960 (nio_get_*): Removed.
4961 * gnu/java/nio/natDoubleBufferImpl.cc
4962 (nio_cast): Removed.
4963 (nio_put_*): Removed.
4964 (nio_get_*): Removed.
4965 * gnu/java/nio/natFloatBufferImpl.cc
4966 (nio_cast): Removed.
4967 (nio_put_*): Removed.
4968 (nio_get_*): Removed.
4969 * gnu/java/nio/natIntBufferImpl.cc
4970 (nio_cast): Removed.
4971 (nio_put_*): Removed.
4972 (nio_get_*): Removed.
4973 * gnu/java/nio/natLongBufferImpl.cc
4974 (nio_cast): Removed.
4975 (nio_put_*): Removed.
4976 (nio_get_*): Removed.
4977 * gnu/java/nio/natShortBufferImpl.cc
4978 (nio_cast): Removed.
4979 (nio_put_*): Removed.
4980 (nio_get_*): Removed.
4981 * gnu/java/nio/SelectorProviderImpl.java
4982 (openDatagramChannel): Throws IOException.
4983 (openPipe): Throws IOException.
4984 (openSelector): Throws IOException.
4985 (openServerSocketChannel): Throws IOException.
4986 (openSocketChannel): Throws IOException.
4987 * gnu/java/nio/ServerSocketChannelImpl.java
4988 (ServerSocketChannelImpl): Throws IOException.
4989 (implCloseSelectableChannel): Throws IOException.
4990 (implConfigureBlocking): Throws IOException.
4991 * java/nio/ByteBuffer.java
4992 (readOnly): Removed.
4993 (hasArray): Use isReadOnly() instead of readOnly.
4994 (array): Use isReadOnly() instead of readOnly.
4995 (arrayOffset): Use isReadOnly() instead of readOnly.
4996 * java/nio/CharBuffer.java
4997 (CharBuffer): Implements Cloneable and CharSequence.
4998
4999 2003-02-11 Michael Koch <konqueror@gmx.de>
5000
5001 * java/nio/DoubleBuffer.java
5002 (DoubleBuffer): Implements Comparable.
5003 (endian): Removed.
5004 (array_offset): New member variable.
5005 (DoubleBuffer): New constuctor.
5006 (get): May not be final.
5007 (put): May not be final.
5008 (arrayOffset): Implemented.
5009 (order): Made abstract.
5010 (order): Removed.
5011 (as*Buffer): Removed.
5012 (get*): Removed.
5013 (put*): Removed.
5014 * java/nio/FloatBuffer.java
5015 (FloatBuffer): Implements Comparable.
5016 (endian): Removed.
5017 (array_offset): New member variable.
5018 (FloatBuffer): New constuctor.
5019 (get): May not be final.
5020 (put): May not be final.
5021 (arrayOffset): Implemented.
5022 (order): Made abstract.
5023 (order): Removed.
5024 (as*Buffer): Removed.
5025 (get*): Removed.
5026 (put*): Removed.
5027 * java/nio/IntBuffer.java
5028 (IntBuffer): Implements Comparable.
5029 (endian): Removed.
5030 (array_offset): New member variable.
5031 (IntBuffer): New constuctor.
5032 (get): May not be final.
5033 (put): May not be final.
5034 (arrayOffset): Implemented.
5035 (order): Made abstract.
5036 (order): Removed.
5037 (as*Buffer): Removed.
5038 (get*): Removed.
5039 (put*): Removed.
5040 * java/nio/LongBuffer.java
5041 (LongBuffer): Implements Comparable.
5042 (endian): Removed.
5043 (array_offset): New member variable.
5044 (LongBuffer): New constuctor.
5045 (get): May not be final.
5046 (put): May not be final.
5047 (arrayOffset): Implemented.
5048 (order): Made abstract.
5049 (order): Removed.
5050 (as*Buffer): Removed.
5051 (get*): Removed.
5052 (put*): Removed.
5053 * java/nio/ShortBuffer.java
5054 (ShortBuffer): Implements Comparable.
5055 (endian): Removed.
5056 (array_offset): New member variable.
5057 (ShortBuffer): New constuctor.
5058 (get): May not be final.
5059 (put): May not be final.
5060 (arrayOffset): Implemented.
5061 (order): Made abstract.
5062 (order): Removed.
5063 (as*Buffer): Removed.
5064 (get*): Removed.
5065 (put*): Removed.
5066
5067 2003-02-11 Michael Koch <konqueror@gmx.de>
5068
5069 * java/nio/channels/SelectionKey.java
5070 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5071 values.
5072
5073 2003-02-11 Michael Koch <konqueror@gmx.de>
5074
5075 * java/nio/channels/DatagramChannel.java
5076 (write): Throws IOException.
5077 (connect): Throws IOException.
5078 (disconnect): Throws IOException.
5079 (read): Throws IOException.
5080 (receive): Throws IOException.
5081 (send): Throws IOException.
5082 * java/nio/channels/Pipe.java
5083 (open): Throws IOException.
5084 * java/nio/channels/SelectableChannel.java
5085 (configureBlocking): Throws IOException.
5086 * java/nio/channels/ServerSocketChannel.java
5087 (accept): Throws IOException.
5088 * java/nio/channels/SocketChannel.java
5089 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5090 GatheringByteChannel.
5091 (read): Throws IOException.
5092 (write): Throws IOException.
5093 (finishConnect): Throws IOException.
5094 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5095 (end): Throws AsynchronousCloseException.
5096 * java/nio/channels/spi/AbstractSelectableChannel.java
5097 (configureBlocking): Throws IOException.
5098 (implCloseChannel): Throws IOException.
5099 (implCloseSelectableChannel): Throws IOException.
5100 (implConfigureBlocking): Throws IOException.
5101 * java/nio/channels/spi/SelectorProvider.java
5102 (openDatagramChannel): Throws IOException.
5103 (openPipe): Throws IOException.
5104 (openSelector): Throws IOException.
5105 (openServerSocketChannel): Throws IOException.
5106 (openSocketChannel): Throws IOException.
5107
5108 2003-02-11 Michael Koch <konqueror@gmx.de>
5109
5110 * gnu/java/nio/FileLockImpl.java,
5111 java/nio/channels/FileLock.java: New files.
5112
5113 2003-02-11 Michael Koch <konqueror@gmx.de>
5114
5115 * java/nio/charset/IllegalCharsetNameException.java
5116 (serialVersionUID): New member variable.
5117 (charsetName): New member variable.
5118 (IllegalCharsetException): New implementation.
5119 (getCharsetName): New implementation.
5120 * java/nio/charset/UnsupportedCharsetException.java
5121 (serialVersionUID): New member variable.
5122 (charsetName): New member variable.
5123 (UnsupportedCharsetException): New implementation.
5124 (getCharsetName): New implementation.
5125
5126 2003-02-10 Tom Tromey <tromey@redhat.com>
5127
5128 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5129 (ex): Renamed from sqlException.
5130
5131 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5132
5133 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5134 method used to ensure seeding has occurred and that a specific
5135 seed can be set and used.
5136
5137 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5138
5139 * java/lang/Win32Process.java (destroy): Declare as native.
5140 (hasExited): New native method.
5141 (exitValue): Define.
5142 (getErrorStream): Likewise.
5143 (getInputStream): Likewise.
5144 (getOutputStream): Likewise.
5145 (waitFor): Declare as native.
5146 (startProcess): New native method.
5147 (cleanup): Likewise.
5148 (ConcreteProcess): Define.
5149 (outputStream, inputStream, errorStream): New members.
5150 (procHandle, exitCode): Likewise.
5151
5152 * java/lang/natWin32Process.cc
5153 (java::lang::ConcreteProcess::cleanup): Define.
5154 (java::lang::ConcreteProcess::destroy): Likewise.
5155 (java::lang::ConcreteProcess::hasExited): Likewise.
5156 (java::lang::ConcreteProcess::waitFor): Likewise.
5157 (new_string): Likewise.
5158 (java::lang::ConcreteProcess::startProcess): Likewise.
5159
5160 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5161
5162 * java/math/BigInteger.java:
5163 Updated notice to include years 2002 and 3.
5164 Added 2 private (int) arrays with values from the HAC (Handbook of
5165 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5166 and t[] that contains nbr. of tests --used in isProbablePrime().
5167
5168 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5169
5170 * java/math/BigInteger.java (make(int[],int), add(int,int),
5171 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5172 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5173 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5174 make(long).
5175
5176 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5177 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5178 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5179 BIs and returns void.
5180 (modInverse(BI)): Use new signatures of euclidInv().
5181
5182 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5183 static small primes instead of remainder().
5184 Use pre-computed max nbr of trials based on bitlength of BI to test.
5185 Use pre-computed small primes for the trial tests instead of random
5186 numbers.
5187
5188 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5189 not used.
5190
5191 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5192 invoacation of MPN.chars_per_word(). not used.
5193
5194 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5195 local var and used where needed.
5196
5197 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5198 Combined declaration with initialisation of locals.
5199 Removed unused var.
5200
5201 * java/math/BigInteger.java: Style changes
5202 (pow(int)): Removed 'else' keyword.
5203 (toString(int)): idem.
5204 (doubleValue()): idem.
5205 (bitLength()): idem.
5206 (equals(Object)): Use static methods name in same class w/o prepending
5207 class name.
5208 (doubleValue()): idem.
5209 (setNegative(BI)): idem.
5210 (negate()): idem.
5211 (and(BI,int)): idem.
5212 (and(BI)): idem.
5213 (gcd(BI)): idem.
5214 (byteArrayToIntArray()): Removed casting to (int). this is
5215 std. behaviour.
5216 (canonicalize()): idem.
5217 (alloc(int)): Always instantiate a new BI.
5218
5219 2003-02-10 Tom Tromey <tromey@redhat.com>
5220
5221 * java/sql/Timestamp.java (compareTo(Object)): New method.
5222 (compareTo(Timestamp)): Likewise.
5223 (serialVersionUID): Updated.
5224
5225 2003-02-07 Mark Wielaard <mark@klomp.org>
5226
5227 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5228 when verify is true.
5229 (JarFile(File, boolean)): Likewise.
5230 (manifestRead): Set manifestRead field correctly.
5231
5232 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5233
5234 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5235 tests; see patch #1016 on Savannah.
5236
5237 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5238
5239 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5240 (toString): do not return Strings starting with . and - erroneously.
5241 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5242 DiagBigDecimal.
5243
5244 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5245
5246 * java/beans/PropertyDescriptor.java
5247 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5248 methods.
5249 (PropertyDescriptor(String, Class, String, String)): Likewise.
5250 (PropertyDescriptor(String, Method, Method): Factor out getter and
5251 setter method sanity checks into new method.
5252 (findMethods): Don't do parameter sanity checking of get method here.
5253 (checkMethods): New method.
5254
5255 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5256
5257 * java/beans/PropertyDescriptor.java: Reformat.
5258
5259 2003-02-04 Tom Tromey <tromey@redhat.com>
5260
5261 * java/io/PipedOutputStream.java (flush): Declare as throwing
5262 IOException.
5263 (close): Likewise.
5264 * java/io/PipedWriter.java (close): Declare as throwing
5265 IOException.
5266 * java/io/StringWriter.java (close): Declare as throwing
5267 IOException.
5268
5269 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5270
5271 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5272 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5273 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5274 "_JNI_OnLoad@8" (MSVC).
5275
5276 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5277
5278 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5279 convention on Win32 to invoke native JNI methods.
5280
5281 2003-02-03 Andrew Haley <aph@redhat.com>
5282
5283 * configure.host (x86_64): Enable interpreter.
5284
5285 2003-02-03 Andrew Haley <aph@redhat.com>
5286
5287 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5288 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5289 * configure.in (BACKTRACESPEC): New.
5290 * configure: Regenerate.
5291
5292 2003-02-02 Tom Tromey <tromey@redhat.com>
5293
5294 * configure: Rebuilt.
5295 * configure.in (TOOLKIT) [xlib]: Set correctly.
5296
5297 * Makefile.in: Rebuilt.
5298 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5299 libstdc++.
5300
5301 2003-01-31 Mark WIelaard <mark@klomp.org>
5302
5303 * Makefile.in: Rebuilt.
5304 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5305
5306 2003-01-31 Tom Tromey <tromey@redhat.com>
5307
5308 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5309 cast to element type.
5310 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5311 (_Jv_JNI_GetObjectArrayElement): Likewise.
5312
5313 * Makefile.in: Rebuilt.
5314 * Makefile.am (cond_x_ltlibrary): Renamed library to
5315 lib-gnu-awt-xlib.la.
5316 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5317 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5318 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5319 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5320 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5321 (lib_gnu_awt_xlib_la_LINK): Likewise.
5322 (install-exec-hook): Removed.
5323 (lib-gnu-awt-xlib.la): Renamed.
5324
5325 2003-01-31 Tom Tromey <tromey@redhat.com>
5326
5327 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5328 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5329 aclocal.m4 and lost in some merge.
5330
5331 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5332 Don't try to find graphics configuration.
5333 * java/awt/Toolkit.java (default_toolkit_name): Use new
5334 Configuration entry.
5335 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5336 New global.
5337 * configure: Rebuilt.
5338 * configure.in (TOOLKIT): New subst.
5339 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5340 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5341 directory. Make output directories for .c files.
5342 * Makefile.in: Rebuilt.
5343 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5344 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5345 (all_java_source_files): Added new sources.
5346 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5347 (gtk_c_files): New macro.
5348 (gtk_c_source_files): New macro.
5349 (cond_gtk_ltlibrary): New macro.
5350 ($(gtk_c_files)): New target.
5351 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5352 (gtk_awt_peer_sources): New macro.
5353 (gtk_c_headers): New macro.
5354 ($(gtk_c_headers)): New target.
5355 (ACLOCAL_AMFLAGS): New macro.
5356 * gtk.m4, glib.m4, libart.m4: New files.
5357 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5358 gnu/java/awt/peer/gtk/GdkGraphics.java,
5359 gnu/java/awt/peer/gtk/GtkArg.java,
5360 gnu/java/awt/peer/gtk/GtkArgList.java,
5361 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5362 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5363 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5364 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5365 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5366 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5367 gnu/java/awt/peer/gtk/GtkClipboard.java,
5368 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5369 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5370 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5371 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5372 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5373 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5374 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5375 gnu/java/awt/peer/gtk/GtkImage.java,
5376 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5377 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5378 gnu/java/awt/peer/gtk/GtkListPeer.java,
5379 gnu/java/awt/peer/gtk/GtkMainThread.java,
5380 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5381 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5382 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5383 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5384 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5385 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5386 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5387 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5388 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5389 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5390 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5391 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5392 gnu/java/awt/peer/gtk/GtkToolkit.java,
5393 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5394 gnu/java/awt/peer/gtk/TestAWT.java,
5395 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5396 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5397 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5398 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5399 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5400 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5401 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5402 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5403 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5404 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5405 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5406 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5407 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5408 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5409 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5410 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5411 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5412 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5413 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5414 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5415 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5416 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5417 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5418 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5419 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5420 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5421 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5422 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5423 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5424 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5425 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5426 jni/classpath/native_state.c, jni/classpath/native_state.h,
5427 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5428
5429 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5430
5431 * java/util/Properties.java (load): Ignore backslash before EOF.
5432
5433 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5434
5435 * java/lang/natClass.cc (initializeClass): Check tables when
5436 (state == JV_STATE_IN_PROGRESS).
5437 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5438 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5439 interpreted classes.
5440 (linkClass0): Use _Jv_WaitForState.
5441
5442 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5443
5444 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5445 object when finished.
5446
5447 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5448
5449 * libjava/configure.host: Disable can_unwind_signal on darwin.
5450
5451 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5452
5453 Fixes PR java/9254:
5454 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5455 additionally containing id of the owner thread as well as
5456 the number of nested times the thread has acquired the mutex.
5457 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5458 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5459 (_Jv_MutexUnlock): Check if really the owner thread, reset
5460 owner thread id to 0 before leaving, if leaving for the last
5461 time.
5462 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5463 refcount.
5464 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5465 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5466 the passed mutex.
5467 Pass handle of the broadcast event, instead of a pointer to it
5468 in Win32 ResetEvent( ) call.
5469 Remove incorrect return values.
5470 (_Jv_CondDestroy): Close both event handles and delete
5471 critical section.
5472 (_Jv_CondNotify): Check if really the owner thread.
5473 (_Jv_CondNotifyAll): Check if really the owner thread.
5474 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5475 (really_start): Use SetEvent( ) to signal daemon_cond.
5476 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5477 WaitForSingleObject( ) instead to wait for daemon_cond to be
5478 signalled.
5479
5480 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5481
5482 * configure.in: Specifically define HAVE_BACKTRACE if building
5483 for MinGW.
5484 * include/win32.h: Remove HAVE_BACKTRACE definition.
5485 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5486 * configure: Rebuilt.
5487
5488 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5489
5490 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5491 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5492 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5493 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5494 * Makefile.in, configure: Rebuilt.
5495
5496 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5497
5498 Fixes PR java/9253:
5499 * java/io/natFileWin32.cc (performList): Append only "*.*"
5500 if the canonical file path already has a "\" at the end.
5501
5502 2003-01-24 Tom Tromey <tromey@redhat.com>
5503
5504 * defineclass.cc (handleMethodsEnd): Precompute code for static
5505 method.
5506 (handleCodeAttribute): Likewise.
5507 * resolve.cc (ncode): Use run_class for unsynchronized static
5508 methods.
5509 * include/java-interp.h (class _Jv_InterpMethod): Declare
5510 run_class.
5511 * interpret.cc (run_synch_class): Initialize class.
5512 (run) [insn_invokestatic]: Don't initialize class.
5513 [insn_anewarray]: Likewise.
5514 [insn_multianewarray]: Likewise.
5515 (run_class): New function.
5516
5517 2003-01-24 Tom Tromey <tromey@redhat.com>
5518
5519 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5520 comment.
5521
5522 2003-01-22 Andrew Haley <aph@redhat.com>
5523
5524 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5525 * configure.host (CHECKREFSPEC): Define for x86_64.
5526
5527 2003-01-21 Tom Tromey <tromey@redhat.com>
5528
5529 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5530 search at 2, not 3.
5531
5532 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5533
5534 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5535 looking at any characters.
5536 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5537 be used.
5538 (isAbsolute): Check path's length as well.
5539
5540 2003-01-17 Mark Wielaard <mark@klomp.org>
5541
5542 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5543 (nat_source_files): Add natVMObjectStreamClass.cc.
5544 * Makefile.in: Regenerated.
5545 * gcj/javaprims.h (namespace java): Regenerated.
5546 * java/io/ObjectStreamClass.java (getClassUID): Call
5547 VMObjectStreamClass.hasClassInitializer().
5548 (hasClassInitializer): Removed.
5549 * java/io/VMObjectStreamClass.java: New class.
5550 * java/io/natVMObjectStreamClass.cc: New file.
5551 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5552
5553 2003-01-16 Mark Wielaard <mark@klomp.org>
5554
5555 * java/net/SocketImpl.java (toString): Don't explicitly call
5556 toString() on possible null address.
5557
5558 2003-01-16 Michael Koch <konqueror@gmx.de>
5559
5560 * java/net/MulticastSocket.java
5561 (setInterface): Reindented.
5562
5563 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5564
5565 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5566 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5567 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5568 translateY arguments. Implement.
5569 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5570 down translation arguments.
5571 (drawPolyline, drawPolygon): Fix incorrect tests.
5572 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5573 translateX and translateY arguments.
5574
5575 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5576
5577 * Makefile.in: Rebuilt.
5578 * Makefile.am (xlib_includes): New macro.
5579 (INCLUDES): Use it.
5580
5581 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5582
5583 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5584 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5585 16-bit display mode.
5586
5587 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5588
5589 * java/awt/CardLayout.java (show): Rewrote.
5590 (gotoComponent): Removed `target' argument. Simplified code.
5591 Don't pre-compute `choice' unless `what' is FIRST or LAST.
5592 Changed all callers.
5593 (NONE): Removed.
5594
5595 2003-01-14 Michael Koch <konqueror@gmx.de>
5596
5597 * java/net/InetSocketAddress.java
5598 (serialVersionUID): New member variable.
5599 * java/net/NetPermission.java
5600 (NetPermission): Dont implement java.io.Serialization directly.
5601 * java/net/SocketAddress.java:
5602 (serialVersionUID): Documentation added.
5603
5604 2003-01-14 Michael Koch <konqueror@gmx.de>
5605
5606 * java/awt/Label.java
5607 (Label): Implements javax.accessibility.Accessible;
5608 * java/awt/List.java
5609 (List): Implements javax.accessibility.Accessible;
5610 * java/awt/ScrollPane.java
5611 (ScrollPane): Implements javax.accessibility.Accessible;
5612 * java/awt/Scrollbar.java
5613 (Scrollbar): Implements javax.accessibility.Accessible;
5614 * java/awt/TextComponent.java
5615 (setCaretPosition): Throw exception, documentation added.
5616 * java/awt/Toolkit.java:
5617 Added some newlines in method documentations.
5618 (createButton): Exception documentation added.
5619 (createTextField): Exception documentation added.
5620 (createLabel): Exception documentation added.
5621 (createList): Exception documentation added.
5622 (createCheckbox): Exception documentation added.
5623 (createScrollbar): Exception documentation added.
5624 (createScrollPane): Exception documentation added.
5625 (createTextArea): Exception documentation added.
5626 (createChoice): Exception documentation added.
5627 (createFrame): Exception documentation added.
5628 (createWindow): Exception documentation added.
5629 (createDialog): Exception documentation added.
5630 (createMenuBar): Exception documentation added.
5631 (createMenu): Exception documentation added.
5632 (createMenuItem): Exception documentation added.
5633 (createFileDialog): Exception documentation added.
5634 (createCheckboxMenuItem): Exception documentation added.
5635 (loadSystemColors): Exception documentation added.
5636 (setDynamicLayout): Exception documentation added.
5637 (isDynamicLayoutSet): Exception documentation added.
5638 (isDynamicLayoutActive): Exception documentation added.
5639 (getScreenSize): Exception documentation added.
5640 (getScreenResolution): Exception documentation added.
5641 (getScreenInsets): Exception documentation added.
5642 (getColorModel): Exception documentation added.
5643 (getSystemClipboard): Exception documentation added.
5644 (getSystemSelection): Exception documentation added.
5645 (getMenuShortcutKeyMask): Exception documentation added.
5646 (getSystemEventQueue): Exception documentation added.
5647 * java/awt/Window.java:
5648 Reindented some code.
5649 (Window): Centralized implementation, documentation added.
5650 (finalize): Documentation added.
5651 (hide): Fixed typo in comment.
5652 (getWindowListeners): Documentation added.
5653 * java/awt/color/ColorSpace.java
5654 (toRGB): Documentation added.
5655 * java/awt/color/ICC_ColorSpace.java
5656 (ICC_ColorSpace): Documentation added.
5657 (toRGB): Throw exception, documentation added.
5658 (fromRGB): Throw exception, documentation added.
5659 (toCIEXYZ): Documentation added.
5660 (fromCIEXYZ): Documentation added.
5661 (getMinValue): Documentation added.
5662 (getMaxValue): Documentation added.
5663 * java/awt/geom/Dimension2D.java
5664 (clone): Documentation added.
5665 * java/awt/geom/GeneralPath.java
5666 (clone): Documentation added.
5667 * java/awt/geom/Line2D.java
5668 (clone): Documentation added.
5669 * java/awt/geom/QuadCurve2D.java
5670 (clone): Documentation added.
5671 * java/awt/image/ColorModel.java
5672 (ColorModel): Throw exception, documentation added.
5673 * java/awt/image/ImageFilter.java
5674 (clone): Doesnt throw CloneNotSupportedException.
5675
5676 2003-01-14 Andrew Haley <aph@redhat.com>
5677
5678 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5679 in a try block.
5680
5681 2003-01-10 Andrew Haley <aph@redhat.com>
5682
5683 * include/dwarf2-signal.h: Remove x86_64.
5684 * configure.host (x86_64 DIVIDESPEC): Remove.
5685 * include/x86_64-signal.h: New file.
5686 * configure.in: Regenerate.
5687
5688 2003-01-10 Michael Koch <konqueror@gmx.de>
5689
5690 * java/net/DatagramSocket.java
5691 (ch): Description added.
5692 (remotePort): Initialize with -1.
5693 (connect): Doesnt throws SocketException.
5694 * java/net/MulticastSocket.java
5695 (setInterface): Merge with Classpath.
5696 * java/net/ServerSocket.java
5697 (closed): New member variable.
5698 (bind): Check if socket is closed.
5699 (close): Close an associated channel too, set new value to closed.
5700 (isBound): Reindented.
5701 (isClosed): Implemented.
5702 * java/net/Socket.java
5703 (closed): New member variable.
5704 (bind): Check if socket is closed.
5705 (connect): Check if socket is closed.
5706 (close): Close an associated channel too, set new value to closed.
5707 (isClosed): Implemented.
5708
5709 2003-01-10 Michael Koch <konqueror@gmx.de>
5710
5711 * java/awt/DisplayMode.java
5712 (equals): Fixed argument type and implementation.
5713
5714 2003-01-07 Tom Tromey <tromey@redhat.com>
5715
5716 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5717 JV_HASH_SYNCHRONIZATION.
5718 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5719 JV_HASH_SYNCHRONIZATION.
5720
5721 2003-01-07 Michael Koch <konqueror@gmx.de>
5722
5723 * java/net/DatagramSocket.java:
5724 Added classpath license info.
5725 (DatagramSocket): Merged description with classpath.
5726 (close): Merged description with classpath.
5727 (getChannel): Merged description with classpath.
5728 (getInetAddress): Merged description with classpath.
5729 (getPort): Merged description with classpath.
5730 (getLocalAddress): Merged description with classpath.
5731 (getLocalPort): Merged description with classpath.
5732 (getSoTimeout): Merged description with classpath.
5733 (setSoTimeout): Merged description with classpath.
5734 (getSendBufferSize): Merged description with classpath.
5735 (setSendBufferSize): Merged description with classpath.
5736 (getReceiveBufferSize): Merged description with classpath.
5737 (setReceiveBufferSize): Merged description with classpath.
5738
5739 2003-01-04 Tom Tromey <tromey@redhat.com>
5740
5741 * java/awt/List.java: Merged with Classpath.
5742
5743 2003-01-03 Mark Wielaard <mark@klomp.org>
5744
5745 * java/io/FileDescriptor.java (position): New private field.
5746 * java/io/natFileDescriptorPosix.cc (write): Up position.
5747 (setLength): Use and set position.
5748 (seek): Set position.
5749 (getFilePointer): Return position.
5750 (read): Up position.
5751
5752 2003-01-03 Mark Wielaard <mark@klomp.org>
5753
5754 Merge with Classpath:
5755 * java/io/ObjectStreamClass.java (lookup): Split method and call
5756 lookupForClassObject().
5757 (lookupForClassObject): New method.
5758 (isProxyClass): New field.
5759 (setClass): Set isProxyClass, add object to classLookupTable, set
5760 superClass and calculateOffsets.
5761 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5762 and not a proxy class.
5763 (setFields): Set accessible true for serialPersistentFields.
5764 (getClassUID): Same for suid. And check if suid is of type long.
5765 (hasClassInitializer): Don't throw NoSuchMethodError.
5766
5767 2003-01-03 Mark Wielaard <mark@klomp.org>
5768
5769 * java/io/FileInputStream.java (finalize): Don't explicitly
5770 finalize FileDescriptor.
5771
5772 2003-01-03 Jeff Sturm <jsturm@one-point.com>
5773
5774 * configure.host (sparc*-*): Enable bytecode interpreter.
5775
5776 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
5777
5778 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5779 Don't throw RemoteException.
5780 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5781 throw RemoteException.
5782
5783 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
5784
5785 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5786 proxyHost): New static fields.
5787 (<clinit>): Initialize new fields.
5788 (connect): Use proxy if necessary.
5789 (usingProxy): Implement.
5790
5791 2003-01-03 Eric Blake <ebb9@email.byu.edu>
5792
5793 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5794 (TreeIterator.remove): Prefer IllegalStateException over
5795 ConcurrentModificationException, to match Sun.
5796
5797 2002-12-22 Anthony Green <green@redhat.com>
5798
5799 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5800
5801 2003-01-02 Mark Wielaard <mark@klomp.org>
5802
5803 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5804 public.
5805 (HTTP_USE_PROXY): Add field.
5806 (getResponseVals): Only set responseCode when not yet explicitly
5807 set by subclass.
5808
5809 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
5810 Mark Wielaard <mark@klomp.org>
5811
5812 * java/util/zip/ZipFile.java (entries): Now HashMap.
5813 (readLeShort(DataInput, byte[])): Read from given byte array.
5814 (readLeInt(DataInput, byte[]): Likewise.
5815 (readLeShort(byte[] b, int off)): New method.
5816 (readLeInt(byte[] b, int off)): Likewise.
5817 (readEntries): Use byte arrays to read info in bigger chunks.
5818 (getEntries): Return HashMap.
5819 (getEntry): Use HashMap.
5820 (locBuf): New private field.
5821 (checkLocalHeader): Use locBuf to read info in one chunk.
5822 (getInputStream): Use entries HashMap, wrap PartialInputStream
5823 in BufferedInputStream.
5824 (ZipEntryEnumeration): Use HashMap and Interator.
5825
5826 2003-01-02 Mark Wielaard <mark@klomp.org>
5827 Jeroen Frijters <jeroen@sumatra.nl>
5828
5829 * java/net/URLClassLoader.java (Resource.getCodeSource):
5830 Fix check certs == null.
5831 (getCanonicalFileURL): Removed method.
5832 (JarURLLoader): Don't call removed method.
5833 (FileURLLoader): Likewise.
5834 (FileURLLoader.getResource): Don't canonicalize file name.
5835
5836 2003-01-01 Tom Tromey <tromey@redhat.com>
5837
5838 * Makefile.in: Rebuilt.
5839 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5840 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5841 java/awt/BufferCapabilities.java, java/awt/Button.java,
5842 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5843 java/awt/Container.java, java/awt/Cursor.java,
5844 java/awt/EventQueue.java, java/awt/FileDialog.java,
5845 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5846 java/awt/MenuBar.java, java/awt/MenuComponent.java,
5847 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5848 java/awt/Scrollbar.java, java/awt/TextArea.java,
5849 java/awt/TextField.java, java/awt/color/CMMException.java,
5850 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5851 java/awt/color/ProfileDataException.java,
5852 java/awt/datatransfer/Clipboard.java,
5853 java/awt/datatransfer/DataFlavor.java,
5854 java/awt/datatransfer/FlavorMap.java,
5855 java/awt/datatransfer/SystemFlavorMap.java,
5856 java/awt/dnd/DragGestureEvent.java,
5857 java/awt/dnd/DragGestureRecognizer.java,
5858 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5859 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5860 java/awt/im/InputMethodHighlight.java,
5861 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5862 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5863
5864 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5865 `op' to BufferedImageOp.
5866
5867 2002-12-31 Tom Tromey <tromey@redhat.com>
5868
5869 Fix for PR libgcj/7416:
5870 * javax/naming/InitialContext.java (init): Use
5871 gnu.classpath.home.url.
5872 * java/security/Security.java: Use new properties.
5873 (loadProviders): Accept base url; use it.
5874 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5875 gnu.classpath.home.url.
5876 (gnu.classpath.home.url): Define.
5877 (gnu.classpath.vm.shortname): Likewise.
5878
5879 2002-12-31 Tom Tromey <tromey@redhat.com>
5880 Ranjit Mathew <rmathew@hotmail.com>
5881
5882 Fix for PR libgcj/8997:
5883 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5884 Include platform.h.
5885 * include/posix.h (_Jv_platform_usleep): New function.
5886 * include/win32.h (_Jv_platform_usleep): New function.
5887
5888 2002-12-29 Tom Tromey <tromey@redhat.com>
5889
5890 * gcj/javaprims.h: Updated.
5891 * scripts/classes.pl (scan): Removed stray semicolon.
5892
5893 2002-12-30 Mark Wielaard <mark@klomp.org>
5894
5895 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5896 if zero or smaller.
5897
5898 2002-12-30 Mark Wielaard <mark@klomp.org>
5899
5900 * java/util/Properties (formatForOutput): Don't fall through to
5901 default case after escaping character.
5902
5903 2002-12-30 Mark Wielaard <mark@klomp.org>
5904
5905 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5906 against count.
5907
5908 2002-12-27 Mark Mitchell <mark@codesourcery.com>
5909
5910 * boehm.cc: Remove stray semicolon.
5911 * interpret.cc: Likewise.
5912 * prims.cc: Likewise.
5913 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5914 earlier to ensure default arguments are processed.
5915 * gcj/array.h (JArray): Add forward declaration.
5916 (elements): Likewise.
5917 * gcj/javaprim.h: Remove stray semicolons.
5918 * include/bohm-gc.h: Likewise.
5919 * include/jni.h: Likewise.
5920 * include/jvm.h: Likewise.
5921 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5922
5923 2002-12-23 Jeff Sturm <jsturm@one-point.com>
5924
5925 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5926 of catch_type.
5927 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5928 idt tables after initializing superclass.
5929 * java/lang/natClassLoader.cc (uaddr): New typedef.
5930 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5931 if they are constant pool indicies. Don't link vtable, otable yet.
5932
5933 2002-12-21 Anthony Green <green@redhat.com>
5934
5935 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5936 libraries.
5937 * Makefile.in: Rebuilt.
5938
5939 2002-12-19 Anthony Green <green@redhat.com>
5940
5941 * Makefile.am (ordinary_java_source_files): Add
5942 org/xml/sax/helpers/NewInstance.java.
5943 * Makefile.in: Rebuilt.
5944 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5945 org/xml/sax/helpers/package.html: New files.
5946 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5947 http://www.saxproject.org.
5948
5949 2002-12-19 Andrew Haley <aph@redhat.com>
5950
5951 * java/util/natResourceBundle.cc: Include
5952 ArrayIndexOutOfBoundsException.h.
5953 (getCallingClassLoader): Don't put upper bound on stack search.
5954 Catch ArrayIndexOutOfBoundsException.
5955
5956 2002-12-19 Tom Tromey <tromey@redhat.com>
5957
5958 * libtool-version: Increased `current'.
5959
5960 2002-12-19 Tom Tromey <tromey@redhat.com>
5961
5962 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5963 comment.
5964 * java/lang/ClassLoader.java (defineClass): Use chained
5965 exception when rethrowing.
5966 * defineclass.cc (handleClassBegin): Mark class as interpreted.
5967 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5968 constants.
5969 * resolve.cc (_Jv_PrepareMissingMethods): New function.
5970 (_Jv_PrepareClass): Use it.
5971 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5972 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5973 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5974 (Class): _Jv_PrepareMissingMethods now friend.
5975 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5976 Record `NULL' for system class loader.
5977 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
5978 system class loader.
5979 (_Jv_FindClassInCache): Likewise.
5980 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
5981 (_Jv_FindClass): Special case system class loader.
5982 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5983 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5984 vtable slots.
5985 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5986 in a final class.
5987 (_getDeclaredMethod): Don't return synthetic methods.
5988 (getDeclaredMethods): Likewise.
5989 (_getMethod): Likewise.
5990 (_getMethods): Likewise.
5991
5992 2002-12-18 Raif Naffah <raif@fl.net.au>
5993
5994 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5995 canonical form after divide().
5996 (modInverse): Likewise.
5997
5998 2002-12-13 Casey Marshall <rsdio@metastatic.org>
5999 Mark Wielaard <mark@klomp.org>
6000
6001 * java/security/SecurityRandom (digest): Removed field.
6002 (SecureRandom): Check all providers for case-insensitive SecureRandom
6003 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
6004 if necessary.
6005 (getInstance(String,Provider,boolean): New method.
6006 (getInstance(String)): Use new method.
6007 (getInstance(String,String)): Likewise.
6008 (getInstance(String,Provider)): Likewise.
6009
6010 2002-12-13 Casey Marshall <rsdio@metastatic.org>
6011
6012 * java/security/Security.java (loadProviders): Increment i only once.
6013
6014 2002-12-12 Mark Wielaard <mark@klomp.org>
6015
6016 * java/lang/ClassLoader.java (resolveClass0): Transform
6017 ClassNotFoundException to NoClassDefFoundError. Transform all other
6018 throwables to LinkageError.
6019
6020 2002-12-11 Tom Tromey <tromey@redhat.com>
6021
6022 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
6023
6024 * java/lang/ClassLoader.java (loadedClasses): New field.
6025 (defineClass): Fixed indentation. Put new class in
6026 loadedClasses.
6027 (findLoadedClass): Implement here.
6028 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6029
6030 2002-12-10 Tom Tromey <tromey@redhat.com>
6031
6032 * Makefile.in: Rebuilt.
6033 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6034 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6035 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6036 * java/lang/natClassLoader.cc
6037 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6038
6039 2002-12-10 Mark Wielaard <mark@klomp.org>
6040 Tom Tromey <tromey@redhat.com>
6041
6042 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6043 (JarURLLoader): Use it.
6044 (FileURLLoader): Likewise.
6045 (JarURLResource.getURL): Use chained exception.
6046 (FileResource.getURL): Likewise.
6047 (FileURLLoader.getResource): Use canonical file name.
6048 (addURL): Indentation fix.
6049
6050 2002-12-10 Tom Tromey <tromey@redhat.com>
6051
6052 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6053 From Laurent Bardet <l.bardet@magic.fr>.
6054
6055 2002-12-09 Tom Tromey <tromey@redhat.com>
6056
6057 * include/win32.h (_Jv_platform_solib_prefix): New define.
6058 (_Jv_platform_solib_suffix): Likewise.
6059 * include/posix.h (_Jv_platform_solib_prefix): New define.
6060 (_Jv_platform_solib_suffix): Likewise.
6061 * java/lang/natRuntime.cc: Include StackTrace.h.
6062 (_load): Use findLibrary and new platform defines.
6063 (nativeGetLibname): Use new platform defines.
6064
6065 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6066 `t' won't be null.
6067
6068 2002-12-08 Mark Wielaard <mark@klomp.org>
6069
6070 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6071 cache remote jar files.
6072 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6073 add File.separator to URL when it is a directory.
6074 * java/lang/ClassLoader.java: Add Classpath javadoc.
6075 (parent): final.
6076 (getParent): Add (disabled) security check.
6077 (findLibrary): New default method.
6078 * java/net/JarURLConnection.java (getManifest): Implement.
6079 (getInputStream): Only create InputStream when entry exists.
6080 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6081 when they exist.
6082 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6083
6084 2002-12-08 Mark Wielaard <mark@klomp.org>
6085
6086 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6087 (lastDefaultLocale): New field.
6088 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6089 resourceBundleCache.
6090
6091 2002-12-06 Mark Wielaard <mark@klomp.org>
6092
6093 * java/net/InetAddress.java (toString): Use hostname when not null,
6094 don't do an explicit reverse getHostName() lookup.
6095 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6096 NullPointerException.
6097
6098 2002-12-06 Tom Tromey <tromey@redhat.com>
6099
6100 * include/java-interp.h (class _Jv_InterpMethod): Added
6101 JV_MARKOBJ_DECL.
6102 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6103 mark `prepared' field of interpreted method.
6104 * interpret.cc (compile): Use _Jv_AllocBytes.
6105
6106 2002-12-05 Andrew Haley <aph@redhat.com>
6107
6108 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6109 #ifdef (HAVE_BACKTRACE) around the whole function body.
6110
6111 2002-12-05 Tom Tromey <tromey@redhat.com>
6112
6113 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6114 * resolve.cc: Don't include AbstractMethodError.h.
6115 (_Jv_abstractMethodError): Removed.
6116 * defineclass.cc (handleMethodsBegin): Initialize method index to
6117 -1.
6118 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6119 method index for "new" final method.
6120 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6121 isVirtualMethod. Added `flags' argument.
6122 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6123 class.
6124
6125 2002-12-04 Tom Tromey <tromey@redhat.com>
6126
6127 * java/net/SocketPermission.java (hashCode): Rewrote.
6128
6129 2002-12-04 Tom Tromey <tromey@redhat.com>
6130
6131 * Makefile.in: Rebuilt.
6132 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6133 natResourceBundle.
6134 * java/util/ResourceBundle.java (Security): Removed.
6135 (getCallingClassLoader): Now native.
6136 * java/util/natResourceBundle.cc: New file.
6137 * java/lang/natVMSecurityManager.cc: New file.
6138 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6139
6140 2002-12-03 Mark Wielaard <mark@klomp.org>
6141
6142 * java/util/jar/JarFile.java (manifest): Not final.
6143 (manifestRead): New field.
6144 (JarFile): Don't read Manifest in constructor.
6145 (getManifest): New method.
6146 (JarEnumeration.nextElement): Use new method.
6147 (getEntry): Likewise.
6148 * java/util/zip/ZipFile.java (name): Final.
6149 (raf): Likewsie.
6150 (entries): Change type to Hashtable.
6151 (closed): New field.
6152 (ZipFile): Don't read enties in constructor.
6153 (readEntries): Use Hashtable.
6154 (close): Set new close flag and set entries to null inside
6155 synchronized block.
6156 (entries): Contruct enumeration using new getEntries() method and
6157 entries Hashtable.
6158 (getEntryIndex): Removed.
6159 (getEntries): New method.
6160 (getEntry): Use new getEntries() method and entries Hastable.
6161 (getInputStream): Likewise.
6162 (size): Return getEntries().size().
6163 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6164 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6165 (time): Removed
6166 (dostime): New field.
6167 (zipFileIndex): Removed.
6168 (ZipEntry(ZipEntry)): Copy dostime.
6169 (setDOSTime): Now final and doesn't convert dos time.
6170 (getDOSTime): Likewise.
6171 (setTime): Convert dos time.
6172 (getTime): Likewise.
6173 (getCalendar): New method.
6174 (setExtra): Use setTime().
6175 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6176
6177 2002-12-03 Tom Tromey <tromey@redhat.com>
6178
6179 * java/lang/Character.java (forDigit): Formatting fix.
6180
6181 2002-12-03 Raif Naffah <raif@fl.net.au>
6182
6183 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6184 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6185 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6186
6187 2002-12-03 Andrew Haley <aph@redhat.com>
6188
6189 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6190 _Jv_PushClass.
6191 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6192 (_Jv_PopClass): New.
6193 (_Jv_PushClass): New.
6194 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6195 discover the ClassLoader of our caller.
6196 (_Jv_CheckArrayStore): Don't check that a class is assignment
6197 compatible with Object.
6198 * java/lang/natVMTHrowable.cc: Delete.
6199 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6200 java.lang.VMThrowable.
6201 (StackTrace(), StackTrace(int)): New constructors.
6202 (classAt, methodAt, update, methodAtAddress): New methods.
6203 (map): New field.
6204 * java/lang/VMThrowable.java: Use StackTrace instead of
6205 natVMTHrowable.
6206 * java/lang/Class.h (getClassLoaderInternal): New.
6207 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6208 Be friendly with gnu::gcj::runtime::StackTrace.
6209 (Object.chain): New field.
6210 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6211 gnu::gcj::runtime::StackTrace.
6212 * gnu/gcj/runtime/natStackTrace.cc: New file.
6213 * gnu/gcj/runtime/MethodRef.java: New file.
6214 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6215 instead of getClassLoader().
6216 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6217 java::lang::VMThrowable.
6218 * Makefile.am (core_java_source_files): Add MethodRef.java,
6219 StackTrace.java.
6220 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6221 * Makefile.in: Rebuild.
6222
6223 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6224
6225 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6226 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6227 yes also for sh-linux* and sh[34]*-linux*.
6228 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6229 set SIGNAL_HANDLER to use DWARF2 exception for them.
6230 * configure: Regenerate.
6231
6232 2002-12-02 Tom Tromey <tromey@redhat.com>
6233
6234 * jni.cc: Added `name' argument.
6235 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6236 `const char *' argument.
6237 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6238
6239 2002-12-01 Tom Tromey <tromey@redhat.com>
6240
6241 Bug compatibility, for PR libgcj/8738:
6242 * java/io/CharArrayWriter.java (close): Do nothing.
6243 (flush): Likewise.
6244 (reset): Don't touch `closed'.
6245 (write(int)): Don't throw IOException.
6246 (write(char[],int,int)): Likewise.
6247 (write(String,int,int)): Likewise.
6248 (closed): Removed.
6249
6250 2002-12-01 Mark Wielaard <mark@klomp.org>
6251
6252 * java/lang/SecurityManager.java: Remerge comments, indenting and
6253 checkXXX methods with Classpath.
6254
6255 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6256
6257 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6258 getNormalizedComponents): Fix calculation which was using one too
6259 many bits in the unnormalized format.
6260
6261 2002-11-29 Gary Benson <gbenson@redhat.com>
6262
6263 For PR libgcj/8759:
6264 * java/beans/Introspector.java (flushCaches): New method.
6265 (flushFromCaches): Likewise.
6266
6267 2002-11-29 Michael Koch <konqueror@gmx.de>
6268
6269 * java/nio/channels/DatagramChannel.java
6270 (open): Added exception documentation.
6271 (write): Added exception documentation.
6272 (connect): Added exception documentation.
6273 (disconnect): Added exception documentation.
6274 (isConnected): Added exception documentation.
6275 (read): Added exception documentation.
6276 (receive): Added exception documentation.
6277 (send): Added exception documentation.
6278 (validOps): Added exception documentation.
6279 * java/nio/channels/SocketChannel.java
6280 (open): Added exception documentation.
6281 (read): Added exception documentation.
6282 (write): Added exception documentation.
6283 (connect): Added exception documentation.
6284 (finishConnect): Added exception documentation.
6285
6286 2002-11-29 Michael Koch <konqueror@gmx.de>
6287
6288 * gnu/java/nio/DatagramChannelImpl:
6289 (fd): New member variable to store file descriptor of socket.
6290 * gnu/java/nio/SelectionKeyImpl.java:
6291 (ops): Removed.
6292 (readyOps): New member variable.
6293 (interestOps): New member variable.
6294 (readyOps): Implemented.
6295 (readyOps): New method to set member variable readyOps.
6296 (interestOps): Replaced ops by interestOps.
6297 * gnu/java/nio/SelectorImpl.java:
6298 (SelectorImpl): Initialize key sets.
6299 (select): Call select with -1 instead of Long.MAX_VALUE).
6300 (java_do_select): Make it a native method.
6301 (getFDsAsArray): New helper method.
6302 (select): Remove canceled keys, give only interested file discriptors
6303 to java_do_select, set ready ops.
6304 (add): No need to initialize keys set here.
6305 (add_selected): No need to initialize selected set here.
6306 (deregisterCanceledKeys): New helper method.
6307 (register): Set interest ops, set attachments, added handling of datagram
6308 channels.
6309 * gnu/java/nio/ServerSocketChannelImpl:
6310 (SocketAccept): Renamed from NioSocketAccept.
6311 (implConfigureBlocking): Implemented.
6312 (accept): Use SocketAccept instead of NioSocketAccept.
6313 * gnu/java/nio/SocketChannelImpl:
6314 Reactivate native methods.
6315
6316 2002-11-29 Michael Koch <konqueror@gmx.de>
6317
6318 * gnu/java/nio/natByteBufferImpl.cc,
6319 gnu/java/nio/natCharBufferImpl.cc,
6320 gnu/java/nio/natDoubleBufferImpl.cc,
6321 gnu/java/nio/natFloatBufferImpl.cc,
6322 gnu/java/nio/natIntBufferImpl.cc,
6323 gnu/java/nio/natLongBufferImpl.cc,
6324 gnu/java/nio/natSelectorImpl.cc,
6325 gnu/java/nio/natServerSocketChannelImpl.cc,
6326 gnu/java/nio/natShortBufferImpl.cc,
6327 gnu/java/nio/natSocketChannelImpl.cc:
6328 New files that implement native functionalities.
6329
6330 2002-11-29 Michael Koch <konqueror@gmx.de>
6331
6332 * gnu/java/nio/ByteBufferImpl.java
6333 (ByteBufferImpl): Moved position() after limit.
6334 (nio_*): Use native implementation.
6335 * gnu/java/nio/CharBufferImpl.java:
6336 Reformated.
6337 (endian): New member variable string endianess of buffer.
6338 (CharBufferImpl): Moved position() after limit.
6339 (nio_*): Use native implementation.
6340 (subSequence): Implemented.
6341 * gnu/java/nio/DoubleBufferImpl.java
6342 (DoubleBufferImpl): Moved position() after limit.
6343 (nio_*): Use native implementation.
6344 * gnu/java/nio/FloatBufferImpl.java
6345 Reformated.
6346 (FloatBufferImpl): Moved position() after limit.
6347 (nio_*): Use native implementation.
6348 * gnu/java/nio/IntBufferImpl.java
6349 Added needed imports, Reformated.
6350 (IntBufferImpl): Moved position() after limit.
6351 (nio_*): Use native implementation.
6352 * gnu/java/nio/LongBufferImpl.java
6353 Reformated.
6354 (LongBufferImpl): Moved position() after limit.
6355 (nio_*): Use native implementation.
6356 * gnu/java/nio/ShortBufferImpl.java
6357 Reformated.
6358 (ShortBufferImpl): Moved position() after limit.
6359 (nio_*): Use native implementation.
6360
6361 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6362
6363 * java/util/Locale.java (toString): Improve efficiency if country
6364 and variant are both empty.
6365
6366 2002-11-26 Tom Tromey <tromey@redhat.com>
6367
6368 * verify.cc (pop_init_ref): New method.
6369 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6370 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6371 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6372 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6373 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6374 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6375 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6376 let `this' argument be uninitialized. Don't let `null' be passed
6377 as `this' to construtor.
6378
6379 2002-11-26 Mark Wielaard <mark@klomp.org>
6380
6381 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6382 * javax/transaction/HeuristicMixedException.java: Likewise.
6383 * javax/transaction/HeuristicRollbackException.java: Likewise.
6384 * javax/transaction/InvalidTransactionException.java: Likewise.
6385 * javax/transaction/NotSupportedException.java: Likewise.
6386 * javax/transaction/RollbackException.java: Likewise.
6387 * javax/transaction/Status.java: Likewise.
6388 * javax/transaction/Synchronization.java: Likewise.
6389 * javax/transaction/SystemException.java: Likewise.
6390 * javax/transaction/Transaction.java: Likewise.
6391 * javax/transaction/TransactionManager.java: Likewise.
6392 * javax/transaction/TransactionRequiredException.java: Likewise.
6393 * javax/transaction/TransactionRolledbackException.java: Likewise.
6394 * javax/transaction/UserTransaction.java: Likewise.
6395 * javax/transaction/xa/XAException.java: Likewise.
6396 * javax/transaction/xa/XAResource.java: Likewise.
6397 * javax/transaction/xa/Xid.java: Likewise.
6398
6399 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6400
6401 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6402 define.
6403 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6404 * include/posix.h (socklen_t): Define if not already defined.
6405
6406 2002-11-25 Tom Tromey <tromey@redhat.com>
6407
6408 * verify.cc (type::compatible): Backed out broken change.
6409
6410 * verify.cc (type::compatible): Check initialization status
6411 first.
6412 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6413 Don't use NULLCHECK.
6414
6415 2002-11-23 H.J. Lu <hjl@gnu.org>
6416
6417 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6418 Include ../config/accross.m4.
6419 * aclocal.m4; Rebuild.
6420 * configure: Likewise.
6421
6422 2002-11-23 Mark Wielaard <mark@klomp.org>
6423
6424 * javax/naming/AuthenticationException.java: Update copyright header.
6425 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6426 * javax/naming/Binding.java: Likewise.
6427 * javax/naming/CannotProceedException.java: Likewise.
6428 * javax/naming/CommunicationException.java: Likewise.
6429 * javax/naming/CompositeName.java: Likewise.
6430 * javax/naming/CompoundName.java: Likewise.
6431 * javax/naming/ConfigurationException.java: Likewise.
6432 * javax/naming/Context.java: Likewise.
6433 * javax/naming/ContextNotEmptyException.java: Likewise.
6434 * javax/naming/InitialContext.java: Likewise.
6435 * javax/naming/InsufficientResourcesException.java: Likewise.
6436 * javax/naming/InterruptedNamingException.java: Likewise.
6437 * javax/naming/LimitExceededException.java: Likewise.
6438 * javax/naming/LinkException.java: Likewise.
6439 * javax/naming/LinkLoopException.java: Likewise.
6440 * javax/naming/LinkRef.java: Likewise.
6441 * javax/naming/MalformedLinkException.java: Likewise.
6442 * javax/naming/NameAlreadyBoundException.java: Likewise.
6443 * javax/naming/NameClassPair.java: Likewise.
6444 * javax/naming/NameNotFoundException.java: Likewise.
6445 * javax/naming/NameParser.java: Likewise.
6446 * javax/naming/NamingEnumeration.java: Likewise.
6447 * javax/naming/NamingSecurityException.java: Likewise.
6448 * javax/naming/NoInitialContextException.java: Likewise.
6449 * javax/naming/NoPermissionException.java: Likewise.
6450 * javax/naming/NotContextException.java: Likewise.
6451 * javax/naming/OperationNotSupportedException.java: Likewise.
6452 * javax/naming/PartialResultException.java: Likewise.
6453 * javax/naming/Reference.java: Likewise.
6454 * javax/naming/Referenceable.java: Likewise.
6455 * javax/naming/ReferralException.java: Likewise.
6456 * javax/naming/ServiceUnavailableException.java: Likewise.
6457 * javax/naming/SizeLimitExceededException.java: Likewise.
6458 * javax/naming/TimeLimitExceededException.java: Likewise.
6459 * javax/naming/directory/Attribute.java: Likewise.
6460 * javax/naming/directory/AttributeInUseException.java: Likewise.
6461 * javax/naming/directory/AttributeModificationException.java: Likewise.
6462 * javax/naming/directory/Attributes.java: Likewise.
6463 * javax/naming/directory/BasicAttribute.java: Likewise.
6464 * javax/naming/directory/BasicAttributes.java: Likewise.
6465 * javax/naming/directory/DirContext.java: Likewise.
6466 * javax/naming/directory/InitialDirContext.java: Likewise.
6467 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6468 Likewise.
6469 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6470 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6471 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6472 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6473 * javax/naming/directory/ModificationItem.java: Likewise.
6474 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6475 * javax/naming/directory/SchemaViolationException.java: Likewise.
6476 * javax/naming/directory/SearchControls.java: Likewise.
6477 * javax/naming/directory/SearchResult.java: Likewise.
6478 * javax/naming/event/EventContext.java: Likewise.
6479 * javax/naming/event/EventDirContext.java: Likewise.
6480 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6481 * javax/naming/event/NamingEvent.java: Likewise.
6482 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6483 * javax/naming/event/NamingListener.java: Likewise.
6484 * javax/naming/event/ObjectChangeListener.java: Likewise.
6485 * javax/naming/ldap/Control.java: Likewise.
6486 * javax/naming/ldap/ControlFactory.java: Likewise.
6487 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6488 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6489 * javax/naming/ldap/HasControls.java: Likewise.
6490 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6491 * javax/naming/ldap/LdapContext.java: Likewise.
6492 * javax/naming/ldap/LdapReferralException.java: Likewise.
6493 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6494 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6495 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6496 * javax/naming/spi/DirObjectFactory.java: Likewise.
6497 * javax/naming/spi/DirStateFactory.java: Likewise.
6498 * javax/naming/spi/DirectoryManager.java: Likewise.
6499 * javax/naming/spi/InitialContextFactory.java: Likewise.
6500 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6501 * javax/naming/spi/NamingManager.java: Likewise.
6502 * javax/naming/spi/ObjectFactory.java: Likewise.
6503 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6504 * javax/naming/spi/ResolveResult.java: Likewise.
6505 * javax/naming/spi/Resolver.java: Likewise.
6506 * javax/naming/spi/StateFactory.java: Likewise.
6507
6508 * javax/naming/spi/NamingManager.java (ofb): Package private.
6509
6510 2002-11-21 Mark Wielaard <mark@klomp.org>
6511
6512 * java/net/URL.java: Merge with Classpath (partly).
6513 * java/net/URLStreamHandler: Merge with Classpath.
6514
6515 2002-11-22 Michael Koch <konqueror@gmx.de>
6516
6517 * include/posix.h:
6518 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6519 * include/win32.h:
6520 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6521 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6522
6523 2002-11-21 Michael Koch <konqueror@gmx.de>
6524
6525 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6526 Only the new network functions should be in it.
6527
6528 2002-11-21 Michael Koch <konqueror@gmx.de>
6529
6530 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6531 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6532
6533 2002-11-21 Michael Koch <konqueror@gmx.de>
6534
6535 * java/nio/channels/AsynchronousCloseException.java,
6536 java/nio/channels/CancelledKeyException.java,
6537 java/nio/channels/ClosedByInterruptException.java,
6538 java/nio/channels/ConnectionPendingException.java,
6539 java/nio/channels/FileLockInterruptionException.java,
6540 java/nio/channels/IllegalSelectorException.java,
6541 java/nio/channels/NoConnectionPendingException.java,
6542 java/nio/channels/NonReadableChannelException.java,
6543 java/nio/channels/NonWritableChannelException.java,
6544 java/nio/channels/NotYetBoundException.java,
6545 java/nio/channels/NotYetConnectedException.java,
6546 java/nio/channels/OverlappingFileLockException.java,
6547 java/nio/channels/UnresolvedAddressException.java,
6548 java/nio/channels/UnsupportedAddressTypeException.java:
6549 New files.
6550 * Makefile.am (ordinary_java_source_files): Added new files.
6551 * Makefile.in: Regenerated.
6552
6553 2002-11-21 Michael Koch <konqueror@gmx.de>
6554
6555 * include/posix.h
6556 (_Jv_socket): New method.
6557 (_Jv_connect): New method.
6558 (_Jv_close): New method.
6559 (_Jv_platform_close_on_exec): Prefixed system function with "::".
6560 (_Jv_bind): New method.
6561 (_Jv_listen): New method.
6562 (_Jv_write): New method.
6563 (_Jv_read): New method.
6564 * include/win32.h
6565 (_Jv_socket): New method.
6566 (_Jv_connect): New method.
6567 (_Jv_close): New method.
6568 (_Jv_bind): New method.
6569 (_Jv_listen): New method.
6570 (_Jv_write): New method.
6571 (_Jv_read): New method.
6572 * java/net/natNetworkInterface.cc:
6573 Include platform.h, removed inclusion of socket.h
6574 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6575 ::close() by _Jv_close().
6576 * java/net/natPlainDatagramSocketImpl.cc:
6577 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6578 added some new lines to make code more readable.
6579 (create): Replaced ::socket() by _Jv_socket().
6580 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6581 * java/net/natPlainSocketImpl.cc:
6582 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6583 removed include of socket.h, removed some windows defines
6584 (now in include/win32.h).
6585 (create): Replaced ::socket() by _Jv_socket().
6586 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6587 (write): Replaced ::read by _Jv_write().
6588 (read): Replaced ::read by _Jv_read().
6589
6590 2002-11-20 Michael Koch <konqueror@gmx.de>
6591
6592 * Makefile.am (ordinary_java_source_files):
6593 Added java/nio/channels/FileChannel.java.
6594 * Makefile.in: Regenerated.
6595
6596 2002-11-20 Michael Koch <konqueror@gmx.de>
6597
6598 * java/io/FileInputStream.java
6599 (getChannel): New method.
6600 * java/io/FileOutputStream.java
6601 (getChannel): New method.
6602 * java/net/ServerSocket.java
6603 (bind): Removed duplicate code and called another bind method instead.
6604 * java/nio/channels/SelectionKey.java
6605 (isValid): Removed wrong exception documentation.
6606 * java/nio/channels/ServerSocketChannel.java
6607 (accept): Added exception documentation.
6608 (open): Fixed typo, added exception documentation.
6609 * java/nio/channels/spi/AbstractSelectableChannel.java
6610 (implCloseChannel): Added exception documentation.
6611 (add): Reformated.
6612 (register): Added exception documentation.
6613
6614 2002-11-20 Andreas Jaeger <aj@suse.de>
6615
6616 * configure: Regenerated with new libtool.m4.
6617
6618 2002-11-19 Tom Tromey <tromey@redhat.com>
6619
6620 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6621 `referent'.
6622 (finalize_referred_to_object): Don't modify `referent' or `copy'
6623 fields.
6624 (add_to_hash): Correctly set `n->next' when updating list.
6625 * java/lang/ref/Reference.java (enqueue): Return false if already
6626 enqueued.
6627
6628 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
6629
6630 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6631 to function and function pointer declarations in accordance with
6632 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6633 based on whether __GCJ_JNI_IMPL__ has been defined or not.
6634 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6635 JNI function definitions.
6636
6637 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6638
6639 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6640 that was causing CoderResults to be cached, not WeakReferences
6641 to CoderResults.
6642
6643 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6644
6645 * java/security/KeyStore.java (getInstance): Fix
6646 comment and throw IllegalArgumentException if
6647 given provider is null.
6648 (getInstance): New method for jdk1.4 compatibility.
6649
6650 2002-11-18 Michael Koch <konqueror@gmx.de>
6651
6652 * java/net/PlainSocketImpl.java: Fix imports.
6653
6654 2002-11-18 Michael Koch <konqueror@gmx.de>
6655
6656 * java/nio/channels/SelectionKey.java
6657 (isValid): Added exception documentation.
6658 * java/nio/channels/Selector.java
6659 (open): Declare "throws IOException".
6660
6661 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6662
6663 * java/nio/charset/Charset.java
6664 (<clinit>): New method.
6665 (encode): Synchronize use of cached encoder object.
6666 (decode): Synchronize use of cached encoder object.
6667
6668 2002-11-18 Michael Koch <konqueror@gmx.de>
6669
6670 * gnu/java/nio/ByteBufferImpl.java,
6671 gnu/java/nio/CharBufferImpl.java,
6672 gnu/java/nio/DatagramChannelImpl.java,
6673 gnu/java/nio/DoubleBufferImpl.java,
6674 gnu/java/nio/FileChannelImpl.java,
6675 gnu/java/nio/FloatBufferImpl.java,
6676 gnu/java/nio/IntBufferImpl.java,
6677 gnu/java/nio/LongBufferImpl.java,
6678 gnu/java/nio/PipeImpl.java,
6679 gnu/java/nio/SelectionKeyImpl.java,
6680 gnu/java/nio/SelectorImpl.java,
6681 gnu/java/nio/SelectorProviderImpl.java,
6682 gnu/java/nio/ServerSocketChannelImpl.java,
6683 gnu/java/nio/ShortBufferImpl.java,
6684 gnu/java/nio/SocketChannelImpl.java,
6685 java/nio/DoubleBuffer.java,
6686 java/nio/FloatBuffer.java,
6687 java/nio/IntBuffer.java,
6688 java/nio/LongBuffer.java,
6689 java/nio/ShortBuffer.java,
6690 java/nio/channels/FileChannel.java: New files.
6691
6692 2002-11-18 Michael Koch <konqueror@gmx.de>
6693
6694 * Makefile.am (ordinary_java_source_files):
6695 Added java/nio/ReadOnlyBufferException.java and
6696 java/nio/channels/ClosedSelectorException.java.
6697 * Makefile.in: Regenerated.
6698
6699 2002-11-18 Michael Koch <konqueror@gmx.de>
6700
6701 * java/net/PlainSocketImpl.java: Reworked imports.
6702 * java/net/ServerSocket.java
6703 (ServerSocket): Create socket.
6704 * java/net/SocketAddress.java: Documentation added.
6705 * java/net/natPlainSocketImpl.cc: Reindented.
6706 * java/nio/ReadOnlyBufferException.java: New file
6707 * java/nio/channels/ClosedChannelException.java: Documentation added.
6708 * java/nio/channels/ClosedSelectorException.java: New file.
6709
6710 2002-11-17 Mark Wielaard <mark@klomp.org>
6711
6712 * java/net/HttpURLConnection.java ((getPermission): Take port
6713 into consideration.
6714 (getErrorStream): Implement.
6715
6716 2002-11-17 Mark Wielaard <mark@klomp.org>
6717
6718 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6719
6720 2002-11-16 Mark Wielaard <mark@klomp.org>
6721
6722 Integrate work by Raif S. Naffah (raif@fl.net.au)
6723 * java/security/DummyKeyPairGenerator.java (clone): New method.
6724 * java/security/DummyMessageDigest.java (clone): New method.
6725 (engineUpdate): Now public.
6726 (engineReset): Likewise.
6727 (engineDigest): Likewise.
6728 (engineGetDigestLength): New method.
6729 * java/security/DummySignature.java (clone): New method.
6730 * java/security/KeyPairGenerator.java (provider): Now package private.
6731 (getInstance(String)): Use getInstance(String,Provider).
6732 (getInstance(String,String): Use getInstance(String,Provider)
6733 (getInstance(String,Provider): New method.
6734 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6735 * java/security/KeyPairGeneratorSpi.java (clone): New method.
6736 * java/security/MessageDigest.java (provider): Now package private.
6737 (getInstance(String): Use getInstance(String,Provider).
6738 (getInstance(String,String): Use getInstance(String,Provider)
6739 (getInstance(String,Provider): New method.
6740 * java/security/Provider.java (toCanonicalKey): New method.
6741 (get): New method that uses toCanonicalKey().
6742 (put): Use toCanonicalKey().
6743 (remove): Likewise.
6744 * java/security/Security.java (insertProviderAt): Provider index is one
6745 based, not zero based.
6746 (addProvider): Likewise.
6747 (removeProvider): Likewise.
6748 * java/security/Signature.java (provider): Now package private.
6749 (getInstance(String)): Use getInstance(String,Provider).
6750 (getInstance(String,String): Use getInstance(String,Provider)
6751 (getInstance(String,Provider): New method.
6752 (getInstance(String,String,Provider): Don't cast DummySignature.
6753
6754 2002-11-15 Tom Tromey <tromey@redhat.com>
6755
6756 For PR libgcj/8593:
6757 * java/util/zip/GZIPInputStream.java (read): Check file size.
6758 Look in inflater for remaining input bytes.
6759 (read4): Added buf and offset arguments.
6760
6761 2002-11-12 Eric Blake <ebb9@email.byu.edu>
6762
6763 * java/applet/AppletContext.java: Fix typo and remove redundant
6764 modifiers.
6765
6766 2002-11-14 Tom Tromey <tromey@redhat.com>
6767
6768 * java/lang/natRuntime.cc (insertSystemProperties): Set
6769 gnu.classpath.home.
6770
6771 2002-11-13 Michael Koch <konqueror@gmx.de>
6772
6773 * java/nio/ByteBuffer.java
6774 (allocate): New method.
6775 (wrap): New method.
6776 (put): New method.
6777 (get): New method.
6778
6779 2002-11-13 Michael Koch <konqueror@gmx.de>
6780
6781 * java/nio/channels/AlreadyConnectedException.java:
6782 Removed unneeded import.
6783 (AlreadyConnectedException): Documentation added.
6784 * java/nio/channels/Pipe.java
6785 (SinkChannel.SinkChannel): Documentation added.
6786 (SinkChannel.validOps): New method.
6787 (SourceChannel.SourceChannel): Documentation added.
6788 (SourceChannel.validOps): New method.
6789 (Pipe): Documentation added.
6790 (open): Documentation added.
6791 (SinkChannel.channel): Documentation added.
6792 (SourceChannel.channel): Documentation added.
6793 * java/nio/channel/SelectableChannel.java
6794 (SelectableChannel): Documentation added.
6795 (blockingLock): Documentation added.
6796 (configureBlocking):Documentation added.
6797 (isBlocking):Documentation added.
6798 (isRegistered):Documentation added.
6799 (keyFor):Documentation added.
6800 (provider):Documentation added.
6801 (register): Documentation added.
6802 (validOps): Documentation added.
6803 * jaba/nio/channels/SelectionKey.java
6804 (SelectionKey): Documentation added.
6805 (attach): Documentation added.
6806 (attachment): Documentation added.
6807 (isAcceptable): Documentation added.
6808 (isConnetable): Documentation added.
6809 (isReadable): Documentation added.
6810 (isWritable): Documentation added.
6811 (cancel): Documentation added.
6812 (channel): Documentation added.
6813 (interestOps): Documentation added.
6814 (isValid): Documentation added.
6815 (readyOps): Documentation added.
6816 (selector): Documentation added.
6817 * jaba/nio/channels/Selector.java
6818 (Selector): Documentation added.
6819 (open): Documentation added.
6820 (close): Documentation added.
6821 (isOpen): Documentation added.
6822 (keys): Documentation added.
6823 (provider): Documentation added.
6824 (select): Documentation added.
6825 (selectedKeys): Documentation added.
6826 (selectNow): Documentation added.
6827 (wakeup): Documentation added.
6828 * java/nio/channels/spi/AbstractInterruptibleChannel.java
6829 (AbstractInterruptibleChannel): Documentation added.
6830 (opened): Default to true;
6831 (begin): Documentation added.
6832 (close): Set opened to false, documentation added.
6833 (isOpen): Documentation added.
6834 * java/nio/channels/spi/AbstractSelectionKey.java
6835 (AbstractSelectionKey): Documentation added.
6836 (cancel): Documentation added.
6837 (isValid): Documentation added.
6838 * java/nio/channels/spi/AbstractSelector.java
6839 (AbstractSelector): Documentation added.
6840 (begin): Documentation added.
6841 (close): Documentation added.
6842 (isOpen): Documentation added.
6843 (deregister): Documentation added.
6844 (end): Documentation added.
6845 (provider): Documentation added.
6846 (implCloseSelector): Documentation added.
6847 (register): Documentation added.
6848 * java/nio/channels/spi/SelectorProvider.java
6849 (SelectorProvider): Documentation added.
6850 (openDatagramChannel): Documentation added.
6851 (openPipe): Documentation added.
6852 (openSelector): Documentation added.
6853 (openServerSocketChannel): Documentation added.
6854 (openSocketChannel): Documentation added.
6855 (provider): Documentation added.
6856
6857 2002-11-12 Michael Koch <konqueror@gmx.de>
6858
6859 * java/nio/Buffer.java: Implemented.
6860 * java/nio/CharBuffer.java: New file.
6861 * java/nio/InvalidMarkException.java: New file.
6862 * java/nio/channels/DatagramChannel.java: Implemented.
6863 * java/nio/channels/ServerSocketChannel.java: Implemented.
6864 * java/nio/channels/SocketChannel.java: Implemented.
6865 * java/nio/channels/spi/AbstractChannel.java: Removed.
6866 * java/nio/channels/spi/AbstractSelectableChannel.java:
6867 Implemented.
6868 * java/nio/charset/Charset.java:
6869 Merge from Classpath.
6870 * java/nio/charset/CharsetDecoder.java: New file.
6871 * java/nio/charset/CharsetEncoder.java: New file.
6872 * java/nio/charset/CoderResult.java: New file.
6873 * Makefile.am (ordinary_java_source_files): Added new files.
6874 * Makefile.in: Regenerated.
6875
6876 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6877
6878 * gnu/java/nio/charset/ISO_8859_1.java,
6879 gnu/java/nio/charset/Provider.java,
6880 gnu/java/nio/charset/US_ASCII.java,
6881 gnu/java/nio/charset/UTF_16.java,
6882 gnu/java/nio/charset/UTF_16BE.java,
6883 gnu/java/nio/charset/UTF_16Decoder.java,
6884 gnu/java/nio/charset/UTF_16Encoder.java,
6885 gnu/java/nio/charset/UTF_16LE.java,
6886 gnu/java/nio/charset/UTF_8.java: New files.
6887
6888 2002-11-11 Michael Koch <konqueror@gmx.de>
6889
6890 * java/nio/charset/CharacterCodingException.java:
6891 This class must be public.
6892 * java/nio/charset/CoderMalfunctionError.java:
6893 This class must be public.
6894 * java/nio/charset/CodingErrorAction.java:
6895 This class must be public.
6896 * java/nio/charset/IllegalCharsetNameException.java:
6897 This class must be public, better implementation.
6898 * java/nio/charset/MalformedInputException.java:
6899 This class must be public, better implementation.
6900 * java/nio/charset/UnmappableCharacterException.java:
6901 This class must be public, better implementation.
6902 * java/nio/charset/UnsupportedCharsetException.java:
6903 This class must be public, better implementation.
6904
6905 2002-11-11 Michael Koch <konqueror@gmx.de>
6906
6907 * java/nio/BufferOverflowException.java,
6908 java/nio/BufferUnderflowException.java: New file.
6909 * Makefile.am (ordinary_java_source_files):
6910 Added new files.
6911 * Makefile.in: Regenerated.
6912
6913 2002-11-10 Tom Tromey <tromey@redhat.com>
6914
6915 * java/awt/Container.java (validate): Use tree lock.
6916 (getComponent): Likewise.
6917 (getComponents): Likewise.
6918 (addImpl): Likewise.
6919 (remove): Likewise.
6920 (removeAll): Likewise.
6921 (processEvent): Fixed indentation.
6922 (getComponentAt): Use tree lock.
6923 (findComponentAt): Likewise.
6924 (removeNotify): Likewise.
6925 (isAncestorOf): Likewise.
6926 (list): Likewise.
6927 (visitChildren): Likewise.
6928 (findNextFocusComponent): Likewise.
6929 (addNotifyContainerChildren): Likewise.
6930 (getAccessibleChildrenCount): Likewise.
6931 (getAccessibleChild): Likewise.
6932
6933 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6934 (getSize): Likewise.
6935 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6936 (getSize): Likewise.
6937 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6938 (calcSize): Likewise.
6939 * java/awt/CardLayout.java (getSize): Use tree lock.
6940 (gotoComponent): Likewise.
6941 (layoutContainer): Likewise.
6942
6943 * java/io/natFileDescriptorWin32.cc (read): Handle case where
6944 count is 0.
6945 * java/io/natFileDescriptorPosix.cc (read): Handle case where
6946 count is 0.
6947
6948 * java/io/Externalizable.java, java/io/FilePermission.java,
6949 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6950 java/io/SerializablePermission.java, java/text/Format.java,
6951 java/util/AbstractMap.java, java/util/HashMap.java,
6952 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6953 versions from Classpath.
6954
6955 2002-11-10 Anthony Green <green@redhat.com>
6956
6957 * java/util/jar/Attributes.java (Name): Fix name check.
6958
6959 2002-11-10 Mark Wielaard <mark@klomp.org>
6960
6961 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6962 with getName() as message.
6963 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6964 type as message.
6965
6966 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6967 unused.
6968
6969 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
6970
6971 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6972 for Win32. JNICALL has been defined to __stdcall to be compatible
6973 with Sun's JDKs.
6974
6975 2002-11-10 Tom Tromey <tromey@redhat.com>
6976
6977 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6978 (setRows): Check newRows, not rows.
6979
6980 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6981
6982 2002-11-09 Tom Tromey <tromey@redhat.com>
6983
6984 * java/applet/Applet.java, java/applet/AppletContext.java,
6985 java/applet/AppletStub.java, java/applet/AudioClip.java,
6986 java/awt/CardLayout.java,
6987 java/awt/ContainerOrderFocusTraversalPolicy.java,
6988 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6989 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6990 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6991 java/awt/color/ICC_ColorSpace.java,
6992 java/awt/color/ICC_Profile.java,
6993 java/awt/color/ICC_ProfileGray.java,
6994 java/awt/color/ICC_ProfileRGB.java,
6995 java/awt/datatransfer/DataFlavor.java,
6996 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6997 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6998 New versions from Classpath.
6999 * Makefile.in: Rebuilt.
7000 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
7001 ICC_ProfileRGB.
7002
7003 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
7004 display policy.
7005
7006 * java/awt/List.java (processEvent): Added missing `else's.
7007
7008 * java/awt/Window.java (show): validate() before showing. Make
7009 parent displayable.
7010 (isDisplayable): New method.
7011
7012 2002-11-07 Mark Wielaard <mark@klomp.org>
7013
7014 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
7015 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
7016
7017 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
7018 annotation.
7019 (loadClass): Take String as codebases.
7020 (getClassAnnotation): Use MyClassLoader annotations.
7021 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
7022 call exportObject(this).
7023
7024 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
7025 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7026 (setAnnotation): Don't set locBytesStream and locStream.
7027 (replaceObject): Removed.
7028 (flush): Don't test locStream.
7029 (getLocBytes): LikeWise.
7030 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7031 (leaseCache): New field.
7032 (dirty): Use leaseCache.
7033 (LeaseRecord): New inner class.
7034 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7035 explicitly call exportObject().
7036 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7037 false to communicate with Sun JDK130.
7038 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7039 * gnu/java/rmi/server/RMIObjectInputStream.java
7040 (UnicastConnectionManager): Removed field.
7041 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7042 Use UnicastServer.getExportedRef().
7043 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7044 (expireTime): Likewise.
7045 (CONNECTION_TIMEOUT): Likewise.
7046 (disconnect): Call sock.close().
7047 (isExpired): New method.
7048 (resetTime): Likewise.
7049 (run): Use do while loop and catch Exception for discardConnection().
7050 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7051 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7052 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7053 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7054 (exportObject): Use refcache.
7055 (unexportObject): Likewise.
7056 (getExportedRef): New method.
7057 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7058 constructor.
7059 (exportObject): Save manager.serverobj.
7060 (getStub): New method.
7061
7062 2002-11-07 Mark Wielaard <mark@klomp.org>
7063
7064 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7065 (getByte): Likewise.
7066 (getShort): Likewise.
7067 (getInt): Likewise.
7068 (getLong): Likewise.
7069 (getFloat): Likewise.
7070 (getDouble): Likewise.
7071 (get): Likewise.
7072 (setChar): Likewise.
7073 (setByte): Likewise.
7074 (setShort): Likewise.
7075 (setInt): Likewise.
7076 (setLong): Likewise.
7077 (setFloat): Likewise.
7078 (setDouble): Likewise.
7079
7080 2002-11-07 Michael Koch <konqueror@gmx.de>
7081
7082 * java/awt/Choice.java,
7083 java/awt/Container.java,
7084 java/awt/GridBagLayout.java:
7085 Fixed documentation.
7086 * java/awt/peer/ContainerPeer.java:
7087 Reindented.
7088
7089 2002-11-07 Michael Koch <konqueror@gmx.de>
7090
7091 * java/awt/color/ICC_Profile.java:
7092 Added missing constants.
7093 * java/awt/color/ICC_ColorSpace.java
7094 (getMinValue): Added dummy implementation.
7095 (getMaxValue): Added dummy implementation.
7096 * java/awt/datatransfer/DataFlavor.java
7097 (imageFlavor): Added.
7098 (isMimeTypeEqual): Must be final.
7099 (getDefaultRepresentationClass): Must be non-static.
7100 (getDefaultRepresentationClassAsString): Must be non-static.
7101 * java/awt/dnd/DragSourceContext.java
7102 (dragExit): Corrected argument.
7103 (dragDropEnd): Corrected argument.
7104 * java/awt/dnd/DragSourceListener.java.java
7105 (dragExit): Corrected argument.
7106 (dragDropEnd): Corrected argument.
7107 * java/awt/font/TextHitInfo.java
7108 (toString): Added stubbed implementation.
7109 * java/awt/geom/PathIterator.java:
7110 The constants must be static.
7111 * java/awt/image/VolatileImage.java
7112 (IMAGE_INCOMPATIBLE): Fixed typo.
7113 * java/awt/image/renderable/RenderableImage.java
7114 (HINTS_OBSERVED): Must be static.
7115 * java/beans/BeanInfo.java:
7116 Constants must be final.
7117
7118 2002-11-06 Tom Tromey <tromey@redhat.com>
7119
7120 From svens@it.uu.se. For PR libgcj/8481.
7121 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7122
7123 2002-11-06 Tom Tromey <tromey@redhat.com>
7124
7125 * jni.cc (array_from_valist): Assume that jlong won't be
7126 promoted.
7127
7128 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7129
7130 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7131 Return 20.
7132 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7133 Return 16.
7134
7135 2002-11-03 Tom Tromey <tromey@redhat.com>
7136
7137 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7138 VMClassLoader, not findClass.
7139
7140 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7141
7142 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7143 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7144 _Jv_DetermineVTableIndex, to determine vtable offset.
7145 (_Jv_DetermineVTableIndex): Remove.
7146 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7147
7148 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7149
7150 2002-11-03 Tom Tromey <tromey@redhat.com>
7151
7152 * java/nio/channels/AlreadyConnectedException.java: Extend
7153 IllegalStateException, per spec.
7154
7155 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7156
7157 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7158
7159 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7160
7161 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7162 size items.
7163
7164 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7165
7166 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7167 initial estimated size to avoid enlarge buffer frequently.
7168
7169 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7170
7171 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7172 ClassLoader when null.
7173 (ProxyType.hashCode): Loader null check no longer needed.
7174 (ProxyType.sameTypes): New method.
7175 (ProxyType.equals): Use new method.
7176
7177 2002-10-31 Mark Wielaard <mark@klomp.org>
7178
7179 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7180 length of String.
7181 * java/net/URLEncoder.java (encode): Likewise.
7182
7183 2002-10-31 Mark Wielaard <mark@klomp.org>
7184
7185 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7186 when stream is closed.
7187 (closeEntry): Likewise.
7188 (read): Likewise.
7189 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7190 ZipException when no entry active.
7191 (closeEntry): Likewise.
7192 (write): Likewise.
7193
7194 2002-11-02 Tom Tromey <tromey@redhat.com>
7195
7196 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7197 * java/lang/natClass.cc (initializeClass): Don't return just
7198 because self==thread.
7199
7200 For PR java/8415:
7201 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7202 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7203
7204 2002-11-02 Andreas Schwab <schwab@suse.de>
7205
7206 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7207 pass GCJFLAGS.
7208 (FLAGS_TO_PASS): Define.
7209 * Makefile.in: Regenerated.
7210
7211 2002-11-01 Michael Koch <konqueror@gmx.de>
7212
7213 * java/nio/ByteOrder.java: New file.
7214 * java/nio/channels/DatagramChannel.java:
7215 (DatagramChannel): New constructor.
7216 * java/nio/channels/Pipe.java: New file.
7217 * java/nio/channels/SelectableChannel.java: New file.
7218 * java/nio/channels/SelectionKey.java: New file.
7219 * java/nio/channels/Selector.java: New file.
7220 * java/nio/channels/ServerSocketChannel.java
7221 (ServerSocketChannel): New constructor.
7222 * java/nio/channels/SocketChannel.java
7223 (SocketChannel): New constructor.
7224 * java/nio/channels/Pipe.java: New file.
7225 * java/nio/channels/spi/AbstractChannel.java: New file.
7226 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7227 * java/nio/channels/spi/AbstractSelectableChannel.java:
7228 License added
7229 (AbstractSelectableChannel): New stubbed method.
7230 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7231 * java/nio/channels/spi/AbstractSelector.java: New file.
7232 * java/nio/channels/spi/SelectorProvider.java: New file.
7233 * java/nio/charset/Charset.java: New file.
7234 * java/nio/charset/CoderMalfunctionError.java: New file.
7235 * java/nio/charset/CodingErrorAction.java: New file.
7236 * java/nio/charset/spi/CharsetProvider.java
7237 (charsetForName): Uncommented.
7238 * Makefile.am (java_native_source_files): Added new files.
7239 * Makefile.in: Regenerated.
7240
7241 2002-11-01 Michael Koch <konqueror@gmx.de>
7242
7243 * java/net/InetAddress.java:
7244 (isAnyLocalAddress): Implemented.
7245 (isLoopbackAddress): Implemented, comment added.
7246 (isLinkLocalAddress): Implemented, documentation added.
7247 (isSiteLocalAddress): Implemented, documentation added.
7248 (isMCGlobal): Implemented, documentation added.
7249 (isMCNodeLocal): Implemented, documentation added.
7250 (isMCLinkLocal): Implemented, documentation added.
7251 (isMCSiteLocal): Implemented, documentation added.
7252 (isMCOrgLocal): Implemented, documentation added.
7253 (getHostName): Documentation added.
7254 (getCanonicalHostName): Implemented, documentation added.
7255 (getAddress): Documentation added.
7256 (hashCode): Documentation added.
7257 (equals): Documentation added.
7258 (toString): Fixed implementation.
7259 (getByAddress): Use Inet4Address and Inet6Address.
7260 (lookup): New linewrap.
7261 (getByName): SecurityManager check added, support Inet4Address and
7262 Inet6address, comments added.
7263 (getAllByName): SecurityManager check added, comments added.
7264 * java/net/Inet6Address.java:
7265 (Inet6Address): Initialize parent class with addr instead of null.
7266 * java/net/URL.java
7267 (equals): Documentation added.
7268 (getFile): Documentation added.
7269 (hashCode): Documentation added.
7270 * java/net/natInetAddress.cc:
7271 (aton): Fix IPv6 support.
7272 * java/net/natPlainDatagramSocketImpl.cc:
7273 (peek): Throw PortUnreachableException when suitable.
7274 (peekData): Throw PortUnreachableException when suitable.
7275 (send): Throw PortUnreachableException when suitable.
7276 (receive): Throw PortUnreachableException when suitable.
7277
7278 2002-10-27 Mark Wielaard <mark@klomp.org>
7279
7280 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7281 argument.
7282 (readLeShort): Likewise and use byte[].
7283 (readLeInt): Likewise.
7284 (readEntries): Use new versions of methods and use byte[] for reading
7285 a complete zip entry. Add ZipFile name to exceptions.
7286 (entries): Add ZipFile name to exceptions.
7287 (getEntry): Likewise.
7288 (checkLocalHeader): Use new versions of methods and add ZipFile name
7289 to exceptions.
7290
7291 2002-10-31 Mark Anderson <mark@panonet.net>
7292
7293 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7294 added
7295
7296 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7297
7298 * configure.in: Disable hash sync when not using threads.
7299 * configure: Regenerated.
7300
7301 2002-10-24 Tom Tromey <tromey@redhat.com>
7302
7303 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7304 (_Jv_FindSymbolInExecutable): Removed argument name.
7305 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7306 java.library.path is set.
7307
7308 * gij.cc (help): Document --showversion.
7309 (version): Don't exit.
7310 (main): Handle --showversion. Exit if --version given.
7311
7312 2002-10-23 Tom Tromey <tromey@redhat.com>
7313
7314 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7315 (array_from_valist): Correctly handle promotion for jint, jlong,
7316 jfloat, and jdouble.
7317
7318 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7319
7320 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7321 GetFileAttributesEx( ) to find file length and modification times,
7322 as the latter is not present on Windows 95.
7323
7324 2002-10-21 Michael Koch <konqueror@gmx.de>
7325
7326 * java/net/URL.java
7327 (URL): Activate SecurityManager checks.
7328 (equals): Use URLStreamHandler implementation instead of doing it
7329 alone. This allows special protocol stream handlers to change default
7330 behaviour.
7331 (hashCode): Use URLStreamHandler implementation instead of doing it
7332 alone. This allows special protocol stream handlers to change default
7333 behaviour.
7334 * java/net/URLStreamHandler.java
7335 (equals): Implemented default URL equality check.
7336 (hostsEqual): Implemented default URL equality check.
7337 (hashCode): Implemented default URL hashCode algorithm.
7338 * java/net/natPlainDatagramSocketImpl.cc:
7339 No lines longer then 80 characters.
7340
7341 2002-10-20 Adam Megacz <adam@xwt.org>
7342
7343 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7344 * configure.in: enabled hash sync on Win32
7345 * include/win32-threads.h (_Jv_ThreadId_t): added.
7346 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7347 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7348 removed some posix-isms, use Thread::sleep() instead of usleep,
7349 added code to clear bottom three bits if platform has a broken
7350 linker.
7351 * include/win32-threads.h (_Jv_ThreadId_t): added.
7352
7353 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7354
7355 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7356 runtime property "gnu.gcj.progname" containing the name used to
7357 invoke the current Java program (similar to argv[0] for C
7358 programs).
7359
7360 2002-10-15 Tom Tromey <tromey@redhat.com>
7361
7362 Fix for PR libgcj/8234:
7363 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7364 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7365
7366 2002-10-13 Mark Wielaard <mark@klomp.org>
7367
7368 * mauve-libgcj: Enable Mauve tests that compile now.
7369
7370 2002-10-11 Mark Wielaard <mark@klomp.org>
7371
7372 Fix for PR libgcj/8142
7373 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7374 loading native modules.
7375
7376 2002-10-10 Michael Koch <konqueror@gmx.de>
7377
7378 * javax/swing/AbstractListModel.java
7379 (getListDataListeners): New stubbed method.
7380 javax/swing/DefaultBoundedRangeModel.java
7381 (getChangeListeners): New stubbed method.
7382 javax/swing/DefaultSingleSelectionModel.java
7383 (getChangeListeners): New stubbed method.
7384
7385 2002-10-10 Michael Koch <konqueror@gmx.de>
7386
7387 * gcj/.cvsignore: New file to ignore files generated during build.
7388 * include/.cvsignore: New file to ignore files generated during build.
7389
7390 2002-10-10 Michael Koch <konqueror@gmx.de>
7391
7392 * java/net/HttpURLConnection.java
7393 (getPermission): New method.
7394 (getErrorStream): New stub method.
7395 (getHeaderFieldDate): New stub method.
7396 * java/net/Inet4Address.java:
7397 (isLinkLocalAddress): Typo fixed.
7398 * java/net/InetAddress.java:
7399 (readResolve): New stubbed method (for serialization).
7400 (isAnyLocalAddress): New stubbed method.
7401 (isLoopbackAddress): New stubbed method.
7402 (isLinkLocalAddress): New stubbed method.
7403 (isSiteLocalAddress): New stubbed method.
7404 (isMCGlobal): New stubbed method.
7405 (isMCNodeGlobal): New stubbed method.
7406 (isMCLinkLocal): New stubbed method.
7407 (isMCSiteLocal): New stubbed method.
7408 (isMCOrgLocal): New stubbed method.
7409 (getCanonicalHostName): New stubbed method.
7410 (getByAddress): Create instances of Inet4Address/Inet6Address,
7411 instead of InetAddress, documentation added.
7412 * java/net/MulticastSocket.java
7413 (getInterface): Removed FIXME.
7414 (getNetworkInterface): New method.
7415 (setNetworkInterface): New method.
7416 * java/net/NetworkInterface.java:
7417 (toString): Use property "line.separator" instead of "\n".
7418 * java/net/URLConnection.java
7419 (getContent): New stubbed method.
7420 * java/net/URLStreamHandler.java:
7421 (equals): New stubbed method.
7422 (hostsEqual): New stubbed method.
7423 (hashCode): New stubbed method.
7424 * java/net/natNetworkInterface.cc:
7425 (getRealNetworkInterfaces): Create Inet4Address object
7426 instead of InetAddress.
7427
7428 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7429
7430 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7431 unsigned long temporary to implement insn_iushr shifts.
7432
7433 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7434
7435 * configure.host [s390*-*]: Enable Java interpreter.
7436 Enable hash synchronization. Add sysdeps dir.
7437 * sysdep/s390/locks.h: New file.
7438
7439 2002-10-06 Mark Wielaard <mark@klomp.org>
7440
7441 * java/lang/Thread.java (setDaemon): Check startable_flag,
7442 not isAlive().
7443
7444 2002-10-07 Michael Koch <konqueror@gmx.de>
7445
7446 * java/nio/Buffer.java: New stub file.
7447 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7448 of class Charset.
7449 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7450 * Makefile.in: Regenerated.
7451
7452 2002-10-07 Michael Koch <konqueror@gmx.de>
7453
7454 * java/nio/ByteBuffer.java:
7455 removed import of not commited class.
7456
7457 2002-10-07 Michael Koch <konqueror@gmx.de>
7458
7459 * java/nio/ByteBuffer.java,
7460 java/nio/MappedByteBuffer.java:
7461 New files, forgot to add these dummies.
7462 * Makefile.am (java_native_source_files): Added new files.
7463 * Makefile.in: Regenerated.
7464
7465 2002-10-07 Michael Koch <konqueror@gmx.de>
7466
7467 * java/nio/channels/AlreadyConnectedException.java,
7468 java/nio/channels/ClosedChannelException.java,
7469 java/nio/channels/ReadableByteChannel.java,
7470 java/nio/channels/InterruptibleChannel.java,
7471 java/nio/channels/Channel.java,
7472 java/nio/channels/ByteChannel.java,
7473 java/nio/channels/GatheringByteChannel.java,
7474 java/nio/channels/ScatteringByteChannel.java,
7475 java/nio/channels/WritableByteChannel.java,
7476 java/nio/charset/CharacterCodingException.java,
7477 java/nio/charset/IllegalCharsetNameException.java,
7478 java/nio/charset/MalformedInputException.java,
7479 java/nio/charset/UnmappableCharacterException.java,
7480 java/nio/charset/UnsupportedCharsetException.java,
7481 java/nio/charset/spi/CharsetProvider.java: New file.
7482 These files are exceptions or interfaces,
7483 no real or abstract classes.
7484 * Makefile.am (java_native_source_files): Added new files.
7485 * Makefile.in: Regenerated.
7486
7487 2002-10-05 Michael Koch <konqueror@gmx.de>
7488
7489 * java/net/InetAddress.java
7490 (getByAddress): Fixed documentation.
7491 (getByAddress): New method.
7492 * java/net/Inet4Address.java: New file.
7493 * java/net/URL.java
7494 (URL): Documentation added.
7495 (getContent): Documentation added.
7496 (getContent): New stubbed method.
7497 (getQuery): New method.
7498 (openConnection): Documentation added.
7499 (openStream): Documentation added.
7500 (setURLStreamHandlerFactory): Documentation added.
7501 * java/net/URI.java: New stub file.
7502 * Makefile.am
7503 (java_native_source_files): Added java/net/Inet4Address.java,
7504 java/net/Inet6Address.java and java/net/URI.java.
7505 * Makefile.in: Regenerated.
7506
7507 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7508
7509 * java/lang/ProtectionDomain.java (linesep): Remove field.
7510 (toString): Use System.getProperty("line.separator").
7511
7512 2002-10-04 Michael Koch <konqueror@gmx.de>
7513
7514 * java/security/Identity.java: Added serialVersionUID.
7515 * java/security/KeyPair.java: Added serialVersionUID.
7516 * java/security/Provider.java: Added serialVersionUID.
7517 * java/security/SecureRandom.java: Added serialVersionUID.
7518 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7519 * java/security/SignedObject.java: Added serialVersionUID.
7520 * java/security/cert/Certificate.java: Added serialVersionUID.
7521
7522 2002-10-04 Mark Wielaard <mark@klomp.org>
7523
7524 * java/security/Security.java: Use java.home or gnu.classpath.home
7525 to load providers.
7526 (loadProviders): Extra dir argument.
7527 (getProvider): Return null when not found.
7528
7529 2002-10-04 Mark Wielaard <mark@klomp.org>
7530
7531 * java/lang/Throwable.java: Remerge with Classpath.
7532
7533 2002-10-04 Michael Koch <konqueror@gmx.de>
7534
7535 * java/net/InetAddress.java:
7536 (isMulticastAddress): Added documentation.
7537 (getHostAddress): Added documentation.
7538 (toString): Added documentation.
7539 (getByAddress): Fixed documentation.
7540 (getByName): Added documentation.
7541 (getAllByName): Added documentation.
7542 (getLocalHost): Added documentation.
7543
7544 2002-10-04 Michael Koch <konqueror@gmx.de>
7545
7546 * java/beans/beancontext/BeanContextChildSupport.java:
7547 Added serialVersionUID.
7548 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7549 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7550 * javax/naming/Name.java: Added serialVersionUID.
7551
7552 2002-10-03 Adam Megacz <adam@xwt.org>
7553
7554 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7555 some functionality that isn't supported yet on WIN32.
7556
7557 2002-10-03 Tom Tromey <tromey@redhat.com>
7558
7559 * Makefile.in: Rebuilt.
7560 * Makefile.am (awt_java_source_files): Added new files.
7561
7562 2002-10-03 Michael Koch <konqueror@gmx.de>
7563
7564 * java/net/InetAddress.java
7565 (class InetAddress): Removed final keyword.
7566 (equals): Fixed typo.
7567 (getByAddress): New method.
7568
7569 2002-10-03 Michael Koch <konqueror@gmx.de>
7570
7571 * java/awt/dnd/Autoscroll.java:
7572 New file, merge from Classpath.
7573 * java/awt/dnd/DragSourceAdapter.java:
7574 (dragExit): Fixed typos in argument type.
7575 (dragDropEnd): Fixed typos in argument type.
7576 * java/awt/dnd/DragSourceDropEvent.java:
7577 New file, merge from Classpath.
7578 * java/awt/dnd/DropTarget.java:
7579 Added stubs, merge from Classpath.
7580 * java/awt/dnd/DropTargetAdapter.java:
7581 New file, merge from Classpath.
7582 * java/awt/dnd/DropTargetContext.java:
7583 New file, merge from Classpath.
7584 * java/awt/dnd/DropTargetDragEvent.java:
7585 New file, merge from Classpath.
7586 * java/awt/dnd/DropTargetDropEvent.java:
7587 New file, merge from Classpath.
7588 * java/awt/dnd/DropTargetEvent.java:
7589 New file, merge from Classpath.
7590 * java/awt/dnd/DropTargetListener.java:
7591 New file, merge from Classpath.
7592 * java/awt/dnd/MouseDragGestureRecognizer.java:
7593 New file, merge from Classpath.
7594 * java/awt/dnd/peer/DropTargetContextPeer.java:
7595 New file, merge from Classpath.
7596
7597 2002-10-03 Michael Koch <konqueror@gmx.de>
7598
7599 * java/net/DatagramPacket.java
7600 (setLength): Fixed typo and be HTML-aware.
7601 * java/net/InetSocketAddress.java
7602 (InetSocketAddress): Correct initialization of hostname, fixed typo.
7603 (equals): Added comment about equality of InetSocketAddress objects.
7604 * java/net/ServerSocket.java
7605 (accept): Added checks.
7606 (isClosed): New stubbed method.
7607 * java/net/SocketOptions.java: Reindention.
7608 * java/net/SocketPermission
7609 (SocketPermission): Documentation fixed.
7610
7611 2002-10-03 Michael Koch <konqueror@gmx.de>
7612
7613 * java/net/DatagramSocket.java
7614 (receive): Check with SecurityManager AFTER the packet is received,
7615 check if connected to multicast address, documentation added.
7616 (send): Only check SecurityManager if connected, check address of
7617 packet to send.
7618 (connect): Implemented, documentation added.
7619 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7620 * java/net/InetSocketAddress.java
7621 (whole file): Reindented.
7622 (hostname): New attribute.
7623 (InetSocketAddress): Initialize new attribute.
7624 (getAddress): Documentation added.
7625 (getHostName): Documentation added.
7626 (getPort): Documentation added.
7627 (hashCode): Documentation added.
7628 (isUnresolved): Documentation added.
7629 (toString): Conform to output of JDK 1.4.1, documentation added.
7630 * java/net/MulticastSocket.java
7631 (joinGroup): Removed FIXME, documentation added.
7632 (leaveGroup): Removed FIXME, documentation added.
7633 (send): Documentation added.
7634 * java/net/Socket.java
7635 (inputShutdown): New variable.
7636 (outputShutdown): New variable.
7637 (Socket): Initialize new variables.
7638 (getRemoteSocketAddress): Check if connected.
7639 (shutdownInput): Set new variable.
7640 (shutdownOutput): Set new variable.
7641 (isConnected): New method.
7642 (isClosed): New method.
7643 (isInputShutdown): New method.
7644 (isOutputShutdown): New method.
7645 * java/net/URLStreamHandler.java
7646 (URLStreamHandler): New method.
7647 (openConnection): Added documentation.
7648 (parseURL): Added documentation.
7649 (getHostAddress): New method.
7650 (getDefaultPort): New method.
7651
7652 2002-10-02 Tom Tromey <tromey@redhat.com>
7653
7654 * java/rmi/activation/ActivationDesc.java,
7655 java/rmi/activation/ActivationGroupDesc.java,
7656 java/rmi/activation/ActivationGroupID.java,
7657 java/rmi/activation/ActivationID.java: New versions from
7658 Classpath.
7659
7660 2002-09-30 Bo Thorsen <bo@suse.de>
7661
7662 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7663
7664 2002-09-30 Tom Tromey <tromey@redhat.com>
7665
7666 * java/io/ObjectInputStream.java (resolveProxyClass): New method
7667 from Classpath.
7668 * Makefile.in: Rebuilt.
7669 * Makefile.am (rmi_java_source_files): Added new files.
7670 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7671 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7672 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7673 Classpath.
7674 * gnu/java/rmi/dgc/DGCImpl.java,
7675 gnu/java/rmi/dgc/DGCImpl_Skel.java,
7676 gnu/java/rmi/dgc/DGCImpl_Stub.java,
7677 gnu/java/rmi/registry/RegistryImpl_Skel.java,
7678 gnu/java/rmi/registry/RegistryImpl_Stub.java,
7679 gnu/java/rmi/server/RMIHashes.java,
7680 gnu/java/rmi/server/RMIObjectInputStream.java,
7681 gnu/java/rmi/server/RMIObjectOutputStream.java,
7682 gnu/java/rmi/server/UnicastConnection.java,
7683 gnu/java/rmi/server/UnicastConnectionManager.java,
7684 gnu/java/rmi/server/UnicastRef.java,
7685 gnu/java/rmi/server/UnicastServer.java,
7686 gnu/java/rmi/server/UnicastServerRef.java,
7687 java/rmi/MarshalledObject.java,
7688 java/rmi/server/RMIClassLoader.java,
7689 java/rmi/server/RemoteObject.java,
7690 java/rmi/server/UnicastRemoteObject.java,
7691 java/security/SecureClassLoader.java: Merged from Classpath.
7692
7693 2002-09-29 Anthony Green <green@redhat.com>
7694
7695 * java/lang/reflect/UndeclaredThrowableException.java: New file.
7696 Imported from GNU Classpath.
7697 * java/lang/reflect/natProxy.cc: New file.
7698 * java/lang/reflect/InvocationHandler.java: New file. Imported
7699 from GNU Classpath.
7700 * java/lang/reflect/Proxy.java: New file. Imported from GNU
7701 Classpath.
7702 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7703 Classpath.
7704 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7705 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7706 New statics.
7707 * gcj/javaprims.h ("Java"): Add new classes.
7708 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7709 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7710 java/lang/reflect/Proxy$$ProxyType.h): And this.
7711 (inner_nat_headers): Add these new headers.
7712 (ordinary_java_source_files): Add new files.
7713 (nat_source_files): Add new file.
7714 * Makefile.in: Rebuilt.
7715
7716 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
7717
7718 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7719 a single configuration.
7720
7721 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7722
7723 * java/util/TimeZone.java (getDSTSavings): New method.
7724 Fixes PR libgcj/7786.
7725
7726 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7727
7728 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7729 to see if `the_method == 0' before looking up vtable index.
7730 Fixes PR libgcj/7709.
7731
7732 2002-09-25 Tom Tromey <tromey@redhat.com>
7733
7734 * java/lang/natClassLoader.cc:
7735 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7736 * resolve.cc: Include NoClassDefFoundError.h, not
7737 ClassNotFoundException.h.
7738 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7739
7740 * defineclass.cc: Don't include ClassNotFoundException.h.
7741
7742 * resolve.cc: Include StringBuffer.
7743 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7744
7745 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7746 allocated but not initialized.
7747
7748 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7749
7750 Fix for PR libgcj/7766:
7751 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7752 (getNextEntry): Set it.
7753 (closeEntry): Likewise.
7754 (read): Likewise.
7755 (close): Likewise.
7756 (available): Use it.
7757
7758 2002-09-25 Michael Koch <konqueror@gmx.de>
7759
7760 * java/net/DatagramSocket.java
7761 (DatagramSocket): Initialize new instance variables.
7762 (close): Reset new instance variables.
7763 (getLocalAddress): Remove unneeded SecurityManager usage.
7764 (getLocalPort): Check if socket is already bound.
7765 (isConnected): New method.
7766 (getInetAddress): Implemented.
7767 (getPort): Better Implementation, documentation fixed.
7768 (getRemoteSocketAddress): New method.
7769 * java/net/JarURLConnection.java
7770 (element): Typo fixed.
7771 (getMainAttributes): New method.
7772 (getAttributes): New method (stub only).
7773 (getManifest): New method (stub only).
7774 * java/net/NetPermission.java: Added serialVersionsUID.
7775 * java/net/Socket.java
7776 (connect): Check blocking mode of associated channel,
7777 documentation added.
7778 (getLocalSocketAddress): Better implementation.
7779 (getRemoteSocketAddress): Implemented.
7780 (isBound): New method.
7781 (setSendBufferSize): Documentation added.
7782 * java/net/SocketAddress.java: Added serialVersionsUID.
7783 * java/net/SocketPermission.java: Added serialVersionsUID.
7784 * java/net/URL.java
7785 (URL): Wrap for shorter lines, initialize new instance variables,
7786 documentation added.
7787 (equals): Check new instance variables too.
7788 (getContent): Documentation added.
7789 (getPath): Documentation added.
7790 (getAuthority): New method.
7791 (getHost): Documentation added.
7792 (getPort): Documentation added.
7793 (getDefaultPort): New method.
7794 (getProtocol): Documentation added.
7795 (getUserInfo): Documentation added.
7796 (set): Initialize new instance variables, documentation added.
7797 * java/net/URLStreamHandler.java
7798 (setURL): New method.
7799 * java/net/natPlainDatagramSocketImpl.cc
7800 (connect): Fix exception name.
7801 (disconnect): Fix exception name.
7802
7803 2002-09-25 Michael Koch <konqueror@gmx.de>
7804
7805 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7806 * java/nio/channels/DatagramChannel.java:
7807 extends AbstractSelectableChannel
7808 * java/nio/channels/ServerSocketChannel.java:
7809 extends AbstractSelectableChannel
7810 * java/nio/channels/SocketChannel.java:
7811 extends AbstractSelectableChannel
7812 * Makefile.am (ordinary_java_source_files):
7813 java/nio/channels/spi/AbstractSelectableChannel.java added.
7814 * Makefile.in: Regenerated.
7815
7816 2002-09-25 Michael Koch <konqueror@gmx.de>
7817
7818 * java/net/DatagramSocket.java
7819 (DatagramSocket): Exception documentation added.
7820 (bind): Exception documentation added, addded SecurityManager check,
7821 added SocketAddress type check.
7822 (getSoTimeout): Check impl.
7823 (receive): Fix SecurityManager check, check impl, documentation added.
7824 (send): Check channel mode, documentation added.
7825 (connect): New method.
7826 (disconnect): Implemented.
7827 (getLocalSocketAddress): New method.
7828 (getReceiveBufferSize): Check impl.
7829 (setReuseAddress): Check impl.
7830 (getReuseAddress): Check impl.
7831 (setBroadcast): Check impl.
7832 (getBroadcast): Check impl.
7833 (setTrafficClass): Check impl, Documentation cleared.
7834 (getTrafficClass): Check impl.
7835 (getSendBufferSize): Check impl.
7836 (setReceiveBufferSize): Check impl, documentation added.
7837 (setSendBufferSize): Documentation added.
7838 (setDatagramSocketImplFactory): New method.
7839 * java/net/HttpURLConnection.java
7840 (HTTP_INTERNAL_ERROR): The correct code is 500.
7841 (HTTP_NOT_IMPLEMENTED): Added new constant.
7842 (setFollowRedirects): Documentation added.
7843 (getInstanceFollowRedirects): New method.
7844 (setInstanceFollowRedirects): New method.
7845 (setRequestMethod): Documentation added.
7846 (getResponseCode): Documentation added.
7847 (getResponseMessage): Documentation added.
7848 * java/net/JarURLConnection.java
7849 (JarURLConnection): protected since JDK 1.4.
7850 (getJarEntry): java.io.IOException to IOException, documentation added.
7851 (getJarFile): Documentation added.
7852 * java/net/ServerSocket.java
7853 (ServerSocket): Private to public, exception added.
7854 (ServerSocket): java.io.IOException to IOException, documentation added.
7855 (bind): Check socket address type, documentation added.
7856 (bind): java.io.IOException to IOException, documentation added.
7857 (accept): Documentation added.
7858 (implAccept): Check ch is not non-blocking, documentation added.
7859 (setSoTimeout): Documentation fixed.
7860 (setReceiveBufferSize): Documentation added.
7861 * java/net/Socket.java
7862 (Socket): Documentation added.
7863 (bind): Documentation added.
7864 (connect): Check socket address type, documentation added.
7865 (getRemoteSocketAddress): New method.
7866 (getLocalSocketAddress): New method.
7867 (setSoLinger): Documentation added.
7868 (getReuseAddress): New method.
7869 (setReuseAddress): New method.
7870 (getTrafficClass): New method.
7871 (setTrafficClass): New method.
7872 * java/net/URLStreamHandler.java
7873 (openConnection): java.io.IOException to IOException.
7874 (parseURL): Documentation added.
7875 (sameFile): public to protected, documentation added.
7876 (setURL): Documentation added.
7877 * java/nio/IllegalBlockingModeException.java: New file.
7878 * Makefile.am (ordinary_java_source_files):
7879 added java/nio/IllegalBlockingModeException.java
7880 * Makefile.in: Regenerated.
7881
7882 2002-09-25 Michael Koch <konqueror@gmx.de>
7883
7884 * java/net/DatagramPacket
7885 (DatagramPacket): Exception documentation added.
7886 (setData): Likewise.
7887 (setSocketAddress): Likewise.
7888 * java/net/DatagramSocketImpl.java
7889 (peek): Documentation addded.
7890 (peekData): Documentation addded.
7891 (send): Documentation addded.
7892 (receive): Documentation addded.
7893 (connect): New method.
7894 (disconnect): New method.
7895 (joinGroup): New abstract method.
7896 (leaveGroup): New abstract method.
7897 * java/net/InetSocketAddress.java
7898 (InetSocketAddress): Documentation added.
7899 (equals): final keyword added.
7900 (getAddress): final keyword added.
7901 (getHostName): final keyword added.
7902 (getPort): final keyword added.
7903 (hashCode): final keyword added.
7904 (isUnresolved): final keyword added.
7905 * java/net/MulticastSocket.java
7906 (MulticastSocket): Documentation added.
7907 (MulticastSocket): New method.
7908 (joinGroup): Documentation added.
7909 (joinGroup): New method.
7910 (leaveGroup): Documentation added.
7911 (leaveGroup): New method.
7912 (send): Documentation added.
7913 * java/net/NetworkInterface.java
7914 (getByName): Documentation added.
7915 (getByInetAddress): Documentation added.
7916 (getNetworkInterfaces): Documentation added.
7917 * java/net/PlainDatagramSocketImpl.java
7918 (connect): New method.
7919 (disconnect): New method.
7920 * java/net/SocketImpl.java
7921 (create): Documentation added.
7922 (shutdownInput): Convert public to protected, as it always was.
7923 (shutdownOutput): Convert public to protected, as it always was.
7924 * java/net/SocketOptions.java
7925 (whole file): Reintented.
7926 * java/net/URLClassLoader.java
7927 (URLClassLoader): SecurityManager check added, documentation added.
7928 (findResources): Documentation added.
7929 (findClass): Documentation added.
7930 (newInstance): More correct method arguments.
7931 * java/net/URLConnection.java
7932 (connect): Documentation added.
7933 (getContent): Documentation added.
7934 (getPermission): Documentation added.
7935 (getInputStream): Documentation added.
7936 (getOutputStream): Documentation added.
7937 (setDoInput): Throw correct exception, documentation added.
7938 (setDoOutput): Throw correct exception, documentation added.
7939 (setAllowUserInteraction): Throw correct exception, documentation added.
7940 (setUseCaches): Throw correct exception, documentation added.
7941 (setIfModifiedSince): Throw correct exception, documentation added.
7942 (setRequestProperty): Throw exception, documentation added.
7943 (addRequestProperty): Throw exception, documentation added.
7944 (getRequestProperty): Throw exception, documentation added.
7945 (getRequestProperties): Documentation added.
7946 (setContentHandlerFactory): Documentation added.
7947 (guessContentTypeFromName): protected to public.
7948 (setFileNameMap): Documentation added.
7949 * java/net/URLDecoder.java
7950 (URLDecoder): New method.
7951 (decode): Documentation added.
7952 (whole file): Reindented.
7953 * java/net/URLEncoder.java
7954 (encode): Documentation added.
7955 * java/net/natPlainDatagramSocketImpl.cc
7956 (connect): New method.
7957 (disconnect): New method.
7958 * javax/naming/RefAddr:
7959 (addrType): addrType was never final.
7960 (equals): Fix typo in method name.
7961 * javax/naming/BinaryRefAddr:
7962 (equals): Fix typo in method name.
7963
7964 2002-09-22 Tom Tromey <tromey@redhat.com>
7965
7966 Fix for PR libgcj/6576:
7967 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7968 didn't find a given bundle.
7969 (getBundle): Don't require base bundle.
7970 (setParent): Removed old comment.
7971 (tryLocalBundle): Try components even if preceding components were
7972 empty.
7973
7974 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7975
7976 * Makefile.am (all-multi): Fix multilib parallel build.
7977
7978 2002-09-21 Michael Koch <konqueror@gmx.de>
7979
7980 * java/net/Socket.java
7981 (sendUrgentData): New method.
7982 (getChannel): New method.
7983 * java/net/ServerSocket.java
7984 (getChannel): New method.
7985 (isBound): New method.
7986 * java/net/DatagramSocket.java
7987 (DatagramSocket): Two new methods.
7988 (bind): New method.
7989 (getChannel): New method.
7990 (isBound): New method.
7991 (send): Added newline to to make shorter lines.
7992 * java/net/PlainDatagramSocketImpl.java
7993 (mcastGrp): Added argument.
7994 (join): Use new mcastGrp.
7995 (leave): Use new mcastGrp.
7996 (joinGroup): New method.
7997 (leaveGroup): New method.
7998 * java/net/natPlainDatagramSocketImpl.cc
7999 (mcastGrp): Added argument, no yet really implemented.
8000 (getOption): Added newline for shorter lines.
8001 * java/net/natPlainSocketImpl.cc
8002 (read, setOption, getOption): Added newline for shorter lines.
8003
8004 2002-09-19 Tom Tromey <tromey@redhat.com>
8005
8006 * java/lang/ClassLoader.java (resolveClass0): Set cause for
8007 newly-created exception.
8008
8009 2002-09-18 Michael Koch <konqueror@gmx.de>
8010
8011 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
8012 java/util/regex/PatternSyntaxException.java:
8013 Merge with classpath, new files.
8014 * Makefile.am (core_java_source_files):
8015 Added java/util/regex/Matcher.java,
8016 java/util/regex/Pattern.java,
8017 java/util/regex/PatternSyntaxException.java
8018 * Makefile.in: Regenerated.
8019 * include/config.h.in: Added HAVE_NET_IF_H.
8020 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
8021 Removed #if 0 ... #endif.
8022
8023 2002-09-17 Michael Koch <konqueror@gmx.de>
8024
8025 * java/net/natNetworkInterface.cc:
8026 Removed unneed and yet wrong includes.
8027
8028 2002-09-17 Michael Koch <konqueror@gmx.de>
8029
8030 * java/net/NetworkInterface.java: New file.
8031 * java/net/natNetworkInterface.java: New file.
8032 * configure.in: Added check for net/if.h.
8033 * configure: Regenerated.
8034 * Makefile.am
8035 (ordinary_java_source_files): Added NetworkInterface.java.
8036 (nat_source_files): Added natNetworkInterface.cc.
8037 * Makefile.in: Regenerated.
8038
8039 2002-09-16 Tom Tromey <tromey@redhat.com>
8040
8041 * java/net/URLClassLoader.java (findClass): Code source for a
8042 class from a jar is not necessarily a jar: URL.
8043
8044 2002-09-16 Michael Koch <konqueror@gmx.de>
8045
8046 * java/lang/AssertionError.java:
8047 Merge with classpath, fixes HTML.
8048 * java/rmi/server/LogStream.java:
8049 Merge with classpath, fixes some constants.
8050 * java/net/server/RemoteServer.java:
8051 Merge with classpath, adds serialVersionUID.
8052 * javax/naming/BinaryRefAddr.java:
8053 Merge with classpath, s/equal/equals/.
8054 * javax/naming/NamingException.java:
8055 Merge with classpath, fixed typo.
8056 * javax/naming/RefAddr.java:
8057 Merge with classpath, s/equal/equals/.
8058 * java/awt/Toolkit.java:
8059 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8060 and typo fixed.
8061
8062 2002-09-15 Adam Megacz <adam@xwt.org>
8063
8064 * java/net/natPlainSocketImpl.cc: fixed typo.
8065
8066 2002-09-15 Adam Megacz <adam@xwt.org>
8067
8068 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8069 which don't work on Win32 (yet).
8070
8071 2002-09-14 Adam Megacz <adam@xwt.org>
8072
8073 * java/net/natPlainDatagramSocket.cc: removed #include
8074 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8075 * include/win32.h: included definition for IP_TOS to satisfy
8076 natPlainDatagramSocket.cc
8077
8078 2002-09-13 Michael Koch <konqueror@gmx.de>
8079
8080 * java/net/DatagramPacket.java (DatagramPacket):
8081 Added linebreak for 80 chars per line.
8082 * java/net/JarURLConection.java
8083 (getInputStreami, getJarEntry): Likewise.
8084 * java/net/SocketPErmission.java
8085 (SocketPermission class docu, implies): Likewise.
8086 * java/net/URLClassLoader.java (findResources): Likewise.
8087 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8088
8089 2002-09-13 Michael Koch <konqueror@gmx.de>
8090
8091 * java/nio/channels/DatagramChannel.java,
8092 java/nio/channels/ServerSocketChannel.java
8093 java/nio/channels/SocketChannel.java:
8094 New dummy files to make java.net fully JDK 1.4 compatible
8095 * Makefile.am (ordinary_java_source_files): Added
8096 java/net/DatagramSocketImplFactory.java (long forgotten),
8097 java/nio/SocketChannel.java,
8098 java/nio/ServerSocketChannel.java,
8099 java/nio/DatagramChannel.java
8100 * Makefile.in: Regenrated.
8101
8102 2002-09-12 Michael Koch <konqueror@gmx.de>
8103
8104 * java/net/DatagramSocketImpl.java
8105 (peekData): New method.
8106 * java/net/PlainDatagramSocketImpl.java
8107 (peekData): New method.
8108 * java/net/natPlainDatagramSocketImpl.cc
8109 (peekData): New method.
8110 * java/net/URLConnection
8111 (getPermission): New method.
8112 (addRequestProperty): New method.
8113 (getRequestProperties): New method.
8114 (guessContentTypeFromStream): New method, not really implemented.
8115 (URLConnection): Added/updated documentation.
8116 (connect): Added/updated documentation.
8117 (getURL): Added/updated documentation.
8118 (getContentLength): Added/updated documentation.
8119 (getContentType: Added/updated documentation.
8120 (getContentEncoding): Added/updated documentation.
8121 (getExpiration): Added/updated documentation.
8122 (getDate): Added/updated documentation.
8123 (getLastModified): Added/updated documentation.
8124 (getHeaderField): Added/updated documentation.
8125 (getHeaderFields): Added/updated documentation.
8126 (getHeaderFieldInt): Added/updated documentation.
8127 (getHeaderFieldDate): Added/updated documentation.
8128 (getHeaderFieldKey): Added/updated documentation.
8129 (getContent): Added/updated documentation.
8130 (getInputStream): Added/updated documentation.
8131 (getOutputStream): Added/updated documentation.
8132 (toString): Added/updated documentation.
8133 (setDoInput): Added/updated documentation.
8134 (getDoInput): Added/updated documentation.
8135 (setDoOutput): Added/updated documentation.
8136 (getDoOutput): Added/updated documentation.
8137 (setAllowUserInteraction): Added/updated documentation.
8138 (getAllowUserInteraction): Added/updated documentation.
8139 (setDefaultAllowUserInteraction): Added/updated documentation.
8140 (getDefaultAllowUserInteraction): Added/updated documentation.
8141 (setUseCaches): Added/updated documentation.
8142 (getUseCaches): Added/updated documentation.
8143 (setIfModifiedSince): Added/updated documentation.
8144 (getIfModifiedSince): Added/updated documentation.
8145 (getDefaultUseCaches): Added/updated documentation.
8146 (setDefaultUseCaches): Added/updated documentation.
8147 (setRequestProperty): Added/updated documentation.
8148 (getRequestProperty): Added/updated documentation.
8149 (setDefaultRequestProperty): Added/updated documentation.
8150 (getDefaultRequestProperty): Added/updated documentation.
8151 (setContentHandlerFactory): Added/updated documentation.
8152 (guessContentTypeFromName): Added/updated documentation.
8153 (getFileNameMap): Added/updated documentation.
8154 (setFileNameMap): Added/updated documentation.
8155
8156 2002-09-11 Michael Koch <konqueror@gmx.de>
8157
8158 * java/net/Socket.java
8159 (Socket): protected to public (since JDK 1.4). Added @specnote.
8160 (bind): New method.
8161 (connect): Two new methods.
8162 (getKeepalive): Get correct socket option.
8163 (setKeepalive): Set correct socket option.
8164 (getOOBInline): New method.
8165 (setOOBInline): New method.
8166 * java/net/ServerSocket.java
8167 (bind): Two new methods.
8168 (getInetAddress): Reimplemented, catch exception.
8169 (getLocalSocketAddress): New method.
8170 (setReuseAddress): New method.
8171 (getReuseAdress): New method.
8172 (setReceiveBufferSize): New method.
8173 (getReceiveBufferSize): New method.
8174 (toString): Made string JDK 1.4 compliant.
8175
8176 2002-09-10 Michael Koch <konqueror@gmx.de>
8177
8178 * java/net/SocketImpl.java
8179 (connect): New method.
8180 (supportsUrgentData): New method.
8181 (sendUrgentData): New method.
8182 * java/net/PlainSocketImpl.java
8183 (connect): One new method and two new implementation.
8184 (sendUrgentData): New method.
8185 * java/natPlainSocketImpl.cc
8186 (connect): Arguments changed, added support for timeouts.
8187 (getOption): Another __java_boolean to jboolean.
8188
8189 2002-09-07 Adam Megacz <adam@xwt.org>
8190
8191 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8192 definition of IP_TOS.
8193
8194 2002-09-04 Michael Koch <konqueror@gmx.de>
8195
8196 * java/net/DatagramSocket.java
8197 (DatagramSocket): Added documentation.
8198 (close): Likewise.
8199 (getLocalAddress): Likewise.
8200 (getLocalPort): Likewise.
8201 (receive): Likewise.
8202 (send): Likewise.
8203 (setSoTimeout): Likewise.
8204 (connect): New method.
8205 (disconnect): New method.
8206 (getInetAddress): New method (FIXME)
8207 (getPort): New method.
8208 (setReuseAddress): New method.
8209 (getReuseAddress): New method.
8210 (setBroadcast): New method.
8211 (getBroadcast): New method.
8212 (setTrafficClass): New method.
8213 (getTrafficClass): New method.
8214 * java/net/MulticastSocket.java):
8215 (getTTL): Added @see in documentation.
8216 (setTTL): Added @see in documentation.
8217 (setLoopbackMode): New method.
8218 (getLoopbackMode): New method.
8219 * java/net/PlainSocketImpl.java:
8220 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8221 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8222 * java/net/PlainDatagramSocketImpl.java
8223 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8224 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8225 * java/net/natPlainSocketImpl.cc
8226 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8227 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8228 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8229 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8230 This should also fix SO_KEEPALIVE
8231 * java/net/natPlainDatagramSocketImpl.cc
8232 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8233 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8234 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8235 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8236
8237 2002-09-04 Michael Koch <konqueror@gmx.de>
8238
8239 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8240 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8241 IP_MULTICAST_LOOP, IP_TOS
8242
8243 2002-09-03 Tom Tromey <tromey@redhat.com>
8244
8245 * java/lang/Class.h (_getDeclaredMethod): Declare.
8246 (_getMethod): Now private.
8247 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8248 getDeclaredMethod. Now returns NULL on failure.
8249 * java/lang/Class.java (_getDeclaredMethod): Declare.
8250 (getDeclaredMethod): No longer native; implements access checks.
8251
8252 2002-09-01 Mark Wielaard <mark@klomp.org>
8253
8254 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8255 (sanitizeStack): Correctly reset unknown and interpreter counters,
8256 detect interpreter runtime frames.
8257 (demangleInterpreterMethod): New method.
8258 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8259 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8260 filling in addrs[].
8261
8262 2002-09-02 Michael Koch <konqueror@gmx.de>
8263
8264 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8265 re-indented documentation.
8266
8267 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8268
8269 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8270 public, per 1.4 spec. Fixes PR libgcj/7785.
8271
8272 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8273
8274 * Makefile.in: Rebuilt.
8275 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8276
8277 2002-08-29 Tom Tromey <tromey@redhat.com>
8278
8279 * java/net/JarURLConnection.java (getCertificates): New method
8280 from Classpath.
8281 * java/net/URLClassLoader.java (URLClassLoader): Extends
8282 SecureClassLoader.
8283 (definePackage): New method from Classpath.
8284 (getPermissions): Likewise.
8285 (newInstance): Likewise.
8286 (findClass): Construct CodeSource for new class (from Classpath).
8287 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8288 methods.
8289 * java/net/URL.java (getUserInfo): New method.
8290 (set(String,String,int,String,String,String,String,String)): New
8291 method.
8292 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8293 (shutdownInput, shutdownOutput): Declare.
8294 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8295 Define.
8296 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8297 (getOption): Likewise.
8298 (shutdownInput): New method.
8299 (shutdownOutput): Likewise.
8300 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8301 keepalive.
8302 (getOption): Likewise.
8303 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8304 * java/net/Socket.java (setKeepAlive): New method.
8305 (getKeepAlive): Likewise.
8306 (shutdownInput, shutdownOutput): New methods.
8307
8308 2002-08-29 Michael Koch <konqueror@gmx.de>
8309
8310 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8311 new methods are:
8312 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8313 address),
8314 DatagramPacket(byte[] buf, int length, SocketAddress address),
8315 void setSocketAddress(SocketAddress address)
8316 public SocketAddress getSocketAddress()
8317
8318 2002-08-29 Tom Tromey <tromey@redhat.com>
8319
8320 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8321 ftruncate is missing.
8322 * configure, include/config.h.in: Rebuilt.
8323 * acconfig.h (HAVE_FTRUNCATE): Mention.
8324 * configure.in: Check for ftruncate.
8325
8326 2002-08-29 Tom Tromey <tromey@redhat.com>
8327
8328 * include/jvm.h (struct _Jv_frame_info): New structure.
8329 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8330 java-interp.h.
8331 (lookupInterp): New method.
8332 (getAddrAsString): Use _Jv_frame_info.
8333 (dladdrLookup): Likewise.
8334 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8335 interpreted frame.
8336 (lookupInterp): Declare.
8337 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8338 (fillInStackTrace): Collect information on interpreted frames.
8339 Use _Jv_frame_info.
8340 * interpret.cc: Include Thread.h.
8341 (run): Create and push _Jv_MethodChain object.
8342 (_Jv_EndOfInterpreter): New global.
8343 * java/lang/Thread.java (interp_frame): New field.
8344 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8345 Include NameFinder.h.
8346
8347 2002-08-28 Tom Tromey <tromey@redhat.com>
8348
8349 * java/lang/Class.h: Include Package.h.
8350 (Class::getProtectionDomain): Declare.
8351 (Class::getPackage): Declare.
8352
8353 2002-08-28 Michael Koch <konqueror@gmx.de>
8354
8355 * java/net/InetSocketAddress.java: Added some documentation and argument
8356 checks for the port numbers.
8357 * java/net/DatagramSocketImplFactory.java: New file.
8358
8359 2002-08-28 Michael Koch <konqueror@gmx.de>
8360
8361 * java/net/Authenticator.java: added some documentation.
8362
8363 2002-08-27 Tom Tromey <tromey@redhat.com>
8364
8365 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8366 class.
8367 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8368
8369 2002-08-27 Michael Koch <konqueror@gmx.de>
8370
8371 * java/net/BindException.java,
8372 java/net/JarURLConnection.java,
8373 java/net/FileNameMap.java,
8374 java/net/HttpURLConnection.java,
8375 java/net/InetSocketAddress.java,
8376 java/net/DatagramPacket.java,
8377 java/net/DatagramSocket.java,
8378 java/net/DatagramSocketImpl.java,
8379 java/net/MulticastSocket.java,
8380 java/net/PasswordAuthentication.java,
8381 java/net/ServerSocket.java,
8382 java/net/Socket.java,
8383 java/net/URLClassLoader.java,
8384 java/net/URLConnection.java: add/update of some @since/@deprecated
8385
8386 2002-08-27 Tony Kimball <alk@pobox.com>
8387 Tom Tromey <tromey@redhat.com>
8388
8389 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8390 define.
8391 (::close): Removed.
8392 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8393 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8394 (::close): Removed.
8395 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8396 * include/win32.h (getcwd): Removed declaration. Include io.h.
8397
8398 2002-08-25 Adam Megacz <adam@xwt.org>
8399
8400 * include/win32.h (getcwd): copied function declaration as
8401 temporary fix for header confusion.
8402
8403 2002-08-24 Mark Wielaard <mark@klomp.org>
8404
8405 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8406 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8407 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8408 and natNameFinder.cc.
8409 * Makefile.in: Regenerate.
8410 * prims.cc: Use trace_enabled from VMThrowable.
8411 * name-finder.cc: Removed.
8412 * gcj/javaprims.h: Add class VMThrowable.
8413 * gnu/gcj/runtime/NameFinder.java: New file.
8414 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8415 * include/name-finder.h: Removed.
8416 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8417 method stackTraceString().
8418 (printStackTrace (PrintWriter)): Likewise.
8419 (stackTraceString): Complete rewrite of old printStackTrace using
8420 StringBuffer.
8421 (stackTraceStringBuffer): New helper method for stackTraceString().
8422 (fillInStackTrace): Delegate to VMTrowable.
8423 (getStackTrace): Likewise.
8424 (getStackTrace0): Removed.
8425 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8426 (setStackTrace): Copy given array.
8427 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8428 * java/lang/VMThrowable.java: New class.
8429 * java/lang/natVMThrowable.cc: New file.
8430
8431 2003-08-23 Michael Koch <konqueror@gmx.de>
8432
8433 * java/net/URLConnection.java,
8434 java/netJarURLConnection.java,
8435 gnu/gcj/protocol/core/Connection.java,
8436 gnu/gcj/protocol/file/Connection.java,
8437 gnu/gcj/protocol/http/Connection.java: Added implementation of
8438 getHeaderFields().
8439
8440 2002-08-22 Tom Tromey <tromey@redhat.com>
8441
8442 * gij.cc (help): Document -cp and -classpath.
8443 (main): Handle -classpath.
8444
8445 2002-08-21 Tom Tromey <tromey@redhat.com>
8446
8447 * Makefile.in: Rebuilt.
8448 * Makefile.am (ordinary_java_source_files): Added
8449 SocketAddress.java, InetSocketAddress.java.
8450 * java/net/PortUnreachableException.java: Merged with Classpath.
8451 * java/net/SocketTimeoutException.java: Likewise.
8452 * java/net/URISyntaxException.java: Likewise.
8453 * java/net/SocketAddress.java: New class from Classpath.
8454 * java/net/InetSocketAddress.java: Likewise.
8455
8456 2003-08-21 Michael Koch <konqueror@gmx.de>
8457
8458 * java/net/Authenticator.java: updated JDK 1.4
8459 * java/net/ContentHandler.java: updated JDK 1.4
8460
8461 2002-08-20 Michael Koch <konqueror@gmx.de>
8462
8463 * java/net/URISyntaxException.java: New file.
8464 * java/net/SocketTimeoutException.java: New file.
8465 * java/net/PortUnreachableException.java: New file.
8466 * Makefile.am: Updated.
8467 * Makefile.in: Rebuilt.
8468
8469 2002-08-18 Mark Wielaard <mark@klomp.org>
8470
8471 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8472 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8473 MessageDigestSpi (fixes Classpath bug #783).
8474
8475 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8476
8477 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8478 (startProcess): Allocate path for chdir in async-signal-safe way.
8479
8480 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8481
8482 Fix for PR libgcj/7570 and PR libgcj/7578:
8483 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8484 (startProcess): Handle new `dir' argument.
8485 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8486 argument.
8487 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8488 argument.
8489 (startProcess): Likewise.
8490 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8491 argument.
8492 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8493 (exec): Don't create new environment if ENV==null. Pass DIR to
8494 execInternal.
8495 * java/lang/natRuntime.cc: Include java/io/File.h.
8496 (execInternal): Added `dir' argument.
8497
8498 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8499
8500 * java/io/RandomAccessFile.java (skipBytes): Return number of
8501 bytes skipped.
8502
8503 2002-08-01 Mark Wielaard <mark@klomp.org>
8504
8505 Reenable patch since shared library troubles on powerpc are solved:
8506 * gnu/java/security/provider/Gnu.java: Reference all implementation
8507 classes by using Class.getName().
8508 * gnu/java/security/der/DEREncodingException.java,
8509 gnu/java/security/provider/DERReader.java,
8510 gnu/java/security/provider/DERWriter.java,
8511 gnu/java/security/provider/DSAKeyPairGenerator.java,
8512 gnu/java/security/provider/DSAParameterGenerator.java,
8513 gnu/java/security/provider/DSAParameters.java,
8514 gnu/java/security/provider/DSASignature.java,
8515 gnu/java/security/provider/GnuDSAPrivateKey.java,
8516 gnu/java/security/provider/GnuDSAPublicKey.java,
8517 gnu/java/security/provider/MD5.java,
8518 gnu/java/security/util/Prime.java: New classes
8519 * Makefile.am (ordinary_java_source_files): Add above files.
8520 * Makefile.in: Regenerate.
8521 * gnu/java/security/provider/DefaultPolicy.java
8522 (getPermissions): Don't maintain static class variable of Permissions.
8523 * gnu/java/security/provider/SHA.java
8524 (engineUpdate): algorithm change.
8525 (engineDigest): algorithm change.
8526
8527 2002-08-09 Mark Wielaard <mark@klomp.org>
8528
8529 * java/awt/image/MemoryImageSource.java: Change constructor to take
8530 int[] not byte[].
8531 * java/awt/Graphics2D.java: Uncomment methods that can now be
8532 compiled.
8533 * java/awt/GridBagLayout.java: New stub implementation.
8534 * javax/swing/text/html/HTML.java: Stub implementation.
8535 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8536 implementation.
8537
8538 * Makefile.am: Add new files.
8539 * Makefile.in: Rebuilt.
8540
8541 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8542
8543 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8544 methods in Graphics2D.
8545
8546 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8547
8548 AWT/Swing merge from GNU Classpath.
8549
8550 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8551 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8552 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8553 java/awt/color/ProfileDataException.java,
8554 java/awt/CompositeContext.java, java/awt/Composite.java,
8555 java/awt/ContainerOrderFocusTraversalPolicy.java,
8556 java/awt/datatransfer/FlavorTable.java,
8557 java/awt/DefaultFocusTraversalPolicy.java,
8558 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8559 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8560 java/awt/dnd/DragGestureListener.java,
8561 java/awt/dnd/DragGestureRecognizer.java,
8562 java/awt/dnd/DragSourceAdapter.java,
8563 java/awt/dnd/DragSourceContext.java,
8564 java/awt/dnd/DragSourceDragEvent.java,
8565 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8566 java/awt/dnd/DragSourceListener.java,
8567 java/awt/dnd/DragSourceMotionListener.java,
8568 java/awt/dnd/DropTarget.java,
8569 java/awt/dnd/InvalidDnDOperationException.java,
8570 java/awt/dnd/peer/DragSourceContextPeer.java,
8571 java/awt/event/AWTEventListenerProxy.java,
8572 java/awt/event/MouseWheelEvent.java,
8573 java/awt/event/MouseWheelListener.java,
8574 java/awt/event/WindowFocusListener.java,
8575 java/awt/event/WindowStateListener.java,
8576 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8577 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8578 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8579 java/awt/geom/FlatteningPathIterator.java,
8580 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8581 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8582 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8583 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8584 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8585 java/awt/image/ImagingOpException.java,
8586 java/awt/image/RasterFormatException.java,
8587 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8588 java/awt/image/VolatileImage.java,
8589 java/awt/image/WritableRenderedImage.java,
8590 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8591 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8592 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8593 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8594 java/awt/PageAttributes.java, java/awt/print/Book.java,
8595 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8596 java/awt/print/Paper.java, java/awt/print/Printable.java,
8597 java/awt/print/PrinterAbortException.java,
8598 java/awt/print/PrinterException.java,
8599 java/awt/print/PrinterGraphics.java,
8600 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8601 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8602 java/awt/Stroke.java, java/awt/TexturePaint.java,
8603 javax/accessibility/AccessibleAction.java,
8604 javax/accessibility/AccessibleBundle.java,
8605 javax/accessibility/AccessibleComponent.java,
8606 javax/accessibility/AccessibleContext.java,
8607 javax/accessibility/AccessibleEditableText.java,
8608 javax/accessibility/AccessibleExtendedComponent.java,
8609 javax/accessibility/AccessibleExtendedTable.java,
8610 javax/accessibility/AccessibleHyperlink.java,
8611 javax/accessibility/AccessibleHypertext.java,
8612 javax/accessibility/AccessibleIcon.java,
8613 javax/accessibility/Accessible.java,
8614 javax/accessibility/AccessibleKeyBinding.java,
8615 javax/accessibility/AccessibleRelation.java,
8616 javax/accessibility/AccessibleRelationSet.java,
8617 javax/accessibility/AccessibleResourceBundle.java,
8618 javax/accessibility/AccessibleRole.java,
8619 javax/accessibility/AccessibleSelection.java,
8620 javax/accessibility/AccessibleState.java,
8621 javax/accessibility/AccessibleStateSet.java,
8622 javax/accessibility/AccessibleTable.java,
8623 javax/accessibility/AccessibleTableModelChange.java,
8624 javax/accessibility/AccessibleText.java,
8625 javax/accessibility/AccessibleValue.java,
8626 javax/swing/AbstractAction.java,
8627 javax/swing/AbstractButton.java,
8628 javax/swing/AbstractCellEditor.java,
8629 javax/swing/AbstractListModel.java,
8630 javax/swing/AbstractSet.java, javax/swing/Action.java,
8631 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8632 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8633 javax/swing/border/CompoundBorder.java,
8634 javax/swing/border/EmptyBorder.java,
8635 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8636 javax/swing/border/LineBorder.java,
8637 javax/swing/border/MatteBorder.java,
8638 javax/swing/border/TitledBorder.java,
8639 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8640 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8641 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8642 javax/swing/CellRendererPane.java,
8643 javax/swing/colorchooser/AbstractColorChooserPanel.java,
8644 javax/swing/colorchooser/ColorChooserComponentFactory.java,
8645 javax/swing/colorchooser/ColorSelectionModel.java,
8646 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8647 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8648 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8649 javax/swing/DefaultBoundedRangeModel.java,
8650 javax/swing/DefaultButtonModel.java,
8651 javax/swing/DefaultCellEditor.java,
8652 javax/swing/DefaultCellRenderer.java,
8653 javax/swing/DefaultComboBoxModel.java,
8654 javax/swing/DefaultDesktopManager.java,
8655 javax/swing/DefaultFocusManager.java,
8656 javax/swing/DefaultListCellRenderer.java,
8657 javax/swing/DefaultListModel.java,
8658 javax/swing/DefaultListSelectionModel.java,
8659 javax/swing/DefaultSingleSelectionModel.java,
8660 javax/swing/DesktopManager.java,
8661 javax/swing/event/AncestorEvent.java,
8662 javax/swing/event/AncestorListener.java,
8663 javax/swing/event/CaretEvent.java,
8664 javax/swing/event/CaretListener.java,
8665 javax/swing/event/CellEditorListener.java,
8666 javax/swing/event/ChangeEvent.java,
8667 javax/swing/event/ChangeListener.java,
8668 javax/swing/event/DocumentEvent.java,
8669 javax/swing/event/DocumentListener.java,
8670 javax/swing/event/EventListenerList.java,
8671 javax/swing/event/HyperlinkEvent.java,
8672 javax/swing/event/HyperlinkListener.java,
8673 javax/swing/event/InternalFrameAdapter.java,
8674 javax/swing/event/InternalFrameEvent.java,
8675 javax/swing/event/InternalFrameListener.java,
8676 javax/swing/event/ListDataEvent.java,
8677 javax/swing/event/ListDataListener.java,
8678 javax/swing/event/ListSelectionEvent.java,
8679 javax/swing/event/ListSelectionListener.java,
8680 javax/swing/event/MenuDragMouseEvent.java,
8681 javax/swing/event/MenuDragMouseListener.java,
8682 javax/swing/event/MenuEvent.java,
8683 javax/swing/event/MenuKeyEvent.java,
8684 javax/swing/event/MenuKeyListener.java,
8685 javax/swing/event/MenuListener.java,
8686 javax/swing/event/MouseInputAdapter.java,
8687 javax/swing/event/MouseInputListener.java,
8688 javax/swing/event/PopupMenuEvent.java,
8689 javax/swing/event/PopupMenuListener.java,
8690 javax/swing/event/SwingPropertyChangeSupport.java,
8691 javax/swing/event/TableColumnModelEvent.java,
8692 javax/swing/event/TableColumnModelListener.java,
8693 javax/swing/event/TableModelEvent.java,
8694 javax/swing/event/TableModelListener.java,
8695 javax/swing/event/TreeExpansionEvent.java,
8696 javax/swing/event/TreeExpansionListener.java,
8697 javax/swing/event/TreeModelEvent.java,
8698 javax/swing/event/TreeModelListener.java,
8699 javax/swing/event/TreeSelectionEvent.java,
8700 javax/swing/event/TreeSelectionListener.java,
8701 javax/swing/event/TreeWillExpandListener.java,
8702 javax/swing/event/UndoableEditEvent.java,
8703 javax/swing/event/UndoableEditListener.java,
8704 javax/swing/filechooser/FileFilter.java,
8705 javax/swing/filechooser/FileSystemView.java,
8706 javax/swing/filechooser/FileView.java,
8707 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8708 javax/swing/Icon.java, javax/swing/ImageIcon.java,
8709 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8710 javax/swing/JApplet.java, javax/swing/JButton.java,
8711 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8712 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8713 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8714 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8715 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8716 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8717 javax/swing/JLayeredPane.java, javax/swing/JList.java,
8718 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8719 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8720 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8721 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8722 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8723 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8724 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8725 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8726 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8727 javax/swing/JTextField.java, javax/swing/JTextPane.java,
8728 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8729 javax/swing/JToolTip.java, javax/swing/JTree.java,
8730 javax/swing/JViewport.java, javax/swing/JWindow.java,
8731 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8732 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8733 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8734 javax/swing/MenuSelectionManager.java,
8735 javax/swing/MutableComboBoxModel.java,
8736 javax/swing/OverlayLayout.java,
8737 javax/swing/plaf/ActionMapUIResource.java,
8738 javax/swing/plaf/basic/BasicBorders.java,
8739 javax/swing/plaf/basic/BasicButtonUI.java,
8740 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8741 javax/swing/plaf/basic/BasicDefaults.java,
8742 javax/swing/plaf/basic/BasicGraphicsUtils.java,
8743 javax/swing/plaf/basic/BasicIconFactory.java,
8744 javax/swing/plaf/basic/BasicLabelUI.java,
8745 javax/swing/plaf/basic/BasicListUI.java,
8746 javax/swing/plaf/basic/BasicLookAndFeel.java,
8747 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8748 javax/swing/plaf/basic/BasicPanelUI.java,
8749 javax/swing/plaf/basic/BasicRadioButtonUI.java,
8750 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8751 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8752 javax/swing/plaf/basic/BasicTextUI.java,
8753 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8754 javax/swing/plaf/basic/BasicTreeUI.java,
8755 javax/swing/plaf/basic/BasicViewportUI.java,
8756 javax/swing/plaf/BorderUIResource.java,
8757 javax/swing/plaf/ButtonUI.java,
8758 javax/swing/plaf/ColorChooserUI.java,
8759 javax/swing/plaf/ColorUIResource.java,
8760 javax/swing/plaf/ComboBoxUI.java,
8761 javax/swing/plaf/ComponentInputMapUIResource.java,
8762 javax/swing/plaf/ComponentUI.java,
8763 javax/swing/plaf/DesktopIconUI.java,
8764 javax/swing/plaf/DesktopPaneUI.java,
8765 javax/swing/plaf/DimensionUIResource.java,
8766 javax/swing/plaf/FileChooserUI.java,
8767 javax/swing/plaf/FontUIResource.java,
8768 javax/swing/plaf/IconUIResource.java,
8769 javax/swing/plaf/InputMapUIResource.java,
8770 javax/swing/plaf/InsetsUIResource.java,
8771 javax/swing/plaf/InternalFrameUI.java,
8772 javax/swing/plaf/LabelUI.java,
8773 javax/swing/plaf/ListUI.java,
8774 javax/swing/plaf/MenuBarUI.java,
8775 javax/swing/plaf/MenuItemUI.java,
8776 javax/swing/plaf/OptionPaneUI.java,
8777 javax/swing/plaf/PanelUI.java,
8778 javax/swing/plaf/PopupMenuUI.java,
8779 javax/swing/plaf/ProgressBarUI.java,
8780 javax/swing/plaf/RootPaneUI.java,
8781 javax/swing/plaf/ScrollBarUI.java,
8782 javax/swing/plaf/ScrollPaneUI.java,
8783 javax/swing/plaf/SeparatorUI.java,
8784 javax/swing/plaf/SliderUI.java,
8785 javax/swing/plaf/SplitPaneUI.java,
8786 javax/swing/plaf/TabbedPaneUI.java,
8787 javax/swing/plaf/TableHeaderUI.java,
8788 javax/swing/plaf/TableUI.java,
8789 javax/swing/plaf/TextUI.java,
8790 javax/swing/plaf/ToolBarUI.java,
8791 javax/swing/plaf/ToolTipUI.java,
8792 javax/swing/plaf/TreeUI.java,
8793 javax/swing/plaf/UIResource.java,
8794 javax/swing/plaf/ViewportUI.java,
8795 javax/swing/ProgressMonitorInputStream.java,
8796 javax/swing/ProgressMonitor.java,
8797 javax/swing/Renderer.java,
8798 javax/swing/RepaintManager.java,
8799 javax/swing/RootPaneContainer.java,
8800 javax/swing/Scrollable.java,
8801 javax/swing/ScrollPaneConstants.java,
8802 javax/swing/ScrollPaneLayout.java,
8803 javax/swing/SingleSelectionModel.java,
8804 javax/swing/SizeRequirements.java,
8805 javax/swing/SizeSequence.java,
8806 javax/swing/SwingConstants.java,
8807 javax/swing/SwingUtilities.java,
8808 javax/swing/table/AbstractTableModel.java,
8809 javax/swing/table/DefaultTableCellRenderer.java,
8810 javax/swing/table/DefaultTableColumnModel.java,
8811 javax/swing/table/DefaultTableModel.java,
8812 javax/swing/table/TableCellEditor.java,
8813 javax/swing/table/TableCellRenderer.java,
8814 javax/swing/table/TableColumn.java,
8815 javax/swing/table/TableColumnModel.java,
8816 javax/swing/table/TableModel.java,
8817 javax/swing/text/AbstractDocument.java,
8818 javax/swing/text/AttributeSet.java,
8819 javax/swing/text/BadLocationException.java,
8820 javax/swing/text/Caret.java,
8821 javax/swing/text/CharacterIterator.java,
8822 javax/swing/text/ComponentView.java,
8823 javax/swing/text/DefaultCaret.java,
8824 javax/swing/text/DefaultEditorKit.java,
8825 javax/swing/text/Document.java,
8826 javax/swing/text/EditorKit.java,
8827 javax/swing/text/Element.java,
8828 javax/swing/text/GapContent.java,
8829 javax/swing/text/JTextComponent.java,
8830 javax/swing/text/Keymap.java,
8831 javax/swing/text/MutableAttributeSet.java,
8832 javax/swing/text/PlainDocument.java,
8833 javax/swing/text/PlainEditorKit.java,
8834 javax/swing/text/Position.java,
8835 javax/swing/text/Segment.java,
8836 javax/swing/text/StyledDocument.java,
8837 javax/swing/text/StyledEditorKit.java,
8838 javax/swing/text/Style.java,
8839 javax/swing/text/TextAction.java,
8840 javax/swing/text/ViewFactory.java,
8841 javax/swing/text/View.java,
8842 javax/swing/Timer.java,
8843 javax/swing/ToggleButtonModel.java,
8844 javax/swing/ToolTipManager.java,
8845 javax/swing/tree/AbstractLayoutCache.java,
8846 javax/swing/tree/DefaultMutableTreeNode.java,
8847 javax/swing/tree/DefaultTreeCellEditor.java,
8848 javax/swing/tree/DefaultTreeCellRenderer.java,
8849 javax/swing/tree/DefaultTreeModel.java,
8850 javax/swing/tree/DefaultTreeSelectionModel.java,
8851 javax/swing/tree/ExpandVetoException.java,
8852 javax/swing/tree/FixedHeightLayoutCache.java,
8853 javax/swing/tree/MutableTreeNode.java,
8854 javax/swing/tree/RowMapper.java,
8855 javax/swing/tree/TreeCellEditor.java,
8856 javax/swing/tree/TreeCellRenderer.java,
8857 javax/swing/tree/TreeModel.java,
8858 javax/swing/tree/TreeNode.java,
8859 javax/swing/tree/TreePath.java,
8860 javax/swing/tree/TreeSelectionModel.java,
8861 javax/swing/tree/VariableHeightLayoutCache.java,
8862 javax/swing/UIDefaults.java,
8863 javax/swing/UIManager.java,
8864 javax/swing/undo/AbstractUndoableEdit.java,
8865 javax/swing/undo/CannotRedoException.java,
8866 javax/swing/undo/CannotUndoException.java,
8867 javax/swing/undo/CompoundEdit.java,
8868 javax/swing/undo/StateEditable.java,
8869 javax/swing/undo/StateEdit.java,
8870 javax/swing/undo/UndoableEdit.java,
8871 javax/swing/undo/UndoableEditSupport.java,
8872 javax/swing/undo/UndoManager.java,
8873 javax/swing/UnsupportedLookAndFeelException.java,
8874 javax/swing/ViewportLayout.java,
8875 javax/swing/WindowConstants.java: New files, from GNU Classpath.
8876
8877 * java/awt/ActiveEvent.java,
8878 java/awt/Adjustable.java, java/awt/AWTError.java,
8879 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8880 java/awt/AWTException.java, java/awt/AWTPermission.java,
8881 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8882 java/awt/Color.java, java/awt/Component.java,
8883 java/awt/ComponentOrientation.java, java/awt/Container.java,
8884 java/awt/datatransfer/MimeTypeParseException.java,
8885 java/awt/datatransfer/Transferable.java,
8886 java/awt/datatransfer/UnsupportedFlavorException.java,
8887 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8888 java/awt/event/ActionListener.java,
8889 java/awt/event/AdjustmentEvent.java,
8890 java/awt/event/AdjustmentListener.java,
8891 java/awt/event/AWTEventListener.java,
8892 java/awt/event/ComponentAdapter.java,
8893 java/awt/event/ComponentEvent.java,
8894 java/awt/event/ComponentListener.java,
8895 java/awt/event/ContainerAdapter.java,
8896 java/awt/event/ContainerEvent.java,
8897 java/awt/event/ContainerListener.java,
8898 java/awt/event/FocusAdapter.java,
8899 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8900 java/awt/event/HierarchyBoundsAdapter.java,
8901 java/awt/event/HierarchyBoundsListener.java,
8902 java/awt/event/HierarchyEvent.java,
8903 java/awt/event/HierarchyListener.java,
8904 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8905 java/awt/event/InputMethodListener.java,
8906 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8907 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8908 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8909 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8910 java/awt/event/MouseListener.java,
8911 java/awt/event/MouseMotionAdapter.java,
8912 java/awt/event/MouseMotionListener.java,
8913 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8914 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8915 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8916 java/awt/event/WindowListener.java, java/awt/Font.java,
8917 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8918 java/awt/geom/Ellipse2D.java,
8919 java/awt/geom/IllegalPathStateException.java,
8920 java/awt/geom/Line2D.java,
8921 java/awt/geom/NoninvertibleTransformException.java,
8922 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8923 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8924 java/awt/geom/RoundRectangle2D.java,
8925 java/awt/GraphicsConfiguration.java,
8926 java/awt/IllegalComponentStateException.java,
8927 java/awt/image/IndexColorModel.java,
8928 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8929 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8930 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8931 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8932 java/awt/MenuItem.java, java/awt/PaintContext.java,
8933 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8934 java/awt/Polygon.java, java/awt/PrintGraphics.java,
8935 java/awt/PrintJob.java, java/awt/Rectangle.java,
8936 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8937 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8938 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8939
8940 * java/awt/im/spi/InputMethod.java,
8941 java/awt/im/spi/InputMethodContext.java,
8942 java/awt/im/spi/InputMethodDescriptor.java,
8943 java/awt/image/renderable/ContextualRenderedImageFactory.java,
8944 java/awt/image/renderable/ParameterBlock.java,
8945 java/awt/image/renderable/RenderContext.java,
8946 java/awt/image/renderable/RenderableImage.java,
8947 java/awt/image/renderable/RenderableImageOp.java,
8948 java/awt/image/renderable/RenderableImageProducer.java,
8949 java/awt/image/renderable/RenderedImageFactory.java: New files from
8950 classpath.
8951
8952 * gnu/java/awt/EventModifier.java,
8953 gnu/java/awt/image/ImageDecoder.java,
8954 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8955
8956 * gnu/awt/xlib/XGraphicsConfiguration.java,
8957 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8958 API.
8959
8960 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8961 GNU Classpath.
8962
8963 * Makefile.am: Add new files.
8964 * Makefile.in: Rebuilt.
8965
8966 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8967
8968 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8969 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8970 findResource, getResources, findResources): Add javadoc from classpath.
8971 (getSystemResources): Implemented.
8972
8973 2002-08-01 Mark Wielaard <mark@klomp.org>
8974
8975 Revert patch that breaks libgcj shared library on powerpc:
8976 * gnu/java/security/provider/Gnu.java: Reverse referencing all
8977 implementation classes by using Class.getName(). Uses Strings again.
8978 * gnu/java/security/der/DEREncodingException.java,
8979 gnu/java/security/provider/DERReader.java,
8980 gnu/java/security/provider/DERWriter.java,
8981 gnu/java/security/provider/DSAKeyPairGenerator.java,
8982 gnu/java/security/provider/DSAParameterGenerator.java,
8983 gnu/java/security/provider/DSAParameters.java,
8984 gnu/java/security/provider/DSASignature.java,
8985 gnu/java/security/provider/GnuDSAPrivateKey.java,
8986 gnu/java/security/provider/GnuDSAPublicKey.java,
8987 gnu/java/security/provider/MD5.java,
8988 gnu/java/security/util/Prime.java: Removed.
8989 * Makefile.am (ordinary_java_source_files): Remove above files.
8990 * Makefile.in: Regenerate.
8991 * gnu/java/security/provider/DefaultPolicy.java
8992 (getPermissions): Revert to maintaining static class variable of
8993 Permissions.
8994 * gnu/java/security/provider/SHA.java
8995 (engineUpdate): Revert algorithm change.
8996 (engineDigest): Revert algorithm change.
8997
8998 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
8999
9000 * configure.host: Add SH support.
9001 * sysdep/sh/locks.h: New file.
9002
9003 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9004
9005 * java/awt/Frame.java (Frame): Remove println calls.
9006
9007 2002-07-30 Jeff Sturm <jsturm@one-point.com>
9008
9009 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
9010 * configure: Rebuilt.
9011
9012 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9013
9014 * sysdep/powerpc/locks.h: Formatting.
9015 (_LARX): Define.
9016 (_STCX): Define.
9017 (compare_and_swap): Use _LARX and _STCX.
9018 (compare_and_swap_release): Likewise.
9019
9020 2002-07-26 Tom Tromey <tromey@redhat.com>
9021
9022 * java/net/Authenticator.java: New version from Classpath.
9023 * java/net/DatagramSocketImpl.java: New version from Classpath.
9024
9025 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9026
9027 * configure.host: Add powerpc64*-* entry.
9028
9029 2002-07-26 Tom Tromey <tromey@redhat.com>
9030
9031 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9032 fcntl.h.
9033
9034 2002-07-24 Tom Tromey <tromey@redhat.com>
9035
9036 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9037 argument to _load.
9038
9039 2002-07-24 Tom Tromey <tromey@redhat.com>
9040 Tony Kimball <alk@pobox.com>
9041
9042 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9043 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9044 * java/io/RandomAccessFile.java (setLength): New method.
9045 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9046 * java/io/FileDescriptor.java (setLength): New method.
9047
9048 2002-07-24 Mark Wielaard <mark@klomp.org>
9049
9050 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9051 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9052 field call setAccessible(true).
9053 (setByteField): Likewise.
9054 (setCharField): Likewise.
9055 (setDoubleField): Likewise.
9056 (setFloatField): Likewise.
9057 (setIntField): Likewise.
9058 (setLongField): Likewise.
9059 (setShortField): Likewise.
9060 (setObjectField): Likewise.
9061
9062 2002-07-24 Tom Tromey <tromey@redhat.com>
9063
9064 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9065 use toString() to format array element.
9066
9067 2002-07-23 Mark Wielaard <mark@klomp.org>
9068
9069 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9070 MessageDigestSpi (fixes Classpath bug #783).
9071
9072 2002-07-21 Mark Wielaard <mark@klomp.org>
9073
9074 * gnu/java/security/provider/Gnu.java: Reference all implementation
9075 classes by using Class.getName().
9076
9077 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9078
9079 * java/lang/ieeefp.h: Add x86-64 support.
9080 * configure.in: Likewise.
9081 * configure.host: Likewise.
9082 * configure: Regenerated.
9083 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9084
9085 2002-07-16 Mark Wielaard <mark@klomp.org>
9086
9087 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9088 (whitespaceChars): call resetChar().
9089
9090 2002-07-15 Tom Tromey <tromey@redhat.com>
9091
9092 * Makefile.in: Rebuilt.
9093 * Makefile.am (awt_java_source_files): Added new files.
9094 * java/beans/ExceptionListener.java: Merged with Classpath.
9095 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9096 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9097 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9098 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9099 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9100 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9101 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9102
9103 2002-07-14 Mark Wielaard <mark@klomp.org>
9104
9105 * gnu/java/security/der/DEREncodingException.java,
9106 gnu/java/security/provider/DERReader.java,
9107 gnu/java/security/provider/DERWriter.java,
9108 gnu/java/security/provider/DSAKeyPairGenerator.java,
9109 gnu/java/security/provider/DSAParameterGenerator.java,
9110 gnu/java/security/provider/DSAParameters.java,
9111 gnu/java/security/provider/DSASignature.java,
9112 gnu/java/security/provider/GnuDSAPrivateKey.java,
9113 gnu/java/security/provider/GnuDSAPublicKey.java,
9114 gnu/java/security/provider/MD5.java,
9115 gnu/java/security/util/Prime.java: New files from Classpath.
9116 * Makefile.am (ordinary_java_source_files): Add new files.
9117 * Makefile.in: Regenerate.
9118
9119 2002-07-14 C. Brian Jones <cbj@gnu.org>
9120
9121 * gnu/java/security/provider/DefaultPolicy.java
9122 (getPermissions): do not maintain static class variable of
9123 Permissions
9124 * gnu/java/security/provider/SHA.java
9125 (engineUpdate): algorithm change
9126 (engineDigest): algorithm change
9127
9128 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9129
9130 For PR libgcj/7292:
9131 * java/lang/Character.java (toString(char)): Now static.
9132
9133 2002-07-12 Mark Wielaard <mark@klomp.org>
9134
9135 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9136 (getStackTrace0): new method.
9137 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9138 (printStackTrace(PrintWriter)): replace with pure java implementation.
9139 (printRawStackTrace): removed.
9140 (getStackTrace0): new method.
9141 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9142 * gcj/javaprims.h: regenerate class list.
9143 * include/name-finder.h (lookup): new returns StackTraceElement*.
9144 (method_name, file_name): fields removed.
9145 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9146 (~_Jv_name_finder): close new descriptors.
9147 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9148 (createStackTraceElement): new method.
9149 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9150
9151 2002-07-10 Tom Tromey <tromey@redhat.com>
9152
9153 * configure: Rebuilt.
9154 * configure.in: Use `test' after `&&'. From Chris Faylor.
9155
9156 2002-07-08 Mark Wielaard <mark@klomp.org>
9157
9158 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9159 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9160 java.sql.DatabaseMetaData.TestJdbc20
9161
9162 2002-07-05 Tony Kimball <alk@pobox.com>
9163
9164 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9165
9166 2002-07-04 Tom Tromey <tromey@redhat.com>
9167 Jeff Sturm <jsturm@one-point.com>
9168
9169 Fix for PR libgcj/7060:
9170 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9171 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9172 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9173 * java/lang/Class.java (getMethod): New Java implementation;
9174 complies with spec.
9175 (_getMethod): New native method.
9176
9177 2002-07-02 Tom Tromey <tromey@redhat.com>
9178 David Hovemeyer <daveho@cs.umd.edu>
9179
9180 * java/text/ChoiceFormat.java
9181 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9182 in check loop.
9183 * java/text/MessageFormat.java
9184 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9185 to MessageFormat.
9186
9187 2002-07-01 Tom Tromey <tromey@redhat.com>
9188
9189 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9190 StringTokenizer on null string. For PR libgcj/7180.
9191 From daveho@cs.umd.edu.
9192
9193 2002-06-24 Tom Tromey <tromey@redhat.com>
9194
9195 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9196 (IntegerClass): Likewise.
9197 * java/lang/natClass.cc (CloneableClass): Removed.
9198 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9199 ConstructorClass): Likewise.
9200 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9201 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9202 SerializableClass): Likewise.
9203 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9204 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9205 LongClass, FloatClass, DoubleClass): Likewise.
9206
9207 * verify.cc (branch_prepass): Updated for change to exception
9208 handler type.
9209 (verify_instructions_0): Likewise.
9210 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9211 (handleExceptionTableEntry): Updated for change to exception
9212 handler type.
9213 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9214 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9215 (union _Jv_InterpPC): New.
9216 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9217 (class _Jv_InterpMethod): Added new `prepared' field.
9218 (class _Jv_InterpMethod): Added `compile' method. Removed
9219 `continue1' and `find_exception'. Changed arguments to `run'.
9220 * interpret.cc (union insn_slot): New.
9221 (find_exception): Removed.
9222 (run_normal): Removed most logic.
9223 (run_synch_object): Likewise; also, use JvSynchronize.
9224 (run_synch_class): Likewise.
9225 (run): Removed.
9226 (continue1): Renamed as `run'. Compile bytecode if required.
9227 Add new code to allow refinement of direct-threaded code at
9228 runtime. Handle exceptions.
9229 (SAVE_PC): Removed.
9230 (compile): New method.
9231 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9232 (NULLARRAYCHECK): Don't use SAVE_PC.
9233 (pc_t): New typedef.
9234 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9235 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9236
9237 2002-06-23 Tom Tromey <tromey@redhat.com>
9238
9239 * configure: Rebuilt.
9240 * configure.in (INTERPRETER): New subst.
9241 (AM_RUNTESTFLAGS): Don't subst.
9242
9243 * Makefile.in: Rebuilt.
9244 * Makefile.am ($(srcdir)/java/lang/Object.h,
9245 $(srcdir)/java/lang/Class.h): Added dummy targets.
9246
9247 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9248
9249 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9250
9251 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9252 java/sql/Savepoint.java: New files.
9253 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9254 java/sql/Blob.java, java/sql/CallableStatement.java,
9255 java/sql/Clob.java, java/sql/Connection.java,
9256 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9257 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9258 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9259 java/sql/Ref.java, java/sql/ResultSet.java,
9260 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9261 java/sql/SQLException.java, java/sql/SQLInput.java,
9262 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9263 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9264 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9265 (JDK 1.4) specification.
9266 * javax/sql/ConnectionEvent.java,
9267 javax/sql/ConnectionEventListener.java,
9268 javax/sql/ConnectionPoolDataSource.java,
9269 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9270 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9271 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9272 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9273 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9274 javax/sql/XADataSource.java: New files.
9275 * Makefile.am: Add new files.
9276 * Makefile.in: Rebuilt.
9277
9278 2002-06-20 Tom Tromey <tromey@redhat.com>
9279
9280 For PR libgcj/7073:
9281 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9282 exists.
9283 * defineclass.cc (handleClassBegin): Superclass for interface is
9284 `null'.
9285
9286 2002-06-18 Tom Tromey <tromey@redhat.com>
9287
9288 * gcj/javaprims.h: Updated class declaration list.
9289 * Makefile.in: Rebuilt.
9290 * Makefile.am (core_java_source_files): Removed
9291 BasicMapEntry.java.
9292 * java/util/BasicMapEntry.java: Removed.
9293
9294 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9295
9296 * java/net/natPlainDatagramSocketImpl.cc (receive):
9297 Check bounds of argument to FD_SET.
9298 (setOption): Throw exception if socket is closed.
9299
9300 * java/net/natPlainSocketImpl.cc (accept, read):
9301 Check bounds of argument to FD_SET.
9302 (setOption): Throw exception if socket is closed.
9303
9304 2002-06-18 Tom Tromey <tromey@redhat.com>
9305
9306 * gcj/javaprims.h: Updated class declaration list.
9307 * Makefile.in: Rebuilt.
9308 * Makefile.am (core_java_source_files): Added
9309 PropertyPermissionCollection.java.
9310 * java/lang/Thread.java (group, name): Now package-private.
9311 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9312 * java/util/AbstractList.java: Likewise.
9313 * java/util/AbstractMap.java: Likewise.
9314 * java/util/Calendar.java: Likewise.
9315 * java/util/Collections.java: Likewise.
9316 * java/util/HashMap.java: Likewise.
9317 * java/util/Hashtable.java: Likewise.
9318 * java/util/LinkedHashMap.java: Likewise.
9319 * java/util/LinkedList.java: Likewise.
9320 * java/util/List.java: Likewise.
9321 * java/util/ListResourceBundle.java: Likewise.
9322 * java/util/Map.java: Likewise.
9323 * java/util/Observable.java: Likewise.
9324 * java/util/Properties.java: Likewise.
9325 * java/util/PropertyPermission.java: Likewise.
9326 * java/util/PropertyPermissionCollection.java: Likewise.
9327 * java/util/PropertyResourceBundle.java: Likewise.
9328 * java/util/Random.java: Likewise.
9329 * java/util/SimpleTimeZone.java: Likewise.
9330 * java/util/StringTokenizer.java: Likewise.
9331 * java/util/TimerTask.java: Likewise.
9332 * java/util/TreeMap.java: Likewise.
9333 * java/util/WeakHashMap.java: Likewise.
9334 * java/util/jar/Attributes.java: Likewise.
9335 * java/util/jar/JarException.java: Likewise.
9336 * java/util/jar/Manifest.java: Likewise.
9337
9338 2002-06-17 Tom Tromey <tromey@redhat.com>
9339
9340 * gcj/javaprims.h: Updated class declaration list.
9341 * Makefile.in: Rebuilt.
9342 * Makefile.am (core_java_source_files): Added new file.
9343 * java/util/EventListenerProxy.java: New file.
9344 * java/util/EventListener.java: Re-merge with Classpath.
9345 * java/util/EventObject.java: Re-merge with Classpath.
9346
9347 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9348
9349 * java/lang/ClassNotFoundException.java: New Classpath version.
9350
9351 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9352
9353 * java/rmi/activation/ActivateFailedException.java: Remerge from
9354 Classpath version.
9355 * java/rmi/activation/ActivationException.java: Ditto.
9356 * java/rmi/activation/UnknownGroupException.java: Ditto.
9357 * java/rmi/activation/UnknownObjectException.java: Ditto.
9358 * java/rmi/server/ExportException: Ditto.
9359 * java/rmi/server/ServerCloneException: Ditto.
9360 * java/rmi/server/ServerNotActiveException: Ditto.
9361 * java/rmi/server/SkeletonMismatchException: Ditto.
9362 * java/rmi/server/SkeletonNotFoundException: Ditto.
9363 * java/rmi/server/SocketSecurityException: Ditto.
9364
9365 2002-06-16 Tom Tromey <tromey@redhat.com>
9366
9367 * gcj/javaprims.h: Updated class declaration list.
9368
9369 * java/io/LineNumberInputStream.java: Merged with Classpath.
9370
9371 * java/lang/RuntimeException.java: Re-merge with Classpath.
9372 * java/util/ArrayList.java: Likewise.
9373 * java/util/Arrays.java: Likewise.
9374 * java/util/BitSet.java: Likewise.
9375 * java/util/Dictionary.java: Likewise.
9376 * java/util/IdentityHashMap.java: Likewise.
9377 * java/util/MissingResourceException.java: Likewise.
9378 * java/util/Observer.java: Likewise.
9379 * java/util/TooManyListenersException.java: Likewise.
9380 * java/util/zip/DataFormatException.java: Likewise.
9381 * java/util/zip/ZipException.java: Likewise.
9382
9383 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9384
9385 * java/rmi/AccessException.java: Remerge from Classpath.
9386 * java/rmi/AlreadyBoundException.java: Ditto.
9387 * java/rmi/ConnectException.java: Ditto.
9388 * java/rmi/ConnectIOException.java: Ditto.
9389 * java/rmi/MarshalException.java: Ditto.
9390 * java/rmi/NoSuchObjectException.java: Ditto.
9391 * java/rmi/NotBoundException.java: Ditto.
9392 * java/rmi/RemoteException.java: Ditto.
9393 * java/rmi/RMISecurityException.java: Ditto.
9394 * java/rmi/ServerError.java: Ditto.
9395 * java/rmi/ServerException.java: Ditto.
9396 * java/rmi/ServerRuntimeException.java: Ditto.
9397 * java/rmi/StubNotFoundException.java: Ditto.
9398 * java/rmi/UnexpectedExcpetion.java: Ditto.
9399 * java/rmi/UnknownHostException.java: Ditto.
9400 * java/rmi/UnmarshalException.java: Ditto.
9401
9402 2002-06-15 Tom Tromey <tromey@redhat.com>
9403
9404 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9405 * java/lang/ArithmeticException.java: Likewise.
9406 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9407 * java/lang/ArrayStoreException.java: Likewise.
9408 * java/lang/Byte.java: Likewise.
9409 * java/lang/CharSequence.java: Likewise.
9410 * java/lang/ClassCastException.java: Likewise.
9411 * java/lang/ClassCircularityError.java: Likewise.
9412 * java/lang/ClassFormatError.java: Likewise.
9413 * java/lang/CloneNotSupportedException.java: Likewise.
9414 * java/lang/Cloneable.java: Likewise.
9415 * java/lang/Comparable.java: Likewise.
9416 * java/lang/Compiler.java: Likewise.
9417 * java/lang/Error.java: Likewise.
9418 * java/lang/ExceptionInInitializerError.java: Likewise.
9419 * java/lang/IllegalAccessError.java: Likewise.
9420 * java/lang/IllegalAccessException.java: Likewise.
9421 * java/lang/IllegalArgumentException.java: Likewise.
9422 * java/lang/IllegalMonitorStateException.java: Likewise.
9423 * java/lang/IllegalStateException.java: Likewise.
9424 * java/lang/IllegalThreadStateException.java: Likewise.
9425 * java/lang/IncompatibleClassChangeError.java: Likewise.
9426 * java/lang/IndexOutOfBoundsException.java: Likewise.
9427 * java/lang/InheritableThreadLocal.java: Likewise.
9428 * java/lang/InstantiationError.java: Likewise.
9429 * java/lang/InstantiationException.java: Likewise.
9430 * java/lang/InternalError.java: Likewise.
9431 * java/lang/InterruptedException.java: Likewise.
9432 * java/lang/LinkageError.java: Likewise.
9433 * java/lang/NegativeArraySizeException.java: Likewise.
9434 * java/lang/NoClassDefFoundError.java: Likewise.
9435 * java/lang/NoSuchFieldError.java: Likewise.
9436 * java/lang/NoSuchFieldException.java: Likewise.
9437 * java/lang/NoSuchMethodError.java: Likewise.
9438 * java/lang/NoSuchMethodException.java: Likewise.
9439 * java/lang/NullPointerException.java: Likewise.
9440 * java/lang/NumberFormatException.java: Likewise.
9441 * java/lang/OutOfMemoryError.java: Likewise.
9442 * java/lang/Process.java: Likewise.
9443 * java/lang/Runnable.java: Likewise.
9444 * java/lang/RuntimePermission.java: Likewise.
9445 * java/lang/SecurityException.java: Likewise.
9446 * java/lang/Short.java: Likewise.
9447 * java/lang/StackOverflowError.java: Likewise.
9448 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9449 * java/lang/ThreadDeath.java: Likewise.
9450 * java/lang/ThreadLocal.java: Likewise.
9451 * java/lang/UnknownError.java: Likewise.
9452 * java/lang/UnsatisfiedLinkError.java: Likewise.
9453 * java/lang/UnsupportedClassVersionError.java: Likewise.
9454 * java/lang/UnsupportedOperationException.java: Likewise.
9455 * java/lang/VerifyError.java: Likewise.
9456 * java/lang/VirtualMachineError.java: Likewise.
9457 * java/lang/reflect/InvocationTargetException.java: Likewise.
9458 * java/net/BindException.java: Likewise.
9459 * java/net/ConnectException.java: Likewise.
9460 * java/net/MalformedURLException.java: Likewise.
9461 * java/net/NoRouteToHostException.java: Likewise.
9462 * java/net/ProtocolException.java: Likewise.
9463 * java/net/SocketException.java: Likewise.
9464 * java/net/UnknownHostException.java: Likewise.
9465 * java/net/UnknownServiceException.java: Likewise.
9466
9467 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9468 * java/io/CharConversionException.java: Likewise.
9469 * java/io/EOFException.java: Likewise.
9470 * java/io/FileNotFoundException.java: Likewise.
9471 * java/io/IOException.java: Likewise.
9472 * java/io/InterruptedIOException.java: Likewise.
9473 * java/io/InvalidClassException.java: Likewise.
9474 * java/io/InvalidObjectException.java: Likewise.
9475 * java/io/NotActiveException.java: Likewise.
9476 * java/io/NotSerializableException.java: Likewise.
9477 * java/io/ObjectStreamException.java: Likewise.
9478 * java/io/ObjectStreamConstants.java: Likewise.
9479 * java/io/OptionalDataException.java: Likewise.
9480 * java/io/PipedInputStream.java: Likewise.
9481 * java/io/PushbackInputStream.java: Likewise.
9482 * java/io/StreamCorruptedException.java: Likewise.
9483 * java/io/SyncFailedException.java: Likewise.
9484 * java/io/UTFDataFormatException.java: Likewise.
9485 * java/io/UnsupportedEncodingException.java: Likewise.
9486 * java/io/WriteAbortedException.java: Likewise.
9487
9488 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9489
9490 * java/text/ChoiceFormat.java: Update comments from Classpath.
9491 * java/text/ParseException.java (serialVersionUID): New
9492 field from Classpath.
9493 * java/text/ParseException.java: Update formatting & comments
9494 from Classpath.
9495
9496 2002-06-15 Tom Tromey <tromey@redhat.com>
9497
9498 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9499 been read but none output by inflater.
9500 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9501 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9502 is_finished.
9503 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9504 version.
9505 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9506 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9507 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9508 version.
9509 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9510
9511 2002-06-13 Tom Tromey <tromey@redhat.com>
9512
9513 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9514 true and OFFSET!=0.
9515 * java/lang/String.java (String(char[],int,int,boolean): New
9516 constructor.
9517 * java/lang/Long.java: Imported new version from Classpath.
9518 * java/lang/Number.java: Likewise.
9519 * java/lang/Integer.java: Likewise.
9520 * java/lang/Long.java: Likewise.
9521 * java/lang/Float.java: Likewise.
9522 * java/lang/Boolean.java: Likewise.
9523 * java/lang/Double.java: Likewise.
9524 * java/lang/Void.java: Likewise.
9525
9526 2002-06-12 Tom Tromey <tromey@redhat.com>
9527
9528 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9529 Fixes PR libgcj/6652.
9530
9531 2002-06-10 Tom Tromey <tromey@redhat.com>
9532
9533 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9534 (Class::getPackagePortion): Likewise.
9535 * java/lang/Class.java (desiredAssertionStatus): New method from
9536 Classpath.
9537 (getPackagePortion): Likewise.
9538 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9539 packageAssertionStatus, classAssertionStatus): New methods from
9540 Classpath.
9541 * java/lang/ClassLoader.java (defaultAssertionStatus,
9542 systemPackageAssertionStatus, packageAssertionStatus,
9543 systemClassAssertionStatus, classAssertionStatus): New fields from
9544 Classpath.
9545 (setDefaultAssertionStatus, setPackageAssertionStatus,
9546 setClassAssertionStatus, clearAssertionStatus): New methods from
9547 Classpath.
9548 * Makefile.in: Rebuilt.
9549 * Makefile.am (core_java_source_files): Added AssertionError.java.
9550 * java/lang/AssertionError.java: New from Classpath.
9551
9552 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9553
9554 * configure.host: Disable hash synchronization and slow_pthread_self
9555 for cygwin.
9556
9557 2002-06-06 Adam Megacz <adam@xwt.org>
9558
9559 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9560 locking, just like the Sun JVM does.
9561
9562 2002-06-05 H.J. Lu (hjl@gnu.org)
9563
9564 * Makefile.am (libgcj_convenience.la): Revert the last change.
9565 (libgcj.la): Likewise.
9566 * Makefile.in: Regenerated.
9567
9568 2002-06-04 H.J. Lu (hjl@gnu.org)
9569
9570 * Makefile.am (libgcj_convenience.la): New target.
9571 (libgcj.la): Depend on libgcj_convenience.la.
9572 * Makefile.in: Regenerated.
9573
9574 2002-06-04 H.J. Lu (hjl@gnu.org)
9575
9576 * configure.in (--with-newlib): New option:
9577 Check ${with_newlib} instead of ${with_cross_host} for newlib.
9578 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9579 Linux.
9580 * configure: Regenerated.
9581
9582 2002-06-04 Tom Tromey <tromey@redhat.com>
9583
9584 * java/util/natTimeZone.cc: Include <stdio.h>.
9585
9586 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
9587
9588 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9589 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9590 Set SIGNAL_HANDLER=include/s390-linux.h.
9591 * configure: Regenerate.
9592 * include/s390-linux.h: New file.
9593
9594 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9595
9596 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9597 not "stackTrace".
9598
9599 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9600
9601 Merge JDK 1.4 java.security changes from classpath.
9602
9603 * java/security/AccessControlException.java: Merge from Classpath.
9604 * java/security/AccessController.java: Likewise.
9605 * java/security/AllPermission.java: Likewise.
9606 * java/security/BasicPermission.java: Likewise.
9607 * java/security/Certificate.java: Likewise.
9608 * java/security/CodeSource.java: Likewise.
9609 * java/security/DigestException.java: Likewise.
9610 * java/security/DigestOutputStream.java: Likewise.
9611 * java/security/DomainCombiner.java: Likewise.
9612 * java/security/GeneralSecurityException.java: Likewise.
9613 * java/security/Guard.java: Likewise.
9614 * java/security/GuardedObject.java: Likewise.
9615 * java/security/InvalidAlgorithmParameterException.java: Likewise.
9616 * java/security/InvalidKeyException.java: Likewise.
9617 * java/security/InvalidParameterException.java: Likewise.
9618 * java/security/Key.java: Likewise.
9619 * java/security/KeyException.java: Likewise.
9620 * java/security/KeyManagementException.java: Likewise.
9621 * java/security/KeyStoreException.java: Likewise.
9622 * java/security/MessageDigest.java: Likewise.
9623 * java/security/NoSuchAlgorithmException.java: Likewise.
9624 * java/security/NoSuchProviderException.java: Likewise.
9625 * java/security/Permission.java: Likewise.
9626 * java/security/PermissionCollection.java: Likewise.
9627 * java/security/Permissions.java: Likewise.
9628 * java/security/Policy.java: Likewise.
9629 * java/security/Principal.java: Likewise.
9630 * java/security/PrivateKey.java: Likewise.
9631 * java/security/PrivilegedAction.java: Likewise.
9632 * java/security/PrivilegedActionException.java: Likewise.
9633 * java/security/PrivilegedExceptionAction.java: Likewise.
9634 * java/security/ProtectionDomain.java: Likewise.
9635 * java/security/ProviderException.java: Likewise.
9636 * java/security/PublicKey.java: Likewise.
9637 * java/security/SecureClassLoader.java: Likewise.
9638 * java/security/SecurityPermission.java: Likewise.
9639 * java/security/SignatureException.java: Likewise.
9640 * java/security/UnrecoverableKeyException.java: Likewise.
9641 * java/security/UnresolvedPermission.java: Likewise.
9642 * java/security/acl/AclNotFoundException.java: Likewise.
9643 * java/security/acl/LastOwnerException.java: Likewise.
9644 * java/security/acl/NotOwnerException.java: Likewise.
9645 * java/security/cert/CRLException.java: Likewise.
9646 * java/security/cert/CertificateEncodingException.java: Likewise.
9647 * java/security/cert/CertificateException.java: Likewise.
9648 * java/security/cert/CertificateExpiredException.java: Likewise.
9649 * java/security/cert/CertificateFactory.java: Likewise.
9650 * java/security/cert/CertificateNotYetValidException.java: Likewise.
9651 * java/security/cert/CertificateParsingException.java: Likewise.
9652 * java/security/spec/InvalidKeySpecException.java: Likewise.
9653 * java/security/spec/InvalidParameterSpecException.java: Likewise.
9654
9655 * java/security/cert/CertPath.java: New file.
9656 * java/security/cert/CertPathBuilderException.java: New file.
9657 * java/security/cert/CertPathValidatorException.java: New file.
9658 * java/security/cert/CertStoreException.java: New file.
9659
9660 * Makefile.am: Add new CertPath classes.
9661 * Makefile.in: Rebuilt.
9662
9663 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9664
9665 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9666
9667 Merge JDK 1.4 exception chaining support from classpath.
9668
9669 * java/lang/Throwable.java: Merge 1.4 support from classpath.
9670 (stackTraceBytes): Rename from stackTrace.
9671 * java/lang/Exception.java: Merge from classpath.
9672 * java/lang/StackTraceElement: New file from classpath.
9673 * gcj/javaprims.h: Rebuild CNI namespace declarations.
9674 * Makefile.am: Add StackTraceElement.
9675 * Makefile.in: Rebuilt.
9676
9677 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9678
9679 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9680 they build first.
9681 * Makefile.in: Rebuilt.
9682
9683 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9684
9685 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9686 * configure.in: Likewise.
9687 * aclocal.m4: Regenerate.
9688 * configure: Regenerate.
9689
9690 2002-05-13 Tom Tromey <tromey@redhat.com>
9691
9692 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9693 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9694 Include platform.h.
9695
9696 Fixes PR libgcj/6389:
9697 * Makefile.in: Rebuilt.
9698 * Makefile.am (nat_source_files): Added natTimeZone.cc.
9699 * java/util/natTimeZone.cc: New file.
9700 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9701 * java/lang/System.java: Merged with Classpath.
9702 * java/lang/Runtime.java: Merged with Classpath.
9703 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9704 security check.
9705 (setIn0): Renamed from setIn; don't run security check.
9706 (setOut0): Renamed from setOut; don't run security check.
9707 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9708 init_properties): Moved to natRuntime.cc.
9709 Moved many includes to natRuntime.cc.
9710 (isWordsBigEndian): New method.
9711 * java/lang/natRuntime.cc: Include Long.h, also other includes
9712 previously in natSystem.cc.
9713 (maxMemory): New function.
9714 (exitInternal): Renamed from `_exit'.
9715 (exit): Removed.
9716 (init): Don't set finalize_on_exit.
9717 (exitInternal): Use `finalizeOnExit'.
9718 (file_encoding, getpwuid_adaptor): New functions from
9719 natSystem.cc.
9720 (insertSystemProperties): New method, renamed from
9721 System::init_properties. Don't set user.timezone.
9722 (_load): Don't call checkLink.
9723 (execInternal): New method.
9724 (availableProcessors): Likewise.
9725 (nativeGetLibname): Likewise.
9726
9727 2002-05-11 Mark Wielaard <mark@klomp.org>
9728
9729 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9730 space characters.
9731 (previous_internal): Likewise.
9732
9733 2002-05-09 Tom Tromey <tromey@redhat.com>
9734
9735 * jni.cc (_Jv_JNIFunctions): Fixed typo.
9736
9737 * java/util/ResourceBundle.java: New version from Classpath.
9738 * java/util/Locale.java: Likewise.
9739
9740 2002-05-09 Jakub Jelinek <jakub@redhat.com>
9741
9742 * testsuite/lib/libjava.exp (libjava_arguments): Append all
9743 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9744 LD_LIBRARY_PATH.
9745
9746 2002-05-08 Mark Mitchell <mark@codesourcery.com>
9747
9748 * libjava/Makefile.am (all_java_source_files): New variable.
9749 (all_java_class_files): Likewise.
9750 .java.class: New rule.
9751 (CLEANFILES): Remove tmp-list.
9752 * libjava/Makefile.in: Regenerated.
9753
9754 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
9755
9756 * testsuite/lib/libjava.exp (test_libjava_from_javac):
9757 Append .exe to executable names. Fix for cygwin.
9758
9759 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
9760
9761 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9762 script entry, and set LD to it when configuring multilibs.
9763 * configure: Rebuilt.
9764
9765 2002-05-07 Tom Tromey <tromey@redhat.com>
9766
9767 * java/lang/natString.cc (unintern): Fixed typo.
9768
9769 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9770
9771 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9772 with -no-install on *-*-cygwin*.
9773
9774 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9775
9776 * testsuite/lib/libjava.exp (test_libjava_from_source):
9777 Add comment explaining last patch
9778
9779 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
9780
9781 * testsuite/lib/libjava.exp (test_libjava_from_source):
9782 Append .exe to executable names. If no suffix is present,
9783 then ".exe" is added by default on win32. Harmless
9784 elsewhere so always do it.
9785
9786 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
9787 Tom Tromey <tromey@redhat.com>
9788
9789 * java/lang/natSystem.cc (getSystemTimeZone): Use
9790 HAVE_UNDERSCORE_TIMEZONE.
9791 * include/config.h.in: Rebuilt.
9792 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9793 * aclocal.m4, configure: Rebuilt.
9794 * acinclude.m4: Run AC_EXEEXT.
9795 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9796 Add test for `_timezone'.
9797
9798 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
9799
9800 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9801 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9802 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9803 * Makefile.in: Rebuilt.
9804
9805 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
9806
9807 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9808 use sigaction instead of __libc_sigaction.
9809
9810 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9811
9812 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9813 (libjava_init): Use it to find libgcj.spec.
9814 (libjava_arguments): Likewise.
9815
9816 2002-05-02 David S. Miller <davem@redhat.com>
9817
9818 PR bootstrap/6525
9819 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9820 __libc_sigaction on Sparc.
9821
9822 2002-05-02 Jerome Marc <marcjero@yahoo.com>
9823
9824 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9825 sys/filio.h, if present.
9826
9827 2002-04-30 Tom Tromey <tromey@redhat.com>
9828
9829 * java/io/BufferedReader.java (fill): Handle case where markPos
9830 point to ignored \n. Fixes PR libgcj/6301.
9831
9832 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
9833
9834 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9835
9836 2002-04-29 Adam King <aking@dreammechanics.com>
9837
9838 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9839 of file in APPEND mode.
9840
9841 2002-04-25 David S. Miller <davem@redhat.com>
9842
9843 PR target/6422
9844 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9845 program counter to next program counter minus 8. Update
9846 comments in this macro to explain why.
9847
9848 2002-04-26 Tom Tromey <tromey@redhat.com>
9849
9850 * verify.cc (construct_primitive_array_type) [void_type]: New
9851 case.
9852 (branch_prepass): Added dummy entries for unused instruction
9853 values.
9854 (verify_instructions_0): Likewise.
9855 * interpret.cc (continue1): Comment fix.
9856 * include/java-insns.h (op_xxxunusedxxx1): Removed.
9857 * Makefile.in: Rebuilt.
9858 * Makefile.am: Added -Wswitch-enum.
9859
9860 2002-04-24 Tom Tromey <tromey@redhat.com>
9861
9862 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9863 correct length of UTF-8 encoded name. Strip leading `/'.
9864 (_Jv_RegisterResource): Use _Jv_Malloc.
9865
9866 2002-04-23 Adam Megacz <adam@xwt.org>
9867
9868 * win32.cc, include/win32.cc (backtrace): Added this function
9869 because Win32 does not supply it.
9870
9871 2002-04-21 David S. Miller <davem@redhat.com>
9872
9873 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9874 magic instruction reading sequence.
9875
9876 2002-04-21 Mark Wielaard <mark@klomp.org>
9877
9878 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9879
9880 2002-04-19 David S. Miller <davem@redhat.com>
9881
9882 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9883 arg.
9884 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9885 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9886 on Sparc too.
9887 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9888 for 64-bit sparc.
9889 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9890 * sysdeps/sparc/locks.h: New file.
9891 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9892 on all sparc Solaris configurations. Set to
9893 include/dwarf2-signal.h on sparc Linux.
9894 * configure: Regenerate
9895 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9896
9897 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
9898
9899 * configure: Rebuilt.
9900 * configure.in (backtrace): Function doesn't work on IA-64.
9901
9902 2002-04-17 Adam King <aking@dreammechanics.com>
9903
9904 * java/io/File.java (normalizePath): Add Win32 support for auto
9905 conversion of a '/' path separator to Win32's '\' separator.
9906
9907 2002-04-16 Tom Tromey <tromey@redhat.com>
9908
9909 Fix for PR libgcj/6081:
9910 * Makefile.in: Rebuilt.
9911 * Makefile.am (install-data-local): Use GNU make trick to avoid
9912 shell limit.
9913
9914 2002-04-16 Adam King <aking@dreammechanics.com>
9915 Tom Tromey <tromey@redhat.com>
9916
9917 * java/io/natFileWin32.cc (performList): Return the correct array
9918 type. Don't duplicate the creation of a File since it's already
9919 done earlier in the method and the existing code would cause a
9920 ArrayStoreException. Don't use fixed-size array.
9921 (_access, _stat, attr, getCanonicalPath, performMkdir,
9922 performRenameTo): Don't use fixed-size array.
9923 (getCanonicalPath): Use throw, not _Jv_Throw.
9924
9925 2002-04-15 DJ Delorie <dj@redhat.com>
9926
9927 * configure.in: Allow building in $srcdir.
9928 * configure: Regenerated.
9929
9930 2002-04-14 Mark Wielaard <mark@klomp.org>
9931
9932 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9933 * java/net/natSocketImpl.cc (close): Likewise.
9934
9935 2002-04-14 Mark Wielaard <mark@klomp.org>
9936
9937 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9938
9939 2002-04-13 Adam King <aking@dreammechanics.com>
9940
9941 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9942 the f/F/d/D modifiers.
9943
9944 2002-04-12 Anthony Green <green@redhat.com>
9945
9946 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9947 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9948 * Makefile.in: Rebuilt.
9949 * configure.in: Substitute gcc_version.
9950 * configure: Rebuilt.
9951
9952 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9953
9954 * configure.host: Set can_unwind_signal on hosts which support it.
9955 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9956 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9957 exceptions and can_unwind_signal isn't set.
9958 * configure: Rebuilt.
9959
9960 2002-04-11 Tom Tromey <tromey@redhat.com>
9961
9962 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9963
9964 2002-04-11 Adam King <aking@dreammechanics.com>
9965 Tom Tromey <tromey@redhat.com>
9966
9967 * include/jvm.h (_Jv_ThrowBadArrayIndex,
9968 _Jv_ThrowNullPointerException): Mark as noreturn.
9969 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9970 and _Jv_free. Correctly invoke GetTempPath(). Indentation
9971 fixes.
9972
9973 2002-04-10 Tom Tromey <tromey@redhat.com>
9974
9975 * Makefile.in: Rebuilt.
9976 * Makefile.am (java/lang/Thread.h): Mark
9977 _Jv_AttachCurrentThreadAsDaemon as friend.
9978 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9979 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9980 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9981 function.
9982 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9983 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9984 (_Jv_JNI_InvokeFunctions): Added
9985 _Jv_JNI_AttachCurrentThreadAsDaemon.
9986 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9987 (JNI_GetDefaultJavaVMInitArgs): Likewise.
9988 (JNI_CreateJavaVM): Likewise.
9989 (_Jv_JNI_AttachCurrentThread): Likewise.
9990 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9991 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9992 (_Jv_JNIFunctions): Initialize new fields.
9993 (_Jv_JNI_NewDirectByteBuffer): New function.
9994 (_Jv_JNI_GetDirectBufferAddress): Likewise.
9995 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9996 * include/jni.h (JNI_VERSION_1_4): New macro.
9997 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9998 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9999 (JNINativeInterface::NewDirectByteBuffer): New field.
10000 (JNINativeInterface::GetDirectBufferAddress): New field.
10001 (JNINativeInterface::GetDirectBufferCapacity): New field.
10002 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
10003 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
10004 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
10005
10006 2002-04-09 Tom Tromey <tromey@redhat.com>
10007
10008 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
10009
10010 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
10011
10012 Fix for PR libgcj/6187:
10013 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
10014 distance.
10015
10016 2002-04-07 Mark Wielaard <mark@klomp.org>
10017
10018 * java/util/AbstractMap.java (putAll): Use entrySet size.
10019 (toString): Explicitly use getKey() and getValue().
10020
10021 2002-04-07 Mark Wielaard <mark@klomp.org>
10022
10023 * java/util/Hashtable.java (contains): Remove NullPointer check.
10024 (containsValue): Add NullPointer check.
10025 (remove): Always throw NullPointerException when key
10026 is null.
10027
10028 2002-04-07 Adam King <aking@dreammechanics.com>
10029
10030 * java/lang/natSystem.cc (init_properties): Call new function
10031 _Jv_platform_initProperties.
10032 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10033 support for the System properties os.name, os.arch, os.version,
10034 user.name, user.home, and user.dir.
10035 * include/posix.h, include/win32.h, posix.cc: New function
10036 _Jv_platform_initProperties.
10037
10038 2002-04-06 Mark Wielaard <mark@klomp.org>
10039
10040 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10041
10042 2002-04-06 Mark Wielaard <mark@klomp.org>
10043
10044 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10045 all of the remaining elements.
10046 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10047 (removeRange): If toIndex == fromIndex do
10048 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10049 (removeAll): Always throw NullPointerException when collection is
10050 null.
10051 (retrainAll): Likewise.
10052
10053 2002-04-05 Mark Wielaard <mark@klomp.org>
10054
10055 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10056 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10057
10058 2002-04-05 Adam Megacz <adam@xwt.org>
10059
10060 * exception.cc (abort): added static modifier
10061
10062 2002-04-04 Adam Megacz <adam@xwt.org>
10063
10064 * include/win32.h (_Jv_platform_close_on_exec): added inline
10065 modifier.
10066
10067 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10068
10069 * configure.host: Add case statement to support generic port
10070 properties. Add *-*-freebsd* section.
10071
10072 2002-04-04 Mark Wielaard <mark@klomp.org>
10073
10074 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10075 test.
10076 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10077 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10078 that depend on awt code and BufferedByteOutputStream.interrupt.
10079
10080 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10081
10082 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10083 incorrect "hi" value when count > 40.
10084
10085 2002-04-03 Mark Wielaard <mark@klomp.org>
10086
10087 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10088 ordering.
10089
10090 2002-04-02 Tom Tromey <tromey@redhat.com>
10091
10092 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10093 not `0'.
10094
10095 2002-04-02 Mark Wielaard <mark@klomp.org>
10096
10097 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10098 list of testsuite crashers.
10099
10100 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10101
10102 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10103 when resizing table.
10104
10105 2002-04-01 Mark Wielaard <mark@klomp.org>
10106
10107 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10108 NegativeArraySizeException
10109 (clear(int)): Use sign extended shift.
10110 (flip(int)): Likewise.
10111 (get(int)): Likewise.
10112 (nextClearBit(int)): Likewise.
10113 (nextSetBit(int)): Likewise.
10114 (set(int)): Likewise.
10115
10116 2002-04-01 Mark Wielaard <mark@klomp.org>
10117
10118 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10119 that can be compiled now and add testsuite crashers to ignore list.
10120
10121 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10122
10123 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10124
10125 * libgcj.spec.in: Override libgcc, not lib.
10126 * libgcj-test.spec.in: Likewise.
10127
10128 2002-03-29 Tom Tromey <tromey@redhat.com>
10129
10130 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10131 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10132
10133 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10134
10135 * java/net/PlainDatagramSocketImpl.java
10136 (close): Use native implementation.
10137 (finalize): New method.
10138
10139 * java/net/PlainSocketImpl.java (finalize): New method.
10140
10141 * java/net/natPlainDatagramSocketImpl.cc
10142 (java/io/FileDescriptor.h): Don't include.
10143 (close): Implement method here.
10144 (create): Don't assign fd.
10145
10146 * java/net/natPlainSocketImpl.cc
10147 (java/io/FileDescriptor.h): Don't include.
10148 (create): Don't assign fd.
10149 (accept): Likewise.
10150 (close): Synchronize.
10151
10152 2002-03-27 Richard Henderson <rth@redhat.com>
10153
10154 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10155
10156 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10157
10158 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10159 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10160 instead of syscall on IA-64.
10161 Add FIXME comment.
10162
10163 2002-03-27 Anthony Green <green@redhat.com>
10164
10165 * libgcj.spec.in: Add CHECKREFSPEC.
10166 * configure.in: Ditto.
10167 * configure.host: Ditto. Check references for xscale-elf.
10168 * configure: Rebuilt.
10169
10170 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10171
10172 * include/dwarf2-signal.h: Temporarily back out last change.
10173
10174 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10175
10176 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10177
10178 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10179
10180 * configure.in, configure: enable dwarf2-exception-style
10181 exception handling on IA-64.
10182 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10183 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10184 Add FIXME comment.
10185
10186 2002-03-25 Tom Tromey <tromey@redhat.com>
10187
10188 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10189 (jv_convert_LDFLAGS): Likewise.
10190 (gij_LDFLAGS): Likewise.
10191 (rmic_LDFLAGS): Likewise.
10192 (rmiregistry_LDFLAGS): Likewise.
10193 * configure.in (THREADLDFLAGS): New subst; set correctly for
10194 *BSD.
10195
10196 2002-03-25 Tom Tromey <tromey@redhat.com>
10197
10198 For PR libgcj/5303:
10199 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10200 and --version.
10201 (help): New method.
10202 (version): Likewise.
10203 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10204 "GNU".
10205 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10206 "GNU".
10207
10208 2002-03-25 Tom Tromey <tromey@redhat.com>
10209
10210 * java/awt/Component.java (processEvent): Check ComponentEvent
10211 after KeyEvent.
10212
10213 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10214
10215 * java/io/PushbackReader.java: Reformat.
10216
10217 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10218 calculate correct number of bytes skipped.
10219
10220 Based on patch from Intel's ORP team:
10221 * java/io/PushbackInputStream.java (available): Calculate correct
10222 number of bytes in buffer.
10223 (read): Remove redundant bound check. Return bytes from both the
10224 buffer and the stream.
10225
10226 2002-03-24 Tom Tromey <tromey@redhat.com>
10227
10228 * java/awt/TextComponent.java (TextComponent): Editable by
10229 default.
10230
10231 * java/awt/MenuItem.java (eventMask): No longer private.
10232 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10233 superclass if we didn't handle event.
10234 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10235 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10236 * java/awt/Choice.java (dispatchEventImpl): New method.
10237 * java/awt/List.java (dispatchEventImpl): New method.
10238 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10239 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10240 * java/awt/TextField.java (dispatchEventImpl): New method.
10241
10242 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10243
10244 * java/beans/IntrospectionException.java: Update to 1.4.
10245 * java/beans/PropertyVetoException.java: Ditto.
10246
10247 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10248
10249 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10250 Arrays.equals instead of ArrayHelper.equalsArray.
10251
10252 2002-03-24 C. Brian Jones <cbj@gnu.org>
10253
10254 * java/beans/Introspector.java: added new static final fields
10255 introduced in 1.2, lots of other updates remain to be done
10256
10257 2002-03-24 C. Brian Jones <cbj@gnu.org>
10258
10259 * java/beans/Introspector.java: reformatting
10260
10261 2002-03-24 C. Brian Jones <cbj@gnu.org>
10262
10263 * java/beans/Introspector.java: default beanInfoSearchPath will
10264 not include sun.beans.infos given we provide no such package and
10265 the API doesn't really require it; gnu.java.beans.info is the
10266 default.
10267
10268 2002-03-24 Mark Wielaard <mark@klomp.org>
10269
10270 Thanks to Orp developers
10271 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10272 switch TRUE and FALSE return values.
10273
10274 2002-03-23 Tom Tromey <tromey@redhat.com>
10275
10276 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10277 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10278
10279 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10280
10281 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10282 MONTH entry. Fixes PR libgcj/6045.
10283
10284 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10285
10286 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10287
10288 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10289
10290 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10291 not release_set.
10292 * sysdep/powerpc/locks.h (write_barrier): New function.
10293 * sysdep/i386/locks.h (write_barrier): New function.
10294
10295 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10296
10297 * include/jni.h Use correct C comments.
10298
10299 2002-03-18 Tom Tromey <tromey@redhat.com>
10300
10301 * include/jni.h (JNIIMPORT): New macro.
10302 (JNIEXPORT): Likewise.
10303 (JNICALL): Likewise.
10304
10305 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10306
10307 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10308 systems.
10309
10310 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10311
10312 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10313 INIT_SEGV: Use old_i386_kernel_sigaction.
10314 INIT_FP: Likewise.
10315
10316 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10317
10318 * java/lang/natSystem.cc (init_properties): Update VM version
10319 properties.
10320 * configure.in: Set GCJVERSION.
10321 * acconfig.h: Add GCJVERSION.
10322 * configure: Rebuilt.
10323 * include/config.h.in: Rebuilt.
10324
10325 2002-03-17 Anthony Green <green@redhat.com>
10326
10327 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10328
10329 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10330
10331 Build a single libgcj.so, without separate gc and zlib libraries.
10332 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10333 SYS_ZLIBS if system zlib is used.
10334 * configure: Rebuilt.
10335 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10336 * Makefile.in: Rebuilt.
10337 * libtool-version: Increment .so version number.
10338
10339 * Makefile.am: Escape quotes in echo.
10340 * Makefile.in: Rebuilt.
10341
10342 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10343
10344 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10345 * Makefile.in: Rebuilt.
10346
10347 2002-03-15 Anthony Green <green@redhat.com>
10348
10349 * configure.host (FILE): New macro for specifing File
10350 implementation.
10351 * configure: Rebuilt.
10352 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10353
10354 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10355
10356 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10357 already implicitly brought in from libgcj.la.
10358 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10359 * Makefile.in: Rebuilt.
10360
10361 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10362
10363 * THANKS: Fix punctuation, alphabetization.
10364
10365 2002-03-15 Tom Tromey <tromey@redhat.com>
10366 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10367
10368 Fix for PR libgcj/5944.
10369 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10370
10371 2002-03-15 Anthony Green <green@redhat.com>
10372
10373 * configure.in (tool_include_dir): Define.
10374 * configure: Rebuilt.
10375 * gcj/Makefile.am: Install libgcj-config.h relative to
10376 tool_include_dir.
10377 * gcj/Makefile: Rebuilt.
10378 * gcj/libgcj-config.h: Add warning comment.
10379
10380 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10381
10382 * configure.host (powerpc*-darwin*): Enable interpreter.
10383
10384 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10385
10386 * include/posix.h: Add multiple include header protection.
10387 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10388
10389 2002-03-10 Adam Megacz <adam@xwt.org>
10390
10391 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10392
10393 2002-03-10 Tom Tromey <tromey@redhat.com>
10394
10395 * java/awt/GridLayout.java (layoutContainer): Handle case where
10396 there are no items in container.
10397
10398 * java/lang/Win32Process.java: Added comment.
10399 * include/posix.h (_Jv_platform_close_on_exec): New function.
10400 Include fcntl.h.
10401 * include/win32.h (_Jv_platform_close_on_exec): New function.
10402 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10403 flag.
10404 (accept): Likewise.
10405 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10406 close-on-exec flag.
10407 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10408 flag.
10409
10410 2002-03-09 Tom Tromey <tromey@redhat.com>
10411
10412 * verify.cc (state::NO_STACK): New constant.
10413 (state::is_unmerged_ret_state): Handle case where stacktop is
10414 NO_STACK.
10415 (state::merge): Handle NO_STACK merges.
10416 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10417 for instruction following jsr.
10418 (stacktop, stackdepth): Removed unused variables.
10419 (pop_jump): Ignore case where all remaining states are skipped.
10420
10421 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10422
10423 * java/awt/ImageMediaEntry: Removed.
10424 * java/awt/MediaEntry: Removed.
10425
10426 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10427
10428 Hashtable synchronization for PowerPC.
10429 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10430 slow_pthread_self. Set up symlink for sysdeps directory.
10431 * configure: Rebuild.
10432 * configure.host: Document more shell variables. Set sysdeps_dir
10433 for most platforms. Set slow_pthread_self for i686. Set
10434 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10435 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10436 that memory barrier is emitted where required.
10437 * prims.cc: 64-bit align static primitive class instances.
10438 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10439 read_barrier() to enforce ordering of reads.
10440 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10441 primitives for PowerPC.
10442 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10443 moved from natObject.cc.
10444 * sysdep/alpha/locks.h: Likewise.
10445 * sysdep/ia64/locks.h: Likewise.
10446 * sysdep/generic/locks.h: Likewise.
10447 * java/lang/natObject.cc: Move thread synchronization primitives to
10448 system-dependent headers.
10449
10450 2002-03-09 Adam Megacz <adam@xwt.org>
10451
10452 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10453 bytes read and no failure code returned.
10454
10455 2002-03-09 Adam Megacz <adam@xwt.org>
10456
10457 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10458 definitions to simulate -mthreads.
10459
10460 2002-03-09 Adam Megacz <adam@xwt.org>
10461
10462 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10463 avoid precision loss.
10464
10465 2002-03-09 Per Bothner <per@bothner.com>
10466
10467 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10468 * gnu/gcj/xlib/XImage.java: Likewise.
10469 * gnu/gcj/xlib/XColor.java: Likewise.
10470
10471 2002-03-09 Adam Megacz <adam@xwt.org>
10472
10473 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10474 IOException so that Throwable.printStackTrace fails correctly.
10475
10476 2002-03-08 Adam Megacz <adam@xwt.org>
10477
10478 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10479 fixed.
10480
10481 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10482
10483 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10484 truncated to int.
10485
10486 2002-03-08 Tom Tromey <tromey@redhat.com>
10487
10488 * include/jni.h: Include stdio.h.
10489
10490 2002-03-08 Tom Tromey <tromey@redhat.com>
10491
10492 * posix.cc (internal_gettimeofday): New function.
10493 (_Jv_select): Use it.
10494
10495 2002-03-07 Adam Megacz <adam@xwt.org>
10496
10497 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10498 WIN32, and added thunks for read(), write(), and close().
10499 * java/net/natPlainSocketImpl.cc (accept, read, read):
10500 Disabled timeouts on WIN32 pending discussion.
10501
10502 2002-03-07 Adam Megacz <adam@xwt.org>
10503
10504 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10505 returns jlong. Added implementation
10506 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10507 returns jlong.
10508 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10509 returns jlong.
10510 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10511 returns jlong.
10512 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10513 _Jv_platform_gettimeofday signature.
10514
10515 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10516
10517 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10518 (read): Call recv() directly, not _Jv_recv().
10519
10520 2002-03-06 Tom Tromey <tromey@redhat.com>
10521
10522 * java/io/natFileDescriptorEcos.cc (init): Don't use
10523 GetStdHandle.
10524 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10525 is negative.
10526 (init): Don't use GetStdHandle.
10527
10528 * include/config.h.in: Rebuilt.
10529 * configure: Rebuilt.
10530 * Makefile.in: Rebuilt.
10531
10532 2002-03-06 Adam Megacz <adam@xwt.org>
10533
10534 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10535 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10536 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10537 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10538
10539 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10540
10541 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10542 the code for generating include/java-chartables.h.
10543 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10544 merge with Classpath.
10545 * scripts/unicode-muncher.pl: Copy from Classpath.
10546 * scritps/MakeCharTables.java: New file.
10547 * gnu/gcj/convert/Blocks-3.txt: New file.
10548 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10549 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10550 * gnu/java/lang/CharData.java: Copy from Classpath.
10551 * Makefile.am (ordinary_java_source_files): Add
10552 gnu/java/lang/CharData.java.
10553 * configure.in: Remove --enable-fast-character option.
10554 * java/lang/Character.java: Merge algorithms and Javadoc with
10555 Classpath.
10556 * java/lang/natCharacter.cc: Implement Unicode lookup table more
10557 efficiently.
10558 * include/java-chardecomp.h: Regenerate.
10559 * include/java-chartables.h: Regenerate.
10560
10561 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10562
10563 * java/awt/MediaTracker.java: Implemented.
10564 * Makefile.am: Add MediaTracker.
10565 * Makefile.in: Rebuilt.
10566
10567 2002-03-05 Tom Tromey <tromey@redhat.com>
10568
10569 * java/lang/natPosixProcess.cc (fail): Removed.
10570 (startProcess): Simplified error-handling. Preserve
10571 LD_LIBRARY_PATH across exec.
10572
10573 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10574 AbstractMethodError.
10575
10576 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10577
10578 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10579 * Makefile.in: Rebuilt.
10580
10581 2002-03-03 Mark Wielaard <mark@klomp.org>
10582
10583 * java/util/Timer (TaskQueue.stop): set elements to zero.
10584
10585 2002-02-28 Anthony Green <green@redhat.com>
10586
10587 * java/lang/reflect/natMethod.cc (result): Add void* element.
10588 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
10589 constructor test.
10590
10591 2002-02-27 Adam Megacz <adam@xwt.org>
10592
10593 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10594 '#undef STRICT'.
10595
10596 2002-02-26 Tom Tromey <tromey@redhat.com>
10597
10598 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10599 * gij.cc (version): Use __VERSION__.
10600 * include/config.h.in: Rebuilt.
10601 * acconfig.h (GCJVERSION): Removed.
10602 * configure: Rebuilt.
10603 * configure.in (GCJVERSION): Removed.
10604
10605 2002-02-26 Andreas Schwab <schwab@suse.de>
10606
10607 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10608 glibcpp_CXX, since libjava uses even another CXX.
10609 * aclocal.m4, configure: Regenerated.
10610
10611 2002-02-26 Tom Tromey <tromey@redhat.com>
10612
10613 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10614 `1'.
10615
10616 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10617
10618 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10619 dependency tracking for .java files.
10620 * Makefile.in: Rebuilt.
10621
10622 2002-02-24 Adam Megacz <adam@xwt.org>
10623
10624 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10625 typo. Sorry.
10626
10627 2002-02-24 Adam Megacz <adam@xwt.org>
10628
10629 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10630 for Win32, changed #ifdefs to check WIN32 instead of the
10631 (now-obsolete) USE_WINSOCK, and removed support for socket
10632 timeouts on Win32 pending further discussion.
10633
10634 2002-02-24 Adam Megacz <adam@xwt.org>
10635
10636 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10637 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10638 delete
10639
10640 2002-02-24 Adam Megacz <adam@xwt.org>
10641
10642 * java/lang/Win32Process.java: Created a dummy class to allow
10643 build process to run to completion.
10644
10645 2002-02-24 Jeff Sturm <jsturm@one-point.com>
10646
10647 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10648 Define ffi_result union for ffi_call result. Cast
10649 ffi_result members to jvalue.
10650
10651 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
10652
10653 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10654 * testsuite/Makefile.in: Likewise.
10655
10656 2002-02-20 Per Bothner <per@bothner.com>
10657
10658 * java/net/URL.java (getPath): New JDK 1.3 method.
10659
10660 * java/net/URLStreamHandler.java (parseURL):
10661 It is wrong to prepend '/' to the file part of a relative url.
10662
10663 * java/net/URLStreamHandler.java (parseURL):
10664 Minor optizations - append '/' rather than "/".
10665
10666 * java/net/URLStreamHandler.java (parseURL):
10667 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10668 We probably should canonicalize for a context-relative url, though.
10669 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
10670 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
10671 (sameFile): New method. Uses canonicalizeFilename.
10672
10673 2002-02-22 Tom Tromey <tromey@redhat.com>
10674
10675 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10676 java.vendor and java.vm.vendor.
10677 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10678 recent copyright date.
10679 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10680 * gij.cc (version): Print `Inc'.
10681
10682 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10683
10684 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10685 * aclocal.m4, configure: Rebuilt.
10686
10687 2002-02-20 Per Bothner <per@bothner.com>
10688
10689 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
10690 and/or output streams immediately here, instead of using File.exists.
10691 (inputStream, outputStream): New fields to save open streams.
10692 (getInputStream, getOutputStream): Use already-opened streams.
10693
10694 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10695
10696 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10697 Use it.
10698 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10699 * aclocal.m4, configure, Makefile.in: Rebuilt.
10700
10701 2002-02-19 Tom Tromey <tromey@redhat.com>
10702
10703 Fix for PR libgcj/5696:
10704 * verify.cc (is_assignable_from_slow): Never call
10705 _Jv_IsAssignableFrom.
10706 (verify_instructions_0): Added new debug statement.
10707 (state::print): Print information about whether local has
10708 changed.
10709 (state::merge): Don't call note_variable when merging locals.
10710 (state::set_exception): Removed old FIXME comment.
10711
10712 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10713
10714 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10715 enable SO_BROADCAST.
10716
10717 2002-02-18 Jason Merrill <jason@redhat.com>
10718
10719 * name-finder.cc (toHex): Use word mode, not long long.
10720
10721 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10722
10723 2002-02-15 Tom Tromey <tromey@redhat.com>
10724
10725 Fix for PR libgcj/5695:
10726 * verify.cc (is_assignable_from_slow): Check to see if target is
10727 an Object before checking to see if source is an interface.
10728 (verify_instructions_0) [op_invokeinterface]: Handle case where
10729 we're making an interface call on Object.
10730
10731 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10732
10733 * Makefile.in: Rebuilt with Eric's change below.
10734
10735 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10736 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10737 Removed functions which are now implemented in Math.java.
10738
10739 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10740
10741 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10742 * Makefile.am (core_java_source_files): Add
10743 java/lang/StrictMath.java.
10744 * java/lang/Math.java: Merge with Classpath.
10745 * java/lang/StrictMath.java: New file - merge with Classpath.
10746
10747 2002-02-14 Mark Wielaard <mark@klomp.org>
10748
10749 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10750 package as a workaround for gcj 3.0.x
10751
10752 2002-02-14 Mark Wielaard <mark@klomp.org>
10753
10754 * java/security/BasicPermission.java: extends with fully qualified
10755 classname as workaround for gcj 3.0.4.
10756
10757 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10758
10759 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10760 around gcj bug of wrong emitted qualifier for inherited method.
10761 * java/net/SocketImpl.java (setOption, getOption): Ditto.
10762 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10763 constructor to reduce amount of emitted bytecode. While this
10764 happens to work around a jikes 1.15 bug, it is still a useful
10765 patch even for correct compilers.
10766 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10767 * gnu/java/rmi/server/UnicastRemoteCall.java
10768 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10769
10770 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10771
10772 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10773 * java/net/SocketImpl.java: Ditto.
10774 * java/rmi/server/RMIClassLoader.java: Ditto.
10775 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10776
10777 2002-02-14 Mark Wielaard <mark@klomp.org>
10778
10779 Thanks to Takashi Okamoto
10780 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10781 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10782 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10783
10784 2002-02-13 Todd Stock <toddastock@yahoo.com>
10785
10786 Fix for PR libgcj/5670:
10787 * verify.cc (is_assignable_from_slow): If `source' is interface,
10788 recursively look for merge with `target'.
10789
10790 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
10791
10792 * include/jni.h: Fix typo.
10793
10794 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
10795
10796 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10797 correctly.
10798
10799 2002-02-13 Todd Stock <toddastock@yahoo.com>
10800
10801 Fix for PR libgcj/5671:
10802 * verify.cc (state::merge): Handle case where we're merging
10803 against an interface.
10804
10805 2002-02-12 Tom Tromey <tromey@redhat.com>
10806
10807 * exception.cc (std::abort): Mark as noreturn.
10808
10809 2002-02-12 Adam Megacz <adam@xwt.org>
10810
10811 * java/lang/Win32Process.java: Filled in a placeholder
10812 implementation so Win32 will build.
10813
10814 2002-02-12 Adam Megacz <adam@xwt.org>
10815
10816 * java/io/natFilePosix.cc: Copied this from natFile.cc.
10817 * java/io/natFile.cc: Removed from repository.
10818 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10819
10820 2002-02-12 Adam Megacz <adam@xwt.org>
10821
10822 * win32.cc: Added two #includes to make win32.cc compile.
10823
10824 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10825
10826 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10827 declarations.
10828 (_Jv_InitGC): Don't bother locking, as this is always called from a
10829 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10830
10831 2002-02-11 Adam Megacz <adam@xwt.org>
10832
10833 * include/win32.h: Added _Jv_platform_gettimeofday.
10834 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10835
10836 2002-02-11 Adam Megacz <adam@xwt.org>
10837
10838 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10839 Added #undef STRICT to make windows.h and
10840 java/lang/reflect/Modifier.h cooperate.
10841
10842 2002-02-11 Adam Megacz <adam@xwt.org>
10843
10844 * java/io/natFileWin32.cc: Created a placeholder class with lots
10845 of FIXMEs.
10846
10847 2002-02-11 Adam Megacz <adam@xwt.org>
10848
10849 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10850 std::abort() to simply abort(). Also added "fake" std::abort() so
10851 we can #include unwind-pe.h without having to link against
10852 libstdc++-v3.
10853
10854 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
10855
10856 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10857
10858 2002-02-08 Tom Tromey <tromey@redhat.com>
10859
10860 * interpret.cc (convert): New function.
10861 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10862 convert.
10863 Include Long.h.
10864
10865 2002-02-08 Anthony Green <green@redhat.com>
10866
10867 * configure.host: Add support for xscale-elf embedded target.
10868
10869 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
10870
10871 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10872 dereferenced.
10873 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10874 frame.
10875
10876 2002-02-07 Tom Tromey <tromey@redhat.com>
10877
10878 * java/io/natFile.cc (_access): Use __builtin_alloca.
10879 (_stat): Likewise.
10880 (attr): Likewise.
10881 (getCanonicalPath): Likewise.
10882 (performList): Likewise.
10883 (performMkdir): Likewise.
10884 (performSetReadOnly): Likewise.
10885 (performRenameTo): Likewise.
10886 (performSetLastModified): Likewise.
10887 (performCreate): Likewise.
10888 (performDelete): Likewise.
10889
10890 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10891
10892 * HACKING: Fix URL for the automake-gcj.
10893
10894 2002-02-07 Tom Tromey <tromey@redhat.com>
10895
10896 * java/lang/natThrowable.cc: Updated copyright.
10897 * java/io/natFileWin32.cc: Updated copyright.
10898 * java/io/natFileDescriptorWin32.cc: Updated copyright.
10899 * win32-threads.cc: Updated copyright.
10900 * name-finder.cc: Updated copyright.
10901 * include/name-finder.h: Updated copyright.
10902
10903 * include/name-finder.h: Conditionally include sys/wait.h.
10904 * include/config.h.in: Rebuilt.
10905
10906 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10907 Size buffer based on real size of string.
10908 (_stat): Likewise.
10909 (attr): Likewise.
10910 (getCanonicalPath): Likewise.
10911 (performList): Likewise.
10912 (performMkdir): Likewise.
10913 (performSetReadOnly): Likewise.
10914 (unixroot): Removed.
10915 (performRenameTo): Likewise.
10916 (performSetLastModified): Likewise.
10917 (performCreate): Likewise.
10918 (performDelete): Likewise.
10919 (performListRoots): Always return new array.
10920
10921 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10922 * win32.cc (win32_exception_handler): Now static.
10923 * include/win32.h (_Jv_platform_initialize): Declare.
10924 (win32_exception_handler): Don't declare.
10925 * java/lang/natSystem.cc (currentTimeMillis): Use
10926 _Jv_platform_gettimeofday.
10927 * posix.cc (_Jv_platform_gettimeofday): Renamed.
10928 (_Jv_select): Use new name.
10929 (_Jv_platform_initialize): New function.
10930 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10931 _Jv_gettimeofday.
10932 (_Jv_platform_initialize): Declare.
10933
10934 * configure: Rebuilt.
10935 * configure.in: Removed unnecessary parens.
10936
10937 2002-02-06 Adam Megacz <adam@xwt.org>
10938
10939 * configure.in: Changed mingw) to *mingw*).
10940 * win32.cc: Created this file.
10941 * win32.h: Created this file.
10942 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10943 win32_exception_handler from prims.cc to win32.cc, added
10944 header in win32.h.
10945 * prims.cc: removed some #ifdef-WIN32'd headers which are no
10946 longer needed now that we have platform.h
10947
10948 2002-02-06 Adam Megacz <adam@xwt.org>
10949
10950 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10951 use uint<n>_t instead of LONG and BYTE
10952
10953 2002-02-06 Adam Megacz <adam@xwt.org>
10954
10955 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10956
10957 2002-02-06 Anthony Green <green@redhat.com>
10958
10959 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10960 Implement missing method stubs.
10961 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10962 targets.
10963 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10964 concept of timezones.
10965 (init_properties): Don't refer to _Jv_Environment_Properties
10966 when this feature is not available.
10967 * include/config.h.in: Rebuilt.
10968 * acconfig.h: Add DISABLE_MAIN_ARGS.
10969 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10970 * configure: Rebuilt.
10971 * configure.in: Add --disable-main-args option. Test for
10972 opendir function. Replace AC_CHECK_SIZEOF with
10973 AC_COMPILE_CHECK_SIZEOF.
10974 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10975 * aclocal.m4: Rebuilt.
10976 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10977
10978 2002-02-06 Tom Tromey <tromey@redhat.com>
10979
10980 * verify.cc (require_array_type): If argument is a null array of
10981 references, return null as the element type.
10982
10983 2002-02-06 Mark Wielaard <mark@klomp.org>
10984
10985 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10986 duplicate of a wide type.
10987
10988 2002-02-06 Tom Tromey <tromey@redhat.com>
10989
10990 * verify.cc (type::isnull): New method.
10991 (require_array_type): Handle case where array is null.
10992 (verify_instructions_0) [op_arraylength]: Likewise.
10993
10994 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10995
10996 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10997 Symlink PLATFORMH to platform.h.
10998 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10999 PLATFORMOBJS.
11000 * java/lang/natSystem.cc: #include platform.h not posix.h.
11001 * Makefile.in: Rebuilt with libgcj automake.
11002 * configure: Rebuilt.
11003
11004 2002-02-05 Richard Henderson <rth@redhat.com>
11005
11006 * Makefile.in: Undo munging last change.
11007
11008 2002-02-04 Adam Megacz <adam@xwt.org>
11009
11010 * win32.cc: Created it.
11011 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
11012 which is set to posix.cc or win32.cc.
11013 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
11014
11015 2002-02-04 Adam Megacz <adam@xwt.org>
11016
11017 * configure.in: Corrected mingw case branches; added * before
11018 and after.
11019
11020 2002-02-04 Adam Megacz <adam@xwt.org>
11021
11022 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
11023 if compiling for win32
11024
11025 2002-02-04 Adam Megacz <adam@xwt.org>
11026
11027 * win32-threads.cc: #undef STRICT after gc.h inclusion
11028
11029 2002-02-02 Tom Tromey <tromey@redhat.com>
11030
11031 * Makefile.in: Rebuilt.
11032
11033 2002-02-02 Jason Merrill <jason@redhat.com>
11034
11035 * Makefile.am (clean-nat): New target.
11036
11037 2002-02-02 Tom Tromey <tromey@redhat.com>
11038
11039 * java/io/natFile.cc: Removed old "FIXME" comments.
11040
11041 2002-02-01 Tom Tromey <tromey@redhat.com>
11042
11043 * java/lang/natPosixProcess.cc (myclose): New function.
11044 (fail): Use it.
11045 (startProcess): Likewise.
11046
11047 2002-02-01 Adam Megacz <adam@xwt.org>
11048
11049 * prims.cc: Added #undef STRICT after #include<windows.h>.
11050
11051 2002-02-01 Adam Megacz <adam@xwt.org>
11052
11053 * prims.cc
11054 (_Jv_CreateJavaVM): We now use WIN32 instead of
11055 USE_WIN32_SIGNALLING and USE_WINSOCK.
11056 (win32_exception_handler): Now throws an exception out of
11057 the signal handler; assumes SJLJ.
11058
11059 2002-02-01 Adam Megacz <adam@xwt.org>
11060
11061 * win32-threads.cc:
11062 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11063 wait() algorithm to make it safe.
11064 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11065 Added lazy creation of Win32 Events for better performance
11066 (really_start): This now uses GC_CreateThread so boehm-gc
11067 knows about new threads even when statically linked.
11068
11069 2002-02-01 Adam Megacz <adam@xwt.org>
11070
11071 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11072 enable safer wait() algorithm.
11073 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11074 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11075 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11076 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11077 instead of mutex.
11078 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11079
11080 2002-02-01 Adam Megacz <adam@xwt.org>
11081
11082 * configure.in: Added support for mingw.
11083 * java/lang/Win32Process.java: Created as empty file.
11084 * java/lang/natWin32Process.cc: Created as empty file.
11085
11086 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11087
11088 PR java/4972
11089 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11090 for libiconv in LIBICONV variable.
11091 * configure: Regenerated.
11092
11093 2002-01-31 Tom Tromey <tromey@redhat.com>
11094
11095 * verify.cc (state::enter_subroutine): New method.
11096 (handle_jsr_insn): Use it.
11097 (state::merge): When processing a `ret', correctly use
11098 subroutine's state to determine which local variables have
11099 changed.
11100 (push_exception_jump): Don't let stack overflow.
11101
11102 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11103
11104 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11105 --version output.
11106
11107 2002-01-30 Tom Tromey <tromey@redhat.com>
11108
11109 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11110 parameter for `recv' return type.
11111
11112 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11113 (state::merge): ... not here.
11114 (subr_entry_info): New structure.
11115 (entry_points): New field.
11116 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11117 entry_points.
11118
11119 2002-01-29 Tom Tromey <tromey@redhat.com>
11120
11121 * java/awt/List.java (addNotify): Correctly check to see if peer
11122 does not exist.
11123
11124 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11125 to compute height of each cell, and number of columns to compute
11126 width of each cell.
11127 * java/awt/Window.java (getOwnedWindows): Don't return null.
11128 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11129 of component. Increment x using horizontal gap, not vertical
11130 gap.
11131
11132 2002-01-28 Tom Tromey <tromey@redhat.com>
11133
11134 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11135 `nargs' byte is number of words, not number of arguments.
11136
11137 2002-01-27 Tom Tromey <tromey@redhat.com>
11138
11139 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11140 (when): Likewise.
11141 * java/awt/event/InputEvent.java (modifiers, when): Now
11142 package-private.
11143
11144 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11145 and to-do list.
11146 (state::merge): Use current class' class loader.
11147 (state::print): Print subroutine.
11148 (state::merge): Don't look at subroutine of unmerged `ret'.
11149
11150 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11151
11152 * nogc.cc: Remove warnings.
11153 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11154 New functions.
11155
11156 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11157
11158 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11159 int, int): Remove empty "if" statement to work around compiler bug.
11160 (newPixels(int[], ColorModel, int, int): Likewise.
11161
11162 2002-01-25 Per Bothner <per@bothner.com>
11163
11164 * verify.cc (verify_fail): Change from being a top-level function
11165 to e method of _Jv_BytecodeVerifier. Emit current method name.
11166 Pass the current verifier to type: and state: methods as needed,
11167 for better error messages, and for resolve.
11168 (resolve): Pass current class's loader for Class.forName and
11169 _Jv_FindClassFromSignature, rather than using the default loader.
11170 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11171 (get_type_val_for_signature): Make non-static.
11172 (various methods): Pass start_PC implicitly, not explicitly.
11173
11174 2002-01-25 Tom Tromey <tromey@redhat.com>
11175
11176 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11177 loop termination condition.
11178 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11179 width.
11180
11181 2002-01-24 Tom Tromey <tromey@redhat.com>
11182
11183 * java/awt/Shape.java: Merged with Classpath.
11184 * java/awt/Scrollbar.java: Merged with Classpath.
11185
11186 * java/awt/Container.java (addNotify): Unconditionally call
11187 addNotifyContainerChildren and superclass addNotify.
11188
11189 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11190 getAlpha, not getBlue.
11191
11192 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11193
11194 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11195
11196 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11197 (grabPixels(long)): Wait to be notified that the ImageProducer has
11198 completed.
11199
11200 2002-01-24 Per Bothner <per@bothner.com>
11201
11202 * verify.cc (is_assignable_from_slow): If target is an interface,
11203 we must still check the source's superclass before giving up.
11204
11205 2002-01-24 Tom Tromey <tromey@redhat.com>
11206
11207 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11208
11209 2002-01-23 Tom Tromey <tromey@redhat.com>
11210
11211 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11212 `else'.
11213
11214 * Makefile.in: Rebuilt.
11215 * Makefile.am (awt_java_source_files): Added new files.
11216 * java/awt/Toolkit.java: Merged with Classpath.
11217 * java/awt/PrintGraphics.java: New file from Classpath.
11218 * java/awt/PrintJob.java: New file from Classpath.
11219 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11220 * java/awt/datatransfer/ClipboardOwner.java: New file from
11221 Classpath.
11222 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11223 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11224 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11225 Classpath.
11226 * java/awt/datatransfer/StringSelection.java: New file from
11227 Classpath.
11228 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11229 Classpath.
11230 * java/awt/datatransfer/Transferable.java: New file from
11231 Classpath.
11232 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11233 from Classpath.
11234
11235 * Makefile.in: Rebuilt.
11236 * Makefile.am (awt_java_source_files): Added new files.
11237 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11238 Classpath.
11239 * java/awt/image/CropImageFilter.java: New file from Classpath.
11240 * java/awt/image/FilteredImageSource.java: New file from
11241 Classpath.
11242 * java/awt/image/ImageFilter.java: New file from Classpath.
11243 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11244 * java/awt/image/PixelGrabber.java: New file from Classpath.
11245 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11246 * java/awt/image/ReplicateScaleFilter.java: New file from
11247 Classpath.
11248 * java/awt/image/ImageProducer.java: Replaced with Classpath
11249 version.
11250 * java/awt/image/ImageObserver.java: Replaced with Classpath
11251 version.
11252 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11253 version.
11254 * java/awt/GridBagConstraints.java (clone): Catch
11255 CloneNotSupportedException.
11256
11257 2002-01-23 Per Bothner <per@bothner.com>
11258
11259 * java/lang/reflect/natField.cc (setAddr): New function.
11260 Calls getAddr and then checks that the field isn't final.
11261 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11262 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11263 (set): Call setAddr before check that new value has right type,
11264 to better match specified semantics.
11265
11266 2002-01-22 Tom Tromey <tromey@redhat.com>
11267
11268 * java/awt/TextField.java: Replaced with Classpath version.
11269 * java/awt/TextArea.java: Replaced with Classpath version.
11270 * java/awt/TextComponent.java: Replaced with Classpath version.
11271
11272 * java/awt/GridBagConstraints.java: Updated copyright.
11273
11274 2002-01-22 Mark Wielaard <mark@klomp.org>
11275
11276 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11277 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11278 java/awt/Dialog.java java/awt/FileDialog.java
11279 java/awt/Font.java java/awt/FontMetrics.java
11280 java/awt/Image.java java/awt/ImageMediaEntry.java
11281 java/awt/Insets.java java/awt/List.java
11282 java/awt/MediaEntry.java java/awt/MediaTracker.java
11283 java/awt/Menu.java java/awt/MenuBar.java
11284 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11285 java/awt/PaintContext.java java/awt/Panel.java
11286 java/awt/PopupMenu.java java/awt/SystemColor.java
11287 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11288 java/awt/peer/CheckboxMenuItemPeer.java
11289 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11290 java/awt/peer/ComponentPeer.java
11291 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11292 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11293 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11294 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11295 java/awt/peer/MenuBarPeer.java
11296 java/awt/peer/MenuComponentPeer.java
11297 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11298 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11299 java/awt/peer/ScrollPanePeer.java
11300 java/awt/peer/ScrollbarPeer.java
11301 java/awt/peer/TextAreaPeer.java
11302 java/awt/peer/TextComponentPeer.java
11303 java/awt/peer/TextFieldPeer.java
11304 java/awt/peer/WindowPeer.java: Add license clarification.
11305
11306 2002-01-22 Mark Wielaard <mark@klomp.org>
11307
11308 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11309 gnu/gcj/runtime/StringBuffer.java
11310 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11311 gnu/java/awt/ComponentDataBlitOp.java
11312 gnu/java/awt/GLightweightPeer.java
11313 gnu/java/beans/BeanInfoEmbryo.java
11314 gnu/java/beans/EmptyBeanInfo.java
11315 gnu/java/beans/ExplicitBeanInfo.java
11316 gnu/java/beans/IntrospectionIncubator.java
11317 gnu/java/beans/editors/ColorEditor.java
11318 gnu/java/beans/editors/FontEditor.java
11319 gnu/java/beans/editors/NativeBooleanEditor.java
11320 gnu/java/beans/editors/NativeByteEditor.java
11321 gnu/java/beans/editors/NativeDoubleEditor.java
11322 gnu/java/beans/editors/NativeFloatEditor.java
11323 gnu/java/beans/editors/NativeIntEditor.java
11324 gnu/java/beans/editors/NativeLongEditor.java
11325 gnu/java/beans/editors/NativeShortEditor.java
11326 gnu/java/beans/editors/StringEditor.java
11327 gnu/java/beans/info/ComponentBeanInfo.java
11328 gnu/java/io/ClassLoaderObjectInputStream.java
11329 gnu/java/io/NullOutputStream.java
11330 gnu/java/io/ObjectIdentityWrapper.java
11331 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11332 gnu/java/lang/reflect/TypeSignature.java
11333 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11334 gnu/java/locale/Calendar_en.java
11335 gnu/java/locale/Calendar_nl.java
11336 gnu/java/locale/LocaleInformation.java
11337 gnu/java/locale/LocaleInformation_de.java
11338 gnu/java/locale/LocaleInformation_en.java
11339 gnu/java/locale/LocaleInformation_nl.java
11340 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11341 gnu/java/rmi/registry/RegistryImpl.java
11342 gnu/java/rmi/rmic/Compile_gcj.java
11343 gnu/java/rmi/rmic/Compiler.java
11344 gnu/java/rmi/rmic/CompilerProcess.java
11345 gnu/java/rmi/rmic/RMIC.java
11346 gnu/java/rmi/rmic/TabbedWriter.java
11347 gnu/java/rmi/server/ProtocolConstants.java
11348 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11349 gnu/java/rmi/server/RMIHashes.java
11350 gnu/java/rmi/server/RMIObjectInputStream.java
11351 gnu/java/rmi/server/RMIObjectOutputStream.java
11352 gnu/java/rmi/server/UnicastConnection.java
11353 gnu/java/rmi/server/UnicastConnectionManager.java
11354 gnu/java/rmi/server/UnicastRef.java
11355 gnu/java/rmi/server/UnicastRemoteCall.java
11356 gnu/java/rmi/server/UnicastRemoteStub.java
11357 gnu/java/rmi/server/UnicastServer.java
11358 gnu/java/rmi/server/UnicastServerRef.java
11359 gnu/java/security/provider/DefaultPolicy.java
11360 gnu/java/security/provider/Gnu.java
11361 gnu/java/security/provider/SHA.java
11362 gnu/java/security/provider/SHA1PRNG.java
11363 gnu/java/text/BaseBreakIterator.java
11364 gnu/java/text/CharacterBreakIterator.java
11365 gnu/java/text/LineBreakIterator.java
11366 gnu/java/text/SentenceBreakIterator.java
11367 gnu/java/text/WordBreakIterator.java
11368 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11369 java/applet/AppletContext.java java/applet/AppletStub.java
11370 java/applet/AudioClip.java java/awt/AWTError.java
11371 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11372 java/awt/AWTException.java java/awt/AWTPermission.java
11373 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11374 java/awt/Button.java java/awt/Canvas.java
11375 java/awt/CardLayout.java java/awt/Checkbox.java
11376 java/awt/CheckboxGroup.java java/awt/Component.java
11377 java/awt/ComponentOrientation.java java/awt/Container.java
11378 java/awt/Dimension.java java/awt/Event.java
11379 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11380 java/awt/FlowLayout.java java/awt/Frame.java
11381 java/awt/Graphics.java java/awt/Graphics2D.java
11382 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11383 java/awt/IllegalComponentStateException.java
11384 java/awt/ItemSelectable.java java/awt/Label.java
11385 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11386 java/awt/MenuComponent.java java/awt/MenuItem.java
11387 java/awt/Paint.java java/awt/Point.java
11388 java/awt/Rectangle.java java/awt/RenderingHints.java
11389 java/awt/Transparency.java java/awt/Window.java
11390 java/awt/color/ColorSpace.java
11391 java/awt/color/ICC_ColorSpace.java
11392 java/awt/color/ICC_Profile.java
11393 java/awt/event/HierarchyBoundsAdapter.java
11394 java/awt/event/HierarchyBoundsListener.java
11395 java/awt/event/HierarchyEvent.java
11396 java/awt/event/HierarchyListener.java
11397 java/awt/geom/AffineTransform.java
11398 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11399 java/awt/geom/IllegalPathStateException.java
11400 java/awt/geom/Line2D.java
11401 java/awt/geom/NoninvertibleTransformException.java
11402 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11403 java/awt/geom/Rectangle2D.java
11404 java/awt/geom/RectangularShape.java
11405 java/awt/geom/RoundRectangle2D.java
11406 java/awt/image/BufferedImage.java
11407 java/awt/image/ColorModel.java
11408 java/awt/image/ComponentColorModel.java
11409 java/awt/image/ComponentSampleModel.java
11410 java/awt/image/DataBuffer.java
11411 java/awt/image/DataBufferByte.java
11412 java/awt/image/DataBufferInt.java
11413 java/awt/image/DataBufferUShort.java
11414 java/awt/image/DirectColorModel.java
11415 java/awt/image/PackedColorModel.java
11416 java/awt/image/Raster.java java/awt/image/RasterOp.java
11417 java/awt/image/SampleModel.java
11418 java/awt/image/SinglePixelPackedSampleModel.java
11419 java/awt/image/WritableRaster.java
11420 java/beans/AppletInitializer.java
11421 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11422 java/beans/Beans.java java/beans/Customizer.java
11423 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11424 java/beans/FeatureDescriptor.java
11425 java/beans/IndexedPropertyDescriptor.java
11426 java/beans/IntrospectionException.java
11427 java/beans/Introspector.java java/beans/MethodDescriptor.java
11428 java/beans/ParameterDescriptor.java
11429 java/beans/PropertyChangeEvent.java
11430 java/beans/PropertyChangeListener.java
11431 java/beans/PropertyChangeSupport.java
11432 java/beans/PropertyDescriptor.java
11433 java/beans/PropertyEditor.java
11434 java/beans/PropertyEditorManager.java
11435 java/beans/PropertyEditorSupport.java
11436 java/beans/PropertyVetoException.java
11437 java/beans/SimpleBeanInfo.java
11438 java/beans/VetoableChangeListener.java
11439 java/beans/VetoableChangeSupport.java
11440 java/beans/Visibility.java
11441 java/beans/beancontext/BeanContext.java
11442 java/beans/beancontext/BeanContextChild.java
11443 java/beans/beancontext/BeanContextChildComponentProxy.java
11444 java/beans/beancontext/BeanContextChildSupport.java
11445 java/beans/beancontext/BeanContextContainerProxy.java
11446 java/beans/beancontext/BeanContextEvent.java
11447 java/beans/beancontext/BeanContextMembershipEvent.java
11448 java/beans/beancontext/BeanContextMembershipListener.java
11449 java/beans/beancontext/BeanContextProxy.java
11450 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11451 java/beans/beancontext/BeanContextServiceProvider.java
11452 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11453 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11454 java/beans/beancontext/BeanContextServiceRevokedListener.java
11455 java/beans/beancontext/BeanContextServices.java
11456 java/beans/beancontext/BeanContextServicesListener.java
11457 java/io/BufferedInputStream.java
11458 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11459 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11460 java/io/ByteArrayOutputStream.java
11461 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11462 java/io/CharConversionException.java java/io/DataInput.java
11463 java/io/DataInputStream.java java/io/DataOutput.java
11464 java/io/EOFException.java java/io/Externalizable.java
11465 java/io/FileFilter.java java/io/FileNotFoundException.java
11466 java/io/FilePermission.java java/io/FileReader.java
11467 java/io/FileWriter.java java/io/FilenameFilter.java
11468 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11469 java/io/FilterReader.java java/io/FilterWriter.java
11470 java/io/IOException.java java/io/InputStream.java
11471 java/io/InterruptedIOException.java
11472 java/io/InvalidClassException.java
11473 java/io/InvalidObjectException.java
11474 java/io/NotActiveException.java
11475 java/io/NotSerializableException.java java/io/ObjectInput.java
11476 java/io/ObjectInputStream.java
11477 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11478 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11479 java/io/ObjectStreamConstants.java
11480 java/io/ObjectStreamException.java
11481 java/io/ObjectStreamField.java
11482 java/io/OptionalDataException.java java/io/OutputStream.java
11483 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11484 java/io/PipedReader.java java/io/PipedWriter.java
11485 java/io/PrintWriter.java java/io/PushbackInputStream.java
11486 java/io/PushbackReader.java java/io/Reader.java
11487 java/io/SequenceInputStream.java java/io/Serializable.java
11488 java/io/SerializablePermission.java
11489 java/io/StreamCorruptedException.java
11490 java/io/StreamTokenizer.java
11491 java/io/StringBufferInputStream.java java/io/StringReader.java
11492 java/io/StringWriter.java java/io/SyncFailedException.java
11493 java/io/UTFDataFormatException.java
11494 java/io/UnsupportedEncodingException.java
11495 java/io/WriteAbortedException.java java/io/Writer.java
11496 java/lang/AbstractMethodError.java
11497 java/lang/ArithmeticException.java
11498 java/lang/ArrayIndexOutOfBoundsException.java
11499 java/lang/ArrayStoreException.java java/lang/Boolean.java
11500 java/lang/Byte.java java/lang/CharSequence.java
11501 java/lang/ClassCastException.java
11502 java/lang/ClassCircularityError.java
11503 java/lang/ClassFormatError.java
11504 java/lang/ClassNotFoundException.java
11505 java/lang/CloneNotSupportedException.java
11506 java/lang/Cloneable.java java/lang/Comparable.java
11507 java/lang/Compiler.java java/lang/Double.java
11508 java/lang/Error.java java/lang/Exception.java
11509 java/lang/ExceptionInInitializerError.java
11510 java/lang/Float.java java/lang/IllegalAccessError.java
11511 java/lang/IllegalAccessException.java
11512 java/lang/IllegalArgumentException.java
11513 java/lang/IllegalMonitorStateException.java
11514 java/lang/IllegalStateException.java
11515 java/lang/IllegalThreadStateException.java
11516 java/lang/IncompatibleClassChangeError.java
11517 java/lang/IndexOutOfBoundsException.java
11518 java/lang/InheritableThreadLocal.java
11519 java/lang/InstantiationError.java
11520 java/lang/InstantiationException.java java/lang/Integer.java
11521 java/lang/InternalError.java
11522 java/lang/InterruptedException.java
11523 java/lang/LinkageError.java java/lang/Long.java
11524 java/lang/NegativeArraySizeException.java
11525 java/lang/NoClassDefFoundError.java
11526 java/lang/NoSuchFieldError.java
11527 java/lang/NoSuchFieldException.java
11528 java/lang/NoSuchMethodError.java
11529 java/lang/NoSuchMethodException.java
11530 java/lang/NullPointerException.java java/lang/Number.java
11531 java/lang/NumberFormatException.java
11532 java/lang/OutOfMemoryError.java java/lang/Package.java
11533 java/lang/Process.java java/lang/Runnable.java
11534 java/lang/RuntimeException.java
11535 java/lang/RuntimePermission.java
11536 java/lang/SecurityException.java
11537 java/lang/SecurityManager.java java/lang/Short.java
11538 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11539 java/lang/StringIndexOutOfBoundsException.java
11540 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11541 java/lang/ThreadLocal.java java/lang/UnknownError.java
11542 java/lang/UnsatisfiedLinkError.java
11543 java/lang/UnsupportedClassVersionError.java
11544 java/lang/UnsupportedOperationException.java
11545 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11546 java/lang/Void.java java/lang/ref/PhantomReference.java
11547 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11548 java/lang/ref/SoftReference.java
11549 java/lang/ref/WeakReference.java
11550 java/lang/reflect/AccessibleObject.java
11551 java/lang/reflect/InvocationTargetException.java
11552 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11553 java/lang/reflect/ReflectPermission.java
11554 java/math/BigDecimal.java java/math/BigInteger.java
11555 java/net/Authenticator.java java/net/BindException.java
11556 java/net/ConnectException.java java/net/ContentHandler.java
11557 java/net/ContentHandlerFactory.java
11558 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11559 java/net/FileNameMap.java java/net/MalformedURLException.java
11560 java/net/MulticastSocket.java java/net/NetPermission.java
11561 java/net/NoRouteToHostException.java
11562 java/net/PasswordAuthentication.java
11563 java/net/ProtocolException.java java/net/ServerSocket.java
11564 java/net/Socket.java java/net/SocketException.java
11565 java/net/SocketImpl.java java/net/SocketImplFactory.java
11566 java/net/SocketOptions.java java/net/SocketPermission.java
11567 java/net/URLDecoder.java java/net/URLEncoder.java
11568 java/net/URLStreamHandlerFactory.java
11569 java/net/UnknownHostException.java
11570 java/net/UnknownServiceException.java
11571 java/rmi/AccessException.java
11572 java/rmi/AlreadyBoundException.java
11573 java/rmi/ConnectException.java
11574 java/rmi/ConnectIOException.java
11575 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11576 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11577 java/rmi/NotBoundException.java
11578 java/rmi/RMISecurityException.java
11579 java/rmi/RMISecurityManager.java java/rmi/Remote.java
11580 java/rmi/RemoteException.java java/rmi/ServerError.java
11581 java/rmi/ServerException.java
11582 java/rmi/ServerRuntimeException.java
11583 java/rmi/StubNotFoundException.java
11584 java/rmi/UnexpectedException.java
11585 java/rmi/UnknownHostException.java
11586 java/rmi/UnmarshalException.java
11587 java/rmi/activation/Activatable.java
11588 java/rmi/activation/ActivateFailedException.java
11589 java/rmi/activation/ActivationDesc.java
11590 java/rmi/activation/ActivationException.java
11591 java/rmi/activation/ActivationGroup.java
11592 java/rmi/activation/ActivationGroupDesc.java
11593 java/rmi/activation/ActivationGroupID.java
11594 java/rmi/activation/ActivationID.java
11595 java/rmi/activation/ActivationInstantiator.java
11596 java/rmi/activation/ActivationMonitor.java
11597 java/rmi/activation/ActivationSystem.java
11598 java/rmi/activation/Activator.java
11599 java/rmi/activation/UnknownGroupException.java
11600 java/rmi/activation/UnknownObjectException.java
11601 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11602 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11603 java/rmi/registry/Registry.java
11604 java/rmi/registry/RegistryHandler.java
11605 java/rmi/server/ExportException.java
11606 java/rmi/server/LoaderHandler.java
11607 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11608 java/rmi/server/Operation.java
11609 java/rmi/server/RMIClassLoader.java
11610 java/rmi/server/RMIClientSocketFactory.java
11611 java/rmi/server/RMIFailureHandler.java
11612 java/rmi/server/RMIServerSocketFactory.java
11613 java/rmi/server/RMISocketFactory.java
11614 java/rmi/server/RemoteCall.java
11615 java/rmi/server/RemoteObject.java
11616 java/rmi/server/RemoteRef.java
11617 java/rmi/server/RemoteServer.java
11618 java/rmi/server/RemoteStub.java
11619 java/rmi/server/ServerCloneException.java
11620 java/rmi/server/ServerNotActiveException.java
11621 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11622 java/rmi/server/SkeletonMismatchException.java
11623 java/rmi/server/SkeletonNotFoundException.java
11624 java/rmi/server/SocketSecurityException.java
11625 java/rmi/server/UID.java
11626 java/rmi/server/UnicastRemoteObject.java
11627 java/rmi/server/Unreferenced.java
11628 java/security/AccessControlContext.java
11629 java/security/AccessControlException.java
11630 java/security/AccessController.java
11631 java/security/AlgorithmParameterGenerator.java
11632 java/security/AlgorithmParameterGeneratorSpi.java
11633 java/security/AlgorithmParameters.java
11634 java/security/AlgorithmParametersSpi.java
11635 java/security/AllPermission.java
11636 java/security/BasicPermission.java
11637 java/security/Certificate.java java/security/CodeSource.java
11638 java/security/DigestException.java
11639 java/security/DigestInputStream.java
11640 java/security/DigestOutputStream.java
11641 java/security/DomainCombiner.java
11642 java/security/DummyKeyPairGenerator.java
11643 java/security/DummyMessageDigest.java
11644 java/security/DummySignature.java
11645 java/security/GeneralSecurityException.java
11646 java/security/Guard.java java/security/GuardedObject.java
11647 java/security/Identity.java java/security/IdentityScope.java
11648 java/security/InvalidAlgorithmParameterException.java
11649 java/security/InvalidKeyException.java
11650 java/security/InvalidParameterException.java
11651 java/security/Key.java java/security/KeyException.java
11652 java/security/KeyFactory.java java/security/KeyFactorySpi.java
11653 java/security/KeyManagementException.java
11654 java/security/KeyPair.java java/security/KeyPairGenerator.java
11655 java/security/KeyPairGeneratorSpi.java
11656 java/security/KeyStore.java
11657 java/security/KeyStoreException.java
11658 java/security/KeyStoreSpi.java
11659 java/security/MessageDigest.java
11660 java/security/MessageDigestSpi.java
11661 java/security/NoSuchAlgorithmException.java
11662 java/security/NoSuchProviderException.java
11663 java/security/Permission.java
11664 java/security/PermissionCollection.java
11665 java/security/Permissions.java java/security/Policy.java
11666 java/security/Principal.java java/security/PrivateKey.java
11667 java/security/PrivilegedAction.java
11668 java/security/PrivilegedActionException.java
11669 java/security/PrivilegedExceptionAction.java
11670 java/security/ProtectionDomain.java
11671 java/security/Provider.java
11672 java/security/ProviderException.java
11673 java/security/PublicKey.java
11674 java/security/SecureClassLoader.java
11675 java/security/SecureRandom.java
11676 java/security/SecureRandomSpi.java java/security/Security.java
11677 java/security/SecurityPermission.java
11678 java/security/Signature.java
11679 java/security/SignatureException.java
11680 java/security/SignatureSpi.java
11681 java/security/SignedObject.java java/security/Signer.java
11682 java/security/UnrecoverableKeyException.java
11683 java/security/UnresolvedPermission.java
11684 java/security/acl/Acl.java java/security/acl/AclEntry.java
11685 java/security/acl/AclNotFoundException.java
11686 java/security/acl/Group.java
11687 java/security/acl/LastOwnerException.java
11688 java/security/acl/NotOwnerException.java
11689 java/security/acl/Owner.java java/security/acl/Permission.java
11690 java/security/cert/CRL.java
11691 java/security/cert/CRLException.java
11692 java/security/cert/Certificate.java
11693 java/security/cert/CertificateEncodingException.java
11694 java/security/cert/CertificateException.java
11695 java/security/cert/CertificateExpiredException.java
11696 java/security/cert/CertificateFactory.java
11697 java/security/cert/CertificateFactorySpi.java
11698 java/security/cert/CertificateNotYetValidException.java
11699 java/security/cert/CertificateParsingException.java
11700 java/security/cert/X509CRL.java
11701 java/security/cert/X509CRLEntry.java
11702 java/security/cert/X509Certificate.java
11703 java/security/cert/X509Extension.java
11704 java/security/interfaces/DSAKey.java
11705 java/security/interfaces/DSAKeyPairGenerator.java
11706 java/security/interfaces/DSAParams.java
11707 java/security/interfaces/DSAPrivateKey.java
11708 java/security/interfaces/DSAPublicKey.java
11709 java/security/interfaces/RSAKey.java
11710 java/security/interfaces/RSAPrivateCrtKey.java
11711 java/security/interfaces/RSAPrivateKey.java
11712 java/security/interfaces/RSAPublicKey.java
11713 java/security/spec/AlgorithmParameterSpec.java
11714 java/security/spec/DSAParameterSpec.java
11715 java/security/spec/DSAPrivateKeySpec.java
11716 java/security/spec/DSAPublicKeySpec.java
11717 java/security/spec/EncodedKeySpec.java
11718 java/security/spec/InvalidKeySpecException.java
11719 java/security/spec/InvalidParameterSpecException.java
11720 java/security/spec/KeySpec.java
11721 java/security/spec/PKCS8EncodedKeySpec.java
11722 java/security/spec/RSAKeyGenParameterSpec.java
11723 java/security/spec/RSAPrivateCrtKeySpec.java
11724 java/security/spec/RSAPrivateKeySpec.java
11725 java/security/spec/RSAPublicKeySpec.java
11726 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11727 java/sql/BatchUpdateException.java java/sql/Blob.java
11728 java/sql/CallableStatement.java java/sql/Clob.java
11729 java/sql/Connection.java java/sql/DataTruncation.java
11730 java/sql/DatabaseMetaData.java java/sql/Date.java
11731 java/sql/Driver.java java/sql/DriverManager.java
11732 java/sql/DriverPropertyInfo.java
11733 java/sql/PreparedStatement.java java/sql/Ref.java
11734 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11735 java/sql/SQLData.java java/sql/SQLException.java
11736 java/sql/SQLInput.java java/sql/SQLOutput.java
11737 java/sql/SQLWarning.java java/sql/Statement.java
11738 java/sql/Struct.java java/sql/Time.java
11739 java/sql/Timestamp.java java/sql/Types.java
11740 java/text/Annotation.java
11741 java/text/AttributedCharacterIterator.java
11742 java/text/AttributedString.java
11743 java/text/AttributedStringIterator.java
11744 java/text/BreakIterator.java java/text/CharacterIterator.java
11745 java/text/ChoiceFormat.java java/text/Collator.java
11746 java/text/DateFormat.java java/text/DateFormatSymbols.java
11747 java/text/DecimalFormat.java
11748 java/text/DecimalFormatSymbols.java
11749 java/text/FieldPosition.java java/text/Format.java
11750 java/text/MessageFormat.java java/text/NumberFormat.java
11751 java/text/ParseException.java java/text/ParsePosition.java
11752 java/text/SimpleDateFormat.java
11753 java/text/StringCharacterIterator.java
11754 java/util/AbstractCollection.java java/util/AbstractList.java
11755 java/util/AbstractMap.java
11756 java/util/AbstractSequentialList.java
11757 java/util/AbstractSet.java java/util/ArrayList.java
11758 java/util/Arrays.java java/util/BasicMapEntry.java
11759 java/util/BitSet.java java/util/Calendar.java
11760 java/util/Collection.java java/util/Collections.java
11761 java/util/Comparator.java
11762 java/util/ConcurrentModificationException.java
11763 java/util/Date.java java/util/Dictionary.java
11764 java/util/EmptyStackException.java java/util/Enumeration.java
11765 java/util/EventListener.java java/util/EventObject.java
11766 java/util/GregorianCalendar.java java/util/HashMap.java
11767 java/util/HashSet.java java/util/Hashtable.java
11768 java/util/IdentityHashMap.java java/util/Iterator.java
11769 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11770 java/util/LinkedList.java java/util/List.java
11771 java/util/ListIterator.java java/util/ListResourceBundle.java
11772 java/util/Locale.java java/util/Map.java
11773 java/util/MissingResourceException.java
11774 java/util/NoSuchElementException.java
11775 java/util/Observable.java java/util/Observer.java
11776 java/util/Properties.java java/util/PropertyPermission.java
11777 java/util/PropertyResourceBundle.java java/util/Random.java
11778 java/util/RandomAccess.java java/util/ResourceBundle.java
11779 java/util/Set.java java/util/SimpleTimeZone.java
11780 java/util/SortedMap.java java/util/SortedSet.java
11781 java/util/Stack.java java/util/StringTokenizer.java
11782 java/util/TimeZone.java java/util/Timer.java
11783 java/util/TimerTask.java
11784 java/util/TooManyListenersException.java
11785 java/util/TreeMap.java java/util/TreeSet.java
11786 java/util/Vector.java java/util/WeakHashMap.java
11787 java/util/jar/Attributes.java java/util/jar/JarEntry.java
11788 java/util/jar/JarException.java java/util/jar/JarFile.java
11789 java/util/jar/JarInputStream.java
11790 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11791 java/util/zip/Adler32.java java/util/zip/CRC32.java
11792 java/util/zip/CheckedInputStream.java
11793 java/util/zip/CheckedOutputStream.java
11794 java/util/zip/Checksum.java
11795 java/util/zip/DataFormatException.java
11796 java/util/zip/Deflater.java
11797 java/util/zip/DeflaterOutputStream.java
11798 java/util/zip/GZIPInputStream.java
11799 java/util/zip/GZIPOutputStream.java
11800 java/util/zip/Inflater.java
11801 java/util/zip/InflaterInputStream.java
11802 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11803 java/util/zip/ZipException.java java/util/zip/ZipFile.java
11804 java/util/zip/ZipInputStream.java
11805 java/util/zip/ZipOutputStream.java
11806 javax/naming/BinaryRefAddr.java
11807 javax/naming/InvalidNameException.java javax/naming/Name.java
11808 javax/naming/NamingException.java javax/naming/RefAddr.java
11809 javax/naming/StringRefAddr.java: Add license clarification.
11810
11811 2002-01-22 Tom Tromey <tromey@redhat.com>
11812
11813 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11814 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11815 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11816 version.
11817 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11818 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11819 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11820 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11821 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11822 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11823 * java/awt/peer/FontPeer.java: Replace with Classpath version.
11824 * java/awt/peer/FramePeer.java: Replace with Classpath version.
11825 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11826 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11827 * java/awt/peer/ListPeer.java: Replace with Classpath version.
11828 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11829 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11830 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11831 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11832 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11833 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11834 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11835 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11836 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11837 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11838 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11839 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11840 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11841 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11842 (minimumSize, preferredSize, reshape): Likewise.
11843 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11844 getColorModel): New methods.
11845 * java/awt/PopupMenu.java: Merged with Classpath.
11846 * java/awt/MenuBar.java: Merged with Classpath.
11847 * java/awt/SystemColor.java: Replace with Classpath version.
11848 * java/awt/Panel.java: Merged with Classpath.
11849 * java/awt/PaintContext.java: Updated copyright.
11850 * java/awt/MenuShortcut.java: Merged with Classpath.
11851 * java/awt/MenuContainer.java: Merged with Classpath.
11852 * java/awt/Menu.java: Merged with Classpath.
11853 * java/awt/MediaEntry.java: New file from Classpath.
11854 * java/awt/MediaTracker.java: New file from Classpath.
11855 * java/awt/List.java: Merged with Classpath version.
11856 * java/awt/Insets.java: Merged with Classpath version.
11857 * java/awt/ImageMediaEntry.java: New file from Classpath.
11858 * java/awt/Image.java: Replaced with Classpath version.
11859 * java/awt/FontMetrics.java: Merged with Classpath version.
11860 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11861 constant.
11862 * java/awt/Font.java: Merged with Classpath version.
11863 * java/awt/Dialog.java: Merged with Classpath version.
11864 * java/awt/Color.java: Merged with Classpath version.
11865 * java/awt/Choice.java: Merged with Classpath version.
11866 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11867 * java/awt/Adjustable.java: Replace with Classpath version.
11868 * java/awt/MenuItem.java (paramString): Don't include class name
11869 or brackets. Call superclass paramString.
11870 * java/awt/MenuComponent.java (toString): Call paramString.
11871 (paramString): Compute string; don't call toString.
11872 * java/awt/Label.java (paramString): Don't include class name
11873 or brackets. Call superclass paramString.
11874 * java/awt/Checkbox.java (paramString): Don't include class name
11875 or brackets. Call superclass paramString.
11876 * java/awt/Button.java (paramString): Don't include class name or
11877 brackets. Call superclass paramString.
11878 * java/awt/MenuComponent.java (getTreeLock): Now protected.
11879
11880 2002-01-20 Andreas Schwab <schwab@suse.de>
11881
11882 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11883 function and of parameter recv_func to ssize_t, as specified by
11884 POSIX.
11885
11886 2002-01-19 Per Bothner <per@bothner.com>
11887
11888 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
11889 uncompressed_size in readiness for next entry.
11890
11891 2002-01-18 Tom Tromey <tromey@redhat.com>
11892
11893 * java/net/natPlainSocketImpl.cc: Include
11894 IllegalArgumentException.h.
11895 (_Jv_recv): New template function.
11896 (BooleanClass): Removed.
11897 (read): Use _Jv_recv.
11898 (setOption): Use Boolean::class$. Throw exception if object is
11899 not Boolean or Integer.
11900
11901 2002-01-17 Tom Tromey <tromey@redhat.com>
11902
11903 * java/awt/MenuComponent.java: Merged with Classpath.
11904 * java/awt/MenuItem.java: Merged with Classpath.
11905 * java/awt/Button.java: Merged with Classpath.
11906
11907 * java/awt/ActiveEvent.java: Updated copyright.
11908
11909 * java/awt/AWTError.java: Replaced with Classpath version.
11910 * java/awt/AWTException.java: Replaced with Classpath version.
11911 * java/awt/IllegalComponentStateException.java: Replaced with
11912 Classpath version.
11913
11914 2002-01-16 Tom Tromey <tromey@redhat.com>
11915
11916 * java/awt/Canvas.java (serialVersionUID): New constant.
11917 Updated copyright. Added javadoc from Classpath.
11918 * java/awt/ItemSelectable.java: Replaced with Classpath version.
11919
11920 * java/awt/CheckboxGroup.java: Merged with Classpath.
11921 * java/awt/Checkbox.java: Merged with Classpath.
11922
11923 * java/awt/Dimension.java: Updated copyright. Added javadoc from
11924 Classpath.
11925 * java/awt/Point.java: Updated copyright.
11926
11927 * java/awt/Point.java (toString): Use getClass().getName().
11928 Added javadoc.
11929
11930 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11931 commented code.
11932 (hash): Correctly compute initial value for `h'.
11933
11934 * java/awt/Label.java: Merged with Classpath.
11935
11936 2002-01-15 Tom Tromey <tromey@redhat.com>
11937
11938 * java/awt/AWTPermission.java: Updated copyright.
11939
11940 * java/awt/LayoutManager2.java: Merged with Classpath.
11941 * java/awt/LayoutManager.java: Merged with Classpath.
11942 * java/awt/GridLayout.java: Updated copyright and javadoc.
11943 (getSize): Use `parent.ncomponents'. Handle insets.
11944 (layoutContainer): Use `parent.ncomponents'. Handle case where
11945 there are fewer children than columns. Correctly compute size of
11946 each cell in the grid. Handle case where there isn't enough
11947 space.
11948 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
11949 all users.
11950 (gotoComponent): Use parent.ncomponents. Ensure child exists
11951 before calling setVisible() on it. Last item is `num - 1', not
11952 `num'.
11953 (layoutContainer): Hoist invariants out of loop.
11954
11955 Start of AWT merge with Classpath:
11956 * Makefile.in: Rebuilt.
11957 * Makefile.am (awt_java_source_files): Reference files in
11958 gnu/java/awt, not gnu/gcj/awt.
11959 * java/awt/image/BufferedImage.java: Updated copyright.
11960 * java/awt/image/ComponentColorModel.java: Updated copyright.
11961 * java/awt/image/ComponentSampleModel.java: Updated copyright.
11962 * java/awt/image/DataBuffer.java: Updated copyright.
11963 * java/awt/image/DataBufferByte.java: Updated copyright.
11964 * java/awt/image/DataBufferInt.java: Updated copyright.
11965 * java/awt/image/DataBufferUShort.java: Updated copyright.
11966 * java/awt/image/IndexColorModel.java: Updated copyright.
11967 * java/awt/image/PackedColorModel.java: Updated copyright.
11968 * java/awt/image/Raster.java: Updated copyright.
11969 * java/awt/image/RasterOp.java: Updated copyright.
11970 * java/awt/image/SampleModel.java: Updated copyright.
11971 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11972 * java/awt/image/WritableRaster.java: Updated copyright.
11973 * java/awt/color/ColorSpace.java: Updated copyright.
11974 * java/awt/color/ICC_ColorSpace.java: Updated copyright
11975 * java/awt/color/ICC_Profile.java: Updated copyright.
11976 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11977 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11978 * java/awt/event/HierarchyEvent.java: Updated copyright.
11979 * java/awt/event/HierarchyListener.java: Updated copyright.
11980 * java/awt/geom/AffineTransform.java: Updated copyright.
11981 * java/awt/geom/Dimension2D.java: Updated copyright.
11982 * java/awt/geom/Ellipse2D.java: Updated copyright.
11983 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11984 * java/awt/geom/Line2D.java: Updated copyright.
11985 * java/awt/geom/NoninvertibleTransformException.java: Updated
11986 copyright.
11987 * java/awt/geom/PathIterator.java: Updated copyright.
11988 * java/awt/geom/Point2D.java: Updated copyright.
11989 * java/awt/geom/Rectangle2D.java: Updated copyright.
11990 * java/awt/geom/RectangularShape.java: Updated copyright.
11991 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11992 * java/awt/Toolkit.java: Updated import for file moves.
11993 * java/awt/Rectangle.java: Updated copyright; added javadoc from
11994 Classpath.
11995 (hashCode): New method from Classpath.
11996 * java/awt/Graphics2D.java: Updated copyright.
11997 * java/awt/Transparency.java: Updated copyright.
11998 * java/awt/Paint.java: Updated copyright.
11999 * java/awt/Graphics.java: New version from Classpath.
12000 * java/awt/EventDispatchThread.java: Updated copyright.
12001 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
12002 children.
12003 (gotoComponent): Wrap around on next/previous.
12004 * gnu/gcj/awt/BitMaskExtent.java: Removed.
12005 * gnu/gcj/awt/Buffers.java: Removed.
12006 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
12007 * gnu/gcj/awt/GLightweightPeer.java: Removed.
12008 * gnu/java/awt/BitMaskExtent.java: Added.
12009 * gnu/java/awt/Buffers.java: Added.
12010 * gnu/java/awt/ComponentDataBlitOp.java: Added.
12011 * gnu/java/awt/GLightweightPeer.java: Added.
12012 * java/awt/geom/Line2D.java (clone): Ignore
12013 CloneNotSupportedException.
12014 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
12015 * java/awt/Frame.java: Merged with Classpath.
12016 * java/awt/RenderingHints.java: Copyright update.
12017 * java/awt/Paint.java: Copyright update.
12018 * java/awt/image/DirectColorModel.java: Merged with Classpath.
12019 * java/awt/image/ColorModel.java: Merged with Classpath.
12020 * java/awt/Window.java (show): New Implementation from Classpath.
12021 (isShowing): Use super.isShowing().
12022 * java/awt/EventQueue.java: Merged with Classpath.
12023 * java/awt/AWTEventMulticaster.java (save): Throw
12024 RuntimeException.
12025 (saveInternal): Likewise.
12026 * java/awt/AWTEvent.java: Now implements Serializable.
12027 * java/awt/Event.java: Copyright update.
12028 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12029 * java/awt/image/BufferedImage.java: Copyright update.
12030 * java/awt/GraphicsConfiguration.java: Copyright update.
12031 * java/awt/Component.java: (addNotify): Don't call
12032 addNotifyContainerChildren().
12033 (addNotifyContainerChildren): Removed.
12034 (setPeer): New method from Classpath.
12035 (setTreeLock): Likewise.
12036 (setVisible): Rewrote.
12037 (show): Use it.
12038 (hide): Likewise.
12039 (validate): Set `valid'.
12040 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12041 (createImage(ImageProducer)): Likewise.
12042 (prepareImage): Likewise.
12043 * java/awt/Container.java (addImpl): Handle case where constraint
12044 is not a String. Post event via system event queue.
12045 (remove): Post event via system event queue.
12046 (validateTree): Only validate child if it is invalid.
12047 (getAlignmentX): Call super method as default.
12048 (getAlignmentY): Likewise.
12049 (addContainerListener): Now synchronized.
12050 (removeContainerListener): Likewise.
12051 (addNotifyContainerChildren): Now private.
12052 * java/awt/ComponentOrientation.java: Updated copyright. Added
12053 @author.
12054 * java/awt/FlowLayout.java (serialVersionUID): New field.
12055 (setAlignment): Better exception message.
12056 (layoutContainer): Don't compute component's preferred size unless
12057 we're going to use it.
12058 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12059 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12060 (firstLine, lastLine, firstItem, lastItem): New fields.
12061 (addLayoutComponent): Handle case where constraints is null.
12062 Also, handle relative locations.
12063 (removeLayoutComponent): Handle relative locations.
12064 (MIN, MAX, PREF): New constants.
12065 (calcCompSize): New method.
12066 (calcSize): New method.
12067 (minimumLayoutSize): Use it.
12068 (preferredLayoutSize): Likewise.
12069 (maximumLayoutSize): Likewise.
12070 (toString): Include more information.
12071 (setBounds): New method.
12072 (layoutContainer): Use libgcj implementation; extended to handle
12073 relative locations.
12074
12075 2002-01-15 Tom Tromey <tromey@redhat.com>
12076
12077 * java/lang/Float.java (equals): Preserve old code.
12078 * java/lang/Double.java (equals): Preserve old code.
12079
12080 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12081
12082 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12083 * java/lang/Float.java (equals, compare): Ditto.
12084
12085 2002-01-13 Mark Wielaard <mark@klomp.org>
12086
12087 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12088 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12089 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12090 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12091
12092 2002-01-11 Mark Wielaard <mark@klomp.org>
12093
12094 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12095 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12096 InetAddress.
12097 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12098 * java/net/Socket.java: Merge with Classpath.
12099 * java/net/ServerSocket.java: Likewise.
12100
12101 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12102
12103 * interpret.cc (NULLARRAYCHECK): New macro.
12104 (SAVE_PC): Just store `pc'.
12105 (find_exception): Subtract one from `pc' here.
12106 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12107 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12108 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12109 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12110 don't call SAVE_PC.
12111 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12112 call SAVE_PC.
12113
12114 2002-01-11 Tom Tromey <tromey@redhat.com>
12115
12116 * java/lang/natSystem.cc (init_properties): Only look for default
12117 locale if LC_MESSAGES is defined.
12118 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12119 * configure.in: Call AM_LC_MESSAGES.
12120 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12121
12122 2002-01-10 Tom Tromey <tromey@redhat.com>
12123
12124 For PR libgcj/5303:
12125 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12126 --version. Recognize GNU-style long options. Print GNU-style
12127 error messages.
12128 (usage): Print GNU-style help. Exit with status 0.
12129 (error): New method.
12130 (run): Print error message if no class names found.
12131 (main): Don't print usage on error.
12132
12133 2002-01-09 Tom Tromey <tromey@redhat.com>
12134
12135 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12136 property.
12137 (help, version): Use println(), not println("").
12138
12139 For PR libgcj/5303:
12140 * gnu/gcj/convert/Convert.java (error): Program is called
12141 `jv-convert'. Print GNU-style message. Exit with status 1, not
12142 -1.
12143 (main): Handle --help and --version.
12144 (help): New method.
12145 (version): Likewise.
12146
12147 2002-01-08 Tom Tromey <tromey@redhat.com>
12148
12149 * Makefile.in: Rebuilt.
12150 * Makefile.am (ordinary_java_source_files): Added new files.
12151 * gnu/java/locale/LocaleInformation.java: Extend
12152 LocaleInformation_en.
12153 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12154 and time/date formats.
12155 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12156 generated.
12157 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12158 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12159 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12160 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12161 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12162 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12163 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12164 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12165 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12166 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12167 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12168 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12169 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12170 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12171 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12172 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12173 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12174 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12175 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12176 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12177 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12178 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12179 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12180 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12181 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12182 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12183 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12184 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12185 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12186 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12187 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12188 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12189 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12190 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12191 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12192 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12193 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12194 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12195 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12196 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12197 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12198 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12199 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12200 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12201 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12202 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12203 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12204 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12205 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12206 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12207 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12208 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12209 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12210 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12211 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12212 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12213 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12214 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12215 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12216 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12217 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12218 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12219 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12220 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12221 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12222 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12223 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12224 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12225 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12226 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12227 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12228 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12229 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12230 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12231 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12232 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12233 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12234 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12235 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12236 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12237 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12238 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12239 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12240 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12241 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12242 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12243 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12244 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12245 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12246 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12247 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12248 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12249 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12250 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12251 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12252 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12253 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12254 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12255 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12256 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12257 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12258 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12259 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12260 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12261 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12262 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12263 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12264 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12265 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12266 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12267 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12268 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12269 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12270 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12271 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12272 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12273 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12274 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12275 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12276 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12277 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12278 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12279 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12280 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12281 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12282 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12283 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12284 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12285 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12286 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12287
12288 For PR libgcj/5031:
12289 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12290 choose default locale.
12291
12292 * Makefile.in: Rebuilt.
12293 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12294
12295 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12296
12297 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12298 sockets.
12299 (close): New function closes the socket.
12300 (write): New functions for output to socket.
12301 (read): New functions for reading from socket.
12302 * java/net/PlainSocketImpl.java: Glue for new timeout
12303 implementation.
12304 (write): Call the native impl.
12305 (read): Likewise.
12306 (getInputStream): Get a stream to read from the socket.
12307 (getOutputStream): Get a stream to write to the socket.
12308
12309 2002-01-08 Tom Tromey <tromey@redhat.com>
12310
12311 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12312
12313 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12314
12315 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12316 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12317
12318 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12319
12320 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12321 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12322 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12323 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12324 insn_bastore, insn_castore, insn_sastore]: Use it.
12325 (continue1) [insn_arraylength]: Check for null array.
12326
12327 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12328
12329 * configure, include/config.h.in: Rebuilt.
12330 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12331 * configure.in: Call AC_STRUCT_TIMEZONE.
12332
12333 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12334
12335 * configure.host: Disable the interpreter for Darwin.
12336
12337 2002-01-04 Tom Tromey <tromey@redhat.com>
12338
12339 * java/lang/Thread.java (stop): No longer synchronized.
12340 (start): Likewise.
12341
12342 2002-01-02 Tom Tromey <tromey@redhat.com>
12343
12344 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12345 patch.
12346
12347 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12348
12349 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12350 PPC Darwin, not for all of Darwin.