1 2003-06-28 Michael Koch <konqueror@gmx.de>
3 * java/io/PrintStream.java
4 (checkError): Call flush() instead of direct flushing of the Writer
6 (print): Call print(String) instead of direct print method of the
8 (println): Call println(String) instead of direct println method of the
12 2003-06-28 Michael Koch <konqueror@gmx.de>
14 * java/net/ServerSocket.java
15 (setChannel): New method.
16 * java/net/Socket.java
17 (setChannel): New method.
19 2003-06-27 Michael Koch <konqueror@gmx.de>
21 * java/beans/beancontext/BeanContextSupport.java:
22 New version from classpath.
24 2003-06-27 Michael Koch <konqueror@gmx.de>
26 * java/awt/Window.java,
27 java/awt/font/GraphicAttribute.java,
28 java/awt/font/ImageGraphicAttribute.java,
29 java/awt/image/DataBufferByte.java,
30 java/awt/image/DataBufferInt.java,
31 java/awt/image/DataBufferUShort.java,
32 java/awt/image/DirectColorModel.java,
33 java/awt/image/PixelGrabber.java:
34 New versions from classpath.
36 2003-06-27 Michael Koch <konqueror@gmx.de>
38 * java/security/Certificate.java
39 (getGuarantor): Removed wrong @deprecated tag.
40 (getPrincipal): Likewise.
41 (getPublicKey): Likewise.
44 (getFormat): Likewise.
46 * java/security/cert/PolicyQualifierInfo.java
47 (PolicyQualifierInfo): Made final.
48 * javax/security/auth/x500/X500Principal.java
49 (serialVersionUID): New member variable.
51 2003-06-27 Michael Koch <konqueror@gmx.de>
53 * java/text/Format.java
54 (serialVersionUID): Fixed value.
56 2003-06-27 Michael Koch <konqueror@gmx.de>
58 * java/net/Inet4Address.java
59 (Inet4Address): Made package-private.
60 * java/net/Inet6Address.java
61 (Inet4Address): Made package-private.
63 2003-06-27 Michael Koch <konqueror@gmx.de>
65 * java/io/RandomAccessFile.java
66 (readLine): Removed wrong @deprecated tag.
67 (getChannel): Made final.
69 2003-06-27 Michael Koch <konqueror@gmx.de>
71 * gnu/java/nio/FileChannelImpl.java
74 2003-06-27 Michael Koch <konqueror@gmx.de>
76 * java/nio/ByteBufferImpl.java
77 (ByteBufferImpl): Made it a package-private class
78 * java/nio/CharBufferImpl.java
79 (CharBufferImpl): Made it a package-private class
80 * java/nio/DirectByteBufferImpl.java
81 (DirectByteBufferImpl): Made it a package-private class
82 * java/nio/DoubleBufferImpl.java
83 (DoubleBufferImpl): Made it a package-private class
84 * java/nio/FloatBufferImpl.java
85 (FloatBufferImpl): Made it a package-private class
86 * java/nio/IntBufferImpl.java
87 (IntBufferImpl): Made it a package-private class
88 * java/nio/LongBufferImpl.java
89 (LongBufferImpl): Made it a package-private class
90 * java/nio/ShortBufferImpl.java
91 (ShortBufferImpl): Made it a package-private class
92 * java/nio/channels/FileChannel.java
94 * java/nio/channels/ServerSocketChannel.java
95 (ServerSocketChanne): Made protected.
97 2003-06-27 Michael Koch <konqueror@gmx.de>
99 * javax/naming/CompositeName.java
100 (serialVersionUID): New member variable.
101 * javax/naming/CompoundName.java
102 (serialVersionUID): New member variable.
103 * javax/naming/InitialContext.java
104 (InitialContext): Throws NamingException.
106 * javax/naming/LinkRef.java
107 (serialVersionUID): New member variable.
108 (gteLinkName): Throws NamingException.
109 * javax/naming/NamingException.java
110 (serialVersionUID): New member variable.
111 * javax/naming/NamingSecurityException.java
112 (NamingSecurityException): Made abstract.
113 (serialVersionUID): New member variable.
114 * javax/naming/ReferralException.java
115 (serialVersionUID): New member variable.
116 * javax/naming/StringRefAddr.java
117 (serialVersionUID): New member variable.
118 * javax/naming/directory/BasicAttribute.java:
120 (serialVersionUID): New member variable.
121 (get): Throws NamingException.
122 (getAll): Throws NamingException.
123 * javax/naming/directory/BasicAttributes.java:
125 (serialVersionUID): New member variable.
126 * javax/naming/ldap/UnsolicitedNotificationEvent.java
127 (serialVersionUID): New member variable.
129 2003-06-27 Michael Koch <konqueror@gmx.de>
132 (awt_java_source_files): Added new files:
133 javax/swing/Popup.java,
134 javax/swing/PopupFactory.java
135 * Makefile.in: Regenerated.
137 2003-06-27 Michael Koch <konqueror@gmx.de>
139 * javax/swing/JWindow.java,
140 javax/swing/event/AncestorEvent.java,
141 javax/swing/event/HyperlinkEvent.java,
142 javax/swing/event/InternalFrameEvent.java,
143 javax/swing/event/ListDataEvent.java,
144 javax/swing/event/TableModelEvent.java,
145 javax/swing/plaf/PopupMenuUI.java,
146 javax/swing/plaf/SplitPaneUI.java,
147 javax/swing/plaf/TabbedPaneUI.java,
148 javax/swing/plaf/TextUI.java,
149 javax/swing/plaf/TreeUI.java,
150 javax/swing/plaf/basic/BasicTextUI.java,
151 javax/swing/plaf/basic/BasicTreeUI.java:
152 New versions from classpath.
153 * javax/swing/Popup.java,
154 javax/swing/PopupFactory.jav:
155 New source files from classpath.
156 * javax/swing/plaf/doc-files/TreeUI-1.png:
157 New binary files from classpath.
159 2003-06-25 Michael Koch <konqueror@gmx.de>
162 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
163 * Makefile.in: Regenerated.
165 2003-06-25 Michael Koch <konqueror@gmx.de>
167 * javax/swing/plaf/ActionMapUIResource.java,
168 javax/swing/plaf/BorderUIResource.java,
169 javax/swing/plaf/ButtonUI.java,
170 javax/swing/plaf/ColorChooserUI.java,
171 javax/swing/plaf/ColorUIResource.java,
172 javax/swing/plaf/ComboBoxUI.java,
173 javax/swing/plaf/ComponentInputMapUIResource.java,
174 javax/swing/plaf/ComponentUI.java,
175 javax/swing/plaf/DesktopIconUI.java,
176 javax/swing/plaf/DesktopPaneUI.java,
177 javax/swing/plaf/DimensionUIResource.java,
178 javax/swing/plaf/FileChooserUI.java,
179 javax/swing/plaf/FontUIResource.java,
180 javax/swing/plaf/IconUIResource.java,
181 javax/swing/plaf/InputMapUIResource.java,
182 javax/swing/plaf/InsetsUIResource.java,
183 javax/swing/plaf/InternalFrameUI.java,
184 javax/swing/plaf/LabelUI.java,
185 javax/swing/plaf/ListUI.java,
186 javax/swing/plaf/MenuBarUI.java,
187 javax/swing/plaf/MenuItemUI.java,
188 javax/swing/plaf/OptionPaneUI.java,
189 javax/swing/plaf/PanelUI.java,
190 javax/swing/plaf/ProgressBarUI.java,
191 javax/swing/plaf/RootPaneUI.java,
192 javax/swing/plaf/ScrollBarUI.java,
193 javax/swing/plaf/ScrollPaneUI.java,
194 javax/swing/plaf/SeparatorUI.java,
195 javax/swing/plaf/SliderUI.java,
196 javax/swing/plaf/TableHeaderUI.java,
197 javax/swing/plaf/TableUI.java,
198 javax/swing/plaf/ToolBarUI.java,
199 javax/swing/plaf/ToolTipUI.java,
200 javax/swing/plaf/ViewportUI.java:
201 New versions from classpath.
202 * javax/swing/plaf/SpinnerUI.java:
203 New file from classpath
205 2003-06-25 Michael Koch <konqueror@gmx.de>
207 * java/awt/image/ColorModel.java:
208 New version from classpath.
210 2003-06-25 Michael Koch <konqueror@gmx.de>
212 * java/net/PlainDatagramSocketImpl.java:
213 Partly merged with classpath, this mainly adds documentation.
215 2003-06-25 Michael Koch <konqueror@gmx.de>
217 * java/io/ObjectInputStream.java
218 (readClassDescriptor): New method.
219 (readObject): Moved functionality to readClassDescriptor().
220 * java/io/ObjectOutputStream.java
221 (writeClassDescriptor): New method.
222 (writeObject): Moved functionality to writeClassDescriptor().
224 2003-06-25 Michael Koch <konqueror@gmx.de>
226 * javax/swing/plaf/basic/BasicListUI.java,
227 javax/swing/plaf/basic/BasicOptionPaneUI.java:
228 Added missing methods.
230 2003-06-25 Michael Koch <konqueror@gmx.de>
232 * javax/swing/event/AncestorEvent.java
233 javax/swing/event/HyperlinkEvent.java
234 javax/swing/event/InternalFrameEvent.java
235 javax/swing/event/ListDataEvent.java
236 javax/swing/event/TableModelEvent.java:
239 2003-06-24 Michael Koch <konqueror@gmx.de>
242 Renamed "handler" to "ph" in the whole file to match classpaths
244 * java/net/URLStreamHandler.java:
245 (equals): Renamed "handler" to "ph".
247 2003-06-24 Michael Koch <konqueror@gmx.de>
249 * javax/swing/event/AncestorEvent.java,
250 javax/swing/event/HyperlinkEvent.java,
251 javax/swing/event/InternalFrameEvent.java,
252 javax/swing/event/ListDataEvent.java,
253 javax/swing/event/TableModelEvent.java,
254 javax/swing/event/TreeWillExpandListener.java,
255 javax/swing/plaf/ComponentUI.java,
256 javax/swing/plaf/DesktopIconUI.java,
257 javax/swing/plaf/DesktopPaneUI.java,
258 javax/swing/plaf/DimensionUIResource.java,
259 javax/swing/plaf/FileChooserUI.java,
260 javax/swing/plaf/FontUIResource.java,
261 javax/swing/plaf/IconUIResource.java,
262 javax/swing/plaf/InputMapUIResource.java,
263 javax/swing/plaf/InsetsUIResource.java,
264 javax/swing/plaf/InternalFrameUI.java,
265 javax/swing/plaf/LabelUI.java,
266 javax/swing/plaf/ListUI.java,
267 javax/swing/plaf/MenuBarUI.java,
268 javax/swing/plaf/MenuItemUI.java,
269 javax/swing/plaf/OptionPaneUI.java,
270 javax/swing/plaf/PanelUI.java,
271 javax/swing/plaf/ProgressBarUI.java,
272 javax/swing/plaf/doc-files/ComponentUI-1.dia,
273 javax/swing/plaf/doc-files/ComponentUI-1.png:
274 New versions from classpath.
276 2003-06-24 Michael Koch <konqueror@gmx.de>
278 * java/nio/Buffer.java
279 (cap): Made package-private.
284 2003-06-24 Michael Koch <konqueror@gmx.de>
286 * java/net/SocketImpl.java
287 (shutdownInput): Made it non-abstract method throwing an exception
289 (shutdownOutput): Likewise.
290 * java/net/SocketInputStream.java,
291 java/net/SocketOutputStream.java:
292 New files from classpath.
294 2003-06-24 Michael Koch <konqueror@gmx.de>
296 * java/awt/Font.java,
297 java/awt/Window.java,
298 java/awt/color/ColorSpace.java,
299 java/awt/datatransfer/StringSelection.java,
300 java/awt/image/ColorModel.java:
301 New versions from classpath.
303 2003-06-24 Michael Koch <konqueror@gmx.de>
306 (awt_java_source_files): Added new files:
307 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
308 javax/swing/plaf/basic/BasicSplitPaneUI.java
309 * Makefile.in: Regenerated.
311 2003-06-24 Michael Koch <konqueror@gmx.de>
313 * javax/swing/text/JTextComponent.java:
314 New version from classpath.
316 2003-06-24 Michael Koch <konqueror@gmx.de>
318 * javax/swing/Timer.java,
319 javax/swing/plaf/ActionMapUIResource.java,
320 javax/swing/plaf/ButtonUI.java,
321 javax/swing/plaf/ColorChooserUI.java,
322 javax/swing/plaf/ColorUIResource.java,
323 javax/swing/plaf/ComboBoxUI.java,
324 javax/swing/plaf/ComponentInputMapUIResource.java,
325 javax/swing/plaf/basic/BasicBorders.java:
326 New versions from classpath.
327 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
328 javax/swing/plaf/basic/BasicSplitPaneUI.java:
329 New file from classpath.
330 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
331 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
332 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
333 javax/swing/plaf/doc-files/ComponentUI-1.dia,
334 javax/swing/plaf/doc-files/ComponentUI-1.png:
335 New binary files from classpath.
337 2003-06-24 Michael Koch <konqueror@gmx.de>
339 * java/io/LineNumberReader.java
340 (skip): Dont do line number accounting here as this is already done in
343 2003-06-21 Michael Koch <konqueror@gmx.de>
346 (static): Load javaio lib if existing (only in classpath).
347 (File): Revised documentation to show the correct argument name.
348 (createTempFile): Partly merged with classpath.
349 (compareTo): Simplified.
350 (lastModified): Throw exception if time < 0.
351 (deleteOnExit): Revised documentation.
353 2003-06-21 Michael Koch <konqueror@gmx.de>
355 * java/net/PlainSocketImpl.java:
357 (PlainSocketImpl): Merged class documentaion with classpath.
360 (PlainSocketImpl): New empty constructor.
362 (setOption): Merged documentation from classpath.
363 (getOption): Likewise.
369 (available): Likewise.
373 (getInputStream): Made synchronozed to get sure that only one stream
374 object can be created for this socket, merged documentation from
376 (getOutputStream): Likewise.
378 2003-06-21 Michael Koch <konqueror@gmx.de>
380 * java/net/PlainSocketImpl.java:
382 (static): New implicit method.
383 (read): Made package private.
386 2003-06-21 Michael Koch <konqueror@gmx.de>
388 * java/util/SimpleTimeZone.java:
389 Removed unneeded import, reformatting.
391 2003-06-21 Michael Koch <konqueror@gmx.de>
393 * java/text/DateFormat.java,
394 java/text/SimpleDateFormat.java,
395 java/util/Locale.java:
396 New versions from classpath.
398 2003-06-21 Michael Koch <konqueror@gmx.de>
400 * javax/swing/SpinnerModel.java:
401 New file from classpath.
402 * javax/swing/border/LineBorder.java,
403 javax/swing/border/SoftBevelBorder.java,
404 javax/swing/plaf/BorderUIResource.java,
405 javax/swing/plaf/basic/BasicBorders.java:
406 New versions from classpath.
407 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
408 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
409 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
410 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
411 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
412 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
413 New binary files from classpath.
415 2003-06-21 Michael Koch <konqueror@gmx.de>
417 * java/util/logging/LogRecord.java,
418 java/util/logging/Logger.java,
419 java/util/logging/SocketHandler.java,
420 java/util/logging/SimpleFormatter.java,
421 java/util/logging/Formatter.java,
422 java/util/logging/ErrorManager.java,
423 java/util/logging/Handler.java,
424 java/util/logging/FileHandler.java,
425 java/util/logging/LogManager.java,
426 java/util/logging/Level.java,
427 java/util/logging/ConsoleHandler.java,
428 java/util/logging/StreamHandler.java,
429 java/util/logging/LoggingPermission.java,
430 java/util/logging/Filter.java,
431 java/util/logging/MemoryHandler.java,
432 java/util/logging/XMLFormatter.java:
433 New files from classpath.
435 2003-06-20 Michael Koch <konqueror@gmx.de>
437 * java/io/ObjectStreamField.java
438 (unshared): new member variable.
439 (ObjectStreamField): New constructor.
440 (isUnshared): New method.
442 2003-06-20 Michael Koch <konqueror@gmx.de>
444 * java/net/URLStreamHandler.java
445 (hostsEqual): Rewritten.
447 2003-06-20 Michael Koch <konqueror@gmx.de>
449 * gnu/java/nio/MappedByteFileBuffer.java,
450 gnu/java/nio/natMappedByteFileBuffer.cc:
452 * java/nio/MappedByteBufferImpl.java:
454 * gnu/java/nio/FileChannelImpl.java:
455 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
457 (ordinary_java_source_files): Removed
458 gnu/java/nio/MappedByteFileBuffer.java and added
459 java/nio/MappedByteBufferImpl.java.
460 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
461 * Makefile.in: Regenerated.
463 2003-06-19 Michael Koch <konqueror@gmx.de>
465 * gnu/java/nio/DatagramChannelImpl.java
467 (blocking): New member variable.
469 (DatagramChannelImpl): Throws IOException, initialize socket.
470 (socket):Implemented.
471 (implCloseSelectableChannel): Throws IOException, implemented.
472 (implConfigureBlocking): Likewise.
474 (disconnect): Likewise.
475 (isConnected): Likewise.
478 (receive): Throws IOException.
480 * gnu/java/nio/SocketChannelImpl.java
482 (write): Implemented.
484 2003-06-19 Michael Koch <konqueror@gmx.de>
486 * javax/swing/JComponent.java,
487 javax/swing/JInternalFrame.java,
488 javax/swing/MenuSelectionManager.java,
489 javax/swing/SwingUtilities.java,
490 javax/swing/ToggleButtonModel.java:
491 New versions from classpath.
493 2003-06-19 Michael Koch <konqueror@gmx.de>
495 * java/text/CollationElementIterator.java
496 (NULLORDER): Initialize with -1 as JDK documentation says.
498 2003-06-19 Michael Koch <konqueror@gmx.de>
500 * java/net/HttpURLConnection.java,
501 java/net/Inet4Address.java,
502 java/net/Inet6Address.java,
503 java/net/SocketImpl.java,
504 java/net/URLClassLoader.java:
505 Reworked import statements.
506 * java/net/InetAddress.java
507 (getByAddress): Simplified.
508 * java/net/ServerSocket.java
509 (ServerSocket): Moved special handling during bind operation to
511 (bind): Handle different cases when trying to bind a socket.
512 * java/net/URLConnection.java
513 (getHeaderFieldDate): Merged with classpath.
514 (getHeaderFieldInt): Likewise.
516 2003-06-19 Michael Koch <konqueror@gmx.de>
518 * java/util/zip/InflaterInputStream.java
519 (InflaterInputStream): Throw NullPointerException if in is null (as
522 2003-06-19 Michael Koch <konqueror@gmx.de>
525 javax/swing/UIManager.java
526 javax/swing/border/AbstractBorder.java
527 javax/swing/border/BevelBorder.java
528 javax/swing/border/Border.java
529 javax/swing/border/CompoundBorder.java
530 javax/swing/border/EmptyBorder.java
531 javax/swing/border/EtchedBorder.java
532 javax/swing/border/LineBorder.java
533 javax/swing/border/MatteBorder.java
534 javax/swing/border/TitledBorder.java
535 javax/swing/plaf/BorderUIResource.java
536 javax/swing/plaf/basic/BasicBorders.java
537 javax/swing/plaf/basic/BasicButtonUI.java
538 javax/swing/plaf/basic/BasicCheckBoxUI.java
539 javax/swing/plaf/basic/BasicGraphicsUtils.java
540 javax/swing/plaf/basic/BasicLabelUI.java
541 javax/swing/plaf/basic/BasicRadioButtonUI.java
542 javax/swing/plaf/basic/BasicToggleButtonUI.java:
543 New versions from classpath.
544 * javax/swing/border/SoftBevelBorder.java:
545 New file from classpath.
546 * javax/swing/border/doc-files/LineBorder-1.png,
547 javax/swing/border/doc-files/BevelBorder-1.png,
548 javax/swing/border/doc-files/BevelBorder-2.png,
549 javax/swing/border/doc-files/BevelBorder-3.png,
550 javax/swing/border/doc-files/EmptyBorder-1.png,
551 javax/swing/border/doc-files/EtchedBorder-1.png,
552 javax/swing/border/doc-files/EtchedBorder-2.png,
553 javax/swing/border/doc-files/MatteBorder-1.png,
554 javax/swing/border/doc-files/MatteBorder-2.png,
555 javax/swing/border/doc-files/MatteBorder-3.png,
556 javax/swing/border/doc-files/MatteBorder-4.png,
557 javax/swing/border/doc-files/MatteBorder-5.png,
558 javax/swing/border/doc-files/MatteBorder-6.png,
559 javax/swing/border/doc-files/SoftBevelBorder-1.png,
560 javax/swing/border/doc-files/SoftBevelBorder-2.png,
561 javax/swing/border/doc-files/SoftBevelBorder-3.png,
562 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
563 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
564 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
565 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
566 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
567 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
568 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
569 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
570 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
571 New binary files from classpath.
573 (awt_java_source_files): Added
574 javax/swing/border/SoftBevelBorder.java.
575 * Makefile.in: Regenerated.
577 2003-06-19 Michael Koch <konqueror@gmx.de>
579 * gnu/java/security/x509/X509Certificate.java
580 (writeReplace): Merged from classpath.
582 2003-06-19 Michael Koch <konqueror@gmx.de>
584 * gnu/java/nio/FileChannelImpl.java
585 (map_address): Made public.
586 (FileChannelImpl): Merged with classpath.
587 * gnu/java/nio/natFileChannelImpl.cc
588 (nio_mmap_file): Commented out unused arguments.
589 (nio_unmmap_file): Likewise.
590 (niu_msync): Likewise.
592 2003-06-19 Michael Koch <konqueror@gmx.de>
594 * java/awt/image/IndexColorModel.java:
595 New version from classpath.
597 2003-06-18 Tom Tromey <tromey@redhat.com>
599 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
601 (isLoopbackAddress): Likewise.
602 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
605 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
607 * java/lang/natVMSecurityManager.cc (getClassContext):
608 Use maxlen instead of len for loop bound.
610 2003-06-18 Michael Koch <konqueror@gmx.de>
612 * gnu/java/nio/SelectorImpl.java
613 (register): Use fd with value 0 for now, will be fixed later.
614 * gnu/java/nio/ServerSocketChannelImpl.java
616 (local_port): Removed.
617 (InetSocketAddress): Removed.
618 (ServerSocketChannelImpl): Just initialize internal socket object.
619 (implCloseSelectableChannel): Close internal socket object.
620 (implConfigureBlocking): Added comment.
621 (accept): Use jaba.net stuff to accept socket.
622 * gnu/java/nio/SocketChannelImpl.java
624 (local_port): Removed.
625 (InetSocketAddress): Removed.
626 (SocketCreate): Removed.
627 (SocketConnect): Removed.
628 (SocketBind): Removed.
629 (SocketListen): Removed.
630 (SocketAvailable): Removed.
631 (SocketClose): Removed.
632 (SocketRead): Removed.
633 (SocketWrite): Removed.
634 (SocketChannelImpl): Just initialize internal socket object.
635 (implCloseSelectableChannel): Close internal socket object.
636 (implConfigureBlocking): Fixed implementation, added comment.
637 (connect): Use internal socket object to connect.
638 (socket): No need for sanity checks.
639 (read): Comment out some stuff, this will be reimplemented in the next
642 * gnu/java/nio/natFileChannelImpl.cc
643 (nio_mmap_file): Line wrapped.
644 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
646 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
647 * Makefile.in: Regenerated.
649 2003-06-18 Michael Koch <konqueror@gmx.de>
651 * java/util/Locale.java
652 (equals): Merged from classpath.
654 2003-06-18 Michael Koch <konqueror@gmx.de>
656 * java/net/InetAddress.java:
657 Reformatted to better match classpath's version.
659 (equals): Simplified.
660 * java/net/URLConnection.java
661 (setDoInput): Revised documentation.
662 (getDefaultUseCaches): Likewise.
663 (setRequestProperty): Added @since tag.
665 2003-06-17 Michael Koch <konqueror@gmx.de>
667 * java/net/InetSocketAddress.java
668 (InetSocketAddress): Use wildcard address if addr is null.
669 (InetSocketAddress): Dont duplicate implementation.
670 (InetSocketAddress): Throw exception when hostname is null.
671 * java/net/Socket.java:
673 (Socket): Throw exception when raddr is null, handle case when laddr
676 2003-06-17 Michael Koch <konqueror@gmx.de>
678 * java/nio/DirectByteBufferImpl.java
679 (address): Made package private.
680 (DirectByteBufferImpl): New constructor.
681 * java/nio/natDirectByteBufferImpl.cc
682 (allocateImpl): Moved to java.nio namespace, implemented.
683 (freeImpl): Likewise.
687 (_Jv_JNI_NewDirectByteBuffer): Implemented.
688 (_Jv_JNI_GetDirectBufferAddress): Implemented.
689 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
691 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
693 * include/powerpc-signal.h: New File.
694 * configure.in: Use it.
695 * configure: Regenerated.
697 2003-06-17 Michael Koch <konqueror@gmx.de>
699 * java/util/Locale.java
700 (getDisplayLanguage): Made it final.
701 (getDisplayCountry): Likewise.
702 (getDisplayVariant): Likewise.
703 (getDisplayName): Likewise.
705 2003-06-17 Michael Koch <konqueror@gmx.de>
707 * java/util/PropertyResourceBundle.java:
708 Removed unneeded import.
710 2003-06-17 Michael Koch <konqueror@gmx.de>
712 * java/util/prefs/AbstractPreferences.java,
713 java/util/prefs/PreferencesFactory.java:
714 Reworked imports, removed unused imports.
715 * java/util/prefs/Preferences.java
716 (systemNodeForPackage): Method takes a Class not an Object.
717 (userNodeForPackage): Likewise.
718 (nodeForPackage): Likewise.
720 2003-06-17 Michael Koch <konqueror@gmx.de>
722 * gnu/java/security/x509/X509Certificate.java:
723 Explicitely import used classes.
725 2003-06-17 Michael Koch <konqueror@gmx.de>
727 * java/util/zip/ZipEntry.java,
728 java/util/zip/ZipFile.java,
729 java/util/zip/ZipInputStream.java,
730 java/util/zip/ZipOutputStream.java:
731 Reworked imports, only import used classes.
733 2003-06-17 Michael Koch <konqueror@gmx.de>
735 * gnu/java/lang/ArrayHelper.java,
736 gnu/java/lang/ClassHelper.java:
737 Reformatted to match classpath's versions.
739 2003-06-14 Michael Koch <konqueror@gmx.de>
741 * gnu/java/nio/FileChannelImpl.java
742 (map_address): Removed incorrect comment.
743 * gnu/java/nio/SelectorImpl.java
744 (register): Remove code duplication and code for file channel handling.
745 * gnu/java/nio/ServerSocketChannelImpl.java
746 (serverSocket): Renamed from sock_object.
747 (ServerSocketChannel): Initialize serverSocket.
748 (socket): Return serverSocket.
749 * gnu/java/nio/SocketChannelImpl.java
750 (socket): Renamed from sock_object.
751 (isConnectionPenging): Simplified.
752 (socket): Return socket.
753 2003-06-14 Michael Koch <konqueror@gmx.de>
755 * java/security/BasicPermission.java:
756 New version from classpath.
758 2003-06-14 Michael Koch <konqueror@gmx.de>
760 * javax/naming/directory/Attribute.java:
761 New version from classpath.
763 2003-06-14 Michael Koch <konqueror@gmx.de>
765 * java/io/BufferedReader.java,
766 java/io/FileOutputStream.java:
767 New versions from classpath.
769 2003-06-12 Andrew Haley <aph@redhat.com>
771 * prims.cc (catch_segv): Create exception in handler.
772 (catch_fpe): Likewise.
773 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
774 (_Jv_ThrowSignal): Remove.
776 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
777 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
778 to nullp and arithexception.
779 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
780 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
781 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
782 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
783 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
785 2003-06-11 Andrew Haley <aph@redhat.com>
787 * jni.cc (_Jv_JNI_check_types): New.
788 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
789 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
790 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
791 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
793 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
796 2003-06-11 Tom Tromey <tromey@redhat.com>
798 * java/lang/ClassLoader.java (loadClass): Not deprecated.
799 * java/io/PrintStream.java: Not deprecated.
801 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
803 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
804 (fillOval): implemented
805 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
806 (fillArc): implemented.
807 * gnu/gcj/xlib/GC.java (drawArc): added native method.
808 (fillArc): added native method.
809 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
810 (fillArc): added native method.
812 2003-06-11 Michael Koch <konqueror@gmx.de>
814 * java/awt/im/InputSubset.java:
815 New version from classpath.
817 2003-06-11 Michael Koch <konqueror@gmx.de>
819 * javax/swing/AbstractAction.java,
820 javax/swing/AbstractButton.java,
821 javax/swing/AbstractCellEditor.java,
822 javax/swing/AbstractListModel.java,
823 javax/swing/BorderFactory.java,
824 javax/swing/Box.java,
825 javax/swing/BoxLayout.java,
826 javax/swing/ButtonGroup.java,
827 javax/swing/DefaultButtonModel.java,
828 javax/swing/DefaultListModel.java,
829 javax/swing/DefaultListSelectionModel.java,
830 javax/swing/FocusManager.java,
831 javax/swing/ImageIcon.java,
832 javax/swing/InputMap.java,
833 javax/swing/JApplet.java,
834 javax/swing/JButton.java,
835 javax/swing/JCheckBox.java,
836 javax/swing/JCheckBoxMenuItem.java,
837 javax/swing/JColorChooser.java,
838 javax/swing/JComboBox.java,
839 javax/swing/JComponent.java,
840 javax/swing/JDesktopPane.java,
841 javax/swing/JDialog.java,
842 javax/swing/JEditorPane.java,
843 javax/swing/JFileChooser.java,
844 javax/swing/JFormattedTextField.java,
845 javax/swing/JFrame.java,
846 javax/swing/JLabel.java,
847 javax/swing/JLayeredPane.java,
848 javax/swing/JList.java,
849 javax/swing/JMenuBar.java,
850 javax/swing/JMenuItem.java,
851 javax/swing/JOptionPane.java,
852 javax/swing/JPanel.java,
853 javax/swing/JPasswordField.java,
854 javax/swing/JPopupMenu.java,
855 javax/swing/JProgressBar.java,
856 javax/swing/JRadioButton.java,
857 javax/swing/JRadioButtonMenuItem.java,
858 javax/swing/JRootPane.java,
859 javax/swing/JScrollBar.java,
860 javax/swing/JScrollPane.java,
861 javax/swing/JSeparator.java,
862 javax/swing/JSlider.java,
863 javax/swing/JTabbedPane.java,
864 javax/swing/JTable.java,
865 javax/swing/JTextField.java,
866 javax/swing/JToggleButton.java,
867 javax/swing/JToolBar.java,
868 javax/swing/JToolTip.java,
869 javax/swing/JTree.java,
870 javax/swing/JViewport.java,
871 javax/swing/JWindow.java,
872 javax/swing/KeyStroke.java,
873 javax/swing/ListSelectionModel.java,
874 javax/swing/LookAndFeel.java,
875 javax/swing/RepaintManager.java,
876 javax/swing/ScrollPaneLayout.java,
877 javax/swing/SizeRequirements.java,
878 javax/swing/SwingConstants.java,
879 javax/swing/Timer.java,
880 javax/swing/UIDefaults.java,
881 javax/swing/UIManager.java,
882 javax/swing/border/AbstractBorder.java,
883 javax/swing/border/CompoundBorder.java,
884 javax/swing/colorchooser/AbstractColorChooserPanel.java,
885 javax/swing/colorchooser/ColorChooserComponentFactory.java,
886 javax/swing/colorchooser/ColorSelectionModel.java,
887 javax/swing/colorchooser/DefaultColorSelectionModel.java,
888 javax/swing/event/AncestorEvent.java,
889 javax/swing/event/HyperlinkEvent.java,
890 javax/swing/event/InternalFrameAdapter.java,
891 javax/swing/event/InternalFrameEvent.java,
892 javax/swing/event/ListDataEvent.java,
893 javax/swing/event/MouseInputAdapter.java,
894 javax/swing/event/SwingPropertyChangeSupport.java,
895 javax/swing/event/TableModelEvent.java,
896 javax/swing/event/TreeWillExpandListener.java,
897 javax/swing/event/UndoableEditEvent.java,
898 javax/swing/filechooser/FileFilter.java,
899 javax/swing/filechooser/FileSystemView.java,
900 javax/swing/filechooser/FileView.java,
901 javax/swing/plaf/BorderUIResource.java,
902 javax/swing/plaf/basic/BasicDefaults.java,
903 javax/swing/table/AbstractTableModel.java,
904 javax/swing/table/DefaultTableCellRenderer.java,
905 javax/swing/table/DefaultTableColumnModel.java,
906 javax/swing/table/DefaultTableModel.java,
907 javax/swing/table/TableColumn.java,
908 javax/swing/text/JTextComponent.java,
909 javax/swing/tree/AbstractLayoutCache.java,
910 javax/swing/tree/DefaultMutableTreeNode.java,
911 javax/swing/tree/DefaultTreeCellEditor.java,
912 javax/swing/tree/DefaultTreeCellRenderer.java,
913 javax/swing/tree/DefaultTreeModel.java,
914 javax/swing/tree/DefaultTreeSelectionModel.java,
915 javax/swing/tree/FixedHeightLayoutCache.java,
916 javax/swing/tree/TreeCellEditor.java,
917 javax/swing/tree/TreeModel.java,
918 javax/swing/tree/TreeNode.java,
919 javax/swing/tree/TreePath.java,
920 javax/swing/tree/TreeSelectionModel.java,
921 javax/swing/tree/VariableHeightLayoutCache.java,
922 javax/swing/undo/AbstractUndoableEdit.java,
923 javax/swing/undo/CompoundEdit.java,
924 javax/swing/undo/StateEdit.java,
925 javax/swing/undo/UndoManager.java,
926 javax/swing/undo/UndoableEditSupport.java:
927 New versions from classpath.
928 * javax/swing/table/JTableHeader.java:
929 New file from classpath.
931 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
932 * Makefile.in: Regenerated.
934 2003-06-11 Michael Koch <konqueror@gmx.de>
936 * java/nio/MappedByteBuffer.java,
937 java/nio/channels/Channels.java,
938 java/nio/channels/ServerSocketChannel.java,
939 java/nio/channels/spi/AbstractSelector.java:
940 Removed unneeded imports.
942 2003-06-11 Michael Koch <konqueror@gmx.de>
944 * java/net/DatagramSocket.java:
945 Partly merged with classpath.
947 2003-06-11 Michael Koch <konqueror@gmx.de>
949 * java/awt/Frame.java,
950 java/awt/Graphics.java,
953 java/awt/image/ColorModel.java:
954 New versions from classpath.
956 2003-06-10 Michael Koch <konqueror@gmx.de>
958 * java/io/PrintStream.java:
959 Merged version from classpath.
960 (close): Removed sychronized keyword. This class is not garantied to
964 2003-06-09 Tom Tromey <tromey@redhat.com>
966 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
968 (getDescent): Likewise, for "descent".
970 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
972 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
973 (getMaxDescent): adjusted return value.
974 (getAscent): modified to use metrics for 'O'.
975 (getDescent): modified to use metrics for 'y'.
977 2003-06-08 Anthony Green <green@redhat.com>
979 * java/net/URLStreamHandler.java (sameFile): Fix port value
981 * java/net/URL.java (handler): Make package private.
982 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
984 2003-06-07 Tom Tromey <tromey@redhat.com>
987 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
988 Limit number of characters in numeric field when required.
989 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
990 Respect maximumIntegerDigits.
992 2003-06-08 Michael Koch <konqueror@gmx.de>
994 * java/net/Socket.java
995 (Socket): Dont initialize inputShutdown and outputShutdown twice,
996 call bind() and connect() to actually do the bind and connect tasks.
997 (bind): Connect to canonical address if bindpoint is null, create
998 socket and bind it to bindpoint.
999 (connect): Check for exceptions.
1001 2003-06-08 Michael Koch <konqueror@gmx.de>
1003 * java/net/DatagramSocket.java
1004 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
1005 into the Multicast constructors.
1006 * java/net/DatagramSocketImpl.java
1007 (getOption): Removed.
1008 (setOption): Removed.
1009 * java/net/MulticastSocket.java
1010 (MulticastSocket): Call setReuseAddress (true).
1011 * java/net/SocketImpl.java
1012 (getOption): Removed.
1013 (setOption): Removed.
1015 2003-06-07 Jeff Sturm <jsturm@one-point.com>
1018 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
1019 Test for empty vector.
1021 2003-06-06 Mark Wielaard <mark@klomp.org>
1023 * java/security/Security.java (secprops): Initialize.
1024 (loadProviders): Return boolean.
1025 (static): Check result of loadProvider calls. If necessary
1026 display WARNING and fallback to Gnu provider.
1028 2002-06-06 James Clark <jjc@jclark.com>
1030 Fix for PR libgcj/8738:
1031 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
1032 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
1033 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
1034 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
1035 (write): Always decrease avail when count is increased.
1036 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
1037 and whether output buffer is full before increasing size.
1039 2002-06-06 Mark Wielaard <mark@klomp dot org>
1041 * java/io/PrintStream.java (writeChars(char[],int, int)):
1042 Check converter.havePendingBytes().
1043 (writeChars(String,int,int)): Likewise.
1044 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
1045 Check converter.havePendingBytes() and flush buffer when stalled.
1047 2003-06-07 Michael Koch <konqueror@gmx.de>
1050 (O_DSYNC): Define O_DSYNC on platforms not
1051 supporting O_FSYNC (newlib).
1053 2003-06-06 Mark Wielaard <mark@klomp.org>
1055 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
1058 2003-06-06 Michael Koch <konqueror@gmx.de>
1060 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
1061 More compile fixes from my stupid work yesterday.
1063 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
1065 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
1066 if _IEEE_LIBM is undefined.
1068 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
1070 * libjava/include/posix.h (O_SYNC): Define if not available
1071 and a reasonable, perhaps more conservative, replacement exists.
1072 (O_DSYNC): Likewise.
1073 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
1075 2003-06-05 Michael Koch <konqueror@gmx.de>
1077 * javax/swing/plaf/BorderUIResource.java,
1078 javax/swing/plaf/basic/BasicDefaults.java,
1079 javax/swing/plaf/basic/BasicOptionPaneUI.java:
1080 More compile fixes for latest Border commit. I should not commit
1081 something in this heat here ...
1083 2003-06-05 Michael Koch <konqueror@gmx.de>
1085 * javax/swing/border/BevelBorder.java
1086 (BevelBorder): Removed.
1087 * javax/swing/border/EmptyBorder.java:
1089 (EmptyBorder): Removed.
1090 (getBorderInsets): Dont use l, r, t and b.
1091 * javax/swing/border/EtchedBorder.java
1092 (EtchedBorder): Removed.
1093 * javax/swing/border/LineBorder.java
1094 (LineBorder): Removed.
1095 * javax/swing/border/MatteBorder.java
1096 (MatteBorder): Removed.
1097 * javax/swing/border/TitledBorder.java
1098 (defaultBorder): Use other default for now.
1099 (defaultFont): Likewise.
1100 (defaultColor): Likewise.
1102 2003-06-05 Michael Koch <konqueror@gmx.de>
1104 * javax/swing/border/Border.java:
1105 New version from classpath.
1107 2003-06-05 Michael Koch <konqueror@gmx.de>
1109 * javax/swing/border/AbstractBorder.java,
1110 javax/swing/border/BevelBorder.java,
1111 javax/swing/border/CompoundBorder.java,
1112 javax/swing/border/EmptyBorder.java,
1113 javax/swing/border/EtchedBorder.java,
1114 javax/swing/border/LineBorder.java,
1115 javax/swing/border/MatteBorder.java,
1116 javax/swing/border/TitledBorder.java:
1117 New versions from Classpath.
1119 2003-06-05 Michael Koch <konqueror@gmx.de>
1121 * java/awt/Button.java,
1122 java/awt/Checkbox.java,
1123 java/awt/CheckboxMenuItem.java,
1124 java/awt/Choice.java,
1125 java/awt/Container.java,
1126 java/awt/Dialog.java,
1127 java/awt/EventQueue.java,
1128 java/awt/FileDialog.java,
1129 java/awt/Frame.java,
1130 java/awt/Label.java,
1133 java/awt/MenuItem.java,
1134 java/awt/Panel.java,
1135 java/awt/PopupMenu.java,
1136 java/awt/Rectangle.java,
1137 java/awt/ScrollPane.java,
1138 java/awt/Scrollbar.java,
1139 java/awt/TextArea.java,
1140 java/awt/TextField.java,
1141 java/awt/Window.java,
1142 java/awt/datatransfer/DataFlavor.java,
1143 java/awt/dnd/DragSource.java,
1144 java/awt/dnd/DragSourceContext.java,
1145 java/awt/event/HierarchyEvent.java,
1146 java/awt/event/MouseWheelEvent.java,
1147 java/awt/im/InputContext.java,
1148 java/awt/image/BufferedImage.java,
1149 java/awt/image/ComponentColorModel.java,
1150 java/awt/image/Raster.java,
1151 java/awt/image/WritableRaster.java,
1152 java/awt/peer/ComponentPeer.java,
1153 java/awt/print/PageFormat.java,
1154 java/awt/print/PrinterJob.java:
1155 New versions from Classpath.
1157 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1159 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1160 numberFormat.setParseIntegerOnly(true).
1162 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1164 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1166 2003-06-03 Andrew Haley <aph@redhat.com>
1168 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1169 stack volatile to prevent optimization from removing it.
1171 2003-05-27 Michael Koch <konqueror@gmx.de>
1173 * java/util/zip/Deflater.java
1174 (FILTERED): Merged documentation from classpath.
1175 * java/util/zip/DeflaterOutputStream.java
1176 (DeflaterOutputStream): Merged documentation and argument validity
1177 check from classpath.
1178 (deflate): Merged documentation from classpath.
1180 * java/util/zip/Inflater.java
1181 (Inflater): Merged class documentation from classpath.
1182 (zstream): Reordered.
1183 (is_finished): Reordered.
1184 (dict_needed): Reordered.
1185 (Inflater): Reordered, merged documentation from classpath.
1187 (finalize): Merged documentation from classpath.
1188 (finished): Likewise.
1189 (getAdler): Likewise.
1190 (getRemaining): Likewise.
1191 (getTotalIn): Likewise.
1192 (getTotalOut): Likewise.
1193 (inflate): Likewise.
1194 (needsDictionary): Likewise.
1195 (needsInput): Likewise.
1197 (setDictionary): Likewise.
1198 (setInput): Likewise.
1200 2003-05-27 Michael Koch <konqueror@gmx.de>
1202 * java/net/URLConnection.java
1203 (getHeaderFieldInt): Merged with classpath.
1205 2003-05-27 Michael Koch <konqueror@gmx.de>
1207 * java/io/PrintStream.java
1208 (PrintStream): Reformatted.
1209 (PrintStream): New method, merged from classpath.
1210 (write): Reformatted.
1212 2003-05-27 Michael Koch <konqueror@gmx.de>
1214 * java/lang/System.java:
1215 Explicitely import needed classes.
1217 2003-05-26 Michael Koch <konqueror@gmx.de>
1219 * java/net/NetPermission.java,
1220 java/net/NetworkInterface.java,
1221 java/net/PasswordAuthentication.java,
1222 java/net/SocketPermission.java:
1223 New versions from classpath.
1225 2003-05-25 Michael Koch <konqueror@gmx.de>
1227 * java/io/PushbackInputStream.java,
1228 java/net/Authenticator.java,
1229 java/net/ContentHandler.java,
1230 java/net/ContentHandlerFactory.java,
1231 java/net/DatagramSocket.java,
1232 java/net/DatagramSocketImpl.java,
1233 java/net/DatagramSocketImplFactory.java,
1234 java/net/FileNameMap.java,
1235 java/net/SocketImplFactory.java,
1236 java/net/SocketOptions.java,
1237 java/net/URLStreamHandlerFactory.java:
1238 Merged new versions from classpath.
1240 2003-05-25 Michael Koch <konqueror@gmx.de>
1242 * java/awt/Checkbox.java,
1243 java/awt/Dialog.java,
1245 java/awt/Frame.java,
1246 java/awt/ScrollPaneAdjustable.java,
1247 java/awt/Scrollbar.java,
1248 java/awt/Window.java:
1249 New versions from classpath.
1251 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1254 * java/io/ObjectInputStream (enableResolveObject):
1255 Fixed spelling of permission name.
1257 2003-05-20 Michael Koch <konqueror@gmx.de>
1259 * java/io/DataInputStream.java
1260 (convertFromUTF): Merged comment from classpath.
1261 * java/io/PrintStream.java
1262 (error_occured): Renamed from error, merged comment from classpath.
1263 (PrintStream): No need to initialized error.
1264 (checkError): Replace error with error_occurred.
1265 (setError): Likewise.
1267 2003-05-20 Michael Koch <konqueror@gmx.de>
1269 * java/io/DataInputStream.java:
1270 Reformatted, Replaced < and & with html entitites in documentation.
1271 * java/io/File.java:
1273 * java/io/PrintWriter.java:
1274 Moved class documentation.
1276 2003-05-20 Michael Koch <konqueror@gmx.de>
1278 * gnu/java/nio/ByteBufferImpl.java,
1279 gnu/java/nio/CharBufferImpl.java,
1280 gnu/java/nio/CharViewBufferImpl.java,
1281 gnu/java/nio/DirectByteBufferImpl.java,
1282 gnu/java/nio/DoubleBufferImpl.java,
1283 gnu/java/nio/DoubleViewBufferImpl.java,
1284 gnu/java/nio/FloatBufferImpl.java,
1285 gnu/java/nio/FloatViewBufferImpl.java,
1286 gnu/java/nio/IntBufferImpl.java,
1287 gnu/java/nio/IntViewBufferImpl.java,
1288 gnu/java/nio/LongBufferImpl.java,
1289 gnu/java/nio/LongViewBufferImpl.java,
1290 gnu/java/nio/natDirectByteBufferImpl.cc,
1291 gnu/java/nio/ShortBufferImpl.java,
1292 gnu/java/nio/ShortViewBufferImpl.java:
1293 Moved files to java/nio.
1294 * gnu/java/nio/SocketChannelImpl.java
1296 * java/nio/ByteBuffer.java,
1297 java/nio/CharBuffer.java,
1298 java/nio/DoubleBuffer.java,
1299 java/nio/FloatBuffer.java,
1300 java/nio/IntBuffer.java,
1301 java/nio/LongBuffer.java,
1302 java/nio/ShortBuffer.java:
1303 Dont import anything.
1304 * java/nio/ByteBufferImpl.java,
1305 java/nio/CharBufferImpl.java,
1306 java/nio/CharViewBufferImpl.java,
1307 java/nio/DirectByteBufferImpl.java,
1308 java/nio/DoubleBufferImpl.java,
1309 java/nio/DoubleViewBufferImpl.java,
1310 java/nio/FloatBufferImpl.java,
1311 java/nio/FloatViewBufferImpl.java,
1312 java/nio/IntBufferImpl.java,
1313 java/nio/IntViewBufferImpl.java,
1314 java/nio/LongBufferImpl.java,
1315 java/nio/LongViewBufferImpl.java,
1316 java/nio/natDirectByteBufferImpl.cc,
1317 java/nio/ShortBufferImpl.java,
1318 java/nio/ShortViewBufferImpl.java:
1319 Moved from gnu/java/nio.
1321 (ordinary_java_source_files): Moved files from gnu/java/nio to
1323 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1325 * Makefile.in: Regenerated.
1327 2003-05-19 Michael Koch <konqueror@gmx.de>
1329 * java/util/Calendar.java
1330 (get): Not final anymore since JDK 1.4
1333 2003-05-19 Michael Koch <konqueror@gmx.de>
1335 * java/text/CollationKey.java:
1336 Merged copyright and dat from classpath.
1337 * java/text/RuleBasedCollator.java:
1338 Merged class documentation from classpath.
1340 2003-05-19 Michael Koch <konqueror@gmx.de>
1342 * java/nio/CharBuffer.java
1343 (toString): Compile fix.
1345 2003-05-19 Michael Koch <konqueror@gmx.de>
1347 * gnu/java/nio/ByteBufferImpl.java
1348 (putLong): Fixed conversion to bytes.
1349 (putDouble): Fixed conversion to bytes.
1350 * gnu/java/nio/DirectByteBufferImpl.java
1351 (putLong): Fixed conversion to bytes.
1352 (putDouble): Fixed conversion to bytes.
1353 * gnu/java/nio/FileLockImpl.java
1354 (isValid): Reformatted.
1355 * java/nio/Buffer.java
1356 (Buffer): Fixed off-by-one bug in handling mark.
1357 * java/nio/ByteBuffer.java:
1359 * java/nio/CharBuffer.java
1360 (toString): Don't use relative get to get string data.
1362 2003-05-16 Michael Koch <konqueror@gmx.de>
1364 * java/io/natFileDescriptorPosix.cc
1365 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1368 2003-05-14 Michael Koch <konqueror@gmx.de>
1370 * gnu/java/nio/FileLockImpl.java
1371 (released): New member variable.
1372 (FileLockImpl): Initialize released.
1373 (releaseImpl): New native method.
1374 (release): Implemented.
1375 * gnu/java/nio/SelectorImpl.java: Reformatted.
1376 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1377 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1378 (accept): Throws IOException.
1379 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1380 (implConfigureBlocking): Throws IOException.
1381 (connect): Likewise.
1384 * gnu/java/nio/natFileLockImpl.cc: New file.
1385 * java/nio/channels/FileLock.java: Reformatted.
1387 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1388 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1389 * Makefile.in: Regenerated.
1391 2003-05-13 Michael Koch <konqueror@gmx.de>
1393 * gnu/java/nio/CharViewBufferImpl.java
1394 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1395 (get): Shift bits to the right direction.
1397 * gnu/java/nio/DoubleViewBufferImpl.java
1398 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1399 (get): Shift bits to the right direction.
1401 * gnu/java/nio/FloatViewBufferImpl.java
1402 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1403 (get): Shift bits to the right direction.
1405 * gnu/java/nio/IntViewBufferImpl.java
1406 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1407 (get): Shift bits to the right direction.
1409 * gnu/java/nio/LongViewBufferImpl.java
1410 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1411 (get): Shift bits to the right direction.
1413 * gnu/java/nio/ShortViewBufferImpl.java
1414 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1415 (get): Shift bits to the right direction.
1418 2003-05-13 Michael Koch <konqueror@gmx.de>
1420 * gnu/java/nio/natDirectByteBufferImpl.cc
1421 (allocateImpl): jlong -> RawData*.
1422 (freeImpl): Likewise.
1424 2003-05-13 Michael Koch <konqueror@gmx.de>
1426 * java/nio/channels/FileChannel.java
1427 (MapMode.m): Made it package-private to match JDK 1.4.
1428 * java/nio/charset/Charset.java
1429 (decode): Made it final to match JDK 1.4.
1431 2003-05-13 Michael Koch <konqueror@gmx.de>
1433 * java/io/FileDescriptor.java
1434 (SYNC): New constant.
1436 (getLength): Renamed from lenght() to match classpath's
1437 FileDescriptor.java.
1438 * java/io/RandomAccessFile.java
1439 (RandomAccessFile): Removed unneeded mode check, implemented mode
1440 "rws" and "rwd", merged documentation from classpath.
1441 (setLength): Reformatted.
1442 (length): Use new getLength() of FileDescriptor.
1443 * java/io/natFileDescriptorEcos.cc
1444 (getLength): Renamed from length().
1445 * java/io/natFileDescriptorPosix.cc
1446 (open): Implemented support for SYNC and DSYNC.
1447 (seek): Use getLength() instead of length().
1448 (getLength): Renamed from length().
1449 * java/io/natFileDescriptorWin32.cc
1450 (getLength): Renamed from length().
1451 (seek): Use getLength() instead of length().
1452 (available): Likewise.
1453 * gnu/java/nio/natFileChannelImpl.cc
1454 (size): Use getLength() instead of length().
1456 2003-05-13 Michael Koch <konqueror@gmx.de>
1458 * gnu/java/nio/ByteBufferImpl.java
1459 (ByteBufferImpl): All constructors revised.
1460 (slice): Reimplemented.
1461 (duplicate): Reimplemented.
1462 (asReadOnlyBuffer): Reimplemented.
1463 * java/nio/ByteBuffer.java:
1465 (array_offset): Renamed from "offset" to match all other buffer
1467 (ByteBuffer): All constructors revised.
1468 (allocateDirect): Implemented.
1469 (allocate): New implementation, documentation reworked.
1471 (get): Documentation reworked.
1472 (put): New implementation, documentation reworked.
1473 (hasArray): Documentation reworked.
1474 (arrayOffset): Likewise.
1475 (hashCode): Likewise.
1477 (compareTo): Likewise.
1479 (compact): Likewise.
1480 (isDirect): Likewise.
1482 (duplicate): Likewise.
1483 (asReadOnlyBuffer): Likewise.
1485 (ordinary_java_source_files):
1486 Added gnu/java/nio/DirectByteBufferImpl.java.
1488 Added gnu/java/nio/natDirectByteBufferImpl.cc.
1489 * Makefile.in: Regenerated.
1491 2003-05-12 Michael Koch <konqueror@gmx.de>
1493 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1494 (nio_get_*): Removed.
1495 (nio_put_*): Removed.
1496 (as*Buffer): Implemented.
1497 (compact): Implemented.
1498 (get): Documentation added.
1499 (put): Documentation added.
1500 (get*): Newly implemented.
1501 (put*): Newly implemented.
1502 * gnu/java/nio/CharBufferImpl.java: Reformatted.
1503 (CharBufferImpl): Revised.
1504 (slice): New implementation.
1505 (duplicate): New implementation.
1506 (compact): New implementation.
1507 (asReadOnlyBuffer): New implementation.
1508 (get): Documentation revised.
1509 (order): Return native byte order.
1510 * gnu/java/nio/DirectByteBufferImpl.java
1511 (allocateDirect): objects can be null not 0.
1512 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1513 (DoubleBufferImpl): Revised.
1514 (slice): New implementation.
1515 (duplicate): New implementation.
1516 (compact): New implementation.
1517 (asReadOnlyBuffer): New implementation.
1518 (get): Documentation revised.
1519 (order): Return native byte order.
1520 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1521 (FloatBufferImpl): Revised.
1522 (slice): New implementation.
1523 (duplicate): New implementation.
1524 (compact): New implementation.
1525 (asReadOnlyBuffer): New implementation.
1526 (get): Documentation revised.
1527 (order): Return native byte order.
1528 * gnu/java/nio/IntBufferImpl.java: Reformatted.
1529 (IntBufferImpl): Revised.
1530 (slice): New implementation.
1531 (duplicate): New implementation.
1532 (compact): New implementation.
1533 (asReadOnlyBuffer): New implementation.
1534 (get): Documentation revised.
1535 (order): Return native byte order.
1536 * gnu/java/nio/LongBufferImpl.java: Reformatted.
1537 (LongBufferImpl): Revised.
1538 (slice): New implementation.
1539 (duplicate): New implementation.
1540 (compact): New implementation.
1541 (asReadOnlyBuffer): New implementation.
1542 (get): Documentation revised.
1543 (order): Return native byte order.
1544 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1545 (ShortBufferImpl): Revised.
1546 (slice): New implementation.
1547 (duplicate): New implementation.
1548 (compact): New implementation.
1549 (asReadOnlyBuffer): New implementation.
1550 (get): Documentation revised.
1551 (order): Return native byte order.
1552 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1553 (CharBuffer): Revised.
1555 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1556 (DoubleBuffer): Revised.
1557 (allocateDirect): Removed.
1559 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1560 (FloatBuffer): Revised.
1561 (allocateDirect): Removed.
1563 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1564 (IntBuffer): Revised.
1565 (allocateDirect): Removed.
1567 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1568 (LongBuffer): Revised.
1569 (allocateDirect): Removed.
1571 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1572 (ShortBuffer): Revised.
1573 (allocateDirect): Removed.
1575 * gnu/java/nio/natByteBufferImpl.cc: Removed.
1576 * gnu/java/nio/natCharBufferImpl.cc: Removed.
1578 (ordinary_java_source_files): Added the following files:
1579 gnu/java/nio/CharViewBufferImpl.java,
1580 gnu/java/nio/DoubleViewBufferImpl.java,
1581 gnu/java/nio/FloatViewBufferImpl.java,
1582 gnu/java/nio/IntViewBufferImpl.java,
1583 gnu/java/nio/LongViewBufferImpl.java,
1584 gnu/java/nio/ShortViewBufferImpl.java
1585 (nat_source_files): Removed the following files:
1586 gnu/java/nio/natByteBufferImpl.cc,
1587 gnu/java/nio/natCharBufferImpl.cc
1588 * Makefile.in: Regenerated.
1590 2003-05-12 Michael Koch <konqueror@gmx.de>
1592 * gnu/java/nio/CharViewBufferImpl.java,
1593 gnu/java/nio/DirectByteBufferImpl.java,
1594 gnu/java/nio/DoubleViewBufferImpl.java,
1595 gnu/java/nio/FloatViewBufferImpl.java,
1596 gnu/java/nio/IntViewBufferImpl.java,
1597 gnu/java/nio/LongViewBufferImpl.java,
1598 gnu/java/nio/ShortViewBufferImpl.java,
1599 gnu/java/nio/natDirectByteBufferImpl.cc:
1600 New files, not yet to be compiled.
1602 2003-05-10 Michael Koch <konqueror@gmx.de>
1604 * javax/swing/plaf/ButtonUI.java,
1605 javax/swing/plaf/ColorUIResource.java,
1606 javax/swing/plaf/ComponentUI.java,
1607 javax/swing/plaf/DimensionUIResource.java,
1608 javax/swing/plaf/FontUIResource.java,
1609 javax/swing/plaf/IconUIResource.java,
1610 javax/swing/plaf/InsetsUIResource.java,
1611 javax/swing/plaf/LabelUI.java,
1612 javax/swing/plaf/ListUI.java,
1613 javax/swing/plaf/OptionPaneUI.java,
1614 javax/swing/plaf/PanelUI.java,
1615 javax/swing/plaf/TabbedPaneUI.java,
1616 javax/swing/plaf/TextUI.java,
1617 javax/swing/plaf/TreeUI.java,
1618 javax/swing/plaf/ViewportUI.java,
1619 javax/swing/plaf/basic/BasicBorders.java,
1620 javax/swing/plaf/basic/BasicButtonUI.java,
1621 javax/swing/plaf/basic/BasicCheckBoxUI.java,
1622 javax/swing/plaf/basic/BasicDefaults.java,
1623 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1624 javax/swing/plaf/basic/BasicIconFactory.java,
1625 javax/swing/plaf/basic/BasicLabelUI.java,
1626 javax/swing/plaf/basic/BasicListUI.java,
1627 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1628 javax/swing/plaf/basic/BasicPanelUI.java,
1629 javax/swing/plaf/basic/BasicRadioButtonUI.java,
1630 javax/swing/plaf/basic/BasicScrollPaneUI.java,
1631 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1632 javax/swing/plaf/basic/BasicTextUI.java,
1633 javax/swing/plaf/basic/BasicToggleButtonUI.java,
1634 javax/swing/plaf/basic/BasicTreeUI.java,
1635 javax/swing/plaf/basic/BasicViewportUI.java,
1636 javax/swing/plaf/metal/MetalLookAndFeel.java:
1637 New versions from classpath. This adds copyrights to all files and
1638 some serialVersionUIDs.
1640 2003-05-10 Michael Koch <konqueror@gmx.de>
1642 * java/nio/CharBuffer.java
1643 (offset): Make it package-private.
1644 (backing_buffer): Likewise.
1645 * java/nio/DoubleBuffer.java
1646 (offset): Make it package-private.
1647 (backing_buffer): Likewise.
1649 * java/nio/FloatBuffer.java
1650 (offset): Make it package-private.
1651 (backing_buffer): Likewise.
1652 * java/nio/IntBuffer.java
1653 (offset): Make it package-private.
1654 (backing_buffer): Likewise.
1655 * java/nio/LongBuffer.java
1656 (offset): Make it package-private.
1657 (backing_buffer): Likewise.
1658 * java/nio/ShortBuffer.java
1659 (offset): Make it package-private.
1660 (backing_buffer): Likewise.
1662 2003-05-10 Michael Koch <konqueror@gmx.de>
1664 * java/nio/CharBuffer.java
1665 (put): Fixed precondtion check.
1666 (toString): Make it work without backing array.
1667 (put): Skip one level of method calling.
1669 2003-05-10 Michael Koch <konqueror@gmx.de>
1671 * java/security/Identity.java,
1672 java/security/IdentityScope.java,
1673 java/security/Key.java,
1674 java/security/KeyPair.java,
1675 java/security/PrivateKey.java,
1676 java/security/Provider.java,
1677 java/security/PublicKey.java,
1678 java/security/SecureRandom.java,
1679 java/security/SecureRandomSpi.java,
1680 java/security/SignedObject.java,
1681 java/security/Signer.java,
1682 java/security/cert/Certificate.java,
1683 java/security/cert/PKIXCertPathBuilderResult.java,
1684 java/security/cert/X509Certificate.java:
1685 New versions from classpath.
1687 2003-05-09 Tom Tromey <tromey@redhat.com>
1689 * Makefile.in: Rebuilt.
1690 * Makefile.am (nat_source_files): Removed old files.
1691 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1692 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1693 * gnu/java/nio/natIntBufferImpl.cc: Removed.
1694 * gnu/java/nio/natLongBufferImpl.cc: Removed.
1695 * gnu/java/nio/natShortBufferImpl.cc: Removed.
1697 2003-05-09 Michael Koch <konqueror@gmx.de>
1699 * gnu/java/nio/ByteBufferImpl.java
1700 (nio_cast): Removed.
1701 (ByteBufferImpl): Removed.
1702 (nio_get_Byte): Removed.
1703 (nio_put_Byte): Removed.
1704 (asByteBuffer): Removed.
1705 (asCharBuffer): Removed implementation and throw exception.
1706 (asShortBuffer): Likewise.
1707 (asIntBuffer): Likewise.
1708 (asLongBuffer): Likewise.
1709 (asFloatBuffer): Likewise.
1710 (asDoubleBuffer): Likewise.
1711 * gnu/java/nio/CharBufferImpl.java
1712 (CharBufferImpl): Removed.
1713 (nio_get_Byte): Removed.
1714 (nio_put_Byte): Removed.
1715 (asByteBuffer): Removed.
1716 * gnu/java/nio/DoubleBufferImpl.java
1717 (DoubleBufferImpl): Removed.
1718 (nio_get_Byte): Removed.
1719 (nio_put_Byte): Removed.
1720 (asByteBuffer): Removed.
1721 * gnu/java/nio/FloatBufferImpl.java
1722 (FloatBufferImpl): Removed.
1723 (nio_get_Byte): Removed.
1724 (nio_put_Byte): Removed.
1725 (asByteBuffer): Removed.
1726 * gnu/java/nio/IntBufferImpl.java
1727 (IntBufferImpl): Removed.
1728 (nio_get_Byte): Removed.
1729 (nio_put_Byte): Removed.
1730 (asByteBuffer): Removed.
1731 * gnu/java/nio/LongBufferImpl.java
1732 (LongBufferImpl): Removed.
1733 (nio_get_Byte): Removed.
1734 (nio_put_Byte): Removed.
1735 (asByteBuffer): Removed.
1736 * gnu/java/nio/ShortBufferImpl.java
1737 (ShortBufferImpl): Removed.
1738 (nio_get_Byte): Removed.
1739 (nio_put_Byte): Removed.
1740 (asByteBuffer): Removed.
1741 * gnu/java/nio/natByteBufferImpl.cc
1742 (nio_cast): Removed.
1743 (nio_get_Byte): Removed.
1744 (nio_put_Byte): Removed.
1745 * gnu/java/nio/natCharBufferImpl.cc
1746 (nio_get_Byte): Removed.
1747 (nio_put_Byte): Removed.
1749 2003-05-09 Michael Koch <konqueror@gmx.de>
1751 * java/net/JarURLConnection.java
1752 (getJarEntry): Merged documentation from classpath.
1753 (getJarFile): Likewise.
1754 (getMainAttributes): Likewise.
1755 (getAttributes): Likewise.
1756 (getManifest): Likewise.
1757 (getCertificates): Reformatted.
1758 * java/net/URLConnection.java:
1759 Little classpath merge.
1761 2003-05-09 Michael Koch <konqueror@gmx.de>
1763 * java/io/DataOutputStream.java
1764 (writeShort): Made it synchronized.
1765 (writeChar): Likewise.
1766 (writeInt): Likewise.
1767 (writeLong): Liekwise.
1768 (writeUTF): Made it synchronized, renamed argument to match classpath.
1769 * java/io/InputStreamReader.java
1770 (converter): Added documentation.
1771 (read): Merged documentation from classpath.
1772 * java/io/OutputStreamWriter.java
1773 (OutputStreamWriter): Merged documentation from classpath.
1774 (close): Reformatted.
1775 (getEncoding): Likewise.
1777 (write): Merged documentation from classpath, reformatted.
1779 2003-05-08 Tom Tromey <tromey@redhat.com>
1781 * configure.host <powerpc64*-*>: Set with_libffi_default and
1782 libgcj_interpreter to "yes".
1784 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
1786 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1788 2003-05-06 Tom Tromey <tromey@redhat.com>
1790 * verify.cc: Reverted previous patch.
1792 2003-05-06 Michael Koch <konqueror@gmx.de>
1794 * java/io/DataOutputStream.java
1795 (write): Renamed argument to "value", merged documentation from
1797 (writeBoolean): Likewise.
1798 (writeByte): Likewise.
1799 (writeShort): Likewise.
1800 (writeChar): Likewise.
1801 (writeInt): Likewise.
1802 (writeLong): Likewise.
1803 (writeFloat): Likewise.
1804 (writeDouble): Likewise.
1805 (writeBytes): Likewise.
1806 (writeChars): Likewise.
1807 (writeUTF): Likewise.
1809 (performDelete): Added documentation.
1810 (performList): Likewise.
1811 (performMkdir): Likewise.
1812 (performSetReadOnly): Likewise.
1813 (performRenameTo): Likewise.
1814 (performSetLastModified): Likewise.
1815 (delete): Made it sychronized.
1816 (renameTo): Made it sychronized.
1817 (equals): Reformatted.
1818 (isHidden): Likewise.
1819 (listFiles): Likewise.
1820 (setReadOnly): Likewise.
1821 (listRoots): Likewise.
1822 (setLastModified): Likewise.
1823 (checkRead): Likewise.
1824 (checkWrite): Likewise.
1825 * java/io/FileInputStream.java
1826 (skip): Made it sychronized, merged from classpath.
1827 * java/io/FileOutputStream.java
1828 (write): Merged from classpath.
1829 * java/io/InputStreamReader.java:
1830 (InputStreamReader): Merged documentation from classpath.
1832 2003-05-05 Michael Koch <konqueror@gmx.de>
1834 * java/net/NetworkInterface.java
1835 (networkInterfaces): Removed.
1836 (getByName): Use getRealNetworkInterfaces() instead of
1838 (getByInetAddress): Likewise.
1839 (getNetworkInterfaces): Likewise.
1840 (toString): Fix output of addresses of an interface.
1842 2003-05-05 Michael Koch <konqueror@gmx.de>
1844 * java/io/DataInputStream.java:
1845 Merged new documentation from classpath.
1847 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
1849 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1851 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1852 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1853 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1854 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1855 * gnu/awt/gtk/GtkMainThread.java: Likewise.
1856 * gnu/awt/gtk/GtkToolkit.java: Likewise.
1857 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1858 * java/security/Key.java: Likewise.
1859 * java/security/PrivateKey.java: Likewise.
1860 * java/security/Provider.java: Likewise.
1861 * java/security/PublicKey.java: Likewise.
1863 2003-05-02 Michael Koch <konqueror@gmx.de>
1866 (create): Doesnt throws any exceptions.
1867 * java/net/URLConnection.java
1868 (URLConnection): Commend added.
1869 (getExpiration): The header field is called "expires" not
1871 (getHeaderField): Merged documentation with classpath.
1872 (getHeaderFieldInt): Likewise.
1873 (getHeaderFieldDate): Likewise.
1874 (getHeaderFieldKey): Likewise.
1875 (getPermission): Likewise.
1876 (setDefaultUseCaches): Likewise.
1877 (setRequestProperty): Likewise.
1878 (addRequestProperty): Likewise.
1879 (getRequestProperty): Likewise.
1880 (getRequestProperties): Likewise.
1881 (setDefaultRequestProperty): Likewise.
1882 (getDefaultRequestProperty): Likewise.
1883 (guessContentTypeFromStream): Likewise.
1884 (getFileNameMap): Likewise.
1885 (setFileNameMap): Likewise.
1886 (setDoInput): Merged implementation and documentation with classpath.
1887 (setDoOutput): Likewise.
1888 (setAllowUserInteraction): Likewise.
1889 (setDefaultAllowUserInteraction): Likewise.
1890 (setContentHandlerFactory): Made it synchronized, merged documentation
1892 (guessContentTypeFromName): Renamed argument fname to filename to
1893 match classpath, merged documentation with classpath.
1895 2003-05-02 Michael Koch <konqueror@gmx.de>
1897 * java/net/JarURLConnection.java
1898 (JarURLConnection): Class documentation merged with classpath.
1899 (getJarFileURL): Moved and documentation merged with classpath.
1900 (getEntryName): Likewise.
1901 (JarURLConnection): Documentation merged with classpath.
1902 (getJarEntry): Likewise.
1903 (getJarFile): Likewise.
1904 * java/net/PlainDatagramSocketImpl.java:
1905 Class documentation moved.
1906 * java/net/URLConnection.java
1907 (fileNameMap): Moved and documentation merged with classpath.
1908 (factory): Likewise.
1909 (defaultAllowUserInteraction): Likewis.
1910 (defaultUseCaches): Likewise.
1911 (allowUserInteraction): Likewise.
1912 (connected): Likewise.
1914 (connect): Documentation merged with classpath.
1916 (getContentLength): Likewise.
1917 (getContentType): Likewise.
1918 (getContentEncoding): Likewise.
1919 (getExpiration): Likewise.
1920 (getDate): Likewise.
1921 (getLastModified): Likewise.
1922 (getHeaderField): Likewise.
1923 (getContent): Likewise.
1924 (getPermission): Likewise.
1925 (getInputStream): Likewise.
1926 (getOutputStream): Likewise.
1927 (toString): Likewise.
1928 (getDoInput): Likewise.
1929 (getDoOutput): Likewise.
1930 (setAllowUserInteraction): Likewise.
1931 (getAllowUserInteraction): Likewise.
1932 (setDefaultAllowUserInteraction): Likewise.
1933 (getDefaultAllowUserInteraction): Likewise.
1934 (setUseCaches): Likewise.
1935 (getUseCaches): Likewise.
1936 (setIfModifiedSince): Likewise.
1937 (getIfModifiedSince): Likewise.
1938 (setDefaultRequestProperty): Likewise.
1939 (getDefaultRequestProperty): Likewise.
1940 (setContentHandlerFactory): Likewise.
1941 (setFileNameMap): Likewise.
1943 2003-05-02 Michael Koch <konqueror@gmx.de>
1945 * java/net/InetAddress.java:
1946 Merged class documentation with classpath.
1947 * java/net/JarURLConnection.java:
1948 Explicitely import all used classes.
1949 * java/net/URL.java:
1951 * java/net/ServerSocket.java,
1952 java/net/Socket.java:
1953 New versions from classpath.
1955 2003-05-02 Michael Koch <konqueror@gmx.de>
1957 * gnu/java/nio/FileChannelImpl.java
1958 (read): New implementation.
1959 (implRead): New methods.
1960 (write): New implementation, call other write insteal of read method.
1961 (implWrite): New methods.
1962 (map): Added comment.
1963 (transferFrom): Implemented.
1964 (transferTo): Implemented.
1965 (lock): Added checks to throw exceptions.
1966 (truncate): Added check to throw exception.
1967 * gnu/java/nio/natFileChannelImpl.cc
1968 (implRead): New method.
1969 (implWrite): New method.
1970 * java/nio/ByteBuffer.java
1971 (hashCode): Fixed comment.
1972 (get): Fixed exception documentation.
1973 (put): Fixed exception documentation.
1974 * java/nio/CharBuffer.java:
1975 Added comment for later optimizations.
1977 2003-04-30 Tom Tromey <tromey@redhat.com>
1980 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1982 (type::compatible): Use _Jv_IsAssignableFrom.
1983 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1984 (_Jv_IsAssignableFrom): Work even when source or target class is
1987 2003-04-30 Michael Koch <konqueror@gmx.de>
1989 * java/text/BreakIterator.java
1990 (clone): New method.
1992 2003-04-30 Michael Koch <konqueror@gmx.de>
1994 * java/text/CollationElementIterator.java,
1995 java/text/CollationKey.java,
1996 java/text/RuleBasedCollator.java:
1997 Merged copyright and documentation from classpath and
1998 rearranged some code. No code changes done.
2000 2003-04-30 Michael Koch <konqueror@gmx.de>
2002 * java/util/regex/Matcher.java
2003 (pattern): New member variable.
2004 (appendReplacement): New method.
2005 (appendTail): New method.
2008 (group): New method.
2009 (replaceFirst): Added documentation.
2010 (replaceAll): Added documentation.
2011 (groupCount): New method.
2012 (lookingAt): New method.
2013 (matches): New method.
2014 (reset): New method.
2015 (start): New method.
2016 * java/util/regex/Pattern.java
2017 (serialVersionUID): New constant.
2018 (CANON_EQ): New constant.
2019 (CASE_INSENSITIVE): New constant.
2020 (COMMENTS): New constant.
2021 (DOTALL): New constant.
2022 (MULTILINE): New constant.
2023 (UNICODE_CASE): New constant.
2024 (UNIX_LINES): New constant.
2025 (regex): New member variable.
2026 (flags): New member variable.
2027 (Pattern): New method.
2028 (compile): Documentation added.
2029 (flags): New method.
2030 (matches): Documentation added.
2031 (matcher): Documentation added.
2032 (split): Documentation added.
2033 (pattern): New method.
2035 2003-04-30 Michael Koch <konqueror@gmx.de>
2037 * gnu/java/security/Engine.java,
2038 gnu/java/security/OID.java,
2039 gnu/java/security/der/BitString.java,
2040 gnu/java/security/der/DER.java,
2041 gnu/java/security/der/DERReader.java,
2042 gnu/java/security/der/DERValue.java,
2043 gnu/java/security/der/DERWriter.java,
2044 gnu/java/security/provider/DSAKeyFactory.java,
2045 gnu/java/security/provider/X509CertificateFactory.java,
2046 gnu/java/security/x509/X500DistinguishedName.java,
2047 gnu/java/security/x509/X509CRL.java,
2048 gnu/java/security/x509/X509CRLEntry.java,
2049 gnu/java/security/x509/X509Certificate.java,
2050 java/security/cert/CRLSelector.java,
2051 java/security/cert/CertPathBuilder.java,
2052 java/security/cert/CertPathBuilderResult.java,
2053 java/security/cert/CertPathBuilderSpi.java,
2054 java/security/cert/CertPathParameters.java,
2055 java/security/cert/CertPathValidator.java,
2056 java/security/cert/CertPathValidatorResult.java,
2057 java/security/cert/CertPathValidatorSpi.java,
2058 java/security/cert/CertSelector.java,
2059 java/security/cert/CertStore.java,
2060 java/security/cert/CertStoreParameters.java,
2061 java/security/cert/CertStoreSpi.java,
2062 java/security/cert/CollectionCertStoreParameters.java,
2063 java/security/cert/LDAPCertStoreParameters.java,
2064 java/security/cert/PKIXBuilderParameters.java,
2065 java/security/cert/PKIXCertPathBuilderResult.java,
2066 java/security/cert/PKIXCertPathChecker.java,
2067 java/security/cert/PKIXCertPathValidatorResult.java,
2068 java/security/cert/PKIXParameters.java,
2069 java/security/cert/PolicyNode.java,
2070 java/security/cert/PolicyQualifierInfo.java,
2071 java/security/cert/TrustAnchor.java,
2072 javax/security/auth/x500/X500Principal.java:
2073 New files from classpath.
2074 * gnu/java/io/ASN1ParsingException.java,
2075 gnu/java/io/Base64InputStream.java,
2076 gnu/java/security/der/DEREncodingException.java,
2077 gnu/java/security/provider/DSAParameters.java,
2078 gnu/java/security/provider/DSASignature.java,
2079 gnu/java/security/provider/Gnu.java,
2080 gnu/java/security/provider/GnuDSAPrivateKey.java,
2081 gnu/java/security/provider/GnuDSAPublicKey.java,
2082 java/security/AlgorithmParameterGenerator.java,
2083 java/security/AlgorithmParameters.java,
2084 java/security/KeyFactory.java,
2085 java/security/KeyPairGenerator.java,
2086 java/security/KeyStore.java,
2087 java/security/MessageDigest.java,
2088 java/security/SecureClassLoader.java,
2089 java/security/SecureRandom.java,
2090 java/security/Security.java,
2091 java/security/Signature.java,
2092 java/security/cert/Certificate.java,
2093 java/security/cert/CertificateFactory.java,
2094 java/security/cert/CertificateFactorySpi.java,
2095 java/security/cert/X509CRL.java,
2096 java/security/cert/X509Certificate.java,
2097 java/security/spec/DSAPublicKeySpec.java:
2098 New versions from classpath.
2099 * gnu/java/security/provider/DERReader.java,
2100 gnu/java/security/provider/DERWriter.java,
2101 java/security/Engine.java: Removed.
2103 (java_source_files, javax_source_files): Added new files.
2104 * Makefile.in: Regenerated.
2106 2003-04-29 Michael Koch <konqueror@gmx.de>
2108 * javax/swing/JTable.java
2109 (AUTO_RESIZE_ALL_COLUMNS): New constant.
2110 (AUTO_RESIZE_LAST_COLUMN): New constant.
2111 (AUTO_RESIZE_NEXT_COLUMN): New constant.
2112 (AUTO_RESIZE_OFF): New constant.
2113 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
2114 (JTable): New method.
2115 (columnAdded): New method.
2116 (columnMarginChanged): New method.
2117 (columnMoved): New method.
2118 (columnRemoved): New method.
2119 (columnSelectionChanged): New method.
2120 (editingCanceled): New method.
2121 (editingStopped): New method.
2122 (getColumnModel): New method.
2123 (getPreferredScrollableViewportSize): New method.
2124 (getScrollableBlockIncrement): New method.
2125 (getScrollableTracksViewportHeight): New method.
2126 (getScrollableTracksViewportWidth): New method.
2127 (getScrollableUnitIncrement): New method.
2128 (getSelectedRow): New method.
2129 (getSelectionModel): New method.
2130 (tableChanged): New method.
2131 (setModel): New method.
2132 (setSelectionMode): New method.
2133 (setSelectionModel): New method.
2134 (setShowGrid): New method.
2135 (valueChanged): New method.
2136 * javax/swing/text/DefaultEditorKit.java
2137 (backwardAction): New constant.
2138 (beepAction): New constant.
2139 (beginAction): New constant.
2140 (beginLineAction): New constant.
2141 (beginParagraphAction): New constant.
2142 (beginWordAction): New constant.
2143 (copyAction): New constant.
2144 (cutAction): New constant.
2145 (defaultKeyTypedAction): New constant.
2146 (deleteNextCharAction): New constant.
2147 (deletePrevCharAction): New constant.
2148 (downAction): New constant.
2149 (endAction): New constant.
2150 (endLineAction): New constant.
2151 (endOfLineStringProperty): New constant.
2152 (endParagraphAction): New constant.
2153 (endWordAction): New constant.
2154 (forwardAction): New constant.
2155 (insertBreakAction): New constant.
2156 (insertContentAction): New constant.
2157 (insertTabAction): New constant.
2158 (nextWordAction): New constant.
2159 (pageDownAction): New constant.
2160 (pageUpAction): New constant.
2161 (pasteAction): New constant.
2162 (previousWordAction): New constant.
2163 (readOnlyAction): New constant.
2164 (selectAllAction): New constant.
2165 (selectionBackwardAction): New constant.
2166 (selectionBeginAction): New constant.
2167 (selectionBeginLineAction): New constant.
2168 (selectionBeginParagraphAction): New constant.
2169 (selectionBeginWordAction): New constant.
2170 (selectionDownAction): New constant.
2171 (selectionEndAction): New constant.
2172 (selectionEndLineAction): New constant.
2173 (selectionEndParagraphAction): New constant.
2174 (selectionEndWordAction): New constant.
2175 (selectionForwardAction): New constant.
2176 (selectionNextWordAction): New constant.
2177 (selectionPreviousWordAction): New constant.
2178 (selectionUpAction): New constant.
2179 (selectLineAction): New constant.
2180 (selectParagraphAction): New constant.
2181 (selectWordAction): New constant.
2182 (upAction): New constant.
2183 (writableAction): New constant.
2185 2003-04-29 Michael Koch <konqueror@gmx.de>
2187 * java/util/PropertyPermission.java:
2188 New version from classpath
2189 * java/util/ResourceBundle.java:
2190 Partly merged from classpath
2191 (getObject): Reformated.
2192 (tryBundle): Set foundBundle = null if no bundle found.
2194 2003-04-29 Michael Koch <konqueror@gmx.de>
2196 * javax/swing/AbstractListModel.java,
2197 javax/swing/DefaultBoundedRangeModel.java,
2198 javax/swing/DefaultSingleSelectionModel.java:
2199 New Versions from classpath.
2201 2003-04-29 Michael Koch <konqueror@gmx.de>
2203 * java/awt/Window.java
2204 (show): Call super.show() instead of setVisible() to avoid endless
2206 (hide): Call super.hide() instead of setVisible() to avoid endless
2209 2003-04-29 Michael Koch <konqueror@gmx.de>
2211 * java/util/zip/Deflater.java,
2212 java/util/zip/DeflaterOutputStream.java:
2213 Partly merged with classpath.
2215 2003-04-27 Tom Tromey <tromey@redhat.com>
2217 * java/lang/natString.cc (_Jv_AllocString): Initialize
2220 (_Jv_NewStringUtf8Const): Likewise.
2222 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2224 * include/jvm.h: (_Jv_GetNbArgs) added
2225 (_Jv_GetSafeArg) added
2227 * prims.cc: (_Jv_GetNbArgs) implemented
2228 (_Jv_GetSafeArg) implemented
2229 (_Jv_SetArgs) implemented
2230 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2231 setting _Jv_argc and _Jv_argv
2232 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2234 * java/lang/natRuntime.cc: (insertSystemProperties) use
2235 _Jv_GetSafeArg() instead of _Jv_argv
2237 2003-04-23 Tom Tromey <tromey@redhat.com>
2239 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2240 required by this object. Search superclasses to find required
2242 (get_alignment_from_class): Use alignment of type as it appears
2244 (ALIGNOF): New macro.
2245 (struct aligner): New helper structure.
2247 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2249 * java/awt/Container.java (addImpl): Enable paint events if adding
2250 a lightweight to a heavyweight.
2251 (addNotify): Ensure that peer is created before
2252 addNotifyContainerChildren.
2253 (addNotifyContainerChildren): Enable paint events if a heavyweight
2254 container contains a lightweight.
2256 2003-04-20 Tom Tromey <tromey@redhat.com>
2258 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2259 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2262 2003-04-19 Tom Tromey <tromey@redhat.com>
2264 * java/sql/Date.java, java/sql/DriverManager.java,
2265 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2268 * Makefile.in: Rebuilt.
2269 * Makefile.am (ordinary_java_source_files): Added new files.
2270 * java/security/AlgorithmParameterGenerator.java,
2271 java/security/AlgorithmParameters.java, java/security/Engine.java,
2272 java/security/Identity.java, java/security/IdentityScope.java,
2273 java/security/KeyFactory.java,
2274 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2275 java/security/MessageDigest.java, java/security/Policy.java,
2276 java/security/ProtectionDomain.java,
2277 java/security/SecureRandom.java, java/security/Security.java,
2278 java/security/Signature.java, java/security/SignatureSpi.java,
2279 java/security/SignedObject.java, java/security/Signer.java,
2280 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2281 java/security/spec/PSSParameterSpec.java,
2282 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2283 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2286 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2288 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2289 (dispose): Null metrics.
2290 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2291 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2293 (finalize): Call dispose.
2294 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2295 (gcCachedCount): New field.
2296 (finalize): New method.
2297 (putGCInCache): New method.
2298 (getGCFromCache): New method.
2299 * gnu/gcj/xlib/GC.java (GC): Make protected.
2300 (clone): Get new GC from cache if possible.
2301 (create): New static method.
2302 (dispose): Save old GC in cache.
2303 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2305 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2307 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2308 * java/awt/Container.java (visitChild): Dispose gfx2 when
2311 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2313 * java/math/BigInteger.java (probablePrime): New.
2314 * java/math/BigDecimal.java (unscaledValue): New.
2316 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2318 * java/io/File.java (getAbsolutePath): On Windows, take care
2319 of paths like "C:", "G:foo\bar", etc.
2320 (getName): Make it work correctly on Windows.
2321 (getParent): Make it work correctly on Windows. For UNIX,
2322 fix bug that causes "/" to be returned as the parent of "/",
2323 instead of null as returned by Sun's JRE.
2325 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2327 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2329 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2331 (CACHE_SIZE_PER_DISPLAY): New field
2332 (fontMetricsCache): New field
2333 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2334 loading ISO10646-1 fonts.
2336 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2338 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2340 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2343 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2345 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2348 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2350 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2351 installed libpthread is either linuxthreads with floating stacks or
2354 2003-04-14 Tom Tromey <tromey@redhat.com>
2356 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2359 2003-04-10 Tom Tromey <tromey@redhat.com>
2361 * verify.cc (pop64): Removed.
2362 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2363 exception if top-of-stack is narrow.
2364 (initialize_stack): Check to ensure that <init> is not static and
2367 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2369 * java/io/ObjectStreamException
2370 * java/io/FileFilter
2371 * java/io/FilenameFilter
2372 * java/io/ObjectInput
2373 * java/io/ObjectOutput
2374 * java/io/ObjectStreamConstants
2375 Minor doc fixes, format fixes, spelling corrections, etc.
2377 Corrected code samples in Javadocs to match reality
2378 * java/io/DataOutput
2379 * java/io/ObjectInputValidation
2380 Major documentation fixes - all Javadocs re-written or updated
2382 2003-04-06 Michael Koch <konqueror@gmx.de>
2384 * java/net/URLConnection.java:
2385 Import classes directly.
2386 (URLConnection): Merged class documentation with classpath.
2387 (url): Moved, documentation from classpath added.
2388 (doInput): Moved, documentation from classpath added.
2389 (doOutput): Moved, documentation from classpath added.
2390 (allowUserInteraction): Moved.
2391 (useCaches): Moved, documentation from classpath added.
2392 (ifModifiedSince): Moved, documentation from classpath added.
2393 (connected): Moved, documentation from classpath added.
2395 2003-04-06 Michael Koch <konqueror@gmx.de>
2397 * java/io/FileInputStream.java
2398 (skip): Renamed some variables to match classpath, added
2399 checks from classpath.
2401 2003-03-31 Michael Koch <konqueror@gmx.de>
2403 * javax/swing/AbstractAction.java
2404 (AbstractAction): Reformatted.
2405 (serialVersionUID): New private member variable.
2406 * javax/swing/plaf/BorderUIResource.java
2407 (serialVersionUID): New private member variable.
2408 * javax/swing/plaf/basic/BasicLookAndFeel.java
2409 (serialVersionUID): New private member variable.
2411 2003-03-31 Michael Koch <konqueror@gmx.de>
2413 * java/sql/Date.java
2414 (valueOf): Deprecated, reformatted.
2415 (toString): Deprecated, reformatted.
2416 * java/sql/Time.java
2417 (valueOf): Deprecated, reformatted.
2418 (toString): Deprecated, reformatted.
2420 2003-03-31 Michael Koch <konqueror@gmx.de>
2422 * java/rmi/dgc/VMID.java
2423 (isUnique): Deprecated.
2425 2003-03-31 Michael Koch <konqueror@gmx.de>
2428 (separator): Merged documentation from classpath.
2429 (separatorChar): Merged documentation from classpath.
2430 (pathSeparator): Merged documentation from classpath.
2431 (pathSeparatorChar): Merged documentation from classpath.
2432 (path): Merged documentation from classpath.
2433 (canRead): Merged documentation from classpath.
2434 (canWrite): Merged documentation from classpath.
2435 (createNewFile): Merged documentation from classpath.
2436 (delete): Merged documentation from classpath.
2437 (equals): Merged documentation from classpath.
2438 (exists): Merged documentation from classpath.
2439 (File): Renamed p to name to match classpath, merged documentation
2441 (getAbsolutePath): Merged documentation from classpath.
2442 (getCanonicalPath): Merged documentation from classpath.
2443 (getCanonicalFile): Merged documentation from classpath.
2444 (getName): Merged documentation from classpath.
2445 (getParent): Merged documentation from classpath.
2446 (getParentFile): Merged documentation from classpath.
2447 (getPath): Merged documentation from classpath.
2448 (hashCode): Merged documentation from classpath.
2449 (isAbsolute): Merged documentation from classpath.
2450 (isDirectory): Merged documentation from classpath.
2451 (isFile): Merged documentation from classpath.
2452 (isHidden): Merged documentation from classpath.
2453 (lastModified): Merged documentation from classpath.
2454 (length): Merged documentation from classpath.
2455 (list): Merged documentation from classpath.
2456 (listFiles): Merged documentation from classpath.
2457 (toString): Merged documentation from classpath.
2458 (toURL): Merged documentation from classpath.
2459 (mkdir): Merged documentation from classpath.
2460 (mkdirs): Merged documentation from classpath.
2461 (createTempFile): Merged documentation from classpath.
2462 (setReadOnly): Merged documentation from classpath.
2463 (listRoots): Merged documentation from classpath.
2464 (compareTo): Merged documentation from classpath.
2465 (renameTo): Merged documentation from classpath.
2466 (setLastModified): Merged documentation from classpath.
2467 * java/io/PrintStream.java
2468 (auto_flush): Merged documentation from classpath.
2469 (PrintStream): Merged documentation from classpath.
2470 (checkError): Merged documentation from classpath.
2471 (setError): Merged documentation from classpath.
2472 (close): Merged documentation from classpath.
2473 (flush): Merged documentation from classpath.
2474 (print): Merged documentation from classpath.
2475 (println): Merged documentation from classpath.
2476 (write): Renamed count to len to match classpath,
2477 merged documentation from classpath.
2478 * java/io/RandomAccessFile.java
2479 (readShort): Merged documentation from classpath.
2480 (readUnsignedByte): Merged documentation from classpath.
2481 (readUnsignedShort): Merged documentation from classpath.
2482 (readUTF): Merged documentation from classpath.
2483 (seek): Reformatted, merged documentation from classpath.
2484 (skipBytes): Renamed some variables to match classpath, reformatted,
2485 merged documentation from classpath.
2486 (write): Merged documentation from classpath.
2487 (writeBoolean): Merged documentation from classpath.
2488 (writeByte): Merged documentation from classpath.
2489 (writeShort): Merged documentation from classpath.
2490 (writeChar): Merged documentation from classpath.
2491 (writeInt): Merged documentation from classpath.
2492 (writeLong): Merged documentation from classpath.
2493 (writeFloat): Merged documentation from classpath.
2494 (writeDouble): Merged documentation from classpath.
2495 (writeBytes): Merged documentation from classpath.
2496 (writeChars): Merged documentation from classpath.
2497 (writeUTF): Reformatted.
2498 (getChannel): Reformatted.
2500 2003-03-31 Michael Koch <konqueror@gmx.de>
2502 * java/awt/font/TextAttribute.java
2503 (readResolve): Throws java.io.InvalidObjectException.
2505 2003-03-31 Michael Koch <konqueror@gmx.de>
2507 * java/rmi/server/LoaderHandler.java
2508 (loadClass): Deprecated.
2509 (getSecurityContext): Deprecated.
2510 * java/rmi/server/LogStream.java
2511 (getDefaultStream): Deprecated.
2512 (setDefaultStream): Deprecated.
2513 (getOutputStream): Deprecated.
2514 (setOutputStream): Deprecated.
2515 (write): Deprecated.
2516 (toString): Deprecated.
2517 (parseLevel): Deprecated.
2518 * java/rmi/server/Operation.java
2519 (Operation): Deprecated.
2520 (getOperation): Deprecated.
2521 (toString): Deprecated.
2522 * java/rmi/server/RemoteCall.java
2523 (getOutputStream): Deprecated.
2524 (releaseOutputStream): Deprecated.
2525 (getInputStream): Deprecated.
2526 (releaseInputStream): Deprecated.
2527 (getResultStream): Deprecated.
2528 (executeCall): Deprecated.
2530 * java/rmi/server/RemoteRef.java
2531 (invoke): Deprecated.
2532 (newCall): Deprecated.
2534 * java/rmi/server/RemoteStub.java
2535 (setRef): Deprecated.
2536 * java/rmi/server/Skeleton.java:
2537 No need to import java.lang.Exception explicitly.
2538 (dispatch): Deprecated.
2539 (getOperations): Deprecated.
2541 2003-03-31 Michael Koch <konqueror@gmx.de>
2543 * java/rmi/dgc/VMID.java,
2544 java/rmi/registry/RegistryHandler.java,
2545 java/rmi/server/LogStream.java,
2546 java/rmi/server/Operation.java,
2547 java/rmi/server/RemoteCall.java,
2548 java/rmi/server/RemoteRef.java,
2549 java/rmi/server/RemoteStub.java:
2552 2003-03-31 Michael Koch <konqueror@gmx.de>
2554 * javax/swing/AbstractCellEditor.java,
2555 javax/swing/AbstractListModel.java,
2556 javax/swing/ActionMap.java,
2557 javax/swing/BorderFactory.java,
2558 javax/swing/ButtonGroup.java,
2559 javax/swing/DefaultBoundedRangeModel.java,
2560 javax/swing/DefaultButtonModel.java,
2561 javax/swing/DefaultCellEditor.java,
2562 javax/swing/DefaultComboBoxModel.java,
2563 javax/swing/DefaultDesktopManager.java,
2564 javax/swing/DefaultListCellRenderer.java,
2565 javax/swing/DefaultSingleSelectionModel.java,
2566 javax/swing/InputMap.java,
2567 javax/swing/JComponent.java,
2568 javax/swing/JMenu.java,
2569 javax/swing/JSlider.java,
2570 javax/swing/KeyStroke.java,
2571 javax/swing/OverlayLayout.java,
2572 javax/swing/ScrollPaneLayout.java,
2573 javax/swing/SizeRequirements.java,
2574 javax/swing/UIManager.java,
2575 javax/swing/ViewportLayout.java,
2576 javax/swing/border/AbstractBorder.java,
2577 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2578 javax/swing/event/EventListenerList.java,
2579 javax/swing/table/AbstractTableModel.java,
2580 javax/swing/table/DefaultTableCellRenderer.java,
2581 javax/swing/table/DefaultTableColumnModel.java,
2582 javax/swing/table/DefaultTableModel.java,
2583 javax/swing/table/TableColumn.java,
2584 javax/swing/text/StyledEditorKit.java,
2585 javax/swing/tree/DefaultMutableTreeNode.java,
2586 javax/swing/tree/DefaultTreeModel.java,
2587 javax/swing/tree/DefaultTreeSelectionModel.java,
2588 javax/swing/tree/TreePath.java,
2589 javax/swing/undo/AbstractUndoableEdit.java,
2590 javax/swing/undo/StateEdit.java,
2591 javax/swing/undo/StateEditable.java,
2592 javax/swing/undo/UndoableEditSupport.java:
2593 Merges from classpath.
2595 2003-03-30 Tom Tromey <tromey@redhat.com>
2597 * java/lang/String.java (data, boffset, count): Documented.
2598 (String(byte[],String)): Reformatted.
2599 (String(byte[])): Likewise.
2600 (lastIndexOf(int)): Likewise.
2601 (lastIndexOf(String)): Likewise.
2602 (substring(int)): Renamed argument to match Classpath.
2603 (String(StringBuffer)): Don't share buffer if it is nearly empty.
2605 * java/lang/String.java: Miscellaneous minor formatting changes
2606 to match Classpath more closely.
2608 2003-03-29 Eric Blake <ebb9@email.byu.edu>
2609 Tom Tromey <tromey@redhat.com>
2611 * java/lang/natString.cc (hashCode): Use cachedHashCode.
2613 (charAt): Put index in exception.
2614 (contentEquals): New method.
2615 Include StringBuffer.h.
2616 * java/lang/String.java (cachedHashCode): New field.
2617 (String()): Follow classpath implementation.
2619 (contentEquals): Declare.
2620 (subSequence): Don't declare IndexOutIfBoundsException in throws
2622 (matches, replaceFirst, replaceAll, split): New methods from
2625 2003-03-29 Tom Tromey <tromey@redhat.com>
2627 * java/lang/String.java: Reordered to follow Classpath; merged in
2630 * java/text/MessageFormat.java: Removed some whitespace.
2632 * Makefile.in: Rebuilt.
2633 * Makefile.am (awt_java_source_files): Added new files.
2634 * gnu/javax/rmi/PortableServer.java,
2635 gnu/javax/rmi/CORBA/DelegateFactory.java,
2636 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2637 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2638 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2639 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2640 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2641 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2642 javax/rmi/PortableRemoteObject.java,
2643 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2644 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2645 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2646 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2647 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2648 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2650 * java/lang/natClass.cc (newInstance): Put method name in
2652 (getConstructor): Likewise.
2653 (getDeclaredConstructor): Likewise.
2654 (getPrivateMethod): Likewise.
2656 2003-03-28 Tom Tromey <tromey@redhat.com>
2658 * java/lang/reflect/Proxy.java: New version from Classpath.
2659 * java/lang/Package.java: New version from Classpath.
2661 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
2663 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2664 * configure: Regenerate.
2666 2003-03-28 Michael Koch <konqueror@gmx.de>
2668 * java/io/File.java:
2669 Import needed classes instead of whole packages, merged class
2670 documentation with classpath, moved constants and variables to top of
2672 * java/io/PrintStream.java:
2673 Merged class documentation with classpath, moved constants and
2674 variables to top of class.
2675 * java/io/RandomAccessFile.java
2676 (RandomAccessFile): Merged with classpath.
2677 (read): Merged with classpath).
2678 (read*): Reformatted.
2680 2003-03-28 Michael Koch <konqueror@gmx.de>
2682 * java/io/FileDescriptor.java
2683 (finalize): Throws Throwable, not IOException.
2684 * java/io/ObjectOutputStream.java
2685 (PutField.put): Doesnt throws anything.
2687 2003Â03-28 Michael Koch <konqueror@gmx.de>
2689 * java/io/FileOutputStream.java:
2690 Merged class documentation and authors with classpath.
2691 (FileOutputStream): Partly merged with classpath.
2692 (write): Merged with classpath.
2693 (getChannel): Make it synchronized instead of explicit block in this
2695 * java/io/RandomAccessFile.java:
2696 Merged class documentation and authors with classpath.
2698 2003-03-26 Tom Tromey <tromey@redhat.com>
2700 * java/lang/natRuntime.cc (insertSystemProperties): Set
2701 gnu.classpath.home.url.
2702 * Makefile.in: Rebuilt.
2703 * Makefile.am: Define LIBDIR.
2705 2003-03-25 Michael Koch <konqueror@gmx.de>
2707 * java/io/FileInputStream.java
2708 (read): Renamed b to buf and off to offset.
2709 * java/io/FileOutputStream.java
2710 (ch): Documentation added.
2711 (FileOutputStream): Documentation added.
2712 (getFD): Documentation added.
2713 (write): Documentation added.
2714 (close): Documentation added.
2715 (getChannel): Documentation added.
2717 2003-03-24 Michael Koch <konqueror@gmx.de>
2719 * java/io/DataOutputStream.java
2720 (write): Merged from classpath.
2721 * java/io/File.java:
2722 Merged copyrigth with classpath.
2723 * java/io/FileInputStream.java
2724 (getChannel): Made it synchronized instead of using a synchronized
2726 * java/io/FileOutputStream.java: Reformatted.
2727 * java/io/InputStreamReader.java
2728 (InputStreamReader): Renamed enc to encoding_name.
2729 (close): Merged documentation from classpath.
2730 (getEncoding): Merged documentation from classpath.
2731 (ready): Merged documentation from classpath.
2732 (read): Merged documentation from classpath.
2733 * java/io/LineNumberReader.java
2734 (lineNumber): Made it private.
2735 (LineNumberReader): Use Constant instead of a direct value.
2736 * java/io/OutputStreamWriter.java
2737 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2738 documentation from classpath.
2739 (close): Merged documentation from classpath.
2740 (flush): Merged documentation from classpath.
2741 (write): Merged documentation from classpath.
2742 * java/io/PrintStream.java: Reformatted.
2744 2003-03-24 Michael Koch <konqueror@gmx.de>
2746 * javax/swing/text/ComponentView.java
2747 (getComponent): Must be final.
2748 * javax/swing/tree/DefaultTreeCellRenderer.java:
2750 * javax/swing/undo/StateEditable.java:
2753 2003-03-24 Michael Koch <konqueror@gmx.de>
2755 * java/rmi/activation/ActivationInstantiator.java:
2757 * java/rmi/activation/Activator.java:
2759 * java/rmi/registry/RegistryHandler.java:
2760 Remerged from classpath.
2762 2003-03-24 Michael Koch <konqueror@gmx.de>
2764 * java/util/Date.java:
2765 Fixed documentation starting tag to make javadoc happy.
2766 * java/util/regex/Pattern.java
2767 (Pattern): Implements Serializable.
2768 * java/util/PatternSyntaxException.java
2769 (serialVersionUID): New member variable.
2771 2003-03-24 Michael Koch <koqnueror@gmx.de>
2773 * java/awt/ContainerOrderFocusTraversalPolicy.java
2774 (getFirstComponent): Implemented.
2775 (getLastComponent): Implemented.
2776 (getDefaultComponent): Implemented.
2777 (setImplicitDownCycleTraversal): Fixed implementation.
2778 * java/awt/Robot.java
2779 (Robot): Added documentation.
2780 * java/awt/Toolkit.java
2781 (getFontList): Deprecated.
2782 (getFontMetrics): Deprecated.
2783 (getPrintJob): Added documentation.
2784 (getSystemSelection): Added documentation.
2785 (getLockingKeyState): Added documentation.
2786 (setLockingKeyState): Added documentation.
2787 (createCustomCursor): Added documentation.
2788 (getBestCursorSize): Added documentation.
2789 (getMaximumCursorColors): Added documentation.
2790 (isFrameStateSupported): Added documentation.
2792 2003-03-24 Michael Koch <konqueror@gmx.de>
2794 * java/io/RandomAccessFile.java:
2795 More little merges with classpath. No code changes.
2797 2003-03-24 Michael Koch <konqueror@gmx.de>
2799 * java/net/natInetAddressNoNet.cc:
2801 * java/net/natPlainDatagramSocketImplNoNet.cc:
2802 Fixed inlcude of java/net/DatagramPacket.h.
2803 * java/net/natPlainSocketImplNoNet.cc:
2804 Include some missing classes.
2806 2003-03-24 Michael Koch <konqueror@gmx.de>
2808 * java/awt/dnd/DropTarget.java
2809 (DropTargetAutoScroller): According to the online documentation, this
2810 is protected, but in reality it is public.
2811 * java/awt/dnd/DropTargetContext.java
2812 (TransferableProxy): According to the online documentation, this
2813 is protected, but in reality it is public.
2815 2003-03-24 Michael Koch <konqueror@gmx.de>
2817 * java/io/DataInputStream.java
2818 (): Wrapped documentation line.
2819 (): Fixed @return tag.
2820 * java/io/DataOutputStream.java
2821 (written): Moved to top of class.
2822 (all methods): Merged documentation from classpath.
2823 * java/io/File.java:
2824 Merged copyright year with classpath.
2825 * java/io/FileInputStream.java
2826 (all methods): Merged documentation from classpath.
2827 * java/io/LineNumberReader.java
2828 (getLineNumber): Fixed @return tag.
2829 * java/io/ObjectInputStream.java.
2831 * java/io/ObjectOutputStream.java:
2832 Reformatted, fixed some @see tags.
2833 * java/io/OutputStreamWriter.java:
2835 * java/io/Writer.java:
2838 2003-03-24 Michael Koch <konqueror@gmx.de>
2840 * java/awt/Frame.java
2841 (DEFAULT_CURSOR): Fixed @deprecated tag.
2842 (setCursor): Fixed @deprecated tag.
2844 2003-03-24 Michael Koch <konqueror@gmx.de>
2846 * java/beans/beancontext/BeanContextEvent.java:
2849 2003-03-23 Eric Blake <ebb9@email.byu.edu>
2851 * java/lang/natStringBuffer.cc (regionMatches): New function.
2852 * java/lang/String.java (count): Now package-private.
2853 * java/lang/StringBuffer.java: Merged with Classpath.
2855 2003-03-23 Michael Koch <konqueror@gmx.de>
2857 * java/io/BufferedOutputStream.java:
2859 * java/io/BufferedReader.java:
2861 * java/io/ByteArrayOutputStream.java
2862 (size): Fixed @see tag.
2863 * java/io/CharArrayWriter.java
2864 (size): Fixed @see tag.
2865 * java/io/DataInput.java:
2867 * java/io/DataOutput.java:
2869 * java/io/DataOutputStream.java:
2870 Merged copyright years with classpath.
2871 * java/io/Externalizable.java:
2873 * java/io/FileFilter.java:
2875 * java/io/FileInputStream.java:
2876 Merged copyright years with classpath.
2877 * java/io/FileOutputStream.java:
2878 Merged copyright years with classpath.
2879 * java/io/FilePermission.java
2880 (FilePermission): Replaced @XXX with FIXME:.
2881 * java/io/FileWriter.java:
2883 * java/io/FilenameFilter.java:
2885 * java/io/FilterInputStream.java:
2887 * java/io/FilterOutputStream.java:
2889 * java/io/FilterReader.java:
2891 * java/io/FilterWriter.java:
2893 * java/io/LineNumberInputStream.java
2894 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2896 (getLineNumber): Fixed @return tag.
2897 * java/io/ObjectInput.java:
2899 * java/io/ObjectOutput.java:
2901 * java/io/ObjectStreamClass.java:
2903 * java/io/PrintStream.java:
2904 Merged copyright years with classpath.
2905 * java/io/PushbackReader.java
2906 (PushbackReader): Replaced @code with @param.
2907 * java/io/SerializablePermission.java:
2909 * java/io/StreamTokenizer.java
2910 (resetSyntax): Fixed @see tag.
2912 2003-03-22 Richard Henderson <rth@redhat.com>
2914 * sysdep/ia64/locks.h: Include ia64intrin.h.
2915 (compare_and_swap): Use __sync_bool_compare_and_swap.
2916 (compare_and_swap_release): Expose ar.ccv assignment.
2918 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
2920 * include/posix.h: Add suffix for darwin dynamic libraries.
2922 2003-03-21 Michael Koch <konqueror@gmx.de>
2924 * javax/swing/Action.java
2925 (ACCELERATOR_KEY): New constant.
2926 (ACTION_COMMAND_KEY): Likewise.
2927 (MNEMONIC_KEY): Likewise.
2928 * javax/swing/UnsupportedLookAndFeelException.java
2929 (UnsupportedLookAndFeelException): Must be public.
2930 * javax/swing/WindowConstants.java
2931 (EXIT_ON_CLOSE): New constant.
2932 * javax/swing/text/BadLocationException.java
2933 (offset): New member variable.
2934 (BadLocationException): New implementation, documentation added.
2935 (offsetRequested): New method.
2936 * javax/swing/text/Caret.java:
2938 * javax/swing/text/Document.java:
2941 2003-03-21 Michael Koch <konqueror@gmx.de>
2943 * java/rmi/activation/Activatable.java
2944 (serialVersionUID): New member variable.
2945 * java/rmi/activation/ActivationGroup.java
2946 (serialVersionUID): New member variable.
2947 * java/rmi/activation/ActivationGroupDesc.java
2948 (serialVersionUID): New member variable.
2949 * java/rmi/registry/Registry.java:
2951 (Registry): Deprecated.
2952 * java/rmi/server/LoaderHandler.java
2954 (LoaderHandler): Deprecated.
2955 * java/rmi/server/LogStream.java
2957 (LogStream): Deprecated.
2958 * java/rmi/server/Operation.java
2959 (Operation): Deprecated.
2960 * java/rmi/server/RMIFailureHandler.java:
2962 * java/rmi/server/RMISocketFactory.java:
2964 * java/rmi/server/RemoteCall.java
2965 (RemoteCall): Deprecated.
2966 * java/rmi/server/RemoteStub.java:
2968 * java/rmi/server/Skeleton.java
2970 (Skeleton): Deprecated.
2972 2003-03-21 Michael Koch <konqueror@gmx.de>
2974 * java/io/LineNumberReader.java
2975 (LineNumberReader): Merged documentation with classpath.
2976 (getLineNumber): Likewise.
2977 (setLineNumber): Likewise.
2981 (readLine): Likewise.
2984 2003-03-21 Michael Koch <konqueror@gmx.de>
2986 * java/rmi/RMISecurityManager.java
2987 (checkAccept): Removed.
2988 (checkAccess): Likewise.
2989 (checkAccess): Likewise.
2990 (checkAwtEventQueueAccess): Likewise.
2991 (checkConnect): Likewise.
2992 (checkCreateClassLoader): Likewise.
2993 (checkDelete): Likewise.
2994 (checkExec): Likewise.
2995 (checkExit): Likewise.
2996 (checkLink): Likewise.
2997 (checkListen): Likewise.
2998 (checkMemberAccess): Likewise.
2999 (checkMulticast): Likewise.
3000 (checkPackageAccess): Likewise.
3001 (checkPackageDefinition): Likewise.
3002 (checkPermission): Likewise.
3003 (checkPrintJobAccess): Likewise.
3004 (checkPropertiesAccess): Likewise.
3005 (checkPropertyAccess): Likewise.
3006 (checkRead): Likewise.
3007 (checkSecurityAccess): Likewise.
3008 (checkSetFactory): Likewise.
3009 (checkSystemClipboardAccess): Likewise.
3010 (checkTopLevelWindow): Likewise.
3011 (checkWrite): Likewise.
3013 2003-03-20 Michael Koch <konqueror@gmx.de>
3015 * gnu/java/nio/FileChannelImpl.java
3017 (map_address): New member variable.
3018 (length): Make it package private.
3019 (fd): Make it package private.
3020 (buf): Make it package private.
3021 (file_obj): Make it package private.
3022 (FileChannelImpl): New constructor.
3023 (nio_mmap_file): Use RawData instead of long.
3024 (nio_munmap_file): Use RawData instead of long.
3025 (nio_msync): Use RawData instead of long.
3026 (implCloseChannel): New implementation using map_address.
3029 (create_direct_mapped_buffer): Implemented, use RawData, throws
3031 (force): Use map_address instead of address.
3032 * gnu/java/nio/MappedByteFileBuffer.java
3034 (map_address): New member variable.
3035 (MappedByteFileBuffer): Use map_address instead of address, reformated.
3036 (several methods): Use map_address instead of address, replaced long
3037 with RawData where appropriate.
3038 * gnu/java/nio/natFileChannelImpl.cc
3039 (nio_mmap_file): Replaced long with RawData.
3040 (nio_munmap_file): Replaced long with RawData.
3041 (nio_msync): Replaced long with RawData.
3042 * gnu/java/nio/natMappedByteFileBuffer.cc
3043 (several methods): Replaced long with RawData where appropriate.
3045 2003-03-20 Michael Koch <konqueror@gmx.de>
3047 * java/net/InetAddress.java,
3048 java/net/JarURLConnection.java,
3049 java/net/PlainDatagramSocketImpl.java,
3050 java/net/PlainSocketImpl.java,
3051 java/net/URLConnection.java:
3052 Merged copyright statements with classpath for easier merging.
3054 2003-03-20 Michael Koch <konqueror@gmx.de>
3056 * java/io/FileInputStream.java
3057 (getChannel): New implementation.
3058 * java/io/FileOutputStream.java
3059 (ch): New member variable.
3060 (getChannel): Implemented.
3061 * java/io/RandomAccessFile.java
3062 (RandomAccessFile): Throws FileNotFoundException instead of
3064 (getChannel): New method.
3065 (ch): New member variable.
3067 2003-03-20 Michael Koch <konqueror@gmx.de>
3069 * java/io/DataOutputStream.java,
3071 java/io/FileInputStream.java,
3072 java/io/FileOutputStream.java,
3073 java/io/InputStreamReader.java,
3074 java/io/LineNumberReader.java,
3075 java/io/OutputStreamWriter.java,
3076 java/io/PrintStream.java,
3077 java/io/RandomAccessFile.java:
3078 Merged copyright statements with classpath for easier merging.
3080 2003-03-19 Michael Koch <konqueror@gmx.de>
3082 * java/lang/Process.java:
3083 Merged from classpath.
3085 2003-03-19 Michael Koch <konqueror@gmx.de>
3087 * java/io/FileOutputStream.java
3088 (FileOutputStream): New constructor, merged from classpath.
3089 * java/io/FileWriter.java
3090 (FileWriter): New constructor, merged from classpath.
3092 2003-03-18 Michael Koch <konqueror@gmx.de>
3094 * java/awt/ScrollPane.java
3095 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
3096 (getViewportSize): Likewise.
3097 (addNotify): Likewise.
3098 (removeNotify): Likewise.
3099 * java/awt/ScrollPaneAdjustable.java
3100 (ScrollPaneAdjustable): No longer extends Scrollbar.
3101 * java/beans/beancontext/BeanContextServices.java:
3103 (getService): Added throws TooManyListenersException;
3104 * java/beans/beancontext/BeanContextServicesSupport.java:
3107 2003-03-18 Michael Koch <konqueror@gmx.de>
3109 * java/io/BufferedOutputStream.java,
3110 java/io/DataInput.java,
3111 java/io/DataInputStream.java,
3112 java/io/DataOutput.java,
3113 java/io/Externalizable.java:
3114 More merges from classpath.
3116 2003-03-18 Michael Koch <konqueror@gmx.de>
3118 * configure.in: Fixed links to platform dependant java.net files.
3119 * configure: Regenerated.
3120 * java/net/natInetAddress.cc,
3121 java/net/natNetworkInterface.cc,
3122 java/net/natPlainDatagramSocketImpl.cc,
3123 java/net/natPlainSocketImpl.cc:
3126 2003-03-18 Michael Koch <konqueror@gmx.de>
3128 * configure.in: Create links to architecture dependent files,
3129 introduced PLATFORMNET variable (set to NoNet for newlib usage).
3130 * configure: Regenerated.
3131 * java/net/natInetAddressNoNet.cc,
3132 java/net/natInetAddressPosix.cc,
3133 java/net/natInetAddressWin32.cc,
3134 java/net/natNetworkInterfaceNoNet.cc,
3135 java/net/natNetworkInterfacePosix.cc,
3136 java/net/natNetworkInterfaceWin32.cc,
3137 java/net/natPlainDatagramSocketImplNoNet.cc,
3138 java/net/natPlainDatagramSocketImplPosix.cc,
3139 java/net/natPlainDatagramSocketImplWin32.cc,
3140 java/net/natPlainSocketImplNoNet.cc,
3141 java/net/natPlainSocketImplPosix.cc,
3142 java/net/natPlainSocketImplWin32.cc: New files.
3144 2003-03-18 Michael Koch <konqueror@gmx.de>
3146 * java/io/BufferedReader.java,
3147 java/io/BufferedWriter.java,
3148 java/io/ByteArrayOutputStream.java,
3149 java/io/FileFilter.java,
3150 java/io/FilePermission.java,
3151 java/io/FileReader.java,
3152 java/io/FileWriter.java,
3153 java/io/FilenameFilter.java,
3154 java/io/FilterInputStream.java,
3155 java/io/FilterOutputStream.java,
3156 java/io/FilterReader.java,
3157 java/io/FilterWriter.java,
3158 java/io/ObjectInput.java,
3159 java/io/ObjectInputValidation.java,
3160 java/io/ObjectOutput.java,
3161 java/io/ObjectStreamField.java,
3162 java/io/PipedInputStream.java,
3163 java/io/PipedReader.java,
3164 java/io/PrintWriter.java,
3165 java/io/PushbackReader.java,
3166 java/io/Reader.java,
3167 java/io/SerializablePermission.java,
3168 java/io/StringReader.java,
3169 java/io/Writer.java:
3170 Merged from classpath.
3172 2003-03-17 Michael Koch <konqueror@gmx.de>
3174 * java/awt/ScrollPaneAdjustable.java:
3177 2003-03-17 Michael Koch <konqueror@gmx.de>
3179 * java/net/DatagramSocket.java
3180 (connect): Fixed comment.
3181 * java/nio/ByteBuffer.java
3182 (hasArray): Fixed comment.
3184 2003-03-17 Michael Koch <konqueror@gmx.de>
3186 * java/beans/Beans.java:
3187 Explicitely import classes not packages.
3188 * java/beans/FeatureDescriptor.java
3189 (preferred): New member variable.
3190 (isPreferred): New method.
3191 (setPreferred): New method.
3192 * java/beans/PropertyEditorManager.java:
3193 Explicitely import used classes.
3194 * java/beans/beancontext/BeanContextChild.java:
3195 Added line wrapping.
3196 * java/beans/beancontext/BeanContextChildSupport.java:
3198 * java/beans/beancontext/BeanContextEvent.java:
3201 2003-03-17 Michael Koch <konqueror@gmx.de>
3203 * java/awt/Dialog.java
3204 (Dialog): New constructor, changed implementations, added
3206 * java/awt/ScrollPaneAdjustable.java
3207 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3209 (serialVersionUID): New member variable.
3210 (sp): New member variable.
3211 (orientation): New member variable.
3212 (value): New member variable.
3213 (minimum): New member variable.
3214 (maximum): New member variable.
3215 (visibleAmount): New member variable.
3216 (unitIncrement): New member variable.
3217 (blockIncrement): New member variable.
3218 (AdjustmentListener): New member variable.
3219 (ScrollPaneAdjustable): New implementation.
3220 (addAdjustmentListener): New method.
3221 (removeAdjustmentListener): New method.
3222 (getAdjustmentListeners): New method.
3223 (getBlockIncrement): New method.
3224 (getMaximum): New method.
3225 (getMinimum): New method.
3226 (getOrientation): New method.
3227 (getUnitIncrement): New method.
3228 (getValue): New method.
3229 (getVisibleAmount): New method.
3230 (setBlockIncrement): New method.
3231 (setMaximum): Implemented.
3232 (setMinimum): Implemented.
3233 (setUnitIncrement): New method.
3234 (setValue): New method.
3235 (setVisibleAmount): Implemented.
3236 (paramString): New stubbed method.
3237 * java/awt/Window.java
3238 (show): Call setVisible().
3239 (hide): Call setVisible().
3240 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3241 and WINDOW_STATE_CHANGED.
3242 (processWindowFocusEvent): New method.
3243 (processWindowStateEvent): New method.
3244 (postEvent): Deprecated.
3245 (applyResourceBundle): Deprecated.
3246 * java/awt/datatransfer/DataFlavor.java
3247 (DataFlavor): Doesn't thow ClassNotFoundException.
3249 2003-03-17 Michael Koch
3251 * javax/print/attribute/Attribute.java,
3252 javax/print/attribute/AttributeSet.java,
3253 javax/print/attribute/PrintRequestAttributeSet.java:
3256 (javax_source_files): Added new files:
3257 javax/print/attribute/Attribute.java
3258 javax/print/attribute/AttributeSet.java
3259 javax/print/attribute/PrintRequestAttributeSet.java
3260 * Makefile.in: Regenerated.
3262 2003-03-17 Michael Koch
3264 * javax/print/attribute/Attribute.java,
3265 javax/print/attribute/AttributeSet.java,
3266 javax/print/attribute/PrintRequestAttributeSet.java:
3269 (awt_java_source_files): Added new files:
3270 javax/print/attribute/Attribute.java
3271 javax/print/attribute/AttributeSet.java
3272 javax/print/attribute/PrintRequestAttributeSet.java
3273 * Makefile.in: Regenerated.
3275 2003-03-16 Tom Tromey <tromey@redhat.com>
3277 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3279 * java/lang/natRuntime.cc (insertSystemProperties): Use
3280 _Jv_platform_path_separator.
3281 (nativeGetLibname): Use _Jv_platform_file_separator.
3282 (_load): Use _Jv_platform_onload_names.
3283 (onload_names): New global.
3284 * include/win32.h (_Jv_platform_file_separator): New define.
3285 (_Jv_platform_path_separator): Likewise.
3286 (_Jv_platform_onload_names): Likewise.
3287 (_Jv_platform_ffi_abi): Likewise.
3288 * include/posix.h (_Jv_platform_file_separator): New define.
3289 (_Jv_platform_path_separator): Likewise.
3290 (_Jv_platform_onload_names): Likewise.
3291 (_Jv_platform_ffi_abi): Likewise.
3293 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3295 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3297 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3299 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3301 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3302 list to Object,ObjectStreamClass, moved callReadMethod code up into
3303 readObject and added Class argument to all setXxxField calls.
3304 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3305 consistent with ObjectOutputStream and to facilitate caching the
3306 Method in the future.
3307 (setBooleanField): Added Class argument.
3308 (setByteField): Likewise.
3309 (setCharField): Likewise.
3310 (setDoubleField): Likewise.
3311 (setFloatField): Likewise.
3312 (setIntField): Likewise.
3313 (setLongField): Likewise.
3314 (setShortField): Likewise.
3315 (setObjectField): Likewise.
3316 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3317 class hierarchy loop.
3318 (defaultWriteObject): Call writeFields with new argument list.
3319 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3320 list to Object,ObjectStreamClass, moved callWriteMethod up into
3321 writeObject and added Class argument to all getXxxField calls.
3322 (callWriteMethod): Added ObjectStreamClass argument to be able to
3323 get the proper class to call getMethod on (each class can have (or
3324 not have) its own writeObject method).
3325 (getBooleanField): Added Class argument.
3326 (getByteField): Likewise.
3327 (getCharField): Likewise.
3328 (getDoubleField): Likewise.
3329 (getFloatField): Likewise.
3330 (getIntField): Likewise.
3331 (getLongField): Likewise.
3332 (getShortField): Likewise.
3333 (getObjectField): Likewise.
3334 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3335 facilitate caching the Method object in the future.
3337 2003-03-12 Andreas Schwab <schwab@suse.de>
3339 * configure.in: Avoid trailing /. in toolexeclibdir.
3340 * configure: Rebuilt.
3342 2003-03-11 Michael Koch <konqueror@gmx.de>
3344 * gnu/java/nio/ByteBufferImpl.java
3345 (putInt): Use limit() instead of limit.
3346 * gnu/java/nio/CharBufferImpl.java
3347 (slice): Fixed implementation.
3348 (subSequence): Better bounds checking.
3349 * gnu/java/nio/MappedByteFileBuffer.java:
3350 Import all needed classes directly.
3351 * java/nio/ByteBuffer.java
3352 (hashCode): New dummy method.
3353 * java/nio/CharBuffer.java
3354 (array_offset): New member variable.
3355 (hasArray): Fixed documentation.
3356 (arrayOffset): Return array_offset.
3358 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3360 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3361 setter; made return value of getter const char* instead of char*
3362 * prims.cc: removed all references to _Jv_ThisExecutable().
3363 These are in the platform-specific sections now.
3364 * posix.cc: define platform-specific _Jv_ThisExecutable().
3365 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3366 * win32.cc: define platform-specific _Jv_ThisExecutable()
3367 using GetModuleFilename()
3368 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3369 to argv[0] instead of _Jv_ThisExecutable()
3371 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3373 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3374 that is set if we are using addr2name.awk instead of addr2line.
3375 (NameFinder): Set usingAddr2name if using addr2name.awk.
3376 (getExternalLabel): New native method to convert a method
3377 name to an external label.
3378 (lookup): Convert name given by addr2line to an external label
3381 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3382 constant representing the prefix attached to method names to
3383 convert them to an external label.
3384 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3387 2003-03-10 Tom Tromey <tromey@redhat.com>
3389 * Makefile.in: Rebuilt.
3390 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3391 (JC1FLAGS): Removed -Wno-deprecated.
3393 2003-03-10 Michael Koch <konqueror@gmx.de>
3395 * java/nio/ByteOrder.java
3396 (nativeOrder): Working implementation, added documentation.
3397 (toString): Added documentation.
3399 2003-03-10 Michael Koch <konqueror@gmx.de>
3401 * java/net/DatagramSocket.java,
3402 java/net/MulticastSocket.java,
3403 java/net/Socket.java,
3405 java/net/URLConnection.java:
3406 Fixed some documentation tags to make javadoc and friends happy.
3408 2003-03-10 Michael Koch <koqnueror@gmx.de>
3410 * java/beans/beancontext/BeanContextServicesSupport.java,
3411 java/beans/beancontext/BeanContextSupport.java: New files.
3413 (awt_source_files): Added new files.
3414 * Makefile.in: Regenerated.
3416 2003-03-10 Michael Koch <konqueror@gmx.de>
3418 * java/awt/FocusTraversalPolicy.java
3419 (FocusTraversalPolicy): Documentation added.
3420 (getComponentAfter): Documentation added.
3421 (getComponentBefore): Documentation added.
3422 (getFirstComponent): Documentation added.
3423 (getLastComponent): Documentation added.
3424 (getDefaultComponent): Documentation added.
3425 (getInitialComponent): Documentation added.
3426 * java/awt/ScrollPaneAdjustable.java
3427 (sp): New member variable.
3428 (orientation): New member variable.
3429 (value): New member variable.
3430 (minimum): New member variable.
3431 (maximum): New member variable.
3432 (visibleAmount): New member variable.
3433 (unitIncrement): New member variable.
3434 (blockIncrement): New member variable.
3435 (adjustmentListener): New member variable.
3436 (ScrollPaneAdjustable): Rewrote.
3437 (addAdjustmentListener): New method.
3438 (removeAdjustmentListener): New method.
3439 (getAdjustmentListeners): New method.
3440 (getBlockIncrement): New method.
3441 (getMaximum): New method.
3442 (getMinimum): New method.
3443 (getOrientation): New method.
3444 (getUnitIncrement): New method.
3445 (getValue): New method.
3446 (getVisibleAmount): New method.
3447 (setBlockIncrement): New method.
3448 (setUnitIncrement): New method.
3449 (setMaximum): Implemented.
3450 (setMinimum): Implemented.
3451 (setValue): New method.
3452 (setVisibleAmount): Implemented.
3453 (paramString): New method.
3454 * java/awt/Window.java
3455 (show): Use setVisible(true) instead of super.show().
3456 (hide): Use sevVisible(false) instead of super.hide().
3457 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3458 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3459 (postEvent): Deprecated.
3460 (applyResourceBundle): Deprecated.
3461 (processWindowFocusEvent): New method.
3462 (processWindowStateEvent): New method.
3463 * java/awt/datatransfer/DataFlavor.java: Reindented.
3464 * java/awt/font/TextHitInfo.java
3465 (charIndex): New member variable.
3466 (leadingEdge): New member variable.
3467 (TextHitInfo): New constructor.
3468 (getCharIndex): Implemented.
3469 (isLeadingEdge): Implemented.
3470 (getInsertionIndex): Implemented.
3471 (hashCode): Access charIndex directly.
3472 (equals): Reformated.
3473 (leading): Implemented.
3474 (trailing): Implemented.
3475 (beforeOffset): Implemented.
3476 (afterOffset): Implemented.
3477 (getOtherHit): Implemented.
3478 (getOffsetHit): Implemented.
3479 (toString): Implemented.
3480 * java/awt/image/BufferedImage.java
3481 (BufferedImage): Implements WritableRenderedImage.
3482 (observers): New member variable.
3483 (addTileObserver): New method.
3484 (removeTileObserver): New method.
3486 2003-03-09 Tom Tromey <tromey@redhat.com>
3489 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3490 to lseek. Return 0 if we can't compute the value.
3492 2003-03-03 Michael Koch <konqueror@gmx.de>
3494 * java/net/NetworkInterface.java: Merged with classpath.
3496 2003-03-03 Tom Tromey <tromey@redhat.com>
3498 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3500 (handle_ret_insn): Fail if returning to jsr that appears at end of
3503 2003-03-03 Michael Koch <konqueror@gmx.de>
3506 (ordinary_java_source_files):
3507 Added gnu/java/nio/MappedByteFileBuffer.java.
3509 Added gnu/java/nio/natMappedByteFileBuffer.cc.
3510 * Makefile.in: Regenerated.
3512 2003-03-03 Michael Koch <konqueror@gmx.de>
3514 * java/net/DatagramSocket.java
3515 (connect): Merged comment from classpath.
3516 (receive): Merged documentation from classpath.
3517 * java/net/Socket.java
3518 (setSoTimeout): Clarified documentation.
3520 (getPath): Merged from classpath.
3521 (getUserInfo): Merged from classpath.
3522 (getQuery): Merged from classpath.
3523 * java/net/URLStreamHandler.java
3524 (toExternalForm): Merged from classpath.
3526 2003-03-02 Mark Wielaard <mark@klomp.org>
3528 * java/util/Properties.java (load): Only skip line if the first
3529 character is a comment, whitespaces don't count.
3531 2003-03-02 Michael Koch <konqueror@gmx.de>
3533 * java/net/NetPermission.java:
3534 Merged copyright with classpath.
3536 2003-03-02 Michael Koch <konqueror@gmx.de>
3538 * java/lang/Package.java:
3539 Remerged from classpath.
3541 2003-03-02 Michael Koch <konqueror@gmx.de>
3543 * java/net/HttpURLConnection.java
3544 (HTTP_SERVER_ERROR): Deprecated.
3545 * java/net/MulticastSocket.java
3546 (send): Replaced checkMulticast with appropriate checkPermission call,
3548 * java/net/URLDecoder.java
3549 (decode): Deprecated.
3550 * java/net/URLEncoder.java
3551 (encode): Deprecated.
3553 2003-03-02 Michael Koch <konqueror@gmx.de>
3555 * javax/swing/text/Caret.java
3556 (getMagicCaretPosition): Fixed typo in method name.
3557 * javax/swing/text/DefaultCaret.java
3558 (getMagicCaretPosition): Fixed typo in method name.
3560 2003-03-02 Michael Koch <konqueror@gmx.de>
3562 * java/awt/List.java
3563 (setMultipleSelections): Deprecated.
3564 (delItem): Deprecated.
3565 * java/awt/MenuComponent.java
3566 (getPeer): Deprecated.
3567 * java/awt/ScrollPane.java
3568 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3569 * java/awt/dnd/MouseDragGestureRecognizer.java
3570 (mouseClicked): Added comment.
3571 (mousePressed): Added comment.
3572 (mouseReleased): Added comment.
3573 (mouseEntered): Added comment.
3574 (mouseExited): Added comment.
3575 (mouseDragged): Added comment.
3576 (mouseMoved): Added comment.
3577 * java/awt/event/KeyEvent.java
3578 (KeyEvent): Deprecated.
3579 (setModifiers): Deprecated.
3581 2003-03-02 Michael Koch <konqueror@gmx.de>
3583 * gnu/java/nio/FileChannelImpl.java
3584 (fd): Type FileDescriptor instead of int.
3585 (lengthInternal): Removed.
3586 (FileChannelImpl): Fixed arguments, check type of file object.
3587 (size): Made it native.
3588 (implPosition): New native method.
3589 (implTruncate): New native method.
3590 (position): Implemented.
3591 (truncate): Implemented.
3592 (nio_mmap_file): Changed arguments.
3593 (nio_munmap_file): Changed arguments.
3594 (nio_msync): Changed arguments.
3595 * gnu/java/nio/natFileChannelImpl.cc
3596 (lengthInternal): Removed.
3598 (implPosition): New method.
3599 (implTruncate): New method.
3600 (nio_mmap_file): Changed arguments.
3601 (nio_munmap_file): Changed arguments.
3602 (nio_msync): Changed arguments.
3604 2003-03-02 Michael Koch <konqueror@gmx.de>
3606 * java/awt/dnd/DropTargetContext.java:
3607 Compile fix: Forgot to commit import.
3609 2003-03-02 Michael Koch <konqueror@gmx.de>
3611 * java/awt/Component.java,
3612 java/awt/ScrollPane.java:
3615 2003-03-02 Michael Koch <konqueror@gmx.de>
3617 * java/awt/dnd/DnDEventMulticaster.java: New file.
3618 * java/awt/dnd/DragSource.java
3619 (flavorMap): New member variable.
3620 (dragSourceListener): New member variable.
3621 (dragSourceMotionListener): New member variable.
3622 (getFlavorMap): Implemented.
3623 (createDragGestureRecognizer): Implemented.
3624 (addDragSourceListener): Implemented.
3625 (removeDragSourceListener): Implemented.
3626 (getDragSourceListeners): Implemented.
3627 (addDragSourceMotionListener): Implemented.
3628 (removeDragSourceMotionListener): Implemented.
3629 (getDragSourceMotionListeners): Implemented.
3630 (getListeners): Implemented.
3631 * java/awt/dnd/DragSourceContext.java
3632 (peer): New member variable.
3633 (cursor): New member variable.
3634 (transferable): New member variable.
3635 (trigger): New member variable.
3636 (dragSourceListener): New member variable.
3637 (image): New member variable.
3638 (offset): New member variable.
3639 (DragSourceContext): Implemented.
3640 (getDragSource): Implemented.
3641 (getComponent): Implemented.
3642 (getTrigger): Implemented.
3643 (getSourceActions): Implemented.
3644 (setCursor): Implemented.
3645 (getCursor): Implemented.
3646 (addDragSourceListener): Implemented.
3647 (removeDragSourceListener): Implemented.
3648 (getTransferable): Implemented.
3649 * java/awt/dnd/DropTarget.java
3650 (DropTargetAutoScroller.component): New member variable.
3651 (DropTargetAutoScroller.point): New member variable.
3652 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3653 (DropTargetAutoScroller.updateLocation): Implemented.
3654 (active): Renamed from isActive, defaults to true now.
3655 (component): New member variable.
3656 (flavorMap): New member variable.
3657 (actions): New member variable.
3658 (dropTargetContext): New member variable.
3659 (dropTargetListener): New member variable.
3660 (DropTarget): Implemented.
3661 (getComponent): Implemented.
3662 (setComponent): Implemented.
3663 (setDefaultActions): Implemented.
3664 (getDefaultActions): Implemented.
3665 (setActive): Use active instead of isActive.
3666 (isActive): Use active instead of isActive.
3667 (addDropTargetListener): Implemented.
3668 (removeDropTargetListener): Implemented.
3669 (getFlavorMap): Implemented.
3670 (setFlavorMap): Implemented.
3671 (getDropTargetContext): Implemented.
3672 (createDropTargetContext): Implemented.
3673 (createDropTargetAutoScroller): Implemented.
3674 * java/awt/dnd/DropTargetContext.java
3675 (TransferableProxy.getTransferDataFlavors): Implemented.
3676 (TransferableProxy.isDataFlavorSupported): Implemented.
3677 (TransferableProxy.getTransferData): Implemented.
3678 (dropTarget): New member variable.
3679 (dtcp): New member variable.
3680 (DropTargetContext): New package private constructor.
3681 (getDropTarget): Implemented.
3682 (getComponent): Implemented.
3683 (addNotify): Implemented.
3684 (removeNotify): Implemented.
3685 (getCurrentDataFlavorsAsList): Implemented.
3686 (isDataFlavorSupported): Implemented.
3687 * java/awt/dnd/MouseDragGestureRecognizer.java
3688 (registerListeners): Implemented.
3689 (unregisterListeners): Implemented.
3691 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3692 * Makefile.in: Regenerated.
3694 2003-03-02 Michael Koch <konqueror@gmx.de>
3696 * java/awt/Component.java
3697 (eventTypeEnabled): New method.
3698 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3699 * java/awt/Container.java
3700 (changeSupport): New member variable.
3701 (addPropertyChangeListener): New methods.
3702 * java/awt/ContainerOrderFocusTraversalPolicy.java
3703 (ContainerOrderFocusTraversalPolicy): Added comment.
3704 (getComponentAfter): Throw exception, documentation added.
3705 (getComponentBefore): Throw exception, documentation added.
3706 (getFirstComponent): Throw exception, documentation added.
3707 (getLastComponent): Throw exception, documentation added.
3708 (getDefaultComponent): Throw exception, documentation added.
3709 * java/awt/EventQueue.java: Reindented.
3710 * java/awt/FocusTraversalPolicy.java:
3711 (FocusTraversalPolicy): Added comment.
3712 (getComponentAfter): Documentation added.
3713 (getComponentBefore): Documentation added.
3714 (getFirstComponent): Documentation added.
3715 (getLastComponent): Documentation added.
3716 (getDefaultComponent): Documentation added.
3717 (getInitialComponent): Documentation added.
3718 * java/awt/ScrollPane.java
3719 (wheelScrollingEnabled): New member variable.
3720 (ScrollPane): Initialize wheelScollingEnabled.
3721 (eventTypeEnabled): New method.
3722 (isWheelScrollingEnabled): New method.
3723 (setWheelScrollingEnabled): New method.
3725 2003-03-02 Michael Koch <konqueror@gmx.de>
3727 * java/net/DatagramSocket.java
3728 (closed): New member variable.
3729 (close): Use closed variable.
3730 (getInetAddress): No need to call isConnected().
3731 (getPort): No need to call isConnected().
3732 (disconnect): Reset remoteAddress and remotePort, fixed typo.
3733 (isClosed): Reimplemented.
3735 2003-03-02 Michael Koch <konqueror@gmx.de>
3737 * configure.in: Added check for memory mapping of files.
3738 * configure: Regenerated.
3739 * config.h.in: Regenerated.
3741 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
3743 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3744 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3746 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3748 * java/io/File.java (normalizePath): Remove trailing separator
3749 on Windows only if path is not of the form "x:\".
3751 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3752 (java::io::File::attr): Change formatting a bit and use
3753 WIN32_EPOCH_MILLIS instead of magic numbers.
3754 (java::io::File::isAbsolute): Path must have at least 3
3755 characters for a UNC network path.
3756 (java::io::File::init_native): Define.
3757 (java::io::File::performCreate): Likewise.
3758 (java::io::File::performSetReadOnly): Likewise.
3759 (java::io::File::performSetLastModified): Likewise.
3760 (java::io::File::performListRoots): Likewise.
3762 2003-03-01 Tom Tromey <tromey@redhat.com>
3764 * java/lang/natObject.cc: Don't include assert.h.
3765 (heavy_lock_obj_finalization_proc): Use JvAssert.
3766 (remove_all_heavy): Likewise.
3767 (_Jv_MonitorEnter): Likewise.
3768 (_Jv_MonitorExit): Likewise.
3771 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3773 * java/io/File (getAbsolutePath): Prefix drive specifier on
3774 Windows for paths starting with a '\'.
3775 (toURL): Make URL more consistent with what Sun's JDK returns.
3777 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3778 true only if the path is a UNC network path or it starts with a
3781 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3782 Be prepared to handle either '/' or '\\' in the file path for
3783 Windows if using the "file" protocol.
3784 Canonicalise the file path if using a relative path in the given
3785 context and the "file" protocol.
3787 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
3789 * java/lang/natWin32Process.cc (startProcess): Double-quote each
3790 program array element passed to CreateProcess.
3792 2003-03-01 Tom Tromey <tromey@redhat.com>
3794 * java/rmi/registry/RegistryHandler.java: Deprecate.
3796 2003-03-01 Tom Tromey <tromey@redhat.com>
3798 * javax/accessibility/AccessibleEditableText.java,
3799 javax/accessibility/AccessibleHyperlink.java: New versions from
3802 * gnu/java/locale/LocaleInformation_af_ZA.java,
3803 gnu/java/locale/LocaleInformation_ar_AE.java,
3804 gnu/java/locale/LocaleInformation_ar_BH.java,
3805 gnu/java/locale/LocaleInformation_ar_DZ.java,
3806 gnu/java/locale/LocaleInformation_ar_EG.java,
3807 gnu/java/locale/LocaleInformation_ar_IN.java,
3808 gnu/java/locale/LocaleInformation_ar_IQ.java,
3809 gnu/java/locale/LocaleInformation_ar_JO.java,
3810 gnu/java/locale/LocaleInformation_ar_KW.java,
3811 gnu/java/locale/LocaleInformation_ar_LB.java,
3812 gnu/java/locale/LocaleInformation_ar_LY.java,
3813 gnu/java/locale/LocaleInformation_ar_MA.java,
3814 gnu/java/locale/LocaleInformation_ar_OM.java,
3815 gnu/java/locale/LocaleInformation_ar_QA.java,
3816 gnu/java/locale/LocaleInformation_ar_SD.java,
3817 gnu/java/locale/LocaleInformation_ar_SY.java,
3818 gnu/java/locale/LocaleInformation_ar_TN.java,
3819 gnu/java/locale/LocaleInformation_ar_YE.java,
3820 gnu/java/locale/LocaleInformation_be_BY.java,
3821 gnu/java/locale/LocaleInformation_bn_IN.java,
3822 gnu/java/locale/LocaleInformation_br_FR.java,
3823 gnu/java/locale/LocaleInformation_bs_BA.java,
3824 gnu/java/locale/LocaleInformation_ca_ES.java,
3825 gnu/java/locale/LocaleInformation_cs_CZ.java,
3826 gnu/java/locale/LocaleInformation_cy_GB.java,
3827 gnu/java/locale/LocaleInformation_da_DK.java,
3828 gnu/java/locale/LocaleInformation_de_AT.java,
3829 gnu/java/locale/LocaleInformation_de_BE.java,
3830 gnu/java/locale/LocaleInformation_de_CH.java,
3831 gnu/java/locale/LocaleInformation_de_DE.java,
3832 gnu/java/locale/LocaleInformation_de_LU.java,
3833 gnu/java/locale/LocaleInformation_el_GR.java,
3834 gnu/java/locale/LocaleInformation_en_AU.java,
3835 gnu/java/locale/LocaleInformation_en_BW.java,
3836 gnu/java/locale/LocaleInformation_en_CA.java,
3837 gnu/java/locale/LocaleInformation_en_DK.java,
3838 gnu/java/locale/LocaleInformation_en_GB.java,
3839 gnu/java/locale/LocaleInformation_en_HK.java,
3840 gnu/java/locale/LocaleInformation_en_IE.java,
3841 gnu/java/locale/LocaleInformation_en_IN.java,
3842 gnu/java/locale/LocaleInformation_en_NZ.java,
3843 gnu/java/locale/LocaleInformation_en_PH.java,
3844 gnu/java/locale/LocaleInformation_en_SG.java,
3845 gnu/java/locale/LocaleInformation_en_US.java,
3846 gnu/java/locale/LocaleInformation_en_ZA.java,
3847 gnu/java/locale/LocaleInformation_en_ZW.java,
3848 gnu/java/locale/LocaleInformation_es_AR.java,
3849 gnu/java/locale/LocaleInformation_es_BO.java,
3850 gnu/java/locale/LocaleInformation_es_CL.java,
3851 gnu/java/locale/LocaleInformation_es_CO.java,
3852 gnu/java/locale/LocaleInformation_es_CR.java,
3853 gnu/java/locale/LocaleInformation_es_DO.java,
3854 gnu/java/locale/LocaleInformation_es_EC.java,
3855 gnu/java/locale/LocaleInformation_es_ES.java,
3856 gnu/java/locale/LocaleInformation_es_GT.java,
3857 gnu/java/locale/LocaleInformation_es_HN.java,
3858 gnu/java/locale/LocaleInformation_es_MX.java,
3859 gnu/java/locale/LocaleInformation_es_NI.java,
3860 gnu/java/locale/LocaleInformation_es_PA.java,
3861 gnu/java/locale/LocaleInformation_es_PE.java,
3862 gnu/java/locale/LocaleInformation_es_PR.java,
3863 gnu/java/locale/LocaleInformation_es_PY.java,
3864 gnu/java/locale/LocaleInformation_es_SV.java,
3865 gnu/java/locale/LocaleInformation_es_US.java,
3866 gnu/java/locale/LocaleInformation_es_UY.java,
3867 gnu/java/locale/LocaleInformation_es_VE.java,
3868 gnu/java/locale/LocaleInformation_et_EE.java,
3869 gnu/java/locale/LocaleInformation_eu_ES.java,
3870 gnu/java/locale/LocaleInformation_fa_IR.java,
3871 gnu/java/locale/LocaleInformation_fi_FI.java,
3872 gnu/java/locale/LocaleInformation_fo_FO.java,
3873 gnu/java/locale/LocaleInformation_fr_BE.java,
3874 gnu/java/locale/LocaleInformation_fr_CA.java,
3875 gnu/java/locale/LocaleInformation_fr_CH.java,
3876 gnu/java/locale/LocaleInformation_fr_FR.java,
3877 gnu/java/locale/LocaleInformation_fr_LU.java,
3878 gnu/java/locale/LocaleInformation_ga_IE.java,
3879 gnu/java/locale/LocaleInformation_gd_GB.java,
3880 gnu/java/locale/LocaleInformation_gl_ES.java,
3881 gnu/java/locale/LocaleInformation_gv_GB.java,
3882 gnu/java/locale/LocaleInformation_he_IL.java,
3883 gnu/java/locale/LocaleInformation_hi_IN.java,
3884 gnu/java/locale/LocaleInformation_hr_HR.java,
3885 gnu/java/locale/LocaleInformation_hu_HU.java,
3886 gnu/java/locale/LocaleInformation_id_ID.java,
3887 gnu/java/locale/LocaleInformation_it_CH.java,
3888 gnu/java/locale/LocaleInformation_it_IT.java,
3889 gnu/java/locale/LocaleInformation_iw_IL.java,
3890 gnu/java/locale/LocaleInformation_ja_JP.java,
3891 gnu/java/locale/LocaleInformation_ka_GE.java,
3892 gnu/java/locale/LocaleInformation_kl_GL.java,
3893 gnu/java/locale/LocaleInformation_ko_KR.java,
3894 gnu/java/locale/LocaleInformation_kw_GB.java,
3895 gnu/java/locale/LocaleInformation_lt_LT.java,
3896 gnu/java/locale/LocaleInformation_lv_LV.java,
3897 gnu/java/locale/LocaleInformation_mi_NZ.java,
3898 gnu/java/locale/LocaleInformation_mk_MK.java,
3899 gnu/java/locale/LocaleInformation_mr_IN.java,
3900 gnu/java/locale/LocaleInformation_mt_MT.java,
3901 gnu/java/locale/LocaleInformation_nl_BE.java,
3902 gnu/java/locale/LocaleInformation_nl_NL.java,
3903 gnu/java/locale/LocaleInformation_nn_NO.java,
3904 gnu/java/locale/LocaleInformation_no_NO.java,
3905 gnu/java/locale/LocaleInformation_oc_FR.java,
3906 gnu/java/locale/LocaleInformation_pl_PL.java,
3907 gnu/java/locale/LocaleInformation_pt_BR.java,
3908 gnu/java/locale/LocaleInformation_pt_PT.java,
3909 gnu/java/locale/LocaleInformation_ro_RO.java,
3910 gnu/java/locale/LocaleInformation_ru_RU.java,
3911 gnu/java/locale/LocaleInformation_ru_UA.java,
3912 gnu/java/locale/LocaleInformation_se_NO.java,
3913 gnu/java/locale/LocaleInformation_sk_SK.java,
3914 gnu/java/locale/LocaleInformation_sl_SI.java,
3915 gnu/java/locale/LocaleInformation_sq_AL.java,
3916 gnu/java/locale/LocaleInformation_sr_YU.java,
3917 gnu/java/locale/LocaleInformation_sv_FI.java,
3918 gnu/java/locale/LocaleInformation_sv_SE.java,
3919 gnu/java/locale/LocaleInformation_ta_IN.java,
3920 gnu/java/locale/LocaleInformation_te_IN.java,
3921 gnu/java/locale/LocaleInformation_tg_TJ.java,
3922 gnu/java/locale/LocaleInformation_tl_PH.java,
3923 gnu/java/locale/LocaleInformation_tr_TR.java,
3924 gnu/java/locale/LocaleInformation_uk_UA.java,
3925 gnu/java/locale/LocaleInformation_ur_PK.java,
3926 gnu/java/locale/LocaleInformation_uz_UZ.java,
3927 gnu/java/locale/LocaleInformation_vi_VN.java,
3928 gnu/java/locale/LocaleInformation_yi_US.java,
3929 gnu/java/locale/LocaleInformation_zh_CN.java,
3930 gnu/java/locale/LocaleInformation_zh_HK.java,
3931 gnu/java/locale/LocaleInformation_zh_SG.java,
3932 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3933 info; from Classpath.
3935 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3936 isPaintPending): New methods.
3937 * gnu/awt/xlib/XFramePeer.java (getState, setState,
3938 setMaximizedBounds): New methods.
3939 (beginLayout, endLayout, isPaintPending): Likewise.
3940 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3941 (requestFocus): Likewise.
3942 (isObscured): Likewise.
3943 (canDetermineObscurity): Likewise.
3944 (coalescePaintEvent): Likewise.
3945 (updateCursorImmediately): Likewise.
3946 (createVolatileImage): Likewise.
3947 (handlesWheelScrolling): Likewise.
3948 (createBuffers): Likewise.
3949 (getBackBuffer): Likewise.
3951 (destroyBuffers): Likewise.
3953 * Makefile.in: Rebuilt.
3954 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3956 * gnu/java/awt/GLightweightPeer.java,
3957 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3958 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3959 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3960 gnu/java/awt/peer/gtk/GtkFramePeer.java,
3961 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3962 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3963 java/awt/dnd/peer/DragSourceContextPeer.java,
3964 java/awt/dnd/peer/DropTargetContextPeer.java,
3965 java/awt/peer/ButtonPeer.java,
3966 java/awt/peer/CheckboxMenuItemPeer.java,
3967 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3968 java/awt/peer/ComponentPeer.java,
3969 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3970 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3971 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3972 java/awt/peer/MenuBarPeer.java,
3973 java/awt/peer/MenuComponentPeer.java,
3974 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3975 java/awt/peer/PopupMenuPeer.java,
3976 java/awt/peer/ScrollPanePeer.java,
3977 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3978 java/awt/peer/TextComponentPeer.java,
3979 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3980 New versions from Classpath.
3981 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3982 * java/awt/peer/RobotPeer.java: Likewise.
3984 2003-03-01 Mark Wielaard <mark@klomp.org>
3986 * java/io/ObjectInputStream.java: Reindent.
3987 * java/io/ObjectOutputStream.java: Likewise.
3989 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
3991 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3992 jvalue for each argument. Simplify.
3993 * testsuite/libjava.jni/calls.c (docall),
3994 testsuite/libjava.jni/calls.java (longpb_f): check for argument
3997 2003-02-28 Mark Wielaard <mark@klomp.org>
3999 * Makefile.am (nat_source_files): Remove
4000 java/io/natObjectOutputStream.cc.
4001 * Makefile.in: Regenerated.
4002 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
4003 * java/io/ObjectStreamField.java (typename): New field.
4004 (ObjectStreamField(String, Class)): Initialize new field.
4005 (ObjectStreamField(String, String)): New Constructor.
4006 (getTypeCode): Use new field.
4007 (getTypeString): Use new field.
4008 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
4009 ObjectStreamExceptions. Remember and reset old BlockDataMode.
4010 Handle reading of Proxy classes. Never drain(), just write
4011 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
4012 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
4013 (flush): Call flush(), not just drain().
4014 (writeBoolean): Always use blockDataOutput.
4015 (writeByte): Likewise.
4016 (writeShort): Likewise.
4017 (writeChar): Likewise.
4018 (writeInt): Likewise.
4019 (writeLong): Likewise.
4020 (writeFloat): Likewise.
4021 (writeDouble): Likewise.
4022 (writeBytes): Likewise.
4023 (putfield (put(String,Object))): Throw IllegalArgumentException if
4024 field cannot be found.
4025 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
4026 (writeArraySizeAndElements): Write byte[] in one go.
4027 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
4028 set BlockDataMode to false.
4029 (annotateProxyClass): New method.
4030 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
4031 (getField): No longer native.
4032 (getMethod): Likewise.
4033 (setBlockDataMode): Always drain() on switch, return old mode.
4034 (static): New static code block.
4035 * java/io/natObjectOutputStream.cc: Removed.
4036 * java/io/ObjectInputStream.java (getField): No longer native.
4037 (getMethod): Likewise.
4038 (readObject): Remember and reset old BlockDataMode. Track whether
4039 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
4041 (defaultReadObject): Set BlockDataMode to false during readFields.
4042 (resolveClass): Create new SecurityManager if necessary.
4043 Use Class.forName() if null ClassLoader found.
4044 (read(byte[],int,int): Copy remaining bytes to data before calling
4046 (readFields): Set and reset BlockDataMode on call_read_method.
4047 Catch NoSuchFieldErrors.
4048 (setBlockDataMode): Return old mode.
4049 (static): New static code block.
4050 * java/io/natObjectInputStream.cc (getField): Removed.
4051 (getMethod): Likewise.
4053 2003-02-27 Michael Koch <konqueror@gmx.de>
4055 * java/beans/Beans.java,
4056 java/beans/FeatureDescriptor.java
4057 java/beans/PropertyEditorManager.java:
4058 Reformated to GNU style.
4060 2003-02-25 Michael Koch <konqueror@gmx.de>
4062 * gnu/java/nio/MappedByteFileBuffer.java,
4063 gnu/java/nio/natMappedByteFileBuffer.cc:
4064 New files, both are not compiled yet to get not noncompiling CVS.
4066 2003-02-24 Tom Tromey <tromey@redhat.com>
4068 * java/util/prefs/AbstractPreferences.java (isUserNode):
4071 2003-02-24 Tom Tromey <tromey@redhat.com>
4073 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
4075 * java/lang/Thread.java (resume): Deprecate.
4076 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
4079 2003-02-23 Tom Tromey <tromey@redhat.com>
4081 * Makefile.in: Rebuilt.
4082 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
4084 2003-02-23 Tom Tromey <tromey@redhat.com>
4086 * java/lang/natRuntime.cc (libraries_size, libraries_count,
4087 libraries): Removed.
4088 (add_library): Removed.
4089 (_load): Don't call add_library.
4090 (loadLibraryInternal): Likewise.
4092 (lookup_data): New struct.
4093 (find_symbol): New function.
4094 (_Jv_FindSymbolInExecutable): Use it.
4096 2002-02-21 Anthony Green <green@redhat.com>
4098 * java/lang/Thread.java (Thread): New constructor taking stack
4099 size parameter (ignored for now).
4100 * Many methods: Merged GNU Classpath documentation.
4102 * java/lang/Class.java (finalize): throws a Throwable.
4104 2003-02-21 Mark Wielaard <mark@klomp.org>
4106 * java/util/zip/ZipEntry.java (setComment): Don't check length when
4109 2003-02-21 Mark Wielaard <mark@klomp.org>
4111 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
4112 then 65535 chars throw IllegalArgumentException.
4114 2003-02-21 Mark Wielaard <mark@klomp.org>
4116 * java/util/zip/ZipFile.java (finalize): New method.
4118 2003-02-21 Michael Koch <konqueror@gmx.de>
4120 * gnu/java/nio/natSocketChannelImpl.cc:
4121 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
4122 <cato@df.lth.se> for pointing to it.
4124 2003-02-20 Raif S. Naffah <raif@fl.net.au>
4126 * java/math/BigInteger.java (euclidInv): Take result array as an
4127 argument. Updated all callers.
4128 (modInverse): Removed unused variables.
4130 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
4132 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
4134 * configure: Rebuilt.
4136 2003-02-19 Michael Koch <konqueror@gmx.de>
4138 * gnu/java/nio/natSocketChannelImpl.cc:
4139 Added support for platforms without network support.
4141 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4143 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4144 after config.h. Use <> for consistency.
4145 * java/lang/natObject.cc: Likewise.
4146 * java/lang/natRuntime.cc: Likewise.
4147 * java/lang/natSystem.cc: Likewise.
4148 * java/util/natTimeZone.cc: Likewise.
4149 * win32.cc: Likewise.
4150 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4151 listen, write, read): Undef to avoid interference from OS macros.
4153 2003-02-19 Michael Koch <konqueror@gmx.de>
4155 * gnu/java/nio/ByteBufferImpl.java
4156 (ByteBufferImpl): Renamed two variables.
4157 * gnu/java/nio/CharBufferImpl.java
4158 (CharBufferImpl): Renamed two variables.
4159 * gnu/java/nio/DoubleBufferImpl.java
4160 (DoubleBufferImpl): Renamed two variables.
4161 * gnu/java/nio/FloatBufferImpl.java
4162 (FloatBufferImpl): Renamed two variables.
4163 * gnu/java/nio/IntBufferImpl.java
4164 (IntBufferImpl): Renamed two variables.
4165 * gnu/java/nio/LongBufferImpl.java
4166 (LongBufferImpl): Renamed two variables.
4167 * gnu/java/nio/ShortBufferImpl.java
4168 (ShortBufferImpl): Renamed two variables.
4169 * java/nio/CharBuffer.java
4170 (wrap): Fixed arguments to CharBufferImpl constructor.
4171 (hasArray): Only not read-only buffers have backing arrays.
4172 (length): Documentation added.
4173 (subSequence): Documentation added.
4174 * java/nio/DoubleBuffer.java
4175 (hasArray): Only not read-only buffers have backing arrays.
4176 * java/nio/FloatBuffer.java
4177 (hasArray): Only not read-only buffers have backing arrays.
4178 * java/nio/IntBuffer.java
4179 (hasArray): Only not read-only buffers have backing arrays.
4180 * java/nio/LongBuffer.java
4181 (hasArray): Only not read-only buffers have backing arrays.
4182 * java/nio/ShortBuffer.java
4183 (hasArray): Only not read-only buffers have backing arrays.
4185 2003-02-19 Michael Koch <konqueror@gmx.de>
4187 * javax/accessibility/AccessibleContext.java
4188 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4190 2003-02-19 Michael Koch <konqueror@gmx.de>
4192 * java/awt/ScrollPaneAdjustable.java: Reformated.
4194 2003-02-19 Michael Koch <konqueror@gmx.de>
4196 * gnu/awt/j2d/Graphics2DImpl.java
4197 (getFontRenderContext): New method.
4198 (drawGlyphVector): New method.
4199 * java/awt/Graphics2D.java
4200 (getFontRenderContext): New abstract method.
4201 (drawGlyphVector): New abstract method.
4203 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4205 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4208 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4209 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4210 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4211 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4212 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4213 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4214 (setFont, gtkSetFont): add.
4215 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4216 Propagate font to peer. (setFont): add FIXME comment.
4218 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4219 (gtkTextGetSize): fix height, width computation.
4221 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4222 Make X font name a bit less bogus.
4224 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4225 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4227 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4228 (processAdjustmentEvent): Adjust value.
4230 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4233 * java/awt/Component.java (setVisible, show, hide): Call show and
4234 hide methods in subclasses.
4235 (getPreferredSize): don't set prefSize before we have peer.
4237 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4238 Guess (0,0) if we don't have peer.
4241 2003-02-18 Michael Koch <konqueror@gmx.de>
4243 * java/nio/channels/FileChannel.java
4244 (toString): New implementation, added documentation.
4245 (map): Added exception documentation.
4246 (size): Added exception documentation.
4247 (write): New methods, documentation work.
4248 (read): New methods, documentation work.
4249 (implCloseChannel): Rewrote exception documentation.
4250 (force): Throws IOException, added documentation.
4251 (lock): New methods.
4252 (tryLock): New methods.
4253 (position): New methods.
4254 (transferTo): New method.
4255 (transferFrom): New method.
4256 (truncate): New method.
4257 * java/nio/channels/spi/SelectorProvider.java
4258 (provider): Implemented.
4260 (ordinary_java_source_files): Added the following files:
4261 gnu/java/nio/DatagramChannelImpl.java
4262 gnu/java/nio/FileChannelImpl.java
4263 gnu/java/nio/PipeImpl.java
4264 gnu/java/nio/SelectionKeyImpl.java
4265 gnu/java/nio/SelectorImpl.java
4266 gnu/java/nio/SelectorProviderImpl.java
4267 gnu/java/nio/ServerSocketChannelImpl.java
4268 gnu/java/nio/SocketChannelImpl.java
4269 java/nio/channels/FileLock.java
4270 (nat_java_source_files): Added the following files:
4271 gnu/java/nio/natFileChannelImpl.cc
4272 gnu/java/nio/natSelectorImpl.cc
4273 gnu/java/nio/natSocketChannelImpl.cc
4274 * Makefile.in: Regenerated.
4276 2003-02-17 Tom Tromey <tromey@redhat.com>
4278 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4279 * java/awt/image/ImageFilter.java: Likewise.
4281 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4283 * java/math/BigInteger.java (euclidInv): Return array of
4284 `BigInteger's. Changed all callers.
4286 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4288 * java/util/Properties.java (store): Move the code formerly in
4289 list(), into this method.
4290 (list (PrintStream)): Just call list (PrintWriter) with a
4291 PrintWriter object constructed from the given PrintStream object.
4292 (list (PrintWriter)): Emulate the output of Properties.list()
4293 as found in JDK 1.3/1.4.
4295 2003-02-17 Michael Koch <konqueror@gmx.de>
4297 * java/net/DatagramSocket.java
4298 (connect): Merged with classpath.
4299 (disconnect): Merged documentation with classpath.
4300 (receice): Merged documentation with classpath.
4301 (send): Merged documentation with classpath.
4303 2003-02-17 Michael Koch <konqueror@gmx.de>
4305 * java/awt/dnd/DragSourceContext.java
4306 (addDragSourceListener): Added documentation.
4307 * java/awt/dnd/DragSourceDragEvent.java
4308 (serialVersionUID): New member variable.
4309 (getDropAction): Reformated.
4310 * java/awt/dnd/DragSourceDropEvent.java
4311 (serialVersionUID): New member variable.
4312 (dropSuccess): Renamed from success for serialization issues.
4313 * java/awt/dnd/DragSourceEvent.java
4314 (serialVersionUID): New member variable.
4315 * java/awt/dnd/DropTarget.java
4316 (serialVersionUID): New member variable.
4317 (DropTarget): Implemented, documentation reworked.
4318 (setComponent): Documentation added.
4319 (getComponent): Documentation added.
4320 (setDefaultActions): Documentation added.
4321 (getDefaultActions): Documentation added.
4322 (addDropTargetListener): Documentation added.
4323 * java/awt/dnd/DropTargetContext.java
4324 (DropTargetContext): Documentation added.
4325 (TransferableProxy.TransferableProxy): New method.
4326 (dropComplete): Fixed documentation.
4327 (getTransferable): Fixed documentation.
4328 (createTransferableProxy): Implemented.
4329 * java/awt/dnd/DropTargetDragEvent.java
4330 (DropTargetDragEvent): Documentation added.
4331 (serialVersionUID): New member variable.
4332 (DropTargetDragEvent): Throw exceptions, documentation added.
4333 (acceptDrag): Implemented.
4334 (getCurrentDataFlavors): Implemented.3yy
4335 (getCurrentDataFlavorsAsList): Implemented.
4336 (isDataFlavorSupported): Implemented.
4337 (rejectDrag): Implemented.
4338 * java/awt/dnd/DropTargetDropEvent.java
4339 (DropTargetDropEvent): Documentation added.
4340 (serialVersionUID): New member variable.
4341 (actions): Renamed from srcActions for serialization issues.
4342 (isLocalTx): Renamed from isLocalTx for serialization issues.
4343 (DropTargetDropEvent): New implementation, throw exceptions,
4344 documentation added.
4345 (getCurrentDataFlavors): Implemented.
4346 (getCurrentDataFlavorsAsList): Implemented.
4347 (isDataFlavorSupported): Implemented.
4348 (getSourceActions): Implemented.
4349 (getDropAction): Implemented.
4350 (getTransferable): Implemented.
4351 (acceptDrop): Implemented.
4352 (rejectDrop): Implemented.
4353 * java/awt/dnd/DropTargetListener.java
4354 (drop): Fixed documentation.
4355 * java/awt/dnd/MouseDragGestureRecognizer.java
4356 (MouseDragGestureRecognizer): Documentation added.
4358 2003-02-17 Michael Koch <konqueror@gmx.de>
4360 * java/awt/font/FontRenderContext.java,
4361 java/awt/font/ShapeGraphicAttribute.java,
4362 java/awt/font/MultipleMaster.java,
4363 java/awt/font/TransformAttribute.java,
4364 java/awt/font/GlyphJustificationInfo.java,
4365 java/awt/font/LineBreakMeasurer.java,
4366 java/awt/font/TextMeasurer.java,
4367 java/awt/font/TextLayout.java,
4368 java/awt/font/LineMetrics.java,
4369 java/awt/font/TextAttribute.java,
4370 java/awt/font/GlyphMetrics.java,
4371 java/awt/font/OpenType.java,
4372 java/awt/font/GlyphVector.java,
4373 java/awt/font/GraphicAttribute.java,
4374 java/awt/font/ImageGraphicAttribute.java,
4375 java/awt/font/NumericShaper.java: New files.
4377 (awt_java_source_files): Added the following files:
4378 java/awt/font/FontRenderContext.java
4379 java/awt/font/ShapeGraphicAttribute.java
4380 java/awt/font/MultipleMaster.java
4381 java/awt/font/TransformAttribute.java
4382 java/awt/font/GlyphJustificationInfo.java
4383 java/awt/font/LineBreakMeasurer.java
4384 java/awt/font/TextMeasurer.java
4385 java/awt/font/TextLayout.java
4386 java/awt/font/LineMetrics.java
4387 java/awt/font/TextAttribute.java
4388 java/awt/font/GlyphMetrics.java
4389 java/awt/font/OpenType.java
4390 java/awt/font/GlyphVector.java
4391 java/awt/font/GraphicAttribute.java
4392 java/awt/font/ImageGraphicAttribute.java
4393 java/awt/font/NumericShaper.java
4394 * Makefile.in: Regenerated.
4396 2003-02-17 Michael Koch <konqueror@gmx.de>
4398 * java/awt/print/Paper.java
4399 (Paper): Implements Cloneable.
4400 * java/awt/print/PrinterJob.java
4401 (setJobName): Return value must be void.
4402 (print): Throws PrinterException.
4404 2003-02-16 Tom Tromey <tromey@redhat.com>
4406 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4409 2003-02-15 Michael Koch <konqueror@gmx.de>
4411 * java/awt/datatransfer/DataFlavor.java
4412 (isRepresentationClassByteBuffer): Removed try-catch block.
4413 (isRepresentationClassCharBuffer): Removed try-catch block.
4414 (isRepresentationClassReader): Removed try-catch block.
4416 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4418 * java/nio/charset/Charset.java
4419 (isRegistered): Fixed method args and implementation.
4420 * java/nio/charset/CharsetEncoder.java
4421 (unmappableCharacterAction): New method.
4423 2003-02-15 Michael Koch <konqueror@gmx.de>
4425 * java/awt/CheckboxMenuItem.java
4426 (CheckBoxMenuItem): Dont implement Serializable.
4427 (getListeners): New method,
4428 (getItemListeners): New method.
4429 * java/awt/Choice.java
4430 (getListeners): New method,
4431 (getItemListeners): New method.
4432 * java/awt/Container.java
4433 (getListeners): Added exception documentation.
4434 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4435 (getFocusTraversalKeys): Added documentation.
4436 (areFocusTraversalKeysSet): Added documentation.
4437 (applyComponentOrientation): Added documentation.
4438 * java/awt/ContainerOrderFocusTraversalPolicy.java
4439 (implicitDownCycleTraversal): Renamed from downCycle for
4441 (ContainerOrderFocusTraversalPolicy): Added documentation.
4442 (accept): Reformated.
4443 * java/awt/Dialog.java
4444 (Dialog): Dont implement Serializable.
4445 (Dialog): Added documentation.
4446 * java/awt/Font.java
4447 (Font): Dont use absolute class name.
4448 * java/awt/Frame.java
4449 (Frame): Font implement Serializable.
4450 * java/awt/List.java
4451 (getListeners): New method,
4452 (getActionListeners): New method.
4453 (getItemListeners): New method.
4454 * java/awt/Menu.java
4455 (countItems): New deprecated method.
4456 * java/awt/Scrollbar.java
4457 (getListeners): New method,
4458 (getAdjustmentListeners): New method,
4459 * java/awt/TextComponent.java
4460 (getListeners): New method,
4461 (getTextListeners): New method,
4462 * java/awt/TextField.java
4463 (getListeners): New method,
4464 (getActionListeners): New method.
4465 * java/awt/Window.java
4466 (windowFocusListener): New member variable.
4467 (windowStateListener): New member variable.
4468 (getWindowFocusListeners): New method.
4469 (getWindowStateListeners): New method.
4470 (addWindowFocusListener): New method.
4471 (addWindowStateListener): New method.
4472 (removeWindowFocusListener): New method.
4473 (removeWindowStateListener): New method.
4474 * java/awt/datatransfer/DataFlavor.java
4475 (isRepresentationClassByteBuffer): New method.
4476 (isRepresentationClassCharBuffer): New method.
4477 (isRepresentationClassReader): New method.
4479 2003-02-14 Mark Wielaard <mark@klomp.org>
4481 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4482 zero when there is an exponent and the significant is zero.
4483 (divide): Always set scale to newScale even in special ZERO case.
4485 2003-02-14 Tom Tromey <tromey@redhat.com>
4487 * java/lang/System.java (properties): Use Properties.clone.
4488 (setProperties): Likewise.
4490 2003-02-14 Michael Koch <konqueror@gmx.de>
4492 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4493 * gnu/java/nio/ServerSocketChannelImpl.java
4494 (SocketAccept): Removed.
4495 (accept): Commented out use of SocketAccept.
4497 2003-02-13 Tom Tromey <tromey@redhat.com>
4499 * verify.cc (state::seen_subrs): New field.
4500 (state::state): Initialize it.
4501 (state::clean_subrs): New method.
4502 (state::~state): Call it.
4503 (state::copy): Copy subroutine list.
4504 (state::add_subr): New method.
4505 (state::merge): Only register a change if the current subroutine
4506 hasn't yet been noted.
4508 2003-02-13 Mark Wielaard <mark@klomp.org>
4510 * java/io/InputStreamReader.java (getEncoding): Return null when
4512 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4514 2003-02-13 Mark Wielaard <mark@klomp.org>
4516 * java/util/zip/InflaterInputStream.java (read): Return zero when len
4519 2003-02-13 Mark Wielaard <mark@klomp.org>
4521 * java/io/BufferedOutputStream.java (write(int)): Only flush when
4522 next byte cannot be buffered.
4524 2003-02-13 Michael Koch <konqueror@gmx.de>
4526 * java/awt/Label.java
4527 (Label): Don't implement Serializable directly.
4528 (addNotify): Fixed typo in documentation.
4529 * java/awt/List.java
4530 (List): Don't implement Serializable directly.
4531 * java/awt/PopupMenu.java
4532 (PopupMenu): Don't implement Serializable directly.
4533 * java/awt/ScrollPane.java
4534 (ScrollPane): Don't implement Serializable directly.
4535 * java/awt/Scrollbar.java
4536 (Scrollbar): Don't implement Serializable directly.
4537 * java/awt/TextArea.java
4538 (preferredSize): Fixed method arguments.
4539 * java/awt/TextField.java
4540 (TextField): Don't implement Serializable directly.
4541 * java/awt/color/ICC_ColorSpace.java
4542 (fromCIOXYZ): Documentation added.
4543 (getMinValue): Documentation added.
4544 (getMaxValue): Documentation added.
4545 * java/awt/datatransfer/DataFlavor.java
4546 (isMimeTypeEqual): May not be final.
4547 (clone): Throws CloneNotSupportedException.
4548 (getReaderForText): Don't throws UnsupportedEncodingException.
4550 2003-02-13 Michael Koch <konqueror@gmx.de>
4552 * gnu/java/awt/peer/gtk/GdkGraphics.java
4553 (drawString): New stubbed method.
4554 * java/awt/Graphics.java
4555 (drawString): New method.
4557 2003-02-13 Casey Marshall <rsdio@metastatic.org>
4560 * java/security/SecureRandom.java (next): Avoid bias in results.
4562 2003-02-13 Michael <konqueror@gmx.de>
4564 * gnu/java/nio/FileChannelImpl.java
4565 (lengthInternal): Must be native.
4566 (size): Check if channel is already closed.
4567 (implCloseChannel): Reformated.
4568 (read): w was unused, removed it.
4571 (write): New method.
4572 (map): Check arguments.
4573 (force): Throws IOException, check if channel is closed.
4574 (transferTo): New method.
4575 (transferFrom): New method.
4577 (tryLock): New method.
4578 (position): New method.
4579 (truncate): New method.
4580 (nio_mmap_file): Uncommented.
4581 (nio_munmap_file): Uncommented.
4582 (nio_msync): Uncommented.
4583 * gnu/java/nio/natFileChannelImpl.cc: New file.
4585 2003-02-13 Michael Koch <konqueror@gmx.de>
4587 * java/nio/ByteBuffer.java
4588 (endian): New member variable.
4590 (equals): New method.
4591 (compareTo): New method.
4592 (order): New methods.
4593 (compact): New method.
4594 (isDirect): New method.
4595 (slice): New method.
4596 (duplicate): New method.
4597 (asReadOnlyBuffer): New method.
4598 (asCharBuffer): New method.
4599 (asDoubleBuffer): New method.
4600 (asFloatBuffer): New method.
4601 (asIntBuffer): New method.
4602 (asLongBuffer): New method.
4603 (asShortBuffer): New method.
4604 (get*): New methods.
4605 (put*): New methods.
4606 (toString): New method.
4607 * java/nio/CharBuffer.java
4608 (CharBuffer): Implement Comparable instead of Cloneable.
4609 (get): May not be final.
4610 (put): May not be final.
4612 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
4614 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4615 lastIndexOf( ) instead of indexOf( ) to find the colon before
4616 the line number, because Win32 file names might contain a
4617 drive letter and a colon at the start of an absolute path.
4619 2003-02-13 Michael Koch <konqueror@gmx.de>
4621 * gnu/java/nio/natSocketChannelImpl.cc
4622 (SocketConnect): This is not implemented yet.
4623 (SocketBind): This is not implemented yet.
4625 2003-02-13 Michael Koch <konqueror@gmx.de>
4627 * gnu/java/nio/natByteBufferImpl.cc,
4628 gnu/java/nio/natCharBufferImpl.cc,
4629 gnu/java/nio/natDoubleBufferImpl.cc,
4630 gnu/java/nio/natFloatBufferImpl.cc,
4631 gnu/java/nio/natIntBufferImpl.cc,
4632 gnu/java/nio/natLongBufferImpl.cc,
4633 gnu/java/nio/natShortBufferImpl.cc:
4634 Added copyright and license.
4635 * java/nio/DoubleBuffer.java,
4636 java/nio/FloatBuffer.java,
4637 java/nio/IntBuffer.java,
4638 java/nio/LongBuffer.java,
4639 java/nio/ShortBuffer.java
4640 (array): Throw exceptions.
4641 (arrayOffset): Throw exceptions.
4643 2003-02-13 Michael Koch <konqueror@gmx.de>
4645 * gnu/java/util/prefs/FileBasedFactory.java,
4646 gnu/java/util/prefs/MemmoryBasedFactory.java,
4647 gnu/java/util/prefs/MemoryBasedPreferences.java,
4648 gnu/java/util/prefs/NodeReader.java,
4649 gnu/java/util/prefs/NodeWriter.java,
4650 java/util/prefs/AbstractPreferences.java,
4651 java/util/prefs/BackingStoreException.java,
4652 java/util/prefs/InvalidPreferencesFormatException.java,
4653 java/util/prefs/NodeChangeEvent.java,
4654 java/util/prefs/NodeChangeListener.java,
4655 java/util/prefs/PreferenceChangeEvent.java,
4656 java/util/prefs/PreferenceChangeListener.java,
4657 java/util/prefs/Preferences.java,
4658 java/util/prefs/PreferencesFactory.java:
4659 New files, all merged from classpath.
4661 (ordinary_java_source_files): Added the following files:
4662 gnu/java/util/prefs/FileBasedFactory.java,
4663 gnu/java/util/prefs/MemmoryBasedFactory.java,
4664 gnu/java/util/prefs/MemoryBasedPreferences.java,
4665 gnu/java/util/prefs/NodeReader.java,
4666 gnu/java/util/prefs/NodeWriter.java,
4667 (core_java_source_files): Added the following files:
4668 java/util/prefs/AbstractPreferences.java,
4669 java/util/prefs/BackingStoreException.java,
4670 java/util/prefs/InvalidPreferencesFormatException.java,
4671 java/util/prefs/NodeChangeEvent.java,
4672 java/util/prefs/NodeChangeListener.java,
4673 java/util/prefs/PreferenceChangeEvent.java,
4674 java/util/prefs/PreferenceChangeListener.java,
4675 java/util/prefs/Preferences.java,
4676 java/util/prefs/PreferencesFactory.java
4677 * Makefile.in: Regenerated.
4679 2003-02-13 Michael Koch <konqueror@gmx.de>
4681 * java/net/NetPermission.java
4682 (NetPermission): Make doucmentation match the method declaration.
4683 * java/net/NetworkInterface.java
4684 (equals): Reformated for GNU coding style.
4685 * java/net/ServerSocket.java: Merged with classpath.
4686 * java/net/Socket.java: Partly merged with classpath (Added some @since).
4687 * java/net/SocketImpl.java
4688 (localPort): Merged with classpath (initialize with -1).
4689 * java/net/SocketPermission.java: Merged with classpath (reindented).
4690 * java/net/URLDecoder.java: Merged with classpath (reindented).
4692 2003-02-13 Michael Koch <konqueror@gmx.de>
4694 * java/awt/GridBagConstraints.java
4695 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4696 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4697 * java/awt/KeyboardFocusManager.java
4698 (setGlobalCurrentFocusCycleRoot): Must be public.
4699 * java/awt/MenuComponent.java
4700 (MenuComponent): Must be public.
4701 * java/awt/Toolkit.java:
4702 Added some empty lines to make documentation more readable.
4703 (getFontPeer): Added @deprecated.
4704 (getColorModel): Added exception documentation.
4705 (getProperty): Fixed documentation.
4707 2003-02-12 Jeff Sturm <jsturm@one-point.com>
4709 * configure.host (alpha*-*): Default to -mieee.
4710 * configure.in (IEEESPEC): New.
4711 * libgcj.spec.in (jc1): Add IEEESPEC.
4712 * configure: Rebuild.
4714 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4716 * include/win32.h: Include ws2tcpip.h instead of
4717 winsock.h to obtain definition of the socklen_t type.
4718 Remove IP_TOS definition - not needed with ws2tcpip.h
4719 (_Jv_connect): Correct slight formatting error.
4721 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4723 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4724 size of the arguments for a JNI function. For Win32,
4725 modify to search for all forms of possible exported
4726 names of an stdcall JNI function.
4727 (_Jv_JNIMethod::call): Modify to calculate the size
4728 of the arguments passed to a JNI function and pass
4729 it to _Jv_LookupJNIMethod.
4731 2003-02-12 Michael Koch <konqueror@gmx.de>
4733 * java/nio/channels/Channels.java: New file.
4735 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4736 * Makefile.in: Regenerated.
4738 2003-02-12 Michael Koch <konqueror@gmx.de>
4740 * java/nio/ByteBuffer.java
4741 (allocate): Implemented.
4742 (wrap): Implemented.
4743 * java/nio/CharBuffer.java:
4744 Some documentation added and reworked.
4746 (allocate): Implemented.
4747 (wrap): Implemented.
4748 (array): Throw exceptions.
4749 (arrayOffset): Throw exceptions.
4750 (toString): Implemented.
4751 (length): Implemented.
4753 (charAt): Implemented.
4755 2003-02-11 John Leuner <jewel@debian.org>
4757 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
4758 reads from end of file.
4760 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
4762 * java/io/natFileDescriptorWin32.cc
4763 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4764 returns with Win32 error code ERROR_BROKEN_PIPE.
4766 2003-02-11 Michael Koch <konqueror@gmx.de>
4769 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4771 2003-02-11 Michael Koch <konqueror@gmx.de>
4773 * gnu/java/nio/ByteBufferImpl.java:
4774 Reformated and removed some code.
4775 (backing_buffer): Removed.
4776 (array_offset): Removed.
4777 (ro): Renamed to readOnly.
4778 (ByteBufferImpl): Use parent constructor, initialize readOnly.
4779 * gnu/java/nio/CharBufferImpl.java:
4780 Reformated and removed some code.
4781 (array_offset): Removed.
4782 (ro): Renamed to readOnly.
4783 (CharBufferImpl): Use parent constructor, initialize readOnly.
4785 (order): New method.
4786 * gnu/java/nio/DoubleBufferImpl.java:
4787 Reformated and removed some code.
4788 (array_offset): Removed.
4789 (ro): Renamed to readOnly.
4790 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4792 (order): New method.
4793 * gnu/java/nio/FloatBufferImpl.java:
4794 Reformated and removed some code.
4795 (array_offset): Removed.
4796 (ro): Renamed to readOnly.
4797 (FloatBufferImpl): Use parent constructor, initialize readOnly.
4799 (order): New method.
4800 * gnu/java/nio/IntBufferImpl.java:
4801 Reformated and removed some code.
4802 (array_offset): Removed.
4803 (ro): Renamed to readOnly.
4804 (IntBufferImpl): Use parent constructor, initialize readOnly.
4806 (order): New method.
4807 * gnu/java/nio/LongBufferImpl.java:
4808 Reformated and removed some code.
4809 (array_offset): Removed.
4810 (ro): Renamed to readOnly.
4811 (LongBufferImpl): Use parent constructor, initialize readOnly.
4813 (order): New method.
4814 * gnu/java/nio/ShortBufferImpl.java:
4815 Reformated and removed some code.
4816 (array_offset): Removed.
4817 (ro): Renamed to readOnly.
4818 (ShortBufferImpl): Use parent constructor, initialize readOnly.
4820 (order): New method.
4822 (ordinary_java_source_files): Added the following files:
4823 gnu/java/nio/ByteBufferImpl.java
4824 gnu/java/nio/CharBufferImpl.java
4825 gnu/java/nio/DoubleBufferImpl.java
4826 gnu/java/nio/FloatBufferImpl.java
4827 gnu/java/nio/IntBufferImpl.java
4828 gnu/java/nio/LongBufferImpl.java
4829 gnu/java/nio/ShortBufferImpl.java
4830 java/nio/DoubleBuffer.java
4831 java/nio/FloatBuffer.java
4832 java/nio/IntBuffer.java
4833 java/nio/LongBuffer.java
4834 java/nio/ShortBuffer.java
4835 (nat_source_files): Added the following files:
4836 gnu/java/nio/natByteBufferImpl.cc
4837 gnu/java/nio/natCharBufferImpl.cc
4838 gnu/java/nio/natDoubleBufferImpl.cc
4839 gnu/java/nio/natFloatBufferImpl.cc
4840 gnu/java/nio/natIntBufferImpl.cc
4841 gnu/java/nio/natLongBufferImpl.cc
4842 gnu/java/nio/natShortBufferImpl.cc
4843 * Makefile.in: Regenerated.
4845 2003-02-11 Michael Koch <konqueror@gmx.de>
4847 * gnu/java/nio/natCharBufferImpl.cc
4848 (nio_cast): Removed.
4849 (nio_put_*): Removed.
4850 (nio_get_*): Removed.
4851 * gnu/java/nio/natDoubleBufferImpl.cc
4852 (nio_cast): Removed.
4853 (nio_put_*): Removed.
4854 (nio_get_*): Removed.
4855 * gnu/java/nio/natFloatBufferImpl.cc
4856 (nio_cast): Removed.
4857 (nio_put_*): Removed.
4858 (nio_get_*): Removed.
4859 * gnu/java/nio/natIntBufferImpl.cc
4860 (nio_cast): Removed.
4861 (nio_put_*): Removed.
4862 (nio_get_*): Removed.
4863 * gnu/java/nio/natLongBufferImpl.cc
4864 (nio_cast): Removed.
4865 (nio_put_*): Removed.
4866 (nio_get_*): Removed.
4867 * gnu/java/nio/natShortBufferImpl.cc
4868 (nio_cast): Removed.
4869 (nio_put_*): Removed.
4870 (nio_get_*): Removed.
4871 * gnu/java/nio/SelectorProviderImpl.java
4872 (openDatagramChannel): Throws IOException.
4873 (openPipe): Throws IOException.
4874 (openSelector): Throws IOException.
4875 (openServerSocketChannel): Throws IOException.
4876 (openSocketChannel): Throws IOException.
4877 * gnu/java/nio/ServerSocketChannelImpl.java
4878 (ServerSocketChannelImpl): Throws IOException.
4879 (implCloseSelectableChannel): Throws IOException.
4880 (implConfigureBlocking): Throws IOException.
4881 * java/nio/ByteBuffer.java
4882 (readOnly): Removed.
4883 (hasArray): Use isReadOnly() instead of readOnly.
4884 (array): Use isReadOnly() instead of readOnly.
4885 (arrayOffset): Use isReadOnly() instead of readOnly.
4886 * java/nio/CharBuffer.java
4887 (CharBuffer): Implements Cloneable and CharSequence.
4889 2003-02-11 Michael Koch <konqueror@gmx.de>
4891 * java/nio/DoubleBuffer.java
4892 (DoubleBuffer): Implements Comparable.
4894 (array_offset): New member variable.
4895 (DoubleBuffer): New constuctor.
4896 (get): May not be final.
4897 (put): May not be final.
4898 (arrayOffset): Implemented.
4899 (order): Made abstract.
4901 (as*Buffer): Removed.
4904 * java/nio/FloatBuffer.java
4905 (FloatBuffer): Implements Comparable.
4907 (array_offset): New member variable.
4908 (FloatBuffer): New constuctor.
4909 (get): May not be final.
4910 (put): May not be final.
4911 (arrayOffset): Implemented.
4912 (order): Made abstract.
4914 (as*Buffer): Removed.
4917 * java/nio/IntBuffer.java
4918 (IntBuffer): Implements Comparable.
4920 (array_offset): New member variable.
4921 (IntBuffer): New constuctor.
4922 (get): May not be final.
4923 (put): May not be final.
4924 (arrayOffset): Implemented.
4925 (order): Made abstract.
4927 (as*Buffer): Removed.
4930 * java/nio/LongBuffer.java
4931 (LongBuffer): Implements Comparable.
4933 (array_offset): New member variable.
4934 (LongBuffer): New constuctor.
4935 (get): May not be final.
4936 (put): May not be final.
4937 (arrayOffset): Implemented.
4938 (order): Made abstract.
4940 (as*Buffer): Removed.
4943 * java/nio/ShortBuffer.java
4944 (ShortBuffer): Implements Comparable.
4946 (array_offset): New member variable.
4947 (ShortBuffer): New constuctor.
4948 (get): May not be final.
4949 (put): May not be final.
4950 (arrayOffset): Implemented.
4951 (order): Made abstract.
4953 (as*Buffer): Removed.
4957 2003-02-11 Michael Koch <konqueror@gmx.de>
4959 * java/nio/channels/SelectionKey.java
4960 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4963 2003-02-11 Michael Koch <konqueror@gmx.de>
4965 * java/nio/channels/DatagramChannel.java
4966 (write): Throws IOException.
4967 (connect): Throws IOException.
4968 (disconnect): Throws IOException.
4969 (read): Throws IOException.
4970 (receive): Throws IOException.
4971 (send): Throws IOException.
4972 * java/nio/channels/Pipe.java
4973 (open): Throws IOException.
4974 * java/nio/channels/SelectableChannel.java
4975 (configureBlocking): Throws IOException.
4976 * java/nio/channels/ServerSocketChannel.java
4977 (accept): Throws IOException.
4978 * java/nio/channels/SocketChannel.java
4979 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4980 GatheringByteChannel.
4981 (read): Throws IOException.
4982 (write): Throws IOException.
4983 (finishConnect): Throws IOException.
4984 * java/nio/channels/spi/AbstractInterruptibleChannel.java
4985 (end): Throws AsynchronousCloseException.
4986 * java/nio/channels/spi/AbstractSelectableChannel.java
4987 (configureBlocking): Throws IOException.
4988 (implCloseChannel): Throws IOException.
4989 (implCloseSelectableChannel): Throws IOException.
4990 (implConfigureBlocking): Throws IOException.
4991 * java/nio/channels/spi/SelectorProvider.java
4992 (openDatagramChannel): Throws IOException.
4993 (openPipe): Throws IOException.
4994 (openSelector): Throws IOException.
4995 (openServerSocketChannel): Throws IOException.
4996 (openSocketChannel): Throws IOException.
4998 2003-02-11 Michael Koch <konqueror@gmx.de>
5000 * gnu/java/nio/FileLockImpl.java,
5001 java/nio/channels/FileLock.java: New files.
5003 2003-02-11 Michael Koch <konqueror@gmx.de>
5005 * java/nio/charset/IllegalCharsetNameException.java
5006 (serialVersionUID): New member variable.
5007 (charsetName): New member variable.
5008 (IllegalCharsetException): New implementation.
5009 (getCharsetName): New implementation.
5010 * java/nio/charset/UnsupportedCharsetException.java
5011 (serialVersionUID): New member variable.
5012 (charsetName): New member variable.
5013 (UnsupportedCharsetException): New implementation.
5014 (getCharsetName): New implementation.
5016 2003-02-10 Tom Tromey <tromey@redhat.com>
5018 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
5019 (ex): Renamed from sqlException.
5021 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5023 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
5024 method used to ensure seeding has occurred and that a specific
5025 seed can be set and used.
5027 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
5029 * java/lang/Win32Process.java (destroy): Declare as native.
5030 (hasExited): New native method.
5031 (exitValue): Define.
5032 (getErrorStream): Likewise.
5033 (getInputStream): Likewise.
5034 (getOutputStream): Likewise.
5035 (waitFor): Declare as native.
5036 (startProcess): New native method.
5037 (cleanup): Likewise.
5038 (ConcreteProcess): Define.
5039 (outputStream, inputStream, errorStream): New members.
5040 (procHandle, exitCode): Likewise.
5042 * java/lang/natWin32Process.cc
5043 (java::lang::ConcreteProcess::cleanup): Define.
5044 (java::lang::ConcreteProcess::destroy): Likewise.
5045 (java::lang::ConcreteProcess::hasExited): Likewise.
5046 (java::lang::ConcreteProcess::waitFor): Likewise.
5047 (new_string): Likewise.
5048 (java::lang::ConcreteProcess::startProcess): Likewise.
5050 2003-02-10 Raif S. Naffah <raif@fl.net.au>
5052 * java/math/BigInteger.java:
5053 Updated notice to include years 2002 and 3.
5054 Added 2 private (int) arrays with values from the HAC (Handbook of
5055 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
5056 and t[] that contains nbr. of tests --used in isProbablePrime().
5058 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
5060 * java/math/BigInteger.java (make(int[],int), add(int,int),
5061 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
5062 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
5063 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
5066 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
5067 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
5068 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
5069 BIs and returns void.
5070 (modInverse(BI)): Use new signatures of euclidInv().
5072 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
5073 static small primes instead of remainder().
5074 Use pre-computed max nbr of trials based on bitlength of BI to test.
5075 Use pre-computed small primes for the trial tests instead of random
5078 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
5081 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
5082 invoacation of MPN.chars_per_word(). not used.
5084 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
5085 local var and used where needed.
5087 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
5088 Combined declaration with initialisation of locals.
5091 * java/math/BigInteger.java: Style changes
5092 (pow(int)): Removed 'else' keyword.
5093 (toString(int)): idem.
5094 (doubleValue()): idem.
5095 (bitLength()): idem.
5096 (equals(Object)): Use static methods name in same class w/o prepending
5098 (doubleValue()): idem.
5099 (setNegative(BI)): idem.
5101 (and(BI,int)): idem.
5104 (byteArrayToIntArray()): Removed casting to (int). this is
5106 (canonicalize()): idem.
5107 (alloc(int)): Always instantiate a new BI.
5109 2003-02-10 Tom Tromey <tromey@redhat.com>
5111 * java/sql/Timestamp.java (compareTo(Object)): New method.
5112 (compareTo(Timestamp)): Likewise.
5113 (serialVersionUID): Updated.
5115 2003-02-07 Mark Wielaard <mark@klomp.org>
5117 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
5118 when verify is true.
5119 (JarFile(File, boolean)): Likewise.
5120 (manifestRead): Set manifestRead field correctly.
5122 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5124 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
5125 tests; see patch #1016 on Savannah.
5127 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5129 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
5130 (toString): do not return Strings starting with . and - erroneously.
5131 Improves Mauve results to 12 of 600 instead of 16 of 338 on
5134 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5136 * java/beans/PropertyDescriptor.java
5137 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5139 (PropertyDescriptor(String, Class, String, String)): Likewise.
5140 (PropertyDescriptor(String, Method, Method): Factor out getter and
5141 setter method sanity checks into new method.
5142 (findMethods): Don't do parameter sanity checking of get method here.
5143 (checkMethods): New method.
5145 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5147 * java/beans/PropertyDescriptor.java: Reformat.
5149 2003-02-04 Tom Tromey <tromey@redhat.com>
5151 * java/io/PipedOutputStream.java (flush): Declare as throwing
5154 * java/io/PipedWriter.java (close): Declare as throwing
5156 * java/io/StringWriter.java (close): Declare as throwing
5159 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5161 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5162 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5163 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5164 "_JNI_OnLoad@8" (MSVC).
5166 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5168 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5169 convention on Win32 to invoke native JNI methods.
5171 2003-02-03 Andrew Haley <aph@redhat.com>
5173 * configure.host (x86_64): Enable interpreter.
5175 2003-02-03 Andrew Haley <aph@redhat.com>
5177 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5178 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5179 * configure.in (BACKTRACESPEC): New.
5180 * configure: Regenerate.
5182 2003-02-02 Tom Tromey <tromey@redhat.com>
5184 * configure: Rebuilt.
5185 * configure.in (TOOLKIT) [xlib]: Set correctly.
5187 * Makefile.in: Rebuilt.
5188 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5191 2003-01-31 Mark WIelaard <mark@klomp.org>
5193 * Makefile.in: Rebuilt.
5194 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5196 2003-01-31 Tom Tromey <tromey@redhat.com>
5198 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5199 cast to element type.
5200 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5201 (_Jv_JNI_GetObjectArrayElement): Likewise.
5203 * Makefile.in: Rebuilt.
5204 * Makefile.am (cond_x_ltlibrary): Renamed library to
5205 lib-gnu-awt-xlib.la.
5206 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5207 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5208 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5209 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5210 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5211 (lib_gnu_awt_xlib_la_LINK): Likewise.
5212 (install-exec-hook): Removed.
5213 (lib-gnu-awt-xlib.la): Renamed.
5215 2003-01-31 Tom Tromey <tromey@redhat.com>
5217 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5218 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5219 aclocal.m4 and lost in some merge.
5221 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5222 Don't try to find graphics configuration.
5223 * java/awt/Toolkit.java (default_toolkit_name): Use new
5224 Configuration entry.
5225 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5227 * configure: Rebuilt.
5228 * configure.in (TOOLKIT): New subst.
5229 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5230 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5231 directory. Make output directories for .c files.
5232 * Makefile.in: Rebuilt.
5233 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5234 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5235 (all_java_source_files): Added new sources.
5236 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5237 (gtk_c_files): New macro.
5238 (gtk_c_source_files): New macro.
5239 (cond_gtk_ltlibrary): New macro.
5240 ($(gtk_c_files)): New target.
5241 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5242 (gtk_awt_peer_sources): New macro.
5243 (gtk_c_headers): New macro.
5244 ($(gtk_c_headers)): New target.
5245 (ACLOCAL_AMFLAGS): New macro.
5246 * gtk.m4, glib.m4, libart.m4: New files.
5247 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5248 gnu/java/awt/peer/gtk/GdkGraphics.java,
5249 gnu/java/awt/peer/gtk/GtkArg.java,
5250 gnu/java/awt/peer/gtk/GtkArgList.java,
5251 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5252 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5253 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5254 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5255 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5256 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5257 gnu/java/awt/peer/gtk/GtkClipboard.java,
5258 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5259 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5260 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5261 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5262 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5263 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5264 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5265 gnu/java/awt/peer/gtk/GtkImage.java,
5266 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5267 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5268 gnu/java/awt/peer/gtk/GtkListPeer.java,
5269 gnu/java/awt/peer/gtk/GtkMainThread.java,
5270 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5271 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5272 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5273 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5274 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5275 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5276 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5277 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5278 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5279 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5280 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5281 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5282 gnu/java/awt/peer/gtk/GtkToolkit.java,
5283 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5284 gnu/java/awt/peer/gtk/TestAWT.java,
5285 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5286 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5287 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5288 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5289 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5290 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5291 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5292 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5293 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5294 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5295 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5296 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5297 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5298 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5299 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5300 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5301 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5302 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5303 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5304 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5305 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5306 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5307 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5308 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5309 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5310 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5311 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5312 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5313 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5314 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5315 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5316 jni/classpath/native_state.c, jni/classpath/native_state.h,
5317 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5319 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5321 * java/util/Properties.java (load): Ignore backslash before EOF.
5323 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5325 * java/lang/natClass.cc (initializeClass): Check tables when
5326 (state == JV_STATE_IN_PROGRESS).
5327 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5328 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5329 interpreted classes.
5330 (linkClass0): Use _Jv_WaitForState.
5332 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5334 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5335 object when finished.
5337 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5339 * libjava/configure.host: Disable can_unwind_signal on darwin.
5341 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5344 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5345 additionally containing id of the owner thread as well as
5346 the number of nested times the thread has acquired the mutex.
5347 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5348 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5349 (_Jv_MutexUnlock): Check if really the owner thread, reset
5350 owner thread id to 0 before leaving, if leaving for the last
5352 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5354 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5355 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5357 Pass handle of the broadcast event, instead of a pointer to it
5358 in Win32 ResetEvent( ) call.
5359 Remove incorrect return values.
5360 (_Jv_CondDestroy): Close both event handles and delete
5362 (_Jv_CondNotify): Check if really the owner thread.
5363 (_Jv_CondNotifyAll): Check if really the owner thread.
5364 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5365 (really_start): Use SetEvent( ) to signal daemon_cond.
5366 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5367 WaitForSingleObject( ) instead to wait for daemon_cond to be
5370 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5372 * configure.in: Specifically define HAVE_BACKTRACE if building
5374 * include/win32.h: Remove HAVE_BACKTRACE definition.
5375 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5376 * configure: Rebuilt.
5378 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5380 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5381 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5382 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5383 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5384 * Makefile.in, configure: Rebuilt.
5386 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5389 * java/io/natFileWin32.cc (performList): Append only "*.*"
5390 if the canonical file path already has a "\" at the end.
5392 2003-01-24 Tom Tromey <tromey@redhat.com>
5394 * defineclass.cc (handleMethodsEnd): Precompute code for static
5396 (handleCodeAttribute): Likewise.
5397 * resolve.cc (ncode): Use run_class for unsynchronized static
5399 * include/java-interp.h (class _Jv_InterpMethod): Declare
5401 * interpret.cc (run_synch_class): Initialize class.
5402 (run) [insn_invokestatic]: Don't initialize class.
5403 [insn_anewarray]: Likewise.
5404 [insn_multianewarray]: Likewise.
5405 (run_class): New function.
5407 2003-01-24 Tom Tromey <tromey@redhat.com>
5409 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5412 2003-01-22 Andrew Haley <aph@redhat.com>
5414 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5415 * configure.host (CHECKREFSPEC): Define for x86_64.
5417 2003-01-21 Tom Tromey <tromey@redhat.com>
5419 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5422 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5424 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5425 looking at any characters.
5426 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5428 (isAbsolute): Check path's length as well.
5430 2003-01-17 Mark Wielaard <mark@klomp.org>
5432 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5433 (nat_source_files): Add natVMObjectStreamClass.cc.
5434 * Makefile.in: Regenerated.
5435 * gcj/javaprims.h (namespace java): Regenerated.
5436 * java/io/ObjectStreamClass.java (getClassUID): Call
5437 VMObjectStreamClass.hasClassInitializer().
5438 (hasClassInitializer): Removed.
5439 * java/io/VMObjectStreamClass.java: New class.
5440 * java/io/natVMObjectStreamClass.cc: New file.
5441 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5443 2003-01-16 Mark Wielaard <mark@klomp.org>
5445 * java/net/SocketImpl.java (toString): Don't explicitly call
5446 toString() on possible null address.
5448 2003-01-16 Michael Koch <konqueror@gmx.de>
5450 * java/net/MulticastSocket.java
5451 (setInterface): Reindented.
5453 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5455 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5456 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5457 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5458 translateY arguments. Implement.
5459 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5460 down translation arguments.
5461 (drawPolyline, drawPolygon): Fix incorrect tests.
5462 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5463 translateX and translateY arguments.
5465 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5467 * Makefile.in: Rebuilt.
5468 * Makefile.am (xlib_includes): New macro.
5471 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5473 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5474 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5475 16-bit display mode.
5477 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5479 * java/awt/CardLayout.java (show): Rewrote.
5480 (gotoComponent): Removed `target' argument. Simplified code.
5481 Don't pre-compute `choice' unless `what' is FIRST or LAST.
5482 Changed all callers.
5485 2003-01-14 Michael Koch <konqueror@gmx.de>
5487 * java/net/InetSocketAddress.java
5488 (serialVersionUID): New member variable.
5489 * java/net/NetPermission.java
5490 (NetPermission): Dont implement java.io.Serialization directly.
5491 * java/net/SocketAddress.java:
5492 (serialVersionUID): Documentation added.
5494 2003-01-14 Michael Koch <konqueror@gmx.de>
5496 * java/awt/Label.java
5497 (Label): Implements javax.accessibility.Accessible;
5498 * java/awt/List.java
5499 (List): Implements javax.accessibility.Accessible;
5500 * java/awt/ScrollPane.java
5501 (ScrollPane): Implements javax.accessibility.Accessible;
5502 * java/awt/Scrollbar.java
5503 (Scrollbar): Implements javax.accessibility.Accessible;
5504 * java/awt/TextComponent.java
5505 (setCaretPosition): Throw exception, documentation added.
5506 * java/awt/Toolkit.java:
5507 Added some newlines in method documentations.
5508 (createButton): Exception documentation added.
5509 (createTextField): Exception documentation added.
5510 (createLabel): Exception documentation added.
5511 (createList): Exception documentation added.
5512 (createCheckbox): Exception documentation added.
5513 (createScrollbar): Exception documentation added.
5514 (createScrollPane): Exception documentation added.
5515 (createTextArea): Exception documentation added.
5516 (createChoice): Exception documentation added.
5517 (createFrame): Exception documentation added.
5518 (createWindow): Exception documentation added.
5519 (createDialog): Exception documentation added.
5520 (createMenuBar): Exception documentation added.
5521 (createMenu): Exception documentation added.
5522 (createMenuItem): Exception documentation added.
5523 (createFileDialog): Exception documentation added.
5524 (createCheckboxMenuItem): Exception documentation added.
5525 (loadSystemColors): Exception documentation added.
5526 (setDynamicLayout): Exception documentation added.
5527 (isDynamicLayoutSet): Exception documentation added.
5528 (isDynamicLayoutActive): Exception documentation added.
5529 (getScreenSize): Exception documentation added.
5530 (getScreenResolution): Exception documentation added.
5531 (getScreenInsets): Exception documentation added.
5532 (getColorModel): Exception documentation added.
5533 (getSystemClipboard): Exception documentation added.
5534 (getSystemSelection): Exception documentation added.
5535 (getMenuShortcutKeyMask): Exception documentation added.
5536 (getSystemEventQueue): Exception documentation added.
5537 * java/awt/Window.java:
5538 Reindented some code.
5539 (Window): Centralized implementation, documentation added.
5540 (finalize): Documentation added.
5541 (hide): Fixed typo in comment.
5542 (getWindowListeners): Documentation added.
5543 * java/awt/color/ColorSpace.java
5544 (toRGB): Documentation added.
5545 * java/awt/color/ICC_ColorSpace.java
5546 (ICC_ColorSpace): Documentation added.
5547 (toRGB): Throw exception, documentation added.
5548 (fromRGB): Throw exception, documentation added.
5549 (toCIEXYZ): Documentation added.
5550 (fromCIEXYZ): Documentation added.
5551 (getMinValue): Documentation added.
5552 (getMaxValue): Documentation added.
5553 * java/awt/geom/Dimension2D.java
5554 (clone): Documentation added.
5555 * java/awt/geom/GeneralPath.java
5556 (clone): Documentation added.
5557 * java/awt/geom/Line2D.java
5558 (clone): Documentation added.
5559 * java/awt/geom/QuadCurve2D.java
5560 (clone): Documentation added.
5561 * java/awt/image/ColorModel.java
5562 (ColorModel): Throw exception, documentation added.
5563 * java/awt/image/ImageFilter.java
5564 (clone): Doesnt throw CloneNotSupportedException.
5566 2003-01-14 Andrew Haley <aph@redhat.com>
5568 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5571 2003-01-10 Andrew Haley <aph@redhat.com>
5573 * include/dwarf2-signal.h: Remove x86_64.
5574 * configure.host (x86_64 DIVIDESPEC): Remove.
5575 * include/x86_64-signal.h: New file.
5576 * configure.in: Regenerate.
5578 2003-01-10 Michael Koch <konqueror@gmx.de>
5580 * java/net/DatagramSocket.java
5581 (ch): Description added.
5582 (remotePort): Initialize with -1.
5583 (connect): Doesnt throws SocketException.
5584 * java/net/MulticastSocket.java
5585 (setInterface): Merge with Classpath.
5586 * java/net/ServerSocket.java
5587 (closed): New member variable.
5588 (bind): Check if socket is closed.
5589 (close): Close an associated channel too, set new value to closed.
5590 (isBound): Reindented.
5591 (isClosed): Implemented.
5592 * java/net/Socket.java
5593 (closed): New member variable.
5594 (bind): Check if socket is closed.
5595 (connect): Check if socket is closed.
5596 (close): Close an associated channel too, set new value to closed.
5597 (isClosed): Implemented.
5599 2003-01-10 Michael Koch <konqueror@gmx.de>
5601 * java/awt/DisplayMode.java
5602 (equals): Fixed argument type and implementation.
5604 2003-01-07 Tom Tromey <tromey@redhat.com>
5606 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5607 JV_HASH_SYNCHRONIZATION.
5608 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5609 JV_HASH_SYNCHRONIZATION.
5611 2003-01-07 Michael Koch <konqueror@gmx.de>
5613 * java/net/DatagramSocket.java:
5614 Added classpath license info.
5615 (DatagramSocket): Merged description with classpath.
5616 (close): Merged description with classpath.
5617 (getChannel): Merged description with classpath.
5618 (getInetAddress): Merged description with classpath.
5619 (getPort): Merged description with classpath.
5620 (getLocalAddress): Merged description with classpath.
5621 (getLocalPort): Merged description with classpath.
5622 (getSoTimeout): Merged description with classpath.
5623 (setSoTimeout): Merged description with classpath.
5624 (getSendBufferSize): Merged description with classpath.
5625 (setSendBufferSize): Merged description with classpath.
5626 (getReceiveBufferSize): Merged description with classpath.
5627 (setReceiveBufferSize): Merged description with classpath.
5629 2003-01-04 Tom Tromey <tromey@redhat.com>
5631 * java/awt/List.java: Merged with Classpath.
5633 2003-01-03 Mark Wielaard <mark@klomp.org>
5635 * java/io/FileDescriptor.java (position): New private field.
5636 * java/io/natFileDescriptorPosix.cc (write): Up position.
5637 (setLength): Use and set position.
5638 (seek): Set position.
5639 (getFilePointer): Return position.
5640 (read): Up position.
5642 2003-01-03 Mark Wielaard <mark@klomp.org>
5644 Merge with Classpath:
5645 * java/io/ObjectStreamClass.java (lookup): Split method and call
5646 lookupForClassObject().
5647 (lookupForClassObject): New method.
5648 (isProxyClass): New field.
5649 (setClass): Set isProxyClass, add object to classLookupTable, set
5650 superClass and calculateOffsets.
5651 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5652 and not a proxy class.
5653 (setFields): Set accessible true for serialPersistentFields.
5654 (getClassUID): Same for suid. And check if suid is of type long.
5655 (hasClassInitializer): Don't throw NoSuchMethodError.
5657 2003-01-03 Mark Wielaard <mark@klomp.org>
5659 * java/io/FileInputStream.java (finalize): Don't explicitly
5660 finalize FileDescriptor.
5662 2003-01-03 Jeff Sturm <jsturm@one-point.com>
5664 * configure.host (sparc*-*): Enable bytecode interpreter.
5666 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
5668 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5669 Don't throw RemoteException.
5670 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5671 throw RemoteException.
5673 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
5675 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5676 proxyHost): New static fields.
5677 (<clinit>): Initialize new fields.
5678 (connect): Use proxy if necessary.
5679 (usingProxy): Implement.
5681 2003-01-03 Eric Blake <ebb9@email.byu.edu>
5683 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5684 (TreeIterator.remove): Prefer IllegalStateException over
5685 ConcurrentModificationException, to match Sun.
5687 2002-12-22 Anthony Green <green@redhat.com>
5689 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5691 2003-01-02 Mark Wielaard <mark@klomp.org>
5693 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5695 (HTTP_USE_PROXY): Add field.
5696 (getResponseVals): Only set responseCode when not yet explicitly
5699 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
5700 Mark Wielaard <mark@klomp.org>
5702 * java/util/zip/ZipFile.java (entries): Now HashMap.
5703 (readLeShort(DataInput, byte[])): Read from given byte array.
5704 (readLeInt(DataInput, byte[]): Likewise.
5705 (readLeShort(byte[] b, int off)): New method.
5706 (readLeInt(byte[] b, int off)): Likewise.
5707 (readEntries): Use byte arrays to read info in bigger chunks.
5708 (getEntries): Return HashMap.
5709 (getEntry): Use HashMap.
5710 (locBuf): New private field.
5711 (checkLocalHeader): Use locBuf to read info in one chunk.
5712 (getInputStream): Use entries HashMap, wrap PartialInputStream
5713 in BufferedInputStream.
5714 (ZipEntryEnumeration): Use HashMap and Interator.
5716 2003-01-02 Mark Wielaard <mark@klomp.org>
5717 Jeroen Frijters <jeroen@sumatra.nl>
5719 * java/net/URLClassLoader.java (Resource.getCodeSource):
5720 Fix check certs == null.
5721 (getCanonicalFileURL): Removed method.
5722 (JarURLLoader): Don't call removed method.
5723 (FileURLLoader): Likewise.
5724 (FileURLLoader.getResource): Don't canonicalize file name.
5726 2003-01-01 Tom Tromey <tromey@redhat.com>
5728 * Makefile.in: Rebuilt.
5729 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5730 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5731 java/awt/BufferCapabilities.java, java/awt/Button.java,
5732 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5733 java/awt/Container.java, java/awt/Cursor.java,
5734 java/awt/EventQueue.java, java/awt/FileDialog.java,
5735 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5736 java/awt/MenuBar.java, java/awt/MenuComponent.java,
5737 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5738 java/awt/Scrollbar.java, java/awt/TextArea.java,
5739 java/awt/TextField.java, java/awt/color/CMMException.java,
5740 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5741 java/awt/color/ProfileDataException.java,
5742 java/awt/datatransfer/Clipboard.java,
5743 java/awt/datatransfer/DataFlavor.java,
5744 java/awt/datatransfer/FlavorMap.java,
5745 java/awt/datatransfer/SystemFlavorMap.java,
5746 java/awt/dnd/DragGestureEvent.java,
5747 java/awt/dnd/DragGestureRecognizer.java,
5748 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5749 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5750 java/awt/im/InputMethodHighlight.java,
5751 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5752 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5754 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5755 `op' to BufferedImageOp.
5757 2002-12-31 Tom Tromey <tromey@redhat.com>
5759 Fix for PR libgcj/7416:
5760 * javax/naming/InitialContext.java (init): Use
5761 gnu.classpath.home.url.
5762 * java/security/Security.java: Use new properties.
5763 (loadProviders): Accept base url; use it.
5764 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5765 gnu.classpath.home.url.
5766 (gnu.classpath.home.url): Define.
5767 (gnu.classpath.vm.shortname): Likewise.
5769 2002-12-31 Tom Tromey <tromey@redhat.com>
5770 Ranjit Mathew <rmathew@hotmail.com>
5772 Fix for PR libgcj/8997:
5773 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5775 * include/posix.h (_Jv_platform_usleep): New function.
5776 * include/win32.h (_Jv_platform_usleep): New function.
5778 2002-12-29 Tom Tromey <tromey@redhat.com>
5780 * gcj/javaprims.h: Updated.
5781 * scripts/classes.pl (scan): Removed stray semicolon.
5783 2002-12-30 Mark Wielaard <mark@klomp.org>
5785 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5788 2002-12-30 Mark Wielaard <mark@klomp.org>
5790 * java/util/Properties (formatForOutput): Don't fall through to
5791 default case after escaping character.
5793 2002-12-30 Mark Wielaard <mark@klomp.org>
5795 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5798 2002-12-27 Mark Mitchell <mark@codesourcery.com>
5800 * boehm.cc: Remove stray semicolon.
5801 * interpret.cc: Likewise.
5802 * prims.cc: Likewise.
5803 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5804 earlier to ensure default arguments are processed.
5805 * gcj/array.h (JArray): Add forward declaration.
5806 (elements): Likewise.
5807 * gcj/javaprim.h: Remove stray semicolons.
5808 * include/bohm-gc.h: Likewise.
5809 * include/jni.h: Likewise.
5810 * include/jvm.h: Likewise.
5811 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5813 2002-12-23 Jeff Sturm <jsturm@one-point.com>
5815 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5817 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5818 idt tables after initializing superclass.
5819 * java/lang/natClassLoader.cc (uaddr): New typedef.
5820 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5821 if they are constant pool indicies. Don't link vtable, otable yet.
5823 2002-12-21 Anthony Green <green@redhat.com>
5825 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5827 * Makefile.in: Rebuilt.
5829 2002-12-19 Anthony Green <green@redhat.com>
5831 * Makefile.am (ordinary_java_source_files): Add
5832 org/xml/sax/helpers/NewInstance.java.
5833 * Makefile.in: Rebuilt.
5834 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5835 org/xml/sax/helpers/package.html: New files.
5836 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5837 http://www.saxproject.org.
5839 2002-12-19 Andrew Haley <aph@redhat.com>
5841 * java/util/natResourceBundle.cc: Include
5842 ArrayIndexOutOfBoundsException.h.
5843 (getCallingClassLoader): Don't put upper bound on stack search.
5844 Catch ArrayIndexOutOfBoundsException.
5846 2002-12-19 Tom Tromey <tromey@redhat.com>
5848 * libtool-version: Increased `current'.
5850 2002-12-19 Tom Tromey <tromey@redhat.com>
5852 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5854 * java/lang/ClassLoader.java (defineClass): Use chained
5855 exception when rethrowing.
5856 * defineclass.cc (handleClassBegin): Mark class as interpreted.
5857 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5859 * resolve.cc (_Jv_PrepareMissingMethods): New function.
5860 (_Jv_PrepareClass): Use it.
5861 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5862 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5863 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5864 (Class): _Jv_PrepareMissingMethods now friend.
5865 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5866 Record `NULL' for system class loader.
5867 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
5868 system class loader.
5869 (_Jv_FindClassInCache): Likewise.
5870 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
5871 (_Jv_FindClass): Special case system class loader.
5872 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5873 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5875 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5877 (_getDeclaredMethod): Don't return synthetic methods.
5878 (getDeclaredMethods): Likewise.
5879 (_getMethod): Likewise.
5880 (_getMethods): Likewise.
5882 2002-12-18 Raif Naffah <raif@fl.net.au>
5884 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5885 canonical form after divide().
5886 (modInverse): Likewise.
5888 2002-12-13 Casey Marshall <rsdio@metastatic.org>
5889 Mark Wielaard <mark@klomp.org>
5891 * java/security/SecurityRandom (digest): Removed field.
5892 (SecureRandom): Check all providers for case-insensitive SecureRandom
5893 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5895 (getInstance(String,Provider,boolean): New method.
5896 (getInstance(String)): Use new method.
5897 (getInstance(String,String)): Likewise.
5898 (getInstance(String,Provider)): Likewise.
5900 2002-12-13 Casey Marshall <rsdio@metastatic.org>
5902 * java/security/Security.java (loadProviders): Increment i only once.
5904 2002-12-12 Mark Wielaard <mark@klomp.org>
5906 * java/lang/ClassLoader.java (resolveClass0): Transform
5907 ClassNotFoundException to NoClassDefFoundError. Transform all other
5908 throwables to LinkageError.
5910 2002-12-11 Tom Tromey <tromey@redhat.com>
5912 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5914 * java/lang/ClassLoader.java (loadedClasses): New field.
5915 (defineClass): Fixed indentation. Put new class in
5917 (findLoadedClass): Implement here.
5918 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5920 2002-12-10 Tom Tromey <tromey@redhat.com>
5922 * Makefile.in: Rebuilt.
5923 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5924 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5925 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5926 * java/lang/natClassLoader.cc
5927 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5929 2002-12-10 Mark Wielaard <mark@klomp.org>
5930 Tom Tromey <tromey@redhat.com>
5932 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5933 (JarURLLoader): Use it.
5934 (FileURLLoader): Likewise.
5935 (JarURLResource.getURL): Use chained exception.
5936 (FileResource.getURL): Likewise.
5937 (FileURLLoader.getResource): Use canonical file name.
5938 (addURL): Indentation fix.
5940 2002-12-10 Tom Tromey <tromey@redhat.com>
5942 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5943 From Laurent Bardet <l.bardet@magic.fr>.
5945 2002-12-09 Tom Tromey <tromey@redhat.com>
5947 * include/win32.h (_Jv_platform_solib_prefix): New define.
5948 (_Jv_platform_solib_suffix): Likewise.
5949 * include/posix.h (_Jv_platform_solib_prefix): New define.
5950 (_Jv_platform_solib_suffix): Likewise.
5951 * java/lang/natRuntime.cc: Include StackTrace.h.
5952 (_load): Use findLibrary and new platform defines.
5953 (nativeGetLibname): Use new platform defines.
5955 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5958 2002-12-08 Mark Wielaard <mark@klomp.org>
5960 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5961 cache remote jar files.
5962 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5963 add File.separator to URL when it is a directory.
5964 * java/lang/ClassLoader.java: Add Classpath javadoc.
5966 (getParent): Add (disabled) security check.
5967 (findLibrary): New default method.
5968 * java/net/JarURLConnection.java (getManifest): Implement.
5969 (getInputStream): Only create InputStream when entry exists.
5970 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5972 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5974 2002-12-08 Mark Wielaard <mark@klomp.org>
5976 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5977 (lastDefaultLocale): New field.
5978 (getBundle): When Locale.getDefault != lastDefaultLocale reset
5979 resourceBundleCache.
5981 2002-12-06 Mark Wielaard <mark@klomp.org>
5983 * java/net/InetAddress.java (toString): Use hostname when not null,
5984 don't do an explicit reverse getHostName() lookup.
5985 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5986 NullPointerException.
5988 2002-12-06 Tom Tromey <tromey@redhat.com>
5990 * include/java-interp.h (class _Jv_InterpMethod): Added
5992 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
5993 mark `prepared' field of interpreted method.
5994 * interpret.cc (compile): Use _Jv_AllocBytes.
5996 2002-12-05 Andrew Haley <aph@redhat.com>
5998 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5999 #ifdef (HAVE_BACKTRACE) around the whole function body.
6001 2002-12-05 Tom Tromey <tromey@redhat.com>
6003 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
6004 * resolve.cc: Don't include AbstractMethodError.h.
6005 (_Jv_abstractMethodError): Removed.
6006 * defineclass.cc (handleMethodsBegin): Initialize method index to
6008 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
6009 method index for "new" final method.
6010 (_Jv_SetVTableEntries): Compare index against -1 instead of using
6011 isVirtualMethod. Added `flags' argument.
6012 (_Jv_MakeVTable): Throw exception for abstract method in concrete
6015 2002-12-04 Tom Tromey <tromey@redhat.com>
6017 * java/net/SocketPermission.java (hashCode): Rewrote.
6019 2002-12-04 Tom Tromey <tromey@redhat.com>
6021 * Makefile.in: Rebuilt.
6022 * Makefile.am (nat_source_files): Added natVMSecurityManager,
6024 * java/util/ResourceBundle.java (Security): Removed.
6025 (getCallingClassLoader): Now native.
6026 * java/util/natResourceBundle.cc: New file.
6027 * java/lang/natVMSecurityManager.cc: New file.
6028 * java/lang/VMSecurityManager.java (getClassContext): Now native.
6030 2002-12-03 Mark Wielaard <mark@klomp.org>
6032 * java/util/jar/JarFile.java (manifest): Not final.
6033 (manifestRead): New field.
6034 (JarFile): Don't read Manifest in constructor.
6035 (getManifest): New method.
6036 (JarEnumeration.nextElement): Use new method.
6037 (getEntry): Likewise.
6038 * java/util/zip/ZipFile.java (name): Final.
6040 (entries): Change type to Hashtable.
6041 (closed): New field.
6042 (ZipFile): Don't read enties in constructor.
6043 (readEntries): Use Hashtable.
6044 (close): Set new close flag and set entries to null inside
6046 (entries): Contruct enumeration using new getEntries() method and
6048 (getEntryIndex): Removed.
6049 (getEntries): New method.
6050 (getEntry): Use new getEntries() method and entries Hastable.
6051 (getInputStream): Likewise.
6052 (size): Return getEntries().size().
6053 (ZipEntryEnumeration): Wrap entries Hashtable elements.
6054 * java/util/zip/ZipEntry.java (cal): Don't initialize.
6056 (dostime): New field.
6057 (zipFileIndex): Removed.
6058 (ZipEntry(ZipEntry)): Copy dostime.
6059 (setDOSTime): Now final and doesn't convert dos time.
6060 (getDOSTime): Likewise.
6061 (setTime): Convert dos time.
6062 (getTime): Likewise.
6063 (getCalendar): New method.
6064 (setExtra): Use setTime().
6065 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
6067 2002-12-03 Tom Tromey <tromey@redhat.com>
6069 * java/lang/Character.java (forDigit): Formatting fix.
6071 2002-12-03 Raif Naffah <raif@fl.net.au>
6073 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
6074 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
6075 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
6077 2002-12-03 Andrew Haley <aph@redhat.com>
6079 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
6081 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
6082 (_Jv_PopClass): New.
6083 (_Jv_PushClass): New.
6084 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
6085 discover the ClassLoader of our caller.
6086 (_Jv_CheckArrayStore): Don't check that a class is assignment
6087 compatible with Object.
6088 * java/lang/natVMTHrowable.cc: Delete.
6089 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
6090 java.lang.VMThrowable.
6091 (StackTrace(), StackTrace(int)): New constructors.
6092 (classAt, methodAt, update, methodAtAddress): New methods.
6094 * java/lang/VMThrowable.java: Use StackTrace instead of
6096 * java/lang/Class.h (getClassLoaderInternal): New.
6097 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
6098 Be friendly with gnu::gcj::runtime::StackTrace.
6099 (Object.chain): New field.
6100 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
6101 gnu::gcj::runtime::StackTrace.
6102 * gnu/gcj/runtime/natStackTrace.cc: New file.
6103 * gnu/gcj/runtime/MethodRef.java: New file.
6104 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
6105 instead of getClassLoader().
6106 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
6107 java::lang::VMThrowable.
6108 * Makefile.am (core_java_source_files): Add MethodRef.java,
6110 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
6111 * Makefile.in: Rebuild.
6113 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
6115 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
6116 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
6117 yes also for sh-linux* and sh[34]*-linux*.
6118 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
6119 set SIGNAL_HANDLER to use DWARF2 exception for them.
6120 * configure: Regenerate.
6122 2002-12-02 Tom Tromey <tromey@redhat.com>
6124 * jni.cc: Added `name' argument.
6125 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
6126 `const char *' argument.
6127 (class _Jv_JNIEnv) [DefineClass]: Likewise.
6129 2002-12-01 Tom Tromey <tromey@redhat.com>
6131 Bug compatibility, for PR libgcj/8738:
6132 * java/io/CharArrayWriter.java (close): Do nothing.
6134 (reset): Don't touch `closed'.
6135 (write(int)): Don't throw IOException.
6136 (write(char[],int,int)): Likewise.
6137 (write(String,int,int)): Likewise.
6140 2002-12-01 Mark Wielaard <mark@klomp.org>
6142 * java/lang/SecurityManager.java: Remerge comments, indenting and
6143 checkXXX methods with Classpath.
6145 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6147 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6148 getNormalizedComponents): Fix calculation which was using one too
6149 many bits in the unnormalized format.
6151 2002-11-29 Gary Benson <gbenson@redhat.com>
6154 * java/beans/Introspector.java (flushCaches): New method.
6155 (flushFromCaches): Likewise.
6157 2002-11-29 Michael Koch <konqueror@gmx.de>
6159 * java/nio/channels/DatagramChannel.java
6160 (open): Added exception documentation.
6161 (write): Added exception documentation.
6162 (connect): Added exception documentation.
6163 (disconnect): Added exception documentation.
6164 (isConnected): Added exception documentation.
6165 (read): Added exception documentation.
6166 (receive): Added exception documentation.
6167 (send): Added exception documentation.
6168 (validOps): Added exception documentation.
6169 * java/nio/channels/SocketChannel.java
6170 (open): Added exception documentation.
6171 (read): Added exception documentation.
6172 (write): Added exception documentation.
6173 (connect): Added exception documentation.
6174 (finishConnect): Added exception documentation.
6176 2002-11-29 Michael Koch <konqueror@gmx.de>
6178 * gnu/java/nio/DatagramChannelImpl:
6179 (fd): New member variable to store file descriptor of socket.
6180 * gnu/java/nio/SelectionKeyImpl.java:
6182 (readyOps): New member variable.
6183 (interestOps): New member variable.
6184 (readyOps): Implemented.
6185 (readyOps): New method to set member variable readyOps.
6186 (interestOps): Replaced ops by interestOps.
6187 * gnu/java/nio/SelectorImpl.java:
6188 (SelectorImpl): Initialize key sets.
6189 (select): Call select with -1 instead of Long.MAX_VALUE).
6190 (java_do_select): Make it a native method.
6191 (getFDsAsArray): New helper method.
6192 (select): Remove canceled keys, give only interested file discriptors
6193 to java_do_select, set ready ops.
6194 (add): No need to initialize keys set here.
6195 (add_selected): No need to initialize selected set here.
6196 (deregisterCanceledKeys): New helper method.
6197 (register): Set interest ops, set attachments, added handling of datagram
6199 * gnu/java/nio/ServerSocketChannelImpl:
6200 (SocketAccept): Renamed from NioSocketAccept.
6201 (implConfigureBlocking): Implemented.
6202 (accept): Use SocketAccept instead of NioSocketAccept.
6203 * gnu/java/nio/SocketChannelImpl:
6204 Reactivate native methods.
6206 2002-11-29 Michael Koch <konqueror@gmx.de>
6208 * gnu/java/nio/natByteBufferImpl.cc,
6209 gnu/java/nio/natCharBufferImpl.cc,
6210 gnu/java/nio/natDoubleBufferImpl.cc,
6211 gnu/java/nio/natFloatBufferImpl.cc,
6212 gnu/java/nio/natIntBufferImpl.cc,
6213 gnu/java/nio/natLongBufferImpl.cc,
6214 gnu/java/nio/natSelectorImpl.cc,
6215 gnu/java/nio/natServerSocketChannelImpl.cc,
6216 gnu/java/nio/natShortBufferImpl.cc,
6217 gnu/java/nio/natSocketChannelImpl.cc:
6218 New files that implement native functionalities.
6220 2002-11-29 Michael Koch <konqueror@gmx.de>
6222 * gnu/java/nio/ByteBufferImpl.java
6223 (ByteBufferImpl): Moved position() after limit.
6224 (nio_*): Use native implementation.
6225 * gnu/java/nio/CharBufferImpl.java:
6227 (endian): New member variable string endianess of buffer.
6228 (CharBufferImpl): Moved position() after limit.
6229 (nio_*): Use native implementation.
6230 (subSequence): Implemented.
6231 * gnu/java/nio/DoubleBufferImpl.java
6232 (DoubleBufferImpl): Moved position() after limit.
6233 (nio_*): Use native implementation.
6234 * gnu/java/nio/FloatBufferImpl.java
6236 (FloatBufferImpl): Moved position() after limit.
6237 (nio_*): Use native implementation.
6238 * gnu/java/nio/IntBufferImpl.java
6239 Added needed imports, Reformated.
6240 (IntBufferImpl): Moved position() after limit.
6241 (nio_*): Use native implementation.
6242 * gnu/java/nio/LongBufferImpl.java
6244 (LongBufferImpl): Moved position() after limit.
6245 (nio_*): Use native implementation.
6246 * gnu/java/nio/ShortBufferImpl.java
6248 (ShortBufferImpl): Moved position() after limit.
6249 (nio_*): Use native implementation.
6251 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6253 * java/util/Locale.java (toString): Improve efficiency if country
6254 and variant are both empty.
6256 2002-11-26 Tom Tromey <tromey@redhat.com>
6258 * verify.cc (pop_init_ref): New method.
6259 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6260 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6261 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6262 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6263 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6264 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6265 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6266 let `this' argument be uninitialized. Don't let `null' be passed
6267 as `this' to construtor.
6269 2002-11-26 Mark Wielaard <mark@klomp.org>
6271 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6272 * javax/transaction/HeuristicMixedException.java: Likewise.
6273 * javax/transaction/HeuristicRollbackException.java: Likewise.
6274 * javax/transaction/InvalidTransactionException.java: Likewise.
6275 * javax/transaction/NotSupportedException.java: Likewise.
6276 * javax/transaction/RollbackException.java: Likewise.
6277 * javax/transaction/Status.java: Likewise.
6278 * javax/transaction/Synchronization.java: Likewise.
6279 * javax/transaction/SystemException.java: Likewise.
6280 * javax/transaction/Transaction.java: Likewise.
6281 * javax/transaction/TransactionManager.java: Likewise.
6282 * javax/transaction/TransactionRequiredException.java: Likewise.
6283 * javax/transaction/TransactionRolledbackException.java: Likewise.
6284 * javax/transaction/UserTransaction.java: Likewise.
6285 * javax/transaction/xa/XAException.java: Likewise.
6286 * javax/transaction/xa/XAResource.java: Likewise.
6287 * javax/transaction/xa/Xid.java: Likewise.
6289 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6291 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6293 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6294 * include/posix.h (socklen_t): Define if not already defined.
6296 2002-11-25 Tom Tromey <tromey@redhat.com>
6298 * verify.cc (type::compatible): Backed out broken change.
6300 * verify.cc (type::compatible): Check initialization status
6302 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6303 Don't use NULLCHECK.
6305 2002-11-23 H.J. Lu <hjl@gnu.org>
6307 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6308 Include ../config/accross.m4.
6309 * aclocal.m4; Rebuild.
6310 * configure: Likewise.
6312 2002-11-23 Mark Wielaard <mark@klomp.org>
6314 * javax/naming/AuthenticationException.java: Update copyright header.
6315 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6316 * javax/naming/Binding.java: Likewise.
6317 * javax/naming/CannotProceedException.java: Likewise.
6318 * javax/naming/CommunicationException.java: Likewise.
6319 * javax/naming/CompositeName.java: Likewise.
6320 * javax/naming/CompoundName.java: Likewise.
6321 * javax/naming/ConfigurationException.java: Likewise.
6322 * javax/naming/Context.java: Likewise.
6323 * javax/naming/ContextNotEmptyException.java: Likewise.
6324 * javax/naming/InitialContext.java: Likewise.
6325 * javax/naming/InsufficientResourcesException.java: Likewise.
6326 * javax/naming/InterruptedNamingException.java: Likewise.
6327 * javax/naming/LimitExceededException.java: Likewise.
6328 * javax/naming/LinkException.java: Likewise.
6329 * javax/naming/LinkLoopException.java: Likewise.
6330 * javax/naming/LinkRef.java: Likewise.
6331 * javax/naming/MalformedLinkException.java: Likewise.
6332 * javax/naming/NameAlreadyBoundException.java: Likewise.
6333 * javax/naming/NameClassPair.java: Likewise.
6334 * javax/naming/NameNotFoundException.java: Likewise.
6335 * javax/naming/NameParser.java: Likewise.
6336 * javax/naming/NamingEnumeration.java: Likewise.
6337 * javax/naming/NamingSecurityException.java: Likewise.
6338 * javax/naming/NoInitialContextException.java: Likewise.
6339 * javax/naming/NoPermissionException.java: Likewise.
6340 * javax/naming/NotContextException.java: Likewise.
6341 * javax/naming/OperationNotSupportedException.java: Likewise.
6342 * javax/naming/PartialResultException.java: Likewise.
6343 * javax/naming/Reference.java: Likewise.
6344 * javax/naming/Referenceable.java: Likewise.
6345 * javax/naming/ReferralException.java: Likewise.
6346 * javax/naming/ServiceUnavailableException.java: Likewise.
6347 * javax/naming/SizeLimitExceededException.java: Likewise.
6348 * javax/naming/TimeLimitExceededException.java: Likewise.
6349 * javax/naming/directory/Attribute.java: Likewise.
6350 * javax/naming/directory/AttributeInUseException.java: Likewise.
6351 * javax/naming/directory/AttributeModificationException.java: Likewise.
6352 * javax/naming/directory/Attributes.java: Likewise.
6353 * javax/naming/directory/BasicAttribute.java: Likewise.
6354 * javax/naming/directory/BasicAttributes.java: Likewise.
6355 * javax/naming/directory/DirContext.java: Likewise.
6356 * javax/naming/directory/InitialDirContext.java: Likewise.
6357 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6359 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6360 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6361 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6362 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6363 * javax/naming/directory/ModificationItem.java: Likewise.
6364 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6365 * javax/naming/directory/SchemaViolationException.java: Likewise.
6366 * javax/naming/directory/SearchControls.java: Likewise.
6367 * javax/naming/directory/SearchResult.java: Likewise.
6368 * javax/naming/event/EventContext.java: Likewise.
6369 * javax/naming/event/EventDirContext.java: Likewise.
6370 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6371 * javax/naming/event/NamingEvent.java: Likewise.
6372 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6373 * javax/naming/event/NamingListener.java: Likewise.
6374 * javax/naming/event/ObjectChangeListener.java: Likewise.
6375 * javax/naming/ldap/Control.java: Likewise.
6376 * javax/naming/ldap/ControlFactory.java: Likewise.
6377 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6378 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6379 * javax/naming/ldap/HasControls.java: Likewise.
6380 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6381 * javax/naming/ldap/LdapContext.java: Likewise.
6382 * javax/naming/ldap/LdapReferralException.java: Likewise.
6383 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6384 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6385 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6386 * javax/naming/spi/DirObjectFactory.java: Likewise.
6387 * javax/naming/spi/DirStateFactory.java: Likewise.
6388 * javax/naming/spi/DirectoryManager.java: Likewise.
6389 * javax/naming/spi/InitialContextFactory.java: Likewise.
6390 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6391 * javax/naming/spi/NamingManager.java: Likewise.
6392 * javax/naming/spi/ObjectFactory.java: Likewise.
6393 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6394 * javax/naming/spi/ResolveResult.java: Likewise.
6395 * javax/naming/spi/Resolver.java: Likewise.
6396 * javax/naming/spi/StateFactory.java: Likewise.
6398 * javax/naming/spi/NamingManager.java (ofb): Package private.
6400 2002-11-21 Mark Wielaard <mark@klomp.org>
6402 * java/net/URL.java: Merge with Classpath (partly).
6403 * java/net/URLStreamHandler: Merge with Classpath.
6405 2002-11-22 Michael Koch <konqueror@gmx.de>
6408 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6410 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6411 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6413 2002-11-21 Michael Koch <konqueror@gmx.de>
6415 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6416 Only the new network functions should be in it.
6418 2002-11-21 Michael Koch <konqueror@gmx.de>
6420 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6421 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6423 2002-11-21 Michael Koch <konqueror@gmx.de>
6425 * java/nio/channels/AsynchronousCloseException.java,
6426 java/nio/channels/CancelledKeyException.java,
6427 java/nio/channels/ClosedByInterruptException.java,
6428 java/nio/channels/ConnectionPendingException.java,
6429 java/nio/channels/FileLockInterruptionException.java,
6430 java/nio/channels/IllegalSelectorException.java,
6431 java/nio/channels/NoConnectionPendingException.java,
6432 java/nio/channels/NonReadableChannelException.java,
6433 java/nio/channels/NonWritableChannelException.java,
6434 java/nio/channels/NotYetBoundException.java,
6435 java/nio/channels/NotYetConnectedException.java,
6436 java/nio/channels/OverlappingFileLockException.java,
6437 java/nio/channels/UnresolvedAddressException.java,
6438 java/nio/channels/UnsupportedAddressTypeException.java:
6440 * Makefile.am (ordinary_java_source_files): Added new files.
6441 * Makefile.in: Regenerated.
6443 2002-11-21 Michael Koch <konqueror@gmx.de>
6446 (_Jv_socket): New method.
6447 (_Jv_connect): New method.
6448 (_Jv_close): New method.
6449 (_Jv_platform_close_on_exec): Prefixed system function with "::".
6450 (_Jv_bind): New method.
6451 (_Jv_listen): New method.
6452 (_Jv_write): New method.
6453 (_Jv_read): New method.
6455 (_Jv_socket): New method.
6456 (_Jv_connect): New method.
6457 (_Jv_close): New method.
6458 (_Jv_bind): New method.
6459 (_Jv_listen): New method.
6460 (_Jv_write): New method.
6461 (_Jv_read): New method.
6462 * java/net/natNetworkInterface.cc:
6463 Include platform.h, removed inclusion of socket.h
6464 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6465 ::close() by _Jv_close().
6466 * java/net/natPlainDatagramSocketImpl.cc:
6467 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6468 added some new lines to make code more readable.
6469 (create): Replaced ::socket() by _Jv_socket().
6470 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6471 * java/net/natPlainSocketImpl.cc:
6472 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6473 removed include of socket.h, removed some windows defines
6474 (now in include/win32.h).
6475 (create): Replaced ::socket() by _Jv_socket().
6476 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6477 (write): Replaced ::read by _Jv_write().
6478 (read): Replaced ::read by _Jv_read().
6480 2002-11-20 Michael Koch <konqueror@gmx.de>
6482 * Makefile.am (ordinary_java_source_files):
6483 Added java/nio/channels/FileChannel.java.
6484 * Makefile.in: Regenerated.
6486 2002-11-20 Michael Koch <konqueror@gmx.de>
6488 * java/io/FileInputStream.java
6489 (getChannel): New method.
6490 * java/io/FileOutputStream.java
6491 (getChannel): New method.
6492 * java/net/ServerSocket.java
6493 (bind): Removed duplicate code and called another bind method instead.
6494 * java/nio/channels/SelectionKey.java
6495 (isValid): Removed wrong exception documentation.
6496 * java/nio/channels/ServerSocketChannel.java
6497 (accept): Added exception documentation.
6498 (open): Fixed typo, added exception documentation.
6499 * java/nio/channels/spi/AbstractSelectableChannel.java
6500 (implCloseChannel): Added exception documentation.
6502 (register): Added exception documentation.
6504 2002-11-20 Andreas Jaeger <aj@suse.de>
6506 * configure: Regenerated with new libtool.m4.
6508 2002-11-19 Tom Tromey <tromey@redhat.com>
6510 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6512 (finalize_referred_to_object): Don't modify `referent' or `copy'
6514 (add_to_hash): Correctly set `n->next' when updating list.
6515 * java/lang/ref/Reference.java (enqueue): Return false if already
6518 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
6520 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6521 to function and function pointer declarations in accordance with
6522 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6523 based on whether __GCJ_JNI_IMPL__ has been defined or not.
6524 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6525 JNI function definitions.
6527 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6529 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6530 that was causing CoderResults to be cached, not WeakReferences
6533 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6535 * java/security/KeyStore.java (getInstance): Fix
6536 comment and throw IllegalArgumentException if
6537 given provider is null.
6538 (getInstance): New method for jdk1.4 compatibility.
6540 2002-11-18 Michael Koch <konqueror@gmx.de>
6542 * java/net/PlainSocketImpl.java: Fix imports.
6544 2002-11-18 Michael Koch <konqueror@gmx.de>
6546 * java/nio/channels/SelectionKey.java
6547 (isValid): Added exception documentation.
6548 * java/nio/channels/Selector.java
6549 (open): Declare "throws IOException".
6551 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6553 * java/nio/charset/Charset.java
6554 (<clinit>): New method.
6555 (encode): Synchronize use of cached encoder object.
6556 (decode): Synchronize use of cached encoder object.
6558 2002-11-18 Michael Koch <konqueror@gmx.de>
6560 * gnu/java/nio/ByteBufferImpl.java,
6561 gnu/java/nio/CharBufferImpl.java,
6562 gnu/java/nio/DatagramChannelImpl.java,
6563 gnu/java/nio/DoubleBufferImpl.java,
6564 gnu/java/nio/FileChannelImpl.java,
6565 gnu/java/nio/FloatBufferImpl.java,
6566 gnu/java/nio/IntBufferImpl.java,
6567 gnu/java/nio/LongBufferImpl.java,
6568 gnu/java/nio/PipeImpl.java,
6569 gnu/java/nio/SelectionKeyImpl.java,
6570 gnu/java/nio/SelectorImpl.java,
6571 gnu/java/nio/SelectorProviderImpl.java,
6572 gnu/java/nio/ServerSocketChannelImpl.java,
6573 gnu/java/nio/ShortBufferImpl.java,
6574 gnu/java/nio/SocketChannelImpl.java,
6575 java/nio/DoubleBuffer.java,
6576 java/nio/FloatBuffer.java,
6577 java/nio/IntBuffer.java,
6578 java/nio/LongBuffer.java,
6579 java/nio/ShortBuffer.java,
6580 java/nio/channels/FileChannel.java: New files.
6582 2002-11-18 Michael Koch <konqueror@gmx.de>
6584 * Makefile.am (ordinary_java_source_files):
6585 Added java/nio/ReadOnlyBufferException.java and
6586 java/nio/channels/ClosedSelectorException.java.
6587 * Makefile.in: Regenerated.
6589 2002-11-18 Michael Koch <konqueror@gmx.de>
6591 * java/net/PlainSocketImpl.java: Reworked imports.
6592 * java/net/ServerSocket.java
6593 (ServerSocket): Create socket.
6594 * java/net/SocketAddress.java: Documentation added.
6595 * java/net/natPlainSocketImpl.cc: Reindented.
6596 * java/nio/ReadOnlyBufferException.java: New file
6597 * java/nio/channels/ClosedChannelException.java: Documentation added.
6598 * java/nio/channels/ClosedSelectorException.java: New file.
6600 2002-11-17 Mark Wielaard <mark@klomp.org>
6602 * java/net/HttpURLConnection.java ((getPermission): Take port
6604 (getErrorStream): Implement.
6606 2002-11-17 Mark Wielaard <mark@klomp.org>
6608 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6610 2002-11-16 Mark Wielaard <mark@klomp.org>
6612 Integrate work by Raif S. Naffah (raif@fl.net.au)
6613 * java/security/DummyKeyPairGenerator.java (clone): New method.
6614 * java/security/DummyMessageDigest.java (clone): New method.
6615 (engineUpdate): Now public.
6616 (engineReset): Likewise.
6617 (engineDigest): Likewise.
6618 (engineGetDigestLength): New method.
6619 * java/security/DummySignature.java (clone): New method.
6620 * java/security/KeyPairGenerator.java (provider): Now package private.
6621 (getInstance(String)): Use getInstance(String,Provider).
6622 (getInstance(String,String): Use getInstance(String,Provider)
6623 (getInstance(String,Provider): New method.
6624 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6625 * java/security/KeyPairGeneratorSpi.java (clone): New method.
6626 * java/security/MessageDigest.java (provider): Now package private.
6627 (getInstance(String): Use getInstance(String,Provider).
6628 (getInstance(String,String): Use getInstance(String,Provider)
6629 (getInstance(String,Provider): New method.
6630 * java/security/Provider.java (toCanonicalKey): New method.
6631 (get): New method that uses toCanonicalKey().
6632 (put): Use toCanonicalKey().
6634 * java/security/Security.java (insertProviderAt): Provider index is one
6635 based, not zero based.
6636 (addProvider): Likewise.
6637 (removeProvider): Likewise.
6638 * java/security/Signature.java (provider): Now package private.
6639 (getInstance(String)): Use getInstance(String,Provider).
6640 (getInstance(String,String): Use getInstance(String,Provider)
6641 (getInstance(String,Provider): New method.
6642 (getInstance(String,String,Provider): Don't cast DummySignature.
6644 2002-11-15 Tom Tromey <tromey@redhat.com>
6647 * java/util/zip/GZIPInputStream.java (read): Check file size.
6648 Look in inflater for remaining input bytes.
6649 (read4): Added buf and offset arguments.
6651 2002-11-12 Eric Blake <ebb9@email.byu.edu>
6653 * java/applet/AppletContext.java: Fix typo and remove redundant
6656 2002-11-14 Tom Tromey <tromey@redhat.com>
6658 * java/lang/natRuntime.cc (insertSystemProperties): Set
6661 2002-11-13 Michael Koch <konqueror@gmx.de>
6663 * java/nio/ByteBuffer.java
6664 (allocate): New method.
6669 2002-11-13 Michael Koch <konqueror@gmx.de>
6671 * java/nio/channels/AlreadyConnectedException.java:
6672 Removed unneeded import.
6673 (AlreadyConnectedException): Documentation added.
6674 * java/nio/channels/Pipe.java
6675 (SinkChannel.SinkChannel): Documentation added.
6676 (SinkChannel.validOps): New method.
6677 (SourceChannel.SourceChannel): Documentation added.
6678 (SourceChannel.validOps): New method.
6679 (Pipe): Documentation added.
6680 (open): Documentation added.
6681 (SinkChannel.channel): Documentation added.
6682 (SourceChannel.channel): Documentation added.
6683 * java/nio/channel/SelectableChannel.java
6684 (SelectableChannel): Documentation added.
6685 (blockingLock): Documentation added.
6686 (configureBlocking):Documentation added.
6687 (isBlocking):Documentation added.
6688 (isRegistered):Documentation added.
6689 (keyFor):Documentation added.
6690 (provider):Documentation added.
6691 (register): Documentation added.
6692 (validOps): Documentation added.
6693 * jaba/nio/channels/SelectionKey.java
6694 (SelectionKey): Documentation added.
6695 (attach): Documentation added.
6696 (attachment): Documentation added.
6697 (isAcceptable): Documentation added.
6698 (isConnetable): Documentation added.
6699 (isReadable): Documentation added.
6700 (isWritable): Documentation added.
6701 (cancel): Documentation added.
6702 (channel): Documentation added.
6703 (interestOps): Documentation added.
6704 (isValid): Documentation added.
6705 (readyOps): Documentation added.
6706 (selector): Documentation added.
6707 * jaba/nio/channels/Selector.java
6708 (Selector): Documentation added.
6709 (open): Documentation added.
6710 (close): Documentation added.
6711 (isOpen): Documentation added.
6712 (keys): Documentation added.
6713 (provider): Documentation added.
6714 (select): Documentation added.
6715 (selectedKeys): Documentation added.
6716 (selectNow): Documentation added.
6717 (wakeup): Documentation added.
6718 * java/nio/channels/spi/AbstractInterruptibleChannel.java
6719 (AbstractInterruptibleChannel): Documentation added.
6720 (opened): Default to true;
6721 (begin): Documentation added.
6722 (close): Set opened to false, documentation added.
6723 (isOpen): Documentation added.
6724 * java/nio/channels/spi/AbstractSelectionKey.java
6725 (AbstractSelectionKey): Documentation added.
6726 (cancel): Documentation added.
6727 (isValid): Documentation added.
6728 * java/nio/channels/spi/AbstractSelector.java
6729 (AbstractSelector): Documentation added.
6730 (begin): Documentation added.
6731 (close): Documentation added.
6732 (isOpen): Documentation added.
6733 (deregister): Documentation added.
6734 (end): Documentation added.
6735 (provider): Documentation added.
6736 (implCloseSelector): Documentation added.
6737 (register): Documentation added.
6738 * java/nio/channels/spi/SelectorProvider.java
6739 (SelectorProvider): Documentation added.
6740 (openDatagramChannel): Documentation added.
6741 (openPipe): Documentation added.
6742 (openSelector): Documentation added.
6743 (openServerSocketChannel): Documentation added.
6744 (openSocketChannel): Documentation added.
6745 (provider): Documentation added.
6747 2002-11-12 Michael Koch <konqueror@gmx.de>
6749 * java/nio/Buffer.java: Implemented.
6750 * java/nio/CharBuffer.java: New file.
6751 * java/nio/InvalidMarkException.java: New file.
6752 * java/nio/channels/DatagramChannel.java: Implemented.
6753 * java/nio/channels/ServerSocketChannel.java: Implemented.
6754 * java/nio/channels/SocketChannel.java: Implemented.
6755 * java/nio/channels/spi/AbstractChannel.java: Removed.
6756 * java/nio/channels/spi/AbstractSelectableChannel.java:
6758 * java/nio/charset/Charset.java:
6759 Merge from Classpath.
6760 * java/nio/charset/CharsetDecoder.java: New file.
6761 * java/nio/charset/CharsetEncoder.java: New file.
6762 * java/nio/charset/CoderResult.java: New file.
6763 * Makefile.am (ordinary_java_source_files): Added new files.
6764 * Makefile.in: Regenerated.
6766 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6768 * gnu/java/nio/charset/ISO_8859_1.java,
6769 gnu/java/nio/charset/Provider.java,
6770 gnu/java/nio/charset/US_ASCII.java,
6771 gnu/java/nio/charset/UTF_16.java,
6772 gnu/java/nio/charset/UTF_16BE.java,
6773 gnu/java/nio/charset/UTF_16Decoder.java,
6774 gnu/java/nio/charset/UTF_16Encoder.java,
6775 gnu/java/nio/charset/UTF_16LE.java,
6776 gnu/java/nio/charset/UTF_8.java: New files.
6778 2002-11-11 Michael Koch <konqueror@gmx.de>
6780 * java/nio/charset/CharacterCodingException.java:
6781 This class must be public.
6782 * java/nio/charset/CoderMalfunctionError.java:
6783 This class must be public.
6784 * java/nio/charset/CodingErrorAction.java:
6785 This class must be public.
6786 * java/nio/charset/IllegalCharsetNameException.java:
6787 This class must be public, better implementation.
6788 * java/nio/charset/MalformedInputException.java:
6789 This class must be public, better implementation.
6790 * java/nio/charset/UnmappableCharacterException.java:
6791 This class must be public, better implementation.
6792 * java/nio/charset/UnsupportedCharsetException.java:
6793 This class must be public, better implementation.
6795 2002-11-11 Michael Koch <konqueror@gmx.de>
6797 * java/nio/BufferOverflowException.java,
6798 java/nio/BufferUnderflowException.java: New file.
6799 * Makefile.am (ordinary_java_source_files):
6801 * Makefile.in: Regenerated.
6803 2002-11-10 Tom Tromey <tromey@redhat.com>
6805 * java/awt/Container.java (validate): Use tree lock.
6806 (getComponent): Likewise.
6807 (getComponents): Likewise.
6808 (addImpl): Likewise.
6810 (removeAll): Likewise.
6811 (processEvent): Fixed indentation.
6812 (getComponentAt): Use tree lock.
6813 (findComponentAt): Likewise.
6814 (removeNotify): Likewise.
6815 (isAncestorOf): Likewise.
6817 (visitChildren): Likewise.
6818 (findNextFocusComponent): Likewise.
6819 (addNotifyContainerChildren): Likewise.
6820 (getAccessibleChildrenCount): Likewise.
6821 (getAccessibleChild): Likewise.
6823 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6824 (getSize): Likewise.
6825 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6826 (getSize): Likewise.
6827 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6828 (calcSize): Likewise.
6829 * java/awt/CardLayout.java (getSize): Use tree lock.
6830 (gotoComponent): Likewise.
6831 (layoutContainer): Likewise.
6833 * java/io/natFileDescriptorWin32.cc (read): Handle case where
6835 * java/io/natFileDescriptorPosix.cc (read): Handle case where
6838 * java/io/Externalizable.java, java/io/FilePermission.java,
6839 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6840 java/io/SerializablePermission.java, java/text/Format.java,
6841 java/util/AbstractMap.java, java/util/HashMap.java,
6842 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6843 versions from Classpath.
6845 2002-11-10 Anthony Green <green@redhat.com>
6847 * java/util/jar/Attributes.java (Name): Fix name check.
6849 2002-11-10 Mark Wielaard <mark@klomp.org>
6851 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6852 with getName() as message.
6853 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6856 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6859 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
6861 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6862 for Win32. JNICALL has been defined to __stdcall to be compatible
6865 2002-11-10 Tom Tromey <tromey@redhat.com>
6867 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6868 (setRows): Check newRows, not rows.
6870 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6872 2002-11-09 Tom Tromey <tromey@redhat.com>
6874 * java/applet/Applet.java, java/applet/AppletContext.java,
6875 java/applet/AppletStub.java, java/applet/AudioClip.java,
6876 java/awt/CardLayout.java,
6877 java/awt/ContainerOrderFocusTraversalPolicy.java,
6878 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6879 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6880 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6881 java/awt/color/ICC_ColorSpace.java,
6882 java/awt/color/ICC_Profile.java,
6883 java/awt/color/ICC_ProfileGray.java,
6884 java/awt/color/ICC_ProfileRGB.java,
6885 java/awt/datatransfer/DataFlavor.java,
6886 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6887 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6888 New versions from Classpath.
6889 * Makefile.in: Rebuilt.
6890 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6893 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6896 * java/awt/List.java (processEvent): Added missing `else's.
6898 * java/awt/Window.java (show): validate() before showing. Make
6900 (isDisplayable): New method.
6902 2002-11-07 Mark Wielaard <mark@klomp.org>
6904 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6905 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6907 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6909 (loadClass): Take String as codebases.
6910 (getClassAnnotation): Use MyClassLoader annotations.
6911 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6912 call exportObject(this).
6914 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6915 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6916 (setAnnotation): Don't set locBytesStream and locStream.
6917 (replaceObject): Removed.
6918 (flush): Don't test locStream.
6919 (getLocBytes): LikeWise.
6920 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6921 (leaseCache): New field.
6922 (dirty): Use leaseCache.
6923 (LeaseRecord): New inner class.
6924 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6925 explicitly call exportObject().
6926 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6927 false to communicate with Sun JDK130.
6928 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6929 * gnu/java/rmi/server/RMIObjectInputStream.java
6930 (UnicastConnectionManager): Removed field.
6931 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6932 Use UnicastServer.getExportedRef().
6933 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6934 (expireTime): Likewise.
6935 (CONNECTION_TIMEOUT): Likewise.
6936 (disconnect): Call sock.close().
6937 (isExpired): New method.
6938 (resetTime): Likewise.
6939 (run): Use do while loop and catch Exception for discardConnection().
6940 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6941 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6942 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6943 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6944 (exportObject): Use refcache.
6945 (unexportObject): Likewise.
6946 (getExportedRef): New method.
6947 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6949 (exportObject): Save manager.serverobj.
6950 (getStub): New method.
6952 2002-11-07 Mark Wielaard <mark@klomp.org>
6954 * java/lang/reflect/natField.cc (getBoolean): Use getType().
6955 (getByte): Likewise.
6956 (getShort): Likewise.
6958 (getLong): Likewise.
6959 (getFloat): Likewise.
6960 (getDouble): Likewise.
6962 (setChar): Likewise.
6963 (setByte): Likewise.
6964 (setShort): Likewise.
6966 (setLong): Likewise.
6967 (setFloat): Likewise.
6968 (setDouble): Likewise.
6970 2002-11-07 Michael Koch <konqueror@gmx.de>
6972 * java/awt/Choice.java,
6973 java/awt/Container.java,
6974 java/awt/GridBagLayout.java:
6975 Fixed documentation.
6976 * java/awt/peer/ContainerPeer.java:
6979 2002-11-07 Michael Koch <konqueror@gmx.de>
6981 * java/awt/color/ICC_Profile.java:
6982 Added missing constants.
6983 * java/awt/color/ICC_ColorSpace.java
6984 (getMinValue): Added dummy implementation.
6985 (getMaxValue): Added dummy implementation.
6986 * java/awt/datatransfer/DataFlavor.java
6987 (imageFlavor): Added.
6988 (isMimeTypeEqual): Must be final.
6989 (getDefaultRepresentationClass): Must be non-static.
6990 (getDefaultRepresentationClassAsString): Must be non-static.
6991 * java/awt/dnd/DragSourceContext.java
6992 (dragExit): Corrected argument.
6993 (dragDropEnd): Corrected argument.
6994 * java/awt/dnd/DragSourceListener.java.java
6995 (dragExit): Corrected argument.
6996 (dragDropEnd): Corrected argument.
6997 * java/awt/font/TextHitInfo.java
6998 (toString): Added stubbed implementation.
6999 * java/awt/geom/PathIterator.java:
7000 The constants must be static.
7001 * java/awt/image/VolatileImage.java
7002 (IMAGE_INCOMPATIBLE): Fixed typo.
7003 * java/awt/image/renderable/RenderableImage.java
7004 (HINTS_OBSERVED): Must be static.
7005 * java/beans/BeanInfo.java:
7006 Constants must be final.
7008 2002-11-06 Tom Tromey <tromey@redhat.com>
7010 From svens@it.uu.se. For PR libgcj/8481.
7011 * java/util/Random.java (nextInt(int)): Only use 31 bits.
7013 2002-11-06 Tom Tromey <tromey@redhat.com>
7015 * jni.cc (array_from_valist): Assume that jlong won't be
7018 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
7020 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
7022 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
7025 2002-11-03 Tom Tromey <tromey@redhat.com>
7027 * java/lang/ClassLoader.java (loadClass): Call loadClass on
7028 VMClassLoader, not findClass.
7030 2002-11-03 Jeff Sturm <jsturm@one-point.com>
7032 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
7033 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
7034 _Jv_DetermineVTableIndex, to determine vtable offset.
7035 (_Jv_DetermineVTableIndex): Remove.
7036 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
7038 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
7040 2002-11-03 Tom Tromey <tromey@redhat.com>
7042 * java/nio/channels/AlreadyConnectedException.java: Extend
7043 IllegalStateException, per spec.
7045 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
7047 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
7049 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7051 * java/util/ArrayList.java (readObject, writeObject): Only read/write
7054 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7056 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
7057 initial estimated size to avoid enlarge buffer frequently.
7059 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
7061 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
7062 ClassLoader when null.
7063 (ProxyType.hashCode): Loader null check no longer needed.
7064 (ProxyType.sameTypes): New method.
7065 (ProxyType.equals): Use new method.
7067 2002-10-31 Mark Wielaard <mark@klomp.org>
7069 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
7071 * java/net/URLEncoder.java (encode): Likewise.
7073 2002-10-31 Mark Wielaard <mark@klomp.org>
7075 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
7076 when stream is closed.
7077 (closeEntry): Likewise.
7079 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
7080 ZipException when no entry active.
7081 (closeEntry): Likewise.
7084 2002-11-02 Tom Tromey <tromey@redhat.com>
7086 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
7087 * java/lang/natClass.cc (initializeClass): Don't return just
7088 because self==thread.
7091 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
7092 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
7094 2002-11-02 Andreas Schwab <schwab@suse.de>
7096 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
7098 (FLAGS_TO_PASS): Define.
7099 * Makefile.in: Regenerated.
7101 2002-11-01 Michael Koch <konqueror@gmx.de>
7103 * java/nio/ByteOrder.java: New file.
7104 * java/nio/channels/DatagramChannel.java:
7105 (DatagramChannel): New constructor.
7106 * java/nio/channels/Pipe.java: New file.
7107 * java/nio/channels/SelectableChannel.java: New file.
7108 * java/nio/channels/SelectionKey.java: New file.
7109 * java/nio/channels/Selector.java: New file.
7110 * java/nio/channels/ServerSocketChannel.java
7111 (ServerSocketChannel): New constructor.
7112 * java/nio/channels/SocketChannel.java
7113 (SocketChannel): New constructor.
7114 * java/nio/channels/Pipe.java: New file.
7115 * java/nio/channels/spi/AbstractChannel.java: New file.
7116 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
7117 * java/nio/channels/spi/AbstractSelectableChannel.java:
7119 (AbstractSelectableChannel): New stubbed method.
7120 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
7121 * java/nio/channels/spi/AbstractSelector.java: New file.
7122 * java/nio/channels/spi/SelectorProvider.java: New file.
7123 * java/nio/charset/Charset.java: New file.
7124 * java/nio/charset/CoderMalfunctionError.java: New file.
7125 * java/nio/charset/CodingErrorAction.java: New file.
7126 * java/nio/charset/spi/CharsetProvider.java
7127 (charsetForName): Uncommented.
7128 * Makefile.am (java_native_source_files): Added new files.
7129 * Makefile.in: Regenerated.
7131 2002-11-01 Michael Koch <konqueror@gmx.de>
7133 * java/net/InetAddress.java:
7134 (isAnyLocalAddress): Implemented.
7135 (isLoopbackAddress): Implemented, comment added.
7136 (isLinkLocalAddress): Implemented, documentation added.
7137 (isSiteLocalAddress): Implemented, documentation added.
7138 (isMCGlobal): Implemented, documentation added.
7139 (isMCNodeLocal): Implemented, documentation added.
7140 (isMCLinkLocal): Implemented, documentation added.
7141 (isMCSiteLocal): Implemented, documentation added.
7142 (isMCOrgLocal): Implemented, documentation added.
7143 (getHostName): Documentation added.
7144 (getCanonicalHostName): Implemented, documentation added.
7145 (getAddress): Documentation added.
7146 (hashCode): Documentation added.
7147 (equals): Documentation added.
7148 (toString): Fixed implementation.
7149 (getByAddress): Use Inet4Address and Inet6Address.
7150 (lookup): New linewrap.
7151 (getByName): SecurityManager check added, support Inet4Address and
7152 Inet6address, comments added.
7153 (getAllByName): SecurityManager check added, comments added.
7154 * java/net/Inet6Address.java:
7155 (Inet6Address): Initialize parent class with addr instead of null.
7157 (equals): Documentation added.
7158 (getFile): Documentation added.
7159 (hashCode): Documentation added.
7160 * java/net/natInetAddress.cc:
7161 (aton): Fix IPv6 support.
7162 * java/net/natPlainDatagramSocketImpl.cc:
7163 (peek): Throw PortUnreachableException when suitable.
7164 (peekData): Throw PortUnreachableException when suitable.
7165 (send): Throw PortUnreachableException when suitable.
7166 (receive): Throw PortUnreachableException when suitable.
7168 2002-10-27 Mark Wielaard <mark@klomp.org>
7170 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7172 (readLeShort): Likewise and use byte[].
7173 (readLeInt): Likewise.
7174 (readEntries): Use new versions of methods and use byte[] for reading
7175 a complete zip entry. Add ZipFile name to exceptions.
7176 (entries): Add ZipFile name to exceptions.
7177 (getEntry): Likewise.
7178 (checkLocalHeader): Use new versions of methods and add ZipFile name
7181 2002-10-31 Mark Anderson <mark@panonet.net>
7183 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7186 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7188 * configure.in: Disable hash sync when not using threads.
7189 * configure: Regenerated.
7191 2002-10-24 Tom Tromey <tromey@redhat.com>
7193 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7194 (_Jv_FindSymbolInExecutable): Removed argument name.
7195 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7196 java.library.path is set.
7198 * gij.cc (help): Document --showversion.
7199 (version): Don't exit.
7200 (main): Handle --showversion. Exit if --version given.
7202 2002-10-23 Tom Tromey <tromey@redhat.com>
7204 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7205 (array_from_valist): Correctly handle promotion for jint, jlong,
7206 jfloat, and jdouble.
7208 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7210 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7211 GetFileAttributesEx( ) to find file length and modification times,
7212 as the latter is not present on Windows 95.
7214 2002-10-21 Michael Koch <konqueror@gmx.de>
7217 (URL): Activate SecurityManager checks.
7218 (equals): Use URLStreamHandler implementation instead of doing it
7219 alone. This allows special protocol stream handlers to change default
7221 (hashCode): Use URLStreamHandler implementation instead of doing it
7222 alone. This allows special protocol stream handlers to change default
7224 * java/net/URLStreamHandler.java
7225 (equals): Implemented default URL equality check.
7226 (hostsEqual): Implemented default URL equality check.
7227 (hashCode): Implemented default URL hashCode algorithm.
7228 * java/net/natPlainDatagramSocketImpl.cc:
7229 No lines longer then 80 characters.
7231 2002-10-20 Adam Megacz <adam@xwt.org>
7233 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7234 * configure.in: enabled hash sync on Win32
7235 * include/win32-threads.h (_Jv_ThreadId_t): added.
7236 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7237 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7238 removed some posix-isms, use Thread::sleep() instead of usleep,
7239 added code to clear bottom three bits if platform has a broken
7241 * include/win32-threads.h (_Jv_ThreadId_t): added.
7243 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7245 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7246 runtime property "gnu.gcj.progname" containing the name used to
7247 invoke the current Java program (similar to argv[0] for C
7250 2002-10-15 Tom Tromey <tromey@redhat.com>
7252 Fix for PR libgcj/8234:
7253 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7254 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7256 2002-10-13 Mark Wielaard <mark@klomp.org>
7258 * mauve-libgcj: Enable Mauve tests that compile now.
7260 2002-10-11 Mark Wielaard <mark@klomp.org>
7262 Fix for PR libgcj/8142
7263 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7264 loading native modules.
7266 2002-10-10 Michael Koch <konqueror@gmx.de>
7268 * javax/swing/AbstractListModel.java
7269 (getListDataListeners): New stubbed method.
7270 javax/swing/DefaultBoundedRangeModel.java
7271 (getChangeListeners): New stubbed method.
7272 javax/swing/DefaultSingleSelectionModel.java
7273 (getChangeListeners): New stubbed method.
7275 2002-10-10 Michael Koch <konqueror@gmx.de>
7277 * gcj/.cvsignore: New file to ignore files generated during build.
7278 * include/.cvsignore: New file to ignore files generated during build.
7280 2002-10-10 Michael Koch <konqueror@gmx.de>
7282 * java/net/HttpURLConnection.java
7283 (getPermission): New method.
7284 (getErrorStream): New stub method.
7285 (getHeaderFieldDate): New stub method.
7286 * java/net/Inet4Address.java:
7287 (isLinkLocalAddress): Typo fixed.
7288 * java/net/InetAddress.java:
7289 (readResolve): New stubbed method (for serialization).
7290 (isAnyLocalAddress): New stubbed method.
7291 (isLoopbackAddress): New stubbed method.
7292 (isLinkLocalAddress): New stubbed method.
7293 (isSiteLocalAddress): New stubbed method.
7294 (isMCGlobal): New stubbed method.
7295 (isMCNodeGlobal): New stubbed method.
7296 (isMCLinkLocal): New stubbed method.
7297 (isMCSiteLocal): New stubbed method.
7298 (isMCOrgLocal): New stubbed method.
7299 (getCanonicalHostName): New stubbed method.
7300 (getByAddress): Create instances of Inet4Address/Inet6Address,
7301 instead of InetAddress, documentation added.
7302 * java/net/MulticastSocket.java
7303 (getInterface): Removed FIXME.
7304 (getNetworkInterface): New method.
7305 (setNetworkInterface): New method.
7306 * java/net/NetworkInterface.java:
7307 (toString): Use property "line.separator" instead of "\n".
7308 * java/net/URLConnection.java
7309 (getContent): New stubbed method.
7310 * java/net/URLStreamHandler.java:
7311 (equals): New stubbed method.
7312 (hostsEqual): New stubbed method.
7313 (hashCode): New stubbed method.
7314 * java/net/natNetworkInterface.cc:
7315 (getRealNetworkInterfaces): Create Inet4Address object
7316 instead of InetAddress.
7318 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7320 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7321 unsigned long temporary to implement insn_iushr shifts.
7323 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7325 * configure.host [s390*-*]: Enable Java interpreter.
7326 Enable hash synchronization. Add sysdeps dir.
7327 * sysdep/s390/locks.h: New file.
7329 2002-10-06 Mark Wielaard <mark@klomp.org>
7331 * java/lang/Thread.java (setDaemon): Check startable_flag,
7334 2002-10-07 Michael Koch <konqueror@gmx.de>
7336 * java/nio/Buffer.java: New stub file.
7337 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7339 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7340 * Makefile.in: Regenerated.
7342 2002-10-07 Michael Koch <konqueror@gmx.de>
7344 * java/nio/ByteBuffer.java:
7345 removed import of not commited class.
7347 2002-10-07 Michael Koch <konqueror@gmx.de>
7349 * java/nio/ByteBuffer.java,
7350 java/nio/MappedByteBuffer.java:
7351 New files, forgot to add these dummies.
7352 * Makefile.am (java_native_source_files): Added new files.
7353 * Makefile.in: Regenerated.
7355 2002-10-07 Michael Koch <konqueror@gmx.de>
7357 * java/nio/channels/AlreadyConnectedException.java,
7358 java/nio/channels/ClosedChannelException.java,
7359 java/nio/channels/ReadableByteChannel.java,
7360 java/nio/channels/InterruptibleChannel.java,
7361 java/nio/channels/Channel.java,
7362 java/nio/channels/ByteChannel.java,
7363 java/nio/channels/GatheringByteChannel.java,
7364 java/nio/channels/ScatteringByteChannel.java,
7365 java/nio/channels/WritableByteChannel.java,
7366 java/nio/charset/CharacterCodingException.java,
7367 java/nio/charset/IllegalCharsetNameException.java,
7368 java/nio/charset/MalformedInputException.java,
7369 java/nio/charset/UnmappableCharacterException.java,
7370 java/nio/charset/UnsupportedCharsetException.java,
7371 java/nio/charset/spi/CharsetProvider.java: New file.
7372 These files are exceptions or interfaces,
7373 no real or abstract classes.
7374 * Makefile.am (java_native_source_files): Added new files.
7375 * Makefile.in: Regenerated.
7377 2002-10-05 Michael Koch <konqueror@gmx.de>
7379 * java/net/InetAddress.java
7380 (getByAddress): Fixed documentation.
7381 (getByAddress): New method.
7382 * java/net/Inet4Address.java: New file.
7384 (URL): Documentation added.
7385 (getContent): Documentation added.
7386 (getContent): New stubbed method.
7387 (getQuery): New method.
7388 (openConnection): Documentation added.
7389 (openStream): Documentation added.
7390 (setURLStreamHandlerFactory): Documentation added.
7391 * java/net/URI.java: New stub file.
7393 (java_native_source_files): Added java/net/Inet4Address.java,
7394 java/net/Inet6Address.java and java/net/URI.java.
7395 * Makefile.in: Regenerated.
7397 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7399 * java/lang/ProtectionDomain.java (linesep): Remove field.
7400 (toString): Use System.getProperty("line.separator").
7402 2002-10-04 Michael Koch <konqueror@gmx.de>
7404 * java/security/Identity.java: Added serialVersionUID.
7405 * java/security/KeyPair.java: Added serialVersionUID.
7406 * java/security/Provider.java: Added serialVersionUID.
7407 * java/security/SecureRandom.java: Added serialVersionUID.
7408 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7409 * java/security/SignedObject.java: Added serialVersionUID.
7410 * java/security/cert/Certificate.java: Added serialVersionUID.
7412 2002-10-04 Mark Wielaard <mark@klomp.org>
7414 * java/security/Security.java: Use java.home or gnu.classpath.home
7416 (loadProviders): Extra dir argument.
7417 (getProvider): Return null when not found.
7419 2002-10-04 Mark Wielaard <mark@klomp.org>
7421 * java/lang/Throwable.java: Remerge with Classpath.
7423 2002-10-04 Michael Koch <konqueror@gmx.de>
7425 * java/net/InetAddress.java:
7426 (isMulticastAddress): Added documentation.
7427 (getHostAddress): Added documentation.
7428 (toString): Added documentation.
7429 (getByAddress): Fixed documentation.
7430 (getByName): Added documentation.
7431 (getAllByName): Added documentation.
7432 (getLocalHost): Added documentation.
7434 2002-10-04 Michael Koch <konqueror@gmx.de>
7436 * java/beans/beancontext/BeanContextChildSupport.java:
7437 Added serialVersionUID.
7438 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7439 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7440 * javax/naming/Name.java: Added serialVersionUID.
7442 2002-10-03 Adam Megacz <adam@xwt.org>
7444 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7445 some functionality that isn't supported yet on WIN32.
7447 2002-10-03 Tom Tromey <tromey@redhat.com>
7449 * Makefile.in: Rebuilt.
7450 * Makefile.am (awt_java_source_files): Added new files.
7452 2002-10-03 Michael Koch <konqueror@gmx.de>
7454 * java/net/InetAddress.java
7455 (class InetAddress): Removed final keyword.
7456 (equals): Fixed typo.
7457 (getByAddress): New method.
7459 2002-10-03 Michael Koch <konqueror@gmx.de>
7461 * java/awt/dnd/Autoscroll.java:
7462 New file, merge from Classpath.
7463 * java/awt/dnd/DragSourceAdapter.java:
7464 (dragExit): Fixed typos in argument type.
7465 (dragDropEnd): Fixed typos in argument type.
7466 * java/awt/dnd/DragSourceDropEvent.java:
7467 New file, merge from Classpath.
7468 * java/awt/dnd/DropTarget.java:
7469 Added stubs, merge from Classpath.
7470 * java/awt/dnd/DropTargetAdapter.java:
7471 New file, merge from Classpath.
7472 * java/awt/dnd/DropTargetContext.java:
7473 New file, merge from Classpath.
7474 * java/awt/dnd/DropTargetDragEvent.java:
7475 New file, merge from Classpath.
7476 * java/awt/dnd/DropTargetDropEvent.java:
7477 New file, merge from Classpath.
7478 * java/awt/dnd/DropTargetEvent.java:
7479 New file, merge from Classpath.
7480 * java/awt/dnd/DropTargetListener.java:
7481 New file, merge from Classpath.
7482 * java/awt/dnd/MouseDragGestureRecognizer.java:
7483 New file, merge from Classpath.
7484 * java/awt/dnd/peer/DropTargetContextPeer.java:
7485 New file, merge from Classpath.
7487 2002-10-03 Michael Koch <konqueror@gmx.de>
7489 * java/net/DatagramPacket.java
7490 (setLength): Fixed typo and be HTML-aware.
7491 * java/net/InetSocketAddress.java
7492 (InetSocketAddress): Correct initialization of hostname, fixed typo.
7493 (equals): Added comment about equality of InetSocketAddress objects.
7494 * java/net/ServerSocket.java
7495 (accept): Added checks.
7496 (isClosed): New stubbed method.
7497 * java/net/SocketOptions.java: Reindention.
7498 * java/net/SocketPermission
7499 (SocketPermission): Documentation fixed.
7501 2002-10-03 Michael Koch <konqueror@gmx.de>
7503 * java/net/DatagramSocket.java
7504 (receive): Check with SecurityManager AFTER the packet is received,
7505 check if connected to multicast address, documentation added.
7506 (send): Only check SecurityManager if connected, check address of
7508 (connect): Implemented, documentation added.
7509 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7510 * java/net/InetSocketAddress.java
7511 (whole file): Reindented.
7512 (hostname): New attribute.
7513 (InetSocketAddress): Initialize new attribute.
7514 (getAddress): Documentation added.
7515 (getHostName): Documentation added.
7516 (getPort): Documentation added.
7517 (hashCode): Documentation added.
7518 (isUnresolved): Documentation added.
7519 (toString): Conform to output of JDK 1.4.1, documentation added.
7520 * java/net/MulticastSocket.java
7521 (joinGroup): Removed FIXME, documentation added.
7522 (leaveGroup): Removed FIXME, documentation added.
7523 (send): Documentation added.
7524 * java/net/Socket.java
7525 (inputShutdown): New variable.
7526 (outputShutdown): New variable.
7527 (Socket): Initialize new variables.
7528 (getRemoteSocketAddress): Check if connected.
7529 (shutdownInput): Set new variable.
7530 (shutdownOutput): Set new variable.
7531 (isConnected): New method.
7532 (isClosed): New method.
7533 (isInputShutdown): New method.
7534 (isOutputShutdown): New method.
7535 * java/net/URLStreamHandler.java
7536 (URLStreamHandler): New method.
7537 (openConnection): Added documentation.
7538 (parseURL): Added documentation.
7539 (getHostAddress): New method.
7540 (getDefaultPort): New method.
7542 2002-10-02 Tom Tromey <tromey@redhat.com>
7544 * java/rmi/activation/ActivationDesc.java,
7545 java/rmi/activation/ActivationGroupDesc.java,
7546 java/rmi/activation/ActivationGroupID.java,
7547 java/rmi/activation/ActivationID.java: New versions from
7550 2002-09-30 Bo Thorsen <bo@suse.de>
7552 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7554 2002-09-30 Tom Tromey <tromey@redhat.com>
7556 * java/io/ObjectInputStream.java (resolveProxyClass): New method
7558 * Makefile.in: Rebuilt.
7559 * Makefile.am (rmi_java_source_files): Added new files.
7560 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7561 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7562 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7564 * gnu/java/rmi/dgc/DGCImpl.java,
7565 gnu/java/rmi/dgc/DGCImpl_Skel.java,
7566 gnu/java/rmi/dgc/DGCImpl_Stub.java,
7567 gnu/java/rmi/registry/RegistryImpl_Skel.java,
7568 gnu/java/rmi/registry/RegistryImpl_Stub.java,
7569 gnu/java/rmi/server/RMIHashes.java,
7570 gnu/java/rmi/server/RMIObjectInputStream.java,
7571 gnu/java/rmi/server/RMIObjectOutputStream.java,
7572 gnu/java/rmi/server/UnicastConnection.java,
7573 gnu/java/rmi/server/UnicastConnectionManager.java,
7574 gnu/java/rmi/server/UnicastRef.java,
7575 gnu/java/rmi/server/UnicastServer.java,
7576 gnu/java/rmi/server/UnicastServerRef.java,
7577 java/rmi/MarshalledObject.java,
7578 java/rmi/server/RMIClassLoader.java,
7579 java/rmi/server/RemoteObject.java,
7580 java/rmi/server/UnicastRemoteObject.java,
7581 java/security/SecureClassLoader.java: Merged from Classpath.
7583 2002-09-29 Anthony Green <green@redhat.com>
7585 * java/lang/reflect/UndeclaredThrowableException.java: New file.
7586 Imported from GNU Classpath.
7587 * java/lang/reflect/natProxy.cc: New file.
7588 * java/lang/reflect/InvocationHandler.java: New file. Imported
7590 * java/lang/reflect/Proxy.java: New file. Imported from GNU
7592 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7594 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7595 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7597 * gcj/javaprims.h ("Java"): Add new classes.
7598 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7599 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7600 java/lang/reflect/Proxy$$ProxyType.h): And this.
7601 (inner_nat_headers): Add these new headers.
7602 (ordinary_java_source_files): Add new files.
7603 (nat_source_files): Add new file.
7604 * Makefile.in: Rebuilt.
7606 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
7608 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7609 a single configuration.
7611 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7613 * java/util/TimeZone.java (getDSTSavings): New method.
7614 Fixes PR libgcj/7786.
7616 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7618 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7619 to see if `the_method == 0' before looking up vtable index.
7620 Fixes PR libgcj/7709.
7622 2002-09-25 Tom Tromey <tromey@redhat.com>
7624 * java/lang/natClassLoader.cc:
7625 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7626 * resolve.cc: Include NoClassDefFoundError.h, not
7627 ClassNotFoundException.h.
7628 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7630 * defineclass.cc: Don't include ClassNotFoundException.h.
7632 * resolve.cc: Include StringBuffer.
7633 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7635 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7636 allocated but not initialized.
7638 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7640 Fix for PR libgcj/7766:
7641 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7642 (getNextEntry): Set it.
7643 (closeEntry): Likewise.
7646 (available): Use it.
7648 2002-09-25 Michael Koch <konqueror@gmx.de>
7650 * java/net/DatagramSocket.java
7651 (DatagramSocket): Initialize new instance variables.
7652 (close): Reset new instance variables.
7653 (getLocalAddress): Remove unneeded SecurityManager usage.
7654 (getLocalPort): Check if socket is already bound.
7655 (isConnected): New method.
7656 (getInetAddress): Implemented.
7657 (getPort): Better Implementation, documentation fixed.
7658 (getRemoteSocketAddress): New method.
7659 * java/net/JarURLConnection.java
7660 (element): Typo fixed.
7661 (getMainAttributes): New method.
7662 (getAttributes): New method (stub only).
7663 (getManifest): New method (stub only).
7664 * java/net/NetPermission.java: Added serialVersionsUID.
7665 * java/net/Socket.java
7666 (connect): Check blocking mode of associated channel,
7667 documentation added.
7668 (getLocalSocketAddress): Better implementation.
7669 (getRemoteSocketAddress): Implemented.
7670 (isBound): New method.
7671 (setSendBufferSize): Documentation added.
7672 * java/net/SocketAddress.java: Added serialVersionsUID.
7673 * java/net/SocketPermission.java: Added serialVersionsUID.
7675 (URL): Wrap for shorter lines, initialize new instance variables,
7676 documentation added.
7677 (equals): Check new instance variables too.
7678 (getContent): Documentation added.
7679 (getPath): Documentation added.
7680 (getAuthority): New method.
7681 (getHost): Documentation added.
7682 (getPort): Documentation added.
7683 (getDefaultPort): New method.
7684 (getProtocol): Documentation added.
7685 (getUserInfo): Documentation added.
7686 (set): Initialize new instance variables, documentation added.
7687 * java/net/URLStreamHandler.java
7688 (setURL): New method.
7689 * java/net/natPlainDatagramSocketImpl.cc
7690 (connect): Fix exception name.
7691 (disconnect): Fix exception name.
7693 2002-09-25 Michael Koch <konqueror@gmx.de>
7695 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7696 * java/nio/channels/DatagramChannel.java:
7697 extends AbstractSelectableChannel
7698 * java/nio/channels/ServerSocketChannel.java:
7699 extends AbstractSelectableChannel
7700 * java/nio/channels/SocketChannel.java:
7701 extends AbstractSelectableChannel
7702 * Makefile.am (ordinary_java_source_files):
7703 java/nio/channels/spi/AbstractSelectableChannel.java added.
7704 * Makefile.in: Regenerated.
7706 2002-09-25 Michael Koch <konqueror@gmx.de>
7708 * java/net/DatagramSocket.java
7709 (DatagramSocket): Exception documentation added.
7710 (bind): Exception documentation added, addded SecurityManager check,
7711 added SocketAddress type check.
7712 (getSoTimeout): Check impl.
7713 (receive): Fix SecurityManager check, check impl, documentation added.
7714 (send): Check channel mode, documentation added.
7715 (connect): New method.
7716 (disconnect): Implemented.
7717 (getLocalSocketAddress): New method.
7718 (getReceiveBufferSize): Check impl.
7719 (setReuseAddress): Check impl.
7720 (getReuseAddress): Check impl.
7721 (setBroadcast): Check impl.
7722 (getBroadcast): Check impl.
7723 (setTrafficClass): Check impl, Documentation cleared.
7724 (getTrafficClass): Check impl.
7725 (getSendBufferSize): Check impl.
7726 (setReceiveBufferSize): Check impl, documentation added.
7727 (setSendBufferSize): Documentation added.
7728 (setDatagramSocketImplFactory): New method.
7729 * java/net/HttpURLConnection.java
7730 (HTTP_INTERNAL_ERROR): The correct code is 500.
7731 (HTTP_NOT_IMPLEMENTED): Added new constant.
7732 (setFollowRedirects): Documentation added.
7733 (getInstanceFollowRedirects): New method.
7734 (setInstanceFollowRedirects): New method.
7735 (setRequestMethod): Documentation added.
7736 (getResponseCode): Documentation added.
7737 (getResponseMessage): Documentation added.
7738 * java/net/JarURLConnection.java
7739 (JarURLConnection): protected since JDK 1.4.
7740 (getJarEntry): java.io.IOException to IOException, documentation added.
7741 (getJarFile): Documentation added.
7742 * java/net/ServerSocket.java
7743 (ServerSocket): Private to public, exception added.
7744 (ServerSocket): java.io.IOException to IOException, documentation added.
7745 (bind): Check socket address type, documentation added.
7746 (bind): java.io.IOException to IOException, documentation added.
7747 (accept): Documentation added.
7748 (implAccept): Check ch is not non-blocking, documentation added.
7749 (setSoTimeout): Documentation fixed.
7750 (setReceiveBufferSize): Documentation added.
7751 * java/net/Socket.java
7752 (Socket): Documentation added.
7753 (bind): Documentation added.
7754 (connect): Check socket address type, documentation added.
7755 (getRemoteSocketAddress): New method.
7756 (getLocalSocketAddress): New method.
7757 (setSoLinger): Documentation added.
7758 (getReuseAddress): New method.
7759 (setReuseAddress): New method.
7760 (getTrafficClass): New method.
7761 (setTrafficClass): New method.
7762 * java/net/URLStreamHandler.java
7763 (openConnection): java.io.IOException to IOException.
7764 (parseURL): Documentation added.
7765 (sameFile): public to protected, documentation added.
7766 (setURL): Documentation added.
7767 * java/nio/IllegalBlockingModeException.java: New file.
7768 * Makefile.am (ordinary_java_source_files):
7769 added java/nio/IllegalBlockingModeException.java
7770 * Makefile.in: Regenerated.
7772 2002-09-25 Michael Koch <konqueror@gmx.de>
7774 * java/net/DatagramPacket
7775 (DatagramPacket): Exception documentation added.
7776 (setData): Likewise.
7777 (setSocketAddress): Likewise.
7778 * java/net/DatagramSocketImpl.java
7779 (peek): Documentation addded.
7780 (peekData): Documentation addded.
7781 (send): Documentation addded.
7782 (receive): Documentation addded.
7783 (connect): New method.
7784 (disconnect): New method.
7785 (joinGroup): New abstract method.
7786 (leaveGroup): New abstract method.
7787 * java/net/InetSocketAddress.java
7788 (InetSocketAddress): Documentation added.
7789 (equals): final keyword added.
7790 (getAddress): final keyword added.
7791 (getHostName): final keyword added.
7792 (getPort): final keyword added.
7793 (hashCode): final keyword added.
7794 (isUnresolved): final keyword added.
7795 * java/net/MulticastSocket.java
7796 (MulticastSocket): Documentation added.
7797 (MulticastSocket): New method.
7798 (joinGroup): Documentation added.
7799 (joinGroup): New method.
7800 (leaveGroup): Documentation added.
7801 (leaveGroup): New method.
7802 (send): Documentation added.
7803 * java/net/NetworkInterface.java
7804 (getByName): Documentation added.
7805 (getByInetAddress): Documentation added.
7806 (getNetworkInterfaces): Documentation added.
7807 * java/net/PlainDatagramSocketImpl.java
7808 (connect): New method.
7809 (disconnect): New method.
7810 * java/net/SocketImpl.java
7811 (create): Documentation added.
7812 (shutdownInput): Convert public to protected, as it always was.
7813 (shutdownOutput): Convert public to protected, as it always was.
7814 * java/net/SocketOptions.java
7815 (whole file): Reintented.
7816 * java/net/URLClassLoader.java
7817 (URLClassLoader): SecurityManager check added, documentation added.
7818 (findResources): Documentation added.
7819 (findClass): Documentation added.
7820 (newInstance): More correct method arguments.
7821 * java/net/URLConnection.java
7822 (connect): Documentation added.
7823 (getContent): Documentation added.
7824 (getPermission): Documentation added.
7825 (getInputStream): Documentation added.
7826 (getOutputStream): Documentation added.
7827 (setDoInput): Throw correct exception, documentation added.
7828 (setDoOutput): Throw correct exception, documentation added.
7829 (setAllowUserInteraction): Throw correct exception, documentation added.
7830 (setUseCaches): Throw correct exception, documentation added.
7831 (setIfModifiedSince): Throw correct exception, documentation added.
7832 (setRequestProperty): Throw exception, documentation added.
7833 (addRequestProperty): Throw exception, documentation added.
7834 (getRequestProperty): Throw exception, documentation added.
7835 (getRequestProperties): Documentation added.
7836 (setContentHandlerFactory): Documentation added.
7837 (guessContentTypeFromName): protected to public.
7838 (setFileNameMap): Documentation added.
7839 * java/net/URLDecoder.java
7840 (URLDecoder): New method.
7841 (decode): Documentation added.
7842 (whole file): Reindented.
7843 * java/net/URLEncoder.java
7844 (encode): Documentation added.
7845 * java/net/natPlainDatagramSocketImpl.cc
7846 (connect): New method.
7847 (disconnect): New method.
7848 * javax/naming/RefAddr:
7849 (addrType): addrType was never final.
7850 (equals): Fix typo in method name.
7851 * javax/naming/BinaryRefAddr:
7852 (equals): Fix typo in method name.
7854 2002-09-22 Tom Tromey <tromey@redhat.com>
7856 Fix for PR libgcj/6576:
7857 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7858 didn't find a given bundle.
7859 (getBundle): Don't require base bundle.
7860 (setParent): Removed old comment.
7861 (tryLocalBundle): Try components even if preceding components were
7864 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7866 * Makefile.am (all-multi): Fix multilib parallel build.
7868 2002-09-21 Michael Koch <konqueror@gmx.de>
7870 * java/net/Socket.java
7871 (sendUrgentData): New method.
7872 (getChannel): New method.
7873 * java/net/ServerSocket.java
7874 (getChannel): New method.
7875 (isBound): New method.
7876 * java/net/DatagramSocket.java
7877 (DatagramSocket): Two new methods.
7879 (getChannel): New method.
7880 (isBound): New method.
7881 (send): Added newline to to make shorter lines.
7882 * java/net/PlainDatagramSocketImpl.java
7883 (mcastGrp): Added argument.
7884 (join): Use new mcastGrp.
7885 (leave): Use new mcastGrp.
7886 (joinGroup): New method.
7887 (leaveGroup): New method.
7888 * java/net/natPlainDatagramSocketImpl.cc
7889 (mcastGrp): Added argument, no yet really implemented.
7890 (getOption): Added newline for shorter lines.
7891 * java/net/natPlainSocketImpl.cc
7892 (read, setOption, getOption): Added newline for shorter lines.
7894 2002-09-19 Tom Tromey <tromey@redhat.com>
7896 * java/lang/ClassLoader.java (resolveClass0): Set cause for
7897 newly-created exception.
7899 2002-09-18 Michael Koch <konqueror@gmx.de>
7901 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7902 java/util/regex/PatternSyntaxException.java:
7903 Merge with classpath, new files.
7904 * Makefile.am (core_java_source_files):
7905 Added java/util/regex/Matcher.java,
7906 java/util/regex/Pattern.java,
7907 java/util/regex/PatternSyntaxException.java
7908 * Makefile.in: Regenerated.
7909 * include/config.h.in: Added HAVE_NET_IF_H.
7910 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7911 Removed #if 0 ... #endif.
7913 2002-09-17 Michael Koch <konqueror@gmx.de>
7915 * java/net/natNetworkInterface.cc:
7916 Removed unneed and yet wrong includes.
7918 2002-09-17 Michael Koch <konqueror@gmx.de>
7920 * java/net/NetworkInterface.java: New file.
7921 * java/net/natNetworkInterface.java: New file.
7922 * configure.in: Added check for net/if.h.
7923 * configure: Regenerated.
7925 (ordinary_java_source_files): Added NetworkInterface.java.
7926 (nat_source_files): Added natNetworkInterface.cc.
7927 * Makefile.in: Regenerated.
7929 2002-09-16 Tom Tromey <tromey@redhat.com>
7931 * java/net/URLClassLoader.java (findClass): Code source for a
7932 class from a jar is not necessarily a jar: URL.
7934 2002-09-16 Michael Koch <konqueror@gmx.de>
7936 * java/lang/AssertionError.java:
7937 Merge with classpath, fixes HTML.
7938 * java/rmi/server/LogStream.java:
7939 Merge with classpath, fixes some constants.
7940 * java/net/server/RemoteServer.java:
7941 Merge with classpath, adds serialVersionUID.
7942 * javax/naming/BinaryRefAddr.java:
7943 Merge with classpath, s/equal/equals/.
7944 * javax/naming/NamingException.java:
7945 Merge with classpath, fixed typo.
7946 * javax/naming/RefAddr.java:
7947 Merge with classpath, s/equal/equals/.
7948 * java/awt/Toolkit.java:
7949 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7952 2002-09-15 Adam Megacz <adam@xwt.org>
7954 * java/net/natPlainSocketImpl.cc: fixed typo.
7956 2002-09-15 Adam Megacz <adam@xwt.org>
7958 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7959 which don't work on Win32 (yet).
7961 2002-09-14 Adam Megacz <adam@xwt.org>
7963 * java/net/natPlainDatagramSocket.cc: removed #include
7964 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7965 * include/win32.h: included definition for IP_TOS to satisfy
7966 natPlainDatagramSocket.cc
7968 2002-09-13 Michael Koch <konqueror@gmx.de>
7970 * java/net/DatagramPacket.java (DatagramPacket):
7971 Added linebreak for 80 chars per line.
7972 * java/net/JarURLConection.java
7973 (getInputStreami, getJarEntry): Likewise.
7974 * java/net/SocketPErmission.java
7975 (SocketPermission class docu, implies): Likewise.
7976 * java/net/URLClassLoader.java (findResources): Likewise.
7977 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7979 2002-09-13 Michael Koch <konqueror@gmx.de>
7981 * java/nio/channels/DatagramChannel.java,
7982 java/nio/channels/ServerSocketChannel.java
7983 java/nio/channels/SocketChannel.java:
7984 New dummy files to make java.net fully JDK 1.4 compatible
7985 * Makefile.am (ordinary_java_source_files): Added
7986 java/net/DatagramSocketImplFactory.java (long forgotten),
7987 java/nio/SocketChannel.java,
7988 java/nio/ServerSocketChannel.java,
7989 java/nio/DatagramChannel.java
7990 * Makefile.in: Regenrated.
7992 2002-09-12 Michael Koch <konqueror@gmx.de>
7994 * java/net/DatagramSocketImpl.java
7995 (peekData): New method.
7996 * java/net/PlainDatagramSocketImpl.java
7997 (peekData): New method.
7998 * java/net/natPlainDatagramSocketImpl.cc
7999 (peekData): New method.
8000 * java/net/URLConnection
8001 (getPermission): New method.
8002 (addRequestProperty): New method.
8003 (getRequestProperties): New method.
8004 (guessContentTypeFromStream): New method, not really implemented.
8005 (URLConnection): Added/updated documentation.
8006 (connect): Added/updated documentation.
8007 (getURL): Added/updated documentation.
8008 (getContentLength): Added/updated documentation.
8009 (getContentType: Added/updated documentation.
8010 (getContentEncoding): Added/updated documentation.
8011 (getExpiration): Added/updated documentation.
8012 (getDate): Added/updated documentation.
8013 (getLastModified): Added/updated documentation.
8014 (getHeaderField): Added/updated documentation.
8015 (getHeaderFields): Added/updated documentation.
8016 (getHeaderFieldInt): Added/updated documentation.
8017 (getHeaderFieldDate): Added/updated documentation.
8018 (getHeaderFieldKey): Added/updated documentation.
8019 (getContent): Added/updated documentation.
8020 (getInputStream): Added/updated documentation.
8021 (getOutputStream): Added/updated documentation.
8022 (toString): Added/updated documentation.
8023 (setDoInput): Added/updated documentation.
8024 (getDoInput): Added/updated documentation.
8025 (setDoOutput): Added/updated documentation.
8026 (getDoOutput): Added/updated documentation.
8027 (setAllowUserInteraction): Added/updated documentation.
8028 (getAllowUserInteraction): Added/updated documentation.
8029 (setDefaultAllowUserInteraction): Added/updated documentation.
8030 (getDefaultAllowUserInteraction): Added/updated documentation.
8031 (setUseCaches): Added/updated documentation.
8032 (getUseCaches): Added/updated documentation.
8033 (setIfModifiedSince): Added/updated documentation.
8034 (getIfModifiedSince): Added/updated documentation.
8035 (getDefaultUseCaches): Added/updated documentation.
8036 (setDefaultUseCaches): Added/updated documentation.
8037 (setRequestProperty): Added/updated documentation.
8038 (getRequestProperty): Added/updated documentation.
8039 (setDefaultRequestProperty): Added/updated documentation.
8040 (getDefaultRequestProperty): Added/updated documentation.
8041 (setContentHandlerFactory): Added/updated documentation.
8042 (guessContentTypeFromName): Added/updated documentation.
8043 (getFileNameMap): Added/updated documentation.
8044 (setFileNameMap): Added/updated documentation.
8046 2002-09-11 Michael Koch <konqueror@gmx.de>
8048 * java/net/Socket.java
8049 (Socket): protected to public (since JDK 1.4). Added @specnote.
8051 (connect): Two new methods.
8052 (getKeepalive): Get correct socket option.
8053 (setKeepalive): Set correct socket option.
8054 (getOOBInline): New method.
8055 (setOOBInline): New method.
8056 * java/net/ServerSocket.java
8057 (bind): Two new methods.
8058 (getInetAddress): Reimplemented, catch exception.
8059 (getLocalSocketAddress): New method.
8060 (setReuseAddress): New method.
8061 (getReuseAdress): New method.
8062 (setReceiveBufferSize): New method.
8063 (getReceiveBufferSize): New method.
8064 (toString): Made string JDK 1.4 compliant.
8066 2002-09-10 Michael Koch <konqueror@gmx.de>
8068 * java/net/SocketImpl.java
8069 (connect): New method.
8070 (supportsUrgentData): New method.
8071 (sendUrgentData): New method.
8072 * java/net/PlainSocketImpl.java
8073 (connect): One new method and two new implementation.
8074 (sendUrgentData): New method.
8075 * java/natPlainSocketImpl.cc
8076 (connect): Arguments changed, added support for timeouts.
8077 (getOption): Another __java_boolean to jboolean.
8079 2002-09-07 Adam Megacz <adam@xwt.org>
8081 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
8082 definition of IP_TOS.
8084 2002-09-04 Michael Koch <konqueror@gmx.de>
8086 * java/net/DatagramSocket.java
8087 (DatagramSocket): Added documentation.
8089 (getLocalAddress): Likewise.
8090 (getLocalPort): Likewise.
8091 (receive): Likewise.
8093 (setSoTimeout): Likewise.
8094 (connect): New method.
8095 (disconnect): New method.
8096 (getInetAddress): New method (FIXME)
8097 (getPort): New method.
8098 (setReuseAddress): New method.
8099 (getReuseAddress): New method.
8100 (setBroadcast): New method.
8101 (getBroadcast): New method.
8102 (setTrafficClass): New method.
8103 (getTrafficClass): New method.
8104 * java/net/MulticastSocket.java):
8105 (getTTL): Added @see in documentation.
8106 (setTTL): Added @see in documentation.
8107 (setLoopbackMode): New method.
8108 (getLoopbackMode): New method.
8109 * java/net/PlainSocketImpl.java:
8110 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8111 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8112 * java/net/PlainDatagramSocketImpl.java
8113 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
8114 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8115 * java/net/natPlainSocketImpl.cc
8116 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8117 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8118 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8119 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8120 This should also fix SO_KEEPALIVE
8121 * java/net/natPlainDatagramSocketImpl.cc
8122 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8123 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8124 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
8125 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
8127 2002-09-04 Michael Koch <konqueror@gmx.de>
8129 * java/net/SocketOptions.java: added static variables to be JDK 1.4
8130 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
8131 IP_MULTICAST_LOOP, IP_TOS
8133 2002-09-03 Tom Tromey <tromey@redhat.com>
8135 * java/lang/Class.h (_getDeclaredMethod): Declare.
8136 (_getMethod): Now private.
8137 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8138 getDeclaredMethod. Now returns NULL on failure.
8139 * java/lang/Class.java (_getDeclaredMethod): Declare.
8140 (getDeclaredMethod): No longer native; implements access checks.
8142 2002-09-01 Mark Wielaard <mark@klomp.org>
8144 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8145 (sanitizeStack): Correctly reset unknown and interpreter counters,
8146 detect interpreter runtime frames.
8147 (demangleInterpreterMethod): New method.
8148 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8149 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8152 2002-09-02 Michael Koch <konqueror@gmx.de>
8154 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8155 re-indented documentation.
8157 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8159 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8160 public, per 1.4 spec. Fixes PR libgcj/7785.
8162 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8164 * Makefile.in: Rebuilt.
8165 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8167 2002-08-29 Tom Tromey <tromey@redhat.com>
8169 * java/net/JarURLConnection.java (getCertificates): New method
8171 * java/net/URLClassLoader.java (URLClassLoader): Extends
8173 (definePackage): New method from Classpath.
8174 (getPermissions): Likewise.
8175 (newInstance): Likewise.
8176 (findClass): Construct CodeSource for new class (from Classpath).
8177 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8179 * java/net/URL.java (getUserInfo): New method.
8180 (set(String,String,int,String,String,String,String,String)): New
8182 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8183 (shutdownInput, shutdownOutput): Declare.
8184 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8186 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8187 (getOption): Likewise.
8188 (shutdownInput): New method.
8189 (shutdownOutput): Likewise.
8190 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8192 (getOption): Likewise.
8193 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8194 * java/net/Socket.java (setKeepAlive): New method.
8195 (getKeepAlive): Likewise.
8196 (shutdownInput, shutdownOutput): New methods.
8198 2002-08-29 Michael Koch <konqueror@gmx.de>
8200 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8202 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8204 DatagramPacket(byte[] buf, int length, SocketAddress address),
8205 void setSocketAddress(SocketAddress address)
8206 public SocketAddress getSocketAddress()
8208 2002-08-29 Tom Tromey <tromey@redhat.com>
8210 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8211 ftruncate is missing.
8212 * configure, include/config.h.in: Rebuilt.
8213 * acconfig.h (HAVE_FTRUNCATE): Mention.
8214 * configure.in: Check for ftruncate.
8216 2002-08-29 Tom Tromey <tromey@redhat.com>
8218 * include/jvm.h (struct _Jv_frame_info): New structure.
8219 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8221 (lookupInterp): New method.
8222 (getAddrAsString): Use _Jv_frame_info.
8223 (dladdrLookup): Likewise.
8224 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8226 (lookupInterp): Declare.
8227 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8228 (fillInStackTrace): Collect information on interpreted frames.
8230 * interpret.cc: Include Thread.h.
8231 (run): Create and push _Jv_MethodChain object.
8232 (_Jv_EndOfInterpreter): New global.
8233 * java/lang/Thread.java (interp_frame): New field.
8234 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8235 Include NameFinder.h.
8237 2002-08-28 Tom Tromey <tromey@redhat.com>
8239 * java/lang/Class.h: Include Package.h.
8240 (Class::getProtectionDomain): Declare.
8241 (Class::getPackage): Declare.
8243 2002-08-28 Michael Koch <konqueror@gmx.de>
8245 * java/net/InetSocketAddress.java: Added some documentation and argument
8246 checks for the port numbers.
8247 * java/net/DatagramSocketImplFactory.java: New file.
8249 2002-08-28 Michael Koch <konqueror@gmx.de>
8251 * java/net/Authenticator.java: added some documentation.
8253 2002-08-27 Tom Tromey <tromey@redhat.com>
8255 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8257 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8259 2002-08-27 Michael Koch <konqueror@gmx.de>
8261 * java/net/BindException.java,
8262 java/net/JarURLConnection.java,
8263 java/net/FileNameMap.java,
8264 java/net/HttpURLConnection.java,
8265 java/net/InetSocketAddress.java,
8266 java/net/DatagramPacket.java,
8267 java/net/DatagramSocket.java,
8268 java/net/DatagramSocketImpl.java,
8269 java/net/MulticastSocket.java,
8270 java/net/PasswordAuthentication.java,
8271 java/net/ServerSocket.java,
8272 java/net/Socket.java,
8273 java/net/URLClassLoader.java,
8274 java/net/URLConnection.java: add/update of some @since/@deprecated
8276 2002-08-27 Tony Kimball <alk@pobox.com>
8277 Tom Tromey <tromey@redhat.com>
8279 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8282 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8283 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8285 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8286 * include/win32.h (getcwd): Removed declaration. Include io.h.
8288 2002-08-25 Adam Megacz <adam@xwt.org>
8290 * include/win32.h (getcwd): copied function declaration as
8291 temporary fix for header confusion.
8293 2002-08-24 Mark Wielaard <mark@klomp.org>
8295 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8296 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8297 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8298 and natNameFinder.cc.
8299 * Makefile.in: Regenerate.
8300 * prims.cc: Use trace_enabled from VMThrowable.
8301 * name-finder.cc: Removed.
8302 * gcj/javaprims.h: Add class VMThrowable.
8303 * gnu/gcj/runtime/NameFinder.java: New file.
8304 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8305 * include/name-finder.h: Removed.
8306 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8307 method stackTraceString().
8308 (printStackTrace (PrintWriter)): Likewise.
8309 (stackTraceString): Complete rewrite of old printStackTrace using
8311 (stackTraceStringBuffer): New helper method for stackTraceString().
8312 (fillInStackTrace): Delegate to VMTrowable.
8313 (getStackTrace): Likewise.
8314 (getStackTrace0): Removed.
8315 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8316 (setStackTrace): Copy given array.
8317 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8318 * java/lang/VMThrowable.java: New class.
8319 * java/lang/natVMThrowable.cc: New file.
8321 2003-08-23 Michael Koch <konqueror@gmx.de>
8323 * java/net/URLConnection.java,
8324 java/netJarURLConnection.java,
8325 gnu/gcj/protocol/core/Connection.java,
8326 gnu/gcj/protocol/file/Connection.java,
8327 gnu/gcj/protocol/http/Connection.java: Added implementation of
8330 2002-08-22 Tom Tromey <tromey@redhat.com>
8332 * gij.cc (help): Document -cp and -classpath.
8333 (main): Handle -classpath.
8335 2002-08-21 Tom Tromey <tromey@redhat.com>
8337 * Makefile.in: Rebuilt.
8338 * Makefile.am (ordinary_java_source_files): Added
8339 SocketAddress.java, InetSocketAddress.java.
8340 * java/net/PortUnreachableException.java: Merged with Classpath.
8341 * java/net/SocketTimeoutException.java: Likewise.
8342 * java/net/URISyntaxException.java: Likewise.
8343 * java/net/SocketAddress.java: New class from Classpath.
8344 * java/net/InetSocketAddress.java: Likewise.
8346 2003-08-21 Michael Koch <konqueror@gmx.de>
8348 * java/net/Authenticator.java: updated JDK 1.4
8349 * java/net/ContentHandler.java: updated JDK 1.4
8351 2002-08-20 Michael Koch <konqueror@gmx.de>
8353 * java/net/URISyntaxException.java: New file.
8354 * java/net/SocketTimeoutException.java: New file.
8355 * java/net/PortUnreachableException.java: New file.
8356 * Makefile.am: Updated.
8357 * Makefile.in: Rebuilt.
8359 2002-08-18 Mark Wielaard <mark@klomp.org>
8361 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8362 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8363 MessageDigestSpi (fixes Classpath bug #783).
8365 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8367 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8368 (startProcess): Allocate path for chdir in async-signal-safe way.
8370 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8372 Fix for PR libgcj/7570 and PR libgcj/7578:
8373 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8374 (startProcess): Handle new `dir' argument.
8375 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8377 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8379 (startProcess): Likewise.
8380 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8382 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8383 (exec): Don't create new environment if ENV==null. Pass DIR to
8385 * java/lang/natRuntime.cc: Include java/io/File.h.
8386 (execInternal): Added `dir' argument.
8388 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8390 * java/io/RandomAccessFile.java (skipBytes): Return number of
8393 2002-08-01 Mark Wielaard <mark@klomp.org>
8395 Reenable patch since shared library troubles on powerpc are solved:
8396 * gnu/java/security/provider/Gnu.java: Reference all implementation
8397 classes by using Class.getName().
8398 * gnu/java/security/der/DEREncodingException.java,
8399 gnu/java/security/provider/DERReader.java,
8400 gnu/java/security/provider/DERWriter.java,
8401 gnu/java/security/provider/DSAKeyPairGenerator.java,
8402 gnu/java/security/provider/DSAParameterGenerator.java,
8403 gnu/java/security/provider/DSAParameters.java,
8404 gnu/java/security/provider/DSASignature.java,
8405 gnu/java/security/provider/GnuDSAPrivateKey.java,
8406 gnu/java/security/provider/GnuDSAPublicKey.java,
8407 gnu/java/security/provider/MD5.java,
8408 gnu/java/security/util/Prime.java: New classes
8409 * Makefile.am (ordinary_java_source_files): Add above files.
8410 * Makefile.in: Regenerate.
8411 * gnu/java/security/provider/DefaultPolicy.java
8412 (getPermissions): Don't maintain static class variable of Permissions.
8413 * gnu/java/security/provider/SHA.java
8414 (engineUpdate): algorithm change.
8415 (engineDigest): algorithm change.
8417 2002-08-09 Mark Wielaard <mark@klomp.org>
8419 * java/awt/image/MemoryImageSource.java: Change constructor to take
8421 * java/awt/Graphics2D.java: Uncomment methods that can now be
8423 * java/awt/GridBagLayout.java: New stub implementation.
8424 * javax/swing/text/html/HTML.java: Stub implementation.
8425 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8428 * Makefile.am: Add new files.
8429 * Makefile.in: Rebuilt.
8431 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8433 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8434 methods in Graphics2D.
8436 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8438 AWT/Swing merge from GNU Classpath.
8440 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8441 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8442 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8443 java/awt/color/ProfileDataException.java,
8444 java/awt/CompositeContext.java, java/awt/Composite.java,
8445 java/awt/ContainerOrderFocusTraversalPolicy.java,
8446 java/awt/datatransfer/FlavorTable.java,
8447 java/awt/DefaultFocusTraversalPolicy.java,
8448 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8449 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8450 java/awt/dnd/DragGestureListener.java,
8451 java/awt/dnd/DragGestureRecognizer.java,
8452 java/awt/dnd/DragSourceAdapter.java,
8453 java/awt/dnd/DragSourceContext.java,
8454 java/awt/dnd/DragSourceDragEvent.java,
8455 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8456 java/awt/dnd/DragSourceListener.java,
8457 java/awt/dnd/DragSourceMotionListener.java,
8458 java/awt/dnd/DropTarget.java,
8459 java/awt/dnd/InvalidDnDOperationException.java,
8460 java/awt/dnd/peer/DragSourceContextPeer.java,
8461 java/awt/event/AWTEventListenerProxy.java,
8462 java/awt/event/MouseWheelEvent.java,
8463 java/awt/event/MouseWheelListener.java,
8464 java/awt/event/WindowFocusListener.java,
8465 java/awt/event/WindowStateListener.java,
8466 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8467 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8468 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8469 java/awt/geom/FlatteningPathIterator.java,
8470 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8471 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8472 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8473 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8474 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8475 java/awt/image/ImagingOpException.java,
8476 java/awt/image/RasterFormatException.java,
8477 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8478 java/awt/image/VolatileImage.java,
8479 java/awt/image/WritableRenderedImage.java,
8480 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8481 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8482 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8483 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8484 java/awt/PageAttributes.java, java/awt/print/Book.java,
8485 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8486 java/awt/print/Paper.java, java/awt/print/Printable.java,
8487 java/awt/print/PrinterAbortException.java,
8488 java/awt/print/PrinterException.java,
8489 java/awt/print/PrinterGraphics.java,
8490 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8491 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8492 java/awt/Stroke.java, java/awt/TexturePaint.java,
8493 javax/accessibility/AccessibleAction.java,
8494 javax/accessibility/AccessibleBundle.java,
8495 javax/accessibility/AccessibleComponent.java,
8496 javax/accessibility/AccessibleContext.java,
8497 javax/accessibility/AccessibleEditableText.java,
8498 javax/accessibility/AccessibleExtendedComponent.java,
8499 javax/accessibility/AccessibleExtendedTable.java,
8500 javax/accessibility/AccessibleHyperlink.java,
8501 javax/accessibility/AccessibleHypertext.java,
8502 javax/accessibility/AccessibleIcon.java,
8503 javax/accessibility/Accessible.java,
8504 javax/accessibility/AccessibleKeyBinding.java,
8505 javax/accessibility/AccessibleRelation.java,
8506 javax/accessibility/AccessibleRelationSet.java,
8507 javax/accessibility/AccessibleResourceBundle.java,
8508 javax/accessibility/AccessibleRole.java,
8509 javax/accessibility/AccessibleSelection.java,
8510 javax/accessibility/AccessibleState.java,
8511 javax/accessibility/AccessibleStateSet.java,
8512 javax/accessibility/AccessibleTable.java,
8513 javax/accessibility/AccessibleTableModelChange.java,
8514 javax/accessibility/AccessibleText.java,
8515 javax/accessibility/AccessibleValue.java,
8516 javax/swing/AbstractAction.java,
8517 javax/swing/AbstractButton.java,
8518 javax/swing/AbstractCellEditor.java,
8519 javax/swing/AbstractListModel.java,
8520 javax/swing/AbstractSet.java, javax/swing/Action.java,
8521 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8522 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8523 javax/swing/border/CompoundBorder.java,
8524 javax/swing/border/EmptyBorder.java,
8525 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8526 javax/swing/border/LineBorder.java,
8527 javax/swing/border/MatteBorder.java,
8528 javax/swing/border/TitledBorder.java,
8529 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8530 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8531 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8532 javax/swing/CellRendererPane.java,
8533 javax/swing/colorchooser/AbstractColorChooserPanel.java,
8534 javax/swing/colorchooser/ColorChooserComponentFactory.java,
8535 javax/swing/colorchooser/ColorSelectionModel.java,
8536 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8537 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8538 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8539 javax/swing/DefaultBoundedRangeModel.java,
8540 javax/swing/DefaultButtonModel.java,
8541 javax/swing/DefaultCellEditor.java,
8542 javax/swing/DefaultCellRenderer.java,
8543 javax/swing/DefaultComboBoxModel.java,
8544 javax/swing/DefaultDesktopManager.java,
8545 javax/swing/DefaultFocusManager.java,
8546 javax/swing/DefaultListCellRenderer.java,
8547 javax/swing/DefaultListModel.java,
8548 javax/swing/DefaultListSelectionModel.java,
8549 javax/swing/DefaultSingleSelectionModel.java,
8550 javax/swing/DesktopManager.java,
8551 javax/swing/event/AncestorEvent.java,
8552 javax/swing/event/AncestorListener.java,
8553 javax/swing/event/CaretEvent.java,
8554 javax/swing/event/CaretListener.java,
8555 javax/swing/event/CellEditorListener.java,
8556 javax/swing/event/ChangeEvent.java,
8557 javax/swing/event/ChangeListener.java,
8558 javax/swing/event/DocumentEvent.java,
8559 javax/swing/event/DocumentListener.java,
8560 javax/swing/event/EventListenerList.java,
8561 javax/swing/event/HyperlinkEvent.java,
8562 javax/swing/event/HyperlinkListener.java,
8563 javax/swing/event/InternalFrameAdapter.java,
8564 javax/swing/event/InternalFrameEvent.java,
8565 javax/swing/event/InternalFrameListener.java,
8566 javax/swing/event/ListDataEvent.java,
8567 javax/swing/event/ListDataListener.java,
8568 javax/swing/event/ListSelectionEvent.java,
8569 javax/swing/event/ListSelectionListener.java,
8570 javax/swing/event/MenuDragMouseEvent.java,
8571 javax/swing/event/MenuDragMouseListener.java,
8572 javax/swing/event/MenuEvent.java,
8573 javax/swing/event/MenuKeyEvent.java,
8574 javax/swing/event/MenuKeyListener.java,
8575 javax/swing/event/MenuListener.java,
8576 javax/swing/event/MouseInputAdapter.java,
8577 javax/swing/event/MouseInputListener.java,
8578 javax/swing/event/PopupMenuEvent.java,
8579 javax/swing/event/PopupMenuListener.java,
8580 javax/swing/event/SwingPropertyChangeSupport.java,
8581 javax/swing/event/TableColumnModelEvent.java,
8582 javax/swing/event/TableColumnModelListener.java,
8583 javax/swing/event/TableModelEvent.java,
8584 javax/swing/event/TableModelListener.java,
8585 javax/swing/event/TreeExpansionEvent.java,
8586 javax/swing/event/TreeExpansionListener.java,
8587 javax/swing/event/TreeModelEvent.java,
8588 javax/swing/event/TreeModelListener.java,
8589 javax/swing/event/TreeSelectionEvent.java,
8590 javax/swing/event/TreeSelectionListener.java,
8591 javax/swing/event/TreeWillExpandListener.java,
8592 javax/swing/event/UndoableEditEvent.java,
8593 javax/swing/event/UndoableEditListener.java,
8594 javax/swing/filechooser/FileFilter.java,
8595 javax/swing/filechooser/FileSystemView.java,
8596 javax/swing/filechooser/FileView.java,
8597 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8598 javax/swing/Icon.java, javax/swing/ImageIcon.java,
8599 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8600 javax/swing/JApplet.java, javax/swing/JButton.java,
8601 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8602 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8603 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8604 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8605 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8606 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8607 javax/swing/JLayeredPane.java, javax/swing/JList.java,
8608 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8609 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8610 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8611 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8612 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8613 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8614 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8615 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8616 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8617 javax/swing/JTextField.java, javax/swing/JTextPane.java,
8618 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8619 javax/swing/JToolTip.java, javax/swing/JTree.java,
8620 javax/swing/JViewport.java, javax/swing/JWindow.java,
8621 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8622 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8623 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8624 javax/swing/MenuSelectionManager.java,
8625 javax/swing/MutableComboBoxModel.java,
8626 javax/swing/OverlayLayout.java,
8627 javax/swing/plaf/ActionMapUIResource.java,
8628 javax/swing/plaf/basic/BasicBorders.java,
8629 javax/swing/plaf/basic/BasicButtonUI.java,
8630 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8631 javax/swing/plaf/basic/BasicDefaults.java,
8632 javax/swing/plaf/basic/BasicGraphicsUtils.java,
8633 javax/swing/plaf/basic/BasicIconFactory.java,
8634 javax/swing/plaf/basic/BasicLabelUI.java,
8635 javax/swing/plaf/basic/BasicListUI.java,
8636 javax/swing/plaf/basic/BasicLookAndFeel.java,
8637 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8638 javax/swing/plaf/basic/BasicPanelUI.java,
8639 javax/swing/plaf/basic/BasicRadioButtonUI.java,
8640 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8641 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8642 javax/swing/plaf/basic/BasicTextUI.java,
8643 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8644 javax/swing/plaf/basic/BasicTreeUI.java,
8645 javax/swing/plaf/basic/BasicViewportUI.java,
8646 javax/swing/plaf/BorderUIResource.java,
8647 javax/swing/plaf/ButtonUI.java,
8648 javax/swing/plaf/ColorChooserUI.java,
8649 javax/swing/plaf/ColorUIResource.java,
8650 javax/swing/plaf/ComboBoxUI.java,
8651 javax/swing/plaf/ComponentInputMapUIResource.java,
8652 javax/swing/plaf/ComponentUI.java,
8653 javax/swing/plaf/DesktopIconUI.java,
8654 javax/swing/plaf/DesktopPaneUI.java,
8655 javax/swing/plaf/DimensionUIResource.java,
8656 javax/swing/plaf/FileChooserUI.java,
8657 javax/swing/plaf/FontUIResource.java,
8658 javax/swing/plaf/IconUIResource.java,
8659 javax/swing/plaf/InputMapUIResource.java,
8660 javax/swing/plaf/InsetsUIResource.java,
8661 javax/swing/plaf/InternalFrameUI.java,
8662 javax/swing/plaf/LabelUI.java,
8663 javax/swing/plaf/ListUI.java,
8664 javax/swing/plaf/MenuBarUI.java,
8665 javax/swing/plaf/MenuItemUI.java,
8666 javax/swing/plaf/OptionPaneUI.java,
8667 javax/swing/plaf/PanelUI.java,
8668 javax/swing/plaf/PopupMenuUI.java,
8669 javax/swing/plaf/ProgressBarUI.java,
8670 javax/swing/plaf/RootPaneUI.java,
8671 javax/swing/plaf/ScrollBarUI.java,
8672 javax/swing/plaf/ScrollPaneUI.java,
8673 javax/swing/plaf/SeparatorUI.java,
8674 javax/swing/plaf/SliderUI.java,
8675 javax/swing/plaf/SplitPaneUI.java,
8676 javax/swing/plaf/TabbedPaneUI.java,
8677 javax/swing/plaf/TableHeaderUI.java,
8678 javax/swing/plaf/TableUI.java,
8679 javax/swing/plaf/TextUI.java,
8680 javax/swing/plaf/ToolBarUI.java,
8681 javax/swing/plaf/ToolTipUI.java,
8682 javax/swing/plaf/TreeUI.java,
8683 javax/swing/plaf/UIResource.java,
8684 javax/swing/plaf/ViewportUI.java,
8685 javax/swing/ProgressMonitorInputStream.java,
8686 javax/swing/ProgressMonitor.java,
8687 javax/swing/Renderer.java,
8688 javax/swing/RepaintManager.java,
8689 javax/swing/RootPaneContainer.java,
8690 javax/swing/Scrollable.java,
8691 javax/swing/ScrollPaneConstants.java,
8692 javax/swing/ScrollPaneLayout.java,
8693 javax/swing/SingleSelectionModel.java,
8694 javax/swing/SizeRequirements.java,
8695 javax/swing/SizeSequence.java,
8696 javax/swing/SwingConstants.java,
8697 javax/swing/SwingUtilities.java,
8698 javax/swing/table/AbstractTableModel.java,
8699 javax/swing/table/DefaultTableCellRenderer.java,
8700 javax/swing/table/DefaultTableColumnModel.java,
8701 javax/swing/table/DefaultTableModel.java,
8702 javax/swing/table/TableCellEditor.java,
8703 javax/swing/table/TableCellRenderer.java,
8704 javax/swing/table/TableColumn.java,
8705 javax/swing/table/TableColumnModel.java,
8706 javax/swing/table/TableModel.java,
8707 javax/swing/text/AbstractDocument.java,
8708 javax/swing/text/AttributeSet.java,
8709 javax/swing/text/BadLocationException.java,
8710 javax/swing/text/Caret.java,
8711 javax/swing/text/CharacterIterator.java,
8712 javax/swing/text/ComponentView.java,
8713 javax/swing/text/DefaultCaret.java,
8714 javax/swing/text/DefaultEditorKit.java,
8715 javax/swing/text/Document.java,
8716 javax/swing/text/EditorKit.java,
8717 javax/swing/text/Element.java,
8718 javax/swing/text/GapContent.java,
8719 javax/swing/text/JTextComponent.java,
8720 javax/swing/text/Keymap.java,
8721 javax/swing/text/MutableAttributeSet.java,
8722 javax/swing/text/PlainDocument.java,
8723 javax/swing/text/PlainEditorKit.java,
8724 javax/swing/text/Position.java,
8725 javax/swing/text/Segment.java,
8726 javax/swing/text/StyledDocument.java,
8727 javax/swing/text/StyledEditorKit.java,
8728 javax/swing/text/Style.java,
8729 javax/swing/text/TextAction.java,
8730 javax/swing/text/ViewFactory.java,
8731 javax/swing/text/View.java,
8732 javax/swing/Timer.java,
8733 javax/swing/ToggleButtonModel.java,
8734 javax/swing/ToolTipManager.java,
8735 javax/swing/tree/AbstractLayoutCache.java,
8736 javax/swing/tree/DefaultMutableTreeNode.java,
8737 javax/swing/tree/DefaultTreeCellEditor.java,
8738 javax/swing/tree/DefaultTreeCellRenderer.java,
8739 javax/swing/tree/DefaultTreeModel.java,
8740 javax/swing/tree/DefaultTreeSelectionModel.java,
8741 javax/swing/tree/ExpandVetoException.java,
8742 javax/swing/tree/FixedHeightLayoutCache.java,
8743 javax/swing/tree/MutableTreeNode.java,
8744 javax/swing/tree/RowMapper.java,
8745 javax/swing/tree/TreeCellEditor.java,
8746 javax/swing/tree/TreeCellRenderer.java,
8747 javax/swing/tree/TreeModel.java,
8748 javax/swing/tree/TreeNode.java,
8749 javax/swing/tree/TreePath.java,
8750 javax/swing/tree/TreeSelectionModel.java,
8751 javax/swing/tree/VariableHeightLayoutCache.java,
8752 javax/swing/UIDefaults.java,
8753 javax/swing/UIManager.java,
8754 javax/swing/undo/AbstractUndoableEdit.java,
8755 javax/swing/undo/CannotRedoException.java,
8756 javax/swing/undo/CannotUndoException.java,
8757 javax/swing/undo/CompoundEdit.java,
8758 javax/swing/undo/StateEditable.java,
8759 javax/swing/undo/StateEdit.java,
8760 javax/swing/undo/UndoableEdit.java,
8761 javax/swing/undo/UndoableEditSupport.java,
8762 javax/swing/undo/UndoManager.java,
8763 javax/swing/UnsupportedLookAndFeelException.java,
8764 javax/swing/ViewportLayout.java,
8765 javax/swing/WindowConstants.java: New files, from GNU Classpath.
8767 * java/awt/ActiveEvent.java,
8768 java/awt/Adjustable.java, java/awt/AWTError.java,
8769 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8770 java/awt/AWTException.java, java/awt/AWTPermission.java,
8771 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8772 java/awt/Color.java, java/awt/Component.java,
8773 java/awt/ComponentOrientation.java, java/awt/Container.java,
8774 java/awt/datatransfer/MimeTypeParseException.java,
8775 java/awt/datatransfer/Transferable.java,
8776 java/awt/datatransfer/UnsupportedFlavorException.java,
8777 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8778 java/awt/event/ActionListener.java,
8779 java/awt/event/AdjustmentEvent.java,
8780 java/awt/event/AdjustmentListener.java,
8781 java/awt/event/AWTEventListener.java,
8782 java/awt/event/ComponentAdapter.java,
8783 java/awt/event/ComponentEvent.java,
8784 java/awt/event/ComponentListener.java,
8785 java/awt/event/ContainerAdapter.java,
8786 java/awt/event/ContainerEvent.java,
8787 java/awt/event/ContainerListener.java,
8788 java/awt/event/FocusAdapter.java,
8789 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8790 java/awt/event/HierarchyBoundsAdapter.java,
8791 java/awt/event/HierarchyBoundsListener.java,
8792 java/awt/event/HierarchyEvent.java,
8793 java/awt/event/HierarchyListener.java,
8794 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8795 java/awt/event/InputMethodListener.java,
8796 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8797 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8798 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8799 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8800 java/awt/event/MouseListener.java,
8801 java/awt/event/MouseMotionAdapter.java,
8802 java/awt/event/MouseMotionListener.java,
8803 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8804 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8805 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8806 java/awt/event/WindowListener.java, java/awt/Font.java,
8807 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8808 java/awt/geom/Ellipse2D.java,
8809 java/awt/geom/IllegalPathStateException.java,
8810 java/awt/geom/Line2D.java,
8811 java/awt/geom/NoninvertibleTransformException.java,
8812 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8813 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8814 java/awt/geom/RoundRectangle2D.java,
8815 java/awt/GraphicsConfiguration.java,
8816 java/awt/IllegalComponentStateException.java,
8817 java/awt/image/IndexColorModel.java,
8818 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8819 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8820 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8821 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8822 java/awt/MenuItem.java, java/awt/PaintContext.java,
8823 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8824 java/awt/Polygon.java, java/awt/PrintGraphics.java,
8825 java/awt/PrintJob.java, java/awt/Rectangle.java,
8826 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8827 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8828 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8830 * java/awt/im/spi/InputMethod.java,
8831 java/awt/im/spi/InputMethodContext.java,
8832 java/awt/im/spi/InputMethodDescriptor.java,
8833 java/awt/image/renderable/ContextualRenderedImageFactory.java,
8834 java/awt/image/renderable/ParameterBlock.java,
8835 java/awt/image/renderable/RenderContext.java,
8836 java/awt/image/renderable/RenderableImage.java,
8837 java/awt/image/renderable/RenderableImageOp.java,
8838 java/awt/image/renderable/RenderableImageProducer.java,
8839 java/awt/image/renderable/RenderedImageFactory.java: New files from
8842 * gnu/java/awt/EventModifier.java,
8843 gnu/java/awt/image/ImageDecoder.java,
8844 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8846 * gnu/awt/xlib/XGraphicsConfiguration.java,
8847 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8850 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8853 * Makefile.am: Add new files.
8854 * Makefile.in: Rebuilt.
8856 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8858 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8859 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8860 findResource, getResources, findResources): Add javadoc from classpath.
8861 (getSystemResources): Implemented.
8863 2002-08-01 Mark Wielaard <mark@klomp.org>
8865 Revert patch that breaks libgcj shared library on powerpc:
8866 * gnu/java/security/provider/Gnu.java: Reverse referencing all
8867 implementation classes by using Class.getName(). Uses Strings again.
8868 * gnu/java/security/der/DEREncodingException.java,
8869 gnu/java/security/provider/DERReader.java,
8870 gnu/java/security/provider/DERWriter.java,
8871 gnu/java/security/provider/DSAKeyPairGenerator.java,
8872 gnu/java/security/provider/DSAParameterGenerator.java,
8873 gnu/java/security/provider/DSAParameters.java,
8874 gnu/java/security/provider/DSASignature.java,
8875 gnu/java/security/provider/GnuDSAPrivateKey.java,
8876 gnu/java/security/provider/GnuDSAPublicKey.java,
8877 gnu/java/security/provider/MD5.java,
8878 gnu/java/security/util/Prime.java: Removed.
8879 * Makefile.am (ordinary_java_source_files): Remove above files.
8880 * Makefile.in: Regenerate.
8881 * gnu/java/security/provider/DefaultPolicy.java
8882 (getPermissions): Revert to maintaining static class variable of
8884 * gnu/java/security/provider/SHA.java
8885 (engineUpdate): Revert algorithm change.
8886 (engineDigest): Revert algorithm change.
8888 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
8890 * configure.host: Add SH support.
8891 * sysdep/sh/locks.h: New file.
8893 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8895 * java/awt/Frame.java (Frame): Remove println calls.
8897 2002-07-30 Jeff Sturm <jsturm@one-point.com>
8899 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8900 * configure: Rebuilt.
8902 2002-07-27 Alan Modra <amodra@bigpond.net.au>
8904 * sysdep/powerpc/locks.h: Formatting.
8907 (compare_and_swap): Use _LARX and _STCX.
8908 (compare_and_swap_release): Likewise.
8910 2002-07-26 Tom Tromey <tromey@redhat.com>
8912 * java/net/Authenticator.java: New version from Classpath.
8913 * java/net/DatagramSocketImpl.java: New version from Classpath.
8915 2002-07-27 Alan Modra <amodra@bigpond.net.au>
8917 * configure.host: Add powerpc64*-* entry.
8919 2002-07-26 Tom Tromey <tromey@redhat.com>
8921 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8924 2002-07-24 Tom Tromey <tromey@redhat.com>
8926 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8929 2002-07-24 Tom Tromey <tromey@redhat.com>
8930 Tony Kimball <alk@pobox.com>
8932 * java/io/natFileDescriptorWin32.cc (setLength): New method.
8933 * java/io/natFileDescriptorPosix.cc (setLength): New method.
8934 * java/io/RandomAccessFile.java (setLength): New method.
8935 * java/io/natFileDescriptorEcos.cc (setLength): New method.
8936 * java/io/FileDescriptor.java (setLength): New method.
8938 2002-07-24 Mark Wielaard <mark@klomp.org>
8940 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8941 * java/io/ObjectInputStream.java (setBooleanField): Before setting
8942 field call setAccessible(true).
8943 (setByteField): Likewise.
8944 (setCharField): Likewise.
8945 (setDoubleField): Likewise.
8946 (setFloatField): Likewise.
8947 (setIntField): Likewise.
8948 (setLongField): Likewise.
8949 (setShortField): Likewise.
8950 (setObjectField): Likewise.
8952 2002-07-24 Tom Tromey <tromey@redhat.com>
8954 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8955 use toString() to format array element.
8957 2002-07-23 Mark Wielaard <mark@klomp.org>
8959 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8960 MessageDigestSpi (fixes Classpath bug #783).
8962 2002-07-21 Mark Wielaard <mark@klomp.org>
8964 * gnu/java/security/provider/Gnu.java: Reference all implementation
8965 classes by using Class.getName().
8967 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
8969 * java/lang/ieeefp.h: Add x86-64 support.
8970 * configure.in: Likewise.
8971 * configure.host: Likewise.
8972 * configure: Regenerated.
8973 * sysdep/x86-64/locks.h: New file with x86-64 locks.
8975 2002-07-16 Mark Wielaard <mark@klomp.org>
8977 * java/io/StreamTokenizer.java (pushBack): Update documentation.
8978 (whitespaceChars): call resetChar().
8980 2002-07-15 Tom Tromey <tromey@redhat.com>
8982 * Makefile.in: Rebuilt.
8983 * Makefile.am (awt_java_source_files): Added new files.
8984 * java/beans/ExceptionListener.java: Merged with Classpath.
8985 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8986 * java/beans/PropertyChangeListener.java: Merged with Classpath.
8987 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8988 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8989 * java/beans/VetoableChangeListener.java: Merged with Classpath.
8990 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8991 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8993 2002-07-14 Mark Wielaard <mark@klomp.org>
8995 * gnu/java/security/der/DEREncodingException.java,
8996 gnu/java/security/provider/DERReader.java,
8997 gnu/java/security/provider/DERWriter.java,
8998 gnu/java/security/provider/DSAKeyPairGenerator.java,
8999 gnu/java/security/provider/DSAParameterGenerator.java,
9000 gnu/java/security/provider/DSAParameters.java,
9001 gnu/java/security/provider/DSASignature.java,
9002 gnu/java/security/provider/GnuDSAPrivateKey.java,
9003 gnu/java/security/provider/GnuDSAPublicKey.java,
9004 gnu/java/security/provider/MD5.java,
9005 gnu/java/security/util/Prime.java: New files from Classpath.
9006 * Makefile.am (ordinary_java_source_files): Add new files.
9007 * Makefile.in: Regenerate.
9009 2002-07-14 C. Brian Jones <cbj@gnu.org>
9011 * gnu/java/security/provider/DefaultPolicy.java
9012 (getPermissions): do not maintain static class variable of
9014 * gnu/java/security/provider/SHA.java
9015 (engineUpdate): algorithm change
9016 (engineDigest): algorithm change
9018 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
9021 * java/lang/Character.java (toString(char)): Now static.
9023 2002-07-12 Mark Wielaard <mark@klomp.org>
9025 * java/lang/natThrowable.cc (printRawStackTrace): removed.
9026 (getStackTrace0): new method.
9027 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
9028 (printStackTrace(PrintWriter)): replace with pure java implementation.
9029 (printRawStackTrace): removed.
9030 (getStackTrace0): new method.
9031 * java/lang/StackTraceElement.java (toString): add extra whitespace.
9032 * gcj/javaprims.h: regenerate class list.
9033 * include/name-finder.h (lookup): new returns StackTraceElement*.
9034 (method_name, file_name): fields removed.
9035 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
9036 (~_Jv_name_finder): close new descriptors.
9037 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
9038 (createStackTraceElement): new method.
9039 (lookup): returns StackTraceElement*, uses createStackTraceElement().
9041 2002-07-10 Tom Tromey <tromey@redhat.com>
9043 * configure: Rebuilt.
9044 * configure.in: Use `test' after `&&'. From Chris Faylor.
9046 2002-07-08 Mark Wielaard <mark@klomp.org>
9048 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
9049 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
9050 java.sql.DatabaseMetaData.TestJdbc20
9052 2002-07-05 Tony Kimball <alk@pobox.com>
9054 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
9056 2002-07-04 Tom Tromey <tromey@redhat.com>
9057 Jeff Sturm <jsturm@one-point.com>
9059 Fix for PR libgcj/7060:
9060 * java/lang/Class.h (_getMethod): Renamed from getMethod.
9061 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
9062 Recurse into superinterfaces. Don't throw NoSuchMethodException.
9063 * java/lang/Class.java (getMethod): New Java implementation;
9065 (_getMethod): New native method.
9067 2002-07-02 Tom Tromey <tromey@redhat.com>
9068 David Hovemeyer <daveho@cs.umd.edu>
9070 * java/text/ChoiceFormat.java
9071 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
9073 * java/text/MessageFormat.java
9074 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
9077 2002-07-01 Tom Tromey <tromey@redhat.com>
9079 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
9080 StringTokenizer on null string. For PR libgcj/7180.
9081 From daveho@cs.umd.edu.
9083 2002-06-24 Tom Tromey <tromey@redhat.com>
9085 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
9086 (IntegerClass): Likewise.
9087 * java/lang/natClass.cc (CloneableClass): Removed.
9088 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
9089 ConstructorClass): Likewise.
9090 * java/lang/natClassLoader.cc (CloneableClass): Removed.
9091 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
9092 SerializableClass): Likewise.
9093 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
9094 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
9095 LongClass, FloatClass, DoubleClass): Likewise.
9097 * verify.cc (branch_prepass): Updated for change to exception
9099 (verify_instructions_0): Likewise.
9100 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
9101 (handleExceptionTableEntry): Updated for change to exception
9103 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
9104 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
9105 (union _Jv_InterpPC): New.
9106 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
9107 (class _Jv_InterpMethod): Added new `prepared' field.
9108 (class _Jv_InterpMethod): Added `compile' method. Removed
9109 `continue1' and `find_exception'. Changed arguments to `run'.
9110 * interpret.cc (union insn_slot): New.
9111 (find_exception): Removed.
9112 (run_normal): Removed most logic.
9113 (run_synch_object): Likewise; also, use JvSynchronize.
9114 (run_synch_class): Likewise.
9116 (continue1): Renamed as `run'. Compile bytecode if required.
9117 Add new code to allow refinement of direct-threaded code at
9118 runtime. Handle exceptions.
9120 (compile): New method.
9121 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
9122 (NULLARRAYCHECK): Don't use SAVE_PC.
9123 (pc_t): New typedef.
9124 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
9125 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
9127 2002-06-23 Tom Tromey <tromey@redhat.com>
9129 * configure: Rebuilt.
9130 * configure.in (INTERPRETER): New subst.
9131 (AM_RUNTESTFLAGS): Don't subst.
9133 * Makefile.in: Rebuilt.
9134 * Makefile.am ($(srcdir)/java/lang/Object.h,
9135 $(srcdir)/java/lang/Class.h): Added dummy targets.
9137 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9139 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9141 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9142 java/sql/Savepoint.java: New files.
9143 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9144 java/sql/Blob.java, java/sql/CallableStatement.java,
9145 java/sql/Clob.java, java/sql/Connection.java,
9146 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9147 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9148 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9149 java/sql/Ref.java, java/sql/ResultSet.java,
9150 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9151 java/sql/SQLException.java, java/sql/SQLInput.java,
9152 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9153 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9154 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9155 (JDK 1.4) specification.
9156 * javax/sql/ConnectionEvent.java,
9157 javax/sql/ConnectionEventListener.java,
9158 javax/sql/ConnectionPoolDataSource.java,
9159 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9160 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9161 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9162 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9163 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9164 javax/sql/XADataSource.java: New files.
9165 * Makefile.am: Add new files.
9166 * Makefile.in: Rebuilt.
9168 2002-06-20 Tom Tromey <tromey@redhat.com>
9171 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9173 * defineclass.cc (handleClassBegin): Superclass for interface is
9176 2002-06-18 Tom Tromey <tromey@redhat.com>
9178 * gcj/javaprims.h: Updated class declaration list.
9179 * Makefile.in: Rebuilt.
9180 * Makefile.am (core_java_source_files): Removed
9182 * java/util/BasicMapEntry.java: Removed.
9184 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9186 * java/net/natPlainDatagramSocketImpl.cc (receive):
9187 Check bounds of argument to FD_SET.
9188 (setOption): Throw exception if socket is closed.
9190 * java/net/natPlainSocketImpl.cc (accept, read):
9191 Check bounds of argument to FD_SET.
9192 (setOption): Throw exception if socket is closed.
9194 2002-06-18 Tom Tromey <tromey@redhat.com>
9196 * gcj/javaprims.h: Updated class declaration list.
9197 * Makefile.in: Rebuilt.
9198 * Makefile.am (core_java_source_files): Added
9199 PropertyPermissionCollection.java.
9200 * java/lang/Thread.java (group, name): Now package-private.
9201 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9202 * java/util/AbstractList.java: Likewise.
9203 * java/util/AbstractMap.java: Likewise.
9204 * java/util/Calendar.java: Likewise.
9205 * java/util/Collections.java: Likewise.
9206 * java/util/HashMap.java: Likewise.
9207 * java/util/Hashtable.java: Likewise.
9208 * java/util/LinkedHashMap.java: Likewise.
9209 * java/util/LinkedList.java: Likewise.
9210 * java/util/List.java: Likewise.
9211 * java/util/ListResourceBundle.java: Likewise.
9212 * java/util/Map.java: Likewise.
9213 * java/util/Observable.java: Likewise.
9214 * java/util/Properties.java: Likewise.
9215 * java/util/PropertyPermission.java: Likewise.
9216 * java/util/PropertyPermissionCollection.java: Likewise.
9217 * java/util/PropertyResourceBundle.java: Likewise.
9218 * java/util/Random.java: Likewise.
9219 * java/util/SimpleTimeZone.java: Likewise.
9220 * java/util/StringTokenizer.java: Likewise.
9221 * java/util/TimerTask.java: Likewise.
9222 * java/util/TreeMap.java: Likewise.
9223 * java/util/WeakHashMap.java: Likewise.
9224 * java/util/jar/Attributes.java: Likewise.
9225 * java/util/jar/JarException.java: Likewise.
9226 * java/util/jar/Manifest.java: Likewise.
9228 2002-06-17 Tom Tromey <tromey@redhat.com>
9230 * gcj/javaprims.h: Updated class declaration list.
9231 * Makefile.in: Rebuilt.
9232 * Makefile.am (core_java_source_files): Added new file.
9233 * java/util/EventListenerProxy.java: New file.
9234 * java/util/EventListener.java: Re-merge with Classpath.
9235 * java/util/EventObject.java: Re-merge with Classpath.
9237 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9239 * java/lang/ClassNotFoundException.java: New Classpath version.
9241 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9243 * java/rmi/activation/ActivateFailedException.java: Remerge from
9245 * java/rmi/activation/ActivationException.java: Ditto.
9246 * java/rmi/activation/UnknownGroupException.java: Ditto.
9247 * java/rmi/activation/UnknownObjectException.java: Ditto.
9248 * java/rmi/server/ExportException: Ditto.
9249 * java/rmi/server/ServerCloneException: Ditto.
9250 * java/rmi/server/ServerNotActiveException: Ditto.
9251 * java/rmi/server/SkeletonMismatchException: Ditto.
9252 * java/rmi/server/SkeletonNotFoundException: Ditto.
9253 * java/rmi/server/SocketSecurityException: Ditto.
9255 2002-06-16 Tom Tromey <tromey@redhat.com>
9257 * gcj/javaprims.h: Updated class declaration list.
9259 * java/io/LineNumberInputStream.java: Merged with Classpath.
9261 * java/lang/RuntimeException.java: Re-merge with Classpath.
9262 * java/util/ArrayList.java: Likewise.
9263 * java/util/Arrays.java: Likewise.
9264 * java/util/BitSet.java: Likewise.
9265 * java/util/Dictionary.java: Likewise.
9266 * java/util/IdentityHashMap.java: Likewise.
9267 * java/util/MissingResourceException.java: Likewise.
9268 * java/util/Observer.java: Likewise.
9269 * java/util/TooManyListenersException.java: Likewise.
9270 * java/util/zip/DataFormatException.java: Likewise.
9271 * java/util/zip/ZipException.java: Likewise.
9273 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9275 * java/rmi/AccessException.java: Remerge from Classpath.
9276 * java/rmi/AlreadyBoundException.java: Ditto.
9277 * java/rmi/ConnectException.java: Ditto.
9278 * java/rmi/ConnectIOException.java: Ditto.
9279 * java/rmi/MarshalException.java: Ditto.
9280 * java/rmi/NoSuchObjectException.java: Ditto.
9281 * java/rmi/NotBoundException.java: Ditto.
9282 * java/rmi/RemoteException.java: Ditto.
9283 * java/rmi/RMISecurityException.java: Ditto.
9284 * java/rmi/ServerError.java: Ditto.
9285 * java/rmi/ServerException.java: Ditto.
9286 * java/rmi/ServerRuntimeException.java: Ditto.
9287 * java/rmi/StubNotFoundException.java: Ditto.
9288 * java/rmi/UnexpectedExcpetion.java: Ditto.
9289 * java/rmi/UnknownHostException.java: Ditto.
9290 * java/rmi/UnmarshalException.java: Ditto.
9292 2002-06-15 Tom Tromey <tromey@redhat.com>
9294 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9295 * java/lang/ArithmeticException.java: Likewise.
9296 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9297 * java/lang/ArrayStoreException.java: Likewise.
9298 * java/lang/Byte.java: Likewise.
9299 * java/lang/CharSequence.java: Likewise.
9300 * java/lang/ClassCastException.java: Likewise.
9301 * java/lang/ClassCircularityError.java: Likewise.
9302 * java/lang/ClassFormatError.java: Likewise.
9303 * java/lang/CloneNotSupportedException.java: Likewise.
9304 * java/lang/Cloneable.java: Likewise.
9305 * java/lang/Comparable.java: Likewise.
9306 * java/lang/Compiler.java: Likewise.
9307 * java/lang/Error.java: Likewise.
9308 * java/lang/ExceptionInInitializerError.java: Likewise.
9309 * java/lang/IllegalAccessError.java: Likewise.
9310 * java/lang/IllegalAccessException.java: Likewise.
9311 * java/lang/IllegalArgumentException.java: Likewise.
9312 * java/lang/IllegalMonitorStateException.java: Likewise.
9313 * java/lang/IllegalStateException.java: Likewise.
9314 * java/lang/IllegalThreadStateException.java: Likewise.
9315 * java/lang/IncompatibleClassChangeError.java: Likewise.
9316 * java/lang/IndexOutOfBoundsException.java: Likewise.
9317 * java/lang/InheritableThreadLocal.java: Likewise.
9318 * java/lang/InstantiationError.java: Likewise.
9319 * java/lang/InstantiationException.java: Likewise.
9320 * java/lang/InternalError.java: Likewise.
9321 * java/lang/InterruptedException.java: Likewise.
9322 * java/lang/LinkageError.java: Likewise.
9323 * java/lang/NegativeArraySizeException.java: Likewise.
9324 * java/lang/NoClassDefFoundError.java: Likewise.
9325 * java/lang/NoSuchFieldError.java: Likewise.
9326 * java/lang/NoSuchFieldException.java: Likewise.
9327 * java/lang/NoSuchMethodError.java: Likewise.
9328 * java/lang/NoSuchMethodException.java: Likewise.
9329 * java/lang/NullPointerException.java: Likewise.
9330 * java/lang/NumberFormatException.java: Likewise.
9331 * java/lang/OutOfMemoryError.java: Likewise.
9332 * java/lang/Process.java: Likewise.
9333 * java/lang/Runnable.java: Likewise.
9334 * java/lang/RuntimePermission.java: Likewise.
9335 * java/lang/SecurityException.java: Likewise.
9336 * java/lang/Short.java: Likewise.
9337 * java/lang/StackOverflowError.java: Likewise.
9338 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9339 * java/lang/ThreadDeath.java: Likewise.
9340 * java/lang/ThreadLocal.java: Likewise.
9341 * java/lang/UnknownError.java: Likewise.
9342 * java/lang/UnsatisfiedLinkError.java: Likewise.
9343 * java/lang/UnsupportedClassVersionError.java: Likewise.
9344 * java/lang/UnsupportedOperationException.java: Likewise.
9345 * java/lang/VerifyError.java: Likewise.
9346 * java/lang/VirtualMachineError.java: Likewise.
9347 * java/lang/reflect/InvocationTargetException.java: Likewise.
9348 * java/net/BindException.java: Likewise.
9349 * java/net/ConnectException.java: Likewise.
9350 * java/net/MalformedURLException.java: Likewise.
9351 * java/net/NoRouteToHostException.java: Likewise.
9352 * java/net/ProtocolException.java: Likewise.
9353 * java/net/SocketException.java: Likewise.
9354 * java/net/UnknownHostException.java: Likewise.
9355 * java/net/UnknownServiceException.java: Likewise.
9357 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9358 * java/io/CharConversionException.java: Likewise.
9359 * java/io/EOFException.java: Likewise.
9360 * java/io/FileNotFoundException.java: Likewise.
9361 * java/io/IOException.java: Likewise.
9362 * java/io/InterruptedIOException.java: Likewise.
9363 * java/io/InvalidClassException.java: Likewise.
9364 * java/io/InvalidObjectException.java: Likewise.
9365 * java/io/NotActiveException.java: Likewise.
9366 * java/io/NotSerializableException.java: Likewise.
9367 * java/io/ObjectStreamException.java: Likewise.
9368 * java/io/ObjectStreamConstants.java: Likewise.
9369 * java/io/OptionalDataException.java: Likewise.
9370 * java/io/PipedInputStream.java: Likewise.
9371 * java/io/PushbackInputStream.java: Likewise.
9372 * java/io/StreamCorruptedException.java: Likewise.
9373 * java/io/SyncFailedException.java: Likewise.
9374 * java/io/UTFDataFormatException.java: Likewise.
9375 * java/io/UnsupportedEncodingException.java: Likewise.
9376 * java/io/WriteAbortedException.java: Likewise.
9378 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9380 * java/text/ChoiceFormat.java: Update comments from Classpath.
9381 * java/text/ParseException.java (serialVersionUID): New
9382 field from Classpath.
9383 * java/text/ParseException.java: Update formatting & comments
9386 2002-06-15 Tom Tromey <tromey@redhat.com>
9388 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9389 been read but none output by inflater.
9390 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9391 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9393 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9395 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9396 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9397 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9399 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9401 2002-06-13 Tom Tromey <tromey@redhat.com>
9403 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9405 * java/lang/String.java (String(char[],int,int,boolean): New
9407 * java/lang/Long.java: Imported new version from Classpath.
9408 * java/lang/Number.java: Likewise.
9409 * java/lang/Integer.java: Likewise.
9410 * java/lang/Long.java: Likewise.
9411 * java/lang/Float.java: Likewise.
9412 * java/lang/Boolean.java: Likewise.
9413 * java/lang/Double.java: Likewise.
9414 * java/lang/Void.java: Likewise.
9416 2002-06-12 Tom Tromey <tromey@redhat.com>
9418 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9419 Fixes PR libgcj/6652.
9421 2002-06-10 Tom Tromey <tromey@redhat.com>
9423 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9424 (Class::getPackagePortion): Likewise.
9425 * java/lang/Class.java (desiredAssertionStatus): New method from
9427 (getPackagePortion): Likewise.
9428 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9429 packageAssertionStatus, classAssertionStatus): New methods from
9431 * java/lang/ClassLoader.java (defaultAssertionStatus,
9432 systemPackageAssertionStatus, packageAssertionStatus,
9433 systemClassAssertionStatus, classAssertionStatus): New fields from
9435 (setDefaultAssertionStatus, setPackageAssertionStatus,
9436 setClassAssertionStatus, clearAssertionStatus): New methods from
9438 * Makefile.in: Rebuilt.
9439 * Makefile.am (core_java_source_files): Added AssertionError.java.
9440 * java/lang/AssertionError.java: New from Classpath.
9442 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9444 * configure.host: Disable hash synchronization and slow_pthread_self
9447 2002-06-06 Adam Megacz <adam@xwt.org>
9449 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9450 locking, just like the Sun JVM does.
9452 2002-06-05 H.J. Lu (hjl@gnu.org)
9454 * Makefile.am (libgcj_convenience.la): Revert the last change.
9455 (libgcj.la): Likewise.
9456 * Makefile.in: Regenerated.
9458 2002-06-04 H.J. Lu (hjl@gnu.org)
9460 * Makefile.am (libgcj_convenience.la): New target.
9461 (libgcj.la): Depend on libgcj_convenience.la.
9462 * Makefile.in: Regenerated.
9464 2002-06-04 H.J. Lu (hjl@gnu.org)
9466 * configure.in (--with-newlib): New option:
9467 Check ${with_newlib} instead of ${with_cross_host} for newlib.
9468 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9470 * configure: Regenerated.
9472 2002-06-04 Tom Tromey <tromey@redhat.com>
9474 * java/util/natTimeZone.cc: Include <stdio.h>.
9476 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
9478 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9479 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9480 Set SIGNAL_HANDLER=include/s390-linux.h.
9481 * configure: Regenerate.
9482 * include/s390-linux.h: New file.
9484 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9486 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9489 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9491 Merge JDK 1.4 java.security changes from classpath.
9493 * java/security/AccessControlException.java: Merge from Classpath.
9494 * java/security/AccessController.java: Likewise.
9495 * java/security/AllPermission.java: Likewise.
9496 * java/security/BasicPermission.java: Likewise.
9497 * java/security/Certificate.java: Likewise.
9498 * java/security/CodeSource.java: Likewise.
9499 * java/security/DigestException.java: Likewise.
9500 * java/security/DigestOutputStream.java: Likewise.
9501 * java/security/DomainCombiner.java: Likewise.
9502 * java/security/GeneralSecurityException.java: Likewise.
9503 * java/security/Guard.java: Likewise.
9504 * java/security/GuardedObject.java: Likewise.
9505 * java/security/InvalidAlgorithmParameterException.java: Likewise.
9506 * java/security/InvalidKeyException.java: Likewise.
9507 * java/security/InvalidParameterException.java: Likewise.
9508 * java/security/Key.java: Likewise.
9509 * java/security/KeyException.java: Likewise.
9510 * java/security/KeyManagementException.java: Likewise.
9511 * java/security/KeyStoreException.java: Likewise.
9512 * java/security/MessageDigest.java: Likewise.
9513 * java/security/NoSuchAlgorithmException.java: Likewise.
9514 * java/security/NoSuchProviderException.java: Likewise.
9515 * java/security/Permission.java: Likewise.
9516 * java/security/PermissionCollection.java: Likewise.
9517 * java/security/Permissions.java: Likewise.
9518 * java/security/Policy.java: Likewise.
9519 * java/security/Principal.java: Likewise.
9520 * java/security/PrivateKey.java: Likewise.
9521 * java/security/PrivilegedAction.java: Likewise.
9522 * java/security/PrivilegedActionException.java: Likewise.
9523 * java/security/PrivilegedExceptionAction.java: Likewise.
9524 * java/security/ProtectionDomain.java: Likewise.
9525 * java/security/ProviderException.java: Likewise.
9526 * java/security/PublicKey.java: Likewise.
9527 * java/security/SecureClassLoader.java: Likewise.
9528 * java/security/SecurityPermission.java: Likewise.
9529 * java/security/SignatureException.java: Likewise.
9530 * java/security/UnrecoverableKeyException.java: Likewise.
9531 * java/security/UnresolvedPermission.java: Likewise.
9532 * java/security/acl/AclNotFoundException.java: Likewise.
9533 * java/security/acl/LastOwnerException.java: Likewise.
9534 * java/security/acl/NotOwnerException.java: Likewise.
9535 * java/security/cert/CRLException.java: Likewise.
9536 * java/security/cert/CertificateEncodingException.java: Likewise.
9537 * java/security/cert/CertificateException.java: Likewise.
9538 * java/security/cert/CertificateExpiredException.java: Likewise.
9539 * java/security/cert/CertificateFactory.java: Likewise.
9540 * java/security/cert/CertificateNotYetValidException.java: Likewise.
9541 * java/security/cert/CertificateParsingException.java: Likewise.
9542 * java/security/spec/InvalidKeySpecException.java: Likewise.
9543 * java/security/spec/InvalidParameterSpecException.java: Likewise.
9545 * java/security/cert/CertPath.java: New file.
9546 * java/security/cert/CertPathBuilderException.java: New file.
9547 * java/security/cert/CertPathValidatorException.java: New file.
9548 * java/security/cert/CertStoreException.java: New file.
9550 * Makefile.am: Add new CertPath classes.
9551 * Makefile.in: Rebuilt.
9553 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9555 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9557 Merge JDK 1.4 exception chaining support from classpath.
9559 * java/lang/Throwable.java: Merge 1.4 support from classpath.
9560 (stackTraceBytes): Rename from stackTrace.
9561 * java/lang/Exception.java: Merge from classpath.
9562 * java/lang/StackTraceElement: New file from classpath.
9563 * gcj/javaprims.h: Rebuild CNI namespace declarations.
9564 * Makefile.am: Add StackTraceElement.
9565 * Makefile.in: Rebuilt.
9567 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9569 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9571 * Makefile.in: Rebuilt.
9573 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9575 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9576 * configure.in: Likewise.
9577 * aclocal.m4: Regenerate.
9578 * configure: Regenerate.
9580 2002-05-13 Tom Tromey <tromey@redhat.com>
9582 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9583 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9586 Fixes PR libgcj/6389:
9587 * Makefile.in: Rebuilt.
9588 * Makefile.am (nat_source_files): Added natTimeZone.cc.
9589 * java/util/natTimeZone.cc: New file.
9590 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9591 * java/lang/System.java: Merged with Classpath.
9592 * java/lang/Runtime.java: Merged with Classpath.
9593 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9595 (setIn0): Renamed from setIn; don't run security check.
9596 (setOut0): Renamed from setOut; don't run security check.
9597 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9598 init_properties): Moved to natRuntime.cc.
9599 Moved many includes to natRuntime.cc.
9600 (isWordsBigEndian): New method.
9601 * java/lang/natRuntime.cc: Include Long.h, also other includes
9602 previously in natSystem.cc.
9603 (maxMemory): New function.
9604 (exitInternal): Renamed from `_exit'.
9606 (init): Don't set finalize_on_exit.
9607 (exitInternal): Use `finalizeOnExit'.
9608 (file_encoding, getpwuid_adaptor): New functions from
9610 (insertSystemProperties): New method, renamed from
9611 System::init_properties. Don't set user.timezone.
9612 (_load): Don't call checkLink.
9613 (execInternal): New method.
9614 (availableProcessors): Likewise.
9615 (nativeGetLibname): Likewise.
9617 2002-05-11 Mark Wielaard <mark@klomp.org>
9619 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9621 (previous_internal): Likewise.
9623 2002-05-09 Tom Tromey <tromey@redhat.com>
9625 * jni.cc (_Jv_JNIFunctions): Fixed typo.
9627 * java/util/ResourceBundle.java: New version from Classpath.
9628 * java/util/Locale.java: Likewise.
9630 2002-05-09 Jakub Jelinek <jakub@redhat.com>
9632 * testsuite/lib/libjava.exp (libjava_arguments): Append all
9633 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9636 2002-05-08 Mark Mitchell <mark@codesourcery.com>
9638 * libjava/Makefile.am (all_java_source_files): New variable.
9639 (all_java_class_files): Likewise.
9640 .java.class: New rule.
9641 (CLEANFILES): Remove tmp-list.
9642 * libjava/Makefile.in: Regenerated.
9644 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
9646 * testsuite/lib/libjava.exp (test_libjava_from_javac):
9647 Append .exe to executable names. Fix for cygwin.
9649 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
9651 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9652 script entry, and set LD to it when configuring multilibs.
9653 * configure: Rebuilt.
9655 2002-05-07 Tom Tromey <tromey@redhat.com>
9657 * java/lang/natString.cc (unintern): Fixed typo.
9659 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9661 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9662 with -no-install on *-*-cygwin*.
9664 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9666 * testsuite/lib/libjava.exp (test_libjava_from_source):
9667 Add comment explaining last patch
9669 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
9671 * testsuite/lib/libjava.exp (test_libjava_from_source):
9672 Append .exe to executable names. If no suffix is present,
9673 then ".exe" is added by default on win32. Harmless
9674 elsewhere so always do it.
9676 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
9677 Tom Tromey <tromey@redhat.com>
9679 * java/lang/natSystem.cc (getSystemTimeZone): Use
9680 HAVE_UNDERSCORE_TIMEZONE.
9681 * include/config.h.in: Rebuilt.
9682 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9683 * aclocal.m4, configure: Rebuilt.
9684 * acinclude.m4: Run AC_EXEEXT.
9685 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9686 Add test for `_timezone'.
9688 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
9690 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9691 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9692 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9693 * Makefile.in: Rebuilt.
9695 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
9697 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9698 use sigaction instead of __libc_sigaction.
9700 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9702 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9703 (libjava_init): Use it to find libgcj.spec.
9704 (libjava_arguments): Likewise.
9706 2002-05-02 David S. Miller <davem@redhat.com>
9709 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9710 __libc_sigaction on Sparc.
9712 2002-05-02 Jerome Marc <marcjero@yahoo.com>
9714 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9715 sys/filio.h, if present.
9717 2002-04-30 Tom Tromey <tromey@redhat.com>
9719 * java/io/BufferedReader.java (fill): Handle case where markPos
9720 point to ignored \n. Fixes PR libgcj/6301.
9722 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
9724 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9726 2002-04-29 Adam King <aking@dreammechanics.com>
9728 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9729 of file in APPEND mode.
9731 2002-04-25 David S. Miller <davem@redhat.com>
9734 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9735 program counter to next program counter minus 8. Update
9736 comments in this macro to explain why.
9738 2002-04-26 Tom Tromey <tromey@redhat.com>
9740 * verify.cc (construct_primitive_array_type) [void_type]: New
9742 (branch_prepass): Added dummy entries for unused instruction
9744 (verify_instructions_0): Likewise.
9745 * interpret.cc (continue1): Comment fix.
9746 * include/java-insns.h (op_xxxunusedxxx1): Removed.
9747 * Makefile.in: Rebuilt.
9748 * Makefile.am: Added -Wswitch-enum.
9750 2002-04-24 Tom Tromey <tromey@redhat.com>
9752 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9753 correct length of UTF-8 encoded name. Strip leading `/'.
9754 (_Jv_RegisterResource): Use _Jv_Malloc.
9756 2002-04-23 Adam Megacz <adam@xwt.org>
9758 * win32.cc, include/win32.cc (backtrace): Added this function
9759 because Win32 does not supply it.
9761 2002-04-21 David S. Miller <davem@redhat.com>
9763 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9764 magic instruction reading sequence.
9766 2002-04-21 Mark Wielaard <mark@klomp.org>
9768 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9770 2002-04-19 David S. Miller <davem@redhat.com>
9772 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9774 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9775 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9777 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9779 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9780 * sysdeps/sparc/locks.h: New file.
9781 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9782 on all sparc Solaris configurations. Set to
9783 include/dwarf2-signal.h on sparc Linux.
9784 * configure: Regenerate
9785 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9787 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
9789 * configure: Rebuilt.
9790 * configure.in (backtrace): Function doesn't work on IA-64.
9792 2002-04-17 Adam King <aking@dreammechanics.com>
9794 * java/io/File.java (normalizePath): Add Win32 support for auto
9795 conversion of a '/' path separator to Win32's '\' separator.
9797 2002-04-16 Tom Tromey <tromey@redhat.com>
9799 Fix for PR libgcj/6081:
9800 * Makefile.in: Rebuilt.
9801 * Makefile.am (install-data-local): Use GNU make trick to avoid
9804 2002-04-16 Adam King <aking@dreammechanics.com>
9805 Tom Tromey <tromey@redhat.com>
9807 * java/io/natFileWin32.cc (performList): Return the correct array
9808 type. Don't duplicate the creation of a File since it's already
9809 done earlier in the method and the existing code would cause a
9810 ArrayStoreException. Don't use fixed-size array.
9811 (_access, _stat, attr, getCanonicalPath, performMkdir,
9812 performRenameTo): Don't use fixed-size array.
9813 (getCanonicalPath): Use throw, not _Jv_Throw.
9815 2002-04-15 DJ Delorie <dj@redhat.com>
9817 * configure.in: Allow building in $srcdir.
9818 * configure: Regenerated.
9820 2002-04-14 Mark Wielaard <mark@klomp.org>
9822 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9823 * java/net/natSocketImpl.cc (close): Likewise.
9825 2002-04-14 Mark Wielaard <mark@klomp.org>
9827 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9829 2002-04-13 Adam King <aking@dreammechanics.com>
9831 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9832 the f/F/d/D modifiers.
9834 2002-04-12 Anthony Green <green@redhat.com>
9836 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9837 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9838 * Makefile.in: Rebuilt.
9839 * configure.in: Substitute gcc_version.
9840 * configure: Rebuilt.
9842 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9844 * configure.host: Set can_unwind_signal on hosts which support it.
9845 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9846 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9847 exceptions and can_unwind_signal isn't set.
9848 * configure: Rebuilt.
9850 2002-04-11 Tom Tromey <tromey@redhat.com>
9852 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9854 2002-04-11 Adam King <aking@dreammechanics.com>
9855 Tom Tromey <tromey@redhat.com>
9857 * include/jvm.h (_Jv_ThrowBadArrayIndex,
9858 _Jv_ThrowNullPointerException): Mark as noreturn.
9859 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9860 and _Jv_free. Correctly invoke GetTempPath(). Indentation
9863 2002-04-10 Tom Tromey <tromey@redhat.com>
9865 * Makefile.in: Rebuilt.
9866 * Makefile.am (java/lang/Thread.h): Mark
9867 _Jv_AttachCurrentThreadAsDaemon as friend.
9868 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9869 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9870 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9872 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9873 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9874 (_Jv_JNI_InvokeFunctions): Added
9875 _Jv_JNI_AttachCurrentThreadAsDaemon.
9876 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9877 (JNI_GetDefaultJavaVMInitArgs): Likewise.
9878 (JNI_CreateJavaVM): Likewise.
9879 (_Jv_JNI_AttachCurrentThread): Likewise.
9880 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9881 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9882 (_Jv_JNIFunctions): Initialize new fields.
9883 (_Jv_JNI_NewDirectByteBuffer): New function.
9884 (_Jv_JNI_GetDirectBufferAddress): Likewise.
9885 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9886 * include/jni.h (JNI_VERSION_1_4): New macro.
9887 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9888 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9889 (JNINativeInterface::NewDirectByteBuffer): New field.
9890 (JNINativeInterface::GetDirectBufferAddress): New field.
9891 (JNINativeInterface::GetDirectBufferCapacity): New field.
9892 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9893 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9894 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9896 2002-04-09 Tom Tromey <tromey@redhat.com>
9898 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9900 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
9902 Fix for PR libgcj/6187:
9903 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9906 2002-04-07 Mark Wielaard <mark@klomp.org>
9908 * java/util/AbstractMap.java (putAll): Use entrySet size.
9909 (toString): Explicitly use getKey() and getValue().
9911 2002-04-07 Mark Wielaard <mark@klomp.org>
9913 * java/util/Hashtable.java (contains): Remove NullPointer check.
9914 (containsValue): Add NullPointer check.
9915 (remove): Always throw NullPointerException when key
9918 2002-04-07 Adam King <aking@dreammechanics.com>
9920 * java/lang/natSystem.cc (init_properties): Call new function
9921 _Jv_platform_initProperties.
9922 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9923 support for the System properties os.name, os.arch, os.version,
9924 user.name, user.home, and user.dir.
9925 * include/posix.h, include/win32.h, posix.cc: New function
9926 _Jv_platform_initProperties.
9928 2002-04-06 Mark Wielaard <mark@klomp.org>
9930 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9932 2002-04-06 Mark Wielaard <mark@klomp.org>
9934 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9935 all of the remaining elements.
9936 * java/util/Vector.java (addAll(int,Collection)): Likewise.
9937 (removeRange): If toIndex == fromIndex do
9938 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9939 (removeAll): Always throw NullPointerException when collection is
9941 (retrainAll): Likewise.
9943 2002-04-05 Mark Wielaard <mark@klomp.org>
9945 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9946 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9948 2002-04-05 Adam Megacz <adam@xwt.org>
9950 * exception.cc (abort): added static modifier
9952 2002-04-04 Adam Megacz <adam@xwt.org>
9954 * include/win32.h (_Jv_platform_close_on_exec): added inline
9957 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
9959 * configure.host: Add case statement to support generic port
9960 properties. Add *-*-freebsd* section.
9962 2002-04-04 Mark Wielaard <mark@klomp.org>
9964 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9966 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9967 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9968 that depend on awt code and BufferedByteOutputStream.interrupt.
9970 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9972 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9973 incorrect "hi" value when count > 40.
9975 2002-04-03 Mark Wielaard <mark@klomp.org>
9977 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9980 2002-04-02 Tom Tromey <tromey@redhat.com>
9982 * java/lang/natClassLoader.cc (findClass): Compare against `3',
9985 2002-04-02 Mark Wielaard <mark@klomp.org>
9987 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9988 list of testsuite crashers.
9990 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9992 * java/util/IdentityHashMap.java (put): Set new threshold correctly
9993 when resizing table.
9995 2002-04-01 Mark Wielaard <mark@klomp.org>
9997 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9998 NegativeArraySizeException
9999 (clear(int)): Use sign extended shift.
10000 (flip(int)): Likewise.
10001 (get(int)): Likewise.
10002 (nextClearBit(int)): Likewise.
10003 (nextSetBit(int)): Likewise.
10004 (set(int)): Likewise.
10006 2002-04-01 Mark Wielaard <mark@klomp.org>
10008 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
10009 that can be compiled now and add testsuite crashers to ignore list.
10011 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
10013 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
10015 * libgcj.spec.in: Override libgcc, not lib.
10016 * libgcj-test.spec.in: Likewise.
10018 2002-03-29 Tom Tromey <tromey@redhat.com>
10020 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
10021 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
10023 2002-03-27 Jeff Sturm <jsturm@one-point.com>
10025 * java/net/PlainDatagramSocketImpl.java
10026 (close): Use native implementation.
10027 (finalize): New method.
10029 * java/net/PlainSocketImpl.java (finalize): New method.
10031 * java/net/natPlainDatagramSocketImpl.cc
10032 (java/io/FileDescriptor.h): Don't include.
10033 (close): Implement method here.
10034 (create): Don't assign fd.
10036 * java/net/natPlainSocketImpl.cc
10037 (java/io/FileDescriptor.h): Don't include.
10038 (create): Don't assign fd.
10039 (accept): Likewise.
10040 (close): Synchronize.
10042 2002-03-27 Richard Henderson <rth@redhat.com>
10044 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
10046 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10048 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10049 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
10050 instead of syscall on IA-64.
10053 2002-03-27 Anthony Green <green@redhat.com>
10055 * libgcj.spec.in: Add CHECKREFSPEC.
10056 * configure.in: Ditto.
10057 * configure.host: Ditto. Check references for xscale-elf.
10058 * configure: Rebuilt.
10060 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
10062 * include/dwarf2-signal.h: Temporarily back out last change.
10064 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
10066 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
10068 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
10070 * configure.in, configure: enable dwarf2-exception-style
10071 exception handling on IA-64.
10072 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
10073 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
10076 2002-03-25 Tom Tromey <tromey@redhat.com>
10078 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
10079 (jv_convert_LDFLAGS): Likewise.
10080 (gij_LDFLAGS): Likewise.
10081 (rmic_LDFLAGS): Likewise.
10082 (rmiregistry_LDFLAGS): Likewise.
10083 * configure.in (THREADLDFLAGS): New subst; set correctly for
10086 2002-03-25 Tom Tromey <tromey@redhat.com>
10088 For PR libgcj/5303:
10089 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
10091 (help): New method.
10092 (version): Likewise.
10093 * gnu/gcj/convert/Convert.java (version): Removed extraneous
10095 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
10098 2002-03-25 Tom Tromey <tromey@redhat.com>
10100 * java/awt/Component.java (processEvent): Check ComponentEvent
10103 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10105 * java/io/PushbackReader.java: Reformat.
10107 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
10108 calculate correct number of bytes skipped.
10110 Based on patch from Intel's ORP team:
10111 * java/io/PushbackInputStream.java (available): Calculate correct
10112 number of bytes in buffer.
10113 (read): Remove redundant bound check. Return bytes from both the
10114 buffer and the stream.
10116 2002-03-24 Tom Tromey <tromey@redhat.com>
10118 * java/awt/TextComponent.java (TextComponent): Editable by
10121 * java/awt/MenuItem.java (eventMask): No longer private.
10122 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
10123 superclass if we didn't handle event.
10124 * java/awt/Checkbox.java (dispatchEventImpl): New method.
10125 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
10126 * java/awt/Choice.java (dispatchEventImpl): New method.
10127 * java/awt/List.java (dispatchEventImpl): New method.
10128 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
10129 * java/awt/TextComponent.java (dispatchEventImpl): New method.
10130 * java/awt/TextField.java (dispatchEventImpl): New method.
10132 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10134 * java/beans/IntrospectionException.java: Update to 1.4.
10135 * java/beans/PropertyVetoException.java: Ditto.
10137 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10139 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10140 Arrays.equals instead of ArrayHelper.equalsArray.
10142 2002-03-24 C. Brian Jones <cbj@gnu.org>
10144 * java/beans/Introspector.java: added new static final fields
10145 introduced in 1.2, lots of other updates remain to be done
10147 2002-03-24 C. Brian Jones <cbj@gnu.org>
10149 * java/beans/Introspector.java: reformatting
10151 2002-03-24 C. Brian Jones <cbj@gnu.org>
10153 * java/beans/Introspector.java: default beanInfoSearchPath will
10154 not include sun.beans.infos given we provide no such package and
10155 the API doesn't really require it; gnu.java.beans.info is the
10158 2002-03-24 Mark Wielaard <mark@klomp.org>
10160 Thanks to Orp developers
10161 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10162 switch TRUE and FALSE return values.
10164 2002-03-23 Tom Tromey <tromey@redhat.com>
10166 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10167 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10169 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10171 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10172 MONTH entry. Fixes PR libgcj/6045.
10174 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10176 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10178 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10180 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10182 * sysdep/powerpc/locks.h (write_barrier): New function.
10183 * sysdep/i386/locks.h (write_barrier): New function.
10185 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10187 * include/jni.h Use correct C comments.
10189 2002-03-18 Tom Tromey <tromey@redhat.com>
10191 * include/jni.h (JNIIMPORT): New macro.
10192 (JNIEXPORT): Likewise.
10193 (JNICALL): Likewise.
10195 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10197 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10200 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10202 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10203 INIT_SEGV: Use old_i386_kernel_sigaction.
10206 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10208 * java/lang/natSystem.cc (init_properties): Update VM version
10210 * configure.in: Set GCJVERSION.
10211 * acconfig.h: Add GCJVERSION.
10212 * configure: Rebuilt.
10213 * include/config.h.in: Rebuilt.
10215 2002-03-17 Anthony Green <green@redhat.com>
10217 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10219 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10221 Build a single libgcj.so, without separate gc and zlib libraries.
10222 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10223 SYS_ZLIBS if system zlib is used.
10224 * configure: Rebuilt.
10225 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10226 * Makefile.in: Rebuilt.
10227 * libtool-version: Increment .so version number.
10229 * Makefile.am: Escape quotes in echo.
10230 * Makefile.in: Rebuilt.
10232 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10234 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10235 * Makefile.in: Rebuilt.
10237 2002-03-15 Anthony Green <green@redhat.com>
10239 * configure.host (FILE): New macro for specifing File
10241 * configure: Rebuilt.
10242 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10244 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10246 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10247 already implicitly brought in from libgcj.la.
10248 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10249 * Makefile.in: Rebuilt.
10251 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10253 * THANKS: Fix punctuation, alphabetization.
10255 2002-03-15 Tom Tromey <tromey@redhat.com>
10256 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10258 Fix for PR libgcj/5944.
10259 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10261 2002-03-15 Anthony Green <green@redhat.com>
10263 * configure.in (tool_include_dir): Define.
10264 * configure: Rebuilt.
10265 * gcj/Makefile.am: Install libgcj-config.h relative to
10267 * gcj/Makefile: Rebuilt.
10268 * gcj/libgcj-config.h: Add warning comment.
10270 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10272 * configure.host (powerpc*-darwin*): Enable interpreter.
10274 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10276 * include/posix.h: Add multiple include header protection.
10277 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10279 2002-03-10 Adam Megacz <adam@xwt.org>
10281 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10283 2002-03-10 Tom Tromey <tromey@redhat.com>
10285 * java/awt/GridLayout.java (layoutContainer): Handle case where
10286 there are no items in container.
10288 * java/lang/Win32Process.java: Added comment.
10289 * include/posix.h (_Jv_platform_close_on_exec): New function.
10291 * include/win32.h (_Jv_platform_close_on_exec): New function.
10292 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10294 (accept): Likewise.
10295 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10296 close-on-exec flag.
10297 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10300 2002-03-09 Tom Tromey <tromey@redhat.com>
10302 * verify.cc (state::NO_STACK): New constant.
10303 (state::is_unmerged_ret_state): Handle case where stacktop is
10305 (state::merge): Handle NO_STACK merges.
10306 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10307 for instruction following jsr.
10308 (stacktop, stackdepth): Removed unused variables.
10309 (pop_jump): Ignore case where all remaining states are skipped.
10311 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10313 * java/awt/ImageMediaEntry: Removed.
10314 * java/awt/MediaEntry: Removed.
10316 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10318 Hashtable synchronization for PowerPC.
10319 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10320 slow_pthread_self. Set up symlink for sysdeps directory.
10321 * configure: Rebuild.
10322 * configure.host: Document more shell variables. Set sysdeps_dir
10323 for most platforms. Set slow_pthread_self for i686. Set
10324 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10325 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10326 that memory barrier is emitted where required.
10327 * prims.cc: 64-bit align static primitive class instances.
10328 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10329 read_barrier() to enforce ordering of reads.
10330 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10331 primitives for PowerPC.
10332 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10333 moved from natObject.cc.
10334 * sysdep/alpha/locks.h: Likewise.
10335 * sysdep/ia64/locks.h: Likewise.
10336 * sysdep/generic/locks.h: Likewise.
10337 * java/lang/natObject.cc: Move thread synchronization primitives to
10338 system-dependent headers.
10340 2002-03-09 Adam Megacz <adam@xwt.org>
10342 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10343 bytes read and no failure code returned.
10345 2002-03-09 Adam Megacz <adam@xwt.org>
10347 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10348 definitions to simulate -mthreads.
10350 2002-03-09 Adam Megacz <adam@xwt.org>
10352 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10353 avoid precision loss.
10355 2002-03-09 Per Bothner <per@bothner.com>
10357 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10358 * gnu/gcj/xlib/XImage.java: Likewise.
10359 * gnu/gcj/xlib/XColor.java: Likewise.
10361 2002-03-09 Adam Megacz <adam@xwt.org>
10363 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10364 IOException so that Throwable.printStackTrace fails correctly.
10366 2002-03-08 Adam Megacz <adam@xwt.org>
10368 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10371 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10373 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10376 2002-03-08 Tom Tromey <tromey@redhat.com>
10378 * include/jni.h: Include stdio.h.
10380 2002-03-08 Tom Tromey <tromey@redhat.com>
10382 * posix.cc (internal_gettimeofday): New function.
10383 (_Jv_select): Use it.
10385 2002-03-07 Adam Megacz <adam@xwt.org>
10387 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10388 WIN32, and added thunks for read(), write(), and close().
10389 * java/net/natPlainSocketImpl.cc (accept, read, read):
10390 Disabled timeouts on WIN32 pending discussion.
10392 2002-03-07 Adam Megacz <adam@xwt.org>
10394 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10395 returns jlong. Added implementation
10396 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10398 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10400 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10402 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10403 _Jv_platform_gettimeofday signature.
10405 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10407 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10408 (read): Call recv() directly, not _Jv_recv().
10410 2002-03-06 Tom Tromey <tromey@redhat.com>
10412 * java/io/natFileDescriptorEcos.cc (init): Don't use
10414 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10416 (init): Don't use GetStdHandle.
10418 * include/config.h.in: Rebuilt.
10419 * configure: Rebuilt.
10420 * Makefile.in: Rebuilt.
10422 2002-03-06 Adam Megacz <adam@xwt.org>
10424 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10425 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10426 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10427 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10429 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10431 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10432 the code for generating include/java-chartables.h.
10433 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10434 merge with Classpath.
10435 * scripts/unicode-muncher.pl: Copy from Classpath.
10436 * scritps/MakeCharTables.java: New file.
10437 * gnu/gcj/convert/Blocks-3.txt: New file.
10438 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10439 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10440 * gnu/java/lang/CharData.java: Copy from Classpath.
10441 * Makefile.am (ordinary_java_source_files): Add
10442 gnu/java/lang/CharData.java.
10443 * configure.in: Remove --enable-fast-character option.
10444 * java/lang/Character.java: Merge algorithms and Javadoc with
10446 * java/lang/natCharacter.cc: Implement Unicode lookup table more
10448 * include/java-chardecomp.h: Regenerate.
10449 * include/java-chartables.h: Regenerate.
10451 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10453 * java/awt/MediaTracker.java: Implemented.
10454 * Makefile.am: Add MediaTracker.
10455 * Makefile.in: Rebuilt.
10457 2002-03-05 Tom Tromey <tromey@redhat.com>
10459 * java/lang/natPosixProcess.cc (fail): Removed.
10460 (startProcess): Simplified error-handling. Preserve
10461 LD_LIBRARY_PATH across exec.
10463 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10464 AbstractMethodError.
10466 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10468 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10469 * Makefile.in: Rebuilt.
10471 2002-03-03 Mark Wielaard <mark@klomp.org>
10473 * java/util/Timer (TaskQueue.stop): set elements to zero.
10475 2002-02-28 Anthony Green <green@redhat.com>
10477 * java/lang/reflect/natMethod.cc (result): Add void* element.
10478 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
10481 2002-02-27 Adam Megacz <adam@xwt.org>
10483 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10486 2002-02-26 Tom Tromey <tromey@redhat.com>
10488 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10489 * gij.cc (version): Use __VERSION__.
10490 * include/config.h.in: Rebuilt.
10491 * acconfig.h (GCJVERSION): Removed.
10492 * configure: Rebuilt.
10493 * configure.in (GCJVERSION): Removed.
10495 2002-02-26 Andreas Schwab <schwab@suse.de>
10497 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10498 glibcpp_CXX, since libjava uses even another CXX.
10499 * aclocal.m4, configure: Regenerated.
10501 2002-02-26 Tom Tromey <tromey@redhat.com>
10503 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10506 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10508 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10509 dependency tracking for .java files.
10510 * Makefile.in: Rebuilt.
10512 2002-02-24 Adam Megacz <adam@xwt.org>
10514 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10517 2002-02-24 Adam Megacz <adam@xwt.org>
10519 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10520 for Win32, changed #ifdefs to check WIN32 instead of the
10521 (now-obsolete) USE_WINSOCK, and removed support for socket
10522 timeouts on Win32 pending further discussion.
10524 2002-02-24 Adam Megacz <adam@xwt.org>
10526 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10527 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10530 2002-02-24 Adam Megacz <adam@xwt.org>
10532 * java/lang/Win32Process.java: Created a dummy class to allow
10533 build process to run to completion.
10535 2002-02-24 Jeff Sturm <jsturm@one-point.com>
10537 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10538 Define ffi_result union for ffi_call result. Cast
10539 ffi_result members to jvalue.
10541 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
10543 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10544 * testsuite/Makefile.in: Likewise.
10546 2002-02-20 Per Bothner <per@bothner.com>
10548 * java/net/URL.java (getPath): New JDK 1.3 method.
10550 * java/net/URLStreamHandler.java (parseURL):
10551 It is wrong to prepend '/' to the file part of a relative url.
10553 * java/net/URLStreamHandler.java (parseURL):
10554 Minor optizations - append '/' rather than "/".
10556 * java/net/URLStreamHandler.java (parseURL):
10557 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10558 We probably should canonicalize for a context-relative url, though.
10559 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
10560 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
10561 (sameFile): New method. Uses canonicalizeFilename.
10563 2002-02-22 Tom Tromey <tromey@redhat.com>
10565 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10566 java.vendor and java.vm.vendor.
10567 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10568 recent copyright date.
10569 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10570 * gij.cc (version): Print `Inc'.
10572 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10574 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10575 * aclocal.m4, configure: Rebuilt.
10577 2002-02-20 Per Bothner <per@bothner.com>
10579 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
10580 and/or output streams immediately here, instead of using File.exists.
10581 (inputStream, outputStream): New fields to save open streams.
10582 (getInputStream, getOutputStream): Use already-opened streams.
10584 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10586 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10588 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10589 * aclocal.m4, configure, Makefile.in: Rebuilt.
10591 2002-02-19 Tom Tromey <tromey@redhat.com>
10593 Fix for PR libgcj/5696:
10594 * verify.cc (is_assignable_from_slow): Never call
10595 _Jv_IsAssignableFrom.
10596 (verify_instructions_0): Added new debug statement.
10597 (state::print): Print information about whether local has
10599 (state::merge): Don't call note_variable when merging locals.
10600 (state::set_exception): Removed old FIXME comment.
10602 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10604 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10605 enable SO_BROADCAST.
10607 2002-02-18 Jason Merrill <jason@redhat.com>
10609 * name-finder.cc (toHex): Use word mode, not long long.
10611 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10613 2002-02-15 Tom Tromey <tromey@redhat.com>
10615 Fix for PR libgcj/5695:
10616 * verify.cc (is_assignable_from_slow): Check to see if target is
10617 an Object before checking to see if source is an interface.
10618 (verify_instructions_0) [op_invokeinterface]: Handle case where
10619 we're making an interface call on Object.
10621 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10623 * Makefile.in: Rebuilt with Eric's change below.
10625 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10626 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10627 Removed functions which are now implemented in Math.java.
10629 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10631 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10632 * Makefile.am (core_java_source_files): Add
10633 java/lang/StrictMath.java.
10634 * java/lang/Math.java: Merge with Classpath.
10635 * java/lang/StrictMath.java: New file - merge with Classpath.
10637 2002-02-14 Mark Wielaard <mark@klomp.org>
10639 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10640 package as a workaround for gcj 3.0.x
10642 2002-02-14 Mark Wielaard <mark@klomp.org>
10644 * java/security/BasicPermission.java: extends with fully qualified
10645 classname as workaround for gcj 3.0.4.
10647 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10649 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10650 around gcj bug of wrong emitted qualifier for inherited method.
10651 * java/net/SocketImpl.java (setOption, getOption): Ditto.
10652 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10653 constructor to reduce amount of emitted bytecode. While this
10654 happens to work around a jikes 1.15 bug, it is still a useful
10655 patch even for correct compilers.
10656 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10657 * gnu/java/rmi/server/UnicastRemoteCall.java
10658 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10660 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10662 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10663 * java/net/SocketImpl.java: Ditto.
10664 * java/rmi/server/RMIClassLoader.java: Ditto.
10665 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10667 2002-02-14 Mark Wielaard <mark@klomp.org>
10669 Thanks to Takashi Okamoto
10670 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10671 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10672 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10674 2002-02-13 Todd Stock <toddastock@yahoo.com>
10676 Fix for PR libgcj/5670:
10677 * verify.cc (is_assignable_from_slow): If `source' is interface,
10678 recursively look for merge with `target'.
10680 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
10682 * include/jni.h: Fix typo.
10684 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
10686 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10689 2002-02-13 Todd Stock <toddastock@yahoo.com>
10691 Fix for PR libgcj/5671:
10692 * verify.cc (state::merge): Handle case where we're merging
10693 against an interface.
10695 2002-02-12 Tom Tromey <tromey@redhat.com>
10697 * exception.cc (std::abort): Mark as noreturn.
10699 2002-02-12 Adam Megacz <adam@xwt.org>
10701 * java/lang/Win32Process.java: Filled in a placeholder
10702 implementation so Win32 will build.
10704 2002-02-12 Adam Megacz <adam@xwt.org>
10706 * java/io/natFilePosix.cc: Copied this from natFile.cc.
10707 * java/io/natFile.cc: Removed from repository.
10708 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10710 2002-02-12 Adam Megacz <adam@xwt.org>
10712 * win32.cc: Added two #includes to make win32.cc compile.
10714 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10716 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10718 (_Jv_InitGC): Don't bother locking, as this is always called from a
10719 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10721 2002-02-11 Adam Megacz <adam@xwt.org>
10723 * include/win32.h: Added _Jv_platform_gettimeofday.
10724 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10726 2002-02-11 Adam Megacz <adam@xwt.org>
10728 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10729 Added #undef STRICT to make windows.h and
10730 java/lang/reflect/Modifier.h cooperate.
10732 2002-02-11 Adam Megacz <adam@xwt.org>
10734 * java/io/natFileWin32.cc: Created a placeholder class with lots
10737 2002-02-11 Adam Megacz <adam@xwt.org>
10739 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10740 std::abort() to simply abort(). Also added "fake" std::abort() so
10741 we can #include unwind-pe.h without having to link against
10744 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
10746 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10748 2002-02-08 Tom Tromey <tromey@redhat.com>
10750 * interpret.cc (convert): New function.
10751 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10755 2002-02-08 Anthony Green <green@redhat.com>
10757 * configure.host: Add support for xscale-elf embedded target.
10759 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
10761 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10763 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10766 2002-02-07 Tom Tromey <tromey@redhat.com>
10768 * java/io/natFile.cc (_access): Use __builtin_alloca.
10771 (getCanonicalPath): Likewise.
10772 (performList): Likewise.
10773 (performMkdir): Likewise.
10774 (performSetReadOnly): Likewise.
10775 (performRenameTo): Likewise.
10776 (performSetLastModified): Likewise.
10777 (performCreate): Likewise.
10778 (performDelete): Likewise.
10780 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10782 * HACKING: Fix URL for the automake-gcj.
10784 2002-02-07 Tom Tromey <tromey@redhat.com>
10786 * java/lang/natThrowable.cc: Updated copyright.
10787 * java/io/natFileWin32.cc: Updated copyright.
10788 * java/io/natFileDescriptorWin32.cc: Updated copyright.
10789 * win32-threads.cc: Updated copyright.
10790 * name-finder.cc: Updated copyright.
10791 * include/name-finder.h: Updated copyright.
10793 * include/name-finder.h: Conditionally include sys/wait.h.
10794 * include/config.h.in: Rebuilt.
10796 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10797 Size buffer based on real size of string.
10800 (getCanonicalPath): Likewise.
10801 (performList): Likewise.
10802 (performMkdir): Likewise.
10803 (performSetReadOnly): Likewise.
10804 (unixroot): Removed.
10805 (performRenameTo): Likewise.
10806 (performSetLastModified): Likewise.
10807 (performCreate): Likewise.
10808 (performDelete): Likewise.
10809 (performListRoots): Always return new array.
10811 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10812 * win32.cc (win32_exception_handler): Now static.
10813 * include/win32.h (_Jv_platform_initialize): Declare.
10814 (win32_exception_handler): Don't declare.
10815 * java/lang/natSystem.cc (currentTimeMillis): Use
10816 _Jv_platform_gettimeofday.
10817 * posix.cc (_Jv_platform_gettimeofday): Renamed.
10818 (_Jv_select): Use new name.
10819 (_Jv_platform_initialize): New function.
10820 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10822 (_Jv_platform_initialize): Declare.
10824 * configure: Rebuilt.
10825 * configure.in: Removed unnecessary parens.
10827 2002-02-06 Adam Megacz <adam@xwt.org>
10829 * configure.in: Changed mingw) to *mingw*).
10830 * win32.cc: Created this file.
10831 * win32.h: Created this file.
10832 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10833 win32_exception_handler from prims.cc to win32.cc, added
10835 * prims.cc: removed some #ifdef-WIN32'd headers which are no
10836 longer needed now that we have platform.h
10838 2002-02-06 Adam Megacz <adam@xwt.org>
10840 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10841 use uint<n>_t instead of LONG and BYTE
10843 2002-02-06 Adam Megacz <adam@xwt.org>
10845 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10847 2002-02-06 Anthony Green <green@redhat.com>
10849 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10850 Implement missing method stubs.
10851 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10853 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10854 concept of timezones.
10855 (init_properties): Don't refer to _Jv_Environment_Properties
10856 when this feature is not available.
10857 * include/config.h.in: Rebuilt.
10858 * acconfig.h: Add DISABLE_MAIN_ARGS.
10859 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10860 * configure: Rebuilt.
10861 * configure.in: Add --disable-main-args option. Test for
10862 opendir function. Replace AC_CHECK_SIZEOF with
10863 AC_COMPILE_CHECK_SIZEOF.
10864 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10865 * aclocal.m4: Rebuilt.
10866 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10868 2002-02-06 Tom Tromey <tromey@redhat.com>
10870 * verify.cc (require_array_type): If argument is a null array of
10871 references, return null as the element type.
10873 2002-02-06 Mark Wielaard <mark@klomp.org>
10875 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10876 duplicate of a wide type.
10878 2002-02-06 Tom Tromey <tromey@redhat.com>
10880 * verify.cc (type::isnull): New method.
10881 (require_array_type): Handle case where array is null.
10882 (verify_instructions_0) [op_arraylength]: Likewise.
10884 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10886 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10887 Symlink PLATFORMH to platform.h.
10888 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10890 * java/lang/natSystem.cc: #include platform.h not posix.h.
10891 * Makefile.in: Rebuilt with libgcj automake.
10892 * configure: Rebuilt.
10894 2002-02-05 Richard Henderson <rth@redhat.com>
10896 * Makefile.in: Undo munging last change.
10898 2002-02-04 Adam Megacz <adam@xwt.org>
10900 * win32.cc: Created it.
10901 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10902 which is set to posix.cc or win32.cc.
10903 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10905 2002-02-04 Adam Megacz <adam@xwt.org>
10907 * configure.in: Corrected mingw case branches; added * before
10910 2002-02-04 Adam Megacz <adam@xwt.org>
10912 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10913 if compiling for win32
10915 2002-02-04 Adam Megacz <adam@xwt.org>
10917 * win32-threads.cc: #undef STRICT after gc.h inclusion
10919 2002-02-02 Tom Tromey <tromey@redhat.com>
10921 * Makefile.in: Rebuilt.
10923 2002-02-02 Jason Merrill <jason@redhat.com>
10925 * Makefile.am (clean-nat): New target.
10927 2002-02-02 Tom Tromey <tromey@redhat.com>
10929 * java/io/natFile.cc: Removed old "FIXME" comments.
10931 2002-02-01 Tom Tromey <tromey@redhat.com>
10933 * java/lang/natPosixProcess.cc (myclose): New function.
10935 (startProcess): Likewise.
10937 2002-02-01 Adam Megacz <adam@xwt.org>
10939 * prims.cc: Added #undef STRICT after #include<windows.h>.
10941 2002-02-01 Adam Megacz <adam@xwt.org>
10944 (_Jv_CreateJavaVM): We now use WIN32 instead of
10945 USE_WIN32_SIGNALLING and USE_WINSOCK.
10946 (win32_exception_handler): Now throws an exception out of
10947 the signal handler; assumes SJLJ.
10949 2002-02-01 Adam Megacz <adam@xwt.org>
10951 * win32-threads.cc:
10952 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10953 wait() algorithm to make it safe.
10954 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10955 Added lazy creation of Win32 Events for better performance
10956 (really_start): This now uses GC_CreateThread so boehm-gc
10957 knows about new threads even when statically linked.
10959 2002-02-01 Adam Megacz <adam@xwt.org>
10961 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10962 enable safer wait() algorithm.
10963 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10964 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10965 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10966 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10968 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10970 2002-02-01 Adam Megacz <adam@xwt.org>
10972 * configure.in: Added support for mingw.
10973 * java/lang/Win32Process.java: Created as empty file.
10974 * java/lang/natWin32Process.cc: Created as empty file.
10976 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
10979 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10980 for libiconv in LIBICONV variable.
10981 * configure: Regenerated.
10983 2002-01-31 Tom Tromey <tromey@redhat.com>
10985 * verify.cc (state::enter_subroutine): New method.
10986 (handle_jsr_insn): Use it.
10987 (state::merge): When processing a `ret', correctly use
10988 subroutine's state to determine which local variables have
10990 (push_exception_jump): Don't let stack overflow.
10992 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
10994 * gnu/gcj/convert/Convert.java: Only include one copyright year in
10997 2002-01-30 Tom Tromey <tromey@redhat.com>
10999 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
11000 parameter for `recv' return type.
11002 * verify.cc (handle_ret_insn): Check for subroutine merge here...
11003 (state::merge): ... not here.
11004 (subr_entry_info): New structure.
11005 (entry_points): New field.
11006 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
11009 2002-01-29 Tom Tromey <tromey@redhat.com>
11011 * java/awt/List.java (addNotify): Correctly check to see if peer
11014 * java/awt/GridLayout.java (layoutContainer): Use number of rows
11015 to compute height of each cell, and number of columns to compute
11016 width of each cell.
11017 * java/awt/Window.java (getOwnedWindows): Don't return null.
11018 * java/awt/FlowLayout.java (layoutContainer): Set width and height
11019 of component. Increment x using horizontal gap, not vertical
11022 2002-01-28 Tom Tromey <tromey@redhat.com>
11024 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
11025 `nargs' byte is number of words, not number of arguments.
11027 2002-01-27 Tom Tromey <tromey@redhat.com>
11029 * java/awt/event/MouseEvent.java (modifiers): Removed field.
11031 * java/awt/event/InputEvent.java (modifiers, when): Now
11034 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
11036 (state::merge): Use current class' class loader.
11037 (state::print): Print subroutine.
11038 (state::merge): Don't look at subroutine of unmerged `ret'.
11040 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
11042 * nogc.cc: Remove warnings.
11043 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
11046 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11048 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
11049 int, int): Remove empty "if" statement to work around compiler bug.
11050 (newPixels(int[], ColorModel, int, int): Likewise.
11052 2002-01-25 Per Bothner <per@bothner.com>
11054 * verify.cc (verify_fail): Change from being a top-level function
11055 to e method of _Jv_BytecodeVerifier. Emit current method name.
11056 Pass the current verifier to type: and state: methods as needed,
11057 for better error messages, and for resolve.
11058 (resolve): Pass current class's loader for Class.forName and
11059 _Jv_FindClassFromSignature, rather than using the default loader.
11060 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
11061 (get_type_val_for_signature): Make non-static.
11062 (various methods): Pass start_PC implicitly, not explicitly.
11064 2002-01-25 Tom Tromey <tromey@redhat.com>
11066 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
11067 loop termination condition.
11068 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
11071 2002-01-24 Tom Tromey <tromey@redhat.com>
11073 * java/awt/Shape.java: Merged with Classpath.
11074 * java/awt/Scrollbar.java: Merged with Classpath.
11076 * java/awt/Container.java (addNotify): Unconditionally call
11077 addNotifyContainerChildren and superclass addNotify.
11079 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
11080 getAlpha, not getBlue.
11082 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11084 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
11086 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
11087 (grabPixels(long)): Wait to be notified that the ImageProducer has
11090 2002-01-24 Per Bothner <per@bothner.com>
11092 * verify.cc (is_assignable_from_slow): If target is an interface,
11093 we must still check the source's superclass before giving up.
11095 2002-01-24 Tom Tromey <tromey@redhat.com>
11097 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
11099 2002-01-23 Tom Tromey <tromey@redhat.com>
11101 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
11104 * Makefile.in: Rebuilt.
11105 * Makefile.am (awt_java_source_files): Added new files.
11106 * java/awt/Toolkit.java: Merged with Classpath.
11107 * java/awt/PrintGraphics.java: New file from Classpath.
11108 * java/awt/PrintJob.java: New file from Classpath.
11109 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
11110 * java/awt/datatransfer/ClipboardOwner.java: New file from
11112 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
11113 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
11114 * java/awt/datatransfer/MimeTypeParseException.java: New file from
11116 * java/awt/datatransfer/StringSelection.java: New file from
11118 * java/awt/datatransfer/SystemFlavorMap.java: New file from
11120 * java/awt/datatransfer/Transferable.java: New file from
11122 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
11125 * Makefile.in: Rebuilt.
11126 * Makefile.am (awt_java_source_files): Added new files.
11127 * java/awt/image/AreaAveragingScaleFilter.java: New file from
11129 * java/awt/image/CropImageFilter.java: New file from Classpath.
11130 * java/awt/image/FilteredImageSource.java: New file from
11132 * java/awt/image/ImageFilter.java: New file from Classpath.
11133 * java/awt/image/MemoryImageSource.java: New file from Classpath.
11134 * java/awt/image/PixelGrabber.java: New file from Classpath.
11135 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11136 * java/awt/image/ReplicateScaleFilter.java: New file from
11138 * java/awt/image/ImageProducer.java: Replaced with Classpath
11140 * java/awt/image/ImageObserver.java: Replaced with Classpath
11142 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11144 * java/awt/GridBagConstraints.java (clone): Catch
11145 CloneNotSupportedException.
11147 2002-01-23 Per Bothner <per@bothner.com>
11149 * java/lang/reflect/natField.cc (setAddr): New function.
11150 Calls getAddr and then checks that the field isn't final.
11151 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11152 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11153 (set): Call setAddr before check that new value has right type,
11154 to better match specified semantics.
11156 2002-01-22 Tom Tromey <tromey@redhat.com>
11158 * java/awt/TextField.java: Replaced with Classpath version.
11159 * java/awt/TextArea.java: Replaced with Classpath version.
11160 * java/awt/TextComponent.java: Replaced with Classpath version.
11162 * java/awt/GridBagConstraints.java: Updated copyright.
11164 2002-01-22 Mark Wielaard <mark@klomp.org>
11166 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11167 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11168 java/awt/Dialog.java java/awt/FileDialog.java
11169 java/awt/Font.java java/awt/FontMetrics.java
11170 java/awt/Image.java java/awt/ImageMediaEntry.java
11171 java/awt/Insets.java java/awt/List.java
11172 java/awt/MediaEntry.java java/awt/MediaTracker.java
11173 java/awt/Menu.java java/awt/MenuBar.java
11174 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11175 java/awt/PaintContext.java java/awt/Panel.java
11176 java/awt/PopupMenu.java java/awt/SystemColor.java
11177 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11178 java/awt/peer/CheckboxMenuItemPeer.java
11179 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11180 java/awt/peer/ComponentPeer.java
11181 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11182 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11183 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11184 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11185 java/awt/peer/MenuBarPeer.java
11186 java/awt/peer/MenuComponentPeer.java
11187 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11188 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11189 java/awt/peer/ScrollPanePeer.java
11190 java/awt/peer/ScrollbarPeer.java
11191 java/awt/peer/TextAreaPeer.java
11192 java/awt/peer/TextComponentPeer.java
11193 java/awt/peer/TextFieldPeer.java
11194 java/awt/peer/WindowPeer.java: Add license clarification.
11196 2002-01-22 Mark Wielaard <mark@klomp.org>
11198 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11199 gnu/gcj/runtime/StringBuffer.java
11200 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11201 gnu/java/awt/ComponentDataBlitOp.java
11202 gnu/java/awt/GLightweightPeer.java
11203 gnu/java/beans/BeanInfoEmbryo.java
11204 gnu/java/beans/EmptyBeanInfo.java
11205 gnu/java/beans/ExplicitBeanInfo.java
11206 gnu/java/beans/IntrospectionIncubator.java
11207 gnu/java/beans/editors/ColorEditor.java
11208 gnu/java/beans/editors/FontEditor.java
11209 gnu/java/beans/editors/NativeBooleanEditor.java
11210 gnu/java/beans/editors/NativeByteEditor.java
11211 gnu/java/beans/editors/NativeDoubleEditor.java
11212 gnu/java/beans/editors/NativeFloatEditor.java
11213 gnu/java/beans/editors/NativeIntEditor.java
11214 gnu/java/beans/editors/NativeLongEditor.java
11215 gnu/java/beans/editors/NativeShortEditor.java
11216 gnu/java/beans/editors/StringEditor.java
11217 gnu/java/beans/info/ComponentBeanInfo.java
11218 gnu/java/io/ClassLoaderObjectInputStream.java
11219 gnu/java/io/NullOutputStream.java
11220 gnu/java/io/ObjectIdentityWrapper.java
11221 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11222 gnu/java/lang/reflect/TypeSignature.java
11223 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11224 gnu/java/locale/Calendar_en.java
11225 gnu/java/locale/Calendar_nl.java
11226 gnu/java/locale/LocaleInformation.java
11227 gnu/java/locale/LocaleInformation_de.java
11228 gnu/java/locale/LocaleInformation_en.java
11229 gnu/java/locale/LocaleInformation_nl.java
11230 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11231 gnu/java/rmi/registry/RegistryImpl.java
11232 gnu/java/rmi/rmic/Compile_gcj.java
11233 gnu/java/rmi/rmic/Compiler.java
11234 gnu/java/rmi/rmic/CompilerProcess.java
11235 gnu/java/rmi/rmic/RMIC.java
11236 gnu/java/rmi/rmic/TabbedWriter.java
11237 gnu/java/rmi/server/ProtocolConstants.java
11238 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11239 gnu/java/rmi/server/RMIHashes.java
11240 gnu/java/rmi/server/RMIObjectInputStream.java
11241 gnu/java/rmi/server/RMIObjectOutputStream.java
11242 gnu/java/rmi/server/UnicastConnection.java
11243 gnu/java/rmi/server/UnicastConnectionManager.java
11244 gnu/java/rmi/server/UnicastRef.java
11245 gnu/java/rmi/server/UnicastRemoteCall.java
11246 gnu/java/rmi/server/UnicastRemoteStub.java
11247 gnu/java/rmi/server/UnicastServer.java
11248 gnu/java/rmi/server/UnicastServerRef.java
11249 gnu/java/security/provider/DefaultPolicy.java
11250 gnu/java/security/provider/Gnu.java
11251 gnu/java/security/provider/SHA.java
11252 gnu/java/security/provider/SHA1PRNG.java
11253 gnu/java/text/BaseBreakIterator.java
11254 gnu/java/text/CharacterBreakIterator.java
11255 gnu/java/text/LineBreakIterator.java
11256 gnu/java/text/SentenceBreakIterator.java
11257 gnu/java/text/WordBreakIterator.java
11258 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11259 java/applet/AppletContext.java java/applet/AppletStub.java
11260 java/applet/AudioClip.java java/awt/AWTError.java
11261 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11262 java/awt/AWTException.java java/awt/AWTPermission.java
11263 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11264 java/awt/Button.java java/awt/Canvas.java
11265 java/awt/CardLayout.java java/awt/Checkbox.java
11266 java/awt/CheckboxGroup.java java/awt/Component.java
11267 java/awt/ComponentOrientation.java java/awt/Container.java
11268 java/awt/Dimension.java java/awt/Event.java
11269 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11270 java/awt/FlowLayout.java java/awt/Frame.java
11271 java/awt/Graphics.java java/awt/Graphics2D.java
11272 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11273 java/awt/IllegalComponentStateException.java
11274 java/awt/ItemSelectable.java java/awt/Label.java
11275 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11276 java/awt/MenuComponent.java java/awt/MenuItem.java
11277 java/awt/Paint.java java/awt/Point.java
11278 java/awt/Rectangle.java java/awt/RenderingHints.java
11279 java/awt/Transparency.java java/awt/Window.java
11280 java/awt/color/ColorSpace.java
11281 java/awt/color/ICC_ColorSpace.java
11282 java/awt/color/ICC_Profile.java
11283 java/awt/event/HierarchyBoundsAdapter.java
11284 java/awt/event/HierarchyBoundsListener.java
11285 java/awt/event/HierarchyEvent.java
11286 java/awt/event/HierarchyListener.java
11287 java/awt/geom/AffineTransform.java
11288 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11289 java/awt/geom/IllegalPathStateException.java
11290 java/awt/geom/Line2D.java
11291 java/awt/geom/NoninvertibleTransformException.java
11292 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11293 java/awt/geom/Rectangle2D.java
11294 java/awt/geom/RectangularShape.java
11295 java/awt/geom/RoundRectangle2D.java
11296 java/awt/image/BufferedImage.java
11297 java/awt/image/ColorModel.java
11298 java/awt/image/ComponentColorModel.java
11299 java/awt/image/ComponentSampleModel.java
11300 java/awt/image/DataBuffer.java
11301 java/awt/image/DataBufferByte.java
11302 java/awt/image/DataBufferInt.java
11303 java/awt/image/DataBufferUShort.java
11304 java/awt/image/DirectColorModel.java
11305 java/awt/image/PackedColorModel.java
11306 java/awt/image/Raster.java java/awt/image/RasterOp.java
11307 java/awt/image/SampleModel.java
11308 java/awt/image/SinglePixelPackedSampleModel.java
11309 java/awt/image/WritableRaster.java
11310 java/beans/AppletInitializer.java
11311 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11312 java/beans/Beans.java java/beans/Customizer.java
11313 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11314 java/beans/FeatureDescriptor.java
11315 java/beans/IndexedPropertyDescriptor.java
11316 java/beans/IntrospectionException.java
11317 java/beans/Introspector.java java/beans/MethodDescriptor.java
11318 java/beans/ParameterDescriptor.java
11319 java/beans/PropertyChangeEvent.java
11320 java/beans/PropertyChangeListener.java
11321 java/beans/PropertyChangeSupport.java
11322 java/beans/PropertyDescriptor.java
11323 java/beans/PropertyEditor.java
11324 java/beans/PropertyEditorManager.java
11325 java/beans/PropertyEditorSupport.java
11326 java/beans/PropertyVetoException.java
11327 java/beans/SimpleBeanInfo.java
11328 java/beans/VetoableChangeListener.java
11329 java/beans/VetoableChangeSupport.java
11330 java/beans/Visibility.java
11331 java/beans/beancontext/BeanContext.java
11332 java/beans/beancontext/BeanContextChild.java
11333 java/beans/beancontext/BeanContextChildComponentProxy.java
11334 java/beans/beancontext/BeanContextChildSupport.java
11335 java/beans/beancontext/BeanContextContainerProxy.java
11336 java/beans/beancontext/BeanContextEvent.java
11337 java/beans/beancontext/BeanContextMembershipEvent.java
11338 java/beans/beancontext/BeanContextMembershipListener.java
11339 java/beans/beancontext/BeanContextProxy.java
11340 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11341 java/beans/beancontext/BeanContextServiceProvider.java
11342 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11343 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11344 java/beans/beancontext/BeanContextServiceRevokedListener.java
11345 java/beans/beancontext/BeanContextServices.java
11346 java/beans/beancontext/BeanContextServicesListener.java
11347 java/io/BufferedInputStream.java
11348 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11349 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11350 java/io/ByteArrayOutputStream.java
11351 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11352 java/io/CharConversionException.java java/io/DataInput.java
11353 java/io/DataInputStream.java java/io/DataOutput.java
11354 java/io/EOFException.java java/io/Externalizable.java
11355 java/io/FileFilter.java java/io/FileNotFoundException.java
11356 java/io/FilePermission.java java/io/FileReader.java
11357 java/io/FileWriter.java java/io/FilenameFilter.java
11358 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11359 java/io/FilterReader.java java/io/FilterWriter.java
11360 java/io/IOException.java java/io/InputStream.java
11361 java/io/InterruptedIOException.java
11362 java/io/InvalidClassException.java
11363 java/io/InvalidObjectException.java
11364 java/io/NotActiveException.java
11365 java/io/NotSerializableException.java java/io/ObjectInput.java
11366 java/io/ObjectInputStream.java
11367 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11368 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11369 java/io/ObjectStreamConstants.java
11370 java/io/ObjectStreamException.java
11371 java/io/ObjectStreamField.java
11372 java/io/OptionalDataException.java java/io/OutputStream.java
11373 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11374 java/io/PipedReader.java java/io/PipedWriter.java
11375 java/io/PrintWriter.java java/io/PushbackInputStream.java
11376 java/io/PushbackReader.java java/io/Reader.java
11377 java/io/SequenceInputStream.java java/io/Serializable.java
11378 java/io/SerializablePermission.java
11379 java/io/StreamCorruptedException.java
11380 java/io/StreamTokenizer.java
11381 java/io/StringBufferInputStream.java java/io/StringReader.java
11382 java/io/StringWriter.java java/io/SyncFailedException.java
11383 java/io/UTFDataFormatException.java
11384 java/io/UnsupportedEncodingException.java
11385 java/io/WriteAbortedException.java java/io/Writer.java
11386 java/lang/AbstractMethodError.java
11387 java/lang/ArithmeticException.java
11388 java/lang/ArrayIndexOutOfBoundsException.java
11389 java/lang/ArrayStoreException.java java/lang/Boolean.java
11390 java/lang/Byte.java java/lang/CharSequence.java
11391 java/lang/ClassCastException.java
11392 java/lang/ClassCircularityError.java
11393 java/lang/ClassFormatError.java
11394 java/lang/ClassNotFoundException.java
11395 java/lang/CloneNotSupportedException.java
11396 java/lang/Cloneable.java java/lang/Comparable.java
11397 java/lang/Compiler.java java/lang/Double.java
11398 java/lang/Error.java java/lang/Exception.java
11399 java/lang/ExceptionInInitializerError.java
11400 java/lang/Float.java java/lang/IllegalAccessError.java
11401 java/lang/IllegalAccessException.java
11402 java/lang/IllegalArgumentException.java
11403 java/lang/IllegalMonitorStateException.java
11404 java/lang/IllegalStateException.java
11405 java/lang/IllegalThreadStateException.java
11406 java/lang/IncompatibleClassChangeError.java
11407 java/lang/IndexOutOfBoundsException.java
11408 java/lang/InheritableThreadLocal.java
11409 java/lang/InstantiationError.java
11410 java/lang/InstantiationException.java java/lang/Integer.java
11411 java/lang/InternalError.java
11412 java/lang/InterruptedException.java
11413 java/lang/LinkageError.java java/lang/Long.java
11414 java/lang/NegativeArraySizeException.java
11415 java/lang/NoClassDefFoundError.java
11416 java/lang/NoSuchFieldError.java
11417 java/lang/NoSuchFieldException.java
11418 java/lang/NoSuchMethodError.java
11419 java/lang/NoSuchMethodException.java
11420 java/lang/NullPointerException.java java/lang/Number.java
11421 java/lang/NumberFormatException.java
11422 java/lang/OutOfMemoryError.java java/lang/Package.java
11423 java/lang/Process.java java/lang/Runnable.java
11424 java/lang/RuntimeException.java
11425 java/lang/RuntimePermission.java
11426 java/lang/SecurityException.java
11427 java/lang/SecurityManager.java java/lang/Short.java
11428 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11429 java/lang/StringIndexOutOfBoundsException.java
11430 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11431 java/lang/ThreadLocal.java java/lang/UnknownError.java
11432 java/lang/UnsatisfiedLinkError.java
11433 java/lang/UnsupportedClassVersionError.java
11434 java/lang/UnsupportedOperationException.java
11435 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11436 java/lang/Void.java java/lang/ref/PhantomReference.java
11437 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11438 java/lang/ref/SoftReference.java
11439 java/lang/ref/WeakReference.java
11440 java/lang/reflect/AccessibleObject.java
11441 java/lang/reflect/InvocationTargetException.java
11442 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11443 java/lang/reflect/ReflectPermission.java
11444 java/math/BigDecimal.java java/math/BigInteger.java
11445 java/net/Authenticator.java java/net/BindException.java
11446 java/net/ConnectException.java java/net/ContentHandler.java
11447 java/net/ContentHandlerFactory.java
11448 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11449 java/net/FileNameMap.java java/net/MalformedURLException.java
11450 java/net/MulticastSocket.java java/net/NetPermission.java
11451 java/net/NoRouteToHostException.java
11452 java/net/PasswordAuthentication.java
11453 java/net/ProtocolException.java java/net/ServerSocket.java
11454 java/net/Socket.java java/net/SocketException.java
11455 java/net/SocketImpl.java java/net/SocketImplFactory.java
11456 java/net/SocketOptions.java java/net/SocketPermission.java
11457 java/net/URLDecoder.java java/net/URLEncoder.java
11458 java/net/URLStreamHandlerFactory.java
11459 java/net/UnknownHostException.java
11460 java/net/UnknownServiceException.java
11461 java/rmi/AccessException.java
11462 java/rmi/AlreadyBoundException.java
11463 java/rmi/ConnectException.java
11464 java/rmi/ConnectIOException.java
11465 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11466 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11467 java/rmi/NotBoundException.java
11468 java/rmi/RMISecurityException.java
11469 java/rmi/RMISecurityManager.java java/rmi/Remote.java
11470 java/rmi/RemoteException.java java/rmi/ServerError.java
11471 java/rmi/ServerException.java
11472 java/rmi/ServerRuntimeException.java
11473 java/rmi/StubNotFoundException.java
11474 java/rmi/UnexpectedException.java
11475 java/rmi/UnknownHostException.java
11476 java/rmi/UnmarshalException.java
11477 java/rmi/activation/Activatable.java
11478 java/rmi/activation/ActivateFailedException.java
11479 java/rmi/activation/ActivationDesc.java
11480 java/rmi/activation/ActivationException.java
11481 java/rmi/activation/ActivationGroup.java
11482 java/rmi/activation/ActivationGroupDesc.java
11483 java/rmi/activation/ActivationGroupID.java
11484 java/rmi/activation/ActivationID.java
11485 java/rmi/activation/ActivationInstantiator.java
11486 java/rmi/activation/ActivationMonitor.java
11487 java/rmi/activation/ActivationSystem.java
11488 java/rmi/activation/Activator.java
11489 java/rmi/activation/UnknownGroupException.java
11490 java/rmi/activation/UnknownObjectException.java
11491 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11492 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11493 java/rmi/registry/Registry.java
11494 java/rmi/registry/RegistryHandler.java
11495 java/rmi/server/ExportException.java
11496 java/rmi/server/LoaderHandler.java
11497 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11498 java/rmi/server/Operation.java
11499 java/rmi/server/RMIClassLoader.java
11500 java/rmi/server/RMIClientSocketFactory.java
11501 java/rmi/server/RMIFailureHandler.java
11502 java/rmi/server/RMIServerSocketFactory.java
11503 java/rmi/server/RMISocketFactory.java
11504 java/rmi/server/RemoteCall.java
11505 java/rmi/server/RemoteObject.java
11506 java/rmi/server/RemoteRef.java
11507 java/rmi/server/RemoteServer.java
11508 java/rmi/server/RemoteStub.java
11509 java/rmi/server/ServerCloneException.java
11510 java/rmi/server/ServerNotActiveException.java
11511 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11512 java/rmi/server/SkeletonMismatchException.java
11513 java/rmi/server/SkeletonNotFoundException.java
11514 java/rmi/server/SocketSecurityException.java
11515 java/rmi/server/UID.java
11516 java/rmi/server/UnicastRemoteObject.java
11517 java/rmi/server/Unreferenced.java
11518 java/security/AccessControlContext.java
11519 java/security/AccessControlException.java
11520 java/security/AccessController.java
11521 java/security/AlgorithmParameterGenerator.java
11522 java/security/AlgorithmParameterGeneratorSpi.java
11523 java/security/AlgorithmParameters.java
11524 java/security/AlgorithmParametersSpi.java
11525 java/security/AllPermission.java
11526 java/security/BasicPermission.java
11527 java/security/Certificate.java java/security/CodeSource.java
11528 java/security/DigestException.java
11529 java/security/DigestInputStream.java
11530 java/security/DigestOutputStream.java
11531 java/security/DomainCombiner.java
11532 java/security/DummyKeyPairGenerator.java
11533 java/security/DummyMessageDigest.java
11534 java/security/DummySignature.java
11535 java/security/GeneralSecurityException.java
11536 java/security/Guard.java java/security/GuardedObject.java
11537 java/security/Identity.java java/security/IdentityScope.java
11538 java/security/InvalidAlgorithmParameterException.java
11539 java/security/InvalidKeyException.java
11540 java/security/InvalidParameterException.java
11541 java/security/Key.java java/security/KeyException.java
11542 java/security/KeyFactory.java java/security/KeyFactorySpi.java
11543 java/security/KeyManagementException.java
11544 java/security/KeyPair.java java/security/KeyPairGenerator.java
11545 java/security/KeyPairGeneratorSpi.java
11546 java/security/KeyStore.java
11547 java/security/KeyStoreException.java
11548 java/security/KeyStoreSpi.java
11549 java/security/MessageDigest.java
11550 java/security/MessageDigestSpi.java
11551 java/security/NoSuchAlgorithmException.java
11552 java/security/NoSuchProviderException.java
11553 java/security/Permission.java
11554 java/security/PermissionCollection.java
11555 java/security/Permissions.java java/security/Policy.java
11556 java/security/Principal.java java/security/PrivateKey.java
11557 java/security/PrivilegedAction.java
11558 java/security/PrivilegedActionException.java
11559 java/security/PrivilegedExceptionAction.java
11560 java/security/ProtectionDomain.java
11561 java/security/Provider.java
11562 java/security/ProviderException.java
11563 java/security/PublicKey.java
11564 java/security/SecureClassLoader.java
11565 java/security/SecureRandom.java
11566 java/security/SecureRandomSpi.java java/security/Security.java
11567 java/security/SecurityPermission.java
11568 java/security/Signature.java
11569 java/security/SignatureException.java
11570 java/security/SignatureSpi.java
11571 java/security/SignedObject.java java/security/Signer.java
11572 java/security/UnrecoverableKeyException.java
11573 java/security/UnresolvedPermission.java
11574 java/security/acl/Acl.java java/security/acl/AclEntry.java
11575 java/security/acl/AclNotFoundException.java
11576 java/security/acl/Group.java
11577 java/security/acl/LastOwnerException.java
11578 java/security/acl/NotOwnerException.java
11579 java/security/acl/Owner.java java/security/acl/Permission.java
11580 java/security/cert/CRL.java
11581 java/security/cert/CRLException.java
11582 java/security/cert/Certificate.java
11583 java/security/cert/CertificateEncodingException.java
11584 java/security/cert/CertificateException.java
11585 java/security/cert/CertificateExpiredException.java
11586 java/security/cert/CertificateFactory.java
11587 java/security/cert/CertificateFactorySpi.java
11588 java/security/cert/CertificateNotYetValidException.java
11589 java/security/cert/CertificateParsingException.java
11590 java/security/cert/X509CRL.java
11591 java/security/cert/X509CRLEntry.java
11592 java/security/cert/X509Certificate.java
11593 java/security/cert/X509Extension.java
11594 java/security/interfaces/DSAKey.java
11595 java/security/interfaces/DSAKeyPairGenerator.java
11596 java/security/interfaces/DSAParams.java
11597 java/security/interfaces/DSAPrivateKey.java
11598 java/security/interfaces/DSAPublicKey.java
11599 java/security/interfaces/RSAKey.java
11600 java/security/interfaces/RSAPrivateCrtKey.java
11601 java/security/interfaces/RSAPrivateKey.java
11602 java/security/interfaces/RSAPublicKey.java
11603 java/security/spec/AlgorithmParameterSpec.java
11604 java/security/spec/DSAParameterSpec.java
11605 java/security/spec/DSAPrivateKeySpec.java
11606 java/security/spec/DSAPublicKeySpec.java
11607 java/security/spec/EncodedKeySpec.java
11608 java/security/spec/InvalidKeySpecException.java
11609 java/security/spec/InvalidParameterSpecException.java
11610 java/security/spec/KeySpec.java
11611 java/security/spec/PKCS8EncodedKeySpec.java
11612 java/security/spec/RSAKeyGenParameterSpec.java
11613 java/security/spec/RSAPrivateCrtKeySpec.java
11614 java/security/spec/RSAPrivateKeySpec.java
11615 java/security/spec/RSAPublicKeySpec.java
11616 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11617 java/sql/BatchUpdateException.java java/sql/Blob.java
11618 java/sql/CallableStatement.java java/sql/Clob.java
11619 java/sql/Connection.java java/sql/DataTruncation.java
11620 java/sql/DatabaseMetaData.java java/sql/Date.java
11621 java/sql/Driver.java java/sql/DriverManager.java
11622 java/sql/DriverPropertyInfo.java
11623 java/sql/PreparedStatement.java java/sql/Ref.java
11624 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11625 java/sql/SQLData.java java/sql/SQLException.java
11626 java/sql/SQLInput.java java/sql/SQLOutput.java
11627 java/sql/SQLWarning.java java/sql/Statement.java
11628 java/sql/Struct.java java/sql/Time.java
11629 java/sql/Timestamp.java java/sql/Types.java
11630 java/text/Annotation.java
11631 java/text/AttributedCharacterIterator.java
11632 java/text/AttributedString.java
11633 java/text/AttributedStringIterator.java
11634 java/text/BreakIterator.java java/text/CharacterIterator.java
11635 java/text/ChoiceFormat.java java/text/Collator.java
11636 java/text/DateFormat.java java/text/DateFormatSymbols.java
11637 java/text/DecimalFormat.java
11638 java/text/DecimalFormatSymbols.java
11639 java/text/FieldPosition.java java/text/Format.java
11640 java/text/MessageFormat.java java/text/NumberFormat.java
11641 java/text/ParseException.java java/text/ParsePosition.java
11642 java/text/SimpleDateFormat.java
11643 java/text/StringCharacterIterator.java
11644 java/util/AbstractCollection.java java/util/AbstractList.java
11645 java/util/AbstractMap.java
11646 java/util/AbstractSequentialList.java
11647 java/util/AbstractSet.java java/util/ArrayList.java
11648 java/util/Arrays.java java/util/BasicMapEntry.java
11649 java/util/BitSet.java java/util/Calendar.java
11650 java/util/Collection.java java/util/Collections.java
11651 java/util/Comparator.java
11652 java/util/ConcurrentModificationException.java
11653 java/util/Date.java java/util/Dictionary.java
11654 java/util/EmptyStackException.java java/util/Enumeration.java
11655 java/util/EventListener.java java/util/EventObject.java
11656 java/util/GregorianCalendar.java java/util/HashMap.java
11657 java/util/HashSet.java java/util/Hashtable.java
11658 java/util/IdentityHashMap.java java/util/Iterator.java
11659 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11660 java/util/LinkedList.java java/util/List.java
11661 java/util/ListIterator.java java/util/ListResourceBundle.java
11662 java/util/Locale.java java/util/Map.java
11663 java/util/MissingResourceException.java
11664 java/util/NoSuchElementException.java
11665 java/util/Observable.java java/util/Observer.java
11666 java/util/Properties.java java/util/PropertyPermission.java
11667 java/util/PropertyResourceBundle.java java/util/Random.java
11668 java/util/RandomAccess.java java/util/ResourceBundle.java
11669 java/util/Set.java java/util/SimpleTimeZone.java
11670 java/util/SortedMap.java java/util/SortedSet.java
11671 java/util/Stack.java java/util/StringTokenizer.java
11672 java/util/TimeZone.java java/util/Timer.java
11673 java/util/TimerTask.java
11674 java/util/TooManyListenersException.java
11675 java/util/TreeMap.java java/util/TreeSet.java
11676 java/util/Vector.java java/util/WeakHashMap.java
11677 java/util/jar/Attributes.java java/util/jar/JarEntry.java
11678 java/util/jar/JarException.java java/util/jar/JarFile.java
11679 java/util/jar/JarInputStream.java
11680 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11681 java/util/zip/Adler32.java java/util/zip/CRC32.java
11682 java/util/zip/CheckedInputStream.java
11683 java/util/zip/CheckedOutputStream.java
11684 java/util/zip/Checksum.java
11685 java/util/zip/DataFormatException.java
11686 java/util/zip/Deflater.java
11687 java/util/zip/DeflaterOutputStream.java
11688 java/util/zip/GZIPInputStream.java
11689 java/util/zip/GZIPOutputStream.java
11690 java/util/zip/Inflater.java
11691 java/util/zip/InflaterInputStream.java
11692 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11693 java/util/zip/ZipException.java java/util/zip/ZipFile.java
11694 java/util/zip/ZipInputStream.java
11695 java/util/zip/ZipOutputStream.java
11696 javax/naming/BinaryRefAddr.java
11697 javax/naming/InvalidNameException.java javax/naming/Name.java
11698 javax/naming/NamingException.java javax/naming/RefAddr.java
11699 javax/naming/StringRefAddr.java: Add license clarification.
11701 2002-01-22 Tom Tromey <tromey@redhat.com>
11703 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11704 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11705 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11707 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11708 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11709 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11710 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11711 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11712 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11713 * java/awt/peer/FontPeer.java: Replace with Classpath version.
11714 * java/awt/peer/FramePeer.java: Replace with Classpath version.
11715 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11716 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11717 * java/awt/peer/ListPeer.java: Replace with Classpath version.
11718 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11719 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11720 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11721 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11722 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11723 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11724 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11725 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11726 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11727 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11728 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11729 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11730 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11731 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11732 (minimumSize, preferredSize, reshape): Likewise.
11733 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11734 getColorModel): New methods.
11735 * java/awt/PopupMenu.java: Merged with Classpath.
11736 * java/awt/MenuBar.java: Merged with Classpath.
11737 * java/awt/SystemColor.java: Replace with Classpath version.
11738 * java/awt/Panel.java: Merged with Classpath.
11739 * java/awt/PaintContext.java: Updated copyright.
11740 * java/awt/MenuShortcut.java: Merged with Classpath.
11741 * java/awt/MenuContainer.java: Merged with Classpath.
11742 * java/awt/Menu.java: Merged with Classpath.
11743 * java/awt/MediaEntry.java: New file from Classpath.
11744 * java/awt/MediaTracker.java: New file from Classpath.
11745 * java/awt/List.java: Merged with Classpath version.
11746 * java/awt/Insets.java: Merged with Classpath version.
11747 * java/awt/ImageMediaEntry.java: New file from Classpath.
11748 * java/awt/Image.java: Replaced with Classpath version.
11749 * java/awt/FontMetrics.java: Merged with Classpath version.
11750 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11752 * java/awt/Font.java: Merged with Classpath version.
11753 * java/awt/Dialog.java: Merged with Classpath version.
11754 * java/awt/Color.java: Merged with Classpath version.
11755 * java/awt/Choice.java: Merged with Classpath version.
11756 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11757 * java/awt/Adjustable.java: Replace with Classpath version.
11758 * java/awt/MenuItem.java (paramString): Don't include class name
11759 or brackets. Call superclass paramString.
11760 * java/awt/MenuComponent.java (toString): Call paramString.
11761 (paramString): Compute string; don't call toString.
11762 * java/awt/Label.java (paramString): Don't include class name
11763 or brackets. Call superclass paramString.
11764 * java/awt/Checkbox.java (paramString): Don't include class name
11765 or brackets. Call superclass paramString.
11766 * java/awt/Button.java (paramString): Don't include class name or
11767 brackets. Call superclass paramString.
11768 * java/awt/MenuComponent.java (getTreeLock): Now protected.
11770 2002-01-20 Andreas Schwab <schwab@suse.de>
11772 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11773 function and of parameter recv_func to ssize_t, as specified by
11776 2002-01-19 Per Bothner <per@bothner.com>
11778 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
11779 uncompressed_size in readiness for next entry.
11781 2002-01-18 Tom Tromey <tromey@redhat.com>
11783 * java/net/natPlainSocketImpl.cc: Include
11784 IllegalArgumentException.h.
11785 (_Jv_recv): New template function.
11786 (BooleanClass): Removed.
11787 (read): Use _Jv_recv.
11788 (setOption): Use Boolean::class$. Throw exception if object is
11789 not Boolean or Integer.
11791 2002-01-17 Tom Tromey <tromey@redhat.com>
11793 * java/awt/MenuComponent.java: Merged with Classpath.
11794 * java/awt/MenuItem.java: Merged with Classpath.
11795 * java/awt/Button.java: Merged with Classpath.
11797 * java/awt/ActiveEvent.java: Updated copyright.
11799 * java/awt/AWTError.java: Replaced with Classpath version.
11800 * java/awt/AWTException.java: Replaced with Classpath version.
11801 * java/awt/IllegalComponentStateException.java: Replaced with
11804 2002-01-16 Tom Tromey <tromey@redhat.com>
11806 * java/awt/Canvas.java (serialVersionUID): New constant.
11807 Updated copyright. Added javadoc from Classpath.
11808 * java/awt/ItemSelectable.java: Replaced with Classpath version.
11810 * java/awt/CheckboxGroup.java: Merged with Classpath.
11811 * java/awt/Checkbox.java: Merged with Classpath.
11813 * java/awt/Dimension.java: Updated copyright. Added javadoc from
11815 * java/awt/Point.java: Updated copyright.
11817 * java/awt/Point.java (toString): Use getClass().getName().
11820 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11822 (hash): Correctly compute initial value for `h'.
11824 * java/awt/Label.java: Merged with Classpath.
11826 2002-01-15 Tom Tromey <tromey@redhat.com>
11828 * java/awt/AWTPermission.java: Updated copyright.
11830 * java/awt/LayoutManager2.java: Merged with Classpath.
11831 * java/awt/LayoutManager.java: Merged with Classpath.
11832 * java/awt/GridLayout.java: Updated copyright and javadoc.
11833 (getSize): Use `parent.ncomponents'. Handle insets.
11834 (layoutContainer): Use `parent.ncomponents'. Handle case where
11835 there are fewer children than columns. Correctly compute size of
11836 each cell in the grid. Handle case where there isn't enough
11838 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
11840 (gotoComponent): Use parent.ncomponents. Ensure child exists
11841 before calling setVisible() on it. Last item is `num - 1', not
11843 (layoutContainer): Hoist invariants out of loop.
11845 Start of AWT merge with Classpath:
11846 * Makefile.in: Rebuilt.
11847 * Makefile.am (awt_java_source_files): Reference files in
11848 gnu/java/awt, not gnu/gcj/awt.
11849 * java/awt/image/BufferedImage.java: Updated copyright.
11850 * java/awt/image/ComponentColorModel.java: Updated copyright.
11851 * java/awt/image/ComponentSampleModel.java: Updated copyright.
11852 * java/awt/image/DataBuffer.java: Updated copyright.
11853 * java/awt/image/DataBufferByte.java: Updated copyright.
11854 * java/awt/image/DataBufferInt.java: Updated copyright.
11855 * java/awt/image/DataBufferUShort.java: Updated copyright.
11856 * java/awt/image/IndexColorModel.java: Updated copyright.
11857 * java/awt/image/PackedColorModel.java: Updated copyright.
11858 * java/awt/image/Raster.java: Updated copyright.
11859 * java/awt/image/RasterOp.java: Updated copyright.
11860 * java/awt/image/SampleModel.java: Updated copyright.
11861 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11862 * java/awt/image/WritableRaster.java: Updated copyright.
11863 * java/awt/color/ColorSpace.java: Updated copyright.
11864 * java/awt/color/ICC_ColorSpace.java: Updated copyright
11865 * java/awt/color/ICC_Profile.java: Updated copyright.
11866 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11867 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11868 * java/awt/event/HierarchyEvent.java: Updated copyright.
11869 * java/awt/event/HierarchyListener.java: Updated copyright.
11870 * java/awt/geom/AffineTransform.java: Updated copyright.
11871 * java/awt/geom/Dimension2D.java: Updated copyright.
11872 * java/awt/geom/Ellipse2D.java: Updated copyright.
11873 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11874 * java/awt/geom/Line2D.java: Updated copyright.
11875 * java/awt/geom/NoninvertibleTransformException.java: Updated
11877 * java/awt/geom/PathIterator.java: Updated copyright.
11878 * java/awt/geom/Point2D.java: Updated copyright.
11879 * java/awt/geom/Rectangle2D.java: Updated copyright.
11880 * java/awt/geom/RectangularShape.java: Updated copyright.
11881 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11882 * java/awt/Toolkit.java: Updated import for file moves.
11883 * java/awt/Rectangle.java: Updated copyright; added javadoc from
11885 (hashCode): New method from Classpath.
11886 * java/awt/Graphics2D.java: Updated copyright.
11887 * java/awt/Transparency.java: Updated copyright.
11888 * java/awt/Paint.java: Updated copyright.
11889 * java/awt/Graphics.java: New version from Classpath.
11890 * java/awt/EventDispatchThread.java: Updated copyright.
11891 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11893 (gotoComponent): Wrap around on next/previous.
11894 * gnu/gcj/awt/BitMaskExtent.java: Removed.
11895 * gnu/gcj/awt/Buffers.java: Removed.
11896 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11897 * gnu/gcj/awt/GLightweightPeer.java: Removed.
11898 * gnu/java/awt/BitMaskExtent.java: Added.
11899 * gnu/java/awt/Buffers.java: Added.
11900 * gnu/java/awt/ComponentDataBlitOp.java: Added.
11901 * gnu/java/awt/GLightweightPeer.java: Added.
11902 * java/awt/geom/Line2D.java (clone): Ignore
11903 CloneNotSupportedException.
11904 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11905 * java/awt/Frame.java: Merged with Classpath.
11906 * java/awt/RenderingHints.java: Copyright update.
11907 * java/awt/Paint.java: Copyright update.
11908 * java/awt/image/DirectColorModel.java: Merged with Classpath.
11909 * java/awt/image/ColorModel.java: Merged with Classpath.
11910 * java/awt/Window.java (show): New Implementation from Classpath.
11911 (isShowing): Use super.isShowing().
11912 * java/awt/EventQueue.java: Merged with Classpath.
11913 * java/awt/AWTEventMulticaster.java (save): Throw
11915 (saveInternal): Likewise.
11916 * java/awt/AWTEvent.java: Now implements Serializable.
11917 * java/awt/Event.java: Copyright update.
11918 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11919 * java/awt/image/BufferedImage.java: Copyright update.
11920 * java/awt/GraphicsConfiguration.java: Copyright update.
11921 * java/awt/Component.java: (addNotify): Don't call
11922 addNotifyContainerChildren().
11923 (addNotifyContainerChildren): Removed.
11924 (setPeer): New method from Classpath.
11925 (setTreeLock): Likewise.
11926 (setVisible): Rewrote.
11929 (validate): Set `valid'.
11930 (checkImage(Image,ImageObserver)): Implementation from Classpath.
11931 (createImage(ImageProducer)): Likewise.
11932 (prepareImage): Likewise.
11933 * java/awt/Container.java (addImpl): Handle case where constraint
11934 is not a String. Post event via system event queue.
11935 (remove): Post event via system event queue.
11936 (validateTree): Only validate child if it is invalid.
11937 (getAlignmentX): Call super method as default.
11938 (getAlignmentY): Likewise.
11939 (addContainerListener): Now synchronized.
11940 (removeContainerListener): Likewise.
11941 (addNotifyContainerChildren): Now private.
11942 * java/awt/ComponentOrientation.java: Updated copyright. Added
11944 * java/awt/FlowLayout.java (serialVersionUID): New field.
11945 (setAlignment): Better exception message.
11946 (layoutContainer): Don't compute component's preferred size unless
11947 we're going to use it.
11948 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11949 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11950 (firstLine, lastLine, firstItem, lastItem): New fields.
11951 (addLayoutComponent): Handle case where constraints is null.
11952 Also, handle relative locations.
11953 (removeLayoutComponent): Handle relative locations.
11954 (MIN, MAX, PREF): New constants.
11955 (calcCompSize): New method.
11956 (calcSize): New method.
11957 (minimumLayoutSize): Use it.
11958 (preferredLayoutSize): Likewise.
11959 (maximumLayoutSize): Likewise.
11960 (toString): Include more information.
11961 (setBounds): New method.
11962 (layoutContainer): Use libgcj implementation; extended to handle
11963 relative locations.
11965 2002-01-15 Tom Tromey <tromey@redhat.com>
11967 * java/lang/Float.java (equals): Preserve old code.
11968 * java/lang/Double.java (equals): Preserve old code.
11970 2002-01-15 Eric Blake <ebb9@email.byu.edu>
11972 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11973 * java/lang/Float.java (equals, compare): Ditto.
11975 2002-01-13 Mark Wielaard <mark@klomp.org>
11977 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11978 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11979 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11980 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11982 2002-01-11 Mark Wielaard <mark@klomp.org>
11984 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11985 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11987 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11988 * java/net/Socket.java: Merge with Classpath.
11989 * java/net/ServerSocket.java: Likewise.
11991 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
11993 * interpret.cc (NULLARRAYCHECK): New macro.
11994 (SAVE_PC): Just store `pc'.
11995 (find_exception): Subtract one from `pc' here.
11996 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11997 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11998 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11999 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
12000 don't call SAVE_PC.
12001 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
12004 2002-01-11 Tom Tromey <tromey@redhat.com>
12006 * java/lang/natSystem.cc (init_properties): Only look for default
12007 locale if LC_MESSAGES is defined.
12008 * aclocal.m4, configure, include/config.h.in: Rebuilt.
12009 * configure.in: Call AM_LC_MESSAGES.
12010 * acinclude.m4 (AM_LC_MESSAGES): New macro.
12012 2002-01-10 Tom Tromey <tromey@redhat.com>
12014 For PR libgcj/5303:
12015 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
12016 --version. Recognize GNU-style long options. Print GNU-style
12018 (usage): Print GNU-style help. Exit with status 0.
12019 (error): New method.
12020 (run): Print error message if no class names found.
12021 (main): Don't print usage on error.
12023 2002-01-09 Tom Tromey <tromey@redhat.com>
12025 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
12027 (help, version): Use println(), not println("").
12029 For PR libgcj/5303:
12030 * gnu/gcj/convert/Convert.java (error): Program is called
12031 `jv-convert'. Print GNU-style message. Exit with status 1, not
12033 (main): Handle --help and --version.
12034 (help): New method.
12035 (version): Likewise.
12037 2002-01-08 Tom Tromey <tromey@redhat.com>
12039 * Makefile.in: Rebuilt.
12040 * Makefile.am (ordinary_java_source_files): Added new files.
12041 * gnu/java/locale/LocaleInformation.java: Extend
12042 LocaleInformation_en.
12043 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
12044 and time/date formats.
12045 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
12047 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
12048 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
12049 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
12050 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
12051 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
12052 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
12053 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
12054 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
12055 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
12056 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
12057 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
12058 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
12059 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
12060 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
12061 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
12062 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
12063 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
12064 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
12065 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
12066 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
12067 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
12068 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
12069 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
12070 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
12071 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
12072 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
12073 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
12074 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
12075 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
12076 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
12077 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
12078 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
12079 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
12080 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
12081 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
12082 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
12083 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
12084 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
12085 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
12086 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
12087 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
12088 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
12089 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
12090 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
12091 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
12092 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
12093 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
12094 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
12095 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
12096 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
12097 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
12098 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
12099 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
12100 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
12101 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
12102 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
12103 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
12104 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
12105 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
12106 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
12107 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
12108 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
12109 * gnu/java/locale/LocaleInformation_es_US.java: New file.
12110 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
12111 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
12112 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
12113 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
12114 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
12115 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
12116 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
12117 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
12118 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
12119 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
12120 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
12121 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
12122 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
12123 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
12124 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
12125 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
12126 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
12127 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
12128 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
12129 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
12130 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
12131 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
12132 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
12133 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
12134 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
12135 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12136 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12137 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12138 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12139 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12140 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12141 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12142 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12143 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12144 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12145 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12146 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12147 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12148 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12149 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12150 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12151 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12152 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12153 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12154 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12155 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12156 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12157 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12158 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12159 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12160 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12161 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12162 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12163 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12164 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12165 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12166 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12167 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12168 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12169 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12170 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12171 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12172 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12173 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12174 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12175 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12176 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12178 For PR libgcj/5031:
12179 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12180 choose default locale.
12182 * Makefile.in: Rebuilt.
12183 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12185 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12187 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12189 (close): New function closes the socket.
12190 (write): New functions for output to socket.
12191 (read): New functions for reading from socket.
12192 * java/net/PlainSocketImpl.java: Glue for new timeout
12194 (write): Call the native impl.
12196 (getInputStream): Get a stream to read from the socket.
12197 (getOutputStream): Get a stream to write to the socket.
12199 2002-01-08 Tom Tromey <tromey@redhat.com>
12201 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12203 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12205 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12206 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12208 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12210 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12211 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12212 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12213 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12214 insn_bastore, insn_castore, insn_sastore]: Use it.
12215 (continue1) [insn_arraylength]: Check for null array.
12217 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12219 * configure, include/config.h.in: Rebuilt.
12220 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12221 * configure.in: Call AC_STRUCT_TIMEZONE.
12223 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12225 * configure.host: Disable the interpreter for Darwin.
12227 2002-01-04 Tom Tromey <tromey@redhat.com>
12229 * java/lang/Thread.java (stop): No longer synchronized.
12232 2002-01-02 Tom Tromey <tromey@redhat.com>
12234 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12237 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12239 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12240 PPC Darwin, not for all of Darwin.