glib-2.0.m4: New file.
[gcc.git] / libjava / ChangeLog
1 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2
3 * glib-2.0.m4: New file.
4 * gtk-2.0.m4: New file.
5 * glib.m4: Remove.
6 * gtk.m4: Remove.
7 * configure.in: Update AM_PATH_GTK macro call to
8 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
9 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
10 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
11 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
12 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
13 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
14 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
15 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
16 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
17 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
18 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
19 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
20 jni/gtk-peer/gthread-jni.c,
21 jni/gtk-peer/gthread-jni.h:
22 New versions from classpath.
23 * aclocal.m4: Regenerate.
24 * configure: Regenerate.
25 * Makefile.in: Regenerate.
26 * gcj/Makefile.in: Regenerate.
27 * include/Makefile.in: Regenerate.
28 * testsuite/Makefile.in: Regenerate.
29
30 2003-06-30 Gary Benson <gbenson@redhat.com>
31
32 For PR libgcj/11349:
33 * javax/naming/spi/NamingManager.java (getURLContext): Use
34 correct name for factory class.
35
36 2003-06-28 Michael Koch <konqueror@gmx.de>
37
38 * java/io/PrintStream.java
39 (checkError): Call flush() instead of direct flushing of the Writer
40 object.
41 (print): Call print(String) instead of direct print method of the
42 Writer Object.
43 (println): Call println(String) instead of direct println method of the
44 Writer Object.
45 (write): Simplified.
46
47 2003-06-28 Michael Koch <konqueror@gmx.de>
48
49 * java/net/ServerSocket.java
50 (setChannel): New method.
51 * java/net/Socket.java
52 (setChannel): New method.
53
54 2003-06-27 Michael Koch <konqueror@gmx.de>
55
56 * java/beans/beancontext/BeanContextSupport.java:
57 New version from classpath.
58
59 2003-06-27 Michael Koch <konqueror@gmx.de>
60
61 * java/awt/Window.java,
62 java/awt/font/GraphicAttribute.java,
63 java/awt/font/ImageGraphicAttribute.java,
64 java/awt/image/DataBufferByte.java,
65 java/awt/image/DataBufferInt.java,
66 java/awt/image/DataBufferUShort.java,
67 java/awt/image/DirectColorModel.java,
68 java/awt/image/PixelGrabber.java:
69 New versions from classpath.
70
71 2003-06-27 Michael Koch <konqueror@gmx.de>
72
73 * java/security/Certificate.java
74 (getGuarantor): Removed wrong @deprecated tag.
75 (getPrincipal): Likewise.
76 (getPublicKey): Likewise.
77 (encode): Likewise.
78 (decode): Likewise.
79 (getFormat): Likewise.
80 (toString): Likewise.
81 * java/security/cert/PolicyQualifierInfo.java
82 (PolicyQualifierInfo): Made final.
83 * javax/security/auth/x500/X500Principal.java
84 (serialVersionUID): New member variable.
85
86 2003-06-27 Michael Koch <konqueror@gmx.de>
87
88 * java/text/Format.java
89 (serialVersionUID): Fixed value.
90
91 2003-06-27 Michael Koch <konqueror@gmx.de>
92
93 * java/net/Inet4Address.java
94 (Inet4Address): Made package-private.
95 * java/net/Inet6Address.java
96 (Inet4Address): Made package-private.
97
98 2003-06-27 Michael Koch <konqueror@gmx.de>
99
100 * java/io/RandomAccessFile.java
101 (readLine): Removed wrong @deprecated tag.
102 (getChannel): Made final.
103
104 2003-06-27 Michael Koch <konqueror@gmx.de>
105
106 * gnu/java/nio/FileChannelImpl.java
107 (write): Removed.
108
109 2003-06-27 Michael Koch <konqueror@gmx.de>
110
111 * java/nio/ByteBufferImpl.java
112 (ByteBufferImpl): Made it a package-private class
113 * java/nio/CharBufferImpl.java
114 (CharBufferImpl): Made it a package-private class
115 * java/nio/DirectByteBufferImpl.java
116 (DirectByteBufferImpl): Made it a package-private class
117 * java/nio/DoubleBufferImpl.java
118 (DoubleBufferImpl): Made it a package-private class
119 * java/nio/FloatBufferImpl.java
120 (FloatBufferImpl): Made it a package-private class
121 * java/nio/IntBufferImpl.java
122 (IntBufferImpl): Made it a package-private class
123 * java/nio/LongBufferImpl.java
124 (LongBufferImpl): Made it a package-private class
125 * java/nio/ShortBufferImpl.java
126 (ShortBufferImpl): Made it a package-private class
127 * java/nio/channels/FileChannel.java
128 (write): Made final.
129 * java/nio/channels/ServerSocketChannel.java
130 (ServerSocketChanne): Made protected.
131
132 2003-06-27 Michael Koch <konqueror@gmx.de>
133
134 * javax/naming/CompositeName.java
135 (serialVersionUID): New member variable.
136 * javax/naming/CompoundName.java
137 (serialVersionUID): New member variable.
138 * javax/naming/InitialContext.java
139 (InitialContext): Throws NamingException.
140 (init): Likewise.
141 * javax/naming/LinkRef.java
142 (serialVersionUID): New member variable.
143 (gteLinkName): Throws NamingException.
144 * javax/naming/NamingException.java
145 (serialVersionUID): New member variable.
146 * javax/naming/NamingSecurityException.java
147 (NamingSecurityException): Made abstract.
148 (serialVersionUID): New member variable.
149 * javax/naming/ReferralException.java
150 (serialVersionUID): New member variable.
151 * javax/naming/StringRefAddr.java
152 (serialVersionUID): New member variable.
153 * javax/naming/directory/BasicAttribute.java:
154 Reworked imports.
155 (serialVersionUID): New member variable.
156 (get): Throws NamingException.
157 (getAll): Throws NamingException.
158 * javax/naming/directory/BasicAttributes.java:
159 Reworked imports.
160 (serialVersionUID): New member variable.
161 * javax/naming/ldap/UnsolicitedNotificationEvent.java
162 (serialVersionUID): New member variable.
163
164 2003-06-27 Michael Koch <konqueror@gmx.de>
165
166 * Makefile.am
167 (awt_java_source_files): Added new files:
168 javax/swing/Popup.java,
169 javax/swing/PopupFactory.java
170 * Makefile.in: Regenerated.
171
172 2003-06-27 Michael Koch <konqueror@gmx.de>
173
174 * javax/swing/JWindow.java,
175 javax/swing/event/AncestorEvent.java,
176 javax/swing/event/HyperlinkEvent.java,
177 javax/swing/event/InternalFrameEvent.java,
178 javax/swing/event/ListDataEvent.java,
179 javax/swing/event/TableModelEvent.java,
180 javax/swing/plaf/PopupMenuUI.java,
181 javax/swing/plaf/SplitPaneUI.java,
182 javax/swing/plaf/TabbedPaneUI.java,
183 javax/swing/plaf/TextUI.java,
184 javax/swing/plaf/TreeUI.java,
185 javax/swing/plaf/basic/BasicTextUI.java,
186 javax/swing/plaf/basic/BasicTreeUI.java:
187 New versions from classpath.
188 * javax/swing/Popup.java,
189 javax/swing/PopupFactory.jav:
190 New source files from classpath.
191 * javax/swing/plaf/doc-files/TreeUI-1.png:
192 New binary files from classpath.
193
194 2003-06-25 Michael Koch <konqueror@gmx.de>
195
196 * Makefile.am
197 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
198 * Makefile.in: Regenerated.
199
200 2003-06-25 Michael Koch <konqueror@gmx.de>
201
202 * javax/swing/plaf/ActionMapUIResource.java,
203 javax/swing/plaf/BorderUIResource.java,
204 javax/swing/plaf/ButtonUI.java,
205 javax/swing/plaf/ColorChooserUI.java,
206 javax/swing/plaf/ColorUIResource.java,
207 javax/swing/plaf/ComboBoxUI.java,
208 javax/swing/plaf/ComponentInputMapUIResource.java,
209 javax/swing/plaf/ComponentUI.java,
210 javax/swing/plaf/DesktopIconUI.java,
211 javax/swing/plaf/DesktopPaneUI.java,
212 javax/swing/plaf/DimensionUIResource.java,
213 javax/swing/plaf/FileChooserUI.java,
214 javax/swing/plaf/FontUIResource.java,
215 javax/swing/plaf/IconUIResource.java,
216 javax/swing/plaf/InputMapUIResource.java,
217 javax/swing/plaf/InsetsUIResource.java,
218 javax/swing/plaf/InternalFrameUI.java,
219 javax/swing/plaf/LabelUI.java,
220 javax/swing/plaf/ListUI.java,
221 javax/swing/plaf/MenuBarUI.java,
222 javax/swing/plaf/MenuItemUI.java,
223 javax/swing/plaf/OptionPaneUI.java,
224 javax/swing/plaf/PanelUI.java,
225 javax/swing/plaf/ProgressBarUI.java,
226 javax/swing/plaf/RootPaneUI.java,
227 javax/swing/plaf/ScrollBarUI.java,
228 javax/swing/plaf/ScrollPaneUI.java,
229 javax/swing/plaf/SeparatorUI.java,
230 javax/swing/plaf/SliderUI.java,
231 javax/swing/plaf/TableHeaderUI.java,
232 javax/swing/plaf/TableUI.java,
233 javax/swing/plaf/ToolBarUI.java,
234 javax/swing/plaf/ToolTipUI.java,
235 javax/swing/plaf/ViewportUI.java:
236 New versions from classpath.
237 * javax/swing/plaf/SpinnerUI.java:
238 New file from classpath
239
240 2003-06-25 Michael Koch <konqueror@gmx.de>
241
242 * java/awt/image/ColorModel.java:
243 New version from classpath.
244
245 2003-06-25 Michael Koch <konqueror@gmx.de>
246
247 * java/net/PlainDatagramSocketImpl.java:
248 Partly merged with classpath, this mainly adds documentation.
249
250 2003-06-25 Michael Koch <konqueror@gmx.de>
251
252 * java/io/ObjectInputStream.java
253 (readClassDescriptor): New method.
254 (readObject): Moved functionality to readClassDescriptor().
255 * java/io/ObjectOutputStream.java
256 (writeClassDescriptor): New method.
257 (writeObject): Moved functionality to writeClassDescriptor().
258
259 2003-06-25 Michael Koch <konqueror@gmx.de>
260
261 * javax/swing/plaf/basic/BasicListUI.java,
262 javax/swing/plaf/basic/BasicOptionPaneUI.java:
263 Added missing methods.
264
265 2003-06-25 Michael Koch <konqueror@gmx.de>
266
267 * javax/swing/event/AncestorEvent.java
268 javax/swing/event/HyperlinkEvent.java
269 javax/swing/event/InternalFrameEvent.java
270 javax/swing/event/ListDataEvent.java
271 javax/swing/event/TableModelEvent.java:
272 Compile fixes.
273
274 2003-06-24 Michael Koch <konqueror@gmx.de>
275
276 * java/net/URL.java:
277 Renamed "handler" to "ph" in the whole file to match classpaths
278 version.
279 * java/net/URLStreamHandler.java:
280 (equals): Renamed "handler" to "ph".
281
282 2003-06-24 Michael Koch <konqueror@gmx.de>
283
284 * javax/swing/event/AncestorEvent.java,
285 javax/swing/event/HyperlinkEvent.java,
286 javax/swing/event/InternalFrameEvent.java,
287 javax/swing/event/ListDataEvent.java,
288 javax/swing/event/TableModelEvent.java,
289 javax/swing/event/TreeWillExpandListener.java,
290 javax/swing/plaf/ComponentUI.java,
291 javax/swing/plaf/DesktopIconUI.java,
292 javax/swing/plaf/DesktopPaneUI.java,
293 javax/swing/plaf/DimensionUIResource.java,
294 javax/swing/plaf/FileChooserUI.java,
295 javax/swing/plaf/FontUIResource.java,
296 javax/swing/plaf/IconUIResource.java,
297 javax/swing/plaf/InputMapUIResource.java,
298 javax/swing/plaf/InsetsUIResource.java,
299 javax/swing/plaf/InternalFrameUI.java,
300 javax/swing/plaf/LabelUI.java,
301 javax/swing/plaf/ListUI.java,
302 javax/swing/plaf/MenuBarUI.java,
303 javax/swing/plaf/MenuItemUI.java,
304 javax/swing/plaf/OptionPaneUI.java,
305 javax/swing/plaf/PanelUI.java,
306 javax/swing/plaf/ProgressBarUI.java,
307 javax/swing/plaf/doc-files/ComponentUI-1.dia,
308 javax/swing/plaf/doc-files/ComponentUI-1.png:
309 New versions from classpath.
310
311 2003-06-24 Michael Koch <konqueror@gmx.de>
312
313 * java/nio/Buffer.java
314 (cap): Made package-private.
315 (pos): Likewise.
316 (limit): Likewise.
317 (mark): Likewise.
318
319 2003-06-24 Michael Koch <konqueror@gmx.de>
320
321 * java/net/SocketImpl.java
322 (shutdownInput): Made it non-abstract method throwing an exception
323 like in SUNs JRE.
324 (shutdownOutput): Likewise.
325 * java/net/SocketInputStream.java,
326 java/net/SocketOutputStream.java:
327 New files from classpath.
328
329 2003-06-24 Michael Koch <konqueror@gmx.de>
330
331 * java/awt/Font.java,
332 java/awt/Window.java,
333 java/awt/color/ColorSpace.java,
334 java/awt/datatransfer/StringSelection.java,
335 java/awt/image/ColorModel.java:
336 New versions from classpath.
337
338 2003-06-24 Michael Koch <konqueror@gmx.de>
339
340 * Makefile.am
341 (awt_java_source_files): Added new files:
342 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
343 javax/swing/plaf/basic/BasicSplitPaneUI.java
344 * Makefile.in: Regenerated.
345
346 2003-06-24 Michael Koch <konqueror@gmx.de>
347
348 * javax/swing/text/JTextComponent.java:
349 New version from classpath.
350
351 2003-06-24 Michael Koch <konqueror@gmx.de>
352
353 * javax/swing/Timer.java,
354 javax/swing/plaf/ActionMapUIResource.java,
355 javax/swing/plaf/ButtonUI.java,
356 javax/swing/plaf/ColorChooserUI.java,
357 javax/swing/plaf/ColorUIResource.java,
358 javax/swing/plaf/ComboBoxUI.java,
359 javax/swing/plaf/ComponentInputMapUIResource.java,
360 javax/swing/plaf/basic/BasicBorders.java:
361 New versions from classpath.
362 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
363 javax/swing/plaf/basic/BasicSplitPaneUI.java:
364 New file from classpath.
365 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
366 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
367 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
368 javax/swing/plaf/doc-files/ComponentUI-1.dia,
369 javax/swing/plaf/doc-files/ComponentUI-1.png:
370 New binary files from classpath.
371
372 2003-06-24 Michael Koch <konqueror@gmx.de>
373
374 * java/io/LineNumberReader.java
375 (skip): Dont do line number accounting here as this is already done in
376 read(), simplified.
377
378 2003-06-21 Michael Koch <konqueror@gmx.de>
379
380 * java/io/File.java
381 (static): Load javaio lib if existing (only in classpath).
382 (File): Revised documentation to show the correct argument name.
383 (createTempFile): Partly merged with classpath.
384 (compareTo): Simplified.
385 (lastModified): Throw exception if time < 0.
386 (deleteOnExit): Revised documentation.
387
388 2003-06-21 Michael Koch <konqueror@gmx.de>
389
390 * java/net/PlainSocketImpl.java:
391 Reformatted.
392 (PlainSocketImpl): Merged class documentaion with classpath.
393 (in): Moved.
394 (out): Moved.
395 (PlainSocketImpl): New empty constructor.
396 (finalize): Moved.
397 (setOption): Merged documentation from classpath.
398 (getOption): Likewise.
399 (create): Likewise.
400 (connect): Likewise.
401 (bind): Likewise.
402 (listen): Likewise.
403 (accept): Likewise.
404 (available): Likewise.
405 (close): Likewise.
406 (read): Likewise.
407 (write): Likewise.
408 (getInputStream): Made synchronozed to get sure that only one stream
409 object can be created for this socket, merged documentation from
410 classpath.
411 (getOutputStream): Likewise.
412
413 2003-06-21 Michael Koch <konqueror@gmx.de>
414
415 * java/net/PlainSocketImpl.java:
416 Reformatting.
417 (static): New implicit method.
418 (read): Made package private.
419 (write): Likewise.
420
421 2003-06-21 Michael Koch <konqueror@gmx.de>
422
423 * java/util/SimpleTimeZone.java:
424 Removed unneeded import, reformatting.
425
426 2003-06-21 Michael Koch <konqueror@gmx.de>
427
428 * java/text/DateFormat.java,
429 java/text/SimpleDateFormat.java,
430 java/util/Locale.java:
431 New versions from classpath.
432
433 2003-06-21 Michael Koch <konqueror@gmx.de>
434
435 * javax/swing/SpinnerModel.java:
436 New file from classpath.
437 * javax/swing/border/LineBorder.java,
438 javax/swing/border/SoftBevelBorder.java,
439 javax/swing/plaf/BorderUIResource.java,
440 javax/swing/plaf/basic/BasicBorders.java:
441 New versions from classpath.
442 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
443 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
444 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
445 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
446 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
447 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
448 New binary files from classpath.
449
450 2003-06-21 Michael Koch <konqueror@gmx.de>
451
452 * java/util/logging/LogRecord.java,
453 java/util/logging/Logger.java,
454 java/util/logging/SocketHandler.java,
455 java/util/logging/SimpleFormatter.java,
456 java/util/logging/Formatter.java,
457 java/util/logging/ErrorManager.java,
458 java/util/logging/Handler.java,
459 java/util/logging/FileHandler.java,
460 java/util/logging/LogManager.java,
461 java/util/logging/Level.java,
462 java/util/logging/ConsoleHandler.java,
463 java/util/logging/StreamHandler.java,
464 java/util/logging/LoggingPermission.java,
465 java/util/logging/Filter.java,
466 java/util/logging/MemoryHandler.java,
467 java/util/logging/XMLFormatter.java:
468 New files from classpath.
469
470 2003-06-20 Michael Koch <konqueror@gmx.de>
471
472 * java/io/ObjectStreamField.java
473 (unshared): new member variable.
474 (ObjectStreamField): New constructor.
475 (isUnshared): New method.
476
477 2003-06-20 Michael Koch <konqueror@gmx.de>
478
479 * java/net/URLStreamHandler.java
480 (hostsEqual): Rewritten.
481
482 2003-06-20 Michael Koch <konqueror@gmx.de>
483
484 * gnu/java/nio/MappedByteFileBuffer.java,
485 gnu/java/nio/natMappedByteFileBuffer.cc:
486 Removed
487 * java/nio/MappedByteBufferImpl.java:
488 New file.
489 * gnu/java/nio/FileChannelImpl.java:
490 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
491 * Makefile.am
492 (ordinary_java_source_files): Removed
493 gnu/java/nio/MappedByteFileBuffer.java and added
494 java/nio/MappedByteBufferImpl.java.
495 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
496 * Makefile.in: Regenerated.
497
498 2003-06-19 Michael Koch <konqueror@gmx.de>
499
500 * gnu/java/nio/DatagramChannelImpl.java
501 (fd): Removed.
502 (blocking): New member variable.
503 (socket): Likewise.
504 (DatagramChannelImpl): Throws IOException, initialize socket.
505 (socket):Implemented.
506 (implCloseSelectableChannel): Throws IOException, implemented.
507 (implConfigureBlocking): Likewise.
508 (connect): Likewise.
509 (disconnect): Likewise.
510 (isConnected): Likewise.
511 (write): Likewise.
512 (read): Likewise.
513 (receive): Throws IOException.
514 (send): Likewise.
515 * gnu/java/nio/SocketChannelImpl.java
516 (read): Implemented.
517 (write): Implemented.
518
519 2003-06-19 Michael Koch <konqueror@gmx.de>
520
521 * javax/swing/JComponent.java,
522 javax/swing/JInternalFrame.java,
523 javax/swing/MenuSelectionManager.java,
524 javax/swing/SwingUtilities.java,
525 javax/swing/ToggleButtonModel.java:
526 New versions from classpath.
527
528 2003-06-19 Michael Koch <konqueror@gmx.de>
529
530 * java/text/CollationElementIterator.java
531 (NULLORDER): Initialize with -1 as JDK documentation says.
532
533 2003-06-19 Michael Koch <konqueror@gmx.de>
534
535 * java/net/HttpURLConnection.java,
536 java/net/Inet4Address.java,
537 java/net/Inet6Address.java,
538 java/net/SocketImpl.java,
539 java/net/URLClassLoader.java:
540 Reworked import statements.
541 * java/net/InetAddress.java
542 (getByAddress): Simplified.
543 * java/net/ServerSocket.java
544 (ServerSocket): Moved special handling during bind operation to
545 bind().
546 (bind): Handle different cases when trying to bind a socket.
547 * java/net/URLConnection.java
548 (getHeaderFieldDate): Merged with classpath.
549 (getHeaderFieldInt): Likewise.
550
551 2003-06-19 Michael Koch <konqueror@gmx.de>
552
553 * java/util/zip/InflaterInputStream.java
554 (InflaterInputStream): Throw NullPointerException if in is null (as
555 JDK does).
556
557 2003-06-19 Michael Koch <konqueror@gmx.de>
558
559 * java/awt/Font.java
560 javax/swing/UIManager.java
561 javax/swing/border/AbstractBorder.java
562 javax/swing/border/BevelBorder.java
563 javax/swing/border/Border.java
564 javax/swing/border/CompoundBorder.java
565 javax/swing/border/EmptyBorder.java
566 javax/swing/border/EtchedBorder.java
567 javax/swing/border/LineBorder.java
568 javax/swing/border/MatteBorder.java
569 javax/swing/border/TitledBorder.java
570 javax/swing/plaf/BorderUIResource.java
571 javax/swing/plaf/basic/BasicBorders.java
572 javax/swing/plaf/basic/BasicButtonUI.java
573 javax/swing/plaf/basic/BasicCheckBoxUI.java
574 javax/swing/plaf/basic/BasicGraphicsUtils.java
575 javax/swing/plaf/basic/BasicLabelUI.java
576 javax/swing/plaf/basic/BasicRadioButtonUI.java
577 javax/swing/plaf/basic/BasicToggleButtonUI.java:
578 New versions from classpath.
579 * javax/swing/border/SoftBevelBorder.java:
580 New file from classpath.
581 * javax/swing/border/doc-files/LineBorder-1.png,
582 javax/swing/border/doc-files/BevelBorder-1.png,
583 javax/swing/border/doc-files/BevelBorder-2.png,
584 javax/swing/border/doc-files/BevelBorder-3.png,
585 javax/swing/border/doc-files/EmptyBorder-1.png,
586 javax/swing/border/doc-files/EtchedBorder-1.png,
587 javax/swing/border/doc-files/EtchedBorder-2.png,
588 javax/swing/border/doc-files/MatteBorder-1.png,
589 javax/swing/border/doc-files/MatteBorder-2.png,
590 javax/swing/border/doc-files/MatteBorder-3.png,
591 javax/swing/border/doc-files/MatteBorder-4.png,
592 javax/swing/border/doc-files/MatteBorder-5.png,
593 javax/swing/border/doc-files/MatteBorder-6.png,
594 javax/swing/border/doc-files/SoftBevelBorder-1.png,
595 javax/swing/border/doc-files/SoftBevelBorder-2.png,
596 javax/swing/border/doc-files/SoftBevelBorder-3.png,
597 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
598 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
599 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
600 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
601 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
602 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
603 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
604 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
605 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
606 New binary files from classpath.
607 * Makefile.am
608 (awt_java_source_files): Added
609 javax/swing/border/SoftBevelBorder.java.
610 * Makefile.in: Regenerated.
611
612 2003-06-19 Michael Koch <konqueror@gmx.de>
613
614 * gnu/java/security/x509/X509Certificate.java
615 (writeReplace): Merged from classpath.
616
617 2003-06-19 Michael Koch <konqueror@gmx.de>
618
619 * gnu/java/nio/FileChannelImpl.java
620 (map_address): Made public.
621 (FileChannelImpl): Merged with classpath.
622 * gnu/java/nio/natFileChannelImpl.cc
623 (nio_mmap_file): Commented out unused arguments.
624 (nio_unmmap_file): Likewise.
625 (niu_msync): Likewise.
626
627 2003-06-19 Michael Koch <konqueror@gmx.de>
628
629 * java/awt/image/IndexColorModel.java:
630 New version from classpath.
631
632 2003-06-18 Tom Tromey <tromey@redhat.com>
633
634 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
635 on arrays.
636 (isLoopbackAddress): Likewise.
637 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
638 on arrays.
639
640 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
641
642 * java/lang/natVMSecurityManager.cc (getClassContext):
643 Use maxlen instead of len for loop bound.
644
645 2003-06-18 Michael Koch <konqueror@gmx.de>
646
647 * gnu/java/nio/SelectorImpl.java
648 (register): Use fd with value 0 for now, will be fixed later.
649 * gnu/java/nio/ServerSocketChannelImpl.java
650 (fd): Removed.
651 (local_port): Removed.
652 (InetSocketAddress): Removed.
653 (ServerSocketChannelImpl): Just initialize internal socket object.
654 (implCloseSelectableChannel): Close internal socket object.
655 (implConfigureBlocking): Added comment.
656 (accept): Use jaba.net stuff to accept socket.
657 * gnu/java/nio/SocketChannelImpl.java
658 (fd): Removed.
659 (local_port): Removed.
660 (InetSocketAddress): Removed.
661 (SocketCreate): Removed.
662 (SocketConnect): Removed.
663 (SocketBind): Removed.
664 (SocketListen): Removed.
665 (SocketAvailable): Removed.
666 (SocketClose): Removed.
667 (SocketRead): Removed.
668 (SocketWrite): Removed.
669 (SocketChannelImpl): Just initialize internal socket object.
670 (implCloseSelectableChannel): Close internal socket object.
671 (implConfigureBlocking): Fixed implementation, added comment.
672 (connect): Use internal socket object to connect.
673 (socket): No need for sanity checks.
674 (read): Comment out some stuff, this will be reimplemented in the next
675 commit.
676 (write): Likewise.
677 * gnu/java/nio/natFileChannelImpl.cc
678 (nio_mmap_file): Line wrapped.
679 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
680 * Makefile.am
681 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
682 * Makefile.in: Regenerated.
683
684 2003-06-18 Michael Koch <konqueror@gmx.de>
685
686 * java/util/Locale.java
687 (equals): Merged from classpath.
688
689 2003-06-18 Michael Koch <konqueror@gmx.de>
690
691 * java/net/InetAddress.java:
692 Reformatted to better match classpath's version.
693 * java/net/URL.java
694 (equals): Simplified.
695 * java/net/URLConnection.java
696 (setDoInput): Revised documentation.
697 (getDefaultUseCaches): Likewise.
698 (setRequestProperty): Added @since tag.
699
700 2003-06-17 Michael Koch <konqueror@gmx.de>
701
702 * java/net/InetSocketAddress.java
703 (InetSocketAddress): Use wildcard address if addr is null.
704 (InetSocketAddress): Dont duplicate implementation.
705 (InetSocketAddress): Throw exception when hostname is null.
706 * java/net/Socket.java:
707 Reworked imports.
708 (Socket): Throw exception when raddr is null, handle case when laddr
709 is null.
710
711 2003-06-17 Michael Koch <konqueror@gmx.de>
712
713 * java/nio/DirectByteBufferImpl.java
714 (address): Made package private.
715 (DirectByteBufferImpl): New constructor.
716 * java/nio/natDirectByteBufferImpl.cc
717 (allocateImpl): Moved to java.nio namespace, implemented.
718 (freeImpl): Likewise.
719 (getImpl): Likewise.
720 (putImpl): Likewise.
721 * jni.cc
722 (_Jv_JNI_NewDirectByteBuffer): Implemented.
723 (_Jv_JNI_GetDirectBufferAddress): Implemented.
724 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
725
726 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
727
728 * include/powerpc-signal.h: New File.
729 * configure.in: Use it.
730 * configure: Regenerated.
731
732 2003-06-17 Michael Koch <konqueror@gmx.de>
733
734 * java/util/Locale.java
735 (getDisplayLanguage): Made it final.
736 (getDisplayCountry): Likewise.
737 (getDisplayVariant): Likewise.
738 (getDisplayName): Likewise.
739
740 2003-06-17 Michael Koch <konqueror@gmx.de>
741
742 * java/util/PropertyResourceBundle.java:
743 Removed unneeded import.
744
745 2003-06-17 Michael Koch <konqueror@gmx.de>
746
747 * java/util/prefs/AbstractPreferences.java,
748 java/util/prefs/PreferencesFactory.java:
749 Reworked imports, removed unused imports.
750 * java/util/prefs/Preferences.java
751 (systemNodeForPackage): Method takes a Class not an Object.
752 (userNodeForPackage): Likewise.
753 (nodeForPackage): Likewise.
754
755 2003-06-17 Michael Koch <konqueror@gmx.de>
756
757 * gnu/java/security/x509/X509Certificate.java:
758 Explicitely import used classes.
759
760 2003-06-17 Michael Koch <konqueror@gmx.de>
761
762 * java/util/zip/ZipEntry.java,
763 java/util/zip/ZipFile.java,
764 java/util/zip/ZipInputStream.java,
765 java/util/zip/ZipOutputStream.java:
766 Reworked imports, only import used classes.
767
768 2003-06-17 Michael Koch <konqueror@gmx.de>
769
770 * gnu/java/lang/ArrayHelper.java,
771 gnu/java/lang/ClassHelper.java:
772 Reformatted to match classpath's versions.
773
774 2003-06-14 Michael Koch <konqueror@gmx.de>
775
776 * gnu/java/nio/FileChannelImpl.java
777 (map_address): Removed incorrect comment.
778 * gnu/java/nio/SelectorImpl.java
779 (register): Remove code duplication and code for file channel handling.
780 * gnu/java/nio/ServerSocketChannelImpl.java
781 (serverSocket): Renamed from sock_object.
782 (ServerSocketChannel): Initialize serverSocket.
783 (socket): Return serverSocket.
784 * gnu/java/nio/SocketChannelImpl.java
785 (socket): Renamed from sock_object.
786 (isConnectionPenging): Simplified.
787 (socket): Return socket.
788 2003-06-14 Michael Koch <konqueror@gmx.de>
789
790 * java/security/BasicPermission.java:
791 New version from classpath.
792
793 2003-06-14 Michael Koch <konqueror@gmx.de>
794
795 * javax/naming/directory/Attribute.java:
796 New version from classpath.
797
798 2003-06-14 Michael Koch <konqueror@gmx.de>
799
800 * java/io/BufferedReader.java,
801 java/io/FileOutputStream.java:
802 New versions from classpath.
803
804 2003-06-12 Andrew Haley <aph@redhat.com>
805
806 * prims.cc (catch_segv): Create exception in handler.
807 (catch_fpe): Likewise.
808 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
809 (_Jv_ThrowSignal): Remove.
810
811 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
812 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
813 to nullp and arithexception.
814 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
815 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
816 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
817 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
818 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
819
820 2003-06-11 Andrew Haley <aph@redhat.com>
821
822 * jni.cc (_Jv_JNI_check_types): New.
823 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
824 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
825 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
826 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
827
828 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
829 infinite loop.
830
831 2003-06-11 Tom Tromey <tromey@redhat.com>
832
833 * java/lang/ClassLoader.java (loadClass): Not deprecated.
834 * java/io/PrintStream.java: Not deprecated.
835
836 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
837
838 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
839 (fillOval): implemented
840 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
841 (fillArc): implemented.
842 * gnu/gcj/xlib/GC.java (drawArc): added native method.
843 (fillArc): added native method.
844 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
845 (fillArc): added native method.
846
847 2003-06-11 Michael Koch <konqueror@gmx.de>
848
849 * java/awt/im/InputSubset.java:
850 New version from classpath.
851
852 2003-06-11 Michael Koch <konqueror@gmx.de>
853
854 * javax/swing/AbstractAction.java,
855 javax/swing/AbstractButton.java,
856 javax/swing/AbstractCellEditor.java,
857 javax/swing/AbstractListModel.java,
858 javax/swing/BorderFactory.java,
859 javax/swing/Box.java,
860 javax/swing/BoxLayout.java,
861 javax/swing/ButtonGroup.java,
862 javax/swing/DefaultButtonModel.java,
863 javax/swing/DefaultListModel.java,
864 javax/swing/DefaultListSelectionModel.java,
865 javax/swing/FocusManager.java,
866 javax/swing/ImageIcon.java,
867 javax/swing/InputMap.java,
868 javax/swing/JApplet.java,
869 javax/swing/JButton.java,
870 javax/swing/JCheckBox.java,
871 javax/swing/JCheckBoxMenuItem.java,
872 javax/swing/JColorChooser.java,
873 javax/swing/JComboBox.java,
874 javax/swing/JComponent.java,
875 javax/swing/JDesktopPane.java,
876 javax/swing/JDialog.java,
877 javax/swing/JEditorPane.java,
878 javax/swing/JFileChooser.java,
879 javax/swing/JFormattedTextField.java,
880 javax/swing/JFrame.java,
881 javax/swing/JLabel.java,
882 javax/swing/JLayeredPane.java,
883 javax/swing/JList.java,
884 javax/swing/JMenuBar.java,
885 javax/swing/JMenuItem.java,
886 javax/swing/JOptionPane.java,
887 javax/swing/JPanel.java,
888 javax/swing/JPasswordField.java,
889 javax/swing/JPopupMenu.java,
890 javax/swing/JProgressBar.java,
891 javax/swing/JRadioButton.java,
892 javax/swing/JRadioButtonMenuItem.java,
893 javax/swing/JRootPane.java,
894 javax/swing/JScrollBar.java,
895 javax/swing/JScrollPane.java,
896 javax/swing/JSeparator.java,
897 javax/swing/JSlider.java,
898 javax/swing/JTabbedPane.java,
899 javax/swing/JTable.java,
900 javax/swing/JTextField.java,
901 javax/swing/JToggleButton.java,
902 javax/swing/JToolBar.java,
903 javax/swing/JToolTip.java,
904 javax/swing/JTree.java,
905 javax/swing/JViewport.java,
906 javax/swing/JWindow.java,
907 javax/swing/KeyStroke.java,
908 javax/swing/ListSelectionModel.java,
909 javax/swing/LookAndFeel.java,
910 javax/swing/RepaintManager.java,
911 javax/swing/ScrollPaneLayout.java,
912 javax/swing/SizeRequirements.java,
913 javax/swing/SwingConstants.java,
914 javax/swing/Timer.java,
915 javax/swing/UIDefaults.java,
916 javax/swing/UIManager.java,
917 javax/swing/border/AbstractBorder.java,
918 javax/swing/border/CompoundBorder.java,
919 javax/swing/colorchooser/AbstractColorChooserPanel.java,
920 javax/swing/colorchooser/ColorChooserComponentFactory.java,
921 javax/swing/colorchooser/ColorSelectionModel.java,
922 javax/swing/colorchooser/DefaultColorSelectionModel.java,
923 javax/swing/event/AncestorEvent.java,
924 javax/swing/event/HyperlinkEvent.java,
925 javax/swing/event/InternalFrameAdapter.java,
926 javax/swing/event/InternalFrameEvent.java,
927 javax/swing/event/ListDataEvent.java,
928 javax/swing/event/MouseInputAdapter.java,
929 javax/swing/event/SwingPropertyChangeSupport.java,
930 javax/swing/event/TableModelEvent.java,
931 javax/swing/event/TreeWillExpandListener.java,
932 javax/swing/event/UndoableEditEvent.java,
933 javax/swing/filechooser/FileFilter.java,
934 javax/swing/filechooser/FileSystemView.java,
935 javax/swing/filechooser/FileView.java,
936 javax/swing/plaf/BorderUIResource.java,
937 javax/swing/plaf/basic/BasicDefaults.java,
938 javax/swing/table/AbstractTableModel.java,
939 javax/swing/table/DefaultTableCellRenderer.java,
940 javax/swing/table/DefaultTableColumnModel.java,
941 javax/swing/table/DefaultTableModel.java,
942 javax/swing/table/TableColumn.java,
943 javax/swing/text/JTextComponent.java,
944 javax/swing/tree/AbstractLayoutCache.java,
945 javax/swing/tree/DefaultMutableTreeNode.java,
946 javax/swing/tree/DefaultTreeCellEditor.java,
947 javax/swing/tree/DefaultTreeCellRenderer.java,
948 javax/swing/tree/DefaultTreeModel.java,
949 javax/swing/tree/DefaultTreeSelectionModel.java,
950 javax/swing/tree/FixedHeightLayoutCache.java,
951 javax/swing/tree/TreeCellEditor.java,
952 javax/swing/tree/TreeModel.java,
953 javax/swing/tree/TreeNode.java,
954 javax/swing/tree/TreePath.java,
955 javax/swing/tree/TreeSelectionModel.java,
956 javax/swing/tree/VariableHeightLayoutCache.java,
957 javax/swing/undo/AbstractUndoableEdit.java,
958 javax/swing/undo/CompoundEdit.java,
959 javax/swing/undo/StateEdit.java,
960 javax/swing/undo/UndoManager.java,
961 javax/swing/undo/UndoableEditSupport.java:
962 New versions from classpath.
963 * javax/swing/table/JTableHeader.java:
964 New file from classpath.
965 * Makefile.am
966 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
967 * Makefile.in: Regenerated.
968
969 2003-06-11 Michael Koch <konqueror@gmx.de>
970
971 * java/nio/MappedByteBuffer.java,
972 java/nio/channels/Channels.java,
973 java/nio/channels/ServerSocketChannel.java,
974 java/nio/channels/spi/AbstractSelector.java:
975 Removed unneeded imports.
976
977 2003-06-11 Michael Koch <konqueror@gmx.de>
978
979 * java/net/DatagramSocket.java:
980 Partly merged with classpath.
981
982 2003-06-11 Michael Koch <konqueror@gmx.de>
983
984 * java/awt/Frame.java,
985 java/awt/Graphics.java,
986 java/awt/Menu.java,
987 java/awt/Robot.java,
988 java/awt/image/ColorModel.java:
989 New versions from classpath.
990
991 2003-06-10 Michael Koch <konqueror@gmx.de>
992
993 * java/io/PrintStream.java:
994 Merged version from classpath.
995 (close): Removed sychronized keyword. This class is not garantied to
996 be thread-safe.
997 (write): Likewise.
998
999 2003-06-09 Tom Tromey <tromey@redhat.com>
1000
1001 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1002 field.
1003 (getDescent): Likewise, for "descent".
1004
1005 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1006
1007 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1008 (getMaxDescent): adjusted return value.
1009 (getAscent): modified to use metrics for 'O'.
1010 (getDescent): modified to use metrics for 'y'.
1011
1012 2003-06-08 Anthony Green <green@redhat.com>
1013
1014 * java/net/URLStreamHandler.java (sameFile): Fix port value
1015 comparison.
1016 * java/net/URL.java (handler): Make package private.
1017 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1018
1019 2003-06-07 Tom Tromey <tromey@redhat.com>
1020
1021 For PR libgcj/11085:
1022 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1023 Limit number of characters in numeric field when required.
1024 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1025 Respect maximumIntegerDigits.
1026
1027 2003-06-08 Michael Koch <konqueror@gmx.de>
1028
1029 * java/net/Socket.java
1030 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1031 call bind() and connect() to actually do the bind and connect tasks.
1032 (bind): Connect to canonical address if bindpoint is null, create
1033 socket and bind it to bindpoint.
1034 (connect): Check for exceptions.
1035
1036 2003-06-08 Michael Koch <konqueror@gmx.de>
1037
1038 * java/net/DatagramSocket.java
1039 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1040 into the Multicast constructors.
1041 * java/net/DatagramSocketImpl.java
1042 (getOption): Removed.
1043 (setOption): Removed.
1044 * java/net/MulticastSocket.java
1045 (MulticastSocket): Call setReuseAddress (true).
1046 * java/net/SocketImpl.java
1047 (getOption): Removed.
1048 (setOption): Removed.
1049
1050 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1051
1052 PR libgcj/10886:
1053 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1054 Test for empty vector.
1055
1056 2003-06-06 Mark Wielaard <mark@klomp.org>
1057
1058 * java/security/Security.java (secprops): Initialize.
1059 (loadProviders): Return boolean.
1060 (static): Check result of loadProvider calls. If necessary
1061 display WARNING and fallback to Gnu provider.
1062
1063 2002-06-06 James Clark <jjc@jclark.com>
1064
1065 Fix for PR libgcj/8738:
1066 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1067 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1068 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1069 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1070 (write): Always decrease avail when count is increased.
1071 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1072 and whether output buffer is full before increasing size.
1073
1074 2002-06-06 Mark Wielaard <mark@klomp dot org>
1075
1076 * java/io/PrintStream.java (writeChars(char[],int, int)):
1077 Check converter.havePendingBytes().
1078 (writeChars(String,int,int)): Likewise.
1079 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1080 Check converter.havePendingBytes() and flush buffer when stalled.
1081
1082 2003-06-07 Michael Koch <konqueror@gmx.de>
1083
1084 * include/posix.h
1085 (O_DSYNC): Define O_DSYNC on platforms not
1086 supporting O_FSYNC (newlib).
1087
1088 2003-06-06 Mark Wielaard <mark@klomp.org>
1089
1090 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1091 AWTError.
1092
1093 2003-06-06 Michael Koch <konqueror@gmx.de>
1094
1095 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1096 More compile fixes from my stupid work yesterday.
1097
1098 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1099
1100 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1101 if _IEEE_LIBM is undefined.
1102
1103 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1104
1105 * libjava/include/posix.h (O_SYNC): Define if not available
1106 and a reasonable, perhaps more conservative, replacement exists.
1107 (O_DSYNC): Likewise.
1108 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1109
1110 2003-06-05 Michael Koch <konqueror@gmx.de>
1111
1112 * javax/swing/plaf/BorderUIResource.java,
1113 javax/swing/plaf/basic/BasicDefaults.java,
1114 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1115 More compile fixes for latest Border commit. I should not commit
1116 something in this heat here ...
1117
1118 2003-06-05 Michael Koch <konqueror@gmx.de>
1119
1120 * javax/swing/border/BevelBorder.java
1121 (BevelBorder): Removed.
1122 * javax/swing/border/EmptyBorder.java:
1123 Reformatted.
1124 (EmptyBorder): Removed.
1125 (getBorderInsets): Dont use l, r, t and b.
1126 * javax/swing/border/EtchedBorder.java
1127 (EtchedBorder): Removed.
1128 * javax/swing/border/LineBorder.java
1129 (LineBorder): Removed.
1130 * javax/swing/border/MatteBorder.java
1131 (MatteBorder): Removed.
1132 * javax/swing/border/TitledBorder.java
1133 (defaultBorder): Use other default for now.
1134 (defaultFont): Likewise.
1135 (defaultColor): Likewise.
1136
1137 2003-06-05 Michael Koch <konqueror@gmx.de>
1138
1139 * javax/swing/border/Border.java:
1140 New version from classpath.
1141
1142 2003-06-05 Michael Koch <konqueror@gmx.de>
1143
1144 * javax/swing/border/AbstractBorder.java,
1145 javax/swing/border/BevelBorder.java,
1146 javax/swing/border/CompoundBorder.java,
1147 javax/swing/border/EmptyBorder.java,
1148 javax/swing/border/EtchedBorder.java,
1149 javax/swing/border/LineBorder.java,
1150 javax/swing/border/MatteBorder.java,
1151 javax/swing/border/TitledBorder.java:
1152 New versions from Classpath.
1153
1154 2003-06-05 Michael Koch <konqueror@gmx.de>
1155
1156 * java/awt/Button.java,
1157 java/awt/Checkbox.java,
1158 java/awt/CheckboxMenuItem.java,
1159 java/awt/Choice.java,
1160 java/awt/Container.java,
1161 java/awt/Dialog.java,
1162 java/awt/EventQueue.java,
1163 java/awt/FileDialog.java,
1164 java/awt/Frame.java,
1165 java/awt/Label.java,
1166 java/awt/List.java,
1167 java/awt/Menu.java,
1168 java/awt/MenuItem.java,
1169 java/awt/Panel.java,
1170 java/awt/PopupMenu.java,
1171 java/awt/Rectangle.java,
1172 java/awt/ScrollPane.java,
1173 java/awt/Scrollbar.java,
1174 java/awt/TextArea.java,
1175 java/awt/TextField.java,
1176 java/awt/Window.java,
1177 java/awt/datatransfer/DataFlavor.java,
1178 java/awt/dnd/DragSource.java,
1179 java/awt/dnd/DragSourceContext.java,
1180 java/awt/event/HierarchyEvent.java,
1181 java/awt/event/MouseWheelEvent.java,
1182 java/awt/im/InputContext.java,
1183 java/awt/image/BufferedImage.java,
1184 java/awt/image/ComponentColorModel.java,
1185 java/awt/image/Raster.java,
1186 java/awt/image/WritableRaster.java,
1187 java/awt/peer/ComponentPeer.java,
1188 java/awt/print/PageFormat.java,
1189 java/awt/print/PrinterJob.java:
1190 New versions from Classpath.
1191
1192 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1193
1194 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1195 numberFormat.setParseIntegerOnly(true).
1196
1197 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1198
1199 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1200
1201 2003-06-03 Andrew Haley <aph@redhat.com>
1202
1203 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1204 stack volatile to prevent optimization from removing it.
1205
1206 2003-05-27 Michael Koch <konqueror@gmx.de>
1207
1208 * java/util/zip/Deflater.java
1209 (FILTERED): Merged documentation from classpath.
1210 * java/util/zip/DeflaterOutputStream.java
1211 (DeflaterOutputStream): Merged documentation and argument validity
1212 check from classpath.
1213 (deflate): Merged documentation from classpath.
1214 (finish): Likewise.
1215 * java/util/zip/Inflater.java
1216 (Inflater): Merged class documentation from classpath.
1217 (zstream): Reordered.
1218 (is_finished): Reordered.
1219 (dict_needed): Reordered.
1220 (Inflater): Reordered, merged documentation from classpath.
1221 (end): Likewise.
1222 (finalize): Merged documentation from classpath.
1223 (finished): Likewise.
1224 (getAdler): Likewise.
1225 (getRemaining): Likewise.
1226 (getTotalIn): Likewise.
1227 (getTotalOut): Likewise.
1228 (inflate): Likewise.
1229 (needsDictionary): Likewise.
1230 (needsInput): Likewise.
1231 (reset): Likewise.
1232 (setDictionary): Likewise.
1233 (setInput): Likewise.
1234
1235 2003-05-27 Michael Koch <konqueror@gmx.de>
1236
1237 * java/net/URLConnection.java
1238 (getHeaderFieldInt): Merged with classpath.
1239
1240 2003-05-27 Michael Koch <konqueror@gmx.de>
1241
1242 * java/io/PrintStream.java
1243 (PrintStream): Reformatted.
1244 (PrintStream): New method, merged from classpath.
1245 (write): Reformatted.
1246
1247 2003-05-27 Michael Koch <konqueror@gmx.de>
1248
1249 * java/lang/System.java:
1250 Explicitely import needed classes.
1251
1252 2003-05-26 Michael Koch <konqueror@gmx.de>
1253
1254 * java/net/NetPermission.java,
1255 java/net/NetworkInterface.java,
1256 java/net/PasswordAuthentication.java,
1257 java/net/SocketPermission.java:
1258 New versions from classpath.
1259
1260 2003-05-25 Michael Koch <konqueror@gmx.de>
1261
1262 * java/io/PushbackInputStream.java,
1263 java/net/Authenticator.java,
1264 java/net/ContentHandler.java,
1265 java/net/ContentHandlerFactory.java,
1266 java/net/DatagramSocket.java,
1267 java/net/DatagramSocketImpl.java,
1268 java/net/DatagramSocketImplFactory.java,
1269 java/net/FileNameMap.java,
1270 java/net/SocketImplFactory.java,
1271 java/net/SocketOptions.java,
1272 java/net/URLStreamHandlerFactory.java:
1273 Merged new versions from classpath.
1274
1275 2003-05-25 Michael Koch <konqueror@gmx.de>
1276
1277 * java/awt/Checkbox.java,
1278 java/awt/Dialog.java,
1279 java/awt/Font.java,
1280 java/awt/Frame.java,
1281 java/awt/ScrollPaneAdjustable.java,
1282 java/awt/Scrollbar.java,
1283 java/awt/Window.java:
1284 New versions from classpath.
1285
1286 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1287
1288 PR libgcj/10838:
1289 * java/io/ObjectInputStream (enableResolveObject):
1290 Fixed spelling of permission name.
1291
1292 2003-05-20 Michael Koch <konqueror@gmx.de>
1293
1294 * java/io/DataInputStream.java
1295 (convertFromUTF): Merged comment from classpath.
1296 * java/io/PrintStream.java
1297 (error_occured): Renamed from error, merged comment from classpath.
1298 (PrintStream): No need to initialized error.
1299 (checkError): Replace error with error_occurred.
1300 (setError): Likewise.
1301
1302 2003-05-20 Michael Koch <konqueror@gmx.de>
1303
1304 * java/io/DataInputStream.java:
1305 Reformatted, Replaced < and & with html entitites in documentation.
1306 * java/io/File.java:
1307 Reformatted.
1308 * java/io/PrintWriter.java:
1309 Moved class documentation.
1310
1311 2003-05-20 Michael Koch <konqueror@gmx.de>
1312
1313 * gnu/java/nio/ByteBufferImpl.java,
1314 gnu/java/nio/CharBufferImpl.java,
1315 gnu/java/nio/CharViewBufferImpl.java,
1316 gnu/java/nio/DirectByteBufferImpl.java,
1317 gnu/java/nio/DoubleBufferImpl.java,
1318 gnu/java/nio/DoubleViewBufferImpl.java,
1319 gnu/java/nio/FloatBufferImpl.java,
1320 gnu/java/nio/FloatViewBufferImpl.java,
1321 gnu/java/nio/IntBufferImpl.java,
1322 gnu/java/nio/IntViewBufferImpl.java,
1323 gnu/java/nio/LongBufferImpl.java,
1324 gnu/java/nio/LongViewBufferImpl.java,
1325 gnu/java/nio/natDirectByteBufferImpl.cc,
1326 gnu/java/nio/ShortBufferImpl.java,
1327 gnu/java/nio/ShortViewBufferImpl.java:
1328 Moved files to java/nio.
1329 * gnu/java/nio/SocketChannelImpl.java
1330
1331 * java/nio/ByteBuffer.java,
1332 java/nio/CharBuffer.java,
1333 java/nio/DoubleBuffer.java,
1334 java/nio/FloatBuffer.java,
1335 java/nio/IntBuffer.java,
1336 java/nio/LongBuffer.java,
1337 java/nio/ShortBuffer.java:
1338 Dont import anything.
1339 * java/nio/ByteBufferImpl.java,
1340 java/nio/CharBufferImpl.java,
1341 java/nio/CharViewBufferImpl.java,
1342 java/nio/DirectByteBufferImpl.java,
1343 java/nio/DoubleBufferImpl.java,
1344 java/nio/DoubleViewBufferImpl.java,
1345 java/nio/FloatBufferImpl.java,
1346 java/nio/FloatViewBufferImpl.java,
1347 java/nio/IntBufferImpl.java,
1348 java/nio/IntViewBufferImpl.java,
1349 java/nio/LongBufferImpl.java,
1350 java/nio/LongViewBufferImpl.java,
1351 java/nio/natDirectByteBufferImpl.cc,
1352 java/nio/ShortBufferImpl.java,
1353 java/nio/ShortViewBufferImpl.java:
1354 Moved from gnu/java/nio.
1355 * Makefile.am
1356 (ordinary_java_source_files): Moved files from gnu/java/nio to
1357 java/nio.
1358 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1359 to java/nio.
1360 * Makefile.in: Regenerated.
1361
1362 2003-05-19 Michael Koch <konqueror@gmx.de>
1363
1364 * java/util/Calendar.java
1365 (get): Not final anymore since JDK 1.4
1366 (set): Likewise.
1367
1368 2003-05-19 Michael Koch <konqueror@gmx.de>
1369
1370 * java/text/CollationKey.java:
1371 Merged copyright and dat from classpath.
1372 * java/text/RuleBasedCollator.java:
1373 Merged class documentation from classpath.
1374
1375 2003-05-19 Michael Koch <konqueror@gmx.de>
1376
1377 * java/nio/CharBuffer.java
1378 (toString): Compile fix.
1379
1380 2003-05-19 Michael Koch <konqueror@gmx.de>
1381
1382 * gnu/java/nio/ByteBufferImpl.java
1383 (putLong): Fixed conversion to bytes.
1384 (putDouble): Fixed conversion to bytes.
1385 * gnu/java/nio/DirectByteBufferImpl.java
1386 (putLong): Fixed conversion to bytes.
1387 (putDouble): Fixed conversion to bytes.
1388 * gnu/java/nio/FileLockImpl.java
1389 (isValid): Reformatted.
1390 * java/nio/Buffer.java
1391 (Buffer): Fixed off-by-one bug in handling mark.
1392 * java/nio/ByteBuffer.java:
1393 Added newline.
1394 * java/nio/CharBuffer.java
1395 (toString): Don't use relative get to get string data.
1396
1397 2003-05-16 Michael Koch <konqueror@gmx.de>
1398
1399 * java/io/natFileDescriptorPosix.cc
1400 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1401 tested.
1402
1403 2003-05-14 Michael Koch <konqueror@gmx.de>
1404
1405 * gnu/java/nio/FileLockImpl.java
1406 (released): New member variable.
1407 (FileLockImpl): Initialize released.
1408 (releaseImpl): New native method.
1409 (release): Implemented.
1410 * gnu/java/nio/SelectorImpl.java: Reformatted.
1411 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1412 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1413 (accept): Throws IOException.
1414 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1415 (implConfigureBlocking): Throws IOException.
1416 (connect): Likewise.
1417 (read): Likewise.
1418 (write): Likewise.
1419 * gnu/java/nio/natFileLockImpl.cc: New file.
1420 * java/nio/channels/FileLock.java: Reformatted.
1421 * Makefile.am:
1422 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1423 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1424 * Makefile.in: Regenerated.
1425
1426 2003-05-13 Michael Koch <konqueror@gmx.de>
1427
1428 * gnu/java/nio/CharViewBufferImpl.java
1429 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1430 (get): Shift bits to the right direction.
1431 (put): Likewise.
1432 * gnu/java/nio/DoubleViewBufferImpl.java
1433 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1434 (get): Shift bits to the right direction.
1435 (put): Likewise.
1436 * gnu/java/nio/FloatViewBufferImpl.java
1437 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1438 (get): Shift bits to the right direction.
1439 (put): Likewise.
1440 * gnu/java/nio/IntViewBufferImpl.java
1441 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1442 (get): Shift bits to the right direction.
1443 (put): Likewise.
1444 * gnu/java/nio/LongViewBufferImpl.java
1445 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1446 (get): Shift bits to the right direction.
1447 (put): Likewise.
1448 * gnu/java/nio/ShortViewBufferImpl.java
1449 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1450 (get): Shift bits to the right direction.
1451 (put): Likewise.
1452
1453 2003-05-13 Michael Koch <konqueror@gmx.de>
1454
1455 * gnu/java/nio/natDirectByteBufferImpl.cc
1456 (allocateImpl): jlong -> RawData*.
1457 (freeImpl): Likewise.
1458
1459 2003-05-13 Michael Koch <konqueror@gmx.de>
1460
1461 * java/nio/channels/FileChannel.java
1462 (MapMode.m): Made it package-private to match JDK 1.4.
1463 * java/nio/charset/Charset.java
1464 (decode): Made it final to match JDK 1.4.
1465
1466 2003-05-13 Michael Koch <konqueror@gmx.de>
1467
1468 * java/io/FileDescriptor.java
1469 (SYNC): New constant.
1470 (DSYNC): Likewise.
1471 (getLength): Renamed from lenght() to match classpath's
1472 FileDescriptor.java.
1473 * java/io/RandomAccessFile.java
1474 (RandomAccessFile): Removed unneeded mode check, implemented mode
1475 "rws" and "rwd", merged documentation from classpath.
1476 (setLength): Reformatted.
1477 (length): Use new getLength() of FileDescriptor.
1478 * java/io/natFileDescriptorEcos.cc
1479 (getLength): Renamed from length().
1480 * java/io/natFileDescriptorPosix.cc
1481 (open): Implemented support for SYNC and DSYNC.
1482 (seek): Use getLength() instead of length().
1483 (getLength): Renamed from length().
1484 * java/io/natFileDescriptorWin32.cc
1485 (getLength): Renamed from length().
1486 (seek): Use getLength() instead of length().
1487 (available): Likewise.
1488 * gnu/java/nio/natFileChannelImpl.cc
1489 (size): Use getLength() instead of length().
1490
1491 2003-05-13 Michael Koch <konqueror@gmx.de>
1492
1493 * gnu/java/nio/ByteBufferImpl.java
1494 (ByteBufferImpl): All constructors revised.
1495 (slice): Reimplemented.
1496 (duplicate): Reimplemented.
1497 (asReadOnlyBuffer): Reimplemented.
1498 * java/nio/ByteBuffer.java:
1499 Reformatted.
1500 (array_offset): Renamed from "offset" to match all other buffer
1501 classes.
1502 (ByteBuffer): All constructors revised.
1503 (allocateDirect): Implemented.
1504 (allocate): New implementation, documentation reworked.
1505 (wrap): Likewise.
1506 (get): Documentation reworked.
1507 (put): New implementation, documentation reworked.
1508 (hasArray): Documentation reworked.
1509 (arrayOffset): Likewise.
1510 (hashCode): Likewise.
1511 (equals): Likewise.
1512 (compareTo): Likewise.
1513 (order): Likewise.
1514 (compact): Likewise.
1515 (isDirect): Likewise.
1516 (slice): Likewise.
1517 (duplicate): Likewise.
1518 (asReadOnlyBuffer): Likewise.
1519 * Makefile.am
1520 (ordinary_java_source_files):
1521 Added gnu/java/nio/DirectByteBufferImpl.java.
1522 (nat_source_files):
1523 Added gnu/java/nio/natDirectByteBufferImpl.cc.
1524 * Makefile.in: Regenerated.
1525
1526 2003-05-12 Michael Koch <konqueror@gmx.de>
1527
1528 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1529 (nio_get_*): Removed.
1530 (nio_put_*): Removed.
1531 (as*Buffer): Implemented.
1532 (compact): Implemented.
1533 (get): Documentation added.
1534 (put): Documentation added.
1535 (get*): Newly implemented.
1536 (put*): Newly implemented.
1537 * gnu/java/nio/CharBufferImpl.java: Reformatted.
1538 (CharBufferImpl): Revised.
1539 (slice): New implementation.
1540 (duplicate): New implementation.
1541 (compact): New implementation.
1542 (asReadOnlyBuffer): New implementation.
1543 (get): Documentation revised.
1544 (order): Return native byte order.
1545 * gnu/java/nio/DirectByteBufferImpl.java
1546 (allocateDirect): objects can be null not 0.
1547 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1548 (DoubleBufferImpl): Revised.
1549 (slice): New implementation.
1550 (duplicate): New implementation.
1551 (compact): New implementation.
1552 (asReadOnlyBuffer): New implementation.
1553 (get): Documentation revised.
1554 (order): Return native byte order.
1555 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1556 (FloatBufferImpl): Revised.
1557 (slice): New implementation.
1558 (duplicate): New implementation.
1559 (compact): New implementation.
1560 (asReadOnlyBuffer): New implementation.
1561 (get): Documentation revised.
1562 (order): Return native byte order.
1563 * gnu/java/nio/IntBufferImpl.java: Reformatted.
1564 (IntBufferImpl): Revised.
1565 (slice): New implementation.
1566 (duplicate): New implementation.
1567 (compact): New implementation.
1568 (asReadOnlyBuffer): New implementation.
1569 (get): Documentation revised.
1570 (order): Return native byte order.
1571 * gnu/java/nio/LongBufferImpl.java: Reformatted.
1572 (LongBufferImpl): Revised.
1573 (slice): New implementation.
1574 (duplicate): New implementation.
1575 (compact): New implementation.
1576 (asReadOnlyBuffer): New implementation.
1577 (get): Documentation revised.
1578 (order): Return native byte order.
1579 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1580 (ShortBufferImpl): Revised.
1581 (slice): New implementation.
1582 (duplicate): New implementation.
1583 (compact): New implementation.
1584 (asReadOnlyBuffer): New implementation.
1585 (get): Documentation revised.
1586 (order): Return native byte order.
1587 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1588 (CharBuffer): Revised.
1589 (order): Removed.
1590 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1591 (DoubleBuffer): Revised.
1592 (allocateDirect): Removed.
1593 (order): Removed.
1594 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1595 (FloatBuffer): Revised.
1596 (allocateDirect): Removed.
1597 (order): Removed.
1598 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1599 (IntBuffer): Revised.
1600 (allocateDirect): Removed.
1601 (order): Removed.
1602 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1603 (LongBuffer): Revised.
1604 (allocateDirect): Removed.
1605 (order): Removed.
1606 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1607 (ShortBuffer): Revised.
1608 (allocateDirect): Removed.
1609 (order): Removed.
1610 * gnu/java/nio/natByteBufferImpl.cc: Removed.
1611 * gnu/java/nio/natCharBufferImpl.cc: Removed.
1612 * Makefile.am
1613 (ordinary_java_source_files): Added the following files:
1614 gnu/java/nio/CharViewBufferImpl.java,
1615 gnu/java/nio/DoubleViewBufferImpl.java,
1616 gnu/java/nio/FloatViewBufferImpl.java,
1617 gnu/java/nio/IntViewBufferImpl.java,
1618 gnu/java/nio/LongViewBufferImpl.java,
1619 gnu/java/nio/ShortViewBufferImpl.java
1620 (nat_source_files): Removed the following files:
1621 gnu/java/nio/natByteBufferImpl.cc,
1622 gnu/java/nio/natCharBufferImpl.cc
1623 * Makefile.in: Regenerated.
1624
1625 2003-05-12 Michael Koch <konqueror@gmx.de>
1626
1627 * gnu/java/nio/CharViewBufferImpl.java,
1628 gnu/java/nio/DirectByteBufferImpl.java,
1629 gnu/java/nio/DoubleViewBufferImpl.java,
1630 gnu/java/nio/FloatViewBufferImpl.java,
1631 gnu/java/nio/IntViewBufferImpl.java,
1632 gnu/java/nio/LongViewBufferImpl.java,
1633 gnu/java/nio/ShortViewBufferImpl.java,
1634 gnu/java/nio/natDirectByteBufferImpl.cc:
1635 New files, not yet to be compiled.
1636
1637 2003-05-10 Michael Koch <konqueror@gmx.de>
1638
1639 * javax/swing/plaf/ButtonUI.java,
1640 javax/swing/plaf/ColorUIResource.java,
1641 javax/swing/plaf/ComponentUI.java,
1642 javax/swing/plaf/DimensionUIResource.java,
1643 javax/swing/plaf/FontUIResource.java,
1644 javax/swing/plaf/IconUIResource.java,
1645 javax/swing/plaf/InsetsUIResource.java,
1646 javax/swing/plaf/LabelUI.java,
1647 javax/swing/plaf/ListUI.java,
1648 javax/swing/plaf/OptionPaneUI.java,
1649 javax/swing/plaf/PanelUI.java,
1650 javax/swing/plaf/TabbedPaneUI.java,
1651 javax/swing/plaf/TextUI.java,
1652 javax/swing/plaf/TreeUI.java,
1653 javax/swing/plaf/ViewportUI.java,
1654 javax/swing/plaf/basic/BasicBorders.java,
1655 javax/swing/plaf/basic/BasicButtonUI.java,
1656 javax/swing/plaf/basic/BasicCheckBoxUI.java,
1657 javax/swing/plaf/basic/BasicDefaults.java,
1658 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1659 javax/swing/plaf/basic/BasicIconFactory.java,
1660 javax/swing/plaf/basic/BasicLabelUI.java,
1661 javax/swing/plaf/basic/BasicListUI.java,
1662 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1663 javax/swing/plaf/basic/BasicPanelUI.java,
1664 javax/swing/plaf/basic/BasicRadioButtonUI.java,
1665 javax/swing/plaf/basic/BasicScrollPaneUI.java,
1666 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1667 javax/swing/plaf/basic/BasicTextUI.java,
1668 javax/swing/plaf/basic/BasicToggleButtonUI.java,
1669 javax/swing/plaf/basic/BasicTreeUI.java,
1670 javax/swing/plaf/basic/BasicViewportUI.java,
1671 javax/swing/plaf/metal/MetalLookAndFeel.java:
1672 New versions from classpath. This adds copyrights to all files and
1673 some serialVersionUIDs.
1674
1675 2003-05-10 Michael Koch <konqueror@gmx.de>
1676
1677 * java/nio/CharBuffer.java
1678 (offset): Make it package-private.
1679 (backing_buffer): Likewise.
1680 * java/nio/DoubleBuffer.java
1681 (offset): Make it package-private.
1682 (backing_buffer): Likewise.
1683 (put): Reformatted.
1684 * java/nio/FloatBuffer.java
1685 (offset): Make it package-private.
1686 (backing_buffer): Likewise.
1687 * java/nio/IntBuffer.java
1688 (offset): Make it package-private.
1689 (backing_buffer): Likewise.
1690 * java/nio/LongBuffer.java
1691 (offset): Make it package-private.
1692 (backing_buffer): Likewise.
1693 * java/nio/ShortBuffer.java
1694 (offset): Make it package-private.
1695 (backing_buffer): Likewise.
1696
1697 2003-05-10 Michael Koch <konqueror@gmx.de>
1698
1699 * java/nio/CharBuffer.java
1700 (put): Fixed precondtion check.
1701 (toString): Make it work without backing array.
1702 (put): Skip one level of method calling.
1703
1704 2003-05-10 Michael Koch <konqueror@gmx.de>
1705
1706 * java/security/Identity.java,
1707 java/security/IdentityScope.java,
1708 java/security/Key.java,
1709 java/security/KeyPair.java,
1710 java/security/PrivateKey.java,
1711 java/security/Provider.java,
1712 java/security/PublicKey.java,
1713 java/security/SecureRandom.java,
1714 java/security/SecureRandomSpi.java,
1715 java/security/SignedObject.java,
1716 java/security/Signer.java,
1717 java/security/cert/Certificate.java,
1718 java/security/cert/PKIXCertPathBuilderResult.java,
1719 java/security/cert/X509Certificate.java:
1720 New versions from classpath.
1721
1722 2003-05-09 Tom Tromey <tromey@redhat.com>
1723
1724 * Makefile.in: Rebuilt.
1725 * Makefile.am (nat_source_files): Removed old files.
1726 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1727 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1728 * gnu/java/nio/natIntBufferImpl.cc: Removed.
1729 * gnu/java/nio/natLongBufferImpl.cc: Removed.
1730 * gnu/java/nio/natShortBufferImpl.cc: Removed.
1731
1732 2003-05-09 Michael Koch <konqueror@gmx.de>
1733
1734 * gnu/java/nio/ByteBufferImpl.java
1735 (nio_cast): Removed.
1736 (ByteBufferImpl): Removed.
1737 (nio_get_Byte): Removed.
1738 (nio_put_Byte): Removed.
1739 (asByteBuffer): Removed.
1740 (asCharBuffer): Removed implementation and throw exception.
1741 (asShortBuffer): Likewise.
1742 (asIntBuffer): Likewise.
1743 (asLongBuffer): Likewise.
1744 (asFloatBuffer): Likewise.
1745 (asDoubleBuffer): Likewise.
1746 * gnu/java/nio/CharBufferImpl.java
1747 (CharBufferImpl): Removed.
1748 (nio_get_Byte): Removed.
1749 (nio_put_Byte): Removed.
1750 (asByteBuffer): Removed.
1751 * gnu/java/nio/DoubleBufferImpl.java
1752 (DoubleBufferImpl): Removed.
1753 (nio_get_Byte): Removed.
1754 (nio_put_Byte): Removed.
1755 (asByteBuffer): Removed.
1756 * gnu/java/nio/FloatBufferImpl.java
1757 (FloatBufferImpl): Removed.
1758 (nio_get_Byte): Removed.
1759 (nio_put_Byte): Removed.
1760 (asByteBuffer): Removed.
1761 * gnu/java/nio/IntBufferImpl.java
1762 (IntBufferImpl): Removed.
1763 (nio_get_Byte): Removed.
1764 (nio_put_Byte): Removed.
1765 (asByteBuffer): Removed.
1766 * gnu/java/nio/LongBufferImpl.java
1767 (LongBufferImpl): Removed.
1768 (nio_get_Byte): Removed.
1769 (nio_put_Byte): Removed.
1770 (asByteBuffer): Removed.
1771 * gnu/java/nio/ShortBufferImpl.java
1772 (ShortBufferImpl): Removed.
1773 (nio_get_Byte): Removed.
1774 (nio_put_Byte): Removed.
1775 (asByteBuffer): Removed.
1776 * gnu/java/nio/natByteBufferImpl.cc
1777 (nio_cast): Removed.
1778 (nio_get_Byte): Removed.
1779 (nio_put_Byte): Removed.
1780 * gnu/java/nio/natCharBufferImpl.cc
1781 (nio_get_Byte): Removed.
1782 (nio_put_Byte): Removed.
1783
1784 2003-05-09 Michael Koch <konqueror@gmx.de>
1785
1786 * java/net/JarURLConnection.java
1787 (getJarEntry): Merged documentation from classpath.
1788 (getJarFile): Likewise.
1789 (getMainAttributes): Likewise.
1790 (getAttributes): Likewise.
1791 (getManifest): Likewise.
1792 (getCertificates): Reformatted.
1793 * java/net/URLConnection.java:
1794 Little classpath merge.
1795
1796 2003-05-09 Michael Koch <konqueror@gmx.de>
1797
1798 * java/io/DataOutputStream.java
1799 (writeShort): Made it synchronized.
1800 (writeChar): Likewise.
1801 (writeInt): Likewise.
1802 (writeLong): Liekwise.
1803 (writeUTF): Made it synchronized, renamed argument to match classpath.
1804 * java/io/InputStreamReader.java
1805 (converter): Added documentation.
1806 (read): Merged documentation from classpath.
1807 * java/io/OutputStreamWriter.java
1808 (OutputStreamWriter): Merged documentation from classpath.
1809 (close): Reformatted.
1810 (getEncoding): Likewise.
1811 (flush): Likewise.
1812 (write): Merged documentation from classpath, reformatted.
1813
1814 2003-05-08 Tom Tromey <tromey@redhat.com>
1815
1816 * configure.host <powerpc64*-*>: Set with_libffi_default and
1817 libgcj_interpreter to "yes".
1818
1819 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
1820
1821 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1822
1823 2003-05-06 Tom Tromey <tromey@redhat.com>
1824
1825 * verify.cc: Reverted previous patch.
1826
1827 2003-05-06 Michael Koch <konqueror@gmx.de>
1828
1829 * java/io/DataOutputStream.java
1830 (write): Renamed argument to "value", merged documentation from
1831 classpath.
1832 (writeBoolean): Likewise.
1833 (writeByte): Likewise.
1834 (writeShort): Likewise.
1835 (writeChar): Likewise.
1836 (writeInt): Likewise.
1837 (writeLong): Likewise.
1838 (writeFloat): Likewise.
1839 (writeDouble): Likewise.
1840 (writeBytes): Likewise.
1841 (writeChars): Likewise.
1842 (writeUTF): Likewise.
1843 * java/io/File.java
1844 (performDelete): Added documentation.
1845 (performList): Likewise.
1846 (performMkdir): Likewise.
1847 (performSetReadOnly): Likewise.
1848 (performRenameTo): Likewise.
1849 (performSetLastModified): Likewise.
1850 (delete): Made it sychronized.
1851 (renameTo): Made it sychronized.
1852 (equals): Reformatted.
1853 (isHidden): Likewise.
1854 (listFiles): Likewise.
1855 (setReadOnly): Likewise.
1856 (listRoots): Likewise.
1857 (setLastModified): Likewise.
1858 (checkRead): Likewise.
1859 (checkWrite): Likewise.
1860 * java/io/FileInputStream.java
1861 (skip): Made it sychronized, merged from classpath.
1862 * java/io/FileOutputStream.java
1863 (write): Merged from classpath.
1864 * java/io/InputStreamReader.java:
1865 (InputStreamReader): Merged documentation from classpath.
1866
1867 2003-05-05 Michael Koch <konqueror@gmx.de>
1868
1869 * java/net/NetworkInterface.java
1870 (networkInterfaces): Removed.
1871 (getByName): Use getRealNetworkInterfaces() instead of
1872 networkInterfaces.
1873 (getByInetAddress): Likewise.
1874 (getNetworkInterfaces): Likewise.
1875 (toString): Fix output of addresses of an interface.
1876
1877 2003-05-05 Michael Koch <konqueror@gmx.de>
1878
1879 * java/io/DataInputStream.java:
1880 Merged new documentation from classpath.
1881
1882 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
1883
1884 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1885 "version".
1886 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1887 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1888 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1889 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1890 * gnu/awt/gtk/GtkMainThread.java: Likewise.
1891 * gnu/awt/gtk/GtkToolkit.java: Likewise.
1892 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1893 * java/security/Key.java: Likewise.
1894 * java/security/PrivateKey.java: Likewise.
1895 * java/security/Provider.java: Likewise.
1896 * java/security/PublicKey.java: Likewise.
1897
1898 2003-05-02 Michael Koch <konqueror@gmx.de>
1899
1900 * java/net/URI.java
1901 (create): Doesnt throws any exceptions.
1902 * java/net/URLConnection.java
1903 (URLConnection): Commend added.
1904 (getExpiration): The header field is called "expires" not
1905 "expiration".
1906 (getHeaderField): Merged documentation with classpath.
1907 (getHeaderFieldInt): Likewise.
1908 (getHeaderFieldDate): Likewise.
1909 (getHeaderFieldKey): Likewise.
1910 (getPermission): Likewise.
1911 (setDefaultUseCaches): Likewise.
1912 (setRequestProperty): Likewise.
1913 (addRequestProperty): Likewise.
1914 (getRequestProperty): Likewise.
1915 (getRequestProperties): Likewise.
1916 (setDefaultRequestProperty): Likewise.
1917 (getDefaultRequestProperty): Likewise.
1918 (guessContentTypeFromStream): Likewise.
1919 (getFileNameMap): Likewise.
1920 (setFileNameMap): Likewise.
1921 (setDoInput): Merged implementation and documentation with classpath.
1922 (setDoOutput): Likewise.
1923 (setAllowUserInteraction): Likewise.
1924 (setDefaultAllowUserInteraction): Likewise.
1925 (setContentHandlerFactory): Made it synchronized, merged documentation
1926 with classpath.
1927 (guessContentTypeFromName): Renamed argument fname to filename to
1928 match classpath, merged documentation with classpath.
1929
1930 2003-05-02 Michael Koch <konqueror@gmx.de>
1931
1932 * java/net/JarURLConnection.java
1933 (JarURLConnection): Class documentation merged with classpath.
1934 (getJarFileURL): Moved and documentation merged with classpath.
1935 (getEntryName): Likewise.
1936 (JarURLConnection): Documentation merged with classpath.
1937 (getJarEntry): Likewise.
1938 (getJarFile): Likewise.
1939 * java/net/PlainDatagramSocketImpl.java:
1940 Class documentation moved.
1941 * java/net/URLConnection.java
1942 (fileNameMap): Moved and documentation merged with classpath.
1943 (factory): Likewise.
1944 (defaultAllowUserInteraction): Likewis.
1945 (defaultUseCaches): Likewise.
1946 (allowUserInteraction): Likewise.
1947 (connected): Likewise.
1948 (url): Likewise.
1949 (connect): Documentation merged with classpath.
1950 (getURL): Likewise.
1951 (getContentLength): Likewise.
1952 (getContentType): Likewise.
1953 (getContentEncoding): Likewise.
1954 (getExpiration): Likewise.
1955 (getDate): Likewise.
1956 (getLastModified): Likewise.
1957 (getHeaderField): Likewise.
1958 (getContent): Likewise.
1959 (getPermission): Likewise.
1960 (getInputStream): Likewise.
1961 (getOutputStream): Likewise.
1962 (toString): Likewise.
1963 (getDoInput): Likewise.
1964 (getDoOutput): Likewise.
1965 (setAllowUserInteraction): Likewise.
1966 (getAllowUserInteraction): Likewise.
1967 (setDefaultAllowUserInteraction): Likewise.
1968 (getDefaultAllowUserInteraction): Likewise.
1969 (setUseCaches): Likewise.
1970 (getUseCaches): Likewise.
1971 (setIfModifiedSince): Likewise.
1972 (getIfModifiedSince): Likewise.
1973 (setDefaultRequestProperty): Likewise.
1974 (getDefaultRequestProperty): Likewise.
1975 (setContentHandlerFactory): Likewise.
1976 (setFileNameMap): Likewise.
1977
1978 2003-05-02 Michael Koch <konqueror@gmx.de>
1979
1980 * java/net/InetAddress.java:
1981 Merged class documentation with classpath.
1982 * java/net/JarURLConnection.java:
1983 Explicitely import all used classes.
1984 * java/net/URL.java:
1985 Reformatting.
1986 * java/net/ServerSocket.java,
1987 java/net/Socket.java:
1988 New versions from classpath.
1989
1990 2003-05-02 Michael Koch <konqueror@gmx.de>
1991
1992 * gnu/java/nio/FileChannelImpl.java
1993 (read): New implementation.
1994 (implRead): New methods.
1995 (write): New implementation, call other write insteal of read method.
1996 (implWrite): New methods.
1997 (map): Added comment.
1998 (transferFrom): Implemented.
1999 (transferTo): Implemented.
2000 (lock): Added checks to throw exceptions.
2001 (truncate): Added check to throw exception.
2002 * gnu/java/nio/natFileChannelImpl.cc
2003 (implRead): New method.
2004 (implWrite): New method.
2005 * java/nio/ByteBuffer.java
2006 (hashCode): Fixed comment.
2007 (get): Fixed exception documentation.
2008 (put): Fixed exception documentation.
2009 * java/nio/CharBuffer.java:
2010 Added comment for later optimizations.
2011
2012 2003-04-30 Tom Tromey <tromey@redhat.com>
2013
2014 PR libgcj/10582:
2015 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2016 Removed.
2017 (type::compatible): Use _Jv_IsAssignableFrom.
2018 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2019 (_Jv_IsAssignableFrom): Work even when source or target class is
2020 not prepared.
2021
2022 2003-04-30 Michael Koch <konqueror@gmx.de>
2023
2024 * java/text/BreakIterator.java
2025 (clone): New method.
2026
2027 2003-04-30 Michael Koch <konqueror@gmx.de>
2028
2029 * java/text/CollationElementIterator.java,
2030 java/text/CollationKey.java,
2031 java/text/RuleBasedCollator.java:
2032 Merged copyright and documentation from classpath and
2033 rearranged some code. No code changes done.
2034
2035 2003-04-30 Michael Koch <konqueror@gmx.de>
2036
2037 * java/util/regex/Matcher.java
2038 (pattern): New member variable.
2039 (appendReplacement): New method.
2040 (appendTail): New method.
2041 (end): New method.
2042 (find): New method.
2043 (group): New method.
2044 (replaceFirst): Added documentation.
2045 (replaceAll): Added documentation.
2046 (groupCount): New method.
2047 (lookingAt): New method.
2048 (matches): New method.
2049 (reset): New method.
2050 (start): New method.
2051 * java/util/regex/Pattern.java
2052 (serialVersionUID): New constant.
2053 (CANON_EQ): New constant.
2054 (CASE_INSENSITIVE): New constant.
2055 (COMMENTS): New constant.
2056 (DOTALL): New constant.
2057 (MULTILINE): New constant.
2058 (UNICODE_CASE): New constant.
2059 (UNIX_LINES): New constant.
2060 (regex): New member variable.
2061 (flags): New member variable.
2062 (Pattern): New method.
2063 (compile): Documentation added.
2064 (flags): New method.
2065 (matches): Documentation added.
2066 (matcher): Documentation added.
2067 (split): Documentation added.
2068 (pattern): New method.
2069
2070 2003-04-30 Michael Koch <konqueror@gmx.de>
2071
2072 * gnu/java/security/Engine.java,
2073 gnu/java/security/OID.java,
2074 gnu/java/security/der/BitString.java,
2075 gnu/java/security/der/DER.java,
2076 gnu/java/security/der/DERReader.java,
2077 gnu/java/security/der/DERValue.java,
2078 gnu/java/security/der/DERWriter.java,
2079 gnu/java/security/provider/DSAKeyFactory.java,
2080 gnu/java/security/provider/X509CertificateFactory.java,
2081 gnu/java/security/x509/X500DistinguishedName.java,
2082 gnu/java/security/x509/X509CRL.java,
2083 gnu/java/security/x509/X509CRLEntry.java,
2084 gnu/java/security/x509/X509Certificate.java,
2085 java/security/cert/CRLSelector.java,
2086 java/security/cert/CertPathBuilder.java,
2087 java/security/cert/CertPathBuilderResult.java,
2088 java/security/cert/CertPathBuilderSpi.java,
2089 java/security/cert/CertPathParameters.java,
2090 java/security/cert/CertPathValidator.java,
2091 java/security/cert/CertPathValidatorResult.java,
2092 java/security/cert/CertPathValidatorSpi.java,
2093 java/security/cert/CertSelector.java,
2094 java/security/cert/CertStore.java,
2095 java/security/cert/CertStoreParameters.java,
2096 java/security/cert/CertStoreSpi.java,
2097 java/security/cert/CollectionCertStoreParameters.java,
2098 java/security/cert/LDAPCertStoreParameters.java,
2099 java/security/cert/PKIXBuilderParameters.java,
2100 java/security/cert/PKIXCertPathBuilderResult.java,
2101 java/security/cert/PKIXCertPathChecker.java,
2102 java/security/cert/PKIXCertPathValidatorResult.java,
2103 java/security/cert/PKIXParameters.java,
2104 java/security/cert/PolicyNode.java,
2105 java/security/cert/PolicyQualifierInfo.java,
2106 java/security/cert/TrustAnchor.java,
2107 javax/security/auth/x500/X500Principal.java:
2108 New files from classpath.
2109 * gnu/java/io/ASN1ParsingException.java,
2110 gnu/java/io/Base64InputStream.java,
2111 gnu/java/security/der/DEREncodingException.java,
2112 gnu/java/security/provider/DSAParameters.java,
2113 gnu/java/security/provider/DSASignature.java,
2114 gnu/java/security/provider/Gnu.java,
2115 gnu/java/security/provider/GnuDSAPrivateKey.java,
2116 gnu/java/security/provider/GnuDSAPublicKey.java,
2117 java/security/AlgorithmParameterGenerator.java,
2118 java/security/AlgorithmParameters.java,
2119 java/security/KeyFactory.java,
2120 java/security/KeyPairGenerator.java,
2121 java/security/KeyStore.java,
2122 java/security/MessageDigest.java,
2123 java/security/SecureClassLoader.java,
2124 java/security/SecureRandom.java,
2125 java/security/Security.java,
2126 java/security/Signature.java,
2127 java/security/cert/Certificate.java,
2128 java/security/cert/CertificateFactory.java,
2129 java/security/cert/CertificateFactorySpi.java,
2130 java/security/cert/X509CRL.java,
2131 java/security/cert/X509Certificate.java,
2132 java/security/spec/DSAPublicKeySpec.java:
2133 New versions from classpath.
2134 * gnu/java/security/provider/DERReader.java,
2135 gnu/java/security/provider/DERWriter.java,
2136 java/security/Engine.java: Removed.
2137 * Makefile.am
2138 (java_source_files, javax_source_files): Added new files.
2139 * Makefile.in: Regenerated.
2140
2141 2003-04-29 Michael Koch <konqueror@gmx.de>
2142
2143 * javax/swing/JTable.java
2144 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2145 (AUTO_RESIZE_LAST_COLUMN): New constant.
2146 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2147 (AUTO_RESIZE_OFF): New constant.
2148 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2149 (JTable): New method.
2150 (columnAdded): New method.
2151 (columnMarginChanged): New method.
2152 (columnMoved): New method.
2153 (columnRemoved): New method.
2154 (columnSelectionChanged): New method.
2155 (editingCanceled): New method.
2156 (editingStopped): New method.
2157 (getColumnModel): New method.
2158 (getPreferredScrollableViewportSize): New method.
2159 (getScrollableBlockIncrement): New method.
2160 (getScrollableTracksViewportHeight): New method.
2161 (getScrollableTracksViewportWidth): New method.
2162 (getScrollableUnitIncrement): New method.
2163 (getSelectedRow): New method.
2164 (getSelectionModel): New method.
2165 (tableChanged): New method.
2166 (setModel): New method.
2167 (setSelectionMode): New method.
2168 (setSelectionModel): New method.
2169 (setShowGrid): New method.
2170 (valueChanged): New method.
2171 * javax/swing/text/DefaultEditorKit.java
2172 (backwardAction): New constant.
2173 (beepAction): New constant.
2174 (beginAction): New constant.
2175 (beginLineAction): New constant.
2176 (beginParagraphAction): New constant.
2177 (beginWordAction): New constant.
2178 (copyAction): New constant.
2179 (cutAction): New constant.
2180 (defaultKeyTypedAction): New constant.
2181 (deleteNextCharAction): New constant.
2182 (deletePrevCharAction): New constant.
2183 (downAction): New constant.
2184 (endAction): New constant.
2185 (endLineAction): New constant.
2186 (endOfLineStringProperty): New constant.
2187 (endParagraphAction): New constant.
2188 (endWordAction): New constant.
2189 (forwardAction): New constant.
2190 (insertBreakAction): New constant.
2191 (insertContentAction): New constant.
2192 (insertTabAction): New constant.
2193 (nextWordAction): New constant.
2194 (pageDownAction): New constant.
2195 (pageUpAction): New constant.
2196 (pasteAction): New constant.
2197 (previousWordAction): New constant.
2198 (readOnlyAction): New constant.
2199 (selectAllAction): New constant.
2200 (selectionBackwardAction): New constant.
2201 (selectionBeginAction): New constant.
2202 (selectionBeginLineAction): New constant.
2203 (selectionBeginParagraphAction): New constant.
2204 (selectionBeginWordAction): New constant.
2205 (selectionDownAction): New constant.
2206 (selectionEndAction): New constant.
2207 (selectionEndLineAction): New constant.
2208 (selectionEndParagraphAction): New constant.
2209 (selectionEndWordAction): New constant.
2210 (selectionForwardAction): New constant.
2211 (selectionNextWordAction): New constant.
2212 (selectionPreviousWordAction): New constant.
2213 (selectionUpAction): New constant.
2214 (selectLineAction): New constant.
2215 (selectParagraphAction): New constant.
2216 (selectWordAction): New constant.
2217 (upAction): New constant.
2218 (writableAction): New constant.
2219
2220 2003-04-29 Michael Koch <konqueror@gmx.de>
2221
2222 * java/util/PropertyPermission.java:
2223 New version from classpath
2224 * java/util/ResourceBundle.java:
2225 Partly merged from classpath
2226 (getObject): Reformated.
2227 (tryBundle): Set foundBundle = null if no bundle found.
2228
2229 2003-04-29 Michael Koch <konqueror@gmx.de>
2230
2231 * javax/swing/AbstractListModel.java,
2232 javax/swing/DefaultBoundedRangeModel.java,
2233 javax/swing/DefaultSingleSelectionModel.java:
2234 New Versions from classpath.
2235
2236 2003-04-29 Michael Koch <konqueror@gmx.de>
2237
2238 * java/awt/Window.java
2239 (show): Call super.show() instead of setVisible() to avoid endless
2240 loop.
2241 (hide): Call super.hide() instead of setVisible() to avoid endless
2242 loop.
2243
2244 2003-04-29 Michael Koch <konqueror@gmx.de>
2245
2246 * java/util/zip/Deflater.java,
2247 java/util/zip/DeflaterOutputStream.java:
2248 Partly merged with classpath.
2249
2250 2003-04-27 Tom Tromey <tromey@redhat.com>
2251
2252 * java/lang/natString.cc (_Jv_AllocString): Initialize
2253 cachedHashCode.
2254 (init): Likewise.
2255 (_Jv_NewStringUtf8Const): Likewise.
2256
2257 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2258
2259 * include/jvm.h: (_Jv_GetNbArgs) added
2260 (_Jv_GetSafeArg) added
2261 (_Jv_SetArgs) added
2262 * prims.cc: (_Jv_GetNbArgs) implemented
2263 (_Jv_GetSafeArg) implemented
2264 (_Jv_SetArgs) implemented
2265 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2266 setting _Jv_argc and _Jv_argv
2267 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2268 instead of _Jv_argv
2269 * java/lang/natRuntime.cc: (insertSystemProperties) use
2270 _Jv_GetSafeArg() instead of _Jv_argv
2271
2272 2003-04-23 Tom Tromey <tromey@redhat.com>
2273
2274 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2275 required by this object. Search superclasses to find required
2276 alignment.
2277 (get_alignment_from_class): Use alignment of type as it appears
2278 in a struct.
2279 (ALIGNOF): New macro.
2280 (struct aligner): New helper structure.
2281
2282 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2283
2284 * java/awt/Container.java (addImpl): Enable paint events if adding
2285 a lightweight to a heavyweight.
2286 (addNotify): Ensure that peer is created before
2287 addNotifyContainerChildren.
2288 (addNotifyContainerChildren): Enable paint events if a heavyweight
2289 container contains a lightweight.
2290
2291 2003-04-20 Tom Tromey <tromey@redhat.com>
2292
2293 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2294 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2295 Classpath.
2296
2297 2003-04-19 Tom Tromey <tromey@redhat.com>
2298
2299 * java/sql/Date.java, java/sql/DriverManager.java,
2300 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2301 Classpath.
2302
2303 * Makefile.in: Rebuilt.
2304 * Makefile.am (ordinary_java_source_files): Added new files.
2305 * java/security/AlgorithmParameterGenerator.java,
2306 java/security/AlgorithmParameters.java, java/security/Engine.java,
2307 java/security/Identity.java, java/security/IdentityScope.java,
2308 java/security/KeyFactory.java,
2309 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2310 java/security/MessageDigest.java, java/security/Policy.java,
2311 java/security/ProtectionDomain.java,
2312 java/security/SecureRandom.java, java/security/Security.java,
2313 java/security/Signature.java, java/security/SignatureSpi.java,
2314 java/security/SignedObject.java, java/security/Signer.java,
2315 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2316 java/security/spec/PSSParameterSpec.java,
2317 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2318 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2319 Classpath.
2320
2321 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2322
2323 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2324 (dispose): Null metrics.
2325 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2326 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2327 finalize.
2328 (finalize): Call dispose.
2329 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2330 (gcCachedCount): New field.
2331 (finalize): New method.
2332 (putGCInCache): New method.
2333 (getGCFromCache): New method.
2334 * gnu/gcj/xlib/GC.java (GC): Make protected.
2335 (clone): Get new GC from cache if possible.
2336 (create): New static method.
2337 (dispose): Save old GC in cache.
2338 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2339 deleting.
2340 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2341 is null.
2342 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2343 * java/awt/Container.java (visitChild): Dispose gfx2 when
2344 finished.
2345
2346 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2347
2348 * java/math/BigInteger.java (probablePrime): New.
2349 * java/math/BigDecimal.java (unscaledValue): New.
2350
2351 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2352
2353 * java/io/File.java (getAbsolutePath): On Windows, take care
2354 of paths like "C:", "G:foo\bar", etc.
2355 (getName): Make it work correctly on Windows.
2356 (getParent): Make it work correctly on Windows. For UNIX,
2357 fix bug that causes "/" to be returned as the parent of "/",
2358 instead of null as returned by Sun's JRE.
2359
2360 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2361
2362 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2363
2364 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2365 inner class.
2366 (CACHE_SIZE_PER_DISPLAY): New field
2367 (fontMetricsCache): New field
2368 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2369 loading ISO10646-1 fonts.
2370
2371 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2372
2373 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2374 characters.
2375 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2376 characters.
2377
2378 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2379
2380 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2381 floating point.
2382
2383 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2384
2385 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2386 installed libpthread is either linuxthreads with floating stacks or
2387 NPTL.
2388
2389 2003-04-14 Tom Tromey <tromey@redhat.com>
2390
2391 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2392 of alignment.
2393
2394 2003-04-10 Tom Tromey <tromey@redhat.com>
2395
2396 * verify.cc (pop64): Removed.
2397 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2398 exception if top-of-stack is narrow.
2399 (initialize_stack): Check to ensure that <init> is not static and
2400 <clinit> is.
2401
2402 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2403
2404 * java/io/ObjectStreamException
2405 * java/io/FileFilter
2406 * java/io/FilenameFilter
2407 * java/io/ObjectInput
2408 * java/io/ObjectOutput
2409 * java/io/ObjectStreamConstants
2410 Minor doc fixes, format fixes, spelling corrections, etc.
2411 * java/io/DataInput
2412 Corrected code samples in Javadocs to match reality
2413 * java/io/DataOutput
2414 * java/io/ObjectInputValidation
2415 Major documentation fixes - all Javadocs re-written or updated
2416
2417 2003-04-06 Michael Koch <konqueror@gmx.de>
2418
2419 * java/net/URLConnection.java:
2420 Import classes directly.
2421 (URLConnection): Merged class documentation with classpath.
2422 (url): Moved, documentation from classpath added.
2423 (doInput): Moved, documentation from classpath added.
2424 (doOutput): Moved, documentation from classpath added.
2425 (allowUserInteraction): Moved.
2426 (useCaches): Moved, documentation from classpath added.
2427 (ifModifiedSince): Moved, documentation from classpath added.
2428 (connected): Moved, documentation from classpath added.
2429
2430 2003-04-06 Michael Koch <konqueror@gmx.de>
2431
2432 * java/io/FileInputStream.java
2433 (skip): Renamed some variables to match classpath, added
2434 checks from classpath.
2435
2436 2003-03-31 Michael Koch <konqueror@gmx.de>
2437
2438 * javax/swing/AbstractAction.java
2439 (AbstractAction): Reformatted.
2440 (serialVersionUID): New private member variable.
2441 * javax/swing/plaf/BorderUIResource.java
2442 (serialVersionUID): New private member variable.
2443 * javax/swing/plaf/basic/BasicLookAndFeel.java
2444 (serialVersionUID): New private member variable.
2445
2446 2003-03-31 Michael Koch <konqueror@gmx.de>
2447
2448 * java/sql/Date.java
2449 (valueOf): Deprecated, reformatted.
2450 (toString): Deprecated, reformatted.
2451 * java/sql/Time.java
2452 (valueOf): Deprecated, reformatted.
2453 (toString): Deprecated, reformatted.
2454
2455 2003-03-31 Michael Koch <konqueror@gmx.de>
2456
2457 * java/rmi/dgc/VMID.java
2458 (isUnique): Deprecated.
2459
2460 2003-03-31 Michael Koch <konqueror@gmx.de>
2461
2462 * java/io/File.java
2463 (separator): Merged documentation from classpath.
2464 (separatorChar): Merged documentation from classpath.
2465 (pathSeparator): Merged documentation from classpath.
2466 (pathSeparatorChar): Merged documentation from classpath.
2467 (path): Merged documentation from classpath.
2468 (canRead): Merged documentation from classpath.
2469 (canWrite): Merged documentation from classpath.
2470 (createNewFile): Merged documentation from classpath.
2471 (delete): Merged documentation from classpath.
2472 (equals): Merged documentation from classpath.
2473 (exists): Merged documentation from classpath.
2474 (File): Renamed p to name to match classpath, merged documentation
2475 from classpath.
2476 (getAbsolutePath): Merged documentation from classpath.
2477 (getCanonicalPath): Merged documentation from classpath.
2478 (getCanonicalFile): Merged documentation from classpath.
2479 (getName): Merged documentation from classpath.
2480 (getParent): Merged documentation from classpath.
2481 (getParentFile): Merged documentation from classpath.
2482 (getPath): Merged documentation from classpath.
2483 (hashCode): Merged documentation from classpath.
2484 (isAbsolute): Merged documentation from classpath.
2485 (isDirectory): Merged documentation from classpath.
2486 (isFile): Merged documentation from classpath.
2487 (isHidden): Merged documentation from classpath.
2488 (lastModified): Merged documentation from classpath.
2489 (length): Merged documentation from classpath.
2490 (list): Merged documentation from classpath.
2491 (listFiles): Merged documentation from classpath.
2492 (toString): Merged documentation from classpath.
2493 (toURL): Merged documentation from classpath.
2494 (mkdir): Merged documentation from classpath.
2495 (mkdirs): Merged documentation from classpath.
2496 (createTempFile): Merged documentation from classpath.
2497 (setReadOnly): Merged documentation from classpath.
2498 (listRoots): Merged documentation from classpath.
2499 (compareTo): Merged documentation from classpath.
2500 (renameTo): Merged documentation from classpath.
2501 (setLastModified): Merged documentation from classpath.
2502 * java/io/PrintStream.java
2503 (auto_flush): Merged documentation from classpath.
2504 (PrintStream): Merged documentation from classpath.
2505 (checkError): Merged documentation from classpath.
2506 (setError): Merged documentation from classpath.
2507 (close): Merged documentation from classpath.
2508 (flush): Merged documentation from classpath.
2509 (print): Merged documentation from classpath.
2510 (println): Merged documentation from classpath.
2511 (write): Renamed count to len to match classpath,
2512 merged documentation from classpath.
2513 * java/io/RandomAccessFile.java
2514 (readShort): Merged documentation from classpath.
2515 (readUnsignedByte): Merged documentation from classpath.
2516 (readUnsignedShort): Merged documentation from classpath.
2517 (readUTF): Merged documentation from classpath.
2518 (seek): Reformatted, merged documentation from classpath.
2519 (skipBytes): Renamed some variables to match classpath, reformatted,
2520 merged documentation from classpath.
2521 (write): Merged documentation from classpath.
2522 (writeBoolean): Merged documentation from classpath.
2523 (writeByte): Merged documentation from classpath.
2524 (writeShort): Merged documentation from classpath.
2525 (writeChar): Merged documentation from classpath.
2526 (writeInt): Merged documentation from classpath.
2527 (writeLong): Merged documentation from classpath.
2528 (writeFloat): Merged documentation from classpath.
2529 (writeDouble): Merged documentation from classpath.
2530 (writeBytes): Merged documentation from classpath.
2531 (writeChars): Merged documentation from classpath.
2532 (writeUTF): Reformatted.
2533 (getChannel): Reformatted.
2534
2535 2003-03-31 Michael Koch <konqueror@gmx.de>
2536
2537 * java/awt/font/TextAttribute.java
2538 (readResolve): Throws java.io.InvalidObjectException.
2539
2540 2003-03-31 Michael Koch <konqueror@gmx.de>
2541
2542 * java/rmi/server/LoaderHandler.java
2543 (loadClass): Deprecated.
2544 (getSecurityContext): Deprecated.
2545 * java/rmi/server/LogStream.java
2546 (getDefaultStream): Deprecated.
2547 (setDefaultStream): Deprecated.
2548 (getOutputStream): Deprecated.
2549 (setOutputStream): Deprecated.
2550 (write): Deprecated.
2551 (toString): Deprecated.
2552 (parseLevel): Deprecated.
2553 * java/rmi/server/Operation.java
2554 (Operation): Deprecated.
2555 (getOperation): Deprecated.
2556 (toString): Deprecated.
2557 * java/rmi/server/RemoteCall.java
2558 (getOutputStream): Deprecated.
2559 (releaseOutputStream): Deprecated.
2560 (getInputStream): Deprecated.
2561 (releaseInputStream): Deprecated.
2562 (getResultStream): Deprecated.
2563 (executeCall): Deprecated.
2564 (done): Deprecated.
2565 * java/rmi/server/RemoteRef.java
2566 (invoke): Deprecated.
2567 (newCall): Deprecated.
2568 (done): Deprecated.
2569 * java/rmi/server/RemoteStub.java
2570 (setRef): Deprecated.
2571 * java/rmi/server/Skeleton.java:
2572 No need to import java.lang.Exception explicitly.
2573 (dispatch): Deprecated.
2574 (getOperations): Deprecated.
2575
2576 2003-03-31 Michael Koch <konqueror@gmx.de>
2577
2578 * java/rmi/dgc/VMID.java,
2579 java/rmi/registry/RegistryHandler.java,
2580 java/rmi/server/LogStream.java,
2581 java/rmi/server/Operation.java,
2582 java/rmi/server/RemoteCall.java,
2583 java/rmi/server/RemoteRef.java,
2584 java/rmi/server/RemoteStub.java:
2585 Reformatted.
2586
2587 2003-03-31 Michael Koch <konqueror@gmx.de>
2588
2589 * javax/swing/AbstractCellEditor.java,
2590 javax/swing/AbstractListModel.java,
2591 javax/swing/ActionMap.java,
2592 javax/swing/BorderFactory.java,
2593 javax/swing/ButtonGroup.java,
2594 javax/swing/DefaultBoundedRangeModel.java,
2595 javax/swing/DefaultButtonModel.java,
2596 javax/swing/DefaultCellEditor.java,
2597 javax/swing/DefaultComboBoxModel.java,
2598 javax/swing/DefaultDesktopManager.java,
2599 javax/swing/DefaultListCellRenderer.java,
2600 javax/swing/DefaultSingleSelectionModel.java,
2601 javax/swing/InputMap.java,
2602 javax/swing/JComponent.java,
2603 javax/swing/JMenu.java,
2604 javax/swing/JSlider.java,
2605 javax/swing/KeyStroke.java,
2606 javax/swing/OverlayLayout.java,
2607 javax/swing/ScrollPaneLayout.java,
2608 javax/swing/SizeRequirements.java,
2609 javax/swing/UIManager.java,
2610 javax/swing/ViewportLayout.java,
2611 javax/swing/border/AbstractBorder.java,
2612 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2613 javax/swing/event/EventListenerList.java,
2614 javax/swing/table/AbstractTableModel.java,
2615 javax/swing/table/DefaultTableCellRenderer.java,
2616 javax/swing/table/DefaultTableColumnModel.java,
2617 javax/swing/table/DefaultTableModel.java,
2618 javax/swing/table/TableColumn.java,
2619 javax/swing/text/StyledEditorKit.java,
2620 javax/swing/tree/DefaultMutableTreeNode.java,
2621 javax/swing/tree/DefaultTreeModel.java,
2622 javax/swing/tree/DefaultTreeSelectionModel.java,
2623 javax/swing/tree/TreePath.java,
2624 javax/swing/undo/AbstractUndoableEdit.java,
2625 javax/swing/undo/StateEdit.java,
2626 javax/swing/undo/StateEditable.java,
2627 javax/swing/undo/UndoableEditSupport.java:
2628 Merges from classpath.
2629
2630 2003-03-30 Tom Tromey <tromey@redhat.com>
2631
2632 * java/lang/String.java (data, boffset, count): Documented.
2633 (String(byte[],String)): Reformatted.
2634 (String(byte[])): Likewise.
2635 (lastIndexOf(int)): Likewise.
2636 (lastIndexOf(String)): Likewise.
2637 (substring(int)): Renamed argument to match Classpath.
2638 (String(StringBuffer)): Don't share buffer if it is nearly empty.
2639
2640 * java/lang/String.java: Miscellaneous minor formatting changes
2641 to match Classpath more closely.
2642
2643 2003-03-29 Eric Blake <ebb9@email.byu.edu>
2644 Tom Tromey <tromey@redhat.com>
2645
2646 * java/lang/natString.cc (hashCode): Use cachedHashCode.
2647 (init()): Removed.
2648 (charAt): Put index in exception.
2649 (contentEquals): New method.
2650 Include StringBuffer.h.
2651 * java/lang/String.java (cachedHashCode): New field.
2652 (String()): Follow classpath implementation.
2653 (init()): Removed.
2654 (contentEquals): Declare.
2655 (subSequence): Don't declare IndexOutIfBoundsException in throws
2656 clause.
2657 (matches, replaceFirst, replaceAll, split): New methods from
2658 Classpath.
2659
2660 2003-03-29 Tom Tromey <tromey@redhat.com>
2661
2662 * java/lang/String.java: Reordered to follow Classpath; merged in
2663 javadoc.
2664
2665 * java/text/MessageFormat.java: Removed some whitespace.
2666
2667 * Makefile.in: Rebuilt.
2668 * Makefile.am (awt_java_source_files): Added new files.
2669 * gnu/javax/rmi/PortableServer.java,
2670 gnu/javax/rmi/CORBA/DelegateFactory.java,
2671 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2672 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2673 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2674 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2675 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2676 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2677 javax/rmi/PortableRemoteObject.java,
2678 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2679 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2680 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2681 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2682 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2683 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2684
2685 * java/lang/natClass.cc (newInstance): Put method name in
2686 exception.
2687 (getConstructor): Likewise.
2688 (getDeclaredConstructor): Likewise.
2689 (getPrivateMethod): Likewise.
2690
2691 2003-03-28 Tom Tromey <tromey@redhat.com>
2692
2693 * java/lang/reflect/Proxy.java: New version from Classpath.
2694 * java/lang/Package.java: New version from Classpath.
2695
2696 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
2697
2698 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2699 * configure: Regenerate.
2700
2701 2003-03-28 Michael Koch <konqueror@gmx.de>
2702
2703 * java/io/File.java:
2704 Import needed classes instead of whole packages, merged class
2705 documentation with classpath, moved constants and variables to top of
2706 class.
2707 * java/io/PrintStream.java:
2708 Merged class documentation with classpath, moved constants and
2709 variables to top of class.
2710 * java/io/RandomAccessFile.java
2711 (RandomAccessFile): Merged with classpath.
2712 (read): Merged with classpath).
2713 (read*): Reformatted.
2714
2715 2003-03-28 Michael Koch <konqueror@gmx.de>
2716
2717 * java/io/FileDescriptor.java
2718 (finalize): Throws Throwable, not IOException.
2719 * java/io/ObjectOutputStream.java
2720 (PutField.put): Doesnt throws anything.
2721
2722 2003­03-28 Michael Koch <konqueror@gmx.de>
2723
2724 * java/io/FileOutputStream.java:
2725 Merged class documentation and authors with classpath.
2726 (FileOutputStream): Partly merged with classpath.
2727 (write): Merged with classpath.
2728 (getChannel): Make it synchronized instead of explicit block in this
2729 method.
2730 * java/io/RandomAccessFile.java:
2731 Merged class documentation and authors with classpath.
2732
2733 2003-03-26 Tom Tromey <tromey@redhat.com>
2734
2735 * java/lang/natRuntime.cc (insertSystemProperties): Set
2736 gnu.classpath.home.url.
2737 * Makefile.in: Rebuilt.
2738 * Makefile.am: Define LIBDIR.
2739
2740 2003-03-25 Michael Koch <konqueror@gmx.de>
2741
2742 * java/io/FileInputStream.java
2743 (read): Renamed b to buf and off to offset.
2744 * java/io/FileOutputStream.java
2745 (ch): Documentation added.
2746 (FileOutputStream): Documentation added.
2747 (getFD): Documentation added.
2748 (write): Documentation added.
2749 (close): Documentation added.
2750 (getChannel): Documentation added.
2751
2752 2003-03-24 Michael Koch <konqueror@gmx.de>
2753
2754 * java/io/DataOutputStream.java
2755 (write): Merged from classpath.
2756 * java/io/File.java:
2757 Merged copyrigth with classpath.
2758 * java/io/FileInputStream.java
2759 (getChannel): Made it synchronized instead of using a synchronized
2760 block.
2761 * java/io/FileOutputStream.java: Reformatted.
2762 * java/io/InputStreamReader.java
2763 (InputStreamReader): Renamed enc to encoding_name.
2764 (close): Merged documentation from classpath.
2765 (getEncoding): Merged documentation from classpath.
2766 (ready): Merged documentation from classpath.
2767 (read): Merged documentation from classpath.
2768 * java/io/LineNumberReader.java
2769 (lineNumber): Made it private.
2770 (LineNumberReader): Use Constant instead of a direct value.
2771 * java/io/OutputStreamWriter.java
2772 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2773 documentation from classpath.
2774 (close): Merged documentation from classpath.
2775 (flush): Merged documentation from classpath.
2776 (write): Merged documentation from classpath.
2777 * java/io/PrintStream.java: Reformatted.
2778
2779 2003-03-24 Michael Koch <konqueror@gmx.de>
2780
2781 * javax/swing/text/ComponentView.java
2782 (getComponent): Must be final.
2783 * javax/swing/tree/DefaultTreeCellRenderer.java:
2784 Reformatted.
2785 * javax/swing/undo/StateEditable.java:
2786 Reformatted.
2787
2788 2003-03-24 Michael Koch <konqueror@gmx.de>
2789
2790 * java/rmi/activation/ActivationInstantiator.java:
2791 Reformatted.
2792 * java/rmi/activation/Activator.java:
2793 Reformatted.
2794 * java/rmi/registry/RegistryHandler.java:
2795 Remerged from classpath.
2796
2797 2003-03-24 Michael Koch <konqueror@gmx.de>
2798
2799 * java/util/Date.java:
2800 Fixed documentation starting tag to make javadoc happy.
2801 * java/util/regex/Pattern.java
2802 (Pattern): Implements Serializable.
2803 * java/util/PatternSyntaxException.java
2804 (serialVersionUID): New member variable.
2805
2806 2003-03-24 Michael Koch <koqnueror@gmx.de>
2807
2808 * java/awt/ContainerOrderFocusTraversalPolicy.java
2809 (getFirstComponent): Implemented.
2810 (getLastComponent): Implemented.
2811 (getDefaultComponent): Implemented.
2812 (setImplicitDownCycleTraversal): Fixed implementation.
2813 * java/awt/Robot.java
2814 (Robot): Added documentation.
2815 * java/awt/Toolkit.java
2816 (getFontList): Deprecated.
2817 (getFontMetrics): Deprecated.
2818 (getPrintJob): Added documentation.
2819 (getSystemSelection): Added documentation.
2820 (getLockingKeyState): Added documentation.
2821 (setLockingKeyState): Added documentation.
2822 (createCustomCursor): Added documentation.
2823 (getBestCursorSize): Added documentation.
2824 (getMaximumCursorColors): Added documentation.
2825 (isFrameStateSupported): Added documentation.
2826
2827 2003-03-24 Michael Koch <konqueror@gmx.de>
2828
2829 * java/io/RandomAccessFile.java:
2830 More little merges with classpath. No code changes.
2831
2832 2003-03-24 Michael Koch <konqueror@gmx.de>
2833
2834 * java/net/natInetAddressNoNet.cc:
2835 Include stddef.h.
2836 * java/net/natPlainDatagramSocketImplNoNet.cc:
2837 Fixed inlcude of java/net/DatagramPacket.h.
2838 * java/net/natPlainSocketImplNoNet.cc:
2839 Include some missing classes.
2840
2841 2003-03-24 Michael Koch <konqueror@gmx.de>
2842
2843 * java/awt/dnd/DropTarget.java
2844 (DropTargetAutoScroller): According to the online documentation, this
2845 is protected, but in reality it is public.
2846 * java/awt/dnd/DropTargetContext.java
2847 (TransferableProxy): According to the online documentation, this
2848 is protected, but in reality it is public.
2849
2850 2003-03-24 Michael Koch <konqueror@gmx.de>
2851
2852 * java/io/DataInputStream.java
2853 (): Wrapped documentation line.
2854 (): Fixed @return tag.
2855 * java/io/DataOutputStream.java
2856 (written): Moved to top of class.
2857 (all methods): Merged documentation from classpath.
2858 * java/io/File.java:
2859 Merged copyright year with classpath.
2860 * java/io/FileInputStream.java
2861 (all methods): Merged documentation from classpath.
2862 * java/io/LineNumberReader.java
2863 (getLineNumber): Fixed @return tag.
2864 * java/io/ObjectInputStream.java.
2865 Reformatted.
2866 * java/io/ObjectOutputStream.java:
2867 Reformatted, fixed some @see tags.
2868 * java/io/OutputStreamWriter.java:
2869 Deleted empty line.
2870 * java/io/Writer.java:
2871 Reformatted.
2872
2873 2003-03-24 Michael Koch <konqueror@gmx.de>
2874
2875 * java/awt/Frame.java
2876 (DEFAULT_CURSOR): Fixed @deprecated tag.
2877 (setCursor): Fixed @deprecated tag.
2878
2879 2003-03-24 Michael Koch <konqueror@gmx.de>
2880
2881 * java/beans/beancontext/BeanContextEvent.java:
2882 Reformated.
2883
2884 2003-03-23 Eric Blake <ebb9@email.byu.edu>
2885
2886 * java/lang/natStringBuffer.cc (regionMatches): New function.
2887 * java/lang/String.java (count): Now package-private.
2888 * java/lang/StringBuffer.java: Merged with Classpath.
2889
2890 2003-03-23 Michael Koch <konqueror@gmx.de>
2891
2892 * java/io/BufferedOutputStream.java:
2893 Reformated.
2894 * java/io/BufferedReader.java:
2895 Reformated.
2896 * java/io/ByteArrayOutputStream.java
2897 (size): Fixed @see tag.
2898 * java/io/CharArrayWriter.java
2899 (size): Fixed @see tag.
2900 * java/io/DataInput.java:
2901 Reformated.
2902 * java/io/DataOutput.java:
2903 Reformated.
2904 * java/io/DataOutputStream.java:
2905 Merged copyright years with classpath.
2906 * java/io/Externalizable.java:
2907 Reformated.
2908 * java/io/FileFilter.java:
2909 Reformated.
2910 * java/io/FileInputStream.java:
2911 Merged copyright years with classpath.
2912 * java/io/FileOutputStream.java:
2913 Merged copyright years with classpath.
2914 * java/io/FilePermission.java
2915 (FilePermission): Replaced @XXX with FIXME:.
2916 * java/io/FileWriter.java:
2917 Reformated.
2918 * java/io/FilenameFilter.java:
2919 Reformated.
2920 * java/io/FilterInputStream.java:
2921 Reformated.
2922 * java/io/FilterOutputStream.java:
2923 Reformated.
2924 * java/io/FilterReader.java:
2925 Reformated.
2926 * java/io/FilterWriter.java:
2927 Reformated.
2928 * java/io/LineNumberInputStream.java
2929 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2930 happy.
2931 (getLineNumber): Fixed @return tag.
2932 * java/io/ObjectInput.java:
2933 Reformated.
2934 * java/io/ObjectOutput.java:
2935 Reformated.
2936 * java/io/ObjectStreamClass.java:
2937 Reformated.
2938 * java/io/PrintStream.java:
2939 Merged copyright years with classpath.
2940 * java/io/PushbackReader.java
2941 (PushbackReader): Replaced @code with @param.
2942 * java/io/SerializablePermission.java:
2943 Reformated.
2944 * java/io/StreamTokenizer.java
2945 (resetSyntax): Fixed @see tag.
2946
2947 2003-03-22 Richard Henderson <rth@redhat.com>
2948
2949 * sysdep/ia64/locks.h: Include ia64intrin.h.
2950 (compare_and_swap): Use __sync_bool_compare_and_swap.
2951 (compare_and_swap_release): Expose ar.ccv assignment.
2952
2953 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
2954
2955 * include/posix.h: Add suffix for darwin dynamic libraries.
2956
2957 2003-03-21 Michael Koch <konqueror@gmx.de>
2958
2959 * javax/swing/Action.java
2960 (ACCELERATOR_KEY): New constant.
2961 (ACTION_COMMAND_KEY): Likewise.
2962 (MNEMONIC_KEY): Likewise.
2963 * javax/swing/UnsupportedLookAndFeelException.java
2964 (UnsupportedLookAndFeelException): Must be public.
2965 * javax/swing/WindowConstants.java
2966 (EXIT_ON_CLOSE): New constant.
2967 * javax/swing/text/BadLocationException.java
2968 (offset): New member variable.
2969 (BadLocationException): New implementation, documentation added.
2970 (offsetRequested): New method.
2971 * javax/swing/text/Caret.java:
2972 Reformated.
2973 * javax/swing/text/Document.java:
2974 Reformated.
2975
2976 2003-03-21 Michael Koch <konqueror@gmx.de>
2977
2978 * java/rmi/activation/Activatable.java
2979 (serialVersionUID): New member variable.
2980 * java/rmi/activation/ActivationGroup.java
2981 (serialVersionUID): New member variable.
2982 * java/rmi/activation/ActivationGroupDesc.java
2983 (serialVersionUID): New member variable.
2984 * java/rmi/registry/Registry.java:
2985 Reformated.
2986 (Registry): Deprecated.
2987 * java/rmi/server/LoaderHandler.java
2988 Reformated.
2989 (LoaderHandler): Deprecated.
2990 * java/rmi/server/LogStream.java
2991 Reformated.
2992 (LogStream): Deprecated.
2993 * java/rmi/server/Operation.java
2994 (Operation): Deprecated.
2995 * java/rmi/server/RMIFailureHandler.java:
2996 Reformated.
2997 * java/rmi/server/RMISocketFactory.java:
2998 Reformated.
2999 * java/rmi/server/RemoteCall.java
3000 (RemoteCall): Deprecated.
3001 * java/rmi/server/RemoteStub.java:
3002 Reformated.
3003 * java/rmi/server/Skeleton.java
3004 Reformated.
3005 (Skeleton): Deprecated.
3006
3007 2003-03-21 Michael Koch <konqueror@gmx.de>
3008
3009 * java/io/LineNumberReader.java
3010 (LineNumberReader): Merged documentation with classpath.
3011 (getLineNumber): Likewise.
3012 (setLineNumber): Likewise.
3013 (mark): Likewise.
3014 (reset): Likewise.
3015 (read): Likewise.
3016 (readLine): Likewise.
3017 (skip): Likewise.
3018
3019 2003-03-21 Michael Koch <konqueror@gmx.de>
3020
3021 * java/rmi/RMISecurityManager.java
3022 (checkAccept): Removed.
3023 (checkAccess): Likewise.
3024 (checkAccess): Likewise.
3025 (checkAwtEventQueueAccess): Likewise.
3026 (checkConnect): Likewise.
3027 (checkCreateClassLoader): Likewise.
3028 (checkDelete): Likewise.
3029 (checkExec): Likewise.
3030 (checkExit): Likewise.
3031 (checkLink): Likewise.
3032 (checkListen): Likewise.
3033 (checkMemberAccess): Likewise.
3034 (checkMulticast): Likewise.
3035 (checkPackageAccess): Likewise.
3036 (checkPackageDefinition): Likewise.
3037 (checkPermission): Likewise.
3038 (checkPrintJobAccess): Likewise.
3039 (checkPropertiesAccess): Likewise.
3040 (checkPropertyAccess): Likewise.
3041 (checkRead): Likewise.
3042 (checkSecurityAccess): Likewise.
3043 (checkSetFactory): Likewise.
3044 (checkSystemClipboardAccess): Likewise.
3045 (checkTopLevelWindow): Likewise.
3046 (checkWrite): Likewise.
3047
3048 2003-03-20 Michael Koch <konqueror@gmx.de>
3049
3050 * gnu/java/nio/FileChannelImpl.java
3051 (address): Removed.
3052 (map_address): New member variable.
3053 (length): Make it package private.
3054 (fd): Make it package private.
3055 (buf): Make it package private.
3056 (file_obj): Make it package private.
3057 (FileChannelImpl): New constructor.
3058 (nio_mmap_file): Use RawData instead of long.
3059 (nio_munmap_file): Use RawData instead of long.
3060 (nio_msync): Use RawData instead of long.
3061 (implCloseChannel): New implementation using map_address.
3062 (read): Reformated.
3063 (map): Implemented.
3064 (create_direct_mapped_buffer): Implemented, use RawData, throws
3065 IOException.
3066 (force): Use map_address instead of address.
3067 * gnu/java/nio/MappedByteFileBuffer.java
3068 (address): Removed.
3069 (map_address): New member variable.
3070 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3071 (several methods): Use map_address instead of address, replaced long
3072 with RawData where appropriate.
3073 * gnu/java/nio/natFileChannelImpl.cc
3074 (nio_mmap_file): Replaced long with RawData.
3075 (nio_munmap_file): Replaced long with RawData.
3076 (nio_msync): Replaced long with RawData.
3077 * gnu/java/nio/natMappedByteFileBuffer.cc
3078 (several methods): Replaced long with RawData where appropriate.
3079
3080 2003-03-20 Michael Koch <konqueror@gmx.de>
3081
3082 * java/net/InetAddress.java,
3083 java/net/JarURLConnection.java,
3084 java/net/PlainDatagramSocketImpl.java,
3085 java/net/PlainSocketImpl.java,
3086 java/net/URLConnection.java:
3087 Merged copyright statements with classpath for easier merging.
3088
3089 2003-03-20 Michael Koch <konqueror@gmx.de>
3090
3091 * java/io/FileInputStream.java
3092 (getChannel): New implementation.
3093 * java/io/FileOutputStream.java
3094 (ch): New member variable.
3095 (getChannel): Implemented.
3096 * java/io/RandomAccessFile.java
3097 (RandomAccessFile): Throws FileNotFoundException instead of
3098 IOException.
3099 (getChannel): New method.
3100 (ch): New member variable.
3101
3102 2003-03-20 Michael Koch <konqueror@gmx.de>
3103
3104 * java/io/DataOutputStream.java,
3105 java/io/File.java,
3106 java/io/FileInputStream.java,
3107 java/io/FileOutputStream.java,
3108 java/io/InputStreamReader.java,
3109 java/io/LineNumberReader.java,
3110 java/io/OutputStreamWriter.java,
3111 java/io/PrintStream.java,
3112 java/io/RandomAccessFile.java:
3113 Merged copyright statements with classpath for easier merging.
3114
3115 2003-03-19 Michael Koch <konqueror@gmx.de>
3116
3117 * java/lang/Process.java:
3118 Merged from classpath.
3119
3120 2003-03-19 Michael Koch <konqueror@gmx.de>
3121
3122 * java/io/FileOutputStream.java
3123 (FileOutputStream): New constructor, merged from classpath.
3124 * java/io/FileWriter.java
3125 (FileWriter): New constructor, merged from classpath.
3126
3127 2003-03-18 Michael Koch <konqueror@gmx.de>
3128
3129 * java/awt/ScrollPane.java
3130 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3131 (getViewportSize): Likewise.
3132 (addNotify): Likewise.
3133 (removeNotify): Likewise.
3134 * java/awt/ScrollPaneAdjustable.java
3135 (ScrollPaneAdjustable): No longer extends Scrollbar.
3136 * java/beans/beancontext/BeanContextServices.java:
3137 Reformated.
3138 (getService): Added throws TooManyListenersException;
3139 * java/beans/beancontext/BeanContextServicesSupport.java:
3140 Reformated.
3141
3142 2003-03-18 Michael Koch <konqueror@gmx.de>
3143
3144 * java/io/BufferedOutputStream.java,
3145 java/io/DataInput.java,
3146 java/io/DataInputStream.java,
3147 java/io/DataOutput.java,
3148 java/io/Externalizable.java:
3149 More merges from classpath.
3150
3151 2003-03-18 Michael Koch <konqueror@gmx.de>
3152
3153 * configure.in: Fixed links to platform dependant java.net files.
3154 * configure: Regenerated.
3155 * java/net/natInetAddress.cc,
3156 java/net/natNetworkInterface.cc,
3157 java/net/natPlainDatagramSocketImpl.cc,
3158 java/net/natPlainSocketImpl.cc:
3159 Removed.
3160
3161 2003-03-18 Michael Koch <konqueror@gmx.de>
3162
3163 * configure.in: Create links to architecture dependent files,
3164 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3165 * configure: Regenerated.
3166 * java/net/natInetAddressNoNet.cc,
3167 java/net/natInetAddressPosix.cc,
3168 java/net/natInetAddressWin32.cc,
3169 java/net/natNetworkInterfaceNoNet.cc,
3170 java/net/natNetworkInterfacePosix.cc,
3171 java/net/natNetworkInterfaceWin32.cc,
3172 java/net/natPlainDatagramSocketImplNoNet.cc,
3173 java/net/natPlainDatagramSocketImplPosix.cc,
3174 java/net/natPlainDatagramSocketImplWin32.cc,
3175 java/net/natPlainSocketImplNoNet.cc,
3176 java/net/natPlainSocketImplPosix.cc,
3177 java/net/natPlainSocketImplWin32.cc: New files.
3178
3179 2003-03-18 Michael Koch <konqueror@gmx.de>
3180
3181 * java/io/BufferedReader.java,
3182 java/io/BufferedWriter.java,
3183 java/io/ByteArrayOutputStream.java,
3184 java/io/FileFilter.java,
3185 java/io/FilePermission.java,
3186 java/io/FileReader.java,
3187 java/io/FileWriter.java,
3188 java/io/FilenameFilter.java,
3189 java/io/FilterInputStream.java,
3190 java/io/FilterOutputStream.java,
3191 java/io/FilterReader.java,
3192 java/io/FilterWriter.java,
3193 java/io/ObjectInput.java,
3194 java/io/ObjectInputValidation.java,
3195 java/io/ObjectOutput.java,
3196 java/io/ObjectStreamField.java,
3197 java/io/PipedInputStream.java,
3198 java/io/PipedReader.java,
3199 java/io/PrintWriter.java,
3200 java/io/PushbackReader.java,
3201 java/io/Reader.java,
3202 java/io/SerializablePermission.java,
3203 java/io/StringReader.java,
3204 java/io/Writer.java:
3205 Merged from classpath.
3206
3207 2003-03-17 Michael Koch <konqueror@gmx.de>
3208
3209 * java/awt/ScrollPaneAdjustable.java:
3210 Compile fixes.
3211
3212 2003-03-17 Michael Koch <konqueror@gmx.de>
3213
3214 * java/net/DatagramSocket.java
3215 (connect): Fixed comment.
3216 * java/nio/ByteBuffer.java
3217 (hasArray): Fixed comment.
3218
3219 2003-03-17 Michael Koch <konqueror@gmx.de>
3220
3221 * java/beans/Beans.java:
3222 Explicitely import classes not packages.
3223 * java/beans/FeatureDescriptor.java
3224 (preferred): New member variable.
3225 (isPreferred): New method.
3226 (setPreferred): New method.
3227 * java/beans/PropertyEditorManager.java:
3228 Explicitely import used classes.
3229 * java/beans/beancontext/BeanContextChild.java:
3230 Added line wrapping.
3231 * java/beans/beancontext/BeanContextChildSupport.java:
3232 Reindented.
3233 * java/beans/beancontext/BeanContextEvent.java:
3234 Reindented.
3235
3236 2003-03-17 Michael Koch <konqueror@gmx.de>
3237
3238 * java/awt/Dialog.java
3239 (Dialog): New constructor, changed implementations, added
3240 documentation.
3241 * java/awt/ScrollPaneAdjustable.java
3242 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3243 Serializable.
3244 (serialVersionUID): New member variable.
3245 (sp): New member variable.
3246 (orientation): New member variable.
3247 (value): New member variable.
3248 (minimum): New member variable.
3249 (maximum): New member variable.
3250 (visibleAmount): New member variable.
3251 (unitIncrement): New member variable.
3252 (blockIncrement): New member variable.
3253 (AdjustmentListener): New member variable.
3254 (ScrollPaneAdjustable): New implementation.
3255 (addAdjustmentListener): New method.
3256 (removeAdjustmentListener): New method.
3257 (getAdjustmentListeners): New method.
3258 (getBlockIncrement): New method.
3259 (getMaximum): New method.
3260 (getMinimum): New method.
3261 (getOrientation): New method.
3262 (getUnitIncrement): New method.
3263 (getValue): New method.
3264 (getVisibleAmount): New method.
3265 (setBlockIncrement): New method.
3266 (setMaximum): Implemented.
3267 (setMinimum): Implemented.
3268 (setUnitIncrement): New method.
3269 (setValue): New method.
3270 (setVisibleAmount): Implemented.
3271 (paramString): New stubbed method.
3272 * java/awt/Window.java
3273 (show): Call setVisible().
3274 (hide): Call setVisible().
3275 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3276 and WINDOW_STATE_CHANGED.
3277 (processWindowFocusEvent): New method.
3278 (processWindowStateEvent): New method.
3279 (postEvent): Deprecated.
3280 (applyResourceBundle): Deprecated.
3281 * java/awt/datatransfer/DataFlavor.java
3282 (DataFlavor): Doesn't thow ClassNotFoundException.
3283
3284 2003-03-17 Michael Koch
3285
3286 * javax/print/attribute/Attribute.java,
3287 javax/print/attribute/AttributeSet.java,
3288 javax/print/attribute/PrintRequestAttributeSet.java:
3289 New files.
3290 * Makefile.am
3291 (javax_source_files): Added new files:
3292 javax/print/attribute/Attribute.java
3293 javax/print/attribute/AttributeSet.java
3294 javax/print/attribute/PrintRequestAttributeSet.java
3295 * Makefile.in: Regenerated.
3296
3297 2003-03-17 Michael Koch
3298
3299 * javax/print/attribute/Attribute.java,
3300 javax/print/attribute/AttributeSet.java,
3301 javax/print/attribute/PrintRequestAttributeSet.java:
3302 New files.
3303 * Makefile.am
3304 (awt_java_source_files): Added new files:
3305 javax/print/attribute/Attribute.java
3306 javax/print/attribute/AttributeSet.java
3307 javax/print/attribute/PrintRequestAttributeSet.java
3308 * Makefile.in: Regenerated.
3309
3310 2003-03-16 Tom Tromey <tromey@redhat.com>
3311
3312 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3313 Include platform.h.
3314 * java/lang/natRuntime.cc (insertSystemProperties): Use
3315 _Jv_platform_path_separator.
3316 (nativeGetLibname): Use _Jv_platform_file_separator.
3317 (_load): Use _Jv_platform_onload_names.
3318 (onload_names): New global.
3319 * include/win32.h (_Jv_platform_file_separator): New define.
3320 (_Jv_platform_path_separator): Likewise.
3321 (_Jv_platform_onload_names): Likewise.
3322 (_Jv_platform_ffi_abi): Likewise.
3323 * include/posix.h (_Jv_platform_file_separator): New define.
3324 (_Jv_platform_path_separator): Likewise.
3325 (_Jv_platform_onload_names): Likewise.
3326 (_Jv_platform_ffi_abi): Likewise.
3327
3328 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3329
3330 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3331
3332 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3333
3334 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3335 hierarchy loop.
3336 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3337 list to Object,ObjectStreamClass, moved callReadMethod code up into
3338 readObject and added Class argument to all setXxxField calls.
3339 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3340 consistent with ObjectOutputStream and to facilitate caching the
3341 Method in the future.
3342 (setBooleanField): Added Class argument.
3343 (setByteField): Likewise.
3344 (setCharField): Likewise.
3345 (setDoubleField): Likewise.
3346 (setFloatField): Likewise.
3347 (setIntField): Likewise.
3348 (setLongField): Likewise.
3349 (setShortField): Likewise.
3350 (setObjectField): Likewise.
3351 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3352 class hierarchy loop.
3353 (defaultWriteObject): Call writeFields with new argument list.
3354 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3355 list to Object,ObjectStreamClass, moved callWriteMethod up into
3356 writeObject and added Class argument to all getXxxField calls.
3357 (callWriteMethod): Added ObjectStreamClass argument to be able to
3358 get the proper class to call getMethod on (each class can have (or
3359 not have) its own writeObject method).
3360 (getBooleanField): Added Class argument.
3361 (getByteField): Likewise.
3362 (getCharField): Likewise.
3363 (getDoubleField): Likewise.
3364 (getFloatField): Likewise.
3365 (getIntField): Likewise.
3366 (getLongField): Likewise.
3367 (getShortField): Likewise.
3368 (getObjectField): Likewise.
3369 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3370 facilitate caching the Method object in the future.
3371
3372 2003-03-12 Andreas Schwab <schwab@suse.de>
3373
3374 * configure.in: Avoid trailing /. in toolexeclibdir.
3375 * configure: Rebuilt.
3376
3377 2003-03-11 Michael Koch <konqueror@gmx.de>
3378
3379 * gnu/java/nio/ByteBufferImpl.java
3380 (putInt): Use limit() instead of limit.
3381 * gnu/java/nio/CharBufferImpl.java
3382 (slice): Fixed implementation.
3383 (subSequence): Better bounds checking.
3384 * gnu/java/nio/MappedByteFileBuffer.java:
3385 Import all needed classes directly.
3386 * java/nio/ByteBuffer.java
3387 (hashCode): New dummy method.
3388 * java/nio/CharBuffer.java
3389 (array_offset): New member variable.
3390 (hasArray): Fixed documentation.
3391 (arrayOffset): Return array_offset.
3392
3393 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3394
3395 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3396 setter; made return value of getter const char* instead of char*
3397 * prims.cc: removed all references to _Jv_ThisExecutable().
3398 These are in the platform-specific sections now.
3399 * posix.cc: define platform-specific _Jv_ThisExecutable().
3400 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3401 * win32.cc: define platform-specific _Jv_ThisExecutable()
3402 using GetModuleFilename()
3403 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3404 to argv[0] instead of _Jv_ThisExecutable()
3405
3406 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3407
3408 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3409 that is set if we are using addr2name.awk instead of addr2line.
3410 (NameFinder): Set usingAddr2name if using addr2name.awk.
3411 (getExternalLabel): New native method to convert a method
3412 name to an external label.
3413 (lookup): Convert name given by addr2line to an external label
3414 before demangling.
3415
3416 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3417 constant representing the prefix attached to method names to
3418 convert them to an external label.
3419 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3420 using LABEL_PREFIX.
3421
3422 2003-03-10 Tom Tromey <tromey@redhat.com>
3423
3424 * Makefile.in: Rebuilt.
3425 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3426 (JC1FLAGS): Removed -Wno-deprecated.
3427
3428 2003-03-10 Michael Koch <konqueror@gmx.de>
3429
3430 * java/nio/ByteOrder.java
3431 (nativeOrder): Working implementation, added documentation.
3432 (toString): Added documentation.
3433
3434 2003-03-10 Michael Koch <konqueror@gmx.de>
3435
3436 * java/net/DatagramSocket.java,
3437 java/net/MulticastSocket.java,
3438 java/net/Socket.java,
3439 java/net/URL.java,
3440 java/net/URLConnection.java:
3441 Fixed some documentation tags to make javadoc and friends happy.
3442
3443 2003-03-10 Michael Koch <koqnueror@gmx.de>
3444
3445 * java/beans/beancontext/BeanContextServicesSupport.java,
3446 java/beans/beancontext/BeanContextSupport.java: New files.
3447 * Makefile.am
3448 (awt_source_files): Added new files.
3449 * Makefile.in: Regenerated.
3450
3451 2003-03-10 Michael Koch <konqueror@gmx.de>
3452
3453 * java/awt/FocusTraversalPolicy.java
3454 (FocusTraversalPolicy): Documentation added.
3455 (getComponentAfter): Documentation added.
3456 (getComponentBefore): Documentation added.
3457 (getFirstComponent): Documentation added.
3458 (getLastComponent): Documentation added.
3459 (getDefaultComponent): Documentation added.
3460 (getInitialComponent): Documentation added.
3461 * java/awt/ScrollPaneAdjustable.java
3462 (sp): New member variable.
3463 (orientation): New member variable.
3464 (value): New member variable.
3465 (minimum): New member variable.
3466 (maximum): New member variable.
3467 (visibleAmount): New member variable.
3468 (unitIncrement): New member variable.
3469 (blockIncrement): New member variable.
3470 (adjustmentListener): New member variable.
3471 (ScrollPaneAdjustable): Rewrote.
3472 (addAdjustmentListener): New method.
3473 (removeAdjustmentListener): New method.
3474 (getAdjustmentListeners): New method.
3475 (getBlockIncrement): New method.
3476 (getMaximum): New method.
3477 (getMinimum): New method.
3478 (getOrientation): New method.
3479 (getUnitIncrement): New method.
3480 (getValue): New method.
3481 (getVisibleAmount): New method.
3482 (setBlockIncrement): New method.
3483 (setUnitIncrement): New method.
3484 (setMaximum): Implemented.
3485 (setMinimum): Implemented.
3486 (setValue): New method.
3487 (setVisibleAmount): Implemented.
3488 (paramString): New method.
3489 * java/awt/Window.java
3490 (show): Use setVisible(true) instead of super.show().
3491 (hide): Use sevVisible(false) instead of super.hide().
3492 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3493 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3494 (postEvent): Deprecated.
3495 (applyResourceBundle): Deprecated.
3496 (processWindowFocusEvent): New method.
3497 (processWindowStateEvent): New method.
3498 * java/awt/datatransfer/DataFlavor.java: Reindented.
3499 * java/awt/font/TextHitInfo.java
3500 (charIndex): New member variable.
3501 (leadingEdge): New member variable.
3502 (TextHitInfo): New constructor.
3503 (getCharIndex): Implemented.
3504 (isLeadingEdge): Implemented.
3505 (getInsertionIndex): Implemented.
3506 (hashCode): Access charIndex directly.
3507 (equals): Reformated.
3508 (leading): Implemented.
3509 (trailing): Implemented.
3510 (beforeOffset): Implemented.
3511 (afterOffset): Implemented.
3512 (getOtherHit): Implemented.
3513 (getOffsetHit): Implemented.
3514 (toString): Implemented.
3515 * java/awt/image/BufferedImage.java
3516 (BufferedImage): Implements WritableRenderedImage.
3517 (observers): New member variable.
3518 (addTileObserver): New method.
3519 (removeTileObserver): New method.
3520
3521 2003-03-09 Tom Tromey <tromey@redhat.com>
3522
3523 PR libgcj/9934:
3524 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3525 to lseek. Return 0 if we can't compute the value.
3526
3527 2003-03-03 Michael Koch <konqueror@gmx.de>
3528
3529 * java/net/NetworkInterface.java: Merged with classpath.
3530
3531 2003-03-03 Tom Tromey <tromey@redhat.com>
3532
3533 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3534 of bytecode.
3535 (handle_ret_insn): Fail if returning to jsr that appears at end of
3536 bytecode.
3537
3538 2003-03-03 Michael Koch <konqueror@gmx.de>
3539
3540 * Makefile.am
3541 (ordinary_java_source_files):
3542 Added gnu/java/nio/MappedByteFileBuffer.java.
3543 (nat_source_files):
3544 Added gnu/java/nio/natMappedByteFileBuffer.cc.
3545 * Makefile.in: Regenerated.
3546
3547 2003-03-03 Michael Koch <konqueror@gmx.de>
3548
3549 * java/net/DatagramSocket.java
3550 (connect): Merged comment from classpath.
3551 (receive): Merged documentation from classpath.
3552 * java/net/Socket.java
3553 (setSoTimeout): Clarified documentation.
3554 * java/net/URL.java
3555 (getPath): Merged from classpath.
3556 (getUserInfo): Merged from classpath.
3557 (getQuery): Merged from classpath.
3558 * java/net/URLStreamHandler.java
3559 (toExternalForm): Merged from classpath.
3560
3561 2003-03-02 Mark Wielaard <mark@klomp.org>
3562
3563 * java/util/Properties.java (load): Only skip line if the first
3564 character is a comment, whitespaces don't count.
3565
3566 2003-03-02 Michael Koch <konqueror@gmx.de>
3567
3568 * java/net/NetPermission.java:
3569 Merged copyright with classpath.
3570
3571 2003-03-02 Michael Koch <konqueror@gmx.de>
3572
3573 * java/lang/Package.java:
3574 Remerged from classpath.
3575
3576 2003-03-02 Michael Koch <konqueror@gmx.de>
3577
3578 * java/net/HttpURLConnection.java
3579 (HTTP_SERVER_ERROR): Deprecated.
3580 * java/net/MulticastSocket.java
3581 (send): Replaced checkMulticast with appropriate checkPermission call,
3582 deprecated.
3583 * java/net/URLDecoder.java
3584 (decode): Deprecated.
3585 * java/net/URLEncoder.java
3586 (encode): Deprecated.
3587
3588 2003-03-02 Michael Koch <konqueror@gmx.de>
3589
3590 * javax/swing/text/Caret.java
3591 (getMagicCaretPosition): Fixed typo in method name.
3592 * javax/swing/text/DefaultCaret.java
3593 (getMagicCaretPosition): Fixed typo in method name.
3594
3595 2003-03-02 Michael Koch <konqueror@gmx.de>
3596
3597 * java/awt/List.java
3598 (setMultipleSelections): Deprecated.
3599 (delItem): Deprecated.
3600 * java/awt/MenuComponent.java
3601 (getPeer): Deprecated.
3602 * java/awt/ScrollPane.java
3603 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3604 * java/awt/dnd/MouseDragGestureRecognizer.java
3605 (mouseClicked): Added comment.
3606 (mousePressed): Added comment.
3607 (mouseReleased): Added comment.
3608 (mouseEntered): Added comment.
3609 (mouseExited): Added comment.
3610 (mouseDragged): Added comment.
3611 (mouseMoved): Added comment.
3612 * java/awt/event/KeyEvent.java
3613 (KeyEvent): Deprecated.
3614 (setModifiers): Deprecated.
3615
3616 2003-03-02 Michael Koch <konqueror@gmx.de>
3617
3618 * gnu/java/nio/FileChannelImpl.java
3619 (fd): Type FileDescriptor instead of int.
3620 (lengthInternal): Removed.
3621 (FileChannelImpl): Fixed arguments, check type of file object.
3622 (size): Made it native.
3623 (implPosition): New native method.
3624 (implTruncate): New native method.
3625 (position): Implemented.
3626 (truncate): Implemented.
3627 (nio_mmap_file): Changed arguments.
3628 (nio_munmap_file): Changed arguments.
3629 (nio_msync): Changed arguments.
3630 * gnu/java/nio/natFileChannelImpl.cc
3631 (lengthInternal): Removed.
3632 (size): New method.
3633 (implPosition): New method.
3634 (implTruncate): New method.
3635 (nio_mmap_file): Changed arguments.
3636 (nio_munmap_file): Changed arguments.
3637 (nio_msync): Changed arguments.
3638
3639 2003-03-02 Michael Koch <konqueror@gmx.de>
3640
3641 * java/awt/dnd/DropTargetContext.java:
3642 Compile fix: Forgot to commit import.
3643
3644 2003-03-02 Michael Koch <konqueror@gmx.de>
3645
3646 * java/awt/Component.java,
3647 java/awt/ScrollPane.java:
3648 Fixed typos.
3649
3650 2003-03-02 Michael Koch <konqueror@gmx.de>
3651
3652 * java/awt/dnd/DnDEventMulticaster.java: New file.
3653 * java/awt/dnd/DragSource.java
3654 (flavorMap): New member variable.
3655 (dragSourceListener): New member variable.
3656 (dragSourceMotionListener): New member variable.
3657 (getFlavorMap): Implemented.
3658 (createDragGestureRecognizer): Implemented.
3659 (addDragSourceListener): Implemented.
3660 (removeDragSourceListener): Implemented.
3661 (getDragSourceListeners): Implemented.
3662 (addDragSourceMotionListener): Implemented.
3663 (removeDragSourceMotionListener): Implemented.
3664 (getDragSourceMotionListeners): Implemented.
3665 (getListeners): Implemented.
3666 * java/awt/dnd/DragSourceContext.java
3667 (peer): New member variable.
3668 (cursor): New member variable.
3669 (transferable): New member variable.
3670 (trigger): New member variable.
3671 (dragSourceListener): New member variable.
3672 (image): New member variable.
3673 (offset): New member variable.
3674 (DragSourceContext): Implemented.
3675 (getDragSource): Implemented.
3676 (getComponent): Implemented.
3677 (getTrigger): Implemented.
3678 (getSourceActions): Implemented.
3679 (setCursor): Implemented.
3680 (getCursor): Implemented.
3681 (addDragSourceListener): Implemented.
3682 (removeDragSourceListener): Implemented.
3683 (getTransferable): Implemented.
3684 * java/awt/dnd/DropTarget.java
3685 (DropTargetAutoScroller.component): New member variable.
3686 (DropTargetAutoScroller.point): New member variable.
3687 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3688 (DropTargetAutoScroller.updateLocation): Implemented.
3689 (active): Renamed from isActive, defaults to true now.
3690 (component): New member variable.
3691 (flavorMap): New member variable.
3692 (actions): New member variable.
3693 (dropTargetContext): New member variable.
3694 (dropTargetListener): New member variable.
3695 (DropTarget): Implemented.
3696 (getComponent): Implemented.
3697 (setComponent): Implemented.
3698 (setDefaultActions): Implemented.
3699 (getDefaultActions): Implemented.
3700 (setActive): Use active instead of isActive.
3701 (isActive): Use active instead of isActive.
3702 (addDropTargetListener): Implemented.
3703 (removeDropTargetListener): Implemented.
3704 (getFlavorMap): Implemented.
3705 (setFlavorMap): Implemented.
3706 (getDropTargetContext): Implemented.
3707 (createDropTargetContext): Implemented.
3708 (createDropTargetAutoScroller): Implemented.
3709 * java/awt/dnd/DropTargetContext.java
3710 (TransferableProxy.getTransferDataFlavors): Implemented.
3711 (TransferableProxy.isDataFlavorSupported): Implemented.
3712 (TransferableProxy.getTransferData): Implemented.
3713 (dropTarget): New member variable.
3714 (dtcp): New member variable.
3715 (DropTargetContext): New package private constructor.
3716 (getDropTarget): Implemented.
3717 (getComponent): Implemented.
3718 (addNotify): Implemented.
3719 (removeNotify): Implemented.
3720 (getCurrentDataFlavorsAsList): Implemented.
3721 (isDataFlavorSupported): Implemented.
3722 * java/awt/dnd/MouseDragGestureRecognizer.java
3723 (registerListeners): Implemented.
3724 (unregisterListeners): Implemented.
3725 * Makefile.am
3726 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3727 * Makefile.in: Regenerated.
3728
3729 2003-03-02 Michael Koch <konqueror@gmx.de>
3730
3731 * java/awt/Component.java
3732 (eventTypeEnabled): New method.
3733 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3734 * java/awt/Container.java
3735 (changeSupport): New member variable.
3736 (addPropertyChangeListener): New methods.
3737 * java/awt/ContainerOrderFocusTraversalPolicy.java
3738 (ContainerOrderFocusTraversalPolicy): Added comment.
3739 (getComponentAfter): Throw exception, documentation added.
3740 (getComponentBefore): Throw exception, documentation added.
3741 (getFirstComponent): Throw exception, documentation added.
3742 (getLastComponent): Throw exception, documentation added.
3743 (getDefaultComponent): Throw exception, documentation added.
3744 * java/awt/EventQueue.java: Reindented.
3745 * java/awt/FocusTraversalPolicy.java:
3746 (FocusTraversalPolicy): Added comment.
3747 (getComponentAfter): Documentation added.
3748 (getComponentBefore): Documentation added.
3749 (getFirstComponent): Documentation added.
3750 (getLastComponent): Documentation added.
3751 (getDefaultComponent): Documentation added.
3752 (getInitialComponent): Documentation added.
3753 * java/awt/ScrollPane.java
3754 (wheelScrollingEnabled): New member variable.
3755 (ScrollPane): Initialize wheelScollingEnabled.
3756 (eventTypeEnabled): New method.
3757 (isWheelScrollingEnabled): New method.
3758 (setWheelScrollingEnabled): New method.
3759
3760 2003-03-02 Michael Koch <konqueror@gmx.de>
3761
3762 * java/net/DatagramSocket.java
3763 (closed): New member variable.
3764 (close): Use closed variable.
3765 (getInetAddress): No need to call isConnected().
3766 (getPort): No need to call isConnected().
3767 (disconnect): Reset remoteAddress and remotePort, fixed typo.
3768 (isClosed): Reimplemented.
3769
3770 2003-03-02 Michael Koch <konqueror@gmx.de>
3771
3772 * configure.in: Added check for memory mapping of files.
3773 * configure: Regenerated.
3774 * config.h.in: Regenerated.
3775
3776 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
3777
3778 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3779 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3780
3781 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3782
3783 * java/io/File.java (normalizePath): Remove trailing separator
3784 on Windows only if path is not of the form "x:\".
3785
3786 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3787 (java::io::File::attr): Change formatting a bit and use
3788 WIN32_EPOCH_MILLIS instead of magic numbers.
3789 (java::io::File::isAbsolute): Path must have at least 3
3790 characters for a UNC network path.
3791 (java::io::File::init_native): Define.
3792 (java::io::File::performCreate): Likewise.
3793 (java::io::File::performSetReadOnly): Likewise.
3794 (java::io::File::performSetLastModified): Likewise.
3795 (java::io::File::performListRoots): Likewise.
3796
3797 2003-03-01 Tom Tromey <tromey@redhat.com>
3798
3799 * java/lang/natObject.cc: Don't include assert.h.
3800 (heavy_lock_obj_finalization_proc): Use JvAssert.
3801 (remove_all_heavy): Likewise.
3802 (_Jv_MonitorEnter): Likewise.
3803 (_Jv_MonitorExit): Likewise.
3804 (wait): Likewise.
3805
3806 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3807
3808 * java/io/File (getAbsolutePath): Prefix drive specifier on
3809 Windows for paths starting with a '\'.
3810 (toURL): Make URL more consistent with what Sun's JDK returns.
3811
3812 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3813 true only if the path is a UNC network path or it starts with a
3814 drive specifier.
3815
3816 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3817 Be prepared to handle either '/' or '\\' in the file path for
3818 Windows if using the "file" protocol.
3819 Canonicalise the file path if using a relative path in the given
3820 context and the "file" protocol.
3821
3822 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
3823
3824 * java/lang/natWin32Process.cc (startProcess): Double-quote each
3825 program array element passed to CreateProcess.
3826
3827 2003-03-01 Tom Tromey <tromey@redhat.com>
3828
3829 * java/rmi/registry/RegistryHandler.java: Deprecate.
3830
3831 2003-03-01 Tom Tromey <tromey@redhat.com>
3832
3833 * javax/accessibility/AccessibleEditableText.java,
3834 javax/accessibility/AccessibleHyperlink.java: New versions from
3835 Classpath.
3836
3837 * gnu/java/locale/LocaleInformation_af_ZA.java,
3838 gnu/java/locale/LocaleInformation_ar_AE.java,
3839 gnu/java/locale/LocaleInformation_ar_BH.java,
3840 gnu/java/locale/LocaleInformation_ar_DZ.java,
3841 gnu/java/locale/LocaleInformation_ar_EG.java,
3842 gnu/java/locale/LocaleInformation_ar_IN.java,
3843 gnu/java/locale/LocaleInformation_ar_IQ.java,
3844 gnu/java/locale/LocaleInformation_ar_JO.java,
3845 gnu/java/locale/LocaleInformation_ar_KW.java,
3846 gnu/java/locale/LocaleInformation_ar_LB.java,
3847 gnu/java/locale/LocaleInformation_ar_LY.java,
3848 gnu/java/locale/LocaleInformation_ar_MA.java,
3849 gnu/java/locale/LocaleInformation_ar_OM.java,
3850 gnu/java/locale/LocaleInformation_ar_QA.java,
3851 gnu/java/locale/LocaleInformation_ar_SD.java,
3852 gnu/java/locale/LocaleInformation_ar_SY.java,
3853 gnu/java/locale/LocaleInformation_ar_TN.java,
3854 gnu/java/locale/LocaleInformation_ar_YE.java,
3855 gnu/java/locale/LocaleInformation_be_BY.java,
3856 gnu/java/locale/LocaleInformation_bn_IN.java,
3857 gnu/java/locale/LocaleInformation_br_FR.java,
3858 gnu/java/locale/LocaleInformation_bs_BA.java,
3859 gnu/java/locale/LocaleInformation_ca_ES.java,
3860 gnu/java/locale/LocaleInformation_cs_CZ.java,
3861 gnu/java/locale/LocaleInformation_cy_GB.java,
3862 gnu/java/locale/LocaleInformation_da_DK.java,
3863 gnu/java/locale/LocaleInformation_de_AT.java,
3864 gnu/java/locale/LocaleInformation_de_BE.java,
3865 gnu/java/locale/LocaleInformation_de_CH.java,
3866 gnu/java/locale/LocaleInformation_de_DE.java,
3867 gnu/java/locale/LocaleInformation_de_LU.java,
3868 gnu/java/locale/LocaleInformation_el_GR.java,
3869 gnu/java/locale/LocaleInformation_en_AU.java,
3870 gnu/java/locale/LocaleInformation_en_BW.java,
3871 gnu/java/locale/LocaleInformation_en_CA.java,
3872 gnu/java/locale/LocaleInformation_en_DK.java,
3873 gnu/java/locale/LocaleInformation_en_GB.java,
3874 gnu/java/locale/LocaleInformation_en_HK.java,
3875 gnu/java/locale/LocaleInformation_en_IE.java,
3876 gnu/java/locale/LocaleInformation_en_IN.java,
3877 gnu/java/locale/LocaleInformation_en_NZ.java,
3878 gnu/java/locale/LocaleInformation_en_PH.java,
3879 gnu/java/locale/LocaleInformation_en_SG.java,
3880 gnu/java/locale/LocaleInformation_en_US.java,
3881 gnu/java/locale/LocaleInformation_en_ZA.java,
3882 gnu/java/locale/LocaleInformation_en_ZW.java,
3883 gnu/java/locale/LocaleInformation_es_AR.java,
3884 gnu/java/locale/LocaleInformation_es_BO.java,
3885 gnu/java/locale/LocaleInformation_es_CL.java,
3886 gnu/java/locale/LocaleInformation_es_CO.java,
3887 gnu/java/locale/LocaleInformation_es_CR.java,
3888 gnu/java/locale/LocaleInformation_es_DO.java,
3889 gnu/java/locale/LocaleInformation_es_EC.java,
3890 gnu/java/locale/LocaleInformation_es_ES.java,
3891 gnu/java/locale/LocaleInformation_es_GT.java,
3892 gnu/java/locale/LocaleInformation_es_HN.java,
3893 gnu/java/locale/LocaleInformation_es_MX.java,
3894 gnu/java/locale/LocaleInformation_es_NI.java,
3895 gnu/java/locale/LocaleInformation_es_PA.java,
3896 gnu/java/locale/LocaleInformation_es_PE.java,
3897 gnu/java/locale/LocaleInformation_es_PR.java,
3898 gnu/java/locale/LocaleInformation_es_PY.java,
3899 gnu/java/locale/LocaleInformation_es_SV.java,
3900 gnu/java/locale/LocaleInformation_es_US.java,
3901 gnu/java/locale/LocaleInformation_es_UY.java,
3902 gnu/java/locale/LocaleInformation_es_VE.java,
3903 gnu/java/locale/LocaleInformation_et_EE.java,
3904 gnu/java/locale/LocaleInformation_eu_ES.java,
3905 gnu/java/locale/LocaleInformation_fa_IR.java,
3906 gnu/java/locale/LocaleInformation_fi_FI.java,
3907 gnu/java/locale/LocaleInformation_fo_FO.java,
3908 gnu/java/locale/LocaleInformation_fr_BE.java,
3909 gnu/java/locale/LocaleInformation_fr_CA.java,
3910 gnu/java/locale/LocaleInformation_fr_CH.java,
3911 gnu/java/locale/LocaleInformation_fr_FR.java,
3912 gnu/java/locale/LocaleInformation_fr_LU.java,
3913 gnu/java/locale/LocaleInformation_ga_IE.java,
3914 gnu/java/locale/LocaleInformation_gd_GB.java,
3915 gnu/java/locale/LocaleInformation_gl_ES.java,
3916 gnu/java/locale/LocaleInformation_gv_GB.java,
3917 gnu/java/locale/LocaleInformation_he_IL.java,
3918 gnu/java/locale/LocaleInformation_hi_IN.java,
3919 gnu/java/locale/LocaleInformation_hr_HR.java,
3920 gnu/java/locale/LocaleInformation_hu_HU.java,
3921 gnu/java/locale/LocaleInformation_id_ID.java,
3922 gnu/java/locale/LocaleInformation_it_CH.java,
3923 gnu/java/locale/LocaleInformation_it_IT.java,
3924 gnu/java/locale/LocaleInformation_iw_IL.java,
3925 gnu/java/locale/LocaleInformation_ja_JP.java,
3926 gnu/java/locale/LocaleInformation_ka_GE.java,
3927 gnu/java/locale/LocaleInformation_kl_GL.java,
3928 gnu/java/locale/LocaleInformation_ko_KR.java,
3929 gnu/java/locale/LocaleInformation_kw_GB.java,
3930 gnu/java/locale/LocaleInformation_lt_LT.java,
3931 gnu/java/locale/LocaleInformation_lv_LV.java,
3932 gnu/java/locale/LocaleInformation_mi_NZ.java,
3933 gnu/java/locale/LocaleInformation_mk_MK.java,
3934 gnu/java/locale/LocaleInformation_mr_IN.java,
3935 gnu/java/locale/LocaleInformation_mt_MT.java,
3936 gnu/java/locale/LocaleInformation_nl_BE.java,
3937 gnu/java/locale/LocaleInformation_nl_NL.java,
3938 gnu/java/locale/LocaleInformation_nn_NO.java,
3939 gnu/java/locale/LocaleInformation_no_NO.java,
3940 gnu/java/locale/LocaleInformation_oc_FR.java,
3941 gnu/java/locale/LocaleInformation_pl_PL.java,
3942 gnu/java/locale/LocaleInformation_pt_BR.java,
3943 gnu/java/locale/LocaleInformation_pt_PT.java,
3944 gnu/java/locale/LocaleInformation_ro_RO.java,
3945 gnu/java/locale/LocaleInformation_ru_RU.java,
3946 gnu/java/locale/LocaleInformation_ru_UA.java,
3947 gnu/java/locale/LocaleInformation_se_NO.java,
3948 gnu/java/locale/LocaleInformation_sk_SK.java,
3949 gnu/java/locale/LocaleInformation_sl_SI.java,
3950 gnu/java/locale/LocaleInformation_sq_AL.java,
3951 gnu/java/locale/LocaleInformation_sr_YU.java,
3952 gnu/java/locale/LocaleInformation_sv_FI.java,
3953 gnu/java/locale/LocaleInformation_sv_SE.java,
3954 gnu/java/locale/LocaleInformation_ta_IN.java,
3955 gnu/java/locale/LocaleInformation_te_IN.java,
3956 gnu/java/locale/LocaleInformation_tg_TJ.java,
3957 gnu/java/locale/LocaleInformation_tl_PH.java,
3958 gnu/java/locale/LocaleInformation_tr_TR.java,
3959 gnu/java/locale/LocaleInformation_uk_UA.java,
3960 gnu/java/locale/LocaleInformation_ur_PK.java,
3961 gnu/java/locale/LocaleInformation_uz_UZ.java,
3962 gnu/java/locale/LocaleInformation_vi_VN.java,
3963 gnu/java/locale/LocaleInformation_yi_US.java,
3964 gnu/java/locale/LocaleInformation_zh_CN.java,
3965 gnu/java/locale/LocaleInformation_zh_HK.java,
3966 gnu/java/locale/LocaleInformation_zh_SG.java,
3967 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3968 info; from Classpath.
3969
3970 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3971 isPaintPending): New methods.
3972 * gnu/awt/xlib/XFramePeer.java (getState, setState,
3973 setMaximizedBounds): New methods.
3974 (beginLayout, endLayout, isPaintPending): Likewise.
3975 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3976 (requestFocus): Likewise.
3977 (isObscured): Likewise.
3978 (canDetermineObscurity): Likewise.
3979 (coalescePaintEvent): Likewise.
3980 (updateCursorImmediately): Likewise.
3981 (createVolatileImage): Likewise.
3982 (handlesWheelScrolling): Likewise.
3983 (createBuffers): Likewise.
3984 (getBackBuffer): Likewise.
3985 (flip): Likewise.
3986 (destroyBuffers): Likewise.
3987
3988 * Makefile.in: Rebuilt.
3989 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3990 RobotPeer.java.
3991 * gnu/java/awt/GLightweightPeer.java,
3992 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3993 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3994 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3995 gnu/java/awt/peer/gtk/GtkFramePeer.java,
3996 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3997 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3998 java/awt/dnd/peer/DragSourceContextPeer.java,
3999 java/awt/dnd/peer/DropTargetContextPeer.java,
4000 java/awt/peer/ButtonPeer.java,
4001 java/awt/peer/CheckboxMenuItemPeer.java,
4002 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4003 java/awt/peer/ComponentPeer.java,
4004 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4005 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4006 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4007 java/awt/peer/MenuBarPeer.java,
4008 java/awt/peer/MenuComponentPeer.java,
4009 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4010 java/awt/peer/PopupMenuPeer.java,
4011 java/awt/peer/ScrollPanePeer.java,
4012 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4013 java/awt/peer/TextComponentPeer.java,
4014 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4015 New versions from Classpath.
4016 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4017 * java/awt/peer/RobotPeer.java: Likewise.
4018
4019 2003-03-01 Mark Wielaard <mark@klomp.org>
4020
4021 * java/io/ObjectInputStream.java: Reindent.
4022 * java/io/ObjectOutputStream.java: Likewise.
4023
4024 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4025
4026 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4027 jvalue for each argument. Simplify.
4028 * testsuite/libjava.jni/calls.c (docall),
4029 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4030 misalignment.
4031
4032 2003-02-28 Mark Wielaard <mark@klomp.org>
4033
4034 * Makefile.am (nat_source_files): Remove
4035 java/io/natObjectOutputStream.cc.
4036 * Makefile.in: Regenerated.
4037 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4038 * java/io/ObjectStreamField.java (typename): New field.
4039 (ObjectStreamField(String, Class)): Initialize new field.
4040 (ObjectStreamField(String, String)): New Constructor.
4041 (getTypeCode): Use new field.
4042 (getTypeString): Use new field.
4043 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4044 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4045 Handle reading of Proxy classes. Never drain(), just write
4046 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4047 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4048 (flush): Call flush(), not just drain().
4049 (writeBoolean): Always use blockDataOutput.
4050 (writeByte): Likewise.
4051 (writeShort): Likewise.
4052 (writeChar): Likewise.
4053 (writeInt): Likewise.
4054 (writeLong): Likewise.
4055 (writeFloat): Likewise.
4056 (writeDouble): Likewise.
4057 (writeBytes): Likewise.
4058 (putfield (put(String,Object))): Throw IllegalArgumentException if
4059 field cannot be found.
4060 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4061 (writeArraySizeAndElements): Write byte[] in one go.
4062 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4063 set BlockDataMode to false.
4064 (annotateProxyClass): New method.
4065 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4066 (getField): No longer native.
4067 (getMethod): Likewise.
4068 (setBlockDataMode): Always drain() on switch, return old mode.
4069 (static): New static code block.
4070 * java/io/natObjectOutputStream.cc: Removed.
4071 * java/io/ObjectInputStream.java (getField): No longer native.
4072 (getMethod): Likewise.
4073 (readObject): Remember and reset old BlockDataMode. Track whether
4074 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4075 TC_LONGSTRING.
4076 (defaultReadObject): Set BlockDataMode to false during readFields.
4077 (resolveClass): Create new SecurityManager if necessary.
4078 Use Class.forName() if null ClassLoader found.
4079 (read(byte[],int,int): Copy remaining bytes to data before calling
4080 readNextBlock().
4081 (readFields): Set and reset BlockDataMode on call_read_method.
4082 Catch NoSuchFieldErrors.
4083 (setBlockDataMode): Return old mode.
4084 (static): New static code block.
4085 * java/io/natObjectInputStream.cc (getField): Removed.
4086 (getMethod): Likewise.
4087
4088 2003-02-27 Michael Koch <konqueror@gmx.de>
4089
4090 * java/beans/Beans.java,
4091 java/beans/FeatureDescriptor.java
4092 java/beans/PropertyEditorManager.java:
4093 Reformated to GNU style.
4094
4095 2003-02-25 Michael Koch <konqueror@gmx.de>
4096
4097 * gnu/java/nio/MappedByteFileBuffer.java,
4098 gnu/java/nio/natMappedByteFileBuffer.cc:
4099 New files, both are not compiled yet to get not noncompiling CVS.
4100
4101 2003-02-24 Tom Tromey <tromey@redhat.com>
4102
4103 * java/util/prefs/AbstractPreferences.java (isUserNode):
4104 Implemented.
4105
4106 2003-02-24 Tom Tromey <tromey@redhat.com>
4107
4108 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4109 Deprecate.
4110 * java/lang/Thread.java (resume): Deprecate.
4111 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4112 in @deprecated.
4113
4114 2003-02-23 Tom Tromey <tromey@redhat.com>
4115
4116 * Makefile.in: Rebuilt.
4117 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4118
4119 2003-02-23 Tom Tromey <tromey@redhat.com>
4120
4121 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4122 libraries): Removed.
4123 (add_library): Removed.
4124 (_load): Don't call add_library.
4125 (loadLibraryInternal): Likewise.
4126 (init): Likewise.
4127 (lookup_data): New struct.
4128 (find_symbol): New function.
4129 (_Jv_FindSymbolInExecutable): Use it.
4130
4131 2002-02-21 Anthony Green <green@redhat.com>
4132
4133 * java/lang/Thread.java (Thread): New constructor taking stack
4134 size parameter (ignored for now).
4135 * Many methods: Merged GNU Classpath documentation.
4136
4137 * java/lang/Class.java (finalize): throws a Throwable.
4138
4139 2003-02-21 Mark Wielaard <mark@klomp.org>
4140
4141 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4142 argument is null.
4143
4144 2003-02-21 Mark Wielaard <mark@klomp.org>
4145
4146 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4147 then 65535 chars throw IllegalArgumentException.
4148
4149 2003-02-21 Mark Wielaard <mark@klomp.org>
4150
4151 * java/util/zip/ZipFile.java (finalize): New method.
4152
4153 2003-02-21 Michael Koch <konqueror@gmx.de>
4154
4155 * gnu/java/nio/natSocketChannelImpl.cc:
4156 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4157 <cato@df.lth.se> for pointing to it.
4158
4159 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4160
4161 * java/math/BigInteger.java (euclidInv): Take result array as an
4162 argument. Updated all callers.
4163 (modInverse): Removed unused variables.
4164
4165 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4166
4167 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4168 config.status.
4169 * configure: Rebuilt.
4170
4171 2003-02-19 Michael Koch <konqueror@gmx.de>
4172
4173 * gnu/java/nio/natSocketChannelImpl.cc:
4174 Added support for platforms without network support.
4175
4176 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4177
4178 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4179 after config.h. Use <> for consistency.
4180 * java/lang/natObject.cc: Likewise.
4181 * java/lang/natRuntime.cc: Likewise.
4182 * java/lang/natSystem.cc: Likewise.
4183 * java/util/natTimeZone.cc: Likewise.
4184 * win32.cc: Likewise.
4185 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4186 listen, write, read): Undef to avoid interference from OS macros.
4187
4188 2003-02-19 Michael Koch <konqueror@gmx.de>
4189
4190 * gnu/java/nio/ByteBufferImpl.java
4191 (ByteBufferImpl): Renamed two variables.
4192 * gnu/java/nio/CharBufferImpl.java
4193 (CharBufferImpl): Renamed two variables.
4194 * gnu/java/nio/DoubleBufferImpl.java
4195 (DoubleBufferImpl): Renamed two variables.
4196 * gnu/java/nio/FloatBufferImpl.java
4197 (FloatBufferImpl): Renamed two variables.
4198 * gnu/java/nio/IntBufferImpl.java
4199 (IntBufferImpl): Renamed two variables.
4200 * gnu/java/nio/LongBufferImpl.java
4201 (LongBufferImpl): Renamed two variables.
4202 * gnu/java/nio/ShortBufferImpl.java
4203 (ShortBufferImpl): Renamed two variables.
4204 * java/nio/CharBuffer.java
4205 (wrap): Fixed arguments to CharBufferImpl constructor.
4206 (hasArray): Only not read-only buffers have backing arrays.
4207 (length): Documentation added.
4208 (subSequence): Documentation added.
4209 * java/nio/DoubleBuffer.java
4210 (hasArray): Only not read-only buffers have backing arrays.
4211 * java/nio/FloatBuffer.java
4212 (hasArray): Only not read-only buffers have backing arrays.
4213 * java/nio/IntBuffer.java
4214 (hasArray): Only not read-only buffers have backing arrays.
4215 * java/nio/LongBuffer.java
4216 (hasArray): Only not read-only buffers have backing arrays.
4217 * java/nio/ShortBuffer.java
4218 (hasArray): Only not read-only buffers have backing arrays.
4219
4220 2003-02-19 Michael Koch <konqueror@gmx.de>
4221
4222 * javax/accessibility/AccessibleContext.java
4223 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4224
4225 2003-02-19 Michael Koch <konqueror@gmx.de>
4226
4227 * java/awt/ScrollPaneAdjustable.java: Reformated.
4228
4229 2003-02-19 Michael Koch <konqueror@gmx.de>
4230
4231 * gnu/awt/j2d/Graphics2DImpl.java
4232 (getFontRenderContext): New method.
4233 (drawGlyphVector): New method.
4234 * java/awt/Graphics2D.java
4235 (getFontRenderContext): New abstract method.
4236 (drawGlyphVector): New abstract method.
4237
4238 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4239
4240 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4241 if necessary.
4242
4243 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4244 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4245 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4246 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4247 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4248 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4249 (setFont, gtkSetFont): add.
4250 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4251 Propagate font to peer. (setFont): add FIXME comment.
4252
4253 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4254 (gtkTextGetSize): fix height, width computation.
4255
4256 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4257 Make X font name a bit less bogus.
4258
4259 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4260 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4261
4262 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4263 (processAdjustmentEvent): Adjust value.
4264
4265 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4266 logic errors.
4267
4268 * java/awt/Component.java (setVisible, show, hide): Call show and
4269 hide methods in subclasses.
4270 (getPreferredSize): don't set prefSize before we have peer.
4271
4272 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4273 Guess (0,0) if we don't have peer.
4274
4275
4276 2003-02-18 Michael Koch <konqueror@gmx.de>
4277
4278 * java/nio/channels/FileChannel.java
4279 (toString): New implementation, added documentation.
4280 (map): Added exception documentation.
4281 (size): Added exception documentation.
4282 (write): New methods, documentation work.
4283 (read): New methods, documentation work.
4284 (implCloseChannel): Rewrote exception documentation.
4285 (force): Throws IOException, added documentation.
4286 (lock): New methods.
4287 (tryLock): New methods.
4288 (position): New methods.
4289 (transferTo): New method.
4290 (transferFrom): New method.
4291 (truncate): New method.
4292 * java/nio/channels/spi/SelectorProvider.java
4293 (provider): Implemented.
4294 * Makefile.am
4295 (ordinary_java_source_files): Added the following files:
4296 gnu/java/nio/DatagramChannelImpl.java
4297 gnu/java/nio/FileChannelImpl.java
4298 gnu/java/nio/PipeImpl.java
4299 gnu/java/nio/SelectionKeyImpl.java
4300 gnu/java/nio/SelectorImpl.java
4301 gnu/java/nio/SelectorProviderImpl.java
4302 gnu/java/nio/ServerSocketChannelImpl.java
4303 gnu/java/nio/SocketChannelImpl.java
4304 java/nio/channels/FileLock.java
4305 (nat_java_source_files): Added the following files:
4306 gnu/java/nio/natFileChannelImpl.cc
4307 gnu/java/nio/natSelectorImpl.cc
4308 gnu/java/nio/natSocketChannelImpl.cc
4309 * Makefile.in: Regenerated.
4310
4311 2003-02-17 Tom Tromey <tromey@redhat.com>
4312
4313 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4314 * java/awt/image/ImageFilter.java: Likewise.
4315
4316 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4317
4318 * java/math/BigInteger.java (euclidInv): Return array of
4319 `BigInteger's. Changed all callers.
4320
4321 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4322
4323 * java/util/Properties.java (store): Move the code formerly in
4324 list(), into this method.
4325 (list (PrintStream)): Just call list (PrintWriter) with a
4326 PrintWriter object constructed from the given PrintStream object.
4327 (list (PrintWriter)): Emulate the output of Properties.list()
4328 as found in JDK 1.3/1.4.
4329
4330 2003-02-17 Michael Koch <konqueror@gmx.de>
4331
4332 * java/net/DatagramSocket.java
4333 (connect): Merged with classpath.
4334 (disconnect): Merged documentation with classpath.
4335 (receice): Merged documentation with classpath.
4336 (send): Merged documentation with classpath.
4337
4338 2003-02-17 Michael Koch <konqueror@gmx.de>
4339
4340 * java/awt/dnd/DragSourceContext.java
4341 (addDragSourceListener): Added documentation.
4342 * java/awt/dnd/DragSourceDragEvent.java
4343 (serialVersionUID): New member variable.
4344 (getDropAction): Reformated.
4345 * java/awt/dnd/DragSourceDropEvent.java
4346 (serialVersionUID): New member variable.
4347 (dropSuccess): Renamed from success for serialization issues.
4348 * java/awt/dnd/DragSourceEvent.java
4349 (serialVersionUID): New member variable.
4350 * java/awt/dnd/DropTarget.java
4351 (serialVersionUID): New member variable.
4352 (DropTarget): Implemented, documentation reworked.
4353 (setComponent): Documentation added.
4354 (getComponent): Documentation added.
4355 (setDefaultActions): Documentation added.
4356 (getDefaultActions): Documentation added.
4357 (addDropTargetListener): Documentation added.
4358 * java/awt/dnd/DropTargetContext.java
4359 (DropTargetContext): Documentation added.
4360 (TransferableProxy.TransferableProxy): New method.
4361 (dropComplete): Fixed documentation.
4362 (getTransferable): Fixed documentation.
4363 (createTransferableProxy): Implemented.
4364 * java/awt/dnd/DropTargetDragEvent.java
4365 (DropTargetDragEvent): Documentation added.
4366 (serialVersionUID): New member variable.
4367 (DropTargetDragEvent): Throw exceptions, documentation added.
4368 (acceptDrag): Implemented.
4369 (getCurrentDataFlavors): Implemented.3yy
4370 (getCurrentDataFlavorsAsList): Implemented.
4371 (isDataFlavorSupported): Implemented.
4372 (rejectDrag): Implemented.
4373 * java/awt/dnd/DropTargetDropEvent.java
4374 (DropTargetDropEvent): Documentation added.
4375 (serialVersionUID): New member variable.
4376 (actions): Renamed from srcActions for serialization issues.
4377 (isLocalTx): Renamed from isLocalTx for serialization issues.
4378 (DropTargetDropEvent): New implementation, throw exceptions,
4379 documentation added.
4380 (getCurrentDataFlavors): Implemented.
4381 (getCurrentDataFlavorsAsList): Implemented.
4382 (isDataFlavorSupported): Implemented.
4383 (getSourceActions): Implemented.
4384 (getDropAction): Implemented.
4385 (getTransferable): Implemented.
4386 (acceptDrop): Implemented.
4387 (rejectDrop): Implemented.
4388 * java/awt/dnd/DropTargetListener.java
4389 (drop): Fixed documentation.
4390 * java/awt/dnd/MouseDragGestureRecognizer.java
4391 (MouseDragGestureRecognizer): Documentation added.
4392
4393 2003-02-17 Michael Koch <konqueror@gmx.de>
4394
4395 * java/awt/font/FontRenderContext.java,
4396 java/awt/font/ShapeGraphicAttribute.java,
4397 java/awt/font/MultipleMaster.java,
4398 java/awt/font/TransformAttribute.java,
4399 java/awt/font/GlyphJustificationInfo.java,
4400 java/awt/font/LineBreakMeasurer.java,
4401 java/awt/font/TextMeasurer.java,
4402 java/awt/font/TextLayout.java,
4403 java/awt/font/LineMetrics.java,
4404 java/awt/font/TextAttribute.java,
4405 java/awt/font/GlyphMetrics.java,
4406 java/awt/font/OpenType.java,
4407 java/awt/font/GlyphVector.java,
4408 java/awt/font/GraphicAttribute.java,
4409 java/awt/font/ImageGraphicAttribute.java,
4410 java/awt/font/NumericShaper.java: New files.
4411 * Makefile.am
4412 (awt_java_source_files): Added the following files:
4413 java/awt/font/FontRenderContext.java
4414 java/awt/font/ShapeGraphicAttribute.java
4415 java/awt/font/MultipleMaster.java
4416 java/awt/font/TransformAttribute.java
4417 java/awt/font/GlyphJustificationInfo.java
4418 java/awt/font/LineBreakMeasurer.java
4419 java/awt/font/TextMeasurer.java
4420 java/awt/font/TextLayout.java
4421 java/awt/font/LineMetrics.java
4422 java/awt/font/TextAttribute.java
4423 java/awt/font/GlyphMetrics.java
4424 java/awt/font/OpenType.java
4425 java/awt/font/GlyphVector.java
4426 java/awt/font/GraphicAttribute.java
4427 java/awt/font/ImageGraphicAttribute.java
4428 java/awt/font/NumericShaper.java
4429 * Makefile.in: Regenerated.
4430
4431 2003-02-17 Michael Koch <konqueror@gmx.de>
4432
4433 * java/awt/print/Paper.java
4434 (Paper): Implements Cloneable.
4435 * java/awt/print/PrinterJob.java
4436 (setJobName): Return value must be void.
4437 (print): Throws PrinterException.
4438
4439 2003-02-16 Tom Tromey <tromey@redhat.com>
4440
4441 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4442 variable.
4443
4444 2003-02-15 Michael Koch <konqueror@gmx.de>
4445
4446 * java/awt/datatransfer/DataFlavor.java
4447 (isRepresentationClassByteBuffer): Removed try-catch block.
4448 (isRepresentationClassCharBuffer): Removed try-catch block.
4449 (isRepresentationClassReader): Removed try-catch block.
4450
4451 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4452
4453 * java/nio/charset/Charset.java
4454 (isRegistered): Fixed method args and implementation.
4455 * java/nio/charset/CharsetEncoder.java
4456 (unmappableCharacterAction): New method.
4457
4458 2003-02-15 Michael Koch <konqueror@gmx.de>
4459
4460 * java/awt/CheckboxMenuItem.java
4461 (CheckBoxMenuItem): Dont implement Serializable.
4462 (getListeners): New method,
4463 (getItemListeners): New method.
4464 * java/awt/Choice.java
4465 (getListeners): New method,
4466 (getItemListeners): New method.
4467 * java/awt/Container.java
4468 (getListeners): Added exception documentation.
4469 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4470 (getFocusTraversalKeys): Added documentation.
4471 (areFocusTraversalKeysSet): Added documentation.
4472 (applyComponentOrientation): Added documentation.
4473 * java/awt/ContainerOrderFocusTraversalPolicy.java
4474 (implicitDownCycleTraversal): Renamed from downCycle for
4475 serialization.
4476 (ContainerOrderFocusTraversalPolicy): Added documentation.
4477 (accept): Reformated.
4478 * java/awt/Dialog.java
4479 (Dialog): Dont implement Serializable.
4480 (Dialog): Added documentation.
4481 * java/awt/Font.java
4482 (Font): Dont use absolute class name.
4483 * java/awt/Frame.java
4484 (Frame): Font implement Serializable.
4485 * java/awt/List.java
4486 (getListeners): New method,
4487 (getActionListeners): New method.
4488 (getItemListeners): New method.
4489 * java/awt/Menu.java
4490 (countItems): New deprecated method.
4491 * java/awt/Scrollbar.java
4492 (getListeners): New method,
4493 (getAdjustmentListeners): New method,
4494 * java/awt/TextComponent.java
4495 (getListeners): New method,
4496 (getTextListeners): New method,
4497 * java/awt/TextField.java
4498 (getListeners): New method,
4499 (getActionListeners): New method.
4500 * java/awt/Window.java
4501 (windowFocusListener): New member variable.
4502 (windowStateListener): New member variable.
4503 (getWindowFocusListeners): New method.
4504 (getWindowStateListeners): New method.
4505 (addWindowFocusListener): New method.
4506 (addWindowStateListener): New method.
4507 (removeWindowFocusListener): New method.
4508 (removeWindowStateListener): New method.
4509 * java/awt/datatransfer/DataFlavor.java
4510 (isRepresentationClassByteBuffer): New method.
4511 (isRepresentationClassCharBuffer): New method.
4512 (isRepresentationClassReader): New method.
4513
4514 2003-02-14 Mark Wielaard <mark@klomp.org>
4515
4516 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4517 zero when there is an exponent and the significant is zero.
4518 (divide): Always set scale to newScale even in special ZERO case.
4519
4520 2003-02-14 Tom Tromey <tromey@redhat.com>
4521
4522 * java/lang/System.java (properties): Use Properties.clone.
4523 (setProperties): Likewise.
4524
4525 2003-02-14 Michael Koch <konqueror@gmx.de>
4526
4527 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4528 * gnu/java/nio/ServerSocketChannelImpl.java
4529 (SocketAccept): Removed.
4530 (accept): Commented out use of SocketAccept.
4531
4532 2003-02-13 Tom Tromey <tromey@redhat.com>
4533
4534 * verify.cc (state::seen_subrs): New field.
4535 (state::state): Initialize it.
4536 (state::clean_subrs): New method.
4537 (state::~state): Call it.
4538 (state::copy): Copy subroutine list.
4539 (state::add_subr): New method.
4540 (state::merge): Only register a change if the current subroutine
4541 hasn't yet been noted.
4542
4543 2003-02-13 Mark Wielaard <mark@klomp.org>
4544
4545 * java/io/InputStreamReader.java (getEncoding): Return null when
4546 closed.
4547 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4548
4549 2003-02-13 Mark Wielaard <mark@klomp.org>
4550
4551 * java/util/zip/InflaterInputStream.java (read): Return zero when len
4552 is zero.
4553
4554 2003-02-13 Mark Wielaard <mark@klomp.org>
4555
4556 * java/io/BufferedOutputStream.java (write(int)): Only flush when
4557 next byte cannot be buffered.
4558
4559 2003-02-13 Michael Koch <konqueror@gmx.de>
4560
4561 * java/awt/Label.java
4562 (Label): Don't implement Serializable directly.
4563 (addNotify): Fixed typo in documentation.
4564 * java/awt/List.java
4565 (List): Don't implement Serializable directly.
4566 * java/awt/PopupMenu.java
4567 (PopupMenu): Don't implement Serializable directly.
4568 * java/awt/ScrollPane.java
4569 (ScrollPane): Don't implement Serializable directly.
4570 * java/awt/Scrollbar.java
4571 (Scrollbar): Don't implement Serializable directly.
4572 * java/awt/TextArea.java
4573 (preferredSize): Fixed method arguments.
4574 * java/awt/TextField.java
4575 (TextField): Don't implement Serializable directly.
4576 * java/awt/color/ICC_ColorSpace.java
4577 (fromCIOXYZ): Documentation added.
4578 (getMinValue): Documentation added.
4579 (getMaxValue): Documentation added.
4580 * java/awt/datatransfer/DataFlavor.java
4581 (isMimeTypeEqual): May not be final.
4582 (clone): Throws CloneNotSupportedException.
4583 (getReaderForText): Don't throws UnsupportedEncodingException.
4584
4585 2003-02-13 Michael Koch <konqueror@gmx.de>
4586
4587 * gnu/java/awt/peer/gtk/GdkGraphics.java
4588 (drawString): New stubbed method.
4589 * java/awt/Graphics.java
4590 (drawString): New method.
4591
4592 2003-02-13 Casey Marshall <rsdio@metastatic.org>
4593
4594 PR libgcj/9271:
4595 * java/security/SecureRandom.java (next): Avoid bias in results.
4596
4597 2003-02-13 Michael <konqueror@gmx.de>
4598
4599 * gnu/java/nio/FileChannelImpl.java
4600 (lengthInternal): Must be native.
4601 (size): Check if channel is already closed.
4602 (implCloseChannel): Reformated.
4603 (read): w was unused, removed it.
4604 (read): Removed.
4605 (read): New method.
4606 (write): New method.
4607 (map): Check arguments.
4608 (force): Throws IOException, check if channel is closed.
4609 (transferTo): New method.
4610 (transferFrom): New method.
4611 (lock): New method.
4612 (tryLock): New method.
4613 (position): New method.
4614 (truncate): New method.
4615 (nio_mmap_file): Uncommented.
4616 (nio_munmap_file): Uncommented.
4617 (nio_msync): Uncommented.
4618 * gnu/java/nio/natFileChannelImpl.cc: New file.
4619
4620 2003-02-13 Michael Koch <konqueror@gmx.de>
4621
4622 * java/nio/ByteBuffer.java
4623 (endian): New member variable.
4624 (get): New methods.
4625 (equals): New method.
4626 (compareTo): New method.
4627 (order): New methods.
4628 (compact): New method.
4629 (isDirect): New method.
4630 (slice): New method.
4631 (duplicate): New method.
4632 (asReadOnlyBuffer): New method.
4633 (asCharBuffer): New method.
4634 (asDoubleBuffer): New method.
4635 (asFloatBuffer): New method.
4636 (asIntBuffer): New method.
4637 (asLongBuffer): New method.
4638 (asShortBuffer): New method.
4639 (get*): New methods.
4640 (put*): New methods.
4641 (toString): New method.
4642 * java/nio/CharBuffer.java
4643 (CharBuffer): Implement Comparable instead of Cloneable.
4644 (get): May not be final.
4645 (put): May not be final.
4646
4647 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
4648
4649 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4650 lastIndexOf( ) instead of indexOf( ) to find the colon before
4651 the line number, because Win32 file names might contain a
4652 drive letter and a colon at the start of an absolute path.
4653
4654 2003-02-13 Michael Koch <konqueror@gmx.de>
4655
4656 * gnu/java/nio/natSocketChannelImpl.cc
4657 (SocketConnect): This is not implemented yet.
4658 (SocketBind): This is not implemented yet.
4659
4660 2003-02-13 Michael Koch <konqueror@gmx.de>
4661
4662 * gnu/java/nio/natByteBufferImpl.cc,
4663 gnu/java/nio/natCharBufferImpl.cc,
4664 gnu/java/nio/natDoubleBufferImpl.cc,
4665 gnu/java/nio/natFloatBufferImpl.cc,
4666 gnu/java/nio/natIntBufferImpl.cc,
4667 gnu/java/nio/natLongBufferImpl.cc,
4668 gnu/java/nio/natShortBufferImpl.cc:
4669 Added copyright and license.
4670 * java/nio/DoubleBuffer.java,
4671 java/nio/FloatBuffer.java,
4672 java/nio/IntBuffer.java,
4673 java/nio/LongBuffer.java,
4674 java/nio/ShortBuffer.java
4675 (array): Throw exceptions.
4676 (arrayOffset): Throw exceptions.
4677
4678 2003-02-13 Michael Koch <konqueror@gmx.de>
4679
4680 * gnu/java/util/prefs/FileBasedFactory.java,
4681 gnu/java/util/prefs/MemmoryBasedFactory.java,
4682 gnu/java/util/prefs/MemoryBasedPreferences.java,
4683 gnu/java/util/prefs/NodeReader.java,
4684 gnu/java/util/prefs/NodeWriter.java,
4685 java/util/prefs/AbstractPreferences.java,
4686 java/util/prefs/BackingStoreException.java,
4687 java/util/prefs/InvalidPreferencesFormatException.java,
4688 java/util/prefs/NodeChangeEvent.java,
4689 java/util/prefs/NodeChangeListener.java,
4690 java/util/prefs/PreferenceChangeEvent.java,
4691 java/util/prefs/PreferenceChangeListener.java,
4692 java/util/prefs/Preferences.java,
4693 java/util/prefs/PreferencesFactory.java:
4694 New files, all merged from classpath.
4695 * Makefile.am
4696 (ordinary_java_source_files): Added the following files:
4697 gnu/java/util/prefs/FileBasedFactory.java,
4698 gnu/java/util/prefs/MemmoryBasedFactory.java,
4699 gnu/java/util/prefs/MemoryBasedPreferences.java,
4700 gnu/java/util/prefs/NodeReader.java,
4701 gnu/java/util/prefs/NodeWriter.java,
4702 (core_java_source_files): Added the following files:
4703 java/util/prefs/AbstractPreferences.java,
4704 java/util/prefs/BackingStoreException.java,
4705 java/util/prefs/InvalidPreferencesFormatException.java,
4706 java/util/prefs/NodeChangeEvent.java,
4707 java/util/prefs/NodeChangeListener.java,
4708 java/util/prefs/PreferenceChangeEvent.java,
4709 java/util/prefs/PreferenceChangeListener.java,
4710 java/util/prefs/Preferences.java,
4711 java/util/prefs/PreferencesFactory.java
4712 * Makefile.in: Regenerated.
4713
4714 2003-02-13 Michael Koch <konqueror@gmx.de>
4715
4716 * java/net/NetPermission.java
4717 (NetPermission): Make doucmentation match the method declaration.
4718 * java/net/NetworkInterface.java
4719 (equals): Reformated for GNU coding style.
4720 * java/net/ServerSocket.java: Merged with classpath.
4721 * java/net/Socket.java: Partly merged with classpath (Added some @since).
4722 * java/net/SocketImpl.java
4723 (localPort): Merged with classpath (initialize with -1).
4724 * java/net/SocketPermission.java: Merged with classpath (reindented).
4725 * java/net/URLDecoder.java: Merged with classpath (reindented).
4726
4727 2003-02-13 Michael Koch <konqueror@gmx.de>
4728
4729 * java/awt/GridBagConstraints.java
4730 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4731 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4732 * java/awt/KeyboardFocusManager.java
4733 (setGlobalCurrentFocusCycleRoot): Must be public.
4734 * java/awt/MenuComponent.java
4735 (MenuComponent): Must be public.
4736 * java/awt/Toolkit.java:
4737 Added some empty lines to make documentation more readable.
4738 (getFontPeer): Added @deprecated.
4739 (getColorModel): Added exception documentation.
4740 (getProperty): Fixed documentation.
4741
4742 2003-02-12 Jeff Sturm <jsturm@one-point.com>
4743
4744 * configure.host (alpha*-*): Default to -mieee.
4745 * configure.in (IEEESPEC): New.
4746 * libgcj.spec.in (jc1): Add IEEESPEC.
4747 * configure: Rebuild.
4748
4749 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4750
4751 * include/win32.h: Include ws2tcpip.h instead of
4752 winsock.h to obtain definition of the socklen_t type.
4753 Remove IP_TOS definition - not needed with ws2tcpip.h
4754 (_Jv_connect): Correct slight formatting error.
4755
4756 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4757
4758 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4759 size of the arguments for a JNI function. For Win32,
4760 modify to search for all forms of possible exported
4761 names of an stdcall JNI function.
4762 (_Jv_JNIMethod::call): Modify to calculate the size
4763 of the arguments passed to a JNI function and pass
4764 it to _Jv_LookupJNIMethod.
4765
4766 2003-02-12 Michael Koch <konqueror@gmx.de>
4767
4768 * java/nio/channels/Channels.java: New file.
4769 * Makefile.am
4770 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4771 * Makefile.in: Regenerated.
4772
4773 2003-02-12 Michael Koch <konqueror@gmx.de>
4774
4775 * java/nio/ByteBuffer.java
4776 (allocate): Implemented.
4777 (wrap): Implemented.
4778 * java/nio/CharBuffer.java:
4779 Some documentation added and reworked.
4780 (endian): Removed.
4781 (allocate): Implemented.
4782 (wrap): Implemented.
4783 (array): Throw exceptions.
4784 (arrayOffset): Throw exceptions.
4785 (toString): Implemented.
4786 (length): Implemented.
4787 (put): Implemented.
4788 (charAt): Implemented.
4789
4790 2003-02-11 John Leuner <jewel@debian.org>
4791
4792 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
4793 reads from end of file.
4794
4795 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
4796
4797 * java/io/natFileDescriptorWin32.cc
4798 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4799 returns with Win32 error code ERROR_BROKEN_PIPE.
4800
4801 2003-02-11 Michael Koch <konqueror@gmx.de>
4802
4803 * Makefile.in
4804 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4805
4806 2003-02-11 Michael Koch <konqueror@gmx.de>
4807
4808 * gnu/java/nio/ByteBufferImpl.java:
4809 Reformated and removed some code.
4810 (backing_buffer): Removed.
4811 (array_offset): Removed.
4812 (ro): Renamed to readOnly.
4813 (ByteBufferImpl): Use parent constructor, initialize readOnly.
4814 * gnu/java/nio/CharBufferImpl.java:
4815 Reformated and removed some code.
4816 (array_offset): Removed.
4817 (ro): Renamed to readOnly.
4818 (CharBufferImpl): Use parent constructor, initialize readOnly.
4819 (inc_pos): Removed.
4820 (order): New method.
4821 * gnu/java/nio/DoubleBufferImpl.java:
4822 Reformated and removed some code.
4823 (array_offset): Removed.
4824 (ro): Renamed to readOnly.
4825 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4826 (inc_pos): Removed.
4827 (order): New method.
4828 * gnu/java/nio/FloatBufferImpl.java:
4829 Reformated and removed some code.
4830 (array_offset): Removed.
4831 (ro): Renamed to readOnly.
4832 (FloatBufferImpl): Use parent constructor, initialize readOnly.
4833 (inc_pos): Removed.
4834 (order): New method.
4835 * gnu/java/nio/IntBufferImpl.java:
4836 Reformated and removed some code.
4837 (array_offset): Removed.
4838 (ro): Renamed to readOnly.
4839 (IntBufferImpl): Use parent constructor, initialize readOnly.
4840 (inc_pos): Removed.
4841 (order): New method.
4842 * gnu/java/nio/LongBufferImpl.java:
4843 Reformated and removed some code.
4844 (array_offset): Removed.
4845 (ro): Renamed to readOnly.
4846 (LongBufferImpl): Use parent constructor, initialize readOnly.
4847 (inc_pos): Removed.
4848 (order): New method.
4849 * gnu/java/nio/ShortBufferImpl.java:
4850 Reformated and removed some code.
4851 (array_offset): Removed.
4852 (ro): Renamed to readOnly.
4853 (ShortBufferImpl): Use parent constructor, initialize readOnly.
4854 (inc_pos): Removed.
4855 (order): New method.
4856 * Makefile.am
4857 (ordinary_java_source_files): Added the following files:
4858 gnu/java/nio/ByteBufferImpl.java
4859 gnu/java/nio/CharBufferImpl.java
4860 gnu/java/nio/DoubleBufferImpl.java
4861 gnu/java/nio/FloatBufferImpl.java
4862 gnu/java/nio/IntBufferImpl.java
4863 gnu/java/nio/LongBufferImpl.java
4864 gnu/java/nio/ShortBufferImpl.java
4865 java/nio/DoubleBuffer.java
4866 java/nio/FloatBuffer.java
4867 java/nio/IntBuffer.java
4868 java/nio/LongBuffer.java
4869 java/nio/ShortBuffer.java
4870 (nat_source_files): Added the following files:
4871 gnu/java/nio/natByteBufferImpl.cc
4872 gnu/java/nio/natCharBufferImpl.cc
4873 gnu/java/nio/natDoubleBufferImpl.cc
4874 gnu/java/nio/natFloatBufferImpl.cc
4875 gnu/java/nio/natIntBufferImpl.cc
4876 gnu/java/nio/natLongBufferImpl.cc
4877 gnu/java/nio/natShortBufferImpl.cc
4878 * Makefile.in: Regenerated.
4879
4880 2003-02-11 Michael Koch <konqueror@gmx.de>
4881
4882 * gnu/java/nio/natCharBufferImpl.cc
4883 (nio_cast): Removed.
4884 (nio_put_*): Removed.
4885 (nio_get_*): Removed.
4886 * gnu/java/nio/natDoubleBufferImpl.cc
4887 (nio_cast): Removed.
4888 (nio_put_*): Removed.
4889 (nio_get_*): Removed.
4890 * gnu/java/nio/natFloatBufferImpl.cc
4891 (nio_cast): Removed.
4892 (nio_put_*): Removed.
4893 (nio_get_*): Removed.
4894 * gnu/java/nio/natIntBufferImpl.cc
4895 (nio_cast): Removed.
4896 (nio_put_*): Removed.
4897 (nio_get_*): Removed.
4898 * gnu/java/nio/natLongBufferImpl.cc
4899 (nio_cast): Removed.
4900 (nio_put_*): Removed.
4901 (nio_get_*): Removed.
4902 * gnu/java/nio/natShortBufferImpl.cc
4903 (nio_cast): Removed.
4904 (nio_put_*): Removed.
4905 (nio_get_*): Removed.
4906 * gnu/java/nio/SelectorProviderImpl.java
4907 (openDatagramChannel): Throws IOException.
4908 (openPipe): Throws IOException.
4909 (openSelector): Throws IOException.
4910 (openServerSocketChannel): Throws IOException.
4911 (openSocketChannel): Throws IOException.
4912 * gnu/java/nio/ServerSocketChannelImpl.java
4913 (ServerSocketChannelImpl): Throws IOException.
4914 (implCloseSelectableChannel): Throws IOException.
4915 (implConfigureBlocking): Throws IOException.
4916 * java/nio/ByteBuffer.java
4917 (readOnly): Removed.
4918 (hasArray): Use isReadOnly() instead of readOnly.
4919 (array): Use isReadOnly() instead of readOnly.
4920 (arrayOffset): Use isReadOnly() instead of readOnly.
4921 * java/nio/CharBuffer.java
4922 (CharBuffer): Implements Cloneable and CharSequence.
4923
4924 2003-02-11 Michael Koch <konqueror@gmx.de>
4925
4926 * java/nio/DoubleBuffer.java
4927 (DoubleBuffer): Implements Comparable.
4928 (endian): Removed.
4929 (array_offset): New member variable.
4930 (DoubleBuffer): New constuctor.
4931 (get): May not be final.
4932 (put): May not be final.
4933 (arrayOffset): Implemented.
4934 (order): Made abstract.
4935 (order): Removed.
4936 (as*Buffer): Removed.
4937 (get*): Removed.
4938 (put*): Removed.
4939 * java/nio/FloatBuffer.java
4940 (FloatBuffer): Implements Comparable.
4941 (endian): Removed.
4942 (array_offset): New member variable.
4943 (FloatBuffer): New constuctor.
4944 (get): May not be final.
4945 (put): May not be final.
4946 (arrayOffset): Implemented.
4947 (order): Made abstract.
4948 (order): Removed.
4949 (as*Buffer): Removed.
4950 (get*): Removed.
4951 (put*): Removed.
4952 * java/nio/IntBuffer.java
4953 (IntBuffer): Implements Comparable.
4954 (endian): Removed.
4955 (array_offset): New member variable.
4956 (IntBuffer): New constuctor.
4957 (get): May not be final.
4958 (put): May not be final.
4959 (arrayOffset): Implemented.
4960 (order): Made abstract.
4961 (order): Removed.
4962 (as*Buffer): Removed.
4963 (get*): Removed.
4964 (put*): Removed.
4965 * java/nio/LongBuffer.java
4966 (LongBuffer): Implements Comparable.
4967 (endian): Removed.
4968 (array_offset): New member variable.
4969 (LongBuffer): New constuctor.
4970 (get): May not be final.
4971 (put): May not be final.
4972 (arrayOffset): Implemented.
4973 (order): Made abstract.
4974 (order): Removed.
4975 (as*Buffer): Removed.
4976 (get*): Removed.
4977 (put*): Removed.
4978 * java/nio/ShortBuffer.java
4979 (ShortBuffer): Implements Comparable.
4980 (endian): Removed.
4981 (array_offset): New member variable.
4982 (ShortBuffer): New constuctor.
4983 (get): May not be final.
4984 (put): May not be final.
4985 (arrayOffset): Implemented.
4986 (order): Made abstract.
4987 (order): Removed.
4988 (as*Buffer): Removed.
4989 (get*): Removed.
4990 (put*): Removed.
4991
4992 2003-02-11 Michael Koch <konqueror@gmx.de>
4993
4994 * java/nio/channels/SelectionKey.java
4995 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4996 values.
4997
4998 2003-02-11 Michael Koch <konqueror@gmx.de>
4999
5000 * java/nio/channels/DatagramChannel.java
5001 (write): Throws IOException.
5002 (connect): Throws IOException.
5003 (disconnect): Throws IOException.
5004 (read): Throws IOException.
5005 (receive): Throws IOException.
5006 (send): Throws IOException.
5007 * java/nio/channels/Pipe.java
5008 (open): Throws IOException.
5009 * java/nio/channels/SelectableChannel.java
5010 (configureBlocking): Throws IOException.
5011 * java/nio/channels/ServerSocketChannel.java
5012 (accept): Throws IOException.
5013 * java/nio/channels/SocketChannel.java
5014 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5015 GatheringByteChannel.
5016 (read): Throws IOException.
5017 (write): Throws IOException.
5018 (finishConnect): Throws IOException.
5019 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5020 (end): Throws AsynchronousCloseException.
5021 * java/nio/channels/spi/AbstractSelectableChannel.java
5022 (configureBlocking): Throws IOException.
5023 (implCloseChannel): Throws IOException.
5024 (implCloseSelectableChannel): Throws IOException.
5025 (implConfigureBlocking): Throws IOException.
5026 * java/nio/channels/spi/SelectorProvider.java
5027 (openDatagramChannel): Throws IOException.
5028 (openPipe): Throws IOException.
5029 (openSelector): Throws IOException.
5030 (openServerSocketChannel): Throws IOException.
5031 (openSocketChannel): Throws IOException.
5032
5033 2003-02-11 Michael Koch <konqueror@gmx.de>
5034
5035 * gnu/java/nio/FileLockImpl.java,
5036 java/nio/channels/FileLock.java: New files.
5037
5038 2003-02-11 Michael Koch <konqueror@gmx.de>
5039
5040 * java/nio/charset/IllegalCharsetNameException.java
5041 (serialVersionUID): New member variable.
5042 (charsetName): New member variable.
5043 (IllegalCharsetException): New implementation.
5044 (getCharsetName): New implementation.
5045 * java/nio/charset/UnsupportedCharsetException.java
5046 (serialVersionUID): New member variable.
5047 (charsetName): New member variable.
5048 (UnsupportedCharsetException): New implementation.
5049 (getCharsetName): New implementation.
5050
5051 2003-02-10 Tom Tromey <tromey@redhat.com>
5052
5053 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5054 (ex): Renamed from sqlException.
5055
5056 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5057
5058 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5059 method used to ensure seeding has occurred and that a specific
5060 seed can be set and used.
5061
5062 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5063
5064 * java/lang/Win32Process.java (destroy): Declare as native.
5065 (hasExited): New native method.
5066 (exitValue): Define.
5067 (getErrorStream): Likewise.
5068 (getInputStream): Likewise.
5069 (getOutputStream): Likewise.
5070 (waitFor): Declare as native.
5071 (startProcess): New native method.
5072 (cleanup): Likewise.
5073 (ConcreteProcess): Define.
5074 (outputStream, inputStream, errorStream): New members.
5075 (procHandle, exitCode): Likewise.
5076
5077 * java/lang/natWin32Process.cc
5078 (java::lang::ConcreteProcess::cleanup): Define.
5079 (java::lang::ConcreteProcess::destroy): Likewise.
5080 (java::lang::ConcreteProcess::hasExited): Likewise.
5081 (java::lang::ConcreteProcess::waitFor): Likewise.
5082 (new_string): Likewise.
5083 (java::lang::ConcreteProcess::startProcess): Likewise.
5084
5085 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5086
5087 * java/math/BigInteger.java:
5088 Updated notice to include years 2002 and 3.
5089 Added 2 private (int) arrays with values from the HAC (Handbook of
5090 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5091 and t[] that contains nbr. of tests --used in isProbablePrime().
5092
5093 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5094
5095 * java/math/BigInteger.java (make(int[],int), add(int,int),
5096 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5097 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5098 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5099 make(long).
5100
5101 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5102 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5103 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5104 BIs and returns void.
5105 (modInverse(BI)): Use new signatures of euclidInv().
5106
5107 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5108 static small primes instead of remainder().
5109 Use pre-computed max nbr of trials based on bitlength of BI to test.
5110 Use pre-computed small primes for the trial tests instead of random
5111 numbers.
5112
5113 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5114 not used.
5115
5116 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5117 invoacation of MPN.chars_per_word(). not used.
5118
5119 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5120 local var and used where needed.
5121
5122 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5123 Combined declaration with initialisation of locals.
5124 Removed unused var.
5125
5126 * java/math/BigInteger.java: Style changes
5127 (pow(int)): Removed 'else' keyword.
5128 (toString(int)): idem.
5129 (doubleValue()): idem.
5130 (bitLength()): idem.
5131 (equals(Object)): Use static methods name in same class w/o prepending
5132 class name.
5133 (doubleValue()): idem.
5134 (setNegative(BI)): idem.
5135 (negate()): idem.
5136 (and(BI,int)): idem.
5137 (and(BI)): idem.
5138 (gcd(BI)): idem.
5139 (byteArrayToIntArray()): Removed casting to (int). this is
5140 std. behaviour.
5141 (canonicalize()): idem.
5142 (alloc(int)): Always instantiate a new BI.
5143
5144 2003-02-10 Tom Tromey <tromey@redhat.com>
5145
5146 * java/sql/Timestamp.java (compareTo(Object)): New method.
5147 (compareTo(Timestamp)): Likewise.
5148 (serialVersionUID): Updated.
5149
5150 2003-02-07 Mark Wielaard <mark@klomp.org>
5151
5152 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5153 when verify is true.
5154 (JarFile(File, boolean)): Likewise.
5155 (manifestRead): Set manifestRead field correctly.
5156
5157 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5158
5159 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5160 tests; see patch #1016 on Savannah.
5161
5162 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5163
5164 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5165 (toString): do not return Strings starting with . and - erroneously.
5166 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5167 DiagBigDecimal.
5168
5169 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5170
5171 * java/beans/PropertyDescriptor.java
5172 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5173 methods.
5174 (PropertyDescriptor(String, Class, String, String)): Likewise.
5175 (PropertyDescriptor(String, Method, Method): Factor out getter and
5176 setter method sanity checks into new method.
5177 (findMethods): Don't do parameter sanity checking of get method here.
5178 (checkMethods): New method.
5179
5180 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5181
5182 * java/beans/PropertyDescriptor.java: Reformat.
5183
5184 2003-02-04 Tom Tromey <tromey@redhat.com>
5185
5186 * java/io/PipedOutputStream.java (flush): Declare as throwing
5187 IOException.
5188 (close): Likewise.
5189 * java/io/PipedWriter.java (close): Declare as throwing
5190 IOException.
5191 * java/io/StringWriter.java (close): Declare as throwing
5192 IOException.
5193
5194 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5195
5196 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5197 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5198 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5199 "_JNI_OnLoad@8" (MSVC).
5200
5201 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5202
5203 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5204 convention on Win32 to invoke native JNI methods.
5205
5206 2003-02-03 Andrew Haley <aph@redhat.com>
5207
5208 * configure.host (x86_64): Enable interpreter.
5209
5210 2003-02-03 Andrew Haley <aph@redhat.com>
5211
5212 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5213 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5214 * configure.in (BACKTRACESPEC): New.
5215 * configure: Regenerate.
5216
5217 2003-02-02 Tom Tromey <tromey@redhat.com>
5218
5219 * configure: Rebuilt.
5220 * configure.in (TOOLKIT) [xlib]: Set correctly.
5221
5222 * Makefile.in: Rebuilt.
5223 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5224 libstdc++.
5225
5226 2003-01-31 Mark WIelaard <mark@klomp.org>
5227
5228 * Makefile.in: Rebuilt.
5229 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5230
5231 2003-01-31 Tom Tromey <tromey@redhat.com>
5232
5233 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5234 cast to element type.
5235 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5236 (_Jv_JNI_GetObjectArrayElement): Likewise.
5237
5238 * Makefile.in: Rebuilt.
5239 * Makefile.am (cond_x_ltlibrary): Renamed library to
5240 lib-gnu-awt-xlib.la.
5241 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5242 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5243 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5244 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5245 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5246 (lib_gnu_awt_xlib_la_LINK): Likewise.
5247 (install-exec-hook): Removed.
5248 (lib-gnu-awt-xlib.la): Renamed.
5249
5250 2003-01-31 Tom Tromey <tromey@redhat.com>
5251
5252 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5253 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5254 aclocal.m4 and lost in some merge.
5255
5256 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5257 Don't try to find graphics configuration.
5258 * java/awt/Toolkit.java (default_toolkit_name): Use new
5259 Configuration entry.
5260 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5261 New global.
5262 * configure: Rebuilt.
5263 * configure.in (TOOLKIT): New subst.
5264 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5265 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5266 directory. Make output directories for .c files.
5267 * Makefile.in: Rebuilt.
5268 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5269 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5270 (all_java_source_files): Added new sources.
5271 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5272 (gtk_c_files): New macro.
5273 (gtk_c_source_files): New macro.
5274 (cond_gtk_ltlibrary): New macro.
5275 ($(gtk_c_files)): New target.
5276 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5277 (gtk_awt_peer_sources): New macro.
5278 (gtk_c_headers): New macro.
5279 ($(gtk_c_headers)): New target.
5280 (ACLOCAL_AMFLAGS): New macro.
5281 * gtk.m4, glib.m4, libart.m4: New files.
5282 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5283 gnu/java/awt/peer/gtk/GdkGraphics.java,
5284 gnu/java/awt/peer/gtk/GtkArg.java,
5285 gnu/java/awt/peer/gtk/GtkArgList.java,
5286 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5287 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5288 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5289 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5290 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5291 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5292 gnu/java/awt/peer/gtk/GtkClipboard.java,
5293 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5294 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5295 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5296 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5297 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5298 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5299 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5300 gnu/java/awt/peer/gtk/GtkImage.java,
5301 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5302 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5303 gnu/java/awt/peer/gtk/GtkListPeer.java,
5304 gnu/java/awt/peer/gtk/GtkMainThread.java,
5305 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5306 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5307 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5308 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5309 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5310 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5311 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5312 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5313 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5314 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5315 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5316 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5317 gnu/java/awt/peer/gtk/GtkToolkit.java,
5318 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5319 gnu/java/awt/peer/gtk/TestAWT.java,
5320 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5321 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5322 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5323 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5324 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5325 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5326 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5327 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5328 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5329 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5330 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5331 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5332 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5333 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5334 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5335 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5336 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5337 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5338 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5339 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5340 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5341 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5342 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5343 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5344 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5345 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5346 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5347 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5348 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5349 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5350 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5351 jni/classpath/native_state.c, jni/classpath/native_state.h,
5352 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5353
5354 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5355
5356 * java/util/Properties.java (load): Ignore backslash before EOF.
5357
5358 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5359
5360 * java/lang/natClass.cc (initializeClass): Check tables when
5361 (state == JV_STATE_IN_PROGRESS).
5362 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5363 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5364 interpreted classes.
5365 (linkClass0): Use _Jv_WaitForState.
5366
5367 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5368
5369 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5370 object when finished.
5371
5372 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5373
5374 * libjava/configure.host: Disable can_unwind_signal on darwin.
5375
5376 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5377
5378 Fixes PR java/9254:
5379 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5380 additionally containing id of the owner thread as well as
5381 the number of nested times the thread has acquired the mutex.
5382 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5383 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5384 (_Jv_MutexUnlock): Check if really the owner thread, reset
5385 owner thread id to 0 before leaving, if leaving for the last
5386 time.
5387 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5388 refcount.
5389 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5390 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5391 the passed mutex.
5392 Pass handle of the broadcast event, instead of a pointer to it
5393 in Win32 ResetEvent( ) call.
5394 Remove incorrect return values.
5395 (_Jv_CondDestroy): Close both event handles and delete
5396 critical section.
5397 (_Jv_CondNotify): Check if really the owner thread.
5398 (_Jv_CondNotifyAll): Check if really the owner thread.
5399 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5400 (really_start): Use SetEvent( ) to signal daemon_cond.
5401 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5402 WaitForSingleObject( ) instead to wait for daemon_cond to be
5403 signalled.
5404
5405 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5406
5407 * configure.in: Specifically define HAVE_BACKTRACE if building
5408 for MinGW.
5409 * include/win32.h: Remove HAVE_BACKTRACE definition.
5410 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5411 * configure: Rebuilt.
5412
5413 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5414
5415 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5416 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5417 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5418 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5419 * Makefile.in, configure: Rebuilt.
5420
5421 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5422
5423 Fixes PR java/9253:
5424 * java/io/natFileWin32.cc (performList): Append only "*.*"
5425 if the canonical file path already has a "\" at the end.
5426
5427 2003-01-24 Tom Tromey <tromey@redhat.com>
5428
5429 * defineclass.cc (handleMethodsEnd): Precompute code for static
5430 method.
5431 (handleCodeAttribute): Likewise.
5432 * resolve.cc (ncode): Use run_class for unsynchronized static
5433 methods.
5434 * include/java-interp.h (class _Jv_InterpMethod): Declare
5435 run_class.
5436 * interpret.cc (run_synch_class): Initialize class.
5437 (run) [insn_invokestatic]: Don't initialize class.
5438 [insn_anewarray]: Likewise.
5439 [insn_multianewarray]: Likewise.
5440 (run_class): New function.
5441
5442 2003-01-24 Tom Tromey <tromey@redhat.com>
5443
5444 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5445 comment.
5446
5447 2003-01-22 Andrew Haley <aph@redhat.com>
5448
5449 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5450 * configure.host (CHECKREFSPEC): Define for x86_64.
5451
5452 2003-01-21 Tom Tromey <tromey@redhat.com>
5453
5454 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5455 search at 2, not 3.
5456
5457 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5458
5459 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5460 looking at any characters.
5461 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5462 be used.
5463 (isAbsolute): Check path's length as well.
5464
5465 2003-01-17 Mark Wielaard <mark@klomp.org>
5466
5467 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5468 (nat_source_files): Add natVMObjectStreamClass.cc.
5469 * Makefile.in: Regenerated.
5470 * gcj/javaprims.h (namespace java): Regenerated.
5471 * java/io/ObjectStreamClass.java (getClassUID): Call
5472 VMObjectStreamClass.hasClassInitializer().
5473 (hasClassInitializer): Removed.
5474 * java/io/VMObjectStreamClass.java: New class.
5475 * java/io/natVMObjectStreamClass.cc: New file.
5476 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5477
5478 2003-01-16 Mark Wielaard <mark@klomp.org>
5479
5480 * java/net/SocketImpl.java (toString): Don't explicitly call
5481 toString() on possible null address.
5482
5483 2003-01-16 Michael Koch <konqueror@gmx.de>
5484
5485 * java/net/MulticastSocket.java
5486 (setInterface): Reindented.
5487
5488 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5489
5490 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5491 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5492 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5493 translateY arguments. Implement.
5494 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5495 down translation arguments.
5496 (drawPolyline, drawPolygon): Fix incorrect tests.
5497 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5498 translateX and translateY arguments.
5499
5500 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5501
5502 * Makefile.in: Rebuilt.
5503 * Makefile.am (xlib_includes): New macro.
5504 (INCLUDES): Use it.
5505
5506 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5507
5508 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5509 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5510 16-bit display mode.
5511
5512 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5513
5514 * java/awt/CardLayout.java (show): Rewrote.
5515 (gotoComponent): Removed `target' argument. Simplified code.
5516 Don't pre-compute `choice' unless `what' is FIRST or LAST.
5517 Changed all callers.
5518 (NONE): Removed.
5519
5520 2003-01-14 Michael Koch <konqueror@gmx.de>
5521
5522 * java/net/InetSocketAddress.java
5523 (serialVersionUID): New member variable.
5524 * java/net/NetPermission.java
5525 (NetPermission): Dont implement java.io.Serialization directly.
5526 * java/net/SocketAddress.java:
5527 (serialVersionUID): Documentation added.
5528
5529 2003-01-14 Michael Koch <konqueror@gmx.de>
5530
5531 * java/awt/Label.java
5532 (Label): Implements javax.accessibility.Accessible;
5533 * java/awt/List.java
5534 (List): Implements javax.accessibility.Accessible;
5535 * java/awt/ScrollPane.java
5536 (ScrollPane): Implements javax.accessibility.Accessible;
5537 * java/awt/Scrollbar.java
5538 (Scrollbar): Implements javax.accessibility.Accessible;
5539 * java/awt/TextComponent.java
5540 (setCaretPosition): Throw exception, documentation added.
5541 * java/awt/Toolkit.java:
5542 Added some newlines in method documentations.
5543 (createButton): Exception documentation added.
5544 (createTextField): Exception documentation added.
5545 (createLabel): Exception documentation added.
5546 (createList): Exception documentation added.
5547 (createCheckbox): Exception documentation added.
5548 (createScrollbar): Exception documentation added.
5549 (createScrollPane): Exception documentation added.
5550 (createTextArea): Exception documentation added.
5551 (createChoice): Exception documentation added.
5552 (createFrame): Exception documentation added.
5553 (createWindow): Exception documentation added.
5554 (createDialog): Exception documentation added.
5555 (createMenuBar): Exception documentation added.
5556 (createMenu): Exception documentation added.
5557 (createMenuItem): Exception documentation added.
5558 (createFileDialog): Exception documentation added.
5559 (createCheckboxMenuItem): Exception documentation added.
5560 (loadSystemColors): Exception documentation added.
5561 (setDynamicLayout): Exception documentation added.
5562 (isDynamicLayoutSet): Exception documentation added.
5563 (isDynamicLayoutActive): Exception documentation added.
5564 (getScreenSize): Exception documentation added.
5565 (getScreenResolution): Exception documentation added.
5566 (getScreenInsets): Exception documentation added.
5567 (getColorModel): Exception documentation added.
5568 (getSystemClipboard): Exception documentation added.
5569 (getSystemSelection): Exception documentation added.
5570 (getMenuShortcutKeyMask): Exception documentation added.
5571 (getSystemEventQueue): Exception documentation added.
5572 * java/awt/Window.java:
5573 Reindented some code.
5574 (Window): Centralized implementation, documentation added.
5575 (finalize): Documentation added.
5576 (hide): Fixed typo in comment.
5577 (getWindowListeners): Documentation added.
5578 * java/awt/color/ColorSpace.java
5579 (toRGB): Documentation added.
5580 * java/awt/color/ICC_ColorSpace.java
5581 (ICC_ColorSpace): Documentation added.
5582 (toRGB): Throw exception, documentation added.
5583 (fromRGB): Throw exception, documentation added.
5584 (toCIEXYZ): Documentation added.
5585 (fromCIEXYZ): Documentation added.
5586 (getMinValue): Documentation added.
5587 (getMaxValue): Documentation added.
5588 * java/awt/geom/Dimension2D.java
5589 (clone): Documentation added.
5590 * java/awt/geom/GeneralPath.java
5591 (clone): Documentation added.
5592 * java/awt/geom/Line2D.java
5593 (clone): Documentation added.
5594 * java/awt/geom/QuadCurve2D.java
5595 (clone): Documentation added.
5596 * java/awt/image/ColorModel.java
5597 (ColorModel): Throw exception, documentation added.
5598 * java/awt/image/ImageFilter.java
5599 (clone): Doesnt throw CloneNotSupportedException.
5600
5601 2003-01-14 Andrew Haley <aph@redhat.com>
5602
5603 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5604 in a try block.
5605
5606 2003-01-10 Andrew Haley <aph@redhat.com>
5607
5608 * include/dwarf2-signal.h: Remove x86_64.
5609 * configure.host (x86_64 DIVIDESPEC): Remove.
5610 * include/x86_64-signal.h: New file.
5611 * configure.in: Regenerate.
5612
5613 2003-01-10 Michael Koch <konqueror@gmx.de>
5614
5615 * java/net/DatagramSocket.java
5616 (ch): Description added.
5617 (remotePort): Initialize with -1.
5618 (connect): Doesnt throws SocketException.
5619 * java/net/MulticastSocket.java
5620 (setInterface): Merge with Classpath.
5621 * java/net/ServerSocket.java
5622 (closed): New member variable.
5623 (bind): Check if socket is closed.
5624 (close): Close an associated channel too, set new value to closed.
5625 (isBound): Reindented.
5626 (isClosed): Implemented.
5627 * java/net/Socket.java
5628 (closed): New member variable.
5629 (bind): Check if socket is closed.
5630 (connect): Check if socket is closed.
5631 (close): Close an associated channel too, set new value to closed.
5632 (isClosed): Implemented.
5633
5634 2003-01-10 Michael Koch <konqueror@gmx.de>
5635
5636 * java/awt/DisplayMode.java
5637 (equals): Fixed argument type and implementation.
5638
5639 2003-01-07 Tom Tromey <tromey@redhat.com>
5640
5641 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5642 JV_HASH_SYNCHRONIZATION.
5643 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5644 JV_HASH_SYNCHRONIZATION.
5645
5646 2003-01-07 Michael Koch <konqueror@gmx.de>
5647
5648 * java/net/DatagramSocket.java:
5649 Added classpath license info.
5650 (DatagramSocket): Merged description with classpath.
5651 (close): Merged description with classpath.
5652 (getChannel): Merged description with classpath.
5653 (getInetAddress): Merged description with classpath.
5654 (getPort): Merged description with classpath.
5655 (getLocalAddress): Merged description with classpath.
5656 (getLocalPort): Merged description with classpath.
5657 (getSoTimeout): Merged description with classpath.
5658 (setSoTimeout): Merged description with classpath.
5659 (getSendBufferSize): Merged description with classpath.
5660 (setSendBufferSize): Merged description with classpath.
5661 (getReceiveBufferSize): Merged description with classpath.
5662 (setReceiveBufferSize): Merged description with classpath.
5663
5664 2003-01-04 Tom Tromey <tromey@redhat.com>
5665
5666 * java/awt/List.java: Merged with Classpath.
5667
5668 2003-01-03 Mark Wielaard <mark@klomp.org>
5669
5670 * java/io/FileDescriptor.java (position): New private field.
5671 * java/io/natFileDescriptorPosix.cc (write): Up position.
5672 (setLength): Use and set position.
5673 (seek): Set position.
5674 (getFilePointer): Return position.
5675 (read): Up position.
5676
5677 2003-01-03 Mark Wielaard <mark@klomp.org>
5678
5679 Merge with Classpath:
5680 * java/io/ObjectStreamClass.java (lookup): Split method and call
5681 lookupForClassObject().
5682 (lookupForClassObject): New method.
5683 (isProxyClass): New field.
5684 (setClass): Set isProxyClass, add object to classLookupTable, set
5685 superClass and calculateOffsets.
5686 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5687 and not a proxy class.
5688 (setFields): Set accessible true for serialPersistentFields.
5689 (getClassUID): Same for suid. And check if suid is of type long.
5690 (hasClassInitializer): Don't throw NoSuchMethodError.
5691
5692 2003-01-03 Mark Wielaard <mark@klomp.org>
5693
5694 * java/io/FileInputStream.java (finalize): Don't explicitly
5695 finalize FileDescriptor.
5696
5697 2003-01-03 Jeff Sturm <jsturm@one-point.com>
5698
5699 * configure.host (sparc*-*): Enable bytecode interpreter.
5700
5701 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
5702
5703 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5704 Don't throw RemoteException.
5705 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5706 throw RemoteException.
5707
5708 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
5709
5710 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5711 proxyHost): New static fields.
5712 (<clinit>): Initialize new fields.
5713 (connect): Use proxy if necessary.
5714 (usingProxy): Implement.
5715
5716 2003-01-03 Eric Blake <ebb9@email.byu.edu>
5717
5718 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5719 (TreeIterator.remove): Prefer IllegalStateException over
5720 ConcurrentModificationException, to match Sun.
5721
5722 2002-12-22 Anthony Green <green@redhat.com>
5723
5724 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5725
5726 2003-01-02 Mark Wielaard <mark@klomp.org>
5727
5728 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5729 public.
5730 (HTTP_USE_PROXY): Add field.
5731 (getResponseVals): Only set responseCode when not yet explicitly
5732 set by subclass.
5733
5734 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
5735 Mark Wielaard <mark@klomp.org>
5736
5737 * java/util/zip/ZipFile.java (entries): Now HashMap.
5738 (readLeShort(DataInput, byte[])): Read from given byte array.
5739 (readLeInt(DataInput, byte[]): Likewise.
5740 (readLeShort(byte[] b, int off)): New method.
5741 (readLeInt(byte[] b, int off)): Likewise.
5742 (readEntries): Use byte arrays to read info in bigger chunks.
5743 (getEntries): Return HashMap.
5744 (getEntry): Use HashMap.
5745 (locBuf): New private field.
5746 (checkLocalHeader): Use locBuf to read info in one chunk.
5747 (getInputStream): Use entries HashMap, wrap PartialInputStream
5748 in BufferedInputStream.
5749 (ZipEntryEnumeration): Use HashMap and Interator.
5750
5751 2003-01-02 Mark Wielaard <mark@klomp.org>
5752 Jeroen Frijters <jeroen@sumatra.nl>
5753
5754 * java/net/URLClassLoader.java (Resource.getCodeSource):
5755 Fix check certs == null.
5756 (getCanonicalFileURL): Removed method.
5757 (JarURLLoader): Don't call removed method.
5758 (FileURLLoader): Likewise.
5759 (FileURLLoader.getResource): Don't canonicalize file name.
5760
5761 2003-01-01 Tom Tromey <tromey@redhat.com>
5762
5763 * Makefile.in: Rebuilt.
5764 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5765 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5766 java/awt/BufferCapabilities.java, java/awt/Button.java,
5767 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5768 java/awt/Container.java, java/awt/Cursor.java,
5769 java/awt/EventQueue.java, java/awt/FileDialog.java,
5770 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5771 java/awt/MenuBar.java, java/awt/MenuComponent.java,
5772 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5773 java/awt/Scrollbar.java, java/awt/TextArea.java,
5774 java/awt/TextField.java, java/awt/color/CMMException.java,
5775 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5776 java/awt/color/ProfileDataException.java,
5777 java/awt/datatransfer/Clipboard.java,
5778 java/awt/datatransfer/DataFlavor.java,
5779 java/awt/datatransfer/FlavorMap.java,
5780 java/awt/datatransfer/SystemFlavorMap.java,
5781 java/awt/dnd/DragGestureEvent.java,
5782 java/awt/dnd/DragGestureRecognizer.java,
5783 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5784 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5785 java/awt/im/InputMethodHighlight.java,
5786 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5787 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5788
5789 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5790 `op' to BufferedImageOp.
5791
5792 2002-12-31 Tom Tromey <tromey@redhat.com>
5793
5794 Fix for PR libgcj/7416:
5795 * javax/naming/InitialContext.java (init): Use
5796 gnu.classpath.home.url.
5797 * java/security/Security.java: Use new properties.
5798 (loadProviders): Accept base url; use it.
5799 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5800 gnu.classpath.home.url.
5801 (gnu.classpath.home.url): Define.
5802 (gnu.classpath.vm.shortname): Likewise.
5803
5804 2002-12-31 Tom Tromey <tromey@redhat.com>
5805 Ranjit Mathew <rmathew@hotmail.com>
5806
5807 Fix for PR libgcj/8997:
5808 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5809 Include platform.h.
5810 * include/posix.h (_Jv_platform_usleep): New function.
5811 * include/win32.h (_Jv_platform_usleep): New function.
5812
5813 2002-12-29 Tom Tromey <tromey@redhat.com>
5814
5815 * gcj/javaprims.h: Updated.
5816 * scripts/classes.pl (scan): Removed stray semicolon.
5817
5818 2002-12-30 Mark Wielaard <mark@klomp.org>
5819
5820 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5821 if zero or smaller.
5822
5823 2002-12-30 Mark Wielaard <mark@klomp.org>
5824
5825 * java/util/Properties (formatForOutput): Don't fall through to
5826 default case after escaping character.
5827
5828 2002-12-30 Mark Wielaard <mark@klomp.org>
5829
5830 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5831 against count.
5832
5833 2002-12-27 Mark Mitchell <mark@codesourcery.com>
5834
5835 * boehm.cc: Remove stray semicolon.
5836 * interpret.cc: Likewise.
5837 * prims.cc: Likewise.
5838 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5839 earlier to ensure default arguments are processed.
5840 * gcj/array.h (JArray): Add forward declaration.
5841 (elements): Likewise.
5842 * gcj/javaprim.h: Remove stray semicolons.
5843 * include/bohm-gc.h: Likewise.
5844 * include/jni.h: Likewise.
5845 * include/jvm.h: Likewise.
5846 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5847
5848 2002-12-23 Jeff Sturm <jsturm@one-point.com>
5849
5850 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5851 of catch_type.
5852 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5853 idt tables after initializing superclass.
5854 * java/lang/natClassLoader.cc (uaddr): New typedef.
5855 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5856 if they are constant pool indicies. Don't link vtable, otable yet.
5857
5858 2002-12-21 Anthony Green <green@redhat.com>
5859
5860 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5861 libraries.
5862 * Makefile.in: Rebuilt.
5863
5864 2002-12-19 Anthony Green <green@redhat.com>
5865
5866 * Makefile.am (ordinary_java_source_files): Add
5867 org/xml/sax/helpers/NewInstance.java.
5868 * Makefile.in: Rebuilt.
5869 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5870 org/xml/sax/helpers/package.html: New files.
5871 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5872 http://www.saxproject.org.
5873
5874 2002-12-19 Andrew Haley <aph@redhat.com>
5875
5876 * java/util/natResourceBundle.cc: Include
5877 ArrayIndexOutOfBoundsException.h.
5878 (getCallingClassLoader): Don't put upper bound on stack search.
5879 Catch ArrayIndexOutOfBoundsException.
5880
5881 2002-12-19 Tom Tromey <tromey@redhat.com>
5882
5883 * libtool-version: Increased `current'.
5884
5885 2002-12-19 Tom Tromey <tromey@redhat.com>
5886
5887 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5888 comment.
5889 * java/lang/ClassLoader.java (defineClass): Use chained
5890 exception when rethrowing.
5891 * defineclass.cc (handleClassBegin): Mark class as interpreted.
5892 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5893 constants.
5894 * resolve.cc (_Jv_PrepareMissingMethods): New function.
5895 (_Jv_PrepareClass): Use it.
5896 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5897 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5898 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5899 (Class): _Jv_PrepareMissingMethods now friend.
5900 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5901 Record `NULL' for system class loader.
5902 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
5903 system class loader.
5904 (_Jv_FindClassInCache): Likewise.
5905 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
5906 (_Jv_FindClass): Special case system class loader.
5907 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5908 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5909 vtable slots.
5910 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5911 in a final class.
5912 (_getDeclaredMethod): Don't return synthetic methods.
5913 (getDeclaredMethods): Likewise.
5914 (_getMethod): Likewise.
5915 (_getMethods): Likewise.
5916
5917 2002-12-18 Raif Naffah <raif@fl.net.au>
5918
5919 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5920 canonical form after divide().
5921 (modInverse): Likewise.
5922
5923 2002-12-13 Casey Marshall <rsdio@metastatic.org>
5924 Mark Wielaard <mark@klomp.org>
5925
5926 * java/security/SecurityRandom (digest): Removed field.
5927 (SecureRandom): Check all providers for case-insensitive SecureRandom
5928 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5929 if necessary.
5930 (getInstance(String,Provider,boolean): New method.
5931 (getInstance(String)): Use new method.
5932 (getInstance(String,String)): Likewise.
5933 (getInstance(String,Provider)): Likewise.
5934
5935 2002-12-13 Casey Marshall <rsdio@metastatic.org>
5936
5937 * java/security/Security.java (loadProviders): Increment i only once.
5938
5939 2002-12-12 Mark Wielaard <mark@klomp.org>
5940
5941 * java/lang/ClassLoader.java (resolveClass0): Transform
5942 ClassNotFoundException to NoClassDefFoundError. Transform all other
5943 throwables to LinkageError.
5944
5945 2002-12-11 Tom Tromey <tromey@redhat.com>
5946
5947 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5948
5949 * java/lang/ClassLoader.java (loadedClasses): New field.
5950 (defineClass): Fixed indentation. Put new class in
5951 loadedClasses.
5952 (findLoadedClass): Implement here.
5953 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5954
5955 2002-12-10 Tom Tromey <tromey@redhat.com>
5956
5957 * Makefile.in: Rebuilt.
5958 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5959 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5960 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5961 * java/lang/natClassLoader.cc
5962 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5963
5964 2002-12-10 Mark Wielaard <mark@klomp.org>
5965 Tom Tromey <tromey@redhat.com>
5966
5967 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5968 (JarURLLoader): Use it.
5969 (FileURLLoader): Likewise.
5970 (JarURLResource.getURL): Use chained exception.
5971 (FileResource.getURL): Likewise.
5972 (FileURLLoader.getResource): Use canonical file name.
5973 (addURL): Indentation fix.
5974
5975 2002-12-10 Tom Tromey <tromey@redhat.com>
5976
5977 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5978 From Laurent Bardet <l.bardet@magic.fr>.
5979
5980 2002-12-09 Tom Tromey <tromey@redhat.com>
5981
5982 * include/win32.h (_Jv_platform_solib_prefix): New define.
5983 (_Jv_platform_solib_suffix): Likewise.
5984 * include/posix.h (_Jv_platform_solib_prefix): New define.
5985 (_Jv_platform_solib_suffix): Likewise.
5986 * java/lang/natRuntime.cc: Include StackTrace.h.
5987 (_load): Use findLibrary and new platform defines.
5988 (nativeGetLibname): Use new platform defines.
5989
5990 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5991 `t' won't be null.
5992
5993 2002-12-08 Mark Wielaard <mark@klomp.org>
5994
5995 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5996 cache remote jar files.
5997 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5998 add File.separator to URL when it is a directory.
5999 * java/lang/ClassLoader.java: Add Classpath javadoc.
6000 (parent): final.
6001 (getParent): Add (disabled) security check.
6002 (findLibrary): New default method.
6003 * java/net/JarURLConnection.java (getManifest): Implement.
6004 (getInputStream): Only create InputStream when entry exists.
6005 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6006 when they exist.
6007 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6008
6009 2002-12-08 Mark Wielaard <mark@klomp.org>
6010
6011 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6012 (lastDefaultLocale): New field.
6013 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6014 resourceBundleCache.
6015
6016 2002-12-06 Mark Wielaard <mark@klomp.org>
6017
6018 * java/net/InetAddress.java (toString): Use hostname when not null,
6019 don't do an explicit reverse getHostName() lookup.
6020 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6021 NullPointerException.
6022
6023 2002-12-06 Tom Tromey <tromey@redhat.com>
6024
6025 * include/java-interp.h (class _Jv_InterpMethod): Added
6026 JV_MARKOBJ_DECL.
6027 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6028 mark `prepared' field of interpreted method.
6029 * interpret.cc (compile): Use _Jv_AllocBytes.
6030
6031 2002-12-05 Andrew Haley <aph@redhat.com>
6032
6033 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6034 #ifdef (HAVE_BACKTRACE) around the whole function body.
6035
6036 2002-12-05 Tom Tromey <tromey@redhat.com>
6037
6038 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6039 * resolve.cc: Don't include AbstractMethodError.h.
6040 (_Jv_abstractMethodError): Removed.
6041 * defineclass.cc (handleMethodsBegin): Initialize method index to
6042 -1.
6043 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6044 method index for "new" final method.
6045 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6046 isVirtualMethod. Added `flags' argument.
6047 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6048 class.
6049
6050 2002-12-04 Tom Tromey <tromey@redhat.com>
6051
6052 * java/net/SocketPermission.java (hashCode): Rewrote.
6053
6054 2002-12-04 Tom Tromey <tromey@redhat.com>
6055
6056 * Makefile.in: Rebuilt.
6057 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6058 natResourceBundle.
6059 * java/util/ResourceBundle.java (Security): Removed.
6060 (getCallingClassLoader): Now native.
6061 * java/util/natResourceBundle.cc: New file.
6062 * java/lang/natVMSecurityManager.cc: New file.
6063 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6064
6065 2002-12-03 Mark Wielaard <mark@klomp.org>
6066
6067 * java/util/jar/JarFile.java (manifest): Not final.
6068 (manifestRead): New field.
6069 (JarFile): Don't read Manifest in constructor.
6070 (getManifest): New method.
6071 (JarEnumeration.nextElement): Use new method.
6072 (getEntry): Likewise.
6073 * java/util/zip/ZipFile.java (name): Final.
6074 (raf): Likewsie.
6075 (entries): Change type to Hashtable.
6076 (closed): New field.
6077 (ZipFile): Don't read enties in constructor.
6078 (readEntries): Use Hashtable.
6079 (close): Set new close flag and set entries to null inside
6080 synchronized block.
6081 (entries): Contruct enumeration using new getEntries() method and
6082 entries Hashtable.
6083 (getEntryIndex): Removed.
6084 (getEntries): New method.
6085 (getEntry): Use new getEntries() method and entries Hastable.
6086 (getInputStream): Likewise.
6087 (size): Return getEntries().size().
6088 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6089 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6090 (time): Removed
6091 (dostime): New field.
6092 (zipFileIndex): Removed.
6093 (ZipEntry(ZipEntry)): Copy dostime.
6094 (setDOSTime): Now final and doesn't convert dos time.
6095 (getDOSTime): Likewise.
6096 (setTime): Convert dos time.
6097 (getTime): Likewise.
6098 (getCalendar): New method.
6099 (setExtra): Use setTime().
6100 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6101
6102 2002-12-03 Tom Tromey <tromey@redhat.com>
6103
6104 * java/lang/Character.java (forDigit): Formatting fix.
6105
6106 2002-12-03 Raif Naffah <raif@fl.net.au>
6107
6108 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6109 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6110 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6111
6112 2002-12-03 Andrew Haley <aph@redhat.com>
6113
6114 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6115 _Jv_PushClass.
6116 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6117 (_Jv_PopClass): New.
6118 (_Jv_PushClass): New.
6119 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6120 discover the ClassLoader of our caller.
6121 (_Jv_CheckArrayStore): Don't check that a class is assignment
6122 compatible with Object.
6123 * java/lang/natVMTHrowable.cc: Delete.
6124 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6125 java.lang.VMThrowable.
6126 (StackTrace(), StackTrace(int)): New constructors.
6127 (classAt, methodAt, update, methodAtAddress): New methods.
6128 (map): New field.
6129 * java/lang/VMThrowable.java: Use StackTrace instead of
6130 natVMTHrowable.
6131 * java/lang/Class.h (getClassLoaderInternal): New.
6132 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6133 Be friendly with gnu::gcj::runtime::StackTrace.
6134 (Object.chain): New field.
6135 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6136 gnu::gcj::runtime::StackTrace.
6137 * gnu/gcj/runtime/natStackTrace.cc: New file.
6138 * gnu/gcj/runtime/MethodRef.java: New file.
6139 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6140 instead of getClassLoader().
6141 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6142 java::lang::VMThrowable.
6143 * Makefile.am (core_java_source_files): Add MethodRef.java,
6144 StackTrace.java.
6145 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6146 * Makefile.in: Rebuild.
6147
6148 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6149
6150 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6151 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6152 yes also for sh-linux* and sh[34]*-linux*.
6153 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6154 set SIGNAL_HANDLER to use DWARF2 exception for them.
6155 * configure: Regenerate.
6156
6157 2002-12-02 Tom Tromey <tromey@redhat.com>
6158
6159 * jni.cc: Added `name' argument.
6160 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6161 `const char *' argument.
6162 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6163
6164 2002-12-01 Tom Tromey <tromey@redhat.com>
6165
6166 Bug compatibility, for PR libgcj/8738:
6167 * java/io/CharArrayWriter.java (close): Do nothing.
6168 (flush): Likewise.
6169 (reset): Don't touch `closed'.
6170 (write(int)): Don't throw IOException.
6171 (write(char[],int,int)): Likewise.
6172 (write(String,int,int)): Likewise.
6173 (closed): Removed.
6174
6175 2002-12-01 Mark Wielaard <mark@klomp.org>
6176
6177 * java/lang/SecurityManager.java: Remerge comments, indenting and
6178 checkXXX methods with Classpath.
6179
6180 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6181
6182 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6183 getNormalizedComponents): Fix calculation which was using one too
6184 many bits in the unnormalized format.
6185
6186 2002-11-29 Gary Benson <gbenson@redhat.com>
6187
6188 For PR libgcj/8759:
6189 * java/beans/Introspector.java (flushCaches): New method.
6190 (flushFromCaches): Likewise.
6191
6192 2002-11-29 Michael Koch <konqueror@gmx.de>
6193
6194 * java/nio/channels/DatagramChannel.java
6195 (open): Added exception documentation.
6196 (write): Added exception documentation.
6197 (connect): Added exception documentation.
6198 (disconnect): Added exception documentation.
6199 (isConnected): Added exception documentation.
6200 (read): Added exception documentation.
6201 (receive): Added exception documentation.
6202 (send): Added exception documentation.
6203 (validOps): Added exception documentation.
6204 * java/nio/channels/SocketChannel.java
6205 (open): Added exception documentation.
6206 (read): Added exception documentation.
6207 (write): Added exception documentation.
6208 (connect): Added exception documentation.
6209 (finishConnect): Added exception documentation.
6210
6211 2002-11-29 Michael Koch <konqueror@gmx.de>
6212
6213 * gnu/java/nio/DatagramChannelImpl:
6214 (fd): New member variable to store file descriptor of socket.
6215 * gnu/java/nio/SelectionKeyImpl.java:
6216 (ops): Removed.
6217 (readyOps): New member variable.
6218 (interestOps): New member variable.
6219 (readyOps): Implemented.
6220 (readyOps): New method to set member variable readyOps.
6221 (interestOps): Replaced ops by interestOps.
6222 * gnu/java/nio/SelectorImpl.java:
6223 (SelectorImpl): Initialize key sets.
6224 (select): Call select with -1 instead of Long.MAX_VALUE).
6225 (java_do_select): Make it a native method.
6226 (getFDsAsArray): New helper method.
6227 (select): Remove canceled keys, give only interested file discriptors
6228 to java_do_select, set ready ops.
6229 (add): No need to initialize keys set here.
6230 (add_selected): No need to initialize selected set here.
6231 (deregisterCanceledKeys): New helper method.
6232 (register): Set interest ops, set attachments, added handling of datagram
6233 channels.
6234 * gnu/java/nio/ServerSocketChannelImpl:
6235 (SocketAccept): Renamed from NioSocketAccept.
6236 (implConfigureBlocking): Implemented.
6237 (accept): Use SocketAccept instead of NioSocketAccept.
6238 * gnu/java/nio/SocketChannelImpl:
6239 Reactivate native methods.
6240
6241 2002-11-29 Michael Koch <konqueror@gmx.de>
6242
6243 * gnu/java/nio/natByteBufferImpl.cc,
6244 gnu/java/nio/natCharBufferImpl.cc,
6245 gnu/java/nio/natDoubleBufferImpl.cc,
6246 gnu/java/nio/natFloatBufferImpl.cc,
6247 gnu/java/nio/natIntBufferImpl.cc,
6248 gnu/java/nio/natLongBufferImpl.cc,
6249 gnu/java/nio/natSelectorImpl.cc,
6250 gnu/java/nio/natServerSocketChannelImpl.cc,
6251 gnu/java/nio/natShortBufferImpl.cc,
6252 gnu/java/nio/natSocketChannelImpl.cc:
6253 New files that implement native functionalities.
6254
6255 2002-11-29 Michael Koch <konqueror@gmx.de>
6256
6257 * gnu/java/nio/ByteBufferImpl.java
6258 (ByteBufferImpl): Moved position() after limit.
6259 (nio_*): Use native implementation.
6260 * gnu/java/nio/CharBufferImpl.java:
6261 Reformated.
6262 (endian): New member variable string endianess of buffer.
6263 (CharBufferImpl): Moved position() after limit.
6264 (nio_*): Use native implementation.
6265 (subSequence): Implemented.
6266 * gnu/java/nio/DoubleBufferImpl.java
6267 (DoubleBufferImpl): Moved position() after limit.
6268 (nio_*): Use native implementation.
6269 * gnu/java/nio/FloatBufferImpl.java
6270 Reformated.
6271 (FloatBufferImpl): Moved position() after limit.
6272 (nio_*): Use native implementation.
6273 * gnu/java/nio/IntBufferImpl.java
6274 Added needed imports, Reformated.
6275 (IntBufferImpl): Moved position() after limit.
6276 (nio_*): Use native implementation.
6277 * gnu/java/nio/LongBufferImpl.java
6278 Reformated.
6279 (LongBufferImpl): Moved position() after limit.
6280 (nio_*): Use native implementation.
6281 * gnu/java/nio/ShortBufferImpl.java
6282 Reformated.
6283 (ShortBufferImpl): Moved position() after limit.
6284 (nio_*): Use native implementation.
6285
6286 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6287
6288 * java/util/Locale.java (toString): Improve efficiency if country
6289 and variant are both empty.
6290
6291 2002-11-26 Tom Tromey <tromey@redhat.com>
6292
6293 * verify.cc (pop_init_ref): New method.
6294 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6295 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6296 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6297 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6298 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6299 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6300 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6301 let `this' argument be uninitialized. Don't let `null' be passed
6302 as `this' to construtor.
6303
6304 2002-11-26 Mark Wielaard <mark@klomp.org>
6305
6306 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6307 * javax/transaction/HeuristicMixedException.java: Likewise.
6308 * javax/transaction/HeuristicRollbackException.java: Likewise.
6309 * javax/transaction/InvalidTransactionException.java: Likewise.
6310 * javax/transaction/NotSupportedException.java: Likewise.
6311 * javax/transaction/RollbackException.java: Likewise.
6312 * javax/transaction/Status.java: Likewise.
6313 * javax/transaction/Synchronization.java: Likewise.
6314 * javax/transaction/SystemException.java: Likewise.
6315 * javax/transaction/Transaction.java: Likewise.
6316 * javax/transaction/TransactionManager.java: Likewise.
6317 * javax/transaction/TransactionRequiredException.java: Likewise.
6318 * javax/transaction/TransactionRolledbackException.java: Likewise.
6319 * javax/transaction/UserTransaction.java: Likewise.
6320 * javax/transaction/xa/XAException.java: Likewise.
6321 * javax/transaction/xa/XAResource.java: Likewise.
6322 * javax/transaction/xa/Xid.java: Likewise.
6323
6324 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6325
6326 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6327 define.
6328 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6329 * include/posix.h (socklen_t): Define if not already defined.
6330
6331 2002-11-25 Tom Tromey <tromey@redhat.com>
6332
6333 * verify.cc (type::compatible): Backed out broken change.
6334
6335 * verify.cc (type::compatible): Check initialization status
6336 first.
6337 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6338 Don't use NULLCHECK.
6339
6340 2002-11-23 H.J. Lu <hjl@gnu.org>
6341
6342 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6343 Include ../config/accross.m4.
6344 * aclocal.m4; Rebuild.
6345 * configure: Likewise.
6346
6347 2002-11-23 Mark Wielaard <mark@klomp.org>
6348
6349 * javax/naming/AuthenticationException.java: Update copyright header.
6350 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6351 * javax/naming/Binding.java: Likewise.
6352 * javax/naming/CannotProceedException.java: Likewise.
6353 * javax/naming/CommunicationException.java: Likewise.
6354 * javax/naming/CompositeName.java: Likewise.
6355 * javax/naming/CompoundName.java: Likewise.
6356 * javax/naming/ConfigurationException.java: Likewise.
6357 * javax/naming/Context.java: Likewise.
6358 * javax/naming/ContextNotEmptyException.java: Likewise.
6359 * javax/naming/InitialContext.java: Likewise.
6360 * javax/naming/InsufficientResourcesException.java: Likewise.
6361 * javax/naming/InterruptedNamingException.java: Likewise.
6362 * javax/naming/LimitExceededException.java: Likewise.
6363 * javax/naming/LinkException.java: Likewise.
6364 * javax/naming/LinkLoopException.java: Likewise.
6365 * javax/naming/LinkRef.java: Likewise.
6366 * javax/naming/MalformedLinkException.java: Likewise.
6367 * javax/naming/NameAlreadyBoundException.java: Likewise.
6368 * javax/naming/NameClassPair.java: Likewise.
6369 * javax/naming/NameNotFoundException.java: Likewise.
6370 * javax/naming/NameParser.java: Likewise.
6371 * javax/naming/NamingEnumeration.java: Likewise.
6372 * javax/naming/NamingSecurityException.java: Likewise.
6373 * javax/naming/NoInitialContextException.java: Likewise.
6374 * javax/naming/NoPermissionException.java: Likewise.
6375 * javax/naming/NotContextException.java: Likewise.
6376 * javax/naming/OperationNotSupportedException.java: Likewise.
6377 * javax/naming/PartialResultException.java: Likewise.
6378 * javax/naming/Reference.java: Likewise.
6379 * javax/naming/Referenceable.java: Likewise.
6380 * javax/naming/ReferralException.java: Likewise.
6381 * javax/naming/ServiceUnavailableException.java: Likewise.
6382 * javax/naming/SizeLimitExceededException.java: Likewise.
6383 * javax/naming/TimeLimitExceededException.java: Likewise.
6384 * javax/naming/directory/Attribute.java: Likewise.
6385 * javax/naming/directory/AttributeInUseException.java: Likewise.
6386 * javax/naming/directory/AttributeModificationException.java: Likewise.
6387 * javax/naming/directory/Attributes.java: Likewise.
6388 * javax/naming/directory/BasicAttribute.java: Likewise.
6389 * javax/naming/directory/BasicAttributes.java: Likewise.
6390 * javax/naming/directory/DirContext.java: Likewise.
6391 * javax/naming/directory/InitialDirContext.java: Likewise.
6392 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6393 Likewise.
6394 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6395 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6396 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6397 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6398 * javax/naming/directory/ModificationItem.java: Likewise.
6399 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6400 * javax/naming/directory/SchemaViolationException.java: Likewise.
6401 * javax/naming/directory/SearchControls.java: Likewise.
6402 * javax/naming/directory/SearchResult.java: Likewise.
6403 * javax/naming/event/EventContext.java: Likewise.
6404 * javax/naming/event/EventDirContext.java: Likewise.
6405 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6406 * javax/naming/event/NamingEvent.java: Likewise.
6407 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6408 * javax/naming/event/NamingListener.java: Likewise.
6409 * javax/naming/event/ObjectChangeListener.java: Likewise.
6410 * javax/naming/ldap/Control.java: Likewise.
6411 * javax/naming/ldap/ControlFactory.java: Likewise.
6412 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6413 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6414 * javax/naming/ldap/HasControls.java: Likewise.
6415 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6416 * javax/naming/ldap/LdapContext.java: Likewise.
6417 * javax/naming/ldap/LdapReferralException.java: Likewise.
6418 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6419 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6420 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6421 * javax/naming/spi/DirObjectFactory.java: Likewise.
6422 * javax/naming/spi/DirStateFactory.java: Likewise.
6423 * javax/naming/spi/DirectoryManager.java: Likewise.
6424 * javax/naming/spi/InitialContextFactory.java: Likewise.
6425 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6426 * javax/naming/spi/NamingManager.java: Likewise.
6427 * javax/naming/spi/ObjectFactory.java: Likewise.
6428 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6429 * javax/naming/spi/ResolveResult.java: Likewise.
6430 * javax/naming/spi/Resolver.java: Likewise.
6431 * javax/naming/spi/StateFactory.java: Likewise.
6432
6433 * javax/naming/spi/NamingManager.java (ofb): Package private.
6434
6435 2002-11-21 Mark Wielaard <mark@klomp.org>
6436
6437 * java/net/URL.java: Merge with Classpath (partly).
6438 * java/net/URLStreamHandler: Merge with Classpath.
6439
6440 2002-11-22 Michael Koch <konqueror@gmx.de>
6441
6442 * include/posix.h:
6443 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6444 * include/win32.h:
6445 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6446 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6447
6448 2002-11-21 Michael Koch <konqueror@gmx.de>
6449
6450 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6451 Only the new network functions should be in it.
6452
6453 2002-11-21 Michael Koch <konqueror@gmx.de>
6454
6455 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6456 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6457
6458 2002-11-21 Michael Koch <konqueror@gmx.de>
6459
6460 * java/nio/channels/AsynchronousCloseException.java,
6461 java/nio/channels/CancelledKeyException.java,
6462 java/nio/channels/ClosedByInterruptException.java,
6463 java/nio/channels/ConnectionPendingException.java,
6464 java/nio/channels/FileLockInterruptionException.java,
6465 java/nio/channels/IllegalSelectorException.java,
6466 java/nio/channels/NoConnectionPendingException.java,
6467 java/nio/channels/NonReadableChannelException.java,
6468 java/nio/channels/NonWritableChannelException.java,
6469 java/nio/channels/NotYetBoundException.java,
6470 java/nio/channels/NotYetConnectedException.java,
6471 java/nio/channels/OverlappingFileLockException.java,
6472 java/nio/channels/UnresolvedAddressException.java,
6473 java/nio/channels/UnsupportedAddressTypeException.java:
6474 New files.
6475 * Makefile.am (ordinary_java_source_files): Added new files.
6476 * Makefile.in: Regenerated.
6477
6478 2002-11-21 Michael Koch <konqueror@gmx.de>
6479
6480 * include/posix.h
6481 (_Jv_socket): New method.
6482 (_Jv_connect): New method.
6483 (_Jv_close): New method.
6484 (_Jv_platform_close_on_exec): Prefixed system function with "::".
6485 (_Jv_bind): New method.
6486 (_Jv_listen): New method.
6487 (_Jv_write): New method.
6488 (_Jv_read): New method.
6489 * include/win32.h
6490 (_Jv_socket): New method.
6491 (_Jv_connect): New method.
6492 (_Jv_close): New method.
6493 (_Jv_bind): New method.
6494 (_Jv_listen): New method.
6495 (_Jv_write): New method.
6496 (_Jv_read): New method.
6497 * java/net/natNetworkInterface.cc:
6498 Include platform.h, removed inclusion of socket.h
6499 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6500 ::close() by _Jv_close().
6501 * java/net/natPlainDatagramSocketImpl.cc:
6502 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6503 added some new lines to make code more readable.
6504 (create): Replaced ::socket() by _Jv_socket().
6505 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6506 * java/net/natPlainSocketImpl.cc:
6507 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6508 removed include of socket.h, removed some windows defines
6509 (now in include/win32.h).
6510 (create): Replaced ::socket() by _Jv_socket().
6511 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6512 (write): Replaced ::read by _Jv_write().
6513 (read): Replaced ::read by _Jv_read().
6514
6515 2002-11-20 Michael Koch <konqueror@gmx.de>
6516
6517 * Makefile.am (ordinary_java_source_files):
6518 Added java/nio/channels/FileChannel.java.
6519 * Makefile.in: Regenerated.
6520
6521 2002-11-20 Michael Koch <konqueror@gmx.de>
6522
6523 * java/io/FileInputStream.java
6524 (getChannel): New method.
6525 * java/io/FileOutputStream.java
6526 (getChannel): New method.
6527 * java/net/ServerSocket.java
6528 (bind): Removed duplicate code and called another bind method instead.
6529 * java/nio/channels/SelectionKey.java
6530 (isValid): Removed wrong exception documentation.
6531 * java/nio/channels/ServerSocketChannel.java
6532 (accept): Added exception documentation.
6533 (open): Fixed typo, added exception documentation.
6534 * java/nio/channels/spi/AbstractSelectableChannel.java
6535 (implCloseChannel): Added exception documentation.
6536 (add): Reformated.
6537 (register): Added exception documentation.
6538
6539 2002-11-20 Andreas Jaeger <aj@suse.de>
6540
6541 * configure: Regenerated with new libtool.m4.
6542
6543 2002-11-19 Tom Tromey <tromey@redhat.com>
6544
6545 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6546 `referent'.
6547 (finalize_referred_to_object): Don't modify `referent' or `copy'
6548 fields.
6549 (add_to_hash): Correctly set `n->next' when updating list.
6550 * java/lang/ref/Reference.java (enqueue): Return false if already
6551 enqueued.
6552
6553 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
6554
6555 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6556 to function and function pointer declarations in accordance with
6557 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6558 based on whether __GCJ_JNI_IMPL__ has been defined or not.
6559 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6560 JNI function definitions.
6561
6562 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6563
6564 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6565 that was causing CoderResults to be cached, not WeakReferences
6566 to CoderResults.
6567
6568 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6569
6570 * java/security/KeyStore.java (getInstance): Fix
6571 comment and throw IllegalArgumentException if
6572 given provider is null.
6573 (getInstance): New method for jdk1.4 compatibility.
6574
6575 2002-11-18 Michael Koch <konqueror@gmx.de>
6576
6577 * java/net/PlainSocketImpl.java: Fix imports.
6578
6579 2002-11-18 Michael Koch <konqueror@gmx.de>
6580
6581 * java/nio/channels/SelectionKey.java
6582 (isValid): Added exception documentation.
6583 * java/nio/channels/Selector.java
6584 (open): Declare "throws IOException".
6585
6586 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6587
6588 * java/nio/charset/Charset.java
6589 (<clinit>): New method.
6590 (encode): Synchronize use of cached encoder object.
6591 (decode): Synchronize use of cached encoder object.
6592
6593 2002-11-18 Michael Koch <konqueror@gmx.de>
6594
6595 * gnu/java/nio/ByteBufferImpl.java,
6596 gnu/java/nio/CharBufferImpl.java,
6597 gnu/java/nio/DatagramChannelImpl.java,
6598 gnu/java/nio/DoubleBufferImpl.java,
6599 gnu/java/nio/FileChannelImpl.java,
6600 gnu/java/nio/FloatBufferImpl.java,
6601 gnu/java/nio/IntBufferImpl.java,
6602 gnu/java/nio/LongBufferImpl.java,
6603 gnu/java/nio/PipeImpl.java,
6604 gnu/java/nio/SelectionKeyImpl.java,
6605 gnu/java/nio/SelectorImpl.java,
6606 gnu/java/nio/SelectorProviderImpl.java,
6607 gnu/java/nio/ServerSocketChannelImpl.java,
6608 gnu/java/nio/ShortBufferImpl.java,
6609 gnu/java/nio/SocketChannelImpl.java,
6610 java/nio/DoubleBuffer.java,
6611 java/nio/FloatBuffer.java,
6612 java/nio/IntBuffer.java,
6613 java/nio/LongBuffer.java,
6614 java/nio/ShortBuffer.java,
6615 java/nio/channels/FileChannel.java: New files.
6616
6617 2002-11-18 Michael Koch <konqueror@gmx.de>
6618
6619 * Makefile.am (ordinary_java_source_files):
6620 Added java/nio/ReadOnlyBufferException.java and
6621 java/nio/channels/ClosedSelectorException.java.
6622 * Makefile.in: Regenerated.
6623
6624 2002-11-18 Michael Koch <konqueror@gmx.de>
6625
6626 * java/net/PlainSocketImpl.java: Reworked imports.
6627 * java/net/ServerSocket.java
6628 (ServerSocket): Create socket.
6629 * java/net/SocketAddress.java: Documentation added.
6630 * java/net/natPlainSocketImpl.cc: Reindented.
6631 * java/nio/ReadOnlyBufferException.java: New file
6632 * java/nio/channels/ClosedChannelException.java: Documentation added.
6633 * java/nio/channels/ClosedSelectorException.java: New file.
6634
6635 2002-11-17 Mark Wielaard <mark@klomp.org>
6636
6637 * java/net/HttpURLConnection.java ((getPermission): Take port
6638 into consideration.
6639 (getErrorStream): Implement.
6640
6641 2002-11-17 Mark Wielaard <mark@klomp.org>
6642
6643 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6644
6645 2002-11-16 Mark Wielaard <mark@klomp.org>
6646
6647 Integrate work by Raif S. Naffah (raif@fl.net.au)
6648 * java/security/DummyKeyPairGenerator.java (clone): New method.
6649 * java/security/DummyMessageDigest.java (clone): New method.
6650 (engineUpdate): Now public.
6651 (engineReset): Likewise.
6652 (engineDigest): Likewise.
6653 (engineGetDigestLength): New method.
6654 * java/security/DummySignature.java (clone): New method.
6655 * java/security/KeyPairGenerator.java (provider): Now package private.
6656 (getInstance(String)): Use getInstance(String,Provider).
6657 (getInstance(String,String): Use getInstance(String,Provider)
6658 (getInstance(String,Provider): New method.
6659 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6660 * java/security/KeyPairGeneratorSpi.java (clone): New method.
6661 * java/security/MessageDigest.java (provider): Now package private.
6662 (getInstance(String): Use getInstance(String,Provider).
6663 (getInstance(String,String): Use getInstance(String,Provider)
6664 (getInstance(String,Provider): New method.
6665 * java/security/Provider.java (toCanonicalKey): New method.
6666 (get): New method that uses toCanonicalKey().
6667 (put): Use toCanonicalKey().
6668 (remove): Likewise.
6669 * java/security/Security.java (insertProviderAt): Provider index is one
6670 based, not zero based.
6671 (addProvider): Likewise.
6672 (removeProvider): Likewise.
6673 * java/security/Signature.java (provider): Now package private.
6674 (getInstance(String)): Use getInstance(String,Provider).
6675 (getInstance(String,String): Use getInstance(String,Provider)
6676 (getInstance(String,Provider): New method.
6677 (getInstance(String,String,Provider): Don't cast DummySignature.
6678
6679 2002-11-15 Tom Tromey <tromey@redhat.com>
6680
6681 For PR libgcj/8593:
6682 * java/util/zip/GZIPInputStream.java (read): Check file size.
6683 Look in inflater for remaining input bytes.
6684 (read4): Added buf and offset arguments.
6685
6686 2002-11-12 Eric Blake <ebb9@email.byu.edu>
6687
6688 * java/applet/AppletContext.java: Fix typo and remove redundant
6689 modifiers.
6690
6691 2002-11-14 Tom Tromey <tromey@redhat.com>
6692
6693 * java/lang/natRuntime.cc (insertSystemProperties): Set
6694 gnu.classpath.home.
6695
6696 2002-11-13 Michael Koch <konqueror@gmx.de>
6697
6698 * java/nio/ByteBuffer.java
6699 (allocate): New method.
6700 (wrap): New method.
6701 (put): New method.
6702 (get): New method.
6703
6704 2002-11-13 Michael Koch <konqueror@gmx.de>
6705
6706 * java/nio/channels/AlreadyConnectedException.java:
6707 Removed unneeded import.
6708 (AlreadyConnectedException): Documentation added.
6709 * java/nio/channels/Pipe.java
6710 (SinkChannel.SinkChannel): Documentation added.
6711 (SinkChannel.validOps): New method.
6712 (SourceChannel.SourceChannel): Documentation added.
6713 (SourceChannel.validOps): New method.
6714 (Pipe): Documentation added.
6715 (open): Documentation added.
6716 (SinkChannel.channel): Documentation added.
6717 (SourceChannel.channel): Documentation added.
6718 * java/nio/channel/SelectableChannel.java
6719 (SelectableChannel): Documentation added.
6720 (blockingLock): Documentation added.
6721 (configureBlocking):Documentation added.
6722 (isBlocking):Documentation added.
6723 (isRegistered):Documentation added.
6724 (keyFor):Documentation added.
6725 (provider):Documentation added.
6726 (register): Documentation added.
6727 (validOps): Documentation added.
6728 * jaba/nio/channels/SelectionKey.java
6729 (SelectionKey): Documentation added.
6730 (attach): Documentation added.
6731 (attachment): Documentation added.
6732 (isAcceptable): Documentation added.
6733 (isConnetable): Documentation added.
6734 (isReadable): Documentation added.
6735 (isWritable): Documentation added.
6736 (cancel): Documentation added.
6737 (channel): Documentation added.
6738 (interestOps): Documentation added.
6739 (isValid): Documentation added.
6740 (readyOps): Documentation added.
6741 (selector): Documentation added.
6742 * jaba/nio/channels/Selector.java
6743 (Selector): Documentation added.
6744 (open): Documentation added.
6745 (close): Documentation added.
6746 (isOpen): Documentation added.
6747 (keys): Documentation added.
6748 (provider): Documentation added.
6749 (select): Documentation added.
6750 (selectedKeys): Documentation added.
6751 (selectNow): Documentation added.
6752 (wakeup): Documentation added.
6753 * java/nio/channels/spi/AbstractInterruptibleChannel.java
6754 (AbstractInterruptibleChannel): Documentation added.
6755 (opened): Default to true;
6756 (begin): Documentation added.
6757 (close): Set opened to false, documentation added.
6758 (isOpen): Documentation added.
6759 * java/nio/channels/spi/AbstractSelectionKey.java
6760 (AbstractSelectionKey): Documentation added.
6761 (cancel): Documentation added.
6762 (isValid): Documentation added.
6763 * java/nio/channels/spi/AbstractSelector.java
6764 (AbstractSelector): Documentation added.
6765 (begin): Documentation added.
6766 (close): Documentation added.
6767 (isOpen): Documentation added.
6768 (deregister): Documentation added.
6769 (end): Documentation added.
6770 (provider): Documentation added.
6771 (implCloseSelector): Documentation added.
6772 (register): Documentation added.
6773 * java/nio/channels/spi/SelectorProvider.java
6774 (SelectorProvider): Documentation added.
6775 (openDatagramChannel): Documentation added.
6776 (openPipe): Documentation added.
6777 (openSelector): Documentation added.
6778 (openServerSocketChannel): Documentation added.
6779 (openSocketChannel): Documentation added.
6780 (provider): Documentation added.
6781
6782 2002-11-12 Michael Koch <konqueror@gmx.de>
6783
6784 * java/nio/Buffer.java: Implemented.
6785 * java/nio/CharBuffer.java: New file.
6786 * java/nio/InvalidMarkException.java: New file.
6787 * java/nio/channels/DatagramChannel.java: Implemented.
6788 * java/nio/channels/ServerSocketChannel.java: Implemented.
6789 * java/nio/channels/SocketChannel.java: Implemented.
6790 * java/nio/channels/spi/AbstractChannel.java: Removed.
6791 * java/nio/channels/spi/AbstractSelectableChannel.java:
6792 Implemented.
6793 * java/nio/charset/Charset.java:
6794 Merge from Classpath.
6795 * java/nio/charset/CharsetDecoder.java: New file.
6796 * java/nio/charset/CharsetEncoder.java: New file.
6797 * java/nio/charset/CoderResult.java: New file.
6798 * Makefile.am (ordinary_java_source_files): Added new files.
6799 * Makefile.in: Regenerated.
6800
6801 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6802
6803 * gnu/java/nio/charset/ISO_8859_1.java,
6804 gnu/java/nio/charset/Provider.java,
6805 gnu/java/nio/charset/US_ASCII.java,
6806 gnu/java/nio/charset/UTF_16.java,
6807 gnu/java/nio/charset/UTF_16BE.java,
6808 gnu/java/nio/charset/UTF_16Decoder.java,
6809 gnu/java/nio/charset/UTF_16Encoder.java,
6810 gnu/java/nio/charset/UTF_16LE.java,
6811 gnu/java/nio/charset/UTF_8.java: New files.
6812
6813 2002-11-11 Michael Koch <konqueror@gmx.de>
6814
6815 * java/nio/charset/CharacterCodingException.java:
6816 This class must be public.
6817 * java/nio/charset/CoderMalfunctionError.java:
6818 This class must be public.
6819 * java/nio/charset/CodingErrorAction.java:
6820 This class must be public.
6821 * java/nio/charset/IllegalCharsetNameException.java:
6822 This class must be public, better implementation.
6823 * java/nio/charset/MalformedInputException.java:
6824 This class must be public, better implementation.
6825 * java/nio/charset/UnmappableCharacterException.java:
6826 This class must be public, better implementation.
6827 * java/nio/charset/UnsupportedCharsetException.java:
6828 This class must be public, better implementation.
6829
6830 2002-11-11 Michael Koch <konqueror@gmx.de>
6831
6832 * java/nio/BufferOverflowException.java,
6833 java/nio/BufferUnderflowException.java: New file.
6834 * Makefile.am (ordinary_java_source_files):
6835 Added new files.
6836 * Makefile.in: Regenerated.
6837
6838 2002-11-10 Tom Tromey <tromey@redhat.com>
6839
6840 * java/awt/Container.java (validate): Use tree lock.
6841 (getComponent): Likewise.
6842 (getComponents): Likewise.
6843 (addImpl): Likewise.
6844 (remove): Likewise.
6845 (removeAll): Likewise.
6846 (processEvent): Fixed indentation.
6847 (getComponentAt): Use tree lock.
6848 (findComponentAt): Likewise.
6849 (removeNotify): Likewise.
6850 (isAncestorOf): Likewise.
6851 (list): Likewise.
6852 (visitChildren): Likewise.
6853 (findNextFocusComponent): Likewise.
6854 (addNotifyContainerChildren): Likewise.
6855 (getAccessibleChildrenCount): Likewise.
6856 (getAccessibleChild): Likewise.
6857
6858 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6859 (getSize): Likewise.
6860 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6861 (getSize): Likewise.
6862 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6863 (calcSize): Likewise.
6864 * java/awt/CardLayout.java (getSize): Use tree lock.
6865 (gotoComponent): Likewise.
6866 (layoutContainer): Likewise.
6867
6868 * java/io/natFileDescriptorWin32.cc (read): Handle case where
6869 count is 0.
6870 * java/io/natFileDescriptorPosix.cc (read): Handle case where
6871 count is 0.
6872
6873 * java/io/Externalizable.java, java/io/FilePermission.java,
6874 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6875 java/io/SerializablePermission.java, java/text/Format.java,
6876 java/util/AbstractMap.java, java/util/HashMap.java,
6877 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6878 versions from Classpath.
6879
6880 2002-11-10 Anthony Green <green@redhat.com>
6881
6882 * java/util/jar/Attributes.java (Name): Fix name check.
6883
6884 2002-11-10 Mark Wielaard <mark@klomp.org>
6885
6886 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6887 with getName() as message.
6888 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6889 type as message.
6890
6891 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6892 unused.
6893
6894 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
6895
6896 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6897 for Win32. JNICALL has been defined to __stdcall to be compatible
6898 with Sun's JDKs.
6899
6900 2002-11-10 Tom Tromey <tromey@redhat.com>
6901
6902 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6903 (setRows): Check newRows, not rows.
6904
6905 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6906
6907 2002-11-09 Tom Tromey <tromey@redhat.com>
6908
6909 * java/applet/Applet.java, java/applet/AppletContext.java,
6910 java/applet/AppletStub.java, java/applet/AudioClip.java,
6911 java/awt/CardLayout.java,
6912 java/awt/ContainerOrderFocusTraversalPolicy.java,
6913 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6914 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6915 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6916 java/awt/color/ICC_ColorSpace.java,
6917 java/awt/color/ICC_Profile.java,
6918 java/awt/color/ICC_ProfileGray.java,
6919 java/awt/color/ICC_ProfileRGB.java,
6920 java/awt/datatransfer/DataFlavor.java,
6921 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6922 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6923 New versions from Classpath.
6924 * Makefile.in: Rebuilt.
6925 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6926 ICC_ProfileRGB.
6927
6928 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6929 display policy.
6930
6931 * java/awt/List.java (processEvent): Added missing `else's.
6932
6933 * java/awt/Window.java (show): validate() before showing. Make
6934 parent displayable.
6935 (isDisplayable): New method.
6936
6937 2002-11-07 Mark Wielaard <mark@klomp.org>
6938
6939 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6940 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6941
6942 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6943 annotation.
6944 (loadClass): Take String as codebases.
6945 (getClassAnnotation): Use MyClassLoader annotations.
6946 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6947 call exportObject(this).
6948
6949 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6950 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6951 (setAnnotation): Don't set locBytesStream and locStream.
6952 (replaceObject): Removed.
6953 (flush): Don't test locStream.
6954 (getLocBytes): LikeWise.
6955 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6956 (leaseCache): New field.
6957 (dirty): Use leaseCache.
6958 (LeaseRecord): New inner class.
6959 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6960 explicitly call exportObject().
6961 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6962 false to communicate with Sun JDK130.
6963 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6964 * gnu/java/rmi/server/RMIObjectInputStream.java
6965 (UnicastConnectionManager): Removed field.
6966 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6967 Use UnicastServer.getExportedRef().
6968 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6969 (expireTime): Likewise.
6970 (CONNECTION_TIMEOUT): Likewise.
6971 (disconnect): Call sock.close().
6972 (isExpired): New method.
6973 (resetTime): Likewise.
6974 (run): Use do while loop and catch Exception for discardConnection().
6975 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6976 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6977 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6978 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6979 (exportObject): Use refcache.
6980 (unexportObject): Likewise.
6981 (getExportedRef): New method.
6982 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6983 constructor.
6984 (exportObject): Save manager.serverobj.
6985 (getStub): New method.
6986
6987 2002-11-07 Mark Wielaard <mark@klomp.org>
6988
6989 * java/lang/reflect/natField.cc (getBoolean): Use getType().
6990 (getByte): Likewise.
6991 (getShort): Likewise.
6992 (getInt): Likewise.
6993 (getLong): Likewise.
6994 (getFloat): Likewise.
6995 (getDouble): Likewise.
6996 (get): Likewise.
6997 (setChar): Likewise.
6998 (setByte): Likewise.
6999 (setShort): Likewise.
7000 (setInt): Likewise.
7001 (setLong): Likewise.
7002 (setFloat): Likewise.
7003 (setDouble): Likewise.
7004
7005 2002-11-07 Michael Koch <konqueror@gmx.de>
7006
7007 * java/awt/Choice.java,
7008 java/awt/Container.java,
7009 java/awt/GridBagLayout.java:
7010 Fixed documentation.
7011 * java/awt/peer/ContainerPeer.java:
7012 Reindented.
7013
7014 2002-11-07 Michael Koch <konqueror@gmx.de>
7015
7016 * java/awt/color/ICC_Profile.java:
7017 Added missing constants.
7018 * java/awt/color/ICC_ColorSpace.java
7019 (getMinValue): Added dummy implementation.
7020 (getMaxValue): Added dummy implementation.
7021 * java/awt/datatransfer/DataFlavor.java
7022 (imageFlavor): Added.
7023 (isMimeTypeEqual): Must be final.
7024 (getDefaultRepresentationClass): Must be non-static.
7025 (getDefaultRepresentationClassAsString): Must be non-static.
7026 * java/awt/dnd/DragSourceContext.java
7027 (dragExit): Corrected argument.
7028 (dragDropEnd): Corrected argument.
7029 * java/awt/dnd/DragSourceListener.java.java
7030 (dragExit): Corrected argument.
7031 (dragDropEnd): Corrected argument.
7032 * java/awt/font/TextHitInfo.java
7033 (toString): Added stubbed implementation.
7034 * java/awt/geom/PathIterator.java:
7035 The constants must be static.
7036 * java/awt/image/VolatileImage.java
7037 (IMAGE_INCOMPATIBLE): Fixed typo.
7038 * java/awt/image/renderable/RenderableImage.java
7039 (HINTS_OBSERVED): Must be static.
7040 * java/beans/BeanInfo.java:
7041 Constants must be final.
7042
7043 2002-11-06 Tom Tromey <tromey@redhat.com>
7044
7045 From svens@it.uu.se. For PR libgcj/8481.
7046 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7047
7048 2002-11-06 Tom Tromey <tromey@redhat.com>
7049
7050 * jni.cc (array_from_valist): Assume that jlong won't be
7051 promoted.
7052
7053 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7054
7055 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7056 Return 20.
7057 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7058 Return 16.
7059
7060 2002-11-03 Tom Tromey <tromey@redhat.com>
7061
7062 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7063 VMClassLoader, not findClass.
7064
7065 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7066
7067 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7068 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7069 _Jv_DetermineVTableIndex, to determine vtable offset.
7070 (_Jv_DetermineVTableIndex): Remove.
7071 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7072
7073 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7074
7075 2002-11-03 Tom Tromey <tromey@redhat.com>
7076
7077 * java/nio/channels/AlreadyConnectedException.java: Extend
7078 IllegalStateException, per spec.
7079
7080 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7081
7082 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7083
7084 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7085
7086 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7087 size items.
7088
7089 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7090
7091 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7092 initial estimated size to avoid enlarge buffer frequently.
7093
7094 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7095
7096 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7097 ClassLoader when null.
7098 (ProxyType.hashCode): Loader null check no longer needed.
7099 (ProxyType.sameTypes): New method.
7100 (ProxyType.equals): Use new method.
7101
7102 2002-10-31 Mark Wielaard <mark@klomp.org>
7103
7104 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7105 length of String.
7106 * java/net/URLEncoder.java (encode): Likewise.
7107
7108 2002-10-31 Mark Wielaard <mark@klomp.org>
7109
7110 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7111 when stream is closed.
7112 (closeEntry): Likewise.
7113 (read): Likewise.
7114 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7115 ZipException when no entry active.
7116 (closeEntry): Likewise.
7117 (write): Likewise.
7118
7119 2002-11-02 Tom Tromey <tromey@redhat.com>
7120
7121 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7122 * java/lang/natClass.cc (initializeClass): Don't return just
7123 because self==thread.
7124
7125 For PR java/8415:
7126 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7127 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7128
7129 2002-11-02 Andreas Schwab <schwab@suse.de>
7130
7131 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7132 pass GCJFLAGS.
7133 (FLAGS_TO_PASS): Define.
7134 * Makefile.in: Regenerated.
7135
7136 2002-11-01 Michael Koch <konqueror@gmx.de>
7137
7138 * java/nio/ByteOrder.java: New file.
7139 * java/nio/channels/DatagramChannel.java:
7140 (DatagramChannel): New constructor.
7141 * java/nio/channels/Pipe.java: New file.
7142 * java/nio/channels/SelectableChannel.java: New file.
7143 * java/nio/channels/SelectionKey.java: New file.
7144 * java/nio/channels/Selector.java: New file.
7145 * java/nio/channels/ServerSocketChannel.java
7146 (ServerSocketChannel): New constructor.
7147 * java/nio/channels/SocketChannel.java
7148 (SocketChannel): New constructor.
7149 * java/nio/channels/Pipe.java: New file.
7150 * java/nio/channels/spi/AbstractChannel.java: New file.
7151 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7152 * java/nio/channels/spi/AbstractSelectableChannel.java:
7153 License added
7154 (AbstractSelectableChannel): New stubbed method.
7155 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7156 * java/nio/channels/spi/AbstractSelector.java: New file.
7157 * java/nio/channels/spi/SelectorProvider.java: New file.
7158 * java/nio/charset/Charset.java: New file.
7159 * java/nio/charset/CoderMalfunctionError.java: New file.
7160 * java/nio/charset/CodingErrorAction.java: New file.
7161 * java/nio/charset/spi/CharsetProvider.java
7162 (charsetForName): Uncommented.
7163 * Makefile.am (java_native_source_files): Added new files.
7164 * Makefile.in: Regenerated.
7165
7166 2002-11-01 Michael Koch <konqueror@gmx.de>
7167
7168 * java/net/InetAddress.java:
7169 (isAnyLocalAddress): Implemented.
7170 (isLoopbackAddress): Implemented, comment added.
7171 (isLinkLocalAddress): Implemented, documentation added.
7172 (isSiteLocalAddress): Implemented, documentation added.
7173 (isMCGlobal): Implemented, documentation added.
7174 (isMCNodeLocal): Implemented, documentation added.
7175 (isMCLinkLocal): Implemented, documentation added.
7176 (isMCSiteLocal): Implemented, documentation added.
7177 (isMCOrgLocal): Implemented, documentation added.
7178 (getHostName): Documentation added.
7179 (getCanonicalHostName): Implemented, documentation added.
7180 (getAddress): Documentation added.
7181 (hashCode): Documentation added.
7182 (equals): Documentation added.
7183 (toString): Fixed implementation.
7184 (getByAddress): Use Inet4Address and Inet6Address.
7185 (lookup): New linewrap.
7186 (getByName): SecurityManager check added, support Inet4Address and
7187 Inet6address, comments added.
7188 (getAllByName): SecurityManager check added, comments added.
7189 * java/net/Inet6Address.java:
7190 (Inet6Address): Initialize parent class with addr instead of null.
7191 * java/net/URL.java
7192 (equals): Documentation added.
7193 (getFile): Documentation added.
7194 (hashCode): Documentation added.
7195 * java/net/natInetAddress.cc:
7196 (aton): Fix IPv6 support.
7197 * java/net/natPlainDatagramSocketImpl.cc:
7198 (peek): Throw PortUnreachableException when suitable.
7199 (peekData): Throw PortUnreachableException when suitable.
7200 (send): Throw PortUnreachableException when suitable.
7201 (receive): Throw PortUnreachableException when suitable.
7202
7203 2002-10-27 Mark Wielaard <mark@klomp.org>
7204
7205 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7206 argument.
7207 (readLeShort): Likewise and use byte[].
7208 (readLeInt): Likewise.
7209 (readEntries): Use new versions of methods and use byte[] for reading
7210 a complete zip entry. Add ZipFile name to exceptions.
7211 (entries): Add ZipFile name to exceptions.
7212 (getEntry): Likewise.
7213 (checkLocalHeader): Use new versions of methods and add ZipFile name
7214 to exceptions.
7215
7216 2002-10-31 Mark Anderson <mark@panonet.net>
7217
7218 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7219 added
7220
7221 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7222
7223 * configure.in: Disable hash sync when not using threads.
7224 * configure: Regenerated.
7225
7226 2002-10-24 Tom Tromey <tromey@redhat.com>
7227
7228 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7229 (_Jv_FindSymbolInExecutable): Removed argument name.
7230 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7231 java.library.path is set.
7232
7233 * gij.cc (help): Document --showversion.
7234 (version): Don't exit.
7235 (main): Handle --showversion. Exit if --version given.
7236
7237 2002-10-23 Tom Tromey <tromey@redhat.com>
7238
7239 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7240 (array_from_valist): Correctly handle promotion for jint, jlong,
7241 jfloat, and jdouble.
7242
7243 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7244
7245 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7246 GetFileAttributesEx( ) to find file length and modification times,
7247 as the latter is not present on Windows 95.
7248
7249 2002-10-21 Michael Koch <konqueror@gmx.de>
7250
7251 * java/net/URL.java
7252 (URL): Activate SecurityManager checks.
7253 (equals): Use URLStreamHandler implementation instead of doing it
7254 alone. This allows special protocol stream handlers to change default
7255 behaviour.
7256 (hashCode): Use URLStreamHandler implementation instead of doing it
7257 alone. This allows special protocol stream handlers to change default
7258 behaviour.
7259 * java/net/URLStreamHandler.java
7260 (equals): Implemented default URL equality check.
7261 (hostsEqual): Implemented default URL equality check.
7262 (hashCode): Implemented default URL hashCode algorithm.
7263 * java/net/natPlainDatagramSocketImpl.cc:
7264 No lines longer then 80 characters.
7265
7266 2002-10-20 Adam Megacz <adam@xwt.org>
7267
7268 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7269 * configure.in: enabled hash sync on Win32
7270 * include/win32-threads.h (_Jv_ThreadId_t): added.
7271 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7272 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7273 removed some posix-isms, use Thread::sleep() instead of usleep,
7274 added code to clear bottom three bits if platform has a broken
7275 linker.
7276 * include/win32-threads.h (_Jv_ThreadId_t): added.
7277
7278 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7279
7280 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7281 runtime property "gnu.gcj.progname" containing the name used to
7282 invoke the current Java program (similar to argv[0] for C
7283 programs).
7284
7285 2002-10-15 Tom Tromey <tromey@redhat.com>
7286
7287 Fix for PR libgcj/8234:
7288 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7289 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7290
7291 2002-10-13 Mark Wielaard <mark@klomp.org>
7292
7293 * mauve-libgcj: Enable Mauve tests that compile now.
7294
7295 2002-10-11 Mark Wielaard <mark@klomp.org>
7296
7297 Fix for PR libgcj/8142
7298 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7299 loading native modules.
7300
7301 2002-10-10 Michael Koch <konqueror@gmx.de>
7302
7303 * javax/swing/AbstractListModel.java
7304 (getListDataListeners): New stubbed method.
7305 javax/swing/DefaultBoundedRangeModel.java
7306 (getChangeListeners): New stubbed method.
7307 javax/swing/DefaultSingleSelectionModel.java
7308 (getChangeListeners): New stubbed method.
7309
7310 2002-10-10 Michael Koch <konqueror@gmx.de>
7311
7312 * gcj/.cvsignore: New file to ignore files generated during build.
7313 * include/.cvsignore: New file to ignore files generated during build.
7314
7315 2002-10-10 Michael Koch <konqueror@gmx.de>
7316
7317 * java/net/HttpURLConnection.java
7318 (getPermission): New method.
7319 (getErrorStream): New stub method.
7320 (getHeaderFieldDate): New stub method.
7321 * java/net/Inet4Address.java:
7322 (isLinkLocalAddress): Typo fixed.
7323 * java/net/InetAddress.java:
7324 (readResolve): New stubbed method (for serialization).
7325 (isAnyLocalAddress): New stubbed method.
7326 (isLoopbackAddress): New stubbed method.
7327 (isLinkLocalAddress): New stubbed method.
7328 (isSiteLocalAddress): New stubbed method.
7329 (isMCGlobal): New stubbed method.
7330 (isMCNodeGlobal): New stubbed method.
7331 (isMCLinkLocal): New stubbed method.
7332 (isMCSiteLocal): New stubbed method.
7333 (isMCOrgLocal): New stubbed method.
7334 (getCanonicalHostName): New stubbed method.
7335 (getByAddress): Create instances of Inet4Address/Inet6Address,
7336 instead of InetAddress, documentation added.
7337 * java/net/MulticastSocket.java
7338 (getInterface): Removed FIXME.
7339 (getNetworkInterface): New method.
7340 (setNetworkInterface): New method.
7341 * java/net/NetworkInterface.java:
7342 (toString): Use property "line.separator" instead of "\n".
7343 * java/net/URLConnection.java
7344 (getContent): New stubbed method.
7345 * java/net/URLStreamHandler.java:
7346 (equals): New stubbed method.
7347 (hostsEqual): New stubbed method.
7348 (hashCode): New stubbed method.
7349 * java/net/natNetworkInterface.cc:
7350 (getRealNetworkInterfaces): Create Inet4Address object
7351 instead of InetAddress.
7352
7353 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7354
7355 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7356 unsigned long temporary to implement insn_iushr shifts.
7357
7358 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7359
7360 * configure.host [s390*-*]: Enable Java interpreter.
7361 Enable hash synchronization. Add sysdeps dir.
7362 * sysdep/s390/locks.h: New file.
7363
7364 2002-10-06 Mark Wielaard <mark@klomp.org>
7365
7366 * java/lang/Thread.java (setDaemon): Check startable_flag,
7367 not isAlive().
7368
7369 2002-10-07 Michael Koch <konqueror@gmx.de>
7370
7371 * java/nio/Buffer.java: New stub file.
7372 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7373 of class Charset.
7374 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7375 * Makefile.in: Regenerated.
7376
7377 2002-10-07 Michael Koch <konqueror@gmx.de>
7378
7379 * java/nio/ByteBuffer.java:
7380 removed import of not commited class.
7381
7382 2002-10-07 Michael Koch <konqueror@gmx.de>
7383
7384 * java/nio/ByteBuffer.java,
7385 java/nio/MappedByteBuffer.java:
7386 New files, forgot to add these dummies.
7387 * Makefile.am (java_native_source_files): Added new files.
7388 * Makefile.in: Regenerated.
7389
7390 2002-10-07 Michael Koch <konqueror@gmx.de>
7391
7392 * java/nio/channels/AlreadyConnectedException.java,
7393 java/nio/channels/ClosedChannelException.java,
7394 java/nio/channels/ReadableByteChannel.java,
7395 java/nio/channels/InterruptibleChannel.java,
7396 java/nio/channels/Channel.java,
7397 java/nio/channels/ByteChannel.java,
7398 java/nio/channels/GatheringByteChannel.java,
7399 java/nio/channels/ScatteringByteChannel.java,
7400 java/nio/channels/WritableByteChannel.java,
7401 java/nio/charset/CharacterCodingException.java,
7402 java/nio/charset/IllegalCharsetNameException.java,
7403 java/nio/charset/MalformedInputException.java,
7404 java/nio/charset/UnmappableCharacterException.java,
7405 java/nio/charset/UnsupportedCharsetException.java,
7406 java/nio/charset/spi/CharsetProvider.java: New file.
7407 These files are exceptions or interfaces,
7408 no real or abstract classes.
7409 * Makefile.am (java_native_source_files): Added new files.
7410 * Makefile.in: Regenerated.
7411
7412 2002-10-05 Michael Koch <konqueror@gmx.de>
7413
7414 * java/net/InetAddress.java
7415 (getByAddress): Fixed documentation.
7416 (getByAddress): New method.
7417 * java/net/Inet4Address.java: New file.
7418 * java/net/URL.java
7419 (URL): Documentation added.
7420 (getContent): Documentation added.
7421 (getContent): New stubbed method.
7422 (getQuery): New method.
7423 (openConnection): Documentation added.
7424 (openStream): Documentation added.
7425 (setURLStreamHandlerFactory): Documentation added.
7426 * java/net/URI.java: New stub file.
7427 * Makefile.am
7428 (java_native_source_files): Added java/net/Inet4Address.java,
7429 java/net/Inet6Address.java and java/net/URI.java.
7430 * Makefile.in: Regenerated.
7431
7432 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7433
7434 * java/lang/ProtectionDomain.java (linesep): Remove field.
7435 (toString): Use System.getProperty("line.separator").
7436
7437 2002-10-04 Michael Koch <konqueror@gmx.de>
7438
7439 * java/security/Identity.java: Added serialVersionUID.
7440 * java/security/KeyPair.java: Added serialVersionUID.
7441 * java/security/Provider.java: Added serialVersionUID.
7442 * java/security/SecureRandom.java: Added serialVersionUID.
7443 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7444 * java/security/SignedObject.java: Added serialVersionUID.
7445 * java/security/cert/Certificate.java: Added serialVersionUID.
7446
7447 2002-10-04 Mark Wielaard <mark@klomp.org>
7448
7449 * java/security/Security.java: Use java.home or gnu.classpath.home
7450 to load providers.
7451 (loadProviders): Extra dir argument.
7452 (getProvider): Return null when not found.
7453
7454 2002-10-04 Mark Wielaard <mark@klomp.org>
7455
7456 * java/lang/Throwable.java: Remerge with Classpath.
7457
7458 2002-10-04 Michael Koch <konqueror@gmx.de>
7459
7460 * java/net/InetAddress.java:
7461 (isMulticastAddress): Added documentation.
7462 (getHostAddress): Added documentation.
7463 (toString): Added documentation.
7464 (getByAddress): Fixed documentation.
7465 (getByName): Added documentation.
7466 (getAllByName): Added documentation.
7467 (getLocalHost): Added documentation.
7468
7469 2002-10-04 Michael Koch <konqueror@gmx.de>
7470
7471 * java/beans/beancontext/BeanContextChildSupport.java:
7472 Added serialVersionUID.
7473 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7474 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7475 * javax/naming/Name.java: Added serialVersionUID.
7476
7477 2002-10-03 Adam Megacz <adam@xwt.org>
7478
7479 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7480 some functionality that isn't supported yet on WIN32.
7481
7482 2002-10-03 Tom Tromey <tromey@redhat.com>
7483
7484 * Makefile.in: Rebuilt.
7485 * Makefile.am (awt_java_source_files): Added new files.
7486
7487 2002-10-03 Michael Koch <konqueror@gmx.de>
7488
7489 * java/net/InetAddress.java
7490 (class InetAddress): Removed final keyword.
7491 (equals): Fixed typo.
7492 (getByAddress): New method.
7493
7494 2002-10-03 Michael Koch <konqueror@gmx.de>
7495
7496 * java/awt/dnd/Autoscroll.java:
7497 New file, merge from Classpath.
7498 * java/awt/dnd/DragSourceAdapter.java:
7499 (dragExit): Fixed typos in argument type.
7500 (dragDropEnd): Fixed typos in argument type.
7501 * java/awt/dnd/DragSourceDropEvent.java:
7502 New file, merge from Classpath.
7503 * java/awt/dnd/DropTarget.java:
7504 Added stubs, merge from Classpath.
7505 * java/awt/dnd/DropTargetAdapter.java:
7506 New file, merge from Classpath.
7507 * java/awt/dnd/DropTargetContext.java:
7508 New file, merge from Classpath.
7509 * java/awt/dnd/DropTargetDragEvent.java:
7510 New file, merge from Classpath.
7511 * java/awt/dnd/DropTargetDropEvent.java:
7512 New file, merge from Classpath.
7513 * java/awt/dnd/DropTargetEvent.java:
7514 New file, merge from Classpath.
7515 * java/awt/dnd/DropTargetListener.java:
7516 New file, merge from Classpath.
7517 * java/awt/dnd/MouseDragGestureRecognizer.java:
7518 New file, merge from Classpath.
7519 * java/awt/dnd/peer/DropTargetContextPeer.java:
7520 New file, merge from Classpath.
7521
7522 2002-10-03 Michael Koch <konqueror@gmx.de>
7523
7524 * java/net/DatagramPacket.java
7525 (setLength): Fixed typo and be HTML-aware.
7526 * java/net/InetSocketAddress.java
7527 (InetSocketAddress): Correct initialization of hostname, fixed typo.
7528 (equals): Added comment about equality of InetSocketAddress objects.
7529 * java/net/ServerSocket.java
7530 (accept): Added checks.
7531 (isClosed): New stubbed method.
7532 * java/net/SocketOptions.java: Reindention.
7533 * java/net/SocketPermission
7534 (SocketPermission): Documentation fixed.
7535
7536 2002-10-03 Michael Koch <konqueror@gmx.de>
7537
7538 * java/net/DatagramSocket.java
7539 (receive): Check with SecurityManager AFTER the packet is received,
7540 check if connected to multicast address, documentation added.
7541 (send): Only check SecurityManager if connected, check address of
7542 packet to send.
7543 (connect): Implemented, documentation added.
7544 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7545 * java/net/InetSocketAddress.java
7546 (whole file): Reindented.
7547 (hostname): New attribute.
7548 (InetSocketAddress): Initialize new attribute.
7549 (getAddress): Documentation added.
7550 (getHostName): Documentation added.
7551 (getPort): Documentation added.
7552 (hashCode): Documentation added.
7553 (isUnresolved): Documentation added.
7554 (toString): Conform to output of JDK 1.4.1, documentation added.
7555 * java/net/MulticastSocket.java
7556 (joinGroup): Removed FIXME, documentation added.
7557 (leaveGroup): Removed FIXME, documentation added.
7558 (send): Documentation added.
7559 * java/net/Socket.java
7560 (inputShutdown): New variable.
7561 (outputShutdown): New variable.
7562 (Socket): Initialize new variables.
7563 (getRemoteSocketAddress): Check if connected.
7564 (shutdownInput): Set new variable.
7565 (shutdownOutput): Set new variable.
7566 (isConnected): New method.
7567 (isClosed): New method.
7568 (isInputShutdown): New method.
7569 (isOutputShutdown): New method.
7570 * java/net/URLStreamHandler.java
7571 (URLStreamHandler): New method.
7572 (openConnection): Added documentation.
7573 (parseURL): Added documentation.
7574 (getHostAddress): New method.
7575 (getDefaultPort): New method.
7576
7577 2002-10-02 Tom Tromey <tromey@redhat.com>
7578
7579 * java/rmi/activation/ActivationDesc.java,
7580 java/rmi/activation/ActivationGroupDesc.java,
7581 java/rmi/activation/ActivationGroupID.java,
7582 java/rmi/activation/ActivationID.java: New versions from
7583 Classpath.
7584
7585 2002-09-30 Bo Thorsen <bo@suse.de>
7586
7587 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7588
7589 2002-09-30 Tom Tromey <tromey@redhat.com>
7590
7591 * java/io/ObjectInputStream.java (resolveProxyClass): New method
7592 from Classpath.
7593 * Makefile.in: Rebuilt.
7594 * Makefile.am (rmi_java_source_files): Added new files.
7595 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7596 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7597 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7598 Classpath.
7599 * gnu/java/rmi/dgc/DGCImpl.java,
7600 gnu/java/rmi/dgc/DGCImpl_Skel.java,
7601 gnu/java/rmi/dgc/DGCImpl_Stub.java,
7602 gnu/java/rmi/registry/RegistryImpl_Skel.java,
7603 gnu/java/rmi/registry/RegistryImpl_Stub.java,
7604 gnu/java/rmi/server/RMIHashes.java,
7605 gnu/java/rmi/server/RMIObjectInputStream.java,
7606 gnu/java/rmi/server/RMIObjectOutputStream.java,
7607 gnu/java/rmi/server/UnicastConnection.java,
7608 gnu/java/rmi/server/UnicastConnectionManager.java,
7609 gnu/java/rmi/server/UnicastRef.java,
7610 gnu/java/rmi/server/UnicastServer.java,
7611 gnu/java/rmi/server/UnicastServerRef.java,
7612 java/rmi/MarshalledObject.java,
7613 java/rmi/server/RMIClassLoader.java,
7614 java/rmi/server/RemoteObject.java,
7615 java/rmi/server/UnicastRemoteObject.java,
7616 java/security/SecureClassLoader.java: Merged from Classpath.
7617
7618 2002-09-29 Anthony Green <green@redhat.com>
7619
7620 * java/lang/reflect/UndeclaredThrowableException.java: New file.
7621 Imported from GNU Classpath.
7622 * java/lang/reflect/natProxy.cc: New file.
7623 * java/lang/reflect/InvocationHandler.java: New file. Imported
7624 from GNU Classpath.
7625 * java/lang/reflect/Proxy.java: New file. Imported from GNU
7626 Classpath.
7627 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7628 Classpath.
7629 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7630 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7631 New statics.
7632 * gcj/javaprims.h ("Java"): Add new classes.
7633 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7634 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7635 java/lang/reflect/Proxy$$ProxyType.h): And this.
7636 (inner_nat_headers): Add these new headers.
7637 (ordinary_java_source_files): Add new files.
7638 (nat_source_files): Add new file.
7639 * Makefile.in: Rebuilt.
7640
7641 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
7642
7643 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7644 a single configuration.
7645
7646 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7647
7648 * java/util/TimeZone.java (getDSTSavings): New method.
7649 Fixes PR libgcj/7786.
7650
7651 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7652
7653 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7654 to see if `the_method == 0' before looking up vtable index.
7655 Fixes PR libgcj/7709.
7656
7657 2002-09-25 Tom Tromey <tromey@redhat.com>
7658
7659 * java/lang/natClassLoader.cc:
7660 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7661 * resolve.cc: Include NoClassDefFoundError.h, not
7662 ClassNotFoundException.h.
7663 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7664
7665 * defineclass.cc: Don't include ClassNotFoundException.h.
7666
7667 * resolve.cc: Include StringBuffer.
7668 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7669
7670 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7671 allocated but not initialized.
7672
7673 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7674
7675 Fix for PR libgcj/7766:
7676 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7677 (getNextEntry): Set it.
7678 (closeEntry): Likewise.
7679 (read): Likewise.
7680 (close): Likewise.
7681 (available): Use it.
7682
7683 2002-09-25 Michael Koch <konqueror@gmx.de>
7684
7685 * java/net/DatagramSocket.java
7686 (DatagramSocket): Initialize new instance variables.
7687 (close): Reset new instance variables.
7688 (getLocalAddress): Remove unneeded SecurityManager usage.
7689 (getLocalPort): Check if socket is already bound.
7690 (isConnected): New method.
7691 (getInetAddress): Implemented.
7692 (getPort): Better Implementation, documentation fixed.
7693 (getRemoteSocketAddress): New method.
7694 * java/net/JarURLConnection.java
7695 (element): Typo fixed.
7696 (getMainAttributes): New method.
7697 (getAttributes): New method (stub only).
7698 (getManifest): New method (stub only).
7699 * java/net/NetPermission.java: Added serialVersionsUID.
7700 * java/net/Socket.java
7701 (connect): Check blocking mode of associated channel,
7702 documentation added.
7703 (getLocalSocketAddress): Better implementation.
7704 (getRemoteSocketAddress): Implemented.
7705 (isBound): New method.
7706 (setSendBufferSize): Documentation added.
7707 * java/net/SocketAddress.java: Added serialVersionsUID.
7708 * java/net/SocketPermission.java: Added serialVersionsUID.
7709 * java/net/URL.java
7710 (URL): Wrap for shorter lines, initialize new instance variables,
7711 documentation added.
7712 (equals): Check new instance variables too.
7713 (getContent): Documentation added.
7714 (getPath): Documentation added.
7715 (getAuthority): New method.
7716 (getHost): Documentation added.
7717 (getPort): Documentation added.
7718 (getDefaultPort): New method.
7719 (getProtocol): Documentation added.
7720 (getUserInfo): Documentation added.
7721 (set): Initialize new instance variables, documentation added.
7722 * java/net/URLStreamHandler.java
7723 (setURL): New method.
7724 * java/net/natPlainDatagramSocketImpl.cc
7725 (connect): Fix exception name.
7726 (disconnect): Fix exception name.
7727
7728 2002-09-25 Michael Koch <konqueror@gmx.de>
7729
7730 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7731 * java/nio/channels/DatagramChannel.java:
7732 extends AbstractSelectableChannel
7733 * java/nio/channels/ServerSocketChannel.java:
7734 extends AbstractSelectableChannel
7735 * java/nio/channels/SocketChannel.java:
7736 extends AbstractSelectableChannel
7737 * Makefile.am (ordinary_java_source_files):
7738 java/nio/channels/spi/AbstractSelectableChannel.java added.
7739 * Makefile.in: Regenerated.
7740
7741 2002-09-25 Michael Koch <konqueror@gmx.de>
7742
7743 * java/net/DatagramSocket.java
7744 (DatagramSocket): Exception documentation added.
7745 (bind): Exception documentation added, addded SecurityManager check,
7746 added SocketAddress type check.
7747 (getSoTimeout): Check impl.
7748 (receive): Fix SecurityManager check, check impl, documentation added.
7749 (send): Check channel mode, documentation added.
7750 (connect): New method.
7751 (disconnect): Implemented.
7752 (getLocalSocketAddress): New method.
7753 (getReceiveBufferSize): Check impl.
7754 (setReuseAddress): Check impl.
7755 (getReuseAddress): Check impl.
7756 (setBroadcast): Check impl.
7757 (getBroadcast): Check impl.
7758 (setTrafficClass): Check impl, Documentation cleared.
7759 (getTrafficClass): Check impl.
7760 (getSendBufferSize): Check impl.
7761 (setReceiveBufferSize): Check impl, documentation added.
7762 (setSendBufferSize): Documentation added.
7763 (setDatagramSocketImplFactory): New method.
7764 * java/net/HttpURLConnection.java
7765 (HTTP_INTERNAL_ERROR): The correct code is 500.
7766 (HTTP_NOT_IMPLEMENTED): Added new constant.
7767 (setFollowRedirects): Documentation added.
7768 (getInstanceFollowRedirects): New method.
7769 (setInstanceFollowRedirects): New method.
7770 (setRequestMethod): Documentation added.
7771 (getResponseCode): Documentation added.
7772 (getResponseMessage): Documentation added.
7773 * java/net/JarURLConnection.java
7774 (JarURLConnection): protected since JDK 1.4.
7775 (getJarEntry): java.io.IOException to IOException, documentation added.
7776 (getJarFile): Documentation added.
7777 * java/net/ServerSocket.java
7778 (ServerSocket): Private to public, exception added.
7779 (ServerSocket): java.io.IOException to IOException, documentation added.
7780 (bind): Check socket address type, documentation added.
7781 (bind): java.io.IOException to IOException, documentation added.
7782 (accept): Documentation added.
7783 (implAccept): Check ch is not non-blocking, documentation added.
7784 (setSoTimeout): Documentation fixed.
7785 (setReceiveBufferSize): Documentation added.
7786 * java/net/Socket.java
7787 (Socket): Documentation added.
7788 (bind): Documentation added.
7789 (connect): Check socket address type, documentation added.
7790 (getRemoteSocketAddress): New method.
7791 (getLocalSocketAddress): New method.
7792 (setSoLinger): Documentation added.
7793 (getReuseAddress): New method.
7794 (setReuseAddress): New method.
7795 (getTrafficClass): New method.
7796 (setTrafficClass): New method.
7797 * java/net/URLStreamHandler.java
7798 (openConnection): java.io.IOException to IOException.
7799 (parseURL): Documentation added.
7800 (sameFile): public to protected, documentation added.
7801 (setURL): Documentation added.
7802 * java/nio/IllegalBlockingModeException.java: New file.
7803 * Makefile.am (ordinary_java_source_files):
7804 added java/nio/IllegalBlockingModeException.java
7805 * Makefile.in: Regenerated.
7806
7807 2002-09-25 Michael Koch <konqueror@gmx.de>
7808
7809 * java/net/DatagramPacket
7810 (DatagramPacket): Exception documentation added.
7811 (setData): Likewise.
7812 (setSocketAddress): Likewise.
7813 * java/net/DatagramSocketImpl.java
7814 (peek): Documentation addded.
7815 (peekData): Documentation addded.
7816 (send): Documentation addded.
7817 (receive): Documentation addded.
7818 (connect): New method.
7819 (disconnect): New method.
7820 (joinGroup): New abstract method.
7821 (leaveGroup): New abstract method.
7822 * java/net/InetSocketAddress.java
7823 (InetSocketAddress): Documentation added.
7824 (equals): final keyword added.
7825 (getAddress): final keyword added.
7826 (getHostName): final keyword added.
7827 (getPort): final keyword added.
7828 (hashCode): final keyword added.
7829 (isUnresolved): final keyword added.
7830 * java/net/MulticastSocket.java
7831 (MulticastSocket): Documentation added.
7832 (MulticastSocket): New method.
7833 (joinGroup): Documentation added.
7834 (joinGroup): New method.
7835 (leaveGroup): Documentation added.
7836 (leaveGroup): New method.
7837 (send): Documentation added.
7838 * java/net/NetworkInterface.java
7839 (getByName): Documentation added.
7840 (getByInetAddress): Documentation added.
7841 (getNetworkInterfaces): Documentation added.
7842 * java/net/PlainDatagramSocketImpl.java
7843 (connect): New method.
7844 (disconnect): New method.
7845 * java/net/SocketImpl.java
7846 (create): Documentation added.
7847 (shutdownInput): Convert public to protected, as it always was.
7848 (shutdownOutput): Convert public to protected, as it always was.
7849 * java/net/SocketOptions.java
7850 (whole file): Reintented.
7851 * java/net/URLClassLoader.java
7852 (URLClassLoader): SecurityManager check added, documentation added.
7853 (findResources): Documentation added.
7854 (findClass): Documentation added.
7855 (newInstance): More correct method arguments.
7856 * java/net/URLConnection.java
7857 (connect): Documentation added.
7858 (getContent): Documentation added.
7859 (getPermission): Documentation added.
7860 (getInputStream): Documentation added.
7861 (getOutputStream): Documentation added.
7862 (setDoInput): Throw correct exception, documentation added.
7863 (setDoOutput): Throw correct exception, documentation added.
7864 (setAllowUserInteraction): Throw correct exception, documentation added.
7865 (setUseCaches): Throw correct exception, documentation added.
7866 (setIfModifiedSince): Throw correct exception, documentation added.
7867 (setRequestProperty): Throw exception, documentation added.
7868 (addRequestProperty): Throw exception, documentation added.
7869 (getRequestProperty): Throw exception, documentation added.
7870 (getRequestProperties): Documentation added.
7871 (setContentHandlerFactory): Documentation added.
7872 (guessContentTypeFromName): protected to public.
7873 (setFileNameMap): Documentation added.
7874 * java/net/URLDecoder.java
7875 (URLDecoder): New method.
7876 (decode): Documentation added.
7877 (whole file): Reindented.
7878 * java/net/URLEncoder.java
7879 (encode): Documentation added.
7880 * java/net/natPlainDatagramSocketImpl.cc
7881 (connect): New method.
7882 (disconnect): New method.
7883 * javax/naming/RefAddr:
7884 (addrType): addrType was never final.
7885 (equals): Fix typo in method name.
7886 * javax/naming/BinaryRefAddr:
7887 (equals): Fix typo in method name.
7888
7889 2002-09-22 Tom Tromey <tromey@redhat.com>
7890
7891 Fix for PR libgcj/6576:
7892 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7893 didn't find a given bundle.
7894 (getBundle): Don't require base bundle.
7895 (setParent): Removed old comment.
7896 (tryLocalBundle): Try components even if preceding components were
7897 empty.
7898
7899 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7900
7901 * Makefile.am (all-multi): Fix multilib parallel build.
7902
7903 2002-09-21 Michael Koch <konqueror@gmx.de>
7904
7905 * java/net/Socket.java
7906 (sendUrgentData): New method.
7907 (getChannel): New method.
7908 * java/net/ServerSocket.java
7909 (getChannel): New method.
7910 (isBound): New method.
7911 * java/net/DatagramSocket.java
7912 (DatagramSocket): Two new methods.
7913 (bind): New method.
7914 (getChannel): New method.
7915 (isBound): New method.
7916 (send): Added newline to to make shorter lines.
7917 * java/net/PlainDatagramSocketImpl.java
7918 (mcastGrp): Added argument.
7919 (join): Use new mcastGrp.
7920 (leave): Use new mcastGrp.
7921 (joinGroup): New method.
7922 (leaveGroup): New method.
7923 * java/net/natPlainDatagramSocketImpl.cc
7924 (mcastGrp): Added argument, no yet really implemented.
7925 (getOption): Added newline for shorter lines.
7926 * java/net/natPlainSocketImpl.cc
7927 (read, setOption, getOption): Added newline for shorter lines.
7928
7929 2002-09-19 Tom Tromey <tromey@redhat.com>
7930
7931 * java/lang/ClassLoader.java (resolveClass0): Set cause for
7932 newly-created exception.
7933
7934 2002-09-18 Michael Koch <konqueror@gmx.de>
7935
7936 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7937 java/util/regex/PatternSyntaxException.java:
7938 Merge with classpath, new files.
7939 * Makefile.am (core_java_source_files):
7940 Added java/util/regex/Matcher.java,
7941 java/util/regex/Pattern.java,
7942 java/util/regex/PatternSyntaxException.java
7943 * Makefile.in: Regenerated.
7944 * include/config.h.in: Added HAVE_NET_IF_H.
7945 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7946 Removed #if 0 ... #endif.
7947
7948 2002-09-17 Michael Koch <konqueror@gmx.de>
7949
7950 * java/net/natNetworkInterface.cc:
7951 Removed unneed and yet wrong includes.
7952
7953 2002-09-17 Michael Koch <konqueror@gmx.de>
7954
7955 * java/net/NetworkInterface.java: New file.
7956 * java/net/natNetworkInterface.java: New file.
7957 * configure.in: Added check for net/if.h.
7958 * configure: Regenerated.
7959 * Makefile.am
7960 (ordinary_java_source_files): Added NetworkInterface.java.
7961 (nat_source_files): Added natNetworkInterface.cc.
7962 * Makefile.in: Regenerated.
7963
7964 2002-09-16 Tom Tromey <tromey@redhat.com>
7965
7966 * java/net/URLClassLoader.java (findClass): Code source for a
7967 class from a jar is not necessarily a jar: URL.
7968
7969 2002-09-16 Michael Koch <konqueror@gmx.de>
7970
7971 * java/lang/AssertionError.java:
7972 Merge with classpath, fixes HTML.
7973 * java/rmi/server/LogStream.java:
7974 Merge with classpath, fixes some constants.
7975 * java/net/server/RemoteServer.java:
7976 Merge with classpath, adds serialVersionUID.
7977 * javax/naming/BinaryRefAddr.java:
7978 Merge with classpath, s/equal/equals/.
7979 * javax/naming/NamingException.java:
7980 Merge with classpath, fixed typo.
7981 * javax/naming/RefAddr.java:
7982 Merge with classpath, s/equal/equals/.
7983 * java/awt/Toolkit.java:
7984 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7985 and typo fixed.
7986
7987 2002-09-15 Adam Megacz <adam@xwt.org>
7988
7989 * java/net/natPlainSocketImpl.cc: fixed typo.
7990
7991 2002-09-15 Adam Megacz <adam@xwt.org>
7992
7993 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7994 which don't work on Win32 (yet).
7995
7996 2002-09-14 Adam Megacz <adam@xwt.org>
7997
7998 * java/net/natPlainDatagramSocket.cc: removed #include
7999 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8000 * include/win32.h: included definition for IP_TOS to satisfy
8001 natPlainDatagramSocket.cc
8002
8003 2002-09-13 Michael Koch <konqueror@gmx.de>
8004
8005 * java/net/DatagramPacket.java (DatagramPacket):
8006 Added linebreak for 80 chars per line.
8007 * java/net/JarURLConection.java
8008 (getInputStreami, getJarEntry): Likewise.
8009 * java/net/SocketPErmission.java
8010 (SocketPermission class docu, implies): Likewise.
8011 * java/net/URLClassLoader.java (findResources): Likewise.
8012 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8013
8014 2002-09-13 Michael Koch <konqueror@gmx.de>
8015
8016 * java/nio/channels/DatagramChannel.java,
8017 java/nio/channels/ServerSocketChannel.java
8018 java/nio/channels/SocketChannel.java:
8019 New dummy files to make java.net fully JDK 1.4 compatible
8020 * Makefile.am (ordinary_java_source_files): Added
8021 java/net/DatagramSocketImplFactory.java (long forgotten),
8022 java/nio/SocketChannel.java,
8023 java/nio/ServerSocketChannel.java,
8024 java/nio/DatagramChannel.java
8025 * Makefile.in: Regenrated.
8026
8027 2002-09-12 Michael Koch <konqueror@gmx.de>
8028
8029 * java/net/DatagramSocketImpl.java
8030 (peekData): New method.
8031 * java/net/PlainDatagramSocketImpl.java
8032 (peekData): New method.
8033 * java/net/natPlainDatagramSocketImpl.cc
8034 (peekData): New method.
8035 * java/net/URLConnection
8036 (getPermission): New method.
8037 (addRequestProperty): New method.
8038 (getRequestProperties): New method.
8039 (guessContentTypeFromStream): New method, not really implemented.
8040 (URLConnection): Added/updated documentation.
8041 (connect): Added/updated documentation.
8042 (getURL): Added/updated documentation.
8043 (getContentLength): Added/updated documentation.
8044 (getContentType: Added/updated documentation.
8045 (getContentEncoding): Added/updated documentation.
8046 (getExpiration): Added/updated documentation.
8047 (getDate): Added/updated documentation.
8048 (getLastModified): Added/updated documentation.
8049 (getHeaderField): Added/updated documentation.
8050 (getHeaderFields): Added/updated documentation.
8051 (getHeaderFieldInt): Added/updated documentation.
8052 (getHeaderFieldDate): Added/updated documentation.
8053 (getHeaderFieldKey): Added/updated documentation.
8054 (getContent): Added/updated documentation.
8055 (getInputStream): Added/updated documentation.
8056 (getOutputStream): Added/updated documentation.
8057 (toString): Added/updated documentation.
8058 (setDoInput): Added/updated documentation.
8059 (getDoInput): Added/updated documentation.
8060 (setDoOutput): Added/updated documentation.
8061 (getDoOutput): Added/updated documentation.
8062 (setAllowUserInteraction): Added/updated documentation.
8063 (getAllowUserInteraction): Added/updated documentation.
8064 (setDefaultAllowUserInteraction): Added/updated documentation.
8065 (getDefaultAllowUserInteraction): Added/updated documentation.
8066 (setUseCaches): Added/updated documentation.
8067 (getUseCaches): Added/updated documentation.
8068 (setIfModifiedSince): Added/updated documentation.
8069 (getIfModifiedSince): Added/updated documentation.
8070 (getDefaultUseCaches): Added/updated documentation.
8071 (setDefaultUseCaches): Added/updated documentation.
8072 (setRequestProperty): Added/updated documentation.
8073 (getRequestProperty): Added/updated documentation.
8074 (setDefaultRequestProperty): Added/updated documentation.
8075 (getDefaultRequestProperty): Added/updated documentation.
8076 (setContentHandlerFactory): Added/updated documentation.
8077 (guessContentTypeFromName): Added/updated documentation.
8078 (getFileNameMap): Added/updated documentation.
8079 (setFileNameMap): Added/updated documentation.
8080
8081 2002-09-11 Michael Koch <konqueror@gmx.de>
8082
8083 * java/net/Socket.java
8084 (Socket): protected to public (since JDK 1.4). Added @specnote.
8085 (bind): New method.
8086 (connect): Two new methods.
8087 (getKeepalive): Get correct socket option.
8088 (setKeepalive): Set correct socket option.
8089 (getOOBInline): New method.
8090 (setOOBInline): New method.
8091 * java/net/ServerSocket.java
8092 (bind): Two new methods.
8093 (getInetAddress): Reimplemented, catch exception.
8094 (getLocalSocketAddress): New method.
8095 (setReuseAddress): New method.
8096 (getReuseAdress): New method.
8097 (setReceiveBufferSize): New method.
8098 (getReceiveBufferSize): New method.
8099 (toString): Made string JDK 1.4 compliant.
8100
8101 2002-09-10 Michael Koch <konqueror@gmx.de>
8102
8103 * java/net/SocketImpl.java
8104 (connect): New method.
8105 (supportsUrgentData): New method.
8106 (sendUrgentData): New method.
8107 * java/net/PlainSocketImpl.java
8108 (connect): One new method and two new implementation.
8109 (sendUrgentData): New method.
8110 * java/natPlainSocketImpl.cc
8111 (connect): Arguments changed, added support for timeouts.
8112 (getOption): Another __java_boolean to jboolean.
8113
8114 2002-09-07 Adam Megacz <adam@xwt.org>
8115
8116 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8117 definition of IP_TOS.
8118
8119 2002-09-04 Michael Koch <konqueror@gmx.de>
8120
8121 * java/net/DatagramSocket.java
8122 (DatagramSocket): Added documentation.
8123 (close): Likewise.
8124 (getLocalAddress): Likewise.
8125 (getLocalPort): Likewise.
8126 (receive): Likewise.
8127 (send): Likewise.
8128 (setSoTimeout): Likewise.
8129 (connect): New method.
8130 (disconnect): New method.
8131 (getInetAddress): New method (FIXME)
8132 (getPort): New method.
8133 (setReuseAddress): New method.
8134 (getReuseAddress): New method.
8135 (setBroadcast): New method.
8136 (getBroadcast): New method.
8137 (setTrafficClass): New method.
8138 (getTrafficClass): New method.
8139 * java/net/MulticastSocket.java):
8140 (getTTL): Added @see in documentation.
8141 (setTTL): Added @see in documentation.
8142 (setLoopbackMode): New method.
8143 (getLoopbackMode): New method.
8144 * java/net/PlainSocketImpl.java:
8145 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8146 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8147 * java/net/PlainDatagramSocketImpl.java
8148 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8149 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8150 * java/net/natPlainSocketImpl.cc
8151 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8152 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8153 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8154 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8155 This should also fix SO_KEEPALIVE
8156 * java/net/natPlainDatagramSocketImpl.cc
8157 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8158 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8159 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8160 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8161
8162 2002-09-04 Michael Koch <konqueror@gmx.de>
8163
8164 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8165 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8166 IP_MULTICAST_LOOP, IP_TOS
8167
8168 2002-09-03 Tom Tromey <tromey@redhat.com>
8169
8170 * java/lang/Class.h (_getDeclaredMethod): Declare.
8171 (_getMethod): Now private.
8172 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8173 getDeclaredMethod. Now returns NULL on failure.
8174 * java/lang/Class.java (_getDeclaredMethod): Declare.
8175 (getDeclaredMethod): No longer native; implements access checks.
8176
8177 2002-09-01 Mark Wielaard <mark@klomp.org>
8178
8179 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8180 (sanitizeStack): Correctly reset unknown and interpreter counters,
8181 detect interpreter runtime frames.
8182 (demangleInterpreterMethod): New method.
8183 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8184 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8185 filling in addrs[].
8186
8187 2002-09-02 Michael Koch <konqueror@gmx.de>
8188
8189 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8190 re-indented documentation.
8191
8192 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8193
8194 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8195 public, per 1.4 spec. Fixes PR libgcj/7785.
8196
8197 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8198
8199 * Makefile.in: Rebuilt.
8200 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8201
8202 2002-08-29 Tom Tromey <tromey@redhat.com>
8203
8204 * java/net/JarURLConnection.java (getCertificates): New method
8205 from Classpath.
8206 * java/net/URLClassLoader.java (URLClassLoader): Extends
8207 SecureClassLoader.
8208 (definePackage): New method from Classpath.
8209 (getPermissions): Likewise.
8210 (newInstance): Likewise.
8211 (findClass): Construct CodeSource for new class (from Classpath).
8212 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8213 methods.
8214 * java/net/URL.java (getUserInfo): New method.
8215 (set(String,String,int,String,String,String,String,String)): New
8216 method.
8217 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8218 (shutdownInput, shutdownOutput): Declare.
8219 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8220 Define.
8221 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8222 (getOption): Likewise.
8223 (shutdownInput): New method.
8224 (shutdownOutput): Likewise.
8225 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8226 keepalive.
8227 (getOption): Likewise.
8228 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8229 * java/net/Socket.java (setKeepAlive): New method.
8230 (getKeepAlive): Likewise.
8231 (shutdownInput, shutdownOutput): New methods.
8232
8233 2002-08-29 Michael Koch <konqueror@gmx.de>
8234
8235 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8236 new methods are:
8237 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8238 address),
8239 DatagramPacket(byte[] buf, int length, SocketAddress address),
8240 void setSocketAddress(SocketAddress address)
8241 public SocketAddress getSocketAddress()
8242
8243 2002-08-29 Tom Tromey <tromey@redhat.com>
8244
8245 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8246 ftruncate is missing.
8247 * configure, include/config.h.in: Rebuilt.
8248 * acconfig.h (HAVE_FTRUNCATE): Mention.
8249 * configure.in: Check for ftruncate.
8250
8251 2002-08-29 Tom Tromey <tromey@redhat.com>
8252
8253 * include/jvm.h (struct _Jv_frame_info): New structure.
8254 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8255 java-interp.h.
8256 (lookupInterp): New method.
8257 (getAddrAsString): Use _Jv_frame_info.
8258 (dladdrLookup): Likewise.
8259 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8260 interpreted frame.
8261 (lookupInterp): Declare.
8262 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8263 (fillInStackTrace): Collect information on interpreted frames.
8264 Use _Jv_frame_info.
8265 * interpret.cc: Include Thread.h.
8266 (run): Create and push _Jv_MethodChain object.
8267 (_Jv_EndOfInterpreter): New global.
8268 * java/lang/Thread.java (interp_frame): New field.
8269 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8270 Include NameFinder.h.
8271
8272 2002-08-28 Tom Tromey <tromey@redhat.com>
8273
8274 * java/lang/Class.h: Include Package.h.
8275 (Class::getProtectionDomain): Declare.
8276 (Class::getPackage): Declare.
8277
8278 2002-08-28 Michael Koch <konqueror@gmx.de>
8279
8280 * java/net/InetSocketAddress.java: Added some documentation and argument
8281 checks for the port numbers.
8282 * java/net/DatagramSocketImplFactory.java: New file.
8283
8284 2002-08-28 Michael Koch <konqueror@gmx.de>
8285
8286 * java/net/Authenticator.java: added some documentation.
8287
8288 2002-08-27 Tom Tromey <tromey@redhat.com>
8289
8290 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8291 class.
8292 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8293
8294 2002-08-27 Michael Koch <konqueror@gmx.de>
8295
8296 * java/net/BindException.java,
8297 java/net/JarURLConnection.java,
8298 java/net/FileNameMap.java,
8299 java/net/HttpURLConnection.java,
8300 java/net/InetSocketAddress.java,
8301 java/net/DatagramPacket.java,
8302 java/net/DatagramSocket.java,
8303 java/net/DatagramSocketImpl.java,
8304 java/net/MulticastSocket.java,
8305 java/net/PasswordAuthentication.java,
8306 java/net/ServerSocket.java,
8307 java/net/Socket.java,
8308 java/net/URLClassLoader.java,
8309 java/net/URLConnection.java: add/update of some @since/@deprecated
8310
8311 2002-08-27 Tony Kimball <alk@pobox.com>
8312 Tom Tromey <tromey@redhat.com>
8313
8314 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8315 define.
8316 (::close): Removed.
8317 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8318 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8319 (::close): Removed.
8320 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8321 * include/win32.h (getcwd): Removed declaration. Include io.h.
8322
8323 2002-08-25 Adam Megacz <adam@xwt.org>
8324
8325 * include/win32.h (getcwd): copied function declaration as
8326 temporary fix for header confusion.
8327
8328 2002-08-24 Mark Wielaard <mark@klomp.org>
8329
8330 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8331 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8332 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8333 and natNameFinder.cc.
8334 * Makefile.in: Regenerate.
8335 * prims.cc: Use trace_enabled from VMThrowable.
8336 * name-finder.cc: Removed.
8337 * gcj/javaprims.h: Add class VMThrowable.
8338 * gnu/gcj/runtime/NameFinder.java: New file.
8339 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8340 * include/name-finder.h: Removed.
8341 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8342 method stackTraceString().
8343 (printStackTrace (PrintWriter)): Likewise.
8344 (stackTraceString): Complete rewrite of old printStackTrace using
8345 StringBuffer.
8346 (stackTraceStringBuffer): New helper method for stackTraceString().
8347 (fillInStackTrace): Delegate to VMTrowable.
8348 (getStackTrace): Likewise.
8349 (getStackTrace0): Removed.
8350 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8351 (setStackTrace): Copy given array.
8352 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8353 * java/lang/VMThrowable.java: New class.
8354 * java/lang/natVMThrowable.cc: New file.
8355
8356 2003-08-23 Michael Koch <konqueror@gmx.de>
8357
8358 * java/net/URLConnection.java,
8359 java/netJarURLConnection.java,
8360 gnu/gcj/protocol/core/Connection.java,
8361 gnu/gcj/protocol/file/Connection.java,
8362 gnu/gcj/protocol/http/Connection.java: Added implementation of
8363 getHeaderFields().
8364
8365 2002-08-22 Tom Tromey <tromey@redhat.com>
8366
8367 * gij.cc (help): Document -cp and -classpath.
8368 (main): Handle -classpath.
8369
8370 2002-08-21 Tom Tromey <tromey@redhat.com>
8371
8372 * Makefile.in: Rebuilt.
8373 * Makefile.am (ordinary_java_source_files): Added
8374 SocketAddress.java, InetSocketAddress.java.
8375 * java/net/PortUnreachableException.java: Merged with Classpath.
8376 * java/net/SocketTimeoutException.java: Likewise.
8377 * java/net/URISyntaxException.java: Likewise.
8378 * java/net/SocketAddress.java: New class from Classpath.
8379 * java/net/InetSocketAddress.java: Likewise.
8380
8381 2003-08-21 Michael Koch <konqueror@gmx.de>
8382
8383 * java/net/Authenticator.java: updated JDK 1.4
8384 * java/net/ContentHandler.java: updated JDK 1.4
8385
8386 2002-08-20 Michael Koch <konqueror@gmx.de>
8387
8388 * java/net/URISyntaxException.java: New file.
8389 * java/net/SocketTimeoutException.java: New file.
8390 * java/net/PortUnreachableException.java: New file.
8391 * Makefile.am: Updated.
8392 * Makefile.in: Rebuilt.
8393
8394 2002-08-18 Mark Wielaard <mark@klomp.org>
8395
8396 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8397 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8398 MessageDigestSpi (fixes Classpath bug #783).
8399
8400 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8401
8402 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8403 (startProcess): Allocate path for chdir in async-signal-safe way.
8404
8405 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8406
8407 Fix for PR libgcj/7570 and PR libgcj/7578:
8408 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8409 (startProcess): Handle new `dir' argument.
8410 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8411 argument.
8412 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8413 argument.
8414 (startProcess): Likewise.
8415 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8416 argument.
8417 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8418 (exec): Don't create new environment if ENV==null. Pass DIR to
8419 execInternal.
8420 * java/lang/natRuntime.cc: Include java/io/File.h.
8421 (execInternal): Added `dir' argument.
8422
8423 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8424
8425 * java/io/RandomAccessFile.java (skipBytes): Return number of
8426 bytes skipped.
8427
8428 2002-08-01 Mark Wielaard <mark@klomp.org>
8429
8430 Reenable patch since shared library troubles on powerpc are solved:
8431 * gnu/java/security/provider/Gnu.java: Reference all implementation
8432 classes by using Class.getName().
8433 * gnu/java/security/der/DEREncodingException.java,
8434 gnu/java/security/provider/DERReader.java,
8435 gnu/java/security/provider/DERWriter.java,
8436 gnu/java/security/provider/DSAKeyPairGenerator.java,
8437 gnu/java/security/provider/DSAParameterGenerator.java,
8438 gnu/java/security/provider/DSAParameters.java,
8439 gnu/java/security/provider/DSASignature.java,
8440 gnu/java/security/provider/GnuDSAPrivateKey.java,
8441 gnu/java/security/provider/GnuDSAPublicKey.java,
8442 gnu/java/security/provider/MD5.java,
8443 gnu/java/security/util/Prime.java: New classes
8444 * Makefile.am (ordinary_java_source_files): Add above files.
8445 * Makefile.in: Regenerate.
8446 * gnu/java/security/provider/DefaultPolicy.java
8447 (getPermissions): Don't maintain static class variable of Permissions.
8448 * gnu/java/security/provider/SHA.java
8449 (engineUpdate): algorithm change.
8450 (engineDigest): algorithm change.
8451
8452 2002-08-09 Mark Wielaard <mark@klomp.org>
8453
8454 * java/awt/image/MemoryImageSource.java: Change constructor to take
8455 int[] not byte[].
8456 * java/awt/Graphics2D.java: Uncomment methods that can now be
8457 compiled.
8458 * java/awt/GridBagLayout.java: New stub implementation.
8459 * javax/swing/text/html/HTML.java: Stub implementation.
8460 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8461 implementation.
8462
8463 * Makefile.am: Add new files.
8464 * Makefile.in: Rebuilt.
8465
8466 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8467
8468 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8469 methods in Graphics2D.
8470
8471 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8472
8473 AWT/Swing merge from GNU Classpath.
8474
8475 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8476 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8477 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8478 java/awt/color/ProfileDataException.java,
8479 java/awt/CompositeContext.java, java/awt/Composite.java,
8480 java/awt/ContainerOrderFocusTraversalPolicy.java,
8481 java/awt/datatransfer/FlavorTable.java,
8482 java/awt/DefaultFocusTraversalPolicy.java,
8483 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8484 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8485 java/awt/dnd/DragGestureListener.java,
8486 java/awt/dnd/DragGestureRecognizer.java,
8487 java/awt/dnd/DragSourceAdapter.java,
8488 java/awt/dnd/DragSourceContext.java,
8489 java/awt/dnd/DragSourceDragEvent.java,
8490 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8491 java/awt/dnd/DragSourceListener.java,
8492 java/awt/dnd/DragSourceMotionListener.java,
8493 java/awt/dnd/DropTarget.java,
8494 java/awt/dnd/InvalidDnDOperationException.java,
8495 java/awt/dnd/peer/DragSourceContextPeer.java,
8496 java/awt/event/AWTEventListenerProxy.java,
8497 java/awt/event/MouseWheelEvent.java,
8498 java/awt/event/MouseWheelListener.java,
8499 java/awt/event/WindowFocusListener.java,
8500 java/awt/event/WindowStateListener.java,
8501 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8502 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8503 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8504 java/awt/geom/FlatteningPathIterator.java,
8505 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8506 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8507 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8508 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8509 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8510 java/awt/image/ImagingOpException.java,
8511 java/awt/image/RasterFormatException.java,
8512 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8513 java/awt/image/VolatileImage.java,
8514 java/awt/image/WritableRenderedImage.java,
8515 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8516 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8517 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8518 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8519 java/awt/PageAttributes.java, java/awt/print/Book.java,
8520 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8521 java/awt/print/Paper.java, java/awt/print/Printable.java,
8522 java/awt/print/PrinterAbortException.java,
8523 java/awt/print/PrinterException.java,
8524 java/awt/print/PrinterGraphics.java,
8525 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8526 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8527 java/awt/Stroke.java, java/awt/TexturePaint.java,
8528 javax/accessibility/AccessibleAction.java,
8529 javax/accessibility/AccessibleBundle.java,
8530 javax/accessibility/AccessibleComponent.java,
8531 javax/accessibility/AccessibleContext.java,
8532 javax/accessibility/AccessibleEditableText.java,
8533 javax/accessibility/AccessibleExtendedComponent.java,
8534 javax/accessibility/AccessibleExtendedTable.java,
8535 javax/accessibility/AccessibleHyperlink.java,
8536 javax/accessibility/AccessibleHypertext.java,
8537 javax/accessibility/AccessibleIcon.java,
8538 javax/accessibility/Accessible.java,
8539 javax/accessibility/AccessibleKeyBinding.java,
8540 javax/accessibility/AccessibleRelation.java,
8541 javax/accessibility/AccessibleRelationSet.java,
8542 javax/accessibility/AccessibleResourceBundle.java,
8543 javax/accessibility/AccessibleRole.java,
8544 javax/accessibility/AccessibleSelection.java,
8545 javax/accessibility/AccessibleState.java,
8546 javax/accessibility/AccessibleStateSet.java,
8547 javax/accessibility/AccessibleTable.java,
8548 javax/accessibility/AccessibleTableModelChange.java,
8549 javax/accessibility/AccessibleText.java,
8550 javax/accessibility/AccessibleValue.java,
8551 javax/swing/AbstractAction.java,
8552 javax/swing/AbstractButton.java,
8553 javax/swing/AbstractCellEditor.java,
8554 javax/swing/AbstractListModel.java,
8555 javax/swing/AbstractSet.java, javax/swing/Action.java,
8556 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8557 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8558 javax/swing/border/CompoundBorder.java,
8559 javax/swing/border/EmptyBorder.java,
8560 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8561 javax/swing/border/LineBorder.java,
8562 javax/swing/border/MatteBorder.java,
8563 javax/swing/border/TitledBorder.java,
8564 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8565 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8566 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8567 javax/swing/CellRendererPane.java,
8568 javax/swing/colorchooser/AbstractColorChooserPanel.java,
8569 javax/swing/colorchooser/ColorChooserComponentFactory.java,
8570 javax/swing/colorchooser/ColorSelectionModel.java,
8571 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8572 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8573 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8574 javax/swing/DefaultBoundedRangeModel.java,
8575 javax/swing/DefaultButtonModel.java,
8576 javax/swing/DefaultCellEditor.java,
8577 javax/swing/DefaultCellRenderer.java,
8578 javax/swing/DefaultComboBoxModel.java,
8579 javax/swing/DefaultDesktopManager.java,
8580 javax/swing/DefaultFocusManager.java,
8581 javax/swing/DefaultListCellRenderer.java,
8582 javax/swing/DefaultListModel.java,
8583 javax/swing/DefaultListSelectionModel.java,
8584 javax/swing/DefaultSingleSelectionModel.java,
8585 javax/swing/DesktopManager.java,
8586 javax/swing/event/AncestorEvent.java,
8587 javax/swing/event/AncestorListener.java,
8588 javax/swing/event/CaretEvent.java,
8589 javax/swing/event/CaretListener.java,
8590 javax/swing/event/CellEditorListener.java,
8591 javax/swing/event/ChangeEvent.java,
8592 javax/swing/event/ChangeListener.java,
8593 javax/swing/event/DocumentEvent.java,
8594 javax/swing/event/DocumentListener.java,
8595 javax/swing/event/EventListenerList.java,
8596 javax/swing/event/HyperlinkEvent.java,
8597 javax/swing/event/HyperlinkListener.java,
8598 javax/swing/event/InternalFrameAdapter.java,
8599 javax/swing/event/InternalFrameEvent.java,
8600 javax/swing/event/InternalFrameListener.java,
8601 javax/swing/event/ListDataEvent.java,
8602 javax/swing/event/ListDataListener.java,
8603 javax/swing/event/ListSelectionEvent.java,
8604 javax/swing/event/ListSelectionListener.java,
8605 javax/swing/event/MenuDragMouseEvent.java,
8606 javax/swing/event/MenuDragMouseListener.java,
8607 javax/swing/event/MenuEvent.java,
8608 javax/swing/event/MenuKeyEvent.java,
8609 javax/swing/event/MenuKeyListener.java,
8610 javax/swing/event/MenuListener.java,
8611 javax/swing/event/MouseInputAdapter.java,
8612 javax/swing/event/MouseInputListener.java,
8613 javax/swing/event/PopupMenuEvent.java,
8614 javax/swing/event/PopupMenuListener.java,
8615 javax/swing/event/SwingPropertyChangeSupport.java,
8616 javax/swing/event/TableColumnModelEvent.java,
8617 javax/swing/event/TableColumnModelListener.java,
8618 javax/swing/event/TableModelEvent.java,
8619 javax/swing/event/TableModelListener.java,
8620 javax/swing/event/TreeExpansionEvent.java,
8621 javax/swing/event/TreeExpansionListener.java,
8622 javax/swing/event/TreeModelEvent.java,
8623 javax/swing/event/TreeModelListener.java,
8624 javax/swing/event/TreeSelectionEvent.java,
8625 javax/swing/event/TreeSelectionListener.java,
8626 javax/swing/event/TreeWillExpandListener.java,
8627 javax/swing/event/UndoableEditEvent.java,
8628 javax/swing/event/UndoableEditListener.java,
8629 javax/swing/filechooser/FileFilter.java,
8630 javax/swing/filechooser/FileSystemView.java,
8631 javax/swing/filechooser/FileView.java,
8632 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8633 javax/swing/Icon.java, javax/swing/ImageIcon.java,
8634 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8635 javax/swing/JApplet.java, javax/swing/JButton.java,
8636 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8637 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8638 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8639 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8640 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8641 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8642 javax/swing/JLayeredPane.java, javax/swing/JList.java,
8643 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8644 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8645 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8646 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8647 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8648 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8649 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8650 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8651 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8652 javax/swing/JTextField.java, javax/swing/JTextPane.java,
8653 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8654 javax/swing/JToolTip.java, javax/swing/JTree.java,
8655 javax/swing/JViewport.java, javax/swing/JWindow.java,
8656 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8657 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8658 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8659 javax/swing/MenuSelectionManager.java,
8660 javax/swing/MutableComboBoxModel.java,
8661 javax/swing/OverlayLayout.java,
8662 javax/swing/plaf/ActionMapUIResource.java,
8663 javax/swing/plaf/basic/BasicBorders.java,
8664 javax/swing/plaf/basic/BasicButtonUI.java,
8665 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8666 javax/swing/plaf/basic/BasicDefaults.java,
8667 javax/swing/plaf/basic/BasicGraphicsUtils.java,
8668 javax/swing/plaf/basic/BasicIconFactory.java,
8669 javax/swing/plaf/basic/BasicLabelUI.java,
8670 javax/swing/plaf/basic/BasicListUI.java,
8671 javax/swing/plaf/basic/BasicLookAndFeel.java,
8672 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8673 javax/swing/plaf/basic/BasicPanelUI.java,
8674 javax/swing/plaf/basic/BasicRadioButtonUI.java,
8675 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8676 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8677 javax/swing/plaf/basic/BasicTextUI.java,
8678 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8679 javax/swing/plaf/basic/BasicTreeUI.java,
8680 javax/swing/plaf/basic/BasicViewportUI.java,
8681 javax/swing/plaf/BorderUIResource.java,
8682 javax/swing/plaf/ButtonUI.java,
8683 javax/swing/plaf/ColorChooserUI.java,
8684 javax/swing/plaf/ColorUIResource.java,
8685 javax/swing/plaf/ComboBoxUI.java,
8686 javax/swing/plaf/ComponentInputMapUIResource.java,
8687 javax/swing/plaf/ComponentUI.java,
8688 javax/swing/plaf/DesktopIconUI.java,
8689 javax/swing/plaf/DesktopPaneUI.java,
8690 javax/swing/plaf/DimensionUIResource.java,
8691 javax/swing/plaf/FileChooserUI.java,
8692 javax/swing/plaf/FontUIResource.java,
8693 javax/swing/plaf/IconUIResource.java,
8694 javax/swing/plaf/InputMapUIResource.java,
8695 javax/swing/plaf/InsetsUIResource.java,
8696 javax/swing/plaf/InternalFrameUI.java,
8697 javax/swing/plaf/LabelUI.java,
8698 javax/swing/plaf/ListUI.java,
8699 javax/swing/plaf/MenuBarUI.java,
8700 javax/swing/plaf/MenuItemUI.java,
8701 javax/swing/plaf/OptionPaneUI.java,
8702 javax/swing/plaf/PanelUI.java,
8703 javax/swing/plaf/PopupMenuUI.java,
8704 javax/swing/plaf/ProgressBarUI.java,
8705 javax/swing/plaf/RootPaneUI.java,
8706 javax/swing/plaf/ScrollBarUI.java,
8707 javax/swing/plaf/ScrollPaneUI.java,
8708 javax/swing/plaf/SeparatorUI.java,
8709 javax/swing/plaf/SliderUI.java,
8710 javax/swing/plaf/SplitPaneUI.java,
8711 javax/swing/plaf/TabbedPaneUI.java,
8712 javax/swing/plaf/TableHeaderUI.java,
8713 javax/swing/plaf/TableUI.java,
8714 javax/swing/plaf/TextUI.java,
8715 javax/swing/plaf/ToolBarUI.java,
8716 javax/swing/plaf/ToolTipUI.java,
8717 javax/swing/plaf/TreeUI.java,
8718 javax/swing/plaf/UIResource.java,
8719 javax/swing/plaf/ViewportUI.java,
8720 javax/swing/ProgressMonitorInputStream.java,
8721 javax/swing/ProgressMonitor.java,
8722 javax/swing/Renderer.java,
8723 javax/swing/RepaintManager.java,
8724 javax/swing/RootPaneContainer.java,
8725 javax/swing/Scrollable.java,
8726 javax/swing/ScrollPaneConstants.java,
8727 javax/swing/ScrollPaneLayout.java,
8728 javax/swing/SingleSelectionModel.java,
8729 javax/swing/SizeRequirements.java,
8730 javax/swing/SizeSequence.java,
8731 javax/swing/SwingConstants.java,
8732 javax/swing/SwingUtilities.java,
8733 javax/swing/table/AbstractTableModel.java,
8734 javax/swing/table/DefaultTableCellRenderer.java,
8735 javax/swing/table/DefaultTableColumnModel.java,
8736 javax/swing/table/DefaultTableModel.java,
8737 javax/swing/table/TableCellEditor.java,
8738 javax/swing/table/TableCellRenderer.java,
8739 javax/swing/table/TableColumn.java,
8740 javax/swing/table/TableColumnModel.java,
8741 javax/swing/table/TableModel.java,
8742 javax/swing/text/AbstractDocument.java,
8743 javax/swing/text/AttributeSet.java,
8744 javax/swing/text/BadLocationException.java,
8745 javax/swing/text/Caret.java,
8746 javax/swing/text/CharacterIterator.java,
8747 javax/swing/text/ComponentView.java,
8748 javax/swing/text/DefaultCaret.java,
8749 javax/swing/text/DefaultEditorKit.java,
8750 javax/swing/text/Document.java,
8751 javax/swing/text/EditorKit.java,
8752 javax/swing/text/Element.java,
8753 javax/swing/text/GapContent.java,
8754 javax/swing/text/JTextComponent.java,
8755 javax/swing/text/Keymap.java,
8756 javax/swing/text/MutableAttributeSet.java,
8757 javax/swing/text/PlainDocument.java,
8758 javax/swing/text/PlainEditorKit.java,
8759 javax/swing/text/Position.java,
8760 javax/swing/text/Segment.java,
8761 javax/swing/text/StyledDocument.java,
8762 javax/swing/text/StyledEditorKit.java,
8763 javax/swing/text/Style.java,
8764 javax/swing/text/TextAction.java,
8765 javax/swing/text/ViewFactory.java,
8766 javax/swing/text/View.java,
8767 javax/swing/Timer.java,
8768 javax/swing/ToggleButtonModel.java,
8769 javax/swing/ToolTipManager.java,
8770 javax/swing/tree/AbstractLayoutCache.java,
8771 javax/swing/tree/DefaultMutableTreeNode.java,
8772 javax/swing/tree/DefaultTreeCellEditor.java,
8773 javax/swing/tree/DefaultTreeCellRenderer.java,
8774 javax/swing/tree/DefaultTreeModel.java,
8775 javax/swing/tree/DefaultTreeSelectionModel.java,
8776 javax/swing/tree/ExpandVetoException.java,
8777 javax/swing/tree/FixedHeightLayoutCache.java,
8778 javax/swing/tree/MutableTreeNode.java,
8779 javax/swing/tree/RowMapper.java,
8780 javax/swing/tree/TreeCellEditor.java,
8781 javax/swing/tree/TreeCellRenderer.java,
8782 javax/swing/tree/TreeModel.java,
8783 javax/swing/tree/TreeNode.java,
8784 javax/swing/tree/TreePath.java,
8785 javax/swing/tree/TreeSelectionModel.java,
8786 javax/swing/tree/VariableHeightLayoutCache.java,
8787 javax/swing/UIDefaults.java,
8788 javax/swing/UIManager.java,
8789 javax/swing/undo/AbstractUndoableEdit.java,
8790 javax/swing/undo/CannotRedoException.java,
8791 javax/swing/undo/CannotUndoException.java,
8792 javax/swing/undo/CompoundEdit.java,
8793 javax/swing/undo/StateEditable.java,
8794 javax/swing/undo/StateEdit.java,
8795 javax/swing/undo/UndoableEdit.java,
8796 javax/swing/undo/UndoableEditSupport.java,
8797 javax/swing/undo/UndoManager.java,
8798 javax/swing/UnsupportedLookAndFeelException.java,
8799 javax/swing/ViewportLayout.java,
8800 javax/swing/WindowConstants.java: New files, from GNU Classpath.
8801
8802 * java/awt/ActiveEvent.java,
8803 java/awt/Adjustable.java, java/awt/AWTError.java,
8804 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8805 java/awt/AWTException.java, java/awt/AWTPermission.java,
8806 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8807 java/awt/Color.java, java/awt/Component.java,
8808 java/awt/ComponentOrientation.java, java/awt/Container.java,
8809 java/awt/datatransfer/MimeTypeParseException.java,
8810 java/awt/datatransfer/Transferable.java,
8811 java/awt/datatransfer/UnsupportedFlavorException.java,
8812 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8813 java/awt/event/ActionListener.java,
8814 java/awt/event/AdjustmentEvent.java,
8815 java/awt/event/AdjustmentListener.java,
8816 java/awt/event/AWTEventListener.java,
8817 java/awt/event/ComponentAdapter.java,
8818 java/awt/event/ComponentEvent.java,
8819 java/awt/event/ComponentListener.java,
8820 java/awt/event/ContainerAdapter.java,
8821 java/awt/event/ContainerEvent.java,
8822 java/awt/event/ContainerListener.java,
8823 java/awt/event/FocusAdapter.java,
8824 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8825 java/awt/event/HierarchyBoundsAdapter.java,
8826 java/awt/event/HierarchyBoundsListener.java,
8827 java/awt/event/HierarchyEvent.java,
8828 java/awt/event/HierarchyListener.java,
8829 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8830 java/awt/event/InputMethodListener.java,
8831 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8832 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8833 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8834 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8835 java/awt/event/MouseListener.java,
8836 java/awt/event/MouseMotionAdapter.java,
8837 java/awt/event/MouseMotionListener.java,
8838 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8839 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8840 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8841 java/awt/event/WindowListener.java, java/awt/Font.java,
8842 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8843 java/awt/geom/Ellipse2D.java,
8844 java/awt/geom/IllegalPathStateException.java,
8845 java/awt/geom/Line2D.java,
8846 java/awt/geom/NoninvertibleTransformException.java,
8847 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8848 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8849 java/awt/geom/RoundRectangle2D.java,
8850 java/awt/GraphicsConfiguration.java,
8851 java/awt/IllegalComponentStateException.java,
8852 java/awt/image/IndexColorModel.java,
8853 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8854 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8855 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8856 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8857 java/awt/MenuItem.java, java/awt/PaintContext.java,
8858 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8859 java/awt/Polygon.java, java/awt/PrintGraphics.java,
8860 java/awt/PrintJob.java, java/awt/Rectangle.java,
8861 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8862 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8863 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8864
8865 * java/awt/im/spi/InputMethod.java,
8866 java/awt/im/spi/InputMethodContext.java,
8867 java/awt/im/spi/InputMethodDescriptor.java,
8868 java/awt/image/renderable/ContextualRenderedImageFactory.java,
8869 java/awt/image/renderable/ParameterBlock.java,
8870 java/awt/image/renderable/RenderContext.java,
8871 java/awt/image/renderable/RenderableImage.java,
8872 java/awt/image/renderable/RenderableImageOp.java,
8873 java/awt/image/renderable/RenderableImageProducer.java,
8874 java/awt/image/renderable/RenderedImageFactory.java: New files from
8875 classpath.
8876
8877 * gnu/java/awt/EventModifier.java,
8878 gnu/java/awt/image/ImageDecoder.java,
8879 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8880
8881 * gnu/awt/xlib/XGraphicsConfiguration.java,
8882 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8883 API.
8884
8885 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8886 GNU Classpath.
8887
8888 * Makefile.am: Add new files.
8889 * Makefile.in: Rebuilt.
8890
8891 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8892
8893 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8894 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8895 findResource, getResources, findResources): Add javadoc from classpath.
8896 (getSystemResources): Implemented.
8897
8898 2002-08-01 Mark Wielaard <mark@klomp.org>
8899
8900 Revert patch that breaks libgcj shared library on powerpc:
8901 * gnu/java/security/provider/Gnu.java: Reverse referencing all
8902 implementation classes by using Class.getName(). Uses Strings again.
8903 * gnu/java/security/der/DEREncodingException.java,
8904 gnu/java/security/provider/DERReader.java,
8905 gnu/java/security/provider/DERWriter.java,
8906 gnu/java/security/provider/DSAKeyPairGenerator.java,
8907 gnu/java/security/provider/DSAParameterGenerator.java,
8908 gnu/java/security/provider/DSAParameters.java,
8909 gnu/java/security/provider/DSASignature.java,
8910 gnu/java/security/provider/GnuDSAPrivateKey.java,
8911 gnu/java/security/provider/GnuDSAPublicKey.java,
8912 gnu/java/security/provider/MD5.java,
8913 gnu/java/security/util/Prime.java: Removed.
8914 * Makefile.am (ordinary_java_source_files): Remove above files.
8915 * Makefile.in: Regenerate.
8916 * gnu/java/security/provider/DefaultPolicy.java
8917 (getPermissions): Revert to maintaining static class variable of
8918 Permissions.
8919 * gnu/java/security/provider/SHA.java
8920 (engineUpdate): Revert algorithm change.
8921 (engineDigest): Revert algorithm change.
8922
8923 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
8924
8925 * configure.host: Add SH support.
8926 * sysdep/sh/locks.h: New file.
8927
8928 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8929
8930 * java/awt/Frame.java (Frame): Remove println calls.
8931
8932 2002-07-30 Jeff Sturm <jsturm@one-point.com>
8933
8934 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8935 * configure: Rebuilt.
8936
8937 2002-07-27 Alan Modra <amodra@bigpond.net.au>
8938
8939 * sysdep/powerpc/locks.h: Formatting.
8940 (_LARX): Define.
8941 (_STCX): Define.
8942 (compare_and_swap): Use _LARX and _STCX.
8943 (compare_and_swap_release): Likewise.
8944
8945 2002-07-26 Tom Tromey <tromey@redhat.com>
8946
8947 * java/net/Authenticator.java: New version from Classpath.
8948 * java/net/DatagramSocketImpl.java: New version from Classpath.
8949
8950 2002-07-27 Alan Modra <amodra@bigpond.net.au>
8951
8952 * configure.host: Add powerpc64*-* entry.
8953
8954 2002-07-26 Tom Tromey <tromey@redhat.com>
8955
8956 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8957 fcntl.h.
8958
8959 2002-07-24 Tom Tromey <tromey@redhat.com>
8960
8961 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8962 argument to _load.
8963
8964 2002-07-24 Tom Tromey <tromey@redhat.com>
8965 Tony Kimball <alk@pobox.com>
8966
8967 * java/io/natFileDescriptorWin32.cc (setLength): New method.
8968 * java/io/natFileDescriptorPosix.cc (setLength): New method.
8969 * java/io/RandomAccessFile.java (setLength): New method.
8970 * java/io/natFileDescriptorEcos.cc (setLength): New method.
8971 * java/io/FileDescriptor.java (setLength): New method.
8972
8973 2002-07-24 Mark Wielaard <mark@klomp.org>
8974
8975 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8976 * java/io/ObjectInputStream.java (setBooleanField): Before setting
8977 field call setAccessible(true).
8978 (setByteField): Likewise.
8979 (setCharField): Likewise.
8980 (setDoubleField): Likewise.
8981 (setFloatField): Likewise.
8982 (setIntField): Likewise.
8983 (setLongField): Likewise.
8984 (setShortField): Likewise.
8985 (setObjectField): Likewise.
8986
8987 2002-07-24 Tom Tromey <tromey@redhat.com>
8988
8989 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8990 use toString() to format array element.
8991
8992 2002-07-23 Mark Wielaard <mark@klomp.org>
8993
8994 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8995 MessageDigestSpi (fixes Classpath bug #783).
8996
8997 2002-07-21 Mark Wielaard <mark@klomp.org>
8998
8999 * gnu/java/security/provider/Gnu.java: Reference all implementation
9000 classes by using Class.getName().
9001
9002 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9003
9004 * java/lang/ieeefp.h: Add x86-64 support.
9005 * configure.in: Likewise.
9006 * configure.host: Likewise.
9007 * configure: Regenerated.
9008 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9009
9010 2002-07-16 Mark Wielaard <mark@klomp.org>
9011
9012 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9013 (whitespaceChars): call resetChar().
9014
9015 2002-07-15 Tom Tromey <tromey@redhat.com>
9016
9017 * Makefile.in: Rebuilt.
9018 * Makefile.am (awt_java_source_files): Added new files.
9019 * java/beans/ExceptionListener.java: Merged with Classpath.
9020 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9021 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9022 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9023 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9024 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9025 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9026 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9027
9028 2002-07-14 Mark Wielaard <mark@klomp.org>
9029
9030 * gnu/java/security/der/DEREncodingException.java,
9031 gnu/java/security/provider/DERReader.java,
9032 gnu/java/security/provider/DERWriter.java,
9033 gnu/java/security/provider/DSAKeyPairGenerator.java,
9034 gnu/java/security/provider/DSAParameterGenerator.java,
9035 gnu/java/security/provider/DSAParameters.java,
9036 gnu/java/security/provider/DSASignature.java,
9037 gnu/java/security/provider/GnuDSAPrivateKey.java,
9038 gnu/java/security/provider/GnuDSAPublicKey.java,
9039 gnu/java/security/provider/MD5.java,
9040 gnu/java/security/util/Prime.java: New files from Classpath.
9041 * Makefile.am (ordinary_java_source_files): Add new files.
9042 * Makefile.in: Regenerate.
9043
9044 2002-07-14 C. Brian Jones <cbj@gnu.org>
9045
9046 * gnu/java/security/provider/DefaultPolicy.java
9047 (getPermissions): do not maintain static class variable of
9048 Permissions
9049 * gnu/java/security/provider/SHA.java
9050 (engineUpdate): algorithm change
9051 (engineDigest): algorithm change
9052
9053 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9054
9055 For PR libgcj/7292:
9056 * java/lang/Character.java (toString(char)): Now static.
9057
9058 2002-07-12 Mark Wielaard <mark@klomp.org>
9059
9060 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9061 (getStackTrace0): new method.
9062 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9063 (printStackTrace(PrintWriter)): replace with pure java implementation.
9064 (printRawStackTrace): removed.
9065 (getStackTrace0): new method.
9066 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9067 * gcj/javaprims.h: regenerate class list.
9068 * include/name-finder.h (lookup): new returns StackTraceElement*.
9069 (method_name, file_name): fields removed.
9070 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9071 (~_Jv_name_finder): close new descriptors.
9072 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9073 (createStackTraceElement): new method.
9074 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9075
9076 2002-07-10 Tom Tromey <tromey@redhat.com>
9077
9078 * configure: Rebuilt.
9079 * configure.in: Use `test' after `&&'. From Chris Faylor.
9080
9081 2002-07-08 Mark Wielaard <mark@klomp.org>
9082
9083 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9084 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9085 java.sql.DatabaseMetaData.TestJdbc20
9086
9087 2002-07-05 Tony Kimball <alk@pobox.com>
9088
9089 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9090
9091 2002-07-04 Tom Tromey <tromey@redhat.com>
9092 Jeff Sturm <jsturm@one-point.com>
9093
9094 Fix for PR libgcj/7060:
9095 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9096 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9097 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9098 * java/lang/Class.java (getMethod): New Java implementation;
9099 complies with spec.
9100 (_getMethod): New native method.
9101
9102 2002-07-02 Tom Tromey <tromey@redhat.com>
9103 David Hovemeyer <daveho@cs.umd.edu>
9104
9105 * java/text/ChoiceFormat.java
9106 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9107 in check loop.
9108 * java/text/MessageFormat.java
9109 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9110 to MessageFormat.
9111
9112 2002-07-01 Tom Tromey <tromey@redhat.com>
9113
9114 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9115 StringTokenizer on null string. For PR libgcj/7180.
9116 From daveho@cs.umd.edu.
9117
9118 2002-06-24 Tom Tromey <tromey@redhat.com>
9119
9120 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9121 (IntegerClass): Likewise.
9122 * java/lang/natClass.cc (CloneableClass): Removed.
9123 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9124 ConstructorClass): Likewise.
9125 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9126 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9127 SerializableClass): Likewise.
9128 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9129 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9130 LongClass, FloatClass, DoubleClass): Likewise.
9131
9132 * verify.cc (branch_prepass): Updated for change to exception
9133 handler type.
9134 (verify_instructions_0): Likewise.
9135 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9136 (handleExceptionTableEntry): Updated for change to exception
9137 handler type.
9138 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9139 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9140 (union _Jv_InterpPC): New.
9141 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9142 (class _Jv_InterpMethod): Added new `prepared' field.
9143 (class _Jv_InterpMethod): Added `compile' method. Removed
9144 `continue1' and `find_exception'. Changed arguments to `run'.
9145 * interpret.cc (union insn_slot): New.
9146 (find_exception): Removed.
9147 (run_normal): Removed most logic.
9148 (run_synch_object): Likewise; also, use JvSynchronize.
9149 (run_synch_class): Likewise.
9150 (run): Removed.
9151 (continue1): Renamed as `run'. Compile bytecode if required.
9152 Add new code to allow refinement of direct-threaded code at
9153 runtime. Handle exceptions.
9154 (SAVE_PC): Removed.
9155 (compile): New method.
9156 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9157 (NULLARRAYCHECK): Don't use SAVE_PC.
9158 (pc_t): New typedef.
9159 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9160 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9161
9162 2002-06-23 Tom Tromey <tromey@redhat.com>
9163
9164 * configure: Rebuilt.
9165 * configure.in (INTERPRETER): New subst.
9166 (AM_RUNTESTFLAGS): Don't subst.
9167
9168 * Makefile.in: Rebuilt.
9169 * Makefile.am ($(srcdir)/java/lang/Object.h,
9170 $(srcdir)/java/lang/Class.h): Added dummy targets.
9171
9172 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9173
9174 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9175
9176 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9177 java/sql/Savepoint.java: New files.
9178 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9179 java/sql/Blob.java, java/sql/CallableStatement.java,
9180 java/sql/Clob.java, java/sql/Connection.java,
9181 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9182 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9183 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9184 java/sql/Ref.java, java/sql/ResultSet.java,
9185 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9186 java/sql/SQLException.java, java/sql/SQLInput.java,
9187 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9188 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9189 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9190 (JDK 1.4) specification.
9191 * javax/sql/ConnectionEvent.java,
9192 javax/sql/ConnectionEventListener.java,
9193 javax/sql/ConnectionPoolDataSource.java,
9194 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9195 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9196 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9197 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9198 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9199 javax/sql/XADataSource.java: New files.
9200 * Makefile.am: Add new files.
9201 * Makefile.in: Rebuilt.
9202
9203 2002-06-20 Tom Tromey <tromey@redhat.com>
9204
9205 For PR libgcj/7073:
9206 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9207 exists.
9208 * defineclass.cc (handleClassBegin): Superclass for interface is
9209 `null'.
9210
9211 2002-06-18 Tom Tromey <tromey@redhat.com>
9212
9213 * gcj/javaprims.h: Updated class declaration list.
9214 * Makefile.in: Rebuilt.
9215 * Makefile.am (core_java_source_files): Removed
9216 BasicMapEntry.java.
9217 * java/util/BasicMapEntry.java: Removed.
9218
9219 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9220
9221 * java/net/natPlainDatagramSocketImpl.cc (receive):
9222 Check bounds of argument to FD_SET.
9223 (setOption): Throw exception if socket is closed.
9224
9225 * java/net/natPlainSocketImpl.cc (accept, read):
9226 Check bounds of argument to FD_SET.
9227 (setOption): Throw exception if socket is closed.
9228
9229 2002-06-18 Tom Tromey <tromey@redhat.com>
9230
9231 * gcj/javaprims.h: Updated class declaration list.
9232 * Makefile.in: Rebuilt.
9233 * Makefile.am (core_java_source_files): Added
9234 PropertyPermissionCollection.java.
9235 * java/lang/Thread.java (group, name): Now package-private.
9236 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9237 * java/util/AbstractList.java: Likewise.
9238 * java/util/AbstractMap.java: Likewise.
9239 * java/util/Calendar.java: Likewise.
9240 * java/util/Collections.java: Likewise.
9241 * java/util/HashMap.java: Likewise.
9242 * java/util/Hashtable.java: Likewise.
9243 * java/util/LinkedHashMap.java: Likewise.
9244 * java/util/LinkedList.java: Likewise.
9245 * java/util/List.java: Likewise.
9246 * java/util/ListResourceBundle.java: Likewise.
9247 * java/util/Map.java: Likewise.
9248 * java/util/Observable.java: Likewise.
9249 * java/util/Properties.java: Likewise.
9250 * java/util/PropertyPermission.java: Likewise.
9251 * java/util/PropertyPermissionCollection.java: Likewise.
9252 * java/util/PropertyResourceBundle.java: Likewise.
9253 * java/util/Random.java: Likewise.
9254 * java/util/SimpleTimeZone.java: Likewise.
9255 * java/util/StringTokenizer.java: Likewise.
9256 * java/util/TimerTask.java: Likewise.
9257 * java/util/TreeMap.java: Likewise.
9258 * java/util/WeakHashMap.java: Likewise.
9259 * java/util/jar/Attributes.java: Likewise.
9260 * java/util/jar/JarException.java: Likewise.
9261 * java/util/jar/Manifest.java: Likewise.
9262
9263 2002-06-17 Tom Tromey <tromey@redhat.com>
9264
9265 * gcj/javaprims.h: Updated class declaration list.
9266 * Makefile.in: Rebuilt.
9267 * Makefile.am (core_java_source_files): Added new file.
9268 * java/util/EventListenerProxy.java: New file.
9269 * java/util/EventListener.java: Re-merge with Classpath.
9270 * java/util/EventObject.java: Re-merge with Classpath.
9271
9272 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9273
9274 * java/lang/ClassNotFoundException.java: New Classpath version.
9275
9276 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9277
9278 * java/rmi/activation/ActivateFailedException.java: Remerge from
9279 Classpath version.
9280 * java/rmi/activation/ActivationException.java: Ditto.
9281 * java/rmi/activation/UnknownGroupException.java: Ditto.
9282 * java/rmi/activation/UnknownObjectException.java: Ditto.
9283 * java/rmi/server/ExportException: Ditto.
9284 * java/rmi/server/ServerCloneException: Ditto.
9285 * java/rmi/server/ServerNotActiveException: Ditto.
9286 * java/rmi/server/SkeletonMismatchException: Ditto.
9287 * java/rmi/server/SkeletonNotFoundException: Ditto.
9288 * java/rmi/server/SocketSecurityException: Ditto.
9289
9290 2002-06-16 Tom Tromey <tromey@redhat.com>
9291
9292 * gcj/javaprims.h: Updated class declaration list.
9293
9294 * java/io/LineNumberInputStream.java: Merged with Classpath.
9295
9296 * java/lang/RuntimeException.java: Re-merge with Classpath.
9297 * java/util/ArrayList.java: Likewise.
9298 * java/util/Arrays.java: Likewise.
9299 * java/util/BitSet.java: Likewise.
9300 * java/util/Dictionary.java: Likewise.
9301 * java/util/IdentityHashMap.java: Likewise.
9302 * java/util/MissingResourceException.java: Likewise.
9303 * java/util/Observer.java: Likewise.
9304 * java/util/TooManyListenersException.java: Likewise.
9305 * java/util/zip/DataFormatException.java: Likewise.
9306 * java/util/zip/ZipException.java: Likewise.
9307
9308 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9309
9310 * java/rmi/AccessException.java: Remerge from Classpath.
9311 * java/rmi/AlreadyBoundException.java: Ditto.
9312 * java/rmi/ConnectException.java: Ditto.
9313 * java/rmi/ConnectIOException.java: Ditto.
9314 * java/rmi/MarshalException.java: Ditto.
9315 * java/rmi/NoSuchObjectException.java: Ditto.
9316 * java/rmi/NotBoundException.java: Ditto.
9317 * java/rmi/RemoteException.java: Ditto.
9318 * java/rmi/RMISecurityException.java: Ditto.
9319 * java/rmi/ServerError.java: Ditto.
9320 * java/rmi/ServerException.java: Ditto.
9321 * java/rmi/ServerRuntimeException.java: Ditto.
9322 * java/rmi/StubNotFoundException.java: Ditto.
9323 * java/rmi/UnexpectedExcpetion.java: Ditto.
9324 * java/rmi/UnknownHostException.java: Ditto.
9325 * java/rmi/UnmarshalException.java: Ditto.
9326
9327 2002-06-15 Tom Tromey <tromey@redhat.com>
9328
9329 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9330 * java/lang/ArithmeticException.java: Likewise.
9331 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9332 * java/lang/ArrayStoreException.java: Likewise.
9333 * java/lang/Byte.java: Likewise.
9334 * java/lang/CharSequence.java: Likewise.
9335 * java/lang/ClassCastException.java: Likewise.
9336 * java/lang/ClassCircularityError.java: Likewise.
9337 * java/lang/ClassFormatError.java: Likewise.
9338 * java/lang/CloneNotSupportedException.java: Likewise.
9339 * java/lang/Cloneable.java: Likewise.
9340 * java/lang/Comparable.java: Likewise.
9341 * java/lang/Compiler.java: Likewise.
9342 * java/lang/Error.java: Likewise.
9343 * java/lang/ExceptionInInitializerError.java: Likewise.
9344 * java/lang/IllegalAccessError.java: Likewise.
9345 * java/lang/IllegalAccessException.java: Likewise.
9346 * java/lang/IllegalArgumentException.java: Likewise.
9347 * java/lang/IllegalMonitorStateException.java: Likewise.
9348 * java/lang/IllegalStateException.java: Likewise.
9349 * java/lang/IllegalThreadStateException.java: Likewise.
9350 * java/lang/IncompatibleClassChangeError.java: Likewise.
9351 * java/lang/IndexOutOfBoundsException.java: Likewise.
9352 * java/lang/InheritableThreadLocal.java: Likewise.
9353 * java/lang/InstantiationError.java: Likewise.
9354 * java/lang/InstantiationException.java: Likewise.
9355 * java/lang/InternalError.java: Likewise.
9356 * java/lang/InterruptedException.java: Likewise.
9357 * java/lang/LinkageError.java: Likewise.
9358 * java/lang/NegativeArraySizeException.java: Likewise.
9359 * java/lang/NoClassDefFoundError.java: Likewise.
9360 * java/lang/NoSuchFieldError.java: Likewise.
9361 * java/lang/NoSuchFieldException.java: Likewise.
9362 * java/lang/NoSuchMethodError.java: Likewise.
9363 * java/lang/NoSuchMethodException.java: Likewise.
9364 * java/lang/NullPointerException.java: Likewise.
9365 * java/lang/NumberFormatException.java: Likewise.
9366 * java/lang/OutOfMemoryError.java: Likewise.
9367 * java/lang/Process.java: Likewise.
9368 * java/lang/Runnable.java: Likewise.
9369 * java/lang/RuntimePermission.java: Likewise.
9370 * java/lang/SecurityException.java: Likewise.
9371 * java/lang/Short.java: Likewise.
9372 * java/lang/StackOverflowError.java: Likewise.
9373 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9374 * java/lang/ThreadDeath.java: Likewise.
9375 * java/lang/ThreadLocal.java: Likewise.
9376 * java/lang/UnknownError.java: Likewise.
9377 * java/lang/UnsatisfiedLinkError.java: Likewise.
9378 * java/lang/UnsupportedClassVersionError.java: Likewise.
9379 * java/lang/UnsupportedOperationException.java: Likewise.
9380 * java/lang/VerifyError.java: Likewise.
9381 * java/lang/VirtualMachineError.java: Likewise.
9382 * java/lang/reflect/InvocationTargetException.java: Likewise.
9383 * java/net/BindException.java: Likewise.
9384 * java/net/ConnectException.java: Likewise.
9385 * java/net/MalformedURLException.java: Likewise.
9386 * java/net/NoRouteToHostException.java: Likewise.
9387 * java/net/ProtocolException.java: Likewise.
9388 * java/net/SocketException.java: Likewise.
9389 * java/net/UnknownHostException.java: Likewise.
9390 * java/net/UnknownServiceException.java: Likewise.
9391
9392 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9393 * java/io/CharConversionException.java: Likewise.
9394 * java/io/EOFException.java: Likewise.
9395 * java/io/FileNotFoundException.java: Likewise.
9396 * java/io/IOException.java: Likewise.
9397 * java/io/InterruptedIOException.java: Likewise.
9398 * java/io/InvalidClassException.java: Likewise.
9399 * java/io/InvalidObjectException.java: Likewise.
9400 * java/io/NotActiveException.java: Likewise.
9401 * java/io/NotSerializableException.java: Likewise.
9402 * java/io/ObjectStreamException.java: Likewise.
9403 * java/io/ObjectStreamConstants.java: Likewise.
9404 * java/io/OptionalDataException.java: Likewise.
9405 * java/io/PipedInputStream.java: Likewise.
9406 * java/io/PushbackInputStream.java: Likewise.
9407 * java/io/StreamCorruptedException.java: Likewise.
9408 * java/io/SyncFailedException.java: Likewise.
9409 * java/io/UTFDataFormatException.java: Likewise.
9410 * java/io/UnsupportedEncodingException.java: Likewise.
9411 * java/io/WriteAbortedException.java: Likewise.
9412
9413 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9414
9415 * java/text/ChoiceFormat.java: Update comments from Classpath.
9416 * java/text/ParseException.java (serialVersionUID): New
9417 field from Classpath.
9418 * java/text/ParseException.java: Update formatting & comments
9419 from Classpath.
9420
9421 2002-06-15 Tom Tromey <tromey@redhat.com>
9422
9423 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9424 been read but none output by inflater.
9425 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9426 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9427 is_finished.
9428 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9429 version.
9430 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9431 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9432 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9433 version.
9434 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9435
9436 2002-06-13 Tom Tromey <tromey@redhat.com>
9437
9438 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9439 true and OFFSET!=0.
9440 * java/lang/String.java (String(char[],int,int,boolean): New
9441 constructor.
9442 * java/lang/Long.java: Imported new version from Classpath.
9443 * java/lang/Number.java: Likewise.
9444 * java/lang/Integer.java: Likewise.
9445 * java/lang/Long.java: Likewise.
9446 * java/lang/Float.java: Likewise.
9447 * java/lang/Boolean.java: Likewise.
9448 * java/lang/Double.java: Likewise.
9449 * java/lang/Void.java: Likewise.
9450
9451 2002-06-12 Tom Tromey <tromey@redhat.com>
9452
9453 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9454 Fixes PR libgcj/6652.
9455
9456 2002-06-10 Tom Tromey <tromey@redhat.com>
9457
9458 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9459 (Class::getPackagePortion): Likewise.
9460 * java/lang/Class.java (desiredAssertionStatus): New method from
9461 Classpath.
9462 (getPackagePortion): Likewise.
9463 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9464 packageAssertionStatus, classAssertionStatus): New methods from
9465 Classpath.
9466 * java/lang/ClassLoader.java (defaultAssertionStatus,
9467 systemPackageAssertionStatus, packageAssertionStatus,
9468 systemClassAssertionStatus, classAssertionStatus): New fields from
9469 Classpath.
9470 (setDefaultAssertionStatus, setPackageAssertionStatus,
9471 setClassAssertionStatus, clearAssertionStatus): New methods from
9472 Classpath.
9473 * Makefile.in: Rebuilt.
9474 * Makefile.am (core_java_source_files): Added AssertionError.java.
9475 * java/lang/AssertionError.java: New from Classpath.
9476
9477 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9478
9479 * configure.host: Disable hash synchronization and slow_pthread_self
9480 for cygwin.
9481
9482 2002-06-06 Adam Megacz <adam@xwt.org>
9483
9484 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9485 locking, just like the Sun JVM does.
9486
9487 2002-06-05 H.J. Lu (hjl@gnu.org)
9488
9489 * Makefile.am (libgcj_convenience.la): Revert the last change.
9490 (libgcj.la): Likewise.
9491 * Makefile.in: Regenerated.
9492
9493 2002-06-04 H.J. Lu (hjl@gnu.org)
9494
9495 * Makefile.am (libgcj_convenience.la): New target.
9496 (libgcj.la): Depend on libgcj_convenience.la.
9497 * Makefile.in: Regenerated.
9498
9499 2002-06-04 H.J. Lu (hjl@gnu.org)
9500
9501 * configure.in (--with-newlib): New option:
9502 Check ${with_newlib} instead of ${with_cross_host} for newlib.
9503 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9504 Linux.
9505 * configure: Regenerated.
9506
9507 2002-06-04 Tom Tromey <tromey@redhat.com>
9508
9509 * java/util/natTimeZone.cc: Include <stdio.h>.
9510
9511 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
9512
9513 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9514 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9515 Set SIGNAL_HANDLER=include/s390-linux.h.
9516 * configure: Regenerate.
9517 * include/s390-linux.h: New file.
9518
9519 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9520
9521 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9522 not "stackTrace".
9523
9524 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9525
9526 Merge JDK 1.4 java.security changes from classpath.
9527
9528 * java/security/AccessControlException.java: Merge from Classpath.
9529 * java/security/AccessController.java: Likewise.
9530 * java/security/AllPermission.java: Likewise.
9531 * java/security/BasicPermission.java: Likewise.
9532 * java/security/Certificate.java: Likewise.
9533 * java/security/CodeSource.java: Likewise.
9534 * java/security/DigestException.java: Likewise.
9535 * java/security/DigestOutputStream.java: Likewise.
9536 * java/security/DomainCombiner.java: Likewise.
9537 * java/security/GeneralSecurityException.java: Likewise.
9538 * java/security/Guard.java: Likewise.
9539 * java/security/GuardedObject.java: Likewise.
9540 * java/security/InvalidAlgorithmParameterException.java: Likewise.
9541 * java/security/InvalidKeyException.java: Likewise.
9542 * java/security/InvalidParameterException.java: Likewise.
9543 * java/security/Key.java: Likewise.
9544 * java/security/KeyException.java: Likewise.
9545 * java/security/KeyManagementException.java: Likewise.
9546 * java/security/KeyStoreException.java: Likewise.
9547 * java/security/MessageDigest.java: Likewise.
9548 * java/security/NoSuchAlgorithmException.java: Likewise.
9549 * java/security/NoSuchProviderException.java: Likewise.
9550 * java/security/Permission.java: Likewise.
9551 * java/security/PermissionCollection.java: Likewise.
9552 * java/security/Permissions.java: Likewise.
9553 * java/security/Policy.java: Likewise.
9554 * java/security/Principal.java: Likewise.
9555 * java/security/PrivateKey.java: Likewise.
9556 * java/security/PrivilegedAction.java: Likewise.
9557 * java/security/PrivilegedActionException.java: Likewise.
9558 * java/security/PrivilegedExceptionAction.java: Likewise.
9559 * java/security/ProtectionDomain.java: Likewise.
9560 * java/security/ProviderException.java: Likewise.
9561 * java/security/PublicKey.java: Likewise.
9562 * java/security/SecureClassLoader.java: Likewise.
9563 * java/security/SecurityPermission.java: Likewise.
9564 * java/security/SignatureException.java: Likewise.
9565 * java/security/UnrecoverableKeyException.java: Likewise.
9566 * java/security/UnresolvedPermission.java: Likewise.
9567 * java/security/acl/AclNotFoundException.java: Likewise.
9568 * java/security/acl/LastOwnerException.java: Likewise.
9569 * java/security/acl/NotOwnerException.java: Likewise.
9570 * java/security/cert/CRLException.java: Likewise.
9571 * java/security/cert/CertificateEncodingException.java: Likewise.
9572 * java/security/cert/CertificateException.java: Likewise.
9573 * java/security/cert/CertificateExpiredException.java: Likewise.
9574 * java/security/cert/CertificateFactory.java: Likewise.
9575 * java/security/cert/CertificateNotYetValidException.java: Likewise.
9576 * java/security/cert/CertificateParsingException.java: Likewise.
9577 * java/security/spec/InvalidKeySpecException.java: Likewise.
9578 * java/security/spec/InvalidParameterSpecException.java: Likewise.
9579
9580 * java/security/cert/CertPath.java: New file.
9581 * java/security/cert/CertPathBuilderException.java: New file.
9582 * java/security/cert/CertPathValidatorException.java: New file.
9583 * java/security/cert/CertStoreException.java: New file.
9584
9585 * Makefile.am: Add new CertPath classes.
9586 * Makefile.in: Rebuilt.
9587
9588 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9589
9590 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9591
9592 Merge JDK 1.4 exception chaining support from classpath.
9593
9594 * java/lang/Throwable.java: Merge 1.4 support from classpath.
9595 (stackTraceBytes): Rename from stackTrace.
9596 * java/lang/Exception.java: Merge from classpath.
9597 * java/lang/StackTraceElement: New file from classpath.
9598 * gcj/javaprims.h: Rebuild CNI namespace declarations.
9599 * Makefile.am: Add StackTraceElement.
9600 * Makefile.in: Rebuilt.
9601
9602 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9603
9604 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9605 they build first.
9606 * Makefile.in: Rebuilt.
9607
9608 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9609
9610 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9611 * configure.in: Likewise.
9612 * aclocal.m4: Regenerate.
9613 * configure: Regenerate.
9614
9615 2002-05-13 Tom Tromey <tromey@redhat.com>
9616
9617 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9618 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9619 Include platform.h.
9620
9621 Fixes PR libgcj/6389:
9622 * Makefile.in: Rebuilt.
9623 * Makefile.am (nat_source_files): Added natTimeZone.cc.
9624 * java/util/natTimeZone.cc: New file.
9625 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9626 * java/lang/System.java: Merged with Classpath.
9627 * java/lang/Runtime.java: Merged with Classpath.
9628 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9629 security check.
9630 (setIn0): Renamed from setIn; don't run security check.
9631 (setOut0): Renamed from setOut; don't run security check.
9632 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9633 init_properties): Moved to natRuntime.cc.
9634 Moved many includes to natRuntime.cc.
9635 (isWordsBigEndian): New method.
9636 * java/lang/natRuntime.cc: Include Long.h, also other includes
9637 previously in natSystem.cc.
9638 (maxMemory): New function.
9639 (exitInternal): Renamed from `_exit'.
9640 (exit): Removed.
9641 (init): Don't set finalize_on_exit.
9642 (exitInternal): Use `finalizeOnExit'.
9643 (file_encoding, getpwuid_adaptor): New functions from
9644 natSystem.cc.
9645 (insertSystemProperties): New method, renamed from
9646 System::init_properties. Don't set user.timezone.
9647 (_load): Don't call checkLink.
9648 (execInternal): New method.
9649 (availableProcessors): Likewise.
9650 (nativeGetLibname): Likewise.
9651
9652 2002-05-11 Mark Wielaard <mark@klomp.org>
9653
9654 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9655 space characters.
9656 (previous_internal): Likewise.
9657
9658 2002-05-09 Tom Tromey <tromey@redhat.com>
9659
9660 * jni.cc (_Jv_JNIFunctions): Fixed typo.
9661
9662 * java/util/ResourceBundle.java: New version from Classpath.
9663 * java/util/Locale.java: Likewise.
9664
9665 2002-05-09 Jakub Jelinek <jakub@redhat.com>
9666
9667 * testsuite/lib/libjava.exp (libjava_arguments): Append all
9668 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9669 LD_LIBRARY_PATH.
9670
9671 2002-05-08 Mark Mitchell <mark@codesourcery.com>
9672
9673 * libjava/Makefile.am (all_java_source_files): New variable.
9674 (all_java_class_files): Likewise.
9675 .java.class: New rule.
9676 (CLEANFILES): Remove tmp-list.
9677 * libjava/Makefile.in: Regenerated.
9678
9679 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
9680
9681 * testsuite/lib/libjava.exp (test_libjava_from_javac):
9682 Append .exe to executable names. Fix for cygwin.
9683
9684 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
9685
9686 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9687 script entry, and set LD to it when configuring multilibs.
9688 * configure: Rebuilt.
9689
9690 2002-05-07 Tom Tromey <tromey@redhat.com>
9691
9692 * java/lang/natString.cc (unintern): Fixed typo.
9693
9694 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9695
9696 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9697 with -no-install on *-*-cygwin*.
9698
9699 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9700
9701 * testsuite/lib/libjava.exp (test_libjava_from_source):
9702 Add comment explaining last patch
9703
9704 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
9705
9706 * testsuite/lib/libjava.exp (test_libjava_from_source):
9707 Append .exe to executable names. If no suffix is present,
9708 then ".exe" is added by default on win32. Harmless
9709 elsewhere so always do it.
9710
9711 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
9712 Tom Tromey <tromey@redhat.com>
9713
9714 * java/lang/natSystem.cc (getSystemTimeZone): Use
9715 HAVE_UNDERSCORE_TIMEZONE.
9716 * include/config.h.in: Rebuilt.
9717 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9718 * aclocal.m4, configure: Rebuilt.
9719 * acinclude.m4: Run AC_EXEEXT.
9720 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9721 Add test for `_timezone'.
9722
9723 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
9724
9725 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9726 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9727 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9728 * Makefile.in: Rebuilt.
9729
9730 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
9731
9732 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9733 use sigaction instead of __libc_sigaction.
9734
9735 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9736
9737 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9738 (libjava_init): Use it to find libgcj.spec.
9739 (libjava_arguments): Likewise.
9740
9741 2002-05-02 David S. Miller <davem@redhat.com>
9742
9743 PR bootstrap/6525
9744 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9745 __libc_sigaction on Sparc.
9746
9747 2002-05-02 Jerome Marc <marcjero@yahoo.com>
9748
9749 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9750 sys/filio.h, if present.
9751
9752 2002-04-30 Tom Tromey <tromey@redhat.com>
9753
9754 * java/io/BufferedReader.java (fill): Handle case where markPos
9755 point to ignored \n. Fixes PR libgcj/6301.
9756
9757 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
9758
9759 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9760
9761 2002-04-29 Adam King <aking@dreammechanics.com>
9762
9763 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9764 of file in APPEND mode.
9765
9766 2002-04-25 David S. Miller <davem@redhat.com>
9767
9768 PR target/6422
9769 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9770 program counter to next program counter minus 8. Update
9771 comments in this macro to explain why.
9772
9773 2002-04-26 Tom Tromey <tromey@redhat.com>
9774
9775 * verify.cc (construct_primitive_array_type) [void_type]: New
9776 case.
9777 (branch_prepass): Added dummy entries for unused instruction
9778 values.
9779 (verify_instructions_0): Likewise.
9780 * interpret.cc (continue1): Comment fix.
9781 * include/java-insns.h (op_xxxunusedxxx1): Removed.
9782 * Makefile.in: Rebuilt.
9783 * Makefile.am: Added -Wswitch-enum.
9784
9785 2002-04-24 Tom Tromey <tromey@redhat.com>
9786
9787 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9788 correct length of UTF-8 encoded name. Strip leading `/'.
9789 (_Jv_RegisterResource): Use _Jv_Malloc.
9790
9791 2002-04-23 Adam Megacz <adam@xwt.org>
9792
9793 * win32.cc, include/win32.cc (backtrace): Added this function
9794 because Win32 does not supply it.
9795
9796 2002-04-21 David S. Miller <davem@redhat.com>
9797
9798 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9799 magic instruction reading sequence.
9800
9801 2002-04-21 Mark Wielaard <mark@klomp.org>
9802
9803 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9804
9805 2002-04-19 David S. Miller <davem@redhat.com>
9806
9807 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9808 arg.
9809 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9810 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9811 on Sparc too.
9812 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9813 for 64-bit sparc.
9814 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9815 * sysdeps/sparc/locks.h: New file.
9816 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9817 on all sparc Solaris configurations. Set to
9818 include/dwarf2-signal.h on sparc Linux.
9819 * configure: Regenerate
9820 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9821
9822 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
9823
9824 * configure: Rebuilt.
9825 * configure.in (backtrace): Function doesn't work on IA-64.
9826
9827 2002-04-17 Adam King <aking@dreammechanics.com>
9828
9829 * java/io/File.java (normalizePath): Add Win32 support for auto
9830 conversion of a '/' path separator to Win32's '\' separator.
9831
9832 2002-04-16 Tom Tromey <tromey@redhat.com>
9833
9834 Fix for PR libgcj/6081:
9835 * Makefile.in: Rebuilt.
9836 * Makefile.am (install-data-local): Use GNU make trick to avoid
9837 shell limit.
9838
9839 2002-04-16 Adam King <aking@dreammechanics.com>
9840 Tom Tromey <tromey@redhat.com>
9841
9842 * java/io/natFileWin32.cc (performList): Return the correct array
9843 type. Don't duplicate the creation of a File since it's already
9844 done earlier in the method and the existing code would cause a
9845 ArrayStoreException. Don't use fixed-size array.
9846 (_access, _stat, attr, getCanonicalPath, performMkdir,
9847 performRenameTo): Don't use fixed-size array.
9848 (getCanonicalPath): Use throw, not _Jv_Throw.
9849
9850 2002-04-15 DJ Delorie <dj@redhat.com>
9851
9852 * configure.in: Allow building in $srcdir.
9853 * configure: Regenerated.
9854
9855 2002-04-14 Mark Wielaard <mark@klomp.org>
9856
9857 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9858 * java/net/natSocketImpl.cc (close): Likewise.
9859
9860 2002-04-14 Mark Wielaard <mark@klomp.org>
9861
9862 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9863
9864 2002-04-13 Adam King <aking@dreammechanics.com>
9865
9866 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9867 the f/F/d/D modifiers.
9868
9869 2002-04-12 Anthony Green <green@redhat.com>
9870
9871 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9872 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9873 * Makefile.in: Rebuilt.
9874 * configure.in: Substitute gcc_version.
9875 * configure: Rebuilt.
9876
9877 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9878
9879 * configure.host: Set can_unwind_signal on hosts which support it.
9880 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9881 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9882 exceptions and can_unwind_signal isn't set.
9883 * configure: Rebuilt.
9884
9885 2002-04-11 Tom Tromey <tromey@redhat.com>
9886
9887 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9888
9889 2002-04-11 Adam King <aking@dreammechanics.com>
9890 Tom Tromey <tromey@redhat.com>
9891
9892 * include/jvm.h (_Jv_ThrowBadArrayIndex,
9893 _Jv_ThrowNullPointerException): Mark as noreturn.
9894 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9895 and _Jv_free. Correctly invoke GetTempPath(). Indentation
9896 fixes.
9897
9898 2002-04-10 Tom Tromey <tromey@redhat.com>
9899
9900 * Makefile.in: Rebuilt.
9901 * Makefile.am (java/lang/Thread.h): Mark
9902 _Jv_AttachCurrentThreadAsDaemon as friend.
9903 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9904 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9905 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9906 function.
9907 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9908 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9909 (_Jv_JNI_InvokeFunctions): Added
9910 _Jv_JNI_AttachCurrentThreadAsDaemon.
9911 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9912 (JNI_GetDefaultJavaVMInitArgs): Likewise.
9913 (JNI_CreateJavaVM): Likewise.
9914 (_Jv_JNI_AttachCurrentThread): Likewise.
9915 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9916 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9917 (_Jv_JNIFunctions): Initialize new fields.
9918 (_Jv_JNI_NewDirectByteBuffer): New function.
9919 (_Jv_JNI_GetDirectBufferAddress): Likewise.
9920 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9921 * include/jni.h (JNI_VERSION_1_4): New macro.
9922 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9923 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9924 (JNINativeInterface::NewDirectByteBuffer): New field.
9925 (JNINativeInterface::GetDirectBufferAddress): New field.
9926 (JNINativeInterface::GetDirectBufferCapacity): New field.
9927 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9928 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9929 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9930
9931 2002-04-09 Tom Tromey <tromey@redhat.com>
9932
9933 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9934
9935 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
9936
9937 Fix for PR libgcj/6187:
9938 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9939 distance.
9940
9941 2002-04-07 Mark Wielaard <mark@klomp.org>
9942
9943 * java/util/AbstractMap.java (putAll): Use entrySet size.
9944 (toString): Explicitly use getKey() and getValue().
9945
9946 2002-04-07 Mark Wielaard <mark@klomp.org>
9947
9948 * java/util/Hashtable.java (contains): Remove NullPointer check.
9949 (containsValue): Add NullPointer check.
9950 (remove): Always throw NullPointerException when key
9951 is null.
9952
9953 2002-04-07 Adam King <aking@dreammechanics.com>
9954
9955 * java/lang/natSystem.cc (init_properties): Call new function
9956 _Jv_platform_initProperties.
9957 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9958 support for the System properties os.name, os.arch, os.version,
9959 user.name, user.home, and user.dir.
9960 * include/posix.h, include/win32.h, posix.cc: New function
9961 _Jv_platform_initProperties.
9962
9963 2002-04-06 Mark Wielaard <mark@klomp.org>
9964
9965 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9966
9967 2002-04-06 Mark Wielaard <mark@klomp.org>
9968
9969 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9970 all of the remaining elements.
9971 * java/util/Vector.java (addAll(int,Collection)): Likewise.
9972 (removeRange): If toIndex == fromIndex do
9973 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9974 (removeAll): Always throw NullPointerException when collection is
9975 null.
9976 (retrainAll): Likewise.
9977
9978 2002-04-05 Mark Wielaard <mark@klomp.org>
9979
9980 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9981 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9982
9983 2002-04-05 Adam Megacz <adam@xwt.org>
9984
9985 * exception.cc (abort): added static modifier
9986
9987 2002-04-04 Adam Megacz <adam@xwt.org>
9988
9989 * include/win32.h (_Jv_platform_close_on_exec): added inline
9990 modifier.
9991
9992 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
9993
9994 * configure.host: Add case statement to support generic port
9995 properties. Add *-*-freebsd* section.
9996
9997 2002-04-04 Mark Wielaard <mark@klomp.org>
9998
9999 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10000 test.
10001 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10002 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10003 that depend on awt code and BufferedByteOutputStream.interrupt.
10004
10005 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10006
10007 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10008 incorrect "hi" value when count > 40.
10009
10010 2002-04-03 Mark Wielaard <mark@klomp.org>
10011
10012 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10013 ordering.
10014
10015 2002-04-02 Tom Tromey <tromey@redhat.com>
10016
10017 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10018 not `0'.
10019
10020 2002-04-02 Mark Wielaard <mark@klomp.org>
10021
10022 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10023 list of testsuite crashers.
10024
10025 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10026
10027 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10028 when resizing table.
10029
10030 2002-04-01 Mark Wielaard <mark@klomp.org>
10031
10032 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10033 NegativeArraySizeException
10034 (clear(int)): Use sign extended shift.
10035 (flip(int)): Likewise.
10036 (get(int)): Likewise.
10037 (nextClearBit(int)): Likewise.
10038 (nextSetBit(int)): Likewise.
10039 (set(int)): Likewise.
10040
10041 2002-04-01 Mark Wielaard <mark@klomp.org>
10042
10043 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10044 that can be compiled now and add testsuite crashers to ignore list.
10045
10046 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10047
10048 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10049
10050 * libgcj.spec.in: Override libgcc, not lib.
10051 * libgcj-test.spec.in: Likewise.
10052
10053 2002-03-29 Tom Tromey <tromey@redhat.com>
10054
10055 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10056 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10057
10058 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10059
10060 * java/net/PlainDatagramSocketImpl.java
10061 (close): Use native implementation.
10062 (finalize): New method.
10063
10064 * java/net/PlainSocketImpl.java (finalize): New method.
10065
10066 * java/net/natPlainDatagramSocketImpl.cc
10067 (java/io/FileDescriptor.h): Don't include.
10068 (close): Implement method here.
10069 (create): Don't assign fd.
10070
10071 * java/net/natPlainSocketImpl.cc
10072 (java/io/FileDescriptor.h): Don't include.
10073 (create): Don't assign fd.
10074 (accept): Likewise.
10075 (close): Synchronize.
10076
10077 2002-03-27 Richard Henderson <rth@redhat.com>
10078
10079 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10080
10081 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10082
10083 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10084 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10085 instead of syscall on IA-64.
10086 Add FIXME comment.
10087
10088 2002-03-27 Anthony Green <green@redhat.com>
10089
10090 * libgcj.spec.in: Add CHECKREFSPEC.
10091 * configure.in: Ditto.
10092 * configure.host: Ditto. Check references for xscale-elf.
10093 * configure: Rebuilt.
10094
10095 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10096
10097 * include/dwarf2-signal.h: Temporarily back out last change.
10098
10099 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10100
10101 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10102
10103 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10104
10105 * configure.in, configure: enable dwarf2-exception-style
10106 exception handling on IA-64.
10107 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10108 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10109 Add FIXME comment.
10110
10111 2002-03-25 Tom Tromey <tromey@redhat.com>
10112
10113 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10114 (jv_convert_LDFLAGS): Likewise.
10115 (gij_LDFLAGS): Likewise.
10116 (rmic_LDFLAGS): Likewise.
10117 (rmiregistry_LDFLAGS): Likewise.
10118 * configure.in (THREADLDFLAGS): New subst; set correctly for
10119 *BSD.
10120
10121 2002-03-25 Tom Tromey <tromey@redhat.com>
10122
10123 For PR libgcj/5303:
10124 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10125 and --version.
10126 (help): New method.
10127 (version): Likewise.
10128 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10129 "GNU".
10130 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10131 "GNU".
10132
10133 2002-03-25 Tom Tromey <tromey@redhat.com>
10134
10135 * java/awt/Component.java (processEvent): Check ComponentEvent
10136 after KeyEvent.
10137
10138 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10139
10140 * java/io/PushbackReader.java: Reformat.
10141
10142 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10143 calculate correct number of bytes skipped.
10144
10145 Based on patch from Intel's ORP team:
10146 * java/io/PushbackInputStream.java (available): Calculate correct
10147 number of bytes in buffer.
10148 (read): Remove redundant bound check. Return bytes from both the
10149 buffer and the stream.
10150
10151 2002-03-24 Tom Tromey <tromey@redhat.com>
10152
10153 * java/awt/TextComponent.java (TextComponent): Editable by
10154 default.
10155
10156 * java/awt/MenuItem.java (eventMask): No longer private.
10157 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10158 superclass if we didn't handle event.
10159 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10160 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10161 * java/awt/Choice.java (dispatchEventImpl): New method.
10162 * java/awt/List.java (dispatchEventImpl): New method.
10163 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10164 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10165 * java/awt/TextField.java (dispatchEventImpl): New method.
10166
10167 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10168
10169 * java/beans/IntrospectionException.java: Update to 1.4.
10170 * java/beans/PropertyVetoException.java: Ditto.
10171
10172 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10173
10174 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10175 Arrays.equals instead of ArrayHelper.equalsArray.
10176
10177 2002-03-24 C. Brian Jones <cbj@gnu.org>
10178
10179 * java/beans/Introspector.java: added new static final fields
10180 introduced in 1.2, lots of other updates remain to be done
10181
10182 2002-03-24 C. Brian Jones <cbj@gnu.org>
10183
10184 * java/beans/Introspector.java: reformatting
10185
10186 2002-03-24 C. Brian Jones <cbj@gnu.org>
10187
10188 * java/beans/Introspector.java: default beanInfoSearchPath will
10189 not include sun.beans.infos given we provide no such package and
10190 the API doesn't really require it; gnu.java.beans.info is the
10191 default.
10192
10193 2002-03-24 Mark Wielaard <mark@klomp.org>
10194
10195 Thanks to Orp developers
10196 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10197 switch TRUE and FALSE return values.
10198
10199 2002-03-23 Tom Tromey <tromey@redhat.com>
10200
10201 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10202 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10203
10204 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10205
10206 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10207 MONTH entry. Fixes PR libgcj/6045.
10208
10209 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10210
10211 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10212
10213 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10214
10215 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10216 not release_set.
10217 * sysdep/powerpc/locks.h (write_barrier): New function.
10218 * sysdep/i386/locks.h (write_barrier): New function.
10219
10220 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10221
10222 * include/jni.h Use correct C comments.
10223
10224 2002-03-18 Tom Tromey <tromey@redhat.com>
10225
10226 * include/jni.h (JNIIMPORT): New macro.
10227 (JNIEXPORT): Likewise.
10228 (JNICALL): Likewise.
10229
10230 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10231
10232 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10233 systems.
10234
10235 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10236
10237 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10238 INIT_SEGV: Use old_i386_kernel_sigaction.
10239 INIT_FP: Likewise.
10240
10241 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10242
10243 * java/lang/natSystem.cc (init_properties): Update VM version
10244 properties.
10245 * configure.in: Set GCJVERSION.
10246 * acconfig.h: Add GCJVERSION.
10247 * configure: Rebuilt.
10248 * include/config.h.in: Rebuilt.
10249
10250 2002-03-17 Anthony Green <green@redhat.com>
10251
10252 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10253
10254 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10255
10256 Build a single libgcj.so, without separate gc and zlib libraries.
10257 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10258 SYS_ZLIBS if system zlib is used.
10259 * configure: Rebuilt.
10260 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10261 * Makefile.in: Rebuilt.
10262 * libtool-version: Increment .so version number.
10263
10264 * Makefile.am: Escape quotes in echo.
10265 * Makefile.in: Rebuilt.
10266
10267 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10268
10269 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10270 * Makefile.in: Rebuilt.
10271
10272 2002-03-15 Anthony Green <green@redhat.com>
10273
10274 * configure.host (FILE): New macro for specifing File
10275 implementation.
10276 * configure: Rebuilt.
10277 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10278
10279 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10280
10281 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10282 already implicitly brought in from libgcj.la.
10283 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10284 * Makefile.in: Rebuilt.
10285
10286 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10287
10288 * THANKS: Fix punctuation, alphabetization.
10289
10290 2002-03-15 Tom Tromey <tromey@redhat.com>
10291 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10292
10293 Fix for PR libgcj/5944.
10294 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10295
10296 2002-03-15 Anthony Green <green@redhat.com>
10297
10298 * configure.in (tool_include_dir): Define.
10299 * configure: Rebuilt.
10300 * gcj/Makefile.am: Install libgcj-config.h relative to
10301 tool_include_dir.
10302 * gcj/Makefile: Rebuilt.
10303 * gcj/libgcj-config.h: Add warning comment.
10304
10305 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10306
10307 * configure.host (powerpc*-darwin*): Enable interpreter.
10308
10309 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10310
10311 * include/posix.h: Add multiple include header protection.
10312 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10313
10314 2002-03-10 Adam Megacz <adam@xwt.org>
10315
10316 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10317
10318 2002-03-10 Tom Tromey <tromey@redhat.com>
10319
10320 * java/awt/GridLayout.java (layoutContainer): Handle case where
10321 there are no items in container.
10322
10323 * java/lang/Win32Process.java: Added comment.
10324 * include/posix.h (_Jv_platform_close_on_exec): New function.
10325 Include fcntl.h.
10326 * include/win32.h (_Jv_platform_close_on_exec): New function.
10327 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10328 flag.
10329 (accept): Likewise.
10330 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10331 close-on-exec flag.
10332 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10333 flag.
10334
10335 2002-03-09 Tom Tromey <tromey@redhat.com>
10336
10337 * verify.cc (state::NO_STACK): New constant.
10338 (state::is_unmerged_ret_state): Handle case where stacktop is
10339 NO_STACK.
10340 (state::merge): Handle NO_STACK merges.
10341 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10342 for instruction following jsr.
10343 (stacktop, stackdepth): Removed unused variables.
10344 (pop_jump): Ignore case where all remaining states are skipped.
10345
10346 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10347
10348 * java/awt/ImageMediaEntry: Removed.
10349 * java/awt/MediaEntry: Removed.
10350
10351 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10352
10353 Hashtable synchronization for PowerPC.
10354 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10355 slow_pthread_self. Set up symlink for sysdeps directory.
10356 * configure: Rebuild.
10357 * configure.host: Document more shell variables. Set sysdeps_dir
10358 for most platforms. Set slow_pthread_self for i686. Set
10359 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10360 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10361 that memory barrier is emitted where required.
10362 * prims.cc: 64-bit align static primitive class instances.
10363 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10364 read_barrier() to enforce ordering of reads.
10365 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10366 primitives for PowerPC.
10367 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10368 moved from natObject.cc.
10369 * sysdep/alpha/locks.h: Likewise.
10370 * sysdep/ia64/locks.h: Likewise.
10371 * sysdep/generic/locks.h: Likewise.
10372 * java/lang/natObject.cc: Move thread synchronization primitives to
10373 system-dependent headers.
10374
10375 2002-03-09 Adam Megacz <adam@xwt.org>
10376
10377 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10378 bytes read and no failure code returned.
10379
10380 2002-03-09 Adam Megacz <adam@xwt.org>
10381
10382 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10383 definitions to simulate -mthreads.
10384
10385 2002-03-09 Adam Megacz <adam@xwt.org>
10386
10387 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10388 avoid precision loss.
10389
10390 2002-03-09 Per Bothner <per@bothner.com>
10391
10392 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10393 * gnu/gcj/xlib/XImage.java: Likewise.
10394 * gnu/gcj/xlib/XColor.java: Likewise.
10395
10396 2002-03-09 Adam Megacz <adam@xwt.org>
10397
10398 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10399 IOException so that Throwable.printStackTrace fails correctly.
10400
10401 2002-03-08 Adam Megacz <adam@xwt.org>
10402
10403 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10404 fixed.
10405
10406 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10407
10408 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10409 truncated to int.
10410
10411 2002-03-08 Tom Tromey <tromey@redhat.com>
10412
10413 * include/jni.h: Include stdio.h.
10414
10415 2002-03-08 Tom Tromey <tromey@redhat.com>
10416
10417 * posix.cc (internal_gettimeofday): New function.
10418 (_Jv_select): Use it.
10419
10420 2002-03-07 Adam Megacz <adam@xwt.org>
10421
10422 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10423 WIN32, and added thunks for read(), write(), and close().
10424 * java/net/natPlainSocketImpl.cc (accept, read, read):
10425 Disabled timeouts on WIN32 pending discussion.
10426
10427 2002-03-07 Adam Megacz <adam@xwt.org>
10428
10429 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10430 returns jlong. Added implementation
10431 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10432 returns jlong.
10433 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10434 returns jlong.
10435 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10436 returns jlong.
10437 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10438 _Jv_platform_gettimeofday signature.
10439
10440 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10441
10442 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10443 (read): Call recv() directly, not _Jv_recv().
10444
10445 2002-03-06 Tom Tromey <tromey@redhat.com>
10446
10447 * java/io/natFileDescriptorEcos.cc (init): Don't use
10448 GetStdHandle.
10449 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10450 is negative.
10451 (init): Don't use GetStdHandle.
10452
10453 * include/config.h.in: Rebuilt.
10454 * configure: Rebuilt.
10455 * Makefile.in: Rebuilt.
10456
10457 2002-03-06 Adam Megacz <adam@xwt.org>
10458
10459 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10460 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10461 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10462 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10463
10464 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10465
10466 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10467 the code for generating include/java-chartables.h.
10468 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10469 merge with Classpath.
10470 * scripts/unicode-muncher.pl: Copy from Classpath.
10471 * scritps/MakeCharTables.java: New file.
10472 * gnu/gcj/convert/Blocks-3.txt: New file.
10473 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10474 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10475 * gnu/java/lang/CharData.java: Copy from Classpath.
10476 * Makefile.am (ordinary_java_source_files): Add
10477 gnu/java/lang/CharData.java.
10478 * configure.in: Remove --enable-fast-character option.
10479 * java/lang/Character.java: Merge algorithms and Javadoc with
10480 Classpath.
10481 * java/lang/natCharacter.cc: Implement Unicode lookup table more
10482 efficiently.
10483 * include/java-chardecomp.h: Regenerate.
10484 * include/java-chartables.h: Regenerate.
10485
10486 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10487
10488 * java/awt/MediaTracker.java: Implemented.
10489 * Makefile.am: Add MediaTracker.
10490 * Makefile.in: Rebuilt.
10491
10492 2002-03-05 Tom Tromey <tromey@redhat.com>
10493
10494 * java/lang/natPosixProcess.cc (fail): Removed.
10495 (startProcess): Simplified error-handling. Preserve
10496 LD_LIBRARY_PATH across exec.
10497
10498 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10499 AbstractMethodError.
10500
10501 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10502
10503 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10504 * Makefile.in: Rebuilt.
10505
10506 2002-03-03 Mark Wielaard <mark@klomp.org>
10507
10508 * java/util/Timer (TaskQueue.stop): set elements to zero.
10509
10510 2002-02-28 Anthony Green <green@redhat.com>
10511
10512 * java/lang/reflect/natMethod.cc (result): Add void* element.
10513 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
10514 constructor test.
10515
10516 2002-02-27 Adam Megacz <adam@xwt.org>
10517
10518 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10519 '#undef STRICT'.
10520
10521 2002-02-26 Tom Tromey <tromey@redhat.com>
10522
10523 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10524 * gij.cc (version): Use __VERSION__.
10525 * include/config.h.in: Rebuilt.
10526 * acconfig.h (GCJVERSION): Removed.
10527 * configure: Rebuilt.
10528 * configure.in (GCJVERSION): Removed.
10529
10530 2002-02-26 Andreas Schwab <schwab@suse.de>
10531
10532 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10533 glibcpp_CXX, since libjava uses even another CXX.
10534 * aclocal.m4, configure: Regenerated.
10535
10536 2002-02-26 Tom Tromey <tromey@redhat.com>
10537
10538 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10539 `1'.
10540
10541 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10542
10543 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10544 dependency tracking for .java files.
10545 * Makefile.in: Rebuilt.
10546
10547 2002-02-24 Adam Megacz <adam@xwt.org>
10548
10549 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10550 typo. Sorry.
10551
10552 2002-02-24 Adam Megacz <adam@xwt.org>
10553
10554 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10555 for Win32, changed #ifdefs to check WIN32 instead of the
10556 (now-obsolete) USE_WINSOCK, and removed support for socket
10557 timeouts on Win32 pending further discussion.
10558
10559 2002-02-24 Adam Megacz <adam@xwt.org>
10560
10561 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10562 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10563 delete
10564
10565 2002-02-24 Adam Megacz <adam@xwt.org>
10566
10567 * java/lang/Win32Process.java: Created a dummy class to allow
10568 build process to run to completion.
10569
10570 2002-02-24 Jeff Sturm <jsturm@one-point.com>
10571
10572 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10573 Define ffi_result union for ffi_call result. Cast
10574 ffi_result members to jvalue.
10575
10576 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
10577
10578 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10579 * testsuite/Makefile.in: Likewise.
10580
10581 2002-02-20 Per Bothner <per@bothner.com>
10582
10583 * java/net/URL.java (getPath): New JDK 1.3 method.
10584
10585 * java/net/URLStreamHandler.java (parseURL):
10586 It is wrong to prepend '/' to the file part of a relative url.
10587
10588 * java/net/URLStreamHandler.java (parseURL):
10589 Minor optizations - append '/' rather than "/".
10590
10591 * java/net/URLStreamHandler.java (parseURL):
10592 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10593 We probably should canonicalize for a context-relative url, though.
10594 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
10595 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
10596 (sameFile): New method. Uses canonicalizeFilename.
10597
10598 2002-02-22 Tom Tromey <tromey@redhat.com>
10599
10600 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10601 java.vendor and java.vm.vendor.
10602 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10603 recent copyright date.
10604 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10605 * gij.cc (version): Print `Inc'.
10606
10607 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10608
10609 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10610 * aclocal.m4, configure: Rebuilt.
10611
10612 2002-02-20 Per Bothner <per@bothner.com>
10613
10614 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
10615 and/or output streams immediately here, instead of using File.exists.
10616 (inputStream, outputStream): New fields to save open streams.
10617 (getInputStream, getOutputStream): Use already-opened streams.
10618
10619 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10620
10621 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10622 Use it.
10623 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10624 * aclocal.m4, configure, Makefile.in: Rebuilt.
10625
10626 2002-02-19 Tom Tromey <tromey@redhat.com>
10627
10628 Fix for PR libgcj/5696:
10629 * verify.cc (is_assignable_from_slow): Never call
10630 _Jv_IsAssignableFrom.
10631 (verify_instructions_0): Added new debug statement.
10632 (state::print): Print information about whether local has
10633 changed.
10634 (state::merge): Don't call note_variable when merging locals.
10635 (state::set_exception): Removed old FIXME comment.
10636
10637 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10638
10639 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10640 enable SO_BROADCAST.
10641
10642 2002-02-18 Jason Merrill <jason@redhat.com>
10643
10644 * name-finder.cc (toHex): Use word mode, not long long.
10645
10646 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10647
10648 2002-02-15 Tom Tromey <tromey@redhat.com>
10649
10650 Fix for PR libgcj/5695:
10651 * verify.cc (is_assignable_from_slow): Check to see if target is
10652 an Object before checking to see if source is an interface.
10653 (verify_instructions_0) [op_invokeinterface]: Handle case where
10654 we're making an interface call on Object.
10655
10656 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10657
10658 * Makefile.in: Rebuilt with Eric's change below.
10659
10660 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10661 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10662 Removed functions which are now implemented in Math.java.
10663
10664 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10665
10666 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10667 * Makefile.am (core_java_source_files): Add
10668 java/lang/StrictMath.java.
10669 * java/lang/Math.java: Merge with Classpath.
10670 * java/lang/StrictMath.java: New file - merge with Classpath.
10671
10672 2002-02-14 Mark Wielaard <mark@klomp.org>
10673
10674 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10675 package as a workaround for gcj 3.0.x
10676
10677 2002-02-14 Mark Wielaard <mark@klomp.org>
10678
10679 * java/security/BasicPermission.java: extends with fully qualified
10680 classname as workaround for gcj 3.0.4.
10681
10682 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10683
10684 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10685 around gcj bug of wrong emitted qualifier for inherited method.
10686 * java/net/SocketImpl.java (setOption, getOption): Ditto.
10687 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10688 constructor to reduce amount of emitted bytecode. While this
10689 happens to work around a jikes 1.15 bug, it is still a useful
10690 patch even for correct compilers.
10691 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10692 * gnu/java/rmi/server/UnicastRemoteCall.java
10693 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10694
10695 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10696
10697 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10698 * java/net/SocketImpl.java: Ditto.
10699 * java/rmi/server/RMIClassLoader.java: Ditto.
10700 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10701
10702 2002-02-14 Mark Wielaard <mark@klomp.org>
10703
10704 Thanks to Takashi Okamoto
10705 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10706 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10707 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10708
10709 2002-02-13 Todd Stock <toddastock@yahoo.com>
10710
10711 Fix for PR libgcj/5670:
10712 * verify.cc (is_assignable_from_slow): If `source' is interface,
10713 recursively look for merge with `target'.
10714
10715 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
10716
10717 * include/jni.h: Fix typo.
10718
10719 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
10720
10721 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10722 correctly.
10723
10724 2002-02-13 Todd Stock <toddastock@yahoo.com>
10725
10726 Fix for PR libgcj/5671:
10727 * verify.cc (state::merge): Handle case where we're merging
10728 against an interface.
10729
10730 2002-02-12 Tom Tromey <tromey@redhat.com>
10731
10732 * exception.cc (std::abort): Mark as noreturn.
10733
10734 2002-02-12 Adam Megacz <adam@xwt.org>
10735
10736 * java/lang/Win32Process.java: Filled in a placeholder
10737 implementation so Win32 will build.
10738
10739 2002-02-12 Adam Megacz <adam@xwt.org>
10740
10741 * java/io/natFilePosix.cc: Copied this from natFile.cc.
10742 * java/io/natFile.cc: Removed from repository.
10743 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10744
10745 2002-02-12 Adam Megacz <adam@xwt.org>
10746
10747 * win32.cc: Added two #includes to make win32.cc compile.
10748
10749 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10750
10751 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10752 declarations.
10753 (_Jv_InitGC): Don't bother locking, as this is always called from a
10754 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10755
10756 2002-02-11 Adam Megacz <adam@xwt.org>
10757
10758 * include/win32.h: Added _Jv_platform_gettimeofday.
10759 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10760
10761 2002-02-11 Adam Megacz <adam@xwt.org>
10762
10763 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10764 Added #undef STRICT to make windows.h and
10765 java/lang/reflect/Modifier.h cooperate.
10766
10767 2002-02-11 Adam Megacz <adam@xwt.org>
10768
10769 * java/io/natFileWin32.cc: Created a placeholder class with lots
10770 of FIXMEs.
10771
10772 2002-02-11 Adam Megacz <adam@xwt.org>
10773
10774 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10775 std::abort() to simply abort(). Also added "fake" std::abort() so
10776 we can #include unwind-pe.h without having to link against
10777 libstdc++-v3.
10778
10779 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
10780
10781 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10782
10783 2002-02-08 Tom Tromey <tromey@redhat.com>
10784
10785 * interpret.cc (convert): New function.
10786 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10787 convert.
10788 Include Long.h.
10789
10790 2002-02-08 Anthony Green <green@redhat.com>
10791
10792 * configure.host: Add support for xscale-elf embedded target.
10793
10794 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
10795
10796 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10797 dereferenced.
10798 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10799 frame.
10800
10801 2002-02-07 Tom Tromey <tromey@redhat.com>
10802
10803 * java/io/natFile.cc (_access): Use __builtin_alloca.
10804 (_stat): Likewise.
10805 (attr): Likewise.
10806 (getCanonicalPath): Likewise.
10807 (performList): Likewise.
10808 (performMkdir): Likewise.
10809 (performSetReadOnly): Likewise.
10810 (performRenameTo): Likewise.
10811 (performSetLastModified): Likewise.
10812 (performCreate): Likewise.
10813 (performDelete): Likewise.
10814
10815 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10816
10817 * HACKING: Fix URL for the automake-gcj.
10818
10819 2002-02-07 Tom Tromey <tromey@redhat.com>
10820
10821 * java/lang/natThrowable.cc: Updated copyright.
10822 * java/io/natFileWin32.cc: Updated copyright.
10823 * java/io/natFileDescriptorWin32.cc: Updated copyright.
10824 * win32-threads.cc: Updated copyright.
10825 * name-finder.cc: Updated copyright.
10826 * include/name-finder.h: Updated copyright.
10827
10828 * include/name-finder.h: Conditionally include sys/wait.h.
10829 * include/config.h.in: Rebuilt.
10830
10831 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10832 Size buffer based on real size of string.
10833 (_stat): Likewise.
10834 (attr): Likewise.
10835 (getCanonicalPath): Likewise.
10836 (performList): Likewise.
10837 (performMkdir): Likewise.
10838 (performSetReadOnly): Likewise.
10839 (unixroot): Removed.
10840 (performRenameTo): Likewise.
10841 (performSetLastModified): Likewise.
10842 (performCreate): Likewise.
10843 (performDelete): Likewise.
10844 (performListRoots): Always return new array.
10845
10846 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10847 * win32.cc (win32_exception_handler): Now static.
10848 * include/win32.h (_Jv_platform_initialize): Declare.
10849 (win32_exception_handler): Don't declare.
10850 * java/lang/natSystem.cc (currentTimeMillis): Use
10851 _Jv_platform_gettimeofday.
10852 * posix.cc (_Jv_platform_gettimeofday): Renamed.
10853 (_Jv_select): Use new name.
10854 (_Jv_platform_initialize): New function.
10855 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10856 _Jv_gettimeofday.
10857 (_Jv_platform_initialize): Declare.
10858
10859 * configure: Rebuilt.
10860 * configure.in: Removed unnecessary parens.
10861
10862 2002-02-06 Adam Megacz <adam@xwt.org>
10863
10864 * configure.in: Changed mingw) to *mingw*).
10865 * win32.cc: Created this file.
10866 * win32.h: Created this file.
10867 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10868 win32_exception_handler from prims.cc to win32.cc, added
10869 header in win32.h.
10870 * prims.cc: removed some #ifdef-WIN32'd headers which are no
10871 longer needed now that we have platform.h
10872
10873 2002-02-06 Adam Megacz <adam@xwt.org>
10874
10875 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10876 use uint<n>_t instead of LONG and BYTE
10877
10878 2002-02-06 Adam Megacz <adam@xwt.org>
10879
10880 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10881
10882 2002-02-06 Anthony Green <green@redhat.com>
10883
10884 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10885 Implement missing method stubs.
10886 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10887 targets.
10888 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10889 concept of timezones.
10890 (init_properties): Don't refer to _Jv_Environment_Properties
10891 when this feature is not available.
10892 * include/config.h.in: Rebuilt.
10893 * acconfig.h: Add DISABLE_MAIN_ARGS.
10894 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10895 * configure: Rebuilt.
10896 * configure.in: Add --disable-main-args option. Test for
10897 opendir function. Replace AC_CHECK_SIZEOF with
10898 AC_COMPILE_CHECK_SIZEOF.
10899 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10900 * aclocal.m4: Rebuilt.
10901 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10902
10903 2002-02-06 Tom Tromey <tromey@redhat.com>
10904
10905 * verify.cc (require_array_type): If argument is a null array of
10906 references, return null as the element type.
10907
10908 2002-02-06 Mark Wielaard <mark@klomp.org>
10909
10910 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10911 duplicate of a wide type.
10912
10913 2002-02-06 Tom Tromey <tromey@redhat.com>
10914
10915 * verify.cc (type::isnull): New method.
10916 (require_array_type): Handle case where array is null.
10917 (verify_instructions_0) [op_arraylength]: Likewise.
10918
10919 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10920
10921 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10922 Symlink PLATFORMH to platform.h.
10923 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10924 PLATFORMOBJS.
10925 * java/lang/natSystem.cc: #include platform.h not posix.h.
10926 * Makefile.in: Rebuilt with libgcj automake.
10927 * configure: Rebuilt.
10928
10929 2002-02-05 Richard Henderson <rth@redhat.com>
10930
10931 * Makefile.in: Undo munging last change.
10932
10933 2002-02-04 Adam Megacz <adam@xwt.org>
10934
10935 * win32.cc: Created it.
10936 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10937 which is set to posix.cc or win32.cc.
10938 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10939
10940 2002-02-04 Adam Megacz <adam@xwt.org>
10941
10942 * configure.in: Corrected mingw case branches; added * before
10943 and after.
10944
10945 2002-02-04 Adam Megacz <adam@xwt.org>
10946
10947 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10948 if compiling for win32
10949
10950 2002-02-04 Adam Megacz <adam@xwt.org>
10951
10952 * win32-threads.cc: #undef STRICT after gc.h inclusion
10953
10954 2002-02-02 Tom Tromey <tromey@redhat.com>
10955
10956 * Makefile.in: Rebuilt.
10957
10958 2002-02-02 Jason Merrill <jason@redhat.com>
10959
10960 * Makefile.am (clean-nat): New target.
10961
10962 2002-02-02 Tom Tromey <tromey@redhat.com>
10963
10964 * java/io/natFile.cc: Removed old "FIXME" comments.
10965
10966 2002-02-01 Tom Tromey <tromey@redhat.com>
10967
10968 * java/lang/natPosixProcess.cc (myclose): New function.
10969 (fail): Use it.
10970 (startProcess): Likewise.
10971
10972 2002-02-01 Adam Megacz <adam@xwt.org>
10973
10974 * prims.cc: Added #undef STRICT after #include<windows.h>.
10975
10976 2002-02-01 Adam Megacz <adam@xwt.org>
10977
10978 * prims.cc
10979 (_Jv_CreateJavaVM): We now use WIN32 instead of
10980 USE_WIN32_SIGNALLING and USE_WINSOCK.
10981 (win32_exception_handler): Now throws an exception out of
10982 the signal handler; assumes SJLJ.
10983
10984 2002-02-01 Adam Megacz <adam@xwt.org>
10985
10986 * win32-threads.cc:
10987 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10988 wait() algorithm to make it safe.
10989 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10990 Added lazy creation of Win32 Events for better performance
10991 (really_start): This now uses GC_CreateThread so boehm-gc
10992 knows about new threads even when statically linked.
10993
10994 2002-02-01 Adam Megacz <adam@xwt.org>
10995
10996 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10997 enable safer wait() algorithm.
10998 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10999 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11000 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11001 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11002 instead of mutex.
11003 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11004
11005 2002-02-01 Adam Megacz <adam@xwt.org>
11006
11007 * configure.in: Added support for mingw.
11008 * java/lang/Win32Process.java: Created as empty file.
11009 * java/lang/natWin32Process.cc: Created as empty file.
11010
11011 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11012
11013 PR java/4972
11014 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11015 for libiconv in LIBICONV variable.
11016 * configure: Regenerated.
11017
11018 2002-01-31 Tom Tromey <tromey@redhat.com>
11019
11020 * verify.cc (state::enter_subroutine): New method.
11021 (handle_jsr_insn): Use it.
11022 (state::merge): When processing a `ret', correctly use
11023 subroutine's state to determine which local variables have
11024 changed.
11025 (push_exception_jump): Don't let stack overflow.
11026
11027 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11028
11029 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11030 --version output.
11031
11032 2002-01-30 Tom Tromey <tromey@redhat.com>
11033
11034 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11035 parameter for `recv' return type.
11036
11037 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11038 (state::merge): ... not here.
11039 (subr_entry_info): New structure.
11040 (entry_points): New field.
11041 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11042 entry_points.
11043
11044 2002-01-29 Tom Tromey <tromey@redhat.com>
11045
11046 * java/awt/List.java (addNotify): Correctly check to see if peer
11047 does not exist.
11048
11049 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11050 to compute height of each cell, and number of columns to compute
11051 width of each cell.
11052 * java/awt/Window.java (getOwnedWindows): Don't return null.
11053 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11054 of component. Increment x using horizontal gap, not vertical
11055 gap.
11056
11057 2002-01-28 Tom Tromey <tromey@redhat.com>
11058
11059 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11060 `nargs' byte is number of words, not number of arguments.
11061
11062 2002-01-27 Tom Tromey <tromey@redhat.com>
11063
11064 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11065 (when): Likewise.
11066 * java/awt/event/InputEvent.java (modifiers, when): Now
11067 package-private.
11068
11069 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11070 and to-do list.
11071 (state::merge): Use current class' class loader.
11072 (state::print): Print subroutine.
11073 (state::merge): Don't look at subroutine of unmerged `ret'.
11074
11075 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11076
11077 * nogc.cc: Remove warnings.
11078 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11079 New functions.
11080
11081 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11082
11083 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11084 int, int): Remove empty "if" statement to work around compiler bug.
11085 (newPixels(int[], ColorModel, int, int): Likewise.
11086
11087 2002-01-25 Per Bothner <per@bothner.com>
11088
11089 * verify.cc (verify_fail): Change from being a top-level function
11090 to e method of _Jv_BytecodeVerifier. Emit current method name.
11091 Pass the current verifier to type: and state: methods as needed,
11092 for better error messages, and for resolve.
11093 (resolve): Pass current class's loader for Class.forName and
11094 _Jv_FindClassFromSignature, rather than using the default loader.
11095 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11096 (get_type_val_for_signature): Make non-static.
11097 (various methods): Pass start_PC implicitly, not explicitly.
11098
11099 2002-01-25 Tom Tromey <tromey@redhat.com>
11100
11101 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11102 loop termination condition.
11103 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11104 width.
11105
11106 2002-01-24 Tom Tromey <tromey@redhat.com>
11107
11108 * java/awt/Shape.java: Merged with Classpath.
11109 * java/awt/Scrollbar.java: Merged with Classpath.
11110
11111 * java/awt/Container.java (addNotify): Unconditionally call
11112 addNotifyContainerChildren and superclass addNotify.
11113
11114 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11115 getAlpha, not getBlue.
11116
11117 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11118
11119 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11120
11121 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11122 (grabPixels(long)): Wait to be notified that the ImageProducer has
11123 completed.
11124
11125 2002-01-24 Per Bothner <per@bothner.com>
11126
11127 * verify.cc (is_assignable_from_slow): If target is an interface,
11128 we must still check the source's superclass before giving up.
11129
11130 2002-01-24 Tom Tromey <tromey@redhat.com>
11131
11132 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11133
11134 2002-01-23 Tom Tromey <tromey@redhat.com>
11135
11136 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11137 `else'.
11138
11139 * Makefile.in: Rebuilt.
11140 * Makefile.am (awt_java_source_files): Added new files.
11141 * java/awt/Toolkit.java: Merged with Classpath.
11142 * java/awt/PrintGraphics.java: New file from Classpath.
11143 * java/awt/PrintJob.java: New file from Classpath.
11144 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11145 * java/awt/datatransfer/ClipboardOwner.java: New file from
11146 Classpath.
11147 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11148 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11149 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11150 Classpath.
11151 * java/awt/datatransfer/StringSelection.java: New file from
11152 Classpath.
11153 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11154 Classpath.
11155 * java/awt/datatransfer/Transferable.java: New file from
11156 Classpath.
11157 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11158 from Classpath.
11159
11160 * Makefile.in: Rebuilt.
11161 * Makefile.am (awt_java_source_files): Added new files.
11162 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11163 Classpath.
11164 * java/awt/image/CropImageFilter.java: New file from Classpath.
11165 * java/awt/image/FilteredImageSource.java: New file from
11166 Classpath.
11167 * java/awt/image/ImageFilter.java: New file from Classpath.
11168 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11169 * java/awt/image/PixelGrabber.java: New file from Classpath.
11170 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11171 * java/awt/image/ReplicateScaleFilter.java: New file from
11172 Classpath.
11173 * java/awt/image/ImageProducer.java: Replaced with Classpath
11174 version.
11175 * java/awt/image/ImageObserver.java: Replaced with Classpath
11176 version.
11177 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11178 version.
11179 * java/awt/GridBagConstraints.java (clone): Catch
11180 CloneNotSupportedException.
11181
11182 2002-01-23 Per Bothner <per@bothner.com>
11183
11184 * java/lang/reflect/natField.cc (setAddr): New function.
11185 Calls getAddr and then checks that the field isn't final.
11186 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11187 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11188 (set): Call setAddr before check that new value has right type,
11189 to better match specified semantics.
11190
11191 2002-01-22 Tom Tromey <tromey@redhat.com>
11192
11193 * java/awt/TextField.java: Replaced with Classpath version.
11194 * java/awt/TextArea.java: Replaced with Classpath version.
11195 * java/awt/TextComponent.java: Replaced with Classpath version.
11196
11197 * java/awt/GridBagConstraints.java: Updated copyright.
11198
11199 2002-01-22 Mark Wielaard <mark@klomp.org>
11200
11201 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11202 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11203 java/awt/Dialog.java java/awt/FileDialog.java
11204 java/awt/Font.java java/awt/FontMetrics.java
11205 java/awt/Image.java java/awt/ImageMediaEntry.java
11206 java/awt/Insets.java java/awt/List.java
11207 java/awt/MediaEntry.java java/awt/MediaTracker.java
11208 java/awt/Menu.java java/awt/MenuBar.java
11209 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11210 java/awt/PaintContext.java java/awt/Panel.java
11211 java/awt/PopupMenu.java java/awt/SystemColor.java
11212 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11213 java/awt/peer/CheckboxMenuItemPeer.java
11214 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11215 java/awt/peer/ComponentPeer.java
11216 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11217 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11218 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11219 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11220 java/awt/peer/MenuBarPeer.java
11221 java/awt/peer/MenuComponentPeer.java
11222 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11223 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11224 java/awt/peer/ScrollPanePeer.java
11225 java/awt/peer/ScrollbarPeer.java
11226 java/awt/peer/TextAreaPeer.java
11227 java/awt/peer/TextComponentPeer.java
11228 java/awt/peer/TextFieldPeer.java
11229 java/awt/peer/WindowPeer.java: Add license clarification.
11230
11231 2002-01-22 Mark Wielaard <mark@klomp.org>
11232
11233 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11234 gnu/gcj/runtime/StringBuffer.java
11235 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11236 gnu/java/awt/ComponentDataBlitOp.java
11237 gnu/java/awt/GLightweightPeer.java
11238 gnu/java/beans/BeanInfoEmbryo.java
11239 gnu/java/beans/EmptyBeanInfo.java
11240 gnu/java/beans/ExplicitBeanInfo.java
11241 gnu/java/beans/IntrospectionIncubator.java
11242 gnu/java/beans/editors/ColorEditor.java
11243 gnu/java/beans/editors/FontEditor.java
11244 gnu/java/beans/editors/NativeBooleanEditor.java
11245 gnu/java/beans/editors/NativeByteEditor.java
11246 gnu/java/beans/editors/NativeDoubleEditor.java
11247 gnu/java/beans/editors/NativeFloatEditor.java
11248 gnu/java/beans/editors/NativeIntEditor.java
11249 gnu/java/beans/editors/NativeLongEditor.java
11250 gnu/java/beans/editors/NativeShortEditor.java
11251 gnu/java/beans/editors/StringEditor.java
11252 gnu/java/beans/info/ComponentBeanInfo.java
11253 gnu/java/io/ClassLoaderObjectInputStream.java
11254 gnu/java/io/NullOutputStream.java
11255 gnu/java/io/ObjectIdentityWrapper.java
11256 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11257 gnu/java/lang/reflect/TypeSignature.java
11258 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11259 gnu/java/locale/Calendar_en.java
11260 gnu/java/locale/Calendar_nl.java
11261 gnu/java/locale/LocaleInformation.java
11262 gnu/java/locale/LocaleInformation_de.java
11263 gnu/java/locale/LocaleInformation_en.java
11264 gnu/java/locale/LocaleInformation_nl.java
11265 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11266 gnu/java/rmi/registry/RegistryImpl.java
11267 gnu/java/rmi/rmic/Compile_gcj.java
11268 gnu/java/rmi/rmic/Compiler.java
11269 gnu/java/rmi/rmic/CompilerProcess.java
11270 gnu/java/rmi/rmic/RMIC.java
11271 gnu/java/rmi/rmic/TabbedWriter.java
11272 gnu/java/rmi/server/ProtocolConstants.java
11273 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11274 gnu/java/rmi/server/RMIHashes.java
11275 gnu/java/rmi/server/RMIObjectInputStream.java
11276 gnu/java/rmi/server/RMIObjectOutputStream.java
11277 gnu/java/rmi/server/UnicastConnection.java
11278 gnu/java/rmi/server/UnicastConnectionManager.java
11279 gnu/java/rmi/server/UnicastRef.java
11280 gnu/java/rmi/server/UnicastRemoteCall.java
11281 gnu/java/rmi/server/UnicastRemoteStub.java
11282 gnu/java/rmi/server/UnicastServer.java
11283 gnu/java/rmi/server/UnicastServerRef.java
11284 gnu/java/security/provider/DefaultPolicy.java
11285 gnu/java/security/provider/Gnu.java
11286 gnu/java/security/provider/SHA.java
11287 gnu/java/security/provider/SHA1PRNG.java
11288 gnu/java/text/BaseBreakIterator.java
11289 gnu/java/text/CharacterBreakIterator.java
11290 gnu/java/text/LineBreakIterator.java
11291 gnu/java/text/SentenceBreakIterator.java
11292 gnu/java/text/WordBreakIterator.java
11293 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11294 java/applet/AppletContext.java java/applet/AppletStub.java
11295 java/applet/AudioClip.java java/awt/AWTError.java
11296 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11297 java/awt/AWTException.java java/awt/AWTPermission.java
11298 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11299 java/awt/Button.java java/awt/Canvas.java
11300 java/awt/CardLayout.java java/awt/Checkbox.java
11301 java/awt/CheckboxGroup.java java/awt/Component.java
11302 java/awt/ComponentOrientation.java java/awt/Container.java
11303 java/awt/Dimension.java java/awt/Event.java
11304 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11305 java/awt/FlowLayout.java java/awt/Frame.java
11306 java/awt/Graphics.java java/awt/Graphics2D.java
11307 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11308 java/awt/IllegalComponentStateException.java
11309 java/awt/ItemSelectable.java java/awt/Label.java
11310 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11311 java/awt/MenuComponent.java java/awt/MenuItem.java
11312 java/awt/Paint.java java/awt/Point.java
11313 java/awt/Rectangle.java java/awt/RenderingHints.java
11314 java/awt/Transparency.java java/awt/Window.java
11315 java/awt/color/ColorSpace.java
11316 java/awt/color/ICC_ColorSpace.java
11317 java/awt/color/ICC_Profile.java
11318 java/awt/event/HierarchyBoundsAdapter.java
11319 java/awt/event/HierarchyBoundsListener.java
11320 java/awt/event/HierarchyEvent.java
11321 java/awt/event/HierarchyListener.java
11322 java/awt/geom/AffineTransform.java
11323 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11324 java/awt/geom/IllegalPathStateException.java
11325 java/awt/geom/Line2D.java
11326 java/awt/geom/NoninvertibleTransformException.java
11327 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11328 java/awt/geom/Rectangle2D.java
11329 java/awt/geom/RectangularShape.java
11330 java/awt/geom/RoundRectangle2D.java
11331 java/awt/image/BufferedImage.java
11332 java/awt/image/ColorModel.java
11333 java/awt/image/ComponentColorModel.java
11334 java/awt/image/ComponentSampleModel.java
11335 java/awt/image/DataBuffer.java
11336 java/awt/image/DataBufferByte.java
11337 java/awt/image/DataBufferInt.java
11338 java/awt/image/DataBufferUShort.java
11339 java/awt/image/DirectColorModel.java
11340 java/awt/image/PackedColorModel.java
11341 java/awt/image/Raster.java java/awt/image/RasterOp.java
11342 java/awt/image/SampleModel.java
11343 java/awt/image/SinglePixelPackedSampleModel.java
11344 java/awt/image/WritableRaster.java
11345 java/beans/AppletInitializer.java
11346 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11347 java/beans/Beans.java java/beans/Customizer.java
11348 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11349 java/beans/FeatureDescriptor.java
11350 java/beans/IndexedPropertyDescriptor.java
11351 java/beans/IntrospectionException.java
11352 java/beans/Introspector.java java/beans/MethodDescriptor.java
11353 java/beans/ParameterDescriptor.java
11354 java/beans/PropertyChangeEvent.java
11355 java/beans/PropertyChangeListener.java
11356 java/beans/PropertyChangeSupport.java
11357 java/beans/PropertyDescriptor.java
11358 java/beans/PropertyEditor.java
11359 java/beans/PropertyEditorManager.java
11360 java/beans/PropertyEditorSupport.java
11361 java/beans/PropertyVetoException.java
11362 java/beans/SimpleBeanInfo.java
11363 java/beans/VetoableChangeListener.java
11364 java/beans/VetoableChangeSupport.java
11365 java/beans/Visibility.java
11366 java/beans/beancontext/BeanContext.java
11367 java/beans/beancontext/BeanContextChild.java
11368 java/beans/beancontext/BeanContextChildComponentProxy.java
11369 java/beans/beancontext/BeanContextChildSupport.java
11370 java/beans/beancontext/BeanContextContainerProxy.java
11371 java/beans/beancontext/BeanContextEvent.java
11372 java/beans/beancontext/BeanContextMembershipEvent.java
11373 java/beans/beancontext/BeanContextMembershipListener.java
11374 java/beans/beancontext/BeanContextProxy.java
11375 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11376 java/beans/beancontext/BeanContextServiceProvider.java
11377 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11378 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11379 java/beans/beancontext/BeanContextServiceRevokedListener.java
11380 java/beans/beancontext/BeanContextServices.java
11381 java/beans/beancontext/BeanContextServicesListener.java
11382 java/io/BufferedInputStream.java
11383 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11384 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11385 java/io/ByteArrayOutputStream.java
11386 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11387 java/io/CharConversionException.java java/io/DataInput.java
11388 java/io/DataInputStream.java java/io/DataOutput.java
11389 java/io/EOFException.java java/io/Externalizable.java
11390 java/io/FileFilter.java java/io/FileNotFoundException.java
11391 java/io/FilePermission.java java/io/FileReader.java
11392 java/io/FileWriter.java java/io/FilenameFilter.java
11393 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11394 java/io/FilterReader.java java/io/FilterWriter.java
11395 java/io/IOException.java java/io/InputStream.java
11396 java/io/InterruptedIOException.java
11397 java/io/InvalidClassException.java
11398 java/io/InvalidObjectException.java
11399 java/io/NotActiveException.java
11400 java/io/NotSerializableException.java java/io/ObjectInput.java
11401 java/io/ObjectInputStream.java
11402 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11403 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11404 java/io/ObjectStreamConstants.java
11405 java/io/ObjectStreamException.java
11406 java/io/ObjectStreamField.java
11407 java/io/OptionalDataException.java java/io/OutputStream.java
11408 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11409 java/io/PipedReader.java java/io/PipedWriter.java
11410 java/io/PrintWriter.java java/io/PushbackInputStream.java
11411 java/io/PushbackReader.java java/io/Reader.java
11412 java/io/SequenceInputStream.java java/io/Serializable.java
11413 java/io/SerializablePermission.java
11414 java/io/StreamCorruptedException.java
11415 java/io/StreamTokenizer.java
11416 java/io/StringBufferInputStream.java java/io/StringReader.java
11417 java/io/StringWriter.java java/io/SyncFailedException.java
11418 java/io/UTFDataFormatException.java
11419 java/io/UnsupportedEncodingException.java
11420 java/io/WriteAbortedException.java java/io/Writer.java
11421 java/lang/AbstractMethodError.java
11422 java/lang/ArithmeticException.java
11423 java/lang/ArrayIndexOutOfBoundsException.java
11424 java/lang/ArrayStoreException.java java/lang/Boolean.java
11425 java/lang/Byte.java java/lang/CharSequence.java
11426 java/lang/ClassCastException.java
11427 java/lang/ClassCircularityError.java
11428 java/lang/ClassFormatError.java
11429 java/lang/ClassNotFoundException.java
11430 java/lang/CloneNotSupportedException.java
11431 java/lang/Cloneable.java java/lang/Comparable.java
11432 java/lang/Compiler.java java/lang/Double.java
11433 java/lang/Error.java java/lang/Exception.java
11434 java/lang/ExceptionInInitializerError.java
11435 java/lang/Float.java java/lang/IllegalAccessError.java
11436 java/lang/IllegalAccessException.java
11437 java/lang/IllegalArgumentException.java
11438 java/lang/IllegalMonitorStateException.java
11439 java/lang/IllegalStateException.java
11440 java/lang/IllegalThreadStateException.java
11441 java/lang/IncompatibleClassChangeError.java
11442 java/lang/IndexOutOfBoundsException.java
11443 java/lang/InheritableThreadLocal.java
11444 java/lang/InstantiationError.java
11445 java/lang/InstantiationException.java java/lang/Integer.java
11446 java/lang/InternalError.java
11447 java/lang/InterruptedException.java
11448 java/lang/LinkageError.java java/lang/Long.java
11449 java/lang/NegativeArraySizeException.java
11450 java/lang/NoClassDefFoundError.java
11451 java/lang/NoSuchFieldError.java
11452 java/lang/NoSuchFieldException.java
11453 java/lang/NoSuchMethodError.java
11454 java/lang/NoSuchMethodException.java
11455 java/lang/NullPointerException.java java/lang/Number.java
11456 java/lang/NumberFormatException.java
11457 java/lang/OutOfMemoryError.java java/lang/Package.java
11458 java/lang/Process.java java/lang/Runnable.java
11459 java/lang/RuntimeException.java
11460 java/lang/RuntimePermission.java
11461 java/lang/SecurityException.java
11462 java/lang/SecurityManager.java java/lang/Short.java
11463 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11464 java/lang/StringIndexOutOfBoundsException.java
11465 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11466 java/lang/ThreadLocal.java java/lang/UnknownError.java
11467 java/lang/UnsatisfiedLinkError.java
11468 java/lang/UnsupportedClassVersionError.java
11469 java/lang/UnsupportedOperationException.java
11470 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11471 java/lang/Void.java java/lang/ref/PhantomReference.java
11472 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11473 java/lang/ref/SoftReference.java
11474 java/lang/ref/WeakReference.java
11475 java/lang/reflect/AccessibleObject.java
11476 java/lang/reflect/InvocationTargetException.java
11477 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11478 java/lang/reflect/ReflectPermission.java
11479 java/math/BigDecimal.java java/math/BigInteger.java
11480 java/net/Authenticator.java java/net/BindException.java
11481 java/net/ConnectException.java java/net/ContentHandler.java
11482 java/net/ContentHandlerFactory.java
11483 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11484 java/net/FileNameMap.java java/net/MalformedURLException.java
11485 java/net/MulticastSocket.java java/net/NetPermission.java
11486 java/net/NoRouteToHostException.java
11487 java/net/PasswordAuthentication.java
11488 java/net/ProtocolException.java java/net/ServerSocket.java
11489 java/net/Socket.java java/net/SocketException.java
11490 java/net/SocketImpl.java java/net/SocketImplFactory.java
11491 java/net/SocketOptions.java java/net/SocketPermission.java
11492 java/net/URLDecoder.java java/net/URLEncoder.java
11493 java/net/URLStreamHandlerFactory.java
11494 java/net/UnknownHostException.java
11495 java/net/UnknownServiceException.java
11496 java/rmi/AccessException.java
11497 java/rmi/AlreadyBoundException.java
11498 java/rmi/ConnectException.java
11499 java/rmi/ConnectIOException.java
11500 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11501 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11502 java/rmi/NotBoundException.java
11503 java/rmi/RMISecurityException.java
11504 java/rmi/RMISecurityManager.java java/rmi/Remote.java
11505 java/rmi/RemoteException.java java/rmi/ServerError.java
11506 java/rmi/ServerException.java
11507 java/rmi/ServerRuntimeException.java
11508 java/rmi/StubNotFoundException.java
11509 java/rmi/UnexpectedException.java
11510 java/rmi/UnknownHostException.java
11511 java/rmi/UnmarshalException.java
11512 java/rmi/activation/Activatable.java
11513 java/rmi/activation/ActivateFailedException.java
11514 java/rmi/activation/ActivationDesc.java
11515 java/rmi/activation/ActivationException.java
11516 java/rmi/activation/ActivationGroup.java
11517 java/rmi/activation/ActivationGroupDesc.java
11518 java/rmi/activation/ActivationGroupID.java
11519 java/rmi/activation/ActivationID.java
11520 java/rmi/activation/ActivationInstantiator.java
11521 java/rmi/activation/ActivationMonitor.java
11522 java/rmi/activation/ActivationSystem.java
11523 java/rmi/activation/Activator.java
11524 java/rmi/activation/UnknownGroupException.java
11525 java/rmi/activation/UnknownObjectException.java
11526 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11527 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11528 java/rmi/registry/Registry.java
11529 java/rmi/registry/RegistryHandler.java
11530 java/rmi/server/ExportException.java
11531 java/rmi/server/LoaderHandler.java
11532 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11533 java/rmi/server/Operation.java
11534 java/rmi/server/RMIClassLoader.java
11535 java/rmi/server/RMIClientSocketFactory.java
11536 java/rmi/server/RMIFailureHandler.java
11537 java/rmi/server/RMIServerSocketFactory.java
11538 java/rmi/server/RMISocketFactory.java
11539 java/rmi/server/RemoteCall.java
11540 java/rmi/server/RemoteObject.java
11541 java/rmi/server/RemoteRef.java
11542 java/rmi/server/RemoteServer.java
11543 java/rmi/server/RemoteStub.java
11544 java/rmi/server/ServerCloneException.java
11545 java/rmi/server/ServerNotActiveException.java
11546 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11547 java/rmi/server/SkeletonMismatchException.java
11548 java/rmi/server/SkeletonNotFoundException.java
11549 java/rmi/server/SocketSecurityException.java
11550 java/rmi/server/UID.java
11551 java/rmi/server/UnicastRemoteObject.java
11552 java/rmi/server/Unreferenced.java
11553 java/security/AccessControlContext.java
11554 java/security/AccessControlException.java
11555 java/security/AccessController.java
11556 java/security/AlgorithmParameterGenerator.java
11557 java/security/AlgorithmParameterGeneratorSpi.java
11558 java/security/AlgorithmParameters.java
11559 java/security/AlgorithmParametersSpi.java
11560 java/security/AllPermission.java
11561 java/security/BasicPermission.java
11562 java/security/Certificate.java java/security/CodeSource.java
11563 java/security/DigestException.java
11564 java/security/DigestInputStream.java
11565 java/security/DigestOutputStream.java
11566 java/security/DomainCombiner.java
11567 java/security/DummyKeyPairGenerator.java
11568 java/security/DummyMessageDigest.java
11569 java/security/DummySignature.java
11570 java/security/GeneralSecurityException.java
11571 java/security/Guard.java java/security/GuardedObject.java
11572 java/security/Identity.java java/security/IdentityScope.java
11573 java/security/InvalidAlgorithmParameterException.java
11574 java/security/InvalidKeyException.java
11575 java/security/InvalidParameterException.java
11576 java/security/Key.java java/security/KeyException.java
11577 java/security/KeyFactory.java java/security/KeyFactorySpi.java
11578 java/security/KeyManagementException.java
11579 java/security/KeyPair.java java/security/KeyPairGenerator.java
11580 java/security/KeyPairGeneratorSpi.java
11581 java/security/KeyStore.java
11582 java/security/KeyStoreException.java
11583 java/security/KeyStoreSpi.java
11584 java/security/MessageDigest.java
11585 java/security/MessageDigestSpi.java
11586 java/security/NoSuchAlgorithmException.java
11587 java/security/NoSuchProviderException.java
11588 java/security/Permission.java
11589 java/security/PermissionCollection.java
11590 java/security/Permissions.java java/security/Policy.java
11591 java/security/Principal.java java/security/PrivateKey.java
11592 java/security/PrivilegedAction.java
11593 java/security/PrivilegedActionException.java
11594 java/security/PrivilegedExceptionAction.java
11595 java/security/ProtectionDomain.java
11596 java/security/Provider.java
11597 java/security/ProviderException.java
11598 java/security/PublicKey.java
11599 java/security/SecureClassLoader.java
11600 java/security/SecureRandom.java
11601 java/security/SecureRandomSpi.java java/security/Security.java
11602 java/security/SecurityPermission.java
11603 java/security/Signature.java
11604 java/security/SignatureException.java
11605 java/security/SignatureSpi.java
11606 java/security/SignedObject.java java/security/Signer.java
11607 java/security/UnrecoverableKeyException.java
11608 java/security/UnresolvedPermission.java
11609 java/security/acl/Acl.java java/security/acl/AclEntry.java
11610 java/security/acl/AclNotFoundException.java
11611 java/security/acl/Group.java
11612 java/security/acl/LastOwnerException.java
11613 java/security/acl/NotOwnerException.java
11614 java/security/acl/Owner.java java/security/acl/Permission.java
11615 java/security/cert/CRL.java
11616 java/security/cert/CRLException.java
11617 java/security/cert/Certificate.java
11618 java/security/cert/CertificateEncodingException.java
11619 java/security/cert/CertificateException.java
11620 java/security/cert/CertificateExpiredException.java
11621 java/security/cert/CertificateFactory.java
11622 java/security/cert/CertificateFactorySpi.java
11623 java/security/cert/CertificateNotYetValidException.java
11624 java/security/cert/CertificateParsingException.java
11625 java/security/cert/X509CRL.java
11626 java/security/cert/X509CRLEntry.java
11627 java/security/cert/X509Certificate.java
11628 java/security/cert/X509Extension.java
11629 java/security/interfaces/DSAKey.java
11630 java/security/interfaces/DSAKeyPairGenerator.java
11631 java/security/interfaces/DSAParams.java
11632 java/security/interfaces/DSAPrivateKey.java
11633 java/security/interfaces/DSAPublicKey.java
11634 java/security/interfaces/RSAKey.java
11635 java/security/interfaces/RSAPrivateCrtKey.java
11636 java/security/interfaces/RSAPrivateKey.java
11637 java/security/interfaces/RSAPublicKey.java
11638 java/security/spec/AlgorithmParameterSpec.java
11639 java/security/spec/DSAParameterSpec.java
11640 java/security/spec/DSAPrivateKeySpec.java
11641 java/security/spec/DSAPublicKeySpec.java
11642 java/security/spec/EncodedKeySpec.java
11643 java/security/spec/InvalidKeySpecException.java
11644 java/security/spec/InvalidParameterSpecException.java
11645 java/security/spec/KeySpec.java
11646 java/security/spec/PKCS8EncodedKeySpec.java
11647 java/security/spec/RSAKeyGenParameterSpec.java
11648 java/security/spec/RSAPrivateCrtKeySpec.java
11649 java/security/spec/RSAPrivateKeySpec.java
11650 java/security/spec/RSAPublicKeySpec.java
11651 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11652 java/sql/BatchUpdateException.java java/sql/Blob.java
11653 java/sql/CallableStatement.java java/sql/Clob.java
11654 java/sql/Connection.java java/sql/DataTruncation.java
11655 java/sql/DatabaseMetaData.java java/sql/Date.java
11656 java/sql/Driver.java java/sql/DriverManager.java
11657 java/sql/DriverPropertyInfo.java
11658 java/sql/PreparedStatement.java java/sql/Ref.java
11659 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11660 java/sql/SQLData.java java/sql/SQLException.java
11661 java/sql/SQLInput.java java/sql/SQLOutput.java
11662 java/sql/SQLWarning.java java/sql/Statement.java
11663 java/sql/Struct.java java/sql/Time.java
11664 java/sql/Timestamp.java java/sql/Types.java
11665 java/text/Annotation.java
11666 java/text/AttributedCharacterIterator.java
11667 java/text/AttributedString.java
11668 java/text/AttributedStringIterator.java
11669 java/text/BreakIterator.java java/text/CharacterIterator.java
11670 java/text/ChoiceFormat.java java/text/Collator.java
11671 java/text/DateFormat.java java/text/DateFormatSymbols.java
11672 java/text/DecimalFormat.java
11673 java/text/DecimalFormatSymbols.java
11674 java/text/FieldPosition.java java/text/Format.java
11675 java/text/MessageFormat.java java/text/NumberFormat.java
11676 java/text/ParseException.java java/text/ParsePosition.java
11677 java/text/SimpleDateFormat.java
11678 java/text/StringCharacterIterator.java
11679 java/util/AbstractCollection.java java/util/AbstractList.java
11680 java/util/AbstractMap.java
11681 java/util/AbstractSequentialList.java
11682 java/util/AbstractSet.java java/util/ArrayList.java
11683 java/util/Arrays.java java/util/BasicMapEntry.java
11684 java/util/BitSet.java java/util/Calendar.java
11685 java/util/Collection.java java/util/Collections.java
11686 java/util/Comparator.java
11687 java/util/ConcurrentModificationException.java
11688 java/util/Date.java java/util/Dictionary.java
11689 java/util/EmptyStackException.java java/util/Enumeration.java
11690 java/util/EventListener.java java/util/EventObject.java
11691 java/util/GregorianCalendar.java java/util/HashMap.java
11692 java/util/HashSet.java java/util/Hashtable.java
11693 java/util/IdentityHashMap.java java/util/Iterator.java
11694 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11695 java/util/LinkedList.java java/util/List.java
11696 java/util/ListIterator.java java/util/ListResourceBundle.java
11697 java/util/Locale.java java/util/Map.java
11698 java/util/MissingResourceException.java
11699 java/util/NoSuchElementException.java
11700 java/util/Observable.java java/util/Observer.java
11701 java/util/Properties.java java/util/PropertyPermission.java
11702 java/util/PropertyResourceBundle.java java/util/Random.java
11703 java/util/RandomAccess.java java/util/ResourceBundle.java
11704 java/util/Set.java java/util/SimpleTimeZone.java
11705 java/util/SortedMap.java java/util/SortedSet.java
11706 java/util/Stack.java java/util/StringTokenizer.java
11707 java/util/TimeZone.java java/util/Timer.java
11708 java/util/TimerTask.java
11709 java/util/TooManyListenersException.java
11710 java/util/TreeMap.java java/util/TreeSet.java
11711 java/util/Vector.java java/util/WeakHashMap.java
11712 java/util/jar/Attributes.java java/util/jar/JarEntry.java
11713 java/util/jar/JarException.java java/util/jar/JarFile.java
11714 java/util/jar/JarInputStream.java
11715 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11716 java/util/zip/Adler32.java java/util/zip/CRC32.java
11717 java/util/zip/CheckedInputStream.java
11718 java/util/zip/CheckedOutputStream.java
11719 java/util/zip/Checksum.java
11720 java/util/zip/DataFormatException.java
11721 java/util/zip/Deflater.java
11722 java/util/zip/DeflaterOutputStream.java
11723 java/util/zip/GZIPInputStream.java
11724 java/util/zip/GZIPOutputStream.java
11725 java/util/zip/Inflater.java
11726 java/util/zip/InflaterInputStream.java
11727 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11728 java/util/zip/ZipException.java java/util/zip/ZipFile.java
11729 java/util/zip/ZipInputStream.java
11730 java/util/zip/ZipOutputStream.java
11731 javax/naming/BinaryRefAddr.java
11732 javax/naming/InvalidNameException.java javax/naming/Name.java
11733 javax/naming/NamingException.java javax/naming/RefAddr.java
11734 javax/naming/StringRefAddr.java: Add license clarification.
11735
11736 2002-01-22 Tom Tromey <tromey@redhat.com>
11737
11738 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11739 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11740 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11741 version.
11742 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11743 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11744 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11745 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11746 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11747 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11748 * java/awt/peer/FontPeer.java: Replace with Classpath version.
11749 * java/awt/peer/FramePeer.java: Replace with Classpath version.
11750 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11751 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11752 * java/awt/peer/ListPeer.java: Replace with Classpath version.
11753 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11754 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11755 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11756 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11757 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11758 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11759 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11760 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11761 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11762 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11763 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11764 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11765 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11766 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11767 (minimumSize, preferredSize, reshape): Likewise.
11768 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11769 getColorModel): New methods.
11770 * java/awt/PopupMenu.java: Merged with Classpath.
11771 * java/awt/MenuBar.java: Merged with Classpath.
11772 * java/awt/SystemColor.java: Replace with Classpath version.
11773 * java/awt/Panel.java: Merged with Classpath.
11774 * java/awt/PaintContext.java: Updated copyright.
11775 * java/awt/MenuShortcut.java: Merged with Classpath.
11776 * java/awt/MenuContainer.java: Merged with Classpath.
11777 * java/awt/Menu.java: Merged with Classpath.
11778 * java/awt/MediaEntry.java: New file from Classpath.
11779 * java/awt/MediaTracker.java: New file from Classpath.
11780 * java/awt/List.java: Merged with Classpath version.
11781 * java/awt/Insets.java: Merged with Classpath version.
11782 * java/awt/ImageMediaEntry.java: New file from Classpath.
11783 * java/awt/Image.java: Replaced with Classpath version.
11784 * java/awt/FontMetrics.java: Merged with Classpath version.
11785 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11786 constant.
11787 * java/awt/Font.java: Merged with Classpath version.
11788 * java/awt/Dialog.java: Merged with Classpath version.
11789 * java/awt/Color.java: Merged with Classpath version.
11790 * java/awt/Choice.java: Merged with Classpath version.
11791 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11792 * java/awt/Adjustable.java: Replace with Classpath version.
11793 * java/awt/MenuItem.java (paramString): Don't include class name
11794 or brackets. Call superclass paramString.
11795 * java/awt/MenuComponent.java (toString): Call paramString.
11796 (paramString): Compute string; don't call toString.
11797 * java/awt/Label.java (paramString): Don't include class name
11798 or brackets. Call superclass paramString.
11799 * java/awt/Checkbox.java (paramString): Don't include class name
11800 or brackets. Call superclass paramString.
11801 * java/awt/Button.java (paramString): Don't include class name or
11802 brackets. Call superclass paramString.
11803 * java/awt/MenuComponent.java (getTreeLock): Now protected.
11804
11805 2002-01-20 Andreas Schwab <schwab@suse.de>
11806
11807 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11808 function and of parameter recv_func to ssize_t, as specified by
11809 POSIX.
11810
11811 2002-01-19 Per Bothner <per@bothner.com>
11812
11813 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
11814 uncompressed_size in readiness for next entry.
11815
11816 2002-01-18 Tom Tromey <tromey@redhat.com>
11817
11818 * java/net/natPlainSocketImpl.cc: Include
11819 IllegalArgumentException.h.
11820 (_Jv_recv): New template function.
11821 (BooleanClass): Removed.
11822 (read): Use _Jv_recv.
11823 (setOption): Use Boolean::class$. Throw exception if object is
11824 not Boolean or Integer.
11825
11826 2002-01-17 Tom Tromey <tromey@redhat.com>
11827
11828 * java/awt/MenuComponent.java: Merged with Classpath.
11829 * java/awt/MenuItem.java: Merged with Classpath.
11830 * java/awt/Button.java: Merged with Classpath.
11831
11832 * java/awt/ActiveEvent.java: Updated copyright.
11833
11834 * java/awt/AWTError.java: Replaced with Classpath version.
11835 * java/awt/AWTException.java: Replaced with Classpath version.
11836 * java/awt/IllegalComponentStateException.java: Replaced with
11837 Classpath version.
11838
11839 2002-01-16 Tom Tromey <tromey@redhat.com>
11840
11841 * java/awt/Canvas.java (serialVersionUID): New constant.
11842 Updated copyright. Added javadoc from Classpath.
11843 * java/awt/ItemSelectable.java: Replaced with Classpath version.
11844
11845 * java/awt/CheckboxGroup.java: Merged with Classpath.
11846 * java/awt/Checkbox.java: Merged with Classpath.
11847
11848 * java/awt/Dimension.java: Updated copyright. Added javadoc from
11849 Classpath.
11850 * java/awt/Point.java: Updated copyright.
11851
11852 * java/awt/Point.java (toString): Use getClass().getName().
11853 Added javadoc.
11854
11855 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11856 commented code.
11857 (hash): Correctly compute initial value for `h'.
11858
11859 * java/awt/Label.java: Merged with Classpath.
11860
11861 2002-01-15 Tom Tromey <tromey@redhat.com>
11862
11863 * java/awt/AWTPermission.java: Updated copyright.
11864
11865 * java/awt/LayoutManager2.java: Merged with Classpath.
11866 * java/awt/LayoutManager.java: Merged with Classpath.
11867 * java/awt/GridLayout.java: Updated copyright and javadoc.
11868 (getSize): Use `parent.ncomponents'. Handle insets.
11869 (layoutContainer): Use `parent.ncomponents'. Handle case where
11870 there are fewer children than columns. Correctly compute size of
11871 each cell in the grid. Handle case where there isn't enough
11872 space.
11873 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
11874 all users.
11875 (gotoComponent): Use parent.ncomponents. Ensure child exists
11876 before calling setVisible() on it. Last item is `num - 1', not
11877 `num'.
11878 (layoutContainer): Hoist invariants out of loop.
11879
11880 Start of AWT merge with Classpath:
11881 * Makefile.in: Rebuilt.
11882 * Makefile.am (awt_java_source_files): Reference files in
11883 gnu/java/awt, not gnu/gcj/awt.
11884 * java/awt/image/BufferedImage.java: Updated copyright.
11885 * java/awt/image/ComponentColorModel.java: Updated copyright.
11886 * java/awt/image/ComponentSampleModel.java: Updated copyright.
11887 * java/awt/image/DataBuffer.java: Updated copyright.
11888 * java/awt/image/DataBufferByte.java: Updated copyright.
11889 * java/awt/image/DataBufferInt.java: Updated copyright.
11890 * java/awt/image/DataBufferUShort.java: Updated copyright.
11891 * java/awt/image/IndexColorModel.java: Updated copyright.
11892 * java/awt/image/PackedColorModel.java: Updated copyright.
11893 * java/awt/image/Raster.java: Updated copyright.
11894 * java/awt/image/RasterOp.java: Updated copyright.
11895 * java/awt/image/SampleModel.java: Updated copyright.
11896 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11897 * java/awt/image/WritableRaster.java: Updated copyright.
11898 * java/awt/color/ColorSpace.java: Updated copyright.
11899 * java/awt/color/ICC_ColorSpace.java: Updated copyright
11900 * java/awt/color/ICC_Profile.java: Updated copyright.
11901 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11902 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11903 * java/awt/event/HierarchyEvent.java: Updated copyright.
11904 * java/awt/event/HierarchyListener.java: Updated copyright.
11905 * java/awt/geom/AffineTransform.java: Updated copyright.
11906 * java/awt/geom/Dimension2D.java: Updated copyright.
11907 * java/awt/geom/Ellipse2D.java: Updated copyright.
11908 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11909 * java/awt/geom/Line2D.java: Updated copyright.
11910 * java/awt/geom/NoninvertibleTransformException.java: Updated
11911 copyright.
11912 * java/awt/geom/PathIterator.java: Updated copyright.
11913 * java/awt/geom/Point2D.java: Updated copyright.
11914 * java/awt/geom/Rectangle2D.java: Updated copyright.
11915 * java/awt/geom/RectangularShape.java: Updated copyright.
11916 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11917 * java/awt/Toolkit.java: Updated import for file moves.
11918 * java/awt/Rectangle.java: Updated copyright; added javadoc from
11919 Classpath.
11920 (hashCode): New method from Classpath.
11921 * java/awt/Graphics2D.java: Updated copyright.
11922 * java/awt/Transparency.java: Updated copyright.
11923 * java/awt/Paint.java: Updated copyright.
11924 * java/awt/Graphics.java: New version from Classpath.
11925 * java/awt/EventDispatchThread.java: Updated copyright.
11926 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11927 children.
11928 (gotoComponent): Wrap around on next/previous.
11929 * gnu/gcj/awt/BitMaskExtent.java: Removed.
11930 * gnu/gcj/awt/Buffers.java: Removed.
11931 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11932 * gnu/gcj/awt/GLightweightPeer.java: Removed.
11933 * gnu/java/awt/BitMaskExtent.java: Added.
11934 * gnu/java/awt/Buffers.java: Added.
11935 * gnu/java/awt/ComponentDataBlitOp.java: Added.
11936 * gnu/java/awt/GLightweightPeer.java: Added.
11937 * java/awt/geom/Line2D.java (clone): Ignore
11938 CloneNotSupportedException.
11939 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11940 * java/awt/Frame.java: Merged with Classpath.
11941 * java/awt/RenderingHints.java: Copyright update.
11942 * java/awt/Paint.java: Copyright update.
11943 * java/awt/image/DirectColorModel.java: Merged with Classpath.
11944 * java/awt/image/ColorModel.java: Merged with Classpath.
11945 * java/awt/Window.java (show): New Implementation from Classpath.
11946 (isShowing): Use super.isShowing().
11947 * java/awt/EventQueue.java: Merged with Classpath.
11948 * java/awt/AWTEventMulticaster.java (save): Throw
11949 RuntimeException.
11950 (saveInternal): Likewise.
11951 * java/awt/AWTEvent.java: Now implements Serializable.
11952 * java/awt/Event.java: Copyright update.
11953 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11954 * java/awt/image/BufferedImage.java: Copyright update.
11955 * java/awt/GraphicsConfiguration.java: Copyright update.
11956 * java/awt/Component.java: (addNotify): Don't call
11957 addNotifyContainerChildren().
11958 (addNotifyContainerChildren): Removed.
11959 (setPeer): New method from Classpath.
11960 (setTreeLock): Likewise.
11961 (setVisible): Rewrote.
11962 (show): Use it.
11963 (hide): Likewise.
11964 (validate): Set `valid'.
11965 (checkImage(Image,ImageObserver)): Implementation from Classpath.
11966 (createImage(ImageProducer)): Likewise.
11967 (prepareImage): Likewise.
11968 * java/awt/Container.java (addImpl): Handle case where constraint
11969 is not a String. Post event via system event queue.
11970 (remove): Post event via system event queue.
11971 (validateTree): Only validate child if it is invalid.
11972 (getAlignmentX): Call super method as default.
11973 (getAlignmentY): Likewise.
11974 (addContainerListener): Now synchronized.
11975 (removeContainerListener): Likewise.
11976 (addNotifyContainerChildren): Now private.
11977 * java/awt/ComponentOrientation.java: Updated copyright. Added
11978 @author.
11979 * java/awt/FlowLayout.java (serialVersionUID): New field.
11980 (setAlignment): Better exception message.
11981 (layoutContainer): Don't compute component's preferred size unless
11982 we're going to use it.
11983 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11984 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11985 (firstLine, lastLine, firstItem, lastItem): New fields.
11986 (addLayoutComponent): Handle case where constraints is null.
11987 Also, handle relative locations.
11988 (removeLayoutComponent): Handle relative locations.
11989 (MIN, MAX, PREF): New constants.
11990 (calcCompSize): New method.
11991 (calcSize): New method.
11992 (minimumLayoutSize): Use it.
11993 (preferredLayoutSize): Likewise.
11994 (maximumLayoutSize): Likewise.
11995 (toString): Include more information.
11996 (setBounds): New method.
11997 (layoutContainer): Use libgcj implementation; extended to handle
11998 relative locations.
11999
12000 2002-01-15 Tom Tromey <tromey@redhat.com>
12001
12002 * java/lang/Float.java (equals): Preserve old code.
12003 * java/lang/Double.java (equals): Preserve old code.
12004
12005 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12006
12007 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12008 * java/lang/Float.java (equals, compare): Ditto.
12009
12010 2002-01-13 Mark Wielaard <mark@klomp.org>
12011
12012 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12013 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12014 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12015 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12016
12017 2002-01-11 Mark Wielaard <mark@klomp.org>
12018
12019 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12020 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12021 InetAddress.
12022 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12023 * java/net/Socket.java: Merge with Classpath.
12024 * java/net/ServerSocket.java: Likewise.
12025
12026 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12027
12028 * interpret.cc (NULLARRAYCHECK): New macro.
12029 (SAVE_PC): Just store `pc'.
12030 (find_exception): Subtract one from `pc' here.
12031 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12032 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12033 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12034 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12035 don't call SAVE_PC.
12036 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12037 call SAVE_PC.
12038
12039 2002-01-11 Tom Tromey <tromey@redhat.com>
12040
12041 * java/lang/natSystem.cc (init_properties): Only look for default
12042 locale if LC_MESSAGES is defined.
12043 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12044 * configure.in: Call AM_LC_MESSAGES.
12045 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12046
12047 2002-01-10 Tom Tromey <tromey@redhat.com>
12048
12049 For PR libgcj/5303:
12050 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12051 --version. Recognize GNU-style long options. Print GNU-style
12052 error messages.
12053 (usage): Print GNU-style help. Exit with status 0.
12054 (error): New method.
12055 (run): Print error message if no class names found.
12056 (main): Don't print usage on error.
12057
12058 2002-01-09 Tom Tromey <tromey@redhat.com>
12059
12060 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12061 property.
12062 (help, version): Use println(), not println("").
12063
12064 For PR libgcj/5303:
12065 * gnu/gcj/convert/Convert.java (error): Program is called
12066 `jv-convert'. Print GNU-style message. Exit with status 1, not
12067 -1.
12068 (main): Handle --help and --version.
12069 (help): New method.
12070 (version): Likewise.
12071
12072 2002-01-08 Tom Tromey <tromey@redhat.com>
12073
12074 * Makefile.in: Rebuilt.
12075 * Makefile.am (ordinary_java_source_files): Added new files.
12076 * gnu/java/locale/LocaleInformation.java: Extend
12077 LocaleInformation_en.
12078 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12079 and time/date formats.
12080 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12081 generated.
12082 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12083 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12084 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12085 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12086 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12087 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12088 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12089 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12090 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12091 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12092 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12093 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12094 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12095 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12096 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12097 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12098 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12099 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12100 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12101 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12102 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12103 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12104 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12105 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12106 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12107 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12108 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12109 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12110 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12111 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12112 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12113 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12114 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12115 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12116 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12117 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12118 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12119 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12120 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12121 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12122 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12123 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12124 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12125 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12126 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12127 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12128 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12129 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12130 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12131 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12132 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12133 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12134 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12135 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12136 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12137 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12138 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12139 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12140 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12141 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12142 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12143 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12144 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12145 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12146 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12147 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12148 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12149 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12150 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12151 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12152 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12153 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12154 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12155 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12156 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12157 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12158 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12159 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12160 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12161 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12162 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12163 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12164 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12165 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12166 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12167 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12168 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12169 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12170 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12171 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12172 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12173 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12174 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12175 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12176 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12177 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12178 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12179 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12180 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12181 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12182 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12183 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12184 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12185 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12186 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12187 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12188 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12189 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12190 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12191 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12192 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12193 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12194 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12195 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12196 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12197 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12198 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12199 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12200 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12201 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12202 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12203 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12204 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12205 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12206 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12207 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12208 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12209 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12210 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12211 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12212
12213 For PR libgcj/5031:
12214 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12215 choose default locale.
12216
12217 * Makefile.in: Rebuilt.
12218 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12219
12220 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12221
12222 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12223 sockets.
12224 (close): New function closes the socket.
12225 (write): New functions for output to socket.
12226 (read): New functions for reading from socket.
12227 * java/net/PlainSocketImpl.java: Glue for new timeout
12228 implementation.
12229 (write): Call the native impl.
12230 (read): Likewise.
12231 (getInputStream): Get a stream to read from the socket.
12232 (getOutputStream): Get a stream to write to the socket.
12233
12234 2002-01-08 Tom Tromey <tromey@redhat.com>
12235
12236 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12237
12238 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12239
12240 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12241 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12242
12243 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12244
12245 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12246 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12247 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12248 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12249 insn_bastore, insn_castore, insn_sastore]: Use it.
12250 (continue1) [insn_arraylength]: Check for null array.
12251
12252 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12253
12254 * configure, include/config.h.in: Rebuilt.
12255 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12256 * configure.in: Call AC_STRUCT_TIMEZONE.
12257
12258 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12259
12260 * configure.host: Disable the interpreter for Darwin.
12261
12262 2002-01-04 Tom Tromey <tromey@redhat.com>
12263
12264 * java/lang/Thread.java (stop): No longer synchronized.
12265 (start): Likewise.
12266
12267 2002-01-02 Tom Tromey <tromey@redhat.com>
12268
12269 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12270 patch.
12271
12272 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12273
12274 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12275 PPC Darwin, not for all of Darwin.