* gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
[gcc.git] / libjava / ChangeLog
1 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2
3 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
4 (setCaretPosition, setEditable): Rely entirely on native
5 implementation.
6 (getArgs): Remove.
7 (postTextEvent): New method.
8 (handleEvent): New method.
9 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
10 method.
11 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
12 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
13 (keysym_to_awt_keycode): Fix range checks.
14 (generates_key_typed_event): New function.
15 (awt_event_handler): Post AWT_KEY_RELEASED events to event
16 queue.
17 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
18 (gtkInit): Store TextComponent's postTextEvent method ID.
19 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
20 (setText): Post TEXT_VALUE_CHANGED event to event queue.
21
22 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
23
24 * configure.in: Check for usleep declaration.
25 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
26 * configure: Regenerate.
27 * include/config.h.in: Likewise.
28 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
29
30 2003-07-01 Michael Koch <konqueror@gmx.de>
31
32 * gnu/gcj/convert/natIconv.cc
33 (iconv_init): Fixed possible memory leak by releasing allocated iconv
34 handle.
35
36 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
37
38 * glib-2.0.m4: New file.
39 * gtk-2.0.m4: New file.
40 * glib.m4: Remove.
41 * gtk.m4: Remove.
42 * configure.in: Update AM_PATH_GTK macro call to
43 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
44 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
45 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
46 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
47 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
48 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
49 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
50 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
51 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
52 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
53 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
54 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
55 jni/gtk-peer/gthread-jni.c,
56 jni/gtk-peer/gthread-jni.h:
57 New versions from classpath.
58 * aclocal.m4: Regenerate.
59 * configure: Regenerate.
60 * Makefile.in: Regenerate.
61 * gcj/Makefile.in: Regenerate.
62 * include/Makefile.in: Regenerate.
63 * testsuite/Makefile.in: Regenerate.
64
65 2003-06-30 Gary Benson <gbenson@redhat.com>
66
67 For PR libgcj/11349:
68 * javax/naming/spi/NamingManager.java (getURLContext): Use
69 correct name for factory class.
70
71 2003-06-28 Michael Koch <konqueror@gmx.de>
72
73 * java/io/PrintStream.java
74 (checkError): Call flush() instead of direct flushing of the Writer
75 object.
76 (print): Call print(String) instead of direct print method of the
77 Writer Object.
78 (println): Call println(String) instead of direct println method of the
79 Writer Object.
80 (write): Simplified.
81
82 2003-06-28 Michael Koch <konqueror@gmx.de>
83
84 * java/net/ServerSocket.java
85 (setChannel): New method.
86 * java/net/Socket.java
87 (setChannel): New method.
88
89 2003-06-27 Michael Koch <konqueror@gmx.de>
90
91 * java/beans/beancontext/BeanContextSupport.java:
92 New version from classpath.
93
94 2003-06-27 Michael Koch <konqueror@gmx.de>
95
96 * java/awt/Window.java,
97 java/awt/font/GraphicAttribute.java,
98 java/awt/font/ImageGraphicAttribute.java,
99 java/awt/image/DataBufferByte.java,
100 java/awt/image/DataBufferInt.java,
101 java/awt/image/DataBufferUShort.java,
102 java/awt/image/DirectColorModel.java,
103 java/awt/image/PixelGrabber.java:
104 New versions from classpath.
105
106 2003-06-27 Michael Koch <konqueror@gmx.de>
107
108 * java/security/Certificate.java
109 (getGuarantor): Removed wrong @deprecated tag.
110 (getPrincipal): Likewise.
111 (getPublicKey): Likewise.
112 (encode): Likewise.
113 (decode): Likewise.
114 (getFormat): Likewise.
115 (toString): Likewise.
116 * java/security/cert/PolicyQualifierInfo.java
117 (PolicyQualifierInfo): Made final.
118 * javax/security/auth/x500/X500Principal.java
119 (serialVersionUID): New member variable.
120
121 2003-06-27 Michael Koch <konqueror@gmx.de>
122
123 * java/text/Format.java
124 (serialVersionUID): Fixed value.
125
126 2003-06-27 Michael Koch <konqueror@gmx.de>
127
128 * java/net/Inet4Address.java
129 (Inet4Address): Made package-private.
130 * java/net/Inet6Address.java
131 (Inet4Address): Made package-private.
132
133 2003-06-27 Michael Koch <konqueror@gmx.de>
134
135 * java/io/RandomAccessFile.java
136 (readLine): Removed wrong @deprecated tag.
137 (getChannel): Made final.
138
139 2003-06-27 Michael Koch <konqueror@gmx.de>
140
141 * gnu/java/nio/FileChannelImpl.java
142 (write): Removed.
143
144 2003-06-27 Michael Koch <konqueror@gmx.de>
145
146 * java/nio/ByteBufferImpl.java
147 (ByteBufferImpl): Made it a package-private class
148 * java/nio/CharBufferImpl.java
149 (CharBufferImpl): Made it a package-private class
150 * java/nio/DirectByteBufferImpl.java
151 (DirectByteBufferImpl): Made it a package-private class
152 * java/nio/DoubleBufferImpl.java
153 (DoubleBufferImpl): Made it a package-private class
154 * java/nio/FloatBufferImpl.java
155 (FloatBufferImpl): Made it a package-private class
156 * java/nio/IntBufferImpl.java
157 (IntBufferImpl): Made it a package-private class
158 * java/nio/LongBufferImpl.java
159 (LongBufferImpl): Made it a package-private class
160 * java/nio/ShortBufferImpl.java
161 (ShortBufferImpl): Made it a package-private class
162 * java/nio/channels/FileChannel.java
163 (write): Made final.
164 * java/nio/channels/ServerSocketChannel.java
165 (ServerSocketChanne): Made protected.
166
167 2003-06-27 Michael Koch <konqueror@gmx.de>
168
169 * javax/naming/CompositeName.java
170 (serialVersionUID): New member variable.
171 * javax/naming/CompoundName.java
172 (serialVersionUID): New member variable.
173 * javax/naming/InitialContext.java
174 (InitialContext): Throws NamingException.
175 (init): Likewise.
176 * javax/naming/LinkRef.java
177 (serialVersionUID): New member variable.
178 (gteLinkName): Throws NamingException.
179 * javax/naming/NamingException.java
180 (serialVersionUID): New member variable.
181 * javax/naming/NamingSecurityException.java
182 (NamingSecurityException): Made abstract.
183 (serialVersionUID): New member variable.
184 * javax/naming/ReferralException.java
185 (serialVersionUID): New member variable.
186 * javax/naming/StringRefAddr.java
187 (serialVersionUID): New member variable.
188 * javax/naming/directory/BasicAttribute.java:
189 Reworked imports.
190 (serialVersionUID): New member variable.
191 (get): Throws NamingException.
192 (getAll): Throws NamingException.
193 * javax/naming/directory/BasicAttributes.java:
194 Reworked imports.
195 (serialVersionUID): New member variable.
196 * javax/naming/ldap/UnsolicitedNotificationEvent.java
197 (serialVersionUID): New member variable.
198
199 2003-06-27 Michael Koch <konqueror@gmx.de>
200
201 * Makefile.am
202 (awt_java_source_files): Added new files:
203 javax/swing/Popup.java,
204 javax/swing/PopupFactory.java
205 * Makefile.in: Regenerated.
206
207 2003-06-27 Michael Koch <konqueror@gmx.de>
208
209 * javax/swing/JWindow.java,
210 javax/swing/event/AncestorEvent.java,
211 javax/swing/event/HyperlinkEvent.java,
212 javax/swing/event/InternalFrameEvent.java,
213 javax/swing/event/ListDataEvent.java,
214 javax/swing/event/TableModelEvent.java,
215 javax/swing/plaf/PopupMenuUI.java,
216 javax/swing/plaf/SplitPaneUI.java,
217 javax/swing/plaf/TabbedPaneUI.java,
218 javax/swing/plaf/TextUI.java,
219 javax/swing/plaf/TreeUI.java,
220 javax/swing/plaf/basic/BasicTextUI.java,
221 javax/swing/plaf/basic/BasicTreeUI.java:
222 New versions from classpath.
223 * javax/swing/Popup.java,
224 javax/swing/PopupFactory.jav:
225 New source files from classpath.
226 * javax/swing/plaf/doc-files/TreeUI-1.png:
227 New binary files from classpath.
228
229 2003-06-25 Michael Koch <konqueror@gmx.de>
230
231 * Makefile.am
232 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
233 * Makefile.in: Regenerated.
234
235 2003-06-25 Michael Koch <konqueror@gmx.de>
236
237 * javax/swing/plaf/ActionMapUIResource.java,
238 javax/swing/plaf/BorderUIResource.java,
239 javax/swing/plaf/ButtonUI.java,
240 javax/swing/plaf/ColorChooserUI.java,
241 javax/swing/plaf/ColorUIResource.java,
242 javax/swing/plaf/ComboBoxUI.java,
243 javax/swing/plaf/ComponentInputMapUIResource.java,
244 javax/swing/plaf/ComponentUI.java,
245 javax/swing/plaf/DesktopIconUI.java,
246 javax/swing/plaf/DesktopPaneUI.java,
247 javax/swing/plaf/DimensionUIResource.java,
248 javax/swing/plaf/FileChooserUI.java,
249 javax/swing/plaf/FontUIResource.java,
250 javax/swing/plaf/IconUIResource.java,
251 javax/swing/plaf/InputMapUIResource.java,
252 javax/swing/plaf/InsetsUIResource.java,
253 javax/swing/plaf/InternalFrameUI.java,
254 javax/swing/plaf/LabelUI.java,
255 javax/swing/plaf/ListUI.java,
256 javax/swing/plaf/MenuBarUI.java,
257 javax/swing/plaf/MenuItemUI.java,
258 javax/swing/plaf/OptionPaneUI.java,
259 javax/swing/plaf/PanelUI.java,
260 javax/swing/plaf/ProgressBarUI.java,
261 javax/swing/plaf/RootPaneUI.java,
262 javax/swing/plaf/ScrollBarUI.java,
263 javax/swing/plaf/ScrollPaneUI.java,
264 javax/swing/plaf/SeparatorUI.java,
265 javax/swing/plaf/SliderUI.java,
266 javax/swing/plaf/TableHeaderUI.java,
267 javax/swing/plaf/TableUI.java,
268 javax/swing/plaf/ToolBarUI.java,
269 javax/swing/plaf/ToolTipUI.java,
270 javax/swing/plaf/ViewportUI.java:
271 New versions from classpath.
272 * javax/swing/plaf/SpinnerUI.java:
273 New file from classpath
274
275 2003-06-25 Michael Koch <konqueror@gmx.de>
276
277 * java/awt/image/ColorModel.java:
278 New version from classpath.
279
280 2003-06-25 Michael Koch <konqueror@gmx.de>
281
282 * java/net/PlainDatagramSocketImpl.java:
283 Partly merged with classpath, this mainly adds documentation.
284
285 2003-06-25 Michael Koch <konqueror@gmx.de>
286
287 * java/io/ObjectInputStream.java
288 (readClassDescriptor): New method.
289 (readObject): Moved functionality to readClassDescriptor().
290 * java/io/ObjectOutputStream.java
291 (writeClassDescriptor): New method.
292 (writeObject): Moved functionality to writeClassDescriptor().
293
294 2003-06-25 Michael Koch <konqueror@gmx.de>
295
296 * javax/swing/plaf/basic/BasicListUI.java,
297 javax/swing/plaf/basic/BasicOptionPaneUI.java:
298 Added missing methods.
299
300 2003-06-25 Michael Koch <konqueror@gmx.de>
301
302 * javax/swing/event/AncestorEvent.java
303 javax/swing/event/HyperlinkEvent.java
304 javax/swing/event/InternalFrameEvent.java
305 javax/swing/event/ListDataEvent.java
306 javax/swing/event/TableModelEvent.java:
307 Compile fixes.
308
309 2003-06-24 Michael Koch <konqueror@gmx.de>
310
311 * java/net/URL.java:
312 Renamed "handler" to "ph" in the whole file to match classpaths
313 version.
314 * java/net/URLStreamHandler.java:
315 (equals): Renamed "handler" to "ph".
316
317 2003-06-24 Michael Koch <konqueror@gmx.de>
318
319 * javax/swing/event/AncestorEvent.java,
320 javax/swing/event/HyperlinkEvent.java,
321 javax/swing/event/InternalFrameEvent.java,
322 javax/swing/event/ListDataEvent.java,
323 javax/swing/event/TableModelEvent.java,
324 javax/swing/event/TreeWillExpandListener.java,
325 javax/swing/plaf/ComponentUI.java,
326 javax/swing/plaf/DesktopIconUI.java,
327 javax/swing/plaf/DesktopPaneUI.java,
328 javax/swing/plaf/DimensionUIResource.java,
329 javax/swing/plaf/FileChooserUI.java,
330 javax/swing/plaf/FontUIResource.java,
331 javax/swing/plaf/IconUIResource.java,
332 javax/swing/plaf/InputMapUIResource.java,
333 javax/swing/plaf/InsetsUIResource.java,
334 javax/swing/plaf/InternalFrameUI.java,
335 javax/swing/plaf/LabelUI.java,
336 javax/swing/plaf/ListUI.java,
337 javax/swing/plaf/MenuBarUI.java,
338 javax/swing/plaf/MenuItemUI.java,
339 javax/swing/plaf/OptionPaneUI.java,
340 javax/swing/plaf/PanelUI.java,
341 javax/swing/plaf/ProgressBarUI.java,
342 javax/swing/plaf/doc-files/ComponentUI-1.dia,
343 javax/swing/plaf/doc-files/ComponentUI-1.png:
344 New versions from classpath.
345
346 2003-06-24 Michael Koch <konqueror@gmx.de>
347
348 * java/nio/Buffer.java
349 (cap): Made package-private.
350 (pos): Likewise.
351 (limit): Likewise.
352 (mark): Likewise.
353
354 2003-06-24 Michael Koch <konqueror@gmx.de>
355
356 * java/net/SocketImpl.java
357 (shutdownInput): Made it non-abstract method throwing an exception
358 like in SUNs JRE.
359 (shutdownOutput): Likewise.
360 * java/net/SocketInputStream.java,
361 java/net/SocketOutputStream.java:
362 New files from classpath.
363
364 2003-06-24 Michael Koch <konqueror@gmx.de>
365
366 * java/awt/Font.java,
367 java/awt/Window.java,
368 java/awt/color/ColorSpace.java,
369 java/awt/datatransfer/StringSelection.java,
370 java/awt/image/ColorModel.java:
371 New versions from classpath.
372
373 2003-06-24 Michael Koch <konqueror@gmx.de>
374
375 * Makefile.am
376 (awt_java_source_files): Added new files:
377 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
378 javax/swing/plaf/basic/BasicSplitPaneUI.java
379 * Makefile.in: Regenerated.
380
381 2003-06-24 Michael Koch <konqueror@gmx.de>
382
383 * javax/swing/text/JTextComponent.java:
384 New version from classpath.
385
386 2003-06-24 Michael Koch <konqueror@gmx.de>
387
388 * javax/swing/Timer.java,
389 javax/swing/plaf/ActionMapUIResource.java,
390 javax/swing/plaf/ButtonUI.java,
391 javax/swing/plaf/ColorChooserUI.java,
392 javax/swing/plaf/ColorUIResource.java,
393 javax/swing/plaf/ComboBoxUI.java,
394 javax/swing/plaf/ComponentInputMapUIResource.java,
395 javax/swing/plaf/basic/BasicBorders.java:
396 New versions from classpath.
397 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
398 javax/swing/plaf/basic/BasicSplitPaneUI.java:
399 New file from classpath.
400 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
401 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
402 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
403 javax/swing/plaf/doc-files/ComponentUI-1.dia,
404 javax/swing/plaf/doc-files/ComponentUI-1.png:
405 New binary files from classpath.
406
407 2003-06-24 Michael Koch <konqueror@gmx.de>
408
409 * java/io/LineNumberReader.java
410 (skip): Dont do line number accounting here as this is already done in
411 read(), simplified.
412
413 2003-06-21 Michael Koch <konqueror@gmx.de>
414
415 * java/io/File.java
416 (static): Load javaio lib if existing (only in classpath).
417 (File): Revised documentation to show the correct argument name.
418 (createTempFile): Partly merged with classpath.
419 (compareTo): Simplified.
420 (lastModified): Throw exception if time < 0.
421 (deleteOnExit): Revised documentation.
422
423 2003-06-21 Michael Koch <konqueror@gmx.de>
424
425 * java/net/PlainSocketImpl.java:
426 Reformatted.
427 (PlainSocketImpl): Merged class documentaion with classpath.
428 (in): Moved.
429 (out): Moved.
430 (PlainSocketImpl): New empty constructor.
431 (finalize): Moved.
432 (setOption): Merged documentation from classpath.
433 (getOption): Likewise.
434 (create): Likewise.
435 (connect): Likewise.
436 (bind): Likewise.
437 (listen): Likewise.
438 (accept): Likewise.
439 (available): Likewise.
440 (close): Likewise.
441 (read): Likewise.
442 (write): Likewise.
443 (getInputStream): Made synchronozed to get sure that only one stream
444 object can be created for this socket, merged documentation from
445 classpath.
446 (getOutputStream): Likewise.
447
448 2003-06-21 Michael Koch <konqueror@gmx.de>
449
450 * java/net/PlainSocketImpl.java:
451 Reformatting.
452 (static): New implicit method.
453 (read): Made package private.
454 (write): Likewise.
455
456 2003-06-21 Michael Koch <konqueror@gmx.de>
457
458 * java/util/SimpleTimeZone.java:
459 Removed unneeded import, reformatting.
460
461 2003-06-21 Michael Koch <konqueror@gmx.de>
462
463 * java/text/DateFormat.java,
464 java/text/SimpleDateFormat.java,
465 java/util/Locale.java:
466 New versions from classpath.
467
468 2003-06-21 Michael Koch <konqueror@gmx.de>
469
470 * javax/swing/SpinnerModel.java:
471 New file from classpath.
472 * javax/swing/border/LineBorder.java,
473 javax/swing/border/SoftBevelBorder.java,
474 javax/swing/plaf/BorderUIResource.java,
475 javax/swing/plaf/basic/BasicBorders.java:
476 New versions from classpath.
477 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
478 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
479 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
480 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
481 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
482 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
483 New binary files from classpath.
484
485 2003-06-21 Michael Koch <konqueror@gmx.de>
486
487 * java/util/logging/LogRecord.java,
488 java/util/logging/Logger.java,
489 java/util/logging/SocketHandler.java,
490 java/util/logging/SimpleFormatter.java,
491 java/util/logging/Formatter.java,
492 java/util/logging/ErrorManager.java,
493 java/util/logging/Handler.java,
494 java/util/logging/FileHandler.java,
495 java/util/logging/LogManager.java,
496 java/util/logging/Level.java,
497 java/util/logging/ConsoleHandler.java,
498 java/util/logging/StreamHandler.java,
499 java/util/logging/LoggingPermission.java,
500 java/util/logging/Filter.java,
501 java/util/logging/MemoryHandler.java,
502 java/util/logging/XMLFormatter.java:
503 New files from classpath.
504
505 2003-06-20 Michael Koch <konqueror@gmx.de>
506
507 * java/io/ObjectStreamField.java
508 (unshared): new member variable.
509 (ObjectStreamField): New constructor.
510 (isUnshared): New method.
511
512 2003-06-20 Michael Koch <konqueror@gmx.de>
513
514 * java/net/URLStreamHandler.java
515 (hostsEqual): Rewritten.
516
517 2003-06-20 Michael Koch <konqueror@gmx.de>
518
519 * gnu/java/nio/MappedByteFileBuffer.java,
520 gnu/java/nio/natMappedByteFileBuffer.cc:
521 Removed
522 * java/nio/MappedByteBufferImpl.java:
523 New file.
524 * gnu/java/nio/FileChannelImpl.java:
525 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
526 * Makefile.am
527 (ordinary_java_source_files): Removed
528 gnu/java/nio/MappedByteFileBuffer.java and added
529 java/nio/MappedByteBufferImpl.java.
530 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
531 * Makefile.in: Regenerated.
532
533 2003-06-19 Michael Koch <konqueror@gmx.de>
534
535 * gnu/java/nio/DatagramChannelImpl.java
536 (fd): Removed.
537 (blocking): New member variable.
538 (socket): Likewise.
539 (DatagramChannelImpl): Throws IOException, initialize socket.
540 (socket):Implemented.
541 (implCloseSelectableChannel): Throws IOException, implemented.
542 (implConfigureBlocking): Likewise.
543 (connect): Likewise.
544 (disconnect): Likewise.
545 (isConnected): Likewise.
546 (write): Likewise.
547 (read): Likewise.
548 (receive): Throws IOException.
549 (send): Likewise.
550 * gnu/java/nio/SocketChannelImpl.java
551 (read): Implemented.
552 (write): Implemented.
553
554 2003-06-19 Michael Koch <konqueror@gmx.de>
555
556 * javax/swing/JComponent.java,
557 javax/swing/JInternalFrame.java,
558 javax/swing/MenuSelectionManager.java,
559 javax/swing/SwingUtilities.java,
560 javax/swing/ToggleButtonModel.java:
561 New versions from classpath.
562
563 2003-06-19 Michael Koch <konqueror@gmx.de>
564
565 * java/text/CollationElementIterator.java
566 (NULLORDER): Initialize with -1 as JDK documentation says.
567
568 2003-06-19 Michael Koch <konqueror@gmx.de>
569
570 * java/net/HttpURLConnection.java,
571 java/net/Inet4Address.java,
572 java/net/Inet6Address.java,
573 java/net/SocketImpl.java,
574 java/net/URLClassLoader.java:
575 Reworked import statements.
576 * java/net/InetAddress.java
577 (getByAddress): Simplified.
578 * java/net/ServerSocket.java
579 (ServerSocket): Moved special handling during bind operation to
580 bind().
581 (bind): Handle different cases when trying to bind a socket.
582 * java/net/URLConnection.java
583 (getHeaderFieldDate): Merged with classpath.
584 (getHeaderFieldInt): Likewise.
585
586 2003-06-19 Michael Koch <konqueror@gmx.de>
587
588 * java/util/zip/InflaterInputStream.java
589 (InflaterInputStream): Throw NullPointerException if in is null (as
590 JDK does).
591
592 2003-06-19 Michael Koch <konqueror@gmx.de>
593
594 * java/awt/Font.java
595 javax/swing/UIManager.java
596 javax/swing/border/AbstractBorder.java
597 javax/swing/border/BevelBorder.java
598 javax/swing/border/Border.java
599 javax/swing/border/CompoundBorder.java
600 javax/swing/border/EmptyBorder.java
601 javax/swing/border/EtchedBorder.java
602 javax/swing/border/LineBorder.java
603 javax/swing/border/MatteBorder.java
604 javax/swing/border/TitledBorder.java
605 javax/swing/plaf/BorderUIResource.java
606 javax/swing/plaf/basic/BasicBorders.java
607 javax/swing/plaf/basic/BasicButtonUI.java
608 javax/swing/plaf/basic/BasicCheckBoxUI.java
609 javax/swing/plaf/basic/BasicGraphicsUtils.java
610 javax/swing/plaf/basic/BasicLabelUI.java
611 javax/swing/plaf/basic/BasicRadioButtonUI.java
612 javax/swing/plaf/basic/BasicToggleButtonUI.java:
613 New versions from classpath.
614 * javax/swing/border/SoftBevelBorder.java:
615 New file from classpath.
616 * javax/swing/border/doc-files/LineBorder-1.png,
617 javax/swing/border/doc-files/BevelBorder-1.png,
618 javax/swing/border/doc-files/BevelBorder-2.png,
619 javax/swing/border/doc-files/BevelBorder-3.png,
620 javax/swing/border/doc-files/EmptyBorder-1.png,
621 javax/swing/border/doc-files/EtchedBorder-1.png,
622 javax/swing/border/doc-files/EtchedBorder-2.png,
623 javax/swing/border/doc-files/MatteBorder-1.png,
624 javax/swing/border/doc-files/MatteBorder-2.png,
625 javax/swing/border/doc-files/MatteBorder-3.png,
626 javax/swing/border/doc-files/MatteBorder-4.png,
627 javax/swing/border/doc-files/MatteBorder-5.png,
628 javax/swing/border/doc-files/MatteBorder-6.png,
629 javax/swing/border/doc-files/SoftBevelBorder-1.png,
630 javax/swing/border/doc-files/SoftBevelBorder-2.png,
631 javax/swing/border/doc-files/SoftBevelBorder-3.png,
632 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
633 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
634 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
635 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
636 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
637 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
638 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
639 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
640 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
641 New binary files from classpath.
642 * Makefile.am
643 (awt_java_source_files): Added
644 javax/swing/border/SoftBevelBorder.java.
645 * Makefile.in: Regenerated.
646
647 2003-06-19 Michael Koch <konqueror@gmx.de>
648
649 * gnu/java/security/x509/X509Certificate.java
650 (writeReplace): Merged from classpath.
651
652 2003-06-19 Michael Koch <konqueror@gmx.de>
653
654 * gnu/java/nio/FileChannelImpl.java
655 (map_address): Made public.
656 (FileChannelImpl): Merged with classpath.
657 * gnu/java/nio/natFileChannelImpl.cc
658 (nio_mmap_file): Commented out unused arguments.
659 (nio_unmmap_file): Likewise.
660 (niu_msync): Likewise.
661
662 2003-06-19 Michael Koch <konqueror@gmx.de>
663
664 * java/awt/image/IndexColorModel.java:
665 New version from classpath.
666
667 2003-06-18 Tom Tromey <tromey@redhat.com>
668
669 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
670 on arrays.
671 (isLoopbackAddress): Likewise.
672 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
673 on arrays.
674
675 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
676
677 * java/lang/natVMSecurityManager.cc (getClassContext):
678 Use maxlen instead of len for loop bound.
679
680 2003-06-18 Michael Koch <konqueror@gmx.de>
681
682 * gnu/java/nio/SelectorImpl.java
683 (register): Use fd with value 0 for now, will be fixed later.
684 * gnu/java/nio/ServerSocketChannelImpl.java
685 (fd): Removed.
686 (local_port): Removed.
687 (InetSocketAddress): Removed.
688 (ServerSocketChannelImpl): Just initialize internal socket object.
689 (implCloseSelectableChannel): Close internal socket object.
690 (implConfigureBlocking): Added comment.
691 (accept): Use jaba.net stuff to accept socket.
692 * gnu/java/nio/SocketChannelImpl.java
693 (fd): Removed.
694 (local_port): Removed.
695 (InetSocketAddress): Removed.
696 (SocketCreate): Removed.
697 (SocketConnect): Removed.
698 (SocketBind): Removed.
699 (SocketListen): Removed.
700 (SocketAvailable): Removed.
701 (SocketClose): Removed.
702 (SocketRead): Removed.
703 (SocketWrite): Removed.
704 (SocketChannelImpl): Just initialize internal socket object.
705 (implCloseSelectableChannel): Close internal socket object.
706 (implConfigureBlocking): Fixed implementation, added comment.
707 (connect): Use internal socket object to connect.
708 (socket): No need for sanity checks.
709 (read): Comment out some stuff, this will be reimplemented in the next
710 commit.
711 (write): Likewise.
712 * gnu/java/nio/natFileChannelImpl.cc
713 (nio_mmap_file): Line wrapped.
714 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
715 * Makefile.am
716 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
717 * Makefile.in: Regenerated.
718
719 2003-06-18 Michael Koch <konqueror@gmx.de>
720
721 * java/util/Locale.java
722 (equals): Merged from classpath.
723
724 2003-06-18 Michael Koch <konqueror@gmx.de>
725
726 * java/net/InetAddress.java:
727 Reformatted to better match classpath's version.
728 * java/net/URL.java
729 (equals): Simplified.
730 * java/net/URLConnection.java
731 (setDoInput): Revised documentation.
732 (getDefaultUseCaches): Likewise.
733 (setRequestProperty): Added @since tag.
734
735 2003-06-17 Michael Koch <konqueror@gmx.de>
736
737 * java/net/InetSocketAddress.java
738 (InetSocketAddress): Use wildcard address if addr is null.
739 (InetSocketAddress): Dont duplicate implementation.
740 (InetSocketAddress): Throw exception when hostname is null.
741 * java/net/Socket.java:
742 Reworked imports.
743 (Socket): Throw exception when raddr is null, handle case when laddr
744 is null.
745
746 2003-06-17 Michael Koch <konqueror@gmx.de>
747
748 * java/nio/DirectByteBufferImpl.java
749 (address): Made package private.
750 (DirectByteBufferImpl): New constructor.
751 * java/nio/natDirectByteBufferImpl.cc
752 (allocateImpl): Moved to java.nio namespace, implemented.
753 (freeImpl): Likewise.
754 (getImpl): Likewise.
755 (putImpl): Likewise.
756 * jni.cc
757 (_Jv_JNI_NewDirectByteBuffer): Implemented.
758 (_Jv_JNI_GetDirectBufferAddress): Implemented.
759 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
760
761 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
762
763 * include/powerpc-signal.h: New File.
764 * configure.in: Use it.
765 * configure: Regenerated.
766
767 2003-06-17 Michael Koch <konqueror@gmx.de>
768
769 * java/util/Locale.java
770 (getDisplayLanguage): Made it final.
771 (getDisplayCountry): Likewise.
772 (getDisplayVariant): Likewise.
773 (getDisplayName): Likewise.
774
775 2003-06-17 Michael Koch <konqueror@gmx.de>
776
777 * java/util/PropertyResourceBundle.java:
778 Removed unneeded import.
779
780 2003-06-17 Michael Koch <konqueror@gmx.de>
781
782 * java/util/prefs/AbstractPreferences.java,
783 java/util/prefs/PreferencesFactory.java:
784 Reworked imports, removed unused imports.
785 * java/util/prefs/Preferences.java
786 (systemNodeForPackage): Method takes a Class not an Object.
787 (userNodeForPackage): Likewise.
788 (nodeForPackage): Likewise.
789
790 2003-06-17 Michael Koch <konqueror@gmx.de>
791
792 * gnu/java/security/x509/X509Certificate.java:
793 Explicitely import used classes.
794
795 2003-06-17 Michael Koch <konqueror@gmx.de>
796
797 * java/util/zip/ZipEntry.java,
798 java/util/zip/ZipFile.java,
799 java/util/zip/ZipInputStream.java,
800 java/util/zip/ZipOutputStream.java:
801 Reworked imports, only import used classes.
802
803 2003-06-17 Michael Koch <konqueror@gmx.de>
804
805 * gnu/java/lang/ArrayHelper.java,
806 gnu/java/lang/ClassHelper.java:
807 Reformatted to match classpath's versions.
808
809 2003-06-14 Michael Koch <konqueror@gmx.de>
810
811 * gnu/java/nio/FileChannelImpl.java
812 (map_address): Removed incorrect comment.
813 * gnu/java/nio/SelectorImpl.java
814 (register): Remove code duplication and code for file channel handling.
815 * gnu/java/nio/ServerSocketChannelImpl.java
816 (serverSocket): Renamed from sock_object.
817 (ServerSocketChannel): Initialize serverSocket.
818 (socket): Return serverSocket.
819 * gnu/java/nio/SocketChannelImpl.java
820 (socket): Renamed from sock_object.
821 (isConnectionPenging): Simplified.
822 (socket): Return socket.
823 2003-06-14 Michael Koch <konqueror@gmx.de>
824
825 * java/security/BasicPermission.java:
826 New version from classpath.
827
828 2003-06-14 Michael Koch <konqueror@gmx.de>
829
830 * javax/naming/directory/Attribute.java:
831 New version from classpath.
832
833 2003-06-14 Michael Koch <konqueror@gmx.de>
834
835 * java/io/BufferedReader.java,
836 java/io/FileOutputStream.java:
837 New versions from classpath.
838
839 2003-06-12 Andrew Haley <aph@redhat.com>
840
841 * prims.cc (catch_segv): Create exception in handler.
842 (catch_fpe): Likewise.
843 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
844 (_Jv_ThrowSignal): Remove.
845
846 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
847 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
848 to nullp and arithexception.
849 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
850 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
851 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
852 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
853 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
854
855 2003-06-11 Andrew Haley <aph@redhat.com>
856
857 * jni.cc (_Jv_JNI_check_types): New.
858 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
859 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
860 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
861 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
862
863 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
864 infinite loop.
865
866 2003-06-11 Tom Tromey <tromey@redhat.com>
867
868 * java/lang/ClassLoader.java (loadClass): Not deprecated.
869 * java/io/PrintStream.java: Not deprecated.
870
871 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
872
873 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
874 (fillOval): implemented
875 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
876 (fillArc): implemented.
877 * gnu/gcj/xlib/GC.java (drawArc): added native method.
878 (fillArc): added native method.
879 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
880 (fillArc): added native method.
881
882 2003-06-11 Michael Koch <konqueror@gmx.de>
883
884 * java/awt/im/InputSubset.java:
885 New version from classpath.
886
887 2003-06-11 Michael Koch <konqueror@gmx.de>
888
889 * javax/swing/AbstractAction.java,
890 javax/swing/AbstractButton.java,
891 javax/swing/AbstractCellEditor.java,
892 javax/swing/AbstractListModel.java,
893 javax/swing/BorderFactory.java,
894 javax/swing/Box.java,
895 javax/swing/BoxLayout.java,
896 javax/swing/ButtonGroup.java,
897 javax/swing/DefaultButtonModel.java,
898 javax/swing/DefaultListModel.java,
899 javax/swing/DefaultListSelectionModel.java,
900 javax/swing/FocusManager.java,
901 javax/swing/ImageIcon.java,
902 javax/swing/InputMap.java,
903 javax/swing/JApplet.java,
904 javax/swing/JButton.java,
905 javax/swing/JCheckBox.java,
906 javax/swing/JCheckBoxMenuItem.java,
907 javax/swing/JColorChooser.java,
908 javax/swing/JComboBox.java,
909 javax/swing/JComponent.java,
910 javax/swing/JDesktopPane.java,
911 javax/swing/JDialog.java,
912 javax/swing/JEditorPane.java,
913 javax/swing/JFileChooser.java,
914 javax/swing/JFormattedTextField.java,
915 javax/swing/JFrame.java,
916 javax/swing/JLabel.java,
917 javax/swing/JLayeredPane.java,
918 javax/swing/JList.java,
919 javax/swing/JMenuBar.java,
920 javax/swing/JMenuItem.java,
921 javax/swing/JOptionPane.java,
922 javax/swing/JPanel.java,
923 javax/swing/JPasswordField.java,
924 javax/swing/JPopupMenu.java,
925 javax/swing/JProgressBar.java,
926 javax/swing/JRadioButton.java,
927 javax/swing/JRadioButtonMenuItem.java,
928 javax/swing/JRootPane.java,
929 javax/swing/JScrollBar.java,
930 javax/swing/JScrollPane.java,
931 javax/swing/JSeparator.java,
932 javax/swing/JSlider.java,
933 javax/swing/JTabbedPane.java,
934 javax/swing/JTable.java,
935 javax/swing/JTextField.java,
936 javax/swing/JToggleButton.java,
937 javax/swing/JToolBar.java,
938 javax/swing/JToolTip.java,
939 javax/swing/JTree.java,
940 javax/swing/JViewport.java,
941 javax/swing/JWindow.java,
942 javax/swing/KeyStroke.java,
943 javax/swing/ListSelectionModel.java,
944 javax/swing/LookAndFeel.java,
945 javax/swing/RepaintManager.java,
946 javax/swing/ScrollPaneLayout.java,
947 javax/swing/SizeRequirements.java,
948 javax/swing/SwingConstants.java,
949 javax/swing/Timer.java,
950 javax/swing/UIDefaults.java,
951 javax/swing/UIManager.java,
952 javax/swing/border/AbstractBorder.java,
953 javax/swing/border/CompoundBorder.java,
954 javax/swing/colorchooser/AbstractColorChooserPanel.java,
955 javax/swing/colorchooser/ColorChooserComponentFactory.java,
956 javax/swing/colorchooser/ColorSelectionModel.java,
957 javax/swing/colorchooser/DefaultColorSelectionModel.java,
958 javax/swing/event/AncestorEvent.java,
959 javax/swing/event/HyperlinkEvent.java,
960 javax/swing/event/InternalFrameAdapter.java,
961 javax/swing/event/InternalFrameEvent.java,
962 javax/swing/event/ListDataEvent.java,
963 javax/swing/event/MouseInputAdapter.java,
964 javax/swing/event/SwingPropertyChangeSupport.java,
965 javax/swing/event/TableModelEvent.java,
966 javax/swing/event/TreeWillExpandListener.java,
967 javax/swing/event/UndoableEditEvent.java,
968 javax/swing/filechooser/FileFilter.java,
969 javax/swing/filechooser/FileSystemView.java,
970 javax/swing/filechooser/FileView.java,
971 javax/swing/plaf/BorderUIResource.java,
972 javax/swing/plaf/basic/BasicDefaults.java,
973 javax/swing/table/AbstractTableModel.java,
974 javax/swing/table/DefaultTableCellRenderer.java,
975 javax/swing/table/DefaultTableColumnModel.java,
976 javax/swing/table/DefaultTableModel.java,
977 javax/swing/table/TableColumn.java,
978 javax/swing/text/JTextComponent.java,
979 javax/swing/tree/AbstractLayoutCache.java,
980 javax/swing/tree/DefaultMutableTreeNode.java,
981 javax/swing/tree/DefaultTreeCellEditor.java,
982 javax/swing/tree/DefaultTreeCellRenderer.java,
983 javax/swing/tree/DefaultTreeModel.java,
984 javax/swing/tree/DefaultTreeSelectionModel.java,
985 javax/swing/tree/FixedHeightLayoutCache.java,
986 javax/swing/tree/TreeCellEditor.java,
987 javax/swing/tree/TreeModel.java,
988 javax/swing/tree/TreeNode.java,
989 javax/swing/tree/TreePath.java,
990 javax/swing/tree/TreeSelectionModel.java,
991 javax/swing/tree/VariableHeightLayoutCache.java,
992 javax/swing/undo/AbstractUndoableEdit.java,
993 javax/swing/undo/CompoundEdit.java,
994 javax/swing/undo/StateEdit.java,
995 javax/swing/undo/UndoManager.java,
996 javax/swing/undo/UndoableEditSupport.java:
997 New versions from classpath.
998 * javax/swing/table/JTableHeader.java:
999 New file from classpath.
1000 * Makefile.am
1001 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1002 * Makefile.in: Regenerated.
1003
1004 2003-06-11 Michael Koch <konqueror@gmx.de>
1005
1006 * java/nio/MappedByteBuffer.java,
1007 java/nio/channels/Channels.java,
1008 java/nio/channels/ServerSocketChannel.java,
1009 java/nio/channels/spi/AbstractSelector.java:
1010 Removed unneeded imports.
1011
1012 2003-06-11 Michael Koch <konqueror@gmx.de>
1013
1014 * java/net/DatagramSocket.java:
1015 Partly merged with classpath.
1016
1017 2003-06-11 Michael Koch <konqueror@gmx.de>
1018
1019 * java/awt/Frame.java,
1020 java/awt/Graphics.java,
1021 java/awt/Menu.java,
1022 java/awt/Robot.java,
1023 java/awt/image/ColorModel.java:
1024 New versions from classpath.
1025
1026 2003-06-10 Michael Koch <konqueror@gmx.de>
1027
1028 * java/io/PrintStream.java:
1029 Merged version from classpath.
1030 (close): Removed sychronized keyword. This class is not garantied to
1031 be thread-safe.
1032 (write): Likewise.
1033
1034 2003-06-09 Tom Tromey <tromey@redhat.com>
1035
1036 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1037 field.
1038 (getDescent): Likewise, for "descent".
1039
1040 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1041
1042 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1043 (getMaxDescent): adjusted return value.
1044 (getAscent): modified to use metrics for 'O'.
1045 (getDescent): modified to use metrics for 'y'.
1046
1047 2003-06-08 Anthony Green <green@redhat.com>
1048
1049 * java/net/URLStreamHandler.java (sameFile): Fix port value
1050 comparison.
1051 * java/net/URL.java (handler): Make package private.
1052 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1053
1054 2003-06-07 Tom Tromey <tromey@redhat.com>
1055
1056 For PR libgcj/11085:
1057 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1058 Limit number of characters in numeric field when required.
1059 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1060 Respect maximumIntegerDigits.
1061
1062 2003-06-08 Michael Koch <konqueror@gmx.de>
1063
1064 * java/net/Socket.java
1065 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1066 call bind() and connect() to actually do the bind and connect tasks.
1067 (bind): Connect to canonical address if bindpoint is null, create
1068 socket and bind it to bindpoint.
1069 (connect): Check for exceptions.
1070
1071 2003-06-08 Michael Koch <konqueror@gmx.de>
1072
1073 * java/net/DatagramSocket.java
1074 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1075 into the Multicast constructors.
1076 * java/net/DatagramSocketImpl.java
1077 (getOption): Removed.
1078 (setOption): Removed.
1079 * java/net/MulticastSocket.java
1080 (MulticastSocket): Call setReuseAddress (true).
1081 * java/net/SocketImpl.java
1082 (getOption): Removed.
1083 (setOption): Removed.
1084
1085 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1086
1087 PR libgcj/10886:
1088 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1089 Test for empty vector.
1090
1091 2003-06-06 Mark Wielaard <mark@klomp.org>
1092
1093 * java/security/Security.java (secprops): Initialize.
1094 (loadProviders): Return boolean.
1095 (static): Check result of loadProvider calls. If necessary
1096 display WARNING and fallback to Gnu provider.
1097
1098 2002-06-06 James Clark <jjc@jclark.com>
1099
1100 Fix for PR libgcj/8738:
1101 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1102 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1103 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1104 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1105 (write): Always decrease avail when count is increased.
1106 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1107 and whether output buffer is full before increasing size.
1108
1109 2002-06-06 Mark Wielaard <mark@klomp dot org>
1110
1111 * java/io/PrintStream.java (writeChars(char[],int, int)):
1112 Check converter.havePendingBytes().
1113 (writeChars(String,int,int)): Likewise.
1114 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1115 Check converter.havePendingBytes() and flush buffer when stalled.
1116
1117 2003-06-07 Michael Koch <konqueror@gmx.de>
1118
1119 * include/posix.h
1120 (O_DSYNC): Define O_DSYNC on platforms not
1121 supporting O_FSYNC (newlib).
1122
1123 2003-06-06 Mark Wielaard <mark@klomp.org>
1124
1125 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1126 AWTError.
1127
1128 2003-06-06 Michael Koch <konqueror@gmx.de>
1129
1130 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1131 More compile fixes from my stupid work yesterday.
1132
1133 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1134
1135 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1136 if _IEEE_LIBM is undefined.
1137
1138 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1139
1140 * libjava/include/posix.h (O_SYNC): Define if not available
1141 and a reasonable, perhaps more conservative, replacement exists.
1142 (O_DSYNC): Likewise.
1143 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1144
1145 2003-06-05 Michael Koch <konqueror@gmx.de>
1146
1147 * javax/swing/plaf/BorderUIResource.java,
1148 javax/swing/plaf/basic/BasicDefaults.java,
1149 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1150 More compile fixes for latest Border commit. I should not commit
1151 something in this heat here ...
1152
1153 2003-06-05 Michael Koch <konqueror@gmx.de>
1154
1155 * javax/swing/border/BevelBorder.java
1156 (BevelBorder): Removed.
1157 * javax/swing/border/EmptyBorder.java:
1158 Reformatted.
1159 (EmptyBorder): Removed.
1160 (getBorderInsets): Dont use l, r, t and b.
1161 * javax/swing/border/EtchedBorder.java
1162 (EtchedBorder): Removed.
1163 * javax/swing/border/LineBorder.java
1164 (LineBorder): Removed.
1165 * javax/swing/border/MatteBorder.java
1166 (MatteBorder): Removed.
1167 * javax/swing/border/TitledBorder.java
1168 (defaultBorder): Use other default for now.
1169 (defaultFont): Likewise.
1170 (defaultColor): Likewise.
1171
1172 2003-06-05 Michael Koch <konqueror@gmx.de>
1173
1174 * javax/swing/border/Border.java:
1175 New version from classpath.
1176
1177 2003-06-05 Michael Koch <konqueror@gmx.de>
1178
1179 * javax/swing/border/AbstractBorder.java,
1180 javax/swing/border/BevelBorder.java,
1181 javax/swing/border/CompoundBorder.java,
1182 javax/swing/border/EmptyBorder.java,
1183 javax/swing/border/EtchedBorder.java,
1184 javax/swing/border/LineBorder.java,
1185 javax/swing/border/MatteBorder.java,
1186 javax/swing/border/TitledBorder.java:
1187 New versions from Classpath.
1188
1189 2003-06-05 Michael Koch <konqueror@gmx.de>
1190
1191 * java/awt/Button.java,
1192 java/awt/Checkbox.java,
1193 java/awt/CheckboxMenuItem.java,
1194 java/awt/Choice.java,
1195 java/awt/Container.java,
1196 java/awt/Dialog.java,
1197 java/awt/EventQueue.java,
1198 java/awt/FileDialog.java,
1199 java/awt/Frame.java,
1200 java/awt/Label.java,
1201 java/awt/List.java,
1202 java/awt/Menu.java,
1203 java/awt/MenuItem.java,
1204 java/awt/Panel.java,
1205 java/awt/PopupMenu.java,
1206 java/awt/Rectangle.java,
1207 java/awt/ScrollPane.java,
1208 java/awt/Scrollbar.java,
1209 java/awt/TextArea.java,
1210 java/awt/TextField.java,
1211 java/awt/Window.java,
1212 java/awt/datatransfer/DataFlavor.java,
1213 java/awt/dnd/DragSource.java,
1214 java/awt/dnd/DragSourceContext.java,
1215 java/awt/event/HierarchyEvent.java,
1216 java/awt/event/MouseWheelEvent.java,
1217 java/awt/im/InputContext.java,
1218 java/awt/image/BufferedImage.java,
1219 java/awt/image/ComponentColorModel.java,
1220 java/awt/image/Raster.java,
1221 java/awt/image/WritableRaster.java,
1222 java/awt/peer/ComponentPeer.java,
1223 java/awt/print/PageFormat.java,
1224 java/awt/print/PrinterJob.java:
1225 New versions from Classpath.
1226
1227 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1228
1229 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1230 numberFormat.setParseIntegerOnly(true).
1231
1232 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1233
1234 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1235
1236 2003-06-03 Andrew Haley <aph@redhat.com>
1237
1238 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1239 stack volatile to prevent optimization from removing it.
1240
1241 2003-05-27 Michael Koch <konqueror@gmx.de>
1242
1243 * java/util/zip/Deflater.java
1244 (FILTERED): Merged documentation from classpath.
1245 * java/util/zip/DeflaterOutputStream.java
1246 (DeflaterOutputStream): Merged documentation and argument validity
1247 check from classpath.
1248 (deflate): Merged documentation from classpath.
1249 (finish): Likewise.
1250 * java/util/zip/Inflater.java
1251 (Inflater): Merged class documentation from classpath.
1252 (zstream): Reordered.
1253 (is_finished): Reordered.
1254 (dict_needed): Reordered.
1255 (Inflater): Reordered, merged documentation from classpath.
1256 (end): Likewise.
1257 (finalize): Merged documentation from classpath.
1258 (finished): Likewise.
1259 (getAdler): Likewise.
1260 (getRemaining): Likewise.
1261 (getTotalIn): Likewise.
1262 (getTotalOut): Likewise.
1263 (inflate): Likewise.
1264 (needsDictionary): Likewise.
1265 (needsInput): Likewise.
1266 (reset): Likewise.
1267 (setDictionary): Likewise.
1268 (setInput): Likewise.
1269
1270 2003-05-27 Michael Koch <konqueror@gmx.de>
1271
1272 * java/net/URLConnection.java
1273 (getHeaderFieldInt): Merged with classpath.
1274
1275 2003-05-27 Michael Koch <konqueror@gmx.de>
1276
1277 * java/io/PrintStream.java
1278 (PrintStream): Reformatted.
1279 (PrintStream): New method, merged from classpath.
1280 (write): Reformatted.
1281
1282 2003-05-27 Michael Koch <konqueror@gmx.de>
1283
1284 * java/lang/System.java:
1285 Explicitely import needed classes.
1286
1287 2003-05-26 Michael Koch <konqueror@gmx.de>
1288
1289 * java/net/NetPermission.java,
1290 java/net/NetworkInterface.java,
1291 java/net/PasswordAuthentication.java,
1292 java/net/SocketPermission.java:
1293 New versions from classpath.
1294
1295 2003-05-25 Michael Koch <konqueror@gmx.de>
1296
1297 * java/io/PushbackInputStream.java,
1298 java/net/Authenticator.java,
1299 java/net/ContentHandler.java,
1300 java/net/ContentHandlerFactory.java,
1301 java/net/DatagramSocket.java,
1302 java/net/DatagramSocketImpl.java,
1303 java/net/DatagramSocketImplFactory.java,
1304 java/net/FileNameMap.java,
1305 java/net/SocketImplFactory.java,
1306 java/net/SocketOptions.java,
1307 java/net/URLStreamHandlerFactory.java:
1308 Merged new versions from classpath.
1309
1310 2003-05-25 Michael Koch <konqueror@gmx.de>
1311
1312 * java/awt/Checkbox.java,
1313 java/awt/Dialog.java,
1314 java/awt/Font.java,
1315 java/awt/Frame.java,
1316 java/awt/ScrollPaneAdjustable.java,
1317 java/awt/Scrollbar.java,
1318 java/awt/Window.java:
1319 New versions from classpath.
1320
1321 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1322
1323 PR libgcj/10838:
1324 * java/io/ObjectInputStream (enableResolveObject):
1325 Fixed spelling of permission name.
1326
1327 2003-05-20 Michael Koch <konqueror@gmx.de>
1328
1329 * java/io/DataInputStream.java
1330 (convertFromUTF): Merged comment from classpath.
1331 * java/io/PrintStream.java
1332 (error_occured): Renamed from error, merged comment from classpath.
1333 (PrintStream): No need to initialized error.
1334 (checkError): Replace error with error_occurred.
1335 (setError): Likewise.
1336
1337 2003-05-20 Michael Koch <konqueror@gmx.de>
1338
1339 * java/io/DataInputStream.java:
1340 Reformatted, Replaced < and & with html entitites in documentation.
1341 * java/io/File.java:
1342 Reformatted.
1343 * java/io/PrintWriter.java:
1344 Moved class documentation.
1345
1346 2003-05-20 Michael Koch <konqueror@gmx.de>
1347
1348 * gnu/java/nio/ByteBufferImpl.java,
1349 gnu/java/nio/CharBufferImpl.java,
1350 gnu/java/nio/CharViewBufferImpl.java,
1351 gnu/java/nio/DirectByteBufferImpl.java,
1352 gnu/java/nio/DoubleBufferImpl.java,
1353 gnu/java/nio/DoubleViewBufferImpl.java,
1354 gnu/java/nio/FloatBufferImpl.java,
1355 gnu/java/nio/FloatViewBufferImpl.java,
1356 gnu/java/nio/IntBufferImpl.java,
1357 gnu/java/nio/IntViewBufferImpl.java,
1358 gnu/java/nio/LongBufferImpl.java,
1359 gnu/java/nio/LongViewBufferImpl.java,
1360 gnu/java/nio/natDirectByteBufferImpl.cc,
1361 gnu/java/nio/ShortBufferImpl.java,
1362 gnu/java/nio/ShortViewBufferImpl.java:
1363 Moved files to java/nio.
1364 * gnu/java/nio/SocketChannelImpl.java
1365
1366 * java/nio/ByteBuffer.java,
1367 java/nio/CharBuffer.java,
1368 java/nio/DoubleBuffer.java,
1369 java/nio/FloatBuffer.java,
1370 java/nio/IntBuffer.java,
1371 java/nio/LongBuffer.java,
1372 java/nio/ShortBuffer.java:
1373 Dont import anything.
1374 * java/nio/ByteBufferImpl.java,
1375 java/nio/CharBufferImpl.java,
1376 java/nio/CharViewBufferImpl.java,
1377 java/nio/DirectByteBufferImpl.java,
1378 java/nio/DoubleBufferImpl.java,
1379 java/nio/DoubleViewBufferImpl.java,
1380 java/nio/FloatBufferImpl.java,
1381 java/nio/FloatViewBufferImpl.java,
1382 java/nio/IntBufferImpl.java,
1383 java/nio/IntViewBufferImpl.java,
1384 java/nio/LongBufferImpl.java,
1385 java/nio/LongViewBufferImpl.java,
1386 java/nio/natDirectByteBufferImpl.cc,
1387 java/nio/ShortBufferImpl.java,
1388 java/nio/ShortViewBufferImpl.java:
1389 Moved from gnu/java/nio.
1390 * Makefile.am
1391 (ordinary_java_source_files): Moved files from gnu/java/nio to
1392 java/nio.
1393 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1394 to java/nio.
1395 * Makefile.in: Regenerated.
1396
1397 2003-05-19 Michael Koch <konqueror@gmx.de>
1398
1399 * java/util/Calendar.java
1400 (get): Not final anymore since JDK 1.4
1401 (set): Likewise.
1402
1403 2003-05-19 Michael Koch <konqueror@gmx.de>
1404
1405 * java/text/CollationKey.java:
1406 Merged copyright and dat from classpath.
1407 * java/text/RuleBasedCollator.java:
1408 Merged class documentation from classpath.
1409
1410 2003-05-19 Michael Koch <konqueror@gmx.de>
1411
1412 * java/nio/CharBuffer.java
1413 (toString): Compile fix.
1414
1415 2003-05-19 Michael Koch <konqueror@gmx.de>
1416
1417 * gnu/java/nio/ByteBufferImpl.java
1418 (putLong): Fixed conversion to bytes.
1419 (putDouble): Fixed conversion to bytes.
1420 * gnu/java/nio/DirectByteBufferImpl.java
1421 (putLong): Fixed conversion to bytes.
1422 (putDouble): Fixed conversion to bytes.
1423 * gnu/java/nio/FileLockImpl.java
1424 (isValid): Reformatted.
1425 * java/nio/Buffer.java
1426 (Buffer): Fixed off-by-one bug in handling mark.
1427 * java/nio/ByteBuffer.java:
1428 Added newline.
1429 * java/nio/CharBuffer.java
1430 (toString): Don't use relative get to get string data.
1431
1432 2003-05-16 Michael Koch <konqueror@gmx.de>
1433
1434 * java/io/natFileDescriptorPosix.cc
1435 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1436 tested.
1437
1438 2003-05-14 Michael Koch <konqueror@gmx.de>
1439
1440 * gnu/java/nio/FileLockImpl.java
1441 (released): New member variable.
1442 (FileLockImpl): Initialize released.
1443 (releaseImpl): New native method.
1444 (release): Implemented.
1445 * gnu/java/nio/SelectorImpl.java: Reformatted.
1446 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1447 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1448 (accept): Throws IOException.
1449 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1450 (implConfigureBlocking): Throws IOException.
1451 (connect): Likewise.
1452 (read): Likewise.
1453 (write): Likewise.
1454 * gnu/java/nio/natFileLockImpl.cc: New file.
1455 * java/nio/channels/FileLock.java: Reformatted.
1456 * Makefile.am:
1457 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1458 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1459 * Makefile.in: Regenerated.
1460
1461 2003-05-13 Michael Koch <konqueror@gmx.de>
1462
1463 * gnu/java/nio/CharViewBufferImpl.java
1464 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1465 (get): Shift bits to the right direction.
1466 (put): Likewise.
1467 * gnu/java/nio/DoubleViewBufferImpl.java
1468 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1469 (get): Shift bits to the right direction.
1470 (put): Likewise.
1471 * gnu/java/nio/FloatViewBufferImpl.java
1472 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1473 (get): Shift bits to the right direction.
1474 (put): Likewise.
1475 * gnu/java/nio/IntViewBufferImpl.java
1476 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1477 (get): Shift bits to the right direction.
1478 (put): Likewise.
1479 * gnu/java/nio/LongViewBufferImpl.java
1480 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1481 (get): Shift bits to the right direction.
1482 (put): Likewise.
1483 * gnu/java/nio/ShortViewBufferImpl.java
1484 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1485 (get): Shift bits to the right direction.
1486 (put): Likewise.
1487
1488 2003-05-13 Michael Koch <konqueror@gmx.de>
1489
1490 * gnu/java/nio/natDirectByteBufferImpl.cc
1491 (allocateImpl): jlong -> RawData*.
1492 (freeImpl): Likewise.
1493
1494 2003-05-13 Michael Koch <konqueror@gmx.de>
1495
1496 * java/nio/channels/FileChannel.java
1497 (MapMode.m): Made it package-private to match JDK 1.4.
1498 * java/nio/charset/Charset.java
1499 (decode): Made it final to match JDK 1.4.
1500
1501 2003-05-13 Michael Koch <konqueror@gmx.de>
1502
1503 * java/io/FileDescriptor.java
1504 (SYNC): New constant.
1505 (DSYNC): Likewise.
1506 (getLength): Renamed from lenght() to match classpath's
1507 FileDescriptor.java.
1508 * java/io/RandomAccessFile.java
1509 (RandomAccessFile): Removed unneeded mode check, implemented mode
1510 "rws" and "rwd", merged documentation from classpath.
1511 (setLength): Reformatted.
1512 (length): Use new getLength() of FileDescriptor.
1513 * java/io/natFileDescriptorEcos.cc
1514 (getLength): Renamed from length().
1515 * java/io/natFileDescriptorPosix.cc
1516 (open): Implemented support for SYNC and DSYNC.
1517 (seek): Use getLength() instead of length().
1518 (getLength): Renamed from length().
1519 * java/io/natFileDescriptorWin32.cc
1520 (getLength): Renamed from length().
1521 (seek): Use getLength() instead of length().
1522 (available): Likewise.
1523 * gnu/java/nio/natFileChannelImpl.cc
1524 (size): Use getLength() instead of length().
1525
1526 2003-05-13 Michael Koch <konqueror@gmx.de>
1527
1528 * gnu/java/nio/ByteBufferImpl.java
1529 (ByteBufferImpl): All constructors revised.
1530 (slice): Reimplemented.
1531 (duplicate): Reimplemented.
1532 (asReadOnlyBuffer): Reimplemented.
1533 * java/nio/ByteBuffer.java:
1534 Reformatted.
1535 (array_offset): Renamed from "offset" to match all other buffer
1536 classes.
1537 (ByteBuffer): All constructors revised.
1538 (allocateDirect): Implemented.
1539 (allocate): New implementation, documentation reworked.
1540 (wrap): Likewise.
1541 (get): Documentation reworked.
1542 (put): New implementation, documentation reworked.
1543 (hasArray): Documentation reworked.
1544 (arrayOffset): Likewise.
1545 (hashCode): Likewise.
1546 (equals): Likewise.
1547 (compareTo): Likewise.
1548 (order): Likewise.
1549 (compact): Likewise.
1550 (isDirect): Likewise.
1551 (slice): Likewise.
1552 (duplicate): Likewise.
1553 (asReadOnlyBuffer): Likewise.
1554 * Makefile.am
1555 (ordinary_java_source_files):
1556 Added gnu/java/nio/DirectByteBufferImpl.java.
1557 (nat_source_files):
1558 Added gnu/java/nio/natDirectByteBufferImpl.cc.
1559 * Makefile.in: Regenerated.
1560
1561 2003-05-12 Michael Koch <konqueror@gmx.de>
1562
1563 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1564 (nio_get_*): Removed.
1565 (nio_put_*): Removed.
1566 (as*Buffer): Implemented.
1567 (compact): Implemented.
1568 (get): Documentation added.
1569 (put): Documentation added.
1570 (get*): Newly implemented.
1571 (put*): Newly implemented.
1572 * gnu/java/nio/CharBufferImpl.java: Reformatted.
1573 (CharBufferImpl): Revised.
1574 (slice): New implementation.
1575 (duplicate): New implementation.
1576 (compact): New implementation.
1577 (asReadOnlyBuffer): New implementation.
1578 (get): Documentation revised.
1579 (order): Return native byte order.
1580 * gnu/java/nio/DirectByteBufferImpl.java
1581 (allocateDirect): objects can be null not 0.
1582 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1583 (DoubleBufferImpl): Revised.
1584 (slice): New implementation.
1585 (duplicate): New implementation.
1586 (compact): New implementation.
1587 (asReadOnlyBuffer): New implementation.
1588 (get): Documentation revised.
1589 (order): Return native byte order.
1590 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1591 (FloatBufferImpl): Revised.
1592 (slice): New implementation.
1593 (duplicate): New implementation.
1594 (compact): New implementation.
1595 (asReadOnlyBuffer): New implementation.
1596 (get): Documentation revised.
1597 (order): Return native byte order.
1598 * gnu/java/nio/IntBufferImpl.java: Reformatted.
1599 (IntBufferImpl): Revised.
1600 (slice): New implementation.
1601 (duplicate): New implementation.
1602 (compact): New implementation.
1603 (asReadOnlyBuffer): New implementation.
1604 (get): Documentation revised.
1605 (order): Return native byte order.
1606 * gnu/java/nio/LongBufferImpl.java: Reformatted.
1607 (LongBufferImpl): Revised.
1608 (slice): New implementation.
1609 (duplicate): New implementation.
1610 (compact): New implementation.
1611 (asReadOnlyBuffer): New implementation.
1612 (get): Documentation revised.
1613 (order): Return native byte order.
1614 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1615 (ShortBufferImpl): Revised.
1616 (slice): New implementation.
1617 (duplicate): New implementation.
1618 (compact): New implementation.
1619 (asReadOnlyBuffer): New implementation.
1620 (get): Documentation revised.
1621 (order): Return native byte order.
1622 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1623 (CharBuffer): Revised.
1624 (order): Removed.
1625 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1626 (DoubleBuffer): Revised.
1627 (allocateDirect): Removed.
1628 (order): Removed.
1629 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1630 (FloatBuffer): Revised.
1631 (allocateDirect): Removed.
1632 (order): Removed.
1633 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1634 (IntBuffer): Revised.
1635 (allocateDirect): Removed.
1636 (order): Removed.
1637 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1638 (LongBuffer): Revised.
1639 (allocateDirect): Removed.
1640 (order): Removed.
1641 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1642 (ShortBuffer): Revised.
1643 (allocateDirect): Removed.
1644 (order): Removed.
1645 * gnu/java/nio/natByteBufferImpl.cc: Removed.
1646 * gnu/java/nio/natCharBufferImpl.cc: Removed.
1647 * Makefile.am
1648 (ordinary_java_source_files): Added the following files:
1649 gnu/java/nio/CharViewBufferImpl.java,
1650 gnu/java/nio/DoubleViewBufferImpl.java,
1651 gnu/java/nio/FloatViewBufferImpl.java,
1652 gnu/java/nio/IntViewBufferImpl.java,
1653 gnu/java/nio/LongViewBufferImpl.java,
1654 gnu/java/nio/ShortViewBufferImpl.java
1655 (nat_source_files): Removed the following files:
1656 gnu/java/nio/natByteBufferImpl.cc,
1657 gnu/java/nio/natCharBufferImpl.cc
1658 * Makefile.in: Regenerated.
1659
1660 2003-05-12 Michael Koch <konqueror@gmx.de>
1661
1662 * gnu/java/nio/CharViewBufferImpl.java,
1663 gnu/java/nio/DirectByteBufferImpl.java,
1664 gnu/java/nio/DoubleViewBufferImpl.java,
1665 gnu/java/nio/FloatViewBufferImpl.java,
1666 gnu/java/nio/IntViewBufferImpl.java,
1667 gnu/java/nio/LongViewBufferImpl.java,
1668 gnu/java/nio/ShortViewBufferImpl.java,
1669 gnu/java/nio/natDirectByteBufferImpl.cc:
1670 New files, not yet to be compiled.
1671
1672 2003-05-10 Michael Koch <konqueror@gmx.de>
1673
1674 * javax/swing/plaf/ButtonUI.java,
1675 javax/swing/plaf/ColorUIResource.java,
1676 javax/swing/plaf/ComponentUI.java,
1677 javax/swing/plaf/DimensionUIResource.java,
1678 javax/swing/plaf/FontUIResource.java,
1679 javax/swing/plaf/IconUIResource.java,
1680 javax/swing/plaf/InsetsUIResource.java,
1681 javax/swing/plaf/LabelUI.java,
1682 javax/swing/plaf/ListUI.java,
1683 javax/swing/plaf/OptionPaneUI.java,
1684 javax/swing/plaf/PanelUI.java,
1685 javax/swing/plaf/TabbedPaneUI.java,
1686 javax/swing/plaf/TextUI.java,
1687 javax/swing/plaf/TreeUI.java,
1688 javax/swing/plaf/ViewportUI.java,
1689 javax/swing/plaf/basic/BasicBorders.java,
1690 javax/swing/plaf/basic/BasicButtonUI.java,
1691 javax/swing/plaf/basic/BasicCheckBoxUI.java,
1692 javax/swing/plaf/basic/BasicDefaults.java,
1693 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1694 javax/swing/plaf/basic/BasicIconFactory.java,
1695 javax/swing/plaf/basic/BasicLabelUI.java,
1696 javax/swing/plaf/basic/BasicListUI.java,
1697 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1698 javax/swing/plaf/basic/BasicPanelUI.java,
1699 javax/swing/plaf/basic/BasicRadioButtonUI.java,
1700 javax/swing/plaf/basic/BasicScrollPaneUI.java,
1701 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1702 javax/swing/plaf/basic/BasicTextUI.java,
1703 javax/swing/plaf/basic/BasicToggleButtonUI.java,
1704 javax/swing/plaf/basic/BasicTreeUI.java,
1705 javax/swing/plaf/basic/BasicViewportUI.java,
1706 javax/swing/plaf/metal/MetalLookAndFeel.java:
1707 New versions from classpath. This adds copyrights to all files and
1708 some serialVersionUIDs.
1709
1710 2003-05-10 Michael Koch <konqueror@gmx.de>
1711
1712 * java/nio/CharBuffer.java
1713 (offset): Make it package-private.
1714 (backing_buffer): Likewise.
1715 * java/nio/DoubleBuffer.java
1716 (offset): Make it package-private.
1717 (backing_buffer): Likewise.
1718 (put): Reformatted.
1719 * java/nio/FloatBuffer.java
1720 (offset): Make it package-private.
1721 (backing_buffer): Likewise.
1722 * java/nio/IntBuffer.java
1723 (offset): Make it package-private.
1724 (backing_buffer): Likewise.
1725 * java/nio/LongBuffer.java
1726 (offset): Make it package-private.
1727 (backing_buffer): Likewise.
1728 * java/nio/ShortBuffer.java
1729 (offset): Make it package-private.
1730 (backing_buffer): Likewise.
1731
1732 2003-05-10 Michael Koch <konqueror@gmx.de>
1733
1734 * java/nio/CharBuffer.java
1735 (put): Fixed precondtion check.
1736 (toString): Make it work without backing array.
1737 (put): Skip one level of method calling.
1738
1739 2003-05-10 Michael Koch <konqueror@gmx.de>
1740
1741 * java/security/Identity.java,
1742 java/security/IdentityScope.java,
1743 java/security/Key.java,
1744 java/security/KeyPair.java,
1745 java/security/PrivateKey.java,
1746 java/security/Provider.java,
1747 java/security/PublicKey.java,
1748 java/security/SecureRandom.java,
1749 java/security/SecureRandomSpi.java,
1750 java/security/SignedObject.java,
1751 java/security/Signer.java,
1752 java/security/cert/Certificate.java,
1753 java/security/cert/PKIXCertPathBuilderResult.java,
1754 java/security/cert/X509Certificate.java:
1755 New versions from classpath.
1756
1757 2003-05-09 Tom Tromey <tromey@redhat.com>
1758
1759 * Makefile.in: Rebuilt.
1760 * Makefile.am (nat_source_files): Removed old files.
1761 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1762 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1763 * gnu/java/nio/natIntBufferImpl.cc: Removed.
1764 * gnu/java/nio/natLongBufferImpl.cc: Removed.
1765 * gnu/java/nio/natShortBufferImpl.cc: Removed.
1766
1767 2003-05-09 Michael Koch <konqueror@gmx.de>
1768
1769 * gnu/java/nio/ByteBufferImpl.java
1770 (nio_cast): Removed.
1771 (ByteBufferImpl): Removed.
1772 (nio_get_Byte): Removed.
1773 (nio_put_Byte): Removed.
1774 (asByteBuffer): Removed.
1775 (asCharBuffer): Removed implementation and throw exception.
1776 (asShortBuffer): Likewise.
1777 (asIntBuffer): Likewise.
1778 (asLongBuffer): Likewise.
1779 (asFloatBuffer): Likewise.
1780 (asDoubleBuffer): Likewise.
1781 * gnu/java/nio/CharBufferImpl.java
1782 (CharBufferImpl): Removed.
1783 (nio_get_Byte): Removed.
1784 (nio_put_Byte): Removed.
1785 (asByteBuffer): Removed.
1786 * gnu/java/nio/DoubleBufferImpl.java
1787 (DoubleBufferImpl): Removed.
1788 (nio_get_Byte): Removed.
1789 (nio_put_Byte): Removed.
1790 (asByteBuffer): Removed.
1791 * gnu/java/nio/FloatBufferImpl.java
1792 (FloatBufferImpl): Removed.
1793 (nio_get_Byte): Removed.
1794 (nio_put_Byte): Removed.
1795 (asByteBuffer): Removed.
1796 * gnu/java/nio/IntBufferImpl.java
1797 (IntBufferImpl): Removed.
1798 (nio_get_Byte): Removed.
1799 (nio_put_Byte): Removed.
1800 (asByteBuffer): Removed.
1801 * gnu/java/nio/LongBufferImpl.java
1802 (LongBufferImpl): Removed.
1803 (nio_get_Byte): Removed.
1804 (nio_put_Byte): Removed.
1805 (asByteBuffer): Removed.
1806 * gnu/java/nio/ShortBufferImpl.java
1807 (ShortBufferImpl): Removed.
1808 (nio_get_Byte): Removed.
1809 (nio_put_Byte): Removed.
1810 (asByteBuffer): Removed.
1811 * gnu/java/nio/natByteBufferImpl.cc
1812 (nio_cast): Removed.
1813 (nio_get_Byte): Removed.
1814 (nio_put_Byte): Removed.
1815 * gnu/java/nio/natCharBufferImpl.cc
1816 (nio_get_Byte): Removed.
1817 (nio_put_Byte): Removed.
1818
1819 2003-05-09 Michael Koch <konqueror@gmx.de>
1820
1821 * java/net/JarURLConnection.java
1822 (getJarEntry): Merged documentation from classpath.
1823 (getJarFile): Likewise.
1824 (getMainAttributes): Likewise.
1825 (getAttributes): Likewise.
1826 (getManifest): Likewise.
1827 (getCertificates): Reformatted.
1828 * java/net/URLConnection.java:
1829 Little classpath merge.
1830
1831 2003-05-09 Michael Koch <konqueror@gmx.de>
1832
1833 * java/io/DataOutputStream.java
1834 (writeShort): Made it synchronized.
1835 (writeChar): Likewise.
1836 (writeInt): Likewise.
1837 (writeLong): Liekwise.
1838 (writeUTF): Made it synchronized, renamed argument to match classpath.
1839 * java/io/InputStreamReader.java
1840 (converter): Added documentation.
1841 (read): Merged documentation from classpath.
1842 * java/io/OutputStreamWriter.java
1843 (OutputStreamWriter): Merged documentation from classpath.
1844 (close): Reformatted.
1845 (getEncoding): Likewise.
1846 (flush): Likewise.
1847 (write): Merged documentation from classpath, reformatted.
1848
1849 2003-05-08 Tom Tromey <tromey@redhat.com>
1850
1851 * configure.host <powerpc64*-*>: Set with_libffi_default and
1852 libgcj_interpreter to "yes".
1853
1854 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
1855
1856 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1857
1858 2003-05-06 Tom Tromey <tromey@redhat.com>
1859
1860 * verify.cc: Reverted previous patch.
1861
1862 2003-05-06 Michael Koch <konqueror@gmx.de>
1863
1864 * java/io/DataOutputStream.java
1865 (write): Renamed argument to "value", merged documentation from
1866 classpath.
1867 (writeBoolean): Likewise.
1868 (writeByte): Likewise.
1869 (writeShort): Likewise.
1870 (writeChar): Likewise.
1871 (writeInt): Likewise.
1872 (writeLong): Likewise.
1873 (writeFloat): Likewise.
1874 (writeDouble): Likewise.
1875 (writeBytes): Likewise.
1876 (writeChars): Likewise.
1877 (writeUTF): Likewise.
1878 * java/io/File.java
1879 (performDelete): Added documentation.
1880 (performList): Likewise.
1881 (performMkdir): Likewise.
1882 (performSetReadOnly): Likewise.
1883 (performRenameTo): Likewise.
1884 (performSetLastModified): Likewise.
1885 (delete): Made it sychronized.
1886 (renameTo): Made it sychronized.
1887 (equals): Reformatted.
1888 (isHidden): Likewise.
1889 (listFiles): Likewise.
1890 (setReadOnly): Likewise.
1891 (listRoots): Likewise.
1892 (setLastModified): Likewise.
1893 (checkRead): Likewise.
1894 (checkWrite): Likewise.
1895 * java/io/FileInputStream.java
1896 (skip): Made it sychronized, merged from classpath.
1897 * java/io/FileOutputStream.java
1898 (write): Merged from classpath.
1899 * java/io/InputStreamReader.java:
1900 (InputStreamReader): Merged documentation from classpath.
1901
1902 2003-05-05 Michael Koch <konqueror@gmx.de>
1903
1904 * java/net/NetworkInterface.java
1905 (networkInterfaces): Removed.
1906 (getByName): Use getRealNetworkInterfaces() instead of
1907 networkInterfaces.
1908 (getByInetAddress): Likewise.
1909 (getNetworkInterfaces): Likewise.
1910 (toString): Fix output of addresses of an interface.
1911
1912 2003-05-05 Michael Koch <konqueror@gmx.de>
1913
1914 * java/io/DataInputStream.java:
1915 Merged new documentation from classpath.
1916
1917 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
1918
1919 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1920 "version".
1921 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1922 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1923 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1924 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1925 * gnu/awt/gtk/GtkMainThread.java: Likewise.
1926 * gnu/awt/gtk/GtkToolkit.java: Likewise.
1927 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1928 * java/security/Key.java: Likewise.
1929 * java/security/PrivateKey.java: Likewise.
1930 * java/security/Provider.java: Likewise.
1931 * java/security/PublicKey.java: Likewise.
1932
1933 2003-05-02 Michael Koch <konqueror@gmx.de>
1934
1935 * java/net/URI.java
1936 (create): Doesnt throws any exceptions.
1937 * java/net/URLConnection.java
1938 (URLConnection): Commend added.
1939 (getExpiration): The header field is called "expires" not
1940 "expiration".
1941 (getHeaderField): Merged documentation with classpath.
1942 (getHeaderFieldInt): Likewise.
1943 (getHeaderFieldDate): Likewise.
1944 (getHeaderFieldKey): Likewise.
1945 (getPermission): Likewise.
1946 (setDefaultUseCaches): Likewise.
1947 (setRequestProperty): Likewise.
1948 (addRequestProperty): Likewise.
1949 (getRequestProperty): Likewise.
1950 (getRequestProperties): Likewise.
1951 (setDefaultRequestProperty): Likewise.
1952 (getDefaultRequestProperty): Likewise.
1953 (guessContentTypeFromStream): Likewise.
1954 (getFileNameMap): Likewise.
1955 (setFileNameMap): Likewise.
1956 (setDoInput): Merged implementation and documentation with classpath.
1957 (setDoOutput): Likewise.
1958 (setAllowUserInteraction): Likewise.
1959 (setDefaultAllowUserInteraction): Likewise.
1960 (setContentHandlerFactory): Made it synchronized, merged documentation
1961 with classpath.
1962 (guessContentTypeFromName): Renamed argument fname to filename to
1963 match classpath, merged documentation with classpath.
1964
1965 2003-05-02 Michael Koch <konqueror@gmx.de>
1966
1967 * java/net/JarURLConnection.java
1968 (JarURLConnection): Class documentation merged with classpath.
1969 (getJarFileURL): Moved and documentation merged with classpath.
1970 (getEntryName): Likewise.
1971 (JarURLConnection): Documentation merged with classpath.
1972 (getJarEntry): Likewise.
1973 (getJarFile): Likewise.
1974 * java/net/PlainDatagramSocketImpl.java:
1975 Class documentation moved.
1976 * java/net/URLConnection.java
1977 (fileNameMap): Moved and documentation merged with classpath.
1978 (factory): Likewise.
1979 (defaultAllowUserInteraction): Likewis.
1980 (defaultUseCaches): Likewise.
1981 (allowUserInteraction): Likewise.
1982 (connected): Likewise.
1983 (url): Likewise.
1984 (connect): Documentation merged with classpath.
1985 (getURL): Likewise.
1986 (getContentLength): Likewise.
1987 (getContentType): Likewise.
1988 (getContentEncoding): Likewise.
1989 (getExpiration): Likewise.
1990 (getDate): Likewise.
1991 (getLastModified): Likewise.
1992 (getHeaderField): Likewise.
1993 (getContent): Likewise.
1994 (getPermission): Likewise.
1995 (getInputStream): Likewise.
1996 (getOutputStream): Likewise.
1997 (toString): Likewise.
1998 (getDoInput): Likewise.
1999 (getDoOutput): Likewise.
2000 (setAllowUserInteraction): Likewise.
2001 (getAllowUserInteraction): Likewise.
2002 (setDefaultAllowUserInteraction): Likewise.
2003 (getDefaultAllowUserInteraction): Likewise.
2004 (setUseCaches): Likewise.
2005 (getUseCaches): Likewise.
2006 (setIfModifiedSince): Likewise.
2007 (getIfModifiedSince): Likewise.
2008 (setDefaultRequestProperty): Likewise.
2009 (getDefaultRequestProperty): Likewise.
2010 (setContentHandlerFactory): Likewise.
2011 (setFileNameMap): Likewise.
2012
2013 2003-05-02 Michael Koch <konqueror@gmx.de>
2014
2015 * java/net/InetAddress.java:
2016 Merged class documentation with classpath.
2017 * java/net/JarURLConnection.java:
2018 Explicitely import all used classes.
2019 * java/net/URL.java:
2020 Reformatting.
2021 * java/net/ServerSocket.java,
2022 java/net/Socket.java:
2023 New versions from classpath.
2024
2025 2003-05-02 Michael Koch <konqueror@gmx.de>
2026
2027 * gnu/java/nio/FileChannelImpl.java
2028 (read): New implementation.
2029 (implRead): New methods.
2030 (write): New implementation, call other write insteal of read method.
2031 (implWrite): New methods.
2032 (map): Added comment.
2033 (transferFrom): Implemented.
2034 (transferTo): Implemented.
2035 (lock): Added checks to throw exceptions.
2036 (truncate): Added check to throw exception.
2037 * gnu/java/nio/natFileChannelImpl.cc
2038 (implRead): New method.
2039 (implWrite): New method.
2040 * java/nio/ByteBuffer.java
2041 (hashCode): Fixed comment.
2042 (get): Fixed exception documentation.
2043 (put): Fixed exception documentation.
2044 * java/nio/CharBuffer.java:
2045 Added comment for later optimizations.
2046
2047 2003-04-30 Tom Tromey <tromey@redhat.com>
2048
2049 PR libgcj/10582:
2050 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2051 Removed.
2052 (type::compatible): Use _Jv_IsAssignableFrom.
2053 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2054 (_Jv_IsAssignableFrom): Work even when source or target class is
2055 not prepared.
2056
2057 2003-04-30 Michael Koch <konqueror@gmx.de>
2058
2059 * java/text/BreakIterator.java
2060 (clone): New method.
2061
2062 2003-04-30 Michael Koch <konqueror@gmx.de>
2063
2064 * java/text/CollationElementIterator.java,
2065 java/text/CollationKey.java,
2066 java/text/RuleBasedCollator.java:
2067 Merged copyright and documentation from classpath and
2068 rearranged some code. No code changes done.
2069
2070 2003-04-30 Michael Koch <konqueror@gmx.de>
2071
2072 * java/util/regex/Matcher.java
2073 (pattern): New member variable.
2074 (appendReplacement): New method.
2075 (appendTail): New method.
2076 (end): New method.
2077 (find): New method.
2078 (group): New method.
2079 (replaceFirst): Added documentation.
2080 (replaceAll): Added documentation.
2081 (groupCount): New method.
2082 (lookingAt): New method.
2083 (matches): New method.
2084 (reset): New method.
2085 (start): New method.
2086 * java/util/regex/Pattern.java
2087 (serialVersionUID): New constant.
2088 (CANON_EQ): New constant.
2089 (CASE_INSENSITIVE): New constant.
2090 (COMMENTS): New constant.
2091 (DOTALL): New constant.
2092 (MULTILINE): New constant.
2093 (UNICODE_CASE): New constant.
2094 (UNIX_LINES): New constant.
2095 (regex): New member variable.
2096 (flags): New member variable.
2097 (Pattern): New method.
2098 (compile): Documentation added.
2099 (flags): New method.
2100 (matches): Documentation added.
2101 (matcher): Documentation added.
2102 (split): Documentation added.
2103 (pattern): New method.
2104
2105 2003-04-30 Michael Koch <konqueror@gmx.de>
2106
2107 * gnu/java/security/Engine.java,
2108 gnu/java/security/OID.java,
2109 gnu/java/security/der/BitString.java,
2110 gnu/java/security/der/DER.java,
2111 gnu/java/security/der/DERReader.java,
2112 gnu/java/security/der/DERValue.java,
2113 gnu/java/security/der/DERWriter.java,
2114 gnu/java/security/provider/DSAKeyFactory.java,
2115 gnu/java/security/provider/X509CertificateFactory.java,
2116 gnu/java/security/x509/X500DistinguishedName.java,
2117 gnu/java/security/x509/X509CRL.java,
2118 gnu/java/security/x509/X509CRLEntry.java,
2119 gnu/java/security/x509/X509Certificate.java,
2120 java/security/cert/CRLSelector.java,
2121 java/security/cert/CertPathBuilder.java,
2122 java/security/cert/CertPathBuilderResult.java,
2123 java/security/cert/CertPathBuilderSpi.java,
2124 java/security/cert/CertPathParameters.java,
2125 java/security/cert/CertPathValidator.java,
2126 java/security/cert/CertPathValidatorResult.java,
2127 java/security/cert/CertPathValidatorSpi.java,
2128 java/security/cert/CertSelector.java,
2129 java/security/cert/CertStore.java,
2130 java/security/cert/CertStoreParameters.java,
2131 java/security/cert/CertStoreSpi.java,
2132 java/security/cert/CollectionCertStoreParameters.java,
2133 java/security/cert/LDAPCertStoreParameters.java,
2134 java/security/cert/PKIXBuilderParameters.java,
2135 java/security/cert/PKIXCertPathBuilderResult.java,
2136 java/security/cert/PKIXCertPathChecker.java,
2137 java/security/cert/PKIXCertPathValidatorResult.java,
2138 java/security/cert/PKIXParameters.java,
2139 java/security/cert/PolicyNode.java,
2140 java/security/cert/PolicyQualifierInfo.java,
2141 java/security/cert/TrustAnchor.java,
2142 javax/security/auth/x500/X500Principal.java:
2143 New files from classpath.
2144 * gnu/java/io/ASN1ParsingException.java,
2145 gnu/java/io/Base64InputStream.java,
2146 gnu/java/security/der/DEREncodingException.java,
2147 gnu/java/security/provider/DSAParameters.java,
2148 gnu/java/security/provider/DSASignature.java,
2149 gnu/java/security/provider/Gnu.java,
2150 gnu/java/security/provider/GnuDSAPrivateKey.java,
2151 gnu/java/security/provider/GnuDSAPublicKey.java,
2152 java/security/AlgorithmParameterGenerator.java,
2153 java/security/AlgorithmParameters.java,
2154 java/security/KeyFactory.java,
2155 java/security/KeyPairGenerator.java,
2156 java/security/KeyStore.java,
2157 java/security/MessageDigest.java,
2158 java/security/SecureClassLoader.java,
2159 java/security/SecureRandom.java,
2160 java/security/Security.java,
2161 java/security/Signature.java,
2162 java/security/cert/Certificate.java,
2163 java/security/cert/CertificateFactory.java,
2164 java/security/cert/CertificateFactorySpi.java,
2165 java/security/cert/X509CRL.java,
2166 java/security/cert/X509Certificate.java,
2167 java/security/spec/DSAPublicKeySpec.java:
2168 New versions from classpath.
2169 * gnu/java/security/provider/DERReader.java,
2170 gnu/java/security/provider/DERWriter.java,
2171 java/security/Engine.java: Removed.
2172 * Makefile.am
2173 (java_source_files, javax_source_files): Added new files.
2174 * Makefile.in: Regenerated.
2175
2176 2003-04-29 Michael Koch <konqueror@gmx.de>
2177
2178 * javax/swing/JTable.java
2179 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2180 (AUTO_RESIZE_LAST_COLUMN): New constant.
2181 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2182 (AUTO_RESIZE_OFF): New constant.
2183 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2184 (JTable): New method.
2185 (columnAdded): New method.
2186 (columnMarginChanged): New method.
2187 (columnMoved): New method.
2188 (columnRemoved): New method.
2189 (columnSelectionChanged): New method.
2190 (editingCanceled): New method.
2191 (editingStopped): New method.
2192 (getColumnModel): New method.
2193 (getPreferredScrollableViewportSize): New method.
2194 (getScrollableBlockIncrement): New method.
2195 (getScrollableTracksViewportHeight): New method.
2196 (getScrollableTracksViewportWidth): New method.
2197 (getScrollableUnitIncrement): New method.
2198 (getSelectedRow): New method.
2199 (getSelectionModel): New method.
2200 (tableChanged): New method.
2201 (setModel): New method.
2202 (setSelectionMode): New method.
2203 (setSelectionModel): New method.
2204 (setShowGrid): New method.
2205 (valueChanged): New method.
2206 * javax/swing/text/DefaultEditorKit.java
2207 (backwardAction): New constant.
2208 (beepAction): New constant.
2209 (beginAction): New constant.
2210 (beginLineAction): New constant.
2211 (beginParagraphAction): New constant.
2212 (beginWordAction): New constant.
2213 (copyAction): New constant.
2214 (cutAction): New constant.
2215 (defaultKeyTypedAction): New constant.
2216 (deleteNextCharAction): New constant.
2217 (deletePrevCharAction): New constant.
2218 (downAction): New constant.
2219 (endAction): New constant.
2220 (endLineAction): New constant.
2221 (endOfLineStringProperty): New constant.
2222 (endParagraphAction): New constant.
2223 (endWordAction): New constant.
2224 (forwardAction): New constant.
2225 (insertBreakAction): New constant.
2226 (insertContentAction): New constant.
2227 (insertTabAction): New constant.
2228 (nextWordAction): New constant.
2229 (pageDownAction): New constant.
2230 (pageUpAction): New constant.
2231 (pasteAction): New constant.
2232 (previousWordAction): New constant.
2233 (readOnlyAction): New constant.
2234 (selectAllAction): New constant.
2235 (selectionBackwardAction): New constant.
2236 (selectionBeginAction): New constant.
2237 (selectionBeginLineAction): New constant.
2238 (selectionBeginParagraphAction): New constant.
2239 (selectionBeginWordAction): New constant.
2240 (selectionDownAction): New constant.
2241 (selectionEndAction): New constant.
2242 (selectionEndLineAction): New constant.
2243 (selectionEndParagraphAction): New constant.
2244 (selectionEndWordAction): New constant.
2245 (selectionForwardAction): New constant.
2246 (selectionNextWordAction): New constant.
2247 (selectionPreviousWordAction): New constant.
2248 (selectionUpAction): New constant.
2249 (selectLineAction): New constant.
2250 (selectParagraphAction): New constant.
2251 (selectWordAction): New constant.
2252 (upAction): New constant.
2253 (writableAction): New constant.
2254
2255 2003-04-29 Michael Koch <konqueror@gmx.de>
2256
2257 * java/util/PropertyPermission.java:
2258 New version from classpath
2259 * java/util/ResourceBundle.java:
2260 Partly merged from classpath
2261 (getObject): Reformated.
2262 (tryBundle): Set foundBundle = null if no bundle found.
2263
2264 2003-04-29 Michael Koch <konqueror@gmx.de>
2265
2266 * javax/swing/AbstractListModel.java,
2267 javax/swing/DefaultBoundedRangeModel.java,
2268 javax/swing/DefaultSingleSelectionModel.java:
2269 New Versions from classpath.
2270
2271 2003-04-29 Michael Koch <konqueror@gmx.de>
2272
2273 * java/awt/Window.java
2274 (show): Call super.show() instead of setVisible() to avoid endless
2275 loop.
2276 (hide): Call super.hide() instead of setVisible() to avoid endless
2277 loop.
2278
2279 2003-04-29 Michael Koch <konqueror@gmx.de>
2280
2281 * java/util/zip/Deflater.java,
2282 java/util/zip/DeflaterOutputStream.java:
2283 Partly merged with classpath.
2284
2285 2003-04-27 Tom Tromey <tromey@redhat.com>
2286
2287 * java/lang/natString.cc (_Jv_AllocString): Initialize
2288 cachedHashCode.
2289 (init): Likewise.
2290 (_Jv_NewStringUtf8Const): Likewise.
2291
2292 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2293
2294 * include/jvm.h: (_Jv_GetNbArgs) added
2295 (_Jv_GetSafeArg) added
2296 (_Jv_SetArgs) added
2297 * prims.cc: (_Jv_GetNbArgs) implemented
2298 (_Jv_GetSafeArg) implemented
2299 (_Jv_SetArgs) implemented
2300 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2301 setting _Jv_argc and _Jv_argv
2302 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2303 instead of _Jv_argv
2304 * java/lang/natRuntime.cc: (insertSystemProperties) use
2305 _Jv_GetSafeArg() instead of _Jv_argv
2306
2307 2003-04-23 Tom Tromey <tromey@redhat.com>
2308
2309 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2310 required by this object. Search superclasses to find required
2311 alignment.
2312 (get_alignment_from_class): Use alignment of type as it appears
2313 in a struct.
2314 (ALIGNOF): New macro.
2315 (struct aligner): New helper structure.
2316
2317 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2318
2319 * java/awt/Container.java (addImpl): Enable paint events if adding
2320 a lightweight to a heavyweight.
2321 (addNotify): Ensure that peer is created before
2322 addNotifyContainerChildren.
2323 (addNotifyContainerChildren): Enable paint events if a heavyweight
2324 container contains a lightweight.
2325
2326 2003-04-20 Tom Tromey <tromey@redhat.com>
2327
2328 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2329 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2330 Classpath.
2331
2332 2003-04-19 Tom Tromey <tromey@redhat.com>
2333
2334 * java/sql/Date.java, java/sql/DriverManager.java,
2335 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2336 Classpath.
2337
2338 * Makefile.in: Rebuilt.
2339 * Makefile.am (ordinary_java_source_files): Added new files.
2340 * java/security/AlgorithmParameterGenerator.java,
2341 java/security/AlgorithmParameters.java, java/security/Engine.java,
2342 java/security/Identity.java, java/security/IdentityScope.java,
2343 java/security/KeyFactory.java,
2344 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2345 java/security/MessageDigest.java, java/security/Policy.java,
2346 java/security/ProtectionDomain.java,
2347 java/security/SecureRandom.java, java/security/Security.java,
2348 java/security/Signature.java, java/security/SignatureSpi.java,
2349 java/security/SignedObject.java, java/security/Signer.java,
2350 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2351 java/security/spec/PSSParameterSpec.java,
2352 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2353 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2354 Classpath.
2355
2356 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2357
2358 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2359 (dispose): Null metrics.
2360 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2361 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2362 finalize.
2363 (finalize): Call dispose.
2364 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2365 (gcCachedCount): New field.
2366 (finalize): New method.
2367 (putGCInCache): New method.
2368 (getGCFromCache): New method.
2369 * gnu/gcj/xlib/GC.java (GC): Make protected.
2370 (clone): Get new GC from cache if possible.
2371 (create): New static method.
2372 (dispose): Save old GC in cache.
2373 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2374 deleting.
2375 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2376 is null.
2377 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2378 * java/awt/Container.java (visitChild): Dispose gfx2 when
2379 finished.
2380
2381 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2382
2383 * java/math/BigInteger.java (probablePrime): New.
2384 * java/math/BigDecimal.java (unscaledValue): New.
2385
2386 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2387
2388 * java/io/File.java (getAbsolutePath): On Windows, take care
2389 of paths like "C:", "G:foo\bar", etc.
2390 (getName): Make it work correctly on Windows.
2391 (getParent): Make it work correctly on Windows. For UNIX,
2392 fix bug that causes "/" to be returned as the parent of "/",
2393 instead of null as returned by Sun's JRE.
2394
2395 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2396
2397 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2398
2399 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2400 inner class.
2401 (CACHE_SIZE_PER_DISPLAY): New field
2402 (fontMetricsCache): New field
2403 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2404 loading ISO10646-1 fonts.
2405
2406 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2407
2408 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2409 characters.
2410 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2411 characters.
2412
2413 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2414
2415 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2416 floating point.
2417
2418 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2419
2420 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2421 installed libpthread is either linuxthreads with floating stacks or
2422 NPTL.
2423
2424 2003-04-14 Tom Tromey <tromey@redhat.com>
2425
2426 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2427 of alignment.
2428
2429 2003-04-10 Tom Tromey <tromey@redhat.com>
2430
2431 * verify.cc (pop64): Removed.
2432 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2433 exception if top-of-stack is narrow.
2434 (initialize_stack): Check to ensure that <init> is not static and
2435 <clinit> is.
2436
2437 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2438
2439 * java/io/ObjectStreamException
2440 * java/io/FileFilter
2441 * java/io/FilenameFilter
2442 * java/io/ObjectInput
2443 * java/io/ObjectOutput
2444 * java/io/ObjectStreamConstants
2445 Minor doc fixes, format fixes, spelling corrections, etc.
2446 * java/io/DataInput
2447 Corrected code samples in Javadocs to match reality
2448 * java/io/DataOutput
2449 * java/io/ObjectInputValidation
2450 Major documentation fixes - all Javadocs re-written or updated
2451
2452 2003-04-06 Michael Koch <konqueror@gmx.de>
2453
2454 * java/net/URLConnection.java:
2455 Import classes directly.
2456 (URLConnection): Merged class documentation with classpath.
2457 (url): Moved, documentation from classpath added.
2458 (doInput): Moved, documentation from classpath added.
2459 (doOutput): Moved, documentation from classpath added.
2460 (allowUserInteraction): Moved.
2461 (useCaches): Moved, documentation from classpath added.
2462 (ifModifiedSince): Moved, documentation from classpath added.
2463 (connected): Moved, documentation from classpath added.
2464
2465 2003-04-06 Michael Koch <konqueror@gmx.de>
2466
2467 * java/io/FileInputStream.java
2468 (skip): Renamed some variables to match classpath, added
2469 checks from classpath.
2470
2471 2003-03-31 Michael Koch <konqueror@gmx.de>
2472
2473 * javax/swing/AbstractAction.java
2474 (AbstractAction): Reformatted.
2475 (serialVersionUID): New private member variable.
2476 * javax/swing/plaf/BorderUIResource.java
2477 (serialVersionUID): New private member variable.
2478 * javax/swing/plaf/basic/BasicLookAndFeel.java
2479 (serialVersionUID): New private member variable.
2480
2481 2003-03-31 Michael Koch <konqueror@gmx.de>
2482
2483 * java/sql/Date.java
2484 (valueOf): Deprecated, reformatted.
2485 (toString): Deprecated, reformatted.
2486 * java/sql/Time.java
2487 (valueOf): Deprecated, reformatted.
2488 (toString): Deprecated, reformatted.
2489
2490 2003-03-31 Michael Koch <konqueror@gmx.de>
2491
2492 * java/rmi/dgc/VMID.java
2493 (isUnique): Deprecated.
2494
2495 2003-03-31 Michael Koch <konqueror@gmx.de>
2496
2497 * java/io/File.java
2498 (separator): Merged documentation from classpath.
2499 (separatorChar): Merged documentation from classpath.
2500 (pathSeparator): Merged documentation from classpath.
2501 (pathSeparatorChar): Merged documentation from classpath.
2502 (path): Merged documentation from classpath.
2503 (canRead): Merged documentation from classpath.
2504 (canWrite): Merged documentation from classpath.
2505 (createNewFile): Merged documentation from classpath.
2506 (delete): Merged documentation from classpath.
2507 (equals): Merged documentation from classpath.
2508 (exists): Merged documentation from classpath.
2509 (File): Renamed p to name to match classpath, merged documentation
2510 from classpath.
2511 (getAbsolutePath): Merged documentation from classpath.
2512 (getCanonicalPath): Merged documentation from classpath.
2513 (getCanonicalFile): Merged documentation from classpath.
2514 (getName): Merged documentation from classpath.
2515 (getParent): Merged documentation from classpath.
2516 (getParentFile): Merged documentation from classpath.
2517 (getPath): Merged documentation from classpath.
2518 (hashCode): Merged documentation from classpath.
2519 (isAbsolute): Merged documentation from classpath.
2520 (isDirectory): Merged documentation from classpath.
2521 (isFile): Merged documentation from classpath.
2522 (isHidden): Merged documentation from classpath.
2523 (lastModified): Merged documentation from classpath.
2524 (length): Merged documentation from classpath.
2525 (list): Merged documentation from classpath.
2526 (listFiles): Merged documentation from classpath.
2527 (toString): Merged documentation from classpath.
2528 (toURL): Merged documentation from classpath.
2529 (mkdir): Merged documentation from classpath.
2530 (mkdirs): Merged documentation from classpath.
2531 (createTempFile): Merged documentation from classpath.
2532 (setReadOnly): Merged documentation from classpath.
2533 (listRoots): Merged documentation from classpath.
2534 (compareTo): Merged documentation from classpath.
2535 (renameTo): Merged documentation from classpath.
2536 (setLastModified): Merged documentation from classpath.
2537 * java/io/PrintStream.java
2538 (auto_flush): Merged documentation from classpath.
2539 (PrintStream): Merged documentation from classpath.
2540 (checkError): Merged documentation from classpath.
2541 (setError): Merged documentation from classpath.
2542 (close): Merged documentation from classpath.
2543 (flush): Merged documentation from classpath.
2544 (print): Merged documentation from classpath.
2545 (println): Merged documentation from classpath.
2546 (write): Renamed count to len to match classpath,
2547 merged documentation from classpath.
2548 * java/io/RandomAccessFile.java
2549 (readShort): Merged documentation from classpath.
2550 (readUnsignedByte): Merged documentation from classpath.
2551 (readUnsignedShort): Merged documentation from classpath.
2552 (readUTF): Merged documentation from classpath.
2553 (seek): Reformatted, merged documentation from classpath.
2554 (skipBytes): Renamed some variables to match classpath, reformatted,
2555 merged documentation from classpath.
2556 (write): Merged documentation from classpath.
2557 (writeBoolean): Merged documentation from classpath.
2558 (writeByte): Merged documentation from classpath.
2559 (writeShort): Merged documentation from classpath.
2560 (writeChar): Merged documentation from classpath.
2561 (writeInt): Merged documentation from classpath.
2562 (writeLong): Merged documentation from classpath.
2563 (writeFloat): Merged documentation from classpath.
2564 (writeDouble): Merged documentation from classpath.
2565 (writeBytes): Merged documentation from classpath.
2566 (writeChars): Merged documentation from classpath.
2567 (writeUTF): Reformatted.
2568 (getChannel): Reformatted.
2569
2570 2003-03-31 Michael Koch <konqueror@gmx.de>
2571
2572 * java/awt/font/TextAttribute.java
2573 (readResolve): Throws java.io.InvalidObjectException.
2574
2575 2003-03-31 Michael Koch <konqueror@gmx.de>
2576
2577 * java/rmi/server/LoaderHandler.java
2578 (loadClass): Deprecated.
2579 (getSecurityContext): Deprecated.
2580 * java/rmi/server/LogStream.java
2581 (getDefaultStream): Deprecated.
2582 (setDefaultStream): Deprecated.
2583 (getOutputStream): Deprecated.
2584 (setOutputStream): Deprecated.
2585 (write): Deprecated.
2586 (toString): Deprecated.
2587 (parseLevel): Deprecated.
2588 * java/rmi/server/Operation.java
2589 (Operation): Deprecated.
2590 (getOperation): Deprecated.
2591 (toString): Deprecated.
2592 * java/rmi/server/RemoteCall.java
2593 (getOutputStream): Deprecated.
2594 (releaseOutputStream): Deprecated.
2595 (getInputStream): Deprecated.
2596 (releaseInputStream): Deprecated.
2597 (getResultStream): Deprecated.
2598 (executeCall): Deprecated.
2599 (done): Deprecated.
2600 * java/rmi/server/RemoteRef.java
2601 (invoke): Deprecated.
2602 (newCall): Deprecated.
2603 (done): Deprecated.
2604 * java/rmi/server/RemoteStub.java
2605 (setRef): Deprecated.
2606 * java/rmi/server/Skeleton.java:
2607 No need to import java.lang.Exception explicitly.
2608 (dispatch): Deprecated.
2609 (getOperations): Deprecated.
2610
2611 2003-03-31 Michael Koch <konqueror@gmx.de>
2612
2613 * java/rmi/dgc/VMID.java,
2614 java/rmi/registry/RegistryHandler.java,
2615 java/rmi/server/LogStream.java,
2616 java/rmi/server/Operation.java,
2617 java/rmi/server/RemoteCall.java,
2618 java/rmi/server/RemoteRef.java,
2619 java/rmi/server/RemoteStub.java:
2620 Reformatted.
2621
2622 2003-03-31 Michael Koch <konqueror@gmx.de>
2623
2624 * javax/swing/AbstractCellEditor.java,
2625 javax/swing/AbstractListModel.java,
2626 javax/swing/ActionMap.java,
2627 javax/swing/BorderFactory.java,
2628 javax/swing/ButtonGroup.java,
2629 javax/swing/DefaultBoundedRangeModel.java,
2630 javax/swing/DefaultButtonModel.java,
2631 javax/swing/DefaultCellEditor.java,
2632 javax/swing/DefaultComboBoxModel.java,
2633 javax/swing/DefaultDesktopManager.java,
2634 javax/swing/DefaultListCellRenderer.java,
2635 javax/swing/DefaultSingleSelectionModel.java,
2636 javax/swing/InputMap.java,
2637 javax/swing/JComponent.java,
2638 javax/swing/JMenu.java,
2639 javax/swing/JSlider.java,
2640 javax/swing/KeyStroke.java,
2641 javax/swing/OverlayLayout.java,
2642 javax/swing/ScrollPaneLayout.java,
2643 javax/swing/SizeRequirements.java,
2644 javax/swing/UIManager.java,
2645 javax/swing/ViewportLayout.java,
2646 javax/swing/border/AbstractBorder.java,
2647 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2648 javax/swing/event/EventListenerList.java,
2649 javax/swing/table/AbstractTableModel.java,
2650 javax/swing/table/DefaultTableCellRenderer.java,
2651 javax/swing/table/DefaultTableColumnModel.java,
2652 javax/swing/table/DefaultTableModel.java,
2653 javax/swing/table/TableColumn.java,
2654 javax/swing/text/StyledEditorKit.java,
2655 javax/swing/tree/DefaultMutableTreeNode.java,
2656 javax/swing/tree/DefaultTreeModel.java,
2657 javax/swing/tree/DefaultTreeSelectionModel.java,
2658 javax/swing/tree/TreePath.java,
2659 javax/swing/undo/AbstractUndoableEdit.java,
2660 javax/swing/undo/StateEdit.java,
2661 javax/swing/undo/StateEditable.java,
2662 javax/swing/undo/UndoableEditSupport.java:
2663 Merges from classpath.
2664
2665 2003-03-30 Tom Tromey <tromey@redhat.com>
2666
2667 * java/lang/String.java (data, boffset, count): Documented.
2668 (String(byte[],String)): Reformatted.
2669 (String(byte[])): Likewise.
2670 (lastIndexOf(int)): Likewise.
2671 (lastIndexOf(String)): Likewise.
2672 (substring(int)): Renamed argument to match Classpath.
2673 (String(StringBuffer)): Don't share buffer if it is nearly empty.
2674
2675 * java/lang/String.java: Miscellaneous minor formatting changes
2676 to match Classpath more closely.
2677
2678 2003-03-29 Eric Blake <ebb9@email.byu.edu>
2679 Tom Tromey <tromey@redhat.com>
2680
2681 * java/lang/natString.cc (hashCode): Use cachedHashCode.
2682 (init()): Removed.
2683 (charAt): Put index in exception.
2684 (contentEquals): New method.
2685 Include StringBuffer.h.
2686 * java/lang/String.java (cachedHashCode): New field.
2687 (String()): Follow classpath implementation.
2688 (init()): Removed.
2689 (contentEquals): Declare.
2690 (subSequence): Don't declare IndexOutIfBoundsException in throws
2691 clause.
2692 (matches, replaceFirst, replaceAll, split): New methods from
2693 Classpath.
2694
2695 2003-03-29 Tom Tromey <tromey@redhat.com>
2696
2697 * java/lang/String.java: Reordered to follow Classpath; merged in
2698 javadoc.
2699
2700 * java/text/MessageFormat.java: Removed some whitespace.
2701
2702 * Makefile.in: Rebuilt.
2703 * Makefile.am (awt_java_source_files): Added new files.
2704 * gnu/javax/rmi/PortableServer.java,
2705 gnu/javax/rmi/CORBA/DelegateFactory.java,
2706 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2707 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2708 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2709 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2710 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2711 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2712 javax/rmi/PortableRemoteObject.java,
2713 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2714 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2715 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2716 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2717 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2718 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2719
2720 * java/lang/natClass.cc (newInstance): Put method name in
2721 exception.
2722 (getConstructor): Likewise.
2723 (getDeclaredConstructor): Likewise.
2724 (getPrivateMethod): Likewise.
2725
2726 2003-03-28 Tom Tromey <tromey@redhat.com>
2727
2728 * java/lang/reflect/Proxy.java: New version from Classpath.
2729 * java/lang/Package.java: New version from Classpath.
2730
2731 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
2732
2733 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2734 * configure: Regenerate.
2735
2736 2003-03-28 Michael Koch <konqueror@gmx.de>
2737
2738 * java/io/File.java:
2739 Import needed classes instead of whole packages, merged class
2740 documentation with classpath, moved constants and variables to top of
2741 class.
2742 * java/io/PrintStream.java:
2743 Merged class documentation with classpath, moved constants and
2744 variables to top of class.
2745 * java/io/RandomAccessFile.java
2746 (RandomAccessFile): Merged with classpath.
2747 (read): Merged with classpath).
2748 (read*): Reformatted.
2749
2750 2003-03-28 Michael Koch <konqueror@gmx.de>
2751
2752 * java/io/FileDescriptor.java
2753 (finalize): Throws Throwable, not IOException.
2754 * java/io/ObjectOutputStream.java
2755 (PutField.put): Doesnt throws anything.
2756
2757 2003­03-28 Michael Koch <konqueror@gmx.de>
2758
2759 * java/io/FileOutputStream.java:
2760 Merged class documentation and authors with classpath.
2761 (FileOutputStream): Partly merged with classpath.
2762 (write): Merged with classpath.
2763 (getChannel): Make it synchronized instead of explicit block in this
2764 method.
2765 * java/io/RandomAccessFile.java:
2766 Merged class documentation and authors with classpath.
2767
2768 2003-03-26 Tom Tromey <tromey@redhat.com>
2769
2770 * java/lang/natRuntime.cc (insertSystemProperties): Set
2771 gnu.classpath.home.url.
2772 * Makefile.in: Rebuilt.
2773 * Makefile.am: Define LIBDIR.
2774
2775 2003-03-25 Michael Koch <konqueror@gmx.de>
2776
2777 * java/io/FileInputStream.java
2778 (read): Renamed b to buf and off to offset.
2779 * java/io/FileOutputStream.java
2780 (ch): Documentation added.
2781 (FileOutputStream): Documentation added.
2782 (getFD): Documentation added.
2783 (write): Documentation added.
2784 (close): Documentation added.
2785 (getChannel): Documentation added.
2786
2787 2003-03-24 Michael Koch <konqueror@gmx.de>
2788
2789 * java/io/DataOutputStream.java
2790 (write): Merged from classpath.
2791 * java/io/File.java:
2792 Merged copyrigth with classpath.
2793 * java/io/FileInputStream.java
2794 (getChannel): Made it synchronized instead of using a synchronized
2795 block.
2796 * java/io/FileOutputStream.java: Reformatted.
2797 * java/io/InputStreamReader.java
2798 (InputStreamReader): Renamed enc to encoding_name.
2799 (close): Merged documentation from classpath.
2800 (getEncoding): Merged documentation from classpath.
2801 (ready): Merged documentation from classpath.
2802 (read): Merged documentation from classpath.
2803 * java/io/LineNumberReader.java
2804 (lineNumber): Made it private.
2805 (LineNumberReader): Use Constant instead of a direct value.
2806 * java/io/OutputStreamWriter.java
2807 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2808 documentation from classpath.
2809 (close): Merged documentation from classpath.
2810 (flush): Merged documentation from classpath.
2811 (write): Merged documentation from classpath.
2812 * java/io/PrintStream.java: Reformatted.
2813
2814 2003-03-24 Michael Koch <konqueror@gmx.de>
2815
2816 * javax/swing/text/ComponentView.java
2817 (getComponent): Must be final.
2818 * javax/swing/tree/DefaultTreeCellRenderer.java:
2819 Reformatted.
2820 * javax/swing/undo/StateEditable.java:
2821 Reformatted.
2822
2823 2003-03-24 Michael Koch <konqueror@gmx.de>
2824
2825 * java/rmi/activation/ActivationInstantiator.java:
2826 Reformatted.
2827 * java/rmi/activation/Activator.java:
2828 Reformatted.
2829 * java/rmi/registry/RegistryHandler.java:
2830 Remerged from classpath.
2831
2832 2003-03-24 Michael Koch <konqueror@gmx.de>
2833
2834 * java/util/Date.java:
2835 Fixed documentation starting tag to make javadoc happy.
2836 * java/util/regex/Pattern.java
2837 (Pattern): Implements Serializable.
2838 * java/util/PatternSyntaxException.java
2839 (serialVersionUID): New member variable.
2840
2841 2003-03-24 Michael Koch <koqnueror@gmx.de>
2842
2843 * java/awt/ContainerOrderFocusTraversalPolicy.java
2844 (getFirstComponent): Implemented.
2845 (getLastComponent): Implemented.
2846 (getDefaultComponent): Implemented.
2847 (setImplicitDownCycleTraversal): Fixed implementation.
2848 * java/awt/Robot.java
2849 (Robot): Added documentation.
2850 * java/awt/Toolkit.java
2851 (getFontList): Deprecated.
2852 (getFontMetrics): Deprecated.
2853 (getPrintJob): Added documentation.
2854 (getSystemSelection): Added documentation.
2855 (getLockingKeyState): Added documentation.
2856 (setLockingKeyState): Added documentation.
2857 (createCustomCursor): Added documentation.
2858 (getBestCursorSize): Added documentation.
2859 (getMaximumCursorColors): Added documentation.
2860 (isFrameStateSupported): Added documentation.
2861
2862 2003-03-24 Michael Koch <konqueror@gmx.de>
2863
2864 * java/io/RandomAccessFile.java:
2865 More little merges with classpath. No code changes.
2866
2867 2003-03-24 Michael Koch <konqueror@gmx.de>
2868
2869 * java/net/natInetAddressNoNet.cc:
2870 Include stddef.h.
2871 * java/net/natPlainDatagramSocketImplNoNet.cc:
2872 Fixed inlcude of java/net/DatagramPacket.h.
2873 * java/net/natPlainSocketImplNoNet.cc:
2874 Include some missing classes.
2875
2876 2003-03-24 Michael Koch <konqueror@gmx.de>
2877
2878 * java/awt/dnd/DropTarget.java
2879 (DropTargetAutoScroller): According to the online documentation, this
2880 is protected, but in reality it is public.
2881 * java/awt/dnd/DropTargetContext.java
2882 (TransferableProxy): According to the online documentation, this
2883 is protected, but in reality it is public.
2884
2885 2003-03-24 Michael Koch <konqueror@gmx.de>
2886
2887 * java/io/DataInputStream.java
2888 (): Wrapped documentation line.
2889 (): Fixed @return tag.
2890 * java/io/DataOutputStream.java
2891 (written): Moved to top of class.
2892 (all methods): Merged documentation from classpath.
2893 * java/io/File.java:
2894 Merged copyright year with classpath.
2895 * java/io/FileInputStream.java
2896 (all methods): Merged documentation from classpath.
2897 * java/io/LineNumberReader.java
2898 (getLineNumber): Fixed @return tag.
2899 * java/io/ObjectInputStream.java.
2900 Reformatted.
2901 * java/io/ObjectOutputStream.java:
2902 Reformatted, fixed some @see tags.
2903 * java/io/OutputStreamWriter.java:
2904 Deleted empty line.
2905 * java/io/Writer.java:
2906 Reformatted.
2907
2908 2003-03-24 Michael Koch <konqueror@gmx.de>
2909
2910 * java/awt/Frame.java
2911 (DEFAULT_CURSOR): Fixed @deprecated tag.
2912 (setCursor): Fixed @deprecated tag.
2913
2914 2003-03-24 Michael Koch <konqueror@gmx.de>
2915
2916 * java/beans/beancontext/BeanContextEvent.java:
2917 Reformated.
2918
2919 2003-03-23 Eric Blake <ebb9@email.byu.edu>
2920
2921 * java/lang/natStringBuffer.cc (regionMatches): New function.
2922 * java/lang/String.java (count): Now package-private.
2923 * java/lang/StringBuffer.java: Merged with Classpath.
2924
2925 2003-03-23 Michael Koch <konqueror@gmx.de>
2926
2927 * java/io/BufferedOutputStream.java:
2928 Reformated.
2929 * java/io/BufferedReader.java:
2930 Reformated.
2931 * java/io/ByteArrayOutputStream.java
2932 (size): Fixed @see tag.
2933 * java/io/CharArrayWriter.java
2934 (size): Fixed @see tag.
2935 * java/io/DataInput.java:
2936 Reformated.
2937 * java/io/DataOutput.java:
2938 Reformated.
2939 * java/io/DataOutputStream.java:
2940 Merged copyright years with classpath.
2941 * java/io/Externalizable.java:
2942 Reformated.
2943 * java/io/FileFilter.java:
2944 Reformated.
2945 * java/io/FileInputStream.java:
2946 Merged copyright years with classpath.
2947 * java/io/FileOutputStream.java:
2948 Merged copyright years with classpath.
2949 * java/io/FilePermission.java
2950 (FilePermission): Replaced @XXX with FIXME:.
2951 * java/io/FileWriter.java:
2952 Reformated.
2953 * java/io/FilenameFilter.java:
2954 Reformated.
2955 * java/io/FilterInputStream.java:
2956 Reformated.
2957 * java/io/FilterOutputStream.java:
2958 Reformated.
2959 * java/io/FilterReader.java:
2960 Reformated.
2961 * java/io/FilterWriter.java:
2962 Reformated.
2963 * java/io/LineNumberInputStream.java
2964 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2965 happy.
2966 (getLineNumber): Fixed @return tag.
2967 * java/io/ObjectInput.java:
2968 Reformated.
2969 * java/io/ObjectOutput.java:
2970 Reformated.
2971 * java/io/ObjectStreamClass.java:
2972 Reformated.
2973 * java/io/PrintStream.java:
2974 Merged copyright years with classpath.
2975 * java/io/PushbackReader.java
2976 (PushbackReader): Replaced @code with @param.
2977 * java/io/SerializablePermission.java:
2978 Reformated.
2979 * java/io/StreamTokenizer.java
2980 (resetSyntax): Fixed @see tag.
2981
2982 2003-03-22 Richard Henderson <rth@redhat.com>
2983
2984 * sysdep/ia64/locks.h: Include ia64intrin.h.
2985 (compare_and_swap): Use __sync_bool_compare_and_swap.
2986 (compare_and_swap_release): Expose ar.ccv assignment.
2987
2988 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
2989
2990 * include/posix.h: Add suffix for darwin dynamic libraries.
2991
2992 2003-03-21 Michael Koch <konqueror@gmx.de>
2993
2994 * javax/swing/Action.java
2995 (ACCELERATOR_KEY): New constant.
2996 (ACTION_COMMAND_KEY): Likewise.
2997 (MNEMONIC_KEY): Likewise.
2998 * javax/swing/UnsupportedLookAndFeelException.java
2999 (UnsupportedLookAndFeelException): Must be public.
3000 * javax/swing/WindowConstants.java
3001 (EXIT_ON_CLOSE): New constant.
3002 * javax/swing/text/BadLocationException.java
3003 (offset): New member variable.
3004 (BadLocationException): New implementation, documentation added.
3005 (offsetRequested): New method.
3006 * javax/swing/text/Caret.java:
3007 Reformated.
3008 * javax/swing/text/Document.java:
3009 Reformated.
3010
3011 2003-03-21 Michael Koch <konqueror@gmx.de>
3012
3013 * java/rmi/activation/Activatable.java
3014 (serialVersionUID): New member variable.
3015 * java/rmi/activation/ActivationGroup.java
3016 (serialVersionUID): New member variable.
3017 * java/rmi/activation/ActivationGroupDesc.java
3018 (serialVersionUID): New member variable.
3019 * java/rmi/registry/Registry.java:
3020 Reformated.
3021 (Registry): Deprecated.
3022 * java/rmi/server/LoaderHandler.java
3023 Reformated.
3024 (LoaderHandler): Deprecated.
3025 * java/rmi/server/LogStream.java
3026 Reformated.
3027 (LogStream): Deprecated.
3028 * java/rmi/server/Operation.java
3029 (Operation): Deprecated.
3030 * java/rmi/server/RMIFailureHandler.java:
3031 Reformated.
3032 * java/rmi/server/RMISocketFactory.java:
3033 Reformated.
3034 * java/rmi/server/RemoteCall.java
3035 (RemoteCall): Deprecated.
3036 * java/rmi/server/RemoteStub.java:
3037 Reformated.
3038 * java/rmi/server/Skeleton.java
3039 Reformated.
3040 (Skeleton): Deprecated.
3041
3042 2003-03-21 Michael Koch <konqueror@gmx.de>
3043
3044 * java/io/LineNumberReader.java
3045 (LineNumberReader): Merged documentation with classpath.
3046 (getLineNumber): Likewise.
3047 (setLineNumber): Likewise.
3048 (mark): Likewise.
3049 (reset): Likewise.
3050 (read): Likewise.
3051 (readLine): Likewise.
3052 (skip): Likewise.
3053
3054 2003-03-21 Michael Koch <konqueror@gmx.de>
3055
3056 * java/rmi/RMISecurityManager.java
3057 (checkAccept): Removed.
3058 (checkAccess): Likewise.
3059 (checkAccess): Likewise.
3060 (checkAwtEventQueueAccess): Likewise.
3061 (checkConnect): Likewise.
3062 (checkCreateClassLoader): Likewise.
3063 (checkDelete): Likewise.
3064 (checkExec): Likewise.
3065 (checkExit): Likewise.
3066 (checkLink): Likewise.
3067 (checkListen): Likewise.
3068 (checkMemberAccess): Likewise.
3069 (checkMulticast): Likewise.
3070 (checkPackageAccess): Likewise.
3071 (checkPackageDefinition): Likewise.
3072 (checkPermission): Likewise.
3073 (checkPrintJobAccess): Likewise.
3074 (checkPropertiesAccess): Likewise.
3075 (checkPropertyAccess): Likewise.
3076 (checkRead): Likewise.
3077 (checkSecurityAccess): Likewise.
3078 (checkSetFactory): Likewise.
3079 (checkSystemClipboardAccess): Likewise.
3080 (checkTopLevelWindow): Likewise.
3081 (checkWrite): Likewise.
3082
3083 2003-03-20 Michael Koch <konqueror@gmx.de>
3084
3085 * gnu/java/nio/FileChannelImpl.java
3086 (address): Removed.
3087 (map_address): New member variable.
3088 (length): Make it package private.
3089 (fd): Make it package private.
3090 (buf): Make it package private.
3091 (file_obj): Make it package private.
3092 (FileChannelImpl): New constructor.
3093 (nio_mmap_file): Use RawData instead of long.
3094 (nio_munmap_file): Use RawData instead of long.
3095 (nio_msync): Use RawData instead of long.
3096 (implCloseChannel): New implementation using map_address.
3097 (read): Reformated.
3098 (map): Implemented.
3099 (create_direct_mapped_buffer): Implemented, use RawData, throws
3100 IOException.
3101 (force): Use map_address instead of address.
3102 * gnu/java/nio/MappedByteFileBuffer.java
3103 (address): Removed.
3104 (map_address): New member variable.
3105 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3106 (several methods): Use map_address instead of address, replaced long
3107 with RawData where appropriate.
3108 * gnu/java/nio/natFileChannelImpl.cc
3109 (nio_mmap_file): Replaced long with RawData.
3110 (nio_munmap_file): Replaced long with RawData.
3111 (nio_msync): Replaced long with RawData.
3112 * gnu/java/nio/natMappedByteFileBuffer.cc
3113 (several methods): Replaced long with RawData where appropriate.
3114
3115 2003-03-20 Michael Koch <konqueror@gmx.de>
3116
3117 * java/net/InetAddress.java,
3118 java/net/JarURLConnection.java,
3119 java/net/PlainDatagramSocketImpl.java,
3120 java/net/PlainSocketImpl.java,
3121 java/net/URLConnection.java:
3122 Merged copyright statements with classpath for easier merging.
3123
3124 2003-03-20 Michael Koch <konqueror@gmx.de>
3125
3126 * java/io/FileInputStream.java
3127 (getChannel): New implementation.
3128 * java/io/FileOutputStream.java
3129 (ch): New member variable.
3130 (getChannel): Implemented.
3131 * java/io/RandomAccessFile.java
3132 (RandomAccessFile): Throws FileNotFoundException instead of
3133 IOException.
3134 (getChannel): New method.
3135 (ch): New member variable.
3136
3137 2003-03-20 Michael Koch <konqueror@gmx.de>
3138
3139 * java/io/DataOutputStream.java,
3140 java/io/File.java,
3141 java/io/FileInputStream.java,
3142 java/io/FileOutputStream.java,
3143 java/io/InputStreamReader.java,
3144 java/io/LineNumberReader.java,
3145 java/io/OutputStreamWriter.java,
3146 java/io/PrintStream.java,
3147 java/io/RandomAccessFile.java:
3148 Merged copyright statements with classpath for easier merging.
3149
3150 2003-03-19 Michael Koch <konqueror@gmx.de>
3151
3152 * java/lang/Process.java:
3153 Merged from classpath.
3154
3155 2003-03-19 Michael Koch <konqueror@gmx.de>
3156
3157 * java/io/FileOutputStream.java
3158 (FileOutputStream): New constructor, merged from classpath.
3159 * java/io/FileWriter.java
3160 (FileWriter): New constructor, merged from classpath.
3161
3162 2003-03-18 Michael Koch <konqueror@gmx.de>
3163
3164 * java/awt/ScrollPane.java
3165 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3166 (getViewportSize): Likewise.
3167 (addNotify): Likewise.
3168 (removeNotify): Likewise.
3169 * java/awt/ScrollPaneAdjustable.java
3170 (ScrollPaneAdjustable): No longer extends Scrollbar.
3171 * java/beans/beancontext/BeanContextServices.java:
3172 Reformated.
3173 (getService): Added throws TooManyListenersException;
3174 * java/beans/beancontext/BeanContextServicesSupport.java:
3175 Reformated.
3176
3177 2003-03-18 Michael Koch <konqueror@gmx.de>
3178
3179 * java/io/BufferedOutputStream.java,
3180 java/io/DataInput.java,
3181 java/io/DataInputStream.java,
3182 java/io/DataOutput.java,
3183 java/io/Externalizable.java:
3184 More merges from classpath.
3185
3186 2003-03-18 Michael Koch <konqueror@gmx.de>
3187
3188 * configure.in: Fixed links to platform dependant java.net files.
3189 * configure: Regenerated.
3190 * java/net/natInetAddress.cc,
3191 java/net/natNetworkInterface.cc,
3192 java/net/natPlainDatagramSocketImpl.cc,
3193 java/net/natPlainSocketImpl.cc:
3194 Removed.
3195
3196 2003-03-18 Michael Koch <konqueror@gmx.de>
3197
3198 * configure.in: Create links to architecture dependent files,
3199 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3200 * configure: Regenerated.
3201 * java/net/natInetAddressNoNet.cc,
3202 java/net/natInetAddressPosix.cc,
3203 java/net/natInetAddressWin32.cc,
3204 java/net/natNetworkInterfaceNoNet.cc,
3205 java/net/natNetworkInterfacePosix.cc,
3206 java/net/natNetworkInterfaceWin32.cc,
3207 java/net/natPlainDatagramSocketImplNoNet.cc,
3208 java/net/natPlainDatagramSocketImplPosix.cc,
3209 java/net/natPlainDatagramSocketImplWin32.cc,
3210 java/net/natPlainSocketImplNoNet.cc,
3211 java/net/natPlainSocketImplPosix.cc,
3212 java/net/natPlainSocketImplWin32.cc: New files.
3213
3214 2003-03-18 Michael Koch <konqueror@gmx.de>
3215
3216 * java/io/BufferedReader.java,
3217 java/io/BufferedWriter.java,
3218 java/io/ByteArrayOutputStream.java,
3219 java/io/FileFilter.java,
3220 java/io/FilePermission.java,
3221 java/io/FileReader.java,
3222 java/io/FileWriter.java,
3223 java/io/FilenameFilter.java,
3224 java/io/FilterInputStream.java,
3225 java/io/FilterOutputStream.java,
3226 java/io/FilterReader.java,
3227 java/io/FilterWriter.java,
3228 java/io/ObjectInput.java,
3229 java/io/ObjectInputValidation.java,
3230 java/io/ObjectOutput.java,
3231 java/io/ObjectStreamField.java,
3232 java/io/PipedInputStream.java,
3233 java/io/PipedReader.java,
3234 java/io/PrintWriter.java,
3235 java/io/PushbackReader.java,
3236 java/io/Reader.java,
3237 java/io/SerializablePermission.java,
3238 java/io/StringReader.java,
3239 java/io/Writer.java:
3240 Merged from classpath.
3241
3242 2003-03-17 Michael Koch <konqueror@gmx.de>
3243
3244 * java/awt/ScrollPaneAdjustable.java:
3245 Compile fixes.
3246
3247 2003-03-17 Michael Koch <konqueror@gmx.de>
3248
3249 * java/net/DatagramSocket.java
3250 (connect): Fixed comment.
3251 * java/nio/ByteBuffer.java
3252 (hasArray): Fixed comment.
3253
3254 2003-03-17 Michael Koch <konqueror@gmx.de>
3255
3256 * java/beans/Beans.java:
3257 Explicitely import classes not packages.
3258 * java/beans/FeatureDescriptor.java
3259 (preferred): New member variable.
3260 (isPreferred): New method.
3261 (setPreferred): New method.
3262 * java/beans/PropertyEditorManager.java:
3263 Explicitely import used classes.
3264 * java/beans/beancontext/BeanContextChild.java:
3265 Added line wrapping.
3266 * java/beans/beancontext/BeanContextChildSupport.java:
3267 Reindented.
3268 * java/beans/beancontext/BeanContextEvent.java:
3269 Reindented.
3270
3271 2003-03-17 Michael Koch <konqueror@gmx.de>
3272
3273 * java/awt/Dialog.java
3274 (Dialog): New constructor, changed implementations, added
3275 documentation.
3276 * java/awt/ScrollPaneAdjustable.java
3277 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3278 Serializable.
3279 (serialVersionUID): New member variable.
3280 (sp): New member variable.
3281 (orientation): New member variable.
3282 (value): New member variable.
3283 (minimum): New member variable.
3284 (maximum): New member variable.
3285 (visibleAmount): New member variable.
3286 (unitIncrement): New member variable.
3287 (blockIncrement): New member variable.
3288 (AdjustmentListener): New member variable.
3289 (ScrollPaneAdjustable): New implementation.
3290 (addAdjustmentListener): New method.
3291 (removeAdjustmentListener): New method.
3292 (getAdjustmentListeners): New method.
3293 (getBlockIncrement): New method.
3294 (getMaximum): New method.
3295 (getMinimum): New method.
3296 (getOrientation): New method.
3297 (getUnitIncrement): New method.
3298 (getValue): New method.
3299 (getVisibleAmount): New method.
3300 (setBlockIncrement): New method.
3301 (setMaximum): Implemented.
3302 (setMinimum): Implemented.
3303 (setUnitIncrement): New method.
3304 (setValue): New method.
3305 (setVisibleAmount): Implemented.
3306 (paramString): New stubbed method.
3307 * java/awt/Window.java
3308 (show): Call setVisible().
3309 (hide): Call setVisible().
3310 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3311 and WINDOW_STATE_CHANGED.
3312 (processWindowFocusEvent): New method.
3313 (processWindowStateEvent): New method.
3314 (postEvent): Deprecated.
3315 (applyResourceBundle): Deprecated.
3316 * java/awt/datatransfer/DataFlavor.java
3317 (DataFlavor): Doesn't thow ClassNotFoundException.
3318
3319 2003-03-17 Michael Koch
3320
3321 * javax/print/attribute/Attribute.java,
3322 javax/print/attribute/AttributeSet.java,
3323 javax/print/attribute/PrintRequestAttributeSet.java:
3324 New files.
3325 * Makefile.am
3326 (javax_source_files): Added new files:
3327 javax/print/attribute/Attribute.java
3328 javax/print/attribute/AttributeSet.java
3329 javax/print/attribute/PrintRequestAttributeSet.java
3330 * Makefile.in: Regenerated.
3331
3332 2003-03-17 Michael Koch
3333
3334 * javax/print/attribute/Attribute.java,
3335 javax/print/attribute/AttributeSet.java,
3336 javax/print/attribute/PrintRequestAttributeSet.java:
3337 New files.
3338 * Makefile.am
3339 (awt_java_source_files): Added new files:
3340 javax/print/attribute/Attribute.java
3341 javax/print/attribute/AttributeSet.java
3342 javax/print/attribute/PrintRequestAttributeSet.java
3343 * Makefile.in: Regenerated.
3344
3345 2003-03-16 Tom Tromey <tromey@redhat.com>
3346
3347 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3348 Include platform.h.
3349 * java/lang/natRuntime.cc (insertSystemProperties): Use
3350 _Jv_platform_path_separator.
3351 (nativeGetLibname): Use _Jv_platform_file_separator.
3352 (_load): Use _Jv_platform_onload_names.
3353 (onload_names): New global.
3354 * include/win32.h (_Jv_platform_file_separator): New define.
3355 (_Jv_platform_path_separator): Likewise.
3356 (_Jv_platform_onload_names): Likewise.
3357 (_Jv_platform_ffi_abi): Likewise.
3358 * include/posix.h (_Jv_platform_file_separator): New define.
3359 (_Jv_platform_path_separator): Likewise.
3360 (_Jv_platform_onload_names): Likewise.
3361 (_Jv_platform_ffi_abi): Likewise.
3362
3363 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3364
3365 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3366
3367 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3368
3369 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3370 hierarchy loop.
3371 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3372 list to Object,ObjectStreamClass, moved callReadMethod code up into
3373 readObject and added Class argument to all setXxxField calls.
3374 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3375 consistent with ObjectOutputStream and to facilitate caching the
3376 Method in the future.
3377 (setBooleanField): Added Class argument.
3378 (setByteField): Likewise.
3379 (setCharField): Likewise.
3380 (setDoubleField): Likewise.
3381 (setFloatField): Likewise.
3382 (setIntField): Likewise.
3383 (setLongField): Likewise.
3384 (setShortField): Likewise.
3385 (setObjectField): Likewise.
3386 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3387 class hierarchy loop.
3388 (defaultWriteObject): Call writeFields with new argument list.
3389 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3390 list to Object,ObjectStreamClass, moved callWriteMethod up into
3391 writeObject and added Class argument to all getXxxField calls.
3392 (callWriteMethod): Added ObjectStreamClass argument to be able to
3393 get the proper class to call getMethod on (each class can have (or
3394 not have) its own writeObject method).
3395 (getBooleanField): Added Class argument.
3396 (getByteField): Likewise.
3397 (getCharField): Likewise.
3398 (getDoubleField): Likewise.
3399 (getFloatField): Likewise.
3400 (getIntField): Likewise.
3401 (getLongField): Likewise.
3402 (getShortField): Likewise.
3403 (getObjectField): Likewise.
3404 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3405 facilitate caching the Method object in the future.
3406
3407 2003-03-12 Andreas Schwab <schwab@suse.de>
3408
3409 * configure.in: Avoid trailing /. in toolexeclibdir.
3410 * configure: Rebuilt.
3411
3412 2003-03-11 Michael Koch <konqueror@gmx.de>
3413
3414 * gnu/java/nio/ByteBufferImpl.java
3415 (putInt): Use limit() instead of limit.
3416 * gnu/java/nio/CharBufferImpl.java
3417 (slice): Fixed implementation.
3418 (subSequence): Better bounds checking.
3419 * gnu/java/nio/MappedByteFileBuffer.java:
3420 Import all needed classes directly.
3421 * java/nio/ByteBuffer.java
3422 (hashCode): New dummy method.
3423 * java/nio/CharBuffer.java
3424 (array_offset): New member variable.
3425 (hasArray): Fixed documentation.
3426 (arrayOffset): Return array_offset.
3427
3428 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3429
3430 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3431 setter; made return value of getter const char* instead of char*
3432 * prims.cc: removed all references to _Jv_ThisExecutable().
3433 These are in the platform-specific sections now.
3434 * posix.cc: define platform-specific _Jv_ThisExecutable().
3435 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3436 * win32.cc: define platform-specific _Jv_ThisExecutable()
3437 using GetModuleFilename()
3438 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3439 to argv[0] instead of _Jv_ThisExecutable()
3440
3441 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3442
3443 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3444 that is set if we are using addr2name.awk instead of addr2line.
3445 (NameFinder): Set usingAddr2name if using addr2name.awk.
3446 (getExternalLabel): New native method to convert a method
3447 name to an external label.
3448 (lookup): Convert name given by addr2line to an external label
3449 before demangling.
3450
3451 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3452 constant representing the prefix attached to method names to
3453 convert them to an external label.
3454 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3455 using LABEL_PREFIX.
3456
3457 2003-03-10 Tom Tromey <tromey@redhat.com>
3458
3459 * Makefile.in: Rebuilt.
3460 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3461 (JC1FLAGS): Removed -Wno-deprecated.
3462
3463 2003-03-10 Michael Koch <konqueror@gmx.de>
3464
3465 * java/nio/ByteOrder.java
3466 (nativeOrder): Working implementation, added documentation.
3467 (toString): Added documentation.
3468
3469 2003-03-10 Michael Koch <konqueror@gmx.de>
3470
3471 * java/net/DatagramSocket.java,
3472 java/net/MulticastSocket.java,
3473 java/net/Socket.java,
3474 java/net/URL.java,
3475 java/net/URLConnection.java:
3476 Fixed some documentation tags to make javadoc and friends happy.
3477
3478 2003-03-10 Michael Koch <koqnueror@gmx.de>
3479
3480 * java/beans/beancontext/BeanContextServicesSupport.java,
3481 java/beans/beancontext/BeanContextSupport.java: New files.
3482 * Makefile.am
3483 (awt_source_files): Added new files.
3484 * Makefile.in: Regenerated.
3485
3486 2003-03-10 Michael Koch <konqueror@gmx.de>
3487
3488 * java/awt/FocusTraversalPolicy.java
3489 (FocusTraversalPolicy): Documentation added.
3490 (getComponentAfter): Documentation added.
3491 (getComponentBefore): Documentation added.
3492 (getFirstComponent): Documentation added.
3493 (getLastComponent): Documentation added.
3494 (getDefaultComponent): Documentation added.
3495 (getInitialComponent): Documentation added.
3496 * java/awt/ScrollPaneAdjustable.java
3497 (sp): New member variable.
3498 (orientation): New member variable.
3499 (value): New member variable.
3500 (minimum): New member variable.
3501 (maximum): New member variable.
3502 (visibleAmount): New member variable.
3503 (unitIncrement): New member variable.
3504 (blockIncrement): New member variable.
3505 (adjustmentListener): New member variable.
3506 (ScrollPaneAdjustable): Rewrote.
3507 (addAdjustmentListener): New method.
3508 (removeAdjustmentListener): New method.
3509 (getAdjustmentListeners): New method.
3510 (getBlockIncrement): New method.
3511 (getMaximum): New method.
3512 (getMinimum): New method.
3513 (getOrientation): New method.
3514 (getUnitIncrement): New method.
3515 (getValue): New method.
3516 (getVisibleAmount): New method.
3517 (setBlockIncrement): New method.
3518 (setUnitIncrement): New method.
3519 (setMaximum): Implemented.
3520 (setMinimum): Implemented.
3521 (setValue): New method.
3522 (setVisibleAmount): Implemented.
3523 (paramString): New method.
3524 * java/awt/Window.java
3525 (show): Use setVisible(true) instead of super.show().
3526 (hide): Use sevVisible(false) instead of super.hide().
3527 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3528 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3529 (postEvent): Deprecated.
3530 (applyResourceBundle): Deprecated.
3531 (processWindowFocusEvent): New method.
3532 (processWindowStateEvent): New method.
3533 * java/awt/datatransfer/DataFlavor.java: Reindented.
3534 * java/awt/font/TextHitInfo.java
3535 (charIndex): New member variable.
3536 (leadingEdge): New member variable.
3537 (TextHitInfo): New constructor.
3538 (getCharIndex): Implemented.
3539 (isLeadingEdge): Implemented.
3540 (getInsertionIndex): Implemented.
3541 (hashCode): Access charIndex directly.
3542 (equals): Reformated.
3543 (leading): Implemented.
3544 (trailing): Implemented.
3545 (beforeOffset): Implemented.
3546 (afterOffset): Implemented.
3547 (getOtherHit): Implemented.
3548 (getOffsetHit): Implemented.
3549 (toString): Implemented.
3550 * java/awt/image/BufferedImage.java
3551 (BufferedImage): Implements WritableRenderedImage.
3552 (observers): New member variable.
3553 (addTileObserver): New method.
3554 (removeTileObserver): New method.
3555
3556 2003-03-09 Tom Tromey <tromey@redhat.com>
3557
3558 PR libgcj/9934:
3559 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3560 to lseek. Return 0 if we can't compute the value.
3561
3562 2003-03-03 Michael Koch <konqueror@gmx.de>
3563
3564 * java/net/NetworkInterface.java: Merged with classpath.
3565
3566 2003-03-03 Tom Tromey <tromey@redhat.com>
3567
3568 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3569 of bytecode.
3570 (handle_ret_insn): Fail if returning to jsr that appears at end of
3571 bytecode.
3572
3573 2003-03-03 Michael Koch <konqueror@gmx.de>
3574
3575 * Makefile.am
3576 (ordinary_java_source_files):
3577 Added gnu/java/nio/MappedByteFileBuffer.java.
3578 (nat_source_files):
3579 Added gnu/java/nio/natMappedByteFileBuffer.cc.
3580 * Makefile.in: Regenerated.
3581
3582 2003-03-03 Michael Koch <konqueror@gmx.de>
3583
3584 * java/net/DatagramSocket.java
3585 (connect): Merged comment from classpath.
3586 (receive): Merged documentation from classpath.
3587 * java/net/Socket.java
3588 (setSoTimeout): Clarified documentation.
3589 * java/net/URL.java
3590 (getPath): Merged from classpath.
3591 (getUserInfo): Merged from classpath.
3592 (getQuery): Merged from classpath.
3593 * java/net/URLStreamHandler.java
3594 (toExternalForm): Merged from classpath.
3595
3596 2003-03-02 Mark Wielaard <mark@klomp.org>
3597
3598 * java/util/Properties.java (load): Only skip line if the first
3599 character is a comment, whitespaces don't count.
3600
3601 2003-03-02 Michael Koch <konqueror@gmx.de>
3602
3603 * java/net/NetPermission.java:
3604 Merged copyright with classpath.
3605
3606 2003-03-02 Michael Koch <konqueror@gmx.de>
3607
3608 * java/lang/Package.java:
3609 Remerged from classpath.
3610
3611 2003-03-02 Michael Koch <konqueror@gmx.de>
3612
3613 * java/net/HttpURLConnection.java
3614 (HTTP_SERVER_ERROR): Deprecated.
3615 * java/net/MulticastSocket.java
3616 (send): Replaced checkMulticast with appropriate checkPermission call,
3617 deprecated.
3618 * java/net/URLDecoder.java
3619 (decode): Deprecated.
3620 * java/net/URLEncoder.java
3621 (encode): Deprecated.
3622
3623 2003-03-02 Michael Koch <konqueror@gmx.de>
3624
3625 * javax/swing/text/Caret.java
3626 (getMagicCaretPosition): Fixed typo in method name.
3627 * javax/swing/text/DefaultCaret.java
3628 (getMagicCaretPosition): Fixed typo in method name.
3629
3630 2003-03-02 Michael Koch <konqueror@gmx.de>
3631
3632 * java/awt/List.java
3633 (setMultipleSelections): Deprecated.
3634 (delItem): Deprecated.
3635 * java/awt/MenuComponent.java
3636 (getPeer): Deprecated.
3637 * java/awt/ScrollPane.java
3638 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3639 * java/awt/dnd/MouseDragGestureRecognizer.java
3640 (mouseClicked): Added comment.
3641 (mousePressed): Added comment.
3642 (mouseReleased): Added comment.
3643 (mouseEntered): Added comment.
3644 (mouseExited): Added comment.
3645 (mouseDragged): Added comment.
3646 (mouseMoved): Added comment.
3647 * java/awt/event/KeyEvent.java
3648 (KeyEvent): Deprecated.
3649 (setModifiers): Deprecated.
3650
3651 2003-03-02 Michael Koch <konqueror@gmx.de>
3652
3653 * gnu/java/nio/FileChannelImpl.java
3654 (fd): Type FileDescriptor instead of int.
3655 (lengthInternal): Removed.
3656 (FileChannelImpl): Fixed arguments, check type of file object.
3657 (size): Made it native.
3658 (implPosition): New native method.
3659 (implTruncate): New native method.
3660 (position): Implemented.
3661 (truncate): Implemented.
3662 (nio_mmap_file): Changed arguments.
3663 (nio_munmap_file): Changed arguments.
3664 (nio_msync): Changed arguments.
3665 * gnu/java/nio/natFileChannelImpl.cc
3666 (lengthInternal): Removed.
3667 (size): New method.
3668 (implPosition): New method.
3669 (implTruncate): New method.
3670 (nio_mmap_file): Changed arguments.
3671 (nio_munmap_file): Changed arguments.
3672 (nio_msync): Changed arguments.
3673
3674 2003-03-02 Michael Koch <konqueror@gmx.de>
3675
3676 * java/awt/dnd/DropTargetContext.java:
3677 Compile fix: Forgot to commit import.
3678
3679 2003-03-02 Michael Koch <konqueror@gmx.de>
3680
3681 * java/awt/Component.java,
3682 java/awt/ScrollPane.java:
3683 Fixed typos.
3684
3685 2003-03-02 Michael Koch <konqueror@gmx.de>
3686
3687 * java/awt/dnd/DnDEventMulticaster.java: New file.
3688 * java/awt/dnd/DragSource.java
3689 (flavorMap): New member variable.
3690 (dragSourceListener): New member variable.
3691 (dragSourceMotionListener): New member variable.
3692 (getFlavorMap): Implemented.
3693 (createDragGestureRecognizer): Implemented.
3694 (addDragSourceListener): Implemented.
3695 (removeDragSourceListener): Implemented.
3696 (getDragSourceListeners): Implemented.
3697 (addDragSourceMotionListener): Implemented.
3698 (removeDragSourceMotionListener): Implemented.
3699 (getDragSourceMotionListeners): Implemented.
3700 (getListeners): Implemented.
3701 * java/awt/dnd/DragSourceContext.java
3702 (peer): New member variable.
3703 (cursor): New member variable.
3704 (transferable): New member variable.
3705 (trigger): New member variable.
3706 (dragSourceListener): New member variable.
3707 (image): New member variable.
3708 (offset): New member variable.
3709 (DragSourceContext): Implemented.
3710 (getDragSource): Implemented.
3711 (getComponent): Implemented.
3712 (getTrigger): Implemented.
3713 (getSourceActions): Implemented.
3714 (setCursor): Implemented.
3715 (getCursor): Implemented.
3716 (addDragSourceListener): Implemented.
3717 (removeDragSourceListener): Implemented.
3718 (getTransferable): Implemented.
3719 * java/awt/dnd/DropTarget.java
3720 (DropTargetAutoScroller.component): New member variable.
3721 (DropTargetAutoScroller.point): New member variable.
3722 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3723 (DropTargetAutoScroller.updateLocation): Implemented.
3724 (active): Renamed from isActive, defaults to true now.
3725 (component): New member variable.
3726 (flavorMap): New member variable.
3727 (actions): New member variable.
3728 (dropTargetContext): New member variable.
3729 (dropTargetListener): New member variable.
3730 (DropTarget): Implemented.
3731 (getComponent): Implemented.
3732 (setComponent): Implemented.
3733 (setDefaultActions): Implemented.
3734 (getDefaultActions): Implemented.
3735 (setActive): Use active instead of isActive.
3736 (isActive): Use active instead of isActive.
3737 (addDropTargetListener): Implemented.
3738 (removeDropTargetListener): Implemented.
3739 (getFlavorMap): Implemented.
3740 (setFlavorMap): Implemented.
3741 (getDropTargetContext): Implemented.
3742 (createDropTargetContext): Implemented.
3743 (createDropTargetAutoScroller): Implemented.
3744 * java/awt/dnd/DropTargetContext.java
3745 (TransferableProxy.getTransferDataFlavors): Implemented.
3746 (TransferableProxy.isDataFlavorSupported): Implemented.
3747 (TransferableProxy.getTransferData): Implemented.
3748 (dropTarget): New member variable.
3749 (dtcp): New member variable.
3750 (DropTargetContext): New package private constructor.
3751 (getDropTarget): Implemented.
3752 (getComponent): Implemented.
3753 (addNotify): Implemented.
3754 (removeNotify): Implemented.
3755 (getCurrentDataFlavorsAsList): Implemented.
3756 (isDataFlavorSupported): Implemented.
3757 * java/awt/dnd/MouseDragGestureRecognizer.java
3758 (registerListeners): Implemented.
3759 (unregisterListeners): Implemented.
3760 * Makefile.am
3761 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3762 * Makefile.in: Regenerated.
3763
3764 2003-03-02 Michael Koch <konqueror@gmx.de>
3765
3766 * java/awt/Component.java
3767 (eventTypeEnabled): New method.
3768 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3769 * java/awt/Container.java
3770 (changeSupport): New member variable.
3771 (addPropertyChangeListener): New methods.
3772 * java/awt/ContainerOrderFocusTraversalPolicy.java
3773 (ContainerOrderFocusTraversalPolicy): Added comment.
3774 (getComponentAfter): Throw exception, documentation added.
3775 (getComponentBefore): Throw exception, documentation added.
3776 (getFirstComponent): Throw exception, documentation added.
3777 (getLastComponent): Throw exception, documentation added.
3778 (getDefaultComponent): Throw exception, documentation added.
3779 * java/awt/EventQueue.java: Reindented.
3780 * java/awt/FocusTraversalPolicy.java:
3781 (FocusTraversalPolicy): Added comment.
3782 (getComponentAfter): Documentation added.
3783 (getComponentBefore): Documentation added.
3784 (getFirstComponent): Documentation added.
3785 (getLastComponent): Documentation added.
3786 (getDefaultComponent): Documentation added.
3787 (getInitialComponent): Documentation added.
3788 * java/awt/ScrollPane.java
3789 (wheelScrollingEnabled): New member variable.
3790 (ScrollPane): Initialize wheelScollingEnabled.
3791 (eventTypeEnabled): New method.
3792 (isWheelScrollingEnabled): New method.
3793 (setWheelScrollingEnabled): New method.
3794
3795 2003-03-02 Michael Koch <konqueror@gmx.de>
3796
3797 * java/net/DatagramSocket.java
3798 (closed): New member variable.
3799 (close): Use closed variable.
3800 (getInetAddress): No need to call isConnected().
3801 (getPort): No need to call isConnected().
3802 (disconnect): Reset remoteAddress and remotePort, fixed typo.
3803 (isClosed): Reimplemented.
3804
3805 2003-03-02 Michael Koch <konqueror@gmx.de>
3806
3807 * configure.in: Added check for memory mapping of files.
3808 * configure: Regenerated.
3809 * config.h.in: Regenerated.
3810
3811 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
3812
3813 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3814 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3815
3816 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3817
3818 * java/io/File.java (normalizePath): Remove trailing separator
3819 on Windows only if path is not of the form "x:\".
3820
3821 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3822 (java::io::File::attr): Change formatting a bit and use
3823 WIN32_EPOCH_MILLIS instead of magic numbers.
3824 (java::io::File::isAbsolute): Path must have at least 3
3825 characters for a UNC network path.
3826 (java::io::File::init_native): Define.
3827 (java::io::File::performCreate): Likewise.
3828 (java::io::File::performSetReadOnly): Likewise.
3829 (java::io::File::performSetLastModified): Likewise.
3830 (java::io::File::performListRoots): Likewise.
3831
3832 2003-03-01 Tom Tromey <tromey@redhat.com>
3833
3834 * java/lang/natObject.cc: Don't include assert.h.
3835 (heavy_lock_obj_finalization_proc): Use JvAssert.
3836 (remove_all_heavy): Likewise.
3837 (_Jv_MonitorEnter): Likewise.
3838 (_Jv_MonitorExit): Likewise.
3839 (wait): Likewise.
3840
3841 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3842
3843 * java/io/File (getAbsolutePath): Prefix drive specifier on
3844 Windows for paths starting with a '\'.
3845 (toURL): Make URL more consistent with what Sun's JDK returns.
3846
3847 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3848 true only if the path is a UNC network path or it starts with a
3849 drive specifier.
3850
3851 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3852 Be prepared to handle either '/' or '\\' in the file path for
3853 Windows if using the "file" protocol.
3854 Canonicalise the file path if using a relative path in the given
3855 context and the "file" protocol.
3856
3857 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
3858
3859 * java/lang/natWin32Process.cc (startProcess): Double-quote each
3860 program array element passed to CreateProcess.
3861
3862 2003-03-01 Tom Tromey <tromey@redhat.com>
3863
3864 * java/rmi/registry/RegistryHandler.java: Deprecate.
3865
3866 2003-03-01 Tom Tromey <tromey@redhat.com>
3867
3868 * javax/accessibility/AccessibleEditableText.java,
3869 javax/accessibility/AccessibleHyperlink.java: New versions from
3870 Classpath.
3871
3872 * gnu/java/locale/LocaleInformation_af_ZA.java,
3873 gnu/java/locale/LocaleInformation_ar_AE.java,
3874 gnu/java/locale/LocaleInformation_ar_BH.java,
3875 gnu/java/locale/LocaleInformation_ar_DZ.java,
3876 gnu/java/locale/LocaleInformation_ar_EG.java,
3877 gnu/java/locale/LocaleInformation_ar_IN.java,
3878 gnu/java/locale/LocaleInformation_ar_IQ.java,
3879 gnu/java/locale/LocaleInformation_ar_JO.java,
3880 gnu/java/locale/LocaleInformation_ar_KW.java,
3881 gnu/java/locale/LocaleInformation_ar_LB.java,
3882 gnu/java/locale/LocaleInformation_ar_LY.java,
3883 gnu/java/locale/LocaleInformation_ar_MA.java,
3884 gnu/java/locale/LocaleInformation_ar_OM.java,
3885 gnu/java/locale/LocaleInformation_ar_QA.java,
3886 gnu/java/locale/LocaleInformation_ar_SD.java,
3887 gnu/java/locale/LocaleInformation_ar_SY.java,
3888 gnu/java/locale/LocaleInformation_ar_TN.java,
3889 gnu/java/locale/LocaleInformation_ar_YE.java,
3890 gnu/java/locale/LocaleInformation_be_BY.java,
3891 gnu/java/locale/LocaleInformation_bn_IN.java,
3892 gnu/java/locale/LocaleInformation_br_FR.java,
3893 gnu/java/locale/LocaleInformation_bs_BA.java,
3894 gnu/java/locale/LocaleInformation_ca_ES.java,
3895 gnu/java/locale/LocaleInformation_cs_CZ.java,
3896 gnu/java/locale/LocaleInformation_cy_GB.java,
3897 gnu/java/locale/LocaleInformation_da_DK.java,
3898 gnu/java/locale/LocaleInformation_de_AT.java,
3899 gnu/java/locale/LocaleInformation_de_BE.java,
3900 gnu/java/locale/LocaleInformation_de_CH.java,
3901 gnu/java/locale/LocaleInformation_de_DE.java,
3902 gnu/java/locale/LocaleInformation_de_LU.java,
3903 gnu/java/locale/LocaleInformation_el_GR.java,
3904 gnu/java/locale/LocaleInformation_en_AU.java,
3905 gnu/java/locale/LocaleInformation_en_BW.java,
3906 gnu/java/locale/LocaleInformation_en_CA.java,
3907 gnu/java/locale/LocaleInformation_en_DK.java,
3908 gnu/java/locale/LocaleInformation_en_GB.java,
3909 gnu/java/locale/LocaleInformation_en_HK.java,
3910 gnu/java/locale/LocaleInformation_en_IE.java,
3911 gnu/java/locale/LocaleInformation_en_IN.java,
3912 gnu/java/locale/LocaleInformation_en_NZ.java,
3913 gnu/java/locale/LocaleInformation_en_PH.java,
3914 gnu/java/locale/LocaleInformation_en_SG.java,
3915 gnu/java/locale/LocaleInformation_en_US.java,
3916 gnu/java/locale/LocaleInformation_en_ZA.java,
3917 gnu/java/locale/LocaleInformation_en_ZW.java,
3918 gnu/java/locale/LocaleInformation_es_AR.java,
3919 gnu/java/locale/LocaleInformation_es_BO.java,
3920 gnu/java/locale/LocaleInformation_es_CL.java,
3921 gnu/java/locale/LocaleInformation_es_CO.java,
3922 gnu/java/locale/LocaleInformation_es_CR.java,
3923 gnu/java/locale/LocaleInformation_es_DO.java,
3924 gnu/java/locale/LocaleInformation_es_EC.java,
3925 gnu/java/locale/LocaleInformation_es_ES.java,
3926 gnu/java/locale/LocaleInformation_es_GT.java,
3927 gnu/java/locale/LocaleInformation_es_HN.java,
3928 gnu/java/locale/LocaleInformation_es_MX.java,
3929 gnu/java/locale/LocaleInformation_es_NI.java,
3930 gnu/java/locale/LocaleInformation_es_PA.java,
3931 gnu/java/locale/LocaleInformation_es_PE.java,
3932 gnu/java/locale/LocaleInformation_es_PR.java,
3933 gnu/java/locale/LocaleInformation_es_PY.java,
3934 gnu/java/locale/LocaleInformation_es_SV.java,
3935 gnu/java/locale/LocaleInformation_es_US.java,
3936 gnu/java/locale/LocaleInformation_es_UY.java,
3937 gnu/java/locale/LocaleInformation_es_VE.java,
3938 gnu/java/locale/LocaleInformation_et_EE.java,
3939 gnu/java/locale/LocaleInformation_eu_ES.java,
3940 gnu/java/locale/LocaleInformation_fa_IR.java,
3941 gnu/java/locale/LocaleInformation_fi_FI.java,
3942 gnu/java/locale/LocaleInformation_fo_FO.java,
3943 gnu/java/locale/LocaleInformation_fr_BE.java,
3944 gnu/java/locale/LocaleInformation_fr_CA.java,
3945 gnu/java/locale/LocaleInformation_fr_CH.java,
3946 gnu/java/locale/LocaleInformation_fr_FR.java,
3947 gnu/java/locale/LocaleInformation_fr_LU.java,
3948 gnu/java/locale/LocaleInformation_ga_IE.java,
3949 gnu/java/locale/LocaleInformation_gd_GB.java,
3950 gnu/java/locale/LocaleInformation_gl_ES.java,
3951 gnu/java/locale/LocaleInformation_gv_GB.java,
3952 gnu/java/locale/LocaleInformation_he_IL.java,
3953 gnu/java/locale/LocaleInformation_hi_IN.java,
3954 gnu/java/locale/LocaleInformation_hr_HR.java,
3955 gnu/java/locale/LocaleInformation_hu_HU.java,
3956 gnu/java/locale/LocaleInformation_id_ID.java,
3957 gnu/java/locale/LocaleInformation_it_CH.java,
3958 gnu/java/locale/LocaleInformation_it_IT.java,
3959 gnu/java/locale/LocaleInformation_iw_IL.java,
3960 gnu/java/locale/LocaleInformation_ja_JP.java,
3961 gnu/java/locale/LocaleInformation_ka_GE.java,
3962 gnu/java/locale/LocaleInformation_kl_GL.java,
3963 gnu/java/locale/LocaleInformation_ko_KR.java,
3964 gnu/java/locale/LocaleInformation_kw_GB.java,
3965 gnu/java/locale/LocaleInformation_lt_LT.java,
3966 gnu/java/locale/LocaleInformation_lv_LV.java,
3967 gnu/java/locale/LocaleInformation_mi_NZ.java,
3968 gnu/java/locale/LocaleInformation_mk_MK.java,
3969 gnu/java/locale/LocaleInformation_mr_IN.java,
3970 gnu/java/locale/LocaleInformation_mt_MT.java,
3971 gnu/java/locale/LocaleInformation_nl_BE.java,
3972 gnu/java/locale/LocaleInformation_nl_NL.java,
3973 gnu/java/locale/LocaleInformation_nn_NO.java,
3974 gnu/java/locale/LocaleInformation_no_NO.java,
3975 gnu/java/locale/LocaleInformation_oc_FR.java,
3976 gnu/java/locale/LocaleInformation_pl_PL.java,
3977 gnu/java/locale/LocaleInformation_pt_BR.java,
3978 gnu/java/locale/LocaleInformation_pt_PT.java,
3979 gnu/java/locale/LocaleInformation_ro_RO.java,
3980 gnu/java/locale/LocaleInformation_ru_RU.java,
3981 gnu/java/locale/LocaleInformation_ru_UA.java,
3982 gnu/java/locale/LocaleInformation_se_NO.java,
3983 gnu/java/locale/LocaleInformation_sk_SK.java,
3984 gnu/java/locale/LocaleInformation_sl_SI.java,
3985 gnu/java/locale/LocaleInformation_sq_AL.java,
3986 gnu/java/locale/LocaleInformation_sr_YU.java,
3987 gnu/java/locale/LocaleInformation_sv_FI.java,
3988 gnu/java/locale/LocaleInformation_sv_SE.java,
3989 gnu/java/locale/LocaleInformation_ta_IN.java,
3990 gnu/java/locale/LocaleInformation_te_IN.java,
3991 gnu/java/locale/LocaleInformation_tg_TJ.java,
3992 gnu/java/locale/LocaleInformation_tl_PH.java,
3993 gnu/java/locale/LocaleInformation_tr_TR.java,
3994 gnu/java/locale/LocaleInformation_uk_UA.java,
3995 gnu/java/locale/LocaleInformation_ur_PK.java,
3996 gnu/java/locale/LocaleInformation_uz_UZ.java,
3997 gnu/java/locale/LocaleInformation_vi_VN.java,
3998 gnu/java/locale/LocaleInformation_yi_US.java,
3999 gnu/java/locale/LocaleInformation_zh_CN.java,
4000 gnu/java/locale/LocaleInformation_zh_HK.java,
4001 gnu/java/locale/LocaleInformation_zh_SG.java,
4002 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4003 info; from Classpath.
4004
4005 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4006 isPaintPending): New methods.
4007 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4008 setMaximizedBounds): New methods.
4009 (beginLayout, endLayout, isPaintPending): Likewise.
4010 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4011 (requestFocus): Likewise.
4012 (isObscured): Likewise.
4013 (canDetermineObscurity): Likewise.
4014 (coalescePaintEvent): Likewise.
4015 (updateCursorImmediately): Likewise.
4016 (createVolatileImage): Likewise.
4017 (handlesWheelScrolling): Likewise.
4018 (createBuffers): Likewise.
4019 (getBackBuffer): Likewise.
4020 (flip): Likewise.
4021 (destroyBuffers): Likewise.
4022
4023 * Makefile.in: Rebuilt.
4024 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4025 RobotPeer.java.
4026 * gnu/java/awt/GLightweightPeer.java,
4027 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4028 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4029 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4030 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4031 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4032 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4033 java/awt/dnd/peer/DragSourceContextPeer.java,
4034 java/awt/dnd/peer/DropTargetContextPeer.java,
4035 java/awt/peer/ButtonPeer.java,
4036 java/awt/peer/CheckboxMenuItemPeer.java,
4037 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4038 java/awt/peer/ComponentPeer.java,
4039 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4040 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4041 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4042 java/awt/peer/MenuBarPeer.java,
4043 java/awt/peer/MenuComponentPeer.java,
4044 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4045 java/awt/peer/PopupMenuPeer.java,
4046 java/awt/peer/ScrollPanePeer.java,
4047 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4048 java/awt/peer/TextComponentPeer.java,
4049 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4050 New versions from Classpath.
4051 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4052 * java/awt/peer/RobotPeer.java: Likewise.
4053
4054 2003-03-01 Mark Wielaard <mark@klomp.org>
4055
4056 * java/io/ObjectInputStream.java: Reindent.
4057 * java/io/ObjectOutputStream.java: Likewise.
4058
4059 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4060
4061 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4062 jvalue for each argument. Simplify.
4063 * testsuite/libjava.jni/calls.c (docall),
4064 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4065 misalignment.
4066
4067 2003-02-28 Mark Wielaard <mark@klomp.org>
4068
4069 * Makefile.am (nat_source_files): Remove
4070 java/io/natObjectOutputStream.cc.
4071 * Makefile.in: Regenerated.
4072 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4073 * java/io/ObjectStreamField.java (typename): New field.
4074 (ObjectStreamField(String, Class)): Initialize new field.
4075 (ObjectStreamField(String, String)): New Constructor.
4076 (getTypeCode): Use new field.
4077 (getTypeString): Use new field.
4078 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4079 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4080 Handle reading of Proxy classes. Never drain(), just write
4081 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4082 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4083 (flush): Call flush(), not just drain().
4084 (writeBoolean): Always use blockDataOutput.
4085 (writeByte): Likewise.
4086 (writeShort): Likewise.
4087 (writeChar): Likewise.
4088 (writeInt): Likewise.
4089 (writeLong): Likewise.
4090 (writeFloat): Likewise.
4091 (writeDouble): Likewise.
4092 (writeBytes): Likewise.
4093 (putfield (put(String,Object))): Throw IllegalArgumentException if
4094 field cannot be found.
4095 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4096 (writeArraySizeAndElements): Write byte[] in one go.
4097 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4098 set BlockDataMode to false.
4099 (annotateProxyClass): New method.
4100 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4101 (getField): No longer native.
4102 (getMethod): Likewise.
4103 (setBlockDataMode): Always drain() on switch, return old mode.
4104 (static): New static code block.
4105 * java/io/natObjectOutputStream.cc: Removed.
4106 * java/io/ObjectInputStream.java (getField): No longer native.
4107 (getMethod): Likewise.
4108 (readObject): Remember and reset old BlockDataMode. Track whether
4109 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4110 TC_LONGSTRING.
4111 (defaultReadObject): Set BlockDataMode to false during readFields.
4112 (resolveClass): Create new SecurityManager if necessary.
4113 Use Class.forName() if null ClassLoader found.
4114 (read(byte[],int,int): Copy remaining bytes to data before calling
4115 readNextBlock().
4116 (readFields): Set and reset BlockDataMode on call_read_method.
4117 Catch NoSuchFieldErrors.
4118 (setBlockDataMode): Return old mode.
4119 (static): New static code block.
4120 * java/io/natObjectInputStream.cc (getField): Removed.
4121 (getMethod): Likewise.
4122
4123 2003-02-27 Michael Koch <konqueror@gmx.de>
4124
4125 * java/beans/Beans.java,
4126 java/beans/FeatureDescriptor.java
4127 java/beans/PropertyEditorManager.java:
4128 Reformated to GNU style.
4129
4130 2003-02-25 Michael Koch <konqueror@gmx.de>
4131
4132 * gnu/java/nio/MappedByteFileBuffer.java,
4133 gnu/java/nio/natMappedByteFileBuffer.cc:
4134 New files, both are not compiled yet to get not noncompiling CVS.
4135
4136 2003-02-24 Tom Tromey <tromey@redhat.com>
4137
4138 * java/util/prefs/AbstractPreferences.java (isUserNode):
4139 Implemented.
4140
4141 2003-02-24 Tom Tromey <tromey@redhat.com>
4142
4143 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4144 Deprecate.
4145 * java/lang/Thread.java (resume): Deprecate.
4146 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4147 in @deprecated.
4148
4149 2003-02-23 Tom Tromey <tromey@redhat.com>
4150
4151 * Makefile.in: Rebuilt.
4152 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4153
4154 2003-02-23 Tom Tromey <tromey@redhat.com>
4155
4156 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4157 libraries): Removed.
4158 (add_library): Removed.
4159 (_load): Don't call add_library.
4160 (loadLibraryInternal): Likewise.
4161 (init): Likewise.
4162 (lookup_data): New struct.
4163 (find_symbol): New function.
4164 (_Jv_FindSymbolInExecutable): Use it.
4165
4166 2002-02-21 Anthony Green <green@redhat.com>
4167
4168 * java/lang/Thread.java (Thread): New constructor taking stack
4169 size parameter (ignored for now).
4170 * Many methods: Merged GNU Classpath documentation.
4171
4172 * java/lang/Class.java (finalize): throws a Throwable.
4173
4174 2003-02-21 Mark Wielaard <mark@klomp.org>
4175
4176 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4177 argument is null.
4178
4179 2003-02-21 Mark Wielaard <mark@klomp.org>
4180
4181 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4182 then 65535 chars throw IllegalArgumentException.
4183
4184 2003-02-21 Mark Wielaard <mark@klomp.org>
4185
4186 * java/util/zip/ZipFile.java (finalize): New method.
4187
4188 2003-02-21 Michael Koch <konqueror@gmx.de>
4189
4190 * gnu/java/nio/natSocketChannelImpl.cc:
4191 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4192 <cato@df.lth.se> for pointing to it.
4193
4194 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4195
4196 * java/math/BigInteger.java (euclidInv): Take result array as an
4197 argument. Updated all callers.
4198 (modInverse): Removed unused variables.
4199
4200 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4201
4202 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4203 config.status.
4204 * configure: Rebuilt.
4205
4206 2003-02-19 Michael Koch <konqueror@gmx.de>
4207
4208 * gnu/java/nio/natSocketChannelImpl.cc:
4209 Added support for platforms without network support.
4210
4211 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4212
4213 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4214 after config.h. Use <> for consistency.
4215 * java/lang/natObject.cc: Likewise.
4216 * java/lang/natRuntime.cc: Likewise.
4217 * java/lang/natSystem.cc: Likewise.
4218 * java/util/natTimeZone.cc: Likewise.
4219 * win32.cc: Likewise.
4220 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4221 listen, write, read): Undef to avoid interference from OS macros.
4222
4223 2003-02-19 Michael Koch <konqueror@gmx.de>
4224
4225 * gnu/java/nio/ByteBufferImpl.java
4226 (ByteBufferImpl): Renamed two variables.
4227 * gnu/java/nio/CharBufferImpl.java
4228 (CharBufferImpl): Renamed two variables.
4229 * gnu/java/nio/DoubleBufferImpl.java
4230 (DoubleBufferImpl): Renamed two variables.
4231 * gnu/java/nio/FloatBufferImpl.java
4232 (FloatBufferImpl): Renamed two variables.
4233 * gnu/java/nio/IntBufferImpl.java
4234 (IntBufferImpl): Renamed two variables.
4235 * gnu/java/nio/LongBufferImpl.java
4236 (LongBufferImpl): Renamed two variables.
4237 * gnu/java/nio/ShortBufferImpl.java
4238 (ShortBufferImpl): Renamed two variables.
4239 * java/nio/CharBuffer.java
4240 (wrap): Fixed arguments to CharBufferImpl constructor.
4241 (hasArray): Only not read-only buffers have backing arrays.
4242 (length): Documentation added.
4243 (subSequence): Documentation added.
4244 * java/nio/DoubleBuffer.java
4245 (hasArray): Only not read-only buffers have backing arrays.
4246 * java/nio/FloatBuffer.java
4247 (hasArray): Only not read-only buffers have backing arrays.
4248 * java/nio/IntBuffer.java
4249 (hasArray): Only not read-only buffers have backing arrays.
4250 * java/nio/LongBuffer.java
4251 (hasArray): Only not read-only buffers have backing arrays.
4252 * java/nio/ShortBuffer.java
4253 (hasArray): Only not read-only buffers have backing arrays.
4254
4255 2003-02-19 Michael Koch <konqueror@gmx.de>
4256
4257 * javax/accessibility/AccessibleContext.java
4258 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4259
4260 2003-02-19 Michael Koch <konqueror@gmx.de>
4261
4262 * java/awt/ScrollPaneAdjustable.java: Reformated.
4263
4264 2003-02-19 Michael Koch <konqueror@gmx.de>
4265
4266 * gnu/awt/j2d/Graphics2DImpl.java
4267 (getFontRenderContext): New method.
4268 (drawGlyphVector): New method.
4269 * java/awt/Graphics2D.java
4270 (getFontRenderContext): New abstract method.
4271 (drawGlyphVector): New abstract method.
4272
4273 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4274
4275 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4276 if necessary.
4277
4278 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4279 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4280 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4281 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4282 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4283 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4284 (setFont, gtkSetFont): add.
4285 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4286 Propagate font to peer. (setFont): add FIXME comment.
4287
4288 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4289 (gtkTextGetSize): fix height, width computation.
4290
4291 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4292 Make X font name a bit less bogus.
4293
4294 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4295 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4296
4297 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4298 (processAdjustmentEvent): Adjust value.
4299
4300 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4301 logic errors.
4302
4303 * java/awt/Component.java (setVisible, show, hide): Call show and
4304 hide methods in subclasses.
4305 (getPreferredSize): don't set prefSize before we have peer.
4306
4307 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4308 Guess (0,0) if we don't have peer.
4309
4310
4311 2003-02-18 Michael Koch <konqueror@gmx.de>
4312
4313 * java/nio/channels/FileChannel.java
4314 (toString): New implementation, added documentation.
4315 (map): Added exception documentation.
4316 (size): Added exception documentation.
4317 (write): New methods, documentation work.
4318 (read): New methods, documentation work.
4319 (implCloseChannel): Rewrote exception documentation.
4320 (force): Throws IOException, added documentation.
4321 (lock): New methods.
4322 (tryLock): New methods.
4323 (position): New methods.
4324 (transferTo): New method.
4325 (transferFrom): New method.
4326 (truncate): New method.
4327 * java/nio/channels/spi/SelectorProvider.java
4328 (provider): Implemented.
4329 * Makefile.am
4330 (ordinary_java_source_files): Added the following files:
4331 gnu/java/nio/DatagramChannelImpl.java
4332 gnu/java/nio/FileChannelImpl.java
4333 gnu/java/nio/PipeImpl.java
4334 gnu/java/nio/SelectionKeyImpl.java
4335 gnu/java/nio/SelectorImpl.java
4336 gnu/java/nio/SelectorProviderImpl.java
4337 gnu/java/nio/ServerSocketChannelImpl.java
4338 gnu/java/nio/SocketChannelImpl.java
4339 java/nio/channels/FileLock.java
4340 (nat_java_source_files): Added the following files:
4341 gnu/java/nio/natFileChannelImpl.cc
4342 gnu/java/nio/natSelectorImpl.cc
4343 gnu/java/nio/natSocketChannelImpl.cc
4344 * Makefile.in: Regenerated.
4345
4346 2003-02-17 Tom Tromey <tromey@redhat.com>
4347
4348 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4349 * java/awt/image/ImageFilter.java: Likewise.
4350
4351 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4352
4353 * java/math/BigInteger.java (euclidInv): Return array of
4354 `BigInteger's. Changed all callers.
4355
4356 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4357
4358 * java/util/Properties.java (store): Move the code formerly in
4359 list(), into this method.
4360 (list (PrintStream)): Just call list (PrintWriter) with a
4361 PrintWriter object constructed from the given PrintStream object.
4362 (list (PrintWriter)): Emulate the output of Properties.list()
4363 as found in JDK 1.3/1.4.
4364
4365 2003-02-17 Michael Koch <konqueror@gmx.de>
4366
4367 * java/net/DatagramSocket.java
4368 (connect): Merged with classpath.
4369 (disconnect): Merged documentation with classpath.
4370 (receice): Merged documentation with classpath.
4371 (send): Merged documentation with classpath.
4372
4373 2003-02-17 Michael Koch <konqueror@gmx.de>
4374
4375 * java/awt/dnd/DragSourceContext.java
4376 (addDragSourceListener): Added documentation.
4377 * java/awt/dnd/DragSourceDragEvent.java
4378 (serialVersionUID): New member variable.
4379 (getDropAction): Reformated.
4380 * java/awt/dnd/DragSourceDropEvent.java
4381 (serialVersionUID): New member variable.
4382 (dropSuccess): Renamed from success for serialization issues.
4383 * java/awt/dnd/DragSourceEvent.java
4384 (serialVersionUID): New member variable.
4385 * java/awt/dnd/DropTarget.java
4386 (serialVersionUID): New member variable.
4387 (DropTarget): Implemented, documentation reworked.
4388 (setComponent): Documentation added.
4389 (getComponent): Documentation added.
4390 (setDefaultActions): Documentation added.
4391 (getDefaultActions): Documentation added.
4392 (addDropTargetListener): Documentation added.
4393 * java/awt/dnd/DropTargetContext.java
4394 (DropTargetContext): Documentation added.
4395 (TransferableProxy.TransferableProxy): New method.
4396 (dropComplete): Fixed documentation.
4397 (getTransferable): Fixed documentation.
4398 (createTransferableProxy): Implemented.
4399 * java/awt/dnd/DropTargetDragEvent.java
4400 (DropTargetDragEvent): Documentation added.
4401 (serialVersionUID): New member variable.
4402 (DropTargetDragEvent): Throw exceptions, documentation added.
4403 (acceptDrag): Implemented.
4404 (getCurrentDataFlavors): Implemented.3yy
4405 (getCurrentDataFlavorsAsList): Implemented.
4406 (isDataFlavorSupported): Implemented.
4407 (rejectDrag): Implemented.
4408 * java/awt/dnd/DropTargetDropEvent.java
4409 (DropTargetDropEvent): Documentation added.
4410 (serialVersionUID): New member variable.
4411 (actions): Renamed from srcActions for serialization issues.
4412 (isLocalTx): Renamed from isLocalTx for serialization issues.
4413 (DropTargetDropEvent): New implementation, throw exceptions,
4414 documentation added.
4415 (getCurrentDataFlavors): Implemented.
4416 (getCurrentDataFlavorsAsList): Implemented.
4417 (isDataFlavorSupported): Implemented.
4418 (getSourceActions): Implemented.
4419 (getDropAction): Implemented.
4420 (getTransferable): Implemented.
4421 (acceptDrop): Implemented.
4422 (rejectDrop): Implemented.
4423 * java/awt/dnd/DropTargetListener.java
4424 (drop): Fixed documentation.
4425 * java/awt/dnd/MouseDragGestureRecognizer.java
4426 (MouseDragGestureRecognizer): Documentation added.
4427
4428 2003-02-17 Michael Koch <konqueror@gmx.de>
4429
4430 * java/awt/font/FontRenderContext.java,
4431 java/awt/font/ShapeGraphicAttribute.java,
4432 java/awt/font/MultipleMaster.java,
4433 java/awt/font/TransformAttribute.java,
4434 java/awt/font/GlyphJustificationInfo.java,
4435 java/awt/font/LineBreakMeasurer.java,
4436 java/awt/font/TextMeasurer.java,
4437 java/awt/font/TextLayout.java,
4438 java/awt/font/LineMetrics.java,
4439 java/awt/font/TextAttribute.java,
4440 java/awt/font/GlyphMetrics.java,
4441 java/awt/font/OpenType.java,
4442 java/awt/font/GlyphVector.java,
4443 java/awt/font/GraphicAttribute.java,
4444 java/awt/font/ImageGraphicAttribute.java,
4445 java/awt/font/NumericShaper.java: New files.
4446 * Makefile.am
4447 (awt_java_source_files): Added the following files:
4448 java/awt/font/FontRenderContext.java
4449 java/awt/font/ShapeGraphicAttribute.java
4450 java/awt/font/MultipleMaster.java
4451 java/awt/font/TransformAttribute.java
4452 java/awt/font/GlyphJustificationInfo.java
4453 java/awt/font/LineBreakMeasurer.java
4454 java/awt/font/TextMeasurer.java
4455 java/awt/font/TextLayout.java
4456 java/awt/font/LineMetrics.java
4457 java/awt/font/TextAttribute.java
4458 java/awt/font/GlyphMetrics.java
4459 java/awt/font/OpenType.java
4460 java/awt/font/GlyphVector.java
4461 java/awt/font/GraphicAttribute.java
4462 java/awt/font/ImageGraphicAttribute.java
4463 java/awt/font/NumericShaper.java
4464 * Makefile.in: Regenerated.
4465
4466 2003-02-17 Michael Koch <konqueror@gmx.de>
4467
4468 * java/awt/print/Paper.java
4469 (Paper): Implements Cloneable.
4470 * java/awt/print/PrinterJob.java
4471 (setJobName): Return value must be void.
4472 (print): Throws PrinterException.
4473
4474 2003-02-16 Tom Tromey <tromey@redhat.com>
4475
4476 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4477 variable.
4478
4479 2003-02-15 Michael Koch <konqueror@gmx.de>
4480
4481 * java/awt/datatransfer/DataFlavor.java
4482 (isRepresentationClassByteBuffer): Removed try-catch block.
4483 (isRepresentationClassCharBuffer): Removed try-catch block.
4484 (isRepresentationClassReader): Removed try-catch block.
4485
4486 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4487
4488 * java/nio/charset/Charset.java
4489 (isRegistered): Fixed method args and implementation.
4490 * java/nio/charset/CharsetEncoder.java
4491 (unmappableCharacterAction): New method.
4492
4493 2003-02-15 Michael Koch <konqueror@gmx.de>
4494
4495 * java/awt/CheckboxMenuItem.java
4496 (CheckBoxMenuItem): Dont implement Serializable.
4497 (getListeners): New method,
4498 (getItemListeners): New method.
4499 * java/awt/Choice.java
4500 (getListeners): New method,
4501 (getItemListeners): New method.
4502 * java/awt/Container.java
4503 (getListeners): Added exception documentation.
4504 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4505 (getFocusTraversalKeys): Added documentation.
4506 (areFocusTraversalKeysSet): Added documentation.
4507 (applyComponentOrientation): Added documentation.
4508 * java/awt/ContainerOrderFocusTraversalPolicy.java
4509 (implicitDownCycleTraversal): Renamed from downCycle for
4510 serialization.
4511 (ContainerOrderFocusTraversalPolicy): Added documentation.
4512 (accept): Reformated.
4513 * java/awt/Dialog.java
4514 (Dialog): Dont implement Serializable.
4515 (Dialog): Added documentation.
4516 * java/awt/Font.java
4517 (Font): Dont use absolute class name.
4518 * java/awt/Frame.java
4519 (Frame): Font implement Serializable.
4520 * java/awt/List.java
4521 (getListeners): New method,
4522 (getActionListeners): New method.
4523 (getItemListeners): New method.
4524 * java/awt/Menu.java
4525 (countItems): New deprecated method.
4526 * java/awt/Scrollbar.java
4527 (getListeners): New method,
4528 (getAdjustmentListeners): New method,
4529 * java/awt/TextComponent.java
4530 (getListeners): New method,
4531 (getTextListeners): New method,
4532 * java/awt/TextField.java
4533 (getListeners): New method,
4534 (getActionListeners): New method.
4535 * java/awt/Window.java
4536 (windowFocusListener): New member variable.
4537 (windowStateListener): New member variable.
4538 (getWindowFocusListeners): New method.
4539 (getWindowStateListeners): New method.
4540 (addWindowFocusListener): New method.
4541 (addWindowStateListener): New method.
4542 (removeWindowFocusListener): New method.
4543 (removeWindowStateListener): New method.
4544 * java/awt/datatransfer/DataFlavor.java
4545 (isRepresentationClassByteBuffer): New method.
4546 (isRepresentationClassCharBuffer): New method.
4547 (isRepresentationClassReader): New method.
4548
4549 2003-02-14 Mark Wielaard <mark@klomp.org>
4550
4551 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4552 zero when there is an exponent and the significant is zero.
4553 (divide): Always set scale to newScale even in special ZERO case.
4554
4555 2003-02-14 Tom Tromey <tromey@redhat.com>
4556
4557 * java/lang/System.java (properties): Use Properties.clone.
4558 (setProperties): Likewise.
4559
4560 2003-02-14 Michael Koch <konqueror@gmx.de>
4561
4562 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4563 * gnu/java/nio/ServerSocketChannelImpl.java
4564 (SocketAccept): Removed.
4565 (accept): Commented out use of SocketAccept.
4566
4567 2003-02-13 Tom Tromey <tromey@redhat.com>
4568
4569 * verify.cc (state::seen_subrs): New field.
4570 (state::state): Initialize it.
4571 (state::clean_subrs): New method.
4572 (state::~state): Call it.
4573 (state::copy): Copy subroutine list.
4574 (state::add_subr): New method.
4575 (state::merge): Only register a change if the current subroutine
4576 hasn't yet been noted.
4577
4578 2003-02-13 Mark Wielaard <mark@klomp.org>
4579
4580 * java/io/InputStreamReader.java (getEncoding): Return null when
4581 closed.
4582 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4583
4584 2003-02-13 Mark Wielaard <mark@klomp.org>
4585
4586 * java/util/zip/InflaterInputStream.java (read): Return zero when len
4587 is zero.
4588
4589 2003-02-13 Mark Wielaard <mark@klomp.org>
4590
4591 * java/io/BufferedOutputStream.java (write(int)): Only flush when
4592 next byte cannot be buffered.
4593
4594 2003-02-13 Michael Koch <konqueror@gmx.de>
4595
4596 * java/awt/Label.java
4597 (Label): Don't implement Serializable directly.
4598 (addNotify): Fixed typo in documentation.
4599 * java/awt/List.java
4600 (List): Don't implement Serializable directly.
4601 * java/awt/PopupMenu.java
4602 (PopupMenu): Don't implement Serializable directly.
4603 * java/awt/ScrollPane.java
4604 (ScrollPane): Don't implement Serializable directly.
4605 * java/awt/Scrollbar.java
4606 (Scrollbar): Don't implement Serializable directly.
4607 * java/awt/TextArea.java
4608 (preferredSize): Fixed method arguments.
4609 * java/awt/TextField.java
4610 (TextField): Don't implement Serializable directly.
4611 * java/awt/color/ICC_ColorSpace.java
4612 (fromCIOXYZ): Documentation added.
4613 (getMinValue): Documentation added.
4614 (getMaxValue): Documentation added.
4615 * java/awt/datatransfer/DataFlavor.java
4616 (isMimeTypeEqual): May not be final.
4617 (clone): Throws CloneNotSupportedException.
4618 (getReaderForText): Don't throws UnsupportedEncodingException.
4619
4620 2003-02-13 Michael Koch <konqueror@gmx.de>
4621
4622 * gnu/java/awt/peer/gtk/GdkGraphics.java
4623 (drawString): New stubbed method.
4624 * java/awt/Graphics.java
4625 (drawString): New method.
4626
4627 2003-02-13 Casey Marshall <rsdio@metastatic.org>
4628
4629 PR libgcj/9271:
4630 * java/security/SecureRandom.java (next): Avoid bias in results.
4631
4632 2003-02-13 Michael <konqueror@gmx.de>
4633
4634 * gnu/java/nio/FileChannelImpl.java
4635 (lengthInternal): Must be native.
4636 (size): Check if channel is already closed.
4637 (implCloseChannel): Reformated.
4638 (read): w was unused, removed it.
4639 (read): Removed.
4640 (read): New method.
4641 (write): New method.
4642 (map): Check arguments.
4643 (force): Throws IOException, check if channel is closed.
4644 (transferTo): New method.
4645 (transferFrom): New method.
4646 (lock): New method.
4647 (tryLock): New method.
4648 (position): New method.
4649 (truncate): New method.
4650 (nio_mmap_file): Uncommented.
4651 (nio_munmap_file): Uncommented.
4652 (nio_msync): Uncommented.
4653 * gnu/java/nio/natFileChannelImpl.cc: New file.
4654
4655 2003-02-13 Michael Koch <konqueror@gmx.de>
4656
4657 * java/nio/ByteBuffer.java
4658 (endian): New member variable.
4659 (get): New methods.
4660 (equals): New method.
4661 (compareTo): New method.
4662 (order): New methods.
4663 (compact): New method.
4664 (isDirect): New method.
4665 (slice): New method.
4666 (duplicate): New method.
4667 (asReadOnlyBuffer): New method.
4668 (asCharBuffer): New method.
4669 (asDoubleBuffer): New method.
4670 (asFloatBuffer): New method.
4671 (asIntBuffer): New method.
4672 (asLongBuffer): New method.
4673 (asShortBuffer): New method.
4674 (get*): New methods.
4675 (put*): New methods.
4676 (toString): New method.
4677 * java/nio/CharBuffer.java
4678 (CharBuffer): Implement Comparable instead of Cloneable.
4679 (get): May not be final.
4680 (put): May not be final.
4681
4682 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
4683
4684 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4685 lastIndexOf( ) instead of indexOf( ) to find the colon before
4686 the line number, because Win32 file names might contain a
4687 drive letter and a colon at the start of an absolute path.
4688
4689 2003-02-13 Michael Koch <konqueror@gmx.de>
4690
4691 * gnu/java/nio/natSocketChannelImpl.cc
4692 (SocketConnect): This is not implemented yet.
4693 (SocketBind): This is not implemented yet.
4694
4695 2003-02-13 Michael Koch <konqueror@gmx.de>
4696
4697 * gnu/java/nio/natByteBufferImpl.cc,
4698 gnu/java/nio/natCharBufferImpl.cc,
4699 gnu/java/nio/natDoubleBufferImpl.cc,
4700 gnu/java/nio/natFloatBufferImpl.cc,
4701 gnu/java/nio/natIntBufferImpl.cc,
4702 gnu/java/nio/natLongBufferImpl.cc,
4703 gnu/java/nio/natShortBufferImpl.cc:
4704 Added copyright and license.
4705 * java/nio/DoubleBuffer.java,
4706 java/nio/FloatBuffer.java,
4707 java/nio/IntBuffer.java,
4708 java/nio/LongBuffer.java,
4709 java/nio/ShortBuffer.java
4710 (array): Throw exceptions.
4711 (arrayOffset): Throw exceptions.
4712
4713 2003-02-13 Michael Koch <konqueror@gmx.de>
4714
4715 * gnu/java/util/prefs/FileBasedFactory.java,
4716 gnu/java/util/prefs/MemmoryBasedFactory.java,
4717 gnu/java/util/prefs/MemoryBasedPreferences.java,
4718 gnu/java/util/prefs/NodeReader.java,
4719 gnu/java/util/prefs/NodeWriter.java,
4720 java/util/prefs/AbstractPreferences.java,
4721 java/util/prefs/BackingStoreException.java,
4722 java/util/prefs/InvalidPreferencesFormatException.java,
4723 java/util/prefs/NodeChangeEvent.java,
4724 java/util/prefs/NodeChangeListener.java,
4725 java/util/prefs/PreferenceChangeEvent.java,
4726 java/util/prefs/PreferenceChangeListener.java,
4727 java/util/prefs/Preferences.java,
4728 java/util/prefs/PreferencesFactory.java:
4729 New files, all merged from classpath.
4730 * Makefile.am
4731 (ordinary_java_source_files): Added the following files:
4732 gnu/java/util/prefs/FileBasedFactory.java,
4733 gnu/java/util/prefs/MemmoryBasedFactory.java,
4734 gnu/java/util/prefs/MemoryBasedPreferences.java,
4735 gnu/java/util/prefs/NodeReader.java,
4736 gnu/java/util/prefs/NodeWriter.java,
4737 (core_java_source_files): Added the following files:
4738 java/util/prefs/AbstractPreferences.java,
4739 java/util/prefs/BackingStoreException.java,
4740 java/util/prefs/InvalidPreferencesFormatException.java,
4741 java/util/prefs/NodeChangeEvent.java,
4742 java/util/prefs/NodeChangeListener.java,
4743 java/util/prefs/PreferenceChangeEvent.java,
4744 java/util/prefs/PreferenceChangeListener.java,
4745 java/util/prefs/Preferences.java,
4746 java/util/prefs/PreferencesFactory.java
4747 * Makefile.in: Regenerated.
4748
4749 2003-02-13 Michael Koch <konqueror@gmx.de>
4750
4751 * java/net/NetPermission.java
4752 (NetPermission): Make doucmentation match the method declaration.
4753 * java/net/NetworkInterface.java
4754 (equals): Reformated for GNU coding style.
4755 * java/net/ServerSocket.java: Merged with classpath.
4756 * java/net/Socket.java: Partly merged with classpath (Added some @since).
4757 * java/net/SocketImpl.java
4758 (localPort): Merged with classpath (initialize with -1).
4759 * java/net/SocketPermission.java: Merged with classpath (reindented).
4760 * java/net/URLDecoder.java: Merged with classpath (reindented).
4761
4762 2003-02-13 Michael Koch <konqueror@gmx.de>
4763
4764 * java/awt/GridBagConstraints.java
4765 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4766 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4767 * java/awt/KeyboardFocusManager.java
4768 (setGlobalCurrentFocusCycleRoot): Must be public.
4769 * java/awt/MenuComponent.java
4770 (MenuComponent): Must be public.
4771 * java/awt/Toolkit.java:
4772 Added some empty lines to make documentation more readable.
4773 (getFontPeer): Added @deprecated.
4774 (getColorModel): Added exception documentation.
4775 (getProperty): Fixed documentation.
4776
4777 2003-02-12 Jeff Sturm <jsturm@one-point.com>
4778
4779 * configure.host (alpha*-*): Default to -mieee.
4780 * configure.in (IEEESPEC): New.
4781 * libgcj.spec.in (jc1): Add IEEESPEC.
4782 * configure: Rebuild.
4783
4784 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4785
4786 * include/win32.h: Include ws2tcpip.h instead of
4787 winsock.h to obtain definition of the socklen_t type.
4788 Remove IP_TOS definition - not needed with ws2tcpip.h
4789 (_Jv_connect): Correct slight formatting error.
4790
4791 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4792
4793 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4794 size of the arguments for a JNI function. For Win32,
4795 modify to search for all forms of possible exported
4796 names of an stdcall JNI function.
4797 (_Jv_JNIMethod::call): Modify to calculate the size
4798 of the arguments passed to a JNI function and pass
4799 it to _Jv_LookupJNIMethod.
4800
4801 2003-02-12 Michael Koch <konqueror@gmx.de>
4802
4803 * java/nio/channels/Channels.java: New file.
4804 * Makefile.am
4805 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4806 * Makefile.in: Regenerated.
4807
4808 2003-02-12 Michael Koch <konqueror@gmx.de>
4809
4810 * java/nio/ByteBuffer.java
4811 (allocate): Implemented.
4812 (wrap): Implemented.
4813 * java/nio/CharBuffer.java:
4814 Some documentation added and reworked.
4815 (endian): Removed.
4816 (allocate): Implemented.
4817 (wrap): Implemented.
4818 (array): Throw exceptions.
4819 (arrayOffset): Throw exceptions.
4820 (toString): Implemented.
4821 (length): Implemented.
4822 (put): Implemented.
4823 (charAt): Implemented.
4824
4825 2003-02-11 John Leuner <jewel@debian.org>
4826
4827 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
4828 reads from end of file.
4829
4830 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
4831
4832 * java/io/natFileDescriptorWin32.cc
4833 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4834 returns with Win32 error code ERROR_BROKEN_PIPE.
4835
4836 2003-02-11 Michael Koch <konqueror@gmx.de>
4837
4838 * Makefile.in
4839 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4840
4841 2003-02-11 Michael Koch <konqueror@gmx.de>
4842
4843 * gnu/java/nio/ByteBufferImpl.java:
4844 Reformated and removed some code.
4845 (backing_buffer): Removed.
4846 (array_offset): Removed.
4847 (ro): Renamed to readOnly.
4848 (ByteBufferImpl): Use parent constructor, initialize readOnly.
4849 * gnu/java/nio/CharBufferImpl.java:
4850 Reformated and removed some code.
4851 (array_offset): Removed.
4852 (ro): Renamed to readOnly.
4853 (CharBufferImpl): Use parent constructor, initialize readOnly.
4854 (inc_pos): Removed.
4855 (order): New method.
4856 * gnu/java/nio/DoubleBufferImpl.java:
4857 Reformated and removed some code.
4858 (array_offset): Removed.
4859 (ro): Renamed to readOnly.
4860 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4861 (inc_pos): Removed.
4862 (order): New method.
4863 * gnu/java/nio/FloatBufferImpl.java:
4864 Reformated and removed some code.
4865 (array_offset): Removed.
4866 (ro): Renamed to readOnly.
4867 (FloatBufferImpl): Use parent constructor, initialize readOnly.
4868 (inc_pos): Removed.
4869 (order): New method.
4870 * gnu/java/nio/IntBufferImpl.java:
4871 Reformated and removed some code.
4872 (array_offset): Removed.
4873 (ro): Renamed to readOnly.
4874 (IntBufferImpl): Use parent constructor, initialize readOnly.
4875 (inc_pos): Removed.
4876 (order): New method.
4877 * gnu/java/nio/LongBufferImpl.java:
4878 Reformated and removed some code.
4879 (array_offset): Removed.
4880 (ro): Renamed to readOnly.
4881 (LongBufferImpl): Use parent constructor, initialize readOnly.
4882 (inc_pos): Removed.
4883 (order): New method.
4884 * gnu/java/nio/ShortBufferImpl.java:
4885 Reformated and removed some code.
4886 (array_offset): Removed.
4887 (ro): Renamed to readOnly.
4888 (ShortBufferImpl): Use parent constructor, initialize readOnly.
4889 (inc_pos): Removed.
4890 (order): New method.
4891 * Makefile.am
4892 (ordinary_java_source_files): Added the following files:
4893 gnu/java/nio/ByteBufferImpl.java
4894 gnu/java/nio/CharBufferImpl.java
4895 gnu/java/nio/DoubleBufferImpl.java
4896 gnu/java/nio/FloatBufferImpl.java
4897 gnu/java/nio/IntBufferImpl.java
4898 gnu/java/nio/LongBufferImpl.java
4899 gnu/java/nio/ShortBufferImpl.java
4900 java/nio/DoubleBuffer.java
4901 java/nio/FloatBuffer.java
4902 java/nio/IntBuffer.java
4903 java/nio/LongBuffer.java
4904 java/nio/ShortBuffer.java
4905 (nat_source_files): Added the following files:
4906 gnu/java/nio/natByteBufferImpl.cc
4907 gnu/java/nio/natCharBufferImpl.cc
4908 gnu/java/nio/natDoubleBufferImpl.cc
4909 gnu/java/nio/natFloatBufferImpl.cc
4910 gnu/java/nio/natIntBufferImpl.cc
4911 gnu/java/nio/natLongBufferImpl.cc
4912 gnu/java/nio/natShortBufferImpl.cc
4913 * Makefile.in: Regenerated.
4914
4915 2003-02-11 Michael Koch <konqueror@gmx.de>
4916
4917 * gnu/java/nio/natCharBufferImpl.cc
4918 (nio_cast): Removed.
4919 (nio_put_*): Removed.
4920 (nio_get_*): Removed.
4921 * gnu/java/nio/natDoubleBufferImpl.cc
4922 (nio_cast): Removed.
4923 (nio_put_*): Removed.
4924 (nio_get_*): Removed.
4925 * gnu/java/nio/natFloatBufferImpl.cc
4926 (nio_cast): Removed.
4927 (nio_put_*): Removed.
4928 (nio_get_*): Removed.
4929 * gnu/java/nio/natIntBufferImpl.cc
4930 (nio_cast): Removed.
4931 (nio_put_*): Removed.
4932 (nio_get_*): Removed.
4933 * gnu/java/nio/natLongBufferImpl.cc
4934 (nio_cast): Removed.
4935 (nio_put_*): Removed.
4936 (nio_get_*): Removed.
4937 * gnu/java/nio/natShortBufferImpl.cc
4938 (nio_cast): Removed.
4939 (nio_put_*): Removed.
4940 (nio_get_*): Removed.
4941 * gnu/java/nio/SelectorProviderImpl.java
4942 (openDatagramChannel): Throws IOException.
4943 (openPipe): Throws IOException.
4944 (openSelector): Throws IOException.
4945 (openServerSocketChannel): Throws IOException.
4946 (openSocketChannel): Throws IOException.
4947 * gnu/java/nio/ServerSocketChannelImpl.java
4948 (ServerSocketChannelImpl): Throws IOException.
4949 (implCloseSelectableChannel): Throws IOException.
4950 (implConfigureBlocking): Throws IOException.
4951 * java/nio/ByteBuffer.java
4952 (readOnly): Removed.
4953 (hasArray): Use isReadOnly() instead of readOnly.
4954 (array): Use isReadOnly() instead of readOnly.
4955 (arrayOffset): Use isReadOnly() instead of readOnly.
4956 * java/nio/CharBuffer.java
4957 (CharBuffer): Implements Cloneable and CharSequence.
4958
4959 2003-02-11 Michael Koch <konqueror@gmx.de>
4960
4961 * java/nio/DoubleBuffer.java
4962 (DoubleBuffer): Implements Comparable.
4963 (endian): Removed.
4964 (array_offset): New member variable.
4965 (DoubleBuffer): New constuctor.
4966 (get): May not be final.
4967 (put): May not be final.
4968 (arrayOffset): Implemented.
4969 (order): Made abstract.
4970 (order): Removed.
4971 (as*Buffer): Removed.
4972 (get*): Removed.
4973 (put*): Removed.
4974 * java/nio/FloatBuffer.java
4975 (FloatBuffer): Implements Comparable.
4976 (endian): Removed.
4977 (array_offset): New member variable.
4978 (FloatBuffer): New constuctor.
4979 (get): May not be final.
4980 (put): May not be final.
4981 (arrayOffset): Implemented.
4982 (order): Made abstract.
4983 (order): Removed.
4984 (as*Buffer): Removed.
4985 (get*): Removed.
4986 (put*): Removed.
4987 * java/nio/IntBuffer.java
4988 (IntBuffer): Implements Comparable.
4989 (endian): Removed.
4990 (array_offset): New member variable.
4991 (IntBuffer): New constuctor.
4992 (get): May not be final.
4993 (put): May not be final.
4994 (arrayOffset): Implemented.
4995 (order): Made abstract.
4996 (order): Removed.
4997 (as*Buffer): Removed.
4998 (get*): Removed.
4999 (put*): Removed.
5000 * java/nio/LongBuffer.java
5001 (LongBuffer): Implements Comparable.
5002 (endian): Removed.
5003 (array_offset): New member variable.
5004 (LongBuffer): New constuctor.
5005 (get): May not be final.
5006 (put): May not be final.
5007 (arrayOffset): Implemented.
5008 (order): Made abstract.
5009 (order): Removed.
5010 (as*Buffer): Removed.
5011 (get*): Removed.
5012 (put*): Removed.
5013 * java/nio/ShortBuffer.java
5014 (ShortBuffer): Implements Comparable.
5015 (endian): Removed.
5016 (array_offset): New member variable.
5017 (ShortBuffer): New constuctor.
5018 (get): May not be final.
5019 (put): May not be final.
5020 (arrayOffset): Implemented.
5021 (order): Made abstract.
5022 (order): Removed.
5023 (as*Buffer): Removed.
5024 (get*): Removed.
5025 (put*): Removed.
5026
5027 2003-02-11 Michael Koch <konqueror@gmx.de>
5028
5029 * java/nio/channels/SelectionKey.java
5030 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5031 values.
5032
5033 2003-02-11 Michael Koch <konqueror@gmx.de>
5034
5035 * java/nio/channels/DatagramChannel.java
5036 (write): Throws IOException.
5037 (connect): Throws IOException.
5038 (disconnect): Throws IOException.
5039 (read): Throws IOException.
5040 (receive): Throws IOException.
5041 (send): Throws IOException.
5042 * java/nio/channels/Pipe.java
5043 (open): Throws IOException.
5044 * java/nio/channels/SelectableChannel.java
5045 (configureBlocking): Throws IOException.
5046 * java/nio/channels/ServerSocketChannel.java
5047 (accept): Throws IOException.
5048 * java/nio/channels/SocketChannel.java
5049 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5050 GatheringByteChannel.
5051 (read): Throws IOException.
5052 (write): Throws IOException.
5053 (finishConnect): Throws IOException.
5054 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5055 (end): Throws AsynchronousCloseException.
5056 * java/nio/channels/spi/AbstractSelectableChannel.java
5057 (configureBlocking): Throws IOException.
5058 (implCloseChannel): Throws IOException.
5059 (implCloseSelectableChannel): Throws IOException.
5060 (implConfigureBlocking): Throws IOException.
5061 * java/nio/channels/spi/SelectorProvider.java
5062 (openDatagramChannel): Throws IOException.
5063 (openPipe): Throws IOException.
5064 (openSelector): Throws IOException.
5065 (openServerSocketChannel): Throws IOException.
5066 (openSocketChannel): Throws IOException.
5067
5068 2003-02-11 Michael Koch <konqueror@gmx.de>
5069
5070 * gnu/java/nio/FileLockImpl.java,
5071 java/nio/channels/FileLock.java: New files.
5072
5073 2003-02-11 Michael Koch <konqueror@gmx.de>
5074
5075 * java/nio/charset/IllegalCharsetNameException.java
5076 (serialVersionUID): New member variable.
5077 (charsetName): New member variable.
5078 (IllegalCharsetException): New implementation.
5079 (getCharsetName): New implementation.
5080 * java/nio/charset/UnsupportedCharsetException.java
5081 (serialVersionUID): New member variable.
5082 (charsetName): New member variable.
5083 (UnsupportedCharsetException): New implementation.
5084 (getCharsetName): New implementation.
5085
5086 2003-02-10 Tom Tromey <tromey@redhat.com>
5087
5088 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5089 (ex): Renamed from sqlException.
5090
5091 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5092
5093 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5094 method used to ensure seeding has occurred and that a specific
5095 seed can be set and used.
5096
5097 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5098
5099 * java/lang/Win32Process.java (destroy): Declare as native.
5100 (hasExited): New native method.
5101 (exitValue): Define.
5102 (getErrorStream): Likewise.
5103 (getInputStream): Likewise.
5104 (getOutputStream): Likewise.
5105 (waitFor): Declare as native.
5106 (startProcess): New native method.
5107 (cleanup): Likewise.
5108 (ConcreteProcess): Define.
5109 (outputStream, inputStream, errorStream): New members.
5110 (procHandle, exitCode): Likewise.
5111
5112 * java/lang/natWin32Process.cc
5113 (java::lang::ConcreteProcess::cleanup): Define.
5114 (java::lang::ConcreteProcess::destroy): Likewise.
5115 (java::lang::ConcreteProcess::hasExited): Likewise.
5116 (java::lang::ConcreteProcess::waitFor): Likewise.
5117 (new_string): Likewise.
5118 (java::lang::ConcreteProcess::startProcess): Likewise.
5119
5120 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5121
5122 * java/math/BigInteger.java:
5123 Updated notice to include years 2002 and 3.
5124 Added 2 private (int) arrays with values from the HAC (Handbook of
5125 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5126 and t[] that contains nbr. of tests --used in isProbablePrime().
5127
5128 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5129
5130 * java/math/BigInteger.java (make(int[],int), add(int,int),
5131 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5132 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5133 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5134 make(long).
5135
5136 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5137 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5138 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5139 BIs and returns void.
5140 (modInverse(BI)): Use new signatures of euclidInv().
5141
5142 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5143 static small primes instead of remainder().
5144 Use pre-computed max nbr of trials based on bitlength of BI to test.
5145 Use pre-computed small primes for the trial tests instead of random
5146 numbers.
5147
5148 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5149 not used.
5150
5151 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5152 invoacation of MPN.chars_per_word(). not used.
5153
5154 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5155 local var and used where needed.
5156
5157 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5158 Combined declaration with initialisation of locals.
5159 Removed unused var.
5160
5161 * java/math/BigInteger.java: Style changes
5162 (pow(int)): Removed 'else' keyword.
5163 (toString(int)): idem.
5164 (doubleValue()): idem.
5165 (bitLength()): idem.
5166 (equals(Object)): Use static methods name in same class w/o prepending
5167 class name.
5168 (doubleValue()): idem.
5169 (setNegative(BI)): idem.
5170 (negate()): idem.
5171 (and(BI,int)): idem.
5172 (and(BI)): idem.
5173 (gcd(BI)): idem.
5174 (byteArrayToIntArray()): Removed casting to (int). this is
5175 std. behaviour.
5176 (canonicalize()): idem.
5177 (alloc(int)): Always instantiate a new BI.
5178
5179 2003-02-10 Tom Tromey <tromey@redhat.com>
5180
5181 * java/sql/Timestamp.java (compareTo(Object)): New method.
5182 (compareTo(Timestamp)): Likewise.
5183 (serialVersionUID): Updated.
5184
5185 2003-02-07 Mark Wielaard <mark@klomp.org>
5186
5187 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5188 when verify is true.
5189 (JarFile(File, boolean)): Likewise.
5190 (manifestRead): Set manifestRead field correctly.
5191
5192 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5193
5194 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5195 tests; see patch #1016 on Savannah.
5196
5197 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5198
5199 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5200 (toString): do not return Strings starting with . and - erroneously.
5201 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5202 DiagBigDecimal.
5203
5204 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5205
5206 * java/beans/PropertyDescriptor.java
5207 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5208 methods.
5209 (PropertyDescriptor(String, Class, String, String)): Likewise.
5210 (PropertyDescriptor(String, Method, Method): Factor out getter and
5211 setter method sanity checks into new method.
5212 (findMethods): Don't do parameter sanity checking of get method here.
5213 (checkMethods): New method.
5214
5215 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5216
5217 * java/beans/PropertyDescriptor.java: Reformat.
5218
5219 2003-02-04 Tom Tromey <tromey@redhat.com>
5220
5221 * java/io/PipedOutputStream.java (flush): Declare as throwing
5222 IOException.
5223 (close): Likewise.
5224 * java/io/PipedWriter.java (close): Declare as throwing
5225 IOException.
5226 * java/io/StringWriter.java (close): Declare as throwing
5227 IOException.
5228
5229 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5230
5231 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5232 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5233 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5234 "_JNI_OnLoad@8" (MSVC).
5235
5236 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5237
5238 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5239 convention on Win32 to invoke native JNI methods.
5240
5241 2003-02-03 Andrew Haley <aph@redhat.com>
5242
5243 * configure.host (x86_64): Enable interpreter.
5244
5245 2003-02-03 Andrew Haley <aph@redhat.com>
5246
5247 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5248 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5249 * configure.in (BACKTRACESPEC): New.
5250 * configure: Regenerate.
5251
5252 2003-02-02 Tom Tromey <tromey@redhat.com>
5253
5254 * configure: Rebuilt.
5255 * configure.in (TOOLKIT) [xlib]: Set correctly.
5256
5257 * Makefile.in: Rebuilt.
5258 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5259 libstdc++.
5260
5261 2003-01-31 Mark WIelaard <mark@klomp.org>
5262
5263 * Makefile.in: Rebuilt.
5264 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5265
5266 2003-01-31 Tom Tromey <tromey@redhat.com>
5267
5268 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5269 cast to element type.
5270 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5271 (_Jv_JNI_GetObjectArrayElement): Likewise.
5272
5273 * Makefile.in: Rebuilt.
5274 * Makefile.am (cond_x_ltlibrary): Renamed library to
5275 lib-gnu-awt-xlib.la.
5276 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5277 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5278 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5279 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5280 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5281 (lib_gnu_awt_xlib_la_LINK): Likewise.
5282 (install-exec-hook): Removed.
5283 (lib-gnu-awt-xlib.la): Renamed.
5284
5285 2003-01-31 Tom Tromey <tromey@redhat.com>
5286
5287 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5288 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5289 aclocal.m4 and lost in some merge.
5290
5291 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5292 Don't try to find graphics configuration.
5293 * java/awt/Toolkit.java (default_toolkit_name): Use new
5294 Configuration entry.
5295 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5296 New global.
5297 * configure: Rebuilt.
5298 * configure.in (TOOLKIT): New subst.
5299 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5300 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5301 directory. Make output directories for .c files.
5302 * Makefile.in: Rebuilt.
5303 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5304 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5305 (all_java_source_files): Added new sources.
5306 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5307 (gtk_c_files): New macro.
5308 (gtk_c_source_files): New macro.
5309 (cond_gtk_ltlibrary): New macro.
5310 ($(gtk_c_files)): New target.
5311 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5312 (gtk_awt_peer_sources): New macro.
5313 (gtk_c_headers): New macro.
5314 ($(gtk_c_headers)): New target.
5315 (ACLOCAL_AMFLAGS): New macro.
5316 * gtk.m4, glib.m4, libart.m4: New files.
5317 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5318 gnu/java/awt/peer/gtk/GdkGraphics.java,
5319 gnu/java/awt/peer/gtk/GtkArg.java,
5320 gnu/java/awt/peer/gtk/GtkArgList.java,
5321 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5322 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5323 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5324 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5325 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5326 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5327 gnu/java/awt/peer/gtk/GtkClipboard.java,
5328 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5329 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5330 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5331 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5332 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5333 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5334 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5335 gnu/java/awt/peer/gtk/GtkImage.java,
5336 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5337 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5338 gnu/java/awt/peer/gtk/GtkListPeer.java,
5339 gnu/java/awt/peer/gtk/GtkMainThread.java,
5340 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5341 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5342 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5343 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5344 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5345 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5346 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5347 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5348 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5349 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5350 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5351 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5352 gnu/java/awt/peer/gtk/GtkToolkit.java,
5353 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5354 gnu/java/awt/peer/gtk/TestAWT.java,
5355 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5356 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5357 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5358 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5359 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5360 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5361 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5362 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5363 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5364 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5365 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5366 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5367 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5368 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5369 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5370 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5371 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5372 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5373 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5374 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5375 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5376 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5377 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5378 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5379 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5380 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5381 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5382 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5383 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5384 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5385 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5386 jni/classpath/native_state.c, jni/classpath/native_state.h,
5387 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5388
5389 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5390
5391 * java/util/Properties.java (load): Ignore backslash before EOF.
5392
5393 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5394
5395 * java/lang/natClass.cc (initializeClass): Check tables when
5396 (state == JV_STATE_IN_PROGRESS).
5397 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5398 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5399 interpreted classes.
5400 (linkClass0): Use _Jv_WaitForState.
5401
5402 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5403
5404 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5405 object when finished.
5406
5407 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5408
5409 * libjava/configure.host: Disable can_unwind_signal on darwin.
5410
5411 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5412
5413 Fixes PR java/9254:
5414 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5415 additionally containing id of the owner thread as well as
5416 the number of nested times the thread has acquired the mutex.
5417 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5418 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5419 (_Jv_MutexUnlock): Check if really the owner thread, reset
5420 owner thread id to 0 before leaving, if leaving for the last
5421 time.
5422 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5423 refcount.
5424 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5425 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5426 the passed mutex.
5427 Pass handle of the broadcast event, instead of a pointer to it
5428 in Win32 ResetEvent( ) call.
5429 Remove incorrect return values.
5430 (_Jv_CondDestroy): Close both event handles and delete
5431 critical section.
5432 (_Jv_CondNotify): Check if really the owner thread.
5433 (_Jv_CondNotifyAll): Check if really the owner thread.
5434 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5435 (really_start): Use SetEvent( ) to signal daemon_cond.
5436 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5437 WaitForSingleObject( ) instead to wait for daemon_cond to be
5438 signalled.
5439
5440 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5441
5442 * configure.in: Specifically define HAVE_BACKTRACE if building
5443 for MinGW.
5444 * include/win32.h: Remove HAVE_BACKTRACE definition.
5445 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5446 * configure: Rebuilt.
5447
5448 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5449
5450 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5451 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5452 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5453 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5454 * Makefile.in, configure: Rebuilt.
5455
5456 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5457
5458 Fixes PR java/9253:
5459 * java/io/natFileWin32.cc (performList): Append only "*.*"
5460 if the canonical file path already has a "\" at the end.
5461
5462 2003-01-24 Tom Tromey <tromey@redhat.com>
5463
5464 * defineclass.cc (handleMethodsEnd): Precompute code for static
5465 method.
5466 (handleCodeAttribute): Likewise.
5467 * resolve.cc (ncode): Use run_class for unsynchronized static
5468 methods.
5469 * include/java-interp.h (class _Jv_InterpMethod): Declare
5470 run_class.
5471 * interpret.cc (run_synch_class): Initialize class.
5472 (run) [insn_invokestatic]: Don't initialize class.
5473 [insn_anewarray]: Likewise.
5474 [insn_multianewarray]: Likewise.
5475 (run_class): New function.
5476
5477 2003-01-24 Tom Tromey <tromey@redhat.com>
5478
5479 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5480 comment.
5481
5482 2003-01-22 Andrew Haley <aph@redhat.com>
5483
5484 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5485 * configure.host (CHECKREFSPEC): Define for x86_64.
5486
5487 2003-01-21 Tom Tromey <tromey@redhat.com>
5488
5489 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5490 search at 2, not 3.
5491
5492 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5493
5494 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5495 looking at any characters.
5496 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5497 be used.
5498 (isAbsolute): Check path's length as well.
5499
5500 2003-01-17 Mark Wielaard <mark@klomp.org>
5501
5502 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5503 (nat_source_files): Add natVMObjectStreamClass.cc.
5504 * Makefile.in: Regenerated.
5505 * gcj/javaprims.h (namespace java): Regenerated.
5506 * java/io/ObjectStreamClass.java (getClassUID): Call
5507 VMObjectStreamClass.hasClassInitializer().
5508 (hasClassInitializer): Removed.
5509 * java/io/VMObjectStreamClass.java: New class.
5510 * java/io/natVMObjectStreamClass.cc: New file.
5511 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5512
5513 2003-01-16 Mark Wielaard <mark@klomp.org>
5514
5515 * java/net/SocketImpl.java (toString): Don't explicitly call
5516 toString() on possible null address.
5517
5518 2003-01-16 Michael Koch <konqueror@gmx.de>
5519
5520 * java/net/MulticastSocket.java
5521 (setInterface): Reindented.
5522
5523 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5524
5525 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5526 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5527 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5528 translateY arguments. Implement.
5529 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5530 down translation arguments.
5531 (drawPolyline, drawPolygon): Fix incorrect tests.
5532 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5533 translateX and translateY arguments.
5534
5535 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5536
5537 * Makefile.in: Rebuilt.
5538 * Makefile.am (xlib_includes): New macro.
5539 (INCLUDES): Use it.
5540
5541 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5542
5543 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5544 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5545 16-bit display mode.
5546
5547 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5548
5549 * java/awt/CardLayout.java (show): Rewrote.
5550 (gotoComponent): Removed `target' argument. Simplified code.
5551 Don't pre-compute `choice' unless `what' is FIRST or LAST.
5552 Changed all callers.
5553 (NONE): Removed.
5554
5555 2003-01-14 Michael Koch <konqueror@gmx.de>
5556
5557 * java/net/InetSocketAddress.java
5558 (serialVersionUID): New member variable.
5559 * java/net/NetPermission.java
5560 (NetPermission): Dont implement java.io.Serialization directly.
5561 * java/net/SocketAddress.java:
5562 (serialVersionUID): Documentation added.
5563
5564 2003-01-14 Michael Koch <konqueror@gmx.de>
5565
5566 * java/awt/Label.java
5567 (Label): Implements javax.accessibility.Accessible;
5568 * java/awt/List.java
5569 (List): Implements javax.accessibility.Accessible;
5570 * java/awt/ScrollPane.java
5571 (ScrollPane): Implements javax.accessibility.Accessible;
5572 * java/awt/Scrollbar.java
5573 (Scrollbar): Implements javax.accessibility.Accessible;
5574 * java/awt/TextComponent.java
5575 (setCaretPosition): Throw exception, documentation added.
5576 * java/awt/Toolkit.java:
5577 Added some newlines in method documentations.
5578 (createButton): Exception documentation added.
5579 (createTextField): Exception documentation added.
5580 (createLabel): Exception documentation added.
5581 (createList): Exception documentation added.
5582 (createCheckbox): Exception documentation added.
5583 (createScrollbar): Exception documentation added.
5584 (createScrollPane): Exception documentation added.
5585 (createTextArea): Exception documentation added.
5586 (createChoice): Exception documentation added.
5587 (createFrame): Exception documentation added.
5588 (createWindow): Exception documentation added.
5589 (createDialog): Exception documentation added.
5590 (createMenuBar): Exception documentation added.
5591 (createMenu): Exception documentation added.
5592 (createMenuItem): Exception documentation added.
5593 (createFileDialog): Exception documentation added.
5594 (createCheckboxMenuItem): Exception documentation added.
5595 (loadSystemColors): Exception documentation added.
5596 (setDynamicLayout): Exception documentation added.
5597 (isDynamicLayoutSet): Exception documentation added.
5598 (isDynamicLayoutActive): Exception documentation added.
5599 (getScreenSize): Exception documentation added.
5600 (getScreenResolution): Exception documentation added.
5601 (getScreenInsets): Exception documentation added.
5602 (getColorModel): Exception documentation added.
5603 (getSystemClipboard): Exception documentation added.
5604 (getSystemSelection): Exception documentation added.
5605 (getMenuShortcutKeyMask): Exception documentation added.
5606 (getSystemEventQueue): Exception documentation added.
5607 * java/awt/Window.java:
5608 Reindented some code.
5609 (Window): Centralized implementation, documentation added.
5610 (finalize): Documentation added.
5611 (hide): Fixed typo in comment.
5612 (getWindowListeners): Documentation added.
5613 * java/awt/color/ColorSpace.java
5614 (toRGB): Documentation added.
5615 * java/awt/color/ICC_ColorSpace.java
5616 (ICC_ColorSpace): Documentation added.
5617 (toRGB): Throw exception, documentation added.
5618 (fromRGB): Throw exception, documentation added.
5619 (toCIEXYZ): Documentation added.
5620 (fromCIEXYZ): Documentation added.
5621 (getMinValue): Documentation added.
5622 (getMaxValue): Documentation added.
5623 * java/awt/geom/Dimension2D.java
5624 (clone): Documentation added.
5625 * java/awt/geom/GeneralPath.java
5626 (clone): Documentation added.
5627 * java/awt/geom/Line2D.java
5628 (clone): Documentation added.
5629 * java/awt/geom/QuadCurve2D.java
5630 (clone): Documentation added.
5631 * java/awt/image/ColorModel.java
5632 (ColorModel): Throw exception, documentation added.
5633 * java/awt/image/ImageFilter.java
5634 (clone): Doesnt throw CloneNotSupportedException.
5635
5636 2003-01-14 Andrew Haley <aph@redhat.com>
5637
5638 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5639 in a try block.
5640
5641 2003-01-10 Andrew Haley <aph@redhat.com>
5642
5643 * include/dwarf2-signal.h: Remove x86_64.
5644 * configure.host (x86_64 DIVIDESPEC): Remove.
5645 * include/x86_64-signal.h: New file.
5646 * configure.in: Regenerate.
5647
5648 2003-01-10 Michael Koch <konqueror@gmx.de>
5649
5650 * java/net/DatagramSocket.java
5651 (ch): Description added.
5652 (remotePort): Initialize with -1.
5653 (connect): Doesnt throws SocketException.
5654 * java/net/MulticastSocket.java
5655 (setInterface): Merge with Classpath.
5656 * java/net/ServerSocket.java
5657 (closed): New member variable.
5658 (bind): Check if socket is closed.
5659 (close): Close an associated channel too, set new value to closed.
5660 (isBound): Reindented.
5661 (isClosed): Implemented.
5662 * java/net/Socket.java
5663 (closed): New member variable.
5664 (bind): Check if socket is closed.
5665 (connect): Check if socket is closed.
5666 (close): Close an associated channel too, set new value to closed.
5667 (isClosed): Implemented.
5668
5669 2003-01-10 Michael Koch <konqueror@gmx.de>
5670
5671 * java/awt/DisplayMode.java
5672 (equals): Fixed argument type and implementation.
5673
5674 2003-01-07 Tom Tromey <tromey@redhat.com>
5675
5676 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5677 JV_HASH_SYNCHRONIZATION.
5678 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5679 JV_HASH_SYNCHRONIZATION.
5680
5681 2003-01-07 Michael Koch <konqueror@gmx.de>
5682
5683 * java/net/DatagramSocket.java:
5684 Added classpath license info.
5685 (DatagramSocket): Merged description with classpath.
5686 (close): Merged description with classpath.
5687 (getChannel): Merged description with classpath.
5688 (getInetAddress): Merged description with classpath.
5689 (getPort): Merged description with classpath.
5690 (getLocalAddress): Merged description with classpath.
5691 (getLocalPort): Merged description with classpath.
5692 (getSoTimeout): Merged description with classpath.
5693 (setSoTimeout): Merged description with classpath.
5694 (getSendBufferSize): Merged description with classpath.
5695 (setSendBufferSize): Merged description with classpath.
5696 (getReceiveBufferSize): Merged description with classpath.
5697 (setReceiveBufferSize): Merged description with classpath.
5698
5699 2003-01-04 Tom Tromey <tromey@redhat.com>
5700
5701 * java/awt/List.java: Merged with Classpath.
5702
5703 2003-01-03 Mark Wielaard <mark@klomp.org>
5704
5705 * java/io/FileDescriptor.java (position): New private field.
5706 * java/io/natFileDescriptorPosix.cc (write): Up position.
5707 (setLength): Use and set position.
5708 (seek): Set position.
5709 (getFilePointer): Return position.
5710 (read): Up position.
5711
5712 2003-01-03 Mark Wielaard <mark@klomp.org>
5713
5714 Merge with Classpath:
5715 * java/io/ObjectStreamClass.java (lookup): Split method and call
5716 lookupForClassObject().
5717 (lookupForClassObject): New method.
5718 (isProxyClass): New field.
5719 (setClass): Set isProxyClass, add object to classLookupTable, set
5720 superClass and calculateOffsets.
5721 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5722 and not a proxy class.
5723 (setFields): Set accessible true for serialPersistentFields.
5724 (getClassUID): Same for suid. And check if suid is of type long.
5725 (hasClassInitializer): Don't throw NoSuchMethodError.
5726
5727 2003-01-03 Mark Wielaard <mark@klomp.org>
5728
5729 * java/io/FileInputStream.java (finalize): Don't explicitly
5730 finalize FileDescriptor.
5731
5732 2003-01-03 Jeff Sturm <jsturm@one-point.com>
5733
5734 * configure.host (sparc*-*): Enable bytecode interpreter.
5735
5736 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
5737
5738 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5739 Don't throw RemoteException.
5740 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5741 throw RemoteException.
5742
5743 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
5744
5745 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5746 proxyHost): New static fields.
5747 (<clinit>): Initialize new fields.
5748 (connect): Use proxy if necessary.
5749 (usingProxy): Implement.
5750
5751 2003-01-03 Eric Blake <ebb9@email.byu.edu>
5752
5753 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5754 (TreeIterator.remove): Prefer IllegalStateException over
5755 ConcurrentModificationException, to match Sun.
5756
5757 2002-12-22 Anthony Green <green@redhat.com>
5758
5759 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5760
5761 2003-01-02 Mark Wielaard <mark@klomp.org>
5762
5763 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5764 public.
5765 (HTTP_USE_PROXY): Add field.
5766 (getResponseVals): Only set responseCode when not yet explicitly
5767 set by subclass.
5768
5769 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
5770 Mark Wielaard <mark@klomp.org>
5771
5772 * java/util/zip/ZipFile.java (entries): Now HashMap.
5773 (readLeShort(DataInput, byte[])): Read from given byte array.
5774 (readLeInt(DataInput, byte[]): Likewise.
5775 (readLeShort(byte[] b, int off)): New method.
5776 (readLeInt(byte[] b, int off)): Likewise.
5777 (readEntries): Use byte arrays to read info in bigger chunks.
5778 (getEntries): Return HashMap.
5779 (getEntry): Use HashMap.
5780 (locBuf): New private field.
5781 (checkLocalHeader): Use locBuf to read info in one chunk.
5782 (getInputStream): Use entries HashMap, wrap PartialInputStream
5783 in BufferedInputStream.
5784 (ZipEntryEnumeration): Use HashMap and Interator.
5785
5786 2003-01-02 Mark Wielaard <mark@klomp.org>
5787 Jeroen Frijters <jeroen@sumatra.nl>
5788
5789 * java/net/URLClassLoader.java (Resource.getCodeSource):
5790 Fix check certs == null.
5791 (getCanonicalFileURL): Removed method.
5792 (JarURLLoader): Don't call removed method.
5793 (FileURLLoader): Likewise.
5794 (FileURLLoader.getResource): Don't canonicalize file name.
5795
5796 2003-01-01 Tom Tromey <tromey@redhat.com>
5797
5798 * Makefile.in: Rebuilt.
5799 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5800 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5801 java/awt/BufferCapabilities.java, java/awt/Button.java,
5802 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5803 java/awt/Container.java, java/awt/Cursor.java,
5804 java/awt/EventQueue.java, java/awt/FileDialog.java,
5805 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5806 java/awt/MenuBar.java, java/awt/MenuComponent.java,
5807 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5808 java/awt/Scrollbar.java, java/awt/TextArea.java,
5809 java/awt/TextField.java, java/awt/color/CMMException.java,
5810 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5811 java/awt/color/ProfileDataException.java,
5812 java/awt/datatransfer/Clipboard.java,
5813 java/awt/datatransfer/DataFlavor.java,
5814 java/awt/datatransfer/FlavorMap.java,
5815 java/awt/datatransfer/SystemFlavorMap.java,
5816 java/awt/dnd/DragGestureEvent.java,
5817 java/awt/dnd/DragGestureRecognizer.java,
5818 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5819 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5820 java/awt/im/InputMethodHighlight.java,
5821 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5822 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5823
5824 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5825 `op' to BufferedImageOp.
5826
5827 2002-12-31 Tom Tromey <tromey@redhat.com>
5828
5829 Fix for PR libgcj/7416:
5830 * javax/naming/InitialContext.java (init): Use
5831 gnu.classpath.home.url.
5832 * java/security/Security.java: Use new properties.
5833 (loadProviders): Accept base url; use it.
5834 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5835 gnu.classpath.home.url.
5836 (gnu.classpath.home.url): Define.
5837 (gnu.classpath.vm.shortname): Likewise.
5838
5839 2002-12-31 Tom Tromey <tromey@redhat.com>
5840 Ranjit Mathew <rmathew@hotmail.com>
5841
5842 Fix for PR libgcj/8997:
5843 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5844 Include platform.h.
5845 * include/posix.h (_Jv_platform_usleep): New function.
5846 * include/win32.h (_Jv_platform_usleep): New function.
5847
5848 2002-12-29 Tom Tromey <tromey@redhat.com>
5849
5850 * gcj/javaprims.h: Updated.
5851 * scripts/classes.pl (scan): Removed stray semicolon.
5852
5853 2002-12-30 Mark Wielaard <mark@klomp.org>
5854
5855 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5856 if zero or smaller.
5857
5858 2002-12-30 Mark Wielaard <mark@klomp.org>
5859
5860 * java/util/Properties (formatForOutput): Don't fall through to
5861 default case after escaping character.
5862
5863 2002-12-30 Mark Wielaard <mark@klomp.org>
5864
5865 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5866 against count.
5867
5868 2002-12-27 Mark Mitchell <mark@codesourcery.com>
5869
5870 * boehm.cc: Remove stray semicolon.
5871 * interpret.cc: Likewise.
5872 * prims.cc: Likewise.
5873 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5874 earlier to ensure default arguments are processed.
5875 * gcj/array.h (JArray): Add forward declaration.
5876 (elements): Likewise.
5877 * gcj/javaprim.h: Remove stray semicolons.
5878 * include/bohm-gc.h: Likewise.
5879 * include/jni.h: Likewise.
5880 * include/jvm.h: Likewise.
5881 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5882
5883 2002-12-23 Jeff Sturm <jsturm@one-point.com>
5884
5885 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5886 of catch_type.
5887 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5888 idt tables after initializing superclass.
5889 * java/lang/natClassLoader.cc (uaddr): New typedef.
5890 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5891 if they are constant pool indicies. Don't link vtable, otable yet.
5892
5893 2002-12-21 Anthony Green <green@redhat.com>
5894
5895 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5896 libraries.
5897 * Makefile.in: Rebuilt.
5898
5899 2002-12-19 Anthony Green <green@redhat.com>
5900
5901 * Makefile.am (ordinary_java_source_files): Add
5902 org/xml/sax/helpers/NewInstance.java.
5903 * Makefile.in: Rebuilt.
5904 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5905 org/xml/sax/helpers/package.html: New files.
5906 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5907 http://www.saxproject.org.
5908
5909 2002-12-19 Andrew Haley <aph@redhat.com>
5910
5911 * java/util/natResourceBundle.cc: Include
5912 ArrayIndexOutOfBoundsException.h.
5913 (getCallingClassLoader): Don't put upper bound on stack search.
5914 Catch ArrayIndexOutOfBoundsException.
5915
5916 2002-12-19 Tom Tromey <tromey@redhat.com>
5917
5918 * libtool-version: Increased `current'.
5919
5920 2002-12-19 Tom Tromey <tromey@redhat.com>
5921
5922 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5923 comment.
5924 * java/lang/ClassLoader.java (defineClass): Use chained
5925 exception when rethrowing.
5926 * defineclass.cc (handleClassBegin): Mark class as interpreted.
5927 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5928 constants.
5929 * resolve.cc (_Jv_PrepareMissingMethods): New function.
5930 (_Jv_PrepareClass): Use it.
5931 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5932 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5933 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5934 (Class): _Jv_PrepareMissingMethods now friend.
5935 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5936 Record `NULL' for system class loader.
5937 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
5938 system class loader.
5939 (_Jv_FindClassInCache): Likewise.
5940 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
5941 (_Jv_FindClass): Special case system class loader.
5942 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5943 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5944 vtable slots.
5945 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5946 in a final class.
5947 (_getDeclaredMethod): Don't return synthetic methods.
5948 (getDeclaredMethods): Likewise.
5949 (_getMethod): Likewise.
5950 (_getMethods): Likewise.
5951
5952 2002-12-18 Raif Naffah <raif@fl.net.au>
5953
5954 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5955 canonical form after divide().
5956 (modInverse): Likewise.
5957
5958 2002-12-13 Casey Marshall <rsdio@metastatic.org>
5959 Mark Wielaard <mark@klomp.org>
5960
5961 * java/security/SecurityRandom (digest): Removed field.
5962 (SecureRandom): Check all providers for case-insensitive SecureRandom
5963 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5964 if necessary.
5965 (getInstance(String,Provider,boolean): New method.
5966 (getInstance(String)): Use new method.
5967 (getInstance(String,String)): Likewise.
5968 (getInstance(String,Provider)): Likewise.
5969
5970 2002-12-13 Casey Marshall <rsdio@metastatic.org>
5971
5972 * java/security/Security.java (loadProviders): Increment i only once.
5973
5974 2002-12-12 Mark Wielaard <mark@klomp.org>
5975
5976 * java/lang/ClassLoader.java (resolveClass0): Transform
5977 ClassNotFoundException to NoClassDefFoundError. Transform all other
5978 throwables to LinkageError.
5979
5980 2002-12-11 Tom Tromey <tromey@redhat.com>
5981
5982 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5983
5984 * java/lang/ClassLoader.java (loadedClasses): New field.
5985 (defineClass): Fixed indentation. Put new class in
5986 loadedClasses.
5987 (findLoadedClass): Implement here.
5988 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5989
5990 2002-12-10 Tom Tromey <tromey@redhat.com>
5991
5992 * Makefile.in: Rebuilt.
5993 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5994 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5995 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5996 * java/lang/natClassLoader.cc
5997 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5998
5999 2002-12-10 Mark Wielaard <mark@klomp.org>
6000 Tom Tromey <tromey@redhat.com>
6001
6002 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6003 (JarURLLoader): Use it.
6004 (FileURLLoader): Likewise.
6005 (JarURLResource.getURL): Use chained exception.
6006 (FileResource.getURL): Likewise.
6007 (FileURLLoader.getResource): Use canonical file name.
6008 (addURL): Indentation fix.
6009
6010 2002-12-10 Tom Tromey <tromey@redhat.com>
6011
6012 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6013 From Laurent Bardet <l.bardet@magic.fr>.
6014
6015 2002-12-09 Tom Tromey <tromey@redhat.com>
6016
6017 * include/win32.h (_Jv_platform_solib_prefix): New define.
6018 (_Jv_platform_solib_suffix): Likewise.
6019 * include/posix.h (_Jv_platform_solib_prefix): New define.
6020 (_Jv_platform_solib_suffix): Likewise.
6021 * java/lang/natRuntime.cc: Include StackTrace.h.
6022 (_load): Use findLibrary and new platform defines.
6023 (nativeGetLibname): Use new platform defines.
6024
6025 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6026 `t' won't be null.
6027
6028 2002-12-08 Mark Wielaard <mark@klomp.org>
6029
6030 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6031 cache remote jar files.
6032 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6033 add File.separator to URL when it is a directory.
6034 * java/lang/ClassLoader.java: Add Classpath javadoc.
6035 (parent): final.
6036 (getParent): Add (disabled) security check.
6037 (findLibrary): New default method.
6038 * java/net/JarURLConnection.java (getManifest): Implement.
6039 (getInputStream): Only create InputStream when entry exists.
6040 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6041 when they exist.
6042 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6043
6044 2002-12-08 Mark Wielaard <mark@klomp.org>
6045
6046 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6047 (lastDefaultLocale): New field.
6048 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6049 resourceBundleCache.
6050
6051 2002-12-06 Mark Wielaard <mark@klomp.org>
6052
6053 * java/net/InetAddress.java (toString): Use hostname when not null,
6054 don't do an explicit reverse getHostName() lookup.
6055 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6056 NullPointerException.
6057
6058 2002-12-06 Tom Tromey <tromey@redhat.com>
6059
6060 * include/java-interp.h (class _Jv_InterpMethod): Added
6061 JV_MARKOBJ_DECL.
6062 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6063 mark `prepared' field of interpreted method.
6064 * interpret.cc (compile): Use _Jv_AllocBytes.
6065
6066 2002-12-05 Andrew Haley <aph@redhat.com>
6067
6068 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6069 #ifdef (HAVE_BACKTRACE) around the whole function body.
6070
6071 2002-12-05 Tom Tromey <tromey@redhat.com>
6072
6073 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6074 * resolve.cc: Don't include AbstractMethodError.h.
6075 (_Jv_abstractMethodError): Removed.
6076 * defineclass.cc (handleMethodsBegin): Initialize method index to
6077 -1.
6078 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6079 method index for "new" final method.
6080 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6081 isVirtualMethod. Added `flags' argument.
6082 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6083 class.
6084
6085 2002-12-04 Tom Tromey <tromey@redhat.com>
6086
6087 * java/net/SocketPermission.java (hashCode): Rewrote.
6088
6089 2002-12-04 Tom Tromey <tromey@redhat.com>
6090
6091 * Makefile.in: Rebuilt.
6092 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6093 natResourceBundle.
6094 * java/util/ResourceBundle.java (Security): Removed.
6095 (getCallingClassLoader): Now native.
6096 * java/util/natResourceBundle.cc: New file.
6097 * java/lang/natVMSecurityManager.cc: New file.
6098 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6099
6100 2002-12-03 Mark Wielaard <mark@klomp.org>
6101
6102 * java/util/jar/JarFile.java (manifest): Not final.
6103 (manifestRead): New field.
6104 (JarFile): Don't read Manifest in constructor.
6105 (getManifest): New method.
6106 (JarEnumeration.nextElement): Use new method.
6107 (getEntry): Likewise.
6108 * java/util/zip/ZipFile.java (name): Final.
6109 (raf): Likewsie.
6110 (entries): Change type to Hashtable.
6111 (closed): New field.
6112 (ZipFile): Don't read enties in constructor.
6113 (readEntries): Use Hashtable.
6114 (close): Set new close flag and set entries to null inside
6115 synchronized block.
6116 (entries): Contruct enumeration using new getEntries() method and
6117 entries Hashtable.
6118 (getEntryIndex): Removed.
6119 (getEntries): New method.
6120 (getEntry): Use new getEntries() method and entries Hastable.
6121 (getInputStream): Likewise.
6122 (size): Return getEntries().size().
6123 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6124 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6125 (time): Removed
6126 (dostime): New field.
6127 (zipFileIndex): Removed.
6128 (ZipEntry(ZipEntry)): Copy dostime.
6129 (setDOSTime): Now final and doesn't convert dos time.
6130 (getDOSTime): Likewise.
6131 (setTime): Convert dos time.
6132 (getTime): Likewise.
6133 (getCalendar): New method.
6134 (setExtra): Use setTime().
6135 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6136
6137 2002-12-03 Tom Tromey <tromey@redhat.com>
6138
6139 * java/lang/Character.java (forDigit): Formatting fix.
6140
6141 2002-12-03 Raif Naffah <raif@fl.net.au>
6142
6143 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6144 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6145 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6146
6147 2002-12-03 Andrew Haley <aph@redhat.com>
6148
6149 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6150 _Jv_PushClass.
6151 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6152 (_Jv_PopClass): New.
6153 (_Jv_PushClass): New.
6154 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6155 discover the ClassLoader of our caller.
6156 (_Jv_CheckArrayStore): Don't check that a class is assignment
6157 compatible with Object.
6158 * java/lang/natVMTHrowable.cc: Delete.
6159 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6160 java.lang.VMThrowable.
6161 (StackTrace(), StackTrace(int)): New constructors.
6162 (classAt, methodAt, update, methodAtAddress): New methods.
6163 (map): New field.
6164 * java/lang/VMThrowable.java: Use StackTrace instead of
6165 natVMTHrowable.
6166 * java/lang/Class.h (getClassLoaderInternal): New.
6167 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6168 Be friendly with gnu::gcj::runtime::StackTrace.
6169 (Object.chain): New field.
6170 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6171 gnu::gcj::runtime::StackTrace.
6172 * gnu/gcj/runtime/natStackTrace.cc: New file.
6173 * gnu/gcj/runtime/MethodRef.java: New file.
6174 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6175 instead of getClassLoader().
6176 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6177 java::lang::VMThrowable.
6178 * Makefile.am (core_java_source_files): Add MethodRef.java,
6179 StackTrace.java.
6180 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6181 * Makefile.in: Rebuild.
6182
6183 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6184
6185 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6186 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6187 yes also for sh-linux* and sh[34]*-linux*.
6188 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6189 set SIGNAL_HANDLER to use DWARF2 exception for them.
6190 * configure: Regenerate.
6191
6192 2002-12-02 Tom Tromey <tromey@redhat.com>
6193
6194 * jni.cc: Added `name' argument.
6195 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6196 `const char *' argument.
6197 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6198
6199 2002-12-01 Tom Tromey <tromey@redhat.com>
6200
6201 Bug compatibility, for PR libgcj/8738:
6202 * java/io/CharArrayWriter.java (close): Do nothing.
6203 (flush): Likewise.
6204 (reset): Don't touch `closed'.
6205 (write(int)): Don't throw IOException.
6206 (write(char[],int,int)): Likewise.
6207 (write(String,int,int)): Likewise.
6208 (closed): Removed.
6209
6210 2002-12-01 Mark Wielaard <mark@klomp.org>
6211
6212 * java/lang/SecurityManager.java: Remerge comments, indenting and
6213 checkXXX methods with Classpath.
6214
6215 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6216
6217 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6218 getNormalizedComponents): Fix calculation which was using one too
6219 many bits in the unnormalized format.
6220
6221 2002-11-29 Gary Benson <gbenson@redhat.com>
6222
6223 For PR libgcj/8759:
6224 * java/beans/Introspector.java (flushCaches): New method.
6225 (flushFromCaches): Likewise.
6226
6227 2002-11-29 Michael Koch <konqueror@gmx.de>
6228
6229 * java/nio/channels/DatagramChannel.java
6230 (open): Added exception documentation.
6231 (write): Added exception documentation.
6232 (connect): Added exception documentation.
6233 (disconnect): Added exception documentation.
6234 (isConnected): Added exception documentation.
6235 (read): Added exception documentation.
6236 (receive): Added exception documentation.
6237 (send): Added exception documentation.
6238 (validOps): Added exception documentation.
6239 * java/nio/channels/SocketChannel.java
6240 (open): Added exception documentation.
6241 (read): Added exception documentation.
6242 (write): Added exception documentation.
6243 (connect): Added exception documentation.
6244 (finishConnect): Added exception documentation.
6245
6246 2002-11-29 Michael Koch <konqueror@gmx.de>
6247
6248 * gnu/java/nio/DatagramChannelImpl:
6249 (fd): New member variable to store file descriptor of socket.
6250 * gnu/java/nio/SelectionKeyImpl.java:
6251 (ops): Removed.
6252 (readyOps): New member variable.
6253 (interestOps): New member variable.
6254 (readyOps): Implemented.
6255 (readyOps): New method to set member variable readyOps.
6256 (interestOps): Replaced ops by interestOps.
6257 * gnu/java/nio/SelectorImpl.java:
6258 (SelectorImpl): Initialize key sets.
6259 (select): Call select with -1 instead of Long.MAX_VALUE).
6260 (java_do_select): Make it a native method.
6261 (getFDsAsArray): New helper method.
6262 (select): Remove canceled keys, give only interested file discriptors
6263 to java_do_select, set ready ops.
6264 (add): No need to initialize keys set here.
6265 (add_selected): No need to initialize selected set here.
6266 (deregisterCanceledKeys): New helper method.
6267 (register): Set interest ops, set attachments, added handling of datagram
6268 channels.
6269 * gnu/java/nio/ServerSocketChannelImpl:
6270 (SocketAccept): Renamed from NioSocketAccept.
6271 (implConfigureBlocking): Implemented.
6272 (accept): Use SocketAccept instead of NioSocketAccept.
6273 * gnu/java/nio/SocketChannelImpl:
6274 Reactivate native methods.
6275
6276 2002-11-29 Michael Koch <konqueror@gmx.de>
6277
6278 * gnu/java/nio/natByteBufferImpl.cc,
6279 gnu/java/nio/natCharBufferImpl.cc,
6280 gnu/java/nio/natDoubleBufferImpl.cc,
6281 gnu/java/nio/natFloatBufferImpl.cc,
6282 gnu/java/nio/natIntBufferImpl.cc,
6283 gnu/java/nio/natLongBufferImpl.cc,
6284 gnu/java/nio/natSelectorImpl.cc,
6285 gnu/java/nio/natServerSocketChannelImpl.cc,
6286 gnu/java/nio/natShortBufferImpl.cc,
6287 gnu/java/nio/natSocketChannelImpl.cc:
6288 New files that implement native functionalities.
6289
6290 2002-11-29 Michael Koch <konqueror@gmx.de>
6291
6292 * gnu/java/nio/ByteBufferImpl.java
6293 (ByteBufferImpl): Moved position() after limit.
6294 (nio_*): Use native implementation.
6295 * gnu/java/nio/CharBufferImpl.java:
6296 Reformated.
6297 (endian): New member variable string endianess of buffer.
6298 (CharBufferImpl): Moved position() after limit.
6299 (nio_*): Use native implementation.
6300 (subSequence): Implemented.
6301 * gnu/java/nio/DoubleBufferImpl.java
6302 (DoubleBufferImpl): Moved position() after limit.
6303 (nio_*): Use native implementation.
6304 * gnu/java/nio/FloatBufferImpl.java
6305 Reformated.
6306 (FloatBufferImpl): Moved position() after limit.
6307 (nio_*): Use native implementation.
6308 * gnu/java/nio/IntBufferImpl.java
6309 Added needed imports, Reformated.
6310 (IntBufferImpl): Moved position() after limit.
6311 (nio_*): Use native implementation.
6312 * gnu/java/nio/LongBufferImpl.java
6313 Reformated.
6314 (LongBufferImpl): Moved position() after limit.
6315 (nio_*): Use native implementation.
6316 * gnu/java/nio/ShortBufferImpl.java
6317 Reformated.
6318 (ShortBufferImpl): Moved position() after limit.
6319 (nio_*): Use native implementation.
6320
6321 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6322
6323 * java/util/Locale.java (toString): Improve efficiency if country
6324 and variant are both empty.
6325
6326 2002-11-26 Tom Tromey <tromey@redhat.com>
6327
6328 * verify.cc (pop_init_ref): New method.
6329 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6330 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6331 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6332 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6333 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6334 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6335 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6336 let `this' argument be uninitialized. Don't let `null' be passed
6337 as `this' to construtor.
6338
6339 2002-11-26 Mark Wielaard <mark@klomp.org>
6340
6341 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6342 * javax/transaction/HeuristicMixedException.java: Likewise.
6343 * javax/transaction/HeuristicRollbackException.java: Likewise.
6344 * javax/transaction/InvalidTransactionException.java: Likewise.
6345 * javax/transaction/NotSupportedException.java: Likewise.
6346 * javax/transaction/RollbackException.java: Likewise.
6347 * javax/transaction/Status.java: Likewise.
6348 * javax/transaction/Synchronization.java: Likewise.
6349 * javax/transaction/SystemException.java: Likewise.
6350 * javax/transaction/Transaction.java: Likewise.
6351 * javax/transaction/TransactionManager.java: Likewise.
6352 * javax/transaction/TransactionRequiredException.java: Likewise.
6353 * javax/transaction/TransactionRolledbackException.java: Likewise.
6354 * javax/transaction/UserTransaction.java: Likewise.
6355 * javax/transaction/xa/XAException.java: Likewise.
6356 * javax/transaction/xa/XAResource.java: Likewise.
6357 * javax/transaction/xa/Xid.java: Likewise.
6358
6359 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6360
6361 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6362 define.
6363 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6364 * include/posix.h (socklen_t): Define if not already defined.
6365
6366 2002-11-25 Tom Tromey <tromey@redhat.com>
6367
6368 * verify.cc (type::compatible): Backed out broken change.
6369
6370 * verify.cc (type::compatible): Check initialization status
6371 first.
6372 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6373 Don't use NULLCHECK.
6374
6375 2002-11-23 H.J. Lu <hjl@gnu.org>
6376
6377 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6378 Include ../config/accross.m4.
6379 * aclocal.m4; Rebuild.
6380 * configure: Likewise.
6381
6382 2002-11-23 Mark Wielaard <mark@klomp.org>
6383
6384 * javax/naming/AuthenticationException.java: Update copyright header.
6385 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6386 * javax/naming/Binding.java: Likewise.
6387 * javax/naming/CannotProceedException.java: Likewise.
6388 * javax/naming/CommunicationException.java: Likewise.
6389 * javax/naming/CompositeName.java: Likewise.
6390 * javax/naming/CompoundName.java: Likewise.
6391 * javax/naming/ConfigurationException.java: Likewise.
6392 * javax/naming/Context.java: Likewise.
6393 * javax/naming/ContextNotEmptyException.java: Likewise.
6394 * javax/naming/InitialContext.java: Likewise.
6395 * javax/naming/InsufficientResourcesException.java: Likewise.
6396 * javax/naming/InterruptedNamingException.java: Likewise.
6397 * javax/naming/LimitExceededException.java: Likewise.
6398 * javax/naming/LinkException.java: Likewise.
6399 * javax/naming/LinkLoopException.java: Likewise.
6400 * javax/naming/LinkRef.java: Likewise.
6401 * javax/naming/MalformedLinkException.java: Likewise.
6402 * javax/naming/NameAlreadyBoundException.java: Likewise.
6403 * javax/naming/NameClassPair.java: Likewise.
6404 * javax/naming/NameNotFoundException.java: Likewise.
6405 * javax/naming/NameParser.java: Likewise.
6406 * javax/naming/NamingEnumeration.java: Likewise.
6407 * javax/naming/NamingSecurityException.java: Likewise.
6408 * javax/naming/NoInitialContextException.java: Likewise.
6409 * javax/naming/NoPermissionException.java: Likewise.
6410 * javax/naming/NotContextException.java: Likewise.
6411 * javax/naming/OperationNotSupportedException.java: Likewise.
6412 * javax/naming/PartialResultException.java: Likewise.
6413 * javax/naming/Reference.java: Likewise.
6414 * javax/naming/Referenceable.java: Likewise.
6415 * javax/naming/ReferralException.java: Likewise.
6416 * javax/naming/ServiceUnavailableException.java: Likewise.
6417 * javax/naming/SizeLimitExceededException.java: Likewise.
6418 * javax/naming/TimeLimitExceededException.java: Likewise.
6419 * javax/naming/directory/Attribute.java: Likewise.
6420 * javax/naming/directory/AttributeInUseException.java: Likewise.
6421 * javax/naming/directory/AttributeModificationException.java: Likewise.
6422 * javax/naming/directory/Attributes.java: Likewise.
6423 * javax/naming/directory/BasicAttribute.java: Likewise.
6424 * javax/naming/directory/BasicAttributes.java: Likewise.
6425 * javax/naming/directory/DirContext.java: Likewise.
6426 * javax/naming/directory/InitialDirContext.java: Likewise.
6427 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6428 Likewise.
6429 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6430 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6431 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6432 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6433 * javax/naming/directory/ModificationItem.java: Likewise.
6434 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6435 * javax/naming/directory/SchemaViolationException.java: Likewise.
6436 * javax/naming/directory/SearchControls.java: Likewise.
6437 * javax/naming/directory/SearchResult.java: Likewise.
6438 * javax/naming/event/EventContext.java: Likewise.
6439 * javax/naming/event/EventDirContext.java: Likewise.
6440 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6441 * javax/naming/event/NamingEvent.java: Likewise.
6442 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6443 * javax/naming/event/NamingListener.java: Likewise.
6444 * javax/naming/event/ObjectChangeListener.java: Likewise.
6445 * javax/naming/ldap/Control.java: Likewise.
6446 * javax/naming/ldap/ControlFactory.java: Likewise.
6447 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6448 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6449 * javax/naming/ldap/HasControls.java: Likewise.
6450 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6451 * javax/naming/ldap/LdapContext.java: Likewise.
6452 * javax/naming/ldap/LdapReferralException.java: Likewise.
6453 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6454 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6455 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6456 * javax/naming/spi/DirObjectFactory.java: Likewise.
6457 * javax/naming/spi/DirStateFactory.java: Likewise.
6458 * javax/naming/spi/DirectoryManager.java: Likewise.
6459 * javax/naming/spi/InitialContextFactory.java: Likewise.
6460 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6461 * javax/naming/spi/NamingManager.java: Likewise.
6462 * javax/naming/spi/ObjectFactory.java: Likewise.
6463 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6464 * javax/naming/spi/ResolveResult.java: Likewise.
6465 * javax/naming/spi/Resolver.java: Likewise.
6466 * javax/naming/spi/StateFactory.java: Likewise.
6467
6468 * javax/naming/spi/NamingManager.java (ofb): Package private.
6469
6470 2002-11-21 Mark Wielaard <mark@klomp.org>
6471
6472 * java/net/URL.java: Merge with Classpath (partly).
6473 * java/net/URLStreamHandler: Merge with Classpath.
6474
6475 2002-11-22 Michael Koch <konqueror@gmx.de>
6476
6477 * include/posix.h:
6478 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6479 * include/win32.h:
6480 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6481 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6482
6483 2002-11-21 Michael Koch <konqueror@gmx.de>
6484
6485 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6486 Only the new network functions should be in it.
6487
6488 2002-11-21 Michael Koch <konqueror@gmx.de>
6489
6490 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6491 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6492
6493 2002-11-21 Michael Koch <konqueror@gmx.de>
6494
6495 * java/nio/channels/AsynchronousCloseException.java,
6496 java/nio/channels/CancelledKeyException.java,
6497 java/nio/channels/ClosedByInterruptException.java,
6498 java/nio/channels/ConnectionPendingException.java,
6499 java/nio/channels/FileLockInterruptionException.java,
6500 java/nio/channels/IllegalSelectorException.java,
6501 java/nio/channels/NoConnectionPendingException.java,
6502 java/nio/channels/NonReadableChannelException.java,
6503 java/nio/channels/NonWritableChannelException.java,
6504 java/nio/channels/NotYetBoundException.java,
6505 java/nio/channels/NotYetConnectedException.java,
6506 java/nio/channels/OverlappingFileLockException.java,
6507 java/nio/channels/UnresolvedAddressException.java,
6508 java/nio/channels/UnsupportedAddressTypeException.java:
6509 New files.
6510 * Makefile.am (ordinary_java_source_files): Added new files.
6511 * Makefile.in: Regenerated.
6512
6513 2002-11-21 Michael Koch <konqueror@gmx.de>
6514
6515 * include/posix.h
6516 (_Jv_socket): New method.
6517 (_Jv_connect): New method.
6518 (_Jv_close): New method.
6519 (_Jv_platform_close_on_exec): Prefixed system function with "::".
6520 (_Jv_bind): New method.
6521 (_Jv_listen): New method.
6522 (_Jv_write): New method.
6523 (_Jv_read): New method.
6524 * include/win32.h
6525 (_Jv_socket): New method.
6526 (_Jv_connect): New method.
6527 (_Jv_close): New method.
6528 (_Jv_bind): New method.
6529 (_Jv_listen): New method.
6530 (_Jv_write): New method.
6531 (_Jv_read): New method.
6532 * java/net/natNetworkInterface.cc:
6533 Include platform.h, removed inclusion of socket.h
6534 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6535 ::close() by _Jv_close().
6536 * java/net/natPlainDatagramSocketImpl.cc:
6537 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6538 added some new lines to make code more readable.
6539 (create): Replaced ::socket() by _Jv_socket().
6540 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6541 * java/net/natPlainSocketImpl.cc:
6542 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6543 removed include of socket.h, removed some windows defines
6544 (now in include/win32.h).
6545 (create): Replaced ::socket() by _Jv_socket().
6546 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6547 (write): Replaced ::read by _Jv_write().
6548 (read): Replaced ::read by _Jv_read().
6549
6550 2002-11-20 Michael Koch <konqueror@gmx.de>
6551
6552 * Makefile.am (ordinary_java_source_files):
6553 Added java/nio/channels/FileChannel.java.
6554 * Makefile.in: Regenerated.
6555
6556 2002-11-20 Michael Koch <konqueror@gmx.de>
6557
6558 * java/io/FileInputStream.java
6559 (getChannel): New method.
6560 * java/io/FileOutputStream.java
6561 (getChannel): New method.
6562 * java/net/ServerSocket.java
6563 (bind): Removed duplicate code and called another bind method instead.
6564 * java/nio/channels/SelectionKey.java
6565 (isValid): Removed wrong exception documentation.
6566 * java/nio/channels/ServerSocketChannel.java
6567 (accept): Added exception documentation.
6568 (open): Fixed typo, added exception documentation.
6569 * java/nio/channels/spi/AbstractSelectableChannel.java
6570 (implCloseChannel): Added exception documentation.
6571 (add): Reformated.
6572 (register): Added exception documentation.
6573
6574 2002-11-20 Andreas Jaeger <aj@suse.de>
6575
6576 * configure: Regenerated with new libtool.m4.
6577
6578 2002-11-19 Tom Tromey <tromey@redhat.com>
6579
6580 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6581 `referent'.
6582 (finalize_referred_to_object): Don't modify `referent' or `copy'
6583 fields.
6584 (add_to_hash): Correctly set `n->next' when updating list.
6585 * java/lang/ref/Reference.java (enqueue): Return false if already
6586 enqueued.
6587
6588 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
6589
6590 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6591 to function and function pointer declarations in accordance with
6592 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6593 based on whether __GCJ_JNI_IMPL__ has been defined or not.
6594 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6595 JNI function definitions.
6596
6597 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6598
6599 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6600 that was causing CoderResults to be cached, not WeakReferences
6601 to CoderResults.
6602
6603 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6604
6605 * java/security/KeyStore.java (getInstance): Fix
6606 comment and throw IllegalArgumentException if
6607 given provider is null.
6608 (getInstance): New method for jdk1.4 compatibility.
6609
6610 2002-11-18 Michael Koch <konqueror@gmx.de>
6611
6612 * java/net/PlainSocketImpl.java: Fix imports.
6613
6614 2002-11-18 Michael Koch <konqueror@gmx.de>
6615
6616 * java/nio/channels/SelectionKey.java
6617 (isValid): Added exception documentation.
6618 * java/nio/channels/Selector.java
6619 (open): Declare "throws IOException".
6620
6621 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6622
6623 * java/nio/charset/Charset.java
6624 (<clinit>): New method.
6625 (encode): Synchronize use of cached encoder object.
6626 (decode): Synchronize use of cached encoder object.
6627
6628 2002-11-18 Michael Koch <konqueror@gmx.de>
6629
6630 * gnu/java/nio/ByteBufferImpl.java,
6631 gnu/java/nio/CharBufferImpl.java,
6632 gnu/java/nio/DatagramChannelImpl.java,
6633 gnu/java/nio/DoubleBufferImpl.java,
6634 gnu/java/nio/FileChannelImpl.java,
6635 gnu/java/nio/FloatBufferImpl.java,
6636 gnu/java/nio/IntBufferImpl.java,
6637 gnu/java/nio/LongBufferImpl.java,
6638 gnu/java/nio/PipeImpl.java,
6639 gnu/java/nio/SelectionKeyImpl.java,
6640 gnu/java/nio/SelectorImpl.java,
6641 gnu/java/nio/SelectorProviderImpl.java,
6642 gnu/java/nio/ServerSocketChannelImpl.java,
6643 gnu/java/nio/ShortBufferImpl.java,
6644 gnu/java/nio/SocketChannelImpl.java,
6645 java/nio/DoubleBuffer.java,
6646 java/nio/FloatBuffer.java,
6647 java/nio/IntBuffer.java,
6648 java/nio/LongBuffer.java,
6649 java/nio/ShortBuffer.java,
6650 java/nio/channels/FileChannel.java: New files.
6651
6652 2002-11-18 Michael Koch <konqueror@gmx.de>
6653
6654 * Makefile.am (ordinary_java_source_files):
6655 Added java/nio/ReadOnlyBufferException.java and
6656 java/nio/channels/ClosedSelectorException.java.
6657 * Makefile.in: Regenerated.
6658
6659 2002-11-18 Michael Koch <konqueror@gmx.de>
6660
6661 * java/net/PlainSocketImpl.java: Reworked imports.
6662 * java/net/ServerSocket.java
6663 (ServerSocket): Create socket.
6664 * java/net/SocketAddress.java: Documentation added.
6665 * java/net/natPlainSocketImpl.cc: Reindented.
6666 * java/nio/ReadOnlyBufferException.java: New file
6667 * java/nio/channels/ClosedChannelException.java: Documentation added.
6668 * java/nio/channels/ClosedSelectorException.java: New file.
6669
6670 2002-11-17 Mark Wielaard <mark@klomp.org>
6671
6672 * java/net/HttpURLConnection.java ((getPermission): Take port
6673 into consideration.
6674 (getErrorStream): Implement.
6675
6676 2002-11-17 Mark Wielaard <mark@klomp.org>
6677
6678 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6679
6680 2002-11-16 Mark Wielaard <mark@klomp.org>
6681
6682 Integrate work by Raif S. Naffah (raif@fl.net.au)
6683 * java/security/DummyKeyPairGenerator.java (clone): New method.
6684 * java/security/DummyMessageDigest.java (clone): New method.
6685 (engineUpdate): Now public.
6686 (engineReset): Likewise.
6687 (engineDigest): Likewise.
6688 (engineGetDigestLength): New method.
6689 * java/security/DummySignature.java (clone): New method.
6690 * java/security/KeyPairGenerator.java (provider): Now package private.
6691 (getInstance(String)): Use getInstance(String,Provider).
6692 (getInstance(String,String): Use getInstance(String,Provider)
6693 (getInstance(String,Provider): New method.
6694 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6695 * java/security/KeyPairGeneratorSpi.java (clone): New method.
6696 * java/security/MessageDigest.java (provider): Now package private.
6697 (getInstance(String): Use getInstance(String,Provider).
6698 (getInstance(String,String): Use getInstance(String,Provider)
6699 (getInstance(String,Provider): New method.
6700 * java/security/Provider.java (toCanonicalKey): New method.
6701 (get): New method that uses toCanonicalKey().
6702 (put): Use toCanonicalKey().
6703 (remove): Likewise.
6704 * java/security/Security.java (insertProviderAt): Provider index is one
6705 based, not zero based.
6706 (addProvider): Likewise.
6707 (removeProvider): Likewise.
6708 * java/security/Signature.java (provider): Now package private.
6709 (getInstance(String)): Use getInstance(String,Provider).
6710 (getInstance(String,String): Use getInstance(String,Provider)
6711 (getInstance(String,Provider): New method.
6712 (getInstance(String,String,Provider): Don't cast DummySignature.
6713
6714 2002-11-15 Tom Tromey <tromey@redhat.com>
6715
6716 For PR libgcj/8593:
6717 * java/util/zip/GZIPInputStream.java (read): Check file size.
6718 Look in inflater for remaining input bytes.
6719 (read4): Added buf and offset arguments.
6720
6721 2002-11-12 Eric Blake <ebb9@email.byu.edu>
6722
6723 * java/applet/AppletContext.java: Fix typo and remove redundant
6724 modifiers.
6725
6726 2002-11-14 Tom Tromey <tromey@redhat.com>
6727
6728 * java/lang/natRuntime.cc (insertSystemProperties): Set
6729 gnu.classpath.home.
6730
6731 2002-11-13 Michael Koch <konqueror@gmx.de>
6732
6733 * java/nio/ByteBuffer.java
6734 (allocate): New method.
6735 (wrap): New method.
6736 (put): New method.
6737 (get): New method.
6738
6739 2002-11-13 Michael Koch <konqueror@gmx.de>
6740
6741 * java/nio/channels/AlreadyConnectedException.java:
6742 Removed unneeded import.
6743 (AlreadyConnectedException): Documentation added.
6744 * java/nio/channels/Pipe.java
6745 (SinkChannel.SinkChannel): Documentation added.
6746 (SinkChannel.validOps): New method.
6747 (SourceChannel.SourceChannel): Documentation added.
6748 (SourceChannel.validOps): New method.
6749 (Pipe): Documentation added.
6750 (open): Documentation added.
6751 (SinkChannel.channel): Documentation added.
6752 (SourceChannel.channel): Documentation added.
6753 * java/nio/channel/SelectableChannel.java
6754 (SelectableChannel): Documentation added.
6755 (blockingLock): Documentation added.
6756 (configureBlocking):Documentation added.
6757 (isBlocking):Documentation added.
6758 (isRegistered):Documentation added.
6759 (keyFor):Documentation added.
6760 (provider):Documentation added.
6761 (register): Documentation added.
6762 (validOps): Documentation added.
6763 * jaba/nio/channels/SelectionKey.java
6764 (SelectionKey): Documentation added.
6765 (attach): Documentation added.
6766 (attachment): Documentation added.
6767 (isAcceptable): Documentation added.
6768 (isConnetable): Documentation added.
6769 (isReadable): Documentation added.
6770 (isWritable): Documentation added.
6771 (cancel): Documentation added.
6772 (channel): Documentation added.
6773 (interestOps): Documentation added.
6774 (isValid): Documentation added.
6775 (readyOps): Documentation added.
6776 (selector): Documentation added.
6777 * jaba/nio/channels/Selector.java
6778 (Selector): Documentation added.
6779 (open): Documentation added.
6780 (close): Documentation added.
6781 (isOpen): Documentation added.
6782 (keys): Documentation added.
6783 (provider): Documentation added.
6784 (select): Documentation added.
6785 (selectedKeys): Documentation added.
6786 (selectNow): Documentation added.
6787 (wakeup): Documentation added.
6788 * java/nio/channels/spi/AbstractInterruptibleChannel.java
6789 (AbstractInterruptibleChannel): Documentation added.
6790 (opened): Default to true;
6791 (begin): Documentation added.
6792 (close): Set opened to false, documentation added.
6793 (isOpen): Documentation added.
6794 * java/nio/channels/spi/AbstractSelectionKey.java
6795 (AbstractSelectionKey): Documentation added.
6796 (cancel): Documentation added.
6797 (isValid): Documentation added.
6798 * java/nio/channels/spi/AbstractSelector.java
6799 (AbstractSelector): Documentation added.
6800 (begin): Documentation added.
6801 (close): Documentation added.
6802 (isOpen): Documentation added.
6803 (deregister): Documentation added.
6804 (end): Documentation added.
6805 (provider): Documentation added.
6806 (implCloseSelector): Documentation added.
6807 (register): Documentation added.
6808 * java/nio/channels/spi/SelectorProvider.java
6809 (SelectorProvider): Documentation added.
6810 (openDatagramChannel): Documentation added.
6811 (openPipe): Documentation added.
6812 (openSelector): Documentation added.
6813 (openServerSocketChannel): Documentation added.
6814 (openSocketChannel): Documentation added.
6815 (provider): Documentation added.
6816
6817 2002-11-12 Michael Koch <konqueror@gmx.de>
6818
6819 * java/nio/Buffer.java: Implemented.
6820 * java/nio/CharBuffer.java: New file.
6821 * java/nio/InvalidMarkException.java: New file.
6822 * java/nio/channels/DatagramChannel.java: Implemented.
6823 * java/nio/channels/ServerSocketChannel.java: Implemented.
6824 * java/nio/channels/SocketChannel.java: Implemented.
6825 * java/nio/channels/spi/AbstractChannel.java: Removed.
6826 * java/nio/channels/spi/AbstractSelectableChannel.java:
6827 Implemented.
6828 * java/nio/charset/Charset.java:
6829 Merge from Classpath.
6830 * java/nio/charset/CharsetDecoder.java: New file.
6831 * java/nio/charset/CharsetEncoder.java: New file.
6832 * java/nio/charset/CoderResult.java: New file.
6833 * Makefile.am (ordinary_java_source_files): Added new files.
6834 * Makefile.in: Regenerated.
6835
6836 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6837
6838 * gnu/java/nio/charset/ISO_8859_1.java,
6839 gnu/java/nio/charset/Provider.java,
6840 gnu/java/nio/charset/US_ASCII.java,
6841 gnu/java/nio/charset/UTF_16.java,
6842 gnu/java/nio/charset/UTF_16BE.java,
6843 gnu/java/nio/charset/UTF_16Decoder.java,
6844 gnu/java/nio/charset/UTF_16Encoder.java,
6845 gnu/java/nio/charset/UTF_16LE.java,
6846 gnu/java/nio/charset/UTF_8.java: New files.
6847
6848 2002-11-11 Michael Koch <konqueror@gmx.de>
6849
6850 * java/nio/charset/CharacterCodingException.java:
6851 This class must be public.
6852 * java/nio/charset/CoderMalfunctionError.java:
6853 This class must be public.
6854 * java/nio/charset/CodingErrorAction.java:
6855 This class must be public.
6856 * java/nio/charset/IllegalCharsetNameException.java:
6857 This class must be public, better implementation.
6858 * java/nio/charset/MalformedInputException.java:
6859 This class must be public, better implementation.
6860 * java/nio/charset/UnmappableCharacterException.java:
6861 This class must be public, better implementation.
6862 * java/nio/charset/UnsupportedCharsetException.java:
6863 This class must be public, better implementation.
6864
6865 2002-11-11 Michael Koch <konqueror@gmx.de>
6866
6867 * java/nio/BufferOverflowException.java,
6868 java/nio/BufferUnderflowException.java: New file.
6869 * Makefile.am (ordinary_java_source_files):
6870 Added new files.
6871 * Makefile.in: Regenerated.
6872
6873 2002-11-10 Tom Tromey <tromey@redhat.com>
6874
6875 * java/awt/Container.java (validate): Use tree lock.
6876 (getComponent): Likewise.
6877 (getComponents): Likewise.
6878 (addImpl): Likewise.
6879 (remove): Likewise.
6880 (removeAll): Likewise.
6881 (processEvent): Fixed indentation.
6882 (getComponentAt): Use tree lock.
6883 (findComponentAt): Likewise.
6884 (removeNotify): Likewise.
6885 (isAncestorOf): Likewise.
6886 (list): Likewise.
6887 (visitChildren): Likewise.
6888 (findNextFocusComponent): Likewise.
6889 (addNotifyContainerChildren): Likewise.
6890 (getAccessibleChildrenCount): Likewise.
6891 (getAccessibleChild): Likewise.
6892
6893 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6894 (getSize): Likewise.
6895 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6896 (getSize): Likewise.
6897 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6898 (calcSize): Likewise.
6899 * java/awt/CardLayout.java (getSize): Use tree lock.
6900 (gotoComponent): Likewise.
6901 (layoutContainer): Likewise.
6902
6903 * java/io/natFileDescriptorWin32.cc (read): Handle case where
6904 count is 0.
6905 * java/io/natFileDescriptorPosix.cc (read): Handle case where
6906 count is 0.
6907
6908 * java/io/Externalizable.java, java/io/FilePermission.java,
6909 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6910 java/io/SerializablePermission.java, java/text/Format.java,
6911 java/util/AbstractMap.java, java/util/HashMap.java,
6912 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6913 versions from Classpath.
6914
6915 2002-11-10 Anthony Green <green@redhat.com>
6916
6917 * java/util/jar/Attributes.java (Name): Fix name check.
6918
6919 2002-11-10 Mark Wielaard <mark@klomp.org>
6920
6921 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6922 with getName() as message.
6923 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6924 type as message.
6925
6926 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6927 unused.
6928
6929 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
6930
6931 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6932 for Win32. JNICALL has been defined to __stdcall to be compatible
6933 with Sun's JDKs.
6934
6935 2002-11-10 Tom Tromey <tromey@redhat.com>
6936
6937 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6938 (setRows): Check newRows, not rows.
6939
6940 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6941
6942 2002-11-09 Tom Tromey <tromey@redhat.com>
6943
6944 * java/applet/Applet.java, java/applet/AppletContext.java,
6945 java/applet/AppletStub.java, java/applet/AudioClip.java,
6946 java/awt/CardLayout.java,
6947 java/awt/ContainerOrderFocusTraversalPolicy.java,
6948 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6949 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6950 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6951 java/awt/color/ICC_ColorSpace.java,
6952 java/awt/color/ICC_Profile.java,
6953 java/awt/color/ICC_ProfileGray.java,
6954 java/awt/color/ICC_ProfileRGB.java,
6955 java/awt/datatransfer/DataFlavor.java,
6956 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6957 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6958 New versions from Classpath.
6959 * Makefile.in: Rebuilt.
6960 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6961 ICC_ProfileRGB.
6962
6963 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6964 display policy.
6965
6966 * java/awt/List.java (processEvent): Added missing `else's.
6967
6968 * java/awt/Window.java (show): validate() before showing. Make
6969 parent displayable.
6970 (isDisplayable): New method.
6971
6972 2002-11-07 Mark Wielaard <mark@klomp.org>
6973
6974 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6975 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6976
6977 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6978 annotation.
6979 (loadClass): Take String as codebases.
6980 (getClassAnnotation): Use MyClassLoader annotations.
6981 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6982 call exportObject(this).
6983
6984 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6985 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6986 (setAnnotation): Don't set locBytesStream and locStream.
6987 (replaceObject): Removed.
6988 (flush): Don't test locStream.
6989 (getLocBytes): LikeWise.
6990 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6991 (leaseCache): New field.
6992 (dirty): Use leaseCache.
6993 (LeaseRecord): New inner class.
6994 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6995 explicitly call exportObject().
6996 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6997 false to communicate with Sun JDK130.
6998 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6999 * gnu/java/rmi/server/RMIObjectInputStream.java
7000 (UnicastConnectionManager): Removed field.
7001 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7002 Use UnicastServer.getExportedRef().
7003 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7004 (expireTime): Likewise.
7005 (CONNECTION_TIMEOUT): Likewise.
7006 (disconnect): Call sock.close().
7007 (isExpired): New method.
7008 (resetTime): Likewise.
7009 (run): Use do while loop and catch Exception for discardConnection().
7010 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7011 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7012 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7013 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7014 (exportObject): Use refcache.
7015 (unexportObject): Likewise.
7016 (getExportedRef): New method.
7017 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7018 constructor.
7019 (exportObject): Save manager.serverobj.
7020 (getStub): New method.
7021
7022 2002-11-07 Mark Wielaard <mark@klomp.org>
7023
7024 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7025 (getByte): Likewise.
7026 (getShort): Likewise.
7027 (getInt): Likewise.
7028 (getLong): Likewise.
7029 (getFloat): Likewise.
7030 (getDouble): Likewise.
7031 (get): Likewise.
7032 (setChar): Likewise.
7033 (setByte): Likewise.
7034 (setShort): Likewise.
7035 (setInt): Likewise.
7036 (setLong): Likewise.
7037 (setFloat): Likewise.
7038 (setDouble): Likewise.
7039
7040 2002-11-07 Michael Koch <konqueror@gmx.de>
7041
7042 * java/awt/Choice.java,
7043 java/awt/Container.java,
7044 java/awt/GridBagLayout.java:
7045 Fixed documentation.
7046 * java/awt/peer/ContainerPeer.java:
7047 Reindented.
7048
7049 2002-11-07 Michael Koch <konqueror@gmx.de>
7050
7051 * java/awt/color/ICC_Profile.java:
7052 Added missing constants.
7053 * java/awt/color/ICC_ColorSpace.java
7054 (getMinValue): Added dummy implementation.
7055 (getMaxValue): Added dummy implementation.
7056 * java/awt/datatransfer/DataFlavor.java
7057 (imageFlavor): Added.
7058 (isMimeTypeEqual): Must be final.
7059 (getDefaultRepresentationClass): Must be non-static.
7060 (getDefaultRepresentationClassAsString): Must be non-static.
7061 * java/awt/dnd/DragSourceContext.java
7062 (dragExit): Corrected argument.
7063 (dragDropEnd): Corrected argument.
7064 * java/awt/dnd/DragSourceListener.java.java
7065 (dragExit): Corrected argument.
7066 (dragDropEnd): Corrected argument.
7067 * java/awt/font/TextHitInfo.java
7068 (toString): Added stubbed implementation.
7069 * java/awt/geom/PathIterator.java:
7070 The constants must be static.
7071 * java/awt/image/VolatileImage.java
7072 (IMAGE_INCOMPATIBLE): Fixed typo.
7073 * java/awt/image/renderable/RenderableImage.java
7074 (HINTS_OBSERVED): Must be static.
7075 * java/beans/BeanInfo.java:
7076 Constants must be final.
7077
7078 2002-11-06 Tom Tromey <tromey@redhat.com>
7079
7080 From svens@it.uu.se. For PR libgcj/8481.
7081 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7082
7083 2002-11-06 Tom Tromey <tromey@redhat.com>
7084
7085 * jni.cc (array_from_valist): Assume that jlong won't be
7086 promoted.
7087
7088 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7089
7090 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7091 Return 20.
7092 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7093 Return 16.
7094
7095 2002-11-03 Tom Tromey <tromey@redhat.com>
7096
7097 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7098 VMClassLoader, not findClass.
7099
7100 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7101
7102 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7103 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7104 _Jv_DetermineVTableIndex, to determine vtable offset.
7105 (_Jv_DetermineVTableIndex): Remove.
7106 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7107
7108 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7109
7110 2002-11-03 Tom Tromey <tromey@redhat.com>
7111
7112 * java/nio/channels/AlreadyConnectedException.java: Extend
7113 IllegalStateException, per spec.
7114
7115 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7116
7117 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7118
7119 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7120
7121 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7122 size items.
7123
7124 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7125
7126 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7127 initial estimated size to avoid enlarge buffer frequently.
7128
7129 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7130
7131 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7132 ClassLoader when null.
7133 (ProxyType.hashCode): Loader null check no longer needed.
7134 (ProxyType.sameTypes): New method.
7135 (ProxyType.equals): Use new method.
7136
7137 2002-10-31 Mark Wielaard <mark@klomp.org>
7138
7139 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7140 length of String.
7141 * java/net/URLEncoder.java (encode): Likewise.
7142
7143 2002-10-31 Mark Wielaard <mark@klomp.org>
7144
7145 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7146 when stream is closed.
7147 (closeEntry): Likewise.
7148 (read): Likewise.
7149 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7150 ZipException when no entry active.
7151 (closeEntry): Likewise.
7152 (write): Likewise.
7153
7154 2002-11-02 Tom Tromey <tromey@redhat.com>
7155
7156 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7157 * java/lang/natClass.cc (initializeClass): Don't return just
7158 because self==thread.
7159
7160 For PR java/8415:
7161 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7162 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7163
7164 2002-11-02 Andreas Schwab <schwab@suse.de>
7165
7166 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7167 pass GCJFLAGS.
7168 (FLAGS_TO_PASS): Define.
7169 * Makefile.in: Regenerated.
7170
7171 2002-11-01 Michael Koch <konqueror@gmx.de>
7172
7173 * java/nio/ByteOrder.java: New file.
7174 * java/nio/channels/DatagramChannel.java:
7175 (DatagramChannel): New constructor.
7176 * java/nio/channels/Pipe.java: New file.
7177 * java/nio/channels/SelectableChannel.java: New file.
7178 * java/nio/channels/SelectionKey.java: New file.
7179 * java/nio/channels/Selector.java: New file.
7180 * java/nio/channels/ServerSocketChannel.java
7181 (ServerSocketChannel): New constructor.
7182 * java/nio/channels/SocketChannel.java
7183 (SocketChannel): New constructor.
7184 * java/nio/channels/Pipe.java: New file.
7185 * java/nio/channels/spi/AbstractChannel.java: New file.
7186 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7187 * java/nio/channels/spi/AbstractSelectableChannel.java:
7188 License added
7189 (AbstractSelectableChannel): New stubbed method.
7190 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7191 * java/nio/channels/spi/AbstractSelector.java: New file.
7192 * java/nio/channels/spi/SelectorProvider.java: New file.
7193 * java/nio/charset/Charset.java: New file.
7194 * java/nio/charset/CoderMalfunctionError.java: New file.
7195 * java/nio/charset/CodingErrorAction.java: New file.
7196 * java/nio/charset/spi/CharsetProvider.java
7197 (charsetForName): Uncommented.
7198 * Makefile.am (java_native_source_files): Added new files.
7199 * Makefile.in: Regenerated.
7200
7201 2002-11-01 Michael Koch <konqueror@gmx.de>
7202
7203 * java/net/InetAddress.java:
7204 (isAnyLocalAddress): Implemented.
7205 (isLoopbackAddress): Implemented, comment added.
7206 (isLinkLocalAddress): Implemented, documentation added.
7207 (isSiteLocalAddress): Implemented, documentation added.
7208 (isMCGlobal): Implemented, documentation added.
7209 (isMCNodeLocal): Implemented, documentation added.
7210 (isMCLinkLocal): Implemented, documentation added.
7211 (isMCSiteLocal): Implemented, documentation added.
7212 (isMCOrgLocal): Implemented, documentation added.
7213 (getHostName): Documentation added.
7214 (getCanonicalHostName): Implemented, documentation added.
7215 (getAddress): Documentation added.
7216 (hashCode): Documentation added.
7217 (equals): Documentation added.
7218 (toString): Fixed implementation.
7219 (getByAddress): Use Inet4Address and Inet6Address.
7220 (lookup): New linewrap.
7221 (getByName): SecurityManager check added, support Inet4Address and
7222 Inet6address, comments added.
7223 (getAllByName): SecurityManager check added, comments added.
7224 * java/net/Inet6Address.java:
7225 (Inet6Address): Initialize parent class with addr instead of null.
7226 * java/net/URL.java
7227 (equals): Documentation added.
7228 (getFile): Documentation added.
7229 (hashCode): Documentation added.
7230 * java/net/natInetAddress.cc:
7231 (aton): Fix IPv6 support.
7232 * java/net/natPlainDatagramSocketImpl.cc:
7233 (peek): Throw PortUnreachableException when suitable.
7234 (peekData): Throw PortUnreachableException when suitable.
7235 (send): Throw PortUnreachableException when suitable.
7236 (receive): Throw PortUnreachableException when suitable.
7237
7238 2002-10-27 Mark Wielaard <mark@klomp.org>
7239
7240 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7241 argument.
7242 (readLeShort): Likewise and use byte[].
7243 (readLeInt): Likewise.
7244 (readEntries): Use new versions of methods and use byte[] for reading
7245 a complete zip entry. Add ZipFile name to exceptions.
7246 (entries): Add ZipFile name to exceptions.
7247 (getEntry): Likewise.
7248 (checkLocalHeader): Use new versions of methods and add ZipFile name
7249 to exceptions.
7250
7251 2002-10-31 Mark Anderson <mark@panonet.net>
7252
7253 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7254 added
7255
7256 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7257
7258 * configure.in: Disable hash sync when not using threads.
7259 * configure: Regenerated.
7260
7261 2002-10-24 Tom Tromey <tromey@redhat.com>
7262
7263 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7264 (_Jv_FindSymbolInExecutable): Removed argument name.
7265 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7266 java.library.path is set.
7267
7268 * gij.cc (help): Document --showversion.
7269 (version): Don't exit.
7270 (main): Handle --showversion. Exit if --version given.
7271
7272 2002-10-23 Tom Tromey <tromey@redhat.com>
7273
7274 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7275 (array_from_valist): Correctly handle promotion for jint, jlong,
7276 jfloat, and jdouble.
7277
7278 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7279
7280 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7281 GetFileAttributesEx( ) to find file length and modification times,
7282 as the latter is not present on Windows 95.
7283
7284 2002-10-21 Michael Koch <konqueror@gmx.de>
7285
7286 * java/net/URL.java
7287 (URL): Activate SecurityManager checks.
7288 (equals): Use URLStreamHandler implementation instead of doing it
7289 alone. This allows special protocol stream handlers to change default
7290 behaviour.
7291 (hashCode): Use URLStreamHandler implementation instead of doing it
7292 alone. This allows special protocol stream handlers to change default
7293 behaviour.
7294 * java/net/URLStreamHandler.java
7295 (equals): Implemented default URL equality check.
7296 (hostsEqual): Implemented default URL equality check.
7297 (hashCode): Implemented default URL hashCode algorithm.
7298 * java/net/natPlainDatagramSocketImpl.cc:
7299 No lines longer then 80 characters.
7300
7301 2002-10-20 Adam Megacz <adam@xwt.org>
7302
7303 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7304 * configure.in: enabled hash sync on Win32
7305 * include/win32-threads.h (_Jv_ThreadId_t): added.
7306 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7307 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7308 removed some posix-isms, use Thread::sleep() instead of usleep,
7309 added code to clear bottom three bits if platform has a broken
7310 linker.
7311 * include/win32-threads.h (_Jv_ThreadId_t): added.
7312
7313 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7314
7315 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7316 runtime property "gnu.gcj.progname" containing the name used to
7317 invoke the current Java program (similar to argv[0] for C
7318 programs).
7319
7320 2002-10-15 Tom Tromey <tromey@redhat.com>
7321
7322 Fix for PR libgcj/8234:
7323 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7324 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7325
7326 2002-10-13 Mark Wielaard <mark@klomp.org>
7327
7328 * mauve-libgcj: Enable Mauve tests that compile now.
7329
7330 2002-10-11 Mark Wielaard <mark@klomp.org>
7331
7332 Fix for PR libgcj/8142
7333 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7334 loading native modules.
7335
7336 2002-10-10 Michael Koch <konqueror@gmx.de>
7337
7338 * javax/swing/AbstractListModel.java
7339 (getListDataListeners): New stubbed method.
7340 javax/swing/DefaultBoundedRangeModel.java
7341 (getChangeListeners): New stubbed method.
7342 javax/swing/DefaultSingleSelectionModel.java
7343 (getChangeListeners): New stubbed method.
7344
7345 2002-10-10 Michael Koch <konqueror@gmx.de>
7346
7347 * gcj/.cvsignore: New file to ignore files generated during build.
7348 * include/.cvsignore: New file to ignore files generated during build.
7349
7350 2002-10-10 Michael Koch <konqueror@gmx.de>
7351
7352 * java/net/HttpURLConnection.java
7353 (getPermission): New method.
7354 (getErrorStream): New stub method.
7355 (getHeaderFieldDate): New stub method.
7356 * java/net/Inet4Address.java:
7357 (isLinkLocalAddress): Typo fixed.
7358 * java/net/InetAddress.java:
7359 (readResolve): New stubbed method (for serialization).
7360 (isAnyLocalAddress): New stubbed method.
7361 (isLoopbackAddress): New stubbed method.
7362 (isLinkLocalAddress): New stubbed method.
7363 (isSiteLocalAddress): New stubbed method.
7364 (isMCGlobal): New stubbed method.
7365 (isMCNodeGlobal): New stubbed method.
7366 (isMCLinkLocal): New stubbed method.
7367 (isMCSiteLocal): New stubbed method.
7368 (isMCOrgLocal): New stubbed method.
7369 (getCanonicalHostName): New stubbed method.
7370 (getByAddress): Create instances of Inet4Address/Inet6Address,
7371 instead of InetAddress, documentation added.
7372 * java/net/MulticastSocket.java
7373 (getInterface): Removed FIXME.
7374 (getNetworkInterface): New method.
7375 (setNetworkInterface): New method.
7376 * java/net/NetworkInterface.java:
7377 (toString): Use property "line.separator" instead of "\n".
7378 * java/net/URLConnection.java
7379 (getContent): New stubbed method.
7380 * java/net/URLStreamHandler.java:
7381 (equals): New stubbed method.
7382 (hostsEqual): New stubbed method.
7383 (hashCode): New stubbed method.
7384 * java/net/natNetworkInterface.cc:
7385 (getRealNetworkInterfaces): Create Inet4Address object
7386 instead of InetAddress.
7387
7388 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7389
7390 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7391 unsigned long temporary to implement insn_iushr shifts.
7392
7393 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7394
7395 * configure.host [s390*-*]: Enable Java interpreter.
7396 Enable hash synchronization. Add sysdeps dir.
7397 * sysdep/s390/locks.h: New file.
7398
7399 2002-10-06 Mark Wielaard <mark@klomp.org>
7400
7401 * java/lang/Thread.java (setDaemon): Check startable_flag,
7402 not isAlive().
7403
7404 2002-10-07 Michael Koch <konqueror@gmx.de>
7405
7406 * java/nio/Buffer.java: New stub file.
7407 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7408 of class Charset.
7409 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7410 * Makefile.in: Regenerated.
7411
7412 2002-10-07 Michael Koch <konqueror@gmx.de>
7413
7414 * java/nio/ByteBuffer.java:
7415 removed import of not commited class.
7416
7417 2002-10-07 Michael Koch <konqueror@gmx.de>
7418
7419 * java/nio/ByteBuffer.java,
7420 java/nio/MappedByteBuffer.java:
7421 New files, forgot to add these dummies.
7422 * Makefile.am (java_native_source_files): Added new files.
7423 * Makefile.in: Regenerated.
7424
7425 2002-10-07 Michael Koch <konqueror@gmx.de>
7426
7427 * java/nio/channels/AlreadyConnectedException.java,
7428 java/nio/channels/ClosedChannelException.java,
7429 java/nio/channels/ReadableByteChannel.java,
7430 java/nio/channels/InterruptibleChannel.java,
7431 java/nio/channels/Channel.java,
7432 java/nio/channels/ByteChannel.java,
7433 java/nio/channels/GatheringByteChannel.java,
7434 java/nio/channels/ScatteringByteChannel.java,
7435 java/nio/channels/WritableByteChannel.java,
7436 java/nio/charset/CharacterCodingException.java,
7437 java/nio/charset/IllegalCharsetNameException.java,
7438 java/nio/charset/MalformedInputException.java,
7439 java/nio/charset/UnmappableCharacterException.java,
7440 java/nio/charset/UnsupportedCharsetException.java,
7441 java/nio/charset/spi/CharsetProvider.java: New file.
7442 These files are exceptions or interfaces,
7443 no real or abstract classes.
7444 * Makefile.am (java_native_source_files): Added new files.
7445 * Makefile.in: Regenerated.
7446
7447 2002-10-05 Michael Koch <konqueror@gmx.de>
7448
7449 * java/net/InetAddress.java
7450 (getByAddress): Fixed documentation.
7451 (getByAddress): New method.
7452 * java/net/Inet4Address.java: New file.
7453 * java/net/URL.java
7454 (URL): Documentation added.
7455 (getContent): Documentation added.
7456 (getContent): New stubbed method.
7457 (getQuery): New method.
7458 (openConnection): Documentation added.
7459 (openStream): Documentation added.
7460 (setURLStreamHandlerFactory): Documentation added.
7461 * java/net/URI.java: New stub file.
7462 * Makefile.am
7463 (java_native_source_files): Added java/net/Inet4Address.java,
7464 java/net/Inet6Address.java and java/net/URI.java.
7465 * Makefile.in: Regenerated.
7466
7467 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7468
7469 * java/lang/ProtectionDomain.java (linesep): Remove field.
7470 (toString): Use System.getProperty("line.separator").
7471
7472 2002-10-04 Michael Koch <konqueror@gmx.de>
7473
7474 * java/security/Identity.java: Added serialVersionUID.
7475 * java/security/KeyPair.java: Added serialVersionUID.
7476 * java/security/Provider.java: Added serialVersionUID.
7477 * java/security/SecureRandom.java: Added serialVersionUID.
7478 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7479 * java/security/SignedObject.java: Added serialVersionUID.
7480 * java/security/cert/Certificate.java: Added serialVersionUID.
7481
7482 2002-10-04 Mark Wielaard <mark@klomp.org>
7483
7484 * java/security/Security.java: Use java.home or gnu.classpath.home
7485 to load providers.
7486 (loadProviders): Extra dir argument.
7487 (getProvider): Return null when not found.
7488
7489 2002-10-04 Mark Wielaard <mark@klomp.org>
7490
7491 * java/lang/Throwable.java: Remerge with Classpath.
7492
7493 2002-10-04 Michael Koch <konqueror@gmx.de>
7494
7495 * java/net/InetAddress.java:
7496 (isMulticastAddress): Added documentation.
7497 (getHostAddress): Added documentation.
7498 (toString): Added documentation.
7499 (getByAddress): Fixed documentation.
7500 (getByName): Added documentation.
7501 (getAllByName): Added documentation.
7502 (getLocalHost): Added documentation.
7503
7504 2002-10-04 Michael Koch <konqueror@gmx.de>
7505
7506 * java/beans/beancontext/BeanContextChildSupport.java:
7507 Added serialVersionUID.
7508 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7509 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7510 * javax/naming/Name.java: Added serialVersionUID.
7511
7512 2002-10-03 Adam Megacz <adam@xwt.org>
7513
7514 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7515 some functionality that isn't supported yet on WIN32.
7516
7517 2002-10-03 Tom Tromey <tromey@redhat.com>
7518
7519 * Makefile.in: Rebuilt.
7520 * Makefile.am (awt_java_source_files): Added new files.
7521
7522 2002-10-03 Michael Koch <konqueror@gmx.de>
7523
7524 * java/net/InetAddress.java
7525 (class InetAddress): Removed final keyword.
7526 (equals): Fixed typo.
7527 (getByAddress): New method.
7528
7529 2002-10-03 Michael Koch <konqueror@gmx.de>
7530
7531 * java/awt/dnd/Autoscroll.java:
7532 New file, merge from Classpath.
7533 * java/awt/dnd/DragSourceAdapter.java:
7534 (dragExit): Fixed typos in argument type.
7535 (dragDropEnd): Fixed typos in argument type.
7536 * java/awt/dnd/DragSourceDropEvent.java:
7537 New file, merge from Classpath.
7538 * java/awt/dnd/DropTarget.java:
7539 Added stubs, merge from Classpath.
7540 * java/awt/dnd/DropTargetAdapter.java:
7541 New file, merge from Classpath.
7542 * java/awt/dnd/DropTargetContext.java:
7543 New file, merge from Classpath.
7544 * java/awt/dnd/DropTargetDragEvent.java:
7545 New file, merge from Classpath.
7546 * java/awt/dnd/DropTargetDropEvent.java:
7547 New file, merge from Classpath.
7548 * java/awt/dnd/DropTargetEvent.java:
7549 New file, merge from Classpath.
7550 * java/awt/dnd/DropTargetListener.java:
7551 New file, merge from Classpath.
7552 * java/awt/dnd/MouseDragGestureRecognizer.java:
7553 New file, merge from Classpath.
7554 * java/awt/dnd/peer/DropTargetContextPeer.java:
7555 New file, merge from Classpath.
7556
7557 2002-10-03 Michael Koch <konqueror@gmx.de>
7558
7559 * java/net/DatagramPacket.java
7560 (setLength): Fixed typo and be HTML-aware.
7561 * java/net/InetSocketAddress.java
7562 (InetSocketAddress): Correct initialization of hostname, fixed typo.
7563 (equals): Added comment about equality of InetSocketAddress objects.
7564 * java/net/ServerSocket.java
7565 (accept): Added checks.
7566 (isClosed): New stubbed method.
7567 * java/net/SocketOptions.java: Reindention.
7568 * java/net/SocketPermission
7569 (SocketPermission): Documentation fixed.
7570
7571 2002-10-03 Michael Koch <konqueror@gmx.de>
7572
7573 * java/net/DatagramSocket.java
7574 (receive): Check with SecurityManager AFTER the packet is received,
7575 check if connected to multicast address, documentation added.
7576 (send): Only check SecurityManager if connected, check address of
7577 packet to send.
7578 (connect): Implemented, documentation added.
7579 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7580 * java/net/InetSocketAddress.java
7581 (whole file): Reindented.
7582 (hostname): New attribute.
7583 (InetSocketAddress): Initialize new attribute.
7584 (getAddress): Documentation added.
7585 (getHostName): Documentation added.
7586 (getPort): Documentation added.
7587 (hashCode): Documentation added.
7588 (isUnresolved): Documentation added.
7589 (toString): Conform to output of JDK 1.4.1, documentation added.
7590 * java/net/MulticastSocket.java
7591 (joinGroup): Removed FIXME, documentation added.
7592 (leaveGroup): Removed FIXME, documentation added.
7593 (send): Documentation added.
7594 * java/net/Socket.java
7595 (inputShutdown): New variable.
7596 (outputShutdown): New variable.
7597 (Socket): Initialize new variables.
7598 (getRemoteSocketAddress): Check if connected.
7599 (shutdownInput): Set new variable.
7600 (shutdownOutput): Set new variable.
7601 (isConnected): New method.
7602 (isClosed): New method.
7603 (isInputShutdown): New method.
7604 (isOutputShutdown): New method.
7605 * java/net/URLStreamHandler.java
7606 (URLStreamHandler): New method.
7607 (openConnection): Added documentation.
7608 (parseURL): Added documentation.
7609 (getHostAddress): New method.
7610 (getDefaultPort): New method.
7611
7612 2002-10-02 Tom Tromey <tromey@redhat.com>
7613
7614 * java/rmi/activation/ActivationDesc.java,
7615 java/rmi/activation/ActivationGroupDesc.java,
7616 java/rmi/activation/ActivationGroupID.java,
7617 java/rmi/activation/ActivationID.java: New versions from
7618 Classpath.
7619
7620 2002-09-30 Bo Thorsen <bo@suse.de>
7621
7622 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7623
7624 2002-09-30 Tom Tromey <tromey@redhat.com>
7625
7626 * java/io/ObjectInputStream.java (resolveProxyClass): New method
7627 from Classpath.
7628 * Makefile.in: Rebuilt.
7629 * Makefile.am (rmi_java_source_files): Added new files.
7630 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7631 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7632 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7633 Classpath.
7634 * gnu/java/rmi/dgc/DGCImpl.java,
7635 gnu/java/rmi/dgc/DGCImpl_Skel.java,
7636 gnu/java/rmi/dgc/DGCImpl_Stub.java,
7637 gnu/java/rmi/registry/RegistryImpl_Skel.java,
7638 gnu/java/rmi/registry/RegistryImpl_Stub.java,
7639 gnu/java/rmi/server/RMIHashes.java,
7640 gnu/java/rmi/server/RMIObjectInputStream.java,
7641 gnu/java/rmi/server/RMIObjectOutputStream.java,
7642 gnu/java/rmi/server/UnicastConnection.java,
7643 gnu/java/rmi/server/UnicastConnectionManager.java,
7644 gnu/java/rmi/server/UnicastRef.java,
7645 gnu/java/rmi/server/UnicastServer.java,
7646 gnu/java/rmi/server/UnicastServerRef.java,
7647 java/rmi/MarshalledObject.java,
7648 java/rmi/server/RMIClassLoader.java,
7649 java/rmi/server/RemoteObject.java,
7650 java/rmi/server/UnicastRemoteObject.java,
7651 java/security/SecureClassLoader.java: Merged from Classpath.
7652
7653 2002-09-29 Anthony Green <green@redhat.com>
7654
7655 * java/lang/reflect/UndeclaredThrowableException.java: New file.
7656 Imported from GNU Classpath.
7657 * java/lang/reflect/natProxy.cc: New file.
7658 * java/lang/reflect/InvocationHandler.java: New file. Imported
7659 from GNU Classpath.
7660 * java/lang/reflect/Proxy.java: New file. Imported from GNU
7661 Classpath.
7662 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7663 Classpath.
7664 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7665 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7666 New statics.
7667 * gcj/javaprims.h ("Java"): Add new classes.
7668 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7669 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7670 java/lang/reflect/Proxy$$ProxyType.h): And this.
7671 (inner_nat_headers): Add these new headers.
7672 (ordinary_java_source_files): Add new files.
7673 (nat_source_files): Add new file.
7674 * Makefile.in: Rebuilt.
7675
7676 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
7677
7678 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7679 a single configuration.
7680
7681 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7682
7683 * java/util/TimeZone.java (getDSTSavings): New method.
7684 Fixes PR libgcj/7786.
7685
7686 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7687
7688 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7689 to see if `the_method == 0' before looking up vtable index.
7690 Fixes PR libgcj/7709.
7691
7692 2002-09-25 Tom Tromey <tromey@redhat.com>
7693
7694 * java/lang/natClassLoader.cc:
7695 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7696 * resolve.cc: Include NoClassDefFoundError.h, not
7697 ClassNotFoundException.h.
7698 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7699
7700 * defineclass.cc: Don't include ClassNotFoundException.h.
7701
7702 * resolve.cc: Include StringBuffer.
7703 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7704
7705 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7706 allocated but not initialized.
7707
7708 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7709
7710 Fix for PR libgcj/7766:
7711 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7712 (getNextEntry): Set it.
7713 (closeEntry): Likewise.
7714 (read): Likewise.
7715 (close): Likewise.
7716 (available): Use it.
7717
7718 2002-09-25 Michael Koch <konqueror@gmx.de>
7719
7720 * java/net/DatagramSocket.java
7721 (DatagramSocket): Initialize new instance variables.
7722 (close): Reset new instance variables.
7723 (getLocalAddress): Remove unneeded SecurityManager usage.
7724 (getLocalPort): Check if socket is already bound.
7725 (isConnected): New method.
7726 (getInetAddress): Implemented.
7727 (getPort): Better Implementation, documentation fixed.
7728 (getRemoteSocketAddress): New method.
7729 * java/net/JarURLConnection.java
7730 (element): Typo fixed.
7731 (getMainAttributes): New method.
7732 (getAttributes): New method (stub only).
7733 (getManifest): New method (stub only).
7734 * java/net/NetPermission.java: Added serialVersionsUID.
7735 * java/net/Socket.java
7736 (connect): Check blocking mode of associated channel,
7737 documentation added.
7738 (getLocalSocketAddress): Better implementation.
7739 (getRemoteSocketAddress): Implemented.
7740 (isBound): New method.
7741 (setSendBufferSize): Documentation added.
7742 * java/net/SocketAddress.java: Added serialVersionsUID.
7743 * java/net/SocketPermission.java: Added serialVersionsUID.
7744 * java/net/URL.java
7745 (URL): Wrap for shorter lines, initialize new instance variables,
7746 documentation added.
7747 (equals): Check new instance variables too.
7748 (getContent): Documentation added.
7749 (getPath): Documentation added.
7750 (getAuthority): New method.
7751 (getHost): Documentation added.
7752 (getPort): Documentation added.
7753 (getDefaultPort): New method.
7754 (getProtocol): Documentation added.
7755 (getUserInfo): Documentation added.
7756 (set): Initialize new instance variables, documentation added.
7757 * java/net/URLStreamHandler.java
7758 (setURL): New method.
7759 * java/net/natPlainDatagramSocketImpl.cc
7760 (connect): Fix exception name.
7761 (disconnect): Fix exception name.
7762
7763 2002-09-25 Michael Koch <konqueror@gmx.de>
7764
7765 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7766 * java/nio/channels/DatagramChannel.java:
7767 extends AbstractSelectableChannel
7768 * java/nio/channels/ServerSocketChannel.java:
7769 extends AbstractSelectableChannel
7770 * java/nio/channels/SocketChannel.java:
7771 extends AbstractSelectableChannel
7772 * Makefile.am (ordinary_java_source_files):
7773 java/nio/channels/spi/AbstractSelectableChannel.java added.
7774 * Makefile.in: Regenerated.
7775
7776 2002-09-25 Michael Koch <konqueror@gmx.de>
7777
7778 * java/net/DatagramSocket.java
7779 (DatagramSocket): Exception documentation added.
7780 (bind): Exception documentation added, addded SecurityManager check,
7781 added SocketAddress type check.
7782 (getSoTimeout): Check impl.
7783 (receive): Fix SecurityManager check, check impl, documentation added.
7784 (send): Check channel mode, documentation added.
7785 (connect): New method.
7786 (disconnect): Implemented.
7787 (getLocalSocketAddress): New method.
7788 (getReceiveBufferSize): Check impl.
7789 (setReuseAddress): Check impl.
7790 (getReuseAddress): Check impl.
7791 (setBroadcast): Check impl.
7792 (getBroadcast): Check impl.
7793 (setTrafficClass): Check impl, Documentation cleared.
7794 (getTrafficClass): Check impl.
7795 (getSendBufferSize): Check impl.
7796 (setReceiveBufferSize): Check impl, documentation added.
7797 (setSendBufferSize): Documentation added.
7798 (setDatagramSocketImplFactory): New method.
7799 * java/net/HttpURLConnection.java
7800 (HTTP_INTERNAL_ERROR): The correct code is 500.
7801 (HTTP_NOT_IMPLEMENTED): Added new constant.
7802 (setFollowRedirects): Documentation added.
7803 (getInstanceFollowRedirects): New method.
7804 (setInstanceFollowRedirects): New method.
7805 (setRequestMethod): Documentation added.
7806 (getResponseCode): Documentation added.
7807 (getResponseMessage): Documentation added.
7808 * java/net/JarURLConnection.java
7809 (JarURLConnection): protected since JDK 1.4.
7810 (getJarEntry): java.io.IOException to IOException, documentation added.
7811 (getJarFile): Documentation added.
7812 * java/net/ServerSocket.java
7813 (ServerSocket): Private to public, exception added.
7814 (ServerSocket): java.io.IOException to IOException, documentation added.
7815 (bind): Check socket address type, documentation added.
7816 (bind): java.io.IOException to IOException, documentation added.
7817 (accept): Documentation added.
7818 (implAccept): Check ch is not non-blocking, documentation added.
7819 (setSoTimeout): Documentation fixed.
7820 (setReceiveBufferSize): Documentation added.
7821 * java/net/Socket.java
7822 (Socket): Documentation added.
7823 (bind): Documentation added.
7824 (connect): Check socket address type, documentation added.
7825 (getRemoteSocketAddress): New method.
7826 (getLocalSocketAddress): New method.
7827 (setSoLinger): Documentation added.
7828 (getReuseAddress): New method.
7829 (setReuseAddress): New method.
7830 (getTrafficClass): New method.
7831 (setTrafficClass): New method.
7832 * java/net/URLStreamHandler.java
7833 (openConnection): java.io.IOException to IOException.
7834 (parseURL): Documentation added.
7835 (sameFile): public to protected, documentation added.
7836 (setURL): Documentation added.
7837 * java/nio/IllegalBlockingModeException.java: New file.
7838 * Makefile.am (ordinary_java_source_files):
7839 added java/nio/IllegalBlockingModeException.java
7840 * Makefile.in: Regenerated.
7841
7842 2002-09-25 Michael Koch <konqueror@gmx.de>
7843
7844 * java/net/DatagramPacket
7845 (DatagramPacket): Exception documentation added.
7846 (setData): Likewise.
7847 (setSocketAddress): Likewise.
7848 * java/net/DatagramSocketImpl.java
7849 (peek): Documentation addded.
7850 (peekData): Documentation addded.
7851 (send): Documentation addded.
7852 (receive): Documentation addded.
7853 (connect): New method.
7854 (disconnect): New method.
7855 (joinGroup): New abstract method.
7856 (leaveGroup): New abstract method.
7857 * java/net/InetSocketAddress.java
7858 (InetSocketAddress): Documentation added.
7859 (equals): final keyword added.
7860 (getAddress): final keyword added.
7861 (getHostName): final keyword added.
7862 (getPort): final keyword added.
7863 (hashCode): final keyword added.
7864 (isUnresolved): final keyword added.
7865 * java/net/MulticastSocket.java
7866 (MulticastSocket): Documentation added.
7867 (MulticastSocket): New method.
7868 (joinGroup): Documentation added.
7869 (joinGroup): New method.
7870 (leaveGroup): Documentation added.
7871 (leaveGroup): New method.
7872 (send): Documentation added.
7873 * java/net/NetworkInterface.java
7874 (getByName): Documentation added.
7875 (getByInetAddress): Documentation added.
7876 (getNetworkInterfaces): Documentation added.
7877 * java/net/PlainDatagramSocketImpl.java
7878 (connect): New method.
7879 (disconnect): New method.
7880 * java/net/SocketImpl.java
7881 (create): Documentation added.
7882 (shutdownInput): Convert public to protected, as it always was.
7883 (shutdownOutput): Convert public to protected, as it always was.
7884 * java/net/SocketOptions.java
7885 (whole file): Reintented.
7886 * java/net/URLClassLoader.java
7887 (URLClassLoader): SecurityManager check added, documentation added.
7888 (findResources): Documentation added.
7889 (findClass): Documentation added.
7890 (newInstance): More correct method arguments.
7891 * java/net/URLConnection.java
7892 (connect): Documentation added.
7893 (getContent): Documentation added.
7894 (getPermission): Documentation added.
7895 (getInputStream): Documentation added.
7896 (getOutputStream): Documentation added.
7897 (setDoInput): Throw correct exception, documentation added.
7898 (setDoOutput): Throw correct exception, documentation added.
7899 (setAllowUserInteraction): Throw correct exception, documentation added.
7900 (setUseCaches): Throw correct exception, documentation added.
7901 (setIfModifiedSince): Throw correct exception, documentation added.
7902 (setRequestProperty): Throw exception, documentation added.
7903 (addRequestProperty): Throw exception, documentation added.
7904 (getRequestProperty): Throw exception, documentation added.
7905 (getRequestProperties): Documentation added.
7906 (setContentHandlerFactory): Documentation added.
7907 (guessContentTypeFromName): protected to public.
7908 (setFileNameMap): Documentation added.
7909 * java/net/URLDecoder.java
7910 (URLDecoder): New method.
7911 (decode): Documentation added.
7912 (whole file): Reindented.
7913 * java/net/URLEncoder.java
7914 (encode): Documentation added.
7915 * java/net/natPlainDatagramSocketImpl.cc
7916 (connect): New method.
7917 (disconnect): New method.
7918 * javax/naming/RefAddr:
7919 (addrType): addrType was never final.
7920 (equals): Fix typo in method name.
7921 * javax/naming/BinaryRefAddr:
7922 (equals): Fix typo in method name.
7923
7924 2002-09-22 Tom Tromey <tromey@redhat.com>
7925
7926 Fix for PR libgcj/6576:
7927 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7928 didn't find a given bundle.
7929 (getBundle): Don't require base bundle.
7930 (setParent): Removed old comment.
7931 (tryLocalBundle): Try components even if preceding components were
7932 empty.
7933
7934 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7935
7936 * Makefile.am (all-multi): Fix multilib parallel build.
7937
7938 2002-09-21 Michael Koch <konqueror@gmx.de>
7939
7940 * java/net/Socket.java
7941 (sendUrgentData): New method.
7942 (getChannel): New method.
7943 * java/net/ServerSocket.java
7944 (getChannel): New method.
7945 (isBound): New method.
7946 * java/net/DatagramSocket.java
7947 (DatagramSocket): Two new methods.
7948 (bind): New method.
7949 (getChannel): New method.
7950 (isBound): New method.
7951 (send): Added newline to to make shorter lines.
7952 * java/net/PlainDatagramSocketImpl.java
7953 (mcastGrp): Added argument.
7954 (join): Use new mcastGrp.
7955 (leave): Use new mcastGrp.
7956 (joinGroup): New method.
7957 (leaveGroup): New method.
7958 * java/net/natPlainDatagramSocketImpl.cc
7959 (mcastGrp): Added argument, no yet really implemented.
7960 (getOption): Added newline for shorter lines.
7961 * java/net/natPlainSocketImpl.cc
7962 (read, setOption, getOption): Added newline for shorter lines.
7963
7964 2002-09-19 Tom Tromey <tromey@redhat.com>
7965
7966 * java/lang/ClassLoader.java (resolveClass0): Set cause for
7967 newly-created exception.
7968
7969 2002-09-18 Michael Koch <konqueror@gmx.de>
7970
7971 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7972 java/util/regex/PatternSyntaxException.java:
7973 Merge with classpath, new files.
7974 * Makefile.am (core_java_source_files):
7975 Added java/util/regex/Matcher.java,
7976 java/util/regex/Pattern.java,
7977 java/util/regex/PatternSyntaxException.java
7978 * Makefile.in: Regenerated.
7979 * include/config.h.in: Added HAVE_NET_IF_H.
7980 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7981 Removed #if 0 ... #endif.
7982
7983 2002-09-17 Michael Koch <konqueror@gmx.de>
7984
7985 * java/net/natNetworkInterface.cc:
7986 Removed unneed and yet wrong includes.
7987
7988 2002-09-17 Michael Koch <konqueror@gmx.de>
7989
7990 * java/net/NetworkInterface.java: New file.
7991 * java/net/natNetworkInterface.java: New file.
7992 * configure.in: Added check for net/if.h.
7993 * configure: Regenerated.
7994 * Makefile.am
7995 (ordinary_java_source_files): Added NetworkInterface.java.
7996 (nat_source_files): Added natNetworkInterface.cc.
7997 * Makefile.in: Regenerated.
7998
7999 2002-09-16 Tom Tromey <tromey@redhat.com>
8000
8001 * java/net/URLClassLoader.java (findClass): Code source for a
8002 class from a jar is not necessarily a jar: URL.
8003
8004 2002-09-16 Michael Koch <konqueror@gmx.de>
8005
8006 * java/lang/AssertionError.java:
8007 Merge with classpath, fixes HTML.
8008 * java/rmi/server/LogStream.java:
8009 Merge with classpath, fixes some constants.
8010 * java/net/server/RemoteServer.java:
8011 Merge with classpath, adds serialVersionUID.
8012 * javax/naming/BinaryRefAddr.java:
8013 Merge with classpath, s/equal/equals/.
8014 * javax/naming/NamingException.java:
8015 Merge with classpath, fixed typo.
8016 * javax/naming/RefAddr.java:
8017 Merge with classpath, s/equal/equals/.
8018 * java/awt/Toolkit.java:
8019 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8020 and typo fixed.
8021
8022 2002-09-15 Adam Megacz <adam@xwt.org>
8023
8024 * java/net/natPlainSocketImpl.cc: fixed typo.
8025
8026 2002-09-15 Adam Megacz <adam@xwt.org>
8027
8028 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8029 which don't work on Win32 (yet).
8030
8031 2002-09-14 Adam Megacz <adam@xwt.org>
8032
8033 * java/net/natPlainDatagramSocket.cc: removed #include
8034 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8035 * include/win32.h: included definition for IP_TOS to satisfy
8036 natPlainDatagramSocket.cc
8037
8038 2002-09-13 Michael Koch <konqueror@gmx.de>
8039
8040 * java/net/DatagramPacket.java (DatagramPacket):
8041 Added linebreak for 80 chars per line.
8042 * java/net/JarURLConection.java
8043 (getInputStreami, getJarEntry): Likewise.
8044 * java/net/SocketPErmission.java
8045 (SocketPermission class docu, implies): Likewise.
8046 * java/net/URLClassLoader.java (findResources): Likewise.
8047 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8048
8049 2002-09-13 Michael Koch <konqueror@gmx.de>
8050
8051 * java/nio/channels/DatagramChannel.java,
8052 java/nio/channels/ServerSocketChannel.java
8053 java/nio/channels/SocketChannel.java:
8054 New dummy files to make java.net fully JDK 1.4 compatible
8055 * Makefile.am (ordinary_java_source_files): Added
8056 java/net/DatagramSocketImplFactory.java (long forgotten),
8057 java/nio/SocketChannel.java,
8058 java/nio/ServerSocketChannel.java,
8059 java/nio/DatagramChannel.java
8060 * Makefile.in: Regenrated.
8061
8062 2002-09-12 Michael Koch <konqueror@gmx.de>
8063
8064 * java/net/DatagramSocketImpl.java
8065 (peekData): New method.
8066 * java/net/PlainDatagramSocketImpl.java
8067 (peekData): New method.
8068 * java/net/natPlainDatagramSocketImpl.cc
8069 (peekData): New method.
8070 * java/net/URLConnection
8071 (getPermission): New method.
8072 (addRequestProperty): New method.
8073 (getRequestProperties): New method.
8074 (guessContentTypeFromStream): New method, not really implemented.
8075 (URLConnection): Added/updated documentation.
8076 (connect): Added/updated documentation.
8077 (getURL): Added/updated documentation.
8078 (getContentLength): Added/updated documentation.
8079 (getContentType: Added/updated documentation.
8080 (getContentEncoding): Added/updated documentation.
8081 (getExpiration): Added/updated documentation.
8082 (getDate): Added/updated documentation.
8083 (getLastModified): Added/updated documentation.
8084 (getHeaderField): Added/updated documentation.
8085 (getHeaderFields): Added/updated documentation.
8086 (getHeaderFieldInt): Added/updated documentation.
8087 (getHeaderFieldDate): Added/updated documentation.
8088 (getHeaderFieldKey): Added/updated documentation.
8089 (getContent): Added/updated documentation.
8090 (getInputStream): Added/updated documentation.
8091 (getOutputStream): Added/updated documentation.
8092 (toString): Added/updated documentation.
8093 (setDoInput): Added/updated documentation.
8094 (getDoInput): Added/updated documentation.
8095 (setDoOutput): Added/updated documentation.
8096 (getDoOutput): Added/updated documentation.
8097 (setAllowUserInteraction): Added/updated documentation.
8098 (getAllowUserInteraction): Added/updated documentation.
8099 (setDefaultAllowUserInteraction): Added/updated documentation.
8100 (getDefaultAllowUserInteraction): Added/updated documentation.
8101 (setUseCaches): Added/updated documentation.
8102 (getUseCaches): Added/updated documentation.
8103 (setIfModifiedSince): Added/updated documentation.
8104 (getIfModifiedSince): Added/updated documentation.
8105 (getDefaultUseCaches): Added/updated documentation.
8106 (setDefaultUseCaches): Added/updated documentation.
8107 (setRequestProperty): Added/updated documentation.
8108 (getRequestProperty): Added/updated documentation.
8109 (setDefaultRequestProperty): Added/updated documentation.
8110 (getDefaultRequestProperty): Added/updated documentation.
8111 (setContentHandlerFactory): Added/updated documentation.
8112 (guessContentTypeFromName): Added/updated documentation.
8113 (getFileNameMap): Added/updated documentation.
8114 (setFileNameMap): Added/updated documentation.
8115
8116 2002-09-11 Michael Koch <konqueror@gmx.de>
8117
8118 * java/net/Socket.java
8119 (Socket): protected to public (since JDK 1.4). Added @specnote.
8120 (bind): New method.
8121 (connect): Two new methods.
8122 (getKeepalive): Get correct socket option.
8123 (setKeepalive): Set correct socket option.
8124 (getOOBInline): New method.
8125 (setOOBInline): New method.
8126 * java/net/ServerSocket.java
8127 (bind): Two new methods.
8128 (getInetAddress): Reimplemented, catch exception.
8129 (getLocalSocketAddress): New method.
8130 (setReuseAddress): New method.
8131 (getReuseAdress): New method.
8132 (setReceiveBufferSize): New method.
8133 (getReceiveBufferSize): New method.
8134 (toString): Made string JDK 1.4 compliant.
8135
8136 2002-09-10 Michael Koch <konqueror@gmx.de>
8137
8138 * java/net/SocketImpl.java
8139 (connect): New method.
8140 (supportsUrgentData): New method.
8141 (sendUrgentData): New method.
8142 * java/net/PlainSocketImpl.java
8143 (connect): One new method and two new implementation.
8144 (sendUrgentData): New method.
8145 * java/natPlainSocketImpl.cc
8146 (connect): Arguments changed, added support for timeouts.
8147 (getOption): Another __java_boolean to jboolean.
8148
8149 2002-09-07 Adam Megacz <adam@xwt.org>
8150
8151 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8152 definition of IP_TOS.
8153
8154 2002-09-04 Michael Koch <konqueror@gmx.de>
8155
8156 * java/net/DatagramSocket.java
8157 (DatagramSocket): Added documentation.
8158 (close): Likewise.
8159 (getLocalAddress): Likewise.
8160 (getLocalPort): Likewise.
8161 (receive): Likewise.
8162 (send): Likewise.
8163 (setSoTimeout): Likewise.
8164 (connect): New method.
8165 (disconnect): New method.
8166 (getInetAddress): New method (FIXME)
8167 (getPort): New method.
8168 (setReuseAddress): New method.
8169 (getReuseAddress): New method.
8170 (setBroadcast): New method.
8171 (getBroadcast): New method.
8172 (setTrafficClass): New method.
8173 (getTrafficClass): New method.
8174 * java/net/MulticastSocket.java):
8175 (getTTL): Added @see in documentation.
8176 (setTTL): Added @see in documentation.
8177 (setLoopbackMode): New method.
8178 (getLoopbackMode): New method.
8179 * java/net/PlainSocketImpl.java:
8180 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8181 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8182 * java/net/PlainDatagramSocketImpl.java
8183 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8184 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8185 * java/net/natPlainSocketImpl.cc
8186 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8187 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8188 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8189 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8190 This should also fix SO_KEEPALIVE
8191 * java/net/natPlainDatagramSocketImpl.cc
8192 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8193 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8194 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8195 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8196
8197 2002-09-04 Michael Koch <konqueror@gmx.de>
8198
8199 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8200 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8201 IP_MULTICAST_LOOP, IP_TOS
8202
8203 2002-09-03 Tom Tromey <tromey@redhat.com>
8204
8205 * java/lang/Class.h (_getDeclaredMethod): Declare.
8206 (_getMethod): Now private.
8207 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8208 getDeclaredMethod. Now returns NULL on failure.
8209 * java/lang/Class.java (_getDeclaredMethod): Declare.
8210 (getDeclaredMethod): No longer native; implements access checks.
8211
8212 2002-09-01 Mark Wielaard <mark@klomp.org>
8213
8214 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8215 (sanitizeStack): Correctly reset unknown and interpreter counters,
8216 detect interpreter runtime frames.
8217 (demangleInterpreterMethod): New method.
8218 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8219 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8220 filling in addrs[].
8221
8222 2002-09-02 Michael Koch <konqueror@gmx.de>
8223
8224 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8225 re-indented documentation.
8226
8227 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8228
8229 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8230 public, per 1.4 spec. Fixes PR libgcj/7785.
8231
8232 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8233
8234 * Makefile.in: Rebuilt.
8235 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8236
8237 2002-08-29 Tom Tromey <tromey@redhat.com>
8238
8239 * java/net/JarURLConnection.java (getCertificates): New method
8240 from Classpath.
8241 * java/net/URLClassLoader.java (URLClassLoader): Extends
8242 SecureClassLoader.
8243 (definePackage): New method from Classpath.
8244 (getPermissions): Likewise.
8245 (newInstance): Likewise.
8246 (findClass): Construct CodeSource for new class (from Classpath).
8247 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8248 methods.
8249 * java/net/URL.java (getUserInfo): New method.
8250 (set(String,String,int,String,String,String,String,String)): New
8251 method.
8252 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8253 (shutdownInput, shutdownOutput): Declare.
8254 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8255 Define.
8256 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8257 (getOption): Likewise.
8258 (shutdownInput): New method.
8259 (shutdownOutput): Likewise.
8260 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8261 keepalive.
8262 (getOption): Likewise.
8263 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8264 * java/net/Socket.java (setKeepAlive): New method.
8265 (getKeepAlive): Likewise.
8266 (shutdownInput, shutdownOutput): New methods.
8267
8268 2002-08-29 Michael Koch <konqueror@gmx.de>
8269
8270 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8271 new methods are:
8272 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8273 address),
8274 DatagramPacket(byte[] buf, int length, SocketAddress address),
8275 void setSocketAddress(SocketAddress address)
8276 public SocketAddress getSocketAddress()
8277
8278 2002-08-29 Tom Tromey <tromey@redhat.com>
8279
8280 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8281 ftruncate is missing.
8282 * configure, include/config.h.in: Rebuilt.
8283 * acconfig.h (HAVE_FTRUNCATE): Mention.
8284 * configure.in: Check for ftruncate.
8285
8286 2002-08-29 Tom Tromey <tromey@redhat.com>
8287
8288 * include/jvm.h (struct _Jv_frame_info): New structure.
8289 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8290 java-interp.h.
8291 (lookupInterp): New method.
8292 (getAddrAsString): Use _Jv_frame_info.
8293 (dladdrLookup): Likewise.
8294 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8295 interpreted frame.
8296 (lookupInterp): Declare.
8297 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8298 (fillInStackTrace): Collect information on interpreted frames.
8299 Use _Jv_frame_info.
8300 * interpret.cc: Include Thread.h.
8301 (run): Create and push _Jv_MethodChain object.
8302 (_Jv_EndOfInterpreter): New global.
8303 * java/lang/Thread.java (interp_frame): New field.
8304 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8305 Include NameFinder.h.
8306
8307 2002-08-28 Tom Tromey <tromey@redhat.com>
8308
8309 * java/lang/Class.h: Include Package.h.
8310 (Class::getProtectionDomain): Declare.
8311 (Class::getPackage): Declare.
8312
8313 2002-08-28 Michael Koch <konqueror@gmx.de>
8314
8315 * java/net/InetSocketAddress.java: Added some documentation and argument
8316 checks for the port numbers.
8317 * java/net/DatagramSocketImplFactory.java: New file.
8318
8319 2002-08-28 Michael Koch <konqueror@gmx.de>
8320
8321 * java/net/Authenticator.java: added some documentation.
8322
8323 2002-08-27 Tom Tromey <tromey@redhat.com>
8324
8325 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8326 class.
8327 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8328
8329 2002-08-27 Michael Koch <konqueror@gmx.de>
8330
8331 * java/net/BindException.java,
8332 java/net/JarURLConnection.java,
8333 java/net/FileNameMap.java,
8334 java/net/HttpURLConnection.java,
8335 java/net/InetSocketAddress.java,
8336 java/net/DatagramPacket.java,
8337 java/net/DatagramSocket.java,
8338 java/net/DatagramSocketImpl.java,
8339 java/net/MulticastSocket.java,
8340 java/net/PasswordAuthentication.java,
8341 java/net/ServerSocket.java,
8342 java/net/Socket.java,
8343 java/net/URLClassLoader.java,
8344 java/net/URLConnection.java: add/update of some @since/@deprecated
8345
8346 2002-08-27 Tony Kimball <alk@pobox.com>
8347 Tom Tromey <tromey@redhat.com>
8348
8349 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8350 define.
8351 (::close): Removed.
8352 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8353 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8354 (::close): Removed.
8355 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8356 * include/win32.h (getcwd): Removed declaration. Include io.h.
8357
8358 2002-08-25 Adam Megacz <adam@xwt.org>
8359
8360 * include/win32.h (getcwd): copied function declaration as
8361 temporary fix for header confusion.
8362
8363 2002-08-24 Mark Wielaard <mark@klomp.org>
8364
8365 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8366 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8367 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8368 and natNameFinder.cc.
8369 * Makefile.in: Regenerate.
8370 * prims.cc: Use trace_enabled from VMThrowable.
8371 * name-finder.cc: Removed.
8372 * gcj/javaprims.h: Add class VMThrowable.
8373 * gnu/gcj/runtime/NameFinder.java: New file.
8374 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8375 * include/name-finder.h: Removed.
8376 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8377 method stackTraceString().
8378 (printStackTrace (PrintWriter)): Likewise.
8379 (stackTraceString): Complete rewrite of old printStackTrace using
8380 StringBuffer.
8381 (stackTraceStringBuffer): New helper method for stackTraceString().
8382 (fillInStackTrace): Delegate to VMTrowable.
8383 (getStackTrace): Likewise.
8384 (getStackTrace0): Removed.
8385 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8386 (setStackTrace): Copy given array.
8387 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8388 * java/lang/VMThrowable.java: New class.
8389 * java/lang/natVMThrowable.cc: New file.
8390
8391 2003-08-23 Michael Koch <konqueror@gmx.de>
8392
8393 * java/net/URLConnection.java,
8394 java/netJarURLConnection.java,
8395 gnu/gcj/protocol/core/Connection.java,
8396 gnu/gcj/protocol/file/Connection.java,
8397 gnu/gcj/protocol/http/Connection.java: Added implementation of
8398 getHeaderFields().
8399
8400 2002-08-22 Tom Tromey <tromey@redhat.com>
8401
8402 * gij.cc (help): Document -cp and -classpath.
8403 (main): Handle -classpath.
8404
8405 2002-08-21 Tom Tromey <tromey@redhat.com>
8406
8407 * Makefile.in: Rebuilt.
8408 * Makefile.am (ordinary_java_source_files): Added
8409 SocketAddress.java, InetSocketAddress.java.
8410 * java/net/PortUnreachableException.java: Merged with Classpath.
8411 * java/net/SocketTimeoutException.java: Likewise.
8412 * java/net/URISyntaxException.java: Likewise.
8413 * java/net/SocketAddress.java: New class from Classpath.
8414 * java/net/InetSocketAddress.java: Likewise.
8415
8416 2003-08-21 Michael Koch <konqueror@gmx.de>
8417
8418 * java/net/Authenticator.java: updated JDK 1.4
8419 * java/net/ContentHandler.java: updated JDK 1.4
8420
8421 2002-08-20 Michael Koch <konqueror@gmx.de>
8422
8423 * java/net/URISyntaxException.java: New file.
8424 * java/net/SocketTimeoutException.java: New file.
8425 * java/net/PortUnreachableException.java: New file.
8426 * Makefile.am: Updated.
8427 * Makefile.in: Rebuilt.
8428
8429 2002-08-18 Mark Wielaard <mark@klomp.org>
8430
8431 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8432 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8433 MessageDigestSpi (fixes Classpath bug #783).
8434
8435 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8436
8437 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8438 (startProcess): Allocate path for chdir in async-signal-safe way.
8439
8440 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8441
8442 Fix for PR libgcj/7570 and PR libgcj/7578:
8443 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8444 (startProcess): Handle new `dir' argument.
8445 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8446 argument.
8447 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8448 argument.
8449 (startProcess): Likewise.
8450 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8451 argument.
8452 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8453 (exec): Don't create new environment if ENV==null. Pass DIR to
8454 execInternal.
8455 * java/lang/natRuntime.cc: Include java/io/File.h.
8456 (execInternal): Added `dir' argument.
8457
8458 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8459
8460 * java/io/RandomAccessFile.java (skipBytes): Return number of
8461 bytes skipped.
8462
8463 2002-08-01 Mark Wielaard <mark@klomp.org>
8464
8465 Reenable patch since shared library troubles on powerpc are solved:
8466 * gnu/java/security/provider/Gnu.java: Reference all implementation
8467 classes by using Class.getName().
8468 * gnu/java/security/der/DEREncodingException.java,
8469 gnu/java/security/provider/DERReader.java,
8470 gnu/java/security/provider/DERWriter.java,
8471 gnu/java/security/provider/DSAKeyPairGenerator.java,
8472 gnu/java/security/provider/DSAParameterGenerator.java,
8473 gnu/java/security/provider/DSAParameters.java,
8474 gnu/java/security/provider/DSASignature.java,
8475 gnu/java/security/provider/GnuDSAPrivateKey.java,
8476 gnu/java/security/provider/GnuDSAPublicKey.java,
8477 gnu/java/security/provider/MD5.java,
8478 gnu/java/security/util/Prime.java: New classes
8479 * Makefile.am (ordinary_java_source_files): Add above files.
8480 * Makefile.in: Regenerate.
8481 * gnu/java/security/provider/DefaultPolicy.java
8482 (getPermissions): Don't maintain static class variable of Permissions.
8483 * gnu/java/security/provider/SHA.java
8484 (engineUpdate): algorithm change.
8485 (engineDigest): algorithm change.
8486
8487 2002-08-09 Mark Wielaard <mark@klomp.org>
8488
8489 * java/awt/image/MemoryImageSource.java: Change constructor to take
8490 int[] not byte[].
8491 * java/awt/Graphics2D.java: Uncomment methods that can now be
8492 compiled.
8493 * java/awt/GridBagLayout.java: New stub implementation.
8494 * javax/swing/text/html/HTML.java: Stub implementation.
8495 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8496 implementation.
8497
8498 * Makefile.am: Add new files.
8499 * Makefile.in: Rebuilt.
8500
8501 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8502
8503 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8504 methods in Graphics2D.
8505
8506 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8507
8508 AWT/Swing merge from GNU Classpath.
8509
8510 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8511 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8512 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8513 java/awt/color/ProfileDataException.java,
8514 java/awt/CompositeContext.java, java/awt/Composite.java,
8515 java/awt/ContainerOrderFocusTraversalPolicy.java,
8516 java/awt/datatransfer/FlavorTable.java,
8517 java/awt/DefaultFocusTraversalPolicy.java,
8518 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8519 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8520 java/awt/dnd/DragGestureListener.java,
8521 java/awt/dnd/DragGestureRecognizer.java,
8522 java/awt/dnd/DragSourceAdapter.java,
8523 java/awt/dnd/DragSourceContext.java,
8524 java/awt/dnd/DragSourceDragEvent.java,
8525 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8526 java/awt/dnd/DragSourceListener.java,
8527 java/awt/dnd/DragSourceMotionListener.java,
8528 java/awt/dnd/DropTarget.java,
8529 java/awt/dnd/InvalidDnDOperationException.java,
8530 java/awt/dnd/peer/DragSourceContextPeer.java,
8531 java/awt/event/AWTEventListenerProxy.java,
8532 java/awt/event/MouseWheelEvent.java,
8533 java/awt/event/MouseWheelListener.java,
8534 java/awt/event/WindowFocusListener.java,
8535 java/awt/event/WindowStateListener.java,
8536 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8537 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8538 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8539 java/awt/geom/FlatteningPathIterator.java,
8540 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8541 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8542 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8543 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8544 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8545 java/awt/image/ImagingOpException.java,
8546 java/awt/image/RasterFormatException.java,
8547 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8548 java/awt/image/VolatileImage.java,
8549 java/awt/image/WritableRenderedImage.java,
8550 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8551 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8552 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8553 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8554 java/awt/PageAttributes.java, java/awt/print/Book.java,
8555 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8556 java/awt/print/Paper.java, java/awt/print/Printable.java,
8557 java/awt/print/PrinterAbortException.java,
8558 java/awt/print/PrinterException.java,
8559 java/awt/print/PrinterGraphics.java,
8560 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8561 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8562 java/awt/Stroke.java, java/awt/TexturePaint.java,
8563 javax/accessibility/AccessibleAction.java,
8564 javax/accessibility/AccessibleBundle.java,
8565 javax/accessibility/AccessibleComponent.java,
8566 javax/accessibility/AccessibleContext.java,
8567 javax/accessibility/AccessibleEditableText.java,
8568 javax/accessibility/AccessibleExtendedComponent.java,
8569 javax/accessibility/AccessibleExtendedTable.java,
8570 javax/accessibility/AccessibleHyperlink.java,
8571 javax/accessibility/AccessibleHypertext.java,
8572 javax/accessibility/AccessibleIcon.java,
8573 javax/accessibility/Accessible.java,
8574 javax/accessibility/AccessibleKeyBinding.java,
8575 javax/accessibility/AccessibleRelation.java,
8576 javax/accessibility/AccessibleRelationSet.java,
8577 javax/accessibility/AccessibleResourceBundle.java,
8578 javax/accessibility/AccessibleRole.java,
8579 javax/accessibility/AccessibleSelection.java,
8580 javax/accessibility/AccessibleState.java,
8581 javax/accessibility/AccessibleStateSet.java,
8582 javax/accessibility/AccessibleTable.java,
8583 javax/accessibility/AccessibleTableModelChange.java,
8584 javax/accessibility/AccessibleText.java,
8585 javax/accessibility/AccessibleValue.java,
8586 javax/swing/AbstractAction.java,
8587 javax/swing/AbstractButton.java,
8588 javax/swing/AbstractCellEditor.java,
8589 javax/swing/AbstractListModel.java,
8590 javax/swing/AbstractSet.java, javax/swing/Action.java,
8591 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8592 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8593 javax/swing/border/CompoundBorder.java,
8594 javax/swing/border/EmptyBorder.java,
8595 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8596 javax/swing/border/LineBorder.java,
8597 javax/swing/border/MatteBorder.java,
8598 javax/swing/border/TitledBorder.java,
8599 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8600 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8601 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8602 javax/swing/CellRendererPane.java,
8603 javax/swing/colorchooser/AbstractColorChooserPanel.java,
8604 javax/swing/colorchooser/ColorChooserComponentFactory.java,
8605 javax/swing/colorchooser/ColorSelectionModel.java,
8606 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8607 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8608 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8609 javax/swing/DefaultBoundedRangeModel.java,
8610 javax/swing/DefaultButtonModel.java,
8611 javax/swing/DefaultCellEditor.java,
8612 javax/swing/DefaultCellRenderer.java,
8613 javax/swing/DefaultComboBoxModel.java,
8614 javax/swing/DefaultDesktopManager.java,
8615 javax/swing/DefaultFocusManager.java,
8616 javax/swing/DefaultListCellRenderer.java,
8617 javax/swing/DefaultListModel.java,
8618 javax/swing/DefaultListSelectionModel.java,
8619 javax/swing/DefaultSingleSelectionModel.java,
8620 javax/swing/DesktopManager.java,
8621 javax/swing/event/AncestorEvent.java,
8622 javax/swing/event/AncestorListener.java,
8623 javax/swing/event/CaretEvent.java,
8624 javax/swing/event/CaretListener.java,
8625 javax/swing/event/CellEditorListener.java,
8626 javax/swing/event/ChangeEvent.java,
8627 javax/swing/event/ChangeListener.java,
8628 javax/swing/event/DocumentEvent.java,
8629 javax/swing/event/DocumentListener.java,
8630 javax/swing/event/EventListenerList.java,
8631 javax/swing/event/HyperlinkEvent.java,
8632 javax/swing/event/HyperlinkListener.java,
8633 javax/swing/event/InternalFrameAdapter.java,
8634 javax/swing/event/InternalFrameEvent.java,
8635 javax/swing/event/InternalFrameListener.java,
8636 javax/swing/event/ListDataEvent.java,
8637 javax/swing/event/ListDataListener.java,
8638 javax/swing/event/ListSelectionEvent.java,
8639 javax/swing/event/ListSelectionListener.java,
8640 javax/swing/event/MenuDragMouseEvent.java,
8641 javax/swing/event/MenuDragMouseListener.java,
8642 javax/swing/event/MenuEvent.java,
8643 javax/swing/event/MenuKeyEvent.java,
8644 javax/swing/event/MenuKeyListener.java,
8645 javax/swing/event/MenuListener.java,
8646 javax/swing/event/MouseInputAdapter.java,
8647 javax/swing/event/MouseInputListener.java,
8648 javax/swing/event/PopupMenuEvent.java,
8649 javax/swing/event/PopupMenuListener.java,
8650 javax/swing/event/SwingPropertyChangeSupport.java,
8651 javax/swing/event/TableColumnModelEvent.java,
8652 javax/swing/event/TableColumnModelListener.java,
8653 javax/swing/event/TableModelEvent.java,
8654 javax/swing/event/TableModelListener.java,
8655 javax/swing/event/TreeExpansionEvent.java,
8656 javax/swing/event/TreeExpansionListener.java,
8657 javax/swing/event/TreeModelEvent.java,
8658 javax/swing/event/TreeModelListener.java,
8659 javax/swing/event/TreeSelectionEvent.java,
8660 javax/swing/event/TreeSelectionListener.java,
8661 javax/swing/event/TreeWillExpandListener.java,
8662 javax/swing/event/UndoableEditEvent.java,
8663 javax/swing/event/UndoableEditListener.java,
8664 javax/swing/filechooser/FileFilter.java,
8665 javax/swing/filechooser/FileSystemView.java,
8666 javax/swing/filechooser/FileView.java,
8667 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8668 javax/swing/Icon.java, javax/swing/ImageIcon.java,
8669 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8670 javax/swing/JApplet.java, javax/swing/JButton.java,
8671 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8672 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8673 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8674 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8675 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8676 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8677 javax/swing/JLayeredPane.java, javax/swing/JList.java,
8678 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8679 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8680 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8681 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8682 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8683 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8684 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8685 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8686 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8687 javax/swing/JTextField.java, javax/swing/JTextPane.java,
8688 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8689 javax/swing/JToolTip.java, javax/swing/JTree.java,
8690 javax/swing/JViewport.java, javax/swing/JWindow.java,
8691 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8692 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8693 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8694 javax/swing/MenuSelectionManager.java,
8695 javax/swing/MutableComboBoxModel.java,
8696 javax/swing/OverlayLayout.java,
8697 javax/swing/plaf/ActionMapUIResource.java,
8698 javax/swing/plaf/basic/BasicBorders.java,
8699 javax/swing/plaf/basic/BasicButtonUI.java,
8700 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8701 javax/swing/plaf/basic/BasicDefaults.java,
8702 javax/swing/plaf/basic/BasicGraphicsUtils.java,
8703 javax/swing/plaf/basic/BasicIconFactory.java,
8704 javax/swing/plaf/basic/BasicLabelUI.java,
8705 javax/swing/plaf/basic/BasicListUI.java,
8706 javax/swing/plaf/basic/BasicLookAndFeel.java,
8707 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8708 javax/swing/plaf/basic/BasicPanelUI.java,
8709 javax/swing/plaf/basic/BasicRadioButtonUI.java,
8710 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8711 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8712 javax/swing/plaf/basic/BasicTextUI.java,
8713 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8714 javax/swing/plaf/basic/BasicTreeUI.java,
8715 javax/swing/plaf/basic/BasicViewportUI.java,
8716 javax/swing/plaf/BorderUIResource.java,
8717 javax/swing/plaf/ButtonUI.java,
8718 javax/swing/plaf/ColorChooserUI.java,
8719 javax/swing/plaf/ColorUIResource.java,
8720 javax/swing/plaf/ComboBoxUI.java,
8721 javax/swing/plaf/ComponentInputMapUIResource.java,
8722 javax/swing/plaf/ComponentUI.java,
8723 javax/swing/plaf/DesktopIconUI.java,
8724 javax/swing/plaf/DesktopPaneUI.java,
8725 javax/swing/plaf/DimensionUIResource.java,
8726 javax/swing/plaf/FileChooserUI.java,
8727 javax/swing/plaf/FontUIResource.java,
8728 javax/swing/plaf/IconUIResource.java,
8729 javax/swing/plaf/InputMapUIResource.java,
8730 javax/swing/plaf/InsetsUIResource.java,
8731 javax/swing/plaf/InternalFrameUI.java,
8732 javax/swing/plaf/LabelUI.java,
8733 javax/swing/plaf/ListUI.java,
8734 javax/swing/plaf/MenuBarUI.java,
8735 javax/swing/plaf/MenuItemUI.java,
8736 javax/swing/plaf/OptionPaneUI.java,
8737 javax/swing/plaf/PanelUI.java,
8738 javax/swing/plaf/PopupMenuUI.java,
8739 javax/swing/plaf/ProgressBarUI.java,
8740 javax/swing/plaf/RootPaneUI.java,
8741 javax/swing/plaf/ScrollBarUI.java,
8742 javax/swing/plaf/ScrollPaneUI.java,
8743 javax/swing/plaf/SeparatorUI.java,
8744 javax/swing/plaf/SliderUI.java,
8745 javax/swing/plaf/SplitPaneUI.java,
8746 javax/swing/plaf/TabbedPaneUI.java,
8747 javax/swing/plaf/TableHeaderUI.java,
8748 javax/swing/plaf/TableUI.java,
8749 javax/swing/plaf/TextUI.java,
8750 javax/swing/plaf/ToolBarUI.java,
8751 javax/swing/plaf/ToolTipUI.java,
8752 javax/swing/plaf/TreeUI.java,
8753 javax/swing/plaf/UIResource.java,
8754 javax/swing/plaf/ViewportUI.java,
8755 javax/swing/ProgressMonitorInputStream.java,
8756 javax/swing/ProgressMonitor.java,
8757 javax/swing/Renderer.java,
8758 javax/swing/RepaintManager.java,
8759 javax/swing/RootPaneContainer.java,
8760 javax/swing/Scrollable.java,
8761 javax/swing/ScrollPaneConstants.java,
8762 javax/swing/ScrollPaneLayout.java,
8763 javax/swing/SingleSelectionModel.java,
8764 javax/swing/SizeRequirements.java,
8765 javax/swing/SizeSequence.java,
8766 javax/swing/SwingConstants.java,
8767 javax/swing/SwingUtilities.java,
8768 javax/swing/table/AbstractTableModel.java,
8769 javax/swing/table/DefaultTableCellRenderer.java,
8770 javax/swing/table/DefaultTableColumnModel.java,
8771 javax/swing/table/DefaultTableModel.java,
8772 javax/swing/table/TableCellEditor.java,
8773 javax/swing/table/TableCellRenderer.java,
8774 javax/swing/table/TableColumn.java,
8775 javax/swing/table/TableColumnModel.java,
8776 javax/swing/table/TableModel.java,
8777 javax/swing/text/AbstractDocument.java,
8778 javax/swing/text/AttributeSet.java,
8779 javax/swing/text/BadLocationException.java,
8780 javax/swing/text/Caret.java,
8781 javax/swing/text/CharacterIterator.java,
8782 javax/swing/text/ComponentView.java,
8783 javax/swing/text/DefaultCaret.java,
8784 javax/swing/text/DefaultEditorKit.java,
8785 javax/swing/text/Document.java,
8786 javax/swing/text/EditorKit.java,
8787 javax/swing/text/Element.java,
8788 javax/swing/text/GapContent.java,
8789 javax/swing/text/JTextComponent.java,
8790 javax/swing/text/Keymap.java,
8791 javax/swing/text/MutableAttributeSet.java,
8792 javax/swing/text/PlainDocument.java,
8793 javax/swing/text/PlainEditorKit.java,
8794 javax/swing/text/Position.java,
8795 javax/swing/text/Segment.java,
8796 javax/swing/text/StyledDocument.java,
8797 javax/swing/text/StyledEditorKit.java,
8798 javax/swing/text/Style.java,
8799 javax/swing/text/TextAction.java,
8800 javax/swing/text/ViewFactory.java,
8801 javax/swing/text/View.java,
8802 javax/swing/Timer.java,
8803 javax/swing/ToggleButtonModel.java,
8804 javax/swing/ToolTipManager.java,
8805 javax/swing/tree/AbstractLayoutCache.java,
8806 javax/swing/tree/DefaultMutableTreeNode.java,
8807 javax/swing/tree/DefaultTreeCellEditor.java,
8808 javax/swing/tree/DefaultTreeCellRenderer.java,
8809 javax/swing/tree/DefaultTreeModel.java,
8810 javax/swing/tree/DefaultTreeSelectionModel.java,
8811 javax/swing/tree/ExpandVetoException.java,
8812 javax/swing/tree/FixedHeightLayoutCache.java,
8813 javax/swing/tree/MutableTreeNode.java,
8814 javax/swing/tree/RowMapper.java,
8815 javax/swing/tree/TreeCellEditor.java,
8816 javax/swing/tree/TreeCellRenderer.java,
8817 javax/swing/tree/TreeModel.java,
8818 javax/swing/tree/TreeNode.java,
8819 javax/swing/tree/TreePath.java,
8820 javax/swing/tree/TreeSelectionModel.java,
8821 javax/swing/tree/VariableHeightLayoutCache.java,
8822 javax/swing/UIDefaults.java,
8823 javax/swing/UIManager.java,
8824 javax/swing/undo/AbstractUndoableEdit.java,
8825 javax/swing/undo/CannotRedoException.java,
8826 javax/swing/undo/CannotUndoException.java,
8827 javax/swing/undo/CompoundEdit.java,
8828 javax/swing/undo/StateEditable.java,
8829 javax/swing/undo/StateEdit.java,
8830 javax/swing/undo/UndoableEdit.java,
8831 javax/swing/undo/UndoableEditSupport.java,
8832 javax/swing/undo/UndoManager.java,
8833 javax/swing/UnsupportedLookAndFeelException.java,
8834 javax/swing/ViewportLayout.java,
8835 javax/swing/WindowConstants.java: New files, from GNU Classpath.
8836
8837 * java/awt/ActiveEvent.java,
8838 java/awt/Adjustable.java, java/awt/AWTError.java,
8839 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8840 java/awt/AWTException.java, java/awt/AWTPermission.java,
8841 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8842 java/awt/Color.java, java/awt/Component.java,
8843 java/awt/ComponentOrientation.java, java/awt/Container.java,
8844 java/awt/datatransfer/MimeTypeParseException.java,
8845 java/awt/datatransfer/Transferable.java,
8846 java/awt/datatransfer/UnsupportedFlavorException.java,
8847 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8848 java/awt/event/ActionListener.java,
8849 java/awt/event/AdjustmentEvent.java,
8850 java/awt/event/AdjustmentListener.java,
8851 java/awt/event/AWTEventListener.java,
8852 java/awt/event/ComponentAdapter.java,
8853 java/awt/event/ComponentEvent.java,
8854 java/awt/event/ComponentListener.java,
8855 java/awt/event/ContainerAdapter.java,
8856 java/awt/event/ContainerEvent.java,
8857 java/awt/event/ContainerListener.java,
8858 java/awt/event/FocusAdapter.java,
8859 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8860 java/awt/event/HierarchyBoundsAdapter.java,
8861 java/awt/event/HierarchyBoundsListener.java,
8862 java/awt/event/HierarchyEvent.java,
8863 java/awt/event/HierarchyListener.java,
8864 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8865 java/awt/event/InputMethodListener.java,
8866 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8867 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8868 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8869 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8870 java/awt/event/MouseListener.java,
8871 java/awt/event/MouseMotionAdapter.java,
8872 java/awt/event/MouseMotionListener.java,
8873 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8874 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8875 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8876 java/awt/event/WindowListener.java, java/awt/Font.java,
8877 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8878 java/awt/geom/Ellipse2D.java,
8879 java/awt/geom/IllegalPathStateException.java,
8880 java/awt/geom/Line2D.java,
8881 java/awt/geom/NoninvertibleTransformException.java,
8882 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8883 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8884 java/awt/geom/RoundRectangle2D.java,
8885 java/awt/GraphicsConfiguration.java,
8886 java/awt/IllegalComponentStateException.java,
8887 java/awt/image/IndexColorModel.java,
8888 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8889 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8890 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8891 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8892 java/awt/MenuItem.java, java/awt/PaintContext.java,
8893 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8894 java/awt/Polygon.java, java/awt/PrintGraphics.java,
8895 java/awt/PrintJob.java, java/awt/Rectangle.java,
8896 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8897 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8898 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8899
8900 * java/awt/im/spi/InputMethod.java,
8901 java/awt/im/spi/InputMethodContext.java,
8902 java/awt/im/spi/InputMethodDescriptor.java,
8903 java/awt/image/renderable/ContextualRenderedImageFactory.java,
8904 java/awt/image/renderable/ParameterBlock.java,
8905 java/awt/image/renderable/RenderContext.java,
8906 java/awt/image/renderable/RenderableImage.java,
8907 java/awt/image/renderable/RenderableImageOp.java,
8908 java/awt/image/renderable/RenderableImageProducer.java,
8909 java/awt/image/renderable/RenderedImageFactory.java: New files from
8910 classpath.
8911
8912 * gnu/java/awt/EventModifier.java,
8913 gnu/java/awt/image/ImageDecoder.java,
8914 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8915
8916 * gnu/awt/xlib/XGraphicsConfiguration.java,
8917 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8918 API.
8919
8920 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8921 GNU Classpath.
8922
8923 * Makefile.am: Add new files.
8924 * Makefile.in: Rebuilt.
8925
8926 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8927
8928 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8929 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8930 findResource, getResources, findResources): Add javadoc from classpath.
8931 (getSystemResources): Implemented.
8932
8933 2002-08-01 Mark Wielaard <mark@klomp.org>
8934
8935 Revert patch that breaks libgcj shared library on powerpc:
8936 * gnu/java/security/provider/Gnu.java: Reverse referencing all
8937 implementation classes by using Class.getName(). Uses Strings again.
8938 * gnu/java/security/der/DEREncodingException.java,
8939 gnu/java/security/provider/DERReader.java,
8940 gnu/java/security/provider/DERWriter.java,
8941 gnu/java/security/provider/DSAKeyPairGenerator.java,
8942 gnu/java/security/provider/DSAParameterGenerator.java,
8943 gnu/java/security/provider/DSAParameters.java,
8944 gnu/java/security/provider/DSASignature.java,
8945 gnu/java/security/provider/GnuDSAPrivateKey.java,
8946 gnu/java/security/provider/GnuDSAPublicKey.java,
8947 gnu/java/security/provider/MD5.java,
8948 gnu/java/security/util/Prime.java: Removed.
8949 * Makefile.am (ordinary_java_source_files): Remove above files.
8950 * Makefile.in: Regenerate.
8951 * gnu/java/security/provider/DefaultPolicy.java
8952 (getPermissions): Revert to maintaining static class variable of
8953 Permissions.
8954 * gnu/java/security/provider/SHA.java
8955 (engineUpdate): Revert algorithm change.
8956 (engineDigest): Revert algorithm change.
8957
8958 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
8959
8960 * configure.host: Add SH support.
8961 * sysdep/sh/locks.h: New file.
8962
8963 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8964
8965 * java/awt/Frame.java (Frame): Remove println calls.
8966
8967 2002-07-30 Jeff Sturm <jsturm@one-point.com>
8968
8969 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8970 * configure: Rebuilt.
8971
8972 2002-07-27 Alan Modra <amodra@bigpond.net.au>
8973
8974 * sysdep/powerpc/locks.h: Formatting.
8975 (_LARX): Define.
8976 (_STCX): Define.
8977 (compare_and_swap): Use _LARX and _STCX.
8978 (compare_and_swap_release): Likewise.
8979
8980 2002-07-26 Tom Tromey <tromey@redhat.com>
8981
8982 * java/net/Authenticator.java: New version from Classpath.
8983 * java/net/DatagramSocketImpl.java: New version from Classpath.
8984
8985 2002-07-27 Alan Modra <amodra@bigpond.net.au>
8986
8987 * configure.host: Add powerpc64*-* entry.
8988
8989 2002-07-26 Tom Tromey <tromey@redhat.com>
8990
8991 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8992 fcntl.h.
8993
8994 2002-07-24 Tom Tromey <tromey@redhat.com>
8995
8996 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8997 argument to _load.
8998
8999 2002-07-24 Tom Tromey <tromey@redhat.com>
9000 Tony Kimball <alk@pobox.com>
9001
9002 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9003 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9004 * java/io/RandomAccessFile.java (setLength): New method.
9005 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9006 * java/io/FileDescriptor.java (setLength): New method.
9007
9008 2002-07-24 Mark Wielaard <mark@klomp.org>
9009
9010 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9011 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9012 field call setAccessible(true).
9013 (setByteField): Likewise.
9014 (setCharField): Likewise.
9015 (setDoubleField): Likewise.
9016 (setFloatField): Likewise.
9017 (setIntField): Likewise.
9018 (setLongField): Likewise.
9019 (setShortField): Likewise.
9020 (setObjectField): Likewise.
9021
9022 2002-07-24 Tom Tromey <tromey@redhat.com>
9023
9024 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9025 use toString() to format array element.
9026
9027 2002-07-23 Mark Wielaard <mark@klomp.org>
9028
9029 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9030 MessageDigestSpi (fixes Classpath bug #783).
9031
9032 2002-07-21 Mark Wielaard <mark@klomp.org>
9033
9034 * gnu/java/security/provider/Gnu.java: Reference all implementation
9035 classes by using Class.getName().
9036
9037 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9038
9039 * java/lang/ieeefp.h: Add x86-64 support.
9040 * configure.in: Likewise.
9041 * configure.host: Likewise.
9042 * configure: Regenerated.
9043 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9044
9045 2002-07-16 Mark Wielaard <mark@klomp.org>
9046
9047 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9048 (whitespaceChars): call resetChar().
9049
9050 2002-07-15 Tom Tromey <tromey@redhat.com>
9051
9052 * Makefile.in: Rebuilt.
9053 * Makefile.am (awt_java_source_files): Added new files.
9054 * java/beans/ExceptionListener.java: Merged with Classpath.
9055 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9056 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9057 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9058 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9059 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9060 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9061 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9062
9063 2002-07-14 Mark Wielaard <mark@klomp.org>
9064
9065 * gnu/java/security/der/DEREncodingException.java,
9066 gnu/java/security/provider/DERReader.java,
9067 gnu/java/security/provider/DERWriter.java,
9068 gnu/java/security/provider/DSAKeyPairGenerator.java,
9069 gnu/java/security/provider/DSAParameterGenerator.java,
9070 gnu/java/security/provider/DSAParameters.java,
9071 gnu/java/security/provider/DSASignature.java,
9072 gnu/java/security/provider/GnuDSAPrivateKey.java,
9073 gnu/java/security/provider/GnuDSAPublicKey.java,
9074 gnu/java/security/provider/MD5.java,
9075 gnu/java/security/util/Prime.java: New files from Classpath.
9076 * Makefile.am (ordinary_java_source_files): Add new files.
9077 * Makefile.in: Regenerate.
9078
9079 2002-07-14 C. Brian Jones <cbj@gnu.org>
9080
9081 * gnu/java/security/provider/DefaultPolicy.java
9082 (getPermissions): do not maintain static class variable of
9083 Permissions
9084 * gnu/java/security/provider/SHA.java
9085 (engineUpdate): algorithm change
9086 (engineDigest): algorithm change
9087
9088 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9089
9090 For PR libgcj/7292:
9091 * java/lang/Character.java (toString(char)): Now static.
9092
9093 2002-07-12 Mark Wielaard <mark@klomp.org>
9094
9095 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9096 (getStackTrace0): new method.
9097 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9098 (printStackTrace(PrintWriter)): replace with pure java implementation.
9099 (printRawStackTrace): removed.
9100 (getStackTrace0): new method.
9101 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9102 * gcj/javaprims.h: regenerate class list.
9103 * include/name-finder.h (lookup): new returns StackTraceElement*.
9104 (method_name, file_name): fields removed.
9105 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9106 (~_Jv_name_finder): close new descriptors.
9107 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9108 (createStackTraceElement): new method.
9109 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9110
9111 2002-07-10 Tom Tromey <tromey@redhat.com>
9112
9113 * configure: Rebuilt.
9114 * configure.in: Use `test' after `&&'. From Chris Faylor.
9115
9116 2002-07-08 Mark Wielaard <mark@klomp.org>
9117
9118 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9119 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9120 java.sql.DatabaseMetaData.TestJdbc20
9121
9122 2002-07-05 Tony Kimball <alk@pobox.com>
9123
9124 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9125
9126 2002-07-04 Tom Tromey <tromey@redhat.com>
9127 Jeff Sturm <jsturm@one-point.com>
9128
9129 Fix for PR libgcj/7060:
9130 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9131 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9132 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9133 * java/lang/Class.java (getMethod): New Java implementation;
9134 complies with spec.
9135 (_getMethod): New native method.
9136
9137 2002-07-02 Tom Tromey <tromey@redhat.com>
9138 David Hovemeyer <daveho@cs.umd.edu>
9139
9140 * java/text/ChoiceFormat.java
9141 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9142 in check loop.
9143 * java/text/MessageFormat.java
9144 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9145 to MessageFormat.
9146
9147 2002-07-01 Tom Tromey <tromey@redhat.com>
9148
9149 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9150 StringTokenizer on null string. For PR libgcj/7180.
9151 From daveho@cs.umd.edu.
9152
9153 2002-06-24 Tom Tromey <tromey@redhat.com>
9154
9155 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9156 (IntegerClass): Likewise.
9157 * java/lang/natClass.cc (CloneableClass): Removed.
9158 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9159 ConstructorClass): Likewise.
9160 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9161 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9162 SerializableClass): Likewise.
9163 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9164 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9165 LongClass, FloatClass, DoubleClass): Likewise.
9166
9167 * verify.cc (branch_prepass): Updated for change to exception
9168 handler type.
9169 (verify_instructions_0): Likewise.
9170 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9171 (handleExceptionTableEntry): Updated for change to exception
9172 handler type.
9173 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9174 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9175 (union _Jv_InterpPC): New.
9176 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9177 (class _Jv_InterpMethod): Added new `prepared' field.
9178 (class _Jv_InterpMethod): Added `compile' method. Removed
9179 `continue1' and `find_exception'. Changed arguments to `run'.
9180 * interpret.cc (union insn_slot): New.
9181 (find_exception): Removed.
9182 (run_normal): Removed most logic.
9183 (run_synch_object): Likewise; also, use JvSynchronize.
9184 (run_synch_class): Likewise.
9185 (run): Removed.
9186 (continue1): Renamed as `run'. Compile bytecode if required.
9187 Add new code to allow refinement of direct-threaded code at
9188 runtime. Handle exceptions.
9189 (SAVE_PC): Removed.
9190 (compile): New method.
9191 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9192 (NULLARRAYCHECK): Don't use SAVE_PC.
9193 (pc_t): New typedef.
9194 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9195 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9196
9197 2002-06-23 Tom Tromey <tromey@redhat.com>
9198
9199 * configure: Rebuilt.
9200 * configure.in (INTERPRETER): New subst.
9201 (AM_RUNTESTFLAGS): Don't subst.
9202
9203 * Makefile.in: Rebuilt.
9204 * Makefile.am ($(srcdir)/java/lang/Object.h,
9205 $(srcdir)/java/lang/Class.h): Added dummy targets.
9206
9207 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9208
9209 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9210
9211 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9212 java/sql/Savepoint.java: New files.
9213 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9214 java/sql/Blob.java, java/sql/CallableStatement.java,
9215 java/sql/Clob.java, java/sql/Connection.java,
9216 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9217 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9218 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9219 java/sql/Ref.java, java/sql/ResultSet.java,
9220 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9221 java/sql/SQLException.java, java/sql/SQLInput.java,
9222 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9223 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9224 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9225 (JDK 1.4) specification.
9226 * javax/sql/ConnectionEvent.java,
9227 javax/sql/ConnectionEventListener.java,
9228 javax/sql/ConnectionPoolDataSource.java,
9229 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9230 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9231 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9232 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9233 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9234 javax/sql/XADataSource.java: New files.
9235 * Makefile.am: Add new files.
9236 * Makefile.in: Rebuilt.
9237
9238 2002-06-20 Tom Tromey <tromey@redhat.com>
9239
9240 For PR libgcj/7073:
9241 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9242 exists.
9243 * defineclass.cc (handleClassBegin): Superclass for interface is
9244 `null'.
9245
9246 2002-06-18 Tom Tromey <tromey@redhat.com>
9247
9248 * gcj/javaprims.h: Updated class declaration list.
9249 * Makefile.in: Rebuilt.
9250 * Makefile.am (core_java_source_files): Removed
9251 BasicMapEntry.java.
9252 * java/util/BasicMapEntry.java: Removed.
9253
9254 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9255
9256 * java/net/natPlainDatagramSocketImpl.cc (receive):
9257 Check bounds of argument to FD_SET.
9258 (setOption): Throw exception if socket is closed.
9259
9260 * java/net/natPlainSocketImpl.cc (accept, read):
9261 Check bounds of argument to FD_SET.
9262 (setOption): Throw exception if socket is closed.
9263
9264 2002-06-18 Tom Tromey <tromey@redhat.com>
9265
9266 * gcj/javaprims.h: Updated class declaration list.
9267 * Makefile.in: Rebuilt.
9268 * Makefile.am (core_java_source_files): Added
9269 PropertyPermissionCollection.java.
9270 * java/lang/Thread.java (group, name): Now package-private.
9271 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9272 * java/util/AbstractList.java: Likewise.
9273 * java/util/AbstractMap.java: Likewise.
9274 * java/util/Calendar.java: Likewise.
9275 * java/util/Collections.java: Likewise.
9276 * java/util/HashMap.java: Likewise.
9277 * java/util/Hashtable.java: Likewise.
9278 * java/util/LinkedHashMap.java: Likewise.
9279 * java/util/LinkedList.java: Likewise.
9280 * java/util/List.java: Likewise.
9281 * java/util/ListResourceBundle.java: Likewise.
9282 * java/util/Map.java: Likewise.
9283 * java/util/Observable.java: Likewise.
9284 * java/util/Properties.java: Likewise.
9285 * java/util/PropertyPermission.java: Likewise.
9286 * java/util/PropertyPermissionCollection.java: Likewise.
9287 * java/util/PropertyResourceBundle.java: Likewise.
9288 * java/util/Random.java: Likewise.
9289 * java/util/SimpleTimeZone.java: Likewise.
9290 * java/util/StringTokenizer.java: Likewise.
9291 * java/util/TimerTask.java: Likewise.
9292 * java/util/TreeMap.java: Likewise.
9293 * java/util/WeakHashMap.java: Likewise.
9294 * java/util/jar/Attributes.java: Likewise.
9295 * java/util/jar/JarException.java: Likewise.
9296 * java/util/jar/Manifest.java: Likewise.
9297
9298 2002-06-17 Tom Tromey <tromey@redhat.com>
9299
9300 * gcj/javaprims.h: Updated class declaration list.
9301 * Makefile.in: Rebuilt.
9302 * Makefile.am (core_java_source_files): Added new file.
9303 * java/util/EventListenerProxy.java: New file.
9304 * java/util/EventListener.java: Re-merge with Classpath.
9305 * java/util/EventObject.java: Re-merge with Classpath.
9306
9307 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9308
9309 * java/lang/ClassNotFoundException.java: New Classpath version.
9310
9311 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9312
9313 * java/rmi/activation/ActivateFailedException.java: Remerge from
9314 Classpath version.
9315 * java/rmi/activation/ActivationException.java: Ditto.
9316 * java/rmi/activation/UnknownGroupException.java: Ditto.
9317 * java/rmi/activation/UnknownObjectException.java: Ditto.
9318 * java/rmi/server/ExportException: Ditto.
9319 * java/rmi/server/ServerCloneException: Ditto.
9320 * java/rmi/server/ServerNotActiveException: Ditto.
9321 * java/rmi/server/SkeletonMismatchException: Ditto.
9322 * java/rmi/server/SkeletonNotFoundException: Ditto.
9323 * java/rmi/server/SocketSecurityException: Ditto.
9324
9325 2002-06-16 Tom Tromey <tromey@redhat.com>
9326
9327 * gcj/javaprims.h: Updated class declaration list.
9328
9329 * java/io/LineNumberInputStream.java: Merged with Classpath.
9330
9331 * java/lang/RuntimeException.java: Re-merge with Classpath.
9332 * java/util/ArrayList.java: Likewise.
9333 * java/util/Arrays.java: Likewise.
9334 * java/util/BitSet.java: Likewise.
9335 * java/util/Dictionary.java: Likewise.
9336 * java/util/IdentityHashMap.java: Likewise.
9337 * java/util/MissingResourceException.java: Likewise.
9338 * java/util/Observer.java: Likewise.
9339 * java/util/TooManyListenersException.java: Likewise.
9340 * java/util/zip/DataFormatException.java: Likewise.
9341 * java/util/zip/ZipException.java: Likewise.
9342
9343 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9344
9345 * java/rmi/AccessException.java: Remerge from Classpath.
9346 * java/rmi/AlreadyBoundException.java: Ditto.
9347 * java/rmi/ConnectException.java: Ditto.
9348 * java/rmi/ConnectIOException.java: Ditto.
9349 * java/rmi/MarshalException.java: Ditto.
9350 * java/rmi/NoSuchObjectException.java: Ditto.
9351 * java/rmi/NotBoundException.java: Ditto.
9352 * java/rmi/RemoteException.java: Ditto.
9353 * java/rmi/RMISecurityException.java: Ditto.
9354 * java/rmi/ServerError.java: Ditto.
9355 * java/rmi/ServerException.java: Ditto.
9356 * java/rmi/ServerRuntimeException.java: Ditto.
9357 * java/rmi/StubNotFoundException.java: Ditto.
9358 * java/rmi/UnexpectedExcpetion.java: Ditto.
9359 * java/rmi/UnknownHostException.java: Ditto.
9360 * java/rmi/UnmarshalException.java: Ditto.
9361
9362 2002-06-15 Tom Tromey <tromey@redhat.com>
9363
9364 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9365 * java/lang/ArithmeticException.java: Likewise.
9366 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9367 * java/lang/ArrayStoreException.java: Likewise.
9368 * java/lang/Byte.java: Likewise.
9369 * java/lang/CharSequence.java: Likewise.
9370 * java/lang/ClassCastException.java: Likewise.
9371 * java/lang/ClassCircularityError.java: Likewise.
9372 * java/lang/ClassFormatError.java: Likewise.
9373 * java/lang/CloneNotSupportedException.java: Likewise.
9374 * java/lang/Cloneable.java: Likewise.
9375 * java/lang/Comparable.java: Likewise.
9376 * java/lang/Compiler.java: Likewise.
9377 * java/lang/Error.java: Likewise.
9378 * java/lang/ExceptionInInitializerError.java: Likewise.
9379 * java/lang/IllegalAccessError.java: Likewise.
9380 * java/lang/IllegalAccessException.java: Likewise.
9381 * java/lang/IllegalArgumentException.java: Likewise.
9382 * java/lang/IllegalMonitorStateException.java: Likewise.
9383 * java/lang/IllegalStateException.java: Likewise.
9384 * java/lang/IllegalThreadStateException.java: Likewise.
9385 * java/lang/IncompatibleClassChangeError.java: Likewise.
9386 * java/lang/IndexOutOfBoundsException.java: Likewise.
9387 * java/lang/InheritableThreadLocal.java: Likewise.
9388 * java/lang/InstantiationError.java: Likewise.
9389 * java/lang/InstantiationException.java: Likewise.
9390 * java/lang/InternalError.java: Likewise.
9391 * java/lang/InterruptedException.java: Likewise.
9392 * java/lang/LinkageError.java: Likewise.
9393 * java/lang/NegativeArraySizeException.java: Likewise.
9394 * java/lang/NoClassDefFoundError.java: Likewise.
9395 * java/lang/NoSuchFieldError.java: Likewise.
9396 * java/lang/NoSuchFieldException.java: Likewise.
9397 * java/lang/NoSuchMethodError.java: Likewise.
9398 * java/lang/NoSuchMethodException.java: Likewise.
9399 * java/lang/NullPointerException.java: Likewise.
9400 * java/lang/NumberFormatException.java: Likewise.
9401 * java/lang/OutOfMemoryError.java: Likewise.
9402 * java/lang/Process.java: Likewise.
9403 * java/lang/Runnable.java: Likewise.
9404 * java/lang/RuntimePermission.java: Likewise.
9405 * java/lang/SecurityException.java: Likewise.
9406 * java/lang/Short.java: Likewise.
9407 * java/lang/StackOverflowError.java: Likewise.
9408 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9409 * java/lang/ThreadDeath.java: Likewise.
9410 * java/lang/ThreadLocal.java: Likewise.
9411 * java/lang/UnknownError.java: Likewise.
9412 * java/lang/UnsatisfiedLinkError.java: Likewise.
9413 * java/lang/UnsupportedClassVersionError.java: Likewise.
9414 * java/lang/UnsupportedOperationException.java: Likewise.
9415 * java/lang/VerifyError.java: Likewise.
9416 * java/lang/VirtualMachineError.java: Likewise.
9417 * java/lang/reflect/InvocationTargetException.java: Likewise.
9418 * java/net/BindException.java: Likewise.
9419 * java/net/ConnectException.java: Likewise.
9420 * java/net/MalformedURLException.java: Likewise.
9421 * java/net/NoRouteToHostException.java: Likewise.
9422 * java/net/ProtocolException.java: Likewise.
9423 * java/net/SocketException.java: Likewise.
9424 * java/net/UnknownHostException.java: Likewise.
9425 * java/net/UnknownServiceException.java: Likewise.
9426
9427 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9428 * java/io/CharConversionException.java: Likewise.
9429 * java/io/EOFException.java: Likewise.
9430 * java/io/FileNotFoundException.java: Likewise.
9431 * java/io/IOException.java: Likewise.
9432 * java/io/InterruptedIOException.java: Likewise.
9433 * java/io/InvalidClassException.java: Likewise.
9434 * java/io/InvalidObjectException.java: Likewise.
9435 * java/io/NotActiveException.java: Likewise.
9436 * java/io/NotSerializableException.java: Likewise.
9437 * java/io/ObjectStreamException.java: Likewise.
9438 * java/io/ObjectStreamConstants.java: Likewise.
9439 * java/io/OptionalDataException.java: Likewise.
9440 * java/io/PipedInputStream.java: Likewise.
9441 * java/io/PushbackInputStream.java: Likewise.
9442 * java/io/StreamCorruptedException.java: Likewise.
9443 * java/io/SyncFailedException.java: Likewise.
9444 * java/io/UTFDataFormatException.java: Likewise.
9445 * java/io/UnsupportedEncodingException.java: Likewise.
9446 * java/io/WriteAbortedException.java: Likewise.
9447
9448 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9449
9450 * java/text/ChoiceFormat.java: Update comments from Classpath.
9451 * java/text/ParseException.java (serialVersionUID): New
9452 field from Classpath.
9453 * java/text/ParseException.java: Update formatting & comments
9454 from Classpath.
9455
9456 2002-06-15 Tom Tromey <tromey@redhat.com>
9457
9458 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9459 been read but none output by inflater.
9460 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9461 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9462 is_finished.
9463 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9464 version.
9465 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9466 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9467 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9468 version.
9469 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9470
9471 2002-06-13 Tom Tromey <tromey@redhat.com>
9472
9473 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9474 true and OFFSET!=0.
9475 * java/lang/String.java (String(char[],int,int,boolean): New
9476 constructor.
9477 * java/lang/Long.java: Imported new version from Classpath.
9478 * java/lang/Number.java: Likewise.
9479 * java/lang/Integer.java: Likewise.
9480 * java/lang/Long.java: Likewise.
9481 * java/lang/Float.java: Likewise.
9482 * java/lang/Boolean.java: Likewise.
9483 * java/lang/Double.java: Likewise.
9484 * java/lang/Void.java: Likewise.
9485
9486 2002-06-12 Tom Tromey <tromey@redhat.com>
9487
9488 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9489 Fixes PR libgcj/6652.
9490
9491 2002-06-10 Tom Tromey <tromey@redhat.com>
9492
9493 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9494 (Class::getPackagePortion): Likewise.
9495 * java/lang/Class.java (desiredAssertionStatus): New method from
9496 Classpath.
9497 (getPackagePortion): Likewise.
9498 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9499 packageAssertionStatus, classAssertionStatus): New methods from
9500 Classpath.
9501 * java/lang/ClassLoader.java (defaultAssertionStatus,
9502 systemPackageAssertionStatus, packageAssertionStatus,
9503 systemClassAssertionStatus, classAssertionStatus): New fields from
9504 Classpath.
9505 (setDefaultAssertionStatus, setPackageAssertionStatus,
9506 setClassAssertionStatus, clearAssertionStatus): New methods from
9507 Classpath.
9508 * Makefile.in: Rebuilt.
9509 * Makefile.am (core_java_source_files): Added AssertionError.java.
9510 * java/lang/AssertionError.java: New from Classpath.
9511
9512 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9513
9514 * configure.host: Disable hash synchronization and slow_pthread_self
9515 for cygwin.
9516
9517 2002-06-06 Adam Megacz <adam@xwt.org>
9518
9519 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9520 locking, just like the Sun JVM does.
9521
9522 2002-06-05 H.J. Lu (hjl@gnu.org)
9523
9524 * Makefile.am (libgcj_convenience.la): Revert the last change.
9525 (libgcj.la): Likewise.
9526 * Makefile.in: Regenerated.
9527
9528 2002-06-04 H.J. Lu (hjl@gnu.org)
9529
9530 * Makefile.am (libgcj_convenience.la): New target.
9531 (libgcj.la): Depend on libgcj_convenience.la.
9532 * Makefile.in: Regenerated.
9533
9534 2002-06-04 H.J. Lu (hjl@gnu.org)
9535
9536 * configure.in (--with-newlib): New option:
9537 Check ${with_newlib} instead of ${with_cross_host} for newlib.
9538 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9539 Linux.
9540 * configure: Regenerated.
9541
9542 2002-06-04 Tom Tromey <tromey@redhat.com>
9543
9544 * java/util/natTimeZone.cc: Include <stdio.h>.
9545
9546 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
9547
9548 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9549 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9550 Set SIGNAL_HANDLER=include/s390-linux.h.
9551 * configure: Regenerate.
9552 * include/s390-linux.h: New file.
9553
9554 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9555
9556 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9557 not "stackTrace".
9558
9559 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9560
9561 Merge JDK 1.4 java.security changes from classpath.
9562
9563 * java/security/AccessControlException.java: Merge from Classpath.
9564 * java/security/AccessController.java: Likewise.
9565 * java/security/AllPermission.java: Likewise.
9566 * java/security/BasicPermission.java: Likewise.
9567 * java/security/Certificate.java: Likewise.
9568 * java/security/CodeSource.java: Likewise.
9569 * java/security/DigestException.java: Likewise.
9570 * java/security/DigestOutputStream.java: Likewise.
9571 * java/security/DomainCombiner.java: Likewise.
9572 * java/security/GeneralSecurityException.java: Likewise.
9573 * java/security/Guard.java: Likewise.
9574 * java/security/GuardedObject.java: Likewise.
9575 * java/security/InvalidAlgorithmParameterException.java: Likewise.
9576 * java/security/InvalidKeyException.java: Likewise.
9577 * java/security/InvalidParameterException.java: Likewise.
9578 * java/security/Key.java: Likewise.
9579 * java/security/KeyException.java: Likewise.
9580 * java/security/KeyManagementException.java: Likewise.
9581 * java/security/KeyStoreException.java: Likewise.
9582 * java/security/MessageDigest.java: Likewise.
9583 * java/security/NoSuchAlgorithmException.java: Likewise.
9584 * java/security/NoSuchProviderException.java: Likewise.
9585 * java/security/Permission.java: Likewise.
9586 * java/security/PermissionCollection.java: Likewise.
9587 * java/security/Permissions.java: Likewise.
9588 * java/security/Policy.java: Likewise.
9589 * java/security/Principal.java: Likewise.
9590 * java/security/PrivateKey.java: Likewise.
9591 * java/security/PrivilegedAction.java: Likewise.
9592 * java/security/PrivilegedActionException.java: Likewise.
9593 * java/security/PrivilegedExceptionAction.java: Likewise.
9594 * java/security/ProtectionDomain.java: Likewise.
9595 * java/security/ProviderException.java: Likewise.
9596 * java/security/PublicKey.java: Likewise.
9597 * java/security/SecureClassLoader.java: Likewise.
9598 * java/security/SecurityPermission.java: Likewise.
9599 * java/security/SignatureException.java: Likewise.
9600 * java/security/UnrecoverableKeyException.java: Likewise.
9601 * java/security/UnresolvedPermission.java: Likewise.
9602 * java/security/acl/AclNotFoundException.java: Likewise.
9603 * java/security/acl/LastOwnerException.java: Likewise.
9604 * java/security/acl/NotOwnerException.java: Likewise.
9605 * java/security/cert/CRLException.java: Likewise.
9606 * java/security/cert/CertificateEncodingException.java: Likewise.
9607 * java/security/cert/CertificateException.java: Likewise.
9608 * java/security/cert/CertificateExpiredException.java: Likewise.
9609 * java/security/cert/CertificateFactory.java: Likewise.
9610 * java/security/cert/CertificateNotYetValidException.java: Likewise.
9611 * java/security/cert/CertificateParsingException.java: Likewise.
9612 * java/security/spec/InvalidKeySpecException.java: Likewise.
9613 * java/security/spec/InvalidParameterSpecException.java: Likewise.
9614
9615 * java/security/cert/CertPath.java: New file.
9616 * java/security/cert/CertPathBuilderException.java: New file.
9617 * java/security/cert/CertPathValidatorException.java: New file.
9618 * java/security/cert/CertStoreException.java: New file.
9619
9620 * Makefile.am: Add new CertPath classes.
9621 * Makefile.in: Rebuilt.
9622
9623 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9624
9625 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9626
9627 Merge JDK 1.4 exception chaining support from classpath.
9628
9629 * java/lang/Throwable.java: Merge 1.4 support from classpath.
9630 (stackTraceBytes): Rename from stackTrace.
9631 * java/lang/Exception.java: Merge from classpath.
9632 * java/lang/StackTraceElement: New file from classpath.
9633 * gcj/javaprims.h: Rebuild CNI namespace declarations.
9634 * Makefile.am: Add StackTraceElement.
9635 * Makefile.in: Rebuilt.
9636
9637 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9638
9639 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9640 they build first.
9641 * Makefile.in: Rebuilt.
9642
9643 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9644
9645 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9646 * configure.in: Likewise.
9647 * aclocal.m4: Regenerate.
9648 * configure: Regenerate.
9649
9650 2002-05-13 Tom Tromey <tromey@redhat.com>
9651
9652 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9653 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9654 Include platform.h.
9655
9656 Fixes PR libgcj/6389:
9657 * Makefile.in: Rebuilt.
9658 * Makefile.am (nat_source_files): Added natTimeZone.cc.
9659 * java/util/natTimeZone.cc: New file.
9660 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9661 * java/lang/System.java: Merged with Classpath.
9662 * java/lang/Runtime.java: Merged with Classpath.
9663 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9664 security check.
9665 (setIn0): Renamed from setIn; don't run security check.
9666 (setOut0): Renamed from setOut; don't run security check.
9667 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9668 init_properties): Moved to natRuntime.cc.
9669 Moved many includes to natRuntime.cc.
9670 (isWordsBigEndian): New method.
9671 * java/lang/natRuntime.cc: Include Long.h, also other includes
9672 previously in natSystem.cc.
9673 (maxMemory): New function.
9674 (exitInternal): Renamed from `_exit'.
9675 (exit): Removed.
9676 (init): Don't set finalize_on_exit.
9677 (exitInternal): Use `finalizeOnExit'.
9678 (file_encoding, getpwuid_adaptor): New functions from
9679 natSystem.cc.
9680 (insertSystemProperties): New method, renamed from
9681 System::init_properties. Don't set user.timezone.
9682 (_load): Don't call checkLink.
9683 (execInternal): New method.
9684 (availableProcessors): Likewise.
9685 (nativeGetLibname): Likewise.
9686
9687 2002-05-11 Mark Wielaard <mark@klomp.org>
9688
9689 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9690 space characters.
9691 (previous_internal): Likewise.
9692
9693 2002-05-09 Tom Tromey <tromey@redhat.com>
9694
9695 * jni.cc (_Jv_JNIFunctions): Fixed typo.
9696
9697 * java/util/ResourceBundle.java: New version from Classpath.
9698 * java/util/Locale.java: Likewise.
9699
9700 2002-05-09 Jakub Jelinek <jakub@redhat.com>
9701
9702 * testsuite/lib/libjava.exp (libjava_arguments): Append all
9703 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9704 LD_LIBRARY_PATH.
9705
9706 2002-05-08 Mark Mitchell <mark@codesourcery.com>
9707
9708 * libjava/Makefile.am (all_java_source_files): New variable.
9709 (all_java_class_files): Likewise.
9710 .java.class: New rule.
9711 (CLEANFILES): Remove tmp-list.
9712 * libjava/Makefile.in: Regenerated.
9713
9714 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
9715
9716 * testsuite/lib/libjava.exp (test_libjava_from_javac):
9717 Append .exe to executable names. Fix for cygwin.
9718
9719 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
9720
9721 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9722 script entry, and set LD to it when configuring multilibs.
9723 * configure: Rebuilt.
9724
9725 2002-05-07 Tom Tromey <tromey@redhat.com>
9726
9727 * java/lang/natString.cc (unintern): Fixed typo.
9728
9729 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9730
9731 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9732 with -no-install on *-*-cygwin*.
9733
9734 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9735
9736 * testsuite/lib/libjava.exp (test_libjava_from_source):
9737 Add comment explaining last patch
9738
9739 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
9740
9741 * testsuite/lib/libjava.exp (test_libjava_from_source):
9742 Append .exe to executable names. If no suffix is present,
9743 then ".exe" is added by default on win32. Harmless
9744 elsewhere so always do it.
9745
9746 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
9747 Tom Tromey <tromey@redhat.com>
9748
9749 * java/lang/natSystem.cc (getSystemTimeZone): Use
9750 HAVE_UNDERSCORE_TIMEZONE.
9751 * include/config.h.in: Rebuilt.
9752 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9753 * aclocal.m4, configure: Rebuilt.
9754 * acinclude.m4: Run AC_EXEEXT.
9755 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9756 Add test for `_timezone'.
9757
9758 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
9759
9760 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9761 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9762 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9763 * Makefile.in: Rebuilt.
9764
9765 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
9766
9767 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9768 use sigaction instead of __libc_sigaction.
9769
9770 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9771
9772 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9773 (libjava_init): Use it to find libgcj.spec.
9774 (libjava_arguments): Likewise.
9775
9776 2002-05-02 David S. Miller <davem@redhat.com>
9777
9778 PR bootstrap/6525
9779 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9780 __libc_sigaction on Sparc.
9781
9782 2002-05-02 Jerome Marc <marcjero@yahoo.com>
9783
9784 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9785 sys/filio.h, if present.
9786
9787 2002-04-30 Tom Tromey <tromey@redhat.com>
9788
9789 * java/io/BufferedReader.java (fill): Handle case where markPos
9790 point to ignored \n. Fixes PR libgcj/6301.
9791
9792 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
9793
9794 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9795
9796 2002-04-29 Adam King <aking@dreammechanics.com>
9797
9798 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9799 of file in APPEND mode.
9800
9801 2002-04-25 David S. Miller <davem@redhat.com>
9802
9803 PR target/6422
9804 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9805 program counter to next program counter minus 8. Update
9806 comments in this macro to explain why.
9807
9808 2002-04-26 Tom Tromey <tromey@redhat.com>
9809
9810 * verify.cc (construct_primitive_array_type) [void_type]: New
9811 case.
9812 (branch_prepass): Added dummy entries for unused instruction
9813 values.
9814 (verify_instructions_0): Likewise.
9815 * interpret.cc (continue1): Comment fix.
9816 * include/java-insns.h (op_xxxunusedxxx1): Removed.
9817 * Makefile.in: Rebuilt.
9818 * Makefile.am: Added -Wswitch-enum.
9819
9820 2002-04-24 Tom Tromey <tromey@redhat.com>
9821
9822 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9823 correct length of UTF-8 encoded name. Strip leading `/'.
9824 (_Jv_RegisterResource): Use _Jv_Malloc.
9825
9826 2002-04-23 Adam Megacz <adam@xwt.org>
9827
9828 * win32.cc, include/win32.cc (backtrace): Added this function
9829 because Win32 does not supply it.
9830
9831 2002-04-21 David S. Miller <davem@redhat.com>
9832
9833 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9834 magic instruction reading sequence.
9835
9836 2002-04-21 Mark Wielaard <mark@klomp.org>
9837
9838 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9839
9840 2002-04-19 David S. Miller <davem@redhat.com>
9841
9842 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9843 arg.
9844 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9845 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9846 on Sparc too.
9847 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9848 for 64-bit sparc.
9849 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9850 * sysdeps/sparc/locks.h: New file.
9851 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9852 on all sparc Solaris configurations. Set to
9853 include/dwarf2-signal.h on sparc Linux.
9854 * configure: Regenerate
9855 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9856
9857 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
9858
9859 * configure: Rebuilt.
9860 * configure.in (backtrace): Function doesn't work on IA-64.
9861
9862 2002-04-17 Adam King <aking@dreammechanics.com>
9863
9864 * java/io/File.java (normalizePath): Add Win32 support for auto
9865 conversion of a '/' path separator to Win32's '\' separator.
9866
9867 2002-04-16 Tom Tromey <tromey@redhat.com>
9868
9869 Fix for PR libgcj/6081:
9870 * Makefile.in: Rebuilt.
9871 * Makefile.am (install-data-local): Use GNU make trick to avoid
9872 shell limit.
9873
9874 2002-04-16 Adam King <aking@dreammechanics.com>
9875 Tom Tromey <tromey@redhat.com>
9876
9877 * java/io/natFileWin32.cc (performList): Return the correct array
9878 type. Don't duplicate the creation of a File since it's already
9879 done earlier in the method and the existing code would cause a
9880 ArrayStoreException. Don't use fixed-size array.
9881 (_access, _stat, attr, getCanonicalPath, performMkdir,
9882 performRenameTo): Don't use fixed-size array.
9883 (getCanonicalPath): Use throw, not _Jv_Throw.
9884
9885 2002-04-15 DJ Delorie <dj@redhat.com>
9886
9887 * configure.in: Allow building in $srcdir.
9888 * configure: Regenerated.
9889
9890 2002-04-14 Mark Wielaard <mark@klomp.org>
9891
9892 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9893 * java/net/natSocketImpl.cc (close): Likewise.
9894
9895 2002-04-14 Mark Wielaard <mark@klomp.org>
9896
9897 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9898
9899 2002-04-13 Adam King <aking@dreammechanics.com>
9900
9901 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9902 the f/F/d/D modifiers.
9903
9904 2002-04-12 Anthony Green <green@redhat.com>
9905
9906 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9907 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9908 * Makefile.in: Rebuilt.
9909 * configure.in: Substitute gcc_version.
9910 * configure: Rebuilt.
9911
9912 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9913
9914 * configure.host: Set can_unwind_signal on hosts which support it.
9915 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9916 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9917 exceptions and can_unwind_signal isn't set.
9918 * configure: Rebuilt.
9919
9920 2002-04-11 Tom Tromey <tromey@redhat.com>
9921
9922 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9923
9924 2002-04-11 Adam King <aking@dreammechanics.com>
9925 Tom Tromey <tromey@redhat.com>
9926
9927 * include/jvm.h (_Jv_ThrowBadArrayIndex,
9928 _Jv_ThrowNullPointerException): Mark as noreturn.
9929 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9930 and _Jv_free. Correctly invoke GetTempPath(). Indentation
9931 fixes.
9932
9933 2002-04-10 Tom Tromey <tromey@redhat.com>
9934
9935 * Makefile.in: Rebuilt.
9936 * Makefile.am (java/lang/Thread.h): Mark
9937 _Jv_AttachCurrentThreadAsDaemon as friend.
9938 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9939 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9940 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9941 function.
9942 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9943 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9944 (_Jv_JNI_InvokeFunctions): Added
9945 _Jv_JNI_AttachCurrentThreadAsDaemon.
9946 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9947 (JNI_GetDefaultJavaVMInitArgs): Likewise.
9948 (JNI_CreateJavaVM): Likewise.
9949 (_Jv_JNI_AttachCurrentThread): Likewise.
9950 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9951 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9952 (_Jv_JNIFunctions): Initialize new fields.
9953 (_Jv_JNI_NewDirectByteBuffer): New function.
9954 (_Jv_JNI_GetDirectBufferAddress): Likewise.
9955 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9956 * include/jni.h (JNI_VERSION_1_4): New macro.
9957 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9958 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9959 (JNINativeInterface::NewDirectByteBuffer): New field.
9960 (JNINativeInterface::GetDirectBufferAddress): New field.
9961 (JNINativeInterface::GetDirectBufferCapacity): New field.
9962 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9963 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9964 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9965
9966 2002-04-09 Tom Tromey <tromey@redhat.com>
9967
9968 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9969
9970 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
9971
9972 Fix for PR libgcj/6187:
9973 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9974 distance.
9975
9976 2002-04-07 Mark Wielaard <mark@klomp.org>
9977
9978 * java/util/AbstractMap.java (putAll): Use entrySet size.
9979 (toString): Explicitly use getKey() and getValue().
9980
9981 2002-04-07 Mark Wielaard <mark@klomp.org>
9982
9983 * java/util/Hashtable.java (contains): Remove NullPointer check.
9984 (containsValue): Add NullPointer check.
9985 (remove): Always throw NullPointerException when key
9986 is null.
9987
9988 2002-04-07 Adam King <aking@dreammechanics.com>
9989
9990 * java/lang/natSystem.cc (init_properties): Call new function
9991 _Jv_platform_initProperties.
9992 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9993 support for the System properties os.name, os.arch, os.version,
9994 user.name, user.home, and user.dir.
9995 * include/posix.h, include/win32.h, posix.cc: New function
9996 _Jv_platform_initProperties.
9997
9998 2002-04-06 Mark Wielaard <mark@klomp.org>
9999
10000 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10001
10002 2002-04-06 Mark Wielaard <mark@klomp.org>
10003
10004 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10005 all of the remaining elements.
10006 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10007 (removeRange): If toIndex == fromIndex do
10008 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10009 (removeAll): Always throw NullPointerException when collection is
10010 null.
10011 (retrainAll): Likewise.
10012
10013 2002-04-05 Mark Wielaard <mark@klomp.org>
10014
10015 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10016 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10017
10018 2002-04-05 Adam Megacz <adam@xwt.org>
10019
10020 * exception.cc (abort): added static modifier
10021
10022 2002-04-04 Adam Megacz <adam@xwt.org>
10023
10024 * include/win32.h (_Jv_platform_close_on_exec): added inline
10025 modifier.
10026
10027 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10028
10029 * configure.host: Add case statement to support generic port
10030 properties. Add *-*-freebsd* section.
10031
10032 2002-04-04 Mark Wielaard <mark@klomp.org>
10033
10034 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10035 test.
10036 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10037 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10038 that depend on awt code and BufferedByteOutputStream.interrupt.
10039
10040 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10041
10042 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10043 incorrect "hi" value when count > 40.
10044
10045 2002-04-03 Mark Wielaard <mark@klomp.org>
10046
10047 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10048 ordering.
10049
10050 2002-04-02 Tom Tromey <tromey@redhat.com>
10051
10052 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10053 not `0'.
10054
10055 2002-04-02 Mark Wielaard <mark@klomp.org>
10056
10057 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10058 list of testsuite crashers.
10059
10060 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10061
10062 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10063 when resizing table.
10064
10065 2002-04-01 Mark Wielaard <mark@klomp.org>
10066
10067 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10068 NegativeArraySizeException
10069 (clear(int)): Use sign extended shift.
10070 (flip(int)): Likewise.
10071 (get(int)): Likewise.
10072 (nextClearBit(int)): Likewise.
10073 (nextSetBit(int)): Likewise.
10074 (set(int)): Likewise.
10075
10076 2002-04-01 Mark Wielaard <mark@klomp.org>
10077
10078 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10079 that can be compiled now and add testsuite crashers to ignore list.
10080
10081 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10082
10083 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10084
10085 * libgcj.spec.in: Override libgcc, not lib.
10086 * libgcj-test.spec.in: Likewise.
10087
10088 2002-03-29 Tom Tromey <tromey@redhat.com>
10089
10090 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10091 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10092
10093 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10094
10095 * java/net/PlainDatagramSocketImpl.java
10096 (close): Use native implementation.
10097 (finalize): New method.
10098
10099 * java/net/PlainSocketImpl.java (finalize): New method.
10100
10101 * java/net/natPlainDatagramSocketImpl.cc
10102 (java/io/FileDescriptor.h): Don't include.
10103 (close): Implement method here.
10104 (create): Don't assign fd.
10105
10106 * java/net/natPlainSocketImpl.cc
10107 (java/io/FileDescriptor.h): Don't include.
10108 (create): Don't assign fd.
10109 (accept): Likewise.
10110 (close): Synchronize.
10111
10112 2002-03-27 Richard Henderson <rth@redhat.com>
10113
10114 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10115
10116 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10117
10118 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10119 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10120 instead of syscall on IA-64.
10121 Add FIXME comment.
10122
10123 2002-03-27 Anthony Green <green@redhat.com>
10124
10125 * libgcj.spec.in: Add CHECKREFSPEC.
10126 * configure.in: Ditto.
10127 * configure.host: Ditto. Check references for xscale-elf.
10128 * configure: Rebuilt.
10129
10130 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10131
10132 * include/dwarf2-signal.h: Temporarily back out last change.
10133
10134 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10135
10136 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10137
10138 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10139
10140 * configure.in, configure: enable dwarf2-exception-style
10141 exception handling on IA-64.
10142 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10143 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10144 Add FIXME comment.
10145
10146 2002-03-25 Tom Tromey <tromey@redhat.com>
10147
10148 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10149 (jv_convert_LDFLAGS): Likewise.
10150 (gij_LDFLAGS): Likewise.
10151 (rmic_LDFLAGS): Likewise.
10152 (rmiregistry_LDFLAGS): Likewise.
10153 * configure.in (THREADLDFLAGS): New subst; set correctly for
10154 *BSD.
10155
10156 2002-03-25 Tom Tromey <tromey@redhat.com>
10157
10158 For PR libgcj/5303:
10159 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10160 and --version.
10161 (help): New method.
10162 (version): Likewise.
10163 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10164 "GNU".
10165 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10166 "GNU".
10167
10168 2002-03-25 Tom Tromey <tromey@redhat.com>
10169
10170 * java/awt/Component.java (processEvent): Check ComponentEvent
10171 after KeyEvent.
10172
10173 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10174
10175 * java/io/PushbackReader.java: Reformat.
10176
10177 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10178 calculate correct number of bytes skipped.
10179
10180 Based on patch from Intel's ORP team:
10181 * java/io/PushbackInputStream.java (available): Calculate correct
10182 number of bytes in buffer.
10183 (read): Remove redundant bound check. Return bytes from both the
10184 buffer and the stream.
10185
10186 2002-03-24 Tom Tromey <tromey@redhat.com>
10187
10188 * java/awt/TextComponent.java (TextComponent): Editable by
10189 default.
10190
10191 * java/awt/MenuItem.java (eventMask): No longer private.
10192 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10193 superclass if we didn't handle event.
10194 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10195 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10196 * java/awt/Choice.java (dispatchEventImpl): New method.
10197 * java/awt/List.java (dispatchEventImpl): New method.
10198 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10199 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10200 * java/awt/TextField.java (dispatchEventImpl): New method.
10201
10202 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10203
10204 * java/beans/IntrospectionException.java: Update to 1.4.
10205 * java/beans/PropertyVetoException.java: Ditto.
10206
10207 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10208
10209 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10210 Arrays.equals instead of ArrayHelper.equalsArray.
10211
10212 2002-03-24 C. Brian Jones <cbj@gnu.org>
10213
10214 * java/beans/Introspector.java: added new static final fields
10215 introduced in 1.2, lots of other updates remain to be done
10216
10217 2002-03-24 C. Brian Jones <cbj@gnu.org>
10218
10219 * java/beans/Introspector.java: reformatting
10220
10221 2002-03-24 C. Brian Jones <cbj@gnu.org>
10222
10223 * java/beans/Introspector.java: default beanInfoSearchPath will
10224 not include sun.beans.infos given we provide no such package and
10225 the API doesn't really require it; gnu.java.beans.info is the
10226 default.
10227
10228 2002-03-24 Mark Wielaard <mark@klomp.org>
10229
10230 Thanks to Orp developers
10231 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10232 switch TRUE and FALSE return values.
10233
10234 2002-03-23 Tom Tromey <tromey@redhat.com>
10235
10236 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10237 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10238
10239 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10240
10241 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10242 MONTH entry. Fixes PR libgcj/6045.
10243
10244 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10245
10246 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10247
10248 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10249
10250 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10251 not release_set.
10252 * sysdep/powerpc/locks.h (write_barrier): New function.
10253 * sysdep/i386/locks.h (write_barrier): New function.
10254
10255 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10256
10257 * include/jni.h Use correct C comments.
10258
10259 2002-03-18 Tom Tromey <tromey@redhat.com>
10260
10261 * include/jni.h (JNIIMPORT): New macro.
10262 (JNIEXPORT): Likewise.
10263 (JNICALL): Likewise.
10264
10265 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10266
10267 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10268 systems.
10269
10270 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10271
10272 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10273 INIT_SEGV: Use old_i386_kernel_sigaction.
10274 INIT_FP: Likewise.
10275
10276 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10277
10278 * java/lang/natSystem.cc (init_properties): Update VM version
10279 properties.
10280 * configure.in: Set GCJVERSION.
10281 * acconfig.h: Add GCJVERSION.
10282 * configure: Rebuilt.
10283 * include/config.h.in: Rebuilt.
10284
10285 2002-03-17 Anthony Green <green@redhat.com>
10286
10287 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10288
10289 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10290
10291 Build a single libgcj.so, without separate gc and zlib libraries.
10292 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10293 SYS_ZLIBS if system zlib is used.
10294 * configure: Rebuilt.
10295 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10296 * Makefile.in: Rebuilt.
10297 * libtool-version: Increment .so version number.
10298
10299 * Makefile.am: Escape quotes in echo.
10300 * Makefile.in: Rebuilt.
10301
10302 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10303
10304 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10305 * Makefile.in: Rebuilt.
10306
10307 2002-03-15 Anthony Green <green@redhat.com>
10308
10309 * configure.host (FILE): New macro for specifing File
10310 implementation.
10311 * configure: Rebuilt.
10312 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10313
10314 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10315
10316 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10317 already implicitly brought in from libgcj.la.
10318 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10319 * Makefile.in: Rebuilt.
10320
10321 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10322
10323 * THANKS: Fix punctuation, alphabetization.
10324
10325 2002-03-15 Tom Tromey <tromey@redhat.com>
10326 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10327
10328 Fix for PR libgcj/5944.
10329 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10330
10331 2002-03-15 Anthony Green <green@redhat.com>
10332
10333 * configure.in (tool_include_dir): Define.
10334 * configure: Rebuilt.
10335 * gcj/Makefile.am: Install libgcj-config.h relative to
10336 tool_include_dir.
10337 * gcj/Makefile: Rebuilt.
10338 * gcj/libgcj-config.h: Add warning comment.
10339
10340 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10341
10342 * configure.host (powerpc*-darwin*): Enable interpreter.
10343
10344 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10345
10346 * include/posix.h: Add multiple include header protection.
10347 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10348
10349 2002-03-10 Adam Megacz <adam@xwt.org>
10350
10351 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10352
10353 2002-03-10 Tom Tromey <tromey@redhat.com>
10354
10355 * java/awt/GridLayout.java (layoutContainer): Handle case where
10356 there are no items in container.
10357
10358 * java/lang/Win32Process.java: Added comment.
10359 * include/posix.h (_Jv_platform_close_on_exec): New function.
10360 Include fcntl.h.
10361 * include/win32.h (_Jv_platform_close_on_exec): New function.
10362 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10363 flag.
10364 (accept): Likewise.
10365 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10366 close-on-exec flag.
10367 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10368 flag.
10369
10370 2002-03-09 Tom Tromey <tromey@redhat.com>
10371
10372 * verify.cc (state::NO_STACK): New constant.
10373 (state::is_unmerged_ret_state): Handle case where stacktop is
10374 NO_STACK.
10375 (state::merge): Handle NO_STACK merges.
10376 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10377 for instruction following jsr.
10378 (stacktop, stackdepth): Removed unused variables.
10379 (pop_jump): Ignore case where all remaining states are skipped.
10380
10381 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10382
10383 * java/awt/ImageMediaEntry: Removed.
10384 * java/awt/MediaEntry: Removed.
10385
10386 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10387
10388 Hashtable synchronization for PowerPC.
10389 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10390 slow_pthread_self. Set up symlink for sysdeps directory.
10391 * configure: Rebuild.
10392 * configure.host: Document more shell variables. Set sysdeps_dir
10393 for most platforms. Set slow_pthread_self for i686. Set
10394 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10395 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10396 that memory barrier is emitted where required.
10397 * prims.cc: 64-bit align static primitive class instances.
10398 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10399 read_barrier() to enforce ordering of reads.
10400 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10401 primitives for PowerPC.
10402 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10403 moved from natObject.cc.
10404 * sysdep/alpha/locks.h: Likewise.
10405 * sysdep/ia64/locks.h: Likewise.
10406 * sysdep/generic/locks.h: Likewise.
10407 * java/lang/natObject.cc: Move thread synchronization primitives to
10408 system-dependent headers.
10409
10410 2002-03-09 Adam Megacz <adam@xwt.org>
10411
10412 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10413 bytes read and no failure code returned.
10414
10415 2002-03-09 Adam Megacz <adam@xwt.org>
10416
10417 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10418 definitions to simulate -mthreads.
10419
10420 2002-03-09 Adam Megacz <adam@xwt.org>
10421
10422 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10423 avoid precision loss.
10424
10425 2002-03-09 Per Bothner <per@bothner.com>
10426
10427 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10428 * gnu/gcj/xlib/XImage.java: Likewise.
10429 * gnu/gcj/xlib/XColor.java: Likewise.
10430
10431 2002-03-09 Adam Megacz <adam@xwt.org>
10432
10433 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10434 IOException so that Throwable.printStackTrace fails correctly.
10435
10436 2002-03-08 Adam Megacz <adam@xwt.org>
10437
10438 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10439 fixed.
10440
10441 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10442
10443 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10444 truncated to int.
10445
10446 2002-03-08 Tom Tromey <tromey@redhat.com>
10447
10448 * include/jni.h: Include stdio.h.
10449
10450 2002-03-08 Tom Tromey <tromey@redhat.com>
10451
10452 * posix.cc (internal_gettimeofday): New function.
10453 (_Jv_select): Use it.
10454
10455 2002-03-07 Adam Megacz <adam@xwt.org>
10456
10457 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10458 WIN32, and added thunks for read(), write(), and close().
10459 * java/net/natPlainSocketImpl.cc (accept, read, read):
10460 Disabled timeouts on WIN32 pending discussion.
10461
10462 2002-03-07 Adam Megacz <adam@xwt.org>
10463
10464 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10465 returns jlong. Added implementation
10466 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10467 returns jlong.
10468 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10469 returns jlong.
10470 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10471 returns jlong.
10472 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10473 _Jv_platform_gettimeofday signature.
10474
10475 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10476
10477 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10478 (read): Call recv() directly, not _Jv_recv().
10479
10480 2002-03-06 Tom Tromey <tromey@redhat.com>
10481
10482 * java/io/natFileDescriptorEcos.cc (init): Don't use
10483 GetStdHandle.
10484 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10485 is negative.
10486 (init): Don't use GetStdHandle.
10487
10488 * include/config.h.in: Rebuilt.
10489 * configure: Rebuilt.
10490 * Makefile.in: Rebuilt.
10491
10492 2002-03-06 Adam Megacz <adam@xwt.org>
10493
10494 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10495 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10496 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10497 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10498
10499 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10500
10501 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10502 the code for generating include/java-chartables.h.
10503 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10504 merge with Classpath.
10505 * scripts/unicode-muncher.pl: Copy from Classpath.
10506 * scritps/MakeCharTables.java: New file.
10507 * gnu/gcj/convert/Blocks-3.txt: New file.
10508 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10509 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10510 * gnu/java/lang/CharData.java: Copy from Classpath.
10511 * Makefile.am (ordinary_java_source_files): Add
10512 gnu/java/lang/CharData.java.
10513 * configure.in: Remove --enable-fast-character option.
10514 * java/lang/Character.java: Merge algorithms and Javadoc with
10515 Classpath.
10516 * java/lang/natCharacter.cc: Implement Unicode lookup table more
10517 efficiently.
10518 * include/java-chardecomp.h: Regenerate.
10519 * include/java-chartables.h: Regenerate.
10520
10521 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10522
10523 * java/awt/MediaTracker.java: Implemented.
10524 * Makefile.am: Add MediaTracker.
10525 * Makefile.in: Rebuilt.
10526
10527 2002-03-05 Tom Tromey <tromey@redhat.com>
10528
10529 * java/lang/natPosixProcess.cc (fail): Removed.
10530 (startProcess): Simplified error-handling. Preserve
10531 LD_LIBRARY_PATH across exec.
10532
10533 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10534 AbstractMethodError.
10535
10536 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10537
10538 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10539 * Makefile.in: Rebuilt.
10540
10541 2002-03-03 Mark Wielaard <mark@klomp.org>
10542
10543 * java/util/Timer (TaskQueue.stop): set elements to zero.
10544
10545 2002-02-28 Anthony Green <green@redhat.com>
10546
10547 * java/lang/reflect/natMethod.cc (result): Add void* element.
10548 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
10549 constructor test.
10550
10551 2002-02-27 Adam Megacz <adam@xwt.org>
10552
10553 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10554 '#undef STRICT'.
10555
10556 2002-02-26 Tom Tromey <tromey@redhat.com>
10557
10558 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10559 * gij.cc (version): Use __VERSION__.
10560 * include/config.h.in: Rebuilt.
10561 * acconfig.h (GCJVERSION): Removed.
10562 * configure: Rebuilt.
10563 * configure.in (GCJVERSION): Removed.
10564
10565 2002-02-26 Andreas Schwab <schwab@suse.de>
10566
10567 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10568 glibcpp_CXX, since libjava uses even another CXX.
10569 * aclocal.m4, configure: Regenerated.
10570
10571 2002-02-26 Tom Tromey <tromey@redhat.com>
10572
10573 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10574 `1'.
10575
10576 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10577
10578 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10579 dependency tracking for .java files.
10580 * Makefile.in: Rebuilt.
10581
10582 2002-02-24 Adam Megacz <adam@xwt.org>
10583
10584 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10585 typo. Sorry.
10586
10587 2002-02-24 Adam Megacz <adam@xwt.org>
10588
10589 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10590 for Win32, changed #ifdefs to check WIN32 instead of the
10591 (now-obsolete) USE_WINSOCK, and removed support for socket
10592 timeouts on Win32 pending further discussion.
10593
10594 2002-02-24 Adam Megacz <adam@xwt.org>
10595
10596 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10597 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10598 delete
10599
10600 2002-02-24 Adam Megacz <adam@xwt.org>
10601
10602 * java/lang/Win32Process.java: Created a dummy class to allow
10603 build process to run to completion.
10604
10605 2002-02-24 Jeff Sturm <jsturm@one-point.com>
10606
10607 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10608 Define ffi_result union for ffi_call result. Cast
10609 ffi_result members to jvalue.
10610
10611 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
10612
10613 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10614 * testsuite/Makefile.in: Likewise.
10615
10616 2002-02-20 Per Bothner <per@bothner.com>
10617
10618 * java/net/URL.java (getPath): New JDK 1.3 method.
10619
10620 * java/net/URLStreamHandler.java (parseURL):
10621 It is wrong to prepend '/' to the file part of a relative url.
10622
10623 * java/net/URLStreamHandler.java (parseURL):
10624 Minor optizations - append '/' rather than "/".
10625
10626 * java/net/URLStreamHandler.java (parseURL):
10627 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10628 We probably should canonicalize for a context-relative url, though.
10629 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
10630 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
10631 (sameFile): New method. Uses canonicalizeFilename.
10632
10633 2002-02-22 Tom Tromey <tromey@redhat.com>
10634
10635 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10636 java.vendor and java.vm.vendor.
10637 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10638 recent copyright date.
10639 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10640 * gij.cc (version): Print `Inc'.
10641
10642 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10643
10644 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10645 * aclocal.m4, configure: Rebuilt.
10646
10647 2002-02-20 Per Bothner <per@bothner.com>
10648
10649 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
10650 and/or output streams immediately here, instead of using File.exists.
10651 (inputStream, outputStream): New fields to save open streams.
10652 (getInputStream, getOutputStream): Use already-opened streams.
10653
10654 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10655
10656 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10657 Use it.
10658 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10659 * aclocal.m4, configure, Makefile.in: Rebuilt.
10660
10661 2002-02-19 Tom Tromey <tromey@redhat.com>
10662
10663 Fix for PR libgcj/5696:
10664 * verify.cc (is_assignable_from_slow): Never call
10665 _Jv_IsAssignableFrom.
10666 (verify_instructions_0): Added new debug statement.
10667 (state::print): Print information about whether local has
10668 changed.
10669 (state::merge): Don't call note_variable when merging locals.
10670 (state::set_exception): Removed old FIXME comment.
10671
10672 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10673
10674 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10675 enable SO_BROADCAST.
10676
10677 2002-02-18 Jason Merrill <jason@redhat.com>
10678
10679 * name-finder.cc (toHex): Use word mode, not long long.
10680
10681 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10682
10683 2002-02-15 Tom Tromey <tromey@redhat.com>
10684
10685 Fix for PR libgcj/5695:
10686 * verify.cc (is_assignable_from_slow): Check to see if target is
10687 an Object before checking to see if source is an interface.
10688 (verify_instructions_0) [op_invokeinterface]: Handle case where
10689 we're making an interface call on Object.
10690
10691 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10692
10693 * Makefile.in: Rebuilt with Eric's change below.
10694
10695 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10696 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10697 Removed functions which are now implemented in Math.java.
10698
10699 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10700
10701 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10702 * Makefile.am (core_java_source_files): Add
10703 java/lang/StrictMath.java.
10704 * java/lang/Math.java: Merge with Classpath.
10705 * java/lang/StrictMath.java: New file - merge with Classpath.
10706
10707 2002-02-14 Mark Wielaard <mark@klomp.org>
10708
10709 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10710 package as a workaround for gcj 3.0.x
10711
10712 2002-02-14 Mark Wielaard <mark@klomp.org>
10713
10714 * java/security/BasicPermission.java: extends with fully qualified
10715 classname as workaround for gcj 3.0.4.
10716
10717 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10718
10719 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10720 around gcj bug of wrong emitted qualifier for inherited method.
10721 * java/net/SocketImpl.java (setOption, getOption): Ditto.
10722 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10723 constructor to reduce amount of emitted bytecode. While this
10724 happens to work around a jikes 1.15 bug, it is still a useful
10725 patch even for correct compilers.
10726 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10727 * gnu/java/rmi/server/UnicastRemoteCall.java
10728 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10729
10730 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10731
10732 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10733 * java/net/SocketImpl.java: Ditto.
10734 * java/rmi/server/RMIClassLoader.java: Ditto.
10735 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10736
10737 2002-02-14 Mark Wielaard <mark@klomp.org>
10738
10739 Thanks to Takashi Okamoto
10740 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10741 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10742 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10743
10744 2002-02-13 Todd Stock <toddastock@yahoo.com>
10745
10746 Fix for PR libgcj/5670:
10747 * verify.cc (is_assignable_from_slow): If `source' is interface,
10748 recursively look for merge with `target'.
10749
10750 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
10751
10752 * include/jni.h: Fix typo.
10753
10754 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
10755
10756 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10757 correctly.
10758
10759 2002-02-13 Todd Stock <toddastock@yahoo.com>
10760
10761 Fix for PR libgcj/5671:
10762 * verify.cc (state::merge): Handle case where we're merging
10763 against an interface.
10764
10765 2002-02-12 Tom Tromey <tromey@redhat.com>
10766
10767 * exception.cc (std::abort): Mark as noreturn.
10768
10769 2002-02-12 Adam Megacz <adam@xwt.org>
10770
10771 * java/lang/Win32Process.java: Filled in a placeholder
10772 implementation so Win32 will build.
10773
10774 2002-02-12 Adam Megacz <adam@xwt.org>
10775
10776 * java/io/natFilePosix.cc: Copied this from natFile.cc.
10777 * java/io/natFile.cc: Removed from repository.
10778 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10779
10780 2002-02-12 Adam Megacz <adam@xwt.org>
10781
10782 * win32.cc: Added two #includes to make win32.cc compile.
10783
10784 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10785
10786 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10787 declarations.
10788 (_Jv_InitGC): Don't bother locking, as this is always called from a
10789 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10790
10791 2002-02-11 Adam Megacz <adam@xwt.org>
10792
10793 * include/win32.h: Added _Jv_platform_gettimeofday.
10794 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10795
10796 2002-02-11 Adam Megacz <adam@xwt.org>
10797
10798 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10799 Added #undef STRICT to make windows.h and
10800 java/lang/reflect/Modifier.h cooperate.
10801
10802 2002-02-11 Adam Megacz <adam@xwt.org>
10803
10804 * java/io/natFileWin32.cc: Created a placeholder class with lots
10805 of FIXMEs.
10806
10807 2002-02-11 Adam Megacz <adam@xwt.org>
10808
10809 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10810 std::abort() to simply abort(). Also added "fake" std::abort() so
10811 we can #include unwind-pe.h without having to link against
10812 libstdc++-v3.
10813
10814 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
10815
10816 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10817
10818 2002-02-08 Tom Tromey <tromey@redhat.com>
10819
10820 * interpret.cc (convert): New function.
10821 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10822 convert.
10823 Include Long.h.
10824
10825 2002-02-08 Anthony Green <green@redhat.com>
10826
10827 * configure.host: Add support for xscale-elf embedded target.
10828
10829 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
10830
10831 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10832 dereferenced.
10833 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10834 frame.
10835
10836 2002-02-07 Tom Tromey <tromey@redhat.com>
10837
10838 * java/io/natFile.cc (_access): Use __builtin_alloca.
10839 (_stat): Likewise.
10840 (attr): Likewise.
10841 (getCanonicalPath): Likewise.
10842 (performList): Likewise.
10843 (performMkdir): Likewise.
10844 (performSetReadOnly): Likewise.
10845 (performRenameTo): Likewise.
10846 (performSetLastModified): Likewise.
10847 (performCreate): Likewise.
10848 (performDelete): Likewise.
10849
10850 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10851
10852 * HACKING: Fix URL for the automake-gcj.
10853
10854 2002-02-07 Tom Tromey <tromey@redhat.com>
10855
10856 * java/lang/natThrowable.cc: Updated copyright.
10857 * java/io/natFileWin32.cc: Updated copyright.
10858 * java/io/natFileDescriptorWin32.cc: Updated copyright.
10859 * win32-threads.cc: Updated copyright.
10860 * name-finder.cc: Updated copyright.
10861 * include/name-finder.h: Updated copyright.
10862
10863 * include/name-finder.h: Conditionally include sys/wait.h.
10864 * include/config.h.in: Rebuilt.
10865
10866 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10867 Size buffer based on real size of string.
10868 (_stat): Likewise.
10869 (attr): Likewise.
10870 (getCanonicalPath): Likewise.
10871 (performList): Likewise.
10872 (performMkdir): Likewise.
10873 (performSetReadOnly): Likewise.
10874 (unixroot): Removed.
10875 (performRenameTo): Likewise.
10876 (performSetLastModified): Likewise.
10877 (performCreate): Likewise.
10878 (performDelete): Likewise.
10879 (performListRoots): Always return new array.
10880
10881 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10882 * win32.cc (win32_exception_handler): Now static.
10883 * include/win32.h (_Jv_platform_initialize): Declare.
10884 (win32_exception_handler): Don't declare.
10885 * java/lang/natSystem.cc (currentTimeMillis): Use
10886 _Jv_platform_gettimeofday.
10887 * posix.cc (_Jv_platform_gettimeofday): Renamed.
10888 (_Jv_select): Use new name.
10889 (_Jv_platform_initialize): New function.
10890 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10891 _Jv_gettimeofday.
10892 (_Jv_platform_initialize): Declare.
10893
10894 * configure: Rebuilt.
10895 * configure.in: Removed unnecessary parens.
10896
10897 2002-02-06 Adam Megacz <adam@xwt.org>
10898
10899 * configure.in: Changed mingw) to *mingw*).
10900 * win32.cc: Created this file.
10901 * win32.h: Created this file.
10902 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10903 win32_exception_handler from prims.cc to win32.cc, added
10904 header in win32.h.
10905 * prims.cc: removed some #ifdef-WIN32'd headers which are no
10906 longer needed now that we have platform.h
10907
10908 2002-02-06 Adam Megacz <adam@xwt.org>
10909
10910 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10911 use uint<n>_t instead of LONG and BYTE
10912
10913 2002-02-06 Adam Megacz <adam@xwt.org>
10914
10915 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10916
10917 2002-02-06 Anthony Green <green@redhat.com>
10918
10919 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10920 Implement missing method stubs.
10921 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10922 targets.
10923 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10924 concept of timezones.
10925 (init_properties): Don't refer to _Jv_Environment_Properties
10926 when this feature is not available.
10927 * include/config.h.in: Rebuilt.
10928 * acconfig.h: Add DISABLE_MAIN_ARGS.
10929 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10930 * configure: Rebuilt.
10931 * configure.in: Add --disable-main-args option. Test for
10932 opendir function. Replace AC_CHECK_SIZEOF with
10933 AC_COMPILE_CHECK_SIZEOF.
10934 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10935 * aclocal.m4: Rebuilt.
10936 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10937
10938 2002-02-06 Tom Tromey <tromey@redhat.com>
10939
10940 * verify.cc (require_array_type): If argument is a null array of
10941 references, return null as the element type.
10942
10943 2002-02-06 Mark Wielaard <mark@klomp.org>
10944
10945 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10946 duplicate of a wide type.
10947
10948 2002-02-06 Tom Tromey <tromey@redhat.com>
10949
10950 * verify.cc (type::isnull): New method.
10951 (require_array_type): Handle case where array is null.
10952 (verify_instructions_0) [op_arraylength]: Likewise.
10953
10954 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10955
10956 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10957 Symlink PLATFORMH to platform.h.
10958 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10959 PLATFORMOBJS.
10960 * java/lang/natSystem.cc: #include platform.h not posix.h.
10961 * Makefile.in: Rebuilt with libgcj automake.
10962 * configure: Rebuilt.
10963
10964 2002-02-05 Richard Henderson <rth@redhat.com>
10965
10966 * Makefile.in: Undo munging last change.
10967
10968 2002-02-04 Adam Megacz <adam@xwt.org>
10969
10970 * win32.cc: Created it.
10971 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10972 which is set to posix.cc or win32.cc.
10973 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10974
10975 2002-02-04 Adam Megacz <adam@xwt.org>
10976
10977 * configure.in: Corrected mingw case branches; added * before
10978 and after.
10979
10980 2002-02-04 Adam Megacz <adam@xwt.org>
10981
10982 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10983 if compiling for win32
10984
10985 2002-02-04 Adam Megacz <adam@xwt.org>
10986
10987 * win32-threads.cc: #undef STRICT after gc.h inclusion
10988
10989 2002-02-02 Tom Tromey <tromey@redhat.com>
10990
10991 * Makefile.in: Rebuilt.
10992
10993 2002-02-02 Jason Merrill <jason@redhat.com>
10994
10995 * Makefile.am (clean-nat): New target.
10996
10997 2002-02-02 Tom Tromey <tromey@redhat.com>
10998
10999 * java/io/natFile.cc: Removed old "FIXME" comments.
11000
11001 2002-02-01 Tom Tromey <tromey@redhat.com>
11002
11003 * java/lang/natPosixProcess.cc (myclose): New function.
11004 (fail): Use it.
11005 (startProcess): Likewise.
11006
11007 2002-02-01 Adam Megacz <adam@xwt.org>
11008
11009 * prims.cc: Added #undef STRICT after #include<windows.h>.
11010
11011 2002-02-01 Adam Megacz <adam@xwt.org>
11012
11013 * prims.cc
11014 (_Jv_CreateJavaVM): We now use WIN32 instead of
11015 USE_WIN32_SIGNALLING and USE_WINSOCK.
11016 (win32_exception_handler): Now throws an exception out of
11017 the signal handler; assumes SJLJ.
11018
11019 2002-02-01 Adam Megacz <adam@xwt.org>
11020
11021 * win32-threads.cc:
11022 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11023 wait() algorithm to make it safe.
11024 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11025 Added lazy creation of Win32 Events for better performance
11026 (really_start): This now uses GC_CreateThread so boehm-gc
11027 knows about new threads even when statically linked.
11028
11029 2002-02-01 Adam Megacz <adam@xwt.org>
11030
11031 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11032 enable safer wait() algorithm.
11033 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11034 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11035 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11036 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11037 instead of mutex.
11038 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11039
11040 2002-02-01 Adam Megacz <adam@xwt.org>
11041
11042 * configure.in: Added support for mingw.
11043 * java/lang/Win32Process.java: Created as empty file.
11044 * java/lang/natWin32Process.cc: Created as empty file.
11045
11046 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11047
11048 PR java/4972
11049 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11050 for libiconv in LIBICONV variable.
11051 * configure: Regenerated.
11052
11053 2002-01-31 Tom Tromey <tromey@redhat.com>
11054
11055 * verify.cc (state::enter_subroutine): New method.
11056 (handle_jsr_insn): Use it.
11057 (state::merge): When processing a `ret', correctly use
11058 subroutine's state to determine which local variables have
11059 changed.
11060 (push_exception_jump): Don't let stack overflow.
11061
11062 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11063
11064 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11065 --version output.
11066
11067 2002-01-30 Tom Tromey <tromey@redhat.com>
11068
11069 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11070 parameter for `recv' return type.
11071
11072 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11073 (state::merge): ... not here.
11074 (subr_entry_info): New structure.
11075 (entry_points): New field.
11076 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11077 entry_points.
11078
11079 2002-01-29 Tom Tromey <tromey@redhat.com>
11080
11081 * java/awt/List.java (addNotify): Correctly check to see if peer
11082 does not exist.
11083
11084 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11085 to compute height of each cell, and number of columns to compute
11086 width of each cell.
11087 * java/awt/Window.java (getOwnedWindows): Don't return null.
11088 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11089 of component. Increment x using horizontal gap, not vertical
11090 gap.
11091
11092 2002-01-28 Tom Tromey <tromey@redhat.com>
11093
11094 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11095 `nargs' byte is number of words, not number of arguments.
11096
11097 2002-01-27 Tom Tromey <tromey@redhat.com>
11098
11099 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11100 (when): Likewise.
11101 * java/awt/event/InputEvent.java (modifiers, when): Now
11102 package-private.
11103
11104 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11105 and to-do list.
11106 (state::merge): Use current class' class loader.
11107 (state::print): Print subroutine.
11108 (state::merge): Don't look at subroutine of unmerged `ret'.
11109
11110 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11111
11112 * nogc.cc: Remove warnings.
11113 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11114 New functions.
11115
11116 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11117
11118 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11119 int, int): Remove empty "if" statement to work around compiler bug.
11120 (newPixels(int[], ColorModel, int, int): Likewise.
11121
11122 2002-01-25 Per Bothner <per@bothner.com>
11123
11124 * verify.cc (verify_fail): Change from being a top-level function
11125 to e method of _Jv_BytecodeVerifier. Emit current method name.
11126 Pass the current verifier to type: and state: methods as needed,
11127 for better error messages, and for resolve.
11128 (resolve): Pass current class's loader for Class.forName and
11129 _Jv_FindClassFromSignature, rather than using the default loader.
11130 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11131 (get_type_val_for_signature): Make non-static.
11132 (various methods): Pass start_PC implicitly, not explicitly.
11133
11134 2002-01-25 Tom Tromey <tromey@redhat.com>
11135
11136 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11137 loop termination condition.
11138 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11139 width.
11140
11141 2002-01-24 Tom Tromey <tromey@redhat.com>
11142
11143 * java/awt/Shape.java: Merged with Classpath.
11144 * java/awt/Scrollbar.java: Merged with Classpath.
11145
11146 * java/awt/Container.java (addNotify): Unconditionally call
11147 addNotifyContainerChildren and superclass addNotify.
11148
11149 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11150 getAlpha, not getBlue.
11151
11152 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11153
11154 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11155
11156 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11157 (grabPixels(long)): Wait to be notified that the ImageProducer has
11158 completed.
11159
11160 2002-01-24 Per Bothner <per@bothner.com>
11161
11162 * verify.cc (is_assignable_from_slow): If target is an interface,
11163 we must still check the source's superclass before giving up.
11164
11165 2002-01-24 Tom Tromey <tromey@redhat.com>
11166
11167 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11168
11169 2002-01-23 Tom Tromey <tromey@redhat.com>
11170
11171 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11172 `else'.
11173
11174 * Makefile.in: Rebuilt.
11175 * Makefile.am (awt_java_source_files): Added new files.
11176 * java/awt/Toolkit.java: Merged with Classpath.
11177 * java/awt/PrintGraphics.java: New file from Classpath.
11178 * java/awt/PrintJob.java: New file from Classpath.
11179 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11180 * java/awt/datatransfer/ClipboardOwner.java: New file from
11181 Classpath.
11182 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11183 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11184 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11185 Classpath.
11186 * java/awt/datatransfer/StringSelection.java: New file from
11187 Classpath.
11188 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11189 Classpath.
11190 * java/awt/datatransfer/Transferable.java: New file from
11191 Classpath.
11192 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11193 from Classpath.
11194
11195 * Makefile.in: Rebuilt.
11196 * Makefile.am (awt_java_source_files): Added new files.
11197 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11198 Classpath.
11199 * java/awt/image/CropImageFilter.java: New file from Classpath.
11200 * java/awt/image/FilteredImageSource.java: New file from
11201 Classpath.
11202 * java/awt/image/ImageFilter.java: New file from Classpath.
11203 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11204 * java/awt/image/PixelGrabber.java: New file from Classpath.
11205 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11206 * java/awt/image/ReplicateScaleFilter.java: New file from
11207 Classpath.
11208 * java/awt/image/ImageProducer.java: Replaced with Classpath
11209 version.
11210 * java/awt/image/ImageObserver.java: Replaced with Classpath
11211 version.
11212 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11213 version.
11214 * java/awt/GridBagConstraints.java (clone): Catch
11215 CloneNotSupportedException.
11216
11217 2002-01-23 Per Bothner <per@bothner.com>
11218
11219 * java/lang/reflect/natField.cc (setAddr): New function.
11220 Calls getAddr and then checks that the field isn't final.
11221 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11222 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11223 (set): Call setAddr before check that new value has right type,
11224 to better match specified semantics.
11225
11226 2002-01-22 Tom Tromey <tromey@redhat.com>
11227
11228 * java/awt/TextField.java: Replaced with Classpath version.
11229 * java/awt/TextArea.java: Replaced with Classpath version.
11230 * java/awt/TextComponent.java: Replaced with Classpath version.
11231
11232 * java/awt/GridBagConstraints.java: Updated copyright.
11233
11234 2002-01-22 Mark Wielaard <mark@klomp.org>
11235
11236 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11237 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11238 java/awt/Dialog.java java/awt/FileDialog.java
11239 java/awt/Font.java java/awt/FontMetrics.java
11240 java/awt/Image.java java/awt/ImageMediaEntry.java
11241 java/awt/Insets.java java/awt/List.java
11242 java/awt/MediaEntry.java java/awt/MediaTracker.java
11243 java/awt/Menu.java java/awt/MenuBar.java
11244 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11245 java/awt/PaintContext.java java/awt/Panel.java
11246 java/awt/PopupMenu.java java/awt/SystemColor.java
11247 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11248 java/awt/peer/CheckboxMenuItemPeer.java
11249 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11250 java/awt/peer/ComponentPeer.java
11251 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11252 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11253 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11254 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11255 java/awt/peer/MenuBarPeer.java
11256 java/awt/peer/MenuComponentPeer.java
11257 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11258 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11259 java/awt/peer/ScrollPanePeer.java
11260 java/awt/peer/ScrollbarPeer.java
11261 java/awt/peer/TextAreaPeer.java
11262 java/awt/peer/TextComponentPeer.java
11263 java/awt/peer/TextFieldPeer.java
11264 java/awt/peer/WindowPeer.java: Add license clarification.
11265
11266 2002-01-22 Mark Wielaard <mark@klomp.org>
11267
11268 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11269 gnu/gcj/runtime/StringBuffer.java
11270 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11271 gnu/java/awt/ComponentDataBlitOp.java
11272 gnu/java/awt/GLightweightPeer.java
11273 gnu/java/beans/BeanInfoEmbryo.java
11274 gnu/java/beans/EmptyBeanInfo.java
11275 gnu/java/beans/ExplicitBeanInfo.java
11276 gnu/java/beans/IntrospectionIncubator.java
11277 gnu/java/beans/editors/ColorEditor.java
11278 gnu/java/beans/editors/FontEditor.java
11279 gnu/java/beans/editors/NativeBooleanEditor.java
11280 gnu/java/beans/editors/NativeByteEditor.java
11281 gnu/java/beans/editors/NativeDoubleEditor.java
11282 gnu/java/beans/editors/NativeFloatEditor.java
11283 gnu/java/beans/editors/NativeIntEditor.java
11284 gnu/java/beans/editors/NativeLongEditor.java
11285 gnu/java/beans/editors/NativeShortEditor.java
11286 gnu/java/beans/editors/StringEditor.java
11287 gnu/java/beans/info/ComponentBeanInfo.java
11288 gnu/java/io/ClassLoaderObjectInputStream.java
11289 gnu/java/io/NullOutputStream.java
11290 gnu/java/io/ObjectIdentityWrapper.java
11291 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11292 gnu/java/lang/reflect/TypeSignature.java
11293 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11294 gnu/java/locale/Calendar_en.java
11295 gnu/java/locale/Calendar_nl.java
11296 gnu/java/locale/LocaleInformation.java
11297 gnu/java/locale/LocaleInformation_de.java
11298 gnu/java/locale/LocaleInformation_en.java
11299 gnu/java/locale/LocaleInformation_nl.java
11300 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11301 gnu/java/rmi/registry/RegistryImpl.java
11302 gnu/java/rmi/rmic/Compile_gcj.java
11303 gnu/java/rmi/rmic/Compiler.java
11304 gnu/java/rmi/rmic/CompilerProcess.java
11305 gnu/java/rmi/rmic/RMIC.java
11306 gnu/java/rmi/rmic/TabbedWriter.java
11307 gnu/java/rmi/server/ProtocolConstants.java
11308 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11309 gnu/java/rmi/server/RMIHashes.java
11310 gnu/java/rmi/server/RMIObjectInputStream.java
11311 gnu/java/rmi/server/RMIObjectOutputStream.java
11312 gnu/java/rmi/server/UnicastConnection.java
11313 gnu/java/rmi/server/UnicastConnectionManager.java
11314 gnu/java/rmi/server/UnicastRef.java
11315 gnu/java/rmi/server/UnicastRemoteCall.java
11316 gnu/java/rmi/server/UnicastRemoteStub.java
11317 gnu/java/rmi/server/UnicastServer.java
11318 gnu/java/rmi/server/UnicastServerRef.java
11319 gnu/java/security/provider/DefaultPolicy.java
11320 gnu/java/security/provider/Gnu.java
11321 gnu/java/security/provider/SHA.java
11322 gnu/java/security/provider/SHA1PRNG.java
11323 gnu/java/text/BaseBreakIterator.java
11324 gnu/java/text/CharacterBreakIterator.java
11325 gnu/java/text/LineBreakIterator.java
11326 gnu/java/text/SentenceBreakIterator.java
11327 gnu/java/text/WordBreakIterator.java
11328 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11329 java/applet/AppletContext.java java/applet/AppletStub.java
11330 java/applet/AudioClip.java java/awt/AWTError.java
11331 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11332 java/awt/AWTException.java java/awt/AWTPermission.java
11333 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11334 java/awt/Button.java java/awt/Canvas.java
11335 java/awt/CardLayout.java java/awt/Checkbox.java
11336 java/awt/CheckboxGroup.java java/awt/Component.java
11337 java/awt/ComponentOrientation.java java/awt/Container.java
11338 java/awt/Dimension.java java/awt/Event.java
11339 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11340 java/awt/FlowLayout.java java/awt/Frame.java
11341 java/awt/Graphics.java java/awt/Graphics2D.java
11342 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11343 java/awt/IllegalComponentStateException.java
11344 java/awt/ItemSelectable.java java/awt/Label.java
11345 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11346 java/awt/MenuComponent.java java/awt/MenuItem.java
11347 java/awt/Paint.java java/awt/Point.java
11348 java/awt/Rectangle.java java/awt/RenderingHints.java
11349 java/awt/Transparency.java java/awt/Window.java
11350 java/awt/color/ColorSpace.java
11351 java/awt/color/ICC_ColorSpace.java
11352 java/awt/color/ICC_Profile.java
11353 java/awt/event/HierarchyBoundsAdapter.java
11354 java/awt/event/HierarchyBoundsListener.java
11355 java/awt/event/HierarchyEvent.java
11356 java/awt/event/HierarchyListener.java
11357 java/awt/geom/AffineTransform.java
11358 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11359 java/awt/geom/IllegalPathStateException.java
11360 java/awt/geom/Line2D.java
11361 java/awt/geom/NoninvertibleTransformException.java
11362 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11363 java/awt/geom/Rectangle2D.java
11364 java/awt/geom/RectangularShape.java
11365 java/awt/geom/RoundRectangle2D.java
11366 java/awt/image/BufferedImage.java
11367 java/awt/image/ColorModel.java
11368 java/awt/image/ComponentColorModel.java
11369 java/awt/image/ComponentSampleModel.java
11370 java/awt/image/DataBuffer.java
11371 java/awt/image/DataBufferByte.java
11372 java/awt/image/DataBufferInt.java
11373 java/awt/image/DataBufferUShort.java
11374 java/awt/image/DirectColorModel.java
11375 java/awt/image/PackedColorModel.java
11376 java/awt/image/Raster.java java/awt/image/RasterOp.java
11377 java/awt/image/SampleModel.java
11378 java/awt/image/SinglePixelPackedSampleModel.java
11379 java/awt/image/WritableRaster.java
11380 java/beans/AppletInitializer.java
11381 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11382 java/beans/Beans.java java/beans/Customizer.java
11383 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11384 java/beans/FeatureDescriptor.java
11385 java/beans/IndexedPropertyDescriptor.java
11386 java/beans/IntrospectionException.java
11387 java/beans/Introspector.java java/beans/MethodDescriptor.java
11388 java/beans/ParameterDescriptor.java
11389 java/beans/PropertyChangeEvent.java
11390 java/beans/PropertyChangeListener.java
11391 java/beans/PropertyChangeSupport.java
11392 java/beans/PropertyDescriptor.java
11393 java/beans/PropertyEditor.java
11394 java/beans/PropertyEditorManager.java
11395 java/beans/PropertyEditorSupport.java
11396 java/beans/PropertyVetoException.java
11397 java/beans/SimpleBeanInfo.java
11398 java/beans/VetoableChangeListener.java
11399 java/beans/VetoableChangeSupport.java
11400 java/beans/Visibility.java
11401 java/beans/beancontext/BeanContext.java
11402 java/beans/beancontext/BeanContextChild.java
11403 java/beans/beancontext/BeanContextChildComponentProxy.java
11404 java/beans/beancontext/BeanContextChildSupport.java
11405 java/beans/beancontext/BeanContextContainerProxy.java
11406 java/beans/beancontext/BeanContextEvent.java
11407 java/beans/beancontext/BeanContextMembershipEvent.java
11408 java/beans/beancontext/BeanContextMembershipListener.java
11409 java/beans/beancontext/BeanContextProxy.java
11410 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11411 java/beans/beancontext/BeanContextServiceProvider.java
11412 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11413 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11414 java/beans/beancontext/BeanContextServiceRevokedListener.java
11415 java/beans/beancontext/BeanContextServices.java
11416 java/beans/beancontext/BeanContextServicesListener.java
11417 java/io/BufferedInputStream.java
11418 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11419 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11420 java/io/ByteArrayOutputStream.java
11421 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11422 java/io/CharConversionException.java java/io/DataInput.java
11423 java/io/DataInputStream.java java/io/DataOutput.java
11424 java/io/EOFException.java java/io/Externalizable.java
11425 java/io/FileFilter.java java/io/FileNotFoundException.java
11426 java/io/FilePermission.java java/io/FileReader.java
11427 java/io/FileWriter.java java/io/FilenameFilter.java
11428 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11429 java/io/FilterReader.java java/io/FilterWriter.java
11430 java/io/IOException.java java/io/InputStream.java
11431 java/io/InterruptedIOException.java
11432 java/io/InvalidClassException.java
11433 java/io/InvalidObjectException.java
11434 java/io/NotActiveException.java
11435 java/io/NotSerializableException.java java/io/ObjectInput.java
11436 java/io/ObjectInputStream.java
11437 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11438 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11439 java/io/ObjectStreamConstants.java
11440 java/io/ObjectStreamException.java
11441 java/io/ObjectStreamField.java
11442 java/io/OptionalDataException.java java/io/OutputStream.java
11443 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11444 java/io/PipedReader.java java/io/PipedWriter.java
11445 java/io/PrintWriter.java java/io/PushbackInputStream.java
11446 java/io/PushbackReader.java java/io/Reader.java
11447 java/io/SequenceInputStream.java java/io/Serializable.java
11448 java/io/SerializablePermission.java
11449 java/io/StreamCorruptedException.java
11450 java/io/StreamTokenizer.java
11451 java/io/StringBufferInputStream.java java/io/StringReader.java
11452 java/io/StringWriter.java java/io/SyncFailedException.java
11453 java/io/UTFDataFormatException.java
11454 java/io/UnsupportedEncodingException.java
11455 java/io/WriteAbortedException.java java/io/Writer.java
11456 java/lang/AbstractMethodError.java
11457 java/lang/ArithmeticException.java
11458 java/lang/ArrayIndexOutOfBoundsException.java
11459 java/lang/ArrayStoreException.java java/lang/Boolean.java
11460 java/lang/Byte.java java/lang/CharSequence.java
11461 java/lang/ClassCastException.java
11462 java/lang/ClassCircularityError.java
11463 java/lang/ClassFormatError.java
11464 java/lang/ClassNotFoundException.java
11465 java/lang/CloneNotSupportedException.java
11466 java/lang/Cloneable.java java/lang/Comparable.java
11467 java/lang/Compiler.java java/lang/Double.java
11468 java/lang/Error.java java/lang/Exception.java
11469 java/lang/ExceptionInInitializerError.java
11470 java/lang/Float.java java/lang/IllegalAccessError.java
11471 java/lang/IllegalAccessException.java
11472 java/lang/IllegalArgumentException.java
11473 java/lang/IllegalMonitorStateException.java
11474 java/lang/IllegalStateException.java
11475 java/lang/IllegalThreadStateException.java
11476 java/lang/IncompatibleClassChangeError.java
11477 java/lang/IndexOutOfBoundsException.java
11478 java/lang/InheritableThreadLocal.java
11479 java/lang/InstantiationError.java
11480 java/lang/InstantiationException.java java/lang/Integer.java
11481 java/lang/InternalError.java
11482 java/lang/InterruptedException.java
11483 java/lang/LinkageError.java java/lang/Long.java
11484 java/lang/NegativeArraySizeException.java
11485 java/lang/NoClassDefFoundError.java
11486 java/lang/NoSuchFieldError.java
11487 java/lang/NoSuchFieldException.java
11488 java/lang/NoSuchMethodError.java
11489 java/lang/NoSuchMethodException.java
11490 java/lang/NullPointerException.java java/lang/Number.java
11491 java/lang/NumberFormatException.java
11492 java/lang/OutOfMemoryError.java java/lang/Package.java
11493 java/lang/Process.java java/lang/Runnable.java
11494 java/lang/RuntimeException.java
11495 java/lang/RuntimePermission.java
11496 java/lang/SecurityException.java
11497 java/lang/SecurityManager.java java/lang/Short.java
11498 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11499 java/lang/StringIndexOutOfBoundsException.java
11500 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11501 java/lang/ThreadLocal.java java/lang/UnknownError.java
11502 java/lang/UnsatisfiedLinkError.java
11503 java/lang/UnsupportedClassVersionError.java
11504 java/lang/UnsupportedOperationException.java
11505 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11506 java/lang/Void.java java/lang/ref/PhantomReference.java
11507 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11508 java/lang/ref/SoftReference.java
11509 java/lang/ref/WeakReference.java
11510 java/lang/reflect/AccessibleObject.java
11511 java/lang/reflect/InvocationTargetException.java
11512 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11513 java/lang/reflect/ReflectPermission.java
11514 java/math/BigDecimal.java java/math/BigInteger.java
11515 java/net/Authenticator.java java/net/BindException.java
11516 java/net/ConnectException.java java/net/ContentHandler.java
11517 java/net/ContentHandlerFactory.java
11518 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11519 java/net/FileNameMap.java java/net/MalformedURLException.java
11520 java/net/MulticastSocket.java java/net/NetPermission.java
11521 java/net/NoRouteToHostException.java
11522 java/net/PasswordAuthentication.java
11523 java/net/ProtocolException.java java/net/ServerSocket.java
11524 java/net/Socket.java java/net/SocketException.java
11525 java/net/SocketImpl.java java/net/SocketImplFactory.java
11526 java/net/SocketOptions.java java/net/SocketPermission.java
11527 java/net/URLDecoder.java java/net/URLEncoder.java
11528 java/net/URLStreamHandlerFactory.java
11529 java/net/UnknownHostException.java
11530 java/net/UnknownServiceException.java
11531 java/rmi/AccessException.java
11532 java/rmi/AlreadyBoundException.java
11533 java/rmi/ConnectException.java
11534 java/rmi/ConnectIOException.java
11535 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11536 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11537 java/rmi/NotBoundException.java
11538 java/rmi/RMISecurityException.java
11539 java/rmi/RMISecurityManager.java java/rmi/Remote.java
11540 java/rmi/RemoteException.java java/rmi/ServerError.java
11541 java/rmi/ServerException.java
11542 java/rmi/ServerRuntimeException.java
11543 java/rmi/StubNotFoundException.java
11544 java/rmi/UnexpectedException.java
11545 java/rmi/UnknownHostException.java
11546 java/rmi/UnmarshalException.java
11547 java/rmi/activation/Activatable.java
11548 java/rmi/activation/ActivateFailedException.java
11549 java/rmi/activation/ActivationDesc.java
11550 java/rmi/activation/ActivationException.java
11551 java/rmi/activation/ActivationGroup.java
11552 java/rmi/activation/ActivationGroupDesc.java
11553 java/rmi/activation/ActivationGroupID.java
11554 java/rmi/activation/ActivationID.java
11555 java/rmi/activation/ActivationInstantiator.java
11556 java/rmi/activation/ActivationMonitor.java
11557 java/rmi/activation/ActivationSystem.java
11558 java/rmi/activation/Activator.java
11559 java/rmi/activation/UnknownGroupException.java
11560 java/rmi/activation/UnknownObjectException.java
11561 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11562 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11563 java/rmi/registry/Registry.java
11564 java/rmi/registry/RegistryHandler.java
11565 java/rmi/server/ExportException.java
11566 java/rmi/server/LoaderHandler.java
11567 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11568 java/rmi/server/Operation.java
11569 java/rmi/server/RMIClassLoader.java
11570 java/rmi/server/RMIClientSocketFactory.java
11571 java/rmi/server/RMIFailureHandler.java
11572 java/rmi/server/RMIServerSocketFactory.java
11573 java/rmi/server/RMISocketFactory.java
11574 java/rmi/server/RemoteCall.java
11575 java/rmi/server/RemoteObject.java
11576 java/rmi/server/RemoteRef.java
11577 java/rmi/server/RemoteServer.java
11578 java/rmi/server/RemoteStub.java
11579 java/rmi/server/ServerCloneException.java
11580 java/rmi/server/ServerNotActiveException.java
11581 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11582 java/rmi/server/SkeletonMismatchException.java
11583 java/rmi/server/SkeletonNotFoundException.java
11584 java/rmi/server/SocketSecurityException.java
11585 java/rmi/server/UID.java
11586 java/rmi/server/UnicastRemoteObject.java
11587 java/rmi/server/Unreferenced.java
11588 java/security/AccessControlContext.java
11589 java/security/AccessControlException.java
11590 java/security/AccessController.java
11591 java/security/AlgorithmParameterGenerator.java
11592 java/security/AlgorithmParameterGeneratorSpi.java
11593 java/security/AlgorithmParameters.java
11594 java/security/AlgorithmParametersSpi.java
11595 java/security/AllPermission.java
11596 java/security/BasicPermission.java
11597 java/security/Certificate.java java/security/CodeSource.java
11598 java/security/DigestException.java
11599 java/security/DigestInputStream.java
11600 java/security/DigestOutputStream.java
11601 java/security/DomainCombiner.java
11602 java/security/DummyKeyPairGenerator.java
11603 java/security/DummyMessageDigest.java
11604 java/security/DummySignature.java
11605 java/security/GeneralSecurityException.java
11606 java/security/Guard.java java/security/GuardedObject.java
11607 java/security/Identity.java java/security/IdentityScope.java
11608 java/security/InvalidAlgorithmParameterException.java
11609 java/security/InvalidKeyException.java
11610 java/security/InvalidParameterException.java
11611 java/security/Key.java java/security/KeyException.java
11612 java/security/KeyFactory.java java/security/KeyFactorySpi.java
11613 java/security/KeyManagementException.java
11614 java/security/KeyPair.java java/security/KeyPairGenerator.java
11615 java/security/KeyPairGeneratorSpi.java
11616 java/security/KeyStore.java
11617 java/security/KeyStoreException.java
11618 java/security/KeyStoreSpi.java
11619 java/security/MessageDigest.java
11620 java/security/MessageDigestSpi.java
11621 java/security/NoSuchAlgorithmException.java
11622 java/security/NoSuchProviderException.java
11623 java/security/Permission.java
11624 java/security/PermissionCollection.java
11625 java/security/Permissions.java java/security/Policy.java
11626 java/security/Principal.java java/security/PrivateKey.java
11627 java/security/PrivilegedAction.java
11628 java/security/PrivilegedActionException.java
11629 java/security/PrivilegedExceptionAction.java
11630 java/security/ProtectionDomain.java
11631 java/security/Provider.java
11632 java/security/ProviderException.java
11633 java/security/PublicKey.java
11634 java/security/SecureClassLoader.java
11635 java/security/SecureRandom.java
11636 java/security/SecureRandomSpi.java java/security/Security.java
11637 java/security/SecurityPermission.java
11638 java/security/Signature.java
11639 java/security/SignatureException.java
11640 java/security/SignatureSpi.java
11641 java/security/SignedObject.java java/security/Signer.java
11642 java/security/UnrecoverableKeyException.java
11643 java/security/UnresolvedPermission.java
11644 java/security/acl/Acl.java java/security/acl/AclEntry.java
11645 java/security/acl/AclNotFoundException.java
11646 java/security/acl/Group.java
11647 java/security/acl/LastOwnerException.java
11648 java/security/acl/NotOwnerException.java
11649 java/security/acl/Owner.java java/security/acl/Permission.java
11650 java/security/cert/CRL.java
11651 java/security/cert/CRLException.java
11652 java/security/cert/Certificate.java
11653 java/security/cert/CertificateEncodingException.java
11654 java/security/cert/CertificateException.java
11655 java/security/cert/CertificateExpiredException.java
11656 java/security/cert/CertificateFactory.java
11657 java/security/cert/CertificateFactorySpi.java
11658 java/security/cert/CertificateNotYetValidException.java
11659 java/security/cert/CertificateParsingException.java
11660 java/security/cert/X509CRL.java
11661 java/security/cert/X509CRLEntry.java
11662 java/security/cert/X509Certificate.java
11663 java/security/cert/X509Extension.java
11664 java/security/interfaces/DSAKey.java
11665 java/security/interfaces/DSAKeyPairGenerator.java
11666 java/security/interfaces/DSAParams.java
11667 java/security/interfaces/DSAPrivateKey.java
11668 java/security/interfaces/DSAPublicKey.java
11669 java/security/interfaces/RSAKey.java
11670 java/security/interfaces/RSAPrivateCrtKey.java
11671 java/security/interfaces/RSAPrivateKey.java
11672 java/security/interfaces/RSAPublicKey.java
11673 java/security/spec/AlgorithmParameterSpec.java
11674 java/security/spec/DSAParameterSpec.java
11675 java/security/spec/DSAPrivateKeySpec.java
11676 java/security/spec/DSAPublicKeySpec.java
11677 java/security/spec/EncodedKeySpec.java
11678 java/security/spec/InvalidKeySpecException.java
11679 java/security/spec/InvalidParameterSpecException.java
11680 java/security/spec/KeySpec.java
11681 java/security/spec/PKCS8EncodedKeySpec.java
11682 java/security/spec/RSAKeyGenParameterSpec.java
11683 java/security/spec/RSAPrivateCrtKeySpec.java
11684 java/security/spec/RSAPrivateKeySpec.java
11685 java/security/spec/RSAPublicKeySpec.java
11686 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11687 java/sql/BatchUpdateException.java java/sql/Blob.java
11688 java/sql/CallableStatement.java java/sql/Clob.java
11689 java/sql/Connection.java java/sql/DataTruncation.java
11690 java/sql/DatabaseMetaData.java java/sql/Date.java
11691 java/sql/Driver.java java/sql/DriverManager.java
11692 java/sql/DriverPropertyInfo.java
11693 java/sql/PreparedStatement.java java/sql/Ref.java
11694 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11695 java/sql/SQLData.java java/sql/SQLException.java
11696 java/sql/SQLInput.java java/sql/SQLOutput.java
11697 java/sql/SQLWarning.java java/sql/Statement.java
11698 java/sql/Struct.java java/sql/Time.java
11699 java/sql/Timestamp.java java/sql/Types.java
11700 java/text/Annotation.java
11701 java/text/AttributedCharacterIterator.java
11702 java/text/AttributedString.java
11703 java/text/AttributedStringIterator.java
11704 java/text/BreakIterator.java java/text/CharacterIterator.java
11705 java/text/ChoiceFormat.java java/text/Collator.java
11706 java/text/DateFormat.java java/text/DateFormatSymbols.java
11707 java/text/DecimalFormat.java
11708 java/text/DecimalFormatSymbols.java
11709 java/text/FieldPosition.java java/text/Format.java
11710 java/text/MessageFormat.java java/text/NumberFormat.java
11711 java/text/ParseException.java java/text/ParsePosition.java
11712 java/text/SimpleDateFormat.java
11713 java/text/StringCharacterIterator.java
11714 java/util/AbstractCollection.java java/util/AbstractList.java
11715 java/util/AbstractMap.java
11716 java/util/AbstractSequentialList.java
11717 java/util/AbstractSet.java java/util/ArrayList.java
11718 java/util/Arrays.java java/util/BasicMapEntry.java
11719 java/util/BitSet.java java/util/Calendar.java
11720 java/util/Collection.java java/util/Collections.java
11721 java/util/Comparator.java
11722 java/util/ConcurrentModificationException.java
11723 java/util/Date.java java/util/Dictionary.java
11724 java/util/EmptyStackException.java java/util/Enumeration.java
11725 java/util/EventListener.java java/util/EventObject.java
11726 java/util/GregorianCalendar.java java/util/HashMap.java
11727 java/util/HashSet.java java/util/Hashtable.java
11728 java/util/IdentityHashMap.java java/util/Iterator.java
11729 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11730 java/util/LinkedList.java java/util/List.java
11731 java/util/ListIterator.java java/util/ListResourceBundle.java
11732 java/util/Locale.java java/util/Map.java
11733 java/util/MissingResourceException.java
11734 java/util/NoSuchElementException.java
11735 java/util/Observable.java java/util/Observer.java
11736 java/util/Properties.java java/util/PropertyPermission.java
11737 java/util/PropertyResourceBundle.java java/util/Random.java
11738 java/util/RandomAccess.java java/util/ResourceBundle.java
11739 java/util/Set.java java/util/SimpleTimeZone.java
11740 java/util/SortedMap.java java/util/SortedSet.java
11741 java/util/Stack.java java/util/StringTokenizer.java
11742 java/util/TimeZone.java java/util/Timer.java
11743 java/util/TimerTask.java
11744 java/util/TooManyListenersException.java
11745 java/util/TreeMap.java java/util/TreeSet.java
11746 java/util/Vector.java java/util/WeakHashMap.java
11747 java/util/jar/Attributes.java java/util/jar/JarEntry.java
11748 java/util/jar/JarException.java java/util/jar/JarFile.java
11749 java/util/jar/JarInputStream.java
11750 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11751 java/util/zip/Adler32.java java/util/zip/CRC32.java
11752 java/util/zip/CheckedInputStream.java
11753 java/util/zip/CheckedOutputStream.java
11754 java/util/zip/Checksum.java
11755 java/util/zip/DataFormatException.java
11756 java/util/zip/Deflater.java
11757 java/util/zip/DeflaterOutputStream.java
11758 java/util/zip/GZIPInputStream.java
11759 java/util/zip/GZIPOutputStream.java
11760 java/util/zip/Inflater.java
11761 java/util/zip/InflaterInputStream.java
11762 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11763 java/util/zip/ZipException.java java/util/zip/ZipFile.java
11764 java/util/zip/ZipInputStream.java
11765 java/util/zip/ZipOutputStream.java
11766 javax/naming/BinaryRefAddr.java
11767 javax/naming/InvalidNameException.java javax/naming/Name.java
11768 javax/naming/NamingException.java javax/naming/RefAddr.java
11769 javax/naming/StringRefAddr.java: Add license clarification.
11770
11771 2002-01-22 Tom Tromey <tromey@redhat.com>
11772
11773 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11774 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11775 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11776 version.
11777 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11778 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11779 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11780 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11781 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11782 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11783 * java/awt/peer/FontPeer.java: Replace with Classpath version.
11784 * java/awt/peer/FramePeer.java: Replace with Classpath version.
11785 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11786 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11787 * java/awt/peer/ListPeer.java: Replace with Classpath version.
11788 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11789 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11790 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11791 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11792 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11793 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11794 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11795 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11796 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11797 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11798 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11799 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11800 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11801 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11802 (minimumSize, preferredSize, reshape): Likewise.
11803 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11804 getColorModel): New methods.
11805 * java/awt/PopupMenu.java: Merged with Classpath.
11806 * java/awt/MenuBar.java: Merged with Classpath.
11807 * java/awt/SystemColor.java: Replace with Classpath version.
11808 * java/awt/Panel.java: Merged with Classpath.
11809 * java/awt/PaintContext.java: Updated copyright.
11810 * java/awt/MenuShortcut.java: Merged with Classpath.
11811 * java/awt/MenuContainer.java: Merged with Classpath.
11812 * java/awt/Menu.java: Merged with Classpath.
11813 * java/awt/MediaEntry.java: New file from Classpath.
11814 * java/awt/MediaTracker.java: New file from Classpath.
11815 * java/awt/List.java: Merged with Classpath version.
11816 * java/awt/Insets.java: Merged with Classpath version.
11817 * java/awt/ImageMediaEntry.java: New file from Classpath.
11818 * java/awt/Image.java: Replaced with Classpath version.
11819 * java/awt/FontMetrics.java: Merged with Classpath version.
11820 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11821 constant.
11822 * java/awt/Font.java: Merged with Classpath version.
11823 * java/awt/Dialog.java: Merged with Classpath version.
11824 * java/awt/Color.java: Merged with Classpath version.
11825 * java/awt/Choice.java: Merged with Classpath version.
11826 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11827 * java/awt/Adjustable.java: Replace with Classpath version.
11828 * java/awt/MenuItem.java (paramString): Don't include class name
11829 or brackets. Call superclass paramString.
11830 * java/awt/MenuComponent.java (toString): Call paramString.
11831 (paramString): Compute string; don't call toString.
11832 * java/awt/Label.java (paramString): Don't include class name
11833 or brackets. Call superclass paramString.
11834 * java/awt/Checkbox.java (paramString): Don't include class name
11835 or brackets. Call superclass paramString.
11836 * java/awt/Button.java (paramString): Don't include class name or
11837 brackets. Call superclass paramString.
11838 * java/awt/MenuComponent.java (getTreeLock): Now protected.
11839
11840 2002-01-20 Andreas Schwab <schwab@suse.de>
11841
11842 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11843 function and of parameter recv_func to ssize_t, as specified by
11844 POSIX.
11845
11846 2002-01-19 Per Bothner <per@bothner.com>
11847
11848 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
11849 uncompressed_size in readiness for next entry.
11850
11851 2002-01-18 Tom Tromey <tromey@redhat.com>
11852
11853 * java/net/natPlainSocketImpl.cc: Include
11854 IllegalArgumentException.h.
11855 (_Jv_recv): New template function.
11856 (BooleanClass): Removed.
11857 (read): Use _Jv_recv.
11858 (setOption): Use Boolean::class$. Throw exception if object is
11859 not Boolean or Integer.
11860
11861 2002-01-17 Tom Tromey <tromey@redhat.com>
11862
11863 * java/awt/MenuComponent.java: Merged with Classpath.
11864 * java/awt/MenuItem.java: Merged with Classpath.
11865 * java/awt/Button.java: Merged with Classpath.
11866
11867 * java/awt/ActiveEvent.java: Updated copyright.
11868
11869 * java/awt/AWTError.java: Replaced with Classpath version.
11870 * java/awt/AWTException.java: Replaced with Classpath version.
11871 * java/awt/IllegalComponentStateException.java: Replaced with
11872 Classpath version.
11873
11874 2002-01-16 Tom Tromey <tromey@redhat.com>
11875
11876 * java/awt/Canvas.java (serialVersionUID): New constant.
11877 Updated copyright. Added javadoc from Classpath.
11878 * java/awt/ItemSelectable.java: Replaced with Classpath version.
11879
11880 * java/awt/CheckboxGroup.java: Merged with Classpath.
11881 * java/awt/Checkbox.java: Merged with Classpath.
11882
11883 * java/awt/Dimension.java: Updated copyright. Added javadoc from
11884 Classpath.
11885 * java/awt/Point.java: Updated copyright.
11886
11887 * java/awt/Point.java (toString): Use getClass().getName().
11888 Added javadoc.
11889
11890 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11891 commented code.
11892 (hash): Correctly compute initial value for `h'.
11893
11894 * java/awt/Label.java: Merged with Classpath.
11895
11896 2002-01-15 Tom Tromey <tromey@redhat.com>
11897
11898 * java/awt/AWTPermission.java: Updated copyright.
11899
11900 * java/awt/LayoutManager2.java: Merged with Classpath.
11901 * java/awt/LayoutManager.java: Merged with Classpath.
11902 * java/awt/GridLayout.java: Updated copyright and javadoc.
11903 (getSize): Use `parent.ncomponents'. Handle insets.
11904 (layoutContainer): Use `parent.ncomponents'. Handle case where
11905 there are fewer children than columns. Correctly compute size of
11906 each cell in the grid. Handle case where there isn't enough
11907 space.
11908 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
11909 all users.
11910 (gotoComponent): Use parent.ncomponents. Ensure child exists
11911 before calling setVisible() on it. Last item is `num - 1', not
11912 `num'.
11913 (layoutContainer): Hoist invariants out of loop.
11914
11915 Start of AWT merge with Classpath:
11916 * Makefile.in: Rebuilt.
11917 * Makefile.am (awt_java_source_files): Reference files in
11918 gnu/java/awt, not gnu/gcj/awt.
11919 * java/awt/image/BufferedImage.java: Updated copyright.
11920 * java/awt/image/ComponentColorModel.java: Updated copyright.
11921 * java/awt/image/ComponentSampleModel.java: Updated copyright.
11922 * java/awt/image/DataBuffer.java: Updated copyright.
11923 * java/awt/image/DataBufferByte.java: Updated copyright.
11924 * java/awt/image/DataBufferInt.java: Updated copyright.
11925 * java/awt/image/DataBufferUShort.java: Updated copyright.
11926 * java/awt/image/IndexColorModel.java: Updated copyright.
11927 * java/awt/image/PackedColorModel.java: Updated copyright.
11928 * java/awt/image/Raster.java: Updated copyright.
11929 * java/awt/image/RasterOp.java: Updated copyright.
11930 * java/awt/image/SampleModel.java: Updated copyright.
11931 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11932 * java/awt/image/WritableRaster.java: Updated copyright.
11933 * java/awt/color/ColorSpace.java: Updated copyright.
11934 * java/awt/color/ICC_ColorSpace.java: Updated copyright
11935 * java/awt/color/ICC_Profile.java: Updated copyright.
11936 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11937 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11938 * java/awt/event/HierarchyEvent.java: Updated copyright.
11939 * java/awt/event/HierarchyListener.java: Updated copyright.
11940 * java/awt/geom/AffineTransform.java: Updated copyright.
11941 * java/awt/geom/Dimension2D.java: Updated copyright.
11942 * java/awt/geom/Ellipse2D.java: Updated copyright.
11943 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11944 * java/awt/geom/Line2D.java: Updated copyright.
11945 * java/awt/geom/NoninvertibleTransformException.java: Updated
11946 copyright.
11947 * java/awt/geom/PathIterator.java: Updated copyright.
11948 * java/awt/geom/Point2D.java: Updated copyright.
11949 * java/awt/geom/Rectangle2D.java: Updated copyright.
11950 * java/awt/geom/RectangularShape.java: Updated copyright.
11951 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11952 * java/awt/Toolkit.java: Updated import for file moves.
11953 * java/awt/Rectangle.java: Updated copyright; added javadoc from
11954 Classpath.
11955 (hashCode): New method from Classpath.
11956 * java/awt/Graphics2D.java: Updated copyright.
11957 * java/awt/Transparency.java: Updated copyright.
11958 * java/awt/Paint.java: Updated copyright.
11959 * java/awt/Graphics.java: New version from Classpath.
11960 * java/awt/EventDispatchThread.java: Updated copyright.
11961 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11962 children.
11963 (gotoComponent): Wrap around on next/previous.
11964 * gnu/gcj/awt/BitMaskExtent.java: Removed.
11965 * gnu/gcj/awt/Buffers.java: Removed.
11966 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11967 * gnu/gcj/awt/GLightweightPeer.java: Removed.
11968 * gnu/java/awt/BitMaskExtent.java: Added.
11969 * gnu/java/awt/Buffers.java: Added.
11970 * gnu/java/awt/ComponentDataBlitOp.java: Added.
11971 * gnu/java/awt/GLightweightPeer.java: Added.
11972 * java/awt/geom/Line2D.java (clone): Ignore
11973 CloneNotSupportedException.
11974 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11975 * java/awt/Frame.java: Merged with Classpath.
11976 * java/awt/RenderingHints.java: Copyright update.
11977 * java/awt/Paint.java: Copyright update.
11978 * java/awt/image/DirectColorModel.java: Merged with Classpath.
11979 * java/awt/image/ColorModel.java: Merged with Classpath.
11980 * java/awt/Window.java (show): New Implementation from Classpath.
11981 (isShowing): Use super.isShowing().
11982 * java/awt/EventQueue.java: Merged with Classpath.
11983 * java/awt/AWTEventMulticaster.java (save): Throw
11984 RuntimeException.
11985 (saveInternal): Likewise.
11986 * java/awt/AWTEvent.java: Now implements Serializable.
11987 * java/awt/Event.java: Copyright update.
11988 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11989 * java/awt/image/BufferedImage.java: Copyright update.
11990 * java/awt/GraphicsConfiguration.java: Copyright update.
11991 * java/awt/Component.java: (addNotify): Don't call
11992 addNotifyContainerChildren().
11993 (addNotifyContainerChildren): Removed.
11994 (setPeer): New method from Classpath.
11995 (setTreeLock): Likewise.
11996 (setVisible): Rewrote.
11997 (show): Use it.
11998 (hide): Likewise.
11999 (validate): Set `valid'.
12000 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12001 (createImage(ImageProducer)): Likewise.
12002 (prepareImage): Likewise.
12003 * java/awt/Container.java (addImpl): Handle case where constraint
12004 is not a String. Post event via system event queue.
12005 (remove): Post event via system event queue.
12006 (validateTree): Only validate child if it is invalid.
12007 (getAlignmentX): Call super method as default.
12008 (getAlignmentY): Likewise.
12009 (addContainerListener): Now synchronized.
12010 (removeContainerListener): Likewise.
12011 (addNotifyContainerChildren): Now private.
12012 * java/awt/ComponentOrientation.java: Updated copyright. Added
12013 @author.
12014 * java/awt/FlowLayout.java (serialVersionUID): New field.
12015 (setAlignment): Better exception message.
12016 (layoutContainer): Don't compute component's preferred size unless
12017 we're going to use it.
12018 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12019 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12020 (firstLine, lastLine, firstItem, lastItem): New fields.
12021 (addLayoutComponent): Handle case where constraints is null.
12022 Also, handle relative locations.
12023 (removeLayoutComponent): Handle relative locations.
12024 (MIN, MAX, PREF): New constants.
12025 (calcCompSize): New method.
12026 (calcSize): New method.
12027 (minimumLayoutSize): Use it.
12028 (preferredLayoutSize): Likewise.
12029 (maximumLayoutSize): Likewise.
12030 (toString): Include more information.
12031 (setBounds): New method.
12032 (layoutContainer): Use libgcj implementation; extended to handle
12033 relative locations.
12034
12035 2002-01-15 Tom Tromey <tromey@redhat.com>
12036
12037 * java/lang/Float.java (equals): Preserve old code.
12038 * java/lang/Double.java (equals): Preserve old code.
12039
12040 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12041
12042 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12043 * java/lang/Float.java (equals, compare): Ditto.
12044
12045 2002-01-13 Mark Wielaard <mark@klomp.org>
12046
12047 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12048 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12049 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12050 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12051
12052 2002-01-11 Mark Wielaard <mark@klomp.org>
12053
12054 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12055 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12056 InetAddress.
12057 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12058 * java/net/Socket.java: Merge with Classpath.
12059 * java/net/ServerSocket.java: Likewise.
12060
12061 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12062
12063 * interpret.cc (NULLARRAYCHECK): New macro.
12064 (SAVE_PC): Just store `pc'.
12065 (find_exception): Subtract one from `pc' here.
12066 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12067 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12068 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12069 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12070 don't call SAVE_PC.
12071 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12072 call SAVE_PC.
12073
12074 2002-01-11 Tom Tromey <tromey@redhat.com>
12075
12076 * java/lang/natSystem.cc (init_properties): Only look for default
12077 locale if LC_MESSAGES is defined.
12078 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12079 * configure.in: Call AM_LC_MESSAGES.
12080 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12081
12082 2002-01-10 Tom Tromey <tromey@redhat.com>
12083
12084 For PR libgcj/5303:
12085 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12086 --version. Recognize GNU-style long options. Print GNU-style
12087 error messages.
12088 (usage): Print GNU-style help. Exit with status 0.
12089 (error): New method.
12090 (run): Print error message if no class names found.
12091 (main): Don't print usage on error.
12092
12093 2002-01-09 Tom Tromey <tromey@redhat.com>
12094
12095 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12096 property.
12097 (help, version): Use println(), not println("").
12098
12099 For PR libgcj/5303:
12100 * gnu/gcj/convert/Convert.java (error): Program is called
12101 `jv-convert'. Print GNU-style message. Exit with status 1, not
12102 -1.
12103 (main): Handle --help and --version.
12104 (help): New method.
12105 (version): Likewise.
12106
12107 2002-01-08 Tom Tromey <tromey@redhat.com>
12108
12109 * Makefile.in: Rebuilt.
12110 * Makefile.am (ordinary_java_source_files): Added new files.
12111 * gnu/java/locale/LocaleInformation.java: Extend
12112 LocaleInformation_en.
12113 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12114 and time/date formats.
12115 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12116 generated.
12117 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12118 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12119 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12120 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12121 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12122 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12123 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12124 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12125 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12126 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12127 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12128 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12129 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12130 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12131 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12132 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12133 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12134 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12135 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12136 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12137 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12138 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12139 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12140 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12141 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12142 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12143 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12144 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12145 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12146 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12147 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12148 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12149 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12150 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12151 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12152 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12153 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12154 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12155 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12156 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12157 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12158 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12159 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12160 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12161 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12162 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12163 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12164 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12165 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12166 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12167 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12168 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12169 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12170 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12171 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12172 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12173 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12174 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12175 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12176 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12177 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12178 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12179 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12180 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12181 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12182 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12183 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12184 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12185 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12186 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12187 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12188 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12189 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12190 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12191 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12192 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12193 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12194 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12195 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12196 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12197 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12198 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12199 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12200 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12201 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12202 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12203 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12204 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12205 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12206 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12207 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12208 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12209 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12210 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12211 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12212 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12213 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12214 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12215 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12216 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12217 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12218 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12219 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12220 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12221 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12222 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12223 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12224 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12225 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12226 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12227 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12228 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12229 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12230 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12231 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12232 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12233 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12234 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12235 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12236 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12237 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12238 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12239 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12240 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12241 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12242 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12243 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12244 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12245 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12246 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12247
12248 For PR libgcj/5031:
12249 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12250 choose default locale.
12251
12252 * Makefile.in: Rebuilt.
12253 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12254
12255 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12256
12257 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12258 sockets.
12259 (close): New function closes the socket.
12260 (write): New functions for output to socket.
12261 (read): New functions for reading from socket.
12262 * java/net/PlainSocketImpl.java: Glue for new timeout
12263 implementation.
12264 (write): Call the native impl.
12265 (read): Likewise.
12266 (getInputStream): Get a stream to read from the socket.
12267 (getOutputStream): Get a stream to write to the socket.
12268
12269 2002-01-08 Tom Tromey <tromey@redhat.com>
12270
12271 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12272
12273 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12274
12275 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12276 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12277
12278 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12279
12280 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12281 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12282 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12283 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12284 insn_bastore, insn_castore, insn_sastore]: Use it.
12285 (continue1) [insn_arraylength]: Check for null array.
12286
12287 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12288
12289 * configure, include/config.h.in: Rebuilt.
12290 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12291 * configure.in: Call AC_STRUCT_TIMEZONE.
12292
12293 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12294
12295 * configure.host: Disable the interpreter for Darwin.
12296
12297 2002-01-04 Tom Tromey <tromey@redhat.com>
12298
12299 * java/lang/Thread.java (stop): No longer synchronized.
12300 (start): Likewise.
12301
12302 2002-01-02 Tom Tromey <tromey@redhat.com>
12303
12304 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12305 patch.
12306
12307 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12308
12309 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12310 PPC Darwin, not for all of Darwin.