1 2003-07-08 Mark Wielaard <mark@klomp.org>
3 * gcj/cni.h: CNI now expands to Compiled Native Interface.
5 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
6 * java/lang/fdlibm.h: Likewise.
8 2003-07-07 Adam Megacz <adam@xwt.org>
10 * posix.cc: added #include<stdio.h>
12 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
14 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
17 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
18 (setCaretPosition, setEditable): Rely entirely on native
21 (postTextEvent): New method.
22 (handleEvent): New method.
23 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
25 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
26 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
27 (keysym_to_awt_keycode): Fix range checks.
28 (generates_key_typed_event): New function.
29 (awt_event_handler): Post AWT_KEY_RELEASED events to event
31 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
32 (gtkInit): Store TextComponent's postTextEvent method ID.
33 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
34 (setText): Post TEXT_VALUE_CHANGED event to event queue.
36 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
38 * configure.in: Check for usleep declaration.
39 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
40 * configure: Regenerate.
41 * include/config.h.in: Likewise.
42 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
44 2003-07-01 Michael Koch <konqueror@gmx.de>
46 * gnu/gcj/convert/natIconv.cc
47 (iconv_init): Fixed possible memory leak by releasing allocated iconv
50 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
52 * glib-2.0.m4: New file.
53 * gtk-2.0.m4: New file.
56 * configure.in: Update AM_PATH_GTK macro call to
57 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
58 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
59 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
60 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
61 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
62 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
63 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
64 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
65 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
66 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
67 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
68 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
69 jni/gtk-peer/gthread-jni.c,
70 jni/gtk-peer/gthread-jni.h:
71 New versions from classpath.
72 * aclocal.m4: Regenerate.
73 * configure: Regenerate.
74 * Makefile.in: Regenerate.
75 * gcj/Makefile.in: Regenerate.
76 * include/Makefile.in: Regenerate.
77 * testsuite/Makefile.in: Regenerate.
79 2003-06-30 Gary Benson <gbenson@redhat.com>
82 * javax/naming/spi/NamingManager.java (getURLContext): Use
83 correct name for factory class.
85 2003-06-28 Michael Koch <konqueror@gmx.de>
87 * java/io/PrintStream.java
88 (checkError): Call flush() instead of direct flushing of the Writer
90 (print): Call print(String) instead of direct print method of the
92 (println): Call println(String) instead of direct println method of the
96 2003-06-28 Michael Koch <konqueror@gmx.de>
98 * java/net/ServerSocket.java
99 (setChannel): New method.
100 * java/net/Socket.java
101 (setChannel): New method.
103 2003-06-27 Michael Koch <konqueror@gmx.de>
105 * java/beans/beancontext/BeanContextSupport.java:
106 New version from classpath.
108 2003-06-27 Michael Koch <konqueror@gmx.de>
110 * java/awt/Window.java,
111 java/awt/font/GraphicAttribute.java,
112 java/awt/font/ImageGraphicAttribute.java,
113 java/awt/image/DataBufferByte.java,
114 java/awt/image/DataBufferInt.java,
115 java/awt/image/DataBufferUShort.java,
116 java/awt/image/DirectColorModel.java,
117 java/awt/image/PixelGrabber.java:
118 New versions from classpath.
120 2003-06-27 Michael Koch <konqueror@gmx.de>
122 * java/security/Certificate.java
123 (getGuarantor): Removed wrong @deprecated tag.
124 (getPrincipal): Likewise.
125 (getPublicKey): Likewise.
128 (getFormat): Likewise.
129 (toString): Likewise.
130 * java/security/cert/PolicyQualifierInfo.java
131 (PolicyQualifierInfo): Made final.
132 * javax/security/auth/x500/X500Principal.java
133 (serialVersionUID): New member variable.
135 2003-06-27 Michael Koch <konqueror@gmx.de>
137 * java/text/Format.java
138 (serialVersionUID): Fixed value.
140 2003-06-27 Michael Koch <konqueror@gmx.de>
142 * java/net/Inet4Address.java
143 (Inet4Address): Made package-private.
144 * java/net/Inet6Address.java
145 (Inet4Address): Made package-private.
147 2003-06-27 Michael Koch <konqueror@gmx.de>
149 * java/io/RandomAccessFile.java
150 (readLine): Removed wrong @deprecated tag.
151 (getChannel): Made final.
153 2003-06-27 Michael Koch <konqueror@gmx.de>
155 * gnu/java/nio/FileChannelImpl.java
158 2003-06-27 Michael Koch <konqueror@gmx.de>
160 * java/nio/ByteBufferImpl.java
161 (ByteBufferImpl): Made it a package-private class
162 * java/nio/CharBufferImpl.java
163 (CharBufferImpl): Made it a package-private class
164 * java/nio/DirectByteBufferImpl.java
165 (DirectByteBufferImpl): Made it a package-private class
166 * java/nio/DoubleBufferImpl.java
167 (DoubleBufferImpl): Made it a package-private class
168 * java/nio/FloatBufferImpl.java
169 (FloatBufferImpl): Made it a package-private class
170 * java/nio/IntBufferImpl.java
171 (IntBufferImpl): Made it a package-private class
172 * java/nio/LongBufferImpl.java
173 (LongBufferImpl): Made it a package-private class
174 * java/nio/ShortBufferImpl.java
175 (ShortBufferImpl): Made it a package-private class
176 * java/nio/channels/FileChannel.java
178 * java/nio/channels/ServerSocketChannel.java
179 (ServerSocketChanne): Made protected.
181 2003-06-27 Michael Koch <konqueror@gmx.de>
183 * javax/naming/CompositeName.java
184 (serialVersionUID): New member variable.
185 * javax/naming/CompoundName.java
186 (serialVersionUID): New member variable.
187 * javax/naming/InitialContext.java
188 (InitialContext): Throws NamingException.
190 * javax/naming/LinkRef.java
191 (serialVersionUID): New member variable.
192 (gteLinkName): Throws NamingException.
193 * javax/naming/NamingException.java
194 (serialVersionUID): New member variable.
195 * javax/naming/NamingSecurityException.java
196 (NamingSecurityException): Made abstract.
197 (serialVersionUID): New member variable.
198 * javax/naming/ReferralException.java
199 (serialVersionUID): New member variable.
200 * javax/naming/StringRefAddr.java
201 (serialVersionUID): New member variable.
202 * javax/naming/directory/BasicAttribute.java:
204 (serialVersionUID): New member variable.
205 (get): Throws NamingException.
206 (getAll): Throws NamingException.
207 * javax/naming/directory/BasicAttributes.java:
209 (serialVersionUID): New member variable.
210 * javax/naming/ldap/UnsolicitedNotificationEvent.java
211 (serialVersionUID): New member variable.
213 2003-06-27 Michael Koch <konqueror@gmx.de>
216 (awt_java_source_files): Added new files:
217 javax/swing/Popup.java,
218 javax/swing/PopupFactory.java
219 * Makefile.in: Regenerated.
221 2003-06-27 Michael Koch <konqueror@gmx.de>
223 * javax/swing/JWindow.java,
224 javax/swing/event/AncestorEvent.java,
225 javax/swing/event/HyperlinkEvent.java,
226 javax/swing/event/InternalFrameEvent.java,
227 javax/swing/event/ListDataEvent.java,
228 javax/swing/event/TableModelEvent.java,
229 javax/swing/plaf/PopupMenuUI.java,
230 javax/swing/plaf/SplitPaneUI.java,
231 javax/swing/plaf/TabbedPaneUI.java,
232 javax/swing/plaf/TextUI.java,
233 javax/swing/plaf/TreeUI.java,
234 javax/swing/plaf/basic/BasicTextUI.java,
235 javax/swing/plaf/basic/BasicTreeUI.java:
236 New versions from classpath.
237 * javax/swing/Popup.java,
238 javax/swing/PopupFactory.jav:
239 New source files from classpath.
240 * javax/swing/plaf/doc-files/TreeUI-1.png:
241 New binary files from classpath.
243 2003-06-25 Michael Koch <konqueror@gmx.de>
246 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
247 * Makefile.in: Regenerated.
249 2003-06-25 Michael Koch <konqueror@gmx.de>
251 * javax/swing/plaf/ActionMapUIResource.java,
252 javax/swing/plaf/BorderUIResource.java,
253 javax/swing/plaf/ButtonUI.java,
254 javax/swing/plaf/ColorChooserUI.java,
255 javax/swing/plaf/ColorUIResource.java,
256 javax/swing/plaf/ComboBoxUI.java,
257 javax/swing/plaf/ComponentInputMapUIResource.java,
258 javax/swing/plaf/ComponentUI.java,
259 javax/swing/plaf/DesktopIconUI.java,
260 javax/swing/plaf/DesktopPaneUI.java,
261 javax/swing/plaf/DimensionUIResource.java,
262 javax/swing/plaf/FileChooserUI.java,
263 javax/swing/plaf/FontUIResource.java,
264 javax/swing/plaf/IconUIResource.java,
265 javax/swing/plaf/InputMapUIResource.java,
266 javax/swing/plaf/InsetsUIResource.java,
267 javax/swing/plaf/InternalFrameUI.java,
268 javax/swing/plaf/LabelUI.java,
269 javax/swing/plaf/ListUI.java,
270 javax/swing/plaf/MenuBarUI.java,
271 javax/swing/plaf/MenuItemUI.java,
272 javax/swing/plaf/OptionPaneUI.java,
273 javax/swing/plaf/PanelUI.java,
274 javax/swing/plaf/ProgressBarUI.java,
275 javax/swing/plaf/RootPaneUI.java,
276 javax/swing/plaf/ScrollBarUI.java,
277 javax/swing/plaf/ScrollPaneUI.java,
278 javax/swing/plaf/SeparatorUI.java,
279 javax/swing/plaf/SliderUI.java,
280 javax/swing/plaf/TableHeaderUI.java,
281 javax/swing/plaf/TableUI.java,
282 javax/swing/plaf/ToolBarUI.java,
283 javax/swing/plaf/ToolTipUI.java,
284 javax/swing/plaf/ViewportUI.java:
285 New versions from classpath.
286 * javax/swing/plaf/SpinnerUI.java:
287 New file from classpath
289 2003-06-25 Michael Koch <konqueror@gmx.de>
291 * java/awt/image/ColorModel.java:
292 New version from classpath.
294 2003-06-25 Michael Koch <konqueror@gmx.de>
296 * java/net/PlainDatagramSocketImpl.java:
297 Partly merged with classpath, this mainly adds documentation.
299 2003-06-25 Michael Koch <konqueror@gmx.de>
301 * java/io/ObjectInputStream.java
302 (readClassDescriptor): New method.
303 (readObject): Moved functionality to readClassDescriptor().
304 * java/io/ObjectOutputStream.java
305 (writeClassDescriptor): New method.
306 (writeObject): Moved functionality to writeClassDescriptor().
308 2003-06-25 Michael Koch <konqueror@gmx.de>
310 * javax/swing/plaf/basic/BasicListUI.java,
311 javax/swing/plaf/basic/BasicOptionPaneUI.java:
312 Added missing methods.
314 2003-06-25 Michael Koch <konqueror@gmx.de>
316 * javax/swing/event/AncestorEvent.java
317 javax/swing/event/HyperlinkEvent.java
318 javax/swing/event/InternalFrameEvent.java
319 javax/swing/event/ListDataEvent.java
320 javax/swing/event/TableModelEvent.java:
323 2003-06-24 Michael Koch <konqueror@gmx.de>
326 Renamed "handler" to "ph" in the whole file to match classpaths
328 * java/net/URLStreamHandler.java:
329 (equals): Renamed "handler" to "ph".
331 2003-06-24 Michael Koch <konqueror@gmx.de>
333 * javax/swing/event/AncestorEvent.java,
334 javax/swing/event/HyperlinkEvent.java,
335 javax/swing/event/InternalFrameEvent.java,
336 javax/swing/event/ListDataEvent.java,
337 javax/swing/event/TableModelEvent.java,
338 javax/swing/event/TreeWillExpandListener.java,
339 javax/swing/plaf/ComponentUI.java,
340 javax/swing/plaf/DesktopIconUI.java,
341 javax/swing/plaf/DesktopPaneUI.java,
342 javax/swing/plaf/DimensionUIResource.java,
343 javax/swing/plaf/FileChooserUI.java,
344 javax/swing/plaf/FontUIResource.java,
345 javax/swing/plaf/IconUIResource.java,
346 javax/swing/plaf/InputMapUIResource.java,
347 javax/swing/plaf/InsetsUIResource.java,
348 javax/swing/plaf/InternalFrameUI.java,
349 javax/swing/plaf/LabelUI.java,
350 javax/swing/plaf/ListUI.java,
351 javax/swing/plaf/MenuBarUI.java,
352 javax/swing/plaf/MenuItemUI.java,
353 javax/swing/plaf/OptionPaneUI.java,
354 javax/swing/plaf/PanelUI.java,
355 javax/swing/plaf/ProgressBarUI.java,
356 javax/swing/plaf/doc-files/ComponentUI-1.dia,
357 javax/swing/plaf/doc-files/ComponentUI-1.png:
358 New versions from classpath.
360 2003-06-24 Michael Koch <konqueror@gmx.de>
362 * java/nio/Buffer.java
363 (cap): Made package-private.
368 2003-06-24 Michael Koch <konqueror@gmx.de>
370 * java/net/SocketImpl.java
371 (shutdownInput): Made it non-abstract method throwing an exception
373 (shutdownOutput): Likewise.
374 * java/net/SocketInputStream.java,
375 java/net/SocketOutputStream.java:
376 New files from classpath.
378 2003-06-24 Michael Koch <konqueror@gmx.de>
380 * java/awt/Font.java,
381 java/awt/Window.java,
382 java/awt/color/ColorSpace.java,
383 java/awt/datatransfer/StringSelection.java,
384 java/awt/image/ColorModel.java:
385 New versions from classpath.
387 2003-06-24 Michael Koch <konqueror@gmx.de>
390 (awt_java_source_files): Added new files:
391 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
392 javax/swing/plaf/basic/BasicSplitPaneUI.java
393 * Makefile.in: Regenerated.
395 2003-06-24 Michael Koch <konqueror@gmx.de>
397 * javax/swing/text/JTextComponent.java:
398 New version from classpath.
400 2003-06-24 Michael Koch <konqueror@gmx.de>
402 * javax/swing/Timer.java,
403 javax/swing/plaf/ActionMapUIResource.java,
404 javax/swing/plaf/ButtonUI.java,
405 javax/swing/plaf/ColorChooserUI.java,
406 javax/swing/plaf/ColorUIResource.java,
407 javax/swing/plaf/ComboBoxUI.java,
408 javax/swing/plaf/ComponentInputMapUIResource.java,
409 javax/swing/plaf/basic/BasicBorders.java:
410 New versions from classpath.
411 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
412 javax/swing/plaf/basic/BasicSplitPaneUI.java:
413 New file from classpath.
414 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
415 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
416 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
417 javax/swing/plaf/doc-files/ComponentUI-1.dia,
418 javax/swing/plaf/doc-files/ComponentUI-1.png:
419 New binary files from classpath.
421 2003-06-24 Michael Koch <konqueror@gmx.de>
423 * java/io/LineNumberReader.java
424 (skip): Dont do line number accounting here as this is already done in
427 2003-06-21 Michael Koch <konqueror@gmx.de>
430 (static): Load javaio lib if existing (only in classpath).
431 (File): Revised documentation to show the correct argument name.
432 (createTempFile): Partly merged with classpath.
433 (compareTo): Simplified.
434 (lastModified): Throw exception if time < 0.
435 (deleteOnExit): Revised documentation.
437 2003-06-21 Michael Koch <konqueror@gmx.de>
439 * java/net/PlainSocketImpl.java:
441 (PlainSocketImpl): Merged class documentaion with classpath.
444 (PlainSocketImpl): New empty constructor.
446 (setOption): Merged documentation from classpath.
447 (getOption): Likewise.
453 (available): Likewise.
457 (getInputStream): Made synchronozed to get sure that only one stream
458 object can be created for this socket, merged documentation from
460 (getOutputStream): Likewise.
462 2003-06-21 Michael Koch <konqueror@gmx.de>
464 * java/net/PlainSocketImpl.java:
466 (static): New implicit method.
467 (read): Made package private.
470 2003-06-21 Michael Koch <konqueror@gmx.de>
472 * java/util/SimpleTimeZone.java:
473 Removed unneeded import, reformatting.
475 2003-06-21 Michael Koch <konqueror@gmx.de>
477 * java/text/DateFormat.java,
478 java/text/SimpleDateFormat.java,
479 java/util/Locale.java:
480 New versions from classpath.
482 2003-06-21 Michael Koch <konqueror@gmx.de>
484 * javax/swing/SpinnerModel.java:
485 New file from classpath.
486 * javax/swing/border/LineBorder.java,
487 javax/swing/border/SoftBevelBorder.java,
488 javax/swing/plaf/BorderUIResource.java,
489 javax/swing/plaf/basic/BasicBorders.java:
490 New versions from classpath.
491 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
492 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
493 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
494 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
495 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
496 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
497 New binary files from classpath.
499 2003-06-21 Michael Koch <konqueror@gmx.de>
501 * java/util/logging/LogRecord.java,
502 java/util/logging/Logger.java,
503 java/util/logging/SocketHandler.java,
504 java/util/logging/SimpleFormatter.java,
505 java/util/logging/Formatter.java,
506 java/util/logging/ErrorManager.java,
507 java/util/logging/Handler.java,
508 java/util/logging/FileHandler.java,
509 java/util/logging/LogManager.java,
510 java/util/logging/Level.java,
511 java/util/logging/ConsoleHandler.java,
512 java/util/logging/StreamHandler.java,
513 java/util/logging/LoggingPermission.java,
514 java/util/logging/Filter.java,
515 java/util/logging/MemoryHandler.java,
516 java/util/logging/XMLFormatter.java:
517 New files from classpath.
519 2003-06-20 Michael Koch <konqueror@gmx.de>
521 * java/io/ObjectStreamField.java
522 (unshared): new member variable.
523 (ObjectStreamField): New constructor.
524 (isUnshared): New method.
526 2003-06-20 Michael Koch <konqueror@gmx.de>
528 * java/net/URLStreamHandler.java
529 (hostsEqual): Rewritten.
531 2003-06-20 Michael Koch <konqueror@gmx.de>
533 * gnu/java/nio/MappedByteFileBuffer.java,
534 gnu/java/nio/natMappedByteFileBuffer.cc:
536 * java/nio/MappedByteBufferImpl.java:
538 * gnu/java/nio/FileChannelImpl.java:
539 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
541 (ordinary_java_source_files): Removed
542 gnu/java/nio/MappedByteFileBuffer.java and added
543 java/nio/MappedByteBufferImpl.java.
544 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
545 * Makefile.in: Regenerated.
547 2003-06-19 Michael Koch <konqueror@gmx.de>
549 * gnu/java/nio/DatagramChannelImpl.java
551 (blocking): New member variable.
553 (DatagramChannelImpl): Throws IOException, initialize socket.
554 (socket):Implemented.
555 (implCloseSelectableChannel): Throws IOException, implemented.
556 (implConfigureBlocking): Likewise.
558 (disconnect): Likewise.
559 (isConnected): Likewise.
562 (receive): Throws IOException.
564 * gnu/java/nio/SocketChannelImpl.java
566 (write): Implemented.
568 2003-06-19 Michael Koch <konqueror@gmx.de>
570 * javax/swing/JComponent.java,
571 javax/swing/JInternalFrame.java,
572 javax/swing/MenuSelectionManager.java,
573 javax/swing/SwingUtilities.java,
574 javax/swing/ToggleButtonModel.java:
575 New versions from classpath.
577 2003-06-19 Michael Koch <konqueror@gmx.de>
579 * java/text/CollationElementIterator.java
580 (NULLORDER): Initialize with -1 as JDK documentation says.
582 2003-06-19 Michael Koch <konqueror@gmx.de>
584 * java/net/HttpURLConnection.java,
585 java/net/Inet4Address.java,
586 java/net/Inet6Address.java,
587 java/net/SocketImpl.java,
588 java/net/URLClassLoader.java:
589 Reworked import statements.
590 * java/net/InetAddress.java
591 (getByAddress): Simplified.
592 * java/net/ServerSocket.java
593 (ServerSocket): Moved special handling during bind operation to
595 (bind): Handle different cases when trying to bind a socket.
596 * java/net/URLConnection.java
597 (getHeaderFieldDate): Merged with classpath.
598 (getHeaderFieldInt): Likewise.
600 2003-06-19 Michael Koch <konqueror@gmx.de>
602 * java/util/zip/InflaterInputStream.java
603 (InflaterInputStream): Throw NullPointerException if in is null (as
606 2003-06-19 Michael Koch <konqueror@gmx.de>
609 javax/swing/UIManager.java
610 javax/swing/border/AbstractBorder.java
611 javax/swing/border/BevelBorder.java
612 javax/swing/border/Border.java
613 javax/swing/border/CompoundBorder.java
614 javax/swing/border/EmptyBorder.java
615 javax/swing/border/EtchedBorder.java
616 javax/swing/border/LineBorder.java
617 javax/swing/border/MatteBorder.java
618 javax/swing/border/TitledBorder.java
619 javax/swing/plaf/BorderUIResource.java
620 javax/swing/plaf/basic/BasicBorders.java
621 javax/swing/plaf/basic/BasicButtonUI.java
622 javax/swing/plaf/basic/BasicCheckBoxUI.java
623 javax/swing/plaf/basic/BasicGraphicsUtils.java
624 javax/swing/plaf/basic/BasicLabelUI.java
625 javax/swing/plaf/basic/BasicRadioButtonUI.java
626 javax/swing/plaf/basic/BasicToggleButtonUI.java:
627 New versions from classpath.
628 * javax/swing/border/SoftBevelBorder.java:
629 New file from classpath.
630 * javax/swing/border/doc-files/LineBorder-1.png,
631 javax/swing/border/doc-files/BevelBorder-1.png,
632 javax/swing/border/doc-files/BevelBorder-2.png,
633 javax/swing/border/doc-files/BevelBorder-3.png,
634 javax/swing/border/doc-files/EmptyBorder-1.png,
635 javax/swing/border/doc-files/EtchedBorder-1.png,
636 javax/swing/border/doc-files/EtchedBorder-2.png,
637 javax/swing/border/doc-files/MatteBorder-1.png,
638 javax/swing/border/doc-files/MatteBorder-2.png,
639 javax/swing/border/doc-files/MatteBorder-3.png,
640 javax/swing/border/doc-files/MatteBorder-4.png,
641 javax/swing/border/doc-files/MatteBorder-5.png,
642 javax/swing/border/doc-files/MatteBorder-6.png,
643 javax/swing/border/doc-files/SoftBevelBorder-1.png,
644 javax/swing/border/doc-files/SoftBevelBorder-2.png,
645 javax/swing/border/doc-files/SoftBevelBorder-3.png,
646 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
647 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
648 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
649 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
650 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
651 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
652 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
653 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
654 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
655 New binary files from classpath.
657 (awt_java_source_files): Added
658 javax/swing/border/SoftBevelBorder.java.
659 * Makefile.in: Regenerated.
661 2003-06-19 Michael Koch <konqueror@gmx.de>
663 * gnu/java/security/x509/X509Certificate.java
664 (writeReplace): Merged from classpath.
666 2003-06-19 Michael Koch <konqueror@gmx.de>
668 * gnu/java/nio/FileChannelImpl.java
669 (map_address): Made public.
670 (FileChannelImpl): Merged with classpath.
671 * gnu/java/nio/natFileChannelImpl.cc
672 (nio_mmap_file): Commented out unused arguments.
673 (nio_unmmap_file): Likewise.
674 (niu_msync): Likewise.
676 2003-06-19 Michael Koch <konqueror@gmx.de>
678 * java/awt/image/IndexColorModel.java:
679 New version from classpath.
681 2003-06-18 Tom Tromey <tromey@redhat.com>
683 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
685 (isLoopbackAddress): Likewise.
686 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
689 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
691 * java/lang/natVMSecurityManager.cc (getClassContext):
692 Use maxlen instead of len for loop bound.
694 2003-06-18 Michael Koch <konqueror@gmx.de>
696 * gnu/java/nio/SelectorImpl.java
697 (register): Use fd with value 0 for now, will be fixed later.
698 * gnu/java/nio/ServerSocketChannelImpl.java
700 (local_port): Removed.
701 (InetSocketAddress): Removed.
702 (ServerSocketChannelImpl): Just initialize internal socket object.
703 (implCloseSelectableChannel): Close internal socket object.
704 (implConfigureBlocking): Added comment.
705 (accept): Use jaba.net stuff to accept socket.
706 * gnu/java/nio/SocketChannelImpl.java
708 (local_port): Removed.
709 (InetSocketAddress): Removed.
710 (SocketCreate): Removed.
711 (SocketConnect): Removed.
712 (SocketBind): Removed.
713 (SocketListen): Removed.
714 (SocketAvailable): Removed.
715 (SocketClose): Removed.
716 (SocketRead): Removed.
717 (SocketWrite): Removed.
718 (SocketChannelImpl): Just initialize internal socket object.
719 (implCloseSelectableChannel): Close internal socket object.
720 (implConfigureBlocking): Fixed implementation, added comment.
721 (connect): Use internal socket object to connect.
722 (socket): No need for sanity checks.
723 (read): Comment out some stuff, this will be reimplemented in the next
726 * gnu/java/nio/natFileChannelImpl.cc
727 (nio_mmap_file): Line wrapped.
728 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
730 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
731 * Makefile.in: Regenerated.
733 2003-06-18 Michael Koch <konqueror@gmx.de>
735 * java/util/Locale.java
736 (equals): Merged from classpath.
738 2003-06-18 Michael Koch <konqueror@gmx.de>
740 * java/net/InetAddress.java:
741 Reformatted to better match classpath's version.
743 (equals): Simplified.
744 * java/net/URLConnection.java
745 (setDoInput): Revised documentation.
746 (getDefaultUseCaches): Likewise.
747 (setRequestProperty): Added @since tag.
749 2003-06-17 Michael Koch <konqueror@gmx.de>
751 * java/net/InetSocketAddress.java
752 (InetSocketAddress): Use wildcard address if addr is null.
753 (InetSocketAddress): Dont duplicate implementation.
754 (InetSocketAddress): Throw exception when hostname is null.
755 * java/net/Socket.java:
757 (Socket): Throw exception when raddr is null, handle case when laddr
760 2003-06-17 Michael Koch <konqueror@gmx.de>
762 * java/nio/DirectByteBufferImpl.java
763 (address): Made package private.
764 (DirectByteBufferImpl): New constructor.
765 * java/nio/natDirectByteBufferImpl.cc
766 (allocateImpl): Moved to java.nio namespace, implemented.
767 (freeImpl): Likewise.
771 (_Jv_JNI_NewDirectByteBuffer): Implemented.
772 (_Jv_JNI_GetDirectBufferAddress): Implemented.
773 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
775 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
777 * include/powerpc-signal.h: New File.
778 * configure.in: Use it.
779 * configure: Regenerated.
781 2003-06-17 Michael Koch <konqueror@gmx.de>
783 * java/util/Locale.java
784 (getDisplayLanguage): Made it final.
785 (getDisplayCountry): Likewise.
786 (getDisplayVariant): Likewise.
787 (getDisplayName): Likewise.
789 2003-06-17 Michael Koch <konqueror@gmx.de>
791 * java/util/PropertyResourceBundle.java:
792 Removed unneeded import.
794 2003-06-17 Michael Koch <konqueror@gmx.de>
796 * java/util/prefs/AbstractPreferences.java,
797 java/util/prefs/PreferencesFactory.java:
798 Reworked imports, removed unused imports.
799 * java/util/prefs/Preferences.java
800 (systemNodeForPackage): Method takes a Class not an Object.
801 (userNodeForPackage): Likewise.
802 (nodeForPackage): Likewise.
804 2003-06-17 Michael Koch <konqueror@gmx.de>
806 * gnu/java/security/x509/X509Certificate.java:
807 Explicitely import used classes.
809 2003-06-17 Michael Koch <konqueror@gmx.de>
811 * java/util/zip/ZipEntry.java,
812 java/util/zip/ZipFile.java,
813 java/util/zip/ZipInputStream.java,
814 java/util/zip/ZipOutputStream.java:
815 Reworked imports, only import used classes.
817 2003-06-17 Michael Koch <konqueror@gmx.de>
819 * gnu/java/lang/ArrayHelper.java,
820 gnu/java/lang/ClassHelper.java:
821 Reformatted to match classpath's versions.
823 2003-06-14 Michael Koch <konqueror@gmx.de>
825 * gnu/java/nio/FileChannelImpl.java
826 (map_address): Removed incorrect comment.
827 * gnu/java/nio/SelectorImpl.java
828 (register): Remove code duplication and code for file channel handling.
829 * gnu/java/nio/ServerSocketChannelImpl.java
830 (serverSocket): Renamed from sock_object.
831 (ServerSocketChannel): Initialize serverSocket.
832 (socket): Return serverSocket.
833 * gnu/java/nio/SocketChannelImpl.java
834 (socket): Renamed from sock_object.
835 (isConnectionPenging): Simplified.
836 (socket): Return socket.
837 2003-06-14 Michael Koch <konqueror@gmx.de>
839 * java/security/BasicPermission.java:
840 New version from classpath.
842 2003-06-14 Michael Koch <konqueror@gmx.de>
844 * javax/naming/directory/Attribute.java:
845 New version from classpath.
847 2003-06-14 Michael Koch <konqueror@gmx.de>
849 * java/io/BufferedReader.java,
850 java/io/FileOutputStream.java:
851 New versions from classpath.
853 2003-06-12 Andrew Haley <aph@redhat.com>
855 * prims.cc (catch_segv): Create exception in handler.
856 (catch_fpe): Likewise.
857 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
858 (_Jv_ThrowSignal): Remove.
860 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
861 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
862 to nullp and arithexception.
863 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
864 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
865 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
866 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
867 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
869 2003-06-11 Andrew Haley <aph@redhat.com>
871 * jni.cc (_Jv_JNI_check_types): New.
872 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
873 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
874 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
875 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
877 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
880 2003-06-11 Tom Tromey <tromey@redhat.com>
882 * java/lang/ClassLoader.java (loadClass): Not deprecated.
883 * java/io/PrintStream.java: Not deprecated.
885 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
887 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
888 (fillOval): implemented
889 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
890 (fillArc): implemented.
891 * gnu/gcj/xlib/GC.java (drawArc): added native method.
892 (fillArc): added native method.
893 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
894 (fillArc): added native method.
896 2003-06-11 Michael Koch <konqueror@gmx.de>
898 * java/awt/im/InputSubset.java:
899 New version from classpath.
901 2003-06-11 Michael Koch <konqueror@gmx.de>
903 * javax/swing/AbstractAction.java,
904 javax/swing/AbstractButton.java,
905 javax/swing/AbstractCellEditor.java,
906 javax/swing/AbstractListModel.java,
907 javax/swing/BorderFactory.java,
908 javax/swing/Box.java,
909 javax/swing/BoxLayout.java,
910 javax/swing/ButtonGroup.java,
911 javax/swing/DefaultButtonModel.java,
912 javax/swing/DefaultListModel.java,
913 javax/swing/DefaultListSelectionModel.java,
914 javax/swing/FocusManager.java,
915 javax/swing/ImageIcon.java,
916 javax/swing/InputMap.java,
917 javax/swing/JApplet.java,
918 javax/swing/JButton.java,
919 javax/swing/JCheckBox.java,
920 javax/swing/JCheckBoxMenuItem.java,
921 javax/swing/JColorChooser.java,
922 javax/swing/JComboBox.java,
923 javax/swing/JComponent.java,
924 javax/swing/JDesktopPane.java,
925 javax/swing/JDialog.java,
926 javax/swing/JEditorPane.java,
927 javax/swing/JFileChooser.java,
928 javax/swing/JFormattedTextField.java,
929 javax/swing/JFrame.java,
930 javax/swing/JLabel.java,
931 javax/swing/JLayeredPane.java,
932 javax/swing/JList.java,
933 javax/swing/JMenuBar.java,
934 javax/swing/JMenuItem.java,
935 javax/swing/JOptionPane.java,
936 javax/swing/JPanel.java,
937 javax/swing/JPasswordField.java,
938 javax/swing/JPopupMenu.java,
939 javax/swing/JProgressBar.java,
940 javax/swing/JRadioButton.java,
941 javax/swing/JRadioButtonMenuItem.java,
942 javax/swing/JRootPane.java,
943 javax/swing/JScrollBar.java,
944 javax/swing/JScrollPane.java,
945 javax/swing/JSeparator.java,
946 javax/swing/JSlider.java,
947 javax/swing/JTabbedPane.java,
948 javax/swing/JTable.java,
949 javax/swing/JTextField.java,
950 javax/swing/JToggleButton.java,
951 javax/swing/JToolBar.java,
952 javax/swing/JToolTip.java,
953 javax/swing/JTree.java,
954 javax/swing/JViewport.java,
955 javax/swing/JWindow.java,
956 javax/swing/KeyStroke.java,
957 javax/swing/ListSelectionModel.java,
958 javax/swing/LookAndFeel.java,
959 javax/swing/RepaintManager.java,
960 javax/swing/ScrollPaneLayout.java,
961 javax/swing/SizeRequirements.java,
962 javax/swing/SwingConstants.java,
963 javax/swing/Timer.java,
964 javax/swing/UIDefaults.java,
965 javax/swing/UIManager.java,
966 javax/swing/border/AbstractBorder.java,
967 javax/swing/border/CompoundBorder.java,
968 javax/swing/colorchooser/AbstractColorChooserPanel.java,
969 javax/swing/colorchooser/ColorChooserComponentFactory.java,
970 javax/swing/colorchooser/ColorSelectionModel.java,
971 javax/swing/colorchooser/DefaultColorSelectionModel.java,
972 javax/swing/event/AncestorEvent.java,
973 javax/swing/event/HyperlinkEvent.java,
974 javax/swing/event/InternalFrameAdapter.java,
975 javax/swing/event/InternalFrameEvent.java,
976 javax/swing/event/ListDataEvent.java,
977 javax/swing/event/MouseInputAdapter.java,
978 javax/swing/event/SwingPropertyChangeSupport.java,
979 javax/swing/event/TableModelEvent.java,
980 javax/swing/event/TreeWillExpandListener.java,
981 javax/swing/event/UndoableEditEvent.java,
982 javax/swing/filechooser/FileFilter.java,
983 javax/swing/filechooser/FileSystemView.java,
984 javax/swing/filechooser/FileView.java,
985 javax/swing/plaf/BorderUIResource.java,
986 javax/swing/plaf/basic/BasicDefaults.java,
987 javax/swing/table/AbstractTableModel.java,
988 javax/swing/table/DefaultTableCellRenderer.java,
989 javax/swing/table/DefaultTableColumnModel.java,
990 javax/swing/table/DefaultTableModel.java,
991 javax/swing/table/TableColumn.java,
992 javax/swing/text/JTextComponent.java,
993 javax/swing/tree/AbstractLayoutCache.java,
994 javax/swing/tree/DefaultMutableTreeNode.java,
995 javax/swing/tree/DefaultTreeCellEditor.java,
996 javax/swing/tree/DefaultTreeCellRenderer.java,
997 javax/swing/tree/DefaultTreeModel.java,
998 javax/swing/tree/DefaultTreeSelectionModel.java,
999 javax/swing/tree/FixedHeightLayoutCache.java,
1000 javax/swing/tree/TreeCellEditor.java,
1001 javax/swing/tree/TreeModel.java,
1002 javax/swing/tree/TreeNode.java,
1003 javax/swing/tree/TreePath.java,
1004 javax/swing/tree/TreeSelectionModel.java,
1005 javax/swing/tree/VariableHeightLayoutCache.java,
1006 javax/swing/undo/AbstractUndoableEdit.java,
1007 javax/swing/undo/CompoundEdit.java,
1008 javax/swing/undo/StateEdit.java,
1009 javax/swing/undo/UndoManager.java,
1010 javax/swing/undo/UndoableEditSupport.java:
1011 New versions from classpath.
1012 * javax/swing/table/JTableHeader.java:
1013 New file from classpath.
1015 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
1016 * Makefile.in: Regenerated.
1018 2003-06-11 Michael Koch <konqueror@gmx.de>
1020 * java/nio/MappedByteBuffer.java,
1021 java/nio/channels/Channels.java,
1022 java/nio/channels/ServerSocketChannel.java,
1023 java/nio/channels/spi/AbstractSelector.java:
1024 Removed unneeded imports.
1026 2003-06-11 Michael Koch <konqueror@gmx.de>
1028 * java/net/DatagramSocket.java:
1029 Partly merged with classpath.
1031 2003-06-11 Michael Koch <konqueror@gmx.de>
1033 * java/awt/Frame.java,
1034 java/awt/Graphics.java,
1036 java/awt/Robot.java,
1037 java/awt/image/ColorModel.java:
1038 New versions from classpath.
1040 2003-06-10 Michael Koch <konqueror@gmx.de>
1042 * java/io/PrintStream.java:
1043 Merged version from classpath.
1044 (close): Removed sychronized keyword. This class is not garantied to
1048 2003-06-09 Tom Tromey <tromey@redhat.com>
1050 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
1052 (getDescent): Likewise, for "descent".
1054 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
1056 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
1057 (getMaxDescent): adjusted return value.
1058 (getAscent): modified to use metrics for 'O'.
1059 (getDescent): modified to use metrics for 'y'.
1061 2003-06-08 Anthony Green <green@redhat.com>
1063 * java/net/URLStreamHandler.java (sameFile): Fix port value
1065 * java/net/URL.java (handler): Make package private.
1066 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
1068 2003-06-07 Tom Tromey <tromey@redhat.com>
1070 For PR libgcj/11085:
1071 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
1072 Limit number of characters in numeric field when required.
1073 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
1074 Respect maximumIntegerDigits.
1076 2003-06-08 Michael Koch <konqueror@gmx.de>
1078 * java/net/Socket.java
1079 (Socket): Dont initialize inputShutdown and outputShutdown twice,
1080 call bind() and connect() to actually do the bind and connect tasks.
1081 (bind): Connect to canonical address if bindpoint is null, create
1082 socket and bind it to bindpoint.
1083 (connect): Check for exceptions.
1085 2003-06-08 Michael Koch <konqueror@gmx.de>
1087 * java/net/DatagramSocket.java
1088 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1089 into the Multicast constructors.
1090 * java/net/DatagramSocketImpl.java
1091 (getOption): Removed.
1092 (setOption): Removed.
1093 * java/net/MulticastSocket.java
1094 (MulticastSocket): Call setReuseAddress (true).
1095 * java/net/SocketImpl.java
1096 (getOption): Removed.
1097 (setOption): Removed.
1099 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1102 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1103 Test for empty vector.
1105 2003-06-06 Mark Wielaard <mark@klomp.org>
1107 * java/security/Security.java (secprops): Initialize.
1108 (loadProviders): Return boolean.
1109 (static): Check result of loadProvider calls. If necessary
1110 display WARNING and fallback to Gnu provider.
1112 2002-06-06 James Clark <jjc@jclark.com>
1114 Fix for PR libgcj/8738:
1115 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1116 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1117 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1118 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1119 (write): Always decrease avail when count is increased.
1120 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1121 and whether output buffer is full before increasing size.
1123 2002-06-06 Mark Wielaard <mark@klomp dot org>
1125 * java/io/PrintStream.java (writeChars(char[],int, int)):
1126 Check converter.havePendingBytes().
1127 (writeChars(String,int,int)): Likewise.
1128 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1129 Check converter.havePendingBytes() and flush buffer when stalled.
1131 2003-06-07 Michael Koch <konqueror@gmx.de>
1134 (O_DSYNC): Define O_DSYNC on platforms not
1135 supporting O_FSYNC (newlib).
1137 2003-06-06 Mark Wielaard <mark@klomp.org>
1139 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1142 2003-06-06 Michael Koch <konqueror@gmx.de>
1144 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1145 More compile fixes from my stupid work yesterday.
1147 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1149 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1150 if _IEEE_LIBM is undefined.
1152 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1154 * libjava/include/posix.h (O_SYNC): Define if not available
1155 and a reasonable, perhaps more conservative, replacement exists.
1156 (O_DSYNC): Likewise.
1157 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1159 2003-06-05 Michael Koch <konqueror@gmx.de>
1161 * javax/swing/plaf/BorderUIResource.java,
1162 javax/swing/plaf/basic/BasicDefaults.java,
1163 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1164 More compile fixes for latest Border commit. I should not commit
1165 something in this heat here ...
1167 2003-06-05 Michael Koch <konqueror@gmx.de>
1169 * javax/swing/border/BevelBorder.java
1170 (BevelBorder): Removed.
1171 * javax/swing/border/EmptyBorder.java:
1173 (EmptyBorder): Removed.
1174 (getBorderInsets): Dont use l, r, t and b.
1175 * javax/swing/border/EtchedBorder.java
1176 (EtchedBorder): Removed.
1177 * javax/swing/border/LineBorder.java
1178 (LineBorder): Removed.
1179 * javax/swing/border/MatteBorder.java
1180 (MatteBorder): Removed.
1181 * javax/swing/border/TitledBorder.java
1182 (defaultBorder): Use other default for now.
1183 (defaultFont): Likewise.
1184 (defaultColor): Likewise.
1186 2003-06-05 Michael Koch <konqueror@gmx.de>
1188 * javax/swing/border/Border.java:
1189 New version from classpath.
1191 2003-06-05 Michael Koch <konqueror@gmx.de>
1193 * javax/swing/border/AbstractBorder.java,
1194 javax/swing/border/BevelBorder.java,
1195 javax/swing/border/CompoundBorder.java,
1196 javax/swing/border/EmptyBorder.java,
1197 javax/swing/border/EtchedBorder.java,
1198 javax/swing/border/LineBorder.java,
1199 javax/swing/border/MatteBorder.java,
1200 javax/swing/border/TitledBorder.java:
1201 New versions from Classpath.
1203 2003-06-05 Michael Koch <konqueror@gmx.de>
1205 * java/awt/Button.java,
1206 java/awt/Checkbox.java,
1207 java/awt/CheckboxMenuItem.java,
1208 java/awt/Choice.java,
1209 java/awt/Container.java,
1210 java/awt/Dialog.java,
1211 java/awt/EventQueue.java,
1212 java/awt/FileDialog.java,
1213 java/awt/Frame.java,
1214 java/awt/Label.java,
1217 java/awt/MenuItem.java,
1218 java/awt/Panel.java,
1219 java/awt/PopupMenu.java,
1220 java/awt/Rectangle.java,
1221 java/awt/ScrollPane.java,
1222 java/awt/Scrollbar.java,
1223 java/awt/TextArea.java,
1224 java/awt/TextField.java,
1225 java/awt/Window.java,
1226 java/awt/datatransfer/DataFlavor.java,
1227 java/awt/dnd/DragSource.java,
1228 java/awt/dnd/DragSourceContext.java,
1229 java/awt/event/HierarchyEvent.java,
1230 java/awt/event/MouseWheelEvent.java,
1231 java/awt/im/InputContext.java,
1232 java/awt/image/BufferedImage.java,
1233 java/awt/image/ComponentColorModel.java,
1234 java/awt/image/Raster.java,
1235 java/awt/image/WritableRaster.java,
1236 java/awt/peer/ComponentPeer.java,
1237 java/awt/print/PageFormat.java,
1238 java/awt/print/PrinterJob.java:
1239 New versions from Classpath.
1241 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1243 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1244 numberFormat.setParseIntegerOnly(true).
1246 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1248 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1250 2003-06-03 Andrew Haley <aph@redhat.com>
1252 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1253 stack volatile to prevent optimization from removing it.
1255 2003-05-27 Michael Koch <konqueror@gmx.de>
1257 * java/util/zip/Deflater.java
1258 (FILTERED): Merged documentation from classpath.
1259 * java/util/zip/DeflaterOutputStream.java
1260 (DeflaterOutputStream): Merged documentation and argument validity
1261 check from classpath.
1262 (deflate): Merged documentation from classpath.
1264 * java/util/zip/Inflater.java
1265 (Inflater): Merged class documentation from classpath.
1266 (zstream): Reordered.
1267 (is_finished): Reordered.
1268 (dict_needed): Reordered.
1269 (Inflater): Reordered, merged documentation from classpath.
1271 (finalize): Merged documentation from classpath.
1272 (finished): Likewise.
1273 (getAdler): Likewise.
1274 (getRemaining): Likewise.
1275 (getTotalIn): Likewise.
1276 (getTotalOut): Likewise.
1277 (inflate): Likewise.
1278 (needsDictionary): Likewise.
1279 (needsInput): Likewise.
1281 (setDictionary): Likewise.
1282 (setInput): Likewise.
1284 2003-05-27 Michael Koch <konqueror@gmx.de>
1286 * java/net/URLConnection.java
1287 (getHeaderFieldInt): Merged with classpath.
1289 2003-05-27 Michael Koch <konqueror@gmx.de>
1291 * java/io/PrintStream.java
1292 (PrintStream): Reformatted.
1293 (PrintStream): New method, merged from classpath.
1294 (write): Reformatted.
1296 2003-05-27 Michael Koch <konqueror@gmx.de>
1298 * java/lang/System.java:
1299 Explicitely import needed classes.
1301 2003-05-26 Michael Koch <konqueror@gmx.de>
1303 * java/net/NetPermission.java,
1304 java/net/NetworkInterface.java,
1305 java/net/PasswordAuthentication.java,
1306 java/net/SocketPermission.java:
1307 New versions from classpath.
1309 2003-05-25 Michael Koch <konqueror@gmx.de>
1311 * java/io/PushbackInputStream.java,
1312 java/net/Authenticator.java,
1313 java/net/ContentHandler.java,
1314 java/net/ContentHandlerFactory.java,
1315 java/net/DatagramSocket.java,
1316 java/net/DatagramSocketImpl.java,
1317 java/net/DatagramSocketImplFactory.java,
1318 java/net/FileNameMap.java,
1319 java/net/SocketImplFactory.java,
1320 java/net/SocketOptions.java,
1321 java/net/URLStreamHandlerFactory.java:
1322 Merged new versions from classpath.
1324 2003-05-25 Michael Koch <konqueror@gmx.de>
1326 * java/awt/Checkbox.java,
1327 java/awt/Dialog.java,
1329 java/awt/Frame.java,
1330 java/awt/ScrollPaneAdjustable.java,
1331 java/awt/Scrollbar.java,
1332 java/awt/Window.java:
1333 New versions from classpath.
1335 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1338 * java/io/ObjectInputStream (enableResolveObject):
1339 Fixed spelling of permission name.
1341 2003-05-20 Michael Koch <konqueror@gmx.de>
1343 * java/io/DataInputStream.java
1344 (convertFromUTF): Merged comment from classpath.
1345 * java/io/PrintStream.java
1346 (error_occured): Renamed from error, merged comment from classpath.
1347 (PrintStream): No need to initialized error.
1348 (checkError): Replace error with error_occurred.
1349 (setError): Likewise.
1351 2003-05-20 Michael Koch <konqueror@gmx.de>
1353 * java/io/DataInputStream.java:
1354 Reformatted, Replaced < and & with html entitites in documentation.
1355 * java/io/File.java:
1357 * java/io/PrintWriter.java:
1358 Moved class documentation.
1360 2003-05-20 Michael Koch <konqueror@gmx.de>
1362 * gnu/java/nio/ByteBufferImpl.java,
1363 gnu/java/nio/CharBufferImpl.java,
1364 gnu/java/nio/CharViewBufferImpl.java,
1365 gnu/java/nio/DirectByteBufferImpl.java,
1366 gnu/java/nio/DoubleBufferImpl.java,
1367 gnu/java/nio/DoubleViewBufferImpl.java,
1368 gnu/java/nio/FloatBufferImpl.java,
1369 gnu/java/nio/FloatViewBufferImpl.java,
1370 gnu/java/nio/IntBufferImpl.java,
1371 gnu/java/nio/IntViewBufferImpl.java,
1372 gnu/java/nio/LongBufferImpl.java,
1373 gnu/java/nio/LongViewBufferImpl.java,
1374 gnu/java/nio/natDirectByteBufferImpl.cc,
1375 gnu/java/nio/ShortBufferImpl.java,
1376 gnu/java/nio/ShortViewBufferImpl.java:
1377 Moved files to java/nio.
1378 * gnu/java/nio/SocketChannelImpl.java
1380 * java/nio/ByteBuffer.java,
1381 java/nio/CharBuffer.java,
1382 java/nio/DoubleBuffer.java,
1383 java/nio/FloatBuffer.java,
1384 java/nio/IntBuffer.java,
1385 java/nio/LongBuffer.java,
1386 java/nio/ShortBuffer.java:
1387 Dont import anything.
1388 * java/nio/ByteBufferImpl.java,
1389 java/nio/CharBufferImpl.java,
1390 java/nio/CharViewBufferImpl.java,
1391 java/nio/DirectByteBufferImpl.java,
1392 java/nio/DoubleBufferImpl.java,
1393 java/nio/DoubleViewBufferImpl.java,
1394 java/nio/FloatBufferImpl.java,
1395 java/nio/FloatViewBufferImpl.java,
1396 java/nio/IntBufferImpl.java,
1397 java/nio/IntViewBufferImpl.java,
1398 java/nio/LongBufferImpl.java,
1399 java/nio/LongViewBufferImpl.java,
1400 java/nio/natDirectByteBufferImpl.cc,
1401 java/nio/ShortBufferImpl.java,
1402 java/nio/ShortViewBufferImpl.java:
1403 Moved from gnu/java/nio.
1405 (ordinary_java_source_files): Moved files from gnu/java/nio to
1407 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1409 * Makefile.in: Regenerated.
1411 2003-05-19 Michael Koch <konqueror@gmx.de>
1413 * java/util/Calendar.java
1414 (get): Not final anymore since JDK 1.4
1417 2003-05-19 Michael Koch <konqueror@gmx.de>
1419 * java/text/CollationKey.java:
1420 Merged copyright and dat from classpath.
1421 * java/text/RuleBasedCollator.java:
1422 Merged class documentation from classpath.
1424 2003-05-19 Michael Koch <konqueror@gmx.de>
1426 * java/nio/CharBuffer.java
1427 (toString): Compile fix.
1429 2003-05-19 Michael Koch <konqueror@gmx.de>
1431 * gnu/java/nio/ByteBufferImpl.java
1432 (putLong): Fixed conversion to bytes.
1433 (putDouble): Fixed conversion to bytes.
1434 * gnu/java/nio/DirectByteBufferImpl.java
1435 (putLong): Fixed conversion to bytes.
1436 (putDouble): Fixed conversion to bytes.
1437 * gnu/java/nio/FileLockImpl.java
1438 (isValid): Reformatted.
1439 * java/nio/Buffer.java
1440 (Buffer): Fixed off-by-one bug in handling mark.
1441 * java/nio/ByteBuffer.java:
1443 * java/nio/CharBuffer.java
1444 (toString): Don't use relative get to get string data.
1446 2003-05-16 Michael Koch <konqueror@gmx.de>
1448 * java/io/natFileDescriptorPosix.cc
1449 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1452 2003-05-14 Michael Koch <konqueror@gmx.de>
1454 * gnu/java/nio/FileLockImpl.java
1455 (released): New member variable.
1456 (FileLockImpl): Initialize released.
1457 (releaseImpl): New native method.
1458 (release): Implemented.
1459 * gnu/java/nio/SelectorImpl.java: Reformatted.
1460 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1461 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1462 (accept): Throws IOException.
1463 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1464 (implConfigureBlocking): Throws IOException.
1465 (connect): Likewise.
1468 * gnu/java/nio/natFileLockImpl.cc: New file.
1469 * java/nio/channels/FileLock.java: Reformatted.
1471 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1472 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1473 * Makefile.in: Regenerated.
1475 2003-05-13 Michael Koch <konqueror@gmx.de>
1477 * gnu/java/nio/CharViewBufferImpl.java
1478 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1479 (get): Shift bits to the right direction.
1481 * gnu/java/nio/DoubleViewBufferImpl.java
1482 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1483 (get): Shift bits to the right direction.
1485 * gnu/java/nio/FloatViewBufferImpl.java
1486 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1487 (get): Shift bits to the right direction.
1489 * gnu/java/nio/IntViewBufferImpl.java
1490 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1491 (get): Shift bits to the right direction.
1493 * gnu/java/nio/LongViewBufferImpl.java
1494 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1495 (get): Shift bits to the right direction.
1497 * gnu/java/nio/ShortViewBufferImpl.java
1498 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1499 (get): Shift bits to the right direction.
1502 2003-05-13 Michael Koch <konqueror@gmx.de>
1504 * gnu/java/nio/natDirectByteBufferImpl.cc
1505 (allocateImpl): jlong -> RawData*.
1506 (freeImpl): Likewise.
1508 2003-05-13 Michael Koch <konqueror@gmx.de>
1510 * java/nio/channels/FileChannel.java
1511 (MapMode.m): Made it package-private to match JDK 1.4.
1512 * java/nio/charset/Charset.java
1513 (decode): Made it final to match JDK 1.4.
1515 2003-05-13 Michael Koch <konqueror@gmx.de>
1517 * java/io/FileDescriptor.java
1518 (SYNC): New constant.
1520 (getLength): Renamed from lenght() to match classpath's
1521 FileDescriptor.java.
1522 * java/io/RandomAccessFile.java
1523 (RandomAccessFile): Removed unneeded mode check, implemented mode
1524 "rws" and "rwd", merged documentation from classpath.
1525 (setLength): Reformatted.
1526 (length): Use new getLength() of FileDescriptor.
1527 * java/io/natFileDescriptorEcos.cc
1528 (getLength): Renamed from length().
1529 * java/io/natFileDescriptorPosix.cc
1530 (open): Implemented support for SYNC and DSYNC.
1531 (seek): Use getLength() instead of length().
1532 (getLength): Renamed from length().
1533 * java/io/natFileDescriptorWin32.cc
1534 (getLength): Renamed from length().
1535 (seek): Use getLength() instead of length().
1536 (available): Likewise.
1537 * gnu/java/nio/natFileChannelImpl.cc
1538 (size): Use getLength() instead of length().
1540 2003-05-13 Michael Koch <konqueror@gmx.de>
1542 * gnu/java/nio/ByteBufferImpl.java
1543 (ByteBufferImpl): All constructors revised.
1544 (slice): Reimplemented.
1545 (duplicate): Reimplemented.
1546 (asReadOnlyBuffer): Reimplemented.
1547 * java/nio/ByteBuffer.java:
1549 (array_offset): Renamed from "offset" to match all other buffer
1551 (ByteBuffer): All constructors revised.
1552 (allocateDirect): Implemented.
1553 (allocate): New implementation, documentation reworked.
1555 (get): Documentation reworked.
1556 (put): New implementation, documentation reworked.
1557 (hasArray): Documentation reworked.
1558 (arrayOffset): Likewise.
1559 (hashCode): Likewise.
1561 (compareTo): Likewise.
1563 (compact): Likewise.
1564 (isDirect): Likewise.
1566 (duplicate): Likewise.
1567 (asReadOnlyBuffer): Likewise.
1569 (ordinary_java_source_files):
1570 Added gnu/java/nio/DirectByteBufferImpl.java.
1572 Added gnu/java/nio/natDirectByteBufferImpl.cc.
1573 * Makefile.in: Regenerated.
1575 2003-05-12 Michael Koch <konqueror@gmx.de>
1577 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1578 (nio_get_*): Removed.
1579 (nio_put_*): Removed.
1580 (as*Buffer): Implemented.
1581 (compact): Implemented.
1582 (get): Documentation added.
1583 (put): Documentation added.
1584 (get*): Newly implemented.
1585 (put*): Newly implemented.
1586 * gnu/java/nio/CharBufferImpl.java: Reformatted.
1587 (CharBufferImpl): Revised.
1588 (slice): New implementation.
1589 (duplicate): New implementation.
1590 (compact): New implementation.
1591 (asReadOnlyBuffer): New implementation.
1592 (get): Documentation revised.
1593 (order): Return native byte order.
1594 * gnu/java/nio/DirectByteBufferImpl.java
1595 (allocateDirect): objects can be null not 0.
1596 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1597 (DoubleBufferImpl): Revised.
1598 (slice): New implementation.
1599 (duplicate): New implementation.
1600 (compact): New implementation.
1601 (asReadOnlyBuffer): New implementation.
1602 (get): Documentation revised.
1603 (order): Return native byte order.
1604 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1605 (FloatBufferImpl): Revised.
1606 (slice): New implementation.
1607 (duplicate): New implementation.
1608 (compact): New implementation.
1609 (asReadOnlyBuffer): New implementation.
1610 (get): Documentation revised.
1611 (order): Return native byte order.
1612 * gnu/java/nio/IntBufferImpl.java: Reformatted.
1613 (IntBufferImpl): Revised.
1614 (slice): New implementation.
1615 (duplicate): New implementation.
1616 (compact): New implementation.
1617 (asReadOnlyBuffer): New implementation.
1618 (get): Documentation revised.
1619 (order): Return native byte order.
1620 * gnu/java/nio/LongBufferImpl.java: Reformatted.
1621 (LongBufferImpl): Revised.
1622 (slice): New implementation.
1623 (duplicate): New implementation.
1624 (compact): New implementation.
1625 (asReadOnlyBuffer): New implementation.
1626 (get): Documentation revised.
1627 (order): Return native byte order.
1628 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1629 (ShortBufferImpl): Revised.
1630 (slice): New implementation.
1631 (duplicate): New implementation.
1632 (compact): New implementation.
1633 (asReadOnlyBuffer): New implementation.
1634 (get): Documentation revised.
1635 (order): Return native byte order.
1636 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1637 (CharBuffer): Revised.
1639 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1640 (DoubleBuffer): Revised.
1641 (allocateDirect): Removed.
1643 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1644 (FloatBuffer): Revised.
1645 (allocateDirect): Removed.
1647 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1648 (IntBuffer): Revised.
1649 (allocateDirect): Removed.
1651 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1652 (LongBuffer): Revised.
1653 (allocateDirect): Removed.
1655 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1656 (ShortBuffer): Revised.
1657 (allocateDirect): Removed.
1659 * gnu/java/nio/natByteBufferImpl.cc: Removed.
1660 * gnu/java/nio/natCharBufferImpl.cc: Removed.
1662 (ordinary_java_source_files): Added the following files:
1663 gnu/java/nio/CharViewBufferImpl.java,
1664 gnu/java/nio/DoubleViewBufferImpl.java,
1665 gnu/java/nio/FloatViewBufferImpl.java,
1666 gnu/java/nio/IntViewBufferImpl.java,
1667 gnu/java/nio/LongViewBufferImpl.java,
1668 gnu/java/nio/ShortViewBufferImpl.java
1669 (nat_source_files): Removed the following files:
1670 gnu/java/nio/natByteBufferImpl.cc,
1671 gnu/java/nio/natCharBufferImpl.cc
1672 * Makefile.in: Regenerated.
1674 2003-05-12 Michael Koch <konqueror@gmx.de>
1676 * gnu/java/nio/CharViewBufferImpl.java,
1677 gnu/java/nio/DirectByteBufferImpl.java,
1678 gnu/java/nio/DoubleViewBufferImpl.java,
1679 gnu/java/nio/FloatViewBufferImpl.java,
1680 gnu/java/nio/IntViewBufferImpl.java,
1681 gnu/java/nio/LongViewBufferImpl.java,
1682 gnu/java/nio/ShortViewBufferImpl.java,
1683 gnu/java/nio/natDirectByteBufferImpl.cc:
1684 New files, not yet to be compiled.
1686 2003-05-10 Michael Koch <konqueror@gmx.de>
1688 * javax/swing/plaf/ButtonUI.java,
1689 javax/swing/plaf/ColorUIResource.java,
1690 javax/swing/plaf/ComponentUI.java,
1691 javax/swing/plaf/DimensionUIResource.java,
1692 javax/swing/plaf/FontUIResource.java,
1693 javax/swing/plaf/IconUIResource.java,
1694 javax/swing/plaf/InsetsUIResource.java,
1695 javax/swing/plaf/LabelUI.java,
1696 javax/swing/plaf/ListUI.java,
1697 javax/swing/plaf/OptionPaneUI.java,
1698 javax/swing/plaf/PanelUI.java,
1699 javax/swing/plaf/TabbedPaneUI.java,
1700 javax/swing/plaf/TextUI.java,
1701 javax/swing/plaf/TreeUI.java,
1702 javax/swing/plaf/ViewportUI.java,
1703 javax/swing/plaf/basic/BasicBorders.java,
1704 javax/swing/plaf/basic/BasicButtonUI.java,
1705 javax/swing/plaf/basic/BasicCheckBoxUI.java,
1706 javax/swing/plaf/basic/BasicDefaults.java,
1707 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1708 javax/swing/plaf/basic/BasicIconFactory.java,
1709 javax/swing/plaf/basic/BasicLabelUI.java,
1710 javax/swing/plaf/basic/BasicListUI.java,
1711 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1712 javax/swing/plaf/basic/BasicPanelUI.java,
1713 javax/swing/plaf/basic/BasicRadioButtonUI.java,
1714 javax/swing/plaf/basic/BasicScrollPaneUI.java,
1715 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1716 javax/swing/plaf/basic/BasicTextUI.java,
1717 javax/swing/plaf/basic/BasicToggleButtonUI.java,
1718 javax/swing/plaf/basic/BasicTreeUI.java,
1719 javax/swing/plaf/basic/BasicViewportUI.java,
1720 javax/swing/plaf/metal/MetalLookAndFeel.java:
1721 New versions from classpath. This adds copyrights to all files and
1722 some serialVersionUIDs.
1724 2003-05-10 Michael Koch <konqueror@gmx.de>
1726 * java/nio/CharBuffer.java
1727 (offset): Make it package-private.
1728 (backing_buffer): Likewise.
1729 * java/nio/DoubleBuffer.java
1730 (offset): Make it package-private.
1731 (backing_buffer): Likewise.
1733 * java/nio/FloatBuffer.java
1734 (offset): Make it package-private.
1735 (backing_buffer): Likewise.
1736 * java/nio/IntBuffer.java
1737 (offset): Make it package-private.
1738 (backing_buffer): Likewise.
1739 * java/nio/LongBuffer.java
1740 (offset): Make it package-private.
1741 (backing_buffer): Likewise.
1742 * java/nio/ShortBuffer.java
1743 (offset): Make it package-private.
1744 (backing_buffer): Likewise.
1746 2003-05-10 Michael Koch <konqueror@gmx.de>
1748 * java/nio/CharBuffer.java
1749 (put): Fixed precondtion check.
1750 (toString): Make it work without backing array.
1751 (put): Skip one level of method calling.
1753 2003-05-10 Michael Koch <konqueror@gmx.de>
1755 * java/security/Identity.java,
1756 java/security/IdentityScope.java,
1757 java/security/Key.java,
1758 java/security/KeyPair.java,
1759 java/security/PrivateKey.java,
1760 java/security/Provider.java,
1761 java/security/PublicKey.java,
1762 java/security/SecureRandom.java,
1763 java/security/SecureRandomSpi.java,
1764 java/security/SignedObject.java,
1765 java/security/Signer.java,
1766 java/security/cert/Certificate.java,
1767 java/security/cert/PKIXCertPathBuilderResult.java,
1768 java/security/cert/X509Certificate.java:
1769 New versions from classpath.
1771 2003-05-09 Tom Tromey <tromey@redhat.com>
1773 * Makefile.in: Rebuilt.
1774 * Makefile.am (nat_source_files): Removed old files.
1775 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1776 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1777 * gnu/java/nio/natIntBufferImpl.cc: Removed.
1778 * gnu/java/nio/natLongBufferImpl.cc: Removed.
1779 * gnu/java/nio/natShortBufferImpl.cc: Removed.
1781 2003-05-09 Michael Koch <konqueror@gmx.de>
1783 * gnu/java/nio/ByteBufferImpl.java
1784 (nio_cast): Removed.
1785 (ByteBufferImpl): Removed.
1786 (nio_get_Byte): Removed.
1787 (nio_put_Byte): Removed.
1788 (asByteBuffer): Removed.
1789 (asCharBuffer): Removed implementation and throw exception.
1790 (asShortBuffer): Likewise.
1791 (asIntBuffer): Likewise.
1792 (asLongBuffer): Likewise.
1793 (asFloatBuffer): Likewise.
1794 (asDoubleBuffer): Likewise.
1795 * gnu/java/nio/CharBufferImpl.java
1796 (CharBufferImpl): Removed.
1797 (nio_get_Byte): Removed.
1798 (nio_put_Byte): Removed.
1799 (asByteBuffer): Removed.
1800 * gnu/java/nio/DoubleBufferImpl.java
1801 (DoubleBufferImpl): Removed.
1802 (nio_get_Byte): Removed.
1803 (nio_put_Byte): Removed.
1804 (asByteBuffer): Removed.
1805 * gnu/java/nio/FloatBufferImpl.java
1806 (FloatBufferImpl): Removed.
1807 (nio_get_Byte): Removed.
1808 (nio_put_Byte): Removed.
1809 (asByteBuffer): Removed.
1810 * gnu/java/nio/IntBufferImpl.java
1811 (IntBufferImpl): Removed.
1812 (nio_get_Byte): Removed.
1813 (nio_put_Byte): Removed.
1814 (asByteBuffer): Removed.
1815 * gnu/java/nio/LongBufferImpl.java
1816 (LongBufferImpl): Removed.
1817 (nio_get_Byte): Removed.
1818 (nio_put_Byte): Removed.
1819 (asByteBuffer): Removed.
1820 * gnu/java/nio/ShortBufferImpl.java
1821 (ShortBufferImpl): Removed.
1822 (nio_get_Byte): Removed.
1823 (nio_put_Byte): Removed.
1824 (asByteBuffer): Removed.
1825 * gnu/java/nio/natByteBufferImpl.cc
1826 (nio_cast): Removed.
1827 (nio_get_Byte): Removed.
1828 (nio_put_Byte): Removed.
1829 * gnu/java/nio/natCharBufferImpl.cc
1830 (nio_get_Byte): Removed.
1831 (nio_put_Byte): Removed.
1833 2003-05-09 Michael Koch <konqueror@gmx.de>
1835 * java/net/JarURLConnection.java
1836 (getJarEntry): Merged documentation from classpath.
1837 (getJarFile): Likewise.
1838 (getMainAttributes): Likewise.
1839 (getAttributes): Likewise.
1840 (getManifest): Likewise.
1841 (getCertificates): Reformatted.
1842 * java/net/URLConnection.java:
1843 Little classpath merge.
1845 2003-05-09 Michael Koch <konqueror@gmx.de>
1847 * java/io/DataOutputStream.java
1848 (writeShort): Made it synchronized.
1849 (writeChar): Likewise.
1850 (writeInt): Likewise.
1851 (writeLong): Liekwise.
1852 (writeUTF): Made it synchronized, renamed argument to match classpath.
1853 * java/io/InputStreamReader.java
1854 (converter): Added documentation.
1855 (read): Merged documentation from classpath.
1856 * java/io/OutputStreamWriter.java
1857 (OutputStreamWriter): Merged documentation from classpath.
1858 (close): Reformatted.
1859 (getEncoding): Likewise.
1861 (write): Merged documentation from classpath, reformatted.
1863 2003-05-08 Tom Tromey <tromey@redhat.com>
1865 * configure.host <powerpc64*-*>: Set with_libffi_default and
1866 libgcj_interpreter to "yes".
1868 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
1870 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1872 2003-05-06 Tom Tromey <tromey@redhat.com>
1874 * verify.cc: Reverted previous patch.
1876 2003-05-06 Michael Koch <konqueror@gmx.de>
1878 * java/io/DataOutputStream.java
1879 (write): Renamed argument to "value", merged documentation from
1881 (writeBoolean): Likewise.
1882 (writeByte): Likewise.
1883 (writeShort): Likewise.
1884 (writeChar): Likewise.
1885 (writeInt): Likewise.
1886 (writeLong): Likewise.
1887 (writeFloat): Likewise.
1888 (writeDouble): Likewise.
1889 (writeBytes): Likewise.
1890 (writeChars): Likewise.
1891 (writeUTF): Likewise.
1893 (performDelete): Added documentation.
1894 (performList): Likewise.
1895 (performMkdir): Likewise.
1896 (performSetReadOnly): Likewise.
1897 (performRenameTo): Likewise.
1898 (performSetLastModified): Likewise.
1899 (delete): Made it sychronized.
1900 (renameTo): Made it sychronized.
1901 (equals): Reformatted.
1902 (isHidden): Likewise.
1903 (listFiles): Likewise.
1904 (setReadOnly): Likewise.
1905 (listRoots): Likewise.
1906 (setLastModified): Likewise.
1907 (checkRead): Likewise.
1908 (checkWrite): Likewise.
1909 * java/io/FileInputStream.java
1910 (skip): Made it sychronized, merged from classpath.
1911 * java/io/FileOutputStream.java
1912 (write): Merged from classpath.
1913 * java/io/InputStreamReader.java:
1914 (InputStreamReader): Merged documentation from classpath.
1916 2003-05-05 Michael Koch <konqueror@gmx.de>
1918 * java/net/NetworkInterface.java
1919 (networkInterfaces): Removed.
1920 (getByName): Use getRealNetworkInterfaces() instead of
1922 (getByInetAddress): Likewise.
1923 (getNetworkInterfaces): Likewise.
1924 (toString): Fix output of addresses of an interface.
1926 2003-05-05 Michael Koch <konqueror@gmx.de>
1928 * java/io/DataInputStream.java:
1929 Merged new documentation from classpath.
1931 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
1933 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1935 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1936 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1937 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1938 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1939 * gnu/awt/gtk/GtkMainThread.java: Likewise.
1940 * gnu/awt/gtk/GtkToolkit.java: Likewise.
1941 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1942 * java/security/Key.java: Likewise.
1943 * java/security/PrivateKey.java: Likewise.
1944 * java/security/Provider.java: Likewise.
1945 * java/security/PublicKey.java: Likewise.
1947 2003-05-02 Michael Koch <konqueror@gmx.de>
1950 (create): Doesnt throws any exceptions.
1951 * java/net/URLConnection.java
1952 (URLConnection): Commend added.
1953 (getExpiration): The header field is called "expires" not
1955 (getHeaderField): Merged documentation with classpath.
1956 (getHeaderFieldInt): Likewise.
1957 (getHeaderFieldDate): Likewise.
1958 (getHeaderFieldKey): Likewise.
1959 (getPermission): Likewise.
1960 (setDefaultUseCaches): Likewise.
1961 (setRequestProperty): Likewise.
1962 (addRequestProperty): Likewise.
1963 (getRequestProperty): Likewise.
1964 (getRequestProperties): Likewise.
1965 (setDefaultRequestProperty): Likewise.
1966 (getDefaultRequestProperty): Likewise.
1967 (guessContentTypeFromStream): Likewise.
1968 (getFileNameMap): Likewise.
1969 (setFileNameMap): Likewise.
1970 (setDoInput): Merged implementation and documentation with classpath.
1971 (setDoOutput): Likewise.
1972 (setAllowUserInteraction): Likewise.
1973 (setDefaultAllowUserInteraction): Likewise.
1974 (setContentHandlerFactory): Made it synchronized, merged documentation
1976 (guessContentTypeFromName): Renamed argument fname to filename to
1977 match classpath, merged documentation with classpath.
1979 2003-05-02 Michael Koch <konqueror@gmx.de>
1981 * java/net/JarURLConnection.java
1982 (JarURLConnection): Class documentation merged with classpath.
1983 (getJarFileURL): Moved and documentation merged with classpath.
1984 (getEntryName): Likewise.
1985 (JarURLConnection): Documentation merged with classpath.
1986 (getJarEntry): Likewise.
1987 (getJarFile): Likewise.
1988 * java/net/PlainDatagramSocketImpl.java:
1989 Class documentation moved.
1990 * java/net/URLConnection.java
1991 (fileNameMap): Moved and documentation merged with classpath.
1992 (factory): Likewise.
1993 (defaultAllowUserInteraction): Likewis.
1994 (defaultUseCaches): Likewise.
1995 (allowUserInteraction): Likewise.
1996 (connected): Likewise.
1998 (connect): Documentation merged with classpath.
2000 (getContentLength): Likewise.
2001 (getContentType): Likewise.
2002 (getContentEncoding): Likewise.
2003 (getExpiration): Likewise.
2004 (getDate): Likewise.
2005 (getLastModified): Likewise.
2006 (getHeaderField): Likewise.
2007 (getContent): Likewise.
2008 (getPermission): Likewise.
2009 (getInputStream): Likewise.
2010 (getOutputStream): Likewise.
2011 (toString): Likewise.
2012 (getDoInput): Likewise.
2013 (getDoOutput): Likewise.
2014 (setAllowUserInteraction): Likewise.
2015 (getAllowUserInteraction): Likewise.
2016 (setDefaultAllowUserInteraction): Likewise.
2017 (getDefaultAllowUserInteraction): Likewise.
2018 (setUseCaches): Likewise.
2019 (getUseCaches): Likewise.
2020 (setIfModifiedSince): Likewise.
2021 (getIfModifiedSince): Likewise.
2022 (setDefaultRequestProperty): Likewise.
2023 (getDefaultRequestProperty): Likewise.
2024 (setContentHandlerFactory): Likewise.
2025 (setFileNameMap): Likewise.
2027 2003-05-02 Michael Koch <konqueror@gmx.de>
2029 * java/net/InetAddress.java:
2030 Merged class documentation with classpath.
2031 * java/net/JarURLConnection.java:
2032 Explicitely import all used classes.
2033 * java/net/URL.java:
2035 * java/net/ServerSocket.java,
2036 java/net/Socket.java:
2037 New versions from classpath.
2039 2003-05-02 Michael Koch <konqueror@gmx.de>
2041 * gnu/java/nio/FileChannelImpl.java
2042 (read): New implementation.
2043 (implRead): New methods.
2044 (write): New implementation, call other write insteal of read method.
2045 (implWrite): New methods.
2046 (map): Added comment.
2047 (transferFrom): Implemented.
2048 (transferTo): Implemented.
2049 (lock): Added checks to throw exceptions.
2050 (truncate): Added check to throw exception.
2051 * gnu/java/nio/natFileChannelImpl.cc
2052 (implRead): New method.
2053 (implWrite): New method.
2054 * java/nio/ByteBuffer.java
2055 (hashCode): Fixed comment.
2056 (get): Fixed exception documentation.
2057 (put): Fixed exception documentation.
2058 * java/nio/CharBuffer.java:
2059 Added comment for later optimizations.
2061 2003-04-30 Tom Tromey <tromey@redhat.com>
2064 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
2066 (type::compatible): Use _Jv_IsAssignableFrom.
2067 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
2068 (_Jv_IsAssignableFrom): Work even when source or target class is
2071 2003-04-30 Michael Koch <konqueror@gmx.de>
2073 * java/text/BreakIterator.java
2074 (clone): New method.
2076 2003-04-30 Michael Koch <konqueror@gmx.de>
2078 * java/text/CollationElementIterator.java,
2079 java/text/CollationKey.java,
2080 java/text/RuleBasedCollator.java:
2081 Merged copyright and documentation from classpath and
2082 rearranged some code. No code changes done.
2084 2003-04-30 Michael Koch <konqueror@gmx.de>
2086 * java/util/regex/Matcher.java
2087 (pattern): New member variable.
2088 (appendReplacement): New method.
2089 (appendTail): New method.
2092 (group): New method.
2093 (replaceFirst): Added documentation.
2094 (replaceAll): Added documentation.
2095 (groupCount): New method.
2096 (lookingAt): New method.
2097 (matches): New method.
2098 (reset): New method.
2099 (start): New method.
2100 * java/util/regex/Pattern.java
2101 (serialVersionUID): New constant.
2102 (CANON_EQ): New constant.
2103 (CASE_INSENSITIVE): New constant.
2104 (COMMENTS): New constant.
2105 (DOTALL): New constant.
2106 (MULTILINE): New constant.
2107 (UNICODE_CASE): New constant.
2108 (UNIX_LINES): New constant.
2109 (regex): New member variable.
2110 (flags): New member variable.
2111 (Pattern): New method.
2112 (compile): Documentation added.
2113 (flags): New method.
2114 (matches): Documentation added.
2115 (matcher): Documentation added.
2116 (split): Documentation added.
2117 (pattern): New method.
2119 2003-04-30 Michael Koch <konqueror@gmx.de>
2121 * gnu/java/security/Engine.java,
2122 gnu/java/security/OID.java,
2123 gnu/java/security/der/BitString.java,
2124 gnu/java/security/der/DER.java,
2125 gnu/java/security/der/DERReader.java,
2126 gnu/java/security/der/DERValue.java,
2127 gnu/java/security/der/DERWriter.java,
2128 gnu/java/security/provider/DSAKeyFactory.java,
2129 gnu/java/security/provider/X509CertificateFactory.java,
2130 gnu/java/security/x509/X500DistinguishedName.java,
2131 gnu/java/security/x509/X509CRL.java,
2132 gnu/java/security/x509/X509CRLEntry.java,
2133 gnu/java/security/x509/X509Certificate.java,
2134 java/security/cert/CRLSelector.java,
2135 java/security/cert/CertPathBuilder.java,
2136 java/security/cert/CertPathBuilderResult.java,
2137 java/security/cert/CertPathBuilderSpi.java,
2138 java/security/cert/CertPathParameters.java,
2139 java/security/cert/CertPathValidator.java,
2140 java/security/cert/CertPathValidatorResult.java,
2141 java/security/cert/CertPathValidatorSpi.java,
2142 java/security/cert/CertSelector.java,
2143 java/security/cert/CertStore.java,
2144 java/security/cert/CertStoreParameters.java,
2145 java/security/cert/CertStoreSpi.java,
2146 java/security/cert/CollectionCertStoreParameters.java,
2147 java/security/cert/LDAPCertStoreParameters.java,
2148 java/security/cert/PKIXBuilderParameters.java,
2149 java/security/cert/PKIXCertPathBuilderResult.java,
2150 java/security/cert/PKIXCertPathChecker.java,
2151 java/security/cert/PKIXCertPathValidatorResult.java,
2152 java/security/cert/PKIXParameters.java,
2153 java/security/cert/PolicyNode.java,
2154 java/security/cert/PolicyQualifierInfo.java,
2155 java/security/cert/TrustAnchor.java,
2156 javax/security/auth/x500/X500Principal.java:
2157 New files from classpath.
2158 * gnu/java/io/ASN1ParsingException.java,
2159 gnu/java/io/Base64InputStream.java,
2160 gnu/java/security/der/DEREncodingException.java,
2161 gnu/java/security/provider/DSAParameters.java,
2162 gnu/java/security/provider/DSASignature.java,
2163 gnu/java/security/provider/Gnu.java,
2164 gnu/java/security/provider/GnuDSAPrivateKey.java,
2165 gnu/java/security/provider/GnuDSAPublicKey.java,
2166 java/security/AlgorithmParameterGenerator.java,
2167 java/security/AlgorithmParameters.java,
2168 java/security/KeyFactory.java,
2169 java/security/KeyPairGenerator.java,
2170 java/security/KeyStore.java,
2171 java/security/MessageDigest.java,
2172 java/security/SecureClassLoader.java,
2173 java/security/SecureRandom.java,
2174 java/security/Security.java,
2175 java/security/Signature.java,
2176 java/security/cert/Certificate.java,
2177 java/security/cert/CertificateFactory.java,
2178 java/security/cert/CertificateFactorySpi.java,
2179 java/security/cert/X509CRL.java,
2180 java/security/cert/X509Certificate.java,
2181 java/security/spec/DSAPublicKeySpec.java:
2182 New versions from classpath.
2183 * gnu/java/security/provider/DERReader.java,
2184 gnu/java/security/provider/DERWriter.java,
2185 java/security/Engine.java: Removed.
2187 (java_source_files, javax_source_files): Added new files.
2188 * Makefile.in: Regenerated.
2190 2003-04-29 Michael Koch <konqueror@gmx.de>
2192 * javax/swing/JTable.java
2193 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2194 (AUTO_RESIZE_LAST_COLUMN): New constant.
2195 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2196 (AUTO_RESIZE_OFF): New constant.
2197 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2198 (JTable): New method.
2199 (columnAdded): New method.
2200 (columnMarginChanged): New method.
2201 (columnMoved): New method.
2202 (columnRemoved): New method.
2203 (columnSelectionChanged): New method.
2204 (editingCanceled): New method.
2205 (editingStopped): New method.
2206 (getColumnModel): New method.
2207 (getPreferredScrollableViewportSize): New method.
2208 (getScrollableBlockIncrement): New method.
2209 (getScrollableTracksViewportHeight): New method.
2210 (getScrollableTracksViewportWidth): New method.
2211 (getScrollableUnitIncrement): New method.
2212 (getSelectedRow): New method.
2213 (getSelectionModel): New method.
2214 (tableChanged): New method.
2215 (setModel): New method.
2216 (setSelectionMode): New method.
2217 (setSelectionModel): New method.
2218 (setShowGrid): New method.
2219 (valueChanged): New method.
2220 * javax/swing/text/DefaultEditorKit.java
2221 (backwardAction): New constant.
2222 (beepAction): New constant.
2223 (beginAction): New constant.
2224 (beginLineAction): New constant.
2225 (beginParagraphAction): New constant.
2226 (beginWordAction): New constant.
2227 (copyAction): New constant.
2228 (cutAction): New constant.
2229 (defaultKeyTypedAction): New constant.
2230 (deleteNextCharAction): New constant.
2231 (deletePrevCharAction): New constant.
2232 (downAction): New constant.
2233 (endAction): New constant.
2234 (endLineAction): New constant.
2235 (endOfLineStringProperty): New constant.
2236 (endParagraphAction): New constant.
2237 (endWordAction): New constant.
2238 (forwardAction): New constant.
2239 (insertBreakAction): New constant.
2240 (insertContentAction): New constant.
2241 (insertTabAction): New constant.
2242 (nextWordAction): New constant.
2243 (pageDownAction): New constant.
2244 (pageUpAction): New constant.
2245 (pasteAction): New constant.
2246 (previousWordAction): New constant.
2247 (readOnlyAction): New constant.
2248 (selectAllAction): New constant.
2249 (selectionBackwardAction): New constant.
2250 (selectionBeginAction): New constant.
2251 (selectionBeginLineAction): New constant.
2252 (selectionBeginParagraphAction): New constant.
2253 (selectionBeginWordAction): New constant.
2254 (selectionDownAction): New constant.
2255 (selectionEndAction): New constant.
2256 (selectionEndLineAction): New constant.
2257 (selectionEndParagraphAction): New constant.
2258 (selectionEndWordAction): New constant.
2259 (selectionForwardAction): New constant.
2260 (selectionNextWordAction): New constant.
2261 (selectionPreviousWordAction): New constant.
2262 (selectionUpAction): New constant.
2263 (selectLineAction): New constant.
2264 (selectParagraphAction): New constant.
2265 (selectWordAction): New constant.
2266 (upAction): New constant.
2267 (writableAction): New constant.
2269 2003-04-29 Michael Koch <konqueror@gmx.de>
2271 * java/util/PropertyPermission.java:
2272 New version from classpath
2273 * java/util/ResourceBundle.java:
2274 Partly merged from classpath
2275 (getObject): Reformated.
2276 (tryBundle): Set foundBundle = null if no bundle found.
2278 2003-04-29 Michael Koch <konqueror@gmx.de>
2280 * javax/swing/AbstractListModel.java,
2281 javax/swing/DefaultBoundedRangeModel.java,
2282 javax/swing/DefaultSingleSelectionModel.java:
2283 New Versions from classpath.
2285 2003-04-29 Michael Koch <konqueror@gmx.de>
2287 * java/awt/Window.java
2288 (show): Call super.show() instead of setVisible() to avoid endless
2290 (hide): Call super.hide() instead of setVisible() to avoid endless
2293 2003-04-29 Michael Koch <konqueror@gmx.de>
2295 * java/util/zip/Deflater.java,
2296 java/util/zip/DeflaterOutputStream.java:
2297 Partly merged with classpath.
2299 2003-04-27 Tom Tromey <tromey@redhat.com>
2301 * java/lang/natString.cc (_Jv_AllocString): Initialize
2304 (_Jv_NewStringUtf8Const): Likewise.
2306 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2308 * include/jvm.h: (_Jv_GetNbArgs) added
2309 (_Jv_GetSafeArg) added
2311 * prims.cc: (_Jv_GetNbArgs) implemented
2312 (_Jv_GetSafeArg) implemented
2313 (_Jv_SetArgs) implemented
2314 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2315 setting _Jv_argc and _Jv_argv
2316 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2318 * java/lang/natRuntime.cc: (insertSystemProperties) use
2319 _Jv_GetSafeArg() instead of _Jv_argv
2321 2003-04-23 Tom Tromey <tromey@redhat.com>
2323 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2324 required by this object. Search superclasses to find required
2326 (get_alignment_from_class): Use alignment of type as it appears
2328 (ALIGNOF): New macro.
2329 (struct aligner): New helper structure.
2331 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2333 * java/awt/Container.java (addImpl): Enable paint events if adding
2334 a lightweight to a heavyweight.
2335 (addNotify): Ensure that peer is created before
2336 addNotifyContainerChildren.
2337 (addNotifyContainerChildren): Enable paint events if a heavyweight
2338 container contains a lightweight.
2340 2003-04-20 Tom Tromey <tromey@redhat.com>
2342 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2343 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2346 2003-04-19 Tom Tromey <tromey@redhat.com>
2348 * java/sql/Date.java, java/sql/DriverManager.java,
2349 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2352 * Makefile.in: Rebuilt.
2353 * Makefile.am (ordinary_java_source_files): Added new files.
2354 * java/security/AlgorithmParameterGenerator.java,
2355 java/security/AlgorithmParameters.java, java/security/Engine.java,
2356 java/security/Identity.java, java/security/IdentityScope.java,
2357 java/security/KeyFactory.java,
2358 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2359 java/security/MessageDigest.java, java/security/Policy.java,
2360 java/security/ProtectionDomain.java,
2361 java/security/SecureRandom.java, java/security/Security.java,
2362 java/security/Signature.java, java/security/SignatureSpi.java,
2363 java/security/SignedObject.java, java/security/Signer.java,
2364 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2365 java/security/spec/PSSParameterSpec.java,
2366 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2367 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2370 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2372 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2373 (dispose): Null metrics.
2374 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2375 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2377 (finalize): Call dispose.
2378 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2379 (gcCachedCount): New field.
2380 (finalize): New method.
2381 (putGCInCache): New method.
2382 (getGCFromCache): New method.
2383 * gnu/gcj/xlib/GC.java (GC): Make protected.
2384 (clone): Get new GC from cache if possible.
2385 (create): New static method.
2386 (dispose): Save old GC in cache.
2387 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2389 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2391 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2392 * java/awt/Container.java (visitChild): Dispose gfx2 when
2395 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2397 * java/math/BigInteger.java (probablePrime): New.
2398 * java/math/BigDecimal.java (unscaledValue): New.
2400 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2402 * java/io/File.java (getAbsolutePath): On Windows, take care
2403 of paths like "C:", "G:foo\bar", etc.
2404 (getName): Make it work correctly on Windows.
2405 (getParent): Make it work correctly on Windows. For UNIX,
2406 fix bug that causes "/" to be returned as the parent of "/",
2407 instead of null as returned by Sun's JRE.
2409 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2411 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2413 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2415 (CACHE_SIZE_PER_DISPLAY): New field
2416 (fontMetricsCache): New field
2417 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2418 loading ISO10646-1 fonts.
2420 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2422 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2424 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2427 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2429 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2432 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2434 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2435 installed libpthread is either linuxthreads with floating stacks or
2438 2003-04-14 Tom Tromey <tromey@redhat.com>
2440 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2443 2003-04-10 Tom Tromey <tromey@redhat.com>
2445 * verify.cc (pop64): Removed.
2446 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2447 exception if top-of-stack is narrow.
2448 (initialize_stack): Check to ensure that <init> is not static and
2451 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2453 * java/io/ObjectStreamException
2454 * java/io/FileFilter
2455 * java/io/FilenameFilter
2456 * java/io/ObjectInput
2457 * java/io/ObjectOutput
2458 * java/io/ObjectStreamConstants
2459 Minor doc fixes, format fixes, spelling corrections, etc.
2461 Corrected code samples in Javadocs to match reality
2462 * java/io/DataOutput
2463 * java/io/ObjectInputValidation
2464 Major documentation fixes - all Javadocs re-written or updated
2466 2003-04-06 Michael Koch <konqueror@gmx.de>
2468 * java/net/URLConnection.java:
2469 Import classes directly.
2470 (URLConnection): Merged class documentation with classpath.
2471 (url): Moved, documentation from classpath added.
2472 (doInput): Moved, documentation from classpath added.
2473 (doOutput): Moved, documentation from classpath added.
2474 (allowUserInteraction): Moved.
2475 (useCaches): Moved, documentation from classpath added.
2476 (ifModifiedSince): Moved, documentation from classpath added.
2477 (connected): Moved, documentation from classpath added.
2479 2003-04-06 Michael Koch <konqueror@gmx.de>
2481 * java/io/FileInputStream.java
2482 (skip): Renamed some variables to match classpath, added
2483 checks from classpath.
2485 2003-03-31 Michael Koch <konqueror@gmx.de>
2487 * javax/swing/AbstractAction.java
2488 (AbstractAction): Reformatted.
2489 (serialVersionUID): New private member variable.
2490 * javax/swing/plaf/BorderUIResource.java
2491 (serialVersionUID): New private member variable.
2492 * javax/swing/plaf/basic/BasicLookAndFeel.java
2493 (serialVersionUID): New private member variable.
2495 2003-03-31 Michael Koch <konqueror@gmx.de>
2497 * java/sql/Date.java
2498 (valueOf): Deprecated, reformatted.
2499 (toString): Deprecated, reformatted.
2500 * java/sql/Time.java
2501 (valueOf): Deprecated, reformatted.
2502 (toString): Deprecated, reformatted.
2504 2003-03-31 Michael Koch <konqueror@gmx.de>
2506 * java/rmi/dgc/VMID.java
2507 (isUnique): Deprecated.
2509 2003-03-31 Michael Koch <konqueror@gmx.de>
2512 (separator): Merged documentation from classpath.
2513 (separatorChar): Merged documentation from classpath.
2514 (pathSeparator): Merged documentation from classpath.
2515 (pathSeparatorChar): Merged documentation from classpath.
2516 (path): Merged documentation from classpath.
2517 (canRead): Merged documentation from classpath.
2518 (canWrite): Merged documentation from classpath.
2519 (createNewFile): Merged documentation from classpath.
2520 (delete): Merged documentation from classpath.
2521 (equals): Merged documentation from classpath.
2522 (exists): Merged documentation from classpath.
2523 (File): Renamed p to name to match classpath, merged documentation
2525 (getAbsolutePath): Merged documentation from classpath.
2526 (getCanonicalPath): Merged documentation from classpath.
2527 (getCanonicalFile): Merged documentation from classpath.
2528 (getName): Merged documentation from classpath.
2529 (getParent): Merged documentation from classpath.
2530 (getParentFile): Merged documentation from classpath.
2531 (getPath): Merged documentation from classpath.
2532 (hashCode): Merged documentation from classpath.
2533 (isAbsolute): Merged documentation from classpath.
2534 (isDirectory): Merged documentation from classpath.
2535 (isFile): Merged documentation from classpath.
2536 (isHidden): Merged documentation from classpath.
2537 (lastModified): Merged documentation from classpath.
2538 (length): Merged documentation from classpath.
2539 (list): Merged documentation from classpath.
2540 (listFiles): Merged documentation from classpath.
2541 (toString): Merged documentation from classpath.
2542 (toURL): Merged documentation from classpath.
2543 (mkdir): Merged documentation from classpath.
2544 (mkdirs): Merged documentation from classpath.
2545 (createTempFile): Merged documentation from classpath.
2546 (setReadOnly): Merged documentation from classpath.
2547 (listRoots): Merged documentation from classpath.
2548 (compareTo): Merged documentation from classpath.
2549 (renameTo): Merged documentation from classpath.
2550 (setLastModified): Merged documentation from classpath.
2551 * java/io/PrintStream.java
2552 (auto_flush): Merged documentation from classpath.
2553 (PrintStream): Merged documentation from classpath.
2554 (checkError): Merged documentation from classpath.
2555 (setError): Merged documentation from classpath.
2556 (close): Merged documentation from classpath.
2557 (flush): Merged documentation from classpath.
2558 (print): Merged documentation from classpath.
2559 (println): Merged documentation from classpath.
2560 (write): Renamed count to len to match classpath,
2561 merged documentation from classpath.
2562 * java/io/RandomAccessFile.java
2563 (readShort): Merged documentation from classpath.
2564 (readUnsignedByte): Merged documentation from classpath.
2565 (readUnsignedShort): Merged documentation from classpath.
2566 (readUTF): Merged documentation from classpath.
2567 (seek): Reformatted, merged documentation from classpath.
2568 (skipBytes): Renamed some variables to match classpath, reformatted,
2569 merged documentation from classpath.
2570 (write): Merged documentation from classpath.
2571 (writeBoolean): Merged documentation from classpath.
2572 (writeByte): Merged documentation from classpath.
2573 (writeShort): Merged documentation from classpath.
2574 (writeChar): Merged documentation from classpath.
2575 (writeInt): Merged documentation from classpath.
2576 (writeLong): Merged documentation from classpath.
2577 (writeFloat): Merged documentation from classpath.
2578 (writeDouble): Merged documentation from classpath.
2579 (writeBytes): Merged documentation from classpath.
2580 (writeChars): Merged documentation from classpath.
2581 (writeUTF): Reformatted.
2582 (getChannel): Reformatted.
2584 2003-03-31 Michael Koch <konqueror@gmx.de>
2586 * java/awt/font/TextAttribute.java
2587 (readResolve): Throws java.io.InvalidObjectException.
2589 2003-03-31 Michael Koch <konqueror@gmx.de>
2591 * java/rmi/server/LoaderHandler.java
2592 (loadClass): Deprecated.
2593 (getSecurityContext): Deprecated.
2594 * java/rmi/server/LogStream.java
2595 (getDefaultStream): Deprecated.
2596 (setDefaultStream): Deprecated.
2597 (getOutputStream): Deprecated.
2598 (setOutputStream): Deprecated.
2599 (write): Deprecated.
2600 (toString): Deprecated.
2601 (parseLevel): Deprecated.
2602 * java/rmi/server/Operation.java
2603 (Operation): Deprecated.
2604 (getOperation): Deprecated.
2605 (toString): Deprecated.
2606 * java/rmi/server/RemoteCall.java
2607 (getOutputStream): Deprecated.
2608 (releaseOutputStream): Deprecated.
2609 (getInputStream): Deprecated.
2610 (releaseInputStream): Deprecated.
2611 (getResultStream): Deprecated.
2612 (executeCall): Deprecated.
2614 * java/rmi/server/RemoteRef.java
2615 (invoke): Deprecated.
2616 (newCall): Deprecated.
2618 * java/rmi/server/RemoteStub.java
2619 (setRef): Deprecated.
2620 * java/rmi/server/Skeleton.java:
2621 No need to import java.lang.Exception explicitly.
2622 (dispatch): Deprecated.
2623 (getOperations): Deprecated.
2625 2003-03-31 Michael Koch <konqueror@gmx.de>
2627 * java/rmi/dgc/VMID.java,
2628 java/rmi/registry/RegistryHandler.java,
2629 java/rmi/server/LogStream.java,
2630 java/rmi/server/Operation.java,
2631 java/rmi/server/RemoteCall.java,
2632 java/rmi/server/RemoteRef.java,
2633 java/rmi/server/RemoteStub.java:
2636 2003-03-31 Michael Koch <konqueror@gmx.de>
2638 * javax/swing/AbstractCellEditor.java,
2639 javax/swing/AbstractListModel.java,
2640 javax/swing/ActionMap.java,
2641 javax/swing/BorderFactory.java,
2642 javax/swing/ButtonGroup.java,
2643 javax/swing/DefaultBoundedRangeModel.java,
2644 javax/swing/DefaultButtonModel.java,
2645 javax/swing/DefaultCellEditor.java,
2646 javax/swing/DefaultComboBoxModel.java,
2647 javax/swing/DefaultDesktopManager.java,
2648 javax/swing/DefaultListCellRenderer.java,
2649 javax/swing/DefaultSingleSelectionModel.java,
2650 javax/swing/InputMap.java,
2651 javax/swing/JComponent.java,
2652 javax/swing/JMenu.java,
2653 javax/swing/JSlider.java,
2654 javax/swing/KeyStroke.java,
2655 javax/swing/OverlayLayout.java,
2656 javax/swing/ScrollPaneLayout.java,
2657 javax/swing/SizeRequirements.java,
2658 javax/swing/UIManager.java,
2659 javax/swing/ViewportLayout.java,
2660 javax/swing/border/AbstractBorder.java,
2661 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2662 javax/swing/event/EventListenerList.java,
2663 javax/swing/table/AbstractTableModel.java,
2664 javax/swing/table/DefaultTableCellRenderer.java,
2665 javax/swing/table/DefaultTableColumnModel.java,
2666 javax/swing/table/DefaultTableModel.java,
2667 javax/swing/table/TableColumn.java,
2668 javax/swing/text/StyledEditorKit.java,
2669 javax/swing/tree/DefaultMutableTreeNode.java,
2670 javax/swing/tree/DefaultTreeModel.java,
2671 javax/swing/tree/DefaultTreeSelectionModel.java,
2672 javax/swing/tree/TreePath.java,
2673 javax/swing/undo/AbstractUndoableEdit.java,
2674 javax/swing/undo/StateEdit.java,
2675 javax/swing/undo/StateEditable.java,
2676 javax/swing/undo/UndoableEditSupport.java:
2677 Merges from classpath.
2679 2003-03-30 Tom Tromey <tromey@redhat.com>
2681 * java/lang/String.java (data, boffset, count): Documented.
2682 (String(byte[],String)): Reformatted.
2683 (String(byte[])): Likewise.
2684 (lastIndexOf(int)): Likewise.
2685 (lastIndexOf(String)): Likewise.
2686 (substring(int)): Renamed argument to match Classpath.
2687 (String(StringBuffer)): Don't share buffer if it is nearly empty.
2689 * java/lang/String.java: Miscellaneous minor formatting changes
2690 to match Classpath more closely.
2692 2003-03-29 Eric Blake <ebb9@email.byu.edu>
2693 Tom Tromey <tromey@redhat.com>
2695 * java/lang/natString.cc (hashCode): Use cachedHashCode.
2697 (charAt): Put index in exception.
2698 (contentEquals): New method.
2699 Include StringBuffer.h.
2700 * java/lang/String.java (cachedHashCode): New field.
2701 (String()): Follow classpath implementation.
2703 (contentEquals): Declare.
2704 (subSequence): Don't declare IndexOutIfBoundsException in throws
2706 (matches, replaceFirst, replaceAll, split): New methods from
2709 2003-03-29 Tom Tromey <tromey@redhat.com>
2711 * java/lang/String.java: Reordered to follow Classpath; merged in
2714 * java/text/MessageFormat.java: Removed some whitespace.
2716 * Makefile.in: Rebuilt.
2717 * Makefile.am (awt_java_source_files): Added new files.
2718 * gnu/javax/rmi/PortableServer.java,
2719 gnu/javax/rmi/CORBA/DelegateFactory.java,
2720 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2721 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2722 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2723 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2724 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2725 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2726 javax/rmi/PortableRemoteObject.java,
2727 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2728 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2729 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2730 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2731 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2732 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2734 * java/lang/natClass.cc (newInstance): Put method name in
2736 (getConstructor): Likewise.
2737 (getDeclaredConstructor): Likewise.
2738 (getPrivateMethod): Likewise.
2740 2003-03-28 Tom Tromey <tromey@redhat.com>
2742 * java/lang/reflect/Proxy.java: New version from Classpath.
2743 * java/lang/Package.java: New version from Classpath.
2745 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
2747 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2748 * configure: Regenerate.
2750 2003-03-28 Michael Koch <konqueror@gmx.de>
2752 * java/io/File.java:
2753 Import needed classes instead of whole packages, merged class
2754 documentation with classpath, moved constants and variables to top of
2756 * java/io/PrintStream.java:
2757 Merged class documentation with classpath, moved constants and
2758 variables to top of class.
2759 * java/io/RandomAccessFile.java
2760 (RandomAccessFile): Merged with classpath.
2761 (read): Merged with classpath).
2762 (read*): Reformatted.
2764 2003-03-28 Michael Koch <konqueror@gmx.de>
2766 * java/io/FileDescriptor.java
2767 (finalize): Throws Throwable, not IOException.
2768 * java/io/ObjectOutputStream.java
2769 (PutField.put): Doesnt throws anything.
2771 2003Â03-28 Michael Koch <konqueror@gmx.de>
2773 * java/io/FileOutputStream.java:
2774 Merged class documentation and authors with classpath.
2775 (FileOutputStream): Partly merged with classpath.
2776 (write): Merged with classpath.
2777 (getChannel): Make it synchronized instead of explicit block in this
2779 * java/io/RandomAccessFile.java:
2780 Merged class documentation and authors with classpath.
2782 2003-03-26 Tom Tromey <tromey@redhat.com>
2784 * java/lang/natRuntime.cc (insertSystemProperties): Set
2785 gnu.classpath.home.url.
2786 * Makefile.in: Rebuilt.
2787 * Makefile.am: Define LIBDIR.
2789 2003-03-25 Michael Koch <konqueror@gmx.de>
2791 * java/io/FileInputStream.java
2792 (read): Renamed b to buf and off to offset.
2793 * java/io/FileOutputStream.java
2794 (ch): Documentation added.
2795 (FileOutputStream): Documentation added.
2796 (getFD): Documentation added.
2797 (write): Documentation added.
2798 (close): Documentation added.
2799 (getChannel): Documentation added.
2801 2003-03-24 Michael Koch <konqueror@gmx.de>
2803 * java/io/DataOutputStream.java
2804 (write): Merged from classpath.
2805 * java/io/File.java:
2806 Merged copyrigth with classpath.
2807 * java/io/FileInputStream.java
2808 (getChannel): Made it synchronized instead of using a synchronized
2810 * java/io/FileOutputStream.java: Reformatted.
2811 * java/io/InputStreamReader.java
2812 (InputStreamReader): Renamed enc to encoding_name.
2813 (close): Merged documentation from classpath.
2814 (getEncoding): Merged documentation from classpath.
2815 (ready): Merged documentation from classpath.
2816 (read): Merged documentation from classpath.
2817 * java/io/LineNumberReader.java
2818 (lineNumber): Made it private.
2819 (LineNumberReader): Use Constant instead of a direct value.
2820 * java/io/OutputStreamWriter.java
2821 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2822 documentation from classpath.
2823 (close): Merged documentation from classpath.
2824 (flush): Merged documentation from classpath.
2825 (write): Merged documentation from classpath.
2826 * java/io/PrintStream.java: Reformatted.
2828 2003-03-24 Michael Koch <konqueror@gmx.de>
2830 * javax/swing/text/ComponentView.java
2831 (getComponent): Must be final.
2832 * javax/swing/tree/DefaultTreeCellRenderer.java:
2834 * javax/swing/undo/StateEditable.java:
2837 2003-03-24 Michael Koch <konqueror@gmx.de>
2839 * java/rmi/activation/ActivationInstantiator.java:
2841 * java/rmi/activation/Activator.java:
2843 * java/rmi/registry/RegistryHandler.java:
2844 Remerged from classpath.
2846 2003-03-24 Michael Koch <konqueror@gmx.de>
2848 * java/util/Date.java:
2849 Fixed documentation starting tag to make javadoc happy.
2850 * java/util/regex/Pattern.java
2851 (Pattern): Implements Serializable.
2852 * java/util/PatternSyntaxException.java
2853 (serialVersionUID): New member variable.
2855 2003-03-24 Michael Koch <koqnueror@gmx.de>
2857 * java/awt/ContainerOrderFocusTraversalPolicy.java
2858 (getFirstComponent): Implemented.
2859 (getLastComponent): Implemented.
2860 (getDefaultComponent): Implemented.
2861 (setImplicitDownCycleTraversal): Fixed implementation.
2862 * java/awt/Robot.java
2863 (Robot): Added documentation.
2864 * java/awt/Toolkit.java
2865 (getFontList): Deprecated.
2866 (getFontMetrics): Deprecated.
2867 (getPrintJob): Added documentation.
2868 (getSystemSelection): Added documentation.
2869 (getLockingKeyState): Added documentation.
2870 (setLockingKeyState): Added documentation.
2871 (createCustomCursor): Added documentation.
2872 (getBestCursorSize): Added documentation.
2873 (getMaximumCursorColors): Added documentation.
2874 (isFrameStateSupported): Added documentation.
2876 2003-03-24 Michael Koch <konqueror@gmx.de>
2878 * java/io/RandomAccessFile.java:
2879 More little merges with classpath. No code changes.
2881 2003-03-24 Michael Koch <konqueror@gmx.de>
2883 * java/net/natInetAddressNoNet.cc:
2885 * java/net/natPlainDatagramSocketImplNoNet.cc:
2886 Fixed inlcude of java/net/DatagramPacket.h.
2887 * java/net/natPlainSocketImplNoNet.cc:
2888 Include some missing classes.
2890 2003-03-24 Michael Koch <konqueror@gmx.de>
2892 * java/awt/dnd/DropTarget.java
2893 (DropTargetAutoScroller): According to the online documentation, this
2894 is protected, but in reality it is public.
2895 * java/awt/dnd/DropTargetContext.java
2896 (TransferableProxy): According to the online documentation, this
2897 is protected, but in reality it is public.
2899 2003-03-24 Michael Koch <konqueror@gmx.de>
2901 * java/io/DataInputStream.java
2902 (): Wrapped documentation line.
2903 (): Fixed @return tag.
2904 * java/io/DataOutputStream.java
2905 (written): Moved to top of class.
2906 (all methods): Merged documentation from classpath.
2907 * java/io/File.java:
2908 Merged copyright year with classpath.
2909 * java/io/FileInputStream.java
2910 (all methods): Merged documentation from classpath.
2911 * java/io/LineNumberReader.java
2912 (getLineNumber): Fixed @return tag.
2913 * java/io/ObjectInputStream.java.
2915 * java/io/ObjectOutputStream.java:
2916 Reformatted, fixed some @see tags.
2917 * java/io/OutputStreamWriter.java:
2919 * java/io/Writer.java:
2922 2003-03-24 Michael Koch <konqueror@gmx.de>
2924 * java/awt/Frame.java
2925 (DEFAULT_CURSOR): Fixed @deprecated tag.
2926 (setCursor): Fixed @deprecated tag.
2928 2003-03-24 Michael Koch <konqueror@gmx.de>
2930 * java/beans/beancontext/BeanContextEvent.java:
2933 2003-03-23 Eric Blake <ebb9@email.byu.edu>
2935 * java/lang/natStringBuffer.cc (regionMatches): New function.
2936 * java/lang/String.java (count): Now package-private.
2937 * java/lang/StringBuffer.java: Merged with Classpath.
2939 2003-03-23 Michael Koch <konqueror@gmx.de>
2941 * java/io/BufferedOutputStream.java:
2943 * java/io/BufferedReader.java:
2945 * java/io/ByteArrayOutputStream.java
2946 (size): Fixed @see tag.
2947 * java/io/CharArrayWriter.java
2948 (size): Fixed @see tag.
2949 * java/io/DataInput.java:
2951 * java/io/DataOutput.java:
2953 * java/io/DataOutputStream.java:
2954 Merged copyright years with classpath.
2955 * java/io/Externalizable.java:
2957 * java/io/FileFilter.java:
2959 * java/io/FileInputStream.java:
2960 Merged copyright years with classpath.
2961 * java/io/FileOutputStream.java:
2962 Merged copyright years with classpath.
2963 * java/io/FilePermission.java
2964 (FilePermission): Replaced @XXX with FIXME:.
2965 * java/io/FileWriter.java:
2967 * java/io/FilenameFilter.java:
2969 * java/io/FilterInputStream.java:
2971 * java/io/FilterOutputStream.java:
2973 * java/io/FilterReader.java:
2975 * java/io/FilterWriter.java:
2977 * java/io/LineNumberInputStream.java
2978 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2980 (getLineNumber): Fixed @return tag.
2981 * java/io/ObjectInput.java:
2983 * java/io/ObjectOutput.java:
2985 * java/io/ObjectStreamClass.java:
2987 * java/io/PrintStream.java:
2988 Merged copyright years with classpath.
2989 * java/io/PushbackReader.java
2990 (PushbackReader): Replaced @code with @param.
2991 * java/io/SerializablePermission.java:
2993 * java/io/StreamTokenizer.java
2994 (resetSyntax): Fixed @see tag.
2996 2003-03-22 Richard Henderson <rth@redhat.com>
2998 * sysdep/ia64/locks.h: Include ia64intrin.h.
2999 (compare_and_swap): Use __sync_bool_compare_and_swap.
3000 (compare_and_swap_release): Expose ar.ccv assignment.
3002 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
3004 * include/posix.h: Add suffix for darwin dynamic libraries.
3006 2003-03-21 Michael Koch <konqueror@gmx.de>
3008 * javax/swing/Action.java
3009 (ACCELERATOR_KEY): New constant.
3010 (ACTION_COMMAND_KEY): Likewise.
3011 (MNEMONIC_KEY): Likewise.
3012 * javax/swing/UnsupportedLookAndFeelException.java
3013 (UnsupportedLookAndFeelException): Must be public.
3014 * javax/swing/WindowConstants.java
3015 (EXIT_ON_CLOSE): New constant.
3016 * javax/swing/text/BadLocationException.java
3017 (offset): New member variable.
3018 (BadLocationException): New implementation, documentation added.
3019 (offsetRequested): New method.
3020 * javax/swing/text/Caret.java:
3022 * javax/swing/text/Document.java:
3025 2003-03-21 Michael Koch <konqueror@gmx.de>
3027 * java/rmi/activation/Activatable.java
3028 (serialVersionUID): New member variable.
3029 * java/rmi/activation/ActivationGroup.java
3030 (serialVersionUID): New member variable.
3031 * java/rmi/activation/ActivationGroupDesc.java
3032 (serialVersionUID): New member variable.
3033 * java/rmi/registry/Registry.java:
3035 (Registry): Deprecated.
3036 * java/rmi/server/LoaderHandler.java
3038 (LoaderHandler): Deprecated.
3039 * java/rmi/server/LogStream.java
3041 (LogStream): Deprecated.
3042 * java/rmi/server/Operation.java
3043 (Operation): Deprecated.
3044 * java/rmi/server/RMIFailureHandler.java:
3046 * java/rmi/server/RMISocketFactory.java:
3048 * java/rmi/server/RemoteCall.java
3049 (RemoteCall): Deprecated.
3050 * java/rmi/server/RemoteStub.java:
3052 * java/rmi/server/Skeleton.java
3054 (Skeleton): Deprecated.
3056 2003-03-21 Michael Koch <konqueror@gmx.de>
3058 * java/io/LineNumberReader.java
3059 (LineNumberReader): Merged documentation with classpath.
3060 (getLineNumber): Likewise.
3061 (setLineNumber): Likewise.
3065 (readLine): Likewise.
3068 2003-03-21 Michael Koch <konqueror@gmx.de>
3070 * java/rmi/RMISecurityManager.java
3071 (checkAccept): Removed.
3072 (checkAccess): Likewise.
3073 (checkAccess): Likewise.
3074 (checkAwtEventQueueAccess): Likewise.
3075 (checkConnect): Likewise.
3076 (checkCreateClassLoader): Likewise.
3077 (checkDelete): Likewise.
3078 (checkExec): Likewise.
3079 (checkExit): Likewise.
3080 (checkLink): Likewise.
3081 (checkListen): Likewise.
3082 (checkMemberAccess): Likewise.
3083 (checkMulticast): Likewise.
3084 (checkPackageAccess): Likewise.
3085 (checkPackageDefinition): Likewise.
3086 (checkPermission): Likewise.
3087 (checkPrintJobAccess): Likewise.
3088 (checkPropertiesAccess): Likewise.
3089 (checkPropertyAccess): Likewise.
3090 (checkRead): Likewise.
3091 (checkSecurityAccess): Likewise.
3092 (checkSetFactory): Likewise.
3093 (checkSystemClipboardAccess): Likewise.
3094 (checkTopLevelWindow): Likewise.
3095 (checkWrite): Likewise.
3097 2003-03-20 Michael Koch <konqueror@gmx.de>
3099 * gnu/java/nio/FileChannelImpl.java
3101 (map_address): New member variable.
3102 (length): Make it package private.
3103 (fd): Make it package private.
3104 (buf): Make it package private.
3105 (file_obj): Make it package private.
3106 (FileChannelImpl): New constructor.
3107 (nio_mmap_file): Use RawData instead of long.
3108 (nio_munmap_file): Use RawData instead of long.
3109 (nio_msync): Use RawData instead of long.
3110 (implCloseChannel): New implementation using map_address.
3113 (create_direct_mapped_buffer): Implemented, use RawData, throws
3115 (force): Use map_address instead of address.
3116 * gnu/java/nio/MappedByteFileBuffer.java
3118 (map_address): New member variable.
3119 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3120 (several methods): Use map_address instead of address, replaced long
3121 with RawData where appropriate.
3122 * gnu/java/nio/natFileChannelImpl.cc
3123 (nio_mmap_file): Replaced long with RawData.
3124 (nio_munmap_file): Replaced long with RawData.
3125 (nio_msync): Replaced long with RawData.
3126 * gnu/java/nio/natMappedByteFileBuffer.cc
3127 (several methods): Replaced long with RawData where appropriate.
3129 2003-03-20 Michael Koch <konqueror@gmx.de>
3131 * java/net/InetAddress.java,
3132 java/net/JarURLConnection.java,
3133 java/net/PlainDatagramSocketImpl.java,
3134 java/net/PlainSocketImpl.java,
3135 java/net/URLConnection.java:
3136 Merged copyright statements with classpath for easier merging.
3138 2003-03-20 Michael Koch <konqueror@gmx.de>
3140 * java/io/FileInputStream.java
3141 (getChannel): New implementation.
3142 * java/io/FileOutputStream.java
3143 (ch): New member variable.
3144 (getChannel): Implemented.
3145 * java/io/RandomAccessFile.java
3146 (RandomAccessFile): Throws FileNotFoundException instead of
3148 (getChannel): New method.
3149 (ch): New member variable.
3151 2003-03-20 Michael Koch <konqueror@gmx.de>
3153 * java/io/DataOutputStream.java,
3155 java/io/FileInputStream.java,
3156 java/io/FileOutputStream.java,
3157 java/io/InputStreamReader.java,
3158 java/io/LineNumberReader.java,
3159 java/io/OutputStreamWriter.java,
3160 java/io/PrintStream.java,
3161 java/io/RandomAccessFile.java:
3162 Merged copyright statements with classpath for easier merging.
3164 2003-03-19 Michael Koch <konqueror@gmx.de>
3166 * java/lang/Process.java:
3167 Merged from classpath.
3169 2003-03-19 Michael Koch <konqueror@gmx.de>
3171 * java/io/FileOutputStream.java
3172 (FileOutputStream): New constructor, merged from classpath.
3173 * java/io/FileWriter.java
3174 (FileWriter): New constructor, merged from classpath.
3176 2003-03-18 Michael Koch <konqueror@gmx.de>
3178 * java/awt/ScrollPane.java
3179 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3180 (getViewportSize): Likewise.
3181 (addNotify): Likewise.
3182 (removeNotify): Likewise.
3183 * java/awt/ScrollPaneAdjustable.java
3184 (ScrollPaneAdjustable): No longer extends Scrollbar.
3185 * java/beans/beancontext/BeanContextServices.java:
3187 (getService): Added throws TooManyListenersException;
3188 * java/beans/beancontext/BeanContextServicesSupport.java:
3191 2003-03-18 Michael Koch <konqueror@gmx.de>
3193 * java/io/BufferedOutputStream.java,
3194 java/io/DataInput.java,
3195 java/io/DataInputStream.java,
3196 java/io/DataOutput.java,
3197 java/io/Externalizable.java:
3198 More merges from classpath.
3200 2003-03-18 Michael Koch <konqueror@gmx.de>
3202 * configure.in: Fixed links to platform dependant java.net files.
3203 * configure: Regenerated.
3204 * java/net/natInetAddress.cc,
3205 java/net/natNetworkInterface.cc,
3206 java/net/natPlainDatagramSocketImpl.cc,
3207 java/net/natPlainSocketImpl.cc:
3210 2003-03-18 Michael Koch <konqueror@gmx.de>
3212 * configure.in: Create links to architecture dependent files,
3213 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3214 * configure: Regenerated.
3215 * java/net/natInetAddressNoNet.cc,
3216 java/net/natInetAddressPosix.cc,
3217 java/net/natInetAddressWin32.cc,
3218 java/net/natNetworkInterfaceNoNet.cc,
3219 java/net/natNetworkInterfacePosix.cc,
3220 java/net/natNetworkInterfaceWin32.cc,
3221 java/net/natPlainDatagramSocketImplNoNet.cc,
3222 java/net/natPlainDatagramSocketImplPosix.cc,
3223 java/net/natPlainDatagramSocketImplWin32.cc,
3224 java/net/natPlainSocketImplNoNet.cc,
3225 java/net/natPlainSocketImplPosix.cc,
3226 java/net/natPlainSocketImplWin32.cc: New files.
3228 2003-03-18 Michael Koch <konqueror@gmx.de>
3230 * java/io/BufferedReader.java,
3231 java/io/BufferedWriter.java,
3232 java/io/ByteArrayOutputStream.java,
3233 java/io/FileFilter.java,
3234 java/io/FilePermission.java,
3235 java/io/FileReader.java,
3236 java/io/FileWriter.java,
3237 java/io/FilenameFilter.java,
3238 java/io/FilterInputStream.java,
3239 java/io/FilterOutputStream.java,
3240 java/io/FilterReader.java,
3241 java/io/FilterWriter.java,
3242 java/io/ObjectInput.java,
3243 java/io/ObjectInputValidation.java,
3244 java/io/ObjectOutput.java,
3245 java/io/ObjectStreamField.java,
3246 java/io/PipedInputStream.java,
3247 java/io/PipedReader.java,
3248 java/io/PrintWriter.java,
3249 java/io/PushbackReader.java,
3250 java/io/Reader.java,
3251 java/io/SerializablePermission.java,
3252 java/io/StringReader.java,
3253 java/io/Writer.java:
3254 Merged from classpath.
3256 2003-03-17 Michael Koch <konqueror@gmx.de>
3258 * java/awt/ScrollPaneAdjustable.java:
3261 2003-03-17 Michael Koch <konqueror@gmx.de>
3263 * java/net/DatagramSocket.java
3264 (connect): Fixed comment.
3265 * java/nio/ByteBuffer.java
3266 (hasArray): Fixed comment.
3268 2003-03-17 Michael Koch <konqueror@gmx.de>
3270 * java/beans/Beans.java:
3271 Explicitely import classes not packages.
3272 * java/beans/FeatureDescriptor.java
3273 (preferred): New member variable.
3274 (isPreferred): New method.
3275 (setPreferred): New method.
3276 * java/beans/PropertyEditorManager.java:
3277 Explicitely import used classes.
3278 * java/beans/beancontext/BeanContextChild.java:
3279 Added line wrapping.
3280 * java/beans/beancontext/BeanContextChildSupport.java:
3282 * java/beans/beancontext/BeanContextEvent.java:
3285 2003-03-17 Michael Koch <konqueror@gmx.de>
3287 * java/awt/Dialog.java
3288 (Dialog): New constructor, changed implementations, added
3290 * java/awt/ScrollPaneAdjustable.java
3291 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3293 (serialVersionUID): New member variable.
3294 (sp): New member variable.
3295 (orientation): New member variable.
3296 (value): New member variable.
3297 (minimum): New member variable.
3298 (maximum): New member variable.
3299 (visibleAmount): New member variable.
3300 (unitIncrement): New member variable.
3301 (blockIncrement): New member variable.
3302 (AdjustmentListener): New member variable.
3303 (ScrollPaneAdjustable): New implementation.
3304 (addAdjustmentListener): New method.
3305 (removeAdjustmentListener): New method.
3306 (getAdjustmentListeners): New method.
3307 (getBlockIncrement): New method.
3308 (getMaximum): New method.
3309 (getMinimum): New method.
3310 (getOrientation): New method.
3311 (getUnitIncrement): New method.
3312 (getValue): New method.
3313 (getVisibleAmount): New method.
3314 (setBlockIncrement): New method.
3315 (setMaximum): Implemented.
3316 (setMinimum): Implemented.
3317 (setUnitIncrement): New method.
3318 (setValue): New method.
3319 (setVisibleAmount): Implemented.
3320 (paramString): New stubbed method.
3321 * java/awt/Window.java
3322 (show): Call setVisible().
3323 (hide): Call setVisible().
3324 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3325 and WINDOW_STATE_CHANGED.
3326 (processWindowFocusEvent): New method.
3327 (processWindowStateEvent): New method.
3328 (postEvent): Deprecated.
3329 (applyResourceBundle): Deprecated.
3330 * java/awt/datatransfer/DataFlavor.java
3331 (DataFlavor): Doesn't thow ClassNotFoundException.
3333 2003-03-17 Michael Koch
3335 * javax/print/attribute/Attribute.java,
3336 javax/print/attribute/AttributeSet.java,
3337 javax/print/attribute/PrintRequestAttributeSet.java:
3340 (javax_source_files): Added new files:
3341 javax/print/attribute/Attribute.java
3342 javax/print/attribute/AttributeSet.java
3343 javax/print/attribute/PrintRequestAttributeSet.java
3344 * Makefile.in: Regenerated.
3346 2003-03-17 Michael Koch
3348 * javax/print/attribute/Attribute.java,
3349 javax/print/attribute/AttributeSet.java,
3350 javax/print/attribute/PrintRequestAttributeSet.java:
3353 (awt_java_source_files): Added new files:
3354 javax/print/attribute/Attribute.java
3355 javax/print/attribute/AttributeSet.java
3356 javax/print/attribute/PrintRequestAttributeSet.java
3357 * Makefile.in: Regenerated.
3359 2003-03-16 Tom Tromey <tromey@redhat.com>
3361 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3363 * java/lang/natRuntime.cc (insertSystemProperties): Use
3364 _Jv_platform_path_separator.
3365 (nativeGetLibname): Use _Jv_platform_file_separator.
3366 (_load): Use _Jv_platform_onload_names.
3367 (onload_names): New global.
3368 * include/win32.h (_Jv_platform_file_separator): New define.
3369 (_Jv_platform_path_separator): Likewise.
3370 (_Jv_platform_onload_names): Likewise.
3371 (_Jv_platform_ffi_abi): Likewise.
3372 * include/posix.h (_Jv_platform_file_separator): New define.
3373 (_Jv_platform_path_separator): Likewise.
3374 (_Jv_platform_onload_names): Likewise.
3375 (_Jv_platform_ffi_abi): Likewise.
3377 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3379 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3381 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3383 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3385 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3386 list to Object,ObjectStreamClass, moved callReadMethod code up into
3387 readObject and added Class argument to all setXxxField calls.
3388 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3389 consistent with ObjectOutputStream and to facilitate caching the
3390 Method in the future.
3391 (setBooleanField): Added Class argument.
3392 (setByteField): Likewise.
3393 (setCharField): Likewise.
3394 (setDoubleField): Likewise.
3395 (setFloatField): Likewise.
3396 (setIntField): Likewise.
3397 (setLongField): Likewise.
3398 (setShortField): Likewise.
3399 (setObjectField): Likewise.
3400 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3401 class hierarchy loop.
3402 (defaultWriteObject): Call writeFields with new argument list.
3403 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3404 list to Object,ObjectStreamClass, moved callWriteMethod up into
3405 writeObject and added Class argument to all getXxxField calls.
3406 (callWriteMethod): Added ObjectStreamClass argument to be able to
3407 get the proper class to call getMethod on (each class can have (or
3408 not have) its own writeObject method).
3409 (getBooleanField): Added Class argument.
3410 (getByteField): Likewise.
3411 (getCharField): Likewise.
3412 (getDoubleField): Likewise.
3413 (getFloatField): Likewise.
3414 (getIntField): Likewise.
3415 (getLongField): Likewise.
3416 (getShortField): Likewise.
3417 (getObjectField): Likewise.
3418 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3419 facilitate caching the Method object in the future.
3421 2003-03-12 Andreas Schwab <schwab@suse.de>
3423 * configure.in: Avoid trailing /. in toolexeclibdir.
3424 * configure: Rebuilt.
3426 2003-03-11 Michael Koch <konqueror@gmx.de>
3428 * gnu/java/nio/ByteBufferImpl.java
3429 (putInt): Use limit() instead of limit.
3430 * gnu/java/nio/CharBufferImpl.java
3431 (slice): Fixed implementation.
3432 (subSequence): Better bounds checking.
3433 * gnu/java/nio/MappedByteFileBuffer.java:
3434 Import all needed classes directly.
3435 * java/nio/ByteBuffer.java
3436 (hashCode): New dummy method.
3437 * java/nio/CharBuffer.java
3438 (array_offset): New member variable.
3439 (hasArray): Fixed documentation.
3440 (arrayOffset): Return array_offset.
3442 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3444 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3445 setter; made return value of getter const char* instead of char*
3446 * prims.cc: removed all references to _Jv_ThisExecutable().
3447 These are in the platform-specific sections now.
3448 * posix.cc: define platform-specific _Jv_ThisExecutable().
3449 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3450 * win32.cc: define platform-specific _Jv_ThisExecutable()
3451 using GetModuleFilename()
3452 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3453 to argv[0] instead of _Jv_ThisExecutable()
3455 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3457 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3458 that is set if we are using addr2name.awk instead of addr2line.
3459 (NameFinder): Set usingAddr2name if using addr2name.awk.
3460 (getExternalLabel): New native method to convert a method
3461 name to an external label.
3462 (lookup): Convert name given by addr2line to an external label
3465 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3466 constant representing the prefix attached to method names to
3467 convert them to an external label.
3468 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3471 2003-03-10 Tom Tromey <tromey@redhat.com>
3473 * Makefile.in: Rebuilt.
3474 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3475 (JC1FLAGS): Removed -Wno-deprecated.
3477 2003-03-10 Michael Koch <konqueror@gmx.de>
3479 * java/nio/ByteOrder.java
3480 (nativeOrder): Working implementation, added documentation.
3481 (toString): Added documentation.
3483 2003-03-10 Michael Koch <konqueror@gmx.de>
3485 * java/net/DatagramSocket.java,
3486 java/net/MulticastSocket.java,
3487 java/net/Socket.java,
3489 java/net/URLConnection.java:
3490 Fixed some documentation tags to make javadoc and friends happy.
3492 2003-03-10 Michael Koch <koqnueror@gmx.de>
3494 * java/beans/beancontext/BeanContextServicesSupport.java,
3495 java/beans/beancontext/BeanContextSupport.java: New files.
3497 (awt_source_files): Added new files.
3498 * Makefile.in: Regenerated.
3500 2003-03-10 Michael Koch <konqueror@gmx.de>
3502 * java/awt/FocusTraversalPolicy.java
3503 (FocusTraversalPolicy): Documentation added.
3504 (getComponentAfter): Documentation added.
3505 (getComponentBefore): Documentation added.
3506 (getFirstComponent): Documentation added.
3507 (getLastComponent): Documentation added.
3508 (getDefaultComponent): Documentation added.
3509 (getInitialComponent): Documentation added.
3510 * java/awt/ScrollPaneAdjustable.java
3511 (sp): New member variable.
3512 (orientation): New member variable.
3513 (value): New member variable.
3514 (minimum): New member variable.
3515 (maximum): New member variable.
3516 (visibleAmount): New member variable.
3517 (unitIncrement): New member variable.
3518 (blockIncrement): New member variable.
3519 (adjustmentListener): New member variable.
3520 (ScrollPaneAdjustable): Rewrote.
3521 (addAdjustmentListener): New method.
3522 (removeAdjustmentListener): New method.
3523 (getAdjustmentListeners): New method.
3524 (getBlockIncrement): New method.
3525 (getMaximum): New method.
3526 (getMinimum): New method.
3527 (getOrientation): New method.
3528 (getUnitIncrement): New method.
3529 (getValue): New method.
3530 (getVisibleAmount): New method.
3531 (setBlockIncrement): New method.
3532 (setUnitIncrement): New method.
3533 (setMaximum): Implemented.
3534 (setMinimum): Implemented.
3535 (setValue): New method.
3536 (setVisibleAmount): Implemented.
3537 (paramString): New method.
3538 * java/awt/Window.java
3539 (show): Use setVisible(true) instead of super.show().
3540 (hide): Use sevVisible(false) instead of super.hide().
3541 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3542 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3543 (postEvent): Deprecated.
3544 (applyResourceBundle): Deprecated.
3545 (processWindowFocusEvent): New method.
3546 (processWindowStateEvent): New method.
3547 * java/awt/datatransfer/DataFlavor.java: Reindented.
3548 * java/awt/font/TextHitInfo.java
3549 (charIndex): New member variable.
3550 (leadingEdge): New member variable.
3551 (TextHitInfo): New constructor.
3552 (getCharIndex): Implemented.
3553 (isLeadingEdge): Implemented.
3554 (getInsertionIndex): Implemented.
3555 (hashCode): Access charIndex directly.
3556 (equals): Reformated.
3557 (leading): Implemented.
3558 (trailing): Implemented.
3559 (beforeOffset): Implemented.
3560 (afterOffset): Implemented.
3561 (getOtherHit): Implemented.
3562 (getOffsetHit): Implemented.
3563 (toString): Implemented.
3564 * java/awt/image/BufferedImage.java
3565 (BufferedImage): Implements WritableRenderedImage.
3566 (observers): New member variable.
3567 (addTileObserver): New method.
3568 (removeTileObserver): New method.
3570 2003-03-09 Tom Tromey <tromey@redhat.com>
3573 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3574 to lseek. Return 0 if we can't compute the value.
3576 2003-03-03 Michael Koch <konqueror@gmx.de>
3578 * java/net/NetworkInterface.java: Merged with classpath.
3580 2003-03-03 Tom Tromey <tromey@redhat.com>
3582 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3584 (handle_ret_insn): Fail if returning to jsr that appears at end of
3587 2003-03-03 Michael Koch <konqueror@gmx.de>
3590 (ordinary_java_source_files):
3591 Added gnu/java/nio/MappedByteFileBuffer.java.
3593 Added gnu/java/nio/natMappedByteFileBuffer.cc.
3594 * Makefile.in: Regenerated.
3596 2003-03-03 Michael Koch <konqueror@gmx.de>
3598 * java/net/DatagramSocket.java
3599 (connect): Merged comment from classpath.
3600 (receive): Merged documentation from classpath.
3601 * java/net/Socket.java
3602 (setSoTimeout): Clarified documentation.
3604 (getPath): Merged from classpath.
3605 (getUserInfo): Merged from classpath.
3606 (getQuery): Merged from classpath.
3607 * java/net/URLStreamHandler.java
3608 (toExternalForm): Merged from classpath.
3610 2003-03-02 Mark Wielaard <mark@klomp.org>
3612 * java/util/Properties.java (load): Only skip line if the first
3613 character is a comment, whitespaces don't count.
3615 2003-03-02 Michael Koch <konqueror@gmx.de>
3617 * java/net/NetPermission.java:
3618 Merged copyright with classpath.
3620 2003-03-02 Michael Koch <konqueror@gmx.de>
3622 * java/lang/Package.java:
3623 Remerged from classpath.
3625 2003-03-02 Michael Koch <konqueror@gmx.de>
3627 * java/net/HttpURLConnection.java
3628 (HTTP_SERVER_ERROR): Deprecated.
3629 * java/net/MulticastSocket.java
3630 (send): Replaced checkMulticast with appropriate checkPermission call,
3632 * java/net/URLDecoder.java
3633 (decode): Deprecated.
3634 * java/net/URLEncoder.java
3635 (encode): Deprecated.
3637 2003-03-02 Michael Koch <konqueror@gmx.de>
3639 * javax/swing/text/Caret.java
3640 (getMagicCaretPosition): Fixed typo in method name.
3641 * javax/swing/text/DefaultCaret.java
3642 (getMagicCaretPosition): Fixed typo in method name.
3644 2003-03-02 Michael Koch <konqueror@gmx.de>
3646 * java/awt/List.java
3647 (setMultipleSelections): Deprecated.
3648 (delItem): Deprecated.
3649 * java/awt/MenuComponent.java
3650 (getPeer): Deprecated.
3651 * java/awt/ScrollPane.java
3652 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3653 * java/awt/dnd/MouseDragGestureRecognizer.java
3654 (mouseClicked): Added comment.
3655 (mousePressed): Added comment.
3656 (mouseReleased): Added comment.
3657 (mouseEntered): Added comment.
3658 (mouseExited): Added comment.
3659 (mouseDragged): Added comment.
3660 (mouseMoved): Added comment.
3661 * java/awt/event/KeyEvent.java
3662 (KeyEvent): Deprecated.
3663 (setModifiers): Deprecated.
3665 2003-03-02 Michael Koch <konqueror@gmx.de>
3667 * gnu/java/nio/FileChannelImpl.java
3668 (fd): Type FileDescriptor instead of int.
3669 (lengthInternal): Removed.
3670 (FileChannelImpl): Fixed arguments, check type of file object.
3671 (size): Made it native.
3672 (implPosition): New native method.
3673 (implTruncate): New native method.
3674 (position): Implemented.
3675 (truncate): Implemented.
3676 (nio_mmap_file): Changed arguments.
3677 (nio_munmap_file): Changed arguments.
3678 (nio_msync): Changed arguments.
3679 * gnu/java/nio/natFileChannelImpl.cc
3680 (lengthInternal): Removed.
3682 (implPosition): New method.
3683 (implTruncate): New method.
3684 (nio_mmap_file): Changed arguments.
3685 (nio_munmap_file): Changed arguments.
3686 (nio_msync): Changed arguments.
3688 2003-03-02 Michael Koch <konqueror@gmx.de>
3690 * java/awt/dnd/DropTargetContext.java:
3691 Compile fix: Forgot to commit import.
3693 2003-03-02 Michael Koch <konqueror@gmx.de>
3695 * java/awt/Component.java,
3696 java/awt/ScrollPane.java:
3699 2003-03-02 Michael Koch <konqueror@gmx.de>
3701 * java/awt/dnd/DnDEventMulticaster.java: New file.
3702 * java/awt/dnd/DragSource.java
3703 (flavorMap): New member variable.
3704 (dragSourceListener): New member variable.
3705 (dragSourceMotionListener): New member variable.
3706 (getFlavorMap): Implemented.
3707 (createDragGestureRecognizer): Implemented.
3708 (addDragSourceListener): Implemented.
3709 (removeDragSourceListener): Implemented.
3710 (getDragSourceListeners): Implemented.
3711 (addDragSourceMotionListener): Implemented.
3712 (removeDragSourceMotionListener): Implemented.
3713 (getDragSourceMotionListeners): Implemented.
3714 (getListeners): Implemented.
3715 * java/awt/dnd/DragSourceContext.java
3716 (peer): New member variable.
3717 (cursor): New member variable.
3718 (transferable): New member variable.
3719 (trigger): New member variable.
3720 (dragSourceListener): New member variable.
3721 (image): New member variable.
3722 (offset): New member variable.
3723 (DragSourceContext): Implemented.
3724 (getDragSource): Implemented.
3725 (getComponent): Implemented.
3726 (getTrigger): Implemented.
3727 (getSourceActions): Implemented.
3728 (setCursor): Implemented.
3729 (getCursor): Implemented.
3730 (addDragSourceListener): Implemented.
3731 (removeDragSourceListener): Implemented.
3732 (getTransferable): Implemented.
3733 * java/awt/dnd/DropTarget.java
3734 (DropTargetAutoScroller.component): New member variable.
3735 (DropTargetAutoScroller.point): New member variable.
3736 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3737 (DropTargetAutoScroller.updateLocation): Implemented.
3738 (active): Renamed from isActive, defaults to true now.
3739 (component): New member variable.
3740 (flavorMap): New member variable.
3741 (actions): New member variable.
3742 (dropTargetContext): New member variable.
3743 (dropTargetListener): New member variable.
3744 (DropTarget): Implemented.
3745 (getComponent): Implemented.
3746 (setComponent): Implemented.
3747 (setDefaultActions): Implemented.
3748 (getDefaultActions): Implemented.
3749 (setActive): Use active instead of isActive.
3750 (isActive): Use active instead of isActive.
3751 (addDropTargetListener): Implemented.
3752 (removeDropTargetListener): Implemented.
3753 (getFlavorMap): Implemented.
3754 (setFlavorMap): Implemented.
3755 (getDropTargetContext): Implemented.
3756 (createDropTargetContext): Implemented.
3757 (createDropTargetAutoScroller): Implemented.
3758 * java/awt/dnd/DropTargetContext.java
3759 (TransferableProxy.getTransferDataFlavors): Implemented.
3760 (TransferableProxy.isDataFlavorSupported): Implemented.
3761 (TransferableProxy.getTransferData): Implemented.
3762 (dropTarget): New member variable.
3763 (dtcp): New member variable.
3764 (DropTargetContext): New package private constructor.
3765 (getDropTarget): Implemented.
3766 (getComponent): Implemented.
3767 (addNotify): Implemented.
3768 (removeNotify): Implemented.
3769 (getCurrentDataFlavorsAsList): Implemented.
3770 (isDataFlavorSupported): Implemented.
3771 * java/awt/dnd/MouseDragGestureRecognizer.java
3772 (registerListeners): Implemented.
3773 (unregisterListeners): Implemented.
3775 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3776 * Makefile.in: Regenerated.
3778 2003-03-02 Michael Koch <konqueror@gmx.de>
3780 * java/awt/Component.java
3781 (eventTypeEnabled): New method.
3782 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3783 * java/awt/Container.java
3784 (changeSupport): New member variable.
3785 (addPropertyChangeListener): New methods.
3786 * java/awt/ContainerOrderFocusTraversalPolicy.java
3787 (ContainerOrderFocusTraversalPolicy): Added comment.
3788 (getComponentAfter): Throw exception, documentation added.
3789 (getComponentBefore): Throw exception, documentation added.
3790 (getFirstComponent): Throw exception, documentation added.
3791 (getLastComponent): Throw exception, documentation added.
3792 (getDefaultComponent): Throw exception, documentation added.
3793 * java/awt/EventQueue.java: Reindented.
3794 * java/awt/FocusTraversalPolicy.java:
3795 (FocusTraversalPolicy): Added comment.
3796 (getComponentAfter): Documentation added.
3797 (getComponentBefore): Documentation added.
3798 (getFirstComponent): Documentation added.
3799 (getLastComponent): Documentation added.
3800 (getDefaultComponent): Documentation added.
3801 (getInitialComponent): Documentation added.
3802 * java/awt/ScrollPane.java
3803 (wheelScrollingEnabled): New member variable.
3804 (ScrollPane): Initialize wheelScollingEnabled.
3805 (eventTypeEnabled): New method.
3806 (isWheelScrollingEnabled): New method.
3807 (setWheelScrollingEnabled): New method.
3809 2003-03-02 Michael Koch <konqueror@gmx.de>
3811 * java/net/DatagramSocket.java
3812 (closed): New member variable.
3813 (close): Use closed variable.
3814 (getInetAddress): No need to call isConnected().
3815 (getPort): No need to call isConnected().
3816 (disconnect): Reset remoteAddress and remotePort, fixed typo.
3817 (isClosed): Reimplemented.
3819 2003-03-02 Michael Koch <konqueror@gmx.de>
3821 * configure.in: Added check for memory mapping of files.
3822 * configure: Regenerated.
3823 * config.h.in: Regenerated.
3825 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
3827 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3828 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3830 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3832 * java/io/File.java (normalizePath): Remove trailing separator
3833 on Windows only if path is not of the form "x:\".
3835 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3836 (java::io::File::attr): Change formatting a bit and use
3837 WIN32_EPOCH_MILLIS instead of magic numbers.
3838 (java::io::File::isAbsolute): Path must have at least 3
3839 characters for a UNC network path.
3840 (java::io::File::init_native): Define.
3841 (java::io::File::performCreate): Likewise.
3842 (java::io::File::performSetReadOnly): Likewise.
3843 (java::io::File::performSetLastModified): Likewise.
3844 (java::io::File::performListRoots): Likewise.
3846 2003-03-01 Tom Tromey <tromey@redhat.com>
3848 * java/lang/natObject.cc: Don't include assert.h.
3849 (heavy_lock_obj_finalization_proc): Use JvAssert.
3850 (remove_all_heavy): Likewise.
3851 (_Jv_MonitorEnter): Likewise.
3852 (_Jv_MonitorExit): Likewise.
3855 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3857 * java/io/File (getAbsolutePath): Prefix drive specifier on
3858 Windows for paths starting with a '\'.
3859 (toURL): Make URL more consistent with what Sun's JDK returns.
3861 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3862 true only if the path is a UNC network path or it starts with a
3865 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3866 Be prepared to handle either '/' or '\\' in the file path for
3867 Windows if using the "file" protocol.
3868 Canonicalise the file path if using a relative path in the given
3869 context and the "file" protocol.
3871 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
3873 * java/lang/natWin32Process.cc (startProcess): Double-quote each
3874 program array element passed to CreateProcess.
3876 2003-03-01 Tom Tromey <tromey@redhat.com>
3878 * java/rmi/registry/RegistryHandler.java: Deprecate.
3880 2003-03-01 Tom Tromey <tromey@redhat.com>
3882 * javax/accessibility/AccessibleEditableText.java,
3883 javax/accessibility/AccessibleHyperlink.java: New versions from
3886 * gnu/java/locale/LocaleInformation_af_ZA.java,
3887 gnu/java/locale/LocaleInformation_ar_AE.java,
3888 gnu/java/locale/LocaleInformation_ar_BH.java,
3889 gnu/java/locale/LocaleInformation_ar_DZ.java,
3890 gnu/java/locale/LocaleInformation_ar_EG.java,
3891 gnu/java/locale/LocaleInformation_ar_IN.java,
3892 gnu/java/locale/LocaleInformation_ar_IQ.java,
3893 gnu/java/locale/LocaleInformation_ar_JO.java,
3894 gnu/java/locale/LocaleInformation_ar_KW.java,
3895 gnu/java/locale/LocaleInformation_ar_LB.java,
3896 gnu/java/locale/LocaleInformation_ar_LY.java,
3897 gnu/java/locale/LocaleInformation_ar_MA.java,
3898 gnu/java/locale/LocaleInformation_ar_OM.java,
3899 gnu/java/locale/LocaleInformation_ar_QA.java,
3900 gnu/java/locale/LocaleInformation_ar_SD.java,
3901 gnu/java/locale/LocaleInformation_ar_SY.java,
3902 gnu/java/locale/LocaleInformation_ar_TN.java,
3903 gnu/java/locale/LocaleInformation_ar_YE.java,
3904 gnu/java/locale/LocaleInformation_be_BY.java,
3905 gnu/java/locale/LocaleInformation_bn_IN.java,
3906 gnu/java/locale/LocaleInformation_br_FR.java,
3907 gnu/java/locale/LocaleInformation_bs_BA.java,
3908 gnu/java/locale/LocaleInformation_ca_ES.java,
3909 gnu/java/locale/LocaleInformation_cs_CZ.java,
3910 gnu/java/locale/LocaleInformation_cy_GB.java,
3911 gnu/java/locale/LocaleInformation_da_DK.java,
3912 gnu/java/locale/LocaleInformation_de_AT.java,
3913 gnu/java/locale/LocaleInformation_de_BE.java,
3914 gnu/java/locale/LocaleInformation_de_CH.java,
3915 gnu/java/locale/LocaleInformation_de_DE.java,
3916 gnu/java/locale/LocaleInformation_de_LU.java,
3917 gnu/java/locale/LocaleInformation_el_GR.java,
3918 gnu/java/locale/LocaleInformation_en_AU.java,
3919 gnu/java/locale/LocaleInformation_en_BW.java,
3920 gnu/java/locale/LocaleInformation_en_CA.java,
3921 gnu/java/locale/LocaleInformation_en_DK.java,
3922 gnu/java/locale/LocaleInformation_en_GB.java,
3923 gnu/java/locale/LocaleInformation_en_HK.java,
3924 gnu/java/locale/LocaleInformation_en_IE.java,
3925 gnu/java/locale/LocaleInformation_en_IN.java,
3926 gnu/java/locale/LocaleInformation_en_NZ.java,
3927 gnu/java/locale/LocaleInformation_en_PH.java,
3928 gnu/java/locale/LocaleInformation_en_SG.java,
3929 gnu/java/locale/LocaleInformation_en_US.java,
3930 gnu/java/locale/LocaleInformation_en_ZA.java,
3931 gnu/java/locale/LocaleInformation_en_ZW.java,
3932 gnu/java/locale/LocaleInformation_es_AR.java,
3933 gnu/java/locale/LocaleInformation_es_BO.java,
3934 gnu/java/locale/LocaleInformation_es_CL.java,
3935 gnu/java/locale/LocaleInformation_es_CO.java,
3936 gnu/java/locale/LocaleInformation_es_CR.java,
3937 gnu/java/locale/LocaleInformation_es_DO.java,
3938 gnu/java/locale/LocaleInformation_es_EC.java,
3939 gnu/java/locale/LocaleInformation_es_ES.java,
3940 gnu/java/locale/LocaleInformation_es_GT.java,
3941 gnu/java/locale/LocaleInformation_es_HN.java,
3942 gnu/java/locale/LocaleInformation_es_MX.java,
3943 gnu/java/locale/LocaleInformation_es_NI.java,
3944 gnu/java/locale/LocaleInformation_es_PA.java,
3945 gnu/java/locale/LocaleInformation_es_PE.java,
3946 gnu/java/locale/LocaleInformation_es_PR.java,
3947 gnu/java/locale/LocaleInformation_es_PY.java,
3948 gnu/java/locale/LocaleInformation_es_SV.java,
3949 gnu/java/locale/LocaleInformation_es_US.java,
3950 gnu/java/locale/LocaleInformation_es_UY.java,
3951 gnu/java/locale/LocaleInformation_es_VE.java,
3952 gnu/java/locale/LocaleInformation_et_EE.java,
3953 gnu/java/locale/LocaleInformation_eu_ES.java,
3954 gnu/java/locale/LocaleInformation_fa_IR.java,
3955 gnu/java/locale/LocaleInformation_fi_FI.java,
3956 gnu/java/locale/LocaleInformation_fo_FO.java,
3957 gnu/java/locale/LocaleInformation_fr_BE.java,
3958 gnu/java/locale/LocaleInformation_fr_CA.java,
3959 gnu/java/locale/LocaleInformation_fr_CH.java,
3960 gnu/java/locale/LocaleInformation_fr_FR.java,
3961 gnu/java/locale/LocaleInformation_fr_LU.java,
3962 gnu/java/locale/LocaleInformation_ga_IE.java,
3963 gnu/java/locale/LocaleInformation_gd_GB.java,
3964 gnu/java/locale/LocaleInformation_gl_ES.java,
3965 gnu/java/locale/LocaleInformation_gv_GB.java,
3966 gnu/java/locale/LocaleInformation_he_IL.java,
3967 gnu/java/locale/LocaleInformation_hi_IN.java,
3968 gnu/java/locale/LocaleInformation_hr_HR.java,
3969 gnu/java/locale/LocaleInformation_hu_HU.java,
3970 gnu/java/locale/LocaleInformation_id_ID.java,
3971 gnu/java/locale/LocaleInformation_it_CH.java,
3972 gnu/java/locale/LocaleInformation_it_IT.java,
3973 gnu/java/locale/LocaleInformation_iw_IL.java,
3974 gnu/java/locale/LocaleInformation_ja_JP.java,
3975 gnu/java/locale/LocaleInformation_ka_GE.java,
3976 gnu/java/locale/LocaleInformation_kl_GL.java,
3977 gnu/java/locale/LocaleInformation_ko_KR.java,
3978 gnu/java/locale/LocaleInformation_kw_GB.java,
3979 gnu/java/locale/LocaleInformation_lt_LT.java,
3980 gnu/java/locale/LocaleInformation_lv_LV.java,
3981 gnu/java/locale/LocaleInformation_mi_NZ.java,
3982 gnu/java/locale/LocaleInformation_mk_MK.java,
3983 gnu/java/locale/LocaleInformation_mr_IN.java,
3984 gnu/java/locale/LocaleInformation_mt_MT.java,
3985 gnu/java/locale/LocaleInformation_nl_BE.java,
3986 gnu/java/locale/LocaleInformation_nl_NL.java,
3987 gnu/java/locale/LocaleInformation_nn_NO.java,
3988 gnu/java/locale/LocaleInformation_no_NO.java,
3989 gnu/java/locale/LocaleInformation_oc_FR.java,
3990 gnu/java/locale/LocaleInformation_pl_PL.java,
3991 gnu/java/locale/LocaleInformation_pt_BR.java,
3992 gnu/java/locale/LocaleInformation_pt_PT.java,
3993 gnu/java/locale/LocaleInformation_ro_RO.java,
3994 gnu/java/locale/LocaleInformation_ru_RU.java,
3995 gnu/java/locale/LocaleInformation_ru_UA.java,
3996 gnu/java/locale/LocaleInformation_se_NO.java,
3997 gnu/java/locale/LocaleInformation_sk_SK.java,
3998 gnu/java/locale/LocaleInformation_sl_SI.java,
3999 gnu/java/locale/LocaleInformation_sq_AL.java,
4000 gnu/java/locale/LocaleInformation_sr_YU.java,
4001 gnu/java/locale/LocaleInformation_sv_FI.java,
4002 gnu/java/locale/LocaleInformation_sv_SE.java,
4003 gnu/java/locale/LocaleInformation_ta_IN.java,
4004 gnu/java/locale/LocaleInformation_te_IN.java,
4005 gnu/java/locale/LocaleInformation_tg_TJ.java,
4006 gnu/java/locale/LocaleInformation_tl_PH.java,
4007 gnu/java/locale/LocaleInformation_tr_TR.java,
4008 gnu/java/locale/LocaleInformation_uk_UA.java,
4009 gnu/java/locale/LocaleInformation_ur_PK.java,
4010 gnu/java/locale/LocaleInformation_uz_UZ.java,
4011 gnu/java/locale/LocaleInformation_vi_VN.java,
4012 gnu/java/locale/LocaleInformation_yi_US.java,
4013 gnu/java/locale/LocaleInformation_zh_CN.java,
4014 gnu/java/locale/LocaleInformation_zh_HK.java,
4015 gnu/java/locale/LocaleInformation_zh_SG.java,
4016 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
4017 info; from Classpath.
4019 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
4020 isPaintPending): New methods.
4021 * gnu/awt/xlib/XFramePeer.java (getState, setState,
4022 setMaximizedBounds): New methods.
4023 (beginLayout, endLayout, isPaintPending): Likewise.
4024 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
4025 (requestFocus): Likewise.
4026 (isObscured): Likewise.
4027 (canDetermineObscurity): Likewise.
4028 (coalescePaintEvent): Likewise.
4029 (updateCursorImmediately): Likewise.
4030 (createVolatileImage): Likewise.
4031 (handlesWheelScrolling): Likewise.
4032 (createBuffers): Likewise.
4033 (getBackBuffer): Likewise.
4035 (destroyBuffers): Likewise.
4037 * Makefile.in: Rebuilt.
4038 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
4040 * gnu/java/awt/GLightweightPeer.java,
4041 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
4042 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4043 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
4044 gnu/java/awt/peer/gtk/GtkFramePeer.java,
4045 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
4046 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
4047 java/awt/dnd/peer/DragSourceContextPeer.java,
4048 java/awt/dnd/peer/DropTargetContextPeer.java,
4049 java/awt/peer/ButtonPeer.java,
4050 java/awt/peer/CheckboxMenuItemPeer.java,
4051 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
4052 java/awt/peer/ComponentPeer.java,
4053 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
4054 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
4055 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
4056 java/awt/peer/MenuBarPeer.java,
4057 java/awt/peer/MenuComponentPeer.java,
4058 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
4059 java/awt/peer/PopupMenuPeer.java,
4060 java/awt/peer/ScrollPanePeer.java,
4061 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
4062 java/awt/peer/TextComponentPeer.java,
4063 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
4064 New versions from Classpath.
4065 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
4066 * java/awt/peer/RobotPeer.java: Likewise.
4068 2003-03-01 Mark Wielaard <mark@klomp.org>
4070 * java/io/ObjectInputStream.java: Reindent.
4071 * java/io/ObjectOutputStream.java: Likewise.
4073 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
4075 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
4076 jvalue for each argument. Simplify.
4077 * testsuite/libjava.jni/calls.c (docall),
4078 testsuite/libjava.jni/calls.java (longpb_f): check for argument
4081 2003-02-28 Mark Wielaard <mark@klomp.org>
4083 * Makefile.am (nat_source_files): Remove
4084 java/io/natObjectOutputStream.cc.
4085 * Makefile.in: Regenerated.
4086 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4087 * java/io/ObjectStreamField.java (typename): New field.
4088 (ObjectStreamField(String, Class)): Initialize new field.
4089 (ObjectStreamField(String, String)): New Constructor.
4090 (getTypeCode): Use new field.
4091 (getTypeString): Use new field.
4092 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4093 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4094 Handle reading of Proxy classes. Never drain(), just write
4095 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4096 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4097 (flush): Call flush(), not just drain().
4098 (writeBoolean): Always use blockDataOutput.
4099 (writeByte): Likewise.
4100 (writeShort): Likewise.
4101 (writeChar): Likewise.
4102 (writeInt): Likewise.
4103 (writeLong): Likewise.
4104 (writeFloat): Likewise.
4105 (writeDouble): Likewise.
4106 (writeBytes): Likewise.
4107 (putfield (put(String,Object))): Throw IllegalArgumentException if
4108 field cannot be found.
4109 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4110 (writeArraySizeAndElements): Write byte[] in one go.
4111 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4112 set BlockDataMode to false.
4113 (annotateProxyClass): New method.
4114 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4115 (getField): No longer native.
4116 (getMethod): Likewise.
4117 (setBlockDataMode): Always drain() on switch, return old mode.
4118 (static): New static code block.
4119 * java/io/natObjectOutputStream.cc: Removed.
4120 * java/io/ObjectInputStream.java (getField): No longer native.
4121 (getMethod): Likewise.
4122 (readObject): Remember and reset old BlockDataMode. Track whether
4123 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4125 (defaultReadObject): Set BlockDataMode to false during readFields.
4126 (resolveClass): Create new SecurityManager if necessary.
4127 Use Class.forName() if null ClassLoader found.
4128 (read(byte[],int,int): Copy remaining bytes to data before calling
4130 (readFields): Set and reset BlockDataMode on call_read_method.
4131 Catch NoSuchFieldErrors.
4132 (setBlockDataMode): Return old mode.
4133 (static): New static code block.
4134 * java/io/natObjectInputStream.cc (getField): Removed.
4135 (getMethod): Likewise.
4137 2003-02-27 Michael Koch <konqueror@gmx.de>
4139 * java/beans/Beans.java,
4140 java/beans/FeatureDescriptor.java
4141 java/beans/PropertyEditorManager.java:
4142 Reformated to GNU style.
4144 2003-02-25 Michael Koch <konqueror@gmx.de>
4146 * gnu/java/nio/MappedByteFileBuffer.java,
4147 gnu/java/nio/natMappedByteFileBuffer.cc:
4148 New files, both are not compiled yet to get not noncompiling CVS.
4150 2003-02-24 Tom Tromey <tromey@redhat.com>
4152 * java/util/prefs/AbstractPreferences.java (isUserNode):
4155 2003-02-24 Tom Tromey <tromey@redhat.com>
4157 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4159 * java/lang/Thread.java (resume): Deprecate.
4160 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4163 2003-02-23 Tom Tromey <tromey@redhat.com>
4165 * Makefile.in: Rebuilt.
4166 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4168 2003-02-23 Tom Tromey <tromey@redhat.com>
4170 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4171 libraries): Removed.
4172 (add_library): Removed.
4173 (_load): Don't call add_library.
4174 (loadLibraryInternal): Likewise.
4176 (lookup_data): New struct.
4177 (find_symbol): New function.
4178 (_Jv_FindSymbolInExecutable): Use it.
4180 2002-02-21 Anthony Green <green@redhat.com>
4182 * java/lang/Thread.java (Thread): New constructor taking stack
4183 size parameter (ignored for now).
4184 * Many methods: Merged GNU Classpath documentation.
4186 * java/lang/Class.java (finalize): throws a Throwable.
4188 2003-02-21 Mark Wielaard <mark@klomp.org>
4190 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4193 2003-02-21 Mark Wielaard <mark@klomp.org>
4195 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4196 then 65535 chars throw IllegalArgumentException.
4198 2003-02-21 Mark Wielaard <mark@klomp.org>
4200 * java/util/zip/ZipFile.java (finalize): New method.
4202 2003-02-21 Michael Koch <konqueror@gmx.de>
4204 * gnu/java/nio/natSocketChannelImpl.cc:
4205 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4206 <cato@df.lth.se> for pointing to it.
4208 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4210 * java/math/BigInteger.java (euclidInv): Take result array as an
4211 argument. Updated all callers.
4212 (modInverse): Removed unused variables.
4214 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4216 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4218 * configure: Rebuilt.
4220 2003-02-19 Michael Koch <konqueror@gmx.de>
4222 * gnu/java/nio/natSocketChannelImpl.cc:
4223 Added support for platforms without network support.
4225 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4227 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4228 after config.h. Use <> for consistency.
4229 * java/lang/natObject.cc: Likewise.
4230 * java/lang/natRuntime.cc: Likewise.
4231 * java/lang/natSystem.cc: Likewise.
4232 * java/util/natTimeZone.cc: Likewise.
4233 * win32.cc: Likewise.
4234 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4235 listen, write, read): Undef to avoid interference from OS macros.
4237 2003-02-19 Michael Koch <konqueror@gmx.de>
4239 * gnu/java/nio/ByteBufferImpl.java
4240 (ByteBufferImpl): Renamed two variables.
4241 * gnu/java/nio/CharBufferImpl.java
4242 (CharBufferImpl): Renamed two variables.
4243 * gnu/java/nio/DoubleBufferImpl.java
4244 (DoubleBufferImpl): Renamed two variables.
4245 * gnu/java/nio/FloatBufferImpl.java
4246 (FloatBufferImpl): Renamed two variables.
4247 * gnu/java/nio/IntBufferImpl.java
4248 (IntBufferImpl): Renamed two variables.
4249 * gnu/java/nio/LongBufferImpl.java
4250 (LongBufferImpl): Renamed two variables.
4251 * gnu/java/nio/ShortBufferImpl.java
4252 (ShortBufferImpl): Renamed two variables.
4253 * java/nio/CharBuffer.java
4254 (wrap): Fixed arguments to CharBufferImpl constructor.
4255 (hasArray): Only not read-only buffers have backing arrays.
4256 (length): Documentation added.
4257 (subSequence): Documentation added.
4258 * java/nio/DoubleBuffer.java
4259 (hasArray): Only not read-only buffers have backing arrays.
4260 * java/nio/FloatBuffer.java
4261 (hasArray): Only not read-only buffers have backing arrays.
4262 * java/nio/IntBuffer.java
4263 (hasArray): Only not read-only buffers have backing arrays.
4264 * java/nio/LongBuffer.java
4265 (hasArray): Only not read-only buffers have backing arrays.
4266 * java/nio/ShortBuffer.java
4267 (hasArray): Only not read-only buffers have backing arrays.
4269 2003-02-19 Michael Koch <konqueror@gmx.de>
4271 * javax/accessibility/AccessibleContext.java
4272 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4274 2003-02-19 Michael Koch <konqueror@gmx.de>
4276 * java/awt/ScrollPaneAdjustable.java: Reformated.
4278 2003-02-19 Michael Koch <konqueror@gmx.de>
4280 * gnu/awt/j2d/Graphics2DImpl.java
4281 (getFontRenderContext): New method.
4282 (drawGlyphVector): New method.
4283 * java/awt/Graphics2D.java
4284 (getFontRenderContext): New abstract method.
4285 (drawGlyphVector): New abstract method.
4287 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4289 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4292 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4293 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4294 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4295 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4296 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4297 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4298 (setFont, gtkSetFont): add.
4299 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4300 Propagate font to peer. (setFont): add FIXME comment.
4302 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4303 (gtkTextGetSize): fix height, width computation.
4305 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4306 Make X font name a bit less bogus.
4308 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4309 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4311 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4312 (processAdjustmentEvent): Adjust value.
4314 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4317 * java/awt/Component.java (setVisible, show, hide): Call show and
4318 hide methods in subclasses.
4319 (getPreferredSize): don't set prefSize before we have peer.
4321 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4322 Guess (0,0) if we don't have peer.
4325 2003-02-18 Michael Koch <konqueror@gmx.de>
4327 * java/nio/channels/FileChannel.java
4328 (toString): New implementation, added documentation.
4329 (map): Added exception documentation.
4330 (size): Added exception documentation.
4331 (write): New methods, documentation work.
4332 (read): New methods, documentation work.
4333 (implCloseChannel): Rewrote exception documentation.
4334 (force): Throws IOException, added documentation.
4335 (lock): New methods.
4336 (tryLock): New methods.
4337 (position): New methods.
4338 (transferTo): New method.
4339 (transferFrom): New method.
4340 (truncate): New method.
4341 * java/nio/channels/spi/SelectorProvider.java
4342 (provider): Implemented.
4344 (ordinary_java_source_files): Added the following files:
4345 gnu/java/nio/DatagramChannelImpl.java
4346 gnu/java/nio/FileChannelImpl.java
4347 gnu/java/nio/PipeImpl.java
4348 gnu/java/nio/SelectionKeyImpl.java
4349 gnu/java/nio/SelectorImpl.java
4350 gnu/java/nio/SelectorProviderImpl.java
4351 gnu/java/nio/ServerSocketChannelImpl.java
4352 gnu/java/nio/SocketChannelImpl.java
4353 java/nio/channels/FileLock.java
4354 (nat_java_source_files): Added the following files:
4355 gnu/java/nio/natFileChannelImpl.cc
4356 gnu/java/nio/natSelectorImpl.cc
4357 gnu/java/nio/natSocketChannelImpl.cc
4358 * Makefile.in: Regenerated.
4360 2003-02-17 Tom Tromey <tromey@redhat.com>
4362 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4363 * java/awt/image/ImageFilter.java: Likewise.
4365 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4367 * java/math/BigInteger.java (euclidInv): Return array of
4368 `BigInteger's. Changed all callers.
4370 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4372 * java/util/Properties.java (store): Move the code formerly in
4373 list(), into this method.
4374 (list (PrintStream)): Just call list (PrintWriter) with a
4375 PrintWriter object constructed from the given PrintStream object.
4376 (list (PrintWriter)): Emulate the output of Properties.list()
4377 as found in JDK 1.3/1.4.
4379 2003-02-17 Michael Koch <konqueror@gmx.de>
4381 * java/net/DatagramSocket.java
4382 (connect): Merged with classpath.
4383 (disconnect): Merged documentation with classpath.
4384 (receice): Merged documentation with classpath.
4385 (send): Merged documentation with classpath.
4387 2003-02-17 Michael Koch <konqueror@gmx.de>
4389 * java/awt/dnd/DragSourceContext.java
4390 (addDragSourceListener): Added documentation.
4391 * java/awt/dnd/DragSourceDragEvent.java
4392 (serialVersionUID): New member variable.
4393 (getDropAction): Reformated.
4394 * java/awt/dnd/DragSourceDropEvent.java
4395 (serialVersionUID): New member variable.
4396 (dropSuccess): Renamed from success for serialization issues.
4397 * java/awt/dnd/DragSourceEvent.java
4398 (serialVersionUID): New member variable.
4399 * java/awt/dnd/DropTarget.java
4400 (serialVersionUID): New member variable.
4401 (DropTarget): Implemented, documentation reworked.
4402 (setComponent): Documentation added.
4403 (getComponent): Documentation added.
4404 (setDefaultActions): Documentation added.
4405 (getDefaultActions): Documentation added.
4406 (addDropTargetListener): Documentation added.
4407 * java/awt/dnd/DropTargetContext.java
4408 (DropTargetContext): Documentation added.
4409 (TransferableProxy.TransferableProxy): New method.
4410 (dropComplete): Fixed documentation.
4411 (getTransferable): Fixed documentation.
4412 (createTransferableProxy): Implemented.
4413 * java/awt/dnd/DropTargetDragEvent.java
4414 (DropTargetDragEvent): Documentation added.
4415 (serialVersionUID): New member variable.
4416 (DropTargetDragEvent): Throw exceptions, documentation added.
4417 (acceptDrag): Implemented.
4418 (getCurrentDataFlavors): Implemented.3yy
4419 (getCurrentDataFlavorsAsList): Implemented.
4420 (isDataFlavorSupported): Implemented.
4421 (rejectDrag): Implemented.
4422 * java/awt/dnd/DropTargetDropEvent.java
4423 (DropTargetDropEvent): Documentation added.
4424 (serialVersionUID): New member variable.
4425 (actions): Renamed from srcActions for serialization issues.
4426 (isLocalTx): Renamed from isLocalTx for serialization issues.
4427 (DropTargetDropEvent): New implementation, throw exceptions,
4428 documentation added.
4429 (getCurrentDataFlavors): Implemented.
4430 (getCurrentDataFlavorsAsList): Implemented.
4431 (isDataFlavorSupported): Implemented.
4432 (getSourceActions): Implemented.
4433 (getDropAction): Implemented.
4434 (getTransferable): Implemented.
4435 (acceptDrop): Implemented.
4436 (rejectDrop): Implemented.
4437 * java/awt/dnd/DropTargetListener.java
4438 (drop): Fixed documentation.
4439 * java/awt/dnd/MouseDragGestureRecognizer.java
4440 (MouseDragGestureRecognizer): Documentation added.
4442 2003-02-17 Michael Koch <konqueror@gmx.de>
4444 * java/awt/font/FontRenderContext.java,
4445 java/awt/font/ShapeGraphicAttribute.java,
4446 java/awt/font/MultipleMaster.java,
4447 java/awt/font/TransformAttribute.java,
4448 java/awt/font/GlyphJustificationInfo.java,
4449 java/awt/font/LineBreakMeasurer.java,
4450 java/awt/font/TextMeasurer.java,
4451 java/awt/font/TextLayout.java,
4452 java/awt/font/LineMetrics.java,
4453 java/awt/font/TextAttribute.java,
4454 java/awt/font/GlyphMetrics.java,
4455 java/awt/font/OpenType.java,
4456 java/awt/font/GlyphVector.java,
4457 java/awt/font/GraphicAttribute.java,
4458 java/awt/font/ImageGraphicAttribute.java,
4459 java/awt/font/NumericShaper.java: New files.
4461 (awt_java_source_files): Added the following files:
4462 java/awt/font/FontRenderContext.java
4463 java/awt/font/ShapeGraphicAttribute.java
4464 java/awt/font/MultipleMaster.java
4465 java/awt/font/TransformAttribute.java
4466 java/awt/font/GlyphJustificationInfo.java
4467 java/awt/font/LineBreakMeasurer.java
4468 java/awt/font/TextMeasurer.java
4469 java/awt/font/TextLayout.java
4470 java/awt/font/LineMetrics.java
4471 java/awt/font/TextAttribute.java
4472 java/awt/font/GlyphMetrics.java
4473 java/awt/font/OpenType.java
4474 java/awt/font/GlyphVector.java
4475 java/awt/font/GraphicAttribute.java
4476 java/awt/font/ImageGraphicAttribute.java
4477 java/awt/font/NumericShaper.java
4478 * Makefile.in: Regenerated.
4480 2003-02-17 Michael Koch <konqueror@gmx.de>
4482 * java/awt/print/Paper.java
4483 (Paper): Implements Cloneable.
4484 * java/awt/print/PrinterJob.java
4485 (setJobName): Return value must be void.
4486 (print): Throws PrinterException.
4488 2003-02-16 Tom Tromey <tromey@redhat.com>
4490 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4493 2003-02-15 Michael Koch <konqueror@gmx.de>
4495 * java/awt/datatransfer/DataFlavor.java
4496 (isRepresentationClassByteBuffer): Removed try-catch block.
4497 (isRepresentationClassCharBuffer): Removed try-catch block.
4498 (isRepresentationClassReader): Removed try-catch block.
4500 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4502 * java/nio/charset/Charset.java
4503 (isRegistered): Fixed method args and implementation.
4504 * java/nio/charset/CharsetEncoder.java
4505 (unmappableCharacterAction): New method.
4507 2003-02-15 Michael Koch <konqueror@gmx.de>
4509 * java/awt/CheckboxMenuItem.java
4510 (CheckBoxMenuItem): Dont implement Serializable.
4511 (getListeners): New method,
4512 (getItemListeners): New method.
4513 * java/awt/Choice.java
4514 (getListeners): New method,
4515 (getItemListeners): New method.
4516 * java/awt/Container.java
4517 (getListeners): Added exception documentation.
4518 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4519 (getFocusTraversalKeys): Added documentation.
4520 (areFocusTraversalKeysSet): Added documentation.
4521 (applyComponentOrientation): Added documentation.
4522 * java/awt/ContainerOrderFocusTraversalPolicy.java
4523 (implicitDownCycleTraversal): Renamed from downCycle for
4525 (ContainerOrderFocusTraversalPolicy): Added documentation.
4526 (accept): Reformated.
4527 * java/awt/Dialog.java
4528 (Dialog): Dont implement Serializable.
4529 (Dialog): Added documentation.
4530 * java/awt/Font.java
4531 (Font): Dont use absolute class name.
4532 * java/awt/Frame.java
4533 (Frame): Font implement Serializable.
4534 * java/awt/List.java
4535 (getListeners): New method,
4536 (getActionListeners): New method.
4537 (getItemListeners): New method.
4538 * java/awt/Menu.java
4539 (countItems): New deprecated method.
4540 * java/awt/Scrollbar.java
4541 (getListeners): New method,
4542 (getAdjustmentListeners): New method,
4543 * java/awt/TextComponent.java
4544 (getListeners): New method,
4545 (getTextListeners): New method,
4546 * java/awt/TextField.java
4547 (getListeners): New method,
4548 (getActionListeners): New method.
4549 * java/awt/Window.java
4550 (windowFocusListener): New member variable.
4551 (windowStateListener): New member variable.
4552 (getWindowFocusListeners): New method.
4553 (getWindowStateListeners): New method.
4554 (addWindowFocusListener): New method.
4555 (addWindowStateListener): New method.
4556 (removeWindowFocusListener): New method.
4557 (removeWindowStateListener): New method.
4558 * java/awt/datatransfer/DataFlavor.java
4559 (isRepresentationClassByteBuffer): New method.
4560 (isRepresentationClassCharBuffer): New method.
4561 (isRepresentationClassReader): New method.
4563 2003-02-14 Mark Wielaard <mark@klomp.org>
4565 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4566 zero when there is an exponent and the significant is zero.
4567 (divide): Always set scale to newScale even in special ZERO case.
4569 2003-02-14 Tom Tromey <tromey@redhat.com>
4571 * java/lang/System.java (properties): Use Properties.clone.
4572 (setProperties): Likewise.
4574 2003-02-14 Michael Koch <konqueror@gmx.de>
4576 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4577 * gnu/java/nio/ServerSocketChannelImpl.java
4578 (SocketAccept): Removed.
4579 (accept): Commented out use of SocketAccept.
4581 2003-02-13 Tom Tromey <tromey@redhat.com>
4583 * verify.cc (state::seen_subrs): New field.
4584 (state::state): Initialize it.
4585 (state::clean_subrs): New method.
4586 (state::~state): Call it.
4587 (state::copy): Copy subroutine list.
4588 (state::add_subr): New method.
4589 (state::merge): Only register a change if the current subroutine
4590 hasn't yet been noted.
4592 2003-02-13 Mark Wielaard <mark@klomp.org>
4594 * java/io/InputStreamReader.java (getEncoding): Return null when
4596 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4598 2003-02-13 Mark Wielaard <mark@klomp.org>
4600 * java/util/zip/InflaterInputStream.java (read): Return zero when len
4603 2003-02-13 Mark Wielaard <mark@klomp.org>
4605 * java/io/BufferedOutputStream.java (write(int)): Only flush when
4606 next byte cannot be buffered.
4608 2003-02-13 Michael Koch <konqueror@gmx.de>
4610 * java/awt/Label.java
4611 (Label): Don't implement Serializable directly.
4612 (addNotify): Fixed typo in documentation.
4613 * java/awt/List.java
4614 (List): Don't implement Serializable directly.
4615 * java/awt/PopupMenu.java
4616 (PopupMenu): Don't implement Serializable directly.
4617 * java/awt/ScrollPane.java
4618 (ScrollPane): Don't implement Serializable directly.
4619 * java/awt/Scrollbar.java
4620 (Scrollbar): Don't implement Serializable directly.
4621 * java/awt/TextArea.java
4622 (preferredSize): Fixed method arguments.
4623 * java/awt/TextField.java
4624 (TextField): Don't implement Serializable directly.
4625 * java/awt/color/ICC_ColorSpace.java
4626 (fromCIOXYZ): Documentation added.
4627 (getMinValue): Documentation added.
4628 (getMaxValue): Documentation added.
4629 * java/awt/datatransfer/DataFlavor.java
4630 (isMimeTypeEqual): May not be final.
4631 (clone): Throws CloneNotSupportedException.
4632 (getReaderForText): Don't throws UnsupportedEncodingException.
4634 2003-02-13 Michael Koch <konqueror@gmx.de>
4636 * gnu/java/awt/peer/gtk/GdkGraphics.java
4637 (drawString): New stubbed method.
4638 * java/awt/Graphics.java
4639 (drawString): New method.
4641 2003-02-13 Casey Marshall <rsdio@metastatic.org>
4644 * java/security/SecureRandom.java (next): Avoid bias in results.
4646 2003-02-13 Michael <konqueror@gmx.de>
4648 * gnu/java/nio/FileChannelImpl.java
4649 (lengthInternal): Must be native.
4650 (size): Check if channel is already closed.
4651 (implCloseChannel): Reformated.
4652 (read): w was unused, removed it.
4655 (write): New method.
4656 (map): Check arguments.
4657 (force): Throws IOException, check if channel is closed.
4658 (transferTo): New method.
4659 (transferFrom): New method.
4661 (tryLock): New method.
4662 (position): New method.
4663 (truncate): New method.
4664 (nio_mmap_file): Uncommented.
4665 (nio_munmap_file): Uncommented.
4666 (nio_msync): Uncommented.
4667 * gnu/java/nio/natFileChannelImpl.cc: New file.
4669 2003-02-13 Michael Koch <konqueror@gmx.de>
4671 * java/nio/ByteBuffer.java
4672 (endian): New member variable.
4674 (equals): New method.
4675 (compareTo): New method.
4676 (order): New methods.
4677 (compact): New method.
4678 (isDirect): New method.
4679 (slice): New method.
4680 (duplicate): New method.
4681 (asReadOnlyBuffer): New method.
4682 (asCharBuffer): New method.
4683 (asDoubleBuffer): New method.
4684 (asFloatBuffer): New method.
4685 (asIntBuffer): New method.
4686 (asLongBuffer): New method.
4687 (asShortBuffer): New method.
4688 (get*): New methods.
4689 (put*): New methods.
4690 (toString): New method.
4691 * java/nio/CharBuffer.java
4692 (CharBuffer): Implement Comparable instead of Cloneable.
4693 (get): May not be final.
4694 (put): May not be final.
4696 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
4698 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4699 lastIndexOf( ) instead of indexOf( ) to find the colon before
4700 the line number, because Win32 file names might contain a
4701 drive letter and a colon at the start of an absolute path.
4703 2003-02-13 Michael Koch <konqueror@gmx.de>
4705 * gnu/java/nio/natSocketChannelImpl.cc
4706 (SocketConnect): This is not implemented yet.
4707 (SocketBind): This is not implemented yet.
4709 2003-02-13 Michael Koch <konqueror@gmx.de>
4711 * gnu/java/nio/natByteBufferImpl.cc,
4712 gnu/java/nio/natCharBufferImpl.cc,
4713 gnu/java/nio/natDoubleBufferImpl.cc,
4714 gnu/java/nio/natFloatBufferImpl.cc,
4715 gnu/java/nio/natIntBufferImpl.cc,
4716 gnu/java/nio/natLongBufferImpl.cc,
4717 gnu/java/nio/natShortBufferImpl.cc:
4718 Added copyright and license.
4719 * java/nio/DoubleBuffer.java,
4720 java/nio/FloatBuffer.java,
4721 java/nio/IntBuffer.java,
4722 java/nio/LongBuffer.java,
4723 java/nio/ShortBuffer.java
4724 (array): Throw exceptions.
4725 (arrayOffset): Throw exceptions.
4727 2003-02-13 Michael Koch <konqueror@gmx.de>
4729 * gnu/java/util/prefs/FileBasedFactory.java,
4730 gnu/java/util/prefs/MemmoryBasedFactory.java,
4731 gnu/java/util/prefs/MemoryBasedPreferences.java,
4732 gnu/java/util/prefs/NodeReader.java,
4733 gnu/java/util/prefs/NodeWriter.java,
4734 java/util/prefs/AbstractPreferences.java,
4735 java/util/prefs/BackingStoreException.java,
4736 java/util/prefs/InvalidPreferencesFormatException.java,
4737 java/util/prefs/NodeChangeEvent.java,
4738 java/util/prefs/NodeChangeListener.java,
4739 java/util/prefs/PreferenceChangeEvent.java,
4740 java/util/prefs/PreferenceChangeListener.java,
4741 java/util/prefs/Preferences.java,
4742 java/util/prefs/PreferencesFactory.java:
4743 New files, all merged from classpath.
4745 (ordinary_java_source_files): Added the following files:
4746 gnu/java/util/prefs/FileBasedFactory.java,
4747 gnu/java/util/prefs/MemmoryBasedFactory.java,
4748 gnu/java/util/prefs/MemoryBasedPreferences.java,
4749 gnu/java/util/prefs/NodeReader.java,
4750 gnu/java/util/prefs/NodeWriter.java,
4751 (core_java_source_files): Added the following files:
4752 java/util/prefs/AbstractPreferences.java,
4753 java/util/prefs/BackingStoreException.java,
4754 java/util/prefs/InvalidPreferencesFormatException.java,
4755 java/util/prefs/NodeChangeEvent.java,
4756 java/util/prefs/NodeChangeListener.java,
4757 java/util/prefs/PreferenceChangeEvent.java,
4758 java/util/prefs/PreferenceChangeListener.java,
4759 java/util/prefs/Preferences.java,
4760 java/util/prefs/PreferencesFactory.java
4761 * Makefile.in: Regenerated.
4763 2003-02-13 Michael Koch <konqueror@gmx.de>
4765 * java/net/NetPermission.java
4766 (NetPermission): Make doucmentation match the method declaration.
4767 * java/net/NetworkInterface.java
4768 (equals): Reformated for GNU coding style.
4769 * java/net/ServerSocket.java: Merged with classpath.
4770 * java/net/Socket.java: Partly merged with classpath (Added some @since).
4771 * java/net/SocketImpl.java
4772 (localPort): Merged with classpath (initialize with -1).
4773 * java/net/SocketPermission.java: Merged with classpath (reindented).
4774 * java/net/URLDecoder.java: Merged with classpath (reindented).
4776 2003-02-13 Michael Koch <konqueror@gmx.de>
4778 * java/awt/GridBagConstraints.java
4779 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4780 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4781 * java/awt/KeyboardFocusManager.java
4782 (setGlobalCurrentFocusCycleRoot): Must be public.
4783 * java/awt/MenuComponent.java
4784 (MenuComponent): Must be public.
4785 * java/awt/Toolkit.java:
4786 Added some empty lines to make documentation more readable.
4787 (getFontPeer): Added @deprecated.
4788 (getColorModel): Added exception documentation.
4789 (getProperty): Fixed documentation.
4791 2003-02-12 Jeff Sturm <jsturm@one-point.com>
4793 * configure.host (alpha*-*): Default to -mieee.
4794 * configure.in (IEEESPEC): New.
4795 * libgcj.spec.in (jc1): Add IEEESPEC.
4796 * configure: Rebuild.
4798 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4800 * include/win32.h: Include ws2tcpip.h instead of
4801 winsock.h to obtain definition of the socklen_t type.
4802 Remove IP_TOS definition - not needed with ws2tcpip.h
4803 (_Jv_connect): Correct slight formatting error.
4805 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4807 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4808 size of the arguments for a JNI function. For Win32,
4809 modify to search for all forms of possible exported
4810 names of an stdcall JNI function.
4811 (_Jv_JNIMethod::call): Modify to calculate the size
4812 of the arguments passed to a JNI function and pass
4813 it to _Jv_LookupJNIMethod.
4815 2003-02-12 Michael Koch <konqueror@gmx.de>
4817 * java/nio/channels/Channels.java: New file.
4819 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4820 * Makefile.in: Regenerated.
4822 2003-02-12 Michael Koch <konqueror@gmx.de>
4824 * java/nio/ByteBuffer.java
4825 (allocate): Implemented.
4826 (wrap): Implemented.
4827 * java/nio/CharBuffer.java:
4828 Some documentation added and reworked.
4830 (allocate): Implemented.
4831 (wrap): Implemented.
4832 (array): Throw exceptions.
4833 (arrayOffset): Throw exceptions.
4834 (toString): Implemented.
4835 (length): Implemented.
4837 (charAt): Implemented.
4839 2003-02-11 John Leuner <jewel@debian.org>
4841 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
4842 reads from end of file.
4844 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
4846 * java/io/natFileDescriptorWin32.cc
4847 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4848 returns with Win32 error code ERROR_BROKEN_PIPE.
4850 2003-02-11 Michael Koch <konqueror@gmx.de>
4853 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4855 2003-02-11 Michael Koch <konqueror@gmx.de>
4857 * gnu/java/nio/ByteBufferImpl.java:
4858 Reformated and removed some code.
4859 (backing_buffer): Removed.
4860 (array_offset): Removed.
4861 (ro): Renamed to readOnly.
4862 (ByteBufferImpl): Use parent constructor, initialize readOnly.
4863 * gnu/java/nio/CharBufferImpl.java:
4864 Reformated and removed some code.
4865 (array_offset): Removed.
4866 (ro): Renamed to readOnly.
4867 (CharBufferImpl): Use parent constructor, initialize readOnly.
4869 (order): New method.
4870 * gnu/java/nio/DoubleBufferImpl.java:
4871 Reformated and removed some code.
4872 (array_offset): Removed.
4873 (ro): Renamed to readOnly.
4874 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4876 (order): New method.
4877 * gnu/java/nio/FloatBufferImpl.java:
4878 Reformated and removed some code.
4879 (array_offset): Removed.
4880 (ro): Renamed to readOnly.
4881 (FloatBufferImpl): Use parent constructor, initialize readOnly.
4883 (order): New method.
4884 * gnu/java/nio/IntBufferImpl.java:
4885 Reformated and removed some code.
4886 (array_offset): Removed.
4887 (ro): Renamed to readOnly.
4888 (IntBufferImpl): Use parent constructor, initialize readOnly.
4890 (order): New method.
4891 * gnu/java/nio/LongBufferImpl.java:
4892 Reformated and removed some code.
4893 (array_offset): Removed.
4894 (ro): Renamed to readOnly.
4895 (LongBufferImpl): Use parent constructor, initialize readOnly.
4897 (order): New method.
4898 * gnu/java/nio/ShortBufferImpl.java:
4899 Reformated and removed some code.
4900 (array_offset): Removed.
4901 (ro): Renamed to readOnly.
4902 (ShortBufferImpl): Use parent constructor, initialize readOnly.
4904 (order): New method.
4906 (ordinary_java_source_files): Added the following files:
4907 gnu/java/nio/ByteBufferImpl.java
4908 gnu/java/nio/CharBufferImpl.java
4909 gnu/java/nio/DoubleBufferImpl.java
4910 gnu/java/nio/FloatBufferImpl.java
4911 gnu/java/nio/IntBufferImpl.java
4912 gnu/java/nio/LongBufferImpl.java
4913 gnu/java/nio/ShortBufferImpl.java
4914 java/nio/DoubleBuffer.java
4915 java/nio/FloatBuffer.java
4916 java/nio/IntBuffer.java
4917 java/nio/LongBuffer.java
4918 java/nio/ShortBuffer.java
4919 (nat_source_files): Added the following files:
4920 gnu/java/nio/natByteBufferImpl.cc
4921 gnu/java/nio/natCharBufferImpl.cc
4922 gnu/java/nio/natDoubleBufferImpl.cc
4923 gnu/java/nio/natFloatBufferImpl.cc
4924 gnu/java/nio/natIntBufferImpl.cc
4925 gnu/java/nio/natLongBufferImpl.cc
4926 gnu/java/nio/natShortBufferImpl.cc
4927 * Makefile.in: Regenerated.
4929 2003-02-11 Michael Koch <konqueror@gmx.de>
4931 * gnu/java/nio/natCharBufferImpl.cc
4932 (nio_cast): Removed.
4933 (nio_put_*): Removed.
4934 (nio_get_*): Removed.
4935 * gnu/java/nio/natDoubleBufferImpl.cc
4936 (nio_cast): Removed.
4937 (nio_put_*): Removed.
4938 (nio_get_*): Removed.
4939 * gnu/java/nio/natFloatBufferImpl.cc
4940 (nio_cast): Removed.
4941 (nio_put_*): Removed.
4942 (nio_get_*): Removed.
4943 * gnu/java/nio/natIntBufferImpl.cc
4944 (nio_cast): Removed.
4945 (nio_put_*): Removed.
4946 (nio_get_*): Removed.
4947 * gnu/java/nio/natLongBufferImpl.cc
4948 (nio_cast): Removed.
4949 (nio_put_*): Removed.
4950 (nio_get_*): Removed.
4951 * gnu/java/nio/natShortBufferImpl.cc
4952 (nio_cast): Removed.
4953 (nio_put_*): Removed.
4954 (nio_get_*): Removed.
4955 * gnu/java/nio/SelectorProviderImpl.java
4956 (openDatagramChannel): Throws IOException.
4957 (openPipe): Throws IOException.
4958 (openSelector): Throws IOException.
4959 (openServerSocketChannel): Throws IOException.
4960 (openSocketChannel): Throws IOException.
4961 * gnu/java/nio/ServerSocketChannelImpl.java
4962 (ServerSocketChannelImpl): Throws IOException.
4963 (implCloseSelectableChannel): Throws IOException.
4964 (implConfigureBlocking): Throws IOException.
4965 * java/nio/ByteBuffer.java
4966 (readOnly): Removed.
4967 (hasArray): Use isReadOnly() instead of readOnly.
4968 (array): Use isReadOnly() instead of readOnly.
4969 (arrayOffset): Use isReadOnly() instead of readOnly.
4970 * java/nio/CharBuffer.java
4971 (CharBuffer): Implements Cloneable and CharSequence.
4973 2003-02-11 Michael Koch <konqueror@gmx.de>
4975 * java/nio/DoubleBuffer.java
4976 (DoubleBuffer): Implements Comparable.
4978 (array_offset): New member variable.
4979 (DoubleBuffer): New constuctor.
4980 (get): May not be final.
4981 (put): May not be final.
4982 (arrayOffset): Implemented.
4983 (order): Made abstract.
4985 (as*Buffer): Removed.
4988 * java/nio/FloatBuffer.java
4989 (FloatBuffer): Implements Comparable.
4991 (array_offset): New member variable.
4992 (FloatBuffer): New constuctor.
4993 (get): May not be final.
4994 (put): May not be final.
4995 (arrayOffset): Implemented.
4996 (order): Made abstract.
4998 (as*Buffer): Removed.
5001 * java/nio/IntBuffer.java
5002 (IntBuffer): Implements Comparable.
5004 (array_offset): New member variable.
5005 (IntBuffer): New constuctor.
5006 (get): May not be final.
5007 (put): May not be final.
5008 (arrayOffset): Implemented.
5009 (order): Made abstract.
5011 (as*Buffer): Removed.
5014 * java/nio/LongBuffer.java
5015 (LongBuffer): Implements Comparable.
5017 (array_offset): New member variable.
5018 (LongBuffer): New constuctor.
5019 (get): May not be final.
5020 (put): May not be final.
5021 (arrayOffset): Implemented.
5022 (order): Made abstract.
5024 (as*Buffer): Removed.
5027 * java/nio/ShortBuffer.java
5028 (ShortBuffer): Implements Comparable.
5030 (array_offset): New member variable.
5031 (ShortBuffer): New constuctor.
5032 (get): May not be final.
5033 (put): May not be final.
5034 (arrayOffset): Implemented.
5035 (order): Made abstract.
5037 (as*Buffer): Removed.
5041 2003-02-11 Michael Koch <konqueror@gmx.de>
5043 * java/nio/channels/SelectionKey.java
5044 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
5047 2003-02-11 Michael Koch <konqueror@gmx.de>
5049 * java/nio/channels/DatagramChannel.java
5050 (write): Throws IOException.
5051 (connect): Throws IOException.
5052 (disconnect): Throws IOException.
5053 (read): Throws IOException.
5054 (receive): Throws IOException.
5055 (send): Throws IOException.
5056 * java/nio/channels/Pipe.java
5057 (open): Throws IOException.
5058 * java/nio/channels/SelectableChannel.java
5059 (configureBlocking): Throws IOException.
5060 * java/nio/channels/ServerSocketChannel.java
5061 (accept): Throws IOException.
5062 * java/nio/channels/SocketChannel.java
5063 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
5064 GatheringByteChannel.
5065 (read): Throws IOException.
5066 (write): Throws IOException.
5067 (finishConnect): Throws IOException.
5068 * java/nio/channels/spi/AbstractInterruptibleChannel.java
5069 (end): Throws AsynchronousCloseException.
5070 * java/nio/channels/spi/AbstractSelectableChannel.java
5071 (configureBlocking): Throws IOException.
5072 (implCloseChannel): Throws IOException.
5073 (implCloseSelectableChannel): Throws IOException.
5074 (implConfigureBlocking): Throws IOException.
5075 * java/nio/channels/spi/SelectorProvider.java
5076 (openDatagramChannel): Throws IOException.
5077 (openPipe): Throws IOException.
5078 (openSelector): Throws IOException.
5079 (openServerSocketChannel): Throws IOException.
5080 (openSocketChannel): Throws IOException.
5082 2003-02-11 Michael Koch <konqueror@gmx.de>
5084 * gnu/java/nio/FileLockImpl.java,
5085 java/nio/channels/FileLock.java: New files.
5087 2003-02-11 Michael Koch <konqueror@gmx.de>
5089 * java/nio/charset/IllegalCharsetNameException.java
5090 (serialVersionUID): New member variable.
5091 (charsetName): New member variable.
5092 (IllegalCharsetException): New implementation.
5093 (getCharsetName): New implementation.
5094 * java/nio/charset/UnsupportedCharsetException.java
5095 (serialVersionUID): New member variable.
5096 (charsetName): New member variable.
5097 (UnsupportedCharsetException): New implementation.
5098 (getCharsetName): New implementation.
5100 2003-02-10 Tom Tromey <tromey@redhat.com>
5102 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5103 (ex): Renamed from sqlException.
5105 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5107 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5108 method used to ensure seeding has occurred and that a specific
5109 seed can be set and used.
5111 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5113 * java/lang/Win32Process.java (destroy): Declare as native.
5114 (hasExited): New native method.
5115 (exitValue): Define.
5116 (getErrorStream): Likewise.
5117 (getInputStream): Likewise.
5118 (getOutputStream): Likewise.
5119 (waitFor): Declare as native.
5120 (startProcess): New native method.
5121 (cleanup): Likewise.
5122 (ConcreteProcess): Define.
5123 (outputStream, inputStream, errorStream): New members.
5124 (procHandle, exitCode): Likewise.
5126 * java/lang/natWin32Process.cc
5127 (java::lang::ConcreteProcess::cleanup): Define.
5128 (java::lang::ConcreteProcess::destroy): Likewise.
5129 (java::lang::ConcreteProcess::hasExited): Likewise.
5130 (java::lang::ConcreteProcess::waitFor): Likewise.
5131 (new_string): Likewise.
5132 (java::lang::ConcreteProcess::startProcess): Likewise.
5134 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5136 * java/math/BigInteger.java:
5137 Updated notice to include years 2002 and 3.
5138 Added 2 private (int) arrays with values from the HAC (Handbook of
5139 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5140 and t[] that contains nbr. of tests --used in isProbablePrime().
5142 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5144 * java/math/BigInteger.java (make(int[],int), add(int,int),
5145 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5146 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5147 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5150 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5151 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5152 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5153 BIs and returns void.
5154 (modInverse(BI)): Use new signatures of euclidInv().
5156 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5157 static small primes instead of remainder().
5158 Use pre-computed max nbr of trials based on bitlength of BI to test.
5159 Use pre-computed small primes for the trial tests instead of random
5162 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5165 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5166 invoacation of MPN.chars_per_word(). not used.
5168 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5169 local var and used where needed.
5171 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5172 Combined declaration with initialisation of locals.
5175 * java/math/BigInteger.java: Style changes
5176 (pow(int)): Removed 'else' keyword.
5177 (toString(int)): idem.
5178 (doubleValue()): idem.
5179 (bitLength()): idem.
5180 (equals(Object)): Use static methods name in same class w/o prepending
5182 (doubleValue()): idem.
5183 (setNegative(BI)): idem.
5185 (and(BI,int)): idem.
5188 (byteArrayToIntArray()): Removed casting to (int). this is
5190 (canonicalize()): idem.
5191 (alloc(int)): Always instantiate a new BI.
5193 2003-02-10 Tom Tromey <tromey@redhat.com>
5195 * java/sql/Timestamp.java (compareTo(Object)): New method.
5196 (compareTo(Timestamp)): Likewise.
5197 (serialVersionUID): Updated.
5199 2003-02-07 Mark Wielaard <mark@klomp.org>
5201 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5202 when verify is true.
5203 (JarFile(File, boolean)): Likewise.
5204 (manifestRead): Set manifestRead field correctly.
5206 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5208 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5209 tests; see patch #1016 on Savannah.
5211 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5213 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5214 (toString): do not return Strings starting with . and - erroneously.
5215 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5218 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5220 * java/beans/PropertyDescriptor.java
5221 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5223 (PropertyDescriptor(String, Class, String, String)): Likewise.
5224 (PropertyDescriptor(String, Method, Method): Factor out getter and
5225 setter method sanity checks into new method.
5226 (findMethods): Don't do parameter sanity checking of get method here.
5227 (checkMethods): New method.
5229 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5231 * java/beans/PropertyDescriptor.java: Reformat.
5233 2003-02-04 Tom Tromey <tromey@redhat.com>
5235 * java/io/PipedOutputStream.java (flush): Declare as throwing
5238 * java/io/PipedWriter.java (close): Declare as throwing
5240 * java/io/StringWriter.java (close): Declare as throwing
5243 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5245 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5246 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5247 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5248 "_JNI_OnLoad@8" (MSVC).
5250 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5252 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5253 convention on Win32 to invoke native JNI methods.
5255 2003-02-03 Andrew Haley <aph@redhat.com>
5257 * configure.host (x86_64): Enable interpreter.
5259 2003-02-03 Andrew Haley <aph@redhat.com>
5261 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5262 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5263 * configure.in (BACKTRACESPEC): New.
5264 * configure: Regenerate.
5266 2003-02-02 Tom Tromey <tromey@redhat.com>
5268 * configure: Rebuilt.
5269 * configure.in (TOOLKIT) [xlib]: Set correctly.
5271 * Makefile.in: Rebuilt.
5272 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5275 2003-01-31 Mark WIelaard <mark@klomp.org>
5277 * Makefile.in: Rebuilt.
5278 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5280 2003-01-31 Tom Tromey <tromey@redhat.com>
5282 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5283 cast to element type.
5284 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5285 (_Jv_JNI_GetObjectArrayElement): Likewise.
5287 * Makefile.in: Rebuilt.
5288 * Makefile.am (cond_x_ltlibrary): Renamed library to
5289 lib-gnu-awt-xlib.la.
5290 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5291 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5292 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5293 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5294 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5295 (lib_gnu_awt_xlib_la_LINK): Likewise.
5296 (install-exec-hook): Removed.
5297 (lib-gnu-awt-xlib.la): Renamed.
5299 2003-01-31 Tom Tromey <tromey@redhat.com>
5301 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5302 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5303 aclocal.m4 and lost in some merge.
5305 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5306 Don't try to find graphics configuration.
5307 * java/awt/Toolkit.java (default_toolkit_name): Use new
5308 Configuration entry.
5309 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5311 * configure: Rebuilt.
5312 * configure.in (TOOLKIT): New subst.
5313 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5314 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5315 directory. Make output directories for .c files.
5316 * Makefile.in: Rebuilt.
5317 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5318 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5319 (all_java_source_files): Added new sources.
5320 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5321 (gtk_c_files): New macro.
5322 (gtk_c_source_files): New macro.
5323 (cond_gtk_ltlibrary): New macro.
5324 ($(gtk_c_files)): New target.
5325 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5326 (gtk_awt_peer_sources): New macro.
5327 (gtk_c_headers): New macro.
5328 ($(gtk_c_headers)): New target.
5329 (ACLOCAL_AMFLAGS): New macro.
5330 * gtk.m4, glib.m4, libart.m4: New files.
5331 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5332 gnu/java/awt/peer/gtk/GdkGraphics.java,
5333 gnu/java/awt/peer/gtk/GtkArg.java,
5334 gnu/java/awt/peer/gtk/GtkArgList.java,
5335 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5336 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5337 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5338 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5339 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5340 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5341 gnu/java/awt/peer/gtk/GtkClipboard.java,
5342 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5343 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5344 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5345 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5346 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5347 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5348 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5349 gnu/java/awt/peer/gtk/GtkImage.java,
5350 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5351 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5352 gnu/java/awt/peer/gtk/GtkListPeer.java,
5353 gnu/java/awt/peer/gtk/GtkMainThread.java,
5354 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5355 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5356 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5357 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5358 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5359 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5360 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5361 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5362 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5363 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5364 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5365 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5366 gnu/java/awt/peer/gtk/GtkToolkit.java,
5367 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5368 gnu/java/awt/peer/gtk/TestAWT.java,
5369 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5370 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5371 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5372 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5373 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5374 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5375 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5376 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5377 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5378 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5379 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5380 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5381 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5382 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5383 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5384 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5385 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5386 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5387 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5388 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5389 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5390 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5391 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5392 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5393 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5394 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5395 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5396 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5397 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5398 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5399 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5400 jni/classpath/native_state.c, jni/classpath/native_state.h,
5401 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5403 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5405 * java/util/Properties.java (load): Ignore backslash before EOF.
5407 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5409 * java/lang/natClass.cc (initializeClass): Check tables when
5410 (state == JV_STATE_IN_PROGRESS).
5411 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5412 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5413 interpreted classes.
5414 (linkClass0): Use _Jv_WaitForState.
5416 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5418 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5419 object when finished.
5421 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5423 * libjava/configure.host: Disable can_unwind_signal on darwin.
5425 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5428 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5429 additionally containing id of the owner thread as well as
5430 the number of nested times the thread has acquired the mutex.
5431 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5432 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5433 (_Jv_MutexUnlock): Check if really the owner thread, reset
5434 owner thread id to 0 before leaving, if leaving for the last
5436 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5438 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5439 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5441 Pass handle of the broadcast event, instead of a pointer to it
5442 in Win32 ResetEvent( ) call.
5443 Remove incorrect return values.
5444 (_Jv_CondDestroy): Close both event handles and delete
5446 (_Jv_CondNotify): Check if really the owner thread.
5447 (_Jv_CondNotifyAll): Check if really the owner thread.
5448 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5449 (really_start): Use SetEvent( ) to signal daemon_cond.
5450 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5451 WaitForSingleObject( ) instead to wait for daemon_cond to be
5454 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5456 * configure.in: Specifically define HAVE_BACKTRACE if building
5458 * include/win32.h: Remove HAVE_BACKTRACE definition.
5459 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5460 * configure: Rebuilt.
5462 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5464 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5465 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5466 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5467 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5468 * Makefile.in, configure: Rebuilt.
5470 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5473 * java/io/natFileWin32.cc (performList): Append only "*.*"
5474 if the canonical file path already has a "\" at the end.
5476 2003-01-24 Tom Tromey <tromey@redhat.com>
5478 * defineclass.cc (handleMethodsEnd): Precompute code for static
5480 (handleCodeAttribute): Likewise.
5481 * resolve.cc (ncode): Use run_class for unsynchronized static
5483 * include/java-interp.h (class _Jv_InterpMethod): Declare
5485 * interpret.cc (run_synch_class): Initialize class.
5486 (run) [insn_invokestatic]: Don't initialize class.
5487 [insn_anewarray]: Likewise.
5488 [insn_multianewarray]: Likewise.
5489 (run_class): New function.
5491 2003-01-24 Tom Tromey <tromey@redhat.com>
5493 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5496 2003-01-22 Andrew Haley <aph@redhat.com>
5498 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5499 * configure.host (CHECKREFSPEC): Define for x86_64.
5501 2003-01-21 Tom Tromey <tromey@redhat.com>
5503 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5506 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5508 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5509 looking at any characters.
5510 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5512 (isAbsolute): Check path's length as well.
5514 2003-01-17 Mark Wielaard <mark@klomp.org>
5516 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5517 (nat_source_files): Add natVMObjectStreamClass.cc.
5518 * Makefile.in: Regenerated.
5519 * gcj/javaprims.h (namespace java): Regenerated.
5520 * java/io/ObjectStreamClass.java (getClassUID): Call
5521 VMObjectStreamClass.hasClassInitializer().
5522 (hasClassInitializer): Removed.
5523 * java/io/VMObjectStreamClass.java: New class.
5524 * java/io/natVMObjectStreamClass.cc: New file.
5525 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5527 2003-01-16 Mark Wielaard <mark@klomp.org>
5529 * java/net/SocketImpl.java (toString): Don't explicitly call
5530 toString() on possible null address.
5532 2003-01-16 Michael Koch <konqueror@gmx.de>
5534 * java/net/MulticastSocket.java
5535 (setInterface): Reindented.
5537 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5539 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5540 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5541 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5542 translateY arguments. Implement.
5543 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5544 down translation arguments.
5545 (drawPolyline, drawPolygon): Fix incorrect tests.
5546 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5547 translateX and translateY arguments.
5549 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5551 * Makefile.in: Rebuilt.
5552 * Makefile.am (xlib_includes): New macro.
5555 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5557 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5558 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5559 16-bit display mode.
5561 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5563 * java/awt/CardLayout.java (show): Rewrote.
5564 (gotoComponent): Removed `target' argument. Simplified code.
5565 Don't pre-compute `choice' unless `what' is FIRST or LAST.
5566 Changed all callers.
5569 2003-01-14 Michael Koch <konqueror@gmx.de>
5571 * java/net/InetSocketAddress.java
5572 (serialVersionUID): New member variable.
5573 * java/net/NetPermission.java
5574 (NetPermission): Dont implement java.io.Serialization directly.
5575 * java/net/SocketAddress.java:
5576 (serialVersionUID): Documentation added.
5578 2003-01-14 Michael Koch <konqueror@gmx.de>
5580 * java/awt/Label.java
5581 (Label): Implements javax.accessibility.Accessible;
5582 * java/awt/List.java
5583 (List): Implements javax.accessibility.Accessible;
5584 * java/awt/ScrollPane.java
5585 (ScrollPane): Implements javax.accessibility.Accessible;
5586 * java/awt/Scrollbar.java
5587 (Scrollbar): Implements javax.accessibility.Accessible;
5588 * java/awt/TextComponent.java
5589 (setCaretPosition): Throw exception, documentation added.
5590 * java/awt/Toolkit.java:
5591 Added some newlines in method documentations.
5592 (createButton): Exception documentation added.
5593 (createTextField): Exception documentation added.
5594 (createLabel): Exception documentation added.
5595 (createList): Exception documentation added.
5596 (createCheckbox): Exception documentation added.
5597 (createScrollbar): Exception documentation added.
5598 (createScrollPane): Exception documentation added.
5599 (createTextArea): Exception documentation added.
5600 (createChoice): Exception documentation added.
5601 (createFrame): Exception documentation added.
5602 (createWindow): Exception documentation added.
5603 (createDialog): Exception documentation added.
5604 (createMenuBar): Exception documentation added.
5605 (createMenu): Exception documentation added.
5606 (createMenuItem): Exception documentation added.
5607 (createFileDialog): Exception documentation added.
5608 (createCheckboxMenuItem): Exception documentation added.
5609 (loadSystemColors): Exception documentation added.
5610 (setDynamicLayout): Exception documentation added.
5611 (isDynamicLayoutSet): Exception documentation added.
5612 (isDynamicLayoutActive): Exception documentation added.
5613 (getScreenSize): Exception documentation added.
5614 (getScreenResolution): Exception documentation added.
5615 (getScreenInsets): Exception documentation added.
5616 (getColorModel): Exception documentation added.
5617 (getSystemClipboard): Exception documentation added.
5618 (getSystemSelection): Exception documentation added.
5619 (getMenuShortcutKeyMask): Exception documentation added.
5620 (getSystemEventQueue): Exception documentation added.
5621 * java/awt/Window.java:
5622 Reindented some code.
5623 (Window): Centralized implementation, documentation added.
5624 (finalize): Documentation added.
5625 (hide): Fixed typo in comment.
5626 (getWindowListeners): Documentation added.
5627 * java/awt/color/ColorSpace.java
5628 (toRGB): Documentation added.
5629 * java/awt/color/ICC_ColorSpace.java
5630 (ICC_ColorSpace): Documentation added.
5631 (toRGB): Throw exception, documentation added.
5632 (fromRGB): Throw exception, documentation added.
5633 (toCIEXYZ): Documentation added.
5634 (fromCIEXYZ): Documentation added.
5635 (getMinValue): Documentation added.
5636 (getMaxValue): Documentation added.
5637 * java/awt/geom/Dimension2D.java
5638 (clone): Documentation added.
5639 * java/awt/geom/GeneralPath.java
5640 (clone): Documentation added.
5641 * java/awt/geom/Line2D.java
5642 (clone): Documentation added.
5643 * java/awt/geom/QuadCurve2D.java
5644 (clone): Documentation added.
5645 * java/awt/image/ColorModel.java
5646 (ColorModel): Throw exception, documentation added.
5647 * java/awt/image/ImageFilter.java
5648 (clone): Doesnt throw CloneNotSupportedException.
5650 2003-01-14 Andrew Haley <aph@redhat.com>
5652 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5655 2003-01-10 Andrew Haley <aph@redhat.com>
5657 * include/dwarf2-signal.h: Remove x86_64.
5658 * configure.host (x86_64 DIVIDESPEC): Remove.
5659 * include/x86_64-signal.h: New file.
5660 * configure.in: Regenerate.
5662 2003-01-10 Michael Koch <konqueror@gmx.de>
5664 * java/net/DatagramSocket.java
5665 (ch): Description added.
5666 (remotePort): Initialize with -1.
5667 (connect): Doesnt throws SocketException.
5668 * java/net/MulticastSocket.java
5669 (setInterface): Merge with Classpath.
5670 * java/net/ServerSocket.java
5671 (closed): New member variable.
5672 (bind): Check if socket is closed.
5673 (close): Close an associated channel too, set new value to closed.
5674 (isBound): Reindented.
5675 (isClosed): Implemented.
5676 * java/net/Socket.java
5677 (closed): New member variable.
5678 (bind): Check if socket is closed.
5679 (connect): Check if socket is closed.
5680 (close): Close an associated channel too, set new value to closed.
5681 (isClosed): Implemented.
5683 2003-01-10 Michael Koch <konqueror@gmx.de>
5685 * java/awt/DisplayMode.java
5686 (equals): Fixed argument type and implementation.
5688 2003-01-07 Tom Tromey <tromey@redhat.com>
5690 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5691 JV_HASH_SYNCHRONIZATION.
5692 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5693 JV_HASH_SYNCHRONIZATION.
5695 2003-01-07 Michael Koch <konqueror@gmx.de>
5697 * java/net/DatagramSocket.java:
5698 Added classpath license info.
5699 (DatagramSocket): Merged description with classpath.
5700 (close): Merged description with classpath.
5701 (getChannel): Merged description with classpath.
5702 (getInetAddress): Merged description with classpath.
5703 (getPort): Merged description with classpath.
5704 (getLocalAddress): Merged description with classpath.
5705 (getLocalPort): Merged description with classpath.
5706 (getSoTimeout): Merged description with classpath.
5707 (setSoTimeout): Merged description with classpath.
5708 (getSendBufferSize): Merged description with classpath.
5709 (setSendBufferSize): Merged description with classpath.
5710 (getReceiveBufferSize): Merged description with classpath.
5711 (setReceiveBufferSize): Merged description with classpath.
5713 2003-01-04 Tom Tromey <tromey@redhat.com>
5715 * java/awt/List.java: Merged with Classpath.
5717 2003-01-03 Mark Wielaard <mark@klomp.org>
5719 * java/io/FileDescriptor.java (position): New private field.
5720 * java/io/natFileDescriptorPosix.cc (write): Up position.
5721 (setLength): Use and set position.
5722 (seek): Set position.
5723 (getFilePointer): Return position.
5724 (read): Up position.
5726 2003-01-03 Mark Wielaard <mark@klomp.org>
5728 Merge with Classpath:
5729 * java/io/ObjectStreamClass.java (lookup): Split method and call
5730 lookupForClassObject().
5731 (lookupForClassObject): New method.
5732 (isProxyClass): New field.
5733 (setClass): Set isProxyClass, add object to classLookupTable, set
5734 superClass and calculateOffsets.
5735 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5736 and not a proxy class.
5737 (setFields): Set accessible true for serialPersistentFields.
5738 (getClassUID): Same for suid. And check if suid is of type long.
5739 (hasClassInitializer): Don't throw NoSuchMethodError.
5741 2003-01-03 Mark Wielaard <mark@klomp.org>
5743 * java/io/FileInputStream.java (finalize): Don't explicitly
5744 finalize FileDescriptor.
5746 2003-01-03 Jeff Sturm <jsturm@one-point.com>
5748 * configure.host (sparc*-*): Enable bytecode interpreter.
5750 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
5752 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5753 Don't throw RemoteException.
5754 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5755 throw RemoteException.
5757 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
5759 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5760 proxyHost): New static fields.
5761 (<clinit>): Initialize new fields.
5762 (connect): Use proxy if necessary.
5763 (usingProxy): Implement.
5765 2003-01-03 Eric Blake <ebb9@email.byu.edu>
5767 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5768 (TreeIterator.remove): Prefer IllegalStateException over
5769 ConcurrentModificationException, to match Sun.
5771 2002-12-22 Anthony Green <green@redhat.com>
5773 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5775 2003-01-02 Mark Wielaard <mark@klomp.org>
5777 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5779 (HTTP_USE_PROXY): Add field.
5780 (getResponseVals): Only set responseCode when not yet explicitly
5783 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
5784 Mark Wielaard <mark@klomp.org>
5786 * java/util/zip/ZipFile.java (entries): Now HashMap.
5787 (readLeShort(DataInput, byte[])): Read from given byte array.
5788 (readLeInt(DataInput, byte[]): Likewise.
5789 (readLeShort(byte[] b, int off)): New method.
5790 (readLeInt(byte[] b, int off)): Likewise.
5791 (readEntries): Use byte arrays to read info in bigger chunks.
5792 (getEntries): Return HashMap.
5793 (getEntry): Use HashMap.
5794 (locBuf): New private field.
5795 (checkLocalHeader): Use locBuf to read info in one chunk.
5796 (getInputStream): Use entries HashMap, wrap PartialInputStream
5797 in BufferedInputStream.
5798 (ZipEntryEnumeration): Use HashMap and Interator.
5800 2003-01-02 Mark Wielaard <mark@klomp.org>
5801 Jeroen Frijters <jeroen@sumatra.nl>
5803 * java/net/URLClassLoader.java (Resource.getCodeSource):
5804 Fix check certs == null.
5805 (getCanonicalFileURL): Removed method.
5806 (JarURLLoader): Don't call removed method.
5807 (FileURLLoader): Likewise.
5808 (FileURLLoader.getResource): Don't canonicalize file name.
5810 2003-01-01 Tom Tromey <tromey@redhat.com>
5812 * Makefile.in: Rebuilt.
5813 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5814 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5815 java/awt/BufferCapabilities.java, java/awt/Button.java,
5816 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5817 java/awt/Container.java, java/awt/Cursor.java,
5818 java/awt/EventQueue.java, java/awt/FileDialog.java,
5819 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5820 java/awt/MenuBar.java, java/awt/MenuComponent.java,
5821 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5822 java/awt/Scrollbar.java, java/awt/TextArea.java,
5823 java/awt/TextField.java, java/awt/color/CMMException.java,
5824 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5825 java/awt/color/ProfileDataException.java,
5826 java/awt/datatransfer/Clipboard.java,
5827 java/awt/datatransfer/DataFlavor.java,
5828 java/awt/datatransfer/FlavorMap.java,
5829 java/awt/datatransfer/SystemFlavorMap.java,
5830 java/awt/dnd/DragGestureEvent.java,
5831 java/awt/dnd/DragGestureRecognizer.java,
5832 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5833 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5834 java/awt/im/InputMethodHighlight.java,
5835 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5836 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5838 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5839 `op' to BufferedImageOp.
5841 2002-12-31 Tom Tromey <tromey@redhat.com>
5843 Fix for PR libgcj/7416:
5844 * javax/naming/InitialContext.java (init): Use
5845 gnu.classpath.home.url.
5846 * java/security/Security.java: Use new properties.
5847 (loadProviders): Accept base url; use it.
5848 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5849 gnu.classpath.home.url.
5850 (gnu.classpath.home.url): Define.
5851 (gnu.classpath.vm.shortname): Likewise.
5853 2002-12-31 Tom Tromey <tromey@redhat.com>
5854 Ranjit Mathew <rmathew@hotmail.com>
5856 Fix for PR libgcj/8997:
5857 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5859 * include/posix.h (_Jv_platform_usleep): New function.
5860 * include/win32.h (_Jv_platform_usleep): New function.
5862 2002-12-29 Tom Tromey <tromey@redhat.com>
5864 * gcj/javaprims.h: Updated.
5865 * scripts/classes.pl (scan): Removed stray semicolon.
5867 2002-12-30 Mark Wielaard <mark@klomp.org>
5869 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5872 2002-12-30 Mark Wielaard <mark@klomp.org>
5874 * java/util/Properties (formatForOutput): Don't fall through to
5875 default case after escaping character.
5877 2002-12-30 Mark Wielaard <mark@klomp.org>
5879 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5882 2002-12-27 Mark Mitchell <mark@codesourcery.com>
5884 * boehm.cc: Remove stray semicolon.
5885 * interpret.cc: Likewise.
5886 * prims.cc: Likewise.
5887 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5888 earlier to ensure default arguments are processed.
5889 * gcj/array.h (JArray): Add forward declaration.
5890 (elements): Likewise.
5891 * gcj/javaprim.h: Remove stray semicolons.
5892 * include/bohm-gc.h: Likewise.
5893 * include/jni.h: Likewise.
5894 * include/jvm.h: Likewise.
5895 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5897 2002-12-23 Jeff Sturm <jsturm@one-point.com>
5899 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5901 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5902 idt tables after initializing superclass.
5903 * java/lang/natClassLoader.cc (uaddr): New typedef.
5904 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5905 if they are constant pool indicies. Don't link vtable, otable yet.
5907 2002-12-21 Anthony Green <green@redhat.com>
5909 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5911 * Makefile.in: Rebuilt.
5913 2002-12-19 Anthony Green <green@redhat.com>
5915 * Makefile.am (ordinary_java_source_files): Add
5916 org/xml/sax/helpers/NewInstance.java.
5917 * Makefile.in: Rebuilt.
5918 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5919 org/xml/sax/helpers/package.html: New files.
5920 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5921 http://www.saxproject.org.
5923 2002-12-19 Andrew Haley <aph@redhat.com>
5925 * java/util/natResourceBundle.cc: Include
5926 ArrayIndexOutOfBoundsException.h.
5927 (getCallingClassLoader): Don't put upper bound on stack search.
5928 Catch ArrayIndexOutOfBoundsException.
5930 2002-12-19 Tom Tromey <tromey@redhat.com>
5932 * libtool-version: Increased `current'.
5934 2002-12-19 Tom Tromey <tromey@redhat.com>
5936 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5938 * java/lang/ClassLoader.java (defineClass): Use chained
5939 exception when rethrowing.
5940 * defineclass.cc (handleClassBegin): Mark class as interpreted.
5941 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5943 * resolve.cc (_Jv_PrepareMissingMethods): New function.
5944 (_Jv_PrepareClass): Use it.
5945 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5946 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5947 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5948 (Class): _Jv_PrepareMissingMethods now friend.
5949 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5950 Record `NULL' for system class loader.
5951 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
5952 system class loader.
5953 (_Jv_FindClassInCache): Likewise.
5954 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
5955 (_Jv_FindClass): Special case system class loader.
5956 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5957 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5959 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5961 (_getDeclaredMethod): Don't return synthetic methods.
5962 (getDeclaredMethods): Likewise.
5963 (_getMethod): Likewise.
5964 (_getMethods): Likewise.
5966 2002-12-18 Raif Naffah <raif@fl.net.au>
5968 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5969 canonical form after divide().
5970 (modInverse): Likewise.
5972 2002-12-13 Casey Marshall <rsdio@metastatic.org>
5973 Mark Wielaard <mark@klomp.org>
5975 * java/security/SecurityRandom (digest): Removed field.
5976 (SecureRandom): Check all providers for case-insensitive SecureRandom
5977 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5979 (getInstance(String,Provider,boolean): New method.
5980 (getInstance(String)): Use new method.
5981 (getInstance(String,String)): Likewise.
5982 (getInstance(String,Provider)): Likewise.
5984 2002-12-13 Casey Marshall <rsdio@metastatic.org>
5986 * java/security/Security.java (loadProviders): Increment i only once.
5988 2002-12-12 Mark Wielaard <mark@klomp.org>
5990 * java/lang/ClassLoader.java (resolveClass0): Transform
5991 ClassNotFoundException to NoClassDefFoundError. Transform all other
5992 throwables to LinkageError.
5994 2002-12-11 Tom Tromey <tromey@redhat.com>
5996 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5998 * java/lang/ClassLoader.java (loadedClasses): New field.
5999 (defineClass): Fixed indentation. Put new class in
6001 (findLoadedClass): Implement here.
6002 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
6004 2002-12-10 Tom Tromey <tromey@redhat.com>
6006 * Makefile.in: Rebuilt.
6007 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
6008 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
6009 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
6010 * java/lang/natClassLoader.cc
6011 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
6013 2002-12-10 Mark Wielaard <mark@klomp.org>
6014 Tom Tromey <tromey@redhat.com>
6016 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
6017 (JarURLLoader): Use it.
6018 (FileURLLoader): Likewise.
6019 (JarURLResource.getURL): Use chained exception.
6020 (FileResource.getURL): Likewise.
6021 (FileURLLoader.getResource): Use canonical file name.
6022 (addURL): Indentation fix.
6024 2002-12-10 Tom Tromey <tromey@redhat.com>
6026 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
6027 From Laurent Bardet <l.bardet@magic.fr>.
6029 2002-12-09 Tom Tromey <tromey@redhat.com>
6031 * include/win32.h (_Jv_platform_solib_prefix): New define.
6032 (_Jv_platform_solib_suffix): Likewise.
6033 * include/posix.h (_Jv_platform_solib_prefix): New define.
6034 (_Jv_platform_solib_suffix): Likewise.
6035 * java/lang/natRuntime.cc: Include StackTrace.h.
6036 (_load): Use findLibrary and new platform defines.
6037 (nativeGetLibname): Use new platform defines.
6039 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
6042 2002-12-08 Mark Wielaard <mark@klomp.org>
6044 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
6045 cache remote jar files.
6046 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
6047 add File.separator to URL when it is a directory.
6048 * java/lang/ClassLoader.java: Add Classpath javadoc.
6050 (getParent): Add (disabled) security check.
6051 (findLibrary): New default method.
6052 * java/net/JarURLConnection.java (getManifest): Implement.
6053 (getInputStream): Only create InputStream when entry exists.
6054 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
6056 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
6058 2002-12-08 Mark Wielaard <mark@klomp.org>
6060 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
6061 (lastDefaultLocale): New field.
6062 (getBundle): When Locale.getDefault != lastDefaultLocale reset
6063 resourceBundleCache.
6065 2002-12-06 Mark Wielaard <mark@klomp.org>
6067 * java/net/InetAddress.java (toString): Use hostname when not null,
6068 don't do an explicit reverse getHostName() lookup.
6069 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
6070 NullPointerException.
6072 2002-12-06 Tom Tromey <tromey@redhat.com>
6074 * include/java-interp.h (class _Jv_InterpMethod): Added
6076 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
6077 mark `prepared' field of interpreted method.
6078 * interpret.cc (compile): Use _Jv_AllocBytes.
6080 2002-12-05 Andrew Haley <aph@redhat.com>
6082 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
6083 #ifdef (HAVE_BACKTRACE) around the whole function body.
6085 2002-12-05 Tom Tromey <tromey@redhat.com>
6087 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6088 * resolve.cc: Don't include AbstractMethodError.h.
6089 (_Jv_abstractMethodError): Removed.
6090 * defineclass.cc (handleMethodsBegin): Initialize method index to
6092 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6093 method index for "new" final method.
6094 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6095 isVirtualMethod. Added `flags' argument.
6096 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6099 2002-12-04 Tom Tromey <tromey@redhat.com>
6101 * java/net/SocketPermission.java (hashCode): Rewrote.
6103 2002-12-04 Tom Tromey <tromey@redhat.com>
6105 * Makefile.in: Rebuilt.
6106 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6108 * java/util/ResourceBundle.java (Security): Removed.
6109 (getCallingClassLoader): Now native.
6110 * java/util/natResourceBundle.cc: New file.
6111 * java/lang/natVMSecurityManager.cc: New file.
6112 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6114 2002-12-03 Mark Wielaard <mark@klomp.org>
6116 * java/util/jar/JarFile.java (manifest): Not final.
6117 (manifestRead): New field.
6118 (JarFile): Don't read Manifest in constructor.
6119 (getManifest): New method.
6120 (JarEnumeration.nextElement): Use new method.
6121 (getEntry): Likewise.
6122 * java/util/zip/ZipFile.java (name): Final.
6124 (entries): Change type to Hashtable.
6125 (closed): New field.
6126 (ZipFile): Don't read enties in constructor.
6127 (readEntries): Use Hashtable.
6128 (close): Set new close flag and set entries to null inside
6130 (entries): Contruct enumeration using new getEntries() method and
6132 (getEntryIndex): Removed.
6133 (getEntries): New method.
6134 (getEntry): Use new getEntries() method and entries Hastable.
6135 (getInputStream): Likewise.
6136 (size): Return getEntries().size().
6137 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6138 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6140 (dostime): New field.
6141 (zipFileIndex): Removed.
6142 (ZipEntry(ZipEntry)): Copy dostime.
6143 (setDOSTime): Now final and doesn't convert dos time.
6144 (getDOSTime): Likewise.
6145 (setTime): Convert dos time.
6146 (getTime): Likewise.
6147 (getCalendar): New method.
6148 (setExtra): Use setTime().
6149 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6151 2002-12-03 Tom Tromey <tromey@redhat.com>
6153 * java/lang/Character.java (forDigit): Formatting fix.
6155 2002-12-03 Raif Naffah <raif@fl.net.au>
6157 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6158 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6159 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6161 2002-12-03 Andrew Haley <aph@redhat.com>
6163 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6165 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6166 (_Jv_PopClass): New.
6167 (_Jv_PushClass): New.
6168 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6169 discover the ClassLoader of our caller.
6170 (_Jv_CheckArrayStore): Don't check that a class is assignment
6171 compatible with Object.
6172 * java/lang/natVMTHrowable.cc: Delete.
6173 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6174 java.lang.VMThrowable.
6175 (StackTrace(), StackTrace(int)): New constructors.
6176 (classAt, methodAt, update, methodAtAddress): New methods.
6178 * java/lang/VMThrowable.java: Use StackTrace instead of
6180 * java/lang/Class.h (getClassLoaderInternal): New.
6181 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6182 Be friendly with gnu::gcj::runtime::StackTrace.
6183 (Object.chain): New field.
6184 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6185 gnu::gcj::runtime::StackTrace.
6186 * gnu/gcj/runtime/natStackTrace.cc: New file.
6187 * gnu/gcj/runtime/MethodRef.java: New file.
6188 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6189 instead of getClassLoader().
6190 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6191 java::lang::VMThrowable.
6192 * Makefile.am (core_java_source_files): Add MethodRef.java,
6194 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6195 * Makefile.in: Rebuild.
6197 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6199 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6200 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6201 yes also for sh-linux* and sh[34]*-linux*.
6202 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6203 set SIGNAL_HANDLER to use DWARF2 exception for them.
6204 * configure: Regenerate.
6206 2002-12-02 Tom Tromey <tromey@redhat.com>
6208 * jni.cc: Added `name' argument.
6209 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6210 `const char *' argument.
6211 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6213 2002-12-01 Tom Tromey <tromey@redhat.com>
6215 Bug compatibility, for PR libgcj/8738:
6216 * java/io/CharArrayWriter.java (close): Do nothing.
6218 (reset): Don't touch `closed'.
6219 (write(int)): Don't throw IOException.
6220 (write(char[],int,int)): Likewise.
6221 (write(String,int,int)): Likewise.
6224 2002-12-01 Mark Wielaard <mark@klomp.org>
6226 * java/lang/SecurityManager.java: Remerge comments, indenting and
6227 checkXXX methods with Classpath.
6229 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6231 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6232 getNormalizedComponents): Fix calculation which was using one too
6233 many bits in the unnormalized format.
6235 2002-11-29 Gary Benson <gbenson@redhat.com>
6238 * java/beans/Introspector.java (flushCaches): New method.
6239 (flushFromCaches): Likewise.
6241 2002-11-29 Michael Koch <konqueror@gmx.de>
6243 * java/nio/channels/DatagramChannel.java
6244 (open): Added exception documentation.
6245 (write): Added exception documentation.
6246 (connect): Added exception documentation.
6247 (disconnect): Added exception documentation.
6248 (isConnected): Added exception documentation.
6249 (read): Added exception documentation.
6250 (receive): Added exception documentation.
6251 (send): Added exception documentation.
6252 (validOps): Added exception documentation.
6253 * java/nio/channels/SocketChannel.java
6254 (open): Added exception documentation.
6255 (read): Added exception documentation.
6256 (write): Added exception documentation.
6257 (connect): Added exception documentation.
6258 (finishConnect): Added exception documentation.
6260 2002-11-29 Michael Koch <konqueror@gmx.de>
6262 * gnu/java/nio/DatagramChannelImpl:
6263 (fd): New member variable to store file descriptor of socket.
6264 * gnu/java/nio/SelectionKeyImpl.java:
6266 (readyOps): New member variable.
6267 (interestOps): New member variable.
6268 (readyOps): Implemented.
6269 (readyOps): New method to set member variable readyOps.
6270 (interestOps): Replaced ops by interestOps.
6271 * gnu/java/nio/SelectorImpl.java:
6272 (SelectorImpl): Initialize key sets.
6273 (select): Call select with -1 instead of Long.MAX_VALUE).
6274 (java_do_select): Make it a native method.
6275 (getFDsAsArray): New helper method.
6276 (select): Remove canceled keys, give only interested file discriptors
6277 to java_do_select, set ready ops.
6278 (add): No need to initialize keys set here.
6279 (add_selected): No need to initialize selected set here.
6280 (deregisterCanceledKeys): New helper method.
6281 (register): Set interest ops, set attachments, added handling of datagram
6283 * gnu/java/nio/ServerSocketChannelImpl:
6284 (SocketAccept): Renamed from NioSocketAccept.
6285 (implConfigureBlocking): Implemented.
6286 (accept): Use SocketAccept instead of NioSocketAccept.
6287 * gnu/java/nio/SocketChannelImpl:
6288 Reactivate native methods.
6290 2002-11-29 Michael Koch <konqueror@gmx.de>
6292 * gnu/java/nio/natByteBufferImpl.cc,
6293 gnu/java/nio/natCharBufferImpl.cc,
6294 gnu/java/nio/natDoubleBufferImpl.cc,
6295 gnu/java/nio/natFloatBufferImpl.cc,
6296 gnu/java/nio/natIntBufferImpl.cc,
6297 gnu/java/nio/natLongBufferImpl.cc,
6298 gnu/java/nio/natSelectorImpl.cc,
6299 gnu/java/nio/natServerSocketChannelImpl.cc,
6300 gnu/java/nio/natShortBufferImpl.cc,
6301 gnu/java/nio/natSocketChannelImpl.cc:
6302 New files that implement native functionalities.
6304 2002-11-29 Michael Koch <konqueror@gmx.de>
6306 * gnu/java/nio/ByteBufferImpl.java
6307 (ByteBufferImpl): Moved position() after limit.
6308 (nio_*): Use native implementation.
6309 * gnu/java/nio/CharBufferImpl.java:
6311 (endian): New member variable string endianess of buffer.
6312 (CharBufferImpl): Moved position() after limit.
6313 (nio_*): Use native implementation.
6314 (subSequence): Implemented.
6315 * gnu/java/nio/DoubleBufferImpl.java
6316 (DoubleBufferImpl): Moved position() after limit.
6317 (nio_*): Use native implementation.
6318 * gnu/java/nio/FloatBufferImpl.java
6320 (FloatBufferImpl): Moved position() after limit.
6321 (nio_*): Use native implementation.
6322 * gnu/java/nio/IntBufferImpl.java
6323 Added needed imports, Reformated.
6324 (IntBufferImpl): Moved position() after limit.
6325 (nio_*): Use native implementation.
6326 * gnu/java/nio/LongBufferImpl.java
6328 (LongBufferImpl): Moved position() after limit.
6329 (nio_*): Use native implementation.
6330 * gnu/java/nio/ShortBufferImpl.java
6332 (ShortBufferImpl): Moved position() after limit.
6333 (nio_*): Use native implementation.
6335 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6337 * java/util/Locale.java (toString): Improve efficiency if country
6338 and variant are both empty.
6340 2002-11-26 Tom Tromey <tromey@redhat.com>
6342 * verify.cc (pop_init_ref): New method.
6343 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6344 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6345 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6346 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6347 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6348 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6349 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6350 let `this' argument be uninitialized. Don't let `null' be passed
6351 as `this' to construtor.
6353 2002-11-26 Mark Wielaard <mark@klomp.org>
6355 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6356 * javax/transaction/HeuristicMixedException.java: Likewise.
6357 * javax/transaction/HeuristicRollbackException.java: Likewise.
6358 * javax/transaction/InvalidTransactionException.java: Likewise.
6359 * javax/transaction/NotSupportedException.java: Likewise.
6360 * javax/transaction/RollbackException.java: Likewise.
6361 * javax/transaction/Status.java: Likewise.
6362 * javax/transaction/Synchronization.java: Likewise.
6363 * javax/transaction/SystemException.java: Likewise.
6364 * javax/transaction/Transaction.java: Likewise.
6365 * javax/transaction/TransactionManager.java: Likewise.
6366 * javax/transaction/TransactionRequiredException.java: Likewise.
6367 * javax/transaction/TransactionRolledbackException.java: Likewise.
6368 * javax/transaction/UserTransaction.java: Likewise.
6369 * javax/transaction/xa/XAException.java: Likewise.
6370 * javax/transaction/xa/XAResource.java: Likewise.
6371 * javax/transaction/xa/Xid.java: Likewise.
6373 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6375 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6377 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6378 * include/posix.h (socklen_t): Define if not already defined.
6380 2002-11-25 Tom Tromey <tromey@redhat.com>
6382 * verify.cc (type::compatible): Backed out broken change.
6384 * verify.cc (type::compatible): Check initialization status
6386 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6387 Don't use NULLCHECK.
6389 2002-11-23 H.J. Lu <hjl@gnu.org>
6391 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6392 Include ../config/accross.m4.
6393 * aclocal.m4; Rebuild.
6394 * configure: Likewise.
6396 2002-11-23 Mark Wielaard <mark@klomp.org>
6398 * javax/naming/AuthenticationException.java: Update copyright header.
6399 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6400 * javax/naming/Binding.java: Likewise.
6401 * javax/naming/CannotProceedException.java: Likewise.
6402 * javax/naming/CommunicationException.java: Likewise.
6403 * javax/naming/CompositeName.java: Likewise.
6404 * javax/naming/CompoundName.java: Likewise.
6405 * javax/naming/ConfigurationException.java: Likewise.
6406 * javax/naming/Context.java: Likewise.
6407 * javax/naming/ContextNotEmptyException.java: Likewise.
6408 * javax/naming/InitialContext.java: Likewise.
6409 * javax/naming/InsufficientResourcesException.java: Likewise.
6410 * javax/naming/InterruptedNamingException.java: Likewise.
6411 * javax/naming/LimitExceededException.java: Likewise.
6412 * javax/naming/LinkException.java: Likewise.
6413 * javax/naming/LinkLoopException.java: Likewise.
6414 * javax/naming/LinkRef.java: Likewise.
6415 * javax/naming/MalformedLinkException.java: Likewise.
6416 * javax/naming/NameAlreadyBoundException.java: Likewise.
6417 * javax/naming/NameClassPair.java: Likewise.
6418 * javax/naming/NameNotFoundException.java: Likewise.
6419 * javax/naming/NameParser.java: Likewise.
6420 * javax/naming/NamingEnumeration.java: Likewise.
6421 * javax/naming/NamingSecurityException.java: Likewise.
6422 * javax/naming/NoInitialContextException.java: Likewise.
6423 * javax/naming/NoPermissionException.java: Likewise.
6424 * javax/naming/NotContextException.java: Likewise.
6425 * javax/naming/OperationNotSupportedException.java: Likewise.
6426 * javax/naming/PartialResultException.java: Likewise.
6427 * javax/naming/Reference.java: Likewise.
6428 * javax/naming/Referenceable.java: Likewise.
6429 * javax/naming/ReferralException.java: Likewise.
6430 * javax/naming/ServiceUnavailableException.java: Likewise.
6431 * javax/naming/SizeLimitExceededException.java: Likewise.
6432 * javax/naming/TimeLimitExceededException.java: Likewise.
6433 * javax/naming/directory/Attribute.java: Likewise.
6434 * javax/naming/directory/AttributeInUseException.java: Likewise.
6435 * javax/naming/directory/AttributeModificationException.java: Likewise.
6436 * javax/naming/directory/Attributes.java: Likewise.
6437 * javax/naming/directory/BasicAttribute.java: Likewise.
6438 * javax/naming/directory/BasicAttributes.java: Likewise.
6439 * javax/naming/directory/DirContext.java: Likewise.
6440 * javax/naming/directory/InitialDirContext.java: Likewise.
6441 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6443 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6444 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6445 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6446 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6447 * javax/naming/directory/ModificationItem.java: Likewise.
6448 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6449 * javax/naming/directory/SchemaViolationException.java: Likewise.
6450 * javax/naming/directory/SearchControls.java: Likewise.
6451 * javax/naming/directory/SearchResult.java: Likewise.
6452 * javax/naming/event/EventContext.java: Likewise.
6453 * javax/naming/event/EventDirContext.java: Likewise.
6454 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6455 * javax/naming/event/NamingEvent.java: Likewise.
6456 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6457 * javax/naming/event/NamingListener.java: Likewise.
6458 * javax/naming/event/ObjectChangeListener.java: Likewise.
6459 * javax/naming/ldap/Control.java: Likewise.
6460 * javax/naming/ldap/ControlFactory.java: Likewise.
6461 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6462 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6463 * javax/naming/ldap/HasControls.java: Likewise.
6464 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6465 * javax/naming/ldap/LdapContext.java: Likewise.
6466 * javax/naming/ldap/LdapReferralException.java: Likewise.
6467 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6468 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6469 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6470 * javax/naming/spi/DirObjectFactory.java: Likewise.
6471 * javax/naming/spi/DirStateFactory.java: Likewise.
6472 * javax/naming/spi/DirectoryManager.java: Likewise.
6473 * javax/naming/spi/InitialContextFactory.java: Likewise.
6474 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6475 * javax/naming/spi/NamingManager.java: Likewise.
6476 * javax/naming/spi/ObjectFactory.java: Likewise.
6477 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6478 * javax/naming/spi/ResolveResult.java: Likewise.
6479 * javax/naming/spi/Resolver.java: Likewise.
6480 * javax/naming/spi/StateFactory.java: Likewise.
6482 * javax/naming/spi/NamingManager.java (ofb): Package private.
6484 2002-11-21 Mark Wielaard <mark@klomp.org>
6486 * java/net/URL.java: Merge with Classpath (partly).
6487 * java/net/URLStreamHandler: Merge with Classpath.
6489 2002-11-22 Michael Koch <konqueror@gmx.de>
6492 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6494 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6495 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6497 2002-11-21 Michael Koch <konqueror@gmx.de>
6499 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6500 Only the new network functions should be in it.
6502 2002-11-21 Michael Koch <konqueror@gmx.de>
6504 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6505 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6507 2002-11-21 Michael Koch <konqueror@gmx.de>
6509 * java/nio/channels/AsynchronousCloseException.java,
6510 java/nio/channels/CancelledKeyException.java,
6511 java/nio/channels/ClosedByInterruptException.java,
6512 java/nio/channels/ConnectionPendingException.java,
6513 java/nio/channels/FileLockInterruptionException.java,
6514 java/nio/channels/IllegalSelectorException.java,
6515 java/nio/channels/NoConnectionPendingException.java,
6516 java/nio/channels/NonReadableChannelException.java,
6517 java/nio/channels/NonWritableChannelException.java,
6518 java/nio/channels/NotYetBoundException.java,
6519 java/nio/channels/NotYetConnectedException.java,
6520 java/nio/channels/OverlappingFileLockException.java,
6521 java/nio/channels/UnresolvedAddressException.java,
6522 java/nio/channels/UnsupportedAddressTypeException.java:
6524 * Makefile.am (ordinary_java_source_files): Added new files.
6525 * Makefile.in: Regenerated.
6527 2002-11-21 Michael Koch <konqueror@gmx.de>
6530 (_Jv_socket): New method.
6531 (_Jv_connect): New method.
6532 (_Jv_close): New method.
6533 (_Jv_platform_close_on_exec): Prefixed system function with "::".
6534 (_Jv_bind): New method.
6535 (_Jv_listen): New method.
6536 (_Jv_write): New method.
6537 (_Jv_read): New method.
6539 (_Jv_socket): New method.
6540 (_Jv_connect): New method.
6541 (_Jv_close): New method.
6542 (_Jv_bind): New method.
6543 (_Jv_listen): New method.
6544 (_Jv_write): New method.
6545 (_Jv_read): New method.
6546 * java/net/natNetworkInterface.cc:
6547 Include platform.h, removed inclusion of socket.h
6548 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6549 ::close() by _Jv_close().
6550 * java/net/natPlainDatagramSocketImpl.cc:
6551 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6552 added some new lines to make code more readable.
6553 (create): Replaced ::socket() by _Jv_socket().
6554 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6555 * java/net/natPlainSocketImpl.cc:
6556 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6557 removed include of socket.h, removed some windows defines
6558 (now in include/win32.h).
6559 (create): Replaced ::socket() by _Jv_socket().
6560 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6561 (write): Replaced ::read by _Jv_write().
6562 (read): Replaced ::read by _Jv_read().
6564 2002-11-20 Michael Koch <konqueror@gmx.de>
6566 * Makefile.am (ordinary_java_source_files):
6567 Added java/nio/channels/FileChannel.java.
6568 * Makefile.in: Regenerated.
6570 2002-11-20 Michael Koch <konqueror@gmx.de>
6572 * java/io/FileInputStream.java
6573 (getChannel): New method.
6574 * java/io/FileOutputStream.java
6575 (getChannel): New method.
6576 * java/net/ServerSocket.java
6577 (bind): Removed duplicate code and called another bind method instead.
6578 * java/nio/channels/SelectionKey.java
6579 (isValid): Removed wrong exception documentation.
6580 * java/nio/channels/ServerSocketChannel.java
6581 (accept): Added exception documentation.
6582 (open): Fixed typo, added exception documentation.
6583 * java/nio/channels/spi/AbstractSelectableChannel.java
6584 (implCloseChannel): Added exception documentation.
6586 (register): Added exception documentation.
6588 2002-11-20 Andreas Jaeger <aj@suse.de>
6590 * configure: Regenerated with new libtool.m4.
6592 2002-11-19 Tom Tromey <tromey@redhat.com>
6594 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6596 (finalize_referred_to_object): Don't modify `referent' or `copy'
6598 (add_to_hash): Correctly set `n->next' when updating list.
6599 * java/lang/ref/Reference.java (enqueue): Return false if already
6602 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
6604 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6605 to function and function pointer declarations in accordance with
6606 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6607 based on whether __GCJ_JNI_IMPL__ has been defined or not.
6608 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6609 JNI function definitions.
6611 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6613 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6614 that was causing CoderResults to be cached, not WeakReferences
6617 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6619 * java/security/KeyStore.java (getInstance): Fix
6620 comment and throw IllegalArgumentException if
6621 given provider is null.
6622 (getInstance): New method for jdk1.4 compatibility.
6624 2002-11-18 Michael Koch <konqueror@gmx.de>
6626 * java/net/PlainSocketImpl.java: Fix imports.
6628 2002-11-18 Michael Koch <konqueror@gmx.de>
6630 * java/nio/channels/SelectionKey.java
6631 (isValid): Added exception documentation.
6632 * java/nio/channels/Selector.java
6633 (open): Declare "throws IOException".
6635 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6637 * java/nio/charset/Charset.java
6638 (<clinit>): New method.
6639 (encode): Synchronize use of cached encoder object.
6640 (decode): Synchronize use of cached encoder object.
6642 2002-11-18 Michael Koch <konqueror@gmx.de>
6644 * gnu/java/nio/ByteBufferImpl.java,
6645 gnu/java/nio/CharBufferImpl.java,
6646 gnu/java/nio/DatagramChannelImpl.java,
6647 gnu/java/nio/DoubleBufferImpl.java,
6648 gnu/java/nio/FileChannelImpl.java,
6649 gnu/java/nio/FloatBufferImpl.java,
6650 gnu/java/nio/IntBufferImpl.java,
6651 gnu/java/nio/LongBufferImpl.java,
6652 gnu/java/nio/PipeImpl.java,
6653 gnu/java/nio/SelectionKeyImpl.java,
6654 gnu/java/nio/SelectorImpl.java,
6655 gnu/java/nio/SelectorProviderImpl.java,
6656 gnu/java/nio/ServerSocketChannelImpl.java,
6657 gnu/java/nio/ShortBufferImpl.java,
6658 gnu/java/nio/SocketChannelImpl.java,
6659 java/nio/DoubleBuffer.java,
6660 java/nio/FloatBuffer.java,
6661 java/nio/IntBuffer.java,
6662 java/nio/LongBuffer.java,
6663 java/nio/ShortBuffer.java,
6664 java/nio/channels/FileChannel.java: New files.
6666 2002-11-18 Michael Koch <konqueror@gmx.de>
6668 * Makefile.am (ordinary_java_source_files):
6669 Added java/nio/ReadOnlyBufferException.java and
6670 java/nio/channels/ClosedSelectorException.java.
6671 * Makefile.in: Regenerated.
6673 2002-11-18 Michael Koch <konqueror@gmx.de>
6675 * java/net/PlainSocketImpl.java: Reworked imports.
6676 * java/net/ServerSocket.java
6677 (ServerSocket): Create socket.
6678 * java/net/SocketAddress.java: Documentation added.
6679 * java/net/natPlainSocketImpl.cc: Reindented.
6680 * java/nio/ReadOnlyBufferException.java: New file
6681 * java/nio/channels/ClosedChannelException.java: Documentation added.
6682 * java/nio/channels/ClosedSelectorException.java: New file.
6684 2002-11-17 Mark Wielaard <mark@klomp.org>
6686 * java/net/HttpURLConnection.java ((getPermission): Take port
6688 (getErrorStream): Implement.
6690 2002-11-17 Mark Wielaard <mark@klomp.org>
6692 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6694 2002-11-16 Mark Wielaard <mark@klomp.org>
6696 Integrate work by Raif S. Naffah (raif@fl.net.au)
6697 * java/security/DummyKeyPairGenerator.java (clone): New method.
6698 * java/security/DummyMessageDigest.java (clone): New method.
6699 (engineUpdate): Now public.
6700 (engineReset): Likewise.
6701 (engineDigest): Likewise.
6702 (engineGetDigestLength): New method.
6703 * java/security/DummySignature.java (clone): New method.
6704 * java/security/KeyPairGenerator.java (provider): Now package private.
6705 (getInstance(String)): Use getInstance(String,Provider).
6706 (getInstance(String,String): Use getInstance(String,Provider)
6707 (getInstance(String,Provider): New method.
6708 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6709 * java/security/KeyPairGeneratorSpi.java (clone): New method.
6710 * java/security/MessageDigest.java (provider): Now package private.
6711 (getInstance(String): Use getInstance(String,Provider).
6712 (getInstance(String,String): Use getInstance(String,Provider)
6713 (getInstance(String,Provider): New method.
6714 * java/security/Provider.java (toCanonicalKey): New method.
6715 (get): New method that uses toCanonicalKey().
6716 (put): Use toCanonicalKey().
6718 * java/security/Security.java (insertProviderAt): Provider index is one
6719 based, not zero based.
6720 (addProvider): Likewise.
6721 (removeProvider): Likewise.
6722 * java/security/Signature.java (provider): Now package private.
6723 (getInstance(String)): Use getInstance(String,Provider).
6724 (getInstance(String,String): Use getInstance(String,Provider)
6725 (getInstance(String,Provider): New method.
6726 (getInstance(String,String,Provider): Don't cast DummySignature.
6728 2002-11-15 Tom Tromey <tromey@redhat.com>
6731 * java/util/zip/GZIPInputStream.java (read): Check file size.
6732 Look in inflater for remaining input bytes.
6733 (read4): Added buf and offset arguments.
6735 2002-11-12 Eric Blake <ebb9@email.byu.edu>
6737 * java/applet/AppletContext.java: Fix typo and remove redundant
6740 2002-11-14 Tom Tromey <tromey@redhat.com>
6742 * java/lang/natRuntime.cc (insertSystemProperties): Set
6745 2002-11-13 Michael Koch <konqueror@gmx.de>
6747 * java/nio/ByteBuffer.java
6748 (allocate): New method.
6753 2002-11-13 Michael Koch <konqueror@gmx.de>
6755 * java/nio/channels/AlreadyConnectedException.java:
6756 Removed unneeded import.
6757 (AlreadyConnectedException): Documentation added.
6758 * java/nio/channels/Pipe.java
6759 (SinkChannel.SinkChannel): Documentation added.
6760 (SinkChannel.validOps): New method.
6761 (SourceChannel.SourceChannel): Documentation added.
6762 (SourceChannel.validOps): New method.
6763 (Pipe): Documentation added.
6764 (open): Documentation added.
6765 (SinkChannel.channel): Documentation added.
6766 (SourceChannel.channel): Documentation added.
6767 * java/nio/channel/SelectableChannel.java
6768 (SelectableChannel): Documentation added.
6769 (blockingLock): Documentation added.
6770 (configureBlocking):Documentation added.
6771 (isBlocking):Documentation added.
6772 (isRegistered):Documentation added.
6773 (keyFor):Documentation added.
6774 (provider):Documentation added.
6775 (register): Documentation added.
6776 (validOps): Documentation added.
6777 * jaba/nio/channels/SelectionKey.java
6778 (SelectionKey): Documentation added.
6779 (attach): Documentation added.
6780 (attachment): Documentation added.
6781 (isAcceptable): Documentation added.
6782 (isConnetable): Documentation added.
6783 (isReadable): Documentation added.
6784 (isWritable): Documentation added.
6785 (cancel): Documentation added.
6786 (channel): Documentation added.
6787 (interestOps): Documentation added.
6788 (isValid): Documentation added.
6789 (readyOps): Documentation added.
6790 (selector): Documentation added.
6791 * jaba/nio/channels/Selector.java
6792 (Selector): Documentation added.
6793 (open): Documentation added.
6794 (close): Documentation added.
6795 (isOpen): Documentation added.
6796 (keys): Documentation added.
6797 (provider): Documentation added.
6798 (select): Documentation added.
6799 (selectedKeys): Documentation added.
6800 (selectNow): Documentation added.
6801 (wakeup): Documentation added.
6802 * java/nio/channels/spi/AbstractInterruptibleChannel.java
6803 (AbstractInterruptibleChannel): Documentation added.
6804 (opened): Default to true;
6805 (begin): Documentation added.
6806 (close): Set opened to false, documentation added.
6807 (isOpen): Documentation added.
6808 * java/nio/channels/spi/AbstractSelectionKey.java
6809 (AbstractSelectionKey): Documentation added.
6810 (cancel): Documentation added.
6811 (isValid): Documentation added.
6812 * java/nio/channels/spi/AbstractSelector.java
6813 (AbstractSelector): Documentation added.
6814 (begin): Documentation added.
6815 (close): Documentation added.
6816 (isOpen): Documentation added.
6817 (deregister): Documentation added.
6818 (end): Documentation added.
6819 (provider): Documentation added.
6820 (implCloseSelector): Documentation added.
6821 (register): Documentation added.
6822 * java/nio/channels/spi/SelectorProvider.java
6823 (SelectorProvider): Documentation added.
6824 (openDatagramChannel): Documentation added.
6825 (openPipe): Documentation added.
6826 (openSelector): Documentation added.
6827 (openServerSocketChannel): Documentation added.
6828 (openSocketChannel): Documentation added.
6829 (provider): Documentation added.
6831 2002-11-12 Michael Koch <konqueror@gmx.de>
6833 * java/nio/Buffer.java: Implemented.
6834 * java/nio/CharBuffer.java: New file.
6835 * java/nio/InvalidMarkException.java: New file.
6836 * java/nio/channels/DatagramChannel.java: Implemented.
6837 * java/nio/channels/ServerSocketChannel.java: Implemented.
6838 * java/nio/channels/SocketChannel.java: Implemented.
6839 * java/nio/channels/spi/AbstractChannel.java: Removed.
6840 * java/nio/channels/spi/AbstractSelectableChannel.java:
6842 * java/nio/charset/Charset.java:
6843 Merge from Classpath.
6844 * java/nio/charset/CharsetDecoder.java: New file.
6845 * java/nio/charset/CharsetEncoder.java: New file.
6846 * java/nio/charset/CoderResult.java: New file.
6847 * Makefile.am (ordinary_java_source_files): Added new files.
6848 * Makefile.in: Regenerated.
6850 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6852 * gnu/java/nio/charset/ISO_8859_1.java,
6853 gnu/java/nio/charset/Provider.java,
6854 gnu/java/nio/charset/US_ASCII.java,
6855 gnu/java/nio/charset/UTF_16.java,
6856 gnu/java/nio/charset/UTF_16BE.java,
6857 gnu/java/nio/charset/UTF_16Decoder.java,
6858 gnu/java/nio/charset/UTF_16Encoder.java,
6859 gnu/java/nio/charset/UTF_16LE.java,
6860 gnu/java/nio/charset/UTF_8.java: New files.
6862 2002-11-11 Michael Koch <konqueror@gmx.de>
6864 * java/nio/charset/CharacterCodingException.java:
6865 This class must be public.
6866 * java/nio/charset/CoderMalfunctionError.java:
6867 This class must be public.
6868 * java/nio/charset/CodingErrorAction.java:
6869 This class must be public.
6870 * java/nio/charset/IllegalCharsetNameException.java:
6871 This class must be public, better implementation.
6872 * java/nio/charset/MalformedInputException.java:
6873 This class must be public, better implementation.
6874 * java/nio/charset/UnmappableCharacterException.java:
6875 This class must be public, better implementation.
6876 * java/nio/charset/UnsupportedCharsetException.java:
6877 This class must be public, better implementation.
6879 2002-11-11 Michael Koch <konqueror@gmx.de>
6881 * java/nio/BufferOverflowException.java,
6882 java/nio/BufferUnderflowException.java: New file.
6883 * Makefile.am (ordinary_java_source_files):
6885 * Makefile.in: Regenerated.
6887 2002-11-10 Tom Tromey <tromey@redhat.com>
6889 * java/awt/Container.java (validate): Use tree lock.
6890 (getComponent): Likewise.
6891 (getComponents): Likewise.
6892 (addImpl): Likewise.
6894 (removeAll): Likewise.
6895 (processEvent): Fixed indentation.
6896 (getComponentAt): Use tree lock.
6897 (findComponentAt): Likewise.
6898 (removeNotify): Likewise.
6899 (isAncestorOf): Likewise.
6901 (visitChildren): Likewise.
6902 (findNextFocusComponent): Likewise.
6903 (addNotifyContainerChildren): Likewise.
6904 (getAccessibleChildrenCount): Likewise.
6905 (getAccessibleChild): Likewise.
6907 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6908 (getSize): Likewise.
6909 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6910 (getSize): Likewise.
6911 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6912 (calcSize): Likewise.
6913 * java/awt/CardLayout.java (getSize): Use tree lock.
6914 (gotoComponent): Likewise.
6915 (layoutContainer): Likewise.
6917 * java/io/natFileDescriptorWin32.cc (read): Handle case where
6919 * java/io/natFileDescriptorPosix.cc (read): Handle case where
6922 * java/io/Externalizable.java, java/io/FilePermission.java,
6923 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6924 java/io/SerializablePermission.java, java/text/Format.java,
6925 java/util/AbstractMap.java, java/util/HashMap.java,
6926 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6927 versions from Classpath.
6929 2002-11-10 Anthony Green <green@redhat.com>
6931 * java/util/jar/Attributes.java (Name): Fix name check.
6933 2002-11-10 Mark Wielaard <mark@klomp.org>
6935 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6936 with getName() as message.
6937 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6940 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6943 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
6945 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6946 for Win32. JNICALL has been defined to __stdcall to be compatible
6949 2002-11-10 Tom Tromey <tromey@redhat.com>
6951 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6952 (setRows): Check newRows, not rows.
6954 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6956 2002-11-09 Tom Tromey <tromey@redhat.com>
6958 * java/applet/Applet.java, java/applet/AppletContext.java,
6959 java/applet/AppletStub.java, java/applet/AudioClip.java,
6960 java/awt/CardLayout.java,
6961 java/awt/ContainerOrderFocusTraversalPolicy.java,
6962 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6963 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6964 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6965 java/awt/color/ICC_ColorSpace.java,
6966 java/awt/color/ICC_Profile.java,
6967 java/awt/color/ICC_ProfileGray.java,
6968 java/awt/color/ICC_ProfileRGB.java,
6969 java/awt/datatransfer/DataFlavor.java,
6970 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6971 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6972 New versions from Classpath.
6973 * Makefile.in: Rebuilt.
6974 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6977 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6980 * java/awt/List.java (processEvent): Added missing `else's.
6982 * java/awt/Window.java (show): validate() before showing. Make
6984 (isDisplayable): New method.
6986 2002-11-07 Mark Wielaard <mark@klomp.org>
6988 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6989 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6991 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6993 (loadClass): Take String as codebases.
6994 (getClassAnnotation): Use MyClassLoader annotations.
6995 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6996 call exportObject(this).
6998 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6999 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
7000 (setAnnotation): Don't set locBytesStream and locStream.
7001 (replaceObject): Removed.
7002 (flush): Don't test locStream.
7003 (getLocBytes): LikeWise.
7004 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
7005 (leaseCache): New field.
7006 (dirty): Use leaseCache.
7007 (LeaseRecord): New inner class.
7008 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
7009 explicitly call exportObject().
7010 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
7011 false to communicate with Sun JDK130.
7012 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
7013 * gnu/java/rmi/server/RMIObjectInputStream.java
7014 (UnicastConnectionManager): Removed field.
7015 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
7016 Use UnicastServer.getExportedRef().
7017 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
7018 (expireTime): Likewise.
7019 (CONNECTION_TIMEOUT): Likewise.
7020 (disconnect): Call sock.close().
7021 (isExpired): New method.
7022 (resetTime): Likewise.
7023 (run): Use do while loop and catch Exception for discardConnection().
7024 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
7025 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
7026 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
7027 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
7028 (exportObject): Use refcache.
7029 (unexportObject): Likewise.
7030 (getExportedRef): New method.
7031 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
7033 (exportObject): Save manager.serverobj.
7034 (getStub): New method.
7036 2002-11-07 Mark Wielaard <mark@klomp.org>
7038 * java/lang/reflect/natField.cc (getBoolean): Use getType().
7039 (getByte): Likewise.
7040 (getShort): Likewise.
7042 (getLong): Likewise.
7043 (getFloat): Likewise.
7044 (getDouble): Likewise.
7046 (setChar): Likewise.
7047 (setByte): Likewise.
7048 (setShort): Likewise.
7050 (setLong): Likewise.
7051 (setFloat): Likewise.
7052 (setDouble): Likewise.
7054 2002-11-07 Michael Koch <konqueror@gmx.de>
7056 * java/awt/Choice.java,
7057 java/awt/Container.java,
7058 java/awt/GridBagLayout.java:
7059 Fixed documentation.
7060 * java/awt/peer/ContainerPeer.java:
7063 2002-11-07 Michael Koch <konqueror@gmx.de>
7065 * java/awt/color/ICC_Profile.java:
7066 Added missing constants.
7067 * java/awt/color/ICC_ColorSpace.java
7068 (getMinValue): Added dummy implementation.
7069 (getMaxValue): Added dummy implementation.
7070 * java/awt/datatransfer/DataFlavor.java
7071 (imageFlavor): Added.
7072 (isMimeTypeEqual): Must be final.
7073 (getDefaultRepresentationClass): Must be non-static.
7074 (getDefaultRepresentationClassAsString): Must be non-static.
7075 * java/awt/dnd/DragSourceContext.java
7076 (dragExit): Corrected argument.
7077 (dragDropEnd): Corrected argument.
7078 * java/awt/dnd/DragSourceListener.java.java
7079 (dragExit): Corrected argument.
7080 (dragDropEnd): Corrected argument.
7081 * java/awt/font/TextHitInfo.java
7082 (toString): Added stubbed implementation.
7083 * java/awt/geom/PathIterator.java:
7084 The constants must be static.
7085 * java/awt/image/VolatileImage.java
7086 (IMAGE_INCOMPATIBLE): Fixed typo.
7087 * java/awt/image/renderable/RenderableImage.java
7088 (HINTS_OBSERVED): Must be static.
7089 * java/beans/BeanInfo.java:
7090 Constants must be final.
7092 2002-11-06 Tom Tromey <tromey@redhat.com>
7094 From svens@it.uu.se. For PR libgcj/8481.
7095 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7097 2002-11-06 Tom Tromey <tromey@redhat.com>
7099 * jni.cc (array_from_valist): Assume that jlong won't be
7102 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7104 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7106 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7109 2002-11-03 Tom Tromey <tromey@redhat.com>
7111 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7112 VMClassLoader, not findClass.
7114 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7116 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7117 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7118 _Jv_DetermineVTableIndex, to determine vtable offset.
7119 (_Jv_DetermineVTableIndex): Remove.
7120 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7122 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7124 2002-11-03 Tom Tromey <tromey@redhat.com>
7126 * java/nio/channels/AlreadyConnectedException.java: Extend
7127 IllegalStateException, per spec.
7129 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7131 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7133 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7135 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7138 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7140 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7141 initial estimated size to avoid enlarge buffer frequently.
7143 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7145 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7146 ClassLoader when null.
7147 (ProxyType.hashCode): Loader null check no longer needed.
7148 (ProxyType.sameTypes): New method.
7149 (ProxyType.equals): Use new method.
7151 2002-10-31 Mark Wielaard <mark@klomp.org>
7153 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7155 * java/net/URLEncoder.java (encode): Likewise.
7157 2002-10-31 Mark Wielaard <mark@klomp.org>
7159 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7160 when stream is closed.
7161 (closeEntry): Likewise.
7163 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7164 ZipException when no entry active.
7165 (closeEntry): Likewise.
7168 2002-11-02 Tom Tromey <tromey@redhat.com>
7170 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7171 * java/lang/natClass.cc (initializeClass): Don't return just
7172 because self==thread.
7175 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7176 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7178 2002-11-02 Andreas Schwab <schwab@suse.de>
7180 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7182 (FLAGS_TO_PASS): Define.
7183 * Makefile.in: Regenerated.
7185 2002-11-01 Michael Koch <konqueror@gmx.de>
7187 * java/nio/ByteOrder.java: New file.
7188 * java/nio/channels/DatagramChannel.java:
7189 (DatagramChannel): New constructor.
7190 * java/nio/channels/Pipe.java: New file.
7191 * java/nio/channels/SelectableChannel.java: New file.
7192 * java/nio/channels/SelectionKey.java: New file.
7193 * java/nio/channels/Selector.java: New file.
7194 * java/nio/channels/ServerSocketChannel.java
7195 (ServerSocketChannel): New constructor.
7196 * java/nio/channels/SocketChannel.java
7197 (SocketChannel): New constructor.
7198 * java/nio/channels/Pipe.java: New file.
7199 * java/nio/channels/spi/AbstractChannel.java: New file.
7200 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7201 * java/nio/channels/spi/AbstractSelectableChannel.java:
7203 (AbstractSelectableChannel): New stubbed method.
7204 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7205 * java/nio/channels/spi/AbstractSelector.java: New file.
7206 * java/nio/channels/spi/SelectorProvider.java: New file.
7207 * java/nio/charset/Charset.java: New file.
7208 * java/nio/charset/CoderMalfunctionError.java: New file.
7209 * java/nio/charset/CodingErrorAction.java: New file.
7210 * java/nio/charset/spi/CharsetProvider.java
7211 (charsetForName): Uncommented.
7212 * Makefile.am (java_native_source_files): Added new files.
7213 * Makefile.in: Regenerated.
7215 2002-11-01 Michael Koch <konqueror@gmx.de>
7217 * java/net/InetAddress.java:
7218 (isAnyLocalAddress): Implemented.
7219 (isLoopbackAddress): Implemented, comment added.
7220 (isLinkLocalAddress): Implemented, documentation added.
7221 (isSiteLocalAddress): Implemented, documentation added.
7222 (isMCGlobal): Implemented, documentation added.
7223 (isMCNodeLocal): Implemented, documentation added.
7224 (isMCLinkLocal): Implemented, documentation added.
7225 (isMCSiteLocal): Implemented, documentation added.
7226 (isMCOrgLocal): Implemented, documentation added.
7227 (getHostName): Documentation added.
7228 (getCanonicalHostName): Implemented, documentation added.
7229 (getAddress): Documentation added.
7230 (hashCode): Documentation added.
7231 (equals): Documentation added.
7232 (toString): Fixed implementation.
7233 (getByAddress): Use Inet4Address and Inet6Address.
7234 (lookup): New linewrap.
7235 (getByName): SecurityManager check added, support Inet4Address and
7236 Inet6address, comments added.
7237 (getAllByName): SecurityManager check added, comments added.
7238 * java/net/Inet6Address.java:
7239 (Inet6Address): Initialize parent class with addr instead of null.
7241 (equals): Documentation added.
7242 (getFile): Documentation added.
7243 (hashCode): Documentation added.
7244 * java/net/natInetAddress.cc:
7245 (aton): Fix IPv6 support.
7246 * java/net/natPlainDatagramSocketImpl.cc:
7247 (peek): Throw PortUnreachableException when suitable.
7248 (peekData): Throw PortUnreachableException when suitable.
7249 (send): Throw PortUnreachableException when suitable.
7250 (receive): Throw PortUnreachableException when suitable.
7252 2002-10-27 Mark Wielaard <mark@klomp.org>
7254 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7256 (readLeShort): Likewise and use byte[].
7257 (readLeInt): Likewise.
7258 (readEntries): Use new versions of methods and use byte[] for reading
7259 a complete zip entry. Add ZipFile name to exceptions.
7260 (entries): Add ZipFile name to exceptions.
7261 (getEntry): Likewise.
7262 (checkLocalHeader): Use new versions of methods and add ZipFile name
7265 2002-10-31 Mark Anderson <mark@panonet.net>
7267 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7270 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7272 * configure.in: Disable hash sync when not using threads.
7273 * configure: Regenerated.
7275 2002-10-24 Tom Tromey <tromey@redhat.com>
7277 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7278 (_Jv_FindSymbolInExecutable): Removed argument name.
7279 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7280 java.library.path is set.
7282 * gij.cc (help): Document --showversion.
7283 (version): Don't exit.
7284 (main): Handle --showversion. Exit if --version given.
7286 2002-10-23 Tom Tromey <tromey@redhat.com>
7288 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7289 (array_from_valist): Correctly handle promotion for jint, jlong,
7290 jfloat, and jdouble.
7292 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7294 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7295 GetFileAttributesEx( ) to find file length and modification times,
7296 as the latter is not present on Windows 95.
7298 2002-10-21 Michael Koch <konqueror@gmx.de>
7301 (URL): Activate SecurityManager checks.
7302 (equals): Use URLStreamHandler implementation instead of doing it
7303 alone. This allows special protocol stream handlers to change default
7305 (hashCode): Use URLStreamHandler implementation instead of doing it
7306 alone. This allows special protocol stream handlers to change default
7308 * java/net/URLStreamHandler.java
7309 (equals): Implemented default URL equality check.
7310 (hostsEqual): Implemented default URL equality check.
7311 (hashCode): Implemented default URL hashCode algorithm.
7312 * java/net/natPlainDatagramSocketImpl.cc:
7313 No lines longer then 80 characters.
7315 2002-10-20 Adam Megacz <adam@xwt.org>
7317 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7318 * configure.in: enabled hash sync on Win32
7319 * include/win32-threads.h (_Jv_ThreadId_t): added.
7320 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7321 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7322 removed some posix-isms, use Thread::sleep() instead of usleep,
7323 added code to clear bottom three bits if platform has a broken
7325 * include/win32-threads.h (_Jv_ThreadId_t): added.
7327 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7329 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7330 runtime property "gnu.gcj.progname" containing the name used to
7331 invoke the current Java program (similar to argv[0] for C
7334 2002-10-15 Tom Tromey <tromey@redhat.com>
7336 Fix for PR libgcj/8234:
7337 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7338 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7340 2002-10-13 Mark Wielaard <mark@klomp.org>
7342 * mauve-libgcj: Enable Mauve tests that compile now.
7344 2002-10-11 Mark Wielaard <mark@klomp.org>
7346 Fix for PR libgcj/8142
7347 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7348 loading native modules.
7350 2002-10-10 Michael Koch <konqueror@gmx.de>
7352 * javax/swing/AbstractListModel.java
7353 (getListDataListeners): New stubbed method.
7354 javax/swing/DefaultBoundedRangeModel.java
7355 (getChangeListeners): New stubbed method.
7356 javax/swing/DefaultSingleSelectionModel.java
7357 (getChangeListeners): New stubbed method.
7359 2002-10-10 Michael Koch <konqueror@gmx.de>
7361 * gcj/.cvsignore: New file to ignore files generated during build.
7362 * include/.cvsignore: New file to ignore files generated during build.
7364 2002-10-10 Michael Koch <konqueror@gmx.de>
7366 * java/net/HttpURLConnection.java
7367 (getPermission): New method.
7368 (getErrorStream): New stub method.
7369 (getHeaderFieldDate): New stub method.
7370 * java/net/Inet4Address.java:
7371 (isLinkLocalAddress): Typo fixed.
7372 * java/net/InetAddress.java:
7373 (readResolve): New stubbed method (for serialization).
7374 (isAnyLocalAddress): New stubbed method.
7375 (isLoopbackAddress): New stubbed method.
7376 (isLinkLocalAddress): New stubbed method.
7377 (isSiteLocalAddress): New stubbed method.
7378 (isMCGlobal): New stubbed method.
7379 (isMCNodeGlobal): New stubbed method.
7380 (isMCLinkLocal): New stubbed method.
7381 (isMCSiteLocal): New stubbed method.
7382 (isMCOrgLocal): New stubbed method.
7383 (getCanonicalHostName): New stubbed method.
7384 (getByAddress): Create instances of Inet4Address/Inet6Address,
7385 instead of InetAddress, documentation added.
7386 * java/net/MulticastSocket.java
7387 (getInterface): Removed FIXME.
7388 (getNetworkInterface): New method.
7389 (setNetworkInterface): New method.
7390 * java/net/NetworkInterface.java:
7391 (toString): Use property "line.separator" instead of "\n".
7392 * java/net/URLConnection.java
7393 (getContent): New stubbed method.
7394 * java/net/URLStreamHandler.java:
7395 (equals): New stubbed method.
7396 (hostsEqual): New stubbed method.
7397 (hashCode): New stubbed method.
7398 * java/net/natNetworkInterface.cc:
7399 (getRealNetworkInterfaces): Create Inet4Address object
7400 instead of InetAddress.
7402 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7404 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7405 unsigned long temporary to implement insn_iushr shifts.
7407 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7409 * configure.host [s390*-*]: Enable Java interpreter.
7410 Enable hash synchronization. Add sysdeps dir.
7411 * sysdep/s390/locks.h: New file.
7413 2002-10-06 Mark Wielaard <mark@klomp.org>
7415 * java/lang/Thread.java (setDaemon): Check startable_flag,
7418 2002-10-07 Michael Koch <konqueror@gmx.de>
7420 * java/nio/Buffer.java: New stub file.
7421 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7423 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7424 * Makefile.in: Regenerated.
7426 2002-10-07 Michael Koch <konqueror@gmx.de>
7428 * java/nio/ByteBuffer.java:
7429 removed import of not commited class.
7431 2002-10-07 Michael Koch <konqueror@gmx.de>
7433 * java/nio/ByteBuffer.java,
7434 java/nio/MappedByteBuffer.java:
7435 New files, forgot to add these dummies.
7436 * Makefile.am (java_native_source_files): Added new files.
7437 * Makefile.in: Regenerated.
7439 2002-10-07 Michael Koch <konqueror@gmx.de>
7441 * java/nio/channels/AlreadyConnectedException.java,
7442 java/nio/channels/ClosedChannelException.java,
7443 java/nio/channels/ReadableByteChannel.java,
7444 java/nio/channels/InterruptibleChannel.java,
7445 java/nio/channels/Channel.java,
7446 java/nio/channels/ByteChannel.java,
7447 java/nio/channels/GatheringByteChannel.java,
7448 java/nio/channels/ScatteringByteChannel.java,
7449 java/nio/channels/WritableByteChannel.java,
7450 java/nio/charset/CharacterCodingException.java,
7451 java/nio/charset/IllegalCharsetNameException.java,
7452 java/nio/charset/MalformedInputException.java,
7453 java/nio/charset/UnmappableCharacterException.java,
7454 java/nio/charset/UnsupportedCharsetException.java,
7455 java/nio/charset/spi/CharsetProvider.java: New file.
7456 These files are exceptions or interfaces,
7457 no real or abstract classes.
7458 * Makefile.am (java_native_source_files): Added new files.
7459 * Makefile.in: Regenerated.
7461 2002-10-05 Michael Koch <konqueror@gmx.de>
7463 * java/net/InetAddress.java
7464 (getByAddress): Fixed documentation.
7465 (getByAddress): New method.
7466 * java/net/Inet4Address.java: New file.
7468 (URL): Documentation added.
7469 (getContent): Documentation added.
7470 (getContent): New stubbed method.
7471 (getQuery): New method.
7472 (openConnection): Documentation added.
7473 (openStream): Documentation added.
7474 (setURLStreamHandlerFactory): Documentation added.
7475 * java/net/URI.java: New stub file.
7477 (java_native_source_files): Added java/net/Inet4Address.java,
7478 java/net/Inet6Address.java and java/net/URI.java.
7479 * Makefile.in: Regenerated.
7481 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7483 * java/lang/ProtectionDomain.java (linesep): Remove field.
7484 (toString): Use System.getProperty("line.separator").
7486 2002-10-04 Michael Koch <konqueror@gmx.de>
7488 * java/security/Identity.java: Added serialVersionUID.
7489 * java/security/KeyPair.java: Added serialVersionUID.
7490 * java/security/Provider.java: Added serialVersionUID.
7491 * java/security/SecureRandom.java: Added serialVersionUID.
7492 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7493 * java/security/SignedObject.java: Added serialVersionUID.
7494 * java/security/cert/Certificate.java: Added serialVersionUID.
7496 2002-10-04 Mark Wielaard <mark@klomp.org>
7498 * java/security/Security.java: Use java.home or gnu.classpath.home
7500 (loadProviders): Extra dir argument.
7501 (getProvider): Return null when not found.
7503 2002-10-04 Mark Wielaard <mark@klomp.org>
7505 * java/lang/Throwable.java: Remerge with Classpath.
7507 2002-10-04 Michael Koch <konqueror@gmx.de>
7509 * java/net/InetAddress.java:
7510 (isMulticastAddress): Added documentation.
7511 (getHostAddress): Added documentation.
7512 (toString): Added documentation.
7513 (getByAddress): Fixed documentation.
7514 (getByName): Added documentation.
7515 (getAllByName): Added documentation.
7516 (getLocalHost): Added documentation.
7518 2002-10-04 Michael Koch <konqueror@gmx.de>
7520 * java/beans/beancontext/BeanContextChildSupport.java:
7521 Added serialVersionUID.
7522 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7523 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7524 * javax/naming/Name.java: Added serialVersionUID.
7526 2002-10-03 Adam Megacz <adam@xwt.org>
7528 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7529 some functionality that isn't supported yet on WIN32.
7531 2002-10-03 Tom Tromey <tromey@redhat.com>
7533 * Makefile.in: Rebuilt.
7534 * Makefile.am (awt_java_source_files): Added new files.
7536 2002-10-03 Michael Koch <konqueror@gmx.de>
7538 * java/net/InetAddress.java
7539 (class InetAddress): Removed final keyword.
7540 (equals): Fixed typo.
7541 (getByAddress): New method.
7543 2002-10-03 Michael Koch <konqueror@gmx.de>
7545 * java/awt/dnd/Autoscroll.java:
7546 New file, merge from Classpath.
7547 * java/awt/dnd/DragSourceAdapter.java:
7548 (dragExit): Fixed typos in argument type.
7549 (dragDropEnd): Fixed typos in argument type.
7550 * java/awt/dnd/DragSourceDropEvent.java:
7551 New file, merge from Classpath.
7552 * java/awt/dnd/DropTarget.java:
7553 Added stubs, merge from Classpath.
7554 * java/awt/dnd/DropTargetAdapter.java:
7555 New file, merge from Classpath.
7556 * java/awt/dnd/DropTargetContext.java:
7557 New file, merge from Classpath.
7558 * java/awt/dnd/DropTargetDragEvent.java:
7559 New file, merge from Classpath.
7560 * java/awt/dnd/DropTargetDropEvent.java:
7561 New file, merge from Classpath.
7562 * java/awt/dnd/DropTargetEvent.java:
7563 New file, merge from Classpath.
7564 * java/awt/dnd/DropTargetListener.java:
7565 New file, merge from Classpath.
7566 * java/awt/dnd/MouseDragGestureRecognizer.java:
7567 New file, merge from Classpath.
7568 * java/awt/dnd/peer/DropTargetContextPeer.java:
7569 New file, merge from Classpath.
7571 2002-10-03 Michael Koch <konqueror@gmx.de>
7573 * java/net/DatagramPacket.java
7574 (setLength): Fixed typo and be HTML-aware.
7575 * java/net/InetSocketAddress.java
7576 (InetSocketAddress): Correct initialization of hostname, fixed typo.
7577 (equals): Added comment about equality of InetSocketAddress objects.
7578 * java/net/ServerSocket.java
7579 (accept): Added checks.
7580 (isClosed): New stubbed method.
7581 * java/net/SocketOptions.java: Reindention.
7582 * java/net/SocketPermission
7583 (SocketPermission): Documentation fixed.
7585 2002-10-03 Michael Koch <konqueror@gmx.de>
7587 * java/net/DatagramSocket.java
7588 (receive): Check with SecurityManager AFTER the packet is received,
7589 check if connected to multicast address, documentation added.
7590 (send): Only check SecurityManager if connected, check address of
7592 (connect): Implemented, documentation added.
7593 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7594 * java/net/InetSocketAddress.java
7595 (whole file): Reindented.
7596 (hostname): New attribute.
7597 (InetSocketAddress): Initialize new attribute.
7598 (getAddress): Documentation added.
7599 (getHostName): Documentation added.
7600 (getPort): Documentation added.
7601 (hashCode): Documentation added.
7602 (isUnresolved): Documentation added.
7603 (toString): Conform to output of JDK 1.4.1, documentation added.
7604 * java/net/MulticastSocket.java
7605 (joinGroup): Removed FIXME, documentation added.
7606 (leaveGroup): Removed FIXME, documentation added.
7607 (send): Documentation added.
7608 * java/net/Socket.java
7609 (inputShutdown): New variable.
7610 (outputShutdown): New variable.
7611 (Socket): Initialize new variables.
7612 (getRemoteSocketAddress): Check if connected.
7613 (shutdownInput): Set new variable.
7614 (shutdownOutput): Set new variable.
7615 (isConnected): New method.
7616 (isClosed): New method.
7617 (isInputShutdown): New method.
7618 (isOutputShutdown): New method.
7619 * java/net/URLStreamHandler.java
7620 (URLStreamHandler): New method.
7621 (openConnection): Added documentation.
7622 (parseURL): Added documentation.
7623 (getHostAddress): New method.
7624 (getDefaultPort): New method.
7626 2002-10-02 Tom Tromey <tromey@redhat.com>
7628 * java/rmi/activation/ActivationDesc.java,
7629 java/rmi/activation/ActivationGroupDesc.java,
7630 java/rmi/activation/ActivationGroupID.java,
7631 java/rmi/activation/ActivationID.java: New versions from
7634 2002-09-30 Bo Thorsen <bo@suse.de>
7636 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7638 2002-09-30 Tom Tromey <tromey@redhat.com>
7640 * java/io/ObjectInputStream.java (resolveProxyClass): New method
7642 * Makefile.in: Rebuilt.
7643 * Makefile.am (rmi_java_source_files): Added new files.
7644 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7645 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7646 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7648 * gnu/java/rmi/dgc/DGCImpl.java,
7649 gnu/java/rmi/dgc/DGCImpl_Skel.java,
7650 gnu/java/rmi/dgc/DGCImpl_Stub.java,
7651 gnu/java/rmi/registry/RegistryImpl_Skel.java,
7652 gnu/java/rmi/registry/RegistryImpl_Stub.java,
7653 gnu/java/rmi/server/RMIHashes.java,
7654 gnu/java/rmi/server/RMIObjectInputStream.java,
7655 gnu/java/rmi/server/RMIObjectOutputStream.java,
7656 gnu/java/rmi/server/UnicastConnection.java,
7657 gnu/java/rmi/server/UnicastConnectionManager.java,
7658 gnu/java/rmi/server/UnicastRef.java,
7659 gnu/java/rmi/server/UnicastServer.java,
7660 gnu/java/rmi/server/UnicastServerRef.java,
7661 java/rmi/MarshalledObject.java,
7662 java/rmi/server/RMIClassLoader.java,
7663 java/rmi/server/RemoteObject.java,
7664 java/rmi/server/UnicastRemoteObject.java,
7665 java/security/SecureClassLoader.java: Merged from Classpath.
7667 2002-09-29 Anthony Green <green@redhat.com>
7669 * java/lang/reflect/UndeclaredThrowableException.java: New file.
7670 Imported from GNU Classpath.
7671 * java/lang/reflect/natProxy.cc: New file.
7672 * java/lang/reflect/InvocationHandler.java: New file. Imported
7674 * java/lang/reflect/Proxy.java: New file. Imported from GNU
7676 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7678 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7679 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7681 * gcj/javaprims.h ("Java"): Add new classes.
7682 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7683 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7684 java/lang/reflect/Proxy$$ProxyType.h): And this.
7685 (inner_nat_headers): Add these new headers.
7686 (ordinary_java_source_files): Add new files.
7687 (nat_source_files): Add new file.
7688 * Makefile.in: Rebuilt.
7690 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
7692 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7693 a single configuration.
7695 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7697 * java/util/TimeZone.java (getDSTSavings): New method.
7698 Fixes PR libgcj/7786.
7700 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7702 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7703 to see if `the_method == 0' before looking up vtable index.
7704 Fixes PR libgcj/7709.
7706 2002-09-25 Tom Tromey <tromey@redhat.com>
7708 * java/lang/natClassLoader.cc:
7709 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7710 * resolve.cc: Include NoClassDefFoundError.h, not
7711 ClassNotFoundException.h.
7712 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7714 * defineclass.cc: Don't include ClassNotFoundException.h.
7716 * resolve.cc: Include StringBuffer.
7717 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7719 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7720 allocated but not initialized.
7722 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7724 Fix for PR libgcj/7766:
7725 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7726 (getNextEntry): Set it.
7727 (closeEntry): Likewise.
7730 (available): Use it.
7732 2002-09-25 Michael Koch <konqueror@gmx.de>
7734 * java/net/DatagramSocket.java
7735 (DatagramSocket): Initialize new instance variables.
7736 (close): Reset new instance variables.
7737 (getLocalAddress): Remove unneeded SecurityManager usage.
7738 (getLocalPort): Check if socket is already bound.
7739 (isConnected): New method.
7740 (getInetAddress): Implemented.
7741 (getPort): Better Implementation, documentation fixed.
7742 (getRemoteSocketAddress): New method.
7743 * java/net/JarURLConnection.java
7744 (element): Typo fixed.
7745 (getMainAttributes): New method.
7746 (getAttributes): New method (stub only).
7747 (getManifest): New method (stub only).
7748 * java/net/NetPermission.java: Added serialVersionsUID.
7749 * java/net/Socket.java
7750 (connect): Check blocking mode of associated channel,
7751 documentation added.
7752 (getLocalSocketAddress): Better implementation.
7753 (getRemoteSocketAddress): Implemented.
7754 (isBound): New method.
7755 (setSendBufferSize): Documentation added.
7756 * java/net/SocketAddress.java: Added serialVersionsUID.
7757 * java/net/SocketPermission.java: Added serialVersionsUID.
7759 (URL): Wrap for shorter lines, initialize new instance variables,
7760 documentation added.
7761 (equals): Check new instance variables too.
7762 (getContent): Documentation added.
7763 (getPath): Documentation added.
7764 (getAuthority): New method.
7765 (getHost): Documentation added.
7766 (getPort): Documentation added.
7767 (getDefaultPort): New method.
7768 (getProtocol): Documentation added.
7769 (getUserInfo): Documentation added.
7770 (set): Initialize new instance variables, documentation added.
7771 * java/net/URLStreamHandler.java
7772 (setURL): New method.
7773 * java/net/natPlainDatagramSocketImpl.cc
7774 (connect): Fix exception name.
7775 (disconnect): Fix exception name.
7777 2002-09-25 Michael Koch <konqueror@gmx.de>
7779 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7780 * java/nio/channels/DatagramChannel.java:
7781 extends AbstractSelectableChannel
7782 * java/nio/channels/ServerSocketChannel.java:
7783 extends AbstractSelectableChannel
7784 * java/nio/channels/SocketChannel.java:
7785 extends AbstractSelectableChannel
7786 * Makefile.am (ordinary_java_source_files):
7787 java/nio/channels/spi/AbstractSelectableChannel.java added.
7788 * Makefile.in: Regenerated.
7790 2002-09-25 Michael Koch <konqueror@gmx.de>
7792 * java/net/DatagramSocket.java
7793 (DatagramSocket): Exception documentation added.
7794 (bind): Exception documentation added, addded SecurityManager check,
7795 added SocketAddress type check.
7796 (getSoTimeout): Check impl.
7797 (receive): Fix SecurityManager check, check impl, documentation added.
7798 (send): Check channel mode, documentation added.
7799 (connect): New method.
7800 (disconnect): Implemented.
7801 (getLocalSocketAddress): New method.
7802 (getReceiveBufferSize): Check impl.
7803 (setReuseAddress): Check impl.
7804 (getReuseAddress): Check impl.
7805 (setBroadcast): Check impl.
7806 (getBroadcast): Check impl.
7807 (setTrafficClass): Check impl, Documentation cleared.
7808 (getTrafficClass): Check impl.
7809 (getSendBufferSize): Check impl.
7810 (setReceiveBufferSize): Check impl, documentation added.
7811 (setSendBufferSize): Documentation added.
7812 (setDatagramSocketImplFactory): New method.
7813 * java/net/HttpURLConnection.java
7814 (HTTP_INTERNAL_ERROR): The correct code is 500.
7815 (HTTP_NOT_IMPLEMENTED): Added new constant.
7816 (setFollowRedirects): Documentation added.
7817 (getInstanceFollowRedirects): New method.
7818 (setInstanceFollowRedirects): New method.
7819 (setRequestMethod): Documentation added.
7820 (getResponseCode): Documentation added.
7821 (getResponseMessage): Documentation added.
7822 * java/net/JarURLConnection.java
7823 (JarURLConnection): protected since JDK 1.4.
7824 (getJarEntry): java.io.IOException to IOException, documentation added.
7825 (getJarFile): Documentation added.
7826 * java/net/ServerSocket.java
7827 (ServerSocket): Private to public, exception added.
7828 (ServerSocket): java.io.IOException to IOException, documentation added.
7829 (bind): Check socket address type, documentation added.
7830 (bind): java.io.IOException to IOException, documentation added.
7831 (accept): Documentation added.
7832 (implAccept): Check ch is not non-blocking, documentation added.
7833 (setSoTimeout): Documentation fixed.
7834 (setReceiveBufferSize): Documentation added.
7835 * java/net/Socket.java
7836 (Socket): Documentation added.
7837 (bind): Documentation added.
7838 (connect): Check socket address type, documentation added.
7839 (getRemoteSocketAddress): New method.
7840 (getLocalSocketAddress): New method.
7841 (setSoLinger): Documentation added.
7842 (getReuseAddress): New method.
7843 (setReuseAddress): New method.
7844 (getTrafficClass): New method.
7845 (setTrafficClass): New method.
7846 * java/net/URLStreamHandler.java
7847 (openConnection): java.io.IOException to IOException.
7848 (parseURL): Documentation added.
7849 (sameFile): public to protected, documentation added.
7850 (setURL): Documentation added.
7851 * java/nio/IllegalBlockingModeException.java: New file.
7852 * Makefile.am (ordinary_java_source_files):
7853 added java/nio/IllegalBlockingModeException.java
7854 * Makefile.in: Regenerated.
7856 2002-09-25 Michael Koch <konqueror@gmx.de>
7858 * java/net/DatagramPacket
7859 (DatagramPacket): Exception documentation added.
7860 (setData): Likewise.
7861 (setSocketAddress): Likewise.
7862 * java/net/DatagramSocketImpl.java
7863 (peek): Documentation addded.
7864 (peekData): Documentation addded.
7865 (send): Documentation addded.
7866 (receive): Documentation addded.
7867 (connect): New method.
7868 (disconnect): New method.
7869 (joinGroup): New abstract method.
7870 (leaveGroup): New abstract method.
7871 * java/net/InetSocketAddress.java
7872 (InetSocketAddress): Documentation added.
7873 (equals): final keyword added.
7874 (getAddress): final keyword added.
7875 (getHostName): final keyword added.
7876 (getPort): final keyword added.
7877 (hashCode): final keyword added.
7878 (isUnresolved): final keyword added.
7879 * java/net/MulticastSocket.java
7880 (MulticastSocket): Documentation added.
7881 (MulticastSocket): New method.
7882 (joinGroup): Documentation added.
7883 (joinGroup): New method.
7884 (leaveGroup): Documentation added.
7885 (leaveGroup): New method.
7886 (send): Documentation added.
7887 * java/net/NetworkInterface.java
7888 (getByName): Documentation added.
7889 (getByInetAddress): Documentation added.
7890 (getNetworkInterfaces): Documentation added.
7891 * java/net/PlainDatagramSocketImpl.java
7892 (connect): New method.
7893 (disconnect): New method.
7894 * java/net/SocketImpl.java
7895 (create): Documentation added.
7896 (shutdownInput): Convert public to protected, as it always was.
7897 (shutdownOutput): Convert public to protected, as it always was.
7898 * java/net/SocketOptions.java
7899 (whole file): Reintented.
7900 * java/net/URLClassLoader.java
7901 (URLClassLoader): SecurityManager check added, documentation added.
7902 (findResources): Documentation added.
7903 (findClass): Documentation added.
7904 (newInstance): More correct method arguments.
7905 * java/net/URLConnection.java
7906 (connect): Documentation added.
7907 (getContent): Documentation added.
7908 (getPermission): Documentation added.
7909 (getInputStream): Documentation added.
7910 (getOutputStream): Documentation added.
7911 (setDoInput): Throw correct exception, documentation added.
7912 (setDoOutput): Throw correct exception, documentation added.
7913 (setAllowUserInteraction): Throw correct exception, documentation added.
7914 (setUseCaches): Throw correct exception, documentation added.
7915 (setIfModifiedSince): Throw correct exception, documentation added.
7916 (setRequestProperty): Throw exception, documentation added.
7917 (addRequestProperty): Throw exception, documentation added.
7918 (getRequestProperty): Throw exception, documentation added.
7919 (getRequestProperties): Documentation added.
7920 (setContentHandlerFactory): Documentation added.
7921 (guessContentTypeFromName): protected to public.
7922 (setFileNameMap): Documentation added.
7923 * java/net/URLDecoder.java
7924 (URLDecoder): New method.
7925 (decode): Documentation added.
7926 (whole file): Reindented.
7927 * java/net/URLEncoder.java
7928 (encode): Documentation added.
7929 * java/net/natPlainDatagramSocketImpl.cc
7930 (connect): New method.
7931 (disconnect): New method.
7932 * javax/naming/RefAddr:
7933 (addrType): addrType was never final.
7934 (equals): Fix typo in method name.
7935 * javax/naming/BinaryRefAddr:
7936 (equals): Fix typo in method name.
7938 2002-09-22 Tom Tromey <tromey@redhat.com>
7940 Fix for PR libgcj/6576:
7941 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7942 didn't find a given bundle.
7943 (getBundle): Don't require base bundle.
7944 (setParent): Removed old comment.
7945 (tryLocalBundle): Try components even if preceding components were
7948 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7950 * Makefile.am (all-multi): Fix multilib parallel build.
7952 2002-09-21 Michael Koch <konqueror@gmx.de>
7954 * java/net/Socket.java
7955 (sendUrgentData): New method.
7956 (getChannel): New method.
7957 * java/net/ServerSocket.java
7958 (getChannel): New method.
7959 (isBound): New method.
7960 * java/net/DatagramSocket.java
7961 (DatagramSocket): Two new methods.
7963 (getChannel): New method.
7964 (isBound): New method.
7965 (send): Added newline to to make shorter lines.
7966 * java/net/PlainDatagramSocketImpl.java
7967 (mcastGrp): Added argument.
7968 (join): Use new mcastGrp.
7969 (leave): Use new mcastGrp.
7970 (joinGroup): New method.
7971 (leaveGroup): New method.
7972 * java/net/natPlainDatagramSocketImpl.cc
7973 (mcastGrp): Added argument, no yet really implemented.
7974 (getOption): Added newline for shorter lines.
7975 * java/net/natPlainSocketImpl.cc
7976 (read, setOption, getOption): Added newline for shorter lines.
7978 2002-09-19 Tom Tromey <tromey@redhat.com>
7980 * java/lang/ClassLoader.java (resolveClass0): Set cause for
7981 newly-created exception.
7983 2002-09-18 Michael Koch <konqueror@gmx.de>
7985 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7986 java/util/regex/PatternSyntaxException.java:
7987 Merge with classpath, new files.
7988 * Makefile.am (core_java_source_files):
7989 Added java/util/regex/Matcher.java,
7990 java/util/regex/Pattern.java,
7991 java/util/regex/PatternSyntaxException.java
7992 * Makefile.in: Regenerated.
7993 * include/config.h.in: Added HAVE_NET_IF_H.
7994 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7995 Removed #if 0 ... #endif.
7997 2002-09-17 Michael Koch <konqueror@gmx.de>
7999 * java/net/natNetworkInterface.cc:
8000 Removed unneed and yet wrong includes.
8002 2002-09-17 Michael Koch <konqueror@gmx.de>
8004 * java/net/NetworkInterface.java: New file.
8005 * java/net/natNetworkInterface.java: New file.
8006 * configure.in: Added check for net/if.h.
8007 * configure: Regenerated.
8009 (ordinary_java_source_files): Added NetworkInterface.java.
8010 (nat_source_files): Added natNetworkInterface.cc.
8011 * Makefile.in: Regenerated.
8013 2002-09-16 Tom Tromey <tromey@redhat.com>
8015 * java/net/URLClassLoader.java (findClass): Code source for a
8016 class from a jar is not necessarily a jar: URL.
8018 2002-09-16 Michael Koch <konqueror@gmx.de>
8020 * java/lang/AssertionError.java:
8021 Merge with classpath, fixes HTML.
8022 * java/rmi/server/LogStream.java:
8023 Merge with classpath, fixes some constants.
8024 * java/net/server/RemoteServer.java:
8025 Merge with classpath, adds serialVersionUID.
8026 * javax/naming/BinaryRefAddr.java:
8027 Merge with classpath, s/equal/equals/.
8028 * javax/naming/NamingException.java:
8029 Merge with classpath, fixed typo.
8030 * javax/naming/RefAddr.java:
8031 Merge with classpath, s/equal/equals/.
8032 * java/awt/Toolkit.java:
8033 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
8036 2002-09-15 Adam Megacz <adam@xwt.org>
8038 * java/net/natPlainSocketImpl.cc: fixed typo.
8040 2002-09-15 Adam Megacz <adam@xwt.org>
8042 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
8043 which don't work on Win32 (yet).
8045 2002-09-14 Adam Megacz <adam@xwt.org>
8047 * java/net/natPlainDatagramSocket.cc: removed #include
8048 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
8049 * include/win32.h: included definition for IP_TOS to satisfy
8050 natPlainDatagramSocket.cc
8052 2002-09-13 Michael Koch <konqueror@gmx.de>
8054 * java/net/DatagramPacket.java (DatagramPacket):
8055 Added linebreak for 80 chars per line.
8056 * java/net/JarURLConection.java
8057 (getInputStreami, getJarEntry): Likewise.
8058 * java/net/SocketPErmission.java
8059 (SocketPermission class docu, implies): Likewise.
8060 * java/net/URLClassLoader.java (findResources): Likewise.
8061 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
8063 2002-09-13 Michael Koch <konqueror@gmx.de>
8065 * java/nio/channels/DatagramChannel.java,
8066 java/nio/channels/ServerSocketChannel.java
8067 java/nio/channels/SocketChannel.java:
8068 New dummy files to make java.net fully JDK 1.4 compatible
8069 * Makefile.am (ordinary_java_source_files): Added
8070 java/net/DatagramSocketImplFactory.java (long forgotten),
8071 java/nio/SocketChannel.java,
8072 java/nio/ServerSocketChannel.java,
8073 java/nio/DatagramChannel.java
8074 * Makefile.in: Regenrated.
8076 2002-09-12 Michael Koch <konqueror@gmx.de>
8078 * java/net/DatagramSocketImpl.java
8079 (peekData): New method.
8080 * java/net/PlainDatagramSocketImpl.java
8081 (peekData): New method.
8082 * java/net/natPlainDatagramSocketImpl.cc
8083 (peekData): New method.
8084 * java/net/URLConnection
8085 (getPermission): New method.
8086 (addRequestProperty): New method.
8087 (getRequestProperties): New method.
8088 (guessContentTypeFromStream): New method, not really implemented.
8089 (URLConnection): Added/updated documentation.
8090 (connect): Added/updated documentation.
8091 (getURL): Added/updated documentation.
8092 (getContentLength): Added/updated documentation.
8093 (getContentType: Added/updated documentation.
8094 (getContentEncoding): Added/updated documentation.
8095 (getExpiration): Added/updated documentation.
8096 (getDate): Added/updated documentation.
8097 (getLastModified): Added/updated documentation.
8098 (getHeaderField): Added/updated documentation.
8099 (getHeaderFields): Added/updated documentation.
8100 (getHeaderFieldInt): Added/updated documentation.
8101 (getHeaderFieldDate): Added/updated documentation.
8102 (getHeaderFieldKey): Added/updated documentation.
8103 (getContent): Added/updated documentation.
8104 (getInputStream): Added/updated documentation.
8105 (getOutputStream): Added/updated documentation.
8106 (toString): Added/updated documentation.
8107 (setDoInput): Added/updated documentation.
8108 (getDoInput): Added/updated documentation.
8109 (setDoOutput): Added/updated documentation.
8110 (getDoOutput): Added/updated documentation.
8111 (setAllowUserInteraction): Added/updated documentation.
8112 (getAllowUserInteraction): Added/updated documentation.
8113 (setDefaultAllowUserInteraction): Added/updated documentation.
8114 (getDefaultAllowUserInteraction): Added/updated documentation.
8115 (setUseCaches): Added/updated documentation.
8116 (getUseCaches): Added/updated documentation.
8117 (setIfModifiedSince): Added/updated documentation.
8118 (getIfModifiedSince): Added/updated documentation.
8119 (getDefaultUseCaches): Added/updated documentation.
8120 (setDefaultUseCaches): Added/updated documentation.
8121 (setRequestProperty): Added/updated documentation.
8122 (getRequestProperty): Added/updated documentation.
8123 (setDefaultRequestProperty): Added/updated documentation.
8124 (getDefaultRequestProperty): Added/updated documentation.
8125 (setContentHandlerFactory): Added/updated documentation.
8126 (guessContentTypeFromName): Added/updated documentation.
8127 (getFileNameMap): Added/updated documentation.
8128 (setFileNameMap): Added/updated documentation.
8130 2002-09-11 Michael Koch <konqueror@gmx.de>
8132 * java/net/Socket.java
8133 (Socket): protected to public (since JDK 1.4). Added @specnote.
8135 (connect): Two new methods.
8136 (getKeepalive): Get correct socket option.
8137 (setKeepalive): Set correct socket option.
8138 (getOOBInline): New method.
8139 (setOOBInline): New method.
8140 * java/net/ServerSocket.java
8141 (bind): Two new methods.
8142 (getInetAddress): Reimplemented, catch exception.
8143 (getLocalSocketAddress): New method.
8144 (setReuseAddress): New method.
8145 (getReuseAdress): New method.
8146 (setReceiveBufferSize): New method.
8147 (getReceiveBufferSize): New method.
8148 (toString): Made string JDK 1.4 compliant.
8150 2002-09-10 Michael Koch <konqueror@gmx.de>
8152 * java/net/SocketImpl.java
8153 (connect): New method.
8154 (supportsUrgentData): New method.
8155 (sendUrgentData): New method.
8156 * java/net/PlainSocketImpl.java
8157 (connect): One new method and two new implementation.
8158 (sendUrgentData): New method.
8159 * java/natPlainSocketImpl.cc
8160 (connect): Arguments changed, added support for timeouts.
8161 (getOption): Another __java_boolean to jboolean.
8163 2002-09-07 Adam Megacz <adam@xwt.org>
8165 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8166 definition of IP_TOS.
8168 2002-09-04 Michael Koch <konqueror@gmx.de>
8170 * java/net/DatagramSocket.java
8171 (DatagramSocket): Added documentation.
8173 (getLocalAddress): Likewise.
8174 (getLocalPort): Likewise.
8175 (receive): Likewise.
8177 (setSoTimeout): Likewise.
8178 (connect): New method.
8179 (disconnect): New method.
8180 (getInetAddress): New method (FIXME)
8181 (getPort): New method.
8182 (setReuseAddress): New method.
8183 (getReuseAddress): New method.
8184 (setBroadcast): New method.
8185 (getBroadcast): New method.
8186 (setTrafficClass): New method.
8187 (getTrafficClass): New method.
8188 * java/net/MulticastSocket.java):
8189 (getTTL): Added @see in documentation.
8190 (setTTL): Added @see in documentation.
8191 (setLoopbackMode): New method.
8192 (getLoopbackMode): New method.
8193 * java/net/PlainSocketImpl.java:
8194 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8195 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8196 * java/net/PlainDatagramSocketImpl.java
8197 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8198 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8199 * java/net/natPlainSocketImpl.cc
8200 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8201 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8202 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8203 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8204 This should also fix SO_KEEPALIVE
8205 * java/net/natPlainDatagramSocketImpl.cc
8206 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8207 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8208 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8209 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8211 2002-09-04 Michael Koch <konqueror@gmx.de>
8213 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8214 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8215 IP_MULTICAST_LOOP, IP_TOS
8217 2002-09-03 Tom Tromey <tromey@redhat.com>
8219 * java/lang/Class.h (_getDeclaredMethod): Declare.
8220 (_getMethod): Now private.
8221 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8222 getDeclaredMethod. Now returns NULL on failure.
8223 * java/lang/Class.java (_getDeclaredMethod): Declare.
8224 (getDeclaredMethod): No longer native; implements access checks.
8226 2002-09-01 Mark Wielaard <mark@klomp.org>
8228 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8229 (sanitizeStack): Correctly reset unknown and interpreter counters,
8230 detect interpreter runtime frames.
8231 (demangleInterpreterMethod): New method.
8232 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8233 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8236 2002-09-02 Michael Koch <konqueror@gmx.de>
8238 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8239 re-indented documentation.
8241 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8243 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8244 public, per 1.4 spec. Fixes PR libgcj/7785.
8246 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8248 * Makefile.in: Rebuilt.
8249 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8251 2002-08-29 Tom Tromey <tromey@redhat.com>
8253 * java/net/JarURLConnection.java (getCertificates): New method
8255 * java/net/URLClassLoader.java (URLClassLoader): Extends
8257 (definePackage): New method from Classpath.
8258 (getPermissions): Likewise.
8259 (newInstance): Likewise.
8260 (findClass): Construct CodeSource for new class (from Classpath).
8261 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8263 * java/net/URL.java (getUserInfo): New method.
8264 (set(String,String,int,String,String,String,String,String)): New
8266 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8267 (shutdownInput, shutdownOutput): Declare.
8268 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8270 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8271 (getOption): Likewise.
8272 (shutdownInput): New method.
8273 (shutdownOutput): Likewise.
8274 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8276 (getOption): Likewise.
8277 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8278 * java/net/Socket.java (setKeepAlive): New method.
8279 (getKeepAlive): Likewise.
8280 (shutdownInput, shutdownOutput): New methods.
8282 2002-08-29 Michael Koch <konqueror@gmx.de>
8284 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8286 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8288 DatagramPacket(byte[] buf, int length, SocketAddress address),
8289 void setSocketAddress(SocketAddress address)
8290 public SocketAddress getSocketAddress()
8292 2002-08-29 Tom Tromey <tromey@redhat.com>
8294 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8295 ftruncate is missing.
8296 * configure, include/config.h.in: Rebuilt.
8297 * acconfig.h (HAVE_FTRUNCATE): Mention.
8298 * configure.in: Check for ftruncate.
8300 2002-08-29 Tom Tromey <tromey@redhat.com>
8302 * include/jvm.h (struct _Jv_frame_info): New structure.
8303 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8305 (lookupInterp): New method.
8306 (getAddrAsString): Use _Jv_frame_info.
8307 (dladdrLookup): Likewise.
8308 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8310 (lookupInterp): Declare.
8311 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8312 (fillInStackTrace): Collect information on interpreted frames.
8314 * interpret.cc: Include Thread.h.
8315 (run): Create and push _Jv_MethodChain object.
8316 (_Jv_EndOfInterpreter): New global.
8317 * java/lang/Thread.java (interp_frame): New field.
8318 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8319 Include NameFinder.h.
8321 2002-08-28 Tom Tromey <tromey@redhat.com>
8323 * java/lang/Class.h: Include Package.h.
8324 (Class::getProtectionDomain): Declare.
8325 (Class::getPackage): Declare.
8327 2002-08-28 Michael Koch <konqueror@gmx.de>
8329 * java/net/InetSocketAddress.java: Added some documentation and argument
8330 checks for the port numbers.
8331 * java/net/DatagramSocketImplFactory.java: New file.
8333 2002-08-28 Michael Koch <konqueror@gmx.de>
8335 * java/net/Authenticator.java: added some documentation.
8337 2002-08-27 Tom Tromey <tromey@redhat.com>
8339 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8341 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8343 2002-08-27 Michael Koch <konqueror@gmx.de>
8345 * java/net/BindException.java,
8346 java/net/JarURLConnection.java,
8347 java/net/FileNameMap.java,
8348 java/net/HttpURLConnection.java,
8349 java/net/InetSocketAddress.java,
8350 java/net/DatagramPacket.java,
8351 java/net/DatagramSocket.java,
8352 java/net/DatagramSocketImpl.java,
8353 java/net/MulticastSocket.java,
8354 java/net/PasswordAuthentication.java,
8355 java/net/ServerSocket.java,
8356 java/net/Socket.java,
8357 java/net/URLClassLoader.java,
8358 java/net/URLConnection.java: add/update of some @since/@deprecated
8360 2002-08-27 Tony Kimball <alk@pobox.com>
8361 Tom Tromey <tromey@redhat.com>
8363 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8366 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8367 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8369 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8370 * include/win32.h (getcwd): Removed declaration. Include io.h.
8372 2002-08-25 Adam Megacz <adam@xwt.org>
8374 * include/win32.h (getcwd): copied function declaration as
8375 temporary fix for header confusion.
8377 2002-08-24 Mark Wielaard <mark@klomp.org>
8379 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8380 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8381 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8382 and natNameFinder.cc.
8383 * Makefile.in: Regenerate.
8384 * prims.cc: Use trace_enabled from VMThrowable.
8385 * name-finder.cc: Removed.
8386 * gcj/javaprims.h: Add class VMThrowable.
8387 * gnu/gcj/runtime/NameFinder.java: New file.
8388 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8389 * include/name-finder.h: Removed.
8390 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8391 method stackTraceString().
8392 (printStackTrace (PrintWriter)): Likewise.
8393 (stackTraceString): Complete rewrite of old printStackTrace using
8395 (stackTraceStringBuffer): New helper method for stackTraceString().
8396 (fillInStackTrace): Delegate to VMTrowable.
8397 (getStackTrace): Likewise.
8398 (getStackTrace0): Removed.
8399 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8400 (setStackTrace): Copy given array.
8401 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8402 * java/lang/VMThrowable.java: New class.
8403 * java/lang/natVMThrowable.cc: New file.
8405 2003-08-23 Michael Koch <konqueror@gmx.de>
8407 * java/net/URLConnection.java,
8408 java/netJarURLConnection.java,
8409 gnu/gcj/protocol/core/Connection.java,
8410 gnu/gcj/protocol/file/Connection.java,
8411 gnu/gcj/protocol/http/Connection.java: Added implementation of
8414 2002-08-22 Tom Tromey <tromey@redhat.com>
8416 * gij.cc (help): Document -cp and -classpath.
8417 (main): Handle -classpath.
8419 2002-08-21 Tom Tromey <tromey@redhat.com>
8421 * Makefile.in: Rebuilt.
8422 * Makefile.am (ordinary_java_source_files): Added
8423 SocketAddress.java, InetSocketAddress.java.
8424 * java/net/PortUnreachableException.java: Merged with Classpath.
8425 * java/net/SocketTimeoutException.java: Likewise.
8426 * java/net/URISyntaxException.java: Likewise.
8427 * java/net/SocketAddress.java: New class from Classpath.
8428 * java/net/InetSocketAddress.java: Likewise.
8430 2003-08-21 Michael Koch <konqueror@gmx.de>
8432 * java/net/Authenticator.java: updated JDK 1.4
8433 * java/net/ContentHandler.java: updated JDK 1.4
8435 2002-08-20 Michael Koch <konqueror@gmx.de>
8437 * java/net/URISyntaxException.java: New file.
8438 * java/net/SocketTimeoutException.java: New file.
8439 * java/net/PortUnreachableException.java: New file.
8440 * Makefile.am: Updated.
8441 * Makefile.in: Rebuilt.
8443 2002-08-18 Mark Wielaard <mark@klomp.org>
8445 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8446 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8447 MessageDigestSpi (fixes Classpath bug #783).
8449 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8451 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8452 (startProcess): Allocate path for chdir in async-signal-safe way.
8454 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8456 Fix for PR libgcj/7570 and PR libgcj/7578:
8457 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8458 (startProcess): Handle new `dir' argument.
8459 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8461 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8463 (startProcess): Likewise.
8464 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8466 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8467 (exec): Don't create new environment if ENV==null. Pass DIR to
8469 * java/lang/natRuntime.cc: Include java/io/File.h.
8470 (execInternal): Added `dir' argument.
8472 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8474 * java/io/RandomAccessFile.java (skipBytes): Return number of
8477 2002-08-01 Mark Wielaard <mark@klomp.org>
8479 Reenable patch since shared library troubles on powerpc are solved:
8480 * gnu/java/security/provider/Gnu.java: Reference all implementation
8481 classes by using Class.getName().
8482 * gnu/java/security/der/DEREncodingException.java,
8483 gnu/java/security/provider/DERReader.java,
8484 gnu/java/security/provider/DERWriter.java,
8485 gnu/java/security/provider/DSAKeyPairGenerator.java,
8486 gnu/java/security/provider/DSAParameterGenerator.java,
8487 gnu/java/security/provider/DSAParameters.java,
8488 gnu/java/security/provider/DSASignature.java,
8489 gnu/java/security/provider/GnuDSAPrivateKey.java,
8490 gnu/java/security/provider/GnuDSAPublicKey.java,
8491 gnu/java/security/provider/MD5.java,
8492 gnu/java/security/util/Prime.java: New classes
8493 * Makefile.am (ordinary_java_source_files): Add above files.
8494 * Makefile.in: Regenerate.
8495 * gnu/java/security/provider/DefaultPolicy.java
8496 (getPermissions): Don't maintain static class variable of Permissions.
8497 * gnu/java/security/provider/SHA.java
8498 (engineUpdate): algorithm change.
8499 (engineDigest): algorithm change.
8501 2002-08-09 Mark Wielaard <mark@klomp.org>
8503 * java/awt/image/MemoryImageSource.java: Change constructor to take
8505 * java/awt/Graphics2D.java: Uncomment methods that can now be
8507 * java/awt/GridBagLayout.java: New stub implementation.
8508 * javax/swing/text/html/HTML.java: Stub implementation.
8509 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8512 * Makefile.am: Add new files.
8513 * Makefile.in: Rebuilt.
8515 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8517 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8518 methods in Graphics2D.
8520 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8522 AWT/Swing merge from GNU Classpath.
8524 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8525 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8526 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8527 java/awt/color/ProfileDataException.java,
8528 java/awt/CompositeContext.java, java/awt/Composite.java,
8529 java/awt/ContainerOrderFocusTraversalPolicy.java,
8530 java/awt/datatransfer/FlavorTable.java,
8531 java/awt/DefaultFocusTraversalPolicy.java,
8532 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8533 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8534 java/awt/dnd/DragGestureListener.java,
8535 java/awt/dnd/DragGestureRecognizer.java,
8536 java/awt/dnd/DragSourceAdapter.java,
8537 java/awt/dnd/DragSourceContext.java,
8538 java/awt/dnd/DragSourceDragEvent.java,
8539 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8540 java/awt/dnd/DragSourceListener.java,
8541 java/awt/dnd/DragSourceMotionListener.java,
8542 java/awt/dnd/DropTarget.java,
8543 java/awt/dnd/InvalidDnDOperationException.java,
8544 java/awt/dnd/peer/DragSourceContextPeer.java,
8545 java/awt/event/AWTEventListenerProxy.java,
8546 java/awt/event/MouseWheelEvent.java,
8547 java/awt/event/MouseWheelListener.java,
8548 java/awt/event/WindowFocusListener.java,
8549 java/awt/event/WindowStateListener.java,
8550 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8551 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8552 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8553 java/awt/geom/FlatteningPathIterator.java,
8554 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8555 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8556 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8557 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8558 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8559 java/awt/image/ImagingOpException.java,
8560 java/awt/image/RasterFormatException.java,
8561 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8562 java/awt/image/VolatileImage.java,
8563 java/awt/image/WritableRenderedImage.java,
8564 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8565 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8566 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8567 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8568 java/awt/PageAttributes.java, java/awt/print/Book.java,
8569 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8570 java/awt/print/Paper.java, java/awt/print/Printable.java,
8571 java/awt/print/PrinterAbortException.java,
8572 java/awt/print/PrinterException.java,
8573 java/awt/print/PrinterGraphics.java,
8574 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8575 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8576 java/awt/Stroke.java, java/awt/TexturePaint.java,
8577 javax/accessibility/AccessibleAction.java,
8578 javax/accessibility/AccessibleBundle.java,
8579 javax/accessibility/AccessibleComponent.java,
8580 javax/accessibility/AccessibleContext.java,
8581 javax/accessibility/AccessibleEditableText.java,
8582 javax/accessibility/AccessibleExtendedComponent.java,
8583 javax/accessibility/AccessibleExtendedTable.java,
8584 javax/accessibility/AccessibleHyperlink.java,
8585 javax/accessibility/AccessibleHypertext.java,
8586 javax/accessibility/AccessibleIcon.java,
8587 javax/accessibility/Accessible.java,
8588 javax/accessibility/AccessibleKeyBinding.java,
8589 javax/accessibility/AccessibleRelation.java,
8590 javax/accessibility/AccessibleRelationSet.java,
8591 javax/accessibility/AccessibleResourceBundle.java,
8592 javax/accessibility/AccessibleRole.java,
8593 javax/accessibility/AccessibleSelection.java,
8594 javax/accessibility/AccessibleState.java,
8595 javax/accessibility/AccessibleStateSet.java,
8596 javax/accessibility/AccessibleTable.java,
8597 javax/accessibility/AccessibleTableModelChange.java,
8598 javax/accessibility/AccessibleText.java,
8599 javax/accessibility/AccessibleValue.java,
8600 javax/swing/AbstractAction.java,
8601 javax/swing/AbstractButton.java,
8602 javax/swing/AbstractCellEditor.java,
8603 javax/swing/AbstractListModel.java,
8604 javax/swing/AbstractSet.java, javax/swing/Action.java,
8605 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8606 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8607 javax/swing/border/CompoundBorder.java,
8608 javax/swing/border/EmptyBorder.java,
8609 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8610 javax/swing/border/LineBorder.java,
8611 javax/swing/border/MatteBorder.java,
8612 javax/swing/border/TitledBorder.java,
8613 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8614 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8615 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8616 javax/swing/CellRendererPane.java,
8617 javax/swing/colorchooser/AbstractColorChooserPanel.java,
8618 javax/swing/colorchooser/ColorChooserComponentFactory.java,
8619 javax/swing/colorchooser/ColorSelectionModel.java,
8620 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8621 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8622 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8623 javax/swing/DefaultBoundedRangeModel.java,
8624 javax/swing/DefaultButtonModel.java,
8625 javax/swing/DefaultCellEditor.java,
8626 javax/swing/DefaultCellRenderer.java,
8627 javax/swing/DefaultComboBoxModel.java,
8628 javax/swing/DefaultDesktopManager.java,
8629 javax/swing/DefaultFocusManager.java,
8630 javax/swing/DefaultListCellRenderer.java,
8631 javax/swing/DefaultListModel.java,
8632 javax/swing/DefaultListSelectionModel.java,
8633 javax/swing/DefaultSingleSelectionModel.java,
8634 javax/swing/DesktopManager.java,
8635 javax/swing/event/AncestorEvent.java,
8636 javax/swing/event/AncestorListener.java,
8637 javax/swing/event/CaretEvent.java,
8638 javax/swing/event/CaretListener.java,
8639 javax/swing/event/CellEditorListener.java,
8640 javax/swing/event/ChangeEvent.java,
8641 javax/swing/event/ChangeListener.java,
8642 javax/swing/event/DocumentEvent.java,
8643 javax/swing/event/DocumentListener.java,
8644 javax/swing/event/EventListenerList.java,
8645 javax/swing/event/HyperlinkEvent.java,
8646 javax/swing/event/HyperlinkListener.java,
8647 javax/swing/event/InternalFrameAdapter.java,
8648 javax/swing/event/InternalFrameEvent.java,
8649 javax/swing/event/InternalFrameListener.java,
8650 javax/swing/event/ListDataEvent.java,
8651 javax/swing/event/ListDataListener.java,
8652 javax/swing/event/ListSelectionEvent.java,
8653 javax/swing/event/ListSelectionListener.java,
8654 javax/swing/event/MenuDragMouseEvent.java,
8655 javax/swing/event/MenuDragMouseListener.java,
8656 javax/swing/event/MenuEvent.java,
8657 javax/swing/event/MenuKeyEvent.java,
8658 javax/swing/event/MenuKeyListener.java,
8659 javax/swing/event/MenuListener.java,
8660 javax/swing/event/MouseInputAdapter.java,
8661 javax/swing/event/MouseInputListener.java,
8662 javax/swing/event/PopupMenuEvent.java,
8663 javax/swing/event/PopupMenuListener.java,
8664 javax/swing/event/SwingPropertyChangeSupport.java,
8665 javax/swing/event/TableColumnModelEvent.java,
8666 javax/swing/event/TableColumnModelListener.java,
8667 javax/swing/event/TableModelEvent.java,
8668 javax/swing/event/TableModelListener.java,
8669 javax/swing/event/TreeExpansionEvent.java,
8670 javax/swing/event/TreeExpansionListener.java,
8671 javax/swing/event/TreeModelEvent.java,
8672 javax/swing/event/TreeModelListener.java,
8673 javax/swing/event/TreeSelectionEvent.java,
8674 javax/swing/event/TreeSelectionListener.java,
8675 javax/swing/event/TreeWillExpandListener.java,
8676 javax/swing/event/UndoableEditEvent.java,
8677 javax/swing/event/UndoableEditListener.java,
8678 javax/swing/filechooser/FileFilter.java,
8679 javax/swing/filechooser/FileSystemView.java,
8680 javax/swing/filechooser/FileView.java,
8681 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8682 javax/swing/Icon.java, javax/swing/ImageIcon.java,
8683 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8684 javax/swing/JApplet.java, javax/swing/JButton.java,
8685 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8686 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8687 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8688 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8689 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8690 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8691 javax/swing/JLayeredPane.java, javax/swing/JList.java,
8692 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8693 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8694 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8695 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8696 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8697 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8698 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8699 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8700 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8701 javax/swing/JTextField.java, javax/swing/JTextPane.java,
8702 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8703 javax/swing/JToolTip.java, javax/swing/JTree.java,
8704 javax/swing/JViewport.java, javax/swing/JWindow.java,
8705 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8706 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8707 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8708 javax/swing/MenuSelectionManager.java,
8709 javax/swing/MutableComboBoxModel.java,
8710 javax/swing/OverlayLayout.java,
8711 javax/swing/plaf/ActionMapUIResource.java,
8712 javax/swing/plaf/basic/BasicBorders.java,
8713 javax/swing/plaf/basic/BasicButtonUI.java,
8714 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8715 javax/swing/plaf/basic/BasicDefaults.java,
8716 javax/swing/plaf/basic/BasicGraphicsUtils.java,
8717 javax/swing/plaf/basic/BasicIconFactory.java,
8718 javax/swing/plaf/basic/BasicLabelUI.java,
8719 javax/swing/plaf/basic/BasicListUI.java,
8720 javax/swing/plaf/basic/BasicLookAndFeel.java,
8721 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8722 javax/swing/plaf/basic/BasicPanelUI.java,
8723 javax/swing/plaf/basic/BasicRadioButtonUI.java,
8724 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8725 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8726 javax/swing/plaf/basic/BasicTextUI.java,
8727 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8728 javax/swing/plaf/basic/BasicTreeUI.java,
8729 javax/swing/plaf/basic/BasicViewportUI.java,
8730 javax/swing/plaf/BorderUIResource.java,
8731 javax/swing/plaf/ButtonUI.java,
8732 javax/swing/plaf/ColorChooserUI.java,
8733 javax/swing/plaf/ColorUIResource.java,
8734 javax/swing/plaf/ComboBoxUI.java,
8735 javax/swing/plaf/ComponentInputMapUIResource.java,
8736 javax/swing/plaf/ComponentUI.java,
8737 javax/swing/plaf/DesktopIconUI.java,
8738 javax/swing/plaf/DesktopPaneUI.java,
8739 javax/swing/plaf/DimensionUIResource.java,
8740 javax/swing/plaf/FileChooserUI.java,
8741 javax/swing/plaf/FontUIResource.java,
8742 javax/swing/plaf/IconUIResource.java,
8743 javax/swing/plaf/InputMapUIResource.java,
8744 javax/swing/plaf/InsetsUIResource.java,
8745 javax/swing/plaf/InternalFrameUI.java,
8746 javax/swing/plaf/LabelUI.java,
8747 javax/swing/plaf/ListUI.java,
8748 javax/swing/plaf/MenuBarUI.java,
8749 javax/swing/plaf/MenuItemUI.java,
8750 javax/swing/plaf/OptionPaneUI.java,
8751 javax/swing/plaf/PanelUI.java,
8752 javax/swing/plaf/PopupMenuUI.java,
8753 javax/swing/plaf/ProgressBarUI.java,
8754 javax/swing/plaf/RootPaneUI.java,
8755 javax/swing/plaf/ScrollBarUI.java,
8756 javax/swing/plaf/ScrollPaneUI.java,
8757 javax/swing/plaf/SeparatorUI.java,
8758 javax/swing/plaf/SliderUI.java,
8759 javax/swing/plaf/SplitPaneUI.java,
8760 javax/swing/plaf/TabbedPaneUI.java,
8761 javax/swing/plaf/TableHeaderUI.java,
8762 javax/swing/plaf/TableUI.java,
8763 javax/swing/plaf/TextUI.java,
8764 javax/swing/plaf/ToolBarUI.java,
8765 javax/swing/plaf/ToolTipUI.java,
8766 javax/swing/plaf/TreeUI.java,
8767 javax/swing/plaf/UIResource.java,
8768 javax/swing/plaf/ViewportUI.java,
8769 javax/swing/ProgressMonitorInputStream.java,
8770 javax/swing/ProgressMonitor.java,
8771 javax/swing/Renderer.java,
8772 javax/swing/RepaintManager.java,
8773 javax/swing/RootPaneContainer.java,
8774 javax/swing/Scrollable.java,
8775 javax/swing/ScrollPaneConstants.java,
8776 javax/swing/ScrollPaneLayout.java,
8777 javax/swing/SingleSelectionModel.java,
8778 javax/swing/SizeRequirements.java,
8779 javax/swing/SizeSequence.java,
8780 javax/swing/SwingConstants.java,
8781 javax/swing/SwingUtilities.java,
8782 javax/swing/table/AbstractTableModel.java,
8783 javax/swing/table/DefaultTableCellRenderer.java,
8784 javax/swing/table/DefaultTableColumnModel.java,
8785 javax/swing/table/DefaultTableModel.java,
8786 javax/swing/table/TableCellEditor.java,
8787 javax/swing/table/TableCellRenderer.java,
8788 javax/swing/table/TableColumn.java,
8789 javax/swing/table/TableColumnModel.java,
8790 javax/swing/table/TableModel.java,
8791 javax/swing/text/AbstractDocument.java,
8792 javax/swing/text/AttributeSet.java,
8793 javax/swing/text/BadLocationException.java,
8794 javax/swing/text/Caret.java,
8795 javax/swing/text/CharacterIterator.java,
8796 javax/swing/text/ComponentView.java,
8797 javax/swing/text/DefaultCaret.java,
8798 javax/swing/text/DefaultEditorKit.java,
8799 javax/swing/text/Document.java,
8800 javax/swing/text/EditorKit.java,
8801 javax/swing/text/Element.java,
8802 javax/swing/text/GapContent.java,
8803 javax/swing/text/JTextComponent.java,
8804 javax/swing/text/Keymap.java,
8805 javax/swing/text/MutableAttributeSet.java,
8806 javax/swing/text/PlainDocument.java,
8807 javax/swing/text/PlainEditorKit.java,
8808 javax/swing/text/Position.java,
8809 javax/swing/text/Segment.java,
8810 javax/swing/text/StyledDocument.java,
8811 javax/swing/text/StyledEditorKit.java,
8812 javax/swing/text/Style.java,
8813 javax/swing/text/TextAction.java,
8814 javax/swing/text/ViewFactory.java,
8815 javax/swing/text/View.java,
8816 javax/swing/Timer.java,
8817 javax/swing/ToggleButtonModel.java,
8818 javax/swing/ToolTipManager.java,
8819 javax/swing/tree/AbstractLayoutCache.java,
8820 javax/swing/tree/DefaultMutableTreeNode.java,
8821 javax/swing/tree/DefaultTreeCellEditor.java,
8822 javax/swing/tree/DefaultTreeCellRenderer.java,
8823 javax/swing/tree/DefaultTreeModel.java,
8824 javax/swing/tree/DefaultTreeSelectionModel.java,
8825 javax/swing/tree/ExpandVetoException.java,
8826 javax/swing/tree/FixedHeightLayoutCache.java,
8827 javax/swing/tree/MutableTreeNode.java,
8828 javax/swing/tree/RowMapper.java,
8829 javax/swing/tree/TreeCellEditor.java,
8830 javax/swing/tree/TreeCellRenderer.java,
8831 javax/swing/tree/TreeModel.java,
8832 javax/swing/tree/TreeNode.java,
8833 javax/swing/tree/TreePath.java,
8834 javax/swing/tree/TreeSelectionModel.java,
8835 javax/swing/tree/VariableHeightLayoutCache.java,
8836 javax/swing/UIDefaults.java,
8837 javax/swing/UIManager.java,
8838 javax/swing/undo/AbstractUndoableEdit.java,
8839 javax/swing/undo/CannotRedoException.java,
8840 javax/swing/undo/CannotUndoException.java,
8841 javax/swing/undo/CompoundEdit.java,
8842 javax/swing/undo/StateEditable.java,
8843 javax/swing/undo/StateEdit.java,
8844 javax/swing/undo/UndoableEdit.java,
8845 javax/swing/undo/UndoableEditSupport.java,
8846 javax/swing/undo/UndoManager.java,
8847 javax/swing/UnsupportedLookAndFeelException.java,
8848 javax/swing/ViewportLayout.java,
8849 javax/swing/WindowConstants.java: New files, from GNU Classpath.
8851 * java/awt/ActiveEvent.java,
8852 java/awt/Adjustable.java, java/awt/AWTError.java,
8853 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8854 java/awt/AWTException.java, java/awt/AWTPermission.java,
8855 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8856 java/awt/Color.java, java/awt/Component.java,
8857 java/awt/ComponentOrientation.java, java/awt/Container.java,
8858 java/awt/datatransfer/MimeTypeParseException.java,
8859 java/awt/datatransfer/Transferable.java,
8860 java/awt/datatransfer/UnsupportedFlavorException.java,
8861 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8862 java/awt/event/ActionListener.java,
8863 java/awt/event/AdjustmentEvent.java,
8864 java/awt/event/AdjustmentListener.java,
8865 java/awt/event/AWTEventListener.java,
8866 java/awt/event/ComponentAdapter.java,
8867 java/awt/event/ComponentEvent.java,
8868 java/awt/event/ComponentListener.java,
8869 java/awt/event/ContainerAdapter.java,
8870 java/awt/event/ContainerEvent.java,
8871 java/awt/event/ContainerListener.java,
8872 java/awt/event/FocusAdapter.java,
8873 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8874 java/awt/event/HierarchyBoundsAdapter.java,
8875 java/awt/event/HierarchyBoundsListener.java,
8876 java/awt/event/HierarchyEvent.java,
8877 java/awt/event/HierarchyListener.java,
8878 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8879 java/awt/event/InputMethodListener.java,
8880 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8881 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8882 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8883 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8884 java/awt/event/MouseListener.java,
8885 java/awt/event/MouseMotionAdapter.java,
8886 java/awt/event/MouseMotionListener.java,
8887 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8888 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8889 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8890 java/awt/event/WindowListener.java, java/awt/Font.java,
8891 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8892 java/awt/geom/Ellipse2D.java,
8893 java/awt/geom/IllegalPathStateException.java,
8894 java/awt/geom/Line2D.java,
8895 java/awt/geom/NoninvertibleTransformException.java,
8896 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8897 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8898 java/awt/geom/RoundRectangle2D.java,
8899 java/awt/GraphicsConfiguration.java,
8900 java/awt/IllegalComponentStateException.java,
8901 java/awt/image/IndexColorModel.java,
8902 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8903 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8904 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8905 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8906 java/awt/MenuItem.java, java/awt/PaintContext.java,
8907 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8908 java/awt/Polygon.java, java/awt/PrintGraphics.java,
8909 java/awt/PrintJob.java, java/awt/Rectangle.java,
8910 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8911 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8912 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8914 * java/awt/im/spi/InputMethod.java,
8915 java/awt/im/spi/InputMethodContext.java,
8916 java/awt/im/spi/InputMethodDescriptor.java,
8917 java/awt/image/renderable/ContextualRenderedImageFactory.java,
8918 java/awt/image/renderable/ParameterBlock.java,
8919 java/awt/image/renderable/RenderContext.java,
8920 java/awt/image/renderable/RenderableImage.java,
8921 java/awt/image/renderable/RenderableImageOp.java,
8922 java/awt/image/renderable/RenderableImageProducer.java,
8923 java/awt/image/renderable/RenderedImageFactory.java: New files from
8926 * gnu/java/awt/EventModifier.java,
8927 gnu/java/awt/image/ImageDecoder.java,
8928 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8930 * gnu/awt/xlib/XGraphicsConfiguration.java,
8931 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8934 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8937 * Makefile.am: Add new files.
8938 * Makefile.in: Rebuilt.
8940 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8942 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8943 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8944 findResource, getResources, findResources): Add javadoc from classpath.
8945 (getSystemResources): Implemented.
8947 2002-08-01 Mark Wielaard <mark@klomp.org>
8949 Revert patch that breaks libgcj shared library on powerpc:
8950 * gnu/java/security/provider/Gnu.java: Reverse referencing all
8951 implementation classes by using Class.getName(). Uses Strings again.
8952 * gnu/java/security/der/DEREncodingException.java,
8953 gnu/java/security/provider/DERReader.java,
8954 gnu/java/security/provider/DERWriter.java,
8955 gnu/java/security/provider/DSAKeyPairGenerator.java,
8956 gnu/java/security/provider/DSAParameterGenerator.java,
8957 gnu/java/security/provider/DSAParameters.java,
8958 gnu/java/security/provider/DSASignature.java,
8959 gnu/java/security/provider/GnuDSAPrivateKey.java,
8960 gnu/java/security/provider/GnuDSAPublicKey.java,
8961 gnu/java/security/provider/MD5.java,
8962 gnu/java/security/util/Prime.java: Removed.
8963 * Makefile.am (ordinary_java_source_files): Remove above files.
8964 * Makefile.in: Regenerate.
8965 * gnu/java/security/provider/DefaultPolicy.java
8966 (getPermissions): Revert to maintaining static class variable of
8968 * gnu/java/security/provider/SHA.java
8969 (engineUpdate): Revert algorithm change.
8970 (engineDigest): Revert algorithm change.
8972 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
8974 * configure.host: Add SH support.
8975 * sysdep/sh/locks.h: New file.
8977 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8979 * java/awt/Frame.java (Frame): Remove println calls.
8981 2002-07-30 Jeff Sturm <jsturm@one-point.com>
8983 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8984 * configure: Rebuilt.
8986 2002-07-27 Alan Modra <amodra@bigpond.net.au>
8988 * sysdep/powerpc/locks.h: Formatting.
8991 (compare_and_swap): Use _LARX and _STCX.
8992 (compare_and_swap_release): Likewise.
8994 2002-07-26 Tom Tromey <tromey@redhat.com>
8996 * java/net/Authenticator.java: New version from Classpath.
8997 * java/net/DatagramSocketImpl.java: New version from Classpath.
8999 2002-07-27 Alan Modra <amodra@bigpond.net.au>
9001 * configure.host: Add powerpc64*-* entry.
9003 2002-07-26 Tom Tromey <tromey@redhat.com>
9005 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
9008 2002-07-24 Tom Tromey <tromey@redhat.com>
9010 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
9013 2002-07-24 Tom Tromey <tromey@redhat.com>
9014 Tony Kimball <alk@pobox.com>
9016 * java/io/natFileDescriptorWin32.cc (setLength): New method.
9017 * java/io/natFileDescriptorPosix.cc (setLength): New method.
9018 * java/io/RandomAccessFile.java (setLength): New method.
9019 * java/io/natFileDescriptorEcos.cc (setLength): New method.
9020 * java/io/FileDescriptor.java (setLength): New method.
9022 2002-07-24 Mark Wielaard <mark@klomp.org>
9024 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
9025 * java/io/ObjectInputStream.java (setBooleanField): Before setting
9026 field call setAccessible(true).
9027 (setByteField): Likewise.
9028 (setCharField): Likewise.
9029 (setDoubleField): Likewise.
9030 (setFloatField): Likewise.
9031 (setIntField): Likewise.
9032 (setLongField): Likewise.
9033 (setShortField): Likewise.
9034 (setObjectField): Likewise.
9036 2002-07-24 Tom Tromey <tromey@redhat.com>
9038 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
9039 use toString() to format array element.
9041 2002-07-23 Mark Wielaard <mark@klomp.org>
9043 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
9044 MessageDigestSpi (fixes Classpath bug #783).
9046 2002-07-21 Mark Wielaard <mark@klomp.org>
9048 * gnu/java/security/provider/Gnu.java: Reference all implementation
9049 classes by using Class.getName().
9051 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
9053 * java/lang/ieeefp.h: Add x86-64 support.
9054 * configure.in: Likewise.
9055 * configure.host: Likewise.
9056 * configure: Regenerated.
9057 * sysdep/x86-64/locks.h: New file with x86-64 locks.
9059 2002-07-16 Mark Wielaard <mark@klomp.org>
9061 * java/io/StreamTokenizer.java (pushBack): Update documentation.
9062 (whitespaceChars): call resetChar().
9064 2002-07-15 Tom Tromey <tromey@redhat.com>
9066 * Makefile.in: Rebuilt.
9067 * Makefile.am (awt_java_source_files): Added new files.
9068 * java/beans/ExceptionListener.java: Merged with Classpath.
9069 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
9070 * java/beans/PropertyChangeListener.java: Merged with Classpath.
9071 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
9072 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
9073 * java/beans/VetoableChangeListener.java: Merged with Classpath.
9074 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
9075 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
9077 2002-07-14 Mark Wielaard <mark@klomp.org>
9079 * gnu/java/security/der/DEREncodingException.java,
9080 gnu/java/security/provider/DERReader.java,
9081 gnu/java/security/provider/DERWriter.java,
9082 gnu/java/security/provider/DSAKeyPairGenerator.java,
9083 gnu/java/security/provider/DSAParameterGenerator.java,
9084 gnu/java/security/provider/DSAParameters.java,
9085 gnu/java/security/provider/DSASignature.java,
9086 gnu/java/security/provider/GnuDSAPrivateKey.java,
9087 gnu/java/security/provider/GnuDSAPublicKey.java,
9088 gnu/java/security/provider/MD5.java,
9089 gnu/java/security/util/Prime.java: New files from Classpath.
9090 * Makefile.am (ordinary_java_source_files): Add new files.
9091 * Makefile.in: Regenerate.
9093 2002-07-14 C. Brian Jones <cbj@gnu.org>
9095 * gnu/java/security/provider/DefaultPolicy.java
9096 (getPermissions): do not maintain static class variable of
9098 * gnu/java/security/provider/SHA.java
9099 (engineUpdate): algorithm change
9100 (engineDigest): algorithm change
9102 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9105 * java/lang/Character.java (toString(char)): Now static.
9107 2002-07-12 Mark Wielaard <mark@klomp.org>
9109 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9110 (getStackTrace0): new method.
9111 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9112 (printStackTrace(PrintWriter)): replace with pure java implementation.
9113 (printRawStackTrace): removed.
9114 (getStackTrace0): new method.
9115 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9116 * gcj/javaprims.h: regenerate class list.
9117 * include/name-finder.h (lookup): new returns StackTraceElement*.
9118 (method_name, file_name): fields removed.
9119 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9120 (~_Jv_name_finder): close new descriptors.
9121 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9122 (createStackTraceElement): new method.
9123 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9125 2002-07-10 Tom Tromey <tromey@redhat.com>
9127 * configure: Rebuilt.
9128 * configure.in: Use `test' after `&&'. From Chris Faylor.
9130 2002-07-08 Mark Wielaard <mark@klomp.org>
9132 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9133 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9134 java.sql.DatabaseMetaData.TestJdbc20
9136 2002-07-05 Tony Kimball <alk@pobox.com>
9138 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9140 2002-07-04 Tom Tromey <tromey@redhat.com>
9141 Jeff Sturm <jsturm@one-point.com>
9143 Fix for PR libgcj/7060:
9144 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9145 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9146 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9147 * java/lang/Class.java (getMethod): New Java implementation;
9149 (_getMethod): New native method.
9151 2002-07-02 Tom Tromey <tromey@redhat.com>
9152 David Hovemeyer <daveho@cs.umd.edu>
9154 * java/text/ChoiceFormat.java
9155 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9157 * java/text/MessageFormat.java
9158 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9161 2002-07-01 Tom Tromey <tromey@redhat.com>
9163 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9164 StringTokenizer on null string. For PR libgcj/7180.
9165 From daveho@cs.umd.edu.
9167 2002-06-24 Tom Tromey <tromey@redhat.com>
9169 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9170 (IntegerClass): Likewise.
9171 * java/lang/natClass.cc (CloneableClass): Removed.
9172 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9173 ConstructorClass): Likewise.
9174 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9175 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9176 SerializableClass): Likewise.
9177 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9178 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9179 LongClass, FloatClass, DoubleClass): Likewise.
9181 * verify.cc (branch_prepass): Updated for change to exception
9183 (verify_instructions_0): Likewise.
9184 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9185 (handleExceptionTableEntry): Updated for change to exception
9187 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9188 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9189 (union _Jv_InterpPC): New.
9190 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9191 (class _Jv_InterpMethod): Added new `prepared' field.
9192 (class _Jv_InterpMethod): Added `compile' method. Removed
9193 `continue1' and `find_exception'. Changed arguments to `run'.
9194 * interpret.cc (union insn_slot): New.
9195 (find_exception): Removed.
9196 (run_normal): Removed most logic.
9197 (run_synch_object): Likewise; also, use JvSynchronize.
9198 (run_synch_class): Likewise.
9200 (continue1): Renamed as `run'. Compile bytecode if required.
9201 Add new code to allow refinement of direct-threaded code at
9202 runtime. Handle exceptions.
9204 (compile): New method.
9205 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9206 (NULLARRAYCHECK): Don't use SAVE_PC.
9207 (pc_t): New typedef.
9208 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9209 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9211 2002-06-23 Tom Tromey <tromey@redhat.com>
9213 * configure: Rebuilt.
9214 * configure.in (INTERPRETER): New subst.
9215 (AM_RUNTESTFLAGS): Don't subst.
9217 * Makefile.in: Rebuilt.
9218 * Makefile.am ($(srcdir)/java/lang/Object.h,
9219 $(srcdir)/java/lang/Class.h): Added dummy targets.
9221 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9223 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9225 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9226 java/sql/Savepoint.java: New files.
9227 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9228 java/sql/Blob.java, java/sql/CallableStatement.java,
9229 java/sql/Clob.java, java/sql/Connection.java,
9230 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9231 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9232 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9233 java/sql/Ref.java, java/sql/ResultSet.java,
9234 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9235 java/sql/SQLException.java, java/sql/SQLInput.java,
9236 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9237 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9238 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9239 (JDK 1.4) specification.
9240 * javax/sql/ConnectionEvent.java,
9241 javax/sql/ConnectionEventListener.java,
9242 javax/sql/ConnectionPoolDataSource.java,
9243 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9244 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9245 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9246 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9247 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9248 javax/sql/XADataSource.java: New files.
9249 * Makefile.am: Add new files.
9250 * Makefile.in: Rebuilt.
9252 2002-06-20 Tom Tromey <tromey@redhat.com>
9255 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9257 * defineclass.cc (handleClassBegin): Superclass for interface is
9260 2002-06-18 Tom Tromey <tromey@redhat.com>
9262 * gcj/javaprims.h: Updated class declaration list.
9263 * Makefile.in: Rebuilt.
9264 * Makefile.am (core_java_source_files): Removed
9266 * java/util/BasicMapEntry.java: Removed.
9268 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9270 * java/net/natPlainDatagramSocketImpl.cc (receive):
9271 Check bounds of argument to FD_SET.
9272 (setOption): Throw exception if socket is closed.
9274 * java/net/natPlainSocketImpl.cc (accept, read):
9275 Check bounds of argument to FD_SET.
9276 (setOption): Throw exception if socket is closed.
9278 2002-06-18 Tom Tromey <tromey@redhat.com>
9280 * gcj/javaprims.h: Updated class declaration list.
9281 * Makefile.in: Rebuilt.
9282 * Makefile.am (core_java_source_files): Added
9283 PropertyPermissionCollection.java.
9284 * java/lang/Thread.java (group, name): Now package-private.
9285 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9286 * java/util/AbstractList.java: Likewise.
9287 * java/util/AbstractMap.java: Likewise.
9288 * java/util/Calendar.java: Likewise.
9289 * java/util/Collections.java: Likewise.
9290 * java/util/HashMap.java: Likewise.
9291 * java/util/Hashtable.java: Likewise.
9292 * java/util/LinkedHashMap.java: Likewise.
9293 * java/util/LinkedList.java: Likewise.
9294 * java/util/List.java: Likewise.
9295 * java/util/ListResourceBundle.java: Likewise.
9296 * java/util/Map.java: Likewise.
9297 * java/util/Observable.java: Likewise.
9298 * java/util/Properties.java: Likewise.
9299 * java/util/PropertyPermission.java: Likewise.
9300 * java/util/PropertyPermissionCollection.java: Likewise.
9301 * java/util/PropertyResourceBundle.java: Likewise.
9302 * java/util/Random.java: Likewise.
9303 * java/util/SimpleTimeZone.java: Likewise.
9304 * java/util/StringTokenizer.java: Likewise.
9305 * java/util/TimerTask.java: Likewise.
9306 * java/util/TreeMap.java: Likewise.
9307 * java/util/WeakHashMap.java: Likewise.
9308 * java/util/jar/Attributes.java: Likewise.
9309 * java/util/jar/JarException.java: Likewise.
9310 * java/util/jar/Manifest.java: Likewise.
9312 2002-06-17 Tom Tromey <tromey@redhat.com>
9314 * gcj/javaprims.h: Updated class declaration list.
9315 * Makefile.in: Rebuilt.
9316 * Makefile.am (core_java_source_files): Added new file.
9317 * java/util/EventListenerProxy.java: New file.
9318 * java/util/EventListener.java: Re-merge with Classpath.
9319 * java/util/EventObject.java: Re-merge with Classpath.
9321 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9323 * java/lang/ClassNotFoundException.java: New Classpath version.
9325 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9327 * java/rmi/activation/ActivateFailedException.java: Remerge from
9329 * java/rmi/activation/ActivationException.java: Ditto.
9330 * java/rmi/activation/UnknownGroupException.java: Ditto.
9331 * java/rmi/activation/UnknownObjectException.java: Ditto.
9332 * java/rmi/server/ExportException: Ditto.
9333 * java/rmi/server/ServerCloneException: Ditto.
9334 * java/rmi/server/ServerNotActiveException: Ditto.
9335 * java/rmi/server/SkeletonMismatchException: Ditto.
9336 * java/rmi/server/SkeletonNotFoundException: Ditto.
9337 * java/rmi/server/SocketSecurityException: Ditto.
9339 2002-06-16 Tom Tromey <tromey@redhat.com>
9341 * gcj/javaprims.h: Updated class declaration list.
9343 * java/io/LineNumberInputStream.java: Merged with Classpath.
9345 * java/lang/RuntimeException.java: Re-merge with Classpath.
9346 * java/util/ArrayList.java: Likewise.
9347 * java/util/Arrays.java: Likewise.
9348 * java/util/BitSet.java: Likewise.
9349 * java/util/Dictionary.java: Likewise.
9350 * java/util/IdentityHashMap.java: Likewise.
9351 * java/util/MissingResourceException.java: Likewise.
9352 * java/util/Observer.java: Likewise.
9353 * java/util/TooManyListenersException.java: Likewise.
9354 * java/util/zip/DataFormatException.java: Likewise.
9355 * java/util/zip/ZipException.java: Likewise.
9357 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9359 * java/rmi/AccessException.java: Remerge from Classpath.
9360 * java/rmi/AlreadyBoundException.java: Ditto.
9361 * java/rmi/ConnectException.java: Ditto.
9362 * java/rmi/ConnectIOException.java: Ditto.
9363 * java/rmi/MarshalException.java: Ditto.
9364 * java/rmi/NoSuchObjectException.java: Ditto.
9365 * java/rmi/NotBoundException.java: Ditto.
9366 * java/rmi/RemoteException.java: Ditto.
9367 * java/rmi/RMISecurityException.java: Ditto.
9368 * java/rmi/ServerError.java: Ditto.
9369 * java/rmi/ServerException.java: Ditto.
9370 * java/rmi/ServerRuntimeException.java: Ditto.
9371 * java/rmi/StubNotFoundException.java: Ditto.
9372 * java/rmi/UnexpectedExcpetion.java: Ditto.
9373 * java/rmi/UnknownHostException.java: Ditto.
9374 * java/rmi/UnmarshalException.java: Ditto.
9376 2002-06-15 Tom Tromey <tromey@redhat.com>
9378 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9379 * java/lang/ArithmeticException.java: Likewise.
9380 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9381 * java/lang/ArrayStoreException.java: Likewise.
9382 * java/lang/Byte.java: Likewise.
9383 * java/lang/CharSequence.java: Likewise.
9384 * java/lang/ClassCastException.java: Likewise.
9385 * java/lang/ClassCircularityError.java: Likewise.
9386 * java/lang/ClassFormatError.java: Likewise.
9387 * java/lang/CloneNotSupportedException.java: Likewise.
9388 * java/lang/Cloneable.java: Likewise.
9389 * java/lang/Comparable.java: Likewise.
9390 * java/lang/Compiler.java: Likewise.
9391 * java/lang/Error.java: Likewise.
9392 * java/lang/ExceptionInInitializerError.java: Likewise.
9393 * java/lang/IllegalAccessError.java: Likewise.
9394 * java/lang/IllegalAccessException.java: Likewise.
9395 * java/lang/IllegalArgumentException.java: Likewise.
9396 * java/lang/IllegalMonitorStateException.java: Likewise.
9397 * java/lang/IllegalStateException.java: Likewise.
9398 * java/lang/IllegalThreadStateException.java: Likewise.
9399 * java/lang/IncompatibleClassChangeError.java: Likewise.
9400 * java/lang/IndexOutOfBoundsException.java: Likewise.
9401 * java/lang/InheritableThreadLocal.java: Likewise.
9402 * java/lang/InstantiationError.java: Likewise.
9403 * java/lang/InstantiationException.java: Likewise.
9404 * java/lang/InternalError.java: Likewise.
9405 * java/lang/InterruptedException.java: Likewise.
9406 * java/lang/LinkageError.java: Likewise.
9407 * java/lang/NegativeArraySizeException.java: Likewise.
9408 * java/lang/NoClassDefFoundError.java: Likewise.
9409 * java/lang/NoSuchFieldError.java: Likewise.
9410 * java/lang/NoSuchFieldException.java: Likewise.
9411 * java/lang/NoSuchMethodError.java: Likewise.
9412 * java/lang/NoSuchMethodException.java: Likewise.
9413 * java/lang/NullPointerException.java: Likewise.
9414 * java/lang/NumberFormatException.java: Likewise.
9415 * java/lang/OutOfMemoryError.java: Likewise.
9416 * java/lang/Process.java: Likewise.
9417 * java/lang/Runnable.java: Likewise.
9418 * java/lang/RuntimePermission.java: Likewise.
9419 * java/lang/SecurityException.java: Likewise.
9420 * java/lang/Short.java: Likewise.
9421 * java/lang/StackOverflowError.java: Likewise.
9422 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9423 * java/lang/ThreadDeath.java: Likewise.
9424 * java/lang/ThreadLocal.java: Likewise.
9425 * java/lang/UnknownError.java: Likewise.
9426 * java/lang/UnsatisfiedLinkError.java: Likewise.
9427 * java/lang/UnsupportedClassVersionError.java: Likewise.
9428 * java/lang/UnsupportedOperationException.java: Likewise.
9429 * java/lang/VerifyError.java: Likewise.
9430 * java/lang/VirtualMachineError.java: Likewise.
9431 * java/lang/reflect/InvocationTargetException.java: Likewise.
9432 * java/net/BindException.java: Likewise.
9433 * java/net/ConnectException.java: Likewise.
9434 * java/net/MalformedURLException.java: Likewise.
9435 * java/net/NoRouteToHostException.java: Likewise.
9436 * java/net/ProtocolException.java: Likewise.
9437 * java/net/SocketException.java: Likewise.
9438 * java/net/UnknownHostException.java: Likewise.
9439 * java/net/UnknownServiceException.java: Likewise.
9441 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9442 * java/io/CharConversionException.java: Likewise.
9443 * java/io/EOFException.java: Likewise.
9444 * java/io/FileNotFoundException.java: Likewise.
9445 * java/io/IOException.java: Likewise.
9446 * java/io/InterruptedIOException.java: Likewise.
9447 * java/io/InvalidClassException.java: Likewise.
9448 * java/io/InvalidObjectException.java: Likewise.
9449 * java/io/NotActiveException.java: Likewise.
9450 * java/io/NotSerializableException.java: Likewise.
9451 * java/io/ObjectStreamException.java: Likewise.
9452 * java/io/ObjectStreamConstants.java: Likewise.
9453 * java/io/OptionalDataException.java: Likewise.
9454 * java/io/PipedInputStream.java: Likewise.
9455 * java/io/PushbackInputStream.java: Likewise.
9456 * java/io/StreamCorruptedException.java: Likewise.
9457 * java/io/SyncFailedException.java: Likewise.
9458 * java/io/UTFDataFormatException.java: Likewise.
9459 * java/io/UnsupportedEncodingException.java: Likewise.
9460 * java/io/WriteAbortedException.java: Likewise.
9462 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9464 * java/text/ChoiceFormat.java: Update comments from Classpath.
9465 * java/text/ParseException.java (serialVersionUID): New
9466 field from Classpath.
9467 * java/text/ParseException.java: Update formatting & comments
9470 2002-06-15 Tom Tromey <tromey@redhat.com>
9472 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9473 been read but none output by inflater.
9474 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9475 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9477 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9479 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9480 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9481 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9483 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9485 2002-06-13 Tom Tromey <tromey@redhat.com>
9487 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9489 * java/lang/String.java (String(char[],int,int,boolean): New
9491 * java/lang/Long.java: Imported new version from Classpath.
9492 * java/lang/Number.java: Likewise.
9493 * java/lang/Integer.java: Likewise.
9494 * java/lang/Long.java: Likewise.
9495 * java/lang/Float.java: Likewise.
9496 * java/lang/Boolean.java: Likewise.
9497 * java/lang/Double.java: Likewise.
9498 * java/lang/Void.java: Likewise.
9500 2002-06-12 Tom Tromey <tromey@redhat.com>
9502 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9503 Fixes PR libgcj/6652.
9505 2002-06-10 Tom Tromey <tromey@redhat.com>
9507 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9508 (Class::getPackagePortion): Likewise.
9509 * java/lang/Class.java (desiredAssertionStatus): New method from
9511 (getPackagePortion): Likewise.
9512 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9513 packageAssertionStatus, classAssertionStatus): New methods from
9515 * java/lang/ClassLoader.java (defaultAssertionStatus,
9516 systemPackageAssertionStatus, packageAssertionStatus,
9517 systemClassAssertionStatus, classAssertionStatus): New fields from
9519 (setDefaultAssertionStatus, setPackageAssertionStatus,
9520 setClassAssertionStatus, clearAssertionStatus): New methods from
9522 * Makefile.in: Rebuilt.
9523 * Makefile.am (core_java_source_files): Added AssertionError.java.
9524 * java/lang/AssertionError.java: New from Classpath.
9526 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9528 * configure.host: Disable hash synchronization and slow_pthread_self
9531 2002-06-06 Adam Megacz <adam@xwt.org>
9533 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9534 locking, just like the Sun JVM does.
9536 2002-06-05 H.J. Lu (hjl@gnu.org)
9538 * Makefile.am (libgcj_convenience.la): Revert the last change.
9539 (libgcj.la): Likewise.
9540 * Makefile.in: Regenerated.
9542 2002-06-04 H.J. Lu (hjl@gnu.org)
9544 * Makefile.am (libgcj_convenience.la): New target.
9545 (libgcj.la): Depend on libgcj_convenience.la.
9546 * Makefile.in: Regenerated.
9548 2002-06-04 H.J. Lu (hjl@gnu.org)
9550 * configure.in (--with-newlib): New option:
9551 Check ${with_newlib} instead of ${with_cross_host} for newlib.
9552 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9554 * configure: Regenerated.
9556 2002-06-04 Tom Tromey <tromey@redhat.com>
9558 * java/util/natTimeZone.cc: Include <stdio.h>.
9560 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
9562 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9563 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9564 Set SIGNAL_HANDLER=include/s390-linux.h.
9565 * configure: Regenerate.
9566 * include/s390-linux.h: New file.
9568 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9570 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9573 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9575 Merge JDK 1.4 java.security changes from classpath.
9577 * java/security/AccessControlException.java: Merge from Classpath.
9578 * java/security/AccessController.java: Likewise.
9579 * java/security/AllPermission.java: Likewise.
9580 * java/security/BasicPermission.java: Likewise.
9581 * java/security/Certificate.java: Likewise.
9582 * java/security/CodeSource.java: Likewise.
9583 * java/security/DigestException.java: Likewise.
9584 * java/security/DigestOutputStream.java: Likewise.
9585 * java/security/DomainCombiner.java: Likewise.
9586 * java/security/GeneralSecurityException.java: Likewise.
9587 * java/security/Guard.java: Likewise.
9588 * java/security/GuardedObject.java: Likewise.
9589 * java/security/InvalidAlgorithmParameterException.java: Likewise.
9590 * java/security/InvalidKeyException.java: Likewise.
9591 * java/security/InvalidParameterException.java: Likewise.
9592 * java/security/Key.java: Likewise.
9593 * java/security/KeyException.java: Likewise.
9594 * java/security/KeyManagementException.java: Likewise.
9595 * java/security/KeyStoreException.java: Likewise.
9596 * java/security/MessageDigest.java: Likewise.
9597 * java/security/NoSuchAlgorithmException.java: Likewise.
9598 * java/security/NoSuchProviderException.java: Likewise.
9599 * java/security/Permission.java: Likewise.
9600 * java/security/PermissionCollection.java: Likewise.
9601 * java/security/Permissions.java: Likewise.
9602 * java/security/Policy.java: Likewise.
9603 * java/security/Principal.java: Likewise.
9604 * java/security/PrivateKey.java: Likewise.
9605 * java/security/PrivilegedAction.java: Likewise.
9606 * java/security/PrivilegedActionException.java: Likewise.
9607 * java/security/PrivilegedExceptionAction.java: Likewise.
9608 * java/security/ProtectionDomain.java: Likewise.
9609 * java/security/ProviderException.java: Likewise.
9610 * java/security/PublicKey.java: Likewise.
9611 * java/security/SecureClassLoader.java: Likewise.
9612 * java/security/SecurityPermission.java: Likewise.
9613 * java/security/SignatureException.java: Likewise.
9614 * java/security/UnrecoverableKeyException.java: Likewise.
9615 * java/security/UnresolvedPermission.java: Likewise.
9616 * java/security/acl/AclNotFoundException.java: Likewise.
9617 * java/security/acl/LastOwnerException.java: Likewise.
9618 * java/security/acl/NotOwnerException.java: Likewise.
9619 * java/security/cert/CRLException.java: Likewise.
9620 * java/security/cert/CertificateEncodingException.java: Likewise.
9621 * java/security/cert/CertificateException.java: Likewise.
9622 * java/security/cert/CertificateExpiredException.java: Likewise.
9623 * java/security/cert/CertificateFactory.java: Likewise.
9624 * java/security/cert/CertificateNotYetValidException.java: Likewise.
9625 * java/security/cert/CertificateParsingException.java: Likewise.
9626 * java/security/spec/InvalidKeySpecException.java: Likewise.
9627 * java/security/spec/InvalidParameterSpecException.java: Likewise.
9629 * java/security/cert/CertPath.java: New file.
9630 * java/security/cert/CertPathBuilderException.java: New file.
9631 * java/security/cert/CertPathValidatorException.java: New file.
9632 * java/security/cert/CertStoreException.java: New file.
9634 * Makefile.am: Add new CertPath classes.
9635 * Makefile.in: Rebuilt.
9637 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9639 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9641 Merge JDK 1.4 exception chaining support from classpath.
9643 * java/lang/Throwable.java: Merge 1.4 support from classpath.
9644 (stackTraceBytes): Rename from stackTrace.
9645 * java/lang/Exception.java: Merge from classpath.
9646 * java/lang/StackTraceElement: New file from classpath.
9647 * gcj/javaprims.h: Rebuild CNI namespace declarations.
9648 * Makefile.am: Add StackTraceElement.
9649 * Makefile.in: Rebuilt.
9651 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9653 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9655 * Makefile.in: Rebuilt.
9657 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9659 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9660 * configure.in: Likewise.
9661 * aclocal.m4: Regenerate.
9662 * configure: Regenerate.
9664 2002-05-13 Tom Tromey <tromey@redhat.com>
9666 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9667 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9670 Fixes PR libgcj/6389:
9671 * Makefile.in: Rebuilt.
9672 * Makefile.am (nat_source_files): Added natTimeZone.cc.
9673 * java/util/natTimeZone.cc: New file.
9674 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9675 * java/lang/System.java: Merged with Classpath.
9676 * java/lang/Runtime.java: Merged with Classpath.
9677 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9679 (setIn0): Renamed from setIn; don't run security check.
9680 (setOut0): Renamed from setOut; don't run security check.
9681 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9682 init_properties): Moved to natRuntime.cc.
9683 Moved many includes to natRuntime.cc.
9684 (isWordsBigEndian): New method.
9685 * java/lang/natRuntime.cc: Include Long.h, also other includes
9686 previously in natSystem.cc.
9687 (maxMemory): New function.
9688 (exitInternal): Renamed from `_exit'.
9690 (init): Don't set finalize_on_exit.
9691 (exitInternal): Use `finalizeOnExit'.
9692 (file_encoding, getpwuid_adaptor): New functions from
9694 (insertSystemProperties): New method, renamed from
9695 System::init_properties. Don't set user.timezone.
9696 (_load): Don't call checkLink.
9697 (execInternal): New method.
9698 (availableProcessors): Likewise.
9699 (nativeGetLibname): Likewise.
9701 2002-05-11 Mark Wielaard <mark@klomp.org>
9703 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9705 (previous_internal): Likewise.
9707 2002-05-09 Tom Tromey <tromey@redhat.com>
9709 * jni.cc (_Jv_JNIFunctions): Fixed typo.
9711 * java/util/ResourceBundle.java: New version from Classpath.
9712 * java/util/Locale.java: Likewise.
9714 2002-05-09 Jakub Jelinek <jakub@redhat.com>
9716 * testsuite/lib/libjava.exp (libjava_arguments): Append all
9717 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9720 2002-05-08 Mark Mitchell <mark@codesourcery.com>
9722 * libjava/Makefile.am (all_java_source_files): New variable.
9723 (all_java_class_files): Likewise.
9724 .java.class: New rule.
9725 (CLEANFILES): Remove tmp-list.
9726 * libjava/Makefile.in: Regenerated.
9728 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
9730 * testsuite/lib/libjava.exp (test_libjava_from_javac):
9731 Append .exe to executable names. Fix for cygwin.
9733 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
9735 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9736 script entry, and set LD to it when configuring multilibs.
9737 * configure: Rebuilt.
9739 2002-05-07 Tom Tromey <tromey@redhat.com>
9741 * java/lang/natString.cc (unintern): Fixed typo.
9743 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9745 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9746 with -no-install on *-*-cygwin*.
9748 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9750 * testsuite/lib/libjava.exp (test_libjava_from_source):
9751 Add comment explaining last patch
9753 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
9755 * testsuite/lib/libjava.exp (test_libjava_from_source):
9756 Append .exe to executable names. If no suffix is present,
9757 then ".exe" is added by default on win32. Harmless
9758 elsewhere so always do it.
9760 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
9761 Tom Tromey <tromey@redhat.com>
9763 * java/lang/natSystem.cc (getSystemTimeZone): Use
9764 HAVE_UNDERSCORE_TIMEZONE.
9765 * include/config.h.in: Rebuilt.
9766 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9767 * aclocal.m4, configure: Rebuilt.
9768 * acinclude.m4: Run AC_EXEEXT.
9769 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9770 Add test for `_timezone'.
9772 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
9774 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9775 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9776 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9777 * Makefile.in: Rebuilt.
9779 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
9781 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9782 use sigaction instead of __libc_sigaction.
9784 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9786 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9787 (libjava_init): Use it to find libgcj.spec.
9788 (libjava_arguments): Likewise.
9790 2002-05-02 David S. Miller <davem@redhat.com>
9793 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9794 __libc_sigaction on Sparc.
9796 2002-05-02 Jerome Marc <marcjero@yahoo.com>
9798 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9799 sys/filio.h, if present.
9801 2002-04-30 Tom Tromey <tromey@redhat.com>
9803 * java/io/BufferedReader.java (fill): Handle case where markPos
9804 point to ignored \n. Fixes PR libgcj/6301.
9806 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
9808 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9810 2002-04-29 Adam King <aking@dreammechanics.com>
9812 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9813 of file in APPEND mode.
9815 2002-04-25 David S. Miller <davem@redhat.com>
9818 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9819 program counter to next program counter minus 8. Update
9820 comments in this macro to explain why.
9822 2002-04-26 Tom Tromey <tromey@redhat.com>
9824 * verify.cc (construct_primitive_array_type) [void_type]: New
9826 (branch_prepass): Added dummy entries for unused instruction
9828 (verify_instructions_0): Likewise.
9829 * interpret.cc (continue1): Comment fix.
9830 * include/java-insns.h (op_xxxunusedxxx1): Removed.
9831 * Makefile.in: Rebuilt.
9832 * Makefile.am: Added -Wswitch-enum.
9834 2002-04-24 Tom Tromey <tromey@redhat.com>
9836 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9837 correct length of UTF-8 encoded name. Strip leading `/'.
9838 (_Jv_RegisterResource): Use _Jv_Malloc.
9840 2002-04-23 Adam Megacz <adam@xwt.org>
9842 * win32.cc, include/win32.cc (backtrace): Added this function
9843 because Win32 does not supply it.
9845 2002-04-21 David S. Miller <davem@redhat.com>
9847 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9848 magic instruction reading sequence.
9850 2002-04-21 Mark Wielaard <mark@klomp.org>
9852 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9854 2002-04-19 David S. Miller <davem@redhat.com>
9856 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9858 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9859 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9861 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9863 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9864 * sysdeps/sparc/locks.h: New file.
9865 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9866 on all sparc Solaris configurations. Set to
9867 include/dwarf2-signal.h on sparc Linux.
9868 * configure: Regenerate
9869 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9871 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
9873 * configure: Rebuilt.
9874 * configure.in (backtrace): Function doesn't work on IA-64.
9876 2002-04-17 Adam King <aking@dreammechanics.com>
9878 * java/io/File.java (normalizePath): Add Win32 support for auto
9879 conversion of a '/' path separator to Win32's '\' separator.
9881 2002-04-16 Tom Tromey <tromey@redhat.com>
9883 Fix for PR libgcj/6081:
9884 * Makefile.in: Rebuilt.
9885 * Makefile.am (install-data-local): Use GNU make trick to avoid
9888 2002-04-16 Adam King <aking@dreammechanics.com>
9889 Tom Tromey <tromey@redhat.com>
9891 * java/io/natFileWin32.cc (performList): Return the correct array
9892 type. Don't duplicate the creation of a File since it's already
9893 done earlier in the method and the existing code would cause a
9894 ArrayStoreException. Don't use fixed-size array.
9895 (_access, _stat, attr, getCanonicalPath, performMkdir,
9896 performRenameTo): Don't use fixed-size array.
9897 (getCanonicalPath): Use throw, not _Jv_Throw.
9899 2002-04-15 DJ Delorie <dj@redhat.com>
9901 * configure.in: Allow building in $srcdir.
9902 * configure: Regenerated.
9904 2002-04-14 Mark Wielaard <mark@klomp.org>
9906 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9907 * java/net/natSocketImpl.cc (close): Likewise.
9909 2002-04-14 Mark Wielaard <mark@klomp.org>
9911 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9913 2002-04-13 Adam King <aking@dreammechanics.com>
9915 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9916 the f/F/d/D modifiers.
9918 2002-04-12 Anthony Green <green@redhat.com>
9920 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9921 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9922 * Makefile.in: Rebuilt.
9923 * configure.in: Substitute gcc_version.
9924 * configure: Rebuilt.
9926 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9928 * configure.host: Set can_unwind_signal on hosts which support it.
9929 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9930 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9931 exceptions and can_unwind_signal isn't set.
9932 * configure: Rebuilt.
9934 2002-04-11 Tom Tromey <tromey@redhat.com>
9936 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9938 2002-04-11 Adam King <aking@dreammechanics.com>
9939 Tom Tromey <tromey@redhat.com>
9941 * include/jvm.h (_Jv_ThrowBadArrayIndex,
9942 _Jv_ThrowNullPointerException): Mark as noreturn.
9943 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9944 and _Jv_free. Correctly invoke GetTempPath(). Indentation
9947 2002-04-10 Tom Tromey <tromey@redhat.com>
9949 * Makefile.in: Rebuilt.
9950 * Makefile.am (java/lang/Thread.h): Mark
9951 _Jv_AttachCurrentThreadAsDaemon as friend.
9952 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9953 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9954 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9956 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9957 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9958 (_Jv_JNI_InvokeFunctions): Added
9959 _Jv_JNI_AttachCurrentThreadAsDaemon.
9960 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9961 (JNI_GetDefaultJavaVMInitArgs): Likewise.
9962 (JNI_CreateJavaVM): Likewise.
9963 (_Jv_JNI_AttachCurrentThread): Likewise.
9964 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9965 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9966 (_Jv_JNIFunctions): Initialize new fields.
9967 (_Jv_JNI_NewDirectByteBuffer): New function.
9968 (_Jv_JNI_GetDirectBufferAddress): Likewise.
9969 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9970 * include/jni.h (JNI_VERSION_1_4): New macro.
9971 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9972 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9973 (JNINativeInterface::NewDirectByteBuffer): New field.
9974 (JNINativeInterface::GetDirectBufferAddress): New field.
9975 (JNINativeInterface::GetDirectBufferCapacity): New field.
9976 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9977 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9978 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9980 2002-04-09 Tom Tromey <tromey@redhat.com>
9982 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9984 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
9986 Fix for PR libgcj/6187:
9987 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9990 2002-04-07 Mark Wielaard <mark@klomp.org>
9992 * java/util/AbstractMap.java (putAll): Use entrySet size.
9993 (toString): Explicitly use getKey() and getValue().
9995 2002-04-07 Mark Wielaard <mark@klomp.org>
9997 * java/util/Hashtable.java (contains): Remove NullPointer check.
9998 (containsValue): Add NullPointer check.
9999 (remove): Always throw NullPointerException when key
10002 2002-04-07 Adam King <aking@dreammechanics.com>
10004 * java/lang/natSystem.cc (init_properties): Call new function
10005 _Jv_platform_initProperties.
10006 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
10007 support for the System properties os.name, os.arch, os.version,
10008 user.name, user.home, and user.dir.
10009 * include/posix.h, include/win32.h, posix.cc: New function
10010 _Jv_platform_initProperties.
10012 2002-04-06 Mark Wielaard <mark@klomp.org>
10014 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
10016 2002-04-06 Mark Wielaard <mark@klomp.org>
10018 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
10019 all of the remaining elements.
10020 * java/util/Vector.java (addAll(int,Collection)): Likewise.
10021 (removeRange): If toIndex == fromIndex do
10022 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10023 (removeAll): Always throw NullPointerException when collection is
10025 (retrainAll): Likewise.
10027 2002-04-05 Mark Wielaard <mark@klomp.org>
10029 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
10030 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
10032 2002-04-05 Adam Megacz <adam@xwt.org>
10034 * exception.cc (abort): added static modifier
10036 2002-04-04 Adam Megacz <adam@xwt.org>
10038 * include/win32.h (_Jv_platform_close_on_exec): added inline
10041 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
10043 * configure.host: Add case statement to support generic port
10044 properties. Add *-*-freebsd* section.
10046 2002-04-04 Mark Wielaard <mark@klomp.org>
10048 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
10050 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
10051 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
10052 that depend on awt code and BufferedByteOutputStream.interrupt.
10054 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10056 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
10057 incorrect "hi" value when count > 40.
10059 2002-04-03 Mark Wielaard <mark@klomp.org>
10061 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
10064 2002-04-02 Tom Tromey <tromey@redhat.com>
10066 * java/lang/natClassLoader.cc (findClass): Compare against `3',
10069 2002-04-02 Mark Wielaard <mark@klomp.org>
10071 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
10072 list of testsuite crashers.
10074 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10076 * java/util/IdentityHashMap.java (put): Set new threshold correctly
10077 when resizing table.
10079 2002-04-01 Mark Wielaard <mark@klomp.org>
10081 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
10082 NegativeArraySizeException
10083 (clear(int)): Use sign extended shift.
10084 (flip(int)): Likewise.
10085 (get(int)): Likewise.
10086 (nextClearBit(int)): Likewise.
10087 (nextSetBit(int)): Likewise.
10088 (set(int)): Likewise.
10090 2002-04-01 Mark Wielaard <mark@klomp.org>
10092 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10093 that can be compiled now and add testsuite crashers to ignore list.
10095 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10097 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10099 * libgcj.spec.in: Override libgcc, not lib.
10100 * libgcj-test.spec.in: Likewise.
10102 2002-03-29 Tom Tromey <tromey@redhat.com>
10104 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10105 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10107 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10109 * java/net/PlainDatagramSocketImpl.java
10110 (close): Use native implementation.
10111 (finalize): New method.
10113 * java/net/PlainSocketImpl.java (finalize): New method.
10115 * java/net/natPlainDatagramSocketImpl.cc
10116 (java/io/FileDescriptor.h): Don't include.
10117 (close): Implement method here.
10118 (create): Don't assign fd.
10120 * java/net/natPlainSocketImpl.cc
10121 (java/io/FileDescriptor.h): Don't include.
10122 (create): Don't assign fd.
10123 (accept): Likewise.
10124 (close): Synchronize.
10126 2002-03-27 Richard Henderson <rth@redhat.com>
10128 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10130 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10132 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10133 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10134 instead of syscall on IA-64.
10137 2002-03-27 Anthony Green <green@redhat.com>
10139 * libgcj.spec.in: Add CHECKREFSPEC.
10140 * configure.in: Ditto.
10141 * configure.host: Ditto. Check references for xscale-elf.
10142 * configure: Rebuilt.
10144 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10146 * include/dwarf2-signal.h: Temporarily back out last change.
10148 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10150 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10152 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10154 * configure.in, configure: enable dwarf2-exception-style
10155 exception handling on IA-64.
10156 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10157 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10160 2002-03-25 Tom Tromey <tromey@redhat.com>
10162 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10163 (jv_convert_LDFLAGS): Likewise.
10164 (gij_LDFLAGS): Likewise.
10165 (rmic_LDFLAGS): Likewise.
10166 (rmiregistry_LDFLAGS): Likewise.
10167 * configure.in (THREADLDFLAGS): New subst; set correctly for
10170 2002-03-25 Tom Tromey <tromey@redhat.com>
10172 For PR libgcj/5303:
10173 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10175 (help): New method.
10176 (version): Likewise.
10177 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10179 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10182 2002-03-25 Tom Tromey <tromey@redhat.com>
10184 * java/awt/Component.java (processEvent): Check ComponentEvent
10187 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10189 * java/io/PushbackReader.java: Reformat.
10191 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10192 calculate correct number of bytes skipped.
10194 Based on patch from Intel's ORP team:
10195 * java/io/PushbackInputStream.java (available): Calculate correct
10196 number of bytes in buffer.
10197 (read): Remove redundant bound check. Return bytes from both the
10198 buffer and the stream.
10200 2002-03-24 Tom Tromey <tromey@redhat.com>
10202 * java/awt/TextComponent.java (TextComponent): Editable by
10205 * java/awt/MenuItem.java (eventMask): No longer private.
10206 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10207 superclass if we didn't handle event.
10208 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10209 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10210 * java/awt/Choice.java (dispatchEventImpl): New method.
10211 * java/awt/List.java (dispatchEventImpl): New method.
10212 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10213 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10214 * java/awt/TextField.java (dispatchEventImpl): New method.
10216 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10218 * java/beans/IntrospectionException.java: Update to 1.4.
10219 * java/beans/PropertyVetoException.java: Ditto.
10221 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10223 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10224 Arrays.equals instead of ArrayHelper.equalsArray.
10226 2002-03-24 C. Brian Jones <cbj@gnu.org>
10228 * java/beans/Introspector.java: added new static final fields
10229 introduced in 1.2, lots of other updates remain to be done
10231 2002-03-24 C. Brian Jones <cbj@gnu.org>
10233 * java/beans/Introspector.java: reformatting
10235 2002-03-24 C. Brian Jones <cbj@gnu.org>
10237 * java/beans/Introspector.java: default beanInfoSearchPath will
10238 not include sun.beans.infos given we provide no such package and
10239 the API doesn't really require it; gnu.java.beans.info is the
10242 2002-03-24 Mark Wielaard <mark@klomp.org>
10244 Thanks to Orp developers
10245 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10246 switch TRUE and FALSE return values.
10248 2002-03-23 Tom Tromey <tromey@redhat.com>
10250 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10251 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10253 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10255 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10256 MONTH entry. Fixes PR libgcj/6045.
10258 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10260 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10262 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10264 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10266 * sysdep/powerpc/locks.h (write_barrier): New function.
10267 * sysdep/i386/locks.h (write_barrier): New function.
10269 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10271 * include/jni.h Use correct C comments.
10273 2002-03-18 Tom Tromey <tromey@redhat.com>
10275 * include/jni.h (JNIIMPORT): New macro.
10276 (JNIEXPORT): Likewise.
10277 (JNICALL): Likewise.
10279 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10281 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10284 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10286 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10287 INIT_SEGV: Use old_i386_kernel_sigaction.
10290 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10292 * java/lang/natSystem.cc (init_properties): Update VM version
10294 * configure.in: Set GCJVERSION.
10295 * acconfig.h: Add GCJVERSION.
10296 * configure: Rebuilt.
10297 * include/config.h.in: Rebuilt.
10299 2002-03-17 Anthony Green <green@redhat.com>
10301 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10303 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10305 Build a single libgcj.so, without separate gc and zlib libraries.
10306 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10307 SYS_ZLIBS if system zlib is used.
10308 * configure: Rebuilt.
10309 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10310 * Makefile.in: Rebuilt.
10311 * libtool-version: Increment .so version number.
10313 * Makefile.am: Escape quotes in echo.
10314 * Makefile.in: Rebuilt.
10316 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10318 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10319 * Makefile.in: Rebuilt.
10321 2002-03-15 Anthony Green <green@redhat.com>
10323 * configure.host (FILE): New macro for specifing File
10325 * configure: Rebuilt.
10326 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10328 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10330 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10331 already implicitly brought in from libgcj.la.
10332 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10333 * Makefile.in: Rebuilt.
10335 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10337 * THANKS: Fix punctuation, alphabetization.
10339 2002-03-15 Tom Tromey <tromey@redhat.com>
10340 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10342 Fix for PR libgcj/5944.
10343 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10345 2002-03-15 Anthony Green <green@redhat.com>
10347 * configure.in (tool_include_dir): Define.
10348 * configure: Rebuilt.
10349 * gcj/Makefile.am: Install libgcj-config.h relative to
10351 * gcj/Makefile: Rebuilt.
10352 * gcj/libgcj-config.h: Add warning comment.
10354 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10356 * configure.host (powerpc*-darwin*): Enable interpreter.
10358 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10360 * include/posix.h: Add multiple include header protection.
10361 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10363 2002-03-10 Adam Megacz <adam@xwt.org>
10365 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10367 2002-03-10 Tom Tromey <tromey@redhat.com>
10369 * java/awt/GridLayout.java (layoutContainer): Handle case where
10370 there are no items in container.
10372 * java/lang/Win32Process.java: Added comment.
10373 * include/posix.h (_Jv_platform_close_on_exec): New function.
10375 * include/win32.h (_Jv_platform_close_on_exec): New function.
10376 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10378 (accept): Likewise.
10379 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10380 close-on-exec flag.
10381 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10384 2002-03-09 Tom Tromey <tromey@redhat.com>
10386 * verify.cc (state::NO_STACK): New constant.
10387 (state::is_unmerged_ret_state): Handle case where stacktop is
10389 (state::merge): Handle NO_STACK merges.
10390 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10391 for instruction following jsr.
10392 (stacktop, stackdepth): Removed unused variables.
10393 (pop_jump): Ignore case where all remaining states are skipped.
10395 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10397 * java/awt/ImageMediaEntry: Removed.
10398 * java/awt/MediaEntry: Removed.
10400 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10402 Hashtable synchronization for PowerPC.
10403 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10404 slow_pthread_self. Set up symlink for sysdeps directory.
10405 * configure: Rebuild.
10406 * configure.host: Document more shell variables. Set sysdeps_dir
10407 for most platforms. Set slow_pthread_self for i686. Set
10408 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10409 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10410 that memory barrier is emitted where required.
10411 * prims.cc: 64-bit align static primitive class instances.
10412 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10413 read_barrier() to enforce ordering of reads.
10414 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10415 primitives for PowerPC.
10416 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10417 moved from natObject.cc.
10418 * sysdep/alpha/locks.h: Likewise.
10419 * sysdep/ia64/locks.h: Likewise.
10420 * sysdep/generic/locks.h: Likewise.
10421 * java/lang/natObject.cc: Move thread synchronization primitives to
10422 system-dependent headers.
10424 2002-03-09 Adam Megacz <adam@xwt.org>
10426 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10427 bytes read and no failure code returned.
10429 2002-03-09 Adam Megacz <adam@xwt.org>
10431 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10432 definitions to simulate -mthreads.
10434 2002-03-09 Adam Megacz <adam@xwt.org>
10436 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10437 avoid precision loss.
10439 2002-03-09 Per Bothner <per@bothner.com>
10441 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10442 * gnu/gcj/xlib/XImage.java: Likewise.
10443 * gnu/gcj/xlib/XColor.java: Likewise.
10445 2002-03-09 Adam Megacz <adam@xwt.org>
10447 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10448 IOException so that Throwable.printStackTrace fails correctly.
10450 2002-03-08 Adam Megacz <adam@xwt.org>
10452 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10455 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10457 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10460 2002-03-08 Tom Tromey <tromey@redhat.com>
10462 * include/jni.h: Include stdio.h.
10464 2002-03-08 Tom Tromey <tromey@redhat.com>
10466 * posix.cc (internal_gettimeofday): New function.
10467 (_Jv_select): Use it.
10469 2002-03-07 Adam Megacz <adam@xwt.org>
10471 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10472 WIN32, and added thunks for read(), write(), and close().
10473 * java/net/natPlainSocketImpl.cc (accept, read, read):
10474 Disabled timeouts on WIN32 pending discussion.
10476 2002-03-07 Adam Megacz <adam@xwt.org>
10478 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10479 returns jlong. Added implementation
10480 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10482 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10484 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10486 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10487 _Jv_platform_gettimeofday signature.
10489 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10491 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10492 (read): Call recv() directly, not _Jv_recv().
10494 2002-03-06 Tom Tromey <tromey@redhat.com>
10496 * java/io/natFileDescriptorEcos.cc (init): Don't use
10498 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10500 (init): Don't use GetStdHandle.
10502 * include/config.h.in: Rebuilt.
10503 * configure: Rebuilt.
10504 * Makefile.in: Rebuilt.
10506 2002-03-06 Adam Megacz <adam@xwt.org>
10508 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10509 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10510 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10511 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10513 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10515 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10516 the code for generating include/java-chartables.h.
10517 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10518 merge with Classpath.
10519 * scripts/unicode-muncher.pl: Copy from Classpath.
10520 * scritps/MakeCharTables.java: New file.
10521 * gnu/gcj/convert/Blocks-3.txt: New file.
10522 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10523 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10524 * gnu/java/lang/CharData.java: Copy from Classpath.
10525 * Makefile.am (ordinary_java_source_files): Add
10526 gnu/java/lang/CharData.java.
10527 * configure.in: Remove --enable-fast-character option.
10528 * java/lang/Character.java: Merge algorithms and Javadoc with
10530 * java/lang/natCharacter.cc: Implement Unicode lookup table more
10532 * include/java-chardecomp.h: Regenerate.
10533 * include/java-chartables.h: Regenerate.
10535 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10537 * java/awt/MediaTracker.java: Implemented.
10538 * Makefile.am: Add MediaTracker.
10539 * Makefile.in: Rebuilt.
10541 2002-03-05 Tom Tromey <tromey@redhat.com>
10543 * java/lang/natPosixProcess.cc (fail): Removed.
10544 (startProcess): Simplified error-handling. Preserve
10545 LD_LIBRARY_PATH across exec.
10547 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10548 AbstractMethodError.
10550 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10552 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10553 * Makefile.in: Rebuilt.
10555 2002-03-03 Mark Wielaard <mark@klomp.org>
10557 * java/util/Timer (TaskQueue.stop): set elements to zero.
10559 2002-02-28 Anthony Green <green@redhat.com>
10561 * java/lang/reflect/natMethod.cc (result): Add void* element.
10562 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
10565 2002-02-27 Adam Megacz <adam@xwt.org>
10567 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10570 2002-02-26 Tom Tromey <tromey@redhat.com>
10572 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10573 * gij.cc (version): Use __VERSION__.
10574 * include/config.h.in: Rebuilt.
10575 * acconfig.h (GCJVERSION): Removed.
10576 * configure: Rebuilt.
10577 * configure.in (GCJVERSION): Removed.
10579 2002-02-26 Andreas Schwab <schwab@suse.de>
10581 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10582 glibcpp_CXX, since libjava uses even another CXX.
10583 * aclocal.m4, configure: Regenerated.
10585 2002-02-26 Tom Tromey <tromey@redhat.com>
10587 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10590 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10592 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10593 dependency tracking for .java files.
10594 * Makefile.in: Rebuilt.
10596 2002-02-24 Adam Megacz <adam@xwt.org>
10598 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10601 2002-02-24 Adam Megacz <adam@xwt.org>
10603 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10604 for Win32, changed #ifdefs to check WIN32 instead of the
10605 (now-obsolete) USE_WINSOCK, and removed support for socket
10606 timeouts on Win32 pending further discussion.
10608 2002-02-24 Adam Megacz <adam@xwt.org>
10610 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10611 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10614 2002-02-24 Adam Megacz <adam@xwt.org>
10616 * java/lang/Win32Process.java: Created a dummy class to allow
10617 build process to run to completion.
10619 2002-02-24 Jeff Sturm <jsturm@one-point.com>
10621 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10622 Define ffi_result union for ffi_call result. Cast
10623 ffi_result members to jvalue.
10625 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
10627 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10628 * testsuite/Makefile.in: Likewise.
10630 2002-02-20 Per Bothner <per@bothner.com>
10632 * java/net/URL.java (getPath): New JDK 1.3 method.
10634 * java/net/URLStreamHandler.java (parseURL):
10635 It is wrong to prepend '/' to the file part of a relative url.
10637 * java/net/URLStreamHandler.java (parseURL):
10638 Minor optizations - append '/' rather than "/".
10640 * java/net/URLStreamHandler.java (parseURL):
10641 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10642 We probably should canonicalize for a context-relative url, though.
10643 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
10644 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
10645 (sameFile): New method. Uses canonicalizeFilename.
10647 2002-02-22 Tom Tromey <tromey@redhat.com>
10649 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10650 java.vendor and java.vm.vendor.
10651 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10652 recent copyright date.
10653 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10654 * gij.cc (version): Print `Inc'.
10656 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10658 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10659 * aclocal.m4, configure: Rebuilt.
10661 2002-02-20 Per Bothner <per@bothner.com>
10663 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
10664 and/or output streams immediately here, instead of using File.exists.
10665 (inputStream, outputStream): New fields to save open streams.
10666 (getInputStream, getOutputStream): Use already-opened streams.
10668 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10670 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10672 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10673 * aclocal.m4, configure, Makefile.in: Rebuilt.
10675 2002-02-19 Tom Tromey <tromey@redhat.com>
10677 Fix for PR libgcj/5696:
10678 * verify.cc (is_assignable_from_slow): Never call
10679 _Jv_IsAssignableFrom.
10680 (verify_instructions_0): Added new debug statement.
10681 (state::print): Print information about whether local has
10683 (state::merge): Don't call note_variable when merging locals.
10684 (state::set_exception): Removed old FIXME comment.
10686 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10688 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10689 enable SO_BROADCAST.
10691 2002-02-18 Jason Merrill <jason@redhat.com>
10693 * name-finder.cc (toHex): Use word mode, not long long.
10695 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10697 2002-02-15 Tom Tromey <tromey@redhat.com>
10699 Fix for PR libgcj/5695:
10700 * verify.cc (is_assignable_from_slow): Check to see if target is
10701 an Object before checking to see if source is an interface.
10702 (verify_instructions_0) [op_invokeinterface]: Handle case where
10703 we're making an interface call on Object.
10705 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10707 * Makefile.in: Rebuilt with Eric's change below.
10709 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10710 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10711 Removed functions which are now implemented in Math.java.
10713 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10715 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10716 * Makefile.am (core_java_source_files): Add
10717 java/lang/StrictMath.java.
10718 * java/lang/Math.java: Merge with Classpath.
10719 * java/lang/StrictMath.java: New file - merge with Classpath.
10721 2002-02-14 Mark Wielaard <mark@klomp.org>
10723 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10724 package as a workaround for gcj 3.0.x
10726 2002-02-14 Mark Wielaard <mark@klomp.org>
10728 * java/security/BasicPermission.java: extends with fully qualified
10729 classname as workaround for gcj 3.0.4.
10731 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10733 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10734 around gcj bug of wrong emitted qualifier for inherited method.
10735 * java/net/SocketImpl.java (setOption, getOption): Ditto.
10736 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10737 constructor to reduce amount of emitted bytecode. While this
10738 happens to work around a jikes 1.15 bug, it is still a useful
10739 patch even for correct compilers.
10740 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10741 * gnu/java/rmi/server/UnicastRemoteCall.java
10742 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10744 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10746 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10747 * java/net/SocketImpl.java: Ditto.
10748 * java/rmi/server/RMIClassLoader.java: Ditto.
10749 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10751 2002-02-14 Mark Wielaard <mark@klomp.org>
10753 Thanks to Takashi Okamoto
10754 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10755 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10756 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10758 2002-02-13 Todd Stock <toddastock@yahoo.com>
10760 Fix for PR libgcj/5670:
10761 * verify.cc (is_assignable_from_slow): If `source' is interface,
10762 recursively look for merge with `target'.
10764 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
10766 * include/jni.h: Fix typo.
10768 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
10770 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10773 2002-02-13 Todd Stock <toddastock@yahoo.com>
10775 Fix for PR libgcj/5671:
10776 * verify.cc (state::merge): Handle case where we're merging
10777 against an interface.
10779 2002-02-12 Tom Tromey <tromey@redhat.com>
10781 * exception.cc (std::abort): Mark as noreturn.
10783 2002-02-12 Adam Megacz <adam@xwt.org>
10785 * java/lang/Win32Process.java: Filled in a placeholder
10786 implementation so Win32 will build.
10788 2002-02-12 Adam Megacz <adam@xwt.org>
10790 * java/io/natFilePosix.cc: Copied this from natFile.cc.
10791 * java/io/natFile.cc: Removed from repository.
10792 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10794 2002-02-12 Adam Megacz <adam@xwt.org>
10796 * win32.cc: Added two #includes to make win32.cc compile.
10798 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10800 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10802 (_Jv_InitGC): Don't bother locking, as this is always called from a
10803 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10805 2002-02-11 Adam Megacz <adam@xwt.org>
10807 * include/win32.h: Added _Jv_platform_gettimeofday.
10808 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10810 2002-02-11 Adam Megacz <adam@xwt.org>
10812 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10813 Added #undef STRICT to make windows.h and
10814 java/lang/reflect/Modifier.h cooperate.
10816 2002-02-11 Adam Megacz <adam@xwt.org>
10818 * java/io/natFileWin32.cc: Created a placeholder class with lots
10821 2002-02-11 Adam Megacz <adam@xwt.org>
10823 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10824 std::abort() to simply abort(). Also added "fake" std::abort() so
10825 we can #include unwind-pe.h without having to link against
10828 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
10830 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10832 2002-02-08 Tom Tromey <tromey@redhat.com>
10834 * interpret.cc (convert): New function.
10835 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10839 2002-02-08 Anthony Green <green@redhat.com>
10841 * configure.host: Add support for xscale-elf embedded target.
10843 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
10845 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10847 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10850 2002-02-07 Tom Tromey <tromey@redhat.com>
10852 * java/io/natFile.cc (_access): Use __builtin_alloca.
10855 (getCanonicalPath): Likewise.
10856 (performList): Likewise.
10857 (performMkdir): Likewise.
10858 (performSetReadOnly): Likewise.
10859 (performRenameTo): Likewise.
10860 (performSetLastModified): Likewise.
10861 (performCreate): Likewise.
10862 (performDelete): Likewise.
10864 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10866 * HACKING: Fix URL for the automake-gcj.
10868 2002-02-07 Tom Tromey <tromey@redhat.com>
10870 * java/lang/natThrowable.cc: Updated copyright.
10871 * java/io/natFileWin32.cc: Updated copyright.
10872 * java/io/natFileDescriptorWin32.cc: Updated copyright.
10873 * win32-threads.cc: Updated copyright.
10874 * name-finder.cc: Updated copyright.
10875 * include/name-finder.h: Updated copyright.
10877 * include/name-finder.h: Conditionally include sys/wait.h.
10878 * include/config.h.in: Rebuilt.
10880 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10881 Size buffer based on real size of string.
10884 (getCanonicalPath): Likewise.
10885 (performList): Likewise.
10886 (performMkdir): Likewise.
10887 (performSetReadOnly): Likewise.
10888 (unixroot): Removed.
10889 (performRenameTo): Likewise.
10890 (performSetLastModified): Likewise.
10891 (performCreate): Likewise.
10892 (performDelete): Likewise.
10893 (performListRoots): Always return new array.
10895 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10896 * win32.cc (win32_exception_handler): Now static.
10897 * include/win32.h (_Jv_platform_initialize): Declare.
10898 (win32_exception_handler): Don't declare.
10899 * java/lang/natSystem.cc (currentTimeMillis): Use
10900 _Jv_platform_gettimeofday.
10901 * posix.cc (_Jv_platform_gettimeofday): Renamed.
10902 (_Jv_select): Use new name.
10903 (_Jv_platform_initialize): New function.
10904 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10906 (_Jv_platform_initialize): Declare.
10908 * configure: Rebuilt.
10909 * configure.in: Removed unnecessary parens.
10911 2002-02-06 Adam Megacz <adam@xwt.org>
10913 * configure.in: Changed mingw) to *mingw*).
10914 * win32.cc: Created this file.
10915 * win32.h: Created this file.
10916 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10917 win32_exception_handler from prims.cc to win32.cc, added
10919 * prims.cc: removed some #ifdef-WIN32'd headers which are no
10920 longer needed now that we have platform.h
10922 2002-02-06 Adam Megacz <adam@xwt.org>
10924 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10925 use uint<n>_t instead of LONG and BYTE
10927 2002-02-06 Adam Megacz <adam@xwt.org>
10929 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10931 2002-02-06 Anthony Green <green@redhat.com>
10933 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10934 Implement missing method stubs.
10935 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10937 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10938 concept of timezones.
10939 (init_properties): Don't refer to _Jv_Environment_Properties
10940 when this feature is not available.
10941 * include/config.h.in: Rebuilt.
10942 * acconfig.h: Add DISABLE_MAIN_ARGS.
10943 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10944 * configure: Rebuilt.
10945 * configure.in: Add --disable-main-args option. Test for
10946 opendir function. Replace AC_CHECK_SIZEOF with
10947 AC_COMPILE_CHECK_SIZEOF.
10948 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10949 * aclocal.m4: Rebuilt.
10950 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10952 2002-02-06 Tom Tromey <tromey@redhat.com>
10954 * verify.cc (require_array_type): If argument is a null array of
10955 references, return null as the element type.
10957 2002-02-06 Mark Wielaard <mark@klomp.org>
10959 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10960 duplicate of a wide type.
10962 2002-02-06 Tom Tromey <tromey@redhat.com>
10964 * verify.cc (type::isnull): New method.
10965 (require_array_type): Handle case where array is null.
10966 (verify_instructions_0) [op_arraylength]: Likewise.
10968 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10970 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10971 Symlink PLATFORMH to platform.h.
10972 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10974 * java/lang/natSystem.cc: #include platform.h not posix.h.
10975 * Makefile.in: Rebuilt with libgcj automake.
10976 * configure: Rebuilt.
10978 2002-02-05 Richard Henderson <rth@redhat.com>
10980 * Makefile.in: Undo munging last change.
10982 2002-02-04 Adam Megacz <adam@xwt.org>
10984 * win32.cc: Created it.
10985 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10986 which is set to posix.cc or win32.cc.
10987 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10989 2002-02-04 Adam Megacz <adam@xwt.org>
10991 * configure.in: Corrected mingw case branches; added * before
10994 2002-02-04 Adam Megacz <adam@xwt.org>
10996 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10997 if compiling for win32
10999 2002-02-04 Adam Megacz <adam@xwt.org>
11001 * win32-threads.cc: #undef STRICT after gc.h inclusion
11003 2002-02-02 Tom Tromey <tromey@redhat.com>
11005 * Makefile.in: Rebuilt.
11007 2002-02-02 Jason Merrill <jason@redhat.com>
11009 * Makefile.am (clean-nat): New target.
11011 2002-02-02 Tom Tromey <tromey@redhat.com>
11013 * java/io/natFile.cc: Removed old "FIXME" comments.
11015 2002-02-01 Tom Tromey <tromey@redhat.com>
11017 * java/lang/natPosixProcess.cc (myclose): New function.
11019 (startProcess): Likewise.
11021 2002-02-01 Adam Megacz <adam@xwt.org>
11023 * prims.cc: Added #undef STRICT after #include<windows.h>.
11025 2002-02-01 Adam Megacz <adam@xwt.org>
11028 (_Jv_CreateJavaVM): We now use WIN32 instead of
11029 USE_WIN32_SIGNALLING and USE_WINSOCK.
11030 (win32_exception_handler): Now throws an exception out of
11031 the signal handler; assumes SJLJ.
11033 2002-02-01 Adam Megacz <adam@xwt.org>
11035 * win32-threads.cc:
11036 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
11037 wait() algorithm to make it safe.
11038 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
11039 Added lazy creation of Win32 Events for better performance
11040 (really_start): This now uses GC_CreateThread so boehm-gc
11041 knows about new threads even when statically linked.
11043 2002-02-01 Adam Megacz <adam@xwt.org>
11045 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
11046 enable safer wait() algorithm.
11047 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
11048 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
11049 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
11050 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
11052 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
11054 2002-02-01 Adam Megacz <adam@xwt.org>
11056 * configure.in: Added support for mingw.
11057 * java/lang/Win32Process.java: Created as empty file.
11058 * java/lang/natWin32Process.cc: Created as empty file.
11060 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
11063 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
11064 for libiconv in LIBICONV variable.
11065 * configure: Regenerated.
11067 2002-01-31 Tom Tromey <tromey@redhat.com>
11069 * verify.cc (state::enter_subroutine): New method.
11070 (handle_jsr_insn): Use it.
11071 (state::merge): When processing a `ret', correctly use
11072 subroutine's state to determine which local variables have
11074 (push_exception_jump): Don't let stack overflow.
11076 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
11078 * gnu/gcj/convert/Convert.java: Only include one copyright year in
11081 2002-01-30 Tom Tromey <tromey@redhat.com>
11083 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11084 parameter for `recv' return type.
11086 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11087 (state::merge): ... not here.
11088 (subr_entry_info): New structure.
11089 (entry_points): New field.
11090 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11093 2002-01-29 Tom Tromey <tromey@redhat.com>
11095 * java/awt/List.java (addNotify): Correctly check to see if peer
11098 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11099 to compute height of each cell, and number of columns to compute
11100 width of each cell.
11101 * java/awt/Window.java (getOwnedWindows): Don't return null.
11102 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11103 of component. Increment x using horizontal gap, not vertical
11106 2002-01-28 Tom Tromey <tromey@redhat.com>
11108 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11109 `nargs' byte is number of words, not number of arguments.
11111 2002-01-27 Tom Tromey <tromey@redhat.com>
11113 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11115 * java/awt/event/InputEvent.java (modifiers, when): Now
11118 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11120 (state::merge): Use current class' class loader.
11121 (state::print): Print subroutine.
11122 (state::merge): Don't look at subroutine of unmerged `ret'.
11124 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11126 * nogc.cc: Remove warnings.
11127 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11130 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11132 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11133 int, int): Remove empty "if" statement to work around compiler bug.
11134 (newPixels(int[], ColorModel, int, int): Likewise.
11136 2002-01-25 Per Bothner <per@bothner.com>
11138 * verify.cc (verify_fail): Change from being a top-level function
11139 to e method of _Jv_BytecodeVerifier. Emit current method name.
11140 Pass the current verifier to type: and state: methods as needed,
11141 for better error messages, and for resolve.
11142 (resolve): Pass current class's loader for Class.forName and
11143 _Jv_FindClassFromSignature, rather than using the default loader.
11144 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11145 (get_type_val_for_signature): Make non-static.
11146 (various methods): Pass start_PC implicitly, not explicitly.
11148 2002-01-25 Tom Tromey <tromey@redhat.com>
11150 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11151 loop termination condition.
11152 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11155 2002-01-24 Tom Tromey <tromey@redhat.com>
11157 * java/awt/Shape.java: Merged with Classpath.
11158 * java/awt/Scrollbar.java: Merged with Classpath.
11160 * java/awt/Container.java (addNotify): Unconditionally call
11161 addNotifyContainerChildren and superclass addNotify.
11163 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11164 getAlpha, not getBlue.
11166 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11168 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11170 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11171 (grabPixels(long)): Wait to be notified that the ImageProducer has
11174 2002-01-24 Per Bothner <per@bothner.com>
11176 * verify.cc (is_assignable_from_slow): If target is an interface,
11177 we must still check the source's superclass before giving up.
11179 2002-01-24 Tom Tromey <tromey@redhat.com>
11181 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11183 2002-01-23 Tom Tromey <tromey@redhat.com>
11185 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11188 * Makefile.in: Rebuilt.
11189 * Makefile.am (awt_java_source_files): Added new files.
11190 * java/awt/Toolkit.java: Merged with Classpath.
11191 * java/awt/PrintGraphics.java: New file from Classpath.
11192 * java/awt/PrintJob.java: New file from Classpath.
11193 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11194 * java/awt/datatransfer/ClipboardOwner.java: New file from
11196 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11197 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11198 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11200 * java/awt/datatransfer/StringSelection.java: New file from
11202 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11204 * java/awt/datatransfer/Transferable.java: New file from
11206 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11209 * Makefile.in: Rebuilt.
11210 * Makefile.am (awt_java_source_files): Added new files.
11211 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11213 * java/awt/image/CropImageFilter.java: New file from Classpath.
11214 * java/awt/image/FilteredImageSource.java: New file from
11216 * java/awt/image/ImageFilter.java: New file from Classpath.
11217 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11218 * java/awt/image/PixelGrabber.java: New file from Classpath.
11219 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11220 * java/awt/image/ReplicateScaleFilter.java: New file from
11222 * java/awt/image/ImageProducer.java: Replaced with Classpath
11224 * java/awt/image/ImageObserver.java: Replaced with Classpath
11226 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11228 * java/awt/GridBagConstraints.java (clone): Catch
11229 CloneNotSupportedException.
11231 2002-01-23 Per Bothner <per@bothner.com>
11233 * java/lang/reflect/natField.cc (setAddr): New function.
11234 Calls getAddr and then checks that the field isn't final.
11235 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11236 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11237 (set): Call setAddr before check that new value has right type,
11238 to better match specified semantics.
11240 2002-01-22 Tom Tromey <tromey@redhat.com>
11242 * java/awt/TextField.java: Replaced with Classpath version.
11243 * java/awt/TextArea.java: Replaced with Classpath version.
11244 * java/awt/TextComponent.java: Replaced with Classpath version.
11246 * java/awt/GridBagConstraints.java: Updated copyright.
11248 2002-01-22 Mark Wielaard <mark@klomp.org>
11250 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11251 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11252 java/awt/Dialog.java java/awt/FileDialog.java
11253 java/awt/Font.java java/awt/FontMetrics.java
11254 java/awt/Image.java java/awt/ImageMediaEntry.java
11255 java/awt/Insets.java java/awt/List.java
11256 java/awt/MediaEntry.java java/awt/MediaTracker.java
11257 java/awt/Menu.java java/awt/MenuBar.java
11258 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11259 java/awt/PaintContext.java java/awt/Panel.java
11260 java/awt/PopupMenu.java java/awt/SystemColor.java
11261 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11262 java/awt/peer/CheckboxMenuItemPeer.java
11263 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11264 java/awt/peer/ComponentPeer.java
11265 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11266 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11267 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11268 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11269 java/awt/peer/MenuBarPeer.java
11270 java/awt/peer/MenuComponentPeer.java
11271 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11272 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11273 java/awt/peer/ScrollPanePeer.java
11274 java/awt/peer/ScrollbarPeer.java
11275 java/awt/peer/TextAreaPeer.java
11276 java/awt/peer/TextComponentPeer.java
11277 java/awt/peer/TextFieldPeer.java
11278 java/awt/peer/WindowPeer.java: Add license clarification.
11280 2002-01-22 Mark Wielaard <mark@klomp.org>
11282 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11283 gnu/gcj/runtime/StringBuffer.java
11284 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11285 gnu/java/awt/ComponentDataBlitOp.java
11286 gnu/java/awt/GLightweightPeer.java
11287 gnu/java/beans/BeanInfoEmbryo.java
11288 gnu/java/beans/EmptyBeanInfo.java
11289 gnu/java/beans/ExplicitBeanInfo.java
11290 gnu/java/beans/IntrospectionIncubator.java
11291 gnu/java/beans/editors/ColorEditor.java
11292 gnu/java/beans/editors/FontEditor.java
11293 gnu/java/beans/editors/NativeBooleanEditor.java
11294 gnu/java/beans/editors/NativeByteEditor.java
11295 gnu/java/beans/editors/NativeDoubleEditor.java
11296 gnu/java/beans/editors/NativeFloatEditor.java
11297 gnu/java/beans/editors/NativeIntEditor.java
11298 gnu/java/beans/editors/NativeLongEditor.java
11299 gnu/java/beans/editors/NativeShortEditor.java
11300 gnu/java/beans/editors/StringEditor.java
11301 gnu/java/beans/info/ComponentBeanInfo.java
11302 gnu/java/io/ClassLoaderObjectInputStream.java
11303 gnu/java/io/NullOutputStream.java
11304 gnu/java/io/ObjectIdentityWrapper.java
11305 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11306 gnu/java/lang/reflect/TypeSignature.java
11307 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11308 gnu/java/locale/Calendar_en.java
11309 gnu/java/locale/Calendar_nl.java
11310 gnu/java/locale/LocaleInformation.java
11311 gnu/java/locale/LocaleInformation_de.java
11312 gnu/java/locale/LocaleInformation_en.java
11313 gnu/java/locale/LocaleInformation_nl.java
11314 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11315 gnu/java/rmi/registry/RegistryImpl.java
11316 gnu/java/rmi/rmic/Compile_gcj.java
11317 gnu/java/rmi/rmic/Compiler.java
11318 gnu/java/rmi/rmic/CompilerProcess.java
11319 gnu/java/rmi/rmic/RMIC.java
11320 gnu/java/rmi/rmic/TabbedWriter.java
11321 gnu/java/rmi/server/ProtocolConstants.java
11322 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11323 gnu/java/rmi/server/RMIHashes.java
11324 gnu/java/rmi/server/RMIObjectInputStream.java
11325 gnu/java/rmi/server/RMIObjectOutputStream.java
11326 gnu/java/rmi/server/UnicastConnection.java
11327 gnu/java/rmi/server/UnicastConnectionManager.java
11328 gnu/java/rmi/server/UnicastRef.java
11329 gnu/java/rmi/server/UnicastRemoteCall.java
11330 gnu/java/rmi/server/UnicastRemoteStub.java
11331 gnu/java/rmi/server/UnicastServer.java
11332 gnu/java/rmi/server/UnicastServerRef.java
11333 gnu/java/security/provider/DefaultPolicy.java
11334 gnu/java/security/provider/Gnu.java
11335 gnu/java/security/provider/SHA.java
11336 gnu/java/security/provider/SHA1PRNG.java
11337 gnu/java/text/BaseBreakIterator.java
11338 gnu/java/text/CharacterBreakIterator.java
11339 gnu/java/text/LineBreakIterator.java
11340 gnu/java/text/SentenceBreakIterator.java
11341 gnu/java/text/WordBreakIterator.java
11342 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11343 java/applet/AppletContext.java java/applet/AppletStub.java
11344 java/applet/AudioClip.java java/awt/AWTError.java
11345 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11346 java/awt/AWTException.java java/awt/AWTPermission.java
11347 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11348 java/awt/Button.java java/awt/Canvas.java
11349 java/awt/CardLayout.java java/awt/Checkbox.java
11350 java/awt/CheckboxGroup.java java/awt/Component.java
11351 java/awt/ComponentOrientation.java java/awt/Container.java
11352 java/awt/Dimension.java java/awt/Event.java
11353 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11354 java/awt/FlowLayout.java java/awt/Frame.java
11355 java/awt/Graphics.java java/awt/Graphics2D.java
11356 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11357 java/awt/IllegalComponentStateException.java
11358 java/awt/ItemSelectable.java java/awt/Label.java
11359 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11360 java/awt/MenuComponent.java java/awt/MenuItem.java
11361 java/awt/Paint.java java/awt/Point.java
11362 java/awt/Rectangle.java java/awt/RenderingHints.java
11363 java/awt/Transparency.java java/awt/Window.java
11364 java/awt/color/ColorSpace.java
11365 java/awt/color/ICC_ColorSpace.java
11366 java/awt/color/ICC_Profile.java
11367 java/awt/event/HierarchyBoundsAdapter.java
11368 java/awt/event/HierarchyBoundsListener.java
11369 java/awt/event/HierarchyEvent.java
11370 java/awt/event/HierarchyListener.java
11371 java/awt/geom/AffineTransform.java
11372 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11373 java/awt/geom/IllegalPathStateException.java
11374 java/awt/geom/Line2D.java
11375 java/awt/geom/NoninvertibleTransformException.java
11376 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11377 java/awt/geom/Rectangle2D.java
11378 java/awt/geom/RectangularShape.java
11379 java/awt/geom/RoundRectangle2D.java
11380 java/awt/image/BufferedImage.java
11381 java/awt/image/ColorModel.java
11382 java/awt/image/ComponentColorModel.java
11383 java/awt/image/ComponentSampleModel.java
11384 java/awt/image/DataBuffer.java
11385 java/awt/image/DataBufferByte.java
11386 java/awt/image/DataBufferInt.java
11387 java/awt/image/DataBufferUShort.java
11388 java/awt/image/DirectColorModel.java
11389 java/awt/image/PackedColorModel.java
11390 java/awt/image/Raster.java java/awt/image/RasterOp.java
11391 java/awt/image/SampleModel.java
11392 java/awt/image/SinglePixelPackedSampleModel.java
11393 java/awt/image/WritableRaster.java
11394 java/beans/AppletInitializer.java
11395 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11396 java/beans/Beans.java java/beans/Customizer.java
11397 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11398 java/beans/FeatureDescriptor.java
11399 java/beans/IndexedPropertyDescriptor.java
11400 java/beans/IntrospectionException.java
11401 java/beans/Introspector.java java/beans/MethodDescriptor.java
11402 java/beans/ParameterDescriptor.java
11403 java/beans/PropertyChangeEvent.java
11404 java/beans/PropertyChangeListener.java
11405 java/beans/PropertyChangeSupport.java
11406 java/beans/PropertyDescriptor.java
11407 java/beans/PropertyEditor.java
11408 java/beans/PropertyEditorManager.java
11409 java/beans/PropertyEditorSupport.java
11410 java/beans/PropertyVetoException.java
11411 java/beans/SimpleBeanInfo.java
11412 java/beans/VetoableChangeListener.java
11413 java/beans/VetoableChangeSupport.java
11414 java/beans/Visibility.java
11415 java/beans/beancontext/BeanContext.java
11416 java/beans/beancontext/BeanContextChild.java
11417 java/beans/beancontext/BeanContextChildComponentProxy.java
11418 java/beans/beancontext/BeanContextChildSupport.java
11419 java/beans/beancontext/BeanContextContainerProxy.java
11420 java/beans/beancontext/BeanContextEvent.java
11421 java/beans/beancontext/BeanContextMembershipEvent.java
11422 java/beans/beancontext/BeanContextMembershipListener.java
11423 java/beans/beancontext/BeanContextProxy.java
11424 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11425 java/beans/beancontext/BeanContextServiceProvider.java
11426 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11427 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11428 java/beans/beancontext/BeanContextServiceRevokedListener.java
11429 java/beans/beancontext/BeanContextServices.java
11430 java/beans/beancontext/BeanContextServicesListener.java
11431 java/io/BufferedInputStream.java
11432 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11433 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11434 java/io/ByteArrayOutputStream.java
11435 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11436 java/io/CharConversionException.java java/io/DataInput.java
11437 java/io/DataInputStream.java java/io/DataOutput.java
11438 java/io/EOFException.java java/io/Externalizable.java
11439 java/io/FileFilter.java java/io/FileNotFoundException.java
11440 java/io/FilePermission.java java/io/FileReader.java
11441 java/io/FileWriter.java java/io/FilenameFilter.java
11442 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11443 java/io/FilterReader.java java/io/FilterWriter.java
11444 java/io/IOException.java java/io/InputStream.java
11445 java/io/InterruptedIOException.java
11446 java/io/InvalidClassException.java
11447 java/io/InvalidObjectException.java
11448 java/io/NotActiveException.java
11449 java/io/NotSerializableException.java java/io/ObjectInput.java
11450 java/io/ObjectInputStream.java
11451 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11452 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11453 java/io/ObjectStreamConstants.java
11454 java/io/ObjectStreamException.java
11455 java/io/ObjectStreamField.java
11456 java/io/OptionalDataException.java java/io/OutputStream.java
11457 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11458 java/io/PipedReader.java java/io/PipedWriter.java
11459 java/io/PrintWriter.java java/io/PushbackInputStream.java
11460 java/io/PushbackReader.java java/io/Reader.java
11461 java/io/SequenceInputStream.java java/io/Serializable.java
11462 java/io/SerializablePermission.java
11463 java/io/StreamCorruptedException.java
11464 java/io/StreamTokenizer.java
11465 java/io/StringBufferInputStream.java java/io/StringReader.java
11466 java/io/StringWriter.java java/io/SyncFailedException.java
11467 java/io/UTFDataFormatException.java
11468 java/io/UnsupportedEncodingException.java
11469 java/io/WriteAbortedException.java java/io/Writer.java
11470 java/lang/AbstractMethodError.java
11471 java/lang/ArithmeticException.java
11472 java/lang/ArrayIndexOutOfBoundsException.java
11473 java/lang/ArrayStoreException.java java/lang/Boolean.java
11474 java/lang/Byte.java java/lang/CharSequence.java
11475 java/lang/ClassCastException.java
11476 java/lang/ClassCircularityError.java
11477 java/lang/ClassFormatError.java
11478 java/lang/ClassNotFoundException.java
11479 java/lang/CloneNotSupportedException.java
11480 java/lang/Cloneable.java java/lang/Comparable.java
11481 java/lang/Compiler.java java/lang/Double.java
11482 java/lang/Error.java java/lang/Exception.java
11483 java/lang/ExceptionInInitializerError.java
11484 java/lang/Float.java java/lang/IllegalAccessError.java
11485 java/lang/IllegalAccessException.java
11486 java/lang/IllegalArgumentException.java
11487 java/lang/IllegalMonitorStateException.java
11488 java/lang/IllegalStateException.java
11489 java/lang/IllegalThreadStateException.java
11490 java/lang/IncompatibleClassChangeError.java
11491 java/lang/IndexOutOfBoundsException.java
11492 java/lang/InheritableThreadLocal.java
11493 java/lang/InstantiationError.java
11494 java/lang/InstantiationException.java java/lang/Integer.java
11495 java/lang/InternalError.java
11496 java/lang/InterruptedException.java
11497 java/lang/LinkageError.java java/lang/Long.java
11498 java/lang/NegativeArraySizeException.java
11499 java/lang/NoClassDefFoundError.java
11500 java/lang/NoSuchFieldError.java
11501 java/lang/NoSuchFieldException.java
11502 java/lang/NoSuchMethodError.java
11503 java/lang/NoSuchMethodException.java
11504 java/lang/NullPointerException.java java/lang/Number.java
11505 java/lang/NumberFormatException.java
11506 java/lang/OutOfMemoryError.java java/lang/Package.java
11507 java/lang/Process.java java/lang/Runnable.java
11508 java/lang/RuntimeException.java
11509 java/lang/RuntimePermission.java
11510 java/lang/SecurityException.java
11511 java/lang/SecurityManager.java java/lang/Short.java
11512 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11513 java/lang/StringIndexOutOfBoundsException.java
11514 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11515 java/lang/ThreadLocal.java java/lang/UnknownError.java
11516 java/lang/UnsatisfiedLinkError.java
11517 java/lang/UnsupportedClassVersionError.java
11518 java/lang/UnsupportedOperationException.java
11519 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11520 java/lang/Void.java java/lang/ref/PhantomReference.java
11521 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11522 java/lang/ref/SoftReference.java
11523 java/lang/ref/WeakReference.java
11524 java/lang/reflect/AccessibleObject.java
11525 java/lang/reflect/InvocationTargetException.java
11526 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11527 java/lang/reflect/ReflectPermission.java
11528 java/math/BigDecimal.java java/math/BigInteger.java
11529 java/net/Authenticator.java java/net/BindException.java
11530 java/net/ConnectException.java java/net/ContentHandler.java
11531 java/net/ContentHandlerFactory.java
11532 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11533 java/net/FileNameMap.java java/net/MalformedURLException.java
11534 java/net/MulticastSocket.java java/net/NetPermission.java
11535 java/net/NoRouteToHostException.java
11536 java/net/PasswordAuthentication.java
11537 java/net/ProtocolException.java java/net/ServerSocket.java
11538 java/net/Socket.java java/net/SocketException.java
11539 java/net/SocketImpl.java java/net/SocketImplFactory.java
11540 java/net/SocketOptions.java java/net/SocketPermission.java
11541 java/net/URLDecoder.java java/net/URLEncoder.java
11542 java/net/URLStreamHandlerFactory.java
11543 java/net/UnknownHostException.java
11544 java/net/UnknownServiceException.java
11545 java/rmi/AccessException.java
11546 java/rmi/AlreadyBoundException.java
11547 java/rmi/ConnectException.java
11548 java/rmi/ConnectIOException.java
11549 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11550 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11551 java/rmi/NotBoundException.java
11552 java/rmi/RMISecurityException.java
11553 java/rmi/RMISecurityManager.java java/rmi/Remote.java
11554 java/rmi/RemoteException.java java/rmi/ServerError.java
11555 java/rmi/ServerException.java
11556 java/rmi/ServerRuntimeException.java
11557 java/rmi/StubNotFoundException.java
11558 java/rmi/UnexpectedException.java
11559 java/rmi/UnknownHostException.java
11560 java/rmi/UnmarshalException.java
11561 java/rmi/activation/Activatable.java
11562 java/rmi/activation/ActivateFailedException.java
11563 java/rmi/activation/ActivationDesc.java
11564 java/rmi/activation/ActivationException.java
11565 java/rmi/activation/ActivationGroup.java
11566 java/rmi/activation/ActivationGroupDesc.java
11567 java/rmi/activation/ActivationGroupID.java
11568 java/rmi/activation/ActivationID.java
11569 java/rmi/activation/ActivationInstantiator.java
11570 java/rmi/activation/ActivationMonitor.java
11571 java/rmi/activation/ActivationSystem.java
11572 java/rmi/activation/Activator.java
11573 java/rmi/activation/UnknownGroupException.java
11574 java/rmi/activation/UnknownObjectException.java
11575 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11576 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11577 java/rmi/registry/Registry.java
11578 java/rmi/registry/RegistryHandler.java
11579 java/rmi/server/ExportException.java
11580 java/rmi/server/LoaderHandler.java
11581 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11582 java/rmi/server/Operation.java
11583 java/rmi/server/RMIClassLoader.java
11584 java/rmi/server/RMIClientSocketFactory.java
11585 java/rmi/server/RMIFailureHandler.java
11586 java/rmi/server/RMIServerSocketFactory.java
11587 java/rmi/server/RMISocketFactory.java
11588 java/rmi/server/RemoteCall.java
11589 java/rmi/server/RemoteObject.java
11590 java/rmi/server/RemoteRef.java
11591 java/rmi/server/RemoteServer.java
11592 java/rmi/server/RemoteStub.java
11593 java/rmi/server/ServerCloneException.java
11594 java/rmi/server/ServerNotActiveException.java
11595 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11596 java/rmi/server/SkeletonMismatchException.java
11597 java/rmi/server/SkeletonNotFoundException.java
11598 java/rmi/server/SocketSecurityException.java
11599 java/rmi/server/UID.java
11600 java/rmi/server/UnicastRemoteObject.java
11601 java/rmi/server/Unreferenced.java
11602 java/security/AccessControlContext.java
11603 java/security/AccessControlException.java
11604 java/security/AccessController.java
11605 java/security/AlgorithmParameterGenerator.java
11606 java/security/AlgorithmParameterGeneratorSpi.java
11607 java/security/AlgorithmParameters.java
11608 java/security/AlgorithmParametersSpi.java
11609 java/security/AllPermission.java
11610 java/security/BasicPermission.java
11611 java/security/Certificate.java java/security/CodeSource.java
11612 java/security/DigestException.java
11613 java/security/DigestInputStream.java
11614 java/security/DigestOutputStream.java
11615 java/security/DomainCombiner.java
11616 java/security/DummyKeyPairGenerator.java
11617 java/security/DummyMessageDigest.java
11618 java/security/DummySignature.java
11619 java/security/GeneralSecurityException.java
11620 java/security/Guard.java java/security/GuardedObject.java
11621 java/security/Identity.java java/security/IdentityScope.java
11622 java/security/InvalidAlgorithmParameterException.java
11623 java/security/InvalidKeyException.java
11624 java/security/InvalidParameterException.java
11625 java/security/Key.java java/security/KeyException.java
11626 java/security/KeyFactory.java java/security/KeyFactorySpi.java
11627 java/security/KeyManagementException.java
11628 java/security/KeyPair.java java/security/KeyPairGenerator.java
11629 java/security/KeyPairGeneratorSpi.java
11630 java/security/KeyStore.java
11631 java/security/KeyStoreException.java
11632 java/security/KeyStoreSpi.java
11633 java/security/MessageDigest.java
11634 java/security/MessageDigestSpi.java
11635 java/security/NoSuchAlgorithmException.java
11636 java/security/NoSuchProviderException.java
11637 java/security/Permission.java
11638 java/security/PermissionCollection.java
11639 java/security/Permissions.java java/security/Policy.java
11640 java/security/Principal.java java/security/PrivateKey.java
11641 java/security/PrivilegedAction.java
11642 java/security/PrivilegedActionException.java
11643 java/security/PrivilegedExceptionAction.java
11644 java/security/ProtectionDomain.java
11645 java/security/Provider.java
11646 java/security/ProviderException.java
11647 java/security/PublicKey.java
11648 java/security/SecureClassLoader.java
11649 java/security/SecureRandom.java
11650 java/security/SecureRandomSpi.java java/security/Security.java
11651 java/security/SecurityPermission.java
11652 java/security/Signature.java
11653 java/security/SignatureException.java
11654 java/security/SignatureSpi.java
11655 java/security/SignedObject.java java/security/Signer.java
11656 java/security/UnrecoverableKeyException.java
11657 java/security/UnresolvedPermission.java
11658 java/security/acl/Acl.java java/security/acl/AclEntry.java
11659 java/security/acl/AclNotFoundException.java
11660 java/security/acl/Group.java
11661 java/security/acl/LastOwnerException.java
11662 java/security/acl/NotOwnerException.java
11663 java/security/acl/Owner.java java/security/acl/Permission.java
11664 java/security/cert/CRL.java
11665 java/security/cert/CRLException.java
11666 java/security/cert/Certificate.java
11667 java/security/cert/CertificateEncodingException.java
11668 java/security/cert/CertificateException.java
11669 java/security/cert/CertificateExpiredException.java
11670 java/security/cert/CertificateFactory.java
11671 java/security/cert/CertificateFactorySpi.java
11672 java/security/cert/CertificateNotYetValidException.java
11673 java/security/cert/CertificateParsingException.java
11674 java/security/cert/X509CRL.java
11675 java/security/cert/X509CRLEntry.java
11676 java/security/cert/X509Certificate.java
11677 java/security/cert/X509Extension.java
11678 java/security/interfaces/DSAKey.java
11679 java/security/interfaces/DSAKeyPairGenerator.java
11680 java/security/interfaces/DSAParams.java
11681 java/security/interfaces/DSAPrivateKey.java
11682 java/security/interfaces/DSAPublicKey.java
11683 java/security/interfaces/RSAKey.java
11684 java/security/interfaces/RSAPrivateCrtKey.java
11685 java/security/interfaces/RSAPrivateKey.java
11686 java/security/interfaces/RSAPublicKey.java
11687 java/security/spec/AlgorithmParameterSpec.java
11688 java/security/spec/DSAParameterSpec.java
11689 java/security/spec/DSAPrivateKeySpec.java
11690 java/security/spec/DSAPublicKeySpec.java
11691 java/security/spec/EncodedKeySpec.java
11692 java/security/spec/InvalidKeySpecException.java
11693 java/security/spec/InvalidParameterSpecException.java
11694 java/security/spec/KeySpec.java
11695 java/security/spec/PKCS8EncodedKeySpec.java
11696 java/security/spec/RSAKeyGenParameterSpec.java
11697 java/security/spec/RSAPrivateCrtKeySpec.java
11698 java/security/spec/RSAPrivateKeySpec.java
11699 java/security/spec/RSAPublicKeySpec.java
11700 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11701 java/sql/BatchUpdateException.java java/sql/Blob.java
11702 java/sql/CallableStatement.java java/sql/Clob.java
11703 java/sql/Connection.java java/sql/DataTruncation.java
11704 java/sql/DatabaseMetaData.java java/sql/Date.java
11705 java/sql/Driver.java java/sql/DriverManager.java
11706 java/sql/DriverPropertyInfo.java
11707 java/sql/PreparedStatement.java java/sql/Ref.java
11708 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11709 java/sql/SQLData.java java/sql/SQLException.java
11710 java/sql/SQLInput.java java/sql/SQLOutput.java
11711 java/sql/SQLWarning.java java/sql/Statement.java
11712 java/sql/Struct.java java/sql/Time.java
11713 java/sql/Timestamp.java java/sql/Types.java
11714 java/text/Annotation.java
11715 java/text/AttributedCharacterIterator.java
11716 java/text/AttributedString.java
11717 java/text/AttributedStringIterator.java
11718 java/text/BreakIterator.java java/text/CharacterIterator.java
11719 java/text/ChoiceFormat.java java/text/Collator.java
11720 java/text/DateFormat.java java/text/DateFormatSymbols.java
11721 java/text/DecimalFormat.java
11722 java/text/DecimalFormatSymbols.java
11723 java/text/FieldPosition.java java/text/Format.java
11724 java/text/MessageFormat.java java/text/NumberFormat.java
11725 java/text/ParseException.java java/text/ParsePosition.java
11726 java/text/SimpleDateFormat.java
11727 java/text/StringCharacterIterator.java
11728 java/util/AbstractCollection.java java/util/AbstractList.java
11729 java/util/AbstractMap.java
11730 java/util/AbstractSequentialList.java
11731 java/util/AbstractSet.java java/util/ArrayList.java
11732 java/util/Arrays.java java/util/BasicMapEntry.java
11733 java/util/BitSet.java java/util/Calendar.java
11734 java/util/Collection.java java/util/Collections.java
11735 java/util/Comparator.java
11736 java/util/ConcurrentModificationException.java
11737 java/util/Date.java java/util/Dictionary.java
11738 java/util/EmptyStackException.java java/util/Enumeration.java
11739 java/util/EventListener.java java/util/EventObject.java
11740 java/util/GregorianCalendar.java java/util/HashMap.java
11741 java/util/HashSet.java java/util/Hashtable.java
11742 java/util/IdentityHashMap.java java/util/Iterator.java
11743 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11744 java/util/LinkedList.java java/util/List.java
11745 java/util/ListIterator.java java/util/ListResourceBundle.java
11746 java/util/Locale.java java/util/Map.java
11747 java/util/MissingResourceException.java
11748 java/util/NoSuchElementException.java
11749 java/util/Observable.java java/util/Observer.java
11750 java/util/Properties.java java/util/PropertyPermission.java
11751 java/util/PropertyResourceBundle.java java/util/Random.java
11752 java/util/RandomAccess.java java/util/ResourceBundle.java
11753 java/util/Set.java java/util/SimpleTimeZone.java
11754 java/util/SortedMap.java java/util/SortedSet.java
11755 java/util/Stack.java java/util/StringTokenizer.java
11756 java/util/TimeZone.java java/util/Timer.java
11757 java/util/TimerTask.java
11758 java/util/TooManyListenersException.java
11759 java/util/TreeMap.java java/util/TreeSet.java
11760 java/util/Vector.java java/util/WeakHashMap.java
11761 java/util/jar/Attributes.java java/util/jar/JarEntry.java
11762 java/util/jar/JarException.java java/util/jar/JarFile.java
11763 java/util/jar/JarInputStream.java
11764 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11765 java/util/zip/Adler32.java java/util/zip/CRC32.java
11766 java/util/zip/CheckedInputStream.java
11767 java/util/zip/CheckedOutputStream.java
11768 java/util/zip/Checksum.java
11769 java/util/zip/DataFormatException.java
11770 java/util/zip/Deflater.java
11771 java/util/zip/DeflaterOutputStream.java
11772 java/util/zip/GZIPInputStream.java
11773 java/util/zip/GZIPOutputStream.java
11774 java/util/zip/Inflater.java
11775 java/util/zip/InflaterInputStream.java
11776 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11777 java/util/zip/ZipException.java java/util/zip/ZipFile.java
11778 java/util/zip/ZipInputStream.java
11779 java/util/zip/ZipOutputStream.java
11780 javax/naming/BinaryRefAddr.java
11781 javax/naming/InvalidNameException.java javax/naming/Name.java
11782 javax/naming/NamingException.java javax/naming/RefAddr.java
11783 javax/naming/StringRefAddr.java: Add license clarification.
11785 2002-01-22 Tom Tromey <tromey@redhat.com>
11787 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11788 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11789 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11791 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11792 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11793 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11794 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11795 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11796 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11797 * java/awt/peer/FontPeer.java: Replace with Classpath version.
11798 * java/awt/peer/FramePeer.java: Replace with Classpath version.
11799 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11800 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11801 * java/awt/peer/ListPeer.java: Replace with Classpath version.
11802 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11803 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11804 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11805 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11806 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11807 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11808 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11809 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11810 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11811 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11812 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11813 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11814 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11815 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11816 (minimumSize, preferredSize, reshape): Likewise.
11817 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11818 getColorModel): New methods.
11819 * java/awt/PopupMenu.java: Merged with Classpath.
11820 * java/awt/MenuBar.java: Merged with Classpath.
11821 * java/awt/SystemColor.java: Replace with Classpath version.
11822 * java/awt/Panel.java: Merged with Classpath.
11823 * java/awt/PaintContext.java: Updated copyright.
11824 * java/awt/MenuShortcut.java: Merged with Classpath.
11825 * java/awt/MenuContainer.java: Merged with Classpath.
11826 * java/awt/Menu.java: Merged with Classpath.
11827 * java/awt/MediaEntry.java: New file from Classpath.
11828 * java/awt/MediaTracker.java: New file from Classpath.
11829 * java/awt/List.java: Merged with Classpath version.
11830 * java/awt/Insets.java: Merged with Classpath version.
11831 * java/awt/ImageMediaEntry.java: New file from Classpath.
11832 * java/awt/Image.java: Replaced with Classpath version.
11833 * java/awt/FontMetrics.java: Merged with Classpath version.
11834 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11836 * java/awt/Font.java: Merged with Classpath version.
11837 * java/awt/Dialog.java: Merged with Classpath version.
11838 * java/awt/Color.java: Merged with Classpath version.
11839 * java/awt/Choice.java: Merged with Classpath version.
11840 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11841 * java/awt/Adjustable.java: Replace with Classpath version.
11842 * java/awt/MenuItem.java (paramString): Don't include class name
11843 or brackets. Call superclass paramString.
11844 * java/awt/MenuComponent.java (toString): Call paramString.
11845 (paramString): Compute string; don't call toString.
11846 * java/awt/Label.java (paramString): Don't include class name
11847 or brackets. Call superclass paramString.
11848 * java/awt/Checkbox.java (paramString): Don't include class name
11849 or brackets. Call superclass paramString.
11850 * java/awt/Button.java (paramString): Don't include class name or
11851 brackets. Call superclass paramString.
11852 * java/awt/MenuComponent.java (getTreeLock): Now protected.
11854 2002-01-20 Andreas Schwab <schwab@suse.de>
11856 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11857 function and of parameter recv_func to ssize_t, as specified by
11860 2002-01-19 Per Bothner <per@bothner.com>
11862 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
11863 uncompressed_size in readiness for next entry.
11865 2002-01-18 Tom Tromey <tromey@redhat.com>
11867 * java/net/natPlainSocketImpl.cc: Include
11868 IllegalArgumentException.h.
11869 (_Jv_recv): New template function.
11870 (BooleanClass): Removed.
11871 (read): Use _Jv_recv.
11872 (setOption): Use Boolean::class$. Throw exception if object is
11873 not Boolean or Integer.
11875 2002-01-17 Tom Tromey <tromey@redhat.com>
11877 * java/awt/MenuComponent.java: Merged with Classpath.
11878 * java/awt/MenuItem.java: Merged with Classpath.
11879 * java/awt/Button.java: Merged with Classpath.
11881 * java/awt/ActiveEvent.java: Updated copyright.
11883 * java/awt/AWTError.java: Replaced with Classpath version.
11884 * java/awt/AWTException.java: Replaced with Classpath version.
11885 * java/awt/IllegalComponentStateException.java: Replaced with
11888 2002-01-16 Tom Tromey <tromey@redhat.com>
11890 * java/awt/Canvas.java (serialVersionUID): New constant.
11891 Updated copyright. Added javadoc from Classpath.
11892 * java/awt/ItemSelectable.java: Replaced with Classpath version.
11894 * java/awt/CheckboxGroup.java: Merged with Classpath.
11895 * java/awt/Checkbox.java: Merged with Classpath.
11897 * java/awt/Dimension.java: Updated copyright. Added javadoc from
11899 * java/awt/Point.java: Updated copyright.
11901 * java/awt/Point.java (toString): Use getClass().getName().
11904 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11906 (hash): Correctly compute initial value for `h'.
11908 * java/awt/Label.java: Merged with Classpath.
11910 2002-01-15 Tom Tromey <tromey@redhat.com>
11912 * java/awt/AWTPermission.java: Updated copyright.
11914 * java/awt/LayoutManager2.java: Merged with Classpath.
11915 * java/awt/LayoutManager.java: Merged with Classpath.
11916 * java/awt/GridLayout.java: Updated copyright and javadoc.
11917 (getSize): Use `parent.ncomponents'. Handle insets.
11918 (layoutContainer): Use `parent.ncomponents'. Handle case where
11919 there are fewer children than columns. Correctly compute size of
11920 each cell in the grid. Handle case where there isn't enough
11922 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
11924 (gotoComponent): Use parent.ncomponents. Ensure child exists
11925 before calling setVisible() on it. Last item is `num - 1', not
11927 (layoutContainer): Hoist invariants out of loop.
11929 Start of AWT merge with Classpath:
11930 * Makefile.in: Rebuilt.
11931 * Makefile.am (awt_java_source_files): Reference files in
11932 gnu/java/awt, not gnu/gcj/awt.
11933 * java/awt/image/BufferedImage.java: Updated copyright.
11934 * java/awt/image/ComponentColorModel.java: Updated copyright.
11935 * java/awt/image/ComponentSampleModel.java: Updated copyright.
11936 * java/awt/image/DataBuffer.java: Updated copyright.
11937 * java/awt/image/DataBufferByte.java: Updated copyright.
11938 * java/awt/image/DataBufferInt.java: Updated copyright.
11939 * java/awt/image/DataBufferUShort.java: Updated copyright.
11940 * java/awt/image/IndexColorModel.java: Updated copyright.
11941 * java/awt/image/PackedColorModel.java: Updated copyright.
11942 * java/awt/image/Raster.java: Updated copyright.
11943 * java/awt/image/RasterOp.java: Updated copyright.
11944 * java/awt/image/SampleModel.java: Updated copyright.
11945 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11946 * java/awt/image/WritableRaster.java: Updated copyright.
11947 * java/awt/color/ColorSpace.java: Updated copyright.
11948 * java/awt/color/ICC_ColorSpace.java: Updated copyright
11949 * java/awt/color/ICC_Profile.java: Updated copyright.
11950 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11951 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11952 * java/awt/event/HierarchyEvent.java: Updated copyright.
11953 * java/awt/event/HierarchyListener.java: Updated copyright.
11954 * java/awt/geom/AffineTransform.java: Updated copyright.
11955 * java/awt/geom/Dimension2D.java: Updated copyright.
11956 * java/awt/geom/Ellipse2D.java: Updated copyright.
11957 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11958 * java/awt/geom/Line2D.java: Updated copyright.
11959 * java/awt/geom/NoninvertibleTransformException.java: Updated
11961 * java/awt/geom/PathIterator.java: Updated copyright.
11962 * java/awt/geom/Point2D.java: Updated copyright.
11963 * java/awt/geom/Rectangle2D.java: Updated copyright.
11964 * java/awt/geom/RectangularShape.java: Updated copyright.
11965 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11966 * java/awt/Toolkit.java: Updated import for file moves.
11967 * java/awt/Rectangle.java: Updated copyright; added javadoc from
11969 (hashCode): New method from Classpath.
11970 * java/awt/Graphics2D.java: Updated copyright.
11971 * java/awt/Transparency.java: Updated copyright.
11972 * java/awt/Paint.java: Updated copyright.
11973 * java/awt/Graphics.java: New version from Classpath.
11974 * java/awt/EventDispatchThread.java: Updated copyright.
11975 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11977 (gotoComponent): Wrap around on next/previous.
11978 * gnu/gcj/awt/BitMaskExtent.java: Removed.
11979 * gnu/gcj/awt/Buffers.java: Removed.
11980 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11981 * gnu/gcj/awt/GLightweightPeer.java: Removed.
11982 * gnu/java/awt/BitMaskExtent.java: Added.
11983 * gnu/java/awt/Buffers.java: Added.
11984 * gnu/java/awt/ComponentDataBlitOp.java: Added.
11985 * gnu/java/awt/GLightweightPeer.java: Added.
11986 * java/awt/geom/Line2D.java (clone): Ignore
11987 CloneNotSupportedException.
11988 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11989 * java/awt/Frame.java: Merged with Classpath.
11990 * java/awt/RenderingHints.java: Copyright update.
11991 * java/awt/Paint.java: Copyright update.
11992 * java/awt/image/DirectColorModel.java: Merged with Classpath.
11993 * java/awt/image/ColorModel.java: Merged with Classpath.
11994 * java/awt/Window.java (show): New Implementation from Classpath.
11995 (isShowing): Use super.isShowing().
11996 * java/awt/EventQueue.java: Merged with Classpath.
11997 * java/awt/AWTEventMulticaster.java (save): Throw
11999 (saveInternal): Likewise.
12000 * java/awt/AWTEvent.java: Now implements Serializable.
12001 * java/awt/Event.java: Copyright update.
12002 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
12003 * java/awt/image/BufferedImage.java: Copyright update.
12004 * java/awt/GraphicsConfiguration.java: Copyright update.
12005 * java/awt/Component.java: (addNotify): Don't call
12006 addNotifyContainerChildren().
12007 (addNotifyContainerChildren): Removed.
12008 (setPeer): New method from Classpath.
12009 (setTreeLock): Likewise.
12010 (setVisible): Rewrote.
12013 (validate): Set `valid'.
12014 (checkImage(Image,ImageObserver)): Implementation from Classpath.
12015 (createImage(ImageProducer)): Likewise.
12016 (prepareImage): Likewise.
12017 * java/awt/Container.java (addImpl): Handle case where constraint
12018 is not a String. Post event via system event queue.
12019 (remove): Post event via system event queue.
12020 (validateTree): Only validate child if it is invalid.
12021 (getAlignmentX): Call super method as default.
12022 (getAlignmentY): Likewise.
12023 (addContainerListener): Now synchronized.
12024 (removeContainerListener): Likewise.
12025 (addNotifyContainerChildren): Now private.
12026 * java/awt/ComponentOrientation.java: Updated copyright. Added
12028 * java/awt/FlowLayout.java (serialVersionUID): New field.
12029 (setAlignment): Better exception message.
12030 (layoutContainer): Don't compute component's preferred size unless
12031 we're going to use it.
12032 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
12033 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
12034 (firstLine, lastLine, firstItem, lastItem): New fields.
12035 (addLayoutComponent): Handle case where constraints is null.
12036 Also, handle relative locations.
12037 (removeLayoutComponent): Handle relative locations.
12038 (MIN, MAX, PREF): New constants.
12039 (calcCompSize): New method.
12040 (calcSize): New method.
12041 (minimumLayoutSize): Use it.
12042 (preferredLayoutSize): Likewise.
12043 (maximumLayoutSize): Likewise.
12044 (toString): Include more information.
12045 (setBounds): New method.
12046 (layoutContainer): Use libgcj implementation; extended to handle
12047 relative locations.
12049 2002-01-15 Tom Tromey <tromey@redhat.com>
12051 * java/lang/Float.java (equals): Preserve old code.
12052 * java/lang/Double.java (equals): Preserve old code.
12054 2002-01-15 Eric Blake <ebb9@email.byu.edu>
12056 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
12057 * java/lang/Float.java (equals, compare): Ditto.
12059 2002-01-13 Mark Wielaard <mark@klomp.org>
12061 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
12062 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
12063 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
12064 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
12066 2002-01-11 Mark Wielaard <mark@klomp.org>
12068 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
12069 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
12071 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
12072 * java/net/Socket.java: Merge with Classpath.
12073 * java/net/ServerSocket.java: Likewise.
12075 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
12077 * interpret.cc (NULLARRAYCHECK): New macro.
12078 (SAVE_PC): Just store `pc'.
12079 (find_exception): Subtract one from `pc' here.
12080 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12081 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12082 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12083 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12084 don't call SAVE_PC.
12085 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12088 2002-01-11 Tom Tromey <tromey@redhat.com>
12090 * java/lang/natSystem.cc (init_properties): Only look for default
12091 locale if LC_MESSAGES is defined.
12092 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12093 * configure.in: Call AM_LC_MESSAGES.
12094 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12096 2002-01-10 Tom Tromey <tromey@redhat.com>
12098 For PR libgcj/5303:
12099 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12100 --version. Recognize GNU-style long options. Print GNU-style
12102 (usage): Print GNU-style help. Exit with status 0.
12103 (error): New method.
12104 (run): Print error message if no class names found.
12105 (main): Don't print usage on error.
12107 2002-01-09 Tom Tromey <tromey@redhat.com>
12109 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12111 (help, version): Use println(), not println("").
12113 For PR libgcj/5303:
12114 * gnu/gcj/convert/Convert.java (error): Program is called
12115 `jv-convert'. Print GNU-style message. Exit with status 1, not
12117 (main): Handle --help and --version.
12118 (help): New method.
12119 (version): Likewise.
12121 2002-01-08 Tom Tromey <tromey@redhat.com>
12123 * Makefile.in: Rebuilt.
12124 * Makefile.am (ordinary_java_source_files): Added new files.
12125 * gnu/java/locale/LocaleInformation.java: Extend
12126 LocaleInformation_en.
12127 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12128 and time/date formats.
12129 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12131 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12132 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12133 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12134 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12135 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12136 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12137 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12138 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12139 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12140 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12141 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12142 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12143 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12144 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12145 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12146 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12147 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12148 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12149 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12150 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12151 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12152 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12153 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12154 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12155 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12156 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12157 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12158 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12159 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12160 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12161 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12162 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12163 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12164 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12165 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12166 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12167 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12168 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12169 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12170 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12171 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12172 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12173 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12174 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12175 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12176 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12177 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12178 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12179 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12180 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12181 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12182 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12183 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12184 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12185 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12186 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12187 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12188 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12189 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12190 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12191 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12192 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12193 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12194 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12195 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12196 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12197 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12198 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12199 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12200 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12201 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12202 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12203 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12204 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12205 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12206 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12207 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12208 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12209 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12210 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12211 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12212 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12213 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12214 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12215 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12216 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12217 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12218 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12219 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12220 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12221 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12222 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12223 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12224 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12225 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12226 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12227 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12228 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12229 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12230 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12231 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12232 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12233 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12234 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12235 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12236 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12237 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12238 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12239 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12240 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12241 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12242 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12243 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12244 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12245 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12246 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12247 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12248 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12249 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12250 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12251 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12252 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12253 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12254 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12255 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12256 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12257 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12258 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12259 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12260 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12262 For PR libgcj/5031:
12263 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12264 choose default locale.
12266 * Makefile.in: Rebuilt.
12267 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12269 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12271 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12273 (close): New function closes the socket.
12274 (write): New functions for output to socket.
12275 (read): New functions for reading from socket.
12276 * java/net/PlainSocketImpl.java: Glue for new timeout
12278 (write): Call the native impl.
12280 (getInputStream): Get a stream to read from the socket.
12281 (getOutputStream): Get a stream to write to the socket.
12283 2002-01-08 Tom Tromey <tromey@redhat.com>
12285 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12287 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12289 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12290 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12292 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12294 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12295 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12296 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12297 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12298 insn_bastore, insn_castore, insn_sastore]: Use it.
12299 (continue1) [insn_arraylength]: Check for null array.
12301 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12303 * configure, include/config.h.in: Rebuilt.
12304 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12305 * configure.in: Call AC_STRUCT_TIMEZONE.
12307 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12309 * configure.host: Disable the interpreter for Darwin.
12311 2002-01-04 Tom Tromey <tromey@redhat.com>
12313 * java/lang/Thread.java (stop): No longer synchronized.
12316 2002-01-02 Tom Tromey <tromey@redhat.com>
12318 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12321 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12323 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12324 PPC Darwin, not for all of Darwin.