1 2003-06-27 Michael Koch <konqueror@gmx.de>
3 * javax/swing/JWindow.java,
4 javax/swing/event/AncestorEvent.java,
5 javax/swing/event/HyperlinkEvent.java,
6 javax/swing/event/InternalFrameEvent.java,
7 javax/swing/event/ListDataEvent.java,
8 javax/swing/event/TableModelEvent.java,
9 javax/swing/plaf/PopupMenuUI.java,
10 javax/swing/plaf/SplitPaneUI.java,
11 javax/swing/plaf/TabbedPaneUI.java,
12 javax/swing/plaf/TextUI.java,
13 javax/swing/plaf/TreeUI.java,
14 javax/swing/plaf/basic/BasicTextUI.java,
15 javax/swing/plaf/basic/BasicTreeUI.java:
16 New versions from classpath.
17 * javax/swing/Popup.java,
18 javax/swing/PopupFactory.jav:
19 New source files from classpath.
20 * javax/swing/plaf/doc-files/TreeUI-1.png:
21 New binary files from classpath.
23 2003-06-25 Michael Koch <konqueror@gmx.de>
26 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
27 * Makefile.in: Regenerated.
29 2003-06-25 Michael Koch <konqueror@gmx.de>
31 * javax/swing/plaf/ActionMapUIResource.java,
32 javax/swing/plaf/BorderUIResource.java,
33 javax/swing/plaf/ButtonUI.java,
34 javax/swing/plaf/ColorChooserUI.java,
35 javax/swing/plaf/ColorUIResource.java,
36 javax/swing/plaf/ComboBoxUI.java,
37 javax/swing/plaf/ComponentInputMapUIResource.java,
38 javax/swing/plaf/ComponentUI.java,
39 javax/swing/plaf/DesktopIconUI.java,
40 javax/swing/plaf/DesktopPaneUI.java,
41 javax/swing/plaf/DimensionUIResource.java,
42 javax/swing/plaf/FileChooserUI.java,
43 javax/swing/plaf/FontUIResource.java,
44 javax/swing/plaf/IconUIResource.java,
45 javax/swing/plaf/InputMapUIResource.java,
46 javax/swing/plaf/InsetsUIResource.java,
47 javax/swing/plaf/InternalFrameUI.java,
48 javax/swing/plaf/LabelUI.java,
49 javax/swing/plaf/ListUI.java,
50 javax/swing/plaf/MenuBarUI.java,
51 javax/swing/plaf/MenuItemUI.java,
52 javax/swing/plaf/OptionPaneUI.java,
53 javax/swing/plaf/PanelUI.java,
54 javax/swing/plaf/ProgressBarUI.java,
55 javax/swing/plaf/RootPaneUI.java,
56 javax/swing/plaf/ScrollBarUI.java,
57 javax/swing/plaf/ScrollPaneUI.java,
58 javax/swing/plaf/SeparatorUI.java,
59 javax/swing/plaf/SliderUI.java,
60 javax/swing/plaf/TableHeaderUI.java,
61 javax/swing/plaf/TableUI.java,
62 javax/swing/plaf/ToolBarUI.java,
63 javax/swing/plaf/ToolTipUI.java,
64 javax/swing/plaf/ViewportUI.java:
65 New versions from classpath.
66 * javax/swing/plaf/SpinnerUI.java:
67 New file from classpath
69 2003-06-25 Michael Koch <konqueror@gmx.de>
71 * java/awt/image/ColorModel.java:
72 New version from classpath.
74 2003-06-25 Michael Koch <konqueror@gmx.de>
76 * java/net/PlainDatagramSocketImpl.java:
77 Partly merged with classpath, this mainly adds documentation.
79 2003-06-25 Michael Koch <konqueror@gmx.de>
81 * java/io/ObjectInputStream.java
82 (readClassDescriptor): New method.
83 (readObject): Moved functionality to readClassDescriptor().
84 * java/io/ObjectOutputStream.java
85 (writeClassDescriptor): New method.
86 (writeObject): Moved functionality to writeClassDescriptor().
88 2003-06-25 Michael Koch <konqueror@gmx.de>
90 * javax/swing/plaf/basic/BasicListUI.java,
91 javax/swing/plaf/basic/BasicOptionPaneUI.java:
92 Added missing methods.
94 2003-06-25 Michael Koch <konqueror@gmx.de>
96 * javax/swing/event/AncestorEvent.java
97 javax/swing/event/HyperlinkEvent.java
98 javax/swing/event/InternalFrameEvent.java
99 javax/swing/event/ListDataEvent.java
100 javax/swing/event/TableModelEvent.java:
103 2003-06-24 Michael Koch <konqueror@gmx.de>
106 Renamed "handler" to "ph" in the whole file to match classpaths
108 * java/net/URLStreamHandler.java:
109 (equals): Renamed "handler" to "ph".
111 2003-06-24 Michael Koch <konqueror@gmx.de>
113 * javax/swing/event/AncestorEvent.java,
114 javax/swing/event/HyperlinkEvent.java,
115 javax/swing/event/InternalFrameEvent.java,
116 javax/swing/event/ListDataEvent.java,
117 javax/swing/event/TableModelEvent.java,
118 javax/swing/event/TreeWillExpandListener.java,
119 javax/swing/plaf/ComponentUI.java,
120 javax/swing/plaf/DesktopIconUI.java,
121 javax/swing/plaf/DesktopPaneUI.java,
122 javax/swing/plaf/DimensionUIResource.java,
123 javax/swing/plaf/FileChooserUI.java,
124 javax/swing/plaf/FontUIResource.java,
125 javax/swing/plaf/IconUIResource.java,
126 javax/swing/plaf/InputMapUIResource.java,
127 javax/swing/plaf/InsetsUIResource.java,
128 javax/swing/plaf/InternalFrameUI.java,
129 javax/swing/plaf/LabelUI.java,
130 javax/swing/plaf/ListUI.java,
131 javax/swing/plaf/MenuBarUI.java,
132 javax/swing/plaf/MenuItemUI.java,
133 javax/swing/plaf/OptionPaneUI.java,
134 javax/swing/plaf/PanelUI.java,
135 javax/swing/plaf/ProgressBarUI.java,
136 javax/swing/plaf/doc-files/ComponentUI-1.dia,
137 javax/swing/plaf/doc-files/ComponentUI-1.png:
138 New versions from classpath.
140 2003-06-24 Michael Koch <konqueror@gmx.de>
142 * java/nio/Buffer.java
143 (cap): Made package-private.
148 2003-06-24 Michael Koch <konqueror@gmx.de>
150 * java/net/SocketImpl.java
151 (shutdownInput): Made it non-abstract method throwing an exception
153 (shutdownOutput): Likewise.
154 * java/net/SocketInputStream.java,
155 java/net/SocketOutputStream.java:
156 New files from classpath.
158 2003-06-24 Michael Koch <konqueror@gmx.de>
160 * java/awt/Font.java,
161 java/awt/Window.java,
162 java/awt/color/ColorSpace.java,
163 java/awt/datatransfer/StringSelection.java,
164 java/awt/image/ColorModel.java:
165 New versions from classpath.
167 2003-06-24 Michael Koch <konqueror@gmx.de>
170 (awt_java_source_files): Added new files:
171 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
172 javax/swing/plaf/basic/BasicSplitPaneUI.java
173 * Makefile.in: Regenerated.
175 2003-06-24 Michael Koch <konqueror@gmx.de>
177 * javax/swing/text/JTextComponent.java:
178 New version from classpath.
180 2003-06-24 Michael Koch <konqueror@gmx.de>
182 * javax/swing/Timer.java,
183 javax/swing/plaf/ActionMapUIResource.java,
184 javax/swing/plaf/ButtonUI.java,
185 javax/swing/plaf/ColorChooserUI.java,
186 javax/swing/plaf/ColorUIResource.java,
187 javax/swing/plaf/ComboBoxUI.java,
188 javax/swing/plaf/ComponentInputMapUIResource.java,
189 javax/swing/plaf/basic/BasicBorders.java:
190 New versions from classpath.
191 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
192 javax/swing/plaf/basic/BasicSplitPaneUI.java:
193 New file from classpath.
194 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
195 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
196 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
197 javax/swing/plaf/doc-files/ComponentUI-1.dia,
198 javax/swing/plaf/doc-files/ComponentUI-1.png:
199 New binary files from classpath.
201 2003-06-24 Michael Koch <konqueror@gmx.de>
203 * java/io/LineNumberReader.java
204 (skip): Dont do line number accounting here as this is already done in
207 2003-06-21 Michael Koch <konqueror@gmx.de>
210 (static): Load javaio lib if existing (only in classpath).
211 (File): Revised documentation to show the correct argument name.
212 (createTempFile): Partly merged with classpath.
213 (compareTo): Simplified.
214 (lastModified): Throw exception if time < 0.
215 (deleteOnExit): Revised documentation.
217 2003-06-21 Michael Koch <konqueror@gmx.de>
219 * java/net/PlainSocketImpl.java:
221 (PlainSocketImpl): Merged class documentaion with classpath.
224 (PlainSocketImpl): New empty constructor.
226 (setOption): Merged documentation from classpath.
227 (getOption): Likewise.
233 (available): Likewise.
237 (getInputStream): Made synchronozed to get sure that only one stream
238 object can be created for this socket, merged documentation from
240 (getOutputStream): Likewise.
242 2003-06-21 Michael Koch <konqueror@gmx.de>
244 * java/net/PlainSocketImpl.java:
246 (static): New implicit method.
247 (read): Made package private.
250 2003-06-21 Michael Koch <konqueror@gmx.de>
252 * java/util/SimpleTimeZone.java:
253 Removed unneeded import, reformatting.
255 2003-06-21 Michael Koch <konqueror@gmx.de>
257 * java/text/DateFormat.java,
258 java/text/SimpleDateFormat.java,
259 java/util/Locale.java:
260 New versions from classpath.
262 2003-06-21 Michael Koch <konqueror@gmx.de>
264 * javax/swing/SpinnerModel.java:
265 New file from classpath.
266 * javax/swing/border/LineBorder.java,
267 javax/swing/border/SoftBevelBorder.java,
268 javax/swing/plaf/BorderUIResource.java,
269 javax/swing/plaf/basic/BasicBorders.java:
270 New versions from classpath.
271 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
272 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
273 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
274 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
275 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
276 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
277 New binary files from classpath.
279 2003-06-21 Michael Koch <konqueror@gmx.de>
281 * java/util/logging/LogRecord.java,
282 java/util/logging/Logger.java,
283 java/util/logging/SocketHandler.java,
284 java/util/logging/SimpleFormatter.java,
285 java/util/logging/Formatter.java,
286 java/util/logging/ErrorManager.java,
287 java/util/logging/Handler.java,
288 java/util/logging/FileHandler.java,
289 java/util/logging/LogManager.java,
290 java/util/logging/Level.java,
291 java/util/logging/ConsoleHandler.java,
292 java/util/logging/StreamHandler.java,
293 java/util/logging/LoggingPermission.java,
294 java/util/logging/Filter.java,
295 java/util/logging/MemoryHandler.java,
296 java/util/logging/XMLFormatter.java:
297 New files from classpath.
299 2003-06-20 Michael Koch <konqueror@gmx.de>
301 * java/io/ObjectStreamField.java
302 (unshared): new member variable.
303 (ObjectStreamField): New constructor.
304 (isUnshared): New method.
306 2003-06-20 Michael Koch <konqueror@gmx.de>
308 * java/net/URLStreamHandler.java
309 (hostsEqual): Rewritten.
311 2003-06-20 Michael Koch <konqueror@gmx.de>
313 * gnu/java/nio/MappedByteFileBuffer.java,
314 gnu/java/nio/natMappedByteFileBuffer.cc:
316 * java/nio/MappedByteBufferImpl.java:
318 * gnu/java/nio/FileChannelImpl.java:
319 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
321 (ordinary_java_source_files): Removed
322 gnu/java/nio/MappedByteFileBuffer.java and added
323 java/nio/MappedByteBufferImpl.java.
324 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
325 * Makefile.in: Regenerated.
327 2003-06-19 Michael Koch <konqueror@gmx.de>
329 * gnu/java/nio/DatagramChannelImpl.java
331 (blocking): New member variable.
333 (DatagramChannelImpl): Throws IOException, initialize socket.
334 (socket):Implemented.
335 (implCloseSelectableChannel): Throws IOException, implemented.
336 (implConfigureBlocking): Likewise.
338 (disconnect): Likewise.
339 (isConnected): Likewise.
342 (receive): Throws IOException.
344 * gnu/java/nio/SocketChannelImpl.java
346 (write): Implemented.
348 2003-06-19 Michael Koch <konqueror@gmx.de>
350 * javax/swing/JComponent.java,
351 javax/swing/JInternalFrame.java,
352 javax/swing/MenuSelectionManager.java,
353 javax/swing/SwingUtilities.java,
354 javax/swing/ToggleButtonModel.java:
355 New versions from classpath.
357 2003-06-19 Michael Koch <konqueror@gmx.de>
359 * java/text/CollationElementIterator.java
360 (NULLORDER): Initialize with -1 as JDK documentation says.
362 2003-06-19 Michael Koch <konqueror@gmx.de>
364 * java/net/HttpURLConnection.java,
365 java/net/Inet4Address.java,
366 java/net/Inet6Address.java,
367 java/net/SocketImpl.java,
368 java/net/URLClassLoader.java:
369 Reworked import statements.
370 * java/net/InetAddress.java
371 (getByAddress): Simplified.
372 * java/net/ServerSocket.java
373 (ServerSocket): Moved special handling during bind operation to
375 (bind): Handle different cases when trying to bind a socket.
376 * java/net/URLConnection.java
377 (getHeaderFieldDate): Merged with classpath.
378 (getHeaderFieldInt): Likewise.
380 2003-06-19 Michael Koch <konqueror@gmx.de>
382 * java/util/zip/InflaterInputStream.java
383 (InflaterInputStream): Throw NullPointerException if in is null (as
386 2003-06-19 Michael Koch <konqueror@gmx.de>
389 javax/swing/UIManager.java
390 javax/swing/border/AbstractBorder.java
391 javax/swing/border/BevelBorder.java
392 javax/swing/border/Border.java
393 javax/swing/border/CompoundBorder.java
394 javax/swing/border/EmptyBorder.java
395 javax/swing/border/EtchedBorder.java
396 javax/swing/border/LineBorder.java
397 javax/swing/border/MatteBorder.java
398 javax/swing/border/TitledBorder.java
399 javax/swing/plaf/BorderUIResource.java
400 javax/swing/plaf/basic/BasicBorders.java
401 javax/swing/plaf/basic/BasicButtonUI.java
402 javax/swing/plaf/basic/BasicCheckBoxUI.java
403 javax/swing/plaf/basic/BasicGraphicsUtils.java
404 javax/swing/plaf/basic/BasicLabelUI.java
405 javax/swing/plaf/basic/BasicRadioButtonUI.java
406 javax/swing/plaf/basic/BasicToggleButtonUI.java:
407 New versions from classpath.
408 * javax/swing/border/SoftBevelBorder.java:
409 New file from classpath.
410 * javax/swing/border/doc-files/LineBorder-1.png,
411 javax/swing/border/doc-files/BevelBorder-1.png,
412 javax/swing/border/doc-files/BevelBorder-2.png,
413 javax/swing/border/doc-files/BevelBorder-3.png,
414 javax/swing/border/doc-files/EmptyBorder-1.png,
415 javax/swing/border/doc-files/EtchedBorder-1.png,
416 javax/swing/border/doc-files/EtchedBorder-2.png,
417 javax/swing/border/doc-files/MatteBorder-1.png,
418 javax/swing/border/doc-files/MatteBorder-2.png,
419 javax/swing/border/doc-files/MatteBorder-3.png,
420 javax/swing/border/doc-files/MatteBorder-4.png,
421 javax/swing/border/doc-files/MatteBorder-5.png,
422 javax/swing/border/doc-files/MatteBorder-6.png,
423 javax/swing/border/doc-files/SoftBevelBorder-1.png,
424 javax/swing/border/doc-files/SoftBevelBorder-2.png,
425 javax/swing/border/doc-files/SoftBevelBorder-3.png,
426 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
427 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
428 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
429 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
430 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
431 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
432 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
433 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
434 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
435 New binary files from classpath.
437 (awt_java_source_files): Added
438 javax/swing/border/SoftBevelBorder.java.
439 * Makefile.in: Regenerated.
441 2003-06-19 Michael Koch <konqueror@gmx.de>
443 * gnu/java/security/x509/X509Certificate.java
444 (writeReplace): Merged from classpath.
446 2003-06-19 Michael Koch <konqueror@gmx.de>
448 * gnu/java/nio/FileChannelImpl.java
449 (map_address): Made public.
450 (FileChannelImpl): Merged with classpath.
451 * gnu/java/nio/natFileChannelImpl.cc
452 (nio_mmap_file): Commented out unused arguments.
453 (nio_unmmap_file): Likewise.
454 (niu_msync): Likewise.
456 2003-06-19 Michael Koch <konqueror@gmx.de>
458 * java/awt/image/IndexColorModel.java:
459 New version from classpath.
461 2003-06-18 Tom Tromey <tromey@redhat.com>
463 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
465 (isLoopbackAddress): Likewise.
466 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
469 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
471 * java/lang/natVMSecurityManager.cc (getClassContext):
472 Use maxlen instead of len for loop bound.
474 2003-06-18 Michael Koch <konqueror@gmx.de>
476 * gnu/java/nio/SelectorImpl.java
477 (register): Use fd with value 0 for now, will be fixed later.
478 * gnu/java/nio/ServerSocketChannelImpl.java
480 (local_port): Removed.
481 (InetSocketAddress): Removed.
482 (ServerSocketChannelImpl): Just initialize internal socket object.
483 (implCloseSelectableChannel): Close internal socket object.
484 (implConfigureBlocking): Added comment.
485 (accept): Use jaba.net stuff to accept socket.
486 * gnu/java/nio/SocketChannelImpl.java
488 (local_port): Removed.
489 (InetSocketAddress): Removed.
490 (SocketCreate): Removed.
491 (SocketConnect): Removed.
492 (SocketBind): Removed.
493 (SocketListen): Removed.
494 (SocketAvailable): Removed.
495 (SocketClose): Removed.
496 (SocketRead): Removed.
497 (SocketWrite): Removed.
498 (SocketChannelImpl): Just initialize internal socket object.
499 (implCloseSelectableChannel): Close internal socket object.
500 (implConfigureBlocking): Fixed implementation, added comment.
501 (connect): Use internal socket object to connect.
502 (socket): No need for sanity checks.
503 (read): Comment out some stuff, this will be reimplemented in the next
506 * gnu/java/nio/natFileChannelImpl.cc
507 (nio_mmap_file): Line wrapped.
508 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
510 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
511 * Makefile.in: Regenerated.
513 2003-06-18 Michael Koch <konqueror@gmx.de>
515 * java/util/Locale.java
516 (equals): Merged from classpath.
518 2003-06-18 Michael Koch <konqueror@gmx.de>
520 * java/net/InetAddress.java:
521 Reformatted to better match classpath's version.
523 (equals): Simplified.
524 * java/net/URLConnection.java
525 (setDoInput): Revised documentation.
526 (getDefaultUseCaches): Likewise.
527 (setRequestProperty): Added @since tag.
529 2003-06-17 Michael Koch <konqueror@gmx.de>
531 * java/net/InetSocketAddress.java
532 (InetSocketAddress): Use wildcard address if addr is null.
533 (InetSocketAddress): Dont duplicate implementation.
534 (InetSocketAddress): Throw exception when hostname is null.
535 * java/net/Socket.java:
537 (Socket): Throw exception when raddr is null, handle case when laddr
540 2003-06-17 Michael Koch <konqueror@gmx.de>
542 * java/nio/DirectByteBufferImpl.java
543 (address): Made package private.
544 (DirectByteBufferImpl): New constructor.
545 * java/nio/natDirectByteBufferImpl.cc
546 (allocateImpl): Moved to java.nio namespace, implemented.
547 (freeImpl): Likewise.
551 (_Jv_JNI_NewDirectByteBuffer): Implemented.
552 (_Jv_JNI_GetDirectBufferAddress): Implemented.
553 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
555 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
557 * include/powerpc-signal.h: New File.
558 * configure.in: Use it.
559 * configure: Regenerated.
561 2003-06-17 Michael Koch <konqueror@gmx.de>
563 * java/util/Locale.java
564 (getDisplayLanguage): Made it final.
565 (getDisplayCountry): Likewise.
566 (getDisplayVariant): Likewise.
567 (getDisplayName): Likewise.
569 2003-06-17 Michael Koch <konqueror@gmx.de>
571 * java/util/PropertyResourceBundle.java:
572 Removed unneeded import.
574 2003-06-17 Michael Koch <konqueror@gmx.de>
576 * java/util/prefs/AbstractPreferences.java,
577 java/util/prefs/PreferencesFactory.java:
578 Reworked imports, removed unused imports.
579 * java/util/prefs/Preferences.java
580 (systemNodeForPackage): Method takes a Class not an Object.
581 (userNodeForPackage): Likewise.
582 (nodeForPackage): Likewise.
584 2003-06-17 Michael Koch <konqueror@gmx.de>
586 * gnu/java/security/x509/X509Certificate.java:
587 Explicitely import used classes.
589 2003-06-17 Michael Koch <konqueror@gmx.de>
591 * java/util/zip/ZipEntry.java,
592 java/util/zip/ZipFile.java,
593 java/util/zip/ZipInputStream.java,
594 java/util/zip/ZipOutputStream.java:
595 Reworked imports, only import used classes.
597 2003-06-17 Michael Koch <konqueror@gmx.de>
599 * gnu/java/lang/ArrayHelper.java,
600 gnu/java/lang/ClassHelper.java:
601 Reformatted to match classpath's versions.
603 2003-06-14 Michael Koch <konqueror@gmx.de>
605 * gnu/java/nio/FileChannelImpl.java
606 (map_address): Removed incorrect comment.
607 * gnu/java/nio/SelectorImpl.java
608 (register): Remove code duplication and code for file channel handling.
609 * gnu/java/nio/ServerSocketChannelImpl.java
610 (serverSocket): Renamed from sock_object.
611 (ServerSocketChannel): Initialize serverSocket.
612 (socket): Return serverSocket.
613 * gnu/java/nio/SocketChannelImpl.java
614 (socket): Renamed from sock_object.
615 (isConnectionPenging): Simplified.
616 (socket): Return socket.
617 2003-06-14 Michael Koch <konqueror@gmx.de>
619 * java/security/BasicPermission.java:
620 New version from classpath.
622 2003-06-14 Michael Koch <konqueror@gmx.de>
624 * javax/naming/directory/Attribute.java:
625 New version from classpath.
627 2003-06-14 Michael Koch <konqueror@gmx.de>
629 * java/io/BufferedReader.java,
630 java/io/FileOutputStream.java:
631 New versions from classpath.
633 2003-06-12 Andrew Haley <aph@redhat.com>
635 * prims.cc (catch_segv): Create exception in handler.
636 (catch_fpe): Likewise.
637 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
638 (_Jv_ThrowSignal): Remove.
640 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
641 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
642 to nullp and arithexception.
643 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
644 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
645 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
646 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
647 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
649 2003-06-11 Andrew Haley <aph@redhat.com>
651 * jni.cc (_Jv_JNI_check_types): New.
652 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
653 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
654 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
655 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
657 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
660 2003-06-11 Tom Tromey <tromey@redhat.com>
662 * java/lang/ClassLoader.java (loadClass): Not deprecated.
663 * java/io/PrintStream.java: Not deprecated.
665 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
667 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
668 (fillOval): implemented
669 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
670 (fillArc): implemented.
671 * gnu/gcj/xlib/GC.java (drawArc): added native method.
672 (fillArc): added native method.
673 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
674 (fillArc): added native method.
676 2003-06-11 Michael Koch <konqueror@gmx.de>
678 * java/awt/im/InputSubset.java:
679 New version from classpath.
681 2003-06-11 Michael Koch <konqueror@gmx.de>
683 * javax/swing/AbstractAction.java,
684 javax/swing/AbstractButton.java,
685 javax/swing/AbstractCellEditor.java,
686 javax/swing/AbstractListModel.java,
687 javax/swing/BorderFactory.java,
688 javax/swing/Box.java,
689 javax/swing/BoxLayout.java,
690 javax/swing/ButtonGroup.java,
691 javax/swing/DefaultButtonModel.java,
692 javax/swing/DefaultListModel.java,
693 javax/swing/DefaultListSelectionModel.java,
694 javax/swing/FocusManager.java,
695 javax/swing/ImageIcon.java,
696 javax/swing/InputMap.java,
697 javax/swing/JApplet.java,
698 javax/swing/JButton.java,
699 javax/swing/JCheckBox.java,
700 javax/swing/JCheckBoxMenuItem.java,
701 javax/swing/JColorChooser.java,
702 javax/swing/JComboBox.java,
703 javax/swing/JComponent.java,
704 javax/swing/JDesktopPane.java,
705 javax/swing/JDialog.java,
706 javax/swing/JEditorPane.java,
707 javax/swing/JFileChooser.java,
708 javax/swing/JFormattedTextField.java,
709 javax/swing/JFrame.java,
710 javax/swing/JLabel.java,
711 javax/swing/JLayeredPane.java,
712 javax/swing/JList.java,
713 javax/swing/JMenuBar.java,
714 javax/swing/JMenuItem.java,
715 javax/swing/JOptionPane.java,
716 javax/swing/JPanel.java,
717 javax/swing/JPasswordField.java,
718 javax/swing/JPopupMenu.java,
719 javax/swing/JProgressBar.java,
720 javax/swing/JRadioButton.java,
721 javax/swing/JRadioButtonMenuItem.java,
722 javax/swing/JRootPane.java,
723 javax/swing/JScrollBar.java,
724 javax/swing/JScrollPane.java,
725 javax/swing/JSeparator.java,
726 javax/swing/JSlider.java,
727 javax/swing/JTabbedPane.java,
728 javax/swing/JTable.java,
729 javax/swing/JTextField.java,
730 javax/swing/JToggleButton.java,
731 javax/swing/JToolBar.java,
732 javax/swing/JToolTip.java,
733 javax/swing/JTree.java,
734 javax/swing/JViewport.java,
735 javax/swing/JWindow.java,
736 javax/swing/KeyStroke.java,
737 javax/swing/ListSelectionModel.java,
738 javax/swing/LookAndFeel.java,
739 javax/swing/RepaintManager.java,
740 javax/swing/ScrollPaneLayout.java,
741 javax/swing/SizeRequirements.java,
742 javax/swing/SwingConstants.java,
743 javax/swing/Timer.java,
744 javax/swing/UIDefaults.java,
745 javax/swing/UIManager.java,
746 javax/swing/border/AbstractBorder.java,
747 javax/swing/border/CompoundBorder.java,
748 javax/swing/colorchooser/AbstractColorChooserPanel.java,
749 javax/swing/colorchooser/ColorChooserComponentFactory.java,
750 javax/swing/colorchooser/ColorSelectionModel.java,
751 javax/swing/colorchooser/DefaultColorSelectionModel.java,
752 javax/swing/event/AncestorEvent.java,
753 javax/swing/event/HyperlinkEvent.java,
754 javax/swing/event/InternalFrameAdapter.java,
755 javax/swing/event/InternalFrameEvent.java,
756 javax/swing/event/ListDataEvent.java,
757 javax/swing/event/MouseInputAdapter.java,
758 javax/swing/event/SwingPropertyChangeSupport.java,
759 javax/swing/event/TableModelEvent.java,
760 javax/swing/event/TreeWillExpandListener.java,
761 javax/swing/event/UndoableEditEvent.java,
762 javax/swing/filechooser/FileFilter.java,
763 javax/swing/filechooser/FileSystemView.java,
764 javax/swing/filechooser/FileView.java,
765 javax/swing/plaf/BorderUIResource.java,
766 javax/swing/plaf/basic/BasicDefaults.java,
767 javax/swing/table/AbstractTableModel.java,
768 javax/swing/table/DefaultTableCellRenderer.java,
769 javax/swing/table/DefaultTableColumnModel.java,
770 javax/swing/table/DefaultTableModel.java,
771 javax/swing/table/TableColumn.java,
772 javax/swing/text/JTextComponent.java,
773 javax/swing/tree/AbstractLayoutCache.java,
774 javax/swing/tree/DefaultMutableTreeNode.java,
775 javax/swing/tree/DefaultTreeCellEditor.java,
776 javax/swing/tree/DefaultTreeCellRenderer.java,
777 javax/swing/tree/DefaultTreeModel.java,
778 javax/swing/tree/DefaultTreeSelectionModel.java,
779 javax/swing/tree/FixedHeightLayoutCache.java,
780 javax/swing/tree/TreeCellEditor.java,
781 javax/swing/tree/TreeModel.java,
782 javax/swing/tree/TreeNode.java,
783 javax/swing/tree/TreePath.java,
784 javax/swing/tree/TreeSelectionModel.java,
785 javax/swing/tree/VariableHeightLayoutCache.java,
786 javax/swing/undo/AbstractUndoableEdit.java,
787 javax/swing/undo/CompoundEdit.java,
788 javax/swing/undo/StateEdit.java,
789 javax/swing/undo/UndoManager.java,
790 javax/swing/undo/UndoableEditSupport.java:
791 New versions from classpath.
792 * javax/swing/table/JTableHeader.java:
793 New file from classpath.
795 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
796 * Makefile.in: Regenerated.
798 2003-06-11 Michael Koch <konqueror@gmx.de>
800 * java/nio/MappedByteBuffer.java,
801 java/nio/channels/Channels.java,
802 java/nio/channels/ServerSocketChannel.java,
803 java/nio/channels/spi/AbstractSelector.java:
804 Removed unneeded imports.
806 2003-06-11 Michael Koch <konqueror@gmx.de>
808 * java/net/DatagramSocket.java:
809 Partly merged with classpath.
811 2003-06-11 Michael Koch <konqueror@gmx.de>
813 * java/awt/Frame.java,
814 java/awt/Graphics.java,
817 java/awt/image/ColorModel.java:
818 New versions from classpath.
820 2003-06-10 Michael Koch <konqueror@gmx.de>
822 * java/io/PrintStream.java:
823 Merged version from classpath.
824 (close): Removed sychronized keyword. This class is not garantied to
828 2003-06-09 Tom Tromey <tromey@redhat.com>
830 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
832 (getDescent): Likewise, for "descent".
834 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
836 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
837 (getMaxDescent): adjusted return value.
838 (getAscent): modified to use metrics for 'O'.
839 (getDescent): modified to use metrics for 'y'.
841 2003-06-08 Anthony Green <green@redhat.com>
843 * java/net/URLStreamHandler.java (sameFile): Fix port value
845 * java/net/URL.java (handler): Make package private.
846 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
848 2003-06-07 Tom Tromey <tromey@redhat.com>
851 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
852 Limit number of characters in numeric field when required.
853 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
854 Respect maximumIntegerDigits.
856 2003-06-08 Michael Koch <konqueror@gmx.de>
858 * java/net/Socket.java
859 (Socket): Dont initialize inputShutdown and outputShutdown twice,
860 call bind() and connect() to actually do the bind and connect tasks.
861 (bind): Connect to canonical address if bindpoint is null, create
862 socket and bind it to bindpoint.
863 (connect): Check for exceptions.
865 2003-06-08 Michael Koch <konqueror@gmx.de>
867 * java/net/DatagramSocket.java
868 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
869 into the Multicast constructors.
870 * java/net/DatagramSocketImpl.java
871 (getOption): Removed.
872 (setOption): Removed.
873 * java/net/MulticastSocket.java
874 (MulticastSocket): Call setReuseAddress (true).
875 * java/net/SocketImpl.java
876 (getOption): Removed.
877 (setOption): Removed.
879 2003-06-07 Jeff Sturm <jsturm@one-point.com>
882 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
883 Test for empty vector.
885 2003-06-06 Mark Wielaard <mark@klomp.org>
887 * java/security/Security.java (secprops): Initialize.
888 (loadProviders): Return boolean.
889 (static): Check result of loadProvider calls. If necessary
890 display WARNING and fallback to Gnu provider.
892 2002-06-06 James Clark <jjc@jclark.com>
894 Fix for PR libgcj/8738:
895 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
896 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
897 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
898 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
899 (write): Always decrease avail when count is increased.
900 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
901 and whether output buffer is full before increasing size.
903 2002-06-06 Mark Wielaard <mark@klomp dot org>
905 * java/io/PrintStream.java (writeChars(char[],int, int)):
906 Check converter.havePendingBytes().
907 (writeChars(String,int,int)): Likewise.
908 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
909 Check converter.havePendingBytes() and flush buffer when stalled.
911 2003-06-07 Michael Koch <konqueror@gmx.de>
914 (O_DSYNC): Define O_DSYNC on platforms not
915 supporting O_FSYNC (newlib).
917 2003-06-06 Mark Wielaard <mark@klomp.org>
919 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
922 2003-06-06 Michael Koch <konqueror@gmx.de>
924 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
925 More compile fixes from my stupid work yesterday.
927 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
929 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
930 if _IEEE_LIBM is undefined.
932 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
934 * libjava/include/posix.h (O_SYNC): Define if not available
935 and a reasonable, perhaps more conservative, replacement exists.
937 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
939 2003-06-05 Michael Koch <konqueror@gmx.de>
941 * javax/swing/plaf/BorderUIResource.java,
942 javax/swing/plaf/basic/BasicDefaults.java,
943 javax/swing/plaf/basic/BasicOptionPaneUI.java:
944 More compile fixes for latest Border commit. I should not commit
945 something in this heat here ...
947 2003-06-05 Michael Koch <konqueror@gmx.de>
949 * javax/swing/border/BevelBorder.java
950 (BevelBorder): Removed.
951 * javax/swing/border/EmptyBorder.java:
953 (EmptyBorder): Removed.
954 (getBorderInsets): Dont use l, r, t and b.
955 * javax/swing/border/EtchedBorder.java
956 (EtchedBorder): Removed.
957 * javax/swing/border/LineBorder.java
958 (LineBorder): Removed.
959 * javax/swing/border/MatteBorder.java
960 (MatteBorder): Removed.
961 * javax/swing/border/TitledBorder.java
962 (defaultBorder): Use other default for now.
963 (defaultFont): Likewise.
964 (defaultColor): Likewise.
966 2003-06-05 Michael Koch <konqueror@gmx.de>
968 * javax/swing/border/Border.java:
969 New version from classpath.
971 2003-06-05 Michael Koch <konqueror@gmx.de>
973 * javax/swing/border/AbstractBorder.java,
974 javax/swing/border/BevelBorder.java,
975 javax/swing/border/CompoundBorder.java,
976 javax/swing/border/EmptyBorder.java,
977 javax/swing/border/EtchedBorder.java,
978 javax/swing/border/LineBorder.java,
979 javax/swing/border/MatteBorder.java,
980 javax/swing/border/TitledBorder.java:
981 New versions from Classpath.
983 2003-06-05 Michael Koch <konqueror@gmx.de>
985 * java/awt/Button.java,
986 java/awt/Checkbox.java,
987 java/awt/CheckboxMenuItem.java,
988 java/awt/Choice.java,
989 java/awt/Container.java,
990 java/awt/Dialog.java,
991 java/awt/EventQueue.java,
992 java/awt/FileDialog.java,
997 java/awt/MenuItem.java,
999 java/awt/PopupMenu.java,
1000 java/awt/Rectangle.java,
1001 java/awt/ScrollPane.java,
1002 java/awt/Scrollbar.java,
1003 java/awt/TextArea.java,
1004 java/awt/TextField.java,
1005 java/awt/Window.java,
1006 java/awt/datatransfer/DataFlavor.java,
1007 java/awt/dnd/DragSource.java,
1008 java/awt/dnd/DragSourceContext.java,
1009 java/awt/event/HierarchyEvent.java,
1010 java/awt/event/MouseWheelEvent.java,
1011 java/awt/im/InputContext.java,
1012 java/awt/image/BufferedImage.java,
1013 java/awt/image/ComponentColorModel.java,
1014 java/awt/image/Raster.java,
1015 java/awt/image/WritableRaster.java,
1016 java/awt/peer/ComponentPeer.java,
1017 java/awt/print/PageFormat.java,
1018 java/awt/print/PrinterJob.java:
1019 New versions from Classpath.
1021 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
1023 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
1024 numberFormat.setParseIntegerOnly(true).
1026 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1028 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1030 2003-06-03 Andrew Haley <aph@redhat.com>
1032 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1033 stack volatile to prevent optimization from removing it.
1035 2003-05-27 Michael Koch <konqueror@gmx.de>
1037 * java/util/zip/Deflater.java
1038 (FILTERED): Merged documentation from classpath.
1039 * java/util/zip/DeflaterOutputStream.java
1040 (DeflaterOutputStream): Merged documentation and argument validity
1041 check from classpath.
1042 (deflate): Merged documentation from classpath.
1044 * java/util/zip/Inflater.java
1045 (Inflater): Merged class documentation from classpath.
1046 (zstream): Reordered.
1047 (is_finished): Reordered.
1048 (dict_needed): Reordered.
1049 (Inflater): Reordered, merged documentation from classpath.
1051 (finalize): Merged documentation from classpath.
1052 (finished): Likewise.
1053 (getAdler): Likewise.
1054 (getRemaining): Likewise.
1055 (getTotalIn): Likewise.
1056 (getTotalOut): Likewise.
1057 (inflate): Likewise.
1058 (needsDictionary): Likewise.
1059 (needsInput): Likewise.
1061 (setDictionary): Likewise.
1062 (setInput): Likewise.
1064 2003-05-27 Michael Koch <konqueror@gmx.de>
1066 * java/net/URLConnection.java
1067 (getHeaderFieldInt): Merged with classpath.
1069 2003-05-27 Michael Koch <konqueror@gmx.de>
1071 * java/io/PrintStream.java
1072 (PrintStream): Reformatted.
1073 (PrintStream): New method, merged from classpath.
1074 (write): Reformatted.
1076 2003-05-27 Michael Koch <konqueror@gmx.de>
1078 * java/lang/System.java:
1079 Explicitely import needed classes.
1081 2003-05-26 Michael Koch <konqueror@gmx.de>
1083 * java/net/NetPermission.java,
1084 java/net/NetworkInterface.java,
1085 java/net/PasswordAuthentication.java,
1086 java/net/SocketPermission.java:
1087 New versions from classpath.
1089 2003-05-25 Michael Koch <konqueror@gmx.de>
1091 * java/io/PushbackInputStream.java,
1092 java/net/Authenticator.java,
1093 java/net/ContentHandler.java,
1094 java/net/ContentHandlerFactory.java,
1095 java/net/DatagramSocket.java,
1096 java/net/DatagramSocketImpl.java,
1097 java/net/DatagramSocketImplFactory.java,
1098 java/net/FileNameMap.java,
1099 java/net/SocketImplFactory.java,
1100 java/net/SocketOptions.java,
1101 java/net/URLStreamHandlerFactory.java:
1102 Merged new versions from classpath.
1104 2003-05-25 Michael Koch <konqueror@gmx.de>
1106 * java/awt/Checkbox.java,
1107 java/awt/Dialog.java,
1109 java/awt/Frame.java,
1110 java/awt/ScrollPaneAdjustable.java,
1111 java/awt/Scrollbar.java,
1112 java/awt/Window.java:
1113 New versions from classpath.
1115 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1118 * java/io/ObjectInputStream (enableResolveObject):
1119 Fixed spelling of permission name.
1121 2003-05-20 Michael Koch <konqueror@gmx.de>
1123 * java/io/DataInputStream.java
1124 (convertFromUTF): Merged comment from classpath.
1125 * java/io/PrintStream.java
1126 (error_occured): Renamed from error, merged comment from classpath.
1127 (PrintStream): No need to initialized error.
1128 (checkError): Replace error with error_occurred.
1129 (setError): Likewise.
1131 2003-05-20 Michael Koch <konqueror@gmx.de>
1133 * java/io/DataInputStream.java:
1134 Reformatted, Replaced < and & with html entitites in documentation.
1135 * java/io/File.java:
1137 * java/io/PrintWriter.java:
1138 Moved class documentation.
1140 2003-05-20 Michael Koch <konqueror@gmx.de>
1142 * gnu/java/nio/ByteBufferImpl.java,
1143 gnu/java/nio/CharBufferImpl.java,
1144 gnu/java/nio/CharViewBufferImpl.java,
1145 gnu/java/nio/DirectByteBufferImpl.java,
1146 gnu/java/nio/DoubleBufferImpl.java,
1147 gnu/java/nio/DoubleViewBufferImpl.java,
1148 gnu/java/nio/FloatBufferImpl.java,
1149 gnu/java/nio/FloatViewBufferImpl.java,
1150 gnu/java/nio/IntBufferImpl.java,
1151 gnu/java/nio/IntViewBufferImpl.java,
1152 gnu/java/nio/LongBufferImpl.java,
1153 gnu/java/nio/LongViewBufferImpl.java,
1154 gnu/java/nio/natDirectByteBufferImpl.cc,
1155 gnu/java/nio/ShortBufferImpl.java,
1156 gnu/java/nio/ShortViewBufferImpl.java:
1157 Moved files to java/nio.
1158 * gnu/java/nio/SocketChannelImpl.java
1160 * java/nio/ByteBuffer.java,
1161 java/nio/CharBuffer.java,
1162 java/nio/DoubleBuffer.java,
1163 java/nio/FloatBuffer.java,
1164 java/nio/IntBuffer.java,
1165 java/nio/LongBuffer.java,
1166 java/nio/ShortBuffer.java:
1167 Dont import anything.
1168 * java/nio/ByteBufferImpl.java,
1169 java/nio/CharBufferImpl.java,
1170 java/nio/CharViewBufferImpl.java,
1171 java/nio/DirectByteBufferImpl.java,
1172 java/nio/DoubleBufferImpl.java,
1173 java/nio/DoubleViewBufferImpl.java,
1174 java/nio/FloatBufferImpl.java,
1175 java/nio/FloatViewBufferImpl.java,
1176 java/nio/IntBufferImpl.java,
1177 java/nio/IntViewBufferImpl.java,
1178 java/nio/LongBufferImpl.java,
1179 java/nio/LongViewBufferImpl.java,
1180 java/nio/natDirectByteBufferImpl.cc,
1181 java/nio/ShortBufferImpl.java,
1182 java/nio/ShortViewBufferImpl.java:
1183 Moved from gnu/java/nio.
1185 (ordinary_java_source_files): Moved files from gnu/java/nio to
1187 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1189 * Makefile.in: Regenerated.
1191 2003-05-19 Michael Koch <konqueror@gmx.de>
1193 * java/util/Calendar.java
1194 (get): Not final anymore since JDK 1.4
1197 2003-05-19 Michael Koch <konqueror@gmx.de>
1199 * java/text/CollationKey.java:
1200 Merged copyright and dat from classpath.
1201 * java/text/RuleBasedCollator.java:
1202 Merged class documentation from classpath.
1204 2003-05-19 Michael Koch <konqueror@gmx.de>
1206 * java/nio/CharBuffer.java
1207 (toString): Compile fix.
1209 2003-05-19 Michael Koch <konqueror@gmx.de>
1211 * gnu/java/nio/ByteBufferImpl.java
1212 (putLong): Fixed conversion to bytes.
1213 (putDouble): Fixed conversion to bytes.
1214 * gnu/java/nio/DirectByteBufferImpl.java
1215 (putLong): Fixed conversion to bytes.
1216 (putDouble): Fixed conversion to bytes.
1217 * gnu/java/nio/FileLockImpl.java
1218 (isValid): Reformatted.
1219 * java/nio/Buffer.java
1220 (Buffer): Fixed off-by-one bug in handling mark.
1221 * java/nio/ByteBuffer.java:
1223 * java/nio/CharBuffer.java
1224 (toString): Don't use relative get to get string data.
1226 2003-05-16 Michael Koch <konqueror@gmx.de>
1228 * java/io/natFileDescriptorPosix.cc
1229 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1232 2003-05-14 Michael Koch <konqueror@gmx.de>
1234 * gnu/java/nio/FileLockImpl.java
1235 (released): New member variable.
1236 (FileLockImpl): Initialize released.
1237 (releaseImpl): New native method.
1238 (release): Implemented.
1239 * gnu/java/nio/SelectorImpl.java: Reformatted.
1240 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1241 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1242 (accept): Throws IOException.
1243 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1244 (implConfigureBlocking): Throws IOException.
1245 (connect): Likewise.
1248 * gnu/java/nio/natFileLockImpl.cc: New file.
1249 * java/nio/channels/FileLock.java: Reformatted.
1251 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1252 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1253 * Makefile.in: Regenerated.
1255 2003-05-13 Michael Koch <konqueror@gmx.de>
1257 * gnu/java/nio/CharViewBufferImpl.java
1258 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1259 (get): Shift bits to the right direction.
1261 * gnu/java/nio/DoubleViewBufferImpl.java
1262 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1263 (get): Shift bits to the right direction.
1265 * gnu/java/nio/FloatViewBufferImpl.java
1266 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1267 (get): Shift bits to the right direction.
1269 * gnu/java/nio/IntViewBufferImpl.java
1270 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1271 (get): Shift bits to the right direction.
1273 * gnu/java/nio/LongViewBufferImpl.java
1274 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1275 (get): Shift bits to the right direction.
1277 * gnu/java/nio/ShortViewBufferImpl.java
1278 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1279 (get): Shift bits to the right direction.
1282 2003-05-13 Michael Koch <konqueror@gmx.de>
1284 * gnu/java/nio/natDirectByteBufferImpl.cc
1285 (allocateImpl): jlong -> RawData*.
1286 (freeImpl): Likewise.
1288 2003-05-13 Michael Koch <konqueror@gmx.de>
1290 * java/nio/channels/FileChannel.java
1291 (MapMode.m): Made it package-private to match JDK 1.4.
1292 * java/nio/charset/Charset.java
1293 (decode): Made it final to match JDK 1.4.
1295 2003-05-13 Michael Koch <konqueror@gmx.de>
1297 * java/io/FileDescriptor.java
1298 (SYNC): New constant.
1300 (getLength): Renamed from lenght() to match classpath's
1301 FileDescriptor.java.
1302 * java/io/RandomAccessFile.java
1303 (RandomAccessFile): Removed unneeded mode check, implemented mode
1304 "rws" and "rwd", merged documentation from classpath.
1305 (setLength): Reformatted.
1306 (length): Use new getLength() of FileDescriptor.
1307 * java/io/natFileDescriptorEcos.cc
1308 (getLength): Renamed from length().
1309 * java/io/natFileDescriptorPosix.cc
1310 (open): Implemented support for SYNC and DSYNC.
1311 (seek): Use getLength() instead of length().
1312 (getLength): Renamed from length().
1313 * java/io/natFileDescriptorWin32.cc
1314 (getLength): Renamed from length().
1315 (seek): Use getLength() instead of length().
1316 (available): Likewise.
1317 * gnu/java/nio/natFileChannelImpl.cc
1318 (size): Use getLength() instead of length().
1320 2003-05-13 Michael Koch <konqueror@gmx.de>
1322 * gnu/java/nio/ByteBufferImpl.java
1323 (ByteBufferImpl): All constructors revised.
1324 (slice): Reimplemented.
1325 (duplicate): Reimplemented.
1326 (asReadOnlyBuffer): Reimplemented.
1327 * java/nio/ByteBuffer.java:
1329 (array_offset): Renamed from "offset" to match all other buffer
1331 (ByteBuffer): All constructors revised.
1332 (allocateDirect): Implemented.
1333 (allocate): New implementation, documentation reworked.
1335 (get): Documentation reworked.
1336 (put): New implementation, documentation reworked.
1337 (hasArray): Documentation reworked.
1338 (arrayOffset): Likewise.
1339 (hashCode): Likewise.
1341 (compareTo): Likewise.
1343 (compact): Likewise.
1344 (isDirect): Likewise.
1346 (duplicate): Likewise.
1347 (asReadOnlyBuffer): Likewise.
1349 (ordinary_java_source_files):
1350 Added gnu/java/nio/DirectByteBufferImpl.java.
1352 Added gnu/java/nio/natDirectByteBufferImpl.cc.
1353 * Makefile.in: Regenerated.
1355 2003-05-12 Michael Koch <konqueror@gmx.de>
1357 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1358 (nio_get_*): Removed.
1359 (nio_put_*): Removed.
1360 (as*Buffer): Implemented.
1361 (compact): Implemented.
1362 (get): Documentation added.
1363 (put): Documentation added.
1364 (get*): Newly implemented.
1365 (put*): Newly implemented.
1366 * gnu/java/nio/CharBufferImpl.java: Reformatted.
1367 (CharBufferImpl): Revised.
1368 (slice): New implementation.
1369 (duplicate): New implementation.
1370 (compact): New implementation.
1371 (asReadOnlyBuffer): New implementation.
1372 (get): Documentation revised.
1373 (order): Return native byte order.
1374 * gnu/java/nio/DirectByteBufferImpl.java
1375 (allocateDirect): objects can be null not 0.
1376 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1377 (DoubleBufferImpl): Revised.
1378 (slice): New implementation.
1379 (duplicate): New implementation.
1380 (compact): New implementation.
1381 (asReadOnlyBuffer): New implementation.
1382 (get): Documentation revised.
1383 (order): Return native byte order.
1384 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1385 (FloatBufferImpl): Revised.
1386 (slice): New implementation.
1387 (duplicate): New implementation.
1388 (compact): New implementation.
1389 (asReadOnlyBuffer): New implementation.
1390 (get): Documentation revised.
1391 (order): Return native byte order.
1392 * gnu/java/nio/IntBufferImpl.java: Reformatted.
1393 (IntBufferImpl): Revised.
1394 (slice): New implementation.
1395 (duplicate): New implementation.
1396 (compact): New implementation.
1397 (asReadOnlyBuffer): New implementation.
1398 (get): Documentation revised.
1399 (order): Return native byte order.
1400 * gnu/java/nio/LongBufferImpl.java: Reformatted.
1401 (LongBufferImpl): Revised.
1402 (slice): New implementation.
1403 (duplicate): New implementation.
1404 (compact): New implementation.
1405 (asReadOnlyBuffer): New implementation.
1406 (get): Documentation revised.
1407 (order): Return native byte order.
1408 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1409 (ShortBufferImpl): Revised.
1410 (slice): New implementation.
1411 (duplicate): New implementation.
1412 (compact): New implementation.
1413 (asReadOnlyBuffer): New implementation.
1414 (get): Documentation revised.
1415 (order): Return native byte order.
1416 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1417 (CharBuffer): Revised.
1419 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1420 (DoubleBuffer): Revised.
1421 (allocateDirect): Removed.
1423 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1424 (FloatBuffer): Revised.
1425 (allocateDirect): Removed.
1427 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1428 (IntBuffer): Revised.
1429 (allocateDirect): Removed.
1431 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1432 (LongBuffer): Revised.
1433 (allocateDirect): Removed.
1435 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1436 (ShortBuffer): Revised.
1437 (allocateDirect): Removed.
1439 * gnu/java/nio/natByteBufferImpl.cc: Removed.
1440 * gnu/java/nio/natCharBufferImpl.cc: Removed.
1442 (ordinary_java_source_files): Added the following files:
1443 gnu/java/nio/CharViewBufferImpl.java,
1444 gnu/java/nio/DoubleViewBufferImpl.java,
1445 gnu/java/nio/FloatViewBufferImpl.java,
1446 gnu/java/nio/IntViewBufferImpl.java,
1447 gnu/java/nio/LongViewBufferImpl.java,
1448 gnu/java/nio/ShortViewBufferImpl.java
1449 (nat_source_files): Removed the following files:
1450 gnu/java/nio/natByteBufferImpl.cc,
1451 gnu/java/nio/natCharBufferImpl.cc
1452 * Makefile.in: Regenerated.
1454 2003-05-12 Michael Koch <konqueror@gmx.de>
1456 * gnu/java/nio/CharViewBufferImpl.java,
1457 gnu/java/nio/DirectByteBufferImpl.java,
1458 gnu/java/nio/DoubleViewBufferImpl.java,
1459 gnu/java/nio/FloatViewBufferImpl.java,
1460 gnu/java/nio/IntViewBufferImpl.java,
1461 gnu/java/nio/LongViewBufferImpl.java,
1462 gnu/java/nio/ShortViewBufferImpl.java,
1463 gnu/java/nio/natDirectByteBufferImpl.cc:
1464 New files, not yet to be compiled.
1466 2003-05-10 Michael Koch <konqueror@gmx.de>
1468 * javax/swing/plaf/ButtonUI.java,
1469 javax/swing/plaf/ColorUIResource.java,
1470 javax/swing/plaf/ComponentUI.java,
1471 javax/swing/plaf/DimensionUIResource.java,
1472 javax/swing/plaf/FontUIResource.java,
1473 javax/swing/plaf/IconUIResource.java,
1474 javax/swing/plaf/InsetsUIResource.java,
1475 javax/swing/plaf/LabelUI.java,
1476 javax/swing/plaf/ListUI.java,
1477 javax/swing/plaf/OptionPaneUI.java,
1478 javax/swing/plaf/PanelUI.java,
1479 javax/swing/plaf/TabbedPaneUI.java,
1480 javax/swing/plaf/TextUI.java,
1481 javax/swing/plaf/TreeUI.java,
1482 javax/swing/plaf/ViewportUI.java,
1483 javax/swing/plaf/basic/BasicBorders.java,
1484 javax/swing/plaf/basic/BasicButtonUI.java,
1485 javax/swing/plaf/basic/BasicCheckBoxUI.java,
1486 javax/swing/plaf/basic/BasicDefaults.java,
1487 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1488 javax/swing/plaf/basic/BasicIconFactory.java,
1489 javax/swing/plaf/basic/BasicLabelUI.java,
1490 javax/swing/plaf/basic/BasicListUI.java,
1491 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1492 javax/swing/plaf/basic/BasicPanelUI.java,
1493 javax/swing/plaf/basic/BasicRadioButtonUI.java,
1494 javax/swing/plaf/basic/BasicScrollPaneUI.java,
1495 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1496 javax/swing/plaf/basic/BasicTextUI.java,
1497 javax/swing/plaf/basic/BasicToggleButtonUI.java,
1498 javax/swing/plaf/basic/BasicTreeUI.java,
1499 javax/swing/plaf/basic/BasicViewportUI.java,
1500 javax/swing/plaf/metal/MetalLookAndFeel.java:
1501 New versions from classpath. This adds copyrights to all files and
1502 some serialVersionUIDs.
1504 2003-05-10 Michael Koch <konqueror@gmx.de>
1506 * java/nio/CharBuffer.java
1507 (offset): Make it package-private.
1508 (backing_buffer): Likewise.
1509 * java/nio/DoubleBuffer.java
1510 (offset): Make it package-private.
1511 (backing_buffer): Likewise.
1513 * java/nio/FloatBuffer.java
1514 (offset): Make it package-private.
1515 (backing_buffer): Likewise.
1516 * java/nio/IntBuffer.java
1517 (offset): Make it package-private.
1518 (backing_buffer): Likewise.
1519 * java/nio/LongBuffer.java
1520 (offset): Make it package-private.
1521 (backing_buffer): Likewise.
1522 * java/nio/ShortBuffer.java
1523 (offset): Make it package-private.
1524 (backing_buffer): Likewise.
1526 2003-05-10 Michael Koch <konqueror@gmx.de>
1528 * java/nio/CharBuffer.java
1529 (put): Fixed precondtion check.
1530 (toString): Make it work without backing array.
1531 (put): Skip one level of method calling.
1533 2003-05-10 Michael Koch <konqueror@gmx.de>
1535 * java/security/Identity.java,
1536 java/security/IdentityScope.java,
1537 java/security/Key.java,
1538 java/security/KeyPair.java,
1539 java/security/PrivateKey.java,
1540 java/security/Provider.java,
1541 java/security/PublicKey.java,
1542 java/security/SecureRandom.java,
1543 java/security/SecureRandomSpi.java,
1544 java/security/SignedObject.java,
1545 java/security/Signer.java,
1546 java/security/cert/Certificate.java,
1547 java/security/cert/PKIXCertPathBuilderResult.java,
1548 java/security/cert/X509Certificate.java:
1549 New versions from classpath.
1551 2003-05-09 Tom Tromey <tromey@redhat.com>
1553 * Makefile.in: Rebuilt.
1554 * Makefile.am (nat_source_files): Removed old files.
1555 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1556 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1557 * gnu/java/nio/natIntBufferImpl.cc: Removed.
1558 * gnu/java/nio/natLongBufferImpl.cc: Removed.
1559 * gnu/java/nio/natShortBufferImpl.cc: Removed.
1561 2003-05-09 Michael Koch <konqueror@gmx.de>
1563 * gnu/java/nio/ByteBufferImpl.java
1564 (nio_cast): Removed.
1565 (ByteBufferImpl): Removed.
1566 (nio_get_Byte): Removed.
1567 (nio_put_Byte): Removed.
1568 (asByteBuffer): Removed.
1569 (asCharBuffer): Removed implementation and throw exception.
1570 (asShortBuffer): Likewise.
1571 (asIntBuffer): Likewise.
1572 (asLongBuffer): Likewise.
1573 (asFloatBuffer): Likewise.
1574 (asDoubleBuffer): Likewise.
1575 * gnu/java/nio/CharBufferImpl.java
1576 (CharBufferImpl): Removed.
1577 (nio_get_Byte): Removed.
1578 (nio_put_Byte): Removed.
1579 (asByteBuffer): Removed.
1580 * gnu/java/nio/DoubleBufferImpl.java
1581 (DoubleBufferImpl): Removed.
1582 (nio_get_Byte): Removed.
1583 (nio_put_Byte): Removed.
1584 (asByteBuffer): Removed.
1585 * gnu/java/nio/FloatBufferImpl.java
1586 (FloatBufferImpl): Removed.
1587 (nio_get_Byte): Removed.
1588 (nio_put_Byte): Removed.
1589 (asByteBuffer): Removed.
1590 * gnu/java/nio/IntBufferImpl.java
1591 (IntBufferImpl): Removed.
1592 (nio_get_Byte): Removed.
1593 (nio_put_Byte): Removed.
1594 (asByteBuffer): Removed.
1595 * gnu/java/nio/LongBufferImpl.java
1596 (LongBufferImpl): Removed.
1597 (nio_get_Byte): Removed.
1598 (nio_put_Byte): Removed.
1599 (asByteBuffer): Removed.
1600 * gnu/java/nio/ShortBufferImpl.java
1601 (ShortBufferImpl): Removed.
1602 (nio_get_Byte): Removed.
1603 (nio_put_Byte): Removed.
1604 (asByteBuffer): Removed.
1605 * gnu/java/nio/natByteBufferImpl.cc
1606 (nio_cast): Removed.
1607 (nio_get_Byte): Removed.
1608 (nio_put_Byte): Removed.
1609 * gnu/java/nio/natCharBufferImpl.cc
1610 (nio_get_Byte): Removed.
1611 (nio_put_Byte): Removed.
1613 2003-05-09 Michael Koch <konqueror@gmx.de>
1615 * java/net/JarURLConnection.java
1616 (getJarEntry): Merged documentation from classpath.
1617 (getJarFile): Likewise.
1618 (getMainAttributes): Likewise.
1619 (getAttributes): Likewise.
1620 (getManifest): Likewise.
1621 (getCertificates): Reformatted.
1622 * java/net/URLConnection.java:
1623 Little classpath merge.
1625 2003-05-09 Michael Koch <konqueror@gmx.de>
1627 * java/io/DataOutputStream.java
1628 (writeShort): Made it synchronized.
1629 (writeChar): Likewise.
1630 (writeInt): Likewise.
1631 (writeLong): Liekwise.
1632 (writeUTF): Made it synchronized, renamed argument to match classpath.
1633 * java/io/InputStreamReader.java
1634 (converter): Added documentation.
1635 (read): Merged documentation from classpath.
1636 * java/io/OutputStreamWriter.java
1637 (OutputStreamWriter): Merged documentation from classpath.
1638 (close): Reformatted.
1639 (getEncoding): Likewise.
1641 (write): Merged documentation from classpath, reformatted.
1643 2003-05-08 Tom Tromey <tromey@redhat.com>
1645 * configure.host <powerpc64*-*>: Set with_libffi_default and
1646 libgcj_interpreter to "yes".
1648 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
1650 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1652 2003-05-06 Tom Tromey <tromey@redhat.com>
1654 * verify.cc: Reverted previous patch.
1656 2003-05-06 Michael Koch <konqueror@gmx.de>
1658 * java/io/DataOutputStream.java
1659 (write): Renamed argument to "value", merged documentation from
1661 (writeBoolean): Likewise.
1662 (writeByte): Likewise.
1663 (writeShort): Likewise.
1664 (writeChar): Likewise.
1665 (writeInt): Likewise.
1666 (writeLong): Likewise.
1667 (writeFloat): Likewise.
1668 (writeDouble): Likewise.
1669 (writeBytes): Likewise.
1670 (writeChars): Likewise.
1671 (writeUTF): Likewise.
1673 (performDelete): Added documentation.
1674 (performList): Likewise.
1675 (performMkdir): Likewise.
1676 (performSetReadOnly): Likewise.
1677 (performRenameTo): Likewise.
1678 (performSetLastModified): Likewise.
1679 (delete): Made it sychronized.
1680 (renameTo): Made it sychronized.
1681 (equals): Reformatted.
1682 (isHidden): Likewise.
1683 (listFiles): Likewise.
1684 (setReadOnly): Likewise.
1685 (listRoots): Likewise.
1686 (setLastModified): Likewise.
1687 (checkRead): Likewise.
1688 (checkWrite): Likewise.
1689 * java/io/FileInputStream.java
1690 (skip): Made it sychronized, merged from classpath.
1691 * java/io/FileOutputStream.java
1692 (write): Merged from classpath.
1693 * java/io/InputStreamReader.java:
1694 (InputStreamReader): Merged documentation from classpath.
1696 2003-05-05 Michael Koch <konqueror@gmx.de>
1698 * java/net/NetworkInterface.java
1699 (networkInterfaces): Removed.
1700 (getByName): Use getRealNetworkInterfaces() instead of
1702 (getByInetAddress): Likewise.
1703 (getNetworkInterfaces): Likewise.
1704 (toString): Fix output of addresses of an interface.
1706 2003-05-05 Michael Koch <konqueror@gmx.de>
1708 * java/io/DataInputStream.java:
1709 Merged new documentation from classpath.
1711 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
1713 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1715 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1716 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1717 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1718 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1719 * gnu/awt/gtk/GtkMainThread.java: Likewise.
1720 * gnu/awt/gtk/GtkToolkit.java: Likewise.
1721 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1722 * java/security/Key.java: Likewise.
1723 * java/security/PrivateKey.java: Likewise.
1724 * java/security/Provider.java: Likewise.
1725 * java/security/PublicKey.java: Likewise.
1727 2003-05-02 Michael Koch <konqueror@gmx.de>
1730 (create): Doesnt throws any exceptions.
1731 * java/net/URLConnection.java
1732 (URLConnection): Commend added.
1733 (getExpiration): The header field is called "expires" not
1735 (getHeaderField): Merged documentation with classpath.
1736 (getHeaderFieldInt): Likewise.
1737 (getHeaderFieldDate): Likewise.
1738 (getHeaderFieldKey): Likewise.
1739 (getPermission): Likewise.
1740 (setDefaultUseCaches): Likewise.
1741 (setRequestProperty): Likewise.
1742 (addRequestProperty): Likewise.
1743 (getRequestProperty): Likewise.
1744 (getRequestProperties): Likewise.
1745 (setDefaultRequestProperty): Likewise.
1746 (getDefaultRequestProperty): Likewise.
1747 (guessContentTypeFromStream): Likewise.
1748 (getFileNameMap): Likewise.
1749 (setFileNameMap): Likewise.
1750 (setDoInput): Merged implementation and documentation with classpath.
1751 (setDoOutput): Likewise.
1752 (setAllowUserInteraction): Likewise.
1753 (setDefaultAllowUserInteraction): Likewise.
1754 (setContentHandlerFactory): Made it synchronized, merged documentation
1756 (guessContentTypeFromName): Renamed argument fname to filename to
1757 match classpath, merged documentation with classpath.
1759 2003-05-02 Michael Koch <konqueror@gmx.de>
1761 * java/net/JarURLConnection.java
1762 (JarURLConnection): Class documentation merged with classpath.
1763 (getJarFileURL): Moved and documentation merged with classpath.
1764 (getEntryName): Likewise.
1765 (JarURLConnection): Documentation merged with classpath.
1766 (getJarEntry): Likewise.
1767 (getJarFile): Likewise.
1768 * java/net/PlainDatagramSocketImpl.java:
1769 Class documentation moved.
1770 * java/net/URLConnection.java
1771 (fileNameMap): Moved and documentation merged with classpath.
1772 (factory): Likewise.
1773 (defaultAllowUserInteraction): Likewis.
1774 (defaultUseCaches): Likewise.
1775 (allowUserInteraction): Likewise.
1776 (connected): Likewise.
1778 (connect): Documentation merged with classpath.
1780 (getContentLength): Likewise.
1781 (getContentType): Likewise.
1782 (getContentEncoding): Likewise.
1783 (getExpiration): Likewise.
1784 (getDate): Likewise.
1785 (getLastModified): Likewise.
1786 (getHeaderField): Likewise.
1787 (getContent): Likewise.
1788 (getPermission): Likewise.
1789 (getInputStream): Likewise.
1790 (getOutputStream): Likewise.
1791 (toString): Likewise.
1792 (getDoInput): Likewise.
1793 (getDoOutput): Likewise.
1794 (setAllowUserInteraction): Likewise.
1795 (getAllowUserInteraction): Likewise.
1796 (setDefaultAllowUserInteraction): Likewise.
1797 (getDefaultAllowUserInteraction): Likewise.
1798 (setUseCaches): Likewise.
1799 (getUseCaches): Likewise.
1800 (setIfModifiedSince): Likewise.
1801 (getIfModifiedSince): Likewise.
1802 (setDefaultRequestProperty): Likewise.
1803 (getDefaultRequestProperty): Likewise.
1804 (setContentHandlerFactory): Likewise.
1805 (setFileNameMap): Likewise.
1807 2003-05-02 Michael Koch <konqueror@gmx.de>
1809 * java/net/InetAddress.java:
1810 Merged class documentation with classpath.
1811 * java/net/JarURLConnection.java:
1812 Explicitely import all used classes.
1813 * java/net/URL.java:
1815 * java/net/ServerSocket.java,
1816 java/net/Socket.java:
1817 New versions from classpath.
1819 2003-05-02 Michael Koch <konqueror@gmx.de>
1821 * gnu/java/nio/FileChannelImpl.java
1822 (read): New implementation.
1823 (implRead): New methods.
1824 (write): New implementation, call other write insteal of read method.
1825 (implWrite): New methods.
1826 (map): Added comment.
1827 (transferFrom): Implemented.
1828 (transferTo): Implemented.
1829 (lock): Added checks to throw exceptions.
1830 (truncate): Added check to throw exception.
1831 * gnu/java/nio/natFileChannelImpl.cc
1832 (implRead): New method.
1833 (implWrite): New method.
1834 * java/nio/ByteBuffer.java
1835 (hashCode): Fixed comment.
1836 (get): Fixed exception documentation.
1837 (put): Fixed exception documentation.
1838 * java/nio/CharBuffer.java:
1839 Added comment for later optimizations.
1841 2003-04-30 Tom Tromey <tromey@redhat.com>
1844 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1846 (type::compatible): Use _Jv_IsAssignableFrom.
1847 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1848 (_Jv_IsAssignableFrom): Work even when source or target class is
1851 2003-04-30 Michael Koch <konqueror@gmx.de>
1853 * java/text/BreakIterator.java
1854 (clone): New method.
1856 2003-04-30 Michael Koch <konqueror@gmx.de>
1858 * java/text/CollationElementIterator.java,
1859 java/text/CollationKey.java,
1860 java/text/RuleBasedCollator.java:
1861 Merged copyright and documentation from classpath and
1862 rearranged some code. No code changes done.
1864 2003-04-30 Michael Koch <konqueror@gmx.de>
1866 * java/util/regex/Matcher.java
1867 (pattern): New member variable.
1868 (appendReplacement): New method.
1869 (appendTail): New method.
1872 (group): New method.
1873 (replaceFirst): Added documentation.
1874 (replaceAll): Added documentation.
1875 (groupCount): New method.
1876 (lookingAt): New method.
1877 (matches): New method.
1878 (reset): New method.
1879 (start): New method.
1880 * java/util/regex/Pattern.java
1881 (serialVersionUID): New constant.
1882 (CANON_EQ): New constant.
1883 (CASE_INSENSITIVE): New constant.
1884 (COMMENTS): New constant.
1885 (DOTALL): New constant.
1886 (MULTILINE): New constant.
1887 (UNICODE_CASE): New constant.
1888 (UNIX_LINES): New constant.
1889 (regex): New member variable.
1890 (flags): New member variable.
1891 (Pattern): New method.
1892 (compile): Documentation added.
1893 (flags): New method.
1894 (matches): Documentation added.
1895 (matcher): Documentation added.
1896 (split): Documentation added.
1897 (pattern): New method.
1899 2003-04-30 Michael Koch <konqueror@gmx.de>
1901 * gnu/java/security/Engine.java,
1902 gnu/java/security/OID.java,
1903 gnu/java/security/der/BitString.java,
1904 gnu/java/security/der/DER.java,
1905 gnu/java/security/der/DERReader.java,
1906 gnu/java/security/der/DERValue.java,
1907 gnu/java/security/der/DERWriter.java,
1908 gnu/java/security/provider/DSAKeyFactory.java,
1909 gnu/java/security/provider/X509CertificateFactory.java,
1910 gnu/java/security/x509/X500DistinguishedName.java,
1911 gnu/java/security/x509/X509CRL.java,
1912 gnu/java/security/x509/X509CRLEntry.java,
1913 gnu/java/security/x509/X509Certificate.java,
1914 java/security/cert/CRLSelector.java,
1915 java/security/cert/CertPathBuilder.java,
1916 java/security/cert/CertPathBuilderResult.java,
1917 java/security/cert/CertPathBuilderSpi.java,
1918 java/security/cert/CertPathParameters.java,
1919 java/security/cert/CertPathValidator.java,
1920 java/security/cert/CertPathValidatorResult.java,
1921 java/security/cert/CertPathValidatorSpi.java,
1922 java/security/cert/CertSelector.java,
1923 java/security/cert/CertStore.java,
1924 java/security/cert/CertStoreParameters.java,
1925 java/security/cert/CertStoreSpi.java,
1926 java/security/cert/CollectionCertStoreParameters.java,
1927 java/security/cert/LDAPCertStoreParameters.java,
1928 java/security/cert/PKIXBuilderParameters.java,
1929 java/security/cert/PKIXCertPathBuilderResult.java,
1930 java/security/cert/PKIXCertPathChecker.java,
1931 java/security/cert/PKIXCertPathValidatorResult.java,
1932 java/security/cert/PKIXParameters.java,
1933 java/security/cert/PolicyNode.java,
1934 java/security/cert/PolicyQualifierInfo.java,
1935 java/security/cert/TrustAnchor.java,
1936 javax/security/auth/x500/X500Principal.java:
1937 New files from classpath.
1938 * gnu/java/io/ASN1ParsingException.java,
1939 gnu/java/io/Base64InputStream.java,
1940 gnu/java/security/der/DEREncodingException.java,
1941 gnu/java/security/provider/DSAParameters.java,
1942 gnu/java/security/provider/DSASignature.java,
1943 gnu/java/security/provider/Gnu.java,
1944 gnu/java/security/provider/GnuDSAPrivateKey.java,
1945 gnu/java/security/provider/GnuDSAPublicKey.java,
1946 java/security/AlgorithmParameterGenerator.java,
1947 java/security/AlgorithmParameters.java,
1948 java/security/KeyFactory.java,
1949 java/security/KeyPairGenerator.java,
1950 java/security/KeyStore.java,
1951 java/security/MessageDigest.java,
1952 java/security/SecureClassLoader.java,
1953 java/security/SecureRandom.java,
1954 java/security/Security.java,
1955 java/security/Signature.java,
1956 java/security/cert/Certificate.java,
1957 java/security/cert/CertificateFactory.java,
1958 java/security/cert/CertificateFactorySpi.java,
1959 java/security/cert/X509CRL.java,
1960 java/security/cert/X509Certificate.java,
1961 java/security/spec/DSAPublicKeySpec.java:
1962 New versions from classpath.
1963 * gnu/java/security/provider/DERReader.java,
1964 gnu/java/security/provider/DERWriter.java,
1965 java/security/Engine.java: Removed.
1967 (java_source_files, javax_source_files): Added new files.
1968 * Makefile.in: Regenerated.
1970 2003-04-29 Michael Koch <konqueror@gmx.de>
1972 * javax/swing/JTable.java
1973 (AUTO_RESIZE_ALL_COLUMNS): New constant.
1974 (AUTO_RESIZE_LAST_COLUMN): New constant.
1975 (AUTO_RESIZE_NEXT_COLUMN): New constant.
1976 (AUTO_RESIZE_OFF): New constant.
1977 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1978 (JTable): New method.
1979 (columnAdded): New method.
1980 (columnMarginChanged): New method.
1981 (columnMoved): New method.
1982 (columnRemoved): New method.
1983 (columnSelectionChanged): New method.
1984 (editingCanceled): New method.
1985 (editingStopped): New method.
1986 (getColumnModel): New method.
1987 (getPreferredScrollableViewportSize): New method.
1988 (getScrollableBlockIncrement): New method.
1989 (getScrollableTracksViewportHeight): New method.
1990 (getScrollableTracksViewportWidth): New method.
1991 (getScrollableUnitIncrement): New method.
1992 (getSelectedRow): New method.
1993 (getSelectionModel): New method.
1994 (tableChanged): New method.
1995 (setModel): New method.
1996 (setSelectionMode): New method.
1997 (setSelectionModel): New method.
1998 (setShowGrid): New method.
1999 (valueChanged): New method.
2000 * javax/swing/text/DefaultEditorKit.java
2001 (backwardAction): New constant.
2002 (beepAction): New constant.
2003 (beginAction): New constant.
2004 (beginLineAction): New constant.
2005 (beginParagraphAction): New constant.
2006 (beginWordAction): New constant.
2007 (copyAction): New constant.
2008 (cutAction): New constant.
2009 (defaultKeyTypedAction): New constant.
2010 (deleteNextCharAction): New constant.
2011 (deletePrevCharAction): New constant.
2012 (downAction): New constant.
2013 (endAction): New constant.
2014 (endLineAction): New constant.
2015 (endOfLineStringProperty): New constant.
2016 (endParagraphAction): New constant.
2017 (endWordAction): New constant.
2018 (forwardAction): New constant.
2019 (insertBreakAction): New constant.
2020 (insertContentAction): New constant.
2021 (insertTabAction): New constant.
2022 (nextWordAction): New constant.
2023 (pageDownAction): New constant.
2024 (pageUpAction): New constant.
2025 (pasteAction): New constant.
2026 (previousWordAction): New constant.
2027 (readOnlyAction): New constant.
2028 (selectAllAction): New constant.
2029 (selectionBackwardAction): New constant.
2030 (selectionBeginAction): New constant.
2031 (selectionBeginLineAction): New constant.
2032 (selectionBeginParagraphAction): New constant.
2033 (selectionBeginWordAction): New constant.
2034 (selectionDownAction): New constant.
2035 (selectionEndAction): New constant.
2036 (selectionEndLineAction): New constant.
2037 (selectionEndParagraphAction): New constant.
2038 (selectionEndWordAction): New constant.
2039 (selectionForwardAction): New constant.
2040 (selectionNextWordAction): New constant.
2041 (selectionPreviousWordAction): New constant.
2042 (selectionUpAction): New constant.
2043 (selectLineAction): New constant.
2044 (selectParagraphAction): New constant.
2045 (selectWordAction): New constant.
2046 (upAction): New constant.
2047 (writableAction): New constant.
2049 2003-04-29 Michael Koch <konqueror@gmx.de>
2051 * java/util/PropertyPermission.java:
2052 New version from classpath
2053 * java/util/ResourceBundle.java:
2054 Partly merged from classpath
2055 (getObject): Reformated.
2056 (tryBundle): Set foundBundle = null if no bundle found.
2058 2003-04-29 Michael Koch <konqueror@gmx.de>
2060 * javax/swing/AbstractListModel.java,
2061 javax/swing/DefaultBoundedRangeModel.java,
2062 javax/swing/DefaultSingleSelectionModel.java:
2063 New Versions from classpath.
2065 2003-04-29 Michael Koch <konqueror@gmx.de>
2067 * java/awt/Window.java
2068 (show): Call super.show() instead of setVisible() to avoid endless
2070 (hide): Call super.hide() instead of setVisible() to avoid endless
2073 2003-04-29 Michael Koch <konqueror@gmx.de>
2075 * java/util/zip/Deflater.java,
2076 java/util/zip/DeflaterOutputStream.java:
2077 Partly merged with classpath.
2079 2003-04-27 Tom Tromey <tromey@redhat.com>
2081 * java/lang/natString.cc (_Jv_AllocString): Initialize
2084 (_Jv_NewStringUtf8Const): Likewise.
2086 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2088 * include/jvm.h: (_Jv_GetNbArgs) added
2089 (_Jv_GetSafeArg) added
2091 * prims.cc: (_Jv_GetNbArgs) implemented
2092 (_Jv_GetSafeArg) implemented
2093 (_Jv_SetArgs) implemented
2094 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2095 setting _Jv_argc and _Jv_argv
2096 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2098 * java/lang/natRuntime.cc: (insertSystemProperties) use
2099 _Jv_GetSafeArg() instead of _Jv_argv
2101 2003-04-23 Tom Tromey <tromey@redhat.com>
2103 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2104 required by this object. Search superclasses to find required
2106 (get_alignment_from_class): Use alignment of type as it appears
2108 (ALIGNOF): New macro.
2109 (struct aligner): New helper structure.
2111 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2113 * java/awt/Container.java (addImpl): Enable paint events if adding
2114 a lightweight to a heavyweight.
2115 (addNotify): Ensure that peer is created before
2116 addNotifyContainerChildren.
2117 (addNotifyContainerChildren): Enable paint events if a heavyweight
2118 container contains a lightweight.
2120 2003-04-20 Tom Tromey <tromey@redhat.com>
2122 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2123 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2126 2003-04-19 Tom Tromey <tromey@redhat.com>
2128 * java/sql/Date.java, java/sql/DriverManager.java,
2129 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2132 * Makefile.in: Rebuilt.
2133 * Makefile.am (ordinary_java_source_files): Added new files.
2134 * java/security/AlgorithmParameterGenerator.java,
2135 java/security/AlgorithmParameters.java, java/security/Engine.java,
2136 java/security/Identity.java, java/security/IdentityScope.java,
2137 java/security/KeyFactory.java,
2138 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2139 java/security/MessageDigest.java, java/security/Policy.java,
2140 java/security/ProtectionDomain.java,
2141 java/security/SecureRandom.java, java/security/Security.java,
2142 java/security/Signature.java, java/security/SignatureSpi.java,
2143 java/security/SignedObject.java, java/security/Signer.java,
2144 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2145 java/security/spec/PSSParameterSpec.java,
2146 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2147 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2150 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2152 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2153 (dispose): Null metrics.
2154 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2155 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2157 (finalize): Call dispose.
2158 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2159 (gcCachedCount): New field.
2160 (finalize): New method.
2161 (putGCInCache): New method.
2162 (getGCFromCache): New method.
2163 * gnu/gcj/xlib/GC.java (GC): Make protected.
2164 (clone): Get new GC from cache if possible.
2165 (create): New static method.
2166 (dispose): Save old GC in cache.
2167 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2169 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2171 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2172 * java/awt/Container.java (visitChild): Dispose gfx2 when
2175 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2177 * java/math/BigInteger.java (probablePrime): New.
2178 * java/math/BigDecimal.java (unscaledValue): New.
2180 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2182 * java/io/File.java (getAbsolutePath): On Windows, take care
2183 of paths like "C:", "G:foo\bar", etc.
2184 (getName): Make it work correctly on Windows.
2185 (getParent): Make it work correctly on Windows. For UNIX,
2186 fix bug that causes "/" to be returned as the parent of "/",
2187 instead of null as returned by Sun's JRE.
2189 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2191 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2193 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2195 (CACHE_SIZE_PER_DISPLAY): New field
2196 (fontMetricsCache): New field
2197 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2198 loading ISO10646-1 fonts.
2200 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2202 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2204 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2207 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2209 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2212 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2214 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2215 installed libpthread is either linuxthreads with floating stacks or
2218 2003-04-14 Tom Tromey <tromey@redhat.com>
2220 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2223 2003-04-10 Tom Tromey <tromey@redhat.com>
2225 * verify.cc (pop64): Removed.
2226 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2227 exception if top-of-stack is narrow.
2228 (initialize_stack): Check to ensure that <init> is not static and
2231 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2233 * java/io/ObjectStreamException
2234 * java/io/FileFilter
2235 * java/io/FilenameFilter
2236 * java/io/ObjectInput
2237 * java/io/ObjectOutput
2238 * java/io/ObjectStreamConstants
2239 Minor doc fixes, format fixes, spelling corrections, etc.
2241 Corrected code samples in Javadocs to match reality
2242 * java/io/DataOutput
2243 * java/io/ObjectInputValidation
2244 Major documentation fixes - all Javadocs re-written or updated
2246 2003-04-06 Michael Koch <konqueror@gmx.de>
2248 * java/net/URLConnection.java:
2249 Import classes directly.
2250 (URLConnection): Merged class documentation with classpath.
2251 (url): Moved, documentation from classpath added.
2252 (doInput): Moved, documentation from classpath added.
2253 (doOutput): Moved, documentation from classpath added.
2254 (allowUserInteraction): Moved.
2255 (useCaches): Moved, documentation from classpath added.
2256 (ifModifiedSince): Moved, documentation from classpath added.
2257 (connected): Moved, documentation from classpath added.
2259 2003-04-06 Michael Koch <konqueror@gmx.de>
2261 * java/io/FileInputStream.java
2262 (skip): Renamed some variables to match classpath, added
2263 checks from classpath.
2265 2003-03-31 Michael Koch <konqueror@gmx.de>
2267 * javax/swing/AbstractAction.java
2268 (AbstractAction): Reformatted.
2269 (serialVersionUID): New private member variable.
2270 * javax/swing/plaf/BorderUIResource.java
2271 (serialVersionUID): New private member variable.
2272 * javax/swing/plaf/basic/BasicLookAndFeel.java
2273 (serialVersionUID): New private member variable.
2275 2003-03-31 Michael Koch <konqueror@gmx.de>
2277 * java/sql/Date.java
2278 (valueOf): Deprecated, reformatted.
2279 (toString): Deprecated, reformatted.
2280 * java/sql/Time.java
2281 (valueOf): Deprecated, reformatted.
2282 (toString): Deprecated, reformatted.
2284 2003-03-31 Michael Koch <konqueror@gmx.de>
2286 * java/rmi/dgc/VMID.java
2287 (isUnique): Deprecated.
2289 2003-03-31 Michael Koch <konqueror@gmx.de>
2292 (separator): Merged documentation from classpath.
2293 (separatorChar): Merged documentation from classpath.
2294 (pathSeparator): Merged documentation from classpath.
2295 (pathSeparatorChar): Merged documentation from classpath.
2296 (path): Merged documentation from classpath.
2297 (canRead): Merged documentation from classpath.
2298 (canWrite): Merged documentation from classpath.
2299 (createNewFile): Merged documentation from classpath.
2300 (delete): Merged documentation from classpath.
2301 (equals): Merged documentation from classpath.
2302 (exists): Merged documentation from classpath.
2303 (File): Renamed p to name to match classpath, merged documentation
2305 (getAbsolutePath): Merged documentation from classpath.
2306 (getCanonicalPath): Merged documentation from classpath.
2307 (getCanonicalFile): Merged documentation from classpath.
2308 (getName): Merged documentation from classpath.
2309 (getParent): Merged documentation from classpath.
2310 (getParentFile): Merged documentation from classpath.
2311 (getPath): Merged documentation from classpath.
2312 (hashCode): Merged documentation from classpath.
2313 (isAbsolute): Merged documentation from classpath.
2314 (isDirectory): Merged documentation from classpath.
2315 (isFile): Merged documentation from classpath.
2316 (isHidden): Merged documentation from classpath.
2317 (lastModified): Merged documentation from classpath.
2318 (length): Merged documentation from classpath.
2319 (list): Merged documentation from classpath.
2320 (listFiles): Merged documentation from classpath.
2321 (toString): Merged documentation from classpath.
2322 (toURL): Merged documentation from classpath.
2323 (mkdir): Merged documentation from classpath.
2324 (mkdirs): Merged documentation from classpath.
2325 (createTempFile): Merged documentation from classpath.
2326 (setReadOnly): Merged documentation from classpath.
2327 (listRoots): Merged documentation from classpath.
2328 (compareTo): Merged documentation from classpath.
2329 (renameTo): Merged documentation from classpath.
2330 (setLastModified): Merged documentation from classpath.
2331 * java/io/PrintStream.java
2332 (auto_flush): Merged documentation from classpath.
2333 (PrintStream): Merged documentation from classpath.
2334 (checkError): Merged documentation from classpath.
2335 (setError): Merged documentation from classpath.
2336 (close): Merged documentation from classpath.
2337 (flush): Merged documentation from classpath.
2338 (print): Merged documentation from classpath.
2339 (println): Merged documentation from classpath.
2340 (write): Renamed count to len to match classpath,
2341 merged documentation from classpath.
2342 * java/io/RandomAccessFile.java
2343 (readShort): Merged documentation from classpath.
2344 (readUnsignedByte): Merged documentation from classpath.
2345 (readUnsignedShort): Merged documentation from classpath.
2346 (readUTF): Merged documentation from classpath.
2347 (seek): Reformatted, merged documentation from classpath.
2348 (skipBytes): Renamed some variables to match classpath, reformatted,
2349 merged documentation from classpath.
2350 (write): Merged documentation from classpath.
2351 (writeBoolean): Merged documentation from classpath.
2352 (writeByte): Merged documentation from classpath.
2353 (writeShort): Merged documentation from classpath.
2354 (writeChar): Merged documentation from classpath.
2355 (writeInt): Merged documentation from classpath.
2356 (writeLong): Merged documentation from classpath.
2357 (writeFloat): Merged documentation from classpath.
2358 (writeDouble): Merged documentation from classpath.
2359 (writeBytes): Merged documentation from classpath.
2360 (writeChars): Merged documentation from classpath.
2361 (writeUTF): Reformatted.
2362 (getChannel): Reformatted.
2364 2003-03-31 Michael Koch <konqueror@gmx.de>
2366 * java/awt/font/TextAttribute.java
2367 (readResolve): Throws java.io.InvalidObjectException.
2369 2003-03-31 Michael Koch <konqueror@gmx.de>
2371 * java/rmi/server/LoaderHandler.java
2372 (loadClass): Deprecated.
2373 (getSecurityContext): Deprecated.
2374 * java/rmi/server/LogStream.java
2375 (getDefaultStream): Deprecated.
2376 (setDefaultStream): Deprecated.
2377 (getOutputStream): Deprecated.
2378 (setOutputStream): Deprecated.
2379 (write): Deprecated.
2380 (toString): Deprecated.
2381 (parseLevel): Deprecated.
2382 * java/rmi/server/Operation.java
2383 (Operation): Deprecated.
2384 (getOperation): Deprecated.
2385 (toString): Deprecated.
2386 * java/rmi/server/RemoteCall.java
2387 (getOutputStream): Deprecated.
2388 (releaseOutputStream): Deprecated.
2389 (getInputStream): Deprecated.
2390 (releaseInputStream): Deprecated.
2391 (getResultStream): Deprecated.
2392 (executeCall): Deprecated.
2394 * java/rmi/server/RemoteRef.java
2395 (invoke): Deprecated.
2396 (newCall): Deprecated.
2398 * java/rmi/server/RemoteStub.java
2399 (setRef): Deprecated.
2400 * java/rmi/server/Skeleton.java:
2401 No need to import java.lang.Exception explicitly.
2402 (dispatch): Deprecated.
2403 (getOperations): Deprecated.
2405 2003-03-31 Michael Koch <konqueror@gmx.de>
2407 * java/rmi/dgc/VMID.java,
2408 java/rmi/registry/RegistryHandler.java,
2409 java/rmi/server/LogStream.java,
2410 java/rmi/server/Operation.java,
2411 java/rmi/server/RemoteCall.java,
2412 java/rmi/server/RemoteRef.java,
2413 java/rmi/server/RemoteStub.java:
2416 2003-03-31 Michael Koch <konqueror@gmx.de>
2418 * javax/swing/AbstractCellEditor.java,
2419 javax/swing/AbstractListModel.java,
2420 javax/swing/ActionMap.java,
2421 javax/swing/BorderFactory.java,
2422 javax/swing/ButtonGroup.java,
2423 javax/swing/DefaultBoundedRangeModel.java,
2424 javax/swing/DefaultButtonModel.java,
2425 javax/swing/DefaultCellEditor.java,
2426 javax/swing/DefaultComboBoxModel.java,
2427 javax/swing/DefaultDesktopManager.java,
2428 javax/swing/DefaultListCellRenderer.java,
2429 javax/swing/DefaultSingleSelectionModel.java,
2430 javax/swing/InputMap.java,
2431 javax/swing/JComponent.java,
2432 javax/swing/JMenu.java,
2433 javax/swing/JSlider.java,
2434 javax/swing/KeyStroke.java,
2435 javax/swing/OverlayLayout.java,
2436 javax/swing/ScrollPaneLayout.java,
2437 javax/swing/SizeRequirements.java,
2438 javax/swing/UIManager.java,
2439 javax/swing/ViewportLayout.java,
2440 javax/swing/border/AbstractBorder.java,
2441 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2442 javax/swing/event/EventListenerList.java,
2443 javax/swing/table/AbstractTableModel.java,
2444 javax/swing/table/DefaultTableCellRenderer.java,
2445 javax/swing/table/DefaultTableColumnModel.java,
2446 javax/swing/table/DefaultTableModel.java,
2447 javax/swing/table/TableColumn.java,
2448 javax/swing/text/StyledEditorKit.java,
2449 javax/swing/tree/DefaultMutableTreeNode.java,
2450 javax/swing/tree/DefaultTreeModel.java,
2451 javax/swing/tree/DefaultTreeSelectionModel.java,
2452 javax/swing/tree/TreePath.java,
2453 javax/swing/undo/AbstractUndoableEdit.java,
2454 javax/swing/undo/StateEdit.java,
2455 javax/swing/undo/StateEditable.java,
2456 javax/swing/undo/UndoableEditSupport.java:
2457 Merges from classpath.
2459 2003-03-30 Tom Tromey <tromey@redhat.com>
2461 * java/lang/String.java (data, boffset, count): Documented.
2462 (String(byte[],String)): Reformatted.
2463 (String(byte[])): Likewise.
2464 (lastIndexOf(int)): Likewise.
2465 (lastIndexOf(String)): Likewise.
2466 (substring(int)): Renamed argument to match Classpath.
2467 (String(StringBuffer)): Don't share buffer if it is nearly empty.
2469 * java/lang/String.java: Miscellaneous minor formatting changes
2470 to match Classpath more closely.
2472 2003-03-29 Eric Blake <ebb9@email.byu.edu>
2473 Tom Tromey <tromey@redhat.com>
2475 * java/lang/natString.cc (hashCode): Use cachedHashCode.
2477 (charAt): Put index in exception.
2478 (contentEquals): New method.
2479 Include StringBuffer.h.
2480 * java/lang/String.java (cachedHashCode): New field.
2481 (String()): Follow classpath implementation.
2483 (contentEquals): Declare.
2484 (subSequence): Don't declare IndexOutIfBoundsException in throws
2486 (matches, replaceFirst, replaceAll, split): New methods from
2489 2003-03-29 Tom Tromey <tromey@redhat.com>
2491 * java/lang/String.java: Reordered to follow Classpath; merged in
2494 * java/text/MessageFormat.java: Removed some whitespace.
2496 * Makefile.in: Rebuilt.
2497 * Makefile.am (awt_java_source_files): Added new files.
2498 * gnu/javax/rmi/PortableServer.java,
2499 gnu/javax/rmi/CORBA/DelegateFactory.java,
2500 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2501 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2502 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2503 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2504 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2505 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2506 javax/rmi/PortableRemoteObject.java,
2507 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2508 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2509 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2510 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2511 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2512 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2514 * java/lang/natClass.cc (newInstance): Put method name in
2516 (getConstructor): Likewise.
2517 (getDeclaredConstructor): Likewise.
2518 (getPrivateMethod): Likewise.
2520 2003-03-28 Tom Tromey <tromey@redhat.com>
2522 * java/lang/reflect/Proxy.java: New version from Classpath.
2523 * java/lang/Package.java: New version from Classpath.
2525 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
2527 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2528 * configure: Regenerate.
2530 2003-03-28 Michael Koch <konqueror@gmx.de>
2532 * java/io/File.java:
2533 Import needed classes instead of whole packages, merged class
2534 documentation with classpath, moved constants and variables to top of
2536 * java/io/PrintStream.java:
2537 Merged class documentation with classpath, moved constants and
2538 variables to top of class.
2539 * java/io/RandomAccessFile.java
2540 (RandomAccessFile): Merged with classpath.
2541 (read): Merged with classpath).
2542 (read*): Reformatted.
2544 2003-03-28 Michael Koch <konqueror@gmx.de>
2546 * java/io/FileDescriptor.java
2547 (finalize): Throws Throwable, not IOException.
2548 * java/io/ObjectOutputStream.java
2549 (PutField.put): Doesnt throws anything.
2551 2003Â03-28 Michael Koch <konqueror@gmx.de>
2553 * java/io/FileOutputStream.java:
2554 Merged class documentation and authors with classpath.
2555 (FileOutputStream): Partly merged with classpath.
2556 (write): Merged with classpath.
2557 (getChannel): Make it synchronized instead of explicit block in this
2559 * java/io/RandomAccessFile.java:
2560 Merged class documentation and authors with classpath.
2562 2003-03-26 Tom Tromey <tromey@redhat.com>
2564 * java/lang/natRuntime.cc (insertSystemProperties): Set
2565 gnu.classpath.home.url.
2566 * Makefile.in: Rebuilt.
2567 * Makefile.am: Define LIBDIR.
2569 2003-03-25 Michael Koch <konqueror@gmx.de>
2571 * java/io/FileInputStream.java
2572 (read): Renamed b to buf and off to offset.
2573 * java/io/FileOutputStream.java
2574 (ch): Documentation added.
2575 (FileOutputStream): Documentation added.
2576 (getFD): Documentation added.
2577 (write): Documentation added.
2578 (close): Documentation added.
2579 (getChannel): Documentation added.
2581 2003-03-24 Michael Koch <konqueror@gmx.de>
2583 * java/io/DataOutputStream.java
2584 (write): Merged from classpath.
2585 * java/io/File.java:
2586 Merged copyrigth with classpath.
2587 * java/io/FileInputStream.java
2588 (getChannel): Made it synchronized instead of using a synchronized
2590 * java/io/FileOutputStream.java: Reformatted.
2591 * java/io/InputStreamReader.java
2592 (InputStreamReader): Renamed enc to encoding_name.
2593 (close): Merged documentation from classpath.
2594 (getEncoding): Merged documentation from classpath.
2595 (ready): Merged documentation from classpath.
2596 (read): Merged documentation from classpath.
2597 * java/io/LineNumberReader.java
2598 (lineNumber): Made it private.
2599 (LineNumberReader): Use Constant instead of a direct value.
2600 * java/io/OutputStreamWriter.java
2601 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2602 documentation from classpath.
2603 (close): Merged documentation from classpath.
2604 (flush): Merged documentation from classpath.
2605 (write): Merged documentation from classpath.
2606 * java/io/PrintStream.java: Reformatted.
2608 2003-03-24 Michael Koch <konqueror@gmx.de>
2610 * javax/swing/text/ComponentView.java
2611 (getComponent): Must be final.
2612 * javax/swing/tree/DefaultTreeCellRenderer.java:
2614 * javax/swing/undo/StateEditable.java:
2617 2003-03-24 Michael Koch <konqueror@gmx.de>
2619 * java/rmi/activation/ActivationInstantiator.java:
2621 * java/rmi/activation/Activator.java:
2623 * java/rmi/registry/RegistryHandler.java:
2624 Remerged from classpath.
2626 2003-03-24 Michael Koch <konqueror@gmx.de>
2628 * java/util/Date.java:
2629 Fixed documentation starting tag to make javadoc happy.
2630 * java/util/regex/Pattern.java
2631 (Pattern): Implements Serializable.
2632 * java/util/PatternSyntaxException.java
2633 (serialVersionUID): New member variable.
2635 2003-03-24 Michael Koch <koqnueror@gmx.de>
2637 * java/awt/ContainerOrderFocusTraversalPolicy.java
2638 (getFirstComponent): Implemented.
2639 (getLastComponent): Implemented.
2640 (getDefaultComponent): Implemented.
2641 (setImplicitDownCycleTraversal): Fixed implementation.
2642 * java/awt/Robot.java
2643 (Robot): Added documentation.
2644 * java/awt/Toolkit.java
2645 (getFontList): Deprecated.
2646 (getFontMetrics): Deprecated.
2647 (getPrintJob): Added documentation.
2648 (getSystemSelection): Added documentation.
2649 (getLockingKeyState): Added documentation.
2650 (setLockingKeyState): Added documentation.
2651 (createCustomCursor): Added documentation.
2652 (getBestCursorSize): Added documentation.
2653 (getMaximumCursorColors): Added documentation.
2654 (isFrameStateSupported): Added documentation.
2656 2003-03-24 Michael Koch <konqueror@gmx.de>
2658 * java/io/RandomAccessFile.java:
2659 More little merges with classpath. No code changes.
2661 2003-03-24 Michael Koch <konqueror@gmx.de>
2663 * java/net/natInetAddressNoNet.cc:
2665 * java/net/natPlainDatagramSocketImplNoNet.cc:
2666 Fixed inlcude of java/net/DatagramPacket.h.
2667 * java/net/natPlainSocketImplNoNet.cc:
2668 Include some missing classes.
2670 2003-03-24 Michael Koch <konqueror@gmx.de>
2672 * java/awt/dnd/DropTarget.java
2673 (DropTargetAutoScroller): According to the online documentation, this
2674 is protected, but in reality it is public.
2675 * java/awt/dnd/DropTargetContext.java
2676 (TransferableProxy): According to the online documentation, this
2677 is protected, but in reality it is public.
2679 2003-03-24 Michael Koch <konqueror@gmx.de>
2681 * java/io/DataInputStream.java
2682 (): Wrapped documentation line.
2683 (): Fixed @return tag.
2684 * java/io/DataOutputStream.java
2685 (written): Moved to top of class.
2686 (all methods): Merged documentation from classpath.
2687 * java/io/File.java:
2688 Merged copyright year with classpath.
2689 * java/io/FileInputStream.java
2690 (all methods): Merged documentation from classpath.
2691 * java/io/LineNumberReader.java
2692 (getLineNumber): Fixed @return tag.
2693 * java/io/ObjectInputStream.java.
2695 * java/io/ObjectOutputStream.java:
2696 Reformatted, fixed some @see tags.
2697 * java/io/OutputStreamWriter.java:
2699 * java/io/Writer.java:
2702 2003-03-24 Michael Koch <konqueror@gmx.de>
2704 * java/awt/Frame.java
2705 (DEFAULT_CURSOR): Fixed @deprecated tag.
2706 (setCursor): Fixed @deprecated tag.
2708 2003-03-24 Michael Koch <konqueror@gmx.de>
2710 * java/beans/beancontext/BeanContextEvent.java:
2713 2003-03-23 Eric Blake <ebb9@email.byu.edu>
2715 * java/lang/natStringBuffer.cc (regionMatches): New function.
2716 * java/lang/String.java (count): Now package-private.
2717 * java/lang/StringBuffer.java: Merged with Classpath.
2719 2003-03-23 Michael Koch <konqueror@gmx.de>
2721 * java/io/BufferedOutputStream.java:
2723 * java/io/BufferedReader.java:
2725 * java/io/ByteArrayOutputStream.java
2726 (size): Fixed @see tag.
2727 * java/io/CharArrayWriter.java
2728 (size): Fixed @see tag.
2729 * java/io/DataInput.java:
2731 * java/io/DataOutput.java:
2733 * java/io/DataOutputStream.java:
2734 Merged copyright years with classpath.
2735 * java/io/Externalizable.java:
2737 * java/io/FileFilter.java:
2739 * java/io/FileInputStream.java:
2740 Merged copyright years with classpath.
2741 * java/io/FileOutputStream.java:
2742 Merged copyright years with classpath.
2743 * java/io/FilePermission.java
2744 (FilePermission): Replaced @XXX with FIXME:.
2745 * java/io/FileWriter.java:
2747 * java/io/FilenameFilter.java:
2749 * java/io/FilterInputStream.java:
2751 * java/io/FilterOutputStream.java:
2753 * java/io/FilterReader.java:
2755 * java/io/FilterWriter.java:
2757 * java/io/LineNumberInputStream.java
2758 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2760 (getLineNumber): Fixed @return tag.
2761 * java/io/ObjectInput.java:
2763 * java/io/ObjectOutput.java:
2765 * java/io/ObjectStreamClass.java:
2767 * java/io/PrintStream.java:
2768 Merged copyright years with classpath.
2769 * java/io/PushbackReader.java
2770 (PushbackReader): Replaced @code with @param.
2771 * java/io/SerializablePermission.java:
2773 * java/io/StreamTokenizer.java
2774 (resetSyntax): Fixed @see tag.
2776 2003-03-22 Richard Henderson <rth@redhat.com>
2778 * sysdep/ia64/locks.h: Include ia64intrin.h.
2779 (compare_and_swap): Use __sync_bool_compare_and_swap.
2780 (compare_and_swap_release): Expose ar.ccv assignment.
2782 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
2784 * include/posix.h: Add suffix for darwin dynamic libraries.
2786 2003-03-21 Michael Koch <konqueror@gmx.de>
2788 * javax/swing/Action.java
2789 (ACCELERATOR_KEY): New constant.
2790 (ACTION_COMMAND_KEY): Likewise.
2791 (MNEMONIC_KEY): Likewise.
2792 * javax/swing/UnsupportedLookAndFeelException.java
2793 (UnsupportedLookAndFeelException): Must be public.
2794 * javax/swing/WindowConstants.java
2795 (EXIT_ON_CLOSE): New constant.
2796 * javax/swing/text/BadLocationException.java
2797 (offset): New member variable.
2798 (BadLocationException): New implementation, documentation added.
2799 (offsetRequested): New method.
2800 * javax/swing/text/Caret.java:
2802 * javax/swing/text/Document.java:
2805 2003-03-21 Michael Koch <konqueror@gmx.de>
2807 * java/rmi/activation/Activatable.java
2808 (serialVersionUID): New member variable.
2809 * java/rmi/activation/ActivationGroup.java
2810 (serialVersionUID): New member variable.
2811 * java/rmi/activation/ActivationGroupDesc.java
2812 (serialVersionUID): New member variable.
2813 * java/rmi/registry/Registry.java:
2815 (Registry): Deprecated.
2816 * java/rmi/server/LoaderHandler.java
2818 (LoaderHandler): Deprecated.
2819 * java/rmi/server/LogStream.java
2821 (LogStream): Deprecated.
2822 * java/rmi/server/Operation.java
2823 (Operation): Deprecated.
2824 * java/rmi/server/RMIFailureHandler.java:
2826 * java/rmi/server/RMISocketFactory.java:
2828 * java/rmi/server/RemoteCall.java
2829 (RemoteCall): Deprecated.
2830 * java/rmi/server/RemoteStub.java:
2832 * java/rmi/server/Skeleton.java
2834 (Skeleton): Deprecated.
2836 2003-03-21 Michael Koch <konqueror@gmx.de>
2838 * java/io/LineNumberReader.java
2839 (LineNumberReader): Merged documentation with classpath.
2840 (getLineNumber): Likewise.
2841 (setLineNumber): Likewise.
2845 (readLine): Likewise.
2848 2003-03-21 Michael Koch <konqueror@gmx.de>
2850 * java/rmi/RMISecurityManager.java
2851 (checkAccept): Removed.
2852 (checkAccess): Likewise.
2853 (checkAccess): Likewise.
2854 (checkAwtEventQueueAccess): Likewise.
2855 (checkConnect): Likewise.
2856 (checkCreateClassLoader): Likewise.
2857 (checkDelete): Likewise.
2858 (checkExec): Likewise.
2859 (checkExit): Likewise.
2860 (checkLink): Likewise.
2861 (checkListen): Likewise.
2862 (checkMemberAccess): Likewise.
2863 (checkMulticast): Likewise.
2864 (checkPackageAccess): Likewise.
2865 (checkPackageDefinition): Likewise.
2866 (checkPermission): Likewise.
2867 (checkPrintJobAccess): Likewise.
2868 (checkPropertiesAccess): Likewise.
2869 (checkPropertyAccess): Likewise.
2870 (checkRead): Likewise.
2871 (checkSecurityAccess): Likewise.
2872 (checkSetFactory): Likewise.
2873 (checkSystemClipboardAccess): Likewise.
2874 (checkTopLevelWindow): Likewise.
2875 (checkWrite): Likewise.
2877 2003-03-20 Michael Koch <konqueror@gmx.de>
2879 * gnu/java/nio/FileChannelImpl.java
2881 (map_address): New member variable.
2882 (length): Make it package private.
2883 (fd): Make it package private.
2884 (buf): Make it package private.
2885 (file_obj): Make it package private.
2886 (FileChannelImpl): New constructor.
2887 (nio_mmap_file): Use RawData instead of long.
2888 (nio_munmap_file): Use RawData instead of long.
2889 (nio_msync): Use RawData instead of long.
2890 (implCloseChannel): New implementation using map_address.
2893 (create_direct_mapped_buffer): Implemented, use RawData, throws
2895 (force): Use map_address instead of address.
2896 * gnu/java/nio/MappedByteFileBuffer.java
2898 (map_address): New member variable.
2899 (MappedByteFileBuffer): Use map_address instead of address, reformated.
2900 (several methods): Use map_address instead of address, replaced long
2901 with RawData where appropriate.
2902 * gnu/java/nio/natFileChannelImpl.cc
2903 (nio_mmap_file): Replaced long with RawData.
2904 (nio_munmap_file): Replaced long with RawData.
2905 (nio_msync): Replaced long with RawData.
2906 * gnu/java/nio/natMappedByteFileBuffer.cc
2907 (several methods): Replaced long with RawData where appropriate.
2909 2003-03-20 Michael Koch <konqueror@gmx.de>
2911 * java/net/InetAddress.java,
2912 java/net/JarURLConnection.java,
2913 java/net/PlainDatagramSocketImpl.java,
2914 java/net/PlainSocketImpl.java,
2915 java/net/URLConnection.java:
2916 Merged copyright statements with classpath for easier merging.
2918 2003-03-20 Michael Koch <konqueror@gmx.de>
2920 * java/io/FileInputStream.java
2921 (getChannel): New implementation.
2922 * java/io/FileOutputStream.java
2923 (ch): New member variable.
2924 (getChannel): Implemented.
2925 * java/io/RandomAccessFile.java
2926 (RandomAccessFile): Throws FileNotFoundException instead of
2928 (getChannel): New method.
2929 (ch): New member variable.
2931 2003-03-20 Michael Koch <konqueror@gmx.de>
2933 * java/io/DataOutputStream.java,
2935 java/io/FileInputStream.java,
2936 java/io/FileOutputStream.java,
2937 java/io/InputStreamReader.java,
2938 java/io/LineNumberReader.java,
2939 java/io/OutputStreamWriter.java,
2940 java/io/PrintStream.java,
2941 java/io/RandomAccessFile.java:
2942 Merged copyright statements with classpath for easier merging.
2944 2003-03-19 Michael Koch <konqueror@gmx.de>
2946 * java/lang/Process.java:
2947 Merged from classpath.
2949 2003-03-19 Michael Koch <konqueror@gmx.de>
2951 * java/io/FileOutputStream.java
2952 (FileOutputStream): New constructor, merged from classpath.
2953 * java/io/FileWriter.java
2954 (FileWriter): New constructor, merged from classpath.
2956 2003-03-18 Michael Koch <konqueror@gmx.de>
2958 * java/awt/ScrollPane.java
2959 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2960 (getViewportSize): Likewise.
2961 (addNotify): Likewise.
2962 (removeNotify): Likewise.
2963 * java/awt/ScrollPaneAdjustable.java
2964 (ScrollPaneAdjustable): No longer extends Scrollbar.
2965 * java/beans/beancontext/BeanContextServices.java:
2967 (getService): Added throws TooManyListenersException;
2968 * java/beans/beancontext/BeanContextServicesSupport.java:
2971 2003-03-18 Michael Koch <konqueror@gmx.de>
2973 * java/io/BufferedOutputStream.java,
2974 java/io/DataInput.java,
2975 java/io/DataInputStream.java,
2976 java/io/DataOutput.java,
2977 java/io/Externalizable.java:
2978 More merges from classpath.
2980 2003-03-18 Michael Koch <konqueror@gmx.de>
2982 * configure.in: Fixed links to platform dependant java.net files.
2983 * configure: Regenerated.
2984 * java/net/natInetAddress.cc,
2985 java/net/natNetworkInterface.cc,
2986 java/net/natPlainDatagramSocketImpl.cc,
2987 java/net/natPlainSocketImpl.cc:
2990 2003-03-18 Michael Koch <konqueror@gmx.de>
2992 * configure.in: Create links to architecture dependent files,
2993 introduced PLATFORMNET variable (set to NoNet for newlib usage).
2994 * configure: Regenerated.
2995 * java/net/natInetAddressNoNet.cc,
2996 java/net/natInetAddressPosix.cc,
2997 java/net/natInetAddressWin32.cc,
2998 java/net/natNetworkInterfaceNoNet.cc,
2999 java/net/natNetworkInterfacePosix.cc,
3000 java/net/natNetworkInterfaceWin32.cc,
3001 java/net/natPlainDatagramSocketImplNoNet.cc,
3002 java/net/natPlainDatagramSocketImplPosix.cc,
3003 java/net/natPlainDatagramSocketImplWin32.cc,
3004 java/net/natPlainSocketImplNoNet.cc,
3005 java/net/natPlainSocketImplPosix.cc,
3006 java/net/natPlainSocketImplWin32.cc: New files.
3008 2003-03-18 Michael Koch <konqueror@gmx.de>
3010 * java/io/BufferedReader.java,
3011 java/io/BufferedWriter.java,
3012 java/io/ByteArrayOutputStream.java,
3013 java/io/FileFilter.java,
3014 java/io/FilePermission.java,
3015 java/io/FileReader.java,
3016 java/io/FileWriter.java,
3017 java/io/FilenameFilter.java,
3018 java/io/FilterInputStream.java,
3019 java/io/FilterOutputStream.java,
3020 java/io/FilterReader.java,
3021 java/io/FilterWriter.java,
3022 java/io/ObjectInput.java,
3023 java/io/ObjectInputValidation.java,
3024 java/io/ObjectOutput.java,
3025 java/io/ObjectStreamField.java,
3026 java/io/PipedInputStream.java,
3027 java/io/PipedReader.java,
3028 java/io/PrintWriter.java,
3029 java/io/PushbackReader.java,
3030 java/io/Reader.java,
3031 java/io/SerializablePermission.java,
3032 java/io/StringReader.java,
3033 java/io/Writer.java:
3034 Merged from classpath.
3036 2003-03-17 Michael Koch <konqueror@gmx.de>
3038 * java/awt/ScrollPaneAdjustable.java:
3041 2003-03-17 Michael Koch <konqueror@gmx.de>
3043 * java/net/DatagramSocket.java
3044 (connect): Fixed comment.
3045 * java/nio/ByteBuffer.java
3046 (hasArray): Fixed comment.
3048 2003-03-17 Michael Koch <konqueror@gmx.de>
3050 * java/beans/Beans.java:
3051 Explicitely import classes not packages.
3052 * java/beans/FeatureDescriptor.java
3053 (preferred): New member variable.
3054 (isPreferred): New method.
3055 (setPreferred): New method.
3056 * java/beans/PropertyEditorManager.java:
3057 Explicitely import used classes.
3058 * java/beans/beancontext/BeanContextChild.java:
3059 Added line wrapping.
3060 * java/beans/beancontext/BeanContextChildSupport.java:
3062 * java/beans/beancontext/BeanContextEvent.java:
3065 2003-03-17 Michael Koch <konqueror@gmx.de>
3067 * java/awt/Dialog.java
3068 (Dialog): New constructor, changed implementations, added
3070 * java/awt/ScrollPaneAdjustable.java
3071 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3073 (serialVersionUID): New member variable.
3074 (sp): New member variable.
3075 (orientation): New member variable.
3076 (value): New member variable.
3077 (minimum): New member variable.
3078 (maximum): New member variable.
3079 (visibleAmount): New member variable.
3080 (unitIncrement): New member variable.
3081 (blockIncrement): New member variable.
3082 (AdjustmentListener): New member variable.
3083 (ScrollPaneAdjustable): New implementation.
3084 (addAdjustmentListener): New method.
3085 (removeAdjustmentListener): New method.
3086 (getAdjustmentListeners): New method.
3087 (getBlockIncrement): New method.
3088 (getMaximum): New method.
3089 (getMinimum): New method.
3090 (getOrientation): New method.
3091 (getUnitIncrement): New method.
3092 (getValue): New method.
3093 (getVisibleAmount): New method.
3094 (setBlockIncrement): New method.
3095 (setMaximum): Implemented.
3096 (setMinimum): Implemented.
3097 (setUnitIncrement): New method.
3098 (setValue): New method.
3099 (setVisibleAmount): Implemented.
3100 (paramString): New stubbed method.
3101 * java/awt/Window.java
3102 (show): Call setVisible().
3103 (hide): Call setVisible().
3104 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3105 and WINDOW_STATE_CHANGED.
3106 (processWindowFocusEvent): New method.
3107 (processWindowStateEvent): New method.
3108 (postEvent): Deprecated.
3109 (applyResourceBundle): Deprecated.
3110 * java/awt/datatransfer/DataFlavor.java
3111 (DataFlavor): Doesn't thow ClassNotFoundException.
3113 2003-03-17 Michael Koch
3115 * javax/print/attribute/Attribute.java,
3116 javax/print/attribute/AttributeSet.java,
3117 javax/print/attribute/PrintRequestAttributeSet.java:
3120 (javax_source_files): Added new files:
3121 javax/print/attribute/Attribute.java
3122 javax/print/attribute/AttributeSet.java
3123 javax/print/attribute/PrintRequestAttributeSet.java
3124 * Makefile.in: Regenerated.
3126 2003-03-17 Michael Koch
3128 * javax/print/attribute/Attribute.java,
3129 javax/print/attribute/AttributeSet.java,
3130 javax/print/attribute/PrintRequestAttributeSet.java:
3133 (awt_java_source_files): Added new files:
3134 javax/print/attribute/Attribute.java
3135 javax/print/attribute/AttributeSet.java
3136 javax/print/attribute/PrintRequestAttributeSet.java
3137 * Makefile.in: Regenerated.
3139 2003-03-16 Tom Tromey <tromey@redhat.com>
3141 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3143 * java/lang/natRuntime.cc (insertSystemProperties): Use
3144 _Jv_platform_path_separator.
3145 (nativeGetLibname): Use _Jv_platform_file_separator.
3146 (_load): Use _Jv_platform_onload_names.
3147 (onload_names): New global.
3148 * include/win32.h (_Jv_platform_file_separator): New define.
3149 (_Jv_platform_path_separator): Likewise.
3150 (_Jv_platform_onload_names): Likewise.
3151 (_Jv_platform_ffi_abi): Likewise.
3152 * include/posix.h (_Jv_platform_file_separator): New define.
3153 (_Jv_platform_path_separator): Likewise.
3154 (_Jv_platform_onload_names): Likewise.
3155 (_Jv_platform_ffi_abi): Likewise.
3157 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3159 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3161 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3163 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3165 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3166 list to Object,ObjectStreamClass, moved callReadMethod code up into
3167 readObject and added Class argument to all setXxxField calls.
3168 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3169 consistent with ObjectOutputStream and to facilitate caching the
3170 Method in the future.
3171 (setBooleanField): Added Class argument.
3172 (setByteField): Likewise.
3173 (setCharField): Likewise.
3174 (setDoubleField): Likewise.
3175 (setFloatField): Likewise.
3176 (setIntField): Likewise.
3177 (setLongField): Likewise.
3178 (setShortField): Likewise.
3179 (setObjectField): Likewise.
3180 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3181 class hierarchy loop.
3182 (defaultWriteObject): Call writeFields with new argument list.
3183 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3184 list to Object,ObjectStreamClass, moved callWriteMethod up into
3185 writeObject and added Class argument to all getXxxField calls.
3186 (callWriteMethod): Added ObjectStreamClass argument to be able to
3187 get the proper class to call getMethod on (each class can have (or
3188 not have) its own writeObject method).
3189 (getBooleanField): Added Class argument.
3190 (getByteField): Likewise.
3191 (getCharField): Likewise.
3192 (getDoubleField): Likewise.
3193 (getFloatField): Likewise.
3194 (getIntField): Likewise.
3195 (getLongField): Likewise.
3196 (getShortField): Likewise.
3197 (getObjectField): Likewise.
3198 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3199 facilitate caching the Method object in the future.
3201 2003-03-12 Andreas Schwab <schwab@suse.de>
3203 * configure.in: Avoid trailing /. in toolexeclibdir.
3204 * configure: Rebuilt.
3206 2003-03-11 Michael Koch <konqueror@gmx.de>
3208 * gnu/java/nio/ByteBufferImpl.java
3209 (putInt): Use limit() instead of limit.
3210 * gnu/java/nio/CharBufferImpl.java
3211 (slice): Fixed implementation.
3212 (subSequence): Better bounds checking.
3213 * gnu/java/nio/MappedByteFileBuffer.java:
3214 Import all needed classes directly.
3215 * java/nio/ByteBuffer.java
3216 (hashCode): New dummy method.
3217 * java/nio/CharBuffer.java
3218 (array_offset): New member variable.
3219 (hasArray): Fixed documentation.
3220 (arrayOffset): Return array_offset.
3222 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3224 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3225 setter; made return value of getter const char* instead of char*
3226 * prims.cc: removed all references to _Jv_ThisExecutable().
3227 These are in the platform-specific sections now.
3228 * posix.cc: define platform-specific _Jv_ThisExecutable().
3229 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3230 * win32.cc: define platform-specific _Jv_ThisExecutable()
3231 using GetModuleFilename()
3232 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3233 to argv[0] instead of _Jv_ThisExecutable()
3235 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3237 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3238 that is set if we are using addr2name.awk instead of addr2line.
3239 (NameFinder): Set usingAddr2name if using addr2name.awk.
3240 (getExternalLabel): New native method to convert a method
3241 name to an external label.
3242 (lookup): Convert name given by addr2line to an external label
3245 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3246 constant representing the prefix attached to method names to
3247 convert them to an external label.
3248 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3251 2003-03-10 Tom Tromey <tromey@redhat.com>
3253 * Makefile.in: Rebuilt.
3254 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3255 (JC1FLAGS): Removed -Wno-deprecated.
3257 2003-03-10 Michael Koch <konqueror@gmx.de>
3259 * java/nio/ByteOrder.java
3260 (nativeOrder): Working implementation, added documentation.
3261 (toString): Added documentation.
3263 2003-03-10 Michael Koch <konqueror@gmx.de>
3265 * java/net/DatagramSocket.java,
3266 java/net/MulticastSocket.java,
3267 java/net/Socket.java,
3269 java/net/URLConnection.java:
3270 Fixed some documentation tags to make javadoc and friends happy.
3272 2003-03-10 Michael Koch <koqnueror@gmx.de>
3274 * java/beans/beancontext/BeanContextServicesSupport.java,
3275 java/beans/beancontext/BeanContextSupport.java: New files.
3277 (awt_source_files): Added new files.
3278 * Makefile.in: Regenerated.
3280 2003-03-10 Michael Koch <konqueror@gmx.de>
3282 * java/awt/FocusTraversalPolicy.java
3283 (FocusTraversalPolicy): Documentation added.
3284 (getComponentAfter): Documentation added.
3285 (getComponentBefore): Documentation added.
3286 (getFirstComponent): Documentation added.
3287 (getLastComponent): Documentation added.
3288 (getDefaultComponent): Documentation added.
3289 (getInitialComponent): Documentation added.
3290 * java/awt/ScrollPaneAdjustable.java
3291 (sp): New member variable.
3292 (orientation): New member variable.
3293 (value): New member variable.
3294 (minimum): New member variable.
3295 (maximum): New member variable.
3296 (visibleAmount): New member variable.
3297 (unitIncrement): New member variable.
3298 (blockIncrement): New member variable.
3299 (adjustmentListener): New member variable.
3300 (ScrollPaneAdjustable): Rewrote.
3301 (addAdjustmentListener): New method.
3302 (removeAdjustmentListener): New method.
3303 (getAdjustmentListeners): New method.
3304 (getBlockIncrement): New method.
3305 (getMaximum): New method.
3306 (getMinimum): New method.
3307 (getOrientation): New method.
3308 (getUnitIncrement): New method.
3309 (getValue): New method.
3310 (getVisibleAmount): New method.
3311 (setBlockIncrement): New method.
3312 (setUnitIncrement): New method.
3313 (setMaximum): Implemented.
3314 (setMinimum): Implemented.
3315 (setValue): New method.
3316 (setVisibleAmount): Implemented.
3317 (paramString): New method.
3318 * java/awt/Window.java
3319 (show): Use setVisible(true) instead of super.show().
3320 (hide): Use sevVisible(false) instead of super.hide().
3321 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3322 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3323 (postEvent): Deprecated.
3324 (applyResourceBundle): Deprecated.
3325 (processWindowFocusEvent): New method.
3326 (processWindowStateEvent): New method.
3327 * java/awt/datatransfer/DataFlavor.java: Reindented.
3328 * java/awt/font/TextHitInfo.java
3329 (charIndex): New member variable.
3330 (leadingEdge): New member variable.
3331 (TextHitInfo): New constructor.
3332 (getCharIndex): Implemented.
3333 (isLeadingEdge): Implemented.
3334 (getInsertionIndex): Implemented.
3335 (hashCode): Access charIndex directly.
3336 (equals): Reformated.
3337 (leading): Implemented.
3338 (trailing): Implemented.
3339 (beforeOffset): Implemented.
3340 (afterOffset): Implemented.
3341 (getOtherHit): Implemented.
3342 (getOffsetHit): Implemented.
3343 (toString): Implemented.
3344 * java/awt/image/BufferedImage.java
3345 (BufferedImage): Implements WritableRenderedImage.
3346 (observers): New member variable.
3347 (addTileObserver): New method.
3348 (removeTileObserver): New method.
3350 2003-03-09 Tom Tromey <tromey@redhat.com>
3353 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3354 to lseek. Return 0 if we can't compute the value.
3356 2003-03-03 Michael Koch <konqueror@gmx.de>
3358 * java/net/NetworkInterface.java: Merged with classpath.
3360 2003-03-03 Tom Tromey <tromey@redhat.com>
3362 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3364 (handle_ret_insn): Fail if returning to jsr that appears at end of
3367 2003-03-03 Michael Koch <konqueror@gmx.de>
3370 (ordinary_java_source_files):
3371 Added gnu/java/nio/MappedByteFileBuffer.java.
3373 Added gnu/java/nio/natMappedByteFileBuffer.cc.
3374 * Makefile.in: Regenerated.
3376 2003-03-03 Michael Koch <konqueror@gmx.de>
3378 * java/net/DatagramSocket.java
3379 (connect): Merged comment from classpath.
3380 (receive): Merged documentation from classpath.
3381 * java/net/Socket.java
3382 (setSoTimeout): Clarified documentation.
3384 (getPath): Merged from classpath.
3385 (getUserInfo): Merged from classpath.
3386 (getQuery): Merged from classpath.
3387 * java/net/URLStreamHandler.java
3388 (toExternalForm): Merged from classpath.
3390 2003-03-02 Mark Wielaard <mark@klomp.org>
3392 * java/util/Properties.java (load): Only skip line if the first
3393 character is a comment, whitespaces don't count.
3395 2003-03-02 Michael Koch <konqueror@gmx.de>
3397 * java/net/NetPermission.java:
3398 Merged copyright with classpath.
3400 2003-03-02 Michael Koch <konqueror@gmx.de>
3402 * java/lang/Package.java:
3403 Remerged from classpath.
3405 2003-03-02 Michael Koch <konqueror@gmx.de>
3407 * java/net/HttpURLConnection.java
3408 (HTTP_SERVER_ERROR): Deprecated.
3409 * java/net/MulticastSocket.java
3410 (send): Replaced checkMulticast with appropriate checkPermission call,
3412 * java/net/URLDecoder.java
3413 (decode): Deprecated.
3414 * java/net/URLEncoder.java
3415 (encode): Deprecated.
3417 2003-03-02 Michael Koch <konqueror@gmx.de>
3419 * javax/swing/text/Caret.java
3420 (getMagicCaretPosition): Fixed typo in method name.
3421 * javax/swing/text/DefaultCaret.java
3422 (getMagicCaretPosition): Fixed typo in method name.
3424 2003-03-02 Michael Koch <konqueror@gmx.de>
3426 * java/awt/List.java
3427 (setMultipleSelections): Deprecated.
3428 (delItem): Deprecated.
3429 * java/awt/MenuComponent.java
3430 (getPeer): Deprecated.
3431 * java/awt/ScrollPane.java
3432 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3433 * java/awt/dnd/MouseDragGestureRecognizer.java
3434 (mouseClicked): Added comment.
3435 (mousePressed): Added comment.
3436 (mouseReleased): Added comment.
3437 (mouseEntered): Added comment.
3438 (mouseExited): Added comment.
3439 (mouseDragged): Added comment.
3440 (mouseMoved): Added comment.
3441 * java/awt/event/KeyEvent.java
3442 (KeyEvent): Deprecated.
3443 (setModifiers): Deprecated.
3445 2003-03-02 Michael Koch <konqueror@gmx.de>
3447 * gnu/java/nio/FileChannelImpl.java
3448 (fd): Type FileDescriptor instead of int.
3449 (lengthInternal): Removed.
3450 (FileChannelImpl): Fixed arguments, check type of file object.
3451 (size): Made it native.
3452 (implPosition): New native method.
3453 (implTruncate): New native method.
3454 (position): Implemented.
3455 (truncate): Implemented.
3456 (nio_mmap_file): Changed arguments.
3457 (nio_munmap_file): Changed arguments.
3458 (nio_msync): Changed arguments.
3459 * gnu/java/nio/natFileChannelImpl.cc
3460 (lengthInternal): Removed.
3462 (implPosition): New method.
3463 (implTruncate): New method.
3464 (nio_mmap_file): Changed arguments.
3465 (nio_munmap_file): Changed arguments.
3466 (nio_msync): Changed arguments.
3468 2003-03-02 Michael Koch <konqueror@gmx.de>
3470 * java/awt/dnd/DropTargetContext.java:
3471 Compile fix: Forgot to commit import.
3473 2003-03-02 Michael Koch <konqueror@gmx.de>
3475 * java/awt/Component.java,
3476 java/awt/ScrollPane.java:
3479 2003-03-02 Michael Koch <konqueror@gmx.de>
3481 * java/awt/dnd/DnDEventMulticaster.java: New file.
3482 * java/awt/dnd/DragSource.java
3483 (flavorMap): New member variable.
3484 (dragSourceListener): New member variable.
3485 (dragSourceMotionListener): New member variable.
3486 (getFlavorMap): Implemented.
3487 (createDragGestureRecognizer): Implemented.
3488 (addDragSourceListener): Implemented.
3489 (removeDragSourceListener): Implemented.
3490 (getDragSourceListeners): Implemented.
3491 (addDragSourceMotionListener): Implemented.
3492 (removeDragSourceMotionListener): Implemented.
3493 (getDragSourceMotionListeners): Implemented.
3494 (getListeners): Implemented.
3495 * java/awt/dnd/DragSourceContext.java
3496 (peer): New member variable.
3497 (cursor): New member variable.
3498 (transferable): New member variable.
3499 (trigger): New member variable.
3500 (dragSourceListener): New member variable.
3501 (image): New member variable.
3502 (offset): New member variable.
3503 (DragSourceContext): Implemented.
3504 (getDragSource): Implemented.
3505 (getComponent): Implemented.
3506 (getTrigger): Implemented.
3507 (getSourceActions): Implemented.
3508 (setCursor): Implemented.
3509 (getCursor): Implemented.
3510 (addDragSourceListener): Implemented.
3511 (removeDragSourceListener): Implemented.
3512 (getTransferable): Implemented.
3513 * java/awt/dnd/DropTarget.java
3514 (DropTargetAutoScroller.component): New member variable.
3515 (DropTargetAutoScroller.point): New member variable.
3516 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3517 (DropTargetAutoScroller.updateLocation): Implemented.
3518 (active): Renamed from isActive, defaults to true now.
3519 (component): New member variable.
3520 (flavorMap): New member variable.
3521 (actions): New member variable.
3522 (dropTargetContext): New member variable.
3523 (dropTargetListener): New member variable.
3524 (DropTarget): Implemented.
3525 (getComponent): Implemented.
3526 (setComponent): Implemented.
3527 (setDefaultActions): Implemented.
3528 (getDefaultActions): Implemented.
3529 (setActive): Use active instead of isActive.
3530 (isActive): Use active instead of isActive.
3531 (addDropTargetListener): Implemented.
3532 (removeDropTargetListener): Implemented.
3533 (getFlavorMap): Implemented.
3534 (setFlavorMap): Implemented.
3535 (getDropTargetContext): Implemented.
3536 (createDropTargetContext): Implemented.
3537 (createDropTargetAutoScroller): Implemented.
3538 * java/awt/dnd/DropTargetContext.java
3539 (TransferableProxy.getTransferDataFlavors): Implemented.
3540 (TransferableProxy.isDataFlavorSupported): Implemented.
3541 (TransferableProxy.getTransferData): Implemented.
3542 (dropTarget): New member variable.
3543 (dtcp): New member variable.
3544 (DropTargetContext): New package private constructor.
3545 (getDropTarget): Implemented.
3546 (getComponent): Implemented.
3547 (addNotify): Implemented.
3548 (removeNotify): Implemented.
3549 (getCurrentDataFlavorsAsList): Implemented.
3550 (isDataFlavorSupported): Implemented.
3551 * java/awt/dnd/MouseDragGestureRecognizer.java
3552 (registerListeners): Implemented.
3553 (unregisterListeners): Implemented.
3555 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3556 * Makefile.in: Regenerated.
3558 2003-03-02 Michael Koch <konqueror@gmx.de>
3560 * java/awt/Component.java
3561 (eventTypeEnabled): New method.
3562 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3563 * java/awt/Container.java
3564 (changeSupport): New member variable.
3565 (addPropertyChangeListener): New methods.
3566 * java/awt/ContainerOrderFocusTraversalPolicy.java
3567 (ContainerOrderFocusTraversalPolicy): Added comment.
3568 (getComponentAfter): Throw exception, documentation added.
3569 (getComponentBefore): Throw exception, documentation added.
3570 (getFirstComponent): Throw exception, documentation added.
3571 (getLastComponent): Throw exception, documentation added.
3572 (getDefaultComponent): Throw exception, documentation added.
3573 * java/awt/EventQueue.java: Reindented.
3574 * java/awt/FocusTraversalPolicy.java:
3575 (FocusTraversalPolicy): Added comment.
3576 (getComponentAfter): Documentation added.
3577 (getComponentBefore): Documentation added.
3578 (getFirstComponent): Documentation added.
3579 (getLastComponent): Documentation added.
3580 (getDefaultComponent): Documentation added.
3581 (getInitialComponent): Documentation added.
3582 * java/awt/ScrollPane.java
3583 (wheelScrollingEnabled): New member variable.
3584 (ScrollPane): Initialize wheelScollingEnabled.
3585 (eventTypeEnabled): New method.
3586 (isWheelScrollingEnabled): New method.
3587 (setWheelScrollingEnabled): New method.
3589 2003-03-02 Michael Koch <konqueror@gmx.de>
3591 * java/net/DatagramSocket.java
3592 (closed): New member variable.
3593 (close): Use closed variable.
3594 (getInetAddress): No need to call isConnected().
3595 (getPort): No need to call isConnected().
3596 (disconnect): Reset remoteAddress and remotePort, fixed typo.
3597 (isClosed): Reimplemented.
3599 2003-03-02 Michael Koch <konqueror@gmx.de>
3601 * configure.in: Added check for memory mapping of files.
3602 * configure: Regenerated.
3603 * config.h.in: Regenerated.
3605 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
3607 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3608 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3610 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3612 * java/io/File.java (normalizePath): Remove trailing separator
3613 on Windows only if path is not of the form "x:\".
3615 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3616 (java::io::File::attr): Change formatting a bit and use
3617 WIN32_EPOCH_MILLIS instead of magic numbers.
3618 (java::io::File::isAbsolute): Path must have at least 3
3619 characters for a UNC network path.
3620 (java::io::File::init_native): Define.
3621 (java::io::File::performCreate): Likewise.
3622 (java::io::File::performSetReadOnly): Likewise.
3623 (java::io::File::performSetLastModified): Likewise.
3624 (java::io::File::performListRoots): Likewise.
3626 2003-03-01 Tom Tromey <tromey@redhat.com>
3628 * java/lang/natObject.cc: Don't include assert.h.
3629 (heavy_lock_obj_finalization_proc): Use JvAssert.
3630 (remove_all_heavy): Likewise.
3631 (_Jv_MonitorEnter): Likewise.
3632 (_Jv_MonitorExit): Likewise.
3635 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3637 * java/io/File (getAbsolutePath): Prefix drive specifier on
3638 Windows for paths starting with a '\'.
3639 (toURL): Make URL more consistent with what Sun's JDK returns.
3641 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3642 true only if the path is a UNC network path or it starts with a
3645 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3646 Be prepared to handle either '/' or '\\' in the file path for
3647 Windows if using the "file" protocol.
3648 Canonicalise the file path if using a relative path in the given
3649 context and the "file" protocol.
3651 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
3653 * java/lang/natWin32Process.cc (startProcess): Double-quote each
3654 program array element passed to CreateProcess.
3656 2003-03-01 Tom Tromey <tromey@redhat.com>
3658 * java/rmi/registry/RegistryHandler.java: Deprecate.
3660 2003-03-01 Tom Tromey <tromey@redhat.com>
3662 * javax/accessibility/AccessibleEditableText.java,
3663 javax/accessibility/AccessibleHyperlink.java: New versions from
3666 * gnu/java/locale/LocaleInformation_af_ZA.java,
3667 gnu/java/locale/LocaleInformation_ar_AE.java,
3668 gnu/java/locale/LocaleInformation_ar_BH.java,
3669 gnu/java/locale/LocaleInformation_ar_DZ.java,
3670 gnu/java/locale/LocaleInformation_ar_EG.java,
3671 gnu/java/locale/LocaleInformation_ar_IN.java,
3672 gnu/java/locale/LocaleInformation_ar_IQ.java,
3673 gnu/java/locale/LocaleInformation_ar_JO.java,
3674 gnu/java/locale/LocaleInformation_ar_KW.java,
3675 gnu/java/locale/LocaleInformation_ar_LB.java,
3676 gnu/java/locale/LocaleInformation_ar_LY.java,
3677 gnu/java/locale/LocaleInformation_ar_MA.java,
3678 gnu/java/locale/LocaleInformation_ar_OM.java,
3679 gnu/java/locale/LocaleInformation_ar_QA.java,
3680 gnu/java/locale/LocaleInformation_ar_SD.java,
3681 gnu/java/locale/LocaleInformation_ar_SY.java,
3682 gnu/java/locale/LocaleInformation_ar_TN.java,
3683 gnu/java/locale/LocaleInformation_ar_YE.java,
3684 gnu/java/locale/LocaleInformation_be_BY.java,
3685 gnu/java/locale/LocaleInformation_bn_IN.java,
3686 gnu/java/locale/LocaleInformation_br_FR.java,
3687 gnu/java/locale/LocaleInformation_bs_BA.java,
3688 gnu/java/locale/LocaleInformation_ca_ES.java,
3689 gnu/java/locale/LocaleInformation_cs_CZ.java,
3690 gnu/java/locale/LocaleInformation_cy_GB.java,
3691 gnu/java/locale/LocaleInformation_da_DK.java,
3692 gnu/java/locale/LocaleInformation_de_AT.java,
3693 gnu/java/locale/LocaleInformation_de_BE.java,
3694 gnu/java/locale/LocaleInformation_de_CH.java,
3695 gnu/java/locale/LocaleInformation_de_DE.java,
3696 gnu/java/locale/LocaleInformation_de_LU.java,
3697 gnu/java/locale/LocaleInformation_el_GR.java,
3698 gnu/java/locale/LocaleInformation_en_AU.java,
3699 gnu/java/locale/LocaleInformation_en_BW.java,
3700 gnu/java/locale/LocaleInformation_en_CA.java,
3701 gnu/java/locale/LocaleInformation_en_DK.java,
3702 gnu/java/locale/LocaleInformation_en_GB.java,
3703 gnu/java/locale/LocaleInformation_en_HK.java,
3704 gnu/java/locale/LocaleInformation_en_IE.java,
3705 gnu/java/locale/LocaleInformation_en_IN.java,
3706 gnu/java/locale/LocaleInformation_en_NZ.java,
3707 gnu/java/locale/LocaleInformation_en_PH.java,
3708 gnu/java/locale/LocaleInformation_en_SG.java,
3709 gnu/java/locale/LocaleInformation_en_US.java,
3710 gnu/java/locale/LocaleInformation_en_ZA.java,
3711 gnu/java/locale/LocaleInformation_en_ZW.java,
3712 gnu/java/locale/LocaleInformation_es_AR.java,
3713 gnu/java/locale/LocaleInformation_es_BO.java,
3714 gnu/java/locale/LocaleInformation_es_CL.java,
3715 gnu/java/locale/LocaleInformation_es_CO.java,
3716 gnu/java/locale/LocaleInformation_es_CR.java,
3717 gnu/java/locale/LocaleInformation_es_DO.java,
3718 gnu/java/locale/LocaleInformation_es_EC.java,
3719 gnu/java/locale/LocaleInformation_es_ES.java,
3720 gnu/java/locale/LocaleInformation_es_GT.java,
3721 gnu/java/locale/LocaleInformation_es_HN.java,
3722 gnu/java/locale/LocaleInformation_es_MX.java,
3723 gnu/java/locale/LocaleInformation_es_NI.java,
3724 gnu/java/locale/LocaleInformation_es_PA.java,
3725 gnu/java/locale/LocaleInformation_es_PE.java,
3726 gnu/java/locale/LocaleInformation_es_PR.java,
3727 gnu/java/locale/LocaleInformation_es_PY.java,
3728 gnu/java/locale/LocaleInformation_es_SV.java,
3729 gnu/java/locale/LocaleInformation_es_US.java,
3730 gnu/java/locale/LocaleInformation_es_UY.java,
3731 gnu/java/locale/LocaleInformation_es_VE.java,
3732 gnu/java/locale/LocaleInformation_et_EE.java,
3733 gnu/java/locale/LocaleInformation_eu_ES.java,
3734 gnu/java/locale/LocaleInformation_fa_IR.java,
3735 gnu/java/locale/LocaleInformation_fi_FI.java,
3736 gnu/java/locale/LocaleInformation_fo_FO.java,
3737 gnu/java/locale/LocaleInformation_fr_BE.java,
3738 gnu/java/locale/LocaleInformation_fr_CA.java,
3739 gnu/java/locale/LocaleInformation_fr_CH.java,
3740 gnu/java/locale/LocaleInformation_fr_FR.java,
3741 gnu/java/locale/LocaleInformation_fr_LU.java,
3742 gnu/java/locale/LocaleInformation_ga_IE.java,
3743 gnu/java/locale/LocaleInformation_gd_GB.java,
3744 gnu/java/locale/LocaleInformation_gl_ES.java,
3745 gnu/java/locale/LocaleInformation_gv_GB.java,
3746 gnu/java/locale/LocaleInformation_he_IL.java,
3747 gnu/java/locale/LocaleInformation_hi_IN.java,
3748 gnu/java/locale/LocaleInformation_hr_HR.java,
3749 gnu/java/locale/LocaleInformation_hu_HU.java,
3750 gnu/java/locale/LocaleInformation_id_ID.java,
3751 gnu/java/locale/LocaleInformation_it_CH.java,
3752 gnu/java/locale/LocaleInformation_it_IT.java,
3753 gnu/java/locale/LocaleInformation_iw_IL.java,
3754 gnu/java/locale/LocaleInformation_ja_JP.java,
3755 gnu/java/locale/LocaleInformation_ka_GE.java,
3756 gnu/java/locale/LocaleInformation_kl_GL.java,
3757 gnu/java/locale/LocaleInformation_ko_KR.java,
3758 gnu/java/locale/LocaleInformation_kw_GB.java,
3759 gnu/java/locale/LocaleInformation_lt_LT.java,
3760 gnu/java/locale/LocaleInformation_lv_LV.java,
3761 gnu/java/locale/LocaleInformation_mi_NZ.java,
3762 gnu/java/locale/LocaleInformation_mk_MK.java,
3763 gnu/java/locale/LocaleInformation_mr_IN.java,
3764 gnu/java/locale/LocaleInformation_mt_MT.java,
3765 gnu/java/locale/LocaleInformation_nl_BE.java,
3766 gnu/java/locale/LocaleInformation_nl_NL.java,
3767 gnu/java/locale/LocaleInformation_nn_NO.java,
3768 gnu/java/locale/LocaleInformation_no_NO.java,
3769 gnu/java/locale/LocaleInformation_oc_FR.java,
3770 gnu/java/locale/LocaleInformation_pl_PL.java,
3771 gnu/java/locale/LocaleInformation_pt_BR.java,
3772 gnu/java/locale/LocaleInformation_pt_PT.java,
3773 gnu/java/locale/LocaleInformation_ro_RO.java,
3774 gnu/java/locale/LocaleInformation_ru_RU.java,
3775 gnu/java/locale/LocaleInformation_ru_UA.java,
3776 gnu/java/locale/LocaleInformation_se_NO.java,
3777 gnu/java/locale/LocaleInformation_sk_SK.java,
3778 gnu/java/locale/LocaleInformation_sl_SI.java,
3779 gnu/java/locale/LocaleInformation_sq_AL.java,
3780 gnu/java/locale/LocaleInformation_sr_YU.java,
3781 gnu/java/locale/LocaleInformation_sv_FI.java,
3782 gnu/java/locale/LocaleInformation_sv_SE.java,
3783 gnu/java/locale/LocaleInformation_ta_IN.java,
3784 gnu/java/locale/LocaleInformation_te_IN.java,
3785 gnu/java/locale/LocaleInformation_tg_TJ.java,
3786 gnu/java/locale/LocaleInformation_tl_PH.java,
3787 gnu/java/locale/LocaleInformation_tr_TR.java,
3788 gnu/java/locale/LocaleInformation_uk_UA.java,
3789 gnu/java/locale/LocaleInformation_ur_PK.java,
3790 gnu/java/locale/LocaleInformation_uz_UZ.java,
3791 gnu/java/locale/LocaleInformation_vi_VN.java,
3792 gnu/java/locale/LocaleInformation_yi_US.java,
3793 gnu/java/locale/LocaleInformation_zh_CN.java,
3794 gnu/java/locale/LocaleInformation_zh_HK.java,
3795 gnu/java/locale/LocaleInformation_zh_SG.java,
3796 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3797 info; from Classpath.
3799 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3800 isPaintPending): New methods.
3801 * gnu/awt/xlib/XFramePeer.java (getState, setState,
3802 setMaximizedBounds): New methods.
3803 (beginLayout, endLayout, isPaintPending): Likewise.
3804 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3805 (requestFocus): Likewise.
3806 (isObscured): Likewise.
3807 (canDetermineObscurity): Likewise.
3808 (coalescePaintEvent): Likewise.
3809 (updateCursorImmediately): Likewise.
3810 (createVolatileImage): Likewise.
3811 (handlesWheelScrolling): Likewise.
3812 (createBuffers): Likewise.
3813 (getBackBuffer): Likewise.
3815 (destroyBuffers): Likewise.
3817 * Makefile.in: Rebuilt.
3818 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3820 * gnu/java/awt/GLightweightPeer.java,
3821 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3822 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3823 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3824 gnu/java/awt/peer/gtk/GtkFramePeer.java,
3825 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3826 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3827 java/awt/dnd/peer/DragSourceContextPeer.java,
3828 java/awt/dnd/peer/DropTargetContextPeer.java,
3829 java/awt/peer/ButtonPeer.java,
3830 java/awt/peer/CheckboxMenuItemPeer.java,
3831 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3832 java/awt/peer/ComponentPeer.java,
3833 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3834 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3835 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3836 java/awt/peer/MenuBarPeer.java,
3837 java/awt/peer/MenuComponentPeer.java,
3838 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3839 java/awt/peer/PopupMenuPeer.java,
3840 java/awt/peer/ScrollPanePeer.java,
3841 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3842 java/awt/peer/TextComponentPeer.java,
3843 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3844 New versions from Classpath.
3845 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3846 * java/awt/peer/RobotPeer.java: Likewise.
3848 2003-03-01 Mark Wielaard <mark@klomp.org>
3850 * java/io/ObjectInputStream.java: Reindent.
3851 * java/io/ObjectOutputStream.java: Likewise.
3853 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
3855 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3856 jvalue for each argument. Simplify.
3857 * testsuite/libjava.jni/calls.c (docall),
3858 testsuite/libjava.jni/calls.java (longpb_f): check for argument
3861 2003-02-28 Mark Wielaard <mark@klomp.org>
3863 * Makefile.am (nat_source_files): Remove
3864 java/io/natObjectOutputStream.cc.
3865 * Makefile.in: Regenerated.
3866 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3867 * java/io/ObjectStreamField.java (typename): New field.
3868 (ObjectStreamField(String, Class)): Initialize new field.
3869 (ObjectStreamField(String, String)): New Constructor.
3870 (getTypeCode): Use new field.
3871 (getTypeString): Use new field.
3872 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3873 ObjectStreamExceptions. Remember and reset old BlockDataMode.
3874 Handle reading of Proxy classes. Never drain(), just write
3875 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3876 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3877 (flush): Call flush(), not just drain().
3878 (writeBoolean): Always use blockDataOutput.
3879 (writeByte): Likewise.
3880 (writeShort): Likewise.
3881 (writeChar): Likewise.
3882 (writeInt): Likewise.
3883 (writeLong): Likewise.
3884 (writeFloat): Likewise.
3885 (writeDouble): Likewise.
3886 (writeBytes): Likewise.
3887 (putfield (put(String,Object))): Throw IllegalArgumentException if
3888 field cannot be found.
3889 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3890 (writeArraySizeAndElements): Write byte[] in one go.
3891 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3892 set BlockDataMode to false.
3893 (annotateProxyClass): New method.
3894 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3895 (getField): No longer native.
3896 (getMethod): Likewise.
3897 (setBlockDataMode): Always drain() on switch, return old mode.
3898 (static): New static code block.
3899 * java/io/natObjectOutputStream.cc: Removed.
3900 * java/io/ObjectInputStream.java (getField): No longer native.
3901 (getMethod): Likewise.
3902 (readObject): Remember and reset old BlockDataMode. Track whether
3903 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3905 (defaultReadObject): Set BlockDataMode to false during readFields.
3906 (resolveClass): Create new SecurityManager if necessary.
3907 Use Class.forName() if null ClassLoader found.
3908 (read(byte[],int,int): Copy remaining bytes to data before calling
3910 (readFields): Set and reset BlockDataMode on call_read_method.
3911 Catch NoSuchFieldErrors.
3912 (setBlockDataMode): Return old mode.
3913 (static): New static code block.
3914 * java/io/natObjectInputStream.cc (getField): Removed.
3915 (getMethod): Likewise.
3917 2003-02-27 Michael Koch <konqueror@gmx.de>
3919 * java/beans/Beans.java,
3920 java/beans/FeatureDescriptor.java
3921 java/beans/PropertyEditorManager.java:
3922 Reformated to GNU style.
3924 2003-02-25 Michael Koch <konqueror@gmx.de>
3926 * gnu/java/nio/MappedByteFileBuffer.java,
3927 gnu/java/nio/natMappedByteFileBuffer.cc:
3928 New files, both are not compiled yet to get not noncompiling CVS.
3930 2003-02-24 Tom Tromey <tromey@redhat.com>
3932 * java/util/prefs/AbstractPreferences.java (isUserNode):
3935 2003-02-24 Tom Tromey <tromey@redhat.com>
3937 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3939 * java/lang/Thread.java (resume): Deprecate.
3940 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3943 2003-02-23 Tom Tromey <tromey@redhat.com>
3945 * Makefile.in: Rebuilt.
3946 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3948 2003-02-23 Tom Tromey <tromey@redhat.com>
3950 * java/lang/natRuntime.cc (libraries_size, libraries_count,
3951 libraries): Removed.
3952 (add_library): Removed.
3953 (_load): Don't call add_library.
3954 (loadLibraryInternal): Likewise.
3956 (lookup_data): New struct.
3957 (find_symbol): New function.
3958 (_Jv_FindSymbolInExecutable): Use it.
3960 2002-02-21 Anthony Green <green@redhat.com>
3962 * java/lang/Thread.java (Thread): New constructor taking stack
3963 size parameter (ignored for now).
3964 * Many methods: Merged GNU Classpath documentation.
3966 * java/lang/Class.java (finalize): throws a Throwable.
3968 2003-02-21 Mark Wielaard <mark@klomp.org>
3970 * java/util/zip/ZipEntry.java (setComment): Don't check length when
3973 2003-02-21 Mark Wielaard <mark@klomp.org>
3975 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3976 then 65535 chars throw IllegalArgumentException.
3978 2003-02-21 Mark Wielaard <mark@klomp.org>
3980 * java/util/zip/ZipFile.java (finalize): New method.
3982 2003-02-21 Michael Koch <konqueror@gmx.de>
3984 * gnu/java/nio/natSocketChannelImpl.cc:
3985 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3986 <cato@df.lth.se> for pointing to it.
3988 2003-02-20 Raif S. Naffah <raif@fl.net.au>
3990 * java/math/BigInteger.java (euclidInv): Take result array as an
3991 argument. Updated all callers.
3992 (modInverse): Removed unused variables.
3994 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
3996 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3998 * configure: Rebuilt.
4000 2003-02-19 Michael Koch <konqueror@gmx.de>
4002 * gnu/java/nio/natSocketChannelImpl.cc:
4003 Added support for platforms without network support.
4005 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
4007 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
4008 after config.h. Use <> for consistency.
4009 * java/lang/natObject.cc: Likewise.
4010 * java/lang/natRuntime.cc: Likewise.
4011 * java/lang/natSystem.cc: Likewise.
4012 * java/util/natTimeZone.cc: Likewise.
4013 * win32.cc: Likewise.
4014 * include/posix.h (fcntl, socket, connect, close, bind, accept,
4015 listen, write, read): Undef to avoid interference from OS macros.
4017 2003-02-19 Michael Koch <konqueror@gmx.de>
4019 * gnu/java/nio/ByteBufferImpl.java
4020 (ByteBufferImpl): Renamed two variables.
4021 * gnu/java/nio/CharBufferImpl.java
4022 (CharBufferImpl): Renamed two variables.
4023 * gnu/java/nio/DoubleBufferImpl.java
4024 (DoubleBufferImpl): Renamed two variables.
4025 * gnu/java/nio/FloatBufferImpl.java
4026 (FloatBufferImpl): Renamed two variables.
4027 * gnu/java/nio/IntBufferImpl.java
4028 (IntBufferImpl): Renamed two variables.
4029 * gnu/java/nio/LongBufferImpl.java
4030 (LongBufferImpl): Renamed two variables.
4031 * gnu/java/nio/ShortBufferImpl.java
4032 (ShortBufferImpl): Renamed two variables.
4033 * java/nio/CharBuffer.java
4034 (wrap): Fixed arguments to CharBufferImpl constructor.
4035 (hasArray): Only not read-only buffers have backing arrays.
4036 (length): Documentation added.
4037 (subSequence): Documentation added.
4038 * java/nio/DoubleBuffer.java
4039 (hasArray): Only not read-only buffers have backing arrays.
4040 * java/nio/FloatBuffer.java
4041 (hasArray): Only not read-only buffers have backing arrays.
4042 * java/nio/IntBuffer.java
4043 (hasArray): Only not read-only buffers have backing arrays.
4044 * java/nio/LongBuffer.java
4045 (hasArray): Only not read-only buffers have backing arrays.
4046 * java/nio/ShortBuffer.java
4047 (hasArray): Only not read-only buffers have backing arrays.
4049 2003-02-19 Michael Koch <konqueror@gmx.de>
4051 * javax/accessibility/AccessibleContext.java
4052 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4054 2003-02-19 Michael Koch <konqueror@gmx.de>
4056 * java/awt/ScrollPaneAdjustable.java: Reformated.
4058 2003-02-19 Michael Koch <konqueror@gmx.de>
4060 * gnu/awt/j2d/Graphics2DImpl.java
4061 (getFontRenderContext): New method.
4062 (drawGlyphVector): New method.
4063 * java/awt/Graphics2D.java
4064 (getFontRenderContext): New abstract method.
4065 (drawGlyphVector): New abstract method.
4067 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4069 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4072 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4073 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4074 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4075 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4076 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4077 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4078 (setFont, gtkSetFont): add.
4079 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4080 Propagate font to peer. (setFont): add FIXME comment.
4082 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4083 (gtkTextGetSize): fix height, width computation.
4085 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4086 Make X font name a bit less bogus.
4088 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4089 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4091 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4092 (processAdjustmentEvent): Adjust value.
4094 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4097 * java/awt/Component.java (setVisible, show, hide): Call show and
4098 hide methods in subclasses.
4099 (getPreferredSize): don't set prefSize before we have peer.
4101 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4102 Guess (0,0) if we don't have peer.
4105 2003-02-18 Michael Koch <konqueror@gmx.de>
4107 * java/nio/channels/FileChannel.java
4108 (toString): New implementation, added documentation.
4109 (map): Added exception documentation.
4110 (size): Added exception documentation.
4111 (write): New methods, documentation work.
4112 (read): New methods, documentation work.
4113 (implCloseChannel): Rewrote exception documentation.
4114 (force): Throws IOException, added documentation.
4115 (lock): New methods.
4116 (tryLock): New methods.
4117 (position): New methods.
4118 (transferTo): New method.
4119 (transferFrom): New method.
4120 (truncate): New method.
4121 * java/nio/channels/spi/SelectorProvider.java
4122 (provider): Implemented.
4124 (ordinary_java_source_files): Added the following files:
4125 gnu/java/nio/DatagramChannelImpl.java
4126 gnu/java/nio/FileChannelImpl.java
4127 gnu/java/nio/PipeImpl.java
4128 gnu/java/nio/SelectionKeyImpl.java
4129 gnu/java/nio/SelectorImpl.java
4130 gnu/java/nio/SelectorProviderImpl.java
4131 gnu/java/nio/ServerSocketChannelImpl.java
4132 gnu/java/nio/SocketChannelImpl.java
4133 java/nio/channels/FileLock.java
4134 (nat_java_source_files): Added the following files:
4135 gnu/java/nio/natFileChannelImpl.cc
4136 gnu/java/nio/natSelectorImpl.cc
4137 gnu/java/nio/natSocketChannelImpl.cc
4138 * Makefile.in: Regenerated.
4140 2003-02-17 Tom Tromey <tromey@redhat.com>
4142 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4143 * java/awt/image/ImageFilter.java: Likewise.
4145 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4147 * java/math/BigInteger.java (euclidInv): Return array of
4148 `BigInteger's. Changed all callers.
4150 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4152 * java/util/Properties.java (store): Move the code formerly in
4153 list(), into this method.
4154 (list (PrintStream)): Just call list (PrintWriter) with a
4155 PrintWriter object constructed from the given PrintStream object.
4156 (list (PrintWriter)): Emulate the output of Properties.list()
4157 as found in JDK 1.3/1.4.
4159 2003-02-17 Michael Koch <konqueror@gmx.de>
4161 * java/net/DatagramSocket.java
4162 (connect): Merged with classpath.
4163 (disconnect): Merged documentation with classpath.
4164 (receice): Merged documentation with classpath.
4165 (send): Merged documentation with classpath.
4167 2003-02-17 Michael Koch <konqueror@gmx.de>
4169 * java/awt/dnd/DragSourceContext.java
4170 (addDragSourceListener): Added documentation.
4171 * java/awt/dnd/DragSourceDragEvent.java
4172 (serialVersionUID): New member variable.
4173 (getDropAction): Reformated.
4174 * java/awt/dnd/DragSourceDropEvent.java
4175 (serialVersionUID): New member variable.
4176 (dropSuccess): Renamed from success for serialization issues.
4177 * java/awt/dnd/DragSourceEvent.java
4178 (serialVersionUID): New member variable.
4179 * java/awt/dnd/DropTarget.java
4180 (serialVersionUID): New member variable.
4181 (DropTarget): Implemented, documentation reworked.
4182 (setComponent): Documentation added.
4183 (getComponent): Documentation added.
4184 (setDefaultActions): Documentation added.
4185 (getDefaultActions): Documentation added.
4186 (addDropTargetListener): Documentation added.
4187 * java/awt/dnd/DropTargetContext.java
4188 (DropTargetContext): Documentation added.
4189 (TransferableProxy.TransferableProxy): New method.
4190 (dropComplete): Fixed documentation.
4191 (getTransferable): Fixed documentation.
4192 (createTransferableProxy): Implemented.
4193 * java/awt/dnd/DropTargetDragEvent.java
4194 (DropTargetDragEvent): Documentation added.
4195 (serialVersionUID): New member variable.
4196 (DropTargetDragEvent): Throw exceptions, documentation added.
4197 (acceptDrag): Implemented.
4198 (getCurrentDataFlavors): Implemented.3yy
4199 (getCurrentDataFlavorsAsList): Implemented.
4200 (isDataFlavorSupported): Implemented.
4201 (rejectDrag): Implemented.
4202 * java/awt/dnd/DropTargetDropEvent.java
4203 (DropTargetDropEvent): Documentation added.
4204 (serialVersionUID): New member variable.
4205 (actions): Renamed from srcActions for serialization issues.
4206 (isLocalTx): Renamed from isLocalTx for serialization issues.
4207 (DropTargetDropEvent): New implementation, throw exceptions,
4208 documentation added.
4209 (getCurrentDataFlavors): Implemented.
4210 (getCurrentDataFlavorsAsList): Implemented.
4211 (isDataFlavorSupported): Implemented.
4212 (getSourceActions): Implemented.
4213 (getDropAction): Implemented.
4214 (getTransferable): Implemented.
4215 (acceptDrop): Implemented.
4216 (rejectDrop): Implemented.
4217 * java/awt/dnd/DropTargetListener.java
4218 (drop): Fixed documentation.
4219 * java/awt/dnd/MouseDragGestureRecognizer.java
4220 (MouseDragGestureRecognizer): Documentation added.
4222 2003-02-17 Michael Koch <konqueror@gmx.de>
4224 * java/awt/font/FontRenderContext.java,
4225 java/awt/font/ShapeGraphicAttribute.java,
4226 java/awt/font/MultipleMaster.java,
4227 java/awt/font/TransformAttribute.java,
4228 java/awt/font/GlyphJustificationInfo.java,
4229 java/awt/font/LineBreakMeasurer.java,
4230 java/awt/font/TextMeasurer.java,
4231 java/awt/font/TextLayout.java,
4232 java/awt/font/LineMetrics.java,
4233 java/awt/font/TextAttribute.java,
4234 java/awt/font/GlyphMetrics.java,
4235 java/awt/font/OpenType.java,
4236 java/awt/font/GlyphVector.java,
4237 java/awt/font/GraphicAttribute.java,
4238 java/awt/font/ImageGraphicAttribute.java,
4239 java/awt/font/NumericShaper.java: New files.
4241 (awt_java_source_files): Added the following files:
4242 java/awt/font/FontRenderContext.java
4243 java/awt/font/ShapeGraphicAttribute.java
4244 java/awt/font/MultipleMaster.java
4245 java/awt/font/TransformAttribute.java
4246 java/awt/font/GlyphJustificationInfo.java
4247 java/awt/font/LineBreakMeasurer.java
4248 java/awt/font/TextMeasurer.java
4249 java/awt/font/TextLayout.java
4250 java/awt/font/LineMetrics.java
4251 java/awt/font/TextAttribute.java
4252 java/awt/font/GlyphMetrics.java
4253 java/awt/font/OpenType.java
4254 java/awt/font/GlyphVector.java
4255 java/awt/font/GraphicAttribute.java
4256 java/awt/font/ImageGraphicAttribute.java
4257 java/awt/font/NumericShaper.java
4258 * Makefile.in: Regenerated.
4260 2003-02-17 Michael Koch <konqueror@gmx.de>
4262 * java/awt/print/Paper.java
4263 (Paper): Implements Cloneable.
4264 * java/awt/print/PrinterJob.java
4265 (setJobName): Return value must be void.
4266 (print): Throws PrinterException.
4268 2003-02-16 Tom Tromey <tromey@redhat.com>
4270 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4273 2003-02-15 Michael Koch <konqueror@gmx.de>
4275 * java/awt/datatransfer/DataFlavor.java
4276 (isRepresentationClassByteBuffer): Removed try-catch block.
4277 (isRepresentationClassCharBuffer): Removed try-catch block.
4278 (isRepresentationClassReader): Removed try-catch block.
4280 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4282 * java/nio/charset/Charset.java
4283 (isRegistered): Fixed method args and implementation.
4284 * java/nio/charset/CharsetEncoder.java
4285 (unmappableCharacterAction): New method.
4287 2003-02-15 Michael Koch <konqueror@gmx.de>
4289 * java/awt/CheckboxMenuItem.java
4290 (CheckBoxMenuItem): Dont implement Serializable.
4291 (getListeners): New method,
4292 (getItemListeners): New method.
4293 * java/awt/Choice.java
4294 (getListeners): New method,
4295 (getItemListeners): New method.
4296 * java/awt/Container.java
4297 (getListeners): Added exception documentation.
4298 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4299 (getFocusTraversalKeys): Added documentation.
4300 (areFocusTraversalKeysSet): Added documentation.
4301 (applyComponentOrientation): Added documentation.
4302 * java/awt/ContainerOrderFocusTraversalPolicy.java
4303 (implicitDownCycleTraversal): Renamed from downCycle for
4305 (ContainerOrderFocusTraversalPolicy): Added documentation.
4306 (accept): Reformated.
4307 * java/awt/Dialog.java
4308 (Dialog): Dont implement Serializable.
4309 (Dialog): Added documentation.
4310 * java/awt/Font.java
4311 (Font): Dont use absolute class name.
4312 * java/awt/Frame.java
4313 (Frame): Font implement Serializable.
4314 * java/awt/List.java
4315 (getListeners): New method,
4316 (getActionListeners): New method.
4317 (getItemListeners): New method.
4318 * java/awt/Menu.java
4319 (countItems): New deprecated method.
4320 * java/awt/Scrollbar.java
4321 (getListeners): New method,
4322 (getAdjustmentListeners): New method,
4323 * java/awt/TextComponent.java
4324 (getListeners): New method,
4325 (getTextListeners): New method,
4326 * java/awt/TextField.java
4327 (getListeners): New method,
4328 (getActionListeners): New method.
4329 * java/awt/Window.java
4330 (windowFocusListener): New member variable.
4331 (windowStateListener): New member variable.
4332 (getWindowFocusListeners): New method.
4333 (getWindowStateListeners): New method.
4334 (addWindowFocusListener): New method.
4335 (addWindowStateListener): New method.
4336 (removeWindowFocusListener): New method.
4337 (removeWindowStateListener): New method.
4338 * java/awt/datatransfer/DataFlavor.java
4339 (isRepresentationClassByteBuffer): New method.
4340 (isRepresentationClassCharBuffer): New method.
4341 (isRepresentationClassReader): New method.
4343 2003-02-14 Mark Wielaard <mark@klomp.org>
4345 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4346 zero when there is an exponent and the significant is zero.
4347 (divide): Always set scale to newScale even in special ZERO case.
4349 2003-02-14 Tom Tromey <tromey@redhat.com>
4351 * java/lang/System.java (properties): Use Properties.clone.
4352 (setProperties): Likewise.
4354 2003-02-14 Michael Koch <konqueror@gmx.de>
4356 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4357 * gnu/java/nio/ServerSocketChannelImpl.java
4358 (SocketAccept): Removed.
4359 (accept): Commented out use of SocketAccept.
4361 2003-02-13 Tom Tromey <tromey@redhat.com>
4363 * verify.cc (state::seen_subrs): New field.
4364 (state::state): Initialize it.
4365 (state::clean_subrs): New method.
4366 (state::~state): Call it.
4367 (state::copy): Copy subroutine list.
4368 (state::add_subr): New method.
4369 (state::merge): Only register a change if the current subroutine
4370 hasn't yet been noted.
4372 2003-02-13 Mark Wielaard <mark@klomp.org>
4374 * java/io/InputStreamReader.java (getEncoding): Return null when
4376 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4378 2003-02-13 Mark Wielaard <mark@klomp.org>
4380 * java/util/zip/InflaterInputStream.java (read): Return zero when len
4383 2003-02-13 Mark Wielaard <mark@klomp.org>
4385 * java/io/BufferedOutputStream.java (write(int)): Only flush when
4386 next byte cannot be buffered.
4388 2003-02-13 Michael Koch <konqueror@gmx.de>
4390 * java/awt/Label.java
4391 (Label): Don't implement Serializable directly.
4392 (addNotify): Fixed typo in documentation.
4393 * java/awt/List.java
4394 (List): Don't implement Serializable directly.
4395 * java/awt/PopupMenu.java
4396 (PopupMenu): Don't implement Serializable directly.
4397 * java/awt/ScrollPane.java
4398 (ScrollPane): Don't implement Serializable directly.
4399 * java/awt/Scrollbar.java
4400 (Scrollbar): Don't implement Serializable directly.
4401 * java/awt/TextArea.java
4402 (preferredSize): Fixed method arguments.
4403 * java/awt/TextField.java
4404 (TextField): Don't implement Serializable directly.
4405 * java/awt/color/ICC_ColorSpace.java
4406 (fromCIOXYZ): Documentation added.
4407 (getMinValue): Documentation added.
4408 (getMaxValue): Documentation added.
4409 * java/awt/datatransfer/DataFlavor.java
4410 (isMimeTypeEqual): May not be final.
4411 (clone): Throws CloneNotSupportedException.
4412 (getReaderForText): Don't throws UnsupportedEncodingException.
4414 2003-02-13 Michael Koch <konqueror@gmx.de>
4416 * gnu/java/awt/peer/gtk/GdkGraphics.java
4417 (drawString): New stubbed method.
4418 * java/awt/Graphics.java
4419 (drawString): New method.
4421 2003-02-13 Casey Marshall <rsdio@metastatic.org>
4424 * java/security/SecureRandom.java (next): Avoid bias in results.
4426 2003-02-13 Michael <konqueror@gmx.de>
4428 * gnu/java/nio/FileChannelImpl.java
4429 (lengthInternal): Must be native.
4430 (size): Check if channel is already closed.
4431 (implCloseChannel): Reformated.
4432 (read): w was unused, removed it.
4435 (write): New method.
4436 (map): Check arguments.
4437 (force): Throws IOException, check if channel is closed.
4438 (transferTo): New method.
4439 (transferFrom): New method.
4441 (tryLock): New method.
4442 (position): New method.
4443 (truncate): New method.
4444 (nio_mmap_file): Uncommented.
4445 (nio_munmap_file): Uncommented.
4446 (nio_msync): Uncommented.
4447 * gnu/java/nio/natFileChannelImpl.cc: New file.
4449 2003-02-13 Michael Koch <konqueror@gmx.de>
4451 * java/nio/ByteBuffer.java
4452 (endian): New member variable.
4454 (equals): New method.
4455 (compareTo): New method.
4456 (order): New methods.
4457 (compact): New method.
4458 (isDirect): New method.
4459 (slice): New method.
4460 (duplicate): New method.
4461 (asReadOnlyBuffer): New method.
4462 (asCharBuffer): New method.
4463 (asDoubleBuffer): New method.
4464 (asFloatBuffer): New method.
4465 (asIntBuffer): New method.
4466 (asLongBuffer): New method.
4467 (asShortBuffer): New method.
4468 (get*): New methods.
4469 (put*): New methods.
4470 (toString): New method.
4471 * java/nio/CharBuffer.java
4472 (CharBuffer): Implement Comparable instead of Cloneable.
4473 (get): May not be final.
4474 (put): May not be final.
4476 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
4478 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4479 lastIndexOf( ) instead of indexOf( ) to find the colon before
4480 the line number, because Win32 file names might contain a
4481 drive letter and a colon at the start of an absolute path.
4483 2003-02-13 Michael Koch <konqueror@gmx.de>
4485 * gnu/java/nio/natSocketChannelImpl.cc
4486 (SocketConnect): This is not implemented yet.
4487 (SocketBind): This is not implemented yet.
4489 2003-02-13 Michael Koch <konqueror@gmx.de>
4491 * gnu/java/nio/natByteBufferImpl.cc,
4492 gnu/java/nio/natCharBufferImpl.cc,
4493 gnu/java/nio/natDoubleBufferImpl.cc,
4494 gnu/java/nio/natFloatBufferImpl.cc,
4495 gnu/java/nio/natIntBufferImpl.cc,
4496 gnu/java/nio/natLongBufferImpl.cc,
4497 gnu/java/nio/natShortBufferImpl.cc:
4498 Added copyright and license.
4499 * java/nio/DoubleBuffer.java,
4500 java/nio/FloatBuffer.java,
4501 java/nio/IntBuffer.java,
4502 java/nio/LongBuffer.java,
4503 java/nio/ShortBuffer.java
4504 (array): Throw exceptions.
4505 (arrayOffset): Throw exceptions.
4507 2003-02-13 Michael Koch <konqueror@gmx.de>
4509 * gnu/java/util/prefs/FileBasedFactory.java,
4510 gnu/java/util/prefs/MemmoryBasedFactory.java,
4511 gnu/java/util/prefs/MemoryBasedPreferences.java,
4512 gnu/java/util/prefs/NodeReader.java,
4513 gnu/java/util/prefs/NodeWriter.java,
4514 java/util/prefs/AbstractPreferences.java,
4515 java/util/prefs/BackingStoreException.java,
4516 java/util/prefs/InvalidPreferencesFormatException.java,
4517 java/util/prefs/NodeChangeEvent.java,
4518 java/util/prefs/NodeChangeListener.java,
4519 java/util/prefs/PreferenceChangeEvent.java,
4520 java/util/prefs/PreferenceChangeListener.java,
4521 java/util/prefs/Preferences.java,
4522 java/util/prefs/PreferencesFactory.java:
4523 New files, all merged from classpath.
4525 (ordinary_java_source_files): Added the following files:
4526 gnu/java/util/prefs/FileBasedFactory.java,
4527 gnu/java/util/prefs/MemmoryBasedFactory.java,
4528 gnu/java/util/prefs/MemoryBasedPreferences.java,
4529 gnu/java/util/prefs/NodeReader.java,
4530 gnu/java/util/prefs/NodeWriter.java,
4531 (core_java_source_files): Added the following files:
4532 java/util/prefs/AbstractPreferences.java,
4533 java/util/prefs/BackingStoreException.java,
4534 java/util/prefs/InvalidPreferencesFormatException.java,
4535 java/util/prefs/NodeChangeEvent.java,
4536 java/util/prefs/NodeChangeListener.java,
4537 java/util/prefs/PreferenceChangeEvent.java,
4538 java/util/prefs/PreferenceChangeListener.java,
4539 java/util/prefs/Preferences.java,
4540 java/util/prefs/PreferencesFactory.java
4541 * Makefile.in: Regenerated.
4543 2003-02-13 Michael Koch <konqueror@gmx.de>
4545 * java/net/NetPermission.java
4546 (NetPermission): Make doucmentation match the method declaration.
4547 * java/net/NetworkInterface.java
4548 (equals): Reformated for GNU coding style.
4549 * java/net/ServerSocket.java: Merged with classpath.
4550 * java/net/Socket.java: Partly merged with classpath (Added some @since).
4551 * java/net/SocketImpl.java
4552 (localPort): Merged with classpath (initialize with -1).
4553 * java/net/SocketPermission.java: Merged with classpath (reindented).
4554 * java/net/URLDecoder.java: Merged with classpath (reindented).
4556 2003-02-13 Michael Koch <konqueror@gmx.de>
4558 * java/awt/GridBagConstraints.java
4559 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4560 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4561 * java/awt/KeyboardFocusManager.java
4562 (setGlobalCurrentFocusCycleRoot): Must be public.
4563 * java/awt/MenuComponent.java
4564 (MenuComponent): Must be public.
4565 * java/awt/Toolkit.java:
4566 Added some empty lines to make documentation more readable.
4567 (getFontPeer): Added @deprecated.
4568 (getColorModel): Added exception documentation.
4569 (getProperty): Fixed documentation.
4571 2003-02-12 Jeff Sturm <jsturm@one-point.com>
4573 * configure.host (alpha*-*): Default to -mieee.
4574 * configure.in (IEEESPEC): New.
4575 * libgcj.spec.in (jc1): Add IEEESPEC.
4576 * configure: Rebuild.
4578 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4580 * include/win32.h: Include ws2tcpip.h instead of
4581 winsock.h to obtain definition of the socklen_t type.
4582 Remove IP_TOS definition - not needed with ws2tcpip.h
4583 (_Jv_connect): Correct slight formatting error.
4585 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4587 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4588 size of the arguments for a JNI function. For Win32,
4589 modify to search for all forms of possible exported
4590 names of an stdcall JNI function.
4591 (_Jv_JNIMethod::call): Modify to calculate the size
4592 of the arguments passed to a JNI function and pass
4593 it to _Jv_LookupJNIMethod.
4595 2003-02-12 Michael Koch <konqueror@gmx.de>
4597 * java/nio/channels/Channels.java: New file.
4599 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4600 * Makefile.in: Regenerated.
4602 2003-02-12 Michael Koch <konqueror@gmx.de>
4604 * java/nio/ByteBuffer.java
4605 (allocate): Implemented.
4606 (wrap): Implemented.
4607 * java/nio/CharBuffer.java:
4608 Some documentation added and reworked.
4610 (allocate): Implemented.
4611 (wrap): Implemented.
4612 (array): Throw exceptions.
4613 (arrayOffset): Throw exceptions.
4614 (toString): Implemented.
4615 (length): Implemented.
4617 (charAt): Implemented.
4619 2003-02-11 John Leuner <jewel@debian.org>
4621 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
4622 reads from end of file.
4624 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
4626 * java/io/natFileDescriptorWin32.cc
4627 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4628 returns with Win32 error code ERROR_BROKEN_PIPE.
4630 2003-02-11 Michael Koch <konqueror@gmx.de>
4633 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4635 2003-02-11 Michael Koch <konqueror@gmx.de>
4637 * gnu/java/nio/ByteBufferImpl.java:
4638 Reformated and removed some code.
4639 (backing_buffer): Removed.
4640 (array_offset): Removed.
4641 (ro): Renamed to readOnly.
4642 (ByteBufferImpl): Use parent constructor, initialize readOnly.
4643 * gnu/java/nio/CharBufferImpl.java:
4644 Reformated and removed some code.
4645 (array_offset): Removed.
4646 (ro): Renamed to readOnly.
4647 (CharBufferImpl): Use parent constructor, initialize readOnly.
4649 (order): New method.
4650 * gnu/java/nio/DoubleBufferImpl.java:
4651 Reformated and removed some code.
4652 (array_offset): Removed.
4653 (ro): Renamed to readOnly.
4654 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4656 (order): New method.
4657 * gnu/java/nio/FloatBufferImpl.java:
4658 Reformated and removed some code.
4659 (array_offset): Removed.
4660 (ro): Renamed to readOnly.
4661 (FloatBufferImpl): Use parent constructor, initialize readOnly.
4663 (order): New method.
4664 * gnu/java/nio/IntBufferImpl.java:
4665 Reformated and removed some code.
4666 (array_offset): Removed.
4667 (ro): Renamed to readOnly.
4668 (IntBufferImpl): Use parent constructor, initialize readOnly.
4670 (order): New method.
4671 * gnu/java/nio/LongBufferImpl.java:
4672 Reformated and removed some code.
4673 (array_offset): Removed.
4674 (ro): Renamed to readOnly.
4675 (LongBufferImpl): Use parent constructor, initialize readOnly.
4677 (order): New method.
4678 * gnu/java/nio/ShortBufferImpl.java:
4679 Reformated and removed some code.
4680 (array_offset): Removed.
4681 (ro): Renamed to readOnly.
4682 (ShortBufferImpl): Use parent constructor, initialize readOnly.
4684 (order): New method.
4686 (ordinary_java_source_files): Added the following files:
4687 gnu/java/nio/ByteBufferImpl.java
4688 gnu/java/nio/CharBufferImpl.java
4689 gnu/java/nio/DoubleBufferImpl.java
4690 gnu/java/nio/FloatBufferImpl.java
4691 gnu/java/nio/IntBufferImpl.java
4692 gnu/java/nio/LongBufferImpl.java
4693 gnu/java/nio/ShortBufferImpl.java
4694 java/nio/DoubleBuffer.java
4695 java/nio/FloatBuffer.java
4696 java/nio/IntBuffer.java
4697 java/nio/LongBuffer.java
4698 java/nio/ShortBuffer.java
4699 (nat_source_files): Added the following files:
4700 gnu/java/nio/natByteBufferImpl.cc
4701 gnu/java/nio/natCharBufferImpl.cc
4702 gnu/java/nio/natDoubleBufferImpl.cc
4703 gnu/java/nio/natFloatBufferImpl.cc
4704 gnu/java/nio/natIntBufferImpl.cc
4705 gnu/java/nio/natLongBufferImpl.cc
4706 gnu/java/nio/natShortBufferImpl.cc
4707 * Makefile.in: Regenerated.
4709 2003-02-11 Michael Koch <konqueror@gmx.de>
4711 * gnu/java/nio/natCharBufferImpl.cc
4712 (nio_cast): Removed.
4713 (nio_put_*): Removed.
4714 (nio_get_*): Removed.
4715 * gnu/java/nio/natDoubleBufferImpl.cc
4716 (nio_cast): Removed.
4717 (nio_put_*): Removed.
4718 (nio_get_*): Removed.
4719 * gnu/java/nio/natFloatBufferImpl.cc
4720 (nio_cast): Removed.
4721 (nio_put_*): Removed.
4722 (nio_get_*): Removed.
4723 * gnu/java/nio/natIntBufferImpl.cc
4724 (nio_cast): Removed.
4725 (nio_put_*): Removed.
4726 (nio_get_*): Removed.
4727 * gnu/java/nio/natLongBufferImpl.cc
4728 (nio_cast): Removed.
4729 (nio_put_*): Removed.
4730 (nio_get_*): Removed.
4731 * gnu/java/nio/natShortBufferImpl.cc
4732 (nio_cast): Removed.
4733 (nio_put_*): Removed.
4734 (nio_get_*): Removed.
4735 * gnu/java/nio/SelectorProviderImpl.java
4736 (openDatagramChannel): Throws IOException.
4737 (openPipe): Throws IOException.
4738 (openSelector): Throws IOException.
4739 (openServerSocketChannel): Throws IOException.
4740 (openSocketChannel): Throws IOException.
4741 * gnu/java/nio/ServerSocketChannelImpl.java
4742 (ServerSocketChannelImpl): Throws IOException.
4743 (implCloseSelectableChannel): Throws IOException.
4744 (implConfigureBlocking): Throws IOException.
4745 * java/nio/ByteBuffer.java
4746 (readOnly): Removed.
4747 (hasArray): Use isReadOnly() instead of readOnly.
4748 (array): Use isReadOnly() instead of readOnly.
4749 (arrayOffset): Use isReadOnly() instead of readOnly.
4750 * java/nio/CharBuffer.java
4751 (CharBuffer): Implements Cloneable and CharSequence.
4753 2003-02-11 Michael Koch <konqueror@gmx.de>
4755 * java/nio/DoubleBuffer.java
4756 (DoubleBuffer): Implements Comparable.
4758 (array_offset): New member variable.
4759 (DoubleBuffer): New constuctor.
4760 (get): May not be final.
4761 (put): May not be final.
4762 (arrayOffset): Implemented.
4763 (order): Made abstract.
4765 (as*Buffer): Removed.
4768 * java/nio/FloatBuffer.java
4769 (FloatBuffer): Implements Comparable.
4771 (array_offset): New member variable.
4772 (FloatBuffer): New constuctor.
4773 (get): May not be final.
4774 (put): May not be final.
4775 (arrayOffset): Implemented.
4776 (order): Made abstract.
4778 (as*Buffer): Removed.
4781 * java/nio/IntBuffer.java
4782 (IntBuffer): Implements Comparable.
4784 (array_offset): New member variable.
4785 (IntBuffer): New constuctor.
4786 (get): May not be final.
4787 (put): May not be final.
4788 (arrayOffset): Implemented.
4789 (order): Made abstract.
4791 (as*Buffer): Removed.
4794 * java/nio/LongBuffer.java
4795 (LongBuffer): Implements Comparable.
4797 (array_offset): New member variable.
4798 (LongBuffer): New constuctor.
4799 (get): May not be final.
4800 (put): May not be final.
4801 (arrayOffset): Implemented.
4802 (order): Made abstract.
4804 (as*Buffer): Removed.
4807 * java/nio/ShortBuffer.java
4808 (ShortBuffer): Implements Comparable.
4810 (array_offset): New member variable.
4811 (ShortBuffer): New constuctor.
4812 (get): May not be final.
4813 (put): May not be final.
4814 (arrayOffset): Implemented.
4815 (order): Made abstract.
4817 (as*Buffer): Removed.
4821 2003-02-11 Michael Koch <konqueror@gmx.de>
4823 * java/nio/channels/SelectionKey.java
4824 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4827 2003-02-11 Michael Koch <konqueror@gmx.de>
4829 * java/nio/channels/DatagramChannel.java
4830 (write): Throws IOException.
4831 (connect): Throws IOException.
4832 (disconnect): Throws IOException.
4833 (read): Throws IOException.
4834 (receive): Throws IOException.
4835 (send): Throws IOException.
4836 * java/nio/channels/Pipe.java
4837 (open): Throws IOException.
4838 * java/nio/channels/SelectableChannel.java
4839 (configureBlocking): Throws IOException.
4840 * java/nio/channels/ServerSocketChannel.java
4841 (accept): Throws IOException.
4842 * java/nio/channels/SocketChannel.java
4843 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4844 GatheringByteChannel.
4845 (read): Throws IOException.
4846 (write): Throws IOException.
4847 (finishConnect): Throws IOException.
4848 * java/nio/channels/spi/AbstractInterruptibleChannel.java
4849 (end): Throws AsynchronousCloseException.
4850 * java/nio/channels/spi/AbstractSelectableChannel.java
4851 (configureBlocking): Throws IOException.
4852 (implCloseChannel): Throws IOException.
4853 (implCloseSelectableChannel): Throws IOException.
4854 (implConfigureBlocking): Throws IOException.
4855 * java/nio/channels/spi/SelectorProvider.java
4856 (openDatagramChannel): Throws IOException.
4857 (openPipe): Throws IOException.
4858 (openSelector): Throws IOException.
4859 (openServerSocketChannel): Throws IOException.
4860 (openSocketChannel): Throws IOException.
4862 2003-02-11 Michael Koch <konqueror@gmx.de>
4864 * gnu/java/nio/FileLockImpl.java,
4865 java/nio/channels/FileLock.java: New files.
4867 2003-02-11 Michael Koch <konqueror@gmx.de>
4869 * java/nio/charset/IllegalCharsetNameException.java
4870 (serialVersionUID): New member variable.
4871 (charsetName): New member variable.
4872 (IllegalCharsetException): New implementation.
4873 (getCharsetName): New implementation.
4874 * java/nio/charset/UnsupportedCharsetException.java
4875 (serialVersionUID): New member variable.
4876 (charsetName): New member variable.
4877 (UnsupportedCharsetException): New implementation.
4878 (getCharsetName): New implementation.
4880 2003-02-10 Tom Tromey <tromey@redhat.com>
4882 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4883 (ex): Renamed from sqlException.
4885 2003-02-10 Raif S. Naffah <raif@fl.net.au>
4887 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
4888 method used to ensure seeding has occurred and that a specific
4889 seed can be set and used.
4891 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
4893 * java/lang/Win32Process.java (destroy): Declare as native.
4894 (hasExited): New native method.
4895 (exitValue): Define.
4896 (getErrorStream): Likewise.
4897 (getInputStream): Likewise.
4898 (getOutputStream): Likewise.
4899 (waitFor): Declare as native.
4900 (startProcess): New native method.
4901 (cleanup): Likewise.
4902 (ConcreteProcess): Define.
4903 (outputStream, inputStream, errorStream): New members.
4904 (procHandle, exitCode): Likewise.
4906 * java/lang/natWin32Process.cc
4907 (java::lang::ConcreteProcess::cleanup): Define.
4908 (java::lang::ConcreteProcess::destroy): Likewise.
4909 (java::lang::ConcreteProcess::hasExited): Likewise.
4910 (java::lang::ConcreteProcess::waitFor): Likewise.
4911 (new_string): Likewise.
4912 (java::lang::ConcreteProcess::startProcess): Likewise.
4914 2003-02-10 Raif S. Naffah <raif@fl.net.au>
4916 * java/math/BigInteger.java:
4917 Updated notice to include years 2002 and 3.
4918 Added 2 private (int) arrays with values from the HAC (Handbook of
4919 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4920 and t[] that contains nbr. of tests --used in isProbablePrime().
4922 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4924 * java/math/BigInteger.java (make(int[],int), add(int,int),
4925 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4926 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4927 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4930 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4931 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4932 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4933 BIs and returns void.
4934 (modInverse(BI)): Use new signatures of euclidInv().
4936 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4937 static small primes instead of remainder().
4938 Use pre-computed max nbr of trials based on bitlength of BI to test.
4939 Use pre-computed small primes for the trial tests instead of random
4942 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4945 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4946 invoacation of MPN.chars_per_word(). not used.
4948 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4949 local var and used where needed.
4951 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4952 Combined declaration with initialisation of locals.
4955 * java/math/BigInteger.java: Style changes
4956 (pow(int)): Removed 'else' keyword.
4957 (toString(int)): idem.
4958 (doubleValue()): idem.
4959 (bitLength()): idem.
4960 (equals(Object)): Use static methods name in same class w/o prepending
4962 (doubleValue()): idem.
4963 (setNegative(BI)): idem.
4965 (and(BI,int)): idem.
4968 (byteArrayToIntArray()): Removed casting to (int). this is
4970 (canonicalize()): idem.
4971 (alloc(int)): Always instantiate a new BI.
4973 2003-02-10 Tom Tromey <tromey@redhat.com>
4975 * java/sql/Timestamp.java (compareTo(Object)): New method.
4976 (compareTo(Timestamp)): Likewise.
4977 (serialVersionUID): Updated.
4979 2003-02-07 Mark Wielaard <mark@klomp.org>
4981 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4982 when verify is true.
4983 (JarFile(File, boolean)): Likewise.
4984 (manifestRead): Set manifestRead field correctly.
4986 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
4988 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4989 tests; see patch #1016 on Savannah.
4991 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
4993 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4994 (toString): do not return Strings starting with . and - erroneously.
4995 Improves Mauve results to 12 of 600 instead of 16 of 338 on
4998 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5000 * java/beans/PropertyDescriptor.java
5001 (PropertyDescriptor(String, Class)): Sanity check getter and setter
5003 (PropertyDescriptor(String, Class, String, String)): Likewise.
5004 (PropertyDescriptor(String, Method, Method): Factor out getter and
5005 setter method sanity checks into new method.
5006 (findMethods): Don't do parameter sanity checking of get method here.
5007 (checkMethods): New method.
5009 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
5011 * java/beans/PropertyDescriptor.java: Reformat.
5013 2003-02-04 Tom Tromey <tromey@redhat.com>
5015 * java/io/PipedOutputStream.java (flush): Declare as throwing
5018 * java/io/PipedWriter.java (close): Declare as throwing
5020 * java/io/StringWriter.java (close): Declare as throwing
5023 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5025 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
5026 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
5027 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5028 "_JNI_OnLoad@8" (MSVC).
5030 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5032 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5033 convention on Win32 to invoke native JNI methods.
5035 2003-02-03 Andrew Haley <aph@redhat.com>
5037 * configure.host (x86_64): Enable interpreter.
5039 2003-02-03 Andrew Haley <aph@redhat.com>
5041 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5042 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5043 * configure.in (BACKTRACESPEC): New.
5044 * configure: Regenerate.
5046 2003-02-02 Tom Tromey <tromey@redhat.com>
5048 * configure: Rebuilt.
5049 * configure.in (TOOLKIT) [xlib]: Set correctly.
5051 * Makefile.in: Rebuilt.
5052 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5055 2003-01-31 Mark WIelaard <mark@klomp.org>
5057 * Makefile.in: Rebuilt.
5058 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5060 2003-01-31 Tom Tromey <tromey@redhat.com>
5062 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5063 cast to element type.
5064 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5065 (_Jv_JNI_GetObjectArrayElement): Likewise.
5067 * Makefile.in: Rebuilt.
5068 * Makefile.am (cond_x_ltlibrary): Renamed library to
5069 lib-gnu-awt-xlib.la.
5070 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5071 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5072 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5073 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5074 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5075 (lib_gnu_awt_xlib_la_LINK): Likewise.
5076 (install-exec-hook): Removed.
5077 (lib-gnu-awt-xlib.la): Renamed.
5079 2003-01-31 Tom Tromey <tromey@redhat.com>
5081 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5082 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5083 aclocal.m4 and lost in some merge.
5085 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5086 Don't try to find graphics configuration.
5087 * java/awt/Toolkit.java (default_toolkit_name): Use new
5088 Configuration entry.
5089 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5091 * configure: Rebuilt.
5092 * configure.in (TOOLKIT): New subst.
5093 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5094 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5095 directory. Make output directories for .c files.
5096 * Makefile.in: Rebuilt.
5097 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5098 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5099 (all_java_source_files): Added new sources.
5100 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5101 (gtk_c_files): New macro.
5102 (gtk_c_source_files): New macro.
5103 (cond_gtk_ltlibrary): New macro.
5104 ($(gtk_c_files)): New target.
5105 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5106 (gtk_awt_peer_sources): New macro.
5107 (gtk_c_headers): New macro.
5108 ($(gtk_c_headers)): New target.
5109 (ACLOCAL_AMFLAGS): New macro.
5110 * gtk.m4, glib.m4, libart.m4: New files.
5111 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5112 gnu/java/awt/peer/gtk/GdkGraphics.java,
5113 gnu/java/awt/peer/gtk/GtkArg.java,
5114 gnu/java/awt/peer/gtk/GtkArgList.java,
5115 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5116 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5117 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5118 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5119 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5120 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5121 gnu/java/awt/peer/gtk/GtkClipboard.java,
5122 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5123 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5124 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5125 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5126 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5127 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5128 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5129 gnu/java/awt/peer/gtk/GtkImage.java,
5130 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5131 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5132 gnu/java/awt/peer/gtk/GtkListPeer.java,
5133 gnu/java/awt/peer/gtk/GtkMainThread.java,
5134 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5135 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5136 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5137 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5138 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5139 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5140 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5141 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5142 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5143 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5144 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5145 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5146 gnu/java/awt/peer/gtk/GtkToolkit.java,
5147 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5148 gnu/java/awt/peer/gtk/TestAWT.java,
5149 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5151 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5152 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5153 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5154 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5155 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5156 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5157 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5158 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5159 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5160 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5161 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5162 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5163 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5164 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5165 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5166 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5167 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5168 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5169 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5170 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5171 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5172 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5173 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5174 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5175 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5176 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5177 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5178 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5179 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5180 jni/classpath/native_state.c, jni/classpath/native_state.h,
5181 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5183 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5185 * java/util/Properties.java (load): Ignore backslash before EOF.
5187 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5189 * java/lang/natClass.cc (initializeClass): Check tables when
5190 (state == JV_STATE_IN_PROGRESS).
5191 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5192 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5193 interpreted classes.
5194 (linkClass0): Use _Jv_WaitForState.
5196 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5198 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5199 object when finished.
5201 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5203 * libjava/configure.host: Disable can_unwind_signal on darwin.
5205 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5208 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5209 additionally containing id of the owner thread as well as
5210 the number of nested times the thread has acquired the mutex.
5211 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5212 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5213 (_Jv_MutexUnlock): Check if really the owner thread, reset
5214 owner thread id to 0 before leaving, if leaving for the last
5216 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5218 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5219 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5221 Pass handle of the broadcast event, instead of a pointer to it
5222 in Win32 ResetEvent( ) call.
5223 Remove incorrect return values.
5224 (_Jv_CondDestroy): Close both event handles and delete
5226 (_Jv_CondNotify): Check if really the owner thread.
5227 (_Jv_CondNotifyAll): Check if really the owner thread.
5228 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5229 (really_start): Use SetEvent( ) to signal daemon_cond.
5230 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5231 WaitForSingleObject( ) instead to wait for daemon_cond to be
5234 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5236 * configure.in: Specifically define HAVE_BACKTRACE if building
5238 * include/win32.h: Remove HAVE_BACKTRACE definition.
5239 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5240 * configure: Rebuilt.
5242 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5244 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5245 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5246 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5247 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5248 * Makefile.in, configure: Rebuilt.
5250 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5253 * java/io/natFileWin32.cc (performList): Append only "*.*"
5254 if the canonical file path already has a "\" at the end.
5256 2003-01-24 Tom Tromey <tromey@redhat.com>
5258 * defineclass.cc (handleMethodsEnd): Precompute code for static
5260 (handleCodeAttribute): Likewise.
5261 * resolve.cc (ncode): Use run_class for unsynchronized static
5263 * include/java-interp.h (class _Jv_InterpMethod): Declare
5265 * interpret.cc (run_synch_class): Initialize class.
5266 (run) [insn_invokestatic]: Don't initialize class.
5267 [insn_anewarray]: Likewise.
5268 [insn_multianewarray]: Likewise.
5269 (run_class): New function.
5271 2003-01-24 Tom Tromey <tromey@redhat.com>
5273 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5276 2003-01-22 Andrew Haley <aph@redhat.com>
5278 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5279 * configure.host (CHECKREFSPEC): Define for x86_64.
5281 2003-01-21 Tom Tromey <tromey@redhat.com>
5283 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5286 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5288 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5289 looking at any characters.
5290 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5292 (isAbsolute): Check path's length as well.
5294 2003-01-17 Mark Wielaard <mark@klomp.org>
5296 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5297 (nat_source_files): Add natVMObjectStreamClass.cc.
5298 * Makefile.in: Regenerated.
5299 * gcj/javaprims.h (namespace java): Regenerated.
5300 * java/io/ObjectStreamClass.java (getClassUID): Call
5301 VMObjectStreamClass.hasClassInitializer().
5302 (hasClassInitializer): Removed.
5303 * java/io/VMObjectStreamClass.java: New class.
5304 * java/io/natVMObjectStreamClass.cc: New file.
5305 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5307 2003-01-16 Mark Wielaard <mark@klomp.org>
5309 * java/net/SocketImpl.java (toString): Don't explicitly call
5310 toString() on possible null address.
5312 2003-01-16 Michael Koch <konqueror@gmx.de>
5314 * java/net/MulticastSocket.java
5315 (setInterface): Reindented.
5317 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5319 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5320 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5321 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5322 translateY arguments. Implement.
5323 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5324 down translation arguments.
5325 (drawPolyline, drawPolygon): Fix incorrect tests.
5326 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5327 translateX and translateY arguments.
5329 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5331 * Makefile.in: Rebuilt.
5332 * Makefile.am (xlib_includes): New macro.
5335 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5337 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5338 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5339 16-bit display mode.
5341 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5343 * java/awt/CardLayout.java (show): Rewrote.
5344 (gotoComponent): Removed `target' argument. Simplified code.
5345 Don't pre-compute `choice' unless `what' is FIRST or LAST.
5346 Changed all callers.
5349 2003-01-14 Michael Koch <konqueror@gmx.de>
5351 * java/net/InetSocketAddress.java
5352 (serialVersionUID): New member variable.
5353 * java/net/NetPermission.java
5354 (NetPermission): Dont implement java.io.Serialization directly.
5355 * java/net/SocketAddress.java:
5356 (serialVersionUID): Documentation added.
5358 2003-01-14 Michael Koch <konqueror@gmx.de>
5360 * java/awt/Label.java
5361 (Label): Implements javax.accessibility.Accessible;
5362 * java/awt/List.java
5363 (List): Implements javax.accessibility.Accessible;
5364 * java/awt/ScrollPane.java
5365 (ScrollPane): Implements javax.accessibility.Accessible;
5366 * java/awt/Scrollbar.java
5367 (Scrollbar): Implements javax.accessibility.Accessible;
5368 * java/awt/TextComponent.java
5369 (setCaretPosition): Throw exception, documentation added.
5370 * java/awt/Toolkit.java:
5371 Added some newlines in method documentations.
5372 (createButton): Exception documentation added.
5373 (createTextField): Exception documentation added.
5374 (createLabel): Exception documentation added.
5375 (createList): Exception documentation added.
5376 (createCheckbox): Exception documentation added.
5377 (createScrollbar): Exception documentation added.
5378 (createScrollPane): Exception documentation added.
5379 (createTextArea): Exception documentation added.
5380 (createChoice): Exception documentation added.
5381 (createFrame): Exception documentation added.
5382 (createWindow): Exception documentation added.
5383 (createDialog): Exception documentation added.
5384 (createMenuBar): Exception documentation added.
5385 (createMenu): Exception documentation added.
5386 (createMenuItem): Exception documentation added.
5387 (createFileDialog): Exception documentation added.
5388 (createCheckboxMenuItem): Exception documentation added.
5389 (loadSystemColors): Exception documentation added.
5390 (setDynamicLayout): Exception documentation added.
5391 (isDynamicLayoutSet): Exception documentation added.
5392 (isDynamicLayoutActive): Exception documentation added.
5393 (getScreenSize): Exception documentation added.
5394 (getScreenResolution): Exception documentation added.
5395 (getScreenInsets): Exception documentation added.
5396 (getColorModel): Exception documentation added.
5397 (getSystemClipboard): Exception documentation added.
5398 (getSystemSelection): Exception documentation added.
5399 (getMenuShortcutKeyMask): Exception documentation added.
5400 (getSystemEventQueue): Exception documentation added.
5401 * java/awt/Window.java:
5402 Reindented some code.
5403 (Window): Centralized implementation, documentation added.
5404 (finalize): Documentation added.
5405 (hide): Fixed typo in comment.
5406 (getWindowListeners): Documentation added.
5407 * java/awt/color/ColorSpace.java
5408 (toRGB): Documentation added.
5409 * java/awt/color/ICC_ColorSpace.java
5410 (ICC_ColorSpace): Documentation added.
5411 (toRGB): Throw exception, documentation added.
5412 (fromRGB): Throw exception, documentation added.
5413 (toCIEXYZ): Documentation added.
5414 (fromCIEXYZ): Documentation added.
5415 (getMinValue): Documentation added.
5416 (getMaxValue): Documentation added.
5417 * java/awt/geom/Dimension2D.java
5418 (clone): Documentation added.
5419 * java/awt/geom/GeneralPath.java
5420 (clone): Documentation added.
5421 * java/awt/geom/Line2D.java
5422 (clone): Documentation added.
5423 * java/awt/geom/QuadCurve2D.java
5424 (clone): Documentation added.
5425 * java/awt/image/ColorModel.java
5426 (ColorModel): Throw exception, documentation added.
5427 * java/awt/image/ImageFilter.java
5428 (clone): Doesnt throw CloneNotSupportedException.
5430 2003-01-14 Andrew Haley <aph@redhat.com>
5432 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5435 2003-01-10 Andrew Haley <aph@redhat.com>
5437 * include/dwarf2-signal.h: Remove x86_64.
5438 * configure.host (x86_64 DIVIDESPEC): Remove.
5439 * include/x86_64-signal.h: New file.
5440 * configure.in: Regenerate.
5442 2003-01-10 Michael Koch <konqueror@gmx.de>
5444 * java/net/DatagramSocket.java
5445 (ch): Description added.
5446 (remotePort): Initialize with -1.
5447 (connect): Doesnt throws SocketException.
5448 * java/net/MulticastSocket.java
5449 (setInterface): Merge with Classpath.
5450 * java/net/ServerSocket.java
5451 (closed): New member variable.
5452 (bind): Check if socket is closed.
5453 (close): Close an associated channel too, set new value to closed.
5454 (isBound): Reindented.
5455 (isClosed): Implemented.
5456 * java/net/Socket.java
5457 (closed): New member variable.
5458 (bind): Check if socket is closed.
5459 (connect): Check if socket is closed.
5460 (close): Close an associated channel too, set new value to closed.
5461 (isClosed): Implemented.
5463 2003-01-10 Michael Koch <konqueror@gmx.de>
5465 * java/awt/DisplayMode.java
5466 (equals): Fixed argument type and implementation.
5468 2003-01-07 Tom Tromey <tromey@redhat.com>
5470 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5471 JV_HASH_SYNCHRONIZATION.
5472 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5473 JV_HASH_SYNCHRONIZATION.
5475 2003-01-07 Michael Koch <konqueror@gmx.de>
5477 * java/net/DatagramSocket.java:
5478 Added classpath license info.
5479 (DatagramSocket): Merged description with classpath.
5480 (close): Merged description with classpath.
5481 (getChannel): Merged description with classpath.
5482 (getInetAddress): Merged description with classpath.
5483 (getPort): Merged description with classpath.
5484 (getLocalAddress): Merged description with classpath.
5485 (getLocalPort): Merged description with classpath.
5486 (getSoTimeout): Merged description with classpath.
5487 (setSoTimeout): Merged description with classpath.
5488 (getSendBufferSize): Merged description with classpath.
5489 (setSendBufferSize): Merged description with classpath.
5490 (getReceiveBufferSize): Merged description with classpath.
5491 (setReceiveBufferSize): Merged description with classpath.
5493 2003-01-04 Tom Tromey <tromey@redhat.com>
5495 * java/awt/List.java: Merged with Classpath.
5497 2003-01-03 Mark Wielaard <mark@klomp.org>
5499 * java/io/FileDescriptor.java (position): New private field.
5500 * java/io/natFileDescriptorPosix.cc (write): Up position.
5501 (setLength): Use and set position.
5502 (seek): Set position.
5503 (getFilePointer): Return position.
5504 (read): Up position.
5506 2003-01-03 Mark Wielaard <mark@klomp.org>
5508 Merge with Classpath:
5509 * java/io/ObjectStreamClass.java (lookup): Split method and call
5510 lookupForClassObject().
5511 (lookupForClassObject): New method.
5512 (isProxyClass): New field.
5513 (setClass): Set isProxyClass, add object to classLookupTable, set
5514 superClass and calculateOffsets.
5515 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5516 and not a proxy class.
5517 (setFields): Set accessible true for serialPersistentFields.
5518 (getClassUID): Same for suid. And check if suid is of type long.
5519 (hasClassInitializer): Don't throw NoSuchMethodError.
5521 2003-01-03 Mark Wielaard <mark@klomp.org>
5523 * java/io/FileInputStream.java (finalize): Don't explicitly
5524 finalize FileDescriptor.
5526 2003-01-03 Jeff Sturm <jsturm@one-point.com>
5528 * configure.host (sparc*-*): Enable bytecode interpreter.
5530 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
5532 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5533 Don't throw RemoteException.
5534 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5535 throw RemoteException.
5537 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
5539 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5540 proxyHost): New static fields.
5541 (<clinit>): Initialize new fields.
5542 (connect): Use proxy if necessary.
5543 (usingProxy): Implement.
5545 2003-01-03 Eric Blake <ebb9@email.byu.edu>
5547 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5548 (TreeIterator.remove): Prefer IllegalStateException over
5549 ConcurrentModificationException, to match Sun.
5551 2002-12-22 Anthony Green <green@redhat.com>
5553 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5555 2003-01-02 Mark Wielaard <mark@klomp.org>
5557 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5559 (HTTP_USE_PROXY): Add field.
5560 (getResponseVals): Only set responseCode when not yet explicitly
5563 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
5564 Mark Wielaard <mark@klomp.org>
5566 * java/util/zip/ZipFile.java (entries): Now HashMap.
5567 (readLeShort(DataInput, byte[])): Read from given byte array.
5568 (readLeInt(DataInput, byte[]): Likewise.
5569 (readLeShort(byte[] b, int off)): New method.
5570 (readLeInt(byte[] b, int off)): Likewise.
5571 (readEntries): Use byte arrays to read info in bigger chunks.
5572 (getEntries): Return HashMap.
5573 (getEntry): Use HashMap.
5574 (locBuf): New private field.
5575 (checkLocalHeader): Use locBuf to read info in one chunk.
5576 (getInputStream): Use entries HashMap, wrap PartialInputStream
5577 in BufferedInputStream.
5578 (ZipEntryEnumeration): Use HashMap and Interator.
5580 2003-01-02 Mark Wielaard <mark@klomp.org>
5581 Jeroen Frijters <jeroen@sumatra.nl>
5583 * java/net/URLClassLoader.java (Resource.getCodeSource):
5584 Fix check certs == null.
5585 (getCanonicalFileURL): Removed method.
5586 (JarURLLoader): Don't call removed method.
5587 (FileURLLoader): Likewise.
5588 (FileURLLoader.getResource): Don't canonicalize file name.
5590 2003-01-01 Tom Tromey <tromey@redhat.com>
5592 * Makefile.in: Rebuilt.
5593 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5594 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5595 java/awt/BufferCapabilities.java, java/awt/Button.java,
5596 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5597 java/awt/Container.java, java/awt/Cursor.java,
5598 java/awt/EventQueue.java, java/awt/FileDialog.java,
5599 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5600 java/awt/MenuBar.java, java/awt/MenuComponent.java,
5601 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5602 java/awt/Scrollbar.java, java/awt/TextArea.java,
5603 java/awt/TextField.java, java/awt/color/CMMException.java,
5604 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5605 java/awt/color/ProfileDataException.java,
5606 java/awt/datatransfer/Clipboard.java,
5607 java/awt/datatransfer/DataFlavor.java,
5608 java/awt/datatransfer/FlavorMap.java,
5609 java/awt/datatransfer/SystemFlavorMap.java,
5610 java/awt/dnd/DragGestureEvent.java,
5611 java/awt/dnd/DragGestureRecognizer.java,
5612 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5613 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5614 java/awt/im/InputMethodHighlight.java,
5615 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5616 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5618 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5619 `op' to BufferedImageOp.
5621 2002-12-31 Tom Tromey <tromey@redhat.com>
5623 Fix for PR libgcj/7416:
5624 * javax/naming/InitialContext.java (init): Use
5625 gnu.classpath.home.url.
5626 * java/security/Security.java: Use new properties.
5627 (loadProviders): Accept base url; use it.
5628 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5629 gnu.classpath.home.url.
5630 (gnu.classpath.home.url): Define.
5631 (gnu.classpath.vm.shortname): Likewise.
5633 2002-12-31 Tom Tromey <tromey@redhat.com>
5634 Ranjit Mathew <rmathew@hotmail.com>
5636 Fix for PR libgcj/8997:
5637 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5639 * include/posix.h (_Jv_platform_usleep): New function.
5640 * include/win32.h (_Jv_platform_usleep): New function.
5642 2002-12-29 Tom Tromey <tromey@redhat.com>
5644 * gcj/javaprims.h: Updated.
5645 * scripts/classes.pl (scan): Removed stray semicolon.
5647 2002-12-30 Mark Wielaard <mark@klomp.org>
5649 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5652 2002-12-30 Mark Wielaard <mark@klomp.org>
5654 * java/util/Properties (formatForOutput): Don't fall through to
5655 default case after escaping character.
5657 2002-12-30 Mark Wielaard <mark@klomp.org>
5659 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5662 2002-12-27 Mark Mitchell <mark@codesourcery.com>
5664 * boehm.cc: Remove stray semicolon.
5665 * interpret.cc: Likewise.
5666 * prims.cc: Likewise.
5667 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5668 earlier to ensure default arguments are processed.
5669 * gcj/array.h (JArray): Add forward declaration.
5670 (elements): Likewise.
5671 * gcj/javaprim.h: Remove stray semicolons.
5672 * include/bohm-gc.h: Likewise.
5673 * include/jni.h: Likewise.
5674 * include/jvm.h: Likewise.
5675 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5677 2002-12-23 Jeff Sturm <jsturm@one-point.com>
5679 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5681 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5682 idt tables after initializing superclass.
5683 * java/lang/natClassLoader.cc (uaddr): New typedef.
5684 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5685 if they are constant pool indicies. Don't link vtable, otable yet.
5687 2002-12-21 Anthony Green <green@redhat.com>
5689 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5691 * Makefile.in: Rebuilt.
5693 2002-12-19 Anthony Green <green@redhat.com>
5695 * Makefile.am (ordinary_java_source_files): Add
5696 org/xml/sax/helpers/NewInstance.java.
5697 * Makefile.in: Rebuilt.
5698 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5699 org/xml/sax/helpers/package.html: New files.
5700 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5701 http://www.saxproject.org.
5703 2002-12-19 Andrew Haley <aph@redhat.com>
5705 * java/util/natResourceBundle.cc: Include
5706 ArrayIndexOutOfBoundsException.h.
5707 (getCallingClassLoader): Don't put upper bound on stack search.
5708 Catch ArrayIndexOutOfBoundsException.
5710 2002-12-19 Tom Tromey <tromey@redhat.com>
5712 * libtool-version: Increased `current'.
5714 2002-12-19 Tom Tromey <tromey@redhat.com>
5716 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5718 * java/lang/ClassLoader.java (defineClass): Use chained
5719 exception when rethrowing.
5720 * defineclass.cc (handleClassBegin): Mark class as interpreted.
5721 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5723 * resolve.cc (_Jv_PrepareMissingMethods): New function.
5724 (_Jv_PrepareClass): Use it.
5725 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5726 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5727 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5728 (Class): _Jv_PrepareMissingMethods now friend.
5729 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5730 Record `NULL' for system class loader.
5731 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
5732 system class loader.
5733 (_Jv_FindClassInCache): Likewise.
5734 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
5735 (_Jv_FindClass): Special case system class loader.
5736 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5737 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5739 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5741 (_getDeclaredMethod): Don't return synthetic methods.
5742 (getDeclaredMethods): Likewise.
5743 (_getMethod): Likewise.
5744 (_getMethods): Likewise.
5746 2002-12-18 Raif Naffah <raif@fl.net.au>
5748 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5749 canonical form after divide().
5750 (modInverse): Likewise.
5752 2002-12-13 Casey Marshall <rsdio@metastatic.org>
5753 Mark Wielaard <mark@klomp.org>
5755 * java/security/SecurityRandom (digest): Removed field.
5756 (SecureRandom): Check all providers for case-insensitive SecureRandom
5757 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5759 (getInstance(String,Provider,boolean): New method.
5760 (getInstance(String)): Use new method.
5761 (getInstance(String,String)): Likewise.
5762 (getInstance(String,Provider)): Likewise.
5764 2002-12-13 Casey Marshall <rsdio@metastatic.org>
5766 * java/security/Security.java (loadProviders): Increment i only once.
5768 2002-12-12 Mark Wielaard <mark@klomp.org>
5770 * java/lang/ClassLoader.java (resolveClass0): Transform
5771 ClassNotFoundException to NoClassDefFoundError. Transform all other
5772 throwables to LinkageError.
5774 2002-12-11 Tom Tromey <tromey@redhat.com>
5776 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5778 * java/lang/ClassLoader.java (loadedClasses): New field.
5779 (defineClass): Fixed indentation. Put new class in
5781 (findLoadedClass): Implement here.
5782 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5784 2002-12-10 Tom Tromey <tromey@redhat.com>
5786 * Makefile.in: Rebuilt.
5787 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5788 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5789 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5790 * java/lang/natClassLoader.cc
5791 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5793 2002-12-10 Mark Wielaard <mark@klomp.org>
5794 Tom Tromey <tromey@redhat.com>
5796 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5797 (JarURLLoader): Use it.
5798 (FileURLLoader): Likewise.
5799 (JarURLResource.getURL): Use chained exception.
5800 (FileResource.getURL): Likewise.
5801 (FileURLLoader.getResource): Use canonical file name.
5802 (addURL): Indentation fix.
5804 2002-12-10 Tom Tromey <tromey@redhat.com>
5806 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5807 From Laurent Bardet <l.bardet@magic.fr>.
5809 2002-12-09 Tom Tromey <tromey@redhat.com>
5811 * include/win32.h (_Jv_platform_solib_prefix): New define.
5812 (_Jv_platform_solib_suffix): Likewise.
5813 * include/posix.h (_Jv_platform_solib_prefix): New define.
5814 (_Jv_platform_solib_suffix): Likewise.
5815 * java/lang/natRuntime.cc: Include StackTrace.h.
5816 (_load): Use findLibrary and new platform defines.
5817 (nativeGetLibname): Use new platform defines.
5819 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5822 2002-12-08 Mark Wielaard <mark@klomp.org>
5824 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5825 cache remote jar files.
5826 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5827 add File.separator to URL when it is a directory.
5828 * java/lang/ClassLoader.java: Add Classpath javadoc.
5830 (getParent): Add (disabled) security check.
5831 (findLibrary): New default method.
5832 * java/net/JarURLConnection.java (getManifest): Implement.
5833 (getInputStream): Only create InputStream when entry exists.
5834 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5836 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5838 2002-12-08 Mark Wielaard <mark@klomp.org>
5840 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5841 (lastDefaultLocale): New field.
5842 (getBundle): When Locale.getDefault != lastDefaultLocale reset
5843 resourceBundleCache.
5845 2002-12-06 Mark Wielaard <mark@klomp.org>
5847 * java/net/InetAddress.java (toString): Use hostname when not null,
5848 don't do an explicit reverse getHostName() lookup.
5849 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5850 NullPointerException.
5852 2002-12-06 Tom Tromey <tromey@redhat.com>
5854 * include/java-interp.h (class _Jv_InterpMethod): Added
5856 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
5857 mark `prepared' field of interpreted method.
5858 * interpret.cc (compile): Use _Jv_AllocBytes.
5860 2002-12-05 Andrew Haley <aph@redhat.com>
5862 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5863 #ifdef (HAVE_BACKTRACE) around the whole function body.
5865 2002-12-05 Tom Tromey <tromey@redhat.com>
5867 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5868 * resolve.cc: Don't include AbstractMethodError.h.
5869 (_Jv_abstractMethodError): Removed.
5870 * defineclass.cc (handleMethodsBegin): Initialize method index to
5872 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5873 method index for "new" final method.
5874 (_Jv_SetVTableEntries): Compare index against -1 instead of using
5875 isVirtualMethod. Added `flags' argument.
5876 (_Jv_MakeVTable): Throw exception for abstract method in concrete
5879 2002-12-04 Tom Tromey <tromey@redhat.com>
5881 * java/net/SocketPermission.java (hashCode): Rewrote.
5883 2002-12-04 Tom Tromey <tromey@redhat.com>
5885 * Makefile.in: Rebuilt.
5886 * Makefile.am (nat_source_files): Added natVMSecurityManager,
5888 * java/util/ResourceBundle.java (Security): Removed.
5889 (getCallingClassLoader): Now native.
5890 * java/util/natResourceBundle.cc: New file.
5891 * java/lang/natVMSecurityManager.cc: New file.
5892 * java/lang/VMSecurityManager.java (getClassContext): Now native.
5894 2002-12-03 Mark Wielaard <mark@klomp.org>
5896 * java/util/jar/JarFile.java (manifest): Not final.
5897 (manifestRead): New field.
5898 (JarFile): Don't read Manifest in constructor.
5899 (getManifest): New method.
5900 (JarEnumeration.nextElement): Use new method.
5901 (getEntry): Likewise.
5902 * java/util/zip/ZipFile.java (name): Final.
5904 (entries): Change type to Hashtable.
5905 (closed): New field.
5906 (ZipFile): Don't read enties in constructor.
5907 (readEntries): Use Hashtable.
5908 (close): Set new close flag and set entries to null inside
5910 (entries): Contruct enumeration using new getEntries() method and
5912 (getEntryIndex): Removed.
5913 (getEntries): New method.
5914 (getEntry): Use new getEntries() method and entries Hastable.
5915 (getInputStream): Likewise.
5916 (size): Return getEntries().size().
5917 (ZipEntryEnumeration): Wrap entries Hashtable elements.
5918 * java/util/zip/ZipEntry.java (cal): Don't initialize.
5920 (dostime): New field.
5921 (zipFileIndex): Removed.
5922 (ZipEntry(ZipEntry)): Copy dostime.
5923 (setDOSTime): Now final and doesn't convert dos time.
5924 (getDOSTime): Likewise.
5925 (setTime): Convert dos time.
5926 (getTime): Likewise.
5927 (getCalendar): New method.
5928 (setExtra): Use setTime().
5929 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5931 2002-12-03 Tom Tromey <tromey@redhat.com>
5933 * java/lang/Character.java (forDigit): Formatting fix.
5935 2002-12-03 Raif Naffah <raif@fl.net.au>
5937 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5938 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5939 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5941 2002-12-03 Andrew Haley <aph@redhat.com>
5943 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5945 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5946 (_Jv_PopClass): New.
5947 (_Jv_PushClass): New.
5948 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5949 discover the ClassLoader of our caller.
5950 (_Jv_CheckArrayStore): Don't check that a class is assignment
5951 compatible with Object.
5952 * java/lang/natVMTHrowable.cc: Delete.
5953 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5954 java.lang.VMThrowable.
5955 (StackTrace(), StackTrace(int)): New constructors.
5956 (classAt, methodAt, update, methodAtAddress): New methods.
5958 * java/lang/VMThrowable.java: Use StackTrace instead of
5960 * java/lang/Class.h (getClassLoaderInternal): New.
5961 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5962 Be friendly with gnu::gcj::runtime::StackTrace.
5963 (Object.chain): New field.
5964 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5965 gnu::gcj::runtime::StackTrace.
5966 * gnu/gcj/runtime/natStackTrace.cc: New file.
5967 * gnu/gcj/runtime/MethodRef.java: New file.
5968 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5969 instead of getClassLoader().
5970 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5971 java::lang::VMThrowable.
5972 * Makefile.am (core_java_source_files): Add MethodRef.java,
5974 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5975 * Makefile.in: Rebuild.
5977 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
5979 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5980 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5981 yes also for sh-linux* and sh[34]*-linux*.
5982 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5983 set SIGNAL_HANDLER to use DWARF2 exception for them.
5984 * configure: Regenerate.
5986 2002-12-02 Tom Tromey <tromey@redhat.com>
5988 * jni.cc: Added `name' argument.
5989 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5990 `const char *' argument.
5991 (class _Jv_JNIEnv) [DefineClass]: Likewise.
5993 2002-12-01 Tom Tromey <tromey@redhat.com>
5995 Bug compatibility, for PR libgcj/8738:
5996 * java/io/CharArrayWriter.java (close): Do nothing.
5998 (reset): Don't touch `closed'.
5999 (write(int)): Don't throw IOException.
6000 (write(char[],int,int)): Likewise.
6001 (write(String,int,int)): Likewise.
6004 2002-12-01 Mark Wielaard <mark@klomp.org>
6006 * java/lang/SecurityManager.java: Remerge comments, indenting and
6007 checkXXX methods with Classpath.
6009 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
6011 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
6012 getNormalizedComponents): Fix calculation which was using one too
6013 many bits in the unnormalized format.
6015 2002-11-29 Gary Benson <gbenson@redhat.com>
6018 * java/beans/Introspector.java (flushCaches): New method.
6019 (flushFromCaches): Likewise.
6021 2002-11-29 Michael Koch <konqueror@gmx.de>
6023 * java/nio/channels/DatagramChannel.java
6024 (open): Added exception documentation.
6025 (write): Added exception documentation.
6026 (connect): Added exception documentation.
6027 (disconnect): Added exception documentation.
6028 (isConnected): Added exception documentation.
6029 (read): Added exception documentation.
6030 (receive): Added exception documentation.
6031 (send): Added exception documentation.
6032 (validOps): Added exception documentation.
6033 * java/nio/channels/SocketChannel.java
6034 (open): Added exception documentation.
6035 (read): Added exception documentation.
6036 (write): Added exception documentation.
6037 (connect): Added exception documentation.
6038 (finishConnect): Added exception documentation.
6040 2002-11-29 Michael Koch <konqueror@gmx.de>
6042 * gnu/java/nio/DatagramChannelImpl:
6043 (fd): New member variable to store file descriptor of socket.
6044 * gnu/java/nio/SelectionKeyImpl.java:
6046 (readyOps): New member variable.
6047 (interestOps): New member variable.
6048 (readyOps): Implemented.
6049 (readyOps): New method to set member variable readyOps.
6050 (interestOps): Replaced ops by interestOps.
6051 * gnu/java/nio/SelectorImpl.java:
6052 (SelectorImpl): Initialize key sets.
6053 (select): Call select with -1 instead of Long.MAX_VALUE).
6054 (java_do_select): Make it a native method.
6055 (getFDsAsArray): New helper method.
6056 (select): Remove canceled keys, give only interested file discriptors
6057 to java_do_select, set ready ops.
6058 (add): No need to initialize keys set here.
6059 (add_selected): No need to initialize selected set here.
6060 (deregisterCanceledKeys): New helper method.
6061 (register): Set interest ops, set attachments, added handling of datagram
6063 * gnu/java/nio/ServerSocketChannelImpl:
6064 (SocketAccept): Renamed from NioSocketAccept.
6065 (implConfigureBlocking): Implemented.
6066 (accept): Use SocketAccept instead of NioSocketAccept.
6067 * gnu/java/nio/SocketChannelImpl:
6068 Reactivate native methods.
6070 2002-11-29 Michael Koch <konqueror@gmx.de>
6072 * gnu/java/nio/natByteBufferImpl.cc,
6073 gnu/java/nio/natCharBufferImpl.cc,
6074 gnu/java/nio/natDoubleBufferImpl.cc,
6075 gnu/java/nio/natFloatBufferImpl.cc,
6076 gnu/java/nio/natIntBufferImpl.cc,
6077 gnu/java/nio/natLongBufferImpl.cc,
6078 gnu/java/nio/natSelectorImpl.cc,
6079 gnu/java/nio/natServerSocketChannelImpl.cc,
6080 gnu/java/nio/natShortBufferImpl.cc,
6081 gnu/java/nio/natSocketChannelImpl.cc:
6082 New files that implement native functionalities.
6084 2002-11-29 Michael Koch <konqueror@gmx.de>
6086 * gnu/java/nio/ByteBufferImpl.java
6087 (ByteBufferImpl): Moved position() after limit.
6088 (nio_*): Use native implementation.
6089 * gnu/java/nio/CharBufferImpl.java:
6091 (endian): New member variable string endianess of buffer.
6092 (CharBufferImpl): Moved position() after limit.
6093 (nio_*): Use native implementation.
6094 (subSequence): Implemented.
6095 * gnu/java/nio/DoubleBufferImpl.java
6096 (DoubleBufferImpl): Moved position() after limit.
6097 (nio_*): Use native implementation.
6098 * gnu/java/nio/FloatBufferImpl.java
6100 (FloatBufferImpl): Moved position() after limit.
6101 (nio_*): Use native implementation.
6102 * gnu/java/nio/IntBufferImpl.java
6103 Added needed imports, Reformated.
6104 (IntBufferImpl): Moved position() after limit.
6105 (nio_*): Use native implementation.
6106 * gnu/java/nio/LongBufferImpl.java
6108 (LongBufferImpl): Moved position() after limit.
6109 (nio_*): Use native implementation.
6110 * gnu/java/nio/ShortBufferImpl.java
6112 (ShortBufferImpl): Moved position() after limit.
6113 (nio_*): Use native implementation.
6115 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6117 * java/util/Locale.java (toString): Improve efficiency if country
6118 and variant are both empty.
6120 2002-11-26 Tom Tromey <tromey@redhat.com>
6122 * verify.cc (pop_init_ref): New method.
6123 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6124 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6125 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6126 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6127 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6128 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6129 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6130 let `this' argument be uninitialized. Don't let `null' be passed
6131 as `this' to construtor.
6133 2002-11-26 Mark Wielaard <mark@klomp.org>
6135 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6136 * javax/transaction/HeuristicMixedException.java: Likewise.
6137 * javax/transaction/HeuristicRollbackException.java: Likewise.
6138 * javax/transaction/InvalidTransactionException.java: Likewise.
6139 * javax/transaction/NotSupportedException.java: Likewise.
6140 * javax/transaction/RollbackException.java: Likewise.
6141 * javax/transaction/Status.java: Likewise.
6142 * javax/transaction/Synchronization.java: Likewise.
6143 * javax/transaction/SystemException.java: Likewise.
6144 * javax/transaction/Transaction.java: Likewise.
6145 * javax/transaction/TransactionManager.java: Likewise.
6146 * javax/transaction/TransactionRequiredException.java: Likewise.
6147 * javax/transaction/TransactionRolledbackException.java: Likewise.
6148 * javax/transaction/UserTransaction.java: Likewise.
6149 * javax/transaction/xa/XAException.java: Likewise.
6150 * javax/transaction/xa/XAResource.java: Likewise.
6151 * javax/transaction/xa/Xid.java: Likewise.
6153 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6155 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6157 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6158 * include/posix.h (socklen_t): Define if not already defined.
6160 2002-11-25 Tom Tromey <tromey@redhat.com>
6162 * verify.cc (type::compatible): Backed out broken change.
6164 * verify.cc (type::compatible): Check initialization status
6166 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6167 Don't use NULLCHECK.
6169 2002-11-23 H.J. Lu <hjl@gnu.org>
6171 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6172 Include ../config/accross.m4.
6173 * aclocal.m4; Rebuild.
6174 * configure: Likewise.
6176 2002-11-23 Mark Wielaard <mark@klomp.org>
6178 * javax/naming/AuthenticationException.java: Update copyright header.
6179 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6180 * javax/naming/Binding.java: Likewise.
6181 * javax/naming/CannotProceedException.java: Likewise.
6182 * javax/naming/CommunicationException.java: Likewise.
6183 * javax/naming/CompositeName.java: Likewise.
6184 * javax/naming/CompoundName.java: Likewise.
6185 * javax/naming/ConfigurationException.java: Likewise.
6186 * javax/naming/Context.java: Likewise.
6187 * javax/naming/ContextNotEmptyException.java: Likewise.
6188 * javax/naming/InitialContext.java: Likewise.
6189 * javax/naming/InsufficientResourcesException.java: Likewise.
6190 * javax/naming/InterruptedNamingException.java: Likewise.
6191 * javax/naming/LimitExceededException.java: Likewise.
6192 * javax/naming/LinkException.java: Likewise.
6193 * javax/naming/LinkLoopException.java: Likewise.
6194 * javax/naming/LinkRef.java: Likewise.
6195 * javax/naming/MalformedLinkException.java: Likewise.
6196 * javax/naming/NameAlreadyBoundException.java: Likewise.
6197 * javax/naming/NameClassPair.java: Likewise.
6198 * javax/naming/NameNotFoundException.java: Likewise.
6199 * javax/naming/NameParser.java: Likewise.
6200 * javax/naming/NamingEnumeration.java: Likewise.
6201 * javax/naming/NamingSecurityException.java: Likewise.
6202 * javax/naming/NoInitialContextException.java: Likewise.
6203 * javax/naming/NoPermissionException.java: Likewise.
6204 * javax/naming/NotContextException.java: Likewise.
6205 * javax/naming/OperationNotSupportedException.java: Likewise.
6206 * javax/naming/PartialResultException.java: Likewise.
6207 * javax/naming/Reference.java: Likewise.
6208 * javax/naming/Referenceable.java: Likewise.
6209 * javax/naming/ReferralException.java: Likewise.
6210 * javax/naming/ServiceUnavailableException.java: Likewise.
6211 * javax/naming/SizeLimitExceededException.java: Likewise.
6212 * javax/naming/TimeLimitExceededException.java: Likewise.
6213 * javax/naming/directory/Attribute.java: Likewise.
6214 * javax/naming/directory/AttributeInUseException.java: Likewise.
6215 * javax/naming/directory/AttributeModificationException.java: Likewise.
6216 * javax/naming/directory/Attributes.java: Likewise.
6217 * javax/naming/directory/BasicAttribute.java: Likewise.
6218 * javax/naming/directory/BasicAttributes.java: Likewise.
6219 * javax/naming/directory/DirContext.java: Likewise.
6220 * javax/naming/directory/InitialDirContext.java: Likewise.
6221 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6223 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6224 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6225 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6226 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6227 * javax/naming/directory/ModificationItem.java: Likewise.
6228 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6229 * javax/naming/directory/SchemaViolationException.java: Likewise.
6230 * javax/naming/directory/SearchControls.java: Likewise.
6231 * javax/naming/directory/SearchResult.java: Likewise.
6232 * javax/naming/event/EventContext.java: Likewise.
6233 * javax/naming/event/EventDirContext.java: Likewise.
6234 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6235 * javax/naming/event/NamingEvent.java: Likewise.
6236 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6237 * javax/naming/event/NamingListener.java: Likewise.
6238 * javax/naming/event/ObjectChangeListener.java: Likewise.
6239 * javax/naming/ldap/Control.java: Likewise.
6240 * javax/naming/ldap/ControlFactory.java: Likewise.
6241 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6242 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6243 * javax/naming/ldap/HasControls.java: Likewise.
6244 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6245 * javax/naming/ldap/LdapContext.java: Likewise.
6246 * javax/naming/ldap/LdapReferralException.java: Likewise.
6247 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6248 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6249 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6250 * javax/naming/spi/DirObjectFactory.java: Likewise.
6251 * javax/naming/spi/DirStateFactory.java: Likewise.
6252 * javax/naming/spi/DirectoryManager.java: Likewise.
6253 * javax/naming/spi/InitialContextFactory.java: Likewise.
6254 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6255 * javax/naming/spi/NamingManager.java: Likewise.
6256 * javax/naming/spi/ObjectFactory.java: Likewise.
6257 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6258 * javax/naming/spi/ResolveResult.java: Likewise.
6259 * javax/naming/spi/Resolver.java: Likewise.
6260 * javax/naming/spi/StateFactory.java: Likewise.
6262 * javax/naming/spi/NamingManager.java (ofb): Package private.
6264 2002-11-21 Mark Wielaard <mark@klomp.org>
6266 * java/net/URL.java: Merge with Classpath (partly).
6267 * java/net/URLStreamHandler: Merge with Classpath.
6269 2002-11-22 Michael Koch <konqueror@gmx.de>
6272 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6274 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6275 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6277 2002-11-21 Michael Koch <konqueror@gmx.de>
6279 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6280 Only the new network functions should be in it.
6282 2002-11-21 Michael Koch <konqueror@gmx.de>
6284 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6285 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6287 2002-11-21 Michael Koch <konqueror@gmx.de>
6289 * java/nio/channels/AsynchronousCloseException.java,
6290 java/nio/channels/CancelledKeyException.java,
6291 java/nio/channels/ClosedByInterruptException.java,
6292 java/nio/channels/ConnectionPendingException.java,
6293 java/nio/channels/FileLockInterruptionException.java,
6294 java/nio/channels/IllegalSelectorException.java,
6295 java/nio/channels/NoConnectionPendingException.java,
6296 java/nio/channels/NonReadableChannelException.java,
6297 java/nio/channels/NonWritableChannelException.java,
6298 java/nio/channels/NotYetBoundException.java,
6299 java/nio/channels/NotYetConnectedException.java,
6300 java/nio/channels/OverlappingFileLockException.java,
6301 java/nio/channels/UnresolvedAddressException.java,
6302 java/nio/channels/UnsupportedAddressTypeException.java:
6304 * Makefile.am (ordinary_java_source_files): Added new files.
6305 * Makefile.in: Regenerated.
6307 2002-11-21 Michael Koch <konqueror@gmx.de>
6310 (_Jv_socket): New method.
6311 (_Jv_connect): New method.
6312 (_Jv_close): New method.
6313 (_Jv_platform_close_on_exec): Prefixed system function with "::".
6314 (_Jv_bind): New method.
6315 (_Jv_listen): New method.
6316 (_Jv_write): New method.
6317 (_Jv_read): New method.
6319 (_Jv_socket): New method.
6320 (_Jv_connect): New method.
6321 (_Jv_close): New method.
6322 (_Jv_bind): New method.
6323 (_Jv_listen): New method.
6324 (_Jv_write): New method.
6325 (_Jv_read): New method.
6326 * java/net/natNetworkInterface.cc:
6327 Include platform.h, removed inclusion of socket.h
6328 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6329 ::close() by _Jv_close().
6330 * java/net/natPlainDatagramSocketImpl.cc:
6331 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6332 added some new lines to make code more readable.
6333 (create): Replaced ::socket() by _Jv_socket().
6334 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6335 * java/net/natPlainSocketImpl.cc:
6336 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6337 removed include of socket.h, removed some windows defines
6338 (now in include/win32.h).
6339 (create): Replaced ::socket() by _Jv_socket().
6340 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6341 (write): Replaced ::read by _Jv_write().
6342 (read): Replaced ::read by _Jv_read().
6344 2002-11-20 Michael Koch <konqueror@gmx.de>
6346 * Makefile.am (ordinary_java_source_files):
6347 Added java/nio/channels/FileChannel.java.
6348 * Makefile.in: Regenerated.
6350 2002-11-20 Michael Koch <konqueror@gmx.de>
6352 * java/io/FileInputStream.java
6353 (getChannel): New method.
6354 * java/io/FileOutputStream.java
6355 (getChannel): New method.
6356 * java/net/ServerSocket.java
6357 (bind): Removed duplicate code and called another bind method instead.
6358 * java/nio/channels/SelectionKey.java
6359 (isValid): Removed wrong exception documentation.
6360 * java/nio/channels/ServerSocketChannel.java
6361 (accept): Added exception documentation.
6362 (open): Fixed typo, added exception documentation.
6363 * java/nio/channels/spi/AbstractSelectableChannel.java
6364 (implCloseChannel): Added exception documentation.
6366 (register): Added exception documentation.
6368 2002-11-20 Andreas Jaeger <aj@suse.de>
6370 * configure: Regenerated with new libtool.m4.
6372 2002-11-19 Tom Tromey <tromey@redhat.com>
6374 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6376 (finalize_referred_to_object): Don't modify `referent' or `copy'
6378 (add_to_hash): Correctly set `n->next' when updating list.
6379 * java/lang/ref/Reference.java (enqueue): Return false if already
6382 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
6384 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6385 to function and function pointer declarations in accordance with
6386 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6387 based on whether __GCJ_JNI_IMPL__ has been defined or not.
6388 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6389 JNI function definitions.
6391 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6393 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6394 that was causing CoderResults to be cached, not WeakReferences
6397 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6399 * java/security/KeyStore.java (getInstance): Fix
6400 comment and throw IllegalArgumentException if
6401 given provider is null.
6402 (getInstance): New method for jdk1.4 compatibility.
6404 2002-11-18 Michael Koch <konqueror@gmx.de>
6406 * java/net/PlainSocketImpl.java: Fix imports.
6408 2002-11-18 Michael Koch <konqueror@gmx.de>
6410 * java/nio/channels/SelectionKey.java
6411 (isValid): Added exception documentation.
6412 * java/nio/channels/Selector.java
6413 (open): Declare "throws IOException".
6415 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6417 * java/nio/charset/Charset.java
6418 (<clinit>): New method.
6419 (encode): Synchronize use of cached encoder object.
6420 (decode): Synchronize use of cached encoder object.
6422 2002-11-18 Michael Koch <konqueror@gmx.de>
6424 * gnu/java/nio/ByteBufferImpl.java,
6425 gnu/java/nio/CharBufferImpl.java,
6426 gnu/java/nio/DatagramChannelImpl.java,
6427 gnu/java/nio/DoubleBufferImpl.java,
6428 gnu/java/nio/FileChannelImpl.java,
6429 gnu/java/nio/FloatBufferImpl.java,
6430 gnu/java/nio/IntBufferImpl.java,
6431 gnu/java/nio/LongBufferImpl.java,
6432 gnu/java/nio/PipeImpl.java,
6433 gnu/java/nio/SelectionKeyImpl.java,
6434 gnu/java/nio/SelectorImpl.java,
6435 gnu/java/nio/SelectorProviderImpl.java,
6436 gnu/java/nio/ServerSocketChannelImpl.java,
6437 gnu/java/nio/ShortBufferImpl.java,
6438 gnu/java/nio/SocketChannelImpl.java,
6439 java/nio/DoubleBuffer.java,
6440 java/nio/FloatBuffer.java,
6441 java/nio/IntBuffer.java,
6442 java/nio/LongBuffer.java,
6443 java/nio/ShortBuffer.java,
6444 java/nio/channels/FileChannel.java: New files.
6446 2002-11-18 Michael Koch <konqueror@gmx.de>
6448 * Makefile.am (ordinary_java_source_files):
6449 Added java/nio/ReadOnlyBufferException.java and
6450 java/nio/channels/ClosedSelectorException.java.
6451 * Makefile.in: Regenerated.
6453 2002-11-18 Michael Koch <konqueror@gmx.de>
6455 * java/net/PlainSocketImpl.java: Reworked imports.
6456 * java/net/ServerSocket.java
6457 (ServerSocket): Create socket.
6458 * java/net/SocketAddress.java: Documentation added.
6459 * java/net/natPlainSocketImpl.cc: Reindented.
6460 * java/nio/ReadOnlyBufferException.java: New file
6461 * java/nio/channels/ClosedChannelException.java: Documentation added.
6462 * java/nio/channels/ClosedSelectorException.java: New file.
6464 2002-11-17 Mark Wielaard <mark@klomp.org>
6466 * java/net/HttpURLConnection.java ((getPermission): Take port
6468 (getErrorStream): Implement.
6470 2002-11-17 Mark Wielaard <mark@klomp.org>
6472 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6474 2002-11-16 Mark Wielaard <mark@klomp.org>
6476 Integrate work by Raif S. Naffah (raif@fl.net.au)
6477 * java/security/DummyKeyPairGenerator.java (clone): New method.
6478 * java/security/DummyMessageDigest.java (clone): New method.
6479 (engineUpdate): Now public.
6480 (engineReset): Likewise.
6481 (engineDigest): Likewise.
6482 (engineGetDigestLength): New method.
6483 * java/security/DummySignature.java (clone): New method.
6484 * java/security/KeyPairGenerator.java (provider): Now package private.
6485 (getInstance(String)): Use getInstance(String,Provider).
6486 (getInstance(String,String): Use getInstance(String,Provider)
6487 (getInstance(String,Provider): New method.
6488 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6489 * java/security/KeyPairGeneratorSpi.java (clone): New method.
6490 * java/security/MessageDigest.java (provider): Now package private.
6491 (getInstance(String): Use getInstance(String,Provider).
6492 (getInstance(String,String): Use getInstance(String,Provider)
6493 (getInstance(String,Provider): New method.
6494 * java/security/Provider.java (toCanonicalKey): New method.
6495 (get): New method that uses toCanonicalKey().
6496 (put): Use toCanonicalKey().
6498 * java/security/Security.java (insertProviderAt): Provider index is one
6499 based, not zero based.
6500 (addProvider): Likewise.
6501 (removeProvider): Likewise.
6502 * java/security/Signature.java (provider): Now package private.
6503 (getInstance(String)): Use getInstance(String,Provider).
6504 (getInstance(String,String): Use getInstance(String,Provider)
6505 (getInstance(String,Provider): New method.
6506 (getInstance(String,String,Provider): Don't cast DummySignature.
6508 2002-11-15 Tom Tromey <tromey@redhat.com>
6511 * java/util/zip/GZIPInputStream.java (read): Check file size.
6512 Look in inflater for remaining input bytes.
6513 (read4): Added buf and offset arguments.
6515 2002-11-12 Eric Blake <ebb9@email.byu.edu>
6517 * java/applet/AppletContext.java: Fix typo and remove redundant
6520 2002-11-14 Tom Tromey <tromey@redhat.com>
6522 * java/lang/natRuntime.cc (insertSystemProperties): Set
6525 2002-11-13 Michael Koch <konqueror@gmx.de>
6527 * java/nio/ByteBuffer.java
6528 (allocate): New method.
6533 2002-11-13 Michael Koch <konqueror@gmx.de>
6535 * java/nio/channels/AlreadyConnectedException.java:
6536 Removed unneeded import.
6537 (AlreadyConnectedException): Documentation added.
6538 * java/nio/channels/Pipe.java
6539 (SinkChannel.SinkChannel): Documentation added.
6540 (SinkChannel.validOps): New method.
6541 (SourceChannel.SourceChannel): Documentation added.
6542 (SourceChannel.validOps): New method.
6543 (Pipe): Documentation added.
6544 (open): Documentation added.
6545 (SinkChannel.channel): Documentation added.
6546 (SourceChannel.channel): Documentation added.
6547 * java/nio/channel/SelectableChannel.java
6548 (SelectableChannel): Documentation added.
6549 (blockingLock): Documentation added.
6550 (configureBlocking):Documentation added.
6551 (isBlocking):Documentation added.
6552 (isRegistered):Documentation added.
6553 (keyFor):Documentation added.
6554 (provider):Documentation added.
6555 (register): Documentation added.
6556 (validOps): Documentation added.
6557 * jaba/nio/channels/SelectionKey.java
6558 (SelectionKey): Documentation added.
6559 (attach): Documentation added.
6560 (attachment): Documentation added.
6561 (isAcceptable): Documentation added.
6562 (isConnetable): Documentation added.
6563 (isReadable): Documentation added.
6564 (isWritable): Documentation added.
6565 (cancel): Documentation added.
6566 (channel): Documentation added.
6567 (interestOps): Documentation added.
6568 (isValid): Documentation added.
6569 (readyOps): Documentation added.
6570 (selector): Documentation added.
6571 * jaba/nio/channels/Selector.java
6572 (Selector): Documentation added.
6573 (open): Documentation added.
6574 (close): Documentation added.
6575 (isOpen): Documentation added.
6576 (keys): Documentation added.
6577 (provider): Documentation added.
6578 (select): Documentation added.
6579 (selectedKeys): Documentation added.
6580 (selectNow): Documentation added.
6581 (wakeup): Documentation added.
6582 * java/nio/channels/spi/AbstractInterruptibleChannel.java
6583 (AbstractInterruptibleChannel): Documentation added.
6584 (opened): Default to true;
6585 (begin): Documentation added.
6586 (close): Set opened to false, documentation added.
6587 (isOpen): Documentation added.
6588 * java/nio/channels/spi/AbstractSelectionKey.java
6589 (AbstractSelectionKey): Documentation added.
6590 (cancel): Documentation added.
6591 (isValid): Documentation added.
6592 * java/nio/channels/spi/AbstractSelector.java
6593 (AbstractSelector): Documentation added.
6594 (begin): Documentation added.
6595 (close): Documentation added.
6596 (isOpen): Documentation added.
6597 (deregister): Documentation added.
6598 (end): Documentation added.
6599 (provider): Documentation added.
6600 (implCloseSelector): Documentation added.
6601 (register): Documentation added.
6602 * java/nio/channels/spi/SelectorProvider.java
6603 (SelectorProvider): Documentation added.
6604 (openDatagramChannel): Documentation added.
6605 (openPipe): Documentation added.
6606 (openSelector): Documentation added.
6607 (openServerSocketChannel): Documentation added.
6608 (openSocketChannel): Documentation added.
6609 (provider): Documentation added.
6611 2002-11-12 Michael Koch <konqueror@gmx.de>
6613 * java/nio/Buffer.java: Implemented.
6614 * java/nio/CharBuffer.java: New file.
6615 * java/nio/InvalidMarkException.java: New file.
6616 * java/nio/channels/DatagramChannel.java: Implemented.
6617 * java/nio/channels/ServerSocketChannel.java: Implemented.
6618 * java/nio/channels/SocketChannel.java: Implemented.
6619 * java/nio/channels/spi/AbstractChannel.java: Removed.
6620 * java/nio/channels/spi/AbstractSelectableChannel.java:
6622 * java/nio/charset/Charset.java:
6623 Merge from Classpath.
6624 * java/nio/charset/CharsetDecoder.java: New file.
6625 * java/nio/charset/CharsetEncoder.java: New file.
6626 * java/nio/charset/CoderResult.java: New file.
6627 * Makefile.am (ordinary_java_source_files): Added new files.
6628 * Makefile.in: Regenerated.
6630 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6632 * gnu/java/nio/charset/ISO_8859_1.java,
6633 gnu/java/nio/charset/Provider.java,
6634 gnu/java/nio/charset/US_ASCII.java,
6635 gnu/java/nio/charset/UTF_16.java,
6636 gnu/java/nio/charset/UTF_16BE.java,
6637 gnu/java/nio/charset/UTF_16Decoder.java,
6638 gnu/java/nio/charset/UTF_16Encoder.java,
6639 gnu/java/nio/charset/UTF_16LE.java,
6640 gnu/java/nio/charset/UTF_8.java: New files.
6642 2002-11-11 Michael Koch <konqueror@gmx.de>
6644 * java/nio/charset/CharacterCodingException.java:
6645 This class must be public.
6646 * java/nio/charset/CoderMalfunctionError.java:
6647 This class must be public.
6648 * java/nio/charset/CodingErrorAction.java:
6649 This class must be public.
6650 * java/nio/charset/IllegalCharsetNameException.java:
6651 This class must be public, better implementation.
6652 * java/nio/charset/MalformedInputException.java:
6653 This class must be public, better implementation.
6654 * java/nio/charset/UnmappableCharacterException.java:
6655 This class must be public, better implementation.
6656 * java/nio/charset/UnsupportedCharsetException.java:
6657 This class must be public, better implementation.
6659 2002-11-11 Michael Koch <konqueror@gmx.de>
6661 * java/nio/BufferOverflowException.java,
6662 java/nio/BufferUnderflowException.java: New file.
6663 * Makefile.am (ordinary_java_source_files):
6665 * Makefile.in: Regenerated.
6667 2002-11-10 Tom Tromey <tromey@redhat.com>
6669 * java/awt/Container.java (validate): Use tree lock.
6670 (getComponent): Likewise.
6671 (getComponents): Likewise.
6672 (addImpl): Likewise.
6674 (removeAll): Likewise.
6675 (processEvent): Fixed indentation.
6676 (getComponentAt): Use tree lock.
6677 (findComponentAt): Likewise.
6678 (removeNotify): Likewise.
6679 (isAncestorOf): Likewise.
6681 (visitChildren): Likewise.
6682 (findNextFocusComponent): Likewise.
6683 (addNotifyContainerChildren): Likewise.
6684 (getAccessibleChildrenCount): Likewise.
6685 (getAccessibleChild): Likewise.
6687 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6688 (getSize): Likewise.
6689 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6690 (getSize): Likewise.
6691 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6692 (calcSize): Likewise.
6693 * java/awt/CardLayout.java (getSize): Use tree lock.
6694 (gotoComponent): Likewise.
6695 (layoutContainer): Likewise.
6697 * java/io/natFileDescriptorWin32.cc (read): Handle case where
6699 * java/io/natFileDescriptorPosix.cc (read): Handle case where
6702 * java/io/Externalizable.java, java/io/FilePermission.java,
6703 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6704 java/io/SerializablePermission.java, java/text/Format.java,
6705 java/util/AbstractMap.java, java/util/HashMap.java,
6706 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6707 versions from Classpath.
6709 2002-11-10 Anthony Green <green@redhat.com>
6711 * java/util/jar/Attributes.java (Name): Fix name check.
6713 2002-11-10 Mark Wielaard <mark@klomp.org>
6715 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6716 with getName() as message.
6717 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6720 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6723 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
6725 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6726 for Win32. JNICALL has been defined to __stdcall to be compatible
6729 2002-11-10 Tom Tromey <tromey@redhat.com>
6731 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6732 (setRows): Check newRows, not rows.
6734 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6736 2002-11-09 Tom Tromey <tromey@redhat.com>
6738 * java/applet/Applet.java, java/applet/AppletContext.java,
6739 java/applet/AppletStub.java, java/applet/AudioClip.java,
6740 java/awt/CardLayout.java,
6741 java/awt/ContainerOrderFocusTraversalPolicy.java,
6742 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6743 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6744 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6745 java/awt/color/ICC_ColorSpace.java,
6746 java/awt/color/ICC_Profile.java,
6747 java/awt/color/ICC_ProfileGray.java,
6748 java/awt/color/ICC_ProfileRGB.java,
6749 java/awt/datatransfer/DataFlavor.java,
6750 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6751 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6752 New versions from Classpath.
6753 * Makefile.in: Rebuilt.
6754 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6757 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6760 * java/awt/List.java (processEvent): Added missing `else's.
6762 * java/awt/Window.java (show): validate() before showing. Make
6764 (isDisplayable): New method.
6766 2002-11-07 Mark Wielaard <mark@klomp.org>
6768 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6769 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6771 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6773 (loadClass): Take String as codebases.
6774 (getClassAnnotation): Use MyClassLoader annotations.
6775 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6776 call exportObject(this).
6778 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6779 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6780 (setAnnotation): Don't set locBytesStream and locStream.
6781 (replaceObject): Removed.
6782 (flush): Don't test locStream.
6783 (getLocBytes): LikeWise.
6784 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6785 (leaseCache): New field.
6786 (dirty): Use leaseCache.
6787 (LeaseRecord): New inner class.
6788 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6789 explicitly call exportObject().
6790 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6791 false to communicate with Sun JDK130.
6792 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6793 * gnu/java/rmi/server/RMIObjectInputStream.java
6794 (UnicastConnectionManager): Removed field.
6795 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6796 Use UnicastServer.getExportedRef().
6797 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6798 (expireTime): Likewise.
6799 (CONNECTION_TIMEOUT): Likewise.
6800 (disconnect): Call sock.close().
6801 (isExpired): New method.
6802 (resetTime): Likewise.
6803 (run): Use do while loop and catch Exception for discardConnection().
6804 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6805 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6806 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6807 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6808 (exportObject): Use refcache.
6809 (unexportObject): Likewise.
6810 (getExportedRef): New method.
6811 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6813 (exportObject): Save manager.serverobj.
6814 (getStub): New method.
6816 2002-11-07 Mark Wielaard <mark@klomp.org>
6818 * java/lang/reflect/natField.cc (getBoolean): Use getType().
6819 (getByte): Likewise.
6820 (getShort): Likewise.
6822 (getLong): Likewise.
6823 (getFloat): Likewise.
6824 (getDouble): Likewise.
6826 (setChar): Likewise.
6827 (setByte): Likewise.
6828 (setShort): Likewise.
6830 (setLong): Likewise.
6831 (setFloat): Likewise.
6832 (setDouble): Likewise.
6834 2002-11-07 Michael Koch <konqueror@gmx.de>
6836 * java/awt/Choice.java,
6837 java/awt/Container.java,
6838 java/awt/GridBagLayout.java:
6839 Fixed documentation.
6840 * java/awt/peer/ContainerPeer.java:
6843 2002-11-07 Michael Koch <konqueror@gmx.de>
6845 * java/awt/color/ICC_Profile.java:
6846 Added missing constants.
6847 * java/awt/color/ICC_ColorSpace.java
6848 (getMinValue): Added dummy implementation.
6849 (getMaxValue): Added dummy implementation.
6850 * java/awt/datatransfer/DataFlavor.java
6851 (imageFlavor): Added.
6852 (isMimeTypeEqual): Must be final.
6853 (getDefaultRepresentationClass): Must be non-static.
6854 (getDefaultRepresentationClassAsString): Must be non-static.
6855 * java/awt/dnd/DragSourceContext.java
6856 (dragExit): Corrected argument.
6857 (dragDropEnd): Corrected argument.
6858 * java/awt/dnd/DragSourceListener.java.java
6859 (dragExit): Corrected argument.
6860 (dragDropEnd): Corrected argument.
6861 * java/awt/font/TextHitInfo.java
6862 (toString): Added stubbed implementation.
6863 * java/awt/geom/PathIterator.java:
6864 The constants must be static.
6865 * java/awt/image/VolatileImage.java
6866 (IMAGE_INCOMPATIBLE): Fixed typo.
6867 * java/awt/image/renderable/RenderableImage.java
6868 (HINTS_OBSERVED): Must be static.
6869 * java/beans/BeanInfo.java:
6870 Constants must be final.
6872 2002-11-06 Tom Tromey <tromey@redhat.com>
6874 From svens@it.uu.se. For PR libgcj/8481.
6875 * java/util/Random.java (nextInt(int)): Only use 31 bits.
6877 2002-11-06 Tom Tromey <tromey@redhat.com>
6879 * jni.cc (array_from_valist): Assume that jlong won't be
6882 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
6884 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6886 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6889 2002-11-03 Tom Tromey <tromey@redhat.com>
6891 * java/lang/ClassLoader.java (loadClass): Call loadClass on
6892 VMClassLoader, not findClass.
6894 2002-11-03 Jeff Sturm <jsturm@one-point.com>
6896 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6897 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6898 _Jv_DetermineVTableIndex, to determine vtable offset.
6899 (_Jv_DetermineVTableIndex): Remove.
6900 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
6902 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6904 2002-11-03 Tom Tromey <tromey@redhat.com>
6906 * java/nio/channels/AlreadyConnectedException.java: Extend
6907 IllegalStateException, per spec.
6909 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
6911 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6913 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
6915 * java/util/ArrayList.java (readObject, writeObject): Only read/write
6918 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
6920 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6921 initial estimated size to avoid enlarge buffer frequently.
6923 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
6925 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6926 ClassLoader when null.
6927 (ProxyType.hashCode): Loader null check no longer needed.
6928 (ProxyType.sameTypes): New method.
6929 (ProxyType.equals): Use new method.
6931 2002-10-31 Mark Wielaard <mark@klomp.org>
6933 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6935 * java/net/URLEncoder.java (encode): Likewise.
6937 2002-10-31 Mark Wielaard <mark@klomp.org>
6939 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6940 when stream is closed.
6941 (closeEntry): Likewise.
6943 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6944 ZipException when no entry active.
6945 (closeEntry): Likewise.
6948 2002-11-02 Tom Tromey <tromey@redhat.com>
6950 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6951 * java/lang/natClass.cc (initializeClass): Don't return just
6952 because self==thread.
6955 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6956 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6958 2002-11-02 Andreas Schwab <schwab@suse.de>
6960 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6962 (FLAGS_TO_PASS): Define.
6963 * Makefile.in: Regenerated.
6965 2002-11-01 Michael Koch <konqueror@gmx.de>
6967 * java/nio/ByteOrder.java: New file.
6968 * java/nio/channels/DatagramChannel.java:
6969 (DatagramChannel): New constructor.
6970 * java/nio/channels/Pipe.java: New file.
6971 * java/nio/channels/SelectableChannel.java: New file.
6972 * java/nio/channels/SelectionKey.java: New file.
6973 * java/nio/channels/Selector.java: New file.
6974 * java/nio/channels/ServerSocketChannel.java
6975 (ServerSocketChannel): New constructor.
6976 * java/nio/channels/SocketChannel.java
6977 (SocketChannel): New constructor.
6978 * java/nio/channels/Pipe.java: New file.
6979 * java/nio/channels/spi/AbstractChannel.java: New file.
6980 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6981 * java/nio/channels/spi/AbstractSelectableChannel.java:
6983 (AbstractSelectableChannel): New stubbed method.
6984 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6985 * java/nio/channels/spi/AbstractSelector.java: New file.
6986 * java/nio/channels/spi/SelectorProvider.java: New file.
6987 * java/nio/charset/Charset.java: New file.
6988 * java/nio/charset/CoderMalfunctionError.java: New file.
6989 * java/nio/charset/CodingErrorAction.java: New file.
6990 * java/nio/charset/spi/CharsetProvider.java
6991 (charsetForName): Uncommented.
6992 * Makefile.am (java_native_source_files): Added new files.
6993 * Makefile.in: Regenerated.
6995 2002-11-01 Michael Koch <konqueror@gmx.de>
6997 * java/net/InetAddress.java:
6998 (isAnyLocalAddress): Implemented.
6999 (isLoopbackAddress): Implemented, comment added.
7000 (isLinkLocalAddress): Implemented, documentation added.
7001 (isSiteLocalAddress): Implemented, documentation added.
7002 (isMCGlobal): Implemented, documentation added.
7003 (isMCNodeLocal): Implemented, documentation added.
7004 (isMCLinkLocal): Implemented, documentation added.
7005 (isMCSiteLocal): Implemented, documentation added.
7006 (isMCOrgLocal): Implemented, documentation added.
7007 (getHostName): Documentation added.
7008 (getCanonicalHostName): Implemented, documentation added.
7009 (getAddress): Documentation added.
7010 (hashCode): Documentation added.
7011 (equals): Documentation added.
7012 (toString): Fixed implementation.
7013 (getByAddress): Use Inet4Address and Inet6Address.
7014 (lookup): New linewrap.
7015 (getByName): SecurityManager check added, support Inet4Address and
7016 Inet6address, comments added.
7017 (getAllByName): SecurityManager check added, comments added.
7018 * java/net/Inet6Address.java:
7019 (Inet6Address): Initialize parent class with addr instead of null.
7021 (equals): Documentation added.
7022 (getFile): Documentation added.
7023 (hashCode): Documentation added.
7024 * java/net/natInetAddress.cc:
7025 (aton): Fix IPv6 support.
7026 * java/net/natPlainDatagramSocketImpl.cc:
7027 (peek): Throw PortUnreachableException when suitable.
7028 (peekData): Throw PortUnreachableException when suitable.
7029 (send): Throw PortUnreachableException when suitable.
7030 (receive): Throw PortUnreachableException when suitable.
7032 2002-10-27 Mark Wielaard <mark@klomp.org>
7034 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7036 (readLeShort): Likewise and use byte[].
7037 (readLeInt): Likewise.
7038 (readEntries): Use new versions of methods and use byte[] for reading
7039 a complete zip entry. Add ZipFile name to exceptions.
7040 (entries): Add ZipFile name to exceptions.
7041 (getEntry): Likewise.
7042 (checkLocalHeader): Use new versions of methods and add ZipFile name
7045 2002-10-31 Mark Anderson <mark@panonet.net>
7047 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7050 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7052 * configure.in: Disable hash sync when not using threads.
7053 * configure: Regenerated.
7055 2002-10-24 Tom Tromey <tromey@redhat.com>
7057 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7058 (_Jv_FindSymbolInExecutable): Removed argument name.
7059 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7060 java.library.path is set.
7062 * gij.cc (help): Document --showversion.
7063 (version): Don't exit.
7064 (main): Handle --showversion. Exit if --version given.
7066 2002-10-23 Tom Tromey <tromey@redhat.com>
7068 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7069 (array_from_valist): Correctly handle promotion for jint, jlong,
7070 jfloat, and jdouble.
7072 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7074 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7075 GetFileAttributesEx( ) to find file length and modification times,
7076 as the latter is not present on Windows 95.
7078 2002-10-21 Michael Koch <konqueror@gmx.de>
7081 (URL): Activate SecurityManager checks.
7082 (equals): Use URLStreamHandler implementation instead of doing it
7083 alone. This allows special protocol stream handlers to change default
7085 (hashCode): Use URLStreamHandler implementation instead of doing it
7086 alone. This allows special protocol stream handlers to change default
7088 * java/net/URLStreamHandler.java
7089 (equals): Implemented default URL equality check.
7090 (hostsEqual): Implemented default URL equality check.
7091 (hashCode): Implemented default URL hashCode algorithm.
7092 * java/net/natPlainDatagramSocketImpl.cc:
7093 No lines longer then 80 characters.
7095 2002-10-20 Adam Megacz <adam@xwt.org>
7097 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7098 * configure.in: enabled hash sync on Win32
7099 * include/win32-threads.h (_Jv_ThreadId_t): added.
7100 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7101 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7102 removed some posix-isms, use Thread::sleep() instead of usleep,
7103 added code to clear bottom three bits if platform has a broken
7105 * include/win32-threads.h (_Jv_ThreadId_t): added.
7107 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7109 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7110 runtime property "gnu.gcj.progname" containing the name used to
7111 invoke the current Java program (similar to argv[0] for C
7114 2002-10-15 Tom Tromey <tromey@redhat.com>
7116 Fix for PR libgcj/8234:
7117 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7118 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7120 2002-10-13 Mark Wielaard <mark@klomp.org>
7122 * mauve-libgcj: Enable Mauve tests that compile now.
7124 2002-10-11 Mark Wielaard <mark@klomp.org>
7126 Fix for PR libgcj/8142
7127 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7128 loading native modules.
7130 2002-10-10 Michael Koch <konqueror@gmx.de>
7132 * javax/swing/AbstractListModel.java
7133 (getListDataListeners): New stubbed method.
7134 javax/swing/DefaultBoundedRangeModel.java
7135 (getChangeListeners): New stubbed method.
7136 javax/swing/DefaultSingleSelectionModel.java
7137 (getChangeListeners): New stubbed method.
7139 2002-10-10 Michael Koch <konqueror@gmx.de>
7141 * gcj/.cvsignore: New file to ignore files generated during build.
7142 * include/.cvsignore: New file to ignore files generated during build.
7144 2002-10-10 Michael Koch <konqueror@gmx.de>
7146 * java/net/HttpURLConnection.java
7147 (getPermission): New method.
7148 (getErrorStream): New stub method.
7149 (getHeaderFieldDate): New stub method.
7150 * java/net/Inet4Address.java:
7151 (isLinkLocalAddress): Typo fixed.
7152 * java/net/InetAddress.java:
7153 (readResolve): New stubbed method (for serialization).
7154 (isAnyLocalAddress): New stubbed method.
7155 (isLoopbackAddress): New stubbed method.
7156 (isLinkLocalAddress): New stubbed method.
7157 (isSiteLocalAddress): New stubbed method.
7158 (isMCGlobal): New stubbed method.
7159 (isMCNodeGlobal): New stubbed method.
7160 (isMCLinkLocal): New stubbed method.
7161 (isMCSiteLocal): New stubbed method.
7162 (isMCOrgLocal): New stubbed method.
7163 (getCanonicalHostName): New stubbed method.
7164 (getByAddress): Create instances of Inet4Address/Inet6Address,
7165 instead of InetAddress, documentation added.
7166 * java/net/MulticastSocket.java
7167 (getInterface): Removed FIXME.
7168 (getNetworkInterface): New method.
7169 (setNetworkInterface): New method.
7170 * java/net/NetworkInterface.java:
7171 (toString): Use property "line.separator" instead of "\n".
7172 * java/net/URLConnection.java
7173 (getContent): New stubbed method.
7174 * java/net/URLStreamHandler.java:
7175 (equals): New stubbed method.
7176 (hostsEqual): New stubbed method.
7177 (hashCode): New stubbed method.
7178 * java/net/natNetworkInterface.cc:
7179 (getRealNetworkInterfaces): Create Inet4Address object
7180 instead of InetAddress.
7182 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7184 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7185 unsigned long temporary to implement insn_iushr shifts.
7187 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7189 * configure.host [s390*-*]: Enable Java interpreter.
7190 Enable hash synchronization. Add sysdeps dir.
7191 * sysdep/s390/locks.h: New file.
7193 2002-10-06 Mark Wielaard <mark@klomp.org>
7195 * java/lang/Thread.java (setDaemon): Check startable_flag,
7198 2002-10-07 Michael Koch <konqueror@gmx.de>
7200 * java/nio/Buffer.java: New stub file.
7201 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7203 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7204 * Makefile.in: Regenerated.
7206 2002-10-07 Michael Koch <konqueror@gmx.de>
7208 * java/nio/ByteBuffer.java:
7209 removed import of not commited class.
7211 2002-10-07 Michael Koch <konqueror@gmx.de>
7213 * java/nio/ByteBuffer.java,
7214 java/nio/MappedByteBuffer.java:
7215 New files, forgot to add these dummies.
7216 * Makefile.am (java_native_source_files): Added new files.
7217 * Makefile.in: Regenerated.
7219 2002-10-07 Michael Koch <konqueror@gmx.de>
7221 * java/nio/channels/AlreadyConnectedException.java,
7222 java/nio/channels/ClosedChannelException.java,
7223 java/nio/channels/ReadableByteChannel.java,
7224 java/nio/channels/InterruptibleChannel.java,
7225 java/nio/channels/Channel.java,
7226 java/nio/channels/ByteChannel.java,
7227 java/nio/channels/GatheringByteChannel.java,
7228 java/nio/channels/ScatteringByteChannel.java,
7229 java/nio/channels/WritableByteChannel.java,
7230 java/nio/charset/CharacterCodingException.java,
7231 java/nio/charset/IllegalCharsetNameException.java,
7232 java/nio/charset/MalformedInputException.java,
7233 java/nio/charset/UnmappableCharacterException.java,
7234 java/nio/charset/UnsupportedCharsetException.java,
7235 java/nio/charset/spi/CharsetProvider.java: New file.
7236 These files are exceptions or interfaces,
7237 no real or abstract classes.
7238 * Makefile.am (java_native_source_files): Added new files.
7239 * Makefile.in: Regenerated.
7241 2002-10-05 Michael Koch <konqueror@gmx.de>
7243 * java/net/InetAddress.java
7244 (getByAddress): Fixed documentation.
7245 (getByAddress): New method.
7246 * java/net/Inet4Address.java: New file.
7248 (URL): Documentation added.
7249 (getContent): Documentation added.
7250 (getContent): New stubbed method.
7251 (getQuery): New method.
7252 (openConnection): Documentation added.
7253 (openStream): Documentation added.
7254 (setURLStreamHandlerFactory): Documentation added.
7255 * java/net/URI.java: New stub file.
7257 (java_native_source_files): Added java/net/Inet4Address.java,
7258 java/net/Inet6Address.java and java/net/URI.java.
7259 * Makefile.in: Regenerated.
7261 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7263 * java/lang/ProtectionDomain.java (linesep): Remove field.
7264 (toString): Use System.getProperty("line.separator").
7266 2002-10-04 Michael Koch <konqueror@gmx.de>
7268 * java/security/Identity.java: Added serialVersionUID.
7269 * java/security/KeyPair.java: Added serialVersionUID.
7270 * java/security/Provider.java: Added serialVersionUID.
7271 * java/security/SecureRandom.java: Added serialVersionUID.
7272 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7273 * java/security/SignedObject.java: Added serialVersionUID.
7274 * java/security/cert/Certificate.java: Added serialVersionUID.
7276 2002-10-04 Mark Wielaard <mark@klomp.org>
7278 * java/security/Security.java: Use java.home or gnu.classpath.home
7280 (loadProviders): Extra dir argument.
7281 (getProvider): Return null when not found.
7283 2002-10-04 Mark Wielaard <mark@klomp.org>
7285 * java/lang/Throwable.java: Remerge with Classpath.
7287 2002-10-04 Michael Koch <konqueror@gmx.de>
7289 * java/net/InetAddress.java:
7290 (isMulticastAddress): Added documentation.
7291 (getHostAddress): Added documentation.
7292 (toString): Added documentation.
7293 (getByAddress): Fixed documentation.
7294 (getByName): Added documentation.
7295 (getAllByName): Added documentation.
7296 (getLocalHost): Added documentation.
7298 2002-10-04 Michael Koch <konqueror@gmx.de>
7300 * java/beans/beancontext/BeanContextChildSupport.java:
7301 Added serialVersionUID.
7302 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7303 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7304 * javax/naming/Name.java: Added serialVersionUID.
7306 2002-10-03 Adam Megacz <adam@xwt.org>
7308 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7309 some functionality that isn't supported yet on WIN32.
7311 2002-10-03 Tom Tromey <tromey@redhat.com>
7313 * Makefile.in: Rebuilt.
7314 * Makefile.am (awt_java_source_files): Added new files.
7316 2002-10-03 Michael Koch <konqueror@gmx.de>
7318 * java/net/InetAddress.java
7319 (class InetAddress): Removed final keyword.
7320 (equals): Fixed typo.
7321 (getByAddress): New method.
7323 2002-10-03 Michael Koch <konqueror@gmx.de>
7325 * java/awt/dnd/Autoscroll.java:
7326 New file, merge from Classpath.
7327 * java/awt/dnd/DragSourceAdapter.java:
7328 (dragExit): Fixed typos in argument type.
7329 (dragDropEnd): Fixed typos in argument type.
7330 * java/awt/dnd/DragSourceDropEvent.java:
7331 New file, merge from Classpath.
7332 * java/awt/dnd/DropTarget.java:
7333 Added stubs, merge from Classpath.
7334 * java/awt/dnd/DropTargetAdapter.java:
7335 New file, merge from Classpath.
7336 * java/awt/dnd/DropTargetContext.java:
7337 New file, merge from Classpath.
7338 * java/awt/dnd/DropTargetDragEvent.java:
7339 New file, merge from Classpath.
7340 * java/awt/dnd/DropTargetDropEvent.java:
7341 New file, merge from Classpath.
7342 * java/awt/dnd/DropTargetEvent.java:
7343 New file, merge from Classpath.
7344 * java/awt/dnd/DropTargetListener.java:
7345 New file, merge from Classpath.
7346 * java/awt/dnd/MouseDragGestureRecognizer.java:
7347 New file, merge from Classpath.
7348 * java/awt/dnd/peer/DropTargetContextPeer.java:
7349 New file, merge from Classpath.
7351 2002-10-03 Michael Koch <konqueror@gmx.de>
7353 * java/net/DatagramPacket.java
7354 (setLength): Fixed typo and be HTML-aware.
7355 * java/net/InetSocketAddress.java
7356 (InetSocketAddress): Correct initialization of hostname, fixed typo.
7357 (equals): Added comment about equality of InetSocketAddress objects.
7358 * java/net/ServerSocket.java
7359 (accept): Added checks.
7360 (isClosed): New stubbed method.
7361 * java/net/SocketOptions.java: Reindention.
7362 * java/net/SocketPermission
7363 (SocketPermission): Documentation fixed.
7365 2002-10-03 Michael Koch <konqueror@gmx.de>
7367 * java/net/DatagramSocket.java
7368 (receive): Check with SecurityManager AFTER the packet is received,
7369 check if connected to multicast address, documentation added.
7370 (send): Only check SecurityManager if connected, check address of
7372 (connect): Implemented, documentation added.
7373 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7374 * java/net/InetSocketAddress.java
7375 (whole file): Reindented.
7376 (hostname): New attribute.
7377 (InetSocketAddress): Initialize new attribute.
7378 (getAddress): Documentation added.
7379 (getHostName): Documentation added.
7380 (getPort): Documentation added.
7381 (hashCode): Documentation added.
7382 (isUnresolved): Documentation added.
7383 (toString): Conform to output of JDK 1.4.1, documentation added.
7384 * java/net/MulticastSocket.java
7385 (joinGroup): Removed FIXME, documentation added.
7386 (leaveGroup): Removed FIXME, documentation added.
7387 (send): Documentation added.
7388 * java/net/Socket.java
7389 (inputShutdown): New variable.
7390 (outputShutdown): New variable.
7391 (Socket): Initialize new variables.
7392 (getRemoteSocketAddress): Check if connected.
7393 (shutdownInput): Set new variable.
7394 (shutdownOutput): Set new variable.
7395 (isConnected): New method.
7396 (isClosed): New method.
7397 (isInputShutdown): New method.
7398 (isOutputShutdown): New method.
7399 * java/net/URLStreamHandler.java
7400 (URLStreamHandler): New method.
7401 (openConnection): Added documentation.
7402 (parseURL): Added documentation.
7403 (getHostAddress): New method.
7404 (getDefaultPort): New method.
7406 2002-10-02 Tom Tromey <tromey@redhat.com>
7408 * java/rmi/activation/ActivationDesc.java,
7409 java/rmi/activation/ActivationGroupDesc.java,
7410 java/rmi/activation/ActivationGroupID.java,
7411 java/rmi/activation/ActivationID.java: New versions from
7414 2002-09-30 Bo Thorsen <bo@suse.de>
7416 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7418 2002-09-30 Tom Tromey <tromey@redhat.com>
7420 * java/io/ObjectInputStream.java (resolveProxyClass): New method
7422 * Makefile.in: Rebuilt.
7423 * Makefile.am (rmi_java_source_files): Added new files.
7424 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7425 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7426 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7428 * gnu/java/rmi/dgc/DGCImpl.java,
7429 gnu/java/rmi/dgc/DGCImpl_Skel.java,
7430 gnu/java/rmi/dgc/DGCImpl_Stub.java,
7431 gnu/java/rmi/registry/RegistryImpl_Skel.java,
7432 gnu/java/rmi/registry/RegistryImpl_Stub.java,
7433 gnu/java/rmi/server/RMIHashes.java,
7434 gnu/java/rmi/server/RMIObjectInputStream.java,
7435 gnu/java/rmi/server/RMIObjectOutputStream.java,
7436 gnu/java/rmi/server/UnicastConnection.java,
7437 gnu/java/rmi/server/UnicastConnectionManager.java,
7438 gnu/java/rmi/server/UnicastRef.java,
7439 gnu/java/rmi/server/UnicastServer.java,
7440 gnu/java/rmi/server/UnicastServerRef.java,
7441 java/rmi/MarshalledObject.java,
7442 java/rmi/server/RMIClassLoader.java,
7443 java/rmi/server/RemoteObject.java,
7444 java/rmi/server/UnicastRemoteObject.java,
7445 java/security/SecureClassLoader.java: Merged from Classpath.
7447 2002-09-29 Anthony Green <green@redhat.com>
7449 * java/lang/reflect/UndeclaredThrowableException.java: New file.
7450 Imported from GNU Classpath.
7451 * java/lang/reflect/natProxy.cc: New file.
7452 * java/lang/reflect/InvocationHandler.java: New file. Imported
7454 * java/lang/reflect/Proxy.java: New file. Imported from GNU
7456 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7458 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7459 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7461 * gcj/javaprims.h ("Java"): Add new classes.
7462 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7463 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7464 java/lang/reflect/Proxy$$ProxyType.h): And this.
7465 (inner_nat_headers): Add these new headers.
7466 (ordinary_java_source_files): Add new files.
7467 (nat_source_files): Add new file.
7468 * Makefile.in: Rebuilt.
7470 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
7472 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7473 a single configuration.
7475 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7477 * java/util/TimeZone.java (getDSTSavings): New method.
7478 Fixes PR libgcj/7786.
7480 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7482 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7483 to see if `the_method == 0' before looking up vtable index.
7484 Fixes PR libgcj/7709.
7486 2002-09-25 Tom Tromey <tromey@redhat.com>
7488 * java/lang/natClassLoader.cc:
7489 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7490 * resolve.cc: Include NoClassDefFoundError.h, not
7491 ClassNotFoundException.h.
7492 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7494 * defineclass.cc: Don't include ClassNotFoundException.h.
7496 * resolve.cc: Include StringBuffer.
7497 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7499 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7500 allocated but not initialized.
7502 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7504 Fix for PR libgcj/7766:
7505 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7506 (getNextEntry): Set it.
7507 (closeEntry): Likewise.
7510 (available): Use it.
7512 2002-09-25 Michael Koch <konqueror@gmx.de>
7514 * java/net/DatagramSocket.java
7515 (DatagramSocket): Initialize new instance variables.
7516 (close): Reset new instance variables.
7517 (getLocalAddress): Remove unneeded SecurityManager usage.
7518 (getLocalPort): Check if socket is already bound.
7519 (isConnected): New method.
7520 (getInetAddress): Implemented.
7521 (getPort): Better Implementation, documentation fixed.
7522 (getRemoteSocketAddress): New method.
7523 * java/net/JarURLConnection.java
7524 (element): Typo fixed.
7525 (getMainAttributes): New method.
7526 (getAttributes): New method (stub only).
7527 (getManifest): New method (stub only).
7528 * java/net/NetPermission.java: Added serialVersionsUID.
7529 * java/net/Socket.java
7530 (connect): Check blocking mode of associated channel,
7531 documentation added.
7532 (getLocalSocketAddress): Better implementation.
7533 (getRemoteSocketAddress): Implemented.
7534 (isBound): New method.
7535 (setSendBufferSize): Documentation added.
7536 * java/net/SocketAddress.java: Added serialVersionsUID.
7537 * java/net/SocketPermission.java: Added serialVersionsUID.
7539 (URL): Wrap for shorter lines, initialize new instance variables,
7540 documentation added.
7541 (equals): Check new instance variables too.
7542 (getContent): Documentation added.
7543 (getPath): Documentation added.
7544 (getAuthority): New method.
7545 (getHost): Documentation added.
7546 (getPort): Documentation added.
7547 (getDefaultPort): New method.
7548 (getProtocol): Documentation added.
7549 (getUserInfo): Documentation added.
7550 (set): Initialize new instance variables, documentation added.
7551 * java/net/URLStreamHandler.java
7552 (setURL): New method.
7553 * java/net/natPlainDatagramSocketImpl.cc
7554 (connect): Fix exception name.
7555 (disconnect): Fix exception name.
7557 2002-09-25 Michael Koch <konqueror@gmx.de>
7559 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7560 * java/nio/channels/DatagramChannel.java:
7561 extends AbstractSelectableChannel
7562 * java/nio/channels/ServerSocketChannel.java:
7563 extends AbstractSelectableChannel
7564 * java/nio/channels/SocketChannel.java:
7565 extends AbstractSelectableChannel
7566 * Makefile.am (ordinary_java_source_files):
7567 java/nio/channels/spi/AbstractSelectableChannel.java added.
7568 * Makefile.in: Regenerated.
7570 2002-09-25 Michael Koch <konqueror@gmx.de>
7572 * java/net/DatagramSocket.java
7573 (DatagramSocket): Exception documentation added.
7574 (bind): Exception documentation added, addded SecurityManager check,
7575 added SocketAddress type check.
7576 (getSoTimeout): Check impl.
7577 (receive): Fix SecurityManager check, check impl, documentation added.
7578 (send): Check channel mode, documentation added.
7579 (connect): New method.
7580 (disconnect): Implemented.
7581 (getLocalSocketAddress): New method.
7582 (getReceiveBufferSize): Check impl.
7583 (setReuseAddress): Check impl.
7584 (getReuseAddress): Check impl.
7585 (setBroadcast): Check impl.
7586 (getBroadcast): Check impl.
7587 (setTrafficClass): Check impl, Documentation cleared.
7588 (getTrafficClass): Check impl.
7589 (getSendBufferSize): Check impl.
7590 (setReceiveBufferSize): Check impl, documentation added.
7591 (setSendBufferSize): Documentation added.
7592 (setDatagramSocketImplFactory): New method.
7593 * java/net/HttpURLConnection.java
7594 (HTTP_INTERNAL_ERROR): The correct code is 500.
7595 (HTTP_NOT_IMPLEMENTED): Added new constant.
7596 (setFollowRedirects): Documentation added.
7597 (getInstanceFollowRedirects): New method.
7598 (setInstanceFollowRedirects): New method.
7599 (setRequestMethod): Documentation added.
7600 (getResponseCode): Documentation added.
7601 (getResponseMessage): Documentation added.
7602 * java/net/JarURLConnection.java
7603 (JarURLConnection): protected since JDK 1.4.
7604 (getJarEntry): java.io.IOException to IOException, documentation added.
7605 (getJarFile): Documentation added.
7606 * java/net/ServerSocket.java
7607 (ServerSocket): Private to public, exception added.
7608 (ServerSocket): java.io.IOException to IOException, documentation added.
7609 (bind): Check socket address type, documentation added.
7610 (bind): java.io.IOException to IOException, documentation added.
7611 (accept): Documentation added.
7612 (implAccept): Check ch is not non-blocking, documentation added.
7613 (setSoTimeout): Documentation fixed.
7614 (setReceiveBufferSize): Documentation added.
7615 * java/net/Socket.java
7616 (Socket): Documentation added.
7617 (bind): Documentation added.
7618 (connect): Check socket address type, documentation added.
7619 (getRemoteSocketAddress): New method.
7620 (getLocalSocketAddress): New method.
7621 (setSoLinger): Documentation added.
7622 (getReuseAddress): New method.
7623 (setReuseAddress): New method.
7624 (getTrafficClass): New method.
7625 (setTrafficClass): New method.
7626 * java/net/URLStreamHandler.java
7627 (openConnection): java.io.IOException to IOException.
7628 (parseURL): Documentation added.
7629 (sameFile): public to protected, documentation added.
7630 (setURL): Documentation added.
7631 * java/nio/IllegalBlockingModeException.java: New file.
7632 * Makefile.am (ordinary_java_source_files):
7633 added java/nio/IllegalBlockingModeException.java
7634 * Makefile.in: Regenerated.
7636 2002-09-25 Michael Koch <konqueror@gmx.de>
7638 * java/net/DatagramPacket
7639 (DatagramPacket): Exception documentation added.
7640 (setData): Likewise.
7641 (setSocketAddress): Likewise.
7642 * java/net/DatagramSocketImpl.java
7643 (peek): Documentation addded.
7644 (peekData): Documentation addded.
7645 (send): Documentation addded.
7646 (receive): Documentation addded.
7647 (connect): New method.
7648 (disconnect): New method.
7649 (joinGroup): New abstract method.
7650 (leaveGroup): New abstract method.
7651 * java/net/InetSocketAddress.java
7652 (InetSocketAddress): Documentation added.
7653 (equals): final keyword added.
7654 (getAddress): final keyword added.
7655 (getHostName): final keyword added.
7656 (getPort): final keyword added.
7657 (hashCode): final keyword added.
7658 (isUnresolved): final keyword added.
7659 * java/net/MulticastSocket.java
7660 (MulticastSocket): Documentation added.
7661 (MulticastSocket): New method.
7662 (joinGroup): Documentation added.
7663 (joinGroup): New method.
7664 (leaveGroup): Documentation added.
7665 (leaveGroup): New method.
7666 (send): Documentation added.
7667 * java/net/NetworkInterface.java
7668 (getByName): Documentation added.
7669 (getByInetAddress): Documentation added.
7670 (getNetworkInterfaces): Documentation added.
7671 * java/net/PlainDatagramSocketImpl.java
7672 (connect): New method.
7673 (disconnect): New method.
7674 * java/net/SocketImpl.java
7675 (create): Documentation added.
7676 (shutdownInput): Convert public to protected, as it always was.
7677 (shutdownOutput): Convert public to protected, as it always was.
7678 * java/net/SocketOptions.java
7679 (whole file): Reintented.
7680 * java/net/URLClassLoader.java
7681 (URLClassLoader): SecurityManager check added, documentation added.
7682 (findResources): Documentation added.
7683 (findClass): Documentation added.
7684 (newInstance): More correct method arguments.
7685 * java/net/URLConnection.java
7686 (connect): Documentation added.
7687 (getContent): Documentation added.
7688 (getPermission): Documentation added.
7689 (getInputStream): Documentation added.
7690 (getOutputStream): Documentation added.
7691 (setDoInput): Throw correct exception, documentation added.
7692 (setDoOutput): Throw correct exception, documentation added.
7693 (setAllowUserInteraction): Throw correct exception, documentation added.
7694 (setUseCaches): Throw correct exception, documentation added.
7695 (setIfModifiedSince): Throw correct exception, documentation added.
7696 (setRequestProperty): Throw exception, documentation added.
7697 (addRequestProperty): Throw exception, documentation added.
7698 (getRequestProperty): Throw exception, documentation added.
7699 (getRequestProperties): Documentation added.
7700 (setContentHandlerFactory): Documentation added.
7701 (guessContentTypeFromName): protected to public.
7702 (setFileNameMap): Documentation added.
7703 * java/net/URLDecoder.java
7704 (URLDecoder): New method.
7705 (decode): Documentation added.
7706 (whole file): Reindented.
7707 * java/net/URLEncoder.java
7708 (encode): Documentation added.
7709 * java/net/natPlainDatagramSocketImpl.cc
7710 (connect): New method.
7711 (disconnect): New method.
7712 * javax/naming/RefAddr:
7713 (addrType): addrType was never final.
7714 (equals): Fix typo in method name.
7715 * javax/naming/BinaryRefAddr:
7716 (equals): Fix typo in method name.
7718 2002-09-22 Tom Tromey <tromey@redhat.com>
7720 Fix for PR libgcj/6576:
7721 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7722 didn't find a given bundle.
7723 (getBundle): Don't require base bundle.
7724 (setParent): Removed old comment.
7725 (tryLocalBundle): Try components even if preceding components were
7728 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7730 * Makefile.am (all-multi): Fix multilib parallel build.
7732 2002-09-21 Michael Koch <konqueror@gmx.de>
7734 * java/net/Socket.java
7735 (sendUrgentData): New method.
7736 (getChannel): New method.
7737 * java/net/ServerSocket.java
7738 (getChannel): New method.
7739 (isBound): New method.
7740 * java/net/DatagramSocket.java
7741 (DatagramSocket): Two new methods.
7743 (getChannel): New method.
7744 (isBound): New method.
7745 (send): Added newline to to make shorter lines.
7746 * java/net/PlainDatagramSocketImpl.java
7747 (mcastGrp): Added argument.
7748 (join): Use new mcastGrp.
7749 (leave): Use new mcastGrp.
7750 (joinGroup): New method.
7751 (leaveGroup): New method.
7752 * java/net/natPlainDatagramSocketImpl.cc
7753 (mcastGrp): Added argument, no yet really implemented.
7754 (getOption): Added newline for shorter lines.
7755 * java/net/natPlainSocketImpl.cc
7756 (read, setOption, getOption): Added newline for shorter lines.
7758 2002-09-19 Tom Tromey <tromey@redhat.com>
7760 * java/lang/ClassLoader.java (resolveClass0): Set cause for
7761 newly-created exception.
7763 2002-09-18 Michael Koch <konqueror@gmx.de>
7765 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7766 java/util/regex/PatternSyntaxException.java:
7767 Merge with classpath, new files.
7768 * Makefile.am (core_java_source_files):
7769 Added java/util/regex/Matcher.java,
7770 java/util/regex/Pattern.java,
7771 java/util/regex/PatternSyntaxException.java
7772 * Makefile.in: Regenerated.
7773 * include/config.h.in: Added HAVE_NET_IF_H.
7774 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7775 Removed #if 0 ... #endif.
7777 2002-09-17 Michael Koch <konqueror@gmx.de>
7779 * java/net/natNetworkInterface.cc:
7780 Removed unneed and yet wrong includes.
7782 2002-09-17 Michael Koch <konqueror@gmx.de>
7784 * java/net/NetworkInterface.java: New file.
7785 * java/net/natNetworkInterface.java: New file.
7786 * configure.in: Added check for net/if.h.
7787 * configure: Regenerated.
7789 (ordinary_java_source_files): Added NetworkInterface.java.
7790 (nat_source_files): Added natNetworkInterface.cc.
7791 * Makefile.in: Regenerated.
7793 2002-09-16 Tom Tromey <tromey@redhat.com>
7795 * java/net/URLClassLoader.java (findClass): Code source for a
7796 class from a jar is not necessarily a jar: URL.
7798 2002-09-16 Michael Koch <konqueror@gmx.de>
7800 * java/lang/AssertionError.java:
7801 Merge with classpath, fixes HTML.
7802 * java/rmi/server/LogStream.java:
7803 Merge with classpath, fixes some constants.
7804 * java/net/server/RemoteServer.java:
7805 Merge with classpath, adds serialVersionUID.
7806 * javax/naming/BinaryRefAddr.java:
7807 Merge with classpath, s/equal/equals/.
7808 * javax/naming/NamingException.java:
7809 Merge with classpath, fixed typo.
7810 * javax/naming/RefAddr.java:
7811 Merge with classpath, s/equal/equals/.
7812 * java/awt/Toolkit.java:
7813 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7816 2002-09-15 Adam Megacz <adam@xwt.org>
7818 * java/net/natPlainSocketImpl.cc: fixed typo.
7820 2002-09-15 Adam Megacz <adam@xwt.org>
7822 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7823 which don't work on Win32 (yet).
7825 2002-09-14 Adam Megacz <adam@xwt.org>
7827 * java/net/natPlainDatagramSocket.cc: removed #include
7828 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7829 * include/win32.h: included definition for IP_TOS to satisfy
7830 natPlainDatagramSocket.cc
7832 2002-09-13 Michael Koch <konqueror@gmx.de>
7834 * java/net/DatagramPacket.java (DatagramPacket):
7835 Added linebreak for 80 chars per line.
7836 * java/net/JarURLConection.java
7837 (getInputStreami, getJarEntry): Likewise.
7838 * java/net/SocketPErmission.java
7839 (SocketPermission class docu, implies): Likewise.
7840 * java/net/URLClassLoader.java (findResources): Likewise.
7841 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7843 2002-09-13 Michael Koch <konqueror@gmx.de>
7845 * java/nio/channels/DatagramChannel.java,
7846 java/nio/channels/ServerSocketChannel.java
7847 java/nio/channels/SocketChannel.java:
7848 New dummy files to make java.net fully JDK 1.4 compatible
7849 * Makefile.am (ordinary_java_source_files): Added
7850 java/net/DatagramSocketImplFactory.java (long forgotten),
7851 java/nio/SocketChannel.java,
7852 java/nio/ServerSocketChannel.java,
7853 java/nio/DatagramChannel.java
7854 * Makefile.in: Regenrated.
7856 2002-09-12 Michael Koch <konqueror@gmx.de>
7858 * java/net/DatagramSocketImpl.java
7859 (peekData): New method.
7860 * java/net/PlainDatagramSocketImpl.java
7861 (peekData): New method.
7862 * java/net/natPlainDatagramSocketImpl.cc
7863 (peekData): New method.
7864 * java/net/URLConnection
7865 (getPermission): New method.
7866 (addRequestProperty): New method.
7867 (getRequestProperties): New method.
7868 (guessContentTypeFromStream): New method, not really implemented.
7869 (URLConnection): Added/updated documentation.
7870 (connect): Added/updated documentation.
7871 (getURL): Added/updated documentation.
7872 (getContentLength): Added/updated documentation.
7873 (getContentType: Added/updated documentation.
7874 (getContentEncoding): Added/updated documentation.
7875 (getExpiration): Added/updated documentation.
7876 (getDate): Added/updated documentation.
7877 (getLastModified): Added/updated documentation.
7878 (getHeaderField): Added/updated documentation.
7879 (getHeaderFields): Added/updated documentation.
7880 (getHeaderFieldInt): Added/updated documentation.
7881 (getHeaderFieldDate): Added/updated documentation.
7882 (getHeaderFieldKey): Added/updated documentation.
7883 (getContent): Added/updated documentation.
7884 (getInputStream): Added/updated documentation.
7885 (getOutputStream): Added/updated documentation.
7886 (toString): Added/updated documentation.
7887 (setDoInput): Added/updated documentation.
7888 (getDoInput): Added/updated documentation.
7889 (setDoOutput): Added/updated documentation.
7890 (getDoOutput): Added/updated documentation.
7891 (setAllowUserInteraction): Added/updated documentation.
7892 (getAllowUserInteraction): Added/updated documentation.
7893 (setDefaultAllowUserInteraction): Added/updated documentation.
7894 (getDefaultAllowUserInteraction): Added/updated documentation.
7895 (setUseCaches): Added/updated documentation.
7896 (getUseCaches): Added/updated documentation.
7897 (setIfModifiedSince): Added/updated documentation.
7898 (getIfModifiedSince): Added/updated documentation.
7899 (getDefaultUseCaches): Added/updated documentation.
7900 (setDefaultUseCaches): Added/updated documentation.
7901 (setRequestProperty): Added/updated documentation.
7902 (getRequestProperty): Added/updated documentation.
7903 (setDefaultRequestProperty): Added/updated documentation.
7904 (getDefaultRequestProperty): Added/updated documentation.
7905 (setContentHandlerFactory): Added/updated documentation.
7906 (guessContentTypeFromName): Added/updated documentation.
7907 (getFileNameMap): Added/updated documentation.
7908 (setFileNameMap): Added/updated documentation.
7910 2002-09-11 Michael Koch <konqueror@gmx.de>
7912 * java/net/Socket.java
7913 (Socket): protected to public (since JDK 1.4). Added @specnote.
7915 (connect): Two new methods.
7916 (getKeepalive): Get correct socket option.
7917 (setKeepalive): Set correct socket option.
7918 (getOOBInline): New method.
7919 (setOOBInline): New method.
7920 * java/net/ServerSocket.java
7921 (bind): Two new methods.
7922 (getInetAddress): Reimplemented, catch exception.
7923 (getLocalSocketAddress): New method.
7924 (setReuseAddress): New method.
7925 (getReuseAdress): New method.
7926 (setReceiveBufferSize): New method.
7927 (getReceiveBufferSize): New method.
7928 (toString): Made string JDK 1.4 compliant.
7930 2002-09-10 Michael Koch <konqueror@gmx.de>
7932 * java/net/SocketImpl.java
7933 (connect): New method.
7934 (supportsUrgentData): New method.
7935 (sendUrgentData): New method.
7936 * java/net/PlainSocketImpl.java
7937 (connect): One new method and two new implementation.
7938 (sendUrgentData): New method.
7939 * java/natPlainSocketImpl.cc
7940 (connect): Arguments changed, added support for timeouts.
7941 (getOption): Another __java_boolean to jboolean.
7943 2002-09-07 Adam Megacz <adam@xwt.org>
7945 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7946 definition of IP_TOS.
7948 2002-09-04 Michael Koch <konqueror@gmx.de>
7950 * java/net/DatagramSocket.java
7951 (DatagramSocket): Added documentation.
7953 (getLocalAddress): Likewise.
7954 (getLocalPort): Likewise.
7955 (receive): Likewise.
7957 (setSoTimeout): Likewise.
7958 (connect): New method.
7959 (disconnect): New method.
7960 (getInetAddress): New method (FIXME)
7961 (getPort): New method.
7962 (setReuseAddress): New method.
7963 (getReuseAddress): New method.
7964 (setBroadcast): New method.
7965 (getBroadcast): New method.
7966 (setTrafficClass): New method.
7967 (getTrafficClass): New method.
7968 * java/net/MulticastSocket.java):
7969 (getTTL): Added @see in documentation.
7970 (setTTL): Added @see in documentation.
7971 (setLoopbackMode): New method.
7972 (getLoopbackMode): New method.
7973 * java/net/PlainSocketImpl.java:
7974 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7975 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7976 * java/net/PlainDatagramSocketImpl.java
7977 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7978 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7979 * java/net/natPlainSocketImpl.cc
7980 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7981 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7982 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7983 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7984 This should also fix SO_KEEPALIVE
7985 * java/net/natPlainDatagramSocketImpl.cc
7986 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7987 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7988 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7989 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7991 2002-09-04 Michael Koch <konqueror@gmx.de>
7993 * java/net/SocketOptions.java: added static variables to be JDK 1.4
7994 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7995 IP_MULTICAST_LOOP, IP_TOS
7997 2002-09-03 Tom Tromey <tromey@redhat.com>
7999 * java/lang/Class.h (_getDeclaredMethod): Declare.
8000 (_getMethod): Now private.
8001 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
8002 getDeclaredMethod. Now returns NULL on failure.
8003 * java/lang/Class.java (_getDeclaredMethod): Declare.
8004 (getDeclaredMethod): No longer native; implements access checks.
8006 2002-09-01 Mark Wielaard <mark@klomp.org>
8008 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
8009 (sanitizeStack): Correctly reset unknown and interpreter counters,
8010 detect interpreter runtime frames.
8011 (demangleInterpreterMethod): New method.
8012 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
8013 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
8016 2002-09-02 Michael Koch <konqueror@gmx.de>
8018 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
8019 re-indented documentation.
8021 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8023 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
8024 public, per 1.4 spec. Fixes PR libgcj/7785.
8026 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8028 * Makefile.in: Rebuilt.
8029 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8031 2002-08-29 Tom Tromey <tromey@redhat.com>
8033 * java/net/JarURLConnection.java (getCertificates): New method
8035 * java/net/URLClassLoader.java (URLClassLoader): Extends
8037 (definePackage): New method from Classpath.
8038 (getPermissions): Likewise.
8039 (newInstance): Likewise.
8040 (findClass): Construct CodeSource for new class (from Classpath).
8041 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8043 * java/net/URL.java (getUserInfo): New method.
8044 (set(String,String,int,String,String,String,String,String)): New
8046 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8047 (shutdownInput, shutdownOutput): Declare.
8048 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8050 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8051 (getOption): Likewise.
8052 (shutdownInput): New method.
8053 (shutdownOutput): Likewise.
8054 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8056 (getOption): Likewise.
8057 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8058 * java/net/Socket.java (setKeepAlive): New method.
8059 (getKeepAlive): Likewise.
8060 (shutdownInput, shutdownOutput): New methods.
8062 2002-08-29 Michael Koch <konqueror@gmx.de>
8064 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8066 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8068 DatagramPacket(byte[] buf, int length, SocketAddress address),
8069 void setSocketAddress(SocketAddress address)
8070 public SocketAddress getSocketAddress()
8072 2002-08-29 Tom Tromey <tromey@redhat.com>
8074 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8075 ftruncate is missing.
8076 * configure, include/config.h.in: Rebuilt.
8077 * acconfig.h (HAVE_FTRUNCATE): Mention.
8078 * configure.in: Check for ftruncate.
8080 2002-08-29 Tom Tromey <tromey@redhat.com>
8082 * include/jvm.h (struct _Jv_frame_info): New structure.
8083 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8085 (lookupInterp): New method.
8086 (getAddrAsString): Use _Jv_frame_info.
8087 (dladdrLookup): Likewise.
8088 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8090 (lookupInterp): Declare.
8091 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8092 (fillInStackTrace): Collect information on interpreted frames.
8094 * interpret.cc: Include Thread.h.
8095 (run): Create and push _Jv_MethodChain object.
8096 (_Jv_EndOfInterpreter): New global.
8097 * java/lang/Thread.java (interp_frame): New field.
8098 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8099 Include NameFinder.h.
8101 2002-08-28 Tom Tromey <tromey@redhat.com>
8103 * java/lang/Class.h: Include Package.h.
8104 (Class::getProtectionDomain): Declare.
8105 (Class::getPackage): Declare.
8107 2002-08-28 Michael Koch <konqueror@gmx.de>
8109 * java/net/InetSocketAddress.java: Added some documentation and argument
8110 checks for the port numbers.
8111 * java/net/DatagramSocketImplFactory.java: New file.
8113 2002-08-28 Michael Koch <konqueror@gmx.de>
8115 * java/net/Authenticator.java: added some documentation.
8117 2002-08-27 Tom Tromey <tromey@redhat.com>
8119 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8121 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8123 2002-08-27 Michael Koch <konqueror@gmx.de>
8125 * java/net/BindException.java,
8126 java/net/JarURLConnection.java,
8127 java/net/FileNameMap.java,
8128 java/net/HttpURLConnection.java,
8129 java/net/InetSocketAddress.java,
8130 java/net/DatagramPacket.java,
8131 java/net/DatagramSocket.java,
8132 java/net/DatagramSocketImpl.java,
8133 java/net/MulticastSocket.java,
8134 java/net/PasswordAuthentication.java,
8135 java/net/ServerSocket.java,
8136 java/net/Socket.java,
8137 java/net/URLClassLoader.java,
8138 java/net/URLConnection.java: add/update of some @since/@deprecated
8140 2002-08-27 Tony Kimball <alk@pobox.com>
8141 Tom Tromey <tromey@redhat.com>
8143 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8146 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8147 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8149 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8150 * include/win32.h (getcwd): Removed declaration. Include io.h.
8152 2002-08-25 Adam Megacz <adam@xwt.org>
8154 * include/win32.h (getcwd): copied function declaration as
8155 temporary fix for header confusion.
8157 2002-08-24 Mark Wielaard <mark@klomp.org>
8159 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8160 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8161 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8162 and natNameFinder.cc.
8163 * Makefile.in: Regenerate.
8164 * prims.cc: Use trace_enabled from VMThrowable.
8165 * name-finder.cc: Removed.
8166 * gcj/javaprims.h: Add class VMThrowable.
8167 * gnu/gcj/runtime/NameFinder.java: New file.
8168 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8169 * include/name-finder.h: Removed.
8170 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8171 method stackTraceString().
8172 (printStackTrace (PrintWriter)): Likewise.
8173 (stackTraceString): Complete rewrite of old printStackTrace using
8175 (stackTraceStringBuffer): New helper method for stackTraceString().
8176 (fillInStackTrace): Delegate to VMTrowable.
8177 (getStackTrace): Likewise.
8178 (getStackTrace0): Removed.
8179 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8180 (setStackTrace): Copy given array.
8181 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8182 * java/lang/VMThrowable.java: New class.
8183 * java/lang/natVMThrowable.cc: New file.
8185 2003-08-23 Michael Koch <konqueror@gmx.de>
8187 * java/net/URLConnection.java,
8188 java/netJarURLConnection.java,
8189 gnu/gcj/protocol/core/Connection.java,
8190 gnu/gcj/protocol/file/Connection.java,
8191 gnu/gcj/protocol/http/Connection.java: Added implementation of
8194 2002-08-22 Tom Tromey <tromey@redhat.com>
8196 * gij.cc (help): Document -cp and -classpath.
8197 (main): Handle -classpath.
8199 2002-08-21 Tom Tromey <tromey@redhat.com>
8201 * Makefile.in: Rebuilt.
8202 * Makefile.am (ordinary_java_source_files): Added
8203 SocketAddress.java, InetSocketAddress.java.
8204 * java/net/PortUnreachableException.java: Merged with Classpath.
8205 * java/net/SocketTimeoutException.java: Likewise.
8206 * java/net/URISyntaxException.java: Likewise.
8207 * java/net/SocketAddress.java: New class from Classpath.
8208 * java/net/InetSocketAddress.java: Likewise.
8210 2003-08-21 Michael Koch <konqueror@gmx.de>
8212 * java/net/Authenticator.java: updated JDK 1.4
8213 * java/net/ContentHandler.java: updated JDK 1.4
8215 2002-08-20 Michael Koch <konqueror@gmx.de>
8217 * java/net/URISyntaxException.java: New file.
8218 * java/net/SocketTimeoutException.java: New file.
8219 * java/net/PortUnreachableException.java: New file.
8220 * Makefile.am: Updated.
8221 * Makefile.in: Rebuilt.
8223 2002-08-18 Mark Wielaard <mark@klomp.org>
8225 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8226 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8227 MessageDigestSpi (fixes Classpath bug #783).
8229 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8231 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8232 (startProcess): Allocate path for chdir in async-signal-safe way.
8234 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8236 Fix for PR libgcj/7570 and PR libgcj/7578:
8237 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8238 (startProcess): Handle new `dir' argument.
8239 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8241 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8243 (startProcess): Likewise.
8244 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8246 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8247 (exec): Don't create new environment if ENV==null. Pass DIR to
8249 * java/lang/natRuntime.cc: Include java/io/File.h.
8250 (execInternal): Added `dir' argument.
8252 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8254 * java/io/RandomAccessFile.java (skipBytes): Return number of
8257 2002-08-01 Mark Wielaard <mark@klomp.org>
8259 Reenable patch since shared library troubles on powerpc are solved:
8260 * gnu/java/security/provider/Gnu.java: Reference all implementation
8261 classes by using Class.getName().
8262 * gnu/java/security/der/DEREncodingException.java,
8263 gnu/java/security/provider/DERReader.java,
8264 gnu/java/security/provider/DERWriter.java,
8265 gnu/java/security/provider/DSAKeyPairGenerator.java,
8266 gnu/java/security/provider/DSAParameterGenerator.java,
8267 gnu/java/security/provider/DSAParameters.java,
8268 gnu/java/security/provider/DSASignature.java,
8269 gnu/java/security/provider/GnuDSAPrivateKey.java,
8270 gnu/java/security/provider/GnuDSAPublicKey.java,
8271 gnu/java/security/provider/MD5.java,
8272 gnu/java/security/util/Prime.java: New classes
8273 * Makefile.am (ordinary_java_source_files): Add above files.
8274 * Makefile.in: Regenerate.
8275 * gnu/java/security/provider/DefaultPolicy.java
8276 (getPermissions): Don't maintain static class variable of Permissions.
8277 * gnu/java/security/provider/SHA.java
8278 (engineUpdate): algorithm change.
8279 (engineDigest): algorithm change.
8281 2002-08-09 Mark Wielaard <mark@klomp.org>
8283 * java/awt/image/MemoryImageSource.java: Change constructor to take
8285 * java/awt/Graphics2D.java: Uncomment methods that can now be
8287 * java/awt/GridBagLayout.java: New stub implementation.
8288 * javax/swing/text/html/HTML.java: Stub implementation.
8289 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8292 * Makefile.am: Add new files.
8293 * Makefile.in: Rebuilt.
8295 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8297 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8298 methods in Graphics2D.
8300 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8302 AWT/Swing merge from GNU Classpath.
8304 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8305 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8306 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8307 java/awt/color/ProfileDataException.java,
8308 java/awt/CompositeContext.java, java/awt/Composite.java,
8309 java/awt/ContainerOrderFocusTraversalPolicy.java,
8310 java/awt/datatransfer/FlavorTable.java,
8311 java/awt/DefaultFocusTraversalPolicy.java,
8312 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8313 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8314 java/awt/dnd/DragGestureListener.java,
8315 java/awt/dnd/DragGestureRecognizer.java,
8316 java/awt/dnd/DragSourceAdapter.java,
8317 java/awt/dnd/DragSourceContext.java,
8318 java/awt/dnd/DragSourceDragEvent.java,
8319 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8320 java/awt/dnd/DragSourceListener.java,
8321 java/awt/dnd/DragSourceMotionListener.java,
8322 java/awt/dnd/DropTarget.java,
8323 java/awt/dnd/InvalidDnDOperationException.java,
8324 java/awt/dnd/peer/DragSourceContextPeer.java,
8325 java/awt/event/AWTEventListenerProxy.java,
8326 java/awt/event/MouseWheelEvent.java,
8327 java/awt/event/MouseWheelListener.java,
8328 java/awt/event/WindowFocusListener.java,
8329 java/awt/event/WindowStateListener.java,
8330 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8331 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8332 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8333 java/awt/geom/FlatteningPathIterator.java,
8334 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8335 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8336 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8337 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8338 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8339 java/awt/image/ImagingOpException.java,
8340 java/awt/image/RasterFormatException.java,
8341 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8342 java/awt/image/VolatileImage.java,
8343 java/awt/image/WritableRenderedImage.java,
8344 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8345 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8346 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8347 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8348 java/awt/PageAttributes.java, java/awt/print/Book.java,
8349 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8350 java/awt/print/Paper.java, java/awt/print/Printable.java,
8351 java/awt/print/PrinterAbortException.java,
8352 java/awt/print/PrinterException.java,
8353 java/awt/print/PrinterGraphics.java,
8354 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8355 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8356 java/awt/Stroke.java, java/awt/TexturePaint.java,
8357 javax/accessibility/AccessibleAction.java,
8358 javax/accessibility/AccessibleBundle.java,
8359 javax/accessibility/AccessibleComponent.java,
8360 javax/accessibility/AccessibleContext.java,
8361 javax/accessibility/AccessibleEditableText.java,
8362 javax/accessibility/AccessibleExtendedComponent.java,
8363 javax/accessibility/AccessibleExtendedTable.java,
8364 javax/accessibility/AccessibleHyperlink.java,
8365 javax/accessibility/AccessibleHypertext.java,
8366 javax/accessibility/AccessibleIcon.java,
8367 javax/accessibility/Accessible.java,
8368 javax/accessibility/AccessibleKeyBinding.java,
8369 javax/accessibility/AccessibleRelation.java,
8370 javax/accessibility/AccessibleRelationSet.java,
8371 javax/accessibility/AccessibleResourceBundle.java,
8372 javax/accessibility/AccessibleRole.java,
8373 javax/accessibility/AccessibleSelection.java,
8374 javax/accessibility/AccessibleState.java,
8375 javax/accessibility/AccessibleStateSet.java,
8376 javax/accessibility/AccessibleTable.java,
8377 javax/accessibility/AccessibleTableModelChange.java,
8378 javax/accessibility/AccessibleText.java,
8379 javax/accessibility/AccessibleValue.java,
8380 javax/swing/AbstractAction.java,
8381 javax/swing/AbstractButton.java,
8382 javax/swing/AbstractCellEditor.java,
8383 javax/swing/AbstractListModel.java,
8384 javax/swing/AbstractSet.java, javax/swing/Action.java,
8385 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8386 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8387 javax/swing/border/CompoundBorder.java,
8388 javax/swing/border/EmptyBorder.java,
8389 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8390 javax/swing/border/LineBorder.java,
8391 javax/swing/border/MatteBorder.java,
8392 javax/swing/border/TitledBorder.java,
8393 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8394 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8395 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8396 javax/swing/CellRendererPane.java,
8397 javax/swing/colorchooser/AbstractColorChooserPanel.java,
8398 javax/swing/colorchooser/ColorChooserComponentFactory.java,
8399 javax/swing/colorchooser/ColorSelectionModel.java,
8400 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8401 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8402 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8403 javax/swing/DefaultBoundedRangeModel.java,
8404 javax/swing/DefaultButtonModel.java,
8405 javax/swing/DefaultCellEditor.java,
8406 javax/swing/DefaultCellRenderer.java,
8407 javax/swing/DefaultComboBoxModel.java,
8408 javax/swing/DefaultDesktopManager.java,
8409 javax/swing/DefaultFocusManager.java,
8410 javax/swing/DefaultListCellRenderer.java,
8411 javax/swing/DefaultListModel.java,
8412 javax/swing/DefaultListSelectionModel.java,
8413 javax/swing/DefaultSingleSelectionModel.java,
8414 javax/swing/DesktopManager.java,
8415 javax/swing/event/AncestorEvent.java,
8416 javax/swing/event/AncestorListener.java,
8417 javax/swing/event/CaretEvent.java,
8418 javax/swing/event/CaretListener.java,
8419 javax/swing/event/CellEditorListener.java,
8420 javax/swing/event/ChangeEvent.java,
8421 javax/swing/event/ChangeListener.java,
8422 javax/swing/event/DocumentEvent.java,
8423 javax/swing/event/DocumentListener.java,
8424 javax/swing/event/EventListenerList.java,
8425 javax/swing/event/HyperlinkEvent.java,
8426 javax/swing/event/HyperlinkListener.java,
8427 javax/swing/event/InternalFrameAdapter.java,
8428 javax/swing/event/InternalFrameEvent.java,
8429 javax/swing/event/InternalFrameListener.java,
8430 javax/swing/event/ListDataEvent.java,
8431 javax/swing/event/ListDataListener.java,
8432 javax/swing/event/ListSelectionEvent.java,
8433 javax/swing/event/ListSelectionListener.java,
8434 javax/swing/event/MenuDragMouseEvent.java,
8435 javax/swing/event/MenuDragMouseListener.java,
8436 javax/swing/event/MenuEvent.java,
8437 javax/swing/event/MenuKeyEvent.java,
8438 javax/swing/event/MenuKeyListener.java,
8439 javax/swing/event/MenuListener.java,
8440 javax/swing/event/MouseInputAdapter.java,
8441 javax/swing/event/MouseInputListener.java,
8442 javax/swing/event/PopupMenuEvent.java,
8443 javax/swing/event/PopupMenuListener.java,
8444 javax/swing/event/SwingPropertyChangeSupport.java,
8445 javax/swing/event/TableColumnModelEvent.java,
8446 javax/swing/event/TableColumnModelListener.java,
8447 javax/swing/event/TableModelEvent.java,
8448 javax/swing/event/TableModelListener.java,
8449 javax/swing/event/TreeExpansionEvent.java,
8450 javax/swing/event/TreeExpansionListener.java,
8451 javax/swing/event/TreeModelEvent.java,
8452 javax/swing/event/TreeModelListener.java,
8453 javax/swing/event/TreeSelectionEvent.java,
8454 javax/swing/event/TreeSelectionListener.java,
8455 javax/swing/event/TreeWillExpandListener.java,
8456 javax/swing/event/UndoableEditEvent.java,
8457 javax/swing/event/UndoableEditListener.java,
8458 javax/swing/filechooser/FileFilter.java,
8459 javax/swing/filechooser/FileSystemView.java,
8460 javax/swing/filechooser/FileView.java,
8461 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8462 javax/swing/Icon.java, javax/swing/ImageIcon.java,
8463 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8464 javax/swing/JApplet.java, javax/swing/JButton.java,
8465 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8466 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8467 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8468 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8469 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8470 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8471 javax/swing/JLayeredPane.java, javax/swing/JList.java,
8472 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8473 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8474 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8475 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8476 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8477 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8478 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8479 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8480 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8481 javax/swing/JTextField.java, javax/swing/JTextPane.java,
8482 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8483 javax/swing/JToolTip.java, javax/swing/JTree.java,
8484 javax/swing/JViewport.java, javax/swing/JWindow.java,
8485 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8486 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8487 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8488 javax/swing/MenuSelectionManager.java,
8489 javax/swing/MutableComboBoxModel.java,
8490 javax/swing/OverlayLayout.java,
8491 javax/swing/plaf/ActionMapUIResource.java,
8492 javax/swing/plaf/basic/BasicBorders.java,
8493 javax/swing/plaf/basic/BasicButtonUI.java,
8494 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8495 javax/swing/plaf/basic/BasicDefaults.java,
8496 javax/swing/plaf/basic/BasicGraphicsUtils.java,
8497 javax/swing/plaf/basic/BasicIconFactory.java,
8498 javax/swing/plaf/basic/BasicLabelUI.java,
8499 javax/swing/plaf/basic/BasicListUI.java,
8500 javax/swing/plaf/basic/BasicLookAndFeel.java,
8501 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8502 javax/swing/plaf/basic/BasicPanelUI.java,
8503 javax/swing/plaf/basic/BasicRadioButtonUI.java,
8504 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8505 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8506 javax/swing/plaf/basic/BasicTextUI.java,
8507 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8508 javax/swing/plaf/basic/BasicTreeUI.java,
8509 javax/swing/plaf/basic/BasicViewportUI.java,
8510 javax/swing/plaf/BorderUIResource.java,
8511 javax/swing/plaf/ButtonUI.java,
8512 javax/swing/plaf/ColorChooserUI.java,
8513 javax/swing/plaf/ColorUIResource.java,
8514 javax/swing/plaf/ComboBoxUI.java,
8515 javax/swing/plaf/ComponentInputMapUIResource.java,
8516 javax/swing/plaf/ComponentUI.java,
8517 javax/swing/plaf/DesktopIconUI.java,
8518 javax/swing/plaf/DesktopPaneUI.java,
8519 javax/swing/plaf/DimensionUIResource.java,
8520 javax/swing/plaf/FileChooserUI.java,
8521 javax/swing/plaf/FontUIResource.java,
8522 javax/swing/plaf/IconUIResource.java,
8523 javax/swing/plaf/InputMapUIResource.java,
8524 javax/swing/plaf/InsetsUIResource.java,
8525 javax/swing/plaf/InternalFrameUI.java,
8526 javax/swing/plaf/LabelUI.java,
8527 javax/swing/plaf/ListUI.java,
8528 javax/swing/plaf/MenuBarUI.java,
8529 javax/swing/plaf/MenuItemUI.java,
8530 javax/swing/plaf/OptionPaneUI.java,
8531 javax/swing/plaf/PanelUI.java,
8532 javax/swing/plaf/PopupMenuUI.java,
8533 javax/swing/plaf/ProgressBarUI.java,
8534 javax/swing/plaf/RootPaneUI.java,
8535 javax/swing/plaf/ScrollBarUI.java,
8536 javax/swing/plaf/ScrollPaneUI.java,
8537 javax/swing/plaf/SeparatorUI.java,
8538 javax/swing/plaf/SliderUI.java,
8539 javax/swing/plaf/SplitPaneUI.java,
8540 javax/swing/plaf/TabbedPaneUI.java,
8541 javax/swing/plaf/TableHeaderUI.java,
8542 javax/swing/plaf/TableUI.java,
8543 javax/swing/plaf/TextUI.java,
8544 javax/swing/plaf/ToolBarUI.java,
8545 javax/swing/plaf/ToolTipUI.java,
8546 javax/swing/plaf/TreeUI.java,
8547 javax/swing/plaf/UIResource.java,
8548 javax/swing/plaf/ViewportUI.java,
8549 javax/swing/ProgressMonitorInputStream.java,
8550 javax/swing/ProgressMonitor.java,
8551 javax/swing/Renderer.java,
8552 javax/swing/RepaintManager.java,
8553 javax/swing/RootPaneContainer.java,
8554 javax/swing/Scrollable.java,
8555 javax/swing/ScrollPaneConstants.java,
8556 javax/swing/ScrollPaneLayout.java,
8557 javax/swing/SingleSelectionModel.java,
8558 javax/swing/SizeRequirements.java,
8559 javax/swing/SizeSequence.java,
8560 javax/swing/SwingConstants.java,
8561 javax/swing/SwingUtilities.java,
8562 javax/swing/table/AbstractTableModel.java,
8563 javax/swing/table/DefaultTableCellRenderer.java,
8564 javax/swing/table/DefaultTableColumnModel.java,
8565 javax/swing/table/DefaultTableModel.java,
8566 javax/swing/table/TableCellEditor.java,
8567 javax/swing/table/TableCellRenderer.java,
8568 javax/swing/table/TableColumn.java,
8569 javax/swing/table/TableColumnModel.java,
8570 javax/swing/table/TableModel.java,
8571 javax/swing/text/AbstractDocument.java,
8572 javax/swing/text/AttributeSet.java,
8573 javax/swing/text/BadLocationException.java,
8574 javax/swing/text/Caret.java,
8575 javax/swing/text/CharacterIterator.java,
8576 javax/swing/text/ComponentView.java,
8577 javax/swing/text/DefaultCaret.java,
8578 javax/swing/text/DefaultEditorKit.java,
8579 javax/swing/text/Document.java,
8580 javax/swing/text/EditorKit.java,
8581 javax/swing/text/Element.java,
8582 javax/swing/text/GapContent.java,
8583 javax/swing/text/JTextComponent.java,
8584 javax/swing/text/Keymap.java,
8585 javax/swing/text/MutableAttributeSet.java,
8586 javax/swing/text/PlainDocument.java,
8587 javax/swing/text/PlainEditorKit.java,
8588 javax/swing/text/Position.java,
8589 javax/swing/text/Segment.java,
8590 javax/swing/text/StyledDocument.java,
8591 javax/swing/text/StyledEditorKit.java,
8592 javax/swing/text/Style.java,
8593 javax/swing/text/TextAction.java,
8594 javax/swing/text/ViewFactory.java,
8595 javax/swing/text/View.java,
8596 javax/swing/Timer.java,
8597 javax/swing/ToggleButtonModel.java,
8598 javax/swing/ToolTipManager.java,
8599 javax/swing/tree/AbstractLayoutCache.java,
8600 javax/swing/tree/DefaultMutableTreeNode.java,
8601 javax/swing/tree/DefaultTreeCellEditor.java,
8602 javax/swing/tree/DefaultTreeCellRenderer.java,
8603 javax/swing/tree/DefaultTreeModel.java,
8604 javax/swing/tree/DefaultTreeSelectionModel.java,
8605 javax/swing/tree/ExpandVetoException.java,
8606 javax/swing/tree/FixedHeightLayoutCache.java,
8607 javax/swing/tree/MutableTreeNode.java,
8608 javax/swing/tree/RowMapper.java,
8609 javax/swing/tree/TreeCellEditor.java,
8610 javax/swing/tree/TreeCellRenderer.java,
8611 javax/swing/tree/TreeModel.java,
8612 javax/swing/tree/TreeNode.java,
8613 javax/swing/tree/TreePath.java,
8614 javax/swing/tree/TreeSelectionModel.java,
8615 javax/swing/tree/VariableHeightLayoutCache.java,
8616 javax/swing/UIDefaults.java,
8617 javax/swing/UIManager.java,
8618 javax/swing/undo/AbstractUndoableEdit.java,
8619 javax/swing/undo/CannotRedoException.java,
8620 javax/swing/undo/CannotUndoException.java,
8621 javax/swing/undo/CompoundEdit.java,
8622 javax/swing/undo/StateEditable.java,
8623 javax/swing/undo/StateEdit.java,
8624 javax/swing/undo/UndoableEdit.java,
8625 javax/swing/undo/UndoableEditSupport.java,
8626 javax/swing/undo/UndoManager.java,
8627 javax/swing/UnsupportedLookAndFeelException.java,
8628 javax/swing/ViewportLayout.java,
8629 javax/swing/WindowConstants.java: New files, from GNU Classpath.
8631 * java/awt/ActiveEvent.java,
8632 java/awt/Adjustable.java, java/awt/AWTError.java,
8633 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8634 java/awt/AWTException.java, java/awt/AWTPermission.java,
8635 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8636 java/awt/Color.java, java/awt/Component.java,
8637 java/awt/ComponentOrientation.java, java/awt/Container.java,
8638 java/awt/datatransfer/MimeTypeParseException.java,
8639 java/awt/datatransfer/Transferable.java,
8640 java/awt/datatransfer/UnsupportedFlavorException.java,
8641 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8642 java/awt/event/ActionListener.java,
8643 java/awt/event/AdjustmentEvent.java,
8644 java/awt/event/AdjustmentListener.java,
8645 java/awt/event/AWTEventListener.java,
8646 java/awt/event/ComponentAdapter.java,
8647 java/awt/event/ComponentEvent.java,
8648 java/awt/event/ComponentListener.java,
8649 java/awt/event/ContainerAdapter.java,
8650 java/awt/event/ContainerEvent.java,
8651 java/awt/event/ContainerListener.java,
8652 java/awt/event/FocusAdapter.java,
8653 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8654 java/awt/event/HierarchyBoundsAdapter.java,
8655 java/awt/event/HierarchyBoundsListener.java,
8656 java/awt/event/HierarchyEvent.java,
8657 java/awt/event/HierarchyListener.java,
8658 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8659 java/awt/event/InputMethodListener.java,
8660 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8661 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8662 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8663 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8664 java/awt/event/MouseListener.java,
8665 java/awt/event/MouseMotionAdapter.java,
8666 java/awt/event/MouseMotionListener.java,
8667 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8668 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8669 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8670 java/awt/event/WindowListener.java, java/awt/Font.java,
8671 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8672 java/awt/geom/Ellipse2D.java,
8673 java/awt/geom/IllegalPathStateException.java,
8674 java/awt/geom/Line2D.java,
8675 java/awt/geom/NoninvertibleTransformException.java,
8676 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8677 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8678 java/awt/geom/RoundRectangle2D.java,
8679 java/awt/GraphicsConfiguration.java,
8680 java/awt/IllegalComponentStateException.java,
8681 java/awt/image/IndexColorModel.java,
8682 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8683 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8684 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8685 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8686 java/awt/MenuItem.java, java/awt/PaintContext.java,
8687 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8688 java/awt/Polygon.java, java/awt/PrintGraphics.java,
8689 java/awt/PrintJob.java, java/awt/Rectangle.java,
8690 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8691 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8692 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8694 * java/awt/im/spi/InputMethod.java,
8695 java/awt/im/spi/InputMethodContext.java,
8696 java/awt/im/spi/InputMethodDescriptor.java,
8697 java/awt/image/renderable/ContextualRenderedImageFactory.java,
8698 java/awt/image/renderable/ParameterBlock.java,
8699 java/awt/image/renderable/RenderContext.java,
8700 java/awt/image/renderable/RenderableImage.java,
8701 java/awt/image/renderable/RenderableImageOp.java,
8702 java/awt/image/renderable/RenderableImageProducer.java,
8703 java/awt/image/renderable/RenderedImageFactory.java: New files from
8706 * gnu/java/awt/EventModifier.java,
8707 gnu/java/awt/image/ImageDecoder.java,
8708 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8710 * gnu/awt/xlib/XGraphicsConfiguration.java,
8711 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8714 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8717 * Makefile.am: Add new files.
8718 * Makefile.in: Rebuilt.
8720 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8722 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8723 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8724 findResource, getResources, findResources): Add javadoc from classpath.
8725 (getSystemResources): Implemented.
8727 2002-08-01 Mark Wielaard <mark@klomp.org>
8729 Revert patch that breaks libgcj shared library on powerpc:
8730 * gnu/java/security/provider/Gnu.java: Reverse referencing all
8731 implementation classes by using Class.getName(). Uses Strings again.
8732 * gnu/java/security/der/DEREncodingException.java,
8733 gnu/java/security/provider/DERReader.java,
8734 gnu/java/security/provider/DERWriter.java,
8735 gnu/java/security/provider/DSAKeyPairGenerator.java,
8736 gnu/java/security/provider/DSAParameterGenerator.java,
8737 gnu/java/security/provider/DSAParameters.java,
8738 gnu/java/security/provider/DSASignature.java,
8739 gnu/java/security/provider/GnuDSAPrivateKey.java,
8740 gnu/java/security/provider/GnuDSAPublicKey.java,
8741 gnu/java/security/provider/MD5.java,
8742 gnu/java/security/util/Prime.java: Removed.
8743 * Makefile.am (ordinary_java_source_files): Remove above files.
8744 * Makefile.in: Regenerate.
8745 * gnu/java/security/provider/DefaultPolicy.java
8746 (getPermissions): Revert to maintaining static class variable of
8748 * gnu/java/security/provider/SHA.java
8749 (engineUpdate): Revert algorithm change.
8750 (engineDigest): Revert algorithm change.
8752 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
8754 * configure.host: Add SH support.
8755 * sysdep/sh/locks.h: New file.
8757 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8759 * java/awt/Frame.java (Frame): Remove println calls.
8761 2002-07-30 Jeff Sturm <jsturm@one-point.com>
8763 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8764 * configure: Rebuilt.
8766 2002-07-27 Alan Modra <amodra@bigpond.net.au>
8768 * sysdep/powerpc/locks.h: Formatting.
8771 (compare_and_swap): Use _LARX and _STCX.
8772 (compare_and_swap_release): Likewise.
8774 2002-07-26 Tom Tromey <tromey@redhat.com>
8776 * java/net/Authenticator.java: New version from Classpath.
8777 * java/net/DatagramSocketImpl.java: New version from Classpath.
8779 2002-07-27 Alan Modra <amodra@bigpond.net.au>
8781 * configure.host: Add powerpc64*-* entry.
8783 2002-07-26 Tom Tromey <tromey@redhat.com>
8785 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8788 2002-07-24 Tom Tromey <tromey@redhat.com>
8790 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8793 2002-07-24 Tom Tromey <tromey@redhat.com>
8794 Tony Kimball <alk@pobox.com>
8796 * java/io/natFileDescriptorWin32.cc (setLength): New method.
8797 * java/io/natFileDescriptorPosix.cc (setLength): New method.
8798 * java/io/RandomAccessFile.java (setLength): New method.
8799 * java/io/natFileDescriptorEcos.cc (setLength): New method.
8800 * java/io/FileDescriptor.java (setLength): New method.
8802 2002-07-24 Mark Wielaard <mark@klomp.org>
8804 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8805 * java/io/ObjectInputStream.java (setBooleanField): Before setting
8806 field call setAccessible(true).
8807 (setByteField): Likewise.
8808 (setCharField): Likewise.
8809 (setDoubleField): Likewise.
8810 (setFloatField): Likewise.
8811 (setIntField): Likewise.
8812 (setLongField): Likewise.
8813 (setShortField): Likewise.
8814 (setObjectField): Likewise.
8816 2002-07-24 Tom Tromey <tromey@redhat.com>
8818 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8819 use toString() to format array element.
8821 2002-07-23 Mark Wielaard <mark@klomp.org>
8823 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8824 MessageDigestSpi (fixes Classpath bug #783).
8826 2002-07-21 Mark Wielaard <mark@klomp.org>
8828 * gnu/java/security/provider/Gnu.java: Reference all implementation
8829 classes by using Class.getName().
8831 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
8833 * java/lang/ieeefp.h: Add x86-64 support.
8834 * configure.in: Likewise.
8835 * configure.host: Likewise.
8836 * configure: Regenerated.
8837 * sysdep/x86-64/locks.h: New file with x86-64 locks.
8839 2002-07-16 Mark Wielaard <mark@klomp.org>
8841 * java/io/StreamTokenizer.java (pushBack): Update documentation.
8842 (whitespaceChars): call resetChar().
8844 2002-07-15 Tom Tromey <tromey@redhat.com>
8846 * Makefile.in: Rebuilt.
8847 * Makefile.am (awt_java_source_files): Added new files.
8848 * java/beans/ExceptionListener.java: Merged with Classpath.
8849 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8850 * java/beans/PropertyChangeListener.java: Merged with Classpath.
8851 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8852 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8853 * java/beans/VetoableChangeListener.java: Merged with Classpath.
8854 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8855 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8857 2002-07-14 Mark Wielaard <mark@klomp.org>
8859 * gnu/java/security/der/DEREncodingException.java,
8860 gnu/java/security/provider/DERReader.java,
8861 gnu/java/security/provider/DERWriter.java,
8862 gnu/java/security/provider/DSAKeyPairGenerator.java,
8863 gnu/java/security/provider/DSAParameterGenerator.java,
8864 gnu/java/security/provider/DSAParameters.java,
8865 gnu/java/security/provider/DSASignature.java,
8866 gnu/java/security/provider/GnuDSAPrivateKey.java,
8867 gnu/java/security/provider/GnuDSAPublicKey.java,
8868 gnu/java/security/provider/MD5.java,
8869 gnu/java/security/util/Prime.java: New files from Classpath.
8870 * Makefile.am (ordinary_java_source_files): Add new files.
8871 * Makefile.in: Regenerate.
8873 2002-07-14 C. Brian Jones <cbj@gnu.org>
8875 * gnu/java/security/provider/DefaultPolicy.java
8876 (getPermissions): do not maintain static class variable of
8878 * gnu/java/security/provider/SHA.java
8879 (engineUpdate): algorithm change
8880 (engineDigest): algorithm change
8882 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
8885 * java/lang/Character.java (toString(char)): Now static.
8887 2002-07-12 Mark Wielaard <mark@klomp.org>
8889 * java/lang/natThrowable.cc (printRawStackTrace): removed.
8890 (getStackTrace0): new method.
8891 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8892 (printStackTrace(PrintWriter)): replace with pure java implementation.
8893 (printRawStackTrace): removed.
8894 (getStackTrace0): new method.
8895 * java/lang/StackTraceElement.java (toString): add extra whitespace.
8896 * gcj/javaprims.h: regenerate class list.
8897 * include/name-finder.h (lookup): new returns StackTraceElement*.
8898 (method_name, file_name): fields removed.
8899 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8900 (~_Jv_name_finder): close new descriptors.
8901 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8902 (createStackTraceElement): new method.
8903 (lookup): returns StackTraceElement*, uses createStackTraceElement().
8905 2002-07-10 Tom Tromey <tromey@redhat.com>
8907 * configure: Rebuilt.
8908 * configure.in: Use `test' after `&&'. From Chris Faylor.
8910 2002-07-08 Mark Wielaard <mark@klomp.org>
8912 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8913 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8914 java.sql.DatabaseMetaData.TestJdbc20
8916 2002-07-05 Tony Kimball <alk@pobox.com>
8918 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8920 2002-07-04 Tom Tromey <tromey@redhat.com>
8921 Jeff Sturm <jsturm@one-point.com>
8923 Fix for PR libgcj/7060:
8924 * java/lang/Class.h (_getMethod): Renamed from getMethod.
8925 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8926 Recurse into superinterfaces. Don't throw NoSuchMethodException.
8927 * java/lang/Class.java (getMethod): New Java implementation;
8929 (_getMethod): New native method.
8931 2002-07-02 Tom Tromey <tromey@redhat.com>
8932 David Hovemeyer <daveho@cs.umd.edu>
8934 * java/text/ChoiceFormat.java
8935 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8937 * java/text/MessageFormat.java
8938 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8941 2002-07-01 Tom Tromey <tromey@redhat.com>
8943 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8944 StringTokenizer on null string. For PR libgcj/7180.
8945 From daveho@cs.umd.edu.
8947 2002-06-24 Tom Tromey <tromey@redhat.com>
8949 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8950 (IntegerClass): Likewise.
8951 * java/lang/natClass.cc (CloneableClass): Removed.
8952 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8953 ConstructorClass): Likewise.
8954 * java/lang/natClassLoader.cc (CloneableClass): Removed.
8955 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8956 SerializableClass): Likewise.
8957 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8958 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8959 LongClass, FloatClass, DoubleClass): Likewise.
8961 * verify.cc (branch_prepass): Updated for change to exception
8963 (verify_instructions_0): Likewise.
8964 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8965 (handleExceptionTableEntry): Updated for change to exception
8967 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8968 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8969 (union _Jv_InterpPC): New.
8970 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8971 (class _Jv_InterpMethod): Added new `prepared' field.
8972 (class _Jv_InterpMethod): Added `compile' method. Removed
8973 `continue1' and `find_exception'. Changed arguments to `run'.
8974 * interpret.cc (union insn_slot): New.
8975 (find_exception): Removed.
8976 (run_normal): Removed most logic.
8977 (run_synch_object): Likewise; also, use JvSynchronize.
8978 (run_synch_class): Likewise.
8980 (continue1): Renamed as `run'. Compile bytecode if required.
8981 Add new code to allow refinement of direct-threaded code at
8982 runtime. Handle exceptions.
8984 (compile): New method.
8985 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8986 (NULLARRAYCHECK): Don't use SAVE_PC.
8987 (pc_t): New typedef.
8988 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8989 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8991 2002-06-23 Tom Tromey <tromey@redhat.com>
8993 * configure: Rebuilt.
8994 * configure.in (INTERPRETER): New subst.
8995 (AM_RUNTESTFLAGS): Don't subst.
8997 * Makefile.in: Rebuilt.
8998 * Makefile.am ($(srcdir)/java/lang/Object.h,
8999 $(srcdir)/java/lang/Class.h): Added dummy targets.
9001 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9003 Reformat JDBC classes and add new JDK 1.4 classes and methods.
9005 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
9006 java/sql/Savepoint.java: New files.
9007 * java/sql/Array.java, java/sql/BatchUpdateException.java,
9008 java/sql/Blob.java, java/sql/CallableStatement.java,
9009 java/sql/Clob.java, java/sql/Connection.java,
9010 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
9011 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
9012 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
9013 java/sql/Ref.java, java/sql/ResultSet.java,
9014 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
9015 java/sql/SQLException.java, java/sql/SQLInput.java,
9016 java/sql/SQLOutput.java, java/sql/SQLWarning.java
9017 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
9018 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
9019 (JDK 1.4) specification.
9020 * javax/sql/ConnectionEvent.java,
9021 javax/sql/ConnectionEventListener.java,
9022 javax/sql/ConnectionPoolDataSource.java,
9023 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
9024 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
9025 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
9026 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
9027 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9028 javax/sql/XADataSource.java: New files.
9029 * Makefile.am: Add new files.
9030 * Makefile.in: Rebuilt.
9032 2002-06-20 Tom Tromey <tromey@redhat.com>
9035 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9037 * defineclass.cc (handleClassBegin): Superclass for interface is
9040 2002-06-18 Tom Tromey <tromey@redhat.com>
9042 * gcj/javaprims.h: Updated class declaration list.
9043 * Makefile.in: Rebuilt.
9044 * Makefile.am (core_java_source_files): Removed
9046 * java/util/BasicMapEntry.java: Removed.
9048 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9050 * java/net/natPlainDatagramSocketImpl.cc (receive):
9051 Check bounds of argument to FD_SET.
9052 (setOption): Throw exception if socket is closed.
9054 * java/net/natPlainSocketImpl.cc (accept, read):
9055 Check bounds of argument to FD_SET.
9056 (setOption): Throw exception if socket is closed.
9058 2002-06-18 Tom Tromey <tromey@redhat.com>
9060 * gcj/javaprims.h: Updated class declaration list.
9061 * Makefile.in: Rebuilt.
9062 * Makefile.am (core_java_source_files): Added
9063 PropertyPermissionCollection.java.
9064 * java/lang/Thread.java (group, name): Now package-private.
9065 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9066 * java/util/AbstractList.java: Likewise.
9067 * java/util/AbstractMap.java: Likewise.
9068 * java/util/Calendar.java: Likewise.
9069 * java/util/Collections.java: Likewise.
9070 * java/util/HashMap.java: Likewise.
9071 * java/util/Hashtable.java: Likewise.
9072 * java/util/LinkedHashMap.java: Likewise.
9073 * java/util/LinkedList.java: Likewise.
9074 * java/util/List.java: Likewise.
9075 * java/util/ListResourceBundle.java: Likewise.
9076 * java/util/Map.java: Likewise.
9077 * java/util/Observable.java: Likewise.
9078 * java/util/Properties.java: Likewise.
9079 * java/util/PropertyPermission.java: Likewise.
9080 * java/util/PropertyPermissionCollection.java: Likewise.
9081 * java/util/PropertyResourceBundle.java: Likewise.
9082 * java/util/Random.java: Likewise.
9083 * java/util/SimpleTimeZone.java: Likewise.
9084 * java/util/StringTokenizer.java: Likewise.
9085 * java/util/TimerTask.java: Likewise.
9086 * java/util/TreeMap.java: Likewise.
9087 * java/util/WeakHashMap.java: Likewise.
9088 * java/util/jar/Attributes.java: Likewise.
9089 * java/util/jar/JarException.java: Likewise.
9090 * java/util/jar/Manifest.java: Likewise.
9092 2002-06-17 Tom Tromey <tromey@redhat.com>
9094 * gcj/javaprims.h: Updated class declaration list.
9095 * Makefile.in: Rebuilt.
9096 * Makefile.am (core_java_source_files): Added new file.
9097 * java/util/EventListenerProxy.java: New file.
9098 * java/util/EventListener.java: Re-merge with Classpath.
9099 * java/util/EventObject.java: Re-merge with Classpath.
9101 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9103 * java/lang/ClassNotFoundException.java: New Classpath version.
9105 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9107 * java/rmi/activation/ActivateFailedException.java: Remerge from
9109 * java/rmi/activation/ActivationException.java: Ditto.
9110 * java/rmi/activation/UnknownGroupException.java: Ditto.
9111 * java/rmi/activation/UnknownObjectException.java: Ditto.
9112 * java/rmi/server/ExportException: Ditto.
9113 * java/rmi/server/ServerCloneException: Ditto.
9114 * java/rmi/server/ServerNotActiveException: Ditto.
9115 * java/rmi/server/SkeletonMismatchException: Ditto.
9116 * java/rmi/server/SkeletonNotFoundException: Ditto.
9117 * java/rmi/server/SocketSecurityException: Ditto.
9119 2002-06-16 Tom Tromey <tromey@redhat.com>
9121 * gcj/javaprims.h: Updated class declaration list.
9123 * java/io/LineNumberInputStream.java: Merged with Classpath.
9125 * java/lang/RuntimeException.java: Re-merge with Classpath.
9126 * java/util/ArrayList.java: Likewise.
9127 * java/util/Arrays.java: Likewise.
9128 * java/util/BitSet.java: Likewise.
9129 * java/util/Dictionary.java: Likewise.
9130 * java/util/IdentityHashMap.java: Likewise.
9131 * java/util/MissingResourceException.java: Likewise.
9132 * java/util/Observer.java: Likewise.
9133 * java/util/TooManyListenersException.java: Likewise.
9134 * java/util/zip/DataFormatException.java: Likewise.
9135 * java/util/zip/ZipException.java: Likewise.
9137 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9139 * java/rmi/AccessException.java: Remerge from Classpath.
9140 * java/rmi/AlreadyBoundException.java: Ditto.
9141 * java/rmi/ConnectException.java: Ditto.
9142 * java/rmi/ConnectIOException.java: Ditto.
9143 * java/rmi/MarshalException.java: Ditto.
9144 * java/rmi/NoSuchObjectException.java: Ditto.
9145 * java/rmi/NotBoundException.java: Ditto.
9146 * java/rmi/RemoteException.java: Ditto.
9147 * java/rmi/RMISecurityException.java: Ditto.
9148 * java/rmi/ServerError.java: Ditto.
9149 * java/rmi/ServerException.java: Ditto.
9150 * java/rmi/ServerRuntimeException.java: Ditto.
9151 * java/rmi/StubNotFoundException.java: Ditto.
9152 * java/rmi/UnexpectedExcpetion.java: Ditto.
9153 * java/rmi/UnknownHostException.java: Ditto.
9154 * java/rmi/UnmarshalException.java: Ditto.
9156 2002-06-15 Tom Tromey <tromey@redhat.com>
9158 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9159 * java/lang/ArithmeticException.java: Likewise.
9160 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9161 * java/lang/ArrayStoreException.java: Likewise.
9162 * java/lang/Byte.java: Likewise.
9163 * java/lang/CharSequence.java: Likewise.
9164 * java/lang/ClassCastException.java: Likewise.
9165 * java/lang/ClassCircularityError.java: Likewise.
9166 * java/lang/ClassFormatError.java: Likewise.
9167 * java/lang/CloneNotSupportedException.java: Likewise.
9168 * java/lang/Cloneable.java: Likewise.
9169 * java/lang/Comparable.java: Likewise.
9170 * java/lang/Compiler.java: Likewise.
9171 * java/lang/Error.java: Likewise.
9172 * java/lang/ExceptionInInitializerError.java: Likewise.
9173 * java/lang/IllegalAccessError.java: Likewise.
9174 * java/lang/IllegalAccessException.java: Likewise.
9175 * java/lang/IllegalArgumentException.java: Likewise.
9176 * java/lang/IllegalMonitorStateException.java: Likewise.
9177 * java/lang/IllegalStateException.java: Likewise.
9178 * java/lang/IllegalThreadStateException.java: Likewise.
9179 * java/lang/IncompatibleClassChangeError.java: Likewise.
9180 * java/lang/IndexOutOfBoundsException.java: Likewise.
9181 * java/lang/InheritableThreadLocal.java: Likewise.
9182 * java/lang/InstantiationError.java: Likewise.
9183 * java/lang/InstantiationException.java: Likewise.
9184 * java/lang/InternalError.java: Likewise.
9185 * java/lang/InterruptedException.java: Likewise.
9186 * java/lang/LinkageError.java: Likewise.
9187 * java/lang/NegativeArraySizeException.java: Likewise.
9188 * java/lang/NoClassDefFoundError.java: Likewise.
9189 * java/lang/NoSuchFieldError.java: Likewise.
9190 * java/lang/NoSuchFieldException.java: Likewise.
9191 * java/lang/NoSuchMethodError.java: Likewise.
9192 * java/lang/NoSuchMethodException.java: Likewise.
9193 * java/lang/NullPointerException.java: Likewise.
9194 * java/lang/NumberFormatException.java: Likewise.
9195 * java/lang/OutOfMemoryError.java: Likewise.
9196 * java/lang/Process.java: Likewise.
9197 * java/lang/Runnable.java: Likewise.
9198 * java/lang/RuntimePermission.java: Likewise.
9199 * java/lang/SecurityException.java: Likewise.
9200 * java/lang/Short.java: Likewise.
9201 * java/lang/StackOverflowError.java: Likewise.
9202 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9203 * java/lang/ThreadDeath.java: Likewise.
9204 * java/lang/ThreadLocal.java: Likewise.
9205 * java/lang/UnknownError.java: Likewise.
9206 * java/lang/UnsatisfiedLinkError.java: Likewise.
9207 * java/lang/UnsupportedClassVersionError.java: Likewise.
9208 * java/lang/UnsupportedOperationException.java: Likewise.
9209 * java/lang/VerifyError.java: Likewise.
9210 * java/lang/VirtualMachineError.java: Likewise.
9211 * java/lang/reflect/InvocationTargetException.java: Likewise.
9212 * java/net/BindException.java: Likewise.
9213 * java/net/ConnectException.java: Likewise.
9214 * java/net/MalformedURLException.java: Likewise.
9215 * java/net/NoRouteToHostException.java: Likewise.
9216 * java/net/ProtocolException.java: Likewise.
9217 * java/net/SocketException.java: Likewise.
9218 * java/net/UnknownHostException.java: Likewise.
9219 * java/net/UnknownServiceException.java: Likewise.
9221 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9222 * java/io/CharConversionException.java: Likewise.
9223 * java/io/EOFException.java: Likewise.
9224 * java/io/FileNotFoundException.java: Likewise.
9225 * java/io/IOException.java: Likewise.
9226 * java/io/InterruptedIOException.java: Likewise.
9227 * java/io/InvalidClassException.java: Likewise.
9228 * java/io/InvalidObjectException.java: Likewise.
9229 * java/io/NotActiveException.java: Likewise.
9230 * java/io/NotSerializableException.java: Likewise.
9231 * java/io/ObjectStreamException.java: Likewise.
9232 * java/io/ObjectStreamConstants.java: Likewise.
9233 * java/io/OptionalDataException.java: Likewise.
9234 * java/io/PipedInputStream.java: Likewise.
9235 * java/io/PushbackInputStream.java: Likewise.
9236 * java/io/StreamCorruptedException.java: Likewise.
9237 * java/io/SyncFailedException.java: Likewise.
9238 * java/io/UTFDataFormatException.java: Likewise.
9239 * java/io/UnsupportedEncodingException.java: Likewise.
9240 * java/io/WriteAbortedException.java: Likewise.
9242 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9244 * java/text/ChoiceFormat.java: Update comments from Classpath.
9245 * java/text/ParseException.java (serialVersionUID): New
9246 field from Classpath.
9247 * java/text/ParseException.java: Update formatting & comments
9250 2002-06-15 Tom Tromey <tromey@redhat.com>
9252 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9253 been read but none output by inflater.
9254 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9255 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9257 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9259 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9260 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9261 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9263 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9265 2002-06-13 Tom Tromey <tromey@redhat.com>
9267 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9269 * java/lang/String.java (String(char[],int,int,boolean): New
9271 * java/lang/Long.java: Imported new version from Classpath.
9272 * java/lang/Number.java: Likewise.
9273 * java/lang/Integer.java: Likewise.
9274 * java/lang/Long.java: Likewise.
9275 * java/lang/Float.java: Likewise.
9276 * java/lang/Boolean.java: Likewise.
9277 * java/lang/Double.java: Likewise.
9278 * java/lang/Void.java: Likewise.
9280 2002-06-12 Tom Tromey <tromey@redhat.com>
9282 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9283 Fixes PR libgcj/6652.
9285 2002-06-10 Tom Tromey <tromey@redhat.com>
9287 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9288 (Class::getPackagePortion): Likewise.
9289 * java/lang/Class.java (desiredAssertionStatus): New method from
9291 (getPackagePortion): Likewise.
9292 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9293 packageAssertionStatus, classAssertionStatus): New methods from
9295 * java/lang/ClassLoader.java (defaultAssertionStatus,
9296 systemPackageAssertionStatus, packageAssertionStatus,
9297 systemClassAssertionStatus, classAssertionStatus): New fields from
9299 (setDefaultAssertionStatus, setPackageAssertionStatus,
9300 setClassAssertionStatus, clearAssertionStatus): New methods from
9302 * Makefile.in: Rebuilt.
9303 * Makefile.am (core_java_source_files): Added AssertionError.java.
9304 * java/lang/AssertionError.java: New from Classpath.
9306 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9308 * configure.host: Disable hash synchronization and slow_pthread_self
9311 2002-06-06 Adam Megacz <adam@xwt.org>
9313 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9314 locking, just like the Sun JVM does.
9316 2002-06-05 H.J. Lu (hjl@gnu.org)
9318 * Makefile.am (libgcj_convenience.la): Revert the last change.
9319 (libgcj.la): Likewise.
9320 * Makefile.in: Regenerated.
9322 2002-06-04 H.J. Lu (hjl@gnu.org)
9324 * Makefile.am (libgcj_convenience.la): New target.
9325 (libgcj.la): Depend on libgcj_convenience.la.
9326 * Makefile.in: Regenerated.
9328 2002-06-04 H.J. Lu (hjl@gnu.org)
9330 * configure.in (--with-newlib): New option:
9331 Check ${with_newlib} instead of ${with_cross_host} for newlib.
9332 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9334 * configure: Regenerated.
9336 2002-06-04 Tom Tromey <tromey@redhat.com>
9338 * java/util/natTimeZone.cc: Include <stdio.h>.
9340 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
9342 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9343 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9344 Set SIGNAL_HANDLER=include/s390-linux.h.
9345 * configure: Regenerate.
9346 * include/s390-linux.h: New file.
9348 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9350 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9353 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9355 Merge JDK 1.4 java.security changes from classpath.
9357 * java/security/AccessControlException.java: Merge from Classpath.
9358 * java/security/AccessController.java: Likewise.
9359 * java/security/AllPermission.java: Likewise.
9360 * java/security/BasicPermission.java: Likewise.
9361 * java/security/Certificate.java: Likewise.
9362 * java/security/CodeSource.java: Likewise.
9363 * java/security/DigestException.java: Likewise.
9364 * java/security/DigestOutputStream.java: Likewise.
9365 * java/security/DomainCombiner.java: Likewise.
9366 * java/security/GeneralSecurityException.java: Likewise.
9367 * java/security/Guard.java: Likewise.
9368 * java/security/GuardedObject.java: Likewise.
9369 * java/security/InvalidAlgorithmParameterException.java: Likewise.
9370 * java/security/InvalidKeyException.java: Likewise.
9371 * java/security/InvalidParameterException.java: Likewise.
9372 * java/security/Key.java: Likewise.
9373 * java/security/KeyException.java: Likewise.
9374 * java/security/KeyManagementException.java: Likewise.
9375 * java/security/KeyStoreException.java: Likewise.
9376 * java/security/MessageDigest.java: Likewise.
9377 * java/security/NoSuchAlgorithmException.java: Likewise.
9378 * java/security/NoSuchProviderException.java: Likewise.
9379 * java/security/Permission.java: Likewise.
9380 * java/security/PermissionCollection.java: Likewise.
9381 * java/security/Permissions.java: Likewise.
9382 * java/security/Policy.java: Likewise.
9383 * java/security/Principal.java: Likewise.
9384 * java/security/PrivateKey.java: Likewise.
9385 * java/security/PrivilegedAction.java: Likewise.
9386 * java/security/PrivilegedActionException.java: Likewise.
9387 * java/security/PrivilegedExceptionAction.java: Likewise.
9388 * java/security/ProtectionDomain.java: Likewise.
9389 * java/security/ProviderException.java: Likewise.
9390 * java/security/PublicKey.java: Likewise.
9391 * java/security/SecureClassLoader.java: Likewise.
9392 * java/security/SecurityPermission.java: Likewise.
9393 * java/security/SignatureException.java: Likewise.
9394 * java/security/UnrecoverableKeyException.java: Likewise.
9395 * java/security/UnresolvedPermission.java: Likewise.
9396 * java/security/acl/AclNotFoundException.java: Likewise.
9397 * java/security/acl/LastOwnerException.java: Likewise.
9398 * java/security/acl/NotOwnerException.java: Likewise.
9399 * java/security/cert/CRLException.java: Likewise.
9400 * java/security/cert/CertificateEncodingException.java: Likewise.
9401 * java/security/cert/CertificateException.java: Likewise.
9402 * java/security/cert/CertificateExpiredException.java: Likewise.
9403 * java/security/cert/CertificateFactory.java: Likewise.
9404 * java/security/cert/CertificateNotYetValidException.java: Likewise.
9405 * java/security/cert/CertificateParsingException.java: Likewise.
9406 * java/security/spec/InvalidKeySpecException.java: Likewise.
9407 * java/security/spec/InvalidParameterSpecException.java: Likewise.
9409 * java/security/cert/CertPath.java: New file.
9410 * java/security/cert/CertPathBuilderException.java: New file.
9411 * java/security/cert/CertPathValidatorException.java: New file.
9412 * java/security/cert/CertStoreException.java: New file.
9414 * Makefile.am: Add new CertPath classes.
9415 * Makefile.in: Rebuilt.
9417 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9419 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9421 Merge JDK 1.4 exception chaining support from classpath.
9423 * java/lang/Throwable.java: Merge 1.4 support from classpath.
9424 (stackTraceBytes): Rename from stackTrace.
9425 * java/lang/Exception.java: Merge from classpath.
9426 * java/lang/StackTraceElement: New file from classpath.
9427 * gcj/javaprims.h: Rebuild CNI namespace declarations.
9428 * Makefile.am: Add StackTraceElement.
9429 * Makefile.in: Rebuilt.
9431 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9433 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9435 * Makefile.in: Rebuilt.
9437 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9439 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9440 * configure.in: Likewise.
9441 * aclocal.m4: Regenerate.
9442 * configure: Regenerate.
9444 2002-05-13 Tom Tromey <tromey@redhat.com>
9446 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9447 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9450 Fixes PR libgcj/6389:
9451 * Makefile.in: Rebuilt.
9452 * Makefile.am (nat_source_files): Added natTimeZone.cc.
9453 * java/util/natTimeZone.cc: New file.
9454 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9455 * java/lang/System.java: Merged with Classpath.
9456 * java/lang/Runtime.java: Merged with Classpath.
9457 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9459 (setIn0): Renamed from setIn; don't run security check.
9460 (setOut0): Renamed from setOut; don't run security check.
9461 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9462 init_properties): Moved to natRuntime.cc.
9463 Moved many includes to natRuntime.cc.
9464 (isWordsBigEndian): New method.
9465 * java/lang/natRuntime.cc: Include Long.h, also other includes
9466 previously in natSystem.cc.
9467 (maxMemory): New function.
9468 (exitInternal): Renamed from `_exit'.
9470 (init): Don't set finalize_on_exit.
9471 (exitInternal): Use `finalizeOnExit'.
9472 (file_encoding, getpwuid_adaptor): New functions from
9474 (insertSystemProperties): New method, renamed from
9475 System::init_properties. Don't set user.timezone.
9476 (_load): Don't call checkLink.
9477 (execInternal): New method.
9478 (availableProcessors): Likewise.
9479 (nativeGetLibname): Likewise.
9481 2002-05-11 Mark Wielaard <mark@klomp.org>
9483 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9485 (previous_internal): Likewise.
9487 2002-05-09 Tom Tromey <tromey@redhat.com>
9489 * jni.cc (_Jv_JNIFunctions): Fixed typo.
9491 * java/util/ResourceBundle.java: New version from Classpath.
9492 * java/util/Locale.java: Likewise.
9494 2002-05-09 Jakub Jelinek <jakub@redhat.com>
9496 * testsuite/lib/libjava.exp (libjava_arguments): Append all
9497 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9500 2002-05-08 Mark Mitchell <mark@codesourcery.com>
9502 * libjava/Makefile.am (all_java_source_files): New variable.
9503 (all_java_class_files): Likewise.
9504 .java.class: New rule.
9505 (CLEANFILES): Remove tmp-list.
9506 * libjava/Makefile.in: Regenerated.
9508 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
9510 * testsuite/lib/libjava.exp (test_libjava_from_javac):
9511 Append .exe to executable names. Fix for cygwin.
9513 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
9515 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9516 script entry, and set LD to it when configuring multilibs.
9517 * configure: Rebuilt.
9519 2002-05-07 Tom Tromey <tromey@redhat.com>
9521 * java/lang/natString.cc (unintern): Fixed typo.
9523 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9525 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9526 with -no-install on *-*-cygwin*.
9528 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9530 * testsuite/lib/libjava.exp (test_libjava_from_source):
9531 Add comment explaining last patch
9533 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
9535 * testsuite/lib/libjava.exp (test_libjava_from_source):
9536 Append .exe to executable names. If no suffix is present,
9537 then ".exe" is added by default on win32. Harmless
9538 elsewhere so always do it.
9540 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
9541 Tom Tromey <tromey@redhat.com>
9543 * java/lang/natSystem.cc (getSystemTimeZone): Use
9544 HAVE_UNDERSCORE_TIMEZONE.
9545 * include/config.h.in: Rebuilt.
9546 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9547 * aclocal.m4, configure: Rebuilt.
9548 * acinclude.m4: Run AC_EXEEXT.
9549 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9550 Add test for `_timezone'.
9552 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
9554 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9555 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9556 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9557 * Makefile.in: Rebuilt.
9559 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
9561 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9562 use sigaction instead of __libc_sigaction.
9564 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9566 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9567 (libjava_init): Use it to find libgcj.spec.
9568 (libjava_arguments): Likewise.
9570 2002-05-02 David S. Miller <davem@redhat.com>
9573 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9574 __libc_sigaction on Sparc.
9576 2002-05-02 Jerome Marc <marcjero@yahoo.com>
9578 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9579 sys/filio.h, if present.
9581 2002-04-30 Tom Tromey <tromey@redhat.com>
9583 * java/io/BufferedReader.java (fill): Handle case where markPos
9584 point to ignored \n. Fixes PR libgcj/6301.
9586 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
9588 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9590 2002-04-29 Adam King <aking@dreammechanics.com>
9592 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9593 of file in APPEND mode.
9595 2002-04-25 David S. Miller <davem@redhat.com>
9598 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9599 program counter to next program counter minus 8. Update
9600 comments in this macro to explain why.
9602 2002-04-26 Tom Tromey <tromey@redhat.com>
9604 * verify.cc (construct_primitive_array_type) [void_type]: New
9606 (branch_prepass): Added dummy entries for unused instruction
9608 (verify_instructions_0): Likewise.
9609 * interpret.cc (continue1): Comment fix.
9610 * include/java-insns.h (op_xxxunusedxxx1): Removed.
9611 * Makefile.in: Rebuilt.
9612 * Makefile.am: Added -Wswitch-enum.
9614 2002-04-24 Tom Tromey <tromey@redhat.com>
9616 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9617 correct length of UTF-8 encoded name. Strip leading `/'.
9618 (_Jv_RegisterResource): Use _Jv_Malloc.
9620 2002-04-23 Adam Megacz <adam@xwt.org>
9622 * win32.cc, include/win32.cc (backtrace): Added this function
9623 because Win32 does not supply it.
9625 2002-04-21 David S. Miller <davem@redhat.com>
9627 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9628 magic instruction reading sequence.
9630 2002-04-21 Mark Wielaard <mark@klomp.org>
9632 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9634 2002-04-19 David S. Miller <davem@redhat.com>
9636 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9638 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9639 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9641 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9643 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9644 * sysdeps/sparc/locks.h: New file.
9645 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9646 on all sparc Solaris configurations. Set to
9647 include/dwarf2-signal.h on sparc Linux.
9648 * configure: Regenerate
9649 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9651 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
9653 * configure: Rebuilt.
9654 * configure.in (backtrace): Function doesn't work on IA-64.
9656 2002-04-17 Adam King <aking@dreammechanics.com>
9658 * java/io/File.java (normalizePath): Add Win32 support for auto
9659 conversion of a '/' path separator to Win32's '\' separator.
9661 2002-04-16 Tom Tromey <tromey@redhat.com>
9663 Fix for PR libgcj/6081:
9664 * Makefile.in: Rebuilt.
9665 * Makefile.am (install-data-local): Use GNU make trick to avoid
9668 2002-04-16 Adam King <aking@dreammechanics.com>
9669 Tom Tromey <tromey@redhat.com>
9671 * java/io/natFileWin32.cc (performList): Return the correct array
9672 type. Don't duplicate the creation of a File since it's already
9673 done earlier in the method and the existing code would cause a
9674 ArrayStoreException. Don't use fixed-size array.
9675 (_access, _stat, attr, getCanonicalPath, performMkdir,
9676 performRenameTo): Don't use fixed-size array.
9677 (getCanonicalPath): Use throw, not _Jv_Throw.
9679 2002-04-15 DJ Delorie <dj@redhat.com>
9681 * configure.in: Allow building in $srcdir.
9682 * configure: Regenerated.
9684 2002-04-14 Mark Wielaard <mark@klomp.org>
9686 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9687 * java/net/natSocketImpl.cc (close): Likewise.
9689 2002-04-14 Mark Wielaard <mark@klomp.org>
9691 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9693 2002-04-13 Adam King <aking@dreammechanics.com>
9695 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9696 the f/F/d/D modifiers.
9698 2002-04-12 Anthony Green <green@redhat.com>
9700 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9701 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9702 * Makefile.in: Rebuilt.
9703 * configure.in: Substitute gcc_version.
9704 * configure: Rebuilt.
9706 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9708 * configure.host: Set can_unwind_signal on hosts which support it.
9709 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9710 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9711 exceptions and can_unwind_signal isn't set.
9712 * configure: Rebuilt.
9714 2002-04-11 Tom Tromey <tromey@redhat.com>
9716 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9718 2002-04-11 Adam King <aking@dreammechanics.com>
9719 Tom Tromey <tromey@redhat.com>
9721 * include/jvm.h (_Jv_ThrowBadArrayIndex,
9722 _Jv_ThrowNullPointerException): Mark as noreturn.
9723 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9724 and _Jv_free. Correctly invoke GetTempPath(). Indentation
9727 2002-04-10 Tom Tromey <tromey@redhat.com>
9729 * Makefile.in: Rebuilt.
9730 * Makefile.am (java/lang/Thread.h): Mark
9731 _Jv_AttachCurrentThreadAsDaemon as friend.
9732 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9733 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9734 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9736 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9737 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9738 (_Jv_JNI_InvokeFunctions): Added
9739 _Jv_JNI_AttachCurrentThreadAsDaemon.
9740 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9741 (JNI_GetDefaultJavaVMInitArgs): Likewise.
9742 (JNI_CreateJavaVM): Likewise.
9743 (_Jv_JNI_AttachCurrentThread): Likewise.
9744 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9745 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9746 (_Jv_JNIFunctions): Initialize new fields.
9747 (_Jv_JNI_NewDirectByteBuffer): New function.
9748 (_Jv_JNI_GetDirectBufferAddress): Likewise.
9749 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9750 * include/jni.h (JNI_VERSION_1_4): New macro.
9751 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9752 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9753 (JNINativeInterface::NewDirectByteBuffer): New field.
9754 (JNINativeInterface::GetDirectBufferAddress): New field.
9755 (JNINativeInterface::GetDirectBufferCapacity): New field.
9756 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9757 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9758 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9760 2002-04-09 Tom Tromey <tromey@redhat.com>
9762 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9764 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
9766 Fix for PR libgcj/6187:
9767 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9770 2002-04-07 Mark Wielaard <mark@klomp.org>
9772 * java/util/AbstractMap.java (putAll): Use entrySet size.
9773 (toString): Explicitly use getKey() and getValue().
9775 2002-04-07 Mark Wielaard <mark@klomp.org>
9777 * java/util/Hashtable.java (contains): Remove NullPointer check.
9778 (containsValue): Add NullPointer check.
9779 (remove): Always throw NullPointerException when key
9782 2002-04-07 Adam King <aking@dreammechanics.com>
9784 * java/lang/natSystem.cc (init_properties): Call new function
9785 _Jv_platform_initProperties.
9786 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9787 support for the System properties os.name, os.arch, os.version,
9788 user.name, user.home, and user.dir.
9789 * include/posix.h, include/win32.h, posix.cc: New function
9790 _Jv_platform_initProperties.
9792 2002-04-06 Mark Wielaard <mark@klomp.org>
9794 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9796 2002-04-06 Mark Wielaard <mark@klomp.org>
9798 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9799 all of the remaining elements.
9800 * java/util/Vector.java (addAll(int,Collection)): Likewise.
9801 (removeRange): If toIndex == fromIndex do
9802 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9803 (removeAll): Always throw NullPointerException when collection is
9805 (retrainAll): Likewise.
9807 2002-04-05 Mark Wielaard <mark@klomp.org>
9809 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9810 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9812 2002-04-05 Adam Megacz <adam@xwt.org>
9814 * exception.cc (abort): added static modifier
9816 2002-04-04 Adam Megacz <adam@xwt.org>
9818 * include/win32.h (_Jv_platform_close_on_exec): added inline
9821 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
9823 * configure.host: Add case statement to support generic port
9824 properties. Add *-*-freebsd* section.
9826 2002-04-04 Mark Wielaard <mark@klomp.org>
9828 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9830 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9831 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9832 that depend on awt code and BufferedByteOutputStream.interrupt.
9834 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9836 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9837 incorrect "hi" value when count > 40.
9839 2002-04-03 Mark Wielaard <mark@klomp.org>
9841 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9844 2002-04-02 Tom Tromey <tromey@redhat.com>
9846 * java/lang/natClassLoader.cc (findClass): Compare against `3',
9849 2002-04-02 Mark Wielaard <mark@klomp.org>
9851 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9852 list of testsuite crashers.
9854 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9856 * java/util/IdentityHashMap.java (put): Set new threshold correctly
9857 when resizing table.
9859 2002-04-01 Mark Wielaard <mark@klomp.org>
9861 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9862 NegativeArraySizeException
9863 (clear(int)): Use sign extended shift.
9864 (flip(int)): Likewise.
9865 (get(int)): Likewise.
9866 (nextClearBit(int)): Likewise.
9867 (nextSetBit(int)): Likewise.
9868 (set(int)): Likewise.
9870 2002-04-01 Mark Wielaard <mark@klomp.org>
9872 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9873 that can be compiled now and add testsuite crashers to ignore list.
9875 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
9877 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9879 * libgcj.spec.in: Override libgcc, not lib.
9880 * libgcj-test.spec.in: Likewise.
9882 2002-03-29 Tom Tromey <tromey@redhat.com>
9884 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9885 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9887 2002-03-27 Jeff Sturm <jsturm@one-point.com>
9889 * java/net/PlainDatagramSocketImpl.java
9890 (close): Use native implementation.
9891 (finalize): New method.
9893 * java/net/PlainSocketImpl.java (finalize): New method.
9895 * java/net/natPlainDatagramSocketImpl.cc
9896 (java/io/FileDescriptor.h): Don't include.
9897 (close): Implement method here.
9898 (create): Don't assign fd.
9900 * java/net/natPlainSocketImpl.cc
9901 (java/io/FileDescriptor.h): Don't include.
9902 (create): Don't assign fd.
9904 (close): Synchronize.
9906 2002-03-27 Richard Henderson <rth@redhat.com>
9908 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9910 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9912 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9913 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9914 instead of syscall on IA-64.
9917 2002-03-27 Anthony Green <green@redhat.com>
9919 * libgcj.spec.in: Add CHECKREFSPEC.
9920 * configure.in: Ditto.
9921 * configure.host: Ditto. Check references for xscale-elf.
9922 * configure: Rebuilt.
9924 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
9926 * include/dwarf2-signal.h: Temporarily back out last change.
9928 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
9930 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9932 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9934 * configure.in, configure: enable dwarf2-exception-style
9935 exception handling on IA-64.
9936 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9937 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9940 2002-03-25 Tom Tromey <tromey@redhat.com>
9942 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9943 (jv_convert_LDFLAGS): Likewise.
9944 (gij_LDFLAGS): Likewise.
9945 (rmic_LDFLAGS): Likewise.
9946 (rmiregistry_LDFLAGS): Likewise.
9947 * configure.in (THREADLDFLAGS): New subst; set correctly for
9950 2002-03-25 Tom Tromey <tromey@redhat.com>
9953 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9956 (version): Likewise.
9957 * gnu/gcj/convert/Convert.java (version): Removed extraneous
9959 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9962 2002-03-25 Tom Tromey <tromey@redhat.com>
9964 * java/awt/Component.java (processEvent): Check ComponentEvent
9967 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9969 * java/io/PushbackReader.java: Reformat.
9971 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9972 calculate correct number of bytes skipped.
9974 Based on patch from Intel's ORP team:
9975 * java/io/PushbackInputStream.java (available): Calculate correct
9976 number of bytes in buffer.
9977 (read): Remove redundant bound check. Return bytes from both the
9978 buffer and the stream.
9980 2002-03-24 Tom Tromey <tromey@redhat.com>
9982 * java/awt/TextComponent.java (TextComponent): Editable by
9985 * java/awt/MenuItem.java (eventMask): No longer private.
9986 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9987 superclass if we didn't handle event.
9988 * java/awt/Checkbox.java (dispatchEventImpl): New method.
9989 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9990 * java/awt/Choice.java (dispatchEventImpl): New method.
9991 * java/awt/List.java (dispatchEventImpl): New method.
9992 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9993 * java/awt/TextComponent.java (dispatchEventImpl): New method.
9994 * java/awt/TextField.java (dispatchEventImpl): New method.
9996 2002-03-24 Eric Blake <ebb9@email.byu.edu>
9998 * java/beans/IntrospectionException.java: Update to 1.4.
9999 * java/beans/PropertyVetoException.java: Ditto.
10001 2002-03-24 Eric Blake <ebb9@email.byu.edu>
10003 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
10004 Arrays.equals instead of ArrayHelper.equalsArray.
10006 2002-03-24 C. Brian Jones <cbj@gnu.org>
10008 * java/beans/Introspector.java: added new static final fields
10009 introduced in 1.2, lots of other updates remain to be done
10011 2002-03-24 C. Brian Jones <cbj@gnu.org>
10013 * java/beans/Introspector.java: reformatting
10015 2002-03-24 C. Brian Jones <cbj@gnu.org>
10017 * java/beans/Introspector.java: default beanInfoSearchPath will
10018 not include sun.beans.infos given we provide no such package and
10019 the API doesn't really require it; gnu.java.beans.info is the
10022 2002-03-24 Mark Wielaard <mark@klomp.org>
10024 Thanks to Orp developers
10025 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
10026 switch TRUE and FALSE return values.
10028 2002-03-23 Tom Tromey <tromey@redhat.com>
10030 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10031 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10033 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10035 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10036 MONTH entry. Fixes PR libgcj/6045.
10038 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10040 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10042 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10044 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10046 * sysdep/powerpc/locks.h (write_barrier): New function.
10047 * sysdep/i386/locks.h (write_barrier): New function.
10049 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10051 * include/jni.h Use correct C comments.
10053 2002-03-18 Tom Tromey <tromey@redhat.com>
10055 * include/jni.h (JNIIMPORT): New macro.
10056 (JNIEXPORT): Likewise.
10057 (JNICALL): Likewise.
10059 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10061 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10064 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10066 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10067 INIT_SEGV: Use old_i386_kernel_sigaction.
10070 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10072 * java/lang/natSystem.cc (init_properties): Update VM version
10074 * configure.in: Set GCJVERSION.
10075 * acconfig.h: Add GCJVERSION.
10076 * configure: Rebuilt.
10077 * include/config.h.in: Rebuilt.
10079 2002-03-17 Anthony Green <green@redhat.com>
10081 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10083 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10085 Build a single libgcj.so, without separate gc and zlib libraries.
10086 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10087 SYS_ZLIBS if system zlib is used.
10088 * configure: Rebuilt.
10089 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10090 * Makefile.in: Rebuilt.
10091 * libtool-version: Increment .so version number.
10093 * Makefile.am: Escape quotes in echo.
10094 * Makefile.in: Rebuilt.
10096 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10098 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10099 * Makefile.in: Rebuilt.
10101 2002-03-15 Anthony Green <green@redhat.com>
10103 * configure.host (FILE): New macro for specifing File
10105 * configure: Rebuilt.
10106 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10108 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10110 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10111 already implicitly brought in from libgcj.la.
10112 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10113 * Makefile.in: Rebuilt.
10115 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10117 * THANKS: Fix punctuation, alphabetization.
10119 2002-03-15 Tom Tromey <tromey@redhat.com>
10120 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10122 Fix for PR libgcj/5944.
10123 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10125 2002-03-15 Anthony Green <green@redhat.com>
10127 * configure.in (tool_include_dir): Define.
10128 * configure: Rebuilt.
10129 * gcj/Makefile.am: Install libgcj-config.h relative to
10131 * gcj/Makefile: Rebuilt.
10132 * gcj/libgcj-config.h: Add warning comment.
10134 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10136 * configure.host (powerpc*-darwin*): Enable interpreter.
10138 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10140 * include/posix.h: Add multiple include header protection.
10141 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10143 2002-03-10 Adam Megacz <adam@xwt.org>
10145 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10147 2002-03-10 Tom Tromey <tromey@redhat.com>
10149 * java/awt/GridLayout.java (layoutContainer): Handle case where
10150 there are no items in container.
10152 * java/lang/Win32Process.java: Added comment.
10153 * include/posix.h (_Jv_platform_close_on_exec): New function.
10155 * include/win32.h (_Jv_platform_close_on_exec): New function.
10156 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10158 (accept): Likewise.
10159 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10160 close-on-exec flag.
10161 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10164 2002-03-09 Tom Tromey <tromey@redhat.com>
10166 * verify.cc (state::NO_STACK): New constant.
10167 (state::is_unmerged_ret_state): Handle case where stacktop is
10169 (state::merge): Handle NO_STACK merges.
10170 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10171 for instruction following jsr.
10172 (stacktop, stackdepth): Removed unused variables.
10173 (pop_jump): Ignore case where all remaining states are skipped.
10175 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10177 * java/awt/ImageMediaEntry: Removed.
10178 * java/awt/MediaEntry: Removed.
10180 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10182 Hashtable synchronization for PowerPC.
10183 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10184 slow_pthread_self. Set up symlink for sysdeps directory.
10185 * configure: Rebuild.
10186 * configure.host: Document more shell variables. Set sysdeps_dir
10187 for most platforms. Set slow_pthread_self for i686. Set
10188 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10189 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10190 that memory barrier is emitted where required.
10191 * prims.cc: 64-bit align static primitive class instances.
10192 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10193 read_barrier() to enforce ordering of reads.
10194 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10195 primitives for PowerPC.
10196 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10197 moved from natObject.cc.
10198 * sysdep/alpha/locks.h: Likewise.
10199 * sysdep/ia64/locks.h: Likewise.
10200 * sysdep/generic/locks.h: Likewise.
10201 * java/lang/natObject.cc: Move thread synchronization primitives to
10202 system-dependent headers.
10204 2002-03-09 Adam Megacz <adam@xwt.org>
10206 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10207 bytes read and no failure code returned.
10209 2002-03-09 Adam Megacz <adam@xwt.org>
10211 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10212 definitions to simulate -mthreads.
10214 2002-03-09 Adam Megacz <adam@xwt.org>
10216 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10217 avoid precision loss.
10219 2002-03-09 Per Bothner <per@bothner.com>
10221 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10222 * gnu/gcj/xlib/XImage.java: Likewise.
10223 * gnu/gcj/xlib/XColor.java: Likewise.
10225 2002-03-09 Adam Megacz <adam@xwt.org>
10227 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10228 IOException so that Throwable.printStackTrace fails correctly.
10230 2002-03-08 Adam Megacz <adam@xwt.org>
10232 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10235 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10237 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10240 2002-03-08 Tom Tromey <tromey@redhat.com>
10242 * include/jni.h: Include stdio.h.
10244 2002-03-08 Tom Tromey <tromey@redhat.com>
10246 * posix.cc (internal_gettimeofday): New function.
10247 (_Jv_select): Use it.
10249 2002-03-07 Adam Megacz <adam@xwt.org>
10251 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10252 WIN32, and added thunks for read(), write(), and close().
10253 * java/net/natPlainSocketImpl.cc (accept, read, read):
10254 Disabled timeouts on WIN32 pending discussion.
10256 2002-03-07 Adam Megacz <adam@xwt.org>
10258 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10259 returns jlong. Added implementation
10260 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10262 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10264 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10266 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10267 _Jv_platform_gettimeofday signature.
10269 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10271 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10272 (read): Call recv() directly, not _Jv_recv().
10274 2002-03-06 Tom Tromey <tromey@redhat.com>
10276 * java/io/natFileDescriptorEcos.cc (init): Don't use
10278 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10280 (init): Don't use GetStdHandle.
10282 * include/config.h.in: Rebuilt.
10283 * configure: Rebuilt.
10284 * Makefile.in: Rebuilt.
10286 2002-03-06 Adam Megacz <adam@xwt.org>
10288 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10289 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10290 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10291 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10293 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10295 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10296 the code for generating include/java-chartables.h.
10297 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10298 merge with Classpath.
10299 * scripts/unicode-muncher.pl: Copy from Classpath.
10300 * scritps/MakeCharTables.java: New file.
10301 * gnu/gcj/convert/Blocks-3.txt: New file.
10302 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10303 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10304 * gnu/java/lang/CharData.java: Copy from Classpath.
10305 * Makefile.am (ordinary_java_source_files): Add
10306 gnu/java/lang/CharData.java.
10307 * configure.in: Remove --enable-fast-character option.
10308 * java/lang/Character.java: Merge algorithms and Javadoc with
10310 * java/lang/natCharacter.cc: Implement Unicode lookup table more
10312 * include/java-chardecomp.h: Regenerate.
10313 * include/java-chartables.h: Regenerate.
10315 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10317 * java/awt/MediaTracker.java: Implemented.
10318 * Makefile.am: Add MediaTracker.
10319 * Makefile.in: Rebuilt.
10321 2002-03-05 Tom Tromey <tromey@redhat.com>
10323 * java/lang/natPosixProcess.cc (fail): Removed.
10324 (startProcess): Simplified error-handling. Preserve
10325 LD_LIBRARY_PATH across exec.
10327 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10328 AbstractMethodError.
10330 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10332 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10333 * Makefile.in: Rebuilt.
10335 2002-03-03 Mark Wielaard <mark@klomp.org>
10337 * java/util/Timer (TaskQueue.stop): set elements to zero.
10339 2002-02-28 Anthony Green <green@redhat.com>
10341 * java/lang/reflect/natMethod.cc (result): Add void* element.
10342 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
10345 2002-02-27 Adam Megacz <adam@xwt.org>
10347 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10350 2002-02-26 Tom Tromey <tromey@redhat.com>
10352 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10353 * gij.cc (version): Use __VERSION__.
10354 * include/config.h.in: Rebuilt.
10355 * acconfig.h (GCJVERSION): Removed.
10356 * configure: Rebuilt.
10357 * configure.in (GCJVERSION): Removed.
10359 2002-02-26 Andreas Schwab <schwab@suse.de>
10361 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10362 glibcpp_CXX, since libjava uses even another CXX.
10363 * aclocal.m4, configure: Regenerated.
10365 2002-02-26 Tom Tromey <tromey@redhat.com>
10367 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10370 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10372 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10373 dependency tracking for .java files.
10374 * Makefile.in: Rebuilt.
10376 2002-02-24 Adam Megacz <adam@xwt.org>
10378 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10381 2002-02-24 Adam Megacz <adam@xwt.org>
10383 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10384 for Win32, changed #ifdefs to check WIN32 instead of the
10385 (now-obsolete) USE_WINSOCK, and removed support for socket
10386 timeouts on Win32 pending further discussion.
10388 2002-02-24 Adam Megacz <adam@xwt.org>
10390 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10391 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10394 2002-02-24 Adam Megacz <adam@xwt.org>
10396 * java/lang/Win32Process.java: Created a dummy class to allow
10397 build process to run to completion.
10399 2002-02-24 Jeff Sturm <jsturm@one-point.com>
10401 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10402 Define ffi_result union for ffi_call result. Cast
10403 ffi_result members to jvalue.
10405 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
10407 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10408 * testsuite/Makefile.in: Likewise.
10410 2002-02-20 Per Bothner <per@bothner.com>
10412 * java/net/URL.java (getPath): New JDK 1.3 method.
10414 * java/net/URLStreamHandler.java (parseURL):
10415 It is wrong to prepend '/' to the file part of a relative url.
10417 * java/net/URLStreamHandler.java (parseURL):
10418 Minor optizations - append '/' rather than "/".
10420 * java/net/URLStreamHandler.java (parseURL):
10421 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10422 We probably should canonicalize for a context-relative url, though.
10423 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
10424 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
10425 (sameFile): New method. Uses canonicalizeFilename.
10427 2002-02-22 Tom Tromey <tromey@redhat.com>
10429 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10430 java.vendor and java.vm.vendor.
10431 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10432 recent copyright date.
10433 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10434 * gij.cc (version): Print `Inc'.
10436 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10438 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10439 * aclocal.m4, configure: Rebuilt.
10441 2002-02-20 Per Bothner <per@bothner.com>
10443 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
10444 and/or output streams immediately here, instead of using File.exists.
10445 (inputStream, outputStream): New fields to save open streams.
10446 (getInputStream, getOutputStream): Use already-opened streams.
10448 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10450 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10452 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10453 * aclocal.m4, configure, Makefile.in: Rebuilt.
10455 2002-02-19 Tom Tromey <tromey@redhat.com>
10457 Fix for PR libgcj/5696:
10458 * verify.cc (is_assignable_from_slow): Never call
10459 _Jv_IsAssignableFrom.
10460 (verify_instructions_0): Added new debug statement.
10461 (state::print): Print information about whether local has
10463 (state::merge): Don't call note_variable when merging locals.
10464 (state::set_exception): Removed old FIXME comment.
10466 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10468 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10469 enable SO_BROADCAST.
10471 2002-02-18 Jason Merrill <jason@redhat.com>
10473 * name-finder.cc (toHex): Use word mode, not long long.
10475 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10477 2002-02-15 Tom Tromey <tromey@redhat.com>
10479 Fix for PR libgcj/5695:
10480 * verify.cc (is_assignable_from_slow): Check to see if target is
10481 an Object before checking to see if source is an interface.
10482 (verify_instructions_0) [op_invokeinterface]: Handle case where
10483 we're making an interface call on Object.
10485 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10487 * Makefile.in: Rebuilt with Eric's change below.
10489 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10490 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10491 Removed functions which are now implemented in Math.java.
10493 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10495 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10496 * Makefile.am (core_java_source_files): Add
10497 java/lang/StrictMath.java.
10498 * java/lang/Math.java: Merge with Classpath.
10499 * java/lang/StrictMath.java: New file - merge with Classpath.
10501 2002-02-14 Mark Wielaard <mark@klomp.org>
10503 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10504 package as a workaround for gcj 3.0.x
10506 2002-02-14 Mark Wielaard <mark@klomp.org>
10508 * java/security/BasicPermission.java: extends with fully qualified
10509 classname as workaround for gcj 3.0.4.
10511 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10513 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10514 around gcj bug of wrong emitted qualifier for inherited method.
10515 * java/net/SocketImpl.java (setOption, getOption): Ditto.
10516 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10517 constructor to reduce amount of emitted bytecode. While this
10518 happens to work around a jikes 1.15 bug, it is still a useful
10519 patch even for correct compilers.
10520 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10521 * gnu/java/rmi/server/UnicastRemoteCall.java
10522 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10524 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10526 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10527 * java/net/SocketImpl.java: Ditto.
10528 * java/rmi/server/RMIClassLoader.java: Ditto.
10529 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10531 2002-02-14 Mark Wielaard <mark@klomp.org>
10533 Thanks to Takashi Okamoto
10534 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10535 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10536 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10538 2002-02-13 Todd Stock <toddastock@yahoo.com>
10540 Fix for PR libgcj/5670:
10541 * verify.cc (is_assignable_from_slow): If `source' is interface,
10542 recursively look for merge with `target'.
10544 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
10546 * include/jni.h: Fix typo.
10548 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
10550 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10553 2002-02-13 Todd Stock <toddastock@yahoo.com>
10555 Fix for PR libgcj/5671:
10556 * verify.cc (state::merge): Handle case where we're merging
10557 against an interface.
10559 2002-02-12 Tom Tromey <tromey@redhat.com>
10561 * exception.cc (std::abort): Mark as noreturn.
10563 2002-02-12 Adam Megacz <adam@xwt.org>
10565 * java/lang/Win32Process.java: Filled in a placeholder
10566 implementation so Win32 will build.
10568 2002-02-12 Adam Megacz <adam@xwt.org>
10570 * java/io/natFilePosix.cc: Copied this from natFile.cc.
10571 * java/io/natFile.cc: Removed from repository.
10572 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10574 2002-02-12 Adam Megacz <adam@xwt.org>
10576 * win32.cc: Added two #includes to make win32.cc compile.
10578 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10580 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10582 (_Jv_InitGC): Don't bother locking, as this is always called from a
10583 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10585 2002-02-11 Adam Megacz <adam@xwt.org>
10587 * include/win32.h: Added _Jv_platform_gettimeofday.
10588 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10590 2002-02-11 Adam Megacz <adam@xwt.org>
10592 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10593 Added #undef STRICT to make windows.h and
10594 java/lang/reflect/Modifier.h cooperate.
10596 2002-02-11 Adam Megacz <adam@xwt.org>
10598 * java/io/natFileWin32.cc: Created a placeholder class with lots
10601 2002-02-11 Adam Megacz <adam@xwt.org>
10603 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10604 std::abort() to simply abort(). Also added "fake" std::abort() so
10605 we can #include unwind-pe.h without having to link against
10608 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
10610 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10612 2002-02-08 Tom Tromey <tromey@redhat.com>
10614 * interpret.cc (convert): New function.
10615 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10619 2002-02-08 Anthony Green <green@redhat.com>
10621 * configure.host: Add support for xscale-elf embedded target.
10623 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
10625 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10627 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10630 2002-02-07 Tom Tromey <tromey@redhat.com>
10632 * java/io/natFile.cc (_access): Use __builtin_alloca.
10635 (getCanonicalPath): Likewise.
10636 (performList): Likewise.
10637 (performMkdir): Likewise.
10638 (performSetReadOnly): Likewise.
10639 (performRenameTo): Likewise.
10640 (performSetLastModified): Likewise.
10641 (performCreate): Likewise.
10642 (performDelete): Likewise.
10644 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10646 * HACKING: Fix URL for the automake-gcj.
10648 2002-02-07 Tom Tromey <tromey@redhat.com>
10650 * java/lang/natThrowable.cc: Updated copyright.
10651 * java/io/natFileWin32.cc: Updated copyright.
10652 * java/io/natFileDescriptorWin32.cc: Updated copyright.
10653 * win32-threads.cc: Updated copyright.
10654 * name-finder.cc: Updated copyright.
10655 * include/name-finder.h: Updated copyright.
10657 * include/name-finder.h: Conditionally include sys/wait.h.
10658 * include/config.h.in: Rebuilt.
10660 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10661 Size buffer based on real size of string.
10664 (getCanonicalPath): Likewise.
10665 (performList): Likewise.
10666 (performMkdir): Likewise.
10667 (performSetReadOnly): Likewise.
10668 (unixroot): Removed.
10669 (performRenameTo): Likewise.
10670 (performSetLastModified): Likewise.
10671 (performCreate): Likewise.
10672 (performDelete): Likewise.
10673 (performListRoots): Always return new array.
10675 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10676 * win32.cc (win32_exception_handler): Now static.
10677 * include/win32.h (_Jv_platform_initialize): Declare.
10678 (win32_exception_handler): Don't declare.
10679 * java/lang/natSystem.cc (currentTimeMillis): Use
10680 _Jv_platform_gettimeofday.
10681 * posix.cc (_Jv_platform_gettimeofday): Renamed.
10682 (_Jv_select): Use new name.
10683 (_Jv_platform_initialize): New function.
10684 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10686 (_Jv_platform_initialize): Declare.
10688 * configure: Rebuilt.
10689 * configure.in: Removed unnecessary parens.
10691 2002-02-06 Adam Megacz <adam@xwt.org>
10693 * configure.in: Changed mingw) to *mingw*).
10694 * win32.cc: Created this file.
10695 * win32.h: Created this file.
10696 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10697 win32_exception_handler from prims.cc to win32.cc, added
10699 * prims.cc: removed some #ifdef-WIN32'd headers which are no
10700 longer needed now that we have platform.h
10702 2002-02-06 Adam Megacz <adam@xwt.org>
10704 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10705 use uint<n>_t instead of LONG and BYTE
10707 2002-02-06 Adam Megacz <adam@xwt.org>
10709 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10711 2002-02-06 Anthony Green <green@redhat.com>
10713 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10714 Implement missing method stubs.
10715 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10717 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10718 concept of timezones.
10719 (init_properties): Don't refer to _Jv_Environment_Properties
10720 when this feature is not available.
10721 * include/config.h.in: Rebuilt.
10722 * acconfig.h: Add DISABLE_MAIN_ARGS.
10723 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10724 * configure: Rebuilt.
10725 * configure.in: Add --disable-main-args option. Test for
10726 opendir function. Replace AC_CHECK_SIZEOF with
10727 AC_COMPILE_CHECK_SIZEOF.
10728 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10729 * aclocal.m4: Rebuilt.
10730 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10732 2002-02-06 Tom Tromey <tromey@redhat.com>
10734 * verify.cc (require_array_type): If argument is a null array of
10735 references, return null as the element type.
10737 2002-02-06 Mark Wielaard <mark@klomp.org>
10739 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10740 duplicate of a wide type.
10742 2002-02-06 Tom Tromey <tromey@redhat.com>
10744 * verify.cc (type::isnull): New method.
10745 (require_array_type): Handle case where array is null.
10746 (verify_instructions_0) [op_arraylength]: Likewise.
10748 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10750 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10751 Symlink PLATFORMH to platform.h.
10752 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10754 * java/lang/natSystem.cc: #include platform.h not posix.h.
10755 * Makefile.in: Rebuilt with libgcj automake.
10756 * configure: Rebuilt.
10758 2002-02-05 Richard Henderson <rth@redhat.com>
10760 * Makefile.in: Undo munging last change.
10762 2002-02-04 Adam Megacz <adam@xwt.org>
10764 * win32.cc: Created it.
10765 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10766 which is set to posix.cc or win32.cc.
10767 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10769 2002-02-04 Adam Megacz <adam@xwt.org>
10771 * configure.in: Corrected mingw case branches; added * before
10774 2002-02-04 Adam Megacz <adam@xwt.org>
10776 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10777 if compiling for win32
10779 2002-02-04 Adam Megacz <adam@xwt.org>
10781 * win32-threads.cc: #undef STRICT after gc.h inclusion
10783 2002-02-02 Tom Tromey <tromey@redhat.com>
10785 * Makefile.in: Rebuilt.
10787 2002-02-02 Jason Merrill <jason@redhat.com>
10789 * Makefile.am (clean-nat): New target.
10791 2002-02-02 Tom Tromey <tromey@redhat.com>
10793 * java/io/natFile.cc: Removed old "FIXME" comments.
10795 2002-02-01 Tom Tromey <tromey@redhat.com>
10797 * java/lang/natPosixProcess.cc (myclose): New function.
10799 (startProcess): Likewise.
10801 2002-02-01 Adam Megacz <adam@xwt.org>
10803 * prims.cc: Added #undef STRICT after #include<windows.h>.
10805 2002-02-01 Adam Megacz <adam@xwt.org>
10808 (_Jv_CreateJavaVM): We now use WIN32 instead of
10809 USE_WIN32_SIGNALLING and USE_WINSOCK.
10810 (win32_exception_handler): Now throws an exception out of
10811 the signal handler; assumes SJLJ.
10813 2002-02-01 Adam Megacz <adam@xwt.org>
10815 * win32-threads.cc:
10816 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10817 wait() algorithm to make it safe.
10818 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10819 Added lazy creation of Win32 Events for better performance
10820 (really_start): This now uses GC_CreateThread so boehm-gc
10821 knows about new threads even when statically linked.
10823 2002-02-01 Adam Megacz <adam@xwt.org>
10825 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10826 enable safer wait() algorithm.
10827 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10828 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10829 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10830 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10832 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10834 2002-02-01 Adam Megacz <adam@xwt.org>
10836 * configure.in: Added support for mingw.
10837 * java/lang/Win32Process.java: Created as empty file.
10838 * java/lang/natWin32Process.cc: Created as empty file.
10840 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
10843 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10844 for libiconv in LIBICONV variable.
10845 * configure: Regenerated.
10847 2002-01-31 Tom Tromey <tromey@redhat.com>
10849 * verify.cc (state::enter_subroutine): New method.
10850 (handle_jsr_insn): Use it.
10851 (state::merge): When processing a `ret', correctly use
10852 subroutine's state to determine which local variables have
10854 (push_exception_jump): Don't let stack overflow.
10856 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
10858 * gnu/gcj/convert/Convert.java: Only include one copyright year in
10861 2002-01-30 Tom Tromey <tromey@redhat.com>
10863 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10864 parameter for `recv' return type.
10866 * verify.cc (handle_ret_insn): Check for subroutine merge here...
10867 (state::merge): ... not here.
10868 (subr_entry_info): New structure.
10869 (entry_points): New field.
10870 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
10873 2002-01-29 Tom Tromey <tromey@redhat.com>
10875 * java/awt/List.java (addNotify): Correctly check to see if peer
10878 * java/awt/GridLayout.java (layoutContainer): Use number of rows
10879 to compute height of each cell, and number of columns to compute
10880 width of each cell.
10881 * java/awt/Window.java (getOwnedWindows): Don't return null.
10882 * java/awt/FlowLayout.java (layoutContainer): Set width and height
10883 of component. Increment x using horizontal gap, not vertical
10886 2002-01-28 Tom Tromey <tromey@redhat.com>
10888 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10889 `nargs' byte is number of words, not number of arguments.
10891 2002-01-27 Tom Tromey <tromey@redhat.com>
10893 * java/awt/event/MouseEvent.java (modifiers): Removed field.
10895 * java/awt/event/InputEvent.java (modifiers, when): Now
10898 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10900 (state::merge): Use current class' class loader.
10901 (state::print): Print subroutine.
10902 (state::merge): Don't look at subroutine of unmerged `ret'.
10904 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10906 * nogc.cc: Remove warnings.
10907 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10910 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10912 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10913 int, int): Remove empty "if" statement to work around compiler bug.
10914 (newPixels(int[], ColorModel, int, int): Likewise.
10916 2002-01-25 Per Bothner <per@bothner.com>
10918 * verify.cc (verify_fail): Change from being a top-level function
10919 to e method of _Jv_BytecodeVerifier. Emit current method name.
10920 Pass the current verifier to type: and state: methods as needed,
10921 for better error messages, and for resolve.
10922 (resolve): Pass current class's loader for Class.forName and
10923 _Jv_FindClassFromSignature, rather than using the default loader.
10924 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
10925 (get_type_val_for_signature): Make non-static.
10926 (various methods): Pass start_PC implicitly, not explicitly.
10928 2002-01-25 Tom Tromey <tromey@redhat.com>
10930 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10931 loop termination condition.
10932 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10935 2002-01-24 Tom Tromey <tromey@redhat.com>
10937 * java/awt/Shape.java: Merged with Classpath.
10938 * java/awt/Scrollbar.java: Merged with Classpath.
10940 * java/awt/Container.java (addNotify): Unconditionally call
10941 addNotifyContainerChildren and superclass addNotify.
10943 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10944 getAlpha, not getBlue.
10946 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10948 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10950 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10951 (grabPixels(long)): Wait to be notified that the ImageProducer has
10954 2002-01-24 Per Bothner <per@bothner.com>
10956 * verify.cc (is_assignable_from_slow): If target is an interface,
10957 we must still check the source's superclass before giving up.
10959 2002-01-24 Tom Tromey <tromey@redhat.com>
10961 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10963 2002-01-23 Tom Tromey <tromey@redhat.com>
10965 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10968 * Makefile.in: Rebuilt.
10969 * Makefile.am (awt_java_source_files): Added new files.
10970 * java/awt/Toolkit.java: Merged with Classpath.
10971 * java/awt/PrintGraphics.java: New file from Classpath.
10972 * java/awt/PrintJob.java: New file from Classpath.
10973 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10974 * java/awt/datatransfer/ClipboardOwner.java: New file from
10976 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10977 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10978 * java/awt/datatransfer/MimeTypeParseException.java: New file from
10980 * java/awt/datatransfer/StringSelection.java: New file from
10982 * java/awt/datatransfer/SystemFlavorMap.java: New file from
10984 * java/awt/datatransfer/Transferable.java: New file from
10986 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10989 * Makefile.in: Rebuilt.
10990 * Makefile.am (awt_java_source_files): Added new files.
10991 * java/awt/image/AreaAveragingScaleFilter.java: New file from
10993 * java/awt/image/CropImageFilter.java: New file from Classpath.
10994 * java/awt/image/FilteredImageSource.java: New file from
10996 * java/awt/image/ImageFilter.java: New file from Classpath.
10997 * java/awt/image/MemoryImageSource.java: New file from Classpath.
10998 * java/awt/image/PixelGrabber.java: New file from Classpath.
10999 * java/awt/image/RGBImageFilter.java: New file from Classpath.
11000 * java/awt/image/ReplicateScaleFilter.java: New file from
11002 * java/awt/image/ImageProducer.java: Replaced with Classpath
11004 * java/awt/image/ImageObserver.java: Replaced with Classpath
11006 * java/awt/image/ImageConsumer.java: Replaced with Classpath
11008 * java/awt/GridBagConstraints.java (clone): Catch
11009 CloneNotSupportedException.
11011 2002-01-23 Per Bothner <per@bothner.com>
11013 * java/lang/reflect/natField.cc (setAddr): New function.
11014 Calls getAddr and then checks that the field isn't final.
11015 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
11016 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
11017 (set): Call setAddr before check that new value has right type,
11018 to better match specified semantics.
11020 2002-01-22 Tom Tromey <tromey@redhat.com>
11022 * java/awt/TextField.java: Replaced with Classpath version.
11023 * java/awt/TextArea.java: Replaced with Classpath version.
11024 * java/awt/TextComponent.java: Replaced with Classpath version.
11026 * java/awt/GridBagConstraints.java: Updated copyright.
11028 2002-01-22 Mark Wielaard <mark@klomp.org>
11030 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11031 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11032 java/awt/Dialog.java java/awt/FileDialog.java
11033 java/awt/Font.java java/awt/FontMetrics.java
11034 java/awt/Image.java java/awt/ImageMediaEntry.java
11035 java/awt/Insets.java java/awt/List.java
11036 java/awt/MediaEntry.java java/awt/MediaTracker.java
11037 java/awt/Menu.java java/awt/MenuBar.java
11038 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11039 java/awt/PaintContext.java java/awt/Panel.java
11040 java/awt/PopupMenu.java java/awt/SystemColor.java
11041 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11042 java/awt/peer/CheckboxMenuItemPeer.java
11043 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11044 java/awt/peer/ComponentPeer.java
11045 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11046 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11047 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11048 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11049 java/awt/peer/MenuBarPeer.java
11050 java/awt/peer/MenuComponentPeer.java
11051 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11052 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11053 java/awt/peer/ScrollPanePeer.java
11054 java/awt/peer/ScrollbarPeer.java
11055 java/awt/peer/TextAreaPeer.java
11056 java/awt/peer/TextComponentPeer.java
11057 java/awt/peer/TextFieldPeer.java
11058 java/awt/peer/WindowPeer.java: Add license clarification.
11060 2002-01-22 Mark Wielaard <mark@klomp.org>
11062 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11063 gnu/gcj/runtime/StringBuffer.java
11064 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11065 gnu/java/awt/ComponentDataBlitOp.java
11066 gnu/java/awt/GLightweightPeer.java
11067 gnu/java/beans/BeanInfoEmbryo.java
11068 gnu/java/beans/EmptyBeanInfo.java
11069 gnu/java/beans/ExplicitBeanInfo.java
11070 gnu/java/beans/IntrospectionIncubator.java
11071 gnu/java/beans/editors/ColorEditor.java
11072 gnu/java/beans/editors/FontEditor.java
11073 gnu/java/beans/editors/NativeBooleanEditor.java
11074 gnu/java/beans/editors/NativeByteEditor.java
11075 gnu/java/beans/editors/NativeDoubleEditor.java
11076 gnu/java/beans/editors/NativeFloatEditor.java
11077 gnu/java/beans/editors/NativeIntEditor.java
11078 gnu/java/beans/editors/NativeLongEditor.java
11079 gnu/java/beans/editors/NativeShortEditor.java
11080 gnu/java/beans/editors/StringEditor.java
11081 gnu/java/beans/info/ComponentBeanInfo.java
11082 gnu/java/io/ClassLoaderObjectInputStream.java
11083 gnu/java/io/NullOutputStream.java
11084 gnu/java/io/ObjectIdentityWrapper.java
11085 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11086 gnu/java/lang/reflect/TypeSignature.java
11087 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11088 gnu/java/locale/Calendar_en.java
11089 gnu/java/locale/Calendar_nl.java
11090 gnu/java/locale/LocaleInformation.java
11091 gnu/java/locale/LocaleInformation_de.java
11092 gnu/java/locale/LocaleInformation_en.java
11093 gnu/java/locale/LocaleInformation_nl.java
11094 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11095 gnu/java/rmi/registry/RegistryImpl.java
11096 gnu/java/rmi/rmic/Compile_gcj.java
11097 gnu/java/rmi/rmic/Compiler.java
11098 gnu/java/rmi/rmic/CompilerProcess.java
11099 gnu/java/rmi/rmic/RMIC.java
11100 gnu/java/rmi/rmic/TabbedWriter.java
11101 gnu/java/rmi/server/ProtocolConstants.java
11102 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11103 gnu/java/rmi/server/RMIHashes.java
11104 gnu/java/rmi/server/RMIObjectInputStream.java
11105 gnu/java/rmi/server/RMIObjectOutputStream.java
11106 gnu/java/rmi/server/UnicastConnection.java
11107 gnu/java/rmi/server/UnicastConnectionManager.java
11108 gnu/java/rmi/server/UnicastRef.java
11109 gnu/java/rmi/server/UnicastRemoteCall.java
11110 gnu/java/rmi/server/UnicastRemoteStub.java
11111 gnu/java/rmi/server/UnicastServer.java
11112 gnu/java/rmi/server/UnicastServerRef.java
11113 gnu/java/security/provider/DefaultPolicy.java
11114 gnu/java/security/provider/Gnu.java
11115 gnu/java/security/provider/SHA.java
11116 gnu/java/security/provider/SHA1PRNG.java
11117 gnu/java/text/BaseBreakIterator.java
11118 gnu/java/text/CharacterBreakIterator.java
11119 gnu/java/text/LineBreakIterator.java
11120 gnu/java/text/SentenceBreakIterator.java
11121 gnu/java/text/WordBreakIterator.java
11122 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11123 java/applet/AppletContext.java java/applet/AppletStub.java
11124 java/applet/AudioClip.java java/awt/AWTError.java
11125 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11126 java/awt/AWTException.java java/awt/AWTPermission.java
11127 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11128 java/awt/Button.java java/awt/Canvas.java
11129 java/awt/CardLayout.java java/awt/Checkbox.java
11130 java/awt/CheckboxGroup.java java/awt/Component.java
11131 java/awt/ComponentOrientation.java java/awt/Container.java
11132 java/awt/Dimension.java java/awt/Event.java
11133 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11134 java/awt/FlowLayout.java java/awt/Frame.java
11135 java/awt/Graphics.java java/awt/Graphics2D.java
11136 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11137 java/awt/IllegalComponentStateException.java
11138 java/awt/ItemSelectable.java java/awt/Label.java
11139 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11140 java/awt/MenuComponent.java java/awt/MenuItem.java
11141 java/awt/Paint.java java/awt/Point.java
11142 java/awt/Rectangle.java java/awt/RenderingHints.java
11143 java/awt/Transparency.java java/awt/Window.java
11144 java/awt/color/ColorSpace.java
11145 java/awt/color/ICC_ColorSpace.java
11146 java/awt/color/ICC_Profile.java
11147 java/awt/event/HierarchyBoundsAdapter.java
11148 java/awt/event/HierarchyBoundsListener.java
11149 java/awt/event/HierarchyEvent.java
11150 java/awt/event/HierarchyListener.java
11151 java/awt/geom/AffineTransform.java
11152 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11153 java/awt/geom/IllegalPathStateException.java
11154 java/awt/geom/Line2D.java
11155 java/awt/geom/NoninvertibleTransformException.java
11156 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11157 java/awt/geom/Rectangle2D.java
11158 java/awt/geom/RectangularShape.java
11159 java/awt/geom/RoundRectangle2D.java
11160 java/awt/image/BufferedImage.java
11161 java/awt/image/ColorModel.java
11162 java/awt/image/ComponentColorModel.java
11163 java/awt/image/ComponentSampleModel.java
11164 java/awt/image/DataBuffer.java
11165 java/awt/image/DataBufferByte.java
11166 java/awt/image/DataBufferInt.java
11167 java/awt/image/DataBufferUShort.java
11168 java/awt/image/DirectColorModel.java
11169 java/awt/image/PackedColorModel.java
11170 java/awt/image/Raster.java java/awt/image/RasterOp.java
11171 java/awt/image/SampleModel.java
11172 java/awt/image/SinglePixelPackedSampleModel.java
11173 java/awt/image/WritableRaster.java
11174 java/beans/AppletInitializer.java
11175 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11176 java/beans/Beans.java java/beans/Customizer.java
11177 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11178 java/beans/FeatureDescriptor.java
11179 java/beans/IndexedPropertyDescriptor.java
11180 java/beans/IntrospectionException.java
11181 java/beans/Introspector.java java/beans/MethodDescriptor.java
11182 java/beans/ParameterDescriptor.java
11183 java/beans/PropertyChangeEvent.java
11184 java/beans/PropertyChangeListener.java
11185 java/beans/PropertyChangeSupport.java
11186 java/beans/PropertyDescriptor.java
11187 java/beans/PropertyEditor.java
11188 java/beans/PropertyEditorManager.java
11189 java/beans/PropertyEditorSupport.java
11190 java/beans/PropertyVetoException.java
11191 java/beans/SimpleBeanInfo.java
11192 java/beans/VetoableChangeListener.java
11193 java/beans/VetoableChangeSupport.java
11194 java/beans/Visibility.java
11195 java/beans/beancontext/BeanContext.java
11196 java/beans/beancontext/BeanContextChild.java
11197 java/beans/beancontext/BeanContextChildComponentProxy.java
11198 java/beans/beancontext/BeanContextChildSupport.java
11199 java/beans/beancontext/BeanContextContainerProxy.java
11200 java/beans/beancontext/BeanContextEvent.java
11201 java/beans/beancontext/BeanContextMembershipEvent.java
11202 java/beans/beancontext/BeanContextMembershipListener.java
11203 java/beans/beancontext/BeanContextProxy.java
11204 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11205 java/beans/beancontext/BeanContextServiceProvider.java
11206 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11207 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11208 java/beans/beancontext/BeanContextServiceRevokedListener.java
11209 java/beans/beancontext/BeanContextServices.java
11210 java/beans/beancontext/BeanContextServicesListener.java
11211 java/io/BufferedInputStream.java
11212 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11213 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11214 java/io/ByteArrayOutputStream.java
11215 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11216 java/io/CharConversionException.java java/io/DataInput.java
11217 java/io/DataInputStream.java java/io/DataOutput.java
11218 java/io/EOFException.java java/io/Externalizable.java
11219 java/io/FileFilter.java java/io/FileNotFoundException.java
11220 java/io/FilePermission.java java/io/FileReader.java
11221 java/io/FileWriter.java java/io/FilenameFilter.java
11222 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11223 java/io/FilterReader.java java/io/FilterWriter.java
11224 java/io/IOException.java java/io/InputStream.java
11225 java/io/InterruptedIOException.java
11226 java/io/InvalidClassException.java
11227 java/io/InvalidObjectException.java
11228 java/io/NotActiveException.java
11229 java/io/NotSerializableException.java java/io/ObjectInput.java
11230 java/io/ObjectInputStream.java
11231 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11232 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11233 java/io/ObjectStreamConstants.java
11234 java/io/ObjectStreamException.java
11235 java/io/ObjectStreamField.java
11236 java/io/OptionalDataException.java java/io/OutputStream.java
11237 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11238 java/io/PipedReader.java java/io/PipedWriter.java
11239 java/io/PrintWriter.java java/io/PushbackInputStream.java
11240 java/io/PushbackReader.java java/io/Reader.java
11241 java/io/SequenceInputStream.java java/io/Serializable.java
11242 java/io/SerializablePermission.java
11243 java/io/StreamCorruptedException.java
11244 java/io/StreamTokenizer.java
11245 java/io/StringBufferInputStream.java java/io/StringReader.java
11246 java/io/StringWriter.java java/io/SyncFailedException.java
11247 java/io/UTFDataFormatException.java
11248 java/io/UnsupportedEncodingException.java
11249 java/io/WriteAbortedException.java java/io/Writer.java
11250 java/lang/AbstractMethodError.java
11251 java/lang/ArithmeticException.java
11252 java/lang/ArrayIndexOutOfBoundsException.java
11253 java/lang/ArrayStoreException.java java/lang/Boolean.java
11254 java/lang/Byte.java java/lang/CharSequence.java
11255 java/lang/ClassCastException.java
11256 java/lang/ClassCircularityError.java
11257 java/lang/ClassFormatError.java
11258 java/lang/ClassNotFoundException.java
11259 java/lang/CloneNotSupportedException.java
11260 java/lang/Cloneable.java java/lang/Comparable.java
11261 java/lang/Compiler.java java/lang/Double.java
11262 java/lang/Error.java java/lang/Exception.java
11263 java/lang/ExceptionInInitializerError.java
11264 java/lang/Float.java java/lang/IllegalAccessError.java
11265 java/lang/IllegalAccessException.java
11266 java/lang/IllegalArgumentException.java
11267 java/lang/IllegalMonitorStateException.java
11268 java/lang/IllegalStateException.java
11269 java/lang/IllegalThreadStateException.java
11270 java/lang/IncompatibleClassChangeError.java
11271 java/lang/IndexOutOfBoundsException.java
11272 java/lang/InheritableThreadLocal.java
11273 java/lang/InstantiationError.java
11274 java/lang/InstantiationException.java java/lang/Integer.java
11275 java/lang/InternalError.java
11276 java/lang/InterruptedException.java
11277 java/lang/LinkageError.java java/lang/Long.java
11278 java/lang/NegativeArraySizeException.java
11279 java/lang/NoClassDefFoundError.java
11280 java/lang/NoSuchFieldError.java
11281 java/lang/NoSuchFieldException.java
11282 java/lang/NoSuchMethodError.java
11283 java/lang/NoSuchMethodException.java
11284 java/lang/NullPointerException.java java/lang/Number.java
11285 java/lang/NumberFormatException.java
11286 java/lang/OutOfMemoryError.java java/lang/Package.java
11287 java/lang/Process.java java/lang/Runnable.java
11288 java/lang/RuntimeException.java
11289 java/lang/RuntimePermission.java
11290 java/lang/SecurityException.java
11291 java/lang/SecurityManager.java java/lang/Short.java
11292 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11293 java/lang/StringIndexOutOfBoundsException.java
11294 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11295 java/lang/ThreadLocal.java java/lang/UnknownError.java
11296 java/lang/UnsatisfiedLinkError.java
11297 java/lang/UnsupportedClassVersionError.java
11298 java/lang/UnsupportedOperationException.java
11299 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11300 java/lang/Void.java java/lang/ref/PhantomReference.java
11301 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11302 java/lang/ref/SoftReference.java
11303 java/lang/ref/WeakReference.java
11304 java/lang/reflect/AccessibleObject.java
11305 java/lang/reflect/InvocationTargetException.java
11306 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11307 java/lang/reflect/ReflectPermission.java
11308 java/math/BigDecimal.java java/math/BigInteger.java
11309 java/net/Authenticator.java java/net/BindException.java
11310 java/net/ConnectException.java java/net/ContentHandler.java
11311 java/net/ContentHandlerFactory.java
11312 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11313 java/net/FileNameMap.java java/net/MalformedURLException.java
11314 java/net/MulticastSocket.java java/net/NetPermission.java
11315 java/net/NoRouteToHostException.java
11316 java/net/PasswordAuthentication.java
11317 java/net/ProtocolException.java java/net/ServerSocket.java
11318 java/net/Socket.java java/net/SocketException.java
11319 java/net/SocketImpl.java java/net/SocketImplFactory.java
11320 java/net/SocketOptions.java java/net/SocketPermission.java
11321 java/net/URLDecoder.java java/net/URLEncoder.java
11322 java/net/URLStreamHandlerFactory.java
11323 java/net/UnknownHostException.java
11324 java/net/UnknownServiceException.java
11325 java/rmi/AccessException.java
11326 java/rmi/AlreadyBoundException.java
11327 java/rmi/ConnectException.java
11328 java/rmi/ConnectIOException.java
11329 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11330 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11331 java/rmi/NotBoundException.java
11332 java/rmi/RMISecurityException.java
11333 java/rmi/RMISecurityManager.java java/rmi/Remote.java
11334 java/rmi/RemoteException.java java/rmi/ServerError.java
11335 java/rmi/ServerException.java
11336 java/rmi/ServerRuntimeException.java
11337 java/rmi/StubNotFoundException.java
11338 java/rmi/UnexpectedException.java
11339 java/rmi/UnknownHostException.java
11340 java/rmi/UnmarshalException.java
11341 java/rmi/activation/Activatable.java
11342 java/rmi/activation/ActivateFailedException.java
11343 java/rmi/activation/ActivationDesc.java
11344 java/rmi/activation/ActivationException.java
11345 java/rmi/activation/ActivationGroup.java
11346 java/rmi/activation/ActivationGroupDesc.java
11347 java/rmi/activation/ActivationGroupID.java
11348 java/rmi/activation/ActivationID.java
11349 java/rmi/activation/ActivationInstantiator.java
11350 java/rmi/activation/ActivationMonitor.java
11351 java/rmi/activation/ActivationSystem.java
11352 java/rmi/activation/Activator.java
11353 java/rmi/activation/UnknownGroupException.java
11354 java/rmi/activation/UnknownObjectException.java
11355 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11356 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11357 java/rmi/registry/Registry.java
11358 java/rmi/registry/RegistryHandler.java
11359 java/rmi/server/ExportException.java
11360 java/rmi/server/LoaderHandler.java
11361 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11362 java/rmi/server/Operation.java
11363 java/rmi/server/RMIClassLoader.java
11364 java/rmi/server/RMIClientSocketFactory.java
11365 java/rmi/server/RMIFailureHandler.java
11366 java/rmi/server/RMIServerSocketFactory.java
11367 java/rmi/server/RMISocketFactory.java
11368 java/rmi/server/RemoteCall.java
11369 java/rmi/server/RemoteObject.java
11370 java/rmi/server/RemoteRef.java
11371 java/rmi/server/RemoteServer.java
11372 java/rmi/server/RemoteStub.java
11373 java/rmi/server/ServerCloneException.java
11374 java/rmi/server/ServerNotActiveException.java
11375 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11376 java/rmi/server/SkeletonMismatchException.java
11377 java/rmi/server/SkeletonNotFoundException.java
11378 java/rmi/server/SocketSecurityException.java
11379 java/rmi/server/UID.java
11380 java/rmi/server/UnicastRemoteObject.java
11381 java/rmi/server/Unreferenced.java
11382 java/security/AccessControlContext.java
11383 java/security/AccessControlException.java
11384 java/security/AccessController.java
11385 java/security/AlgorithmParameterGenerator.java
11386 java/security/AlgorithmParameterGeneratorSpi.java
11387 java/security/AlgorithmParameters.java
11388 java/security/AlgorithmParametersSpi.java
11389 java/security/AllPermission.java
11390 java/security/BasicPermission.java
11391 java/security/Certificate.java java/security/CodeSource.java
11392 java/security/DigestException.java
11393 java/security/DigestInputStream.java
11394 java/security/DigestOutputStream.java
11395 java/security/DomainCombiner.java
11396 java/security/DummyKeyPairGenerator.java
11397 java/security/DummyMessageDigest.java
11398 java/security/DummySignature.java
11399 java/security/GeneralSecurityException.java
11400 java/security/Guard.java java/security/GuardedObject.java
11401 java/security/Identity.java java/security/IdentityScope.java
11402 java/security/InvalidAlgorithmParameterException.java
11403 java/security/InvalidKeyException.java
11404 java/security/InvalidParameterException.java
11405 java/security/Key.java java/security/KeyException.java
11406 java/security/KeyFactory.java java/security/KeyFactorySpi.java
11407 java/security/KeyManagementException.java
11408 java/security/KeyPair.java java/security/KeyPairGenerator.java
11409 java/security/KeyPairGeneratorSpi.java
11410 java/security/KeyStore.java
11411 java/security/KeyStoreException.java
11412 java/security/KeyStoreSpi.java
11413 java/security/MessageDigest.java
11414 java/security/MessageDigestSpi.java
11415 java/security/NoSuchAlgorithmException.java
11416 java/security/NoSuchProviderException.java
11417 java/security/Permission.java
11418 java/security/PermissionCollection.java
11419 java/security/Permissions.java java/security/Policy.java
11420 java/security/Principal.java java/security/PrivateKey.java
11421 java/security/PrivilegedAction.java
11422 java/security/PrivilegedActionException.java
11423 java/security/PrivilegedExceptionAction.java
11424 java/security/ProtectionDomain.java
11425 java/security/Provider.java
11426 java/security/ProviderException.java
11427 java/security/PublicKey.java
11428 java/security/SecureClassLoader.java
11429 java/security/SecureRandom.java
11430 java/security/SecureRandomSpi.java java/security/Security.java
11431 java/security/SecurityPermission.java
11432 java/security/Signature.java
11433 java/security/SignatureException.java
11434 java/security/SignatureSpi.java
11435 java/security/SignedObject.java java/security/Signer.java
11436 java/security/UnrecoverableKeyException.java
11437 java/security/UnresolvedPermission.java
11438 java/security/acl/Acl.java java/security/acl/AclEntry.java
11439 java/security/acl/AclNotFoundException.java
11440 java/security/acl/Group.java
11441 java/security/acl/LastOwnerException.java
11442 java/security/acl/NotOwnerException.java
11443 java/security/acl/Owner.java java/security/acl/Permission.java
11444 java/security/cert/CRL.java
11445 java/security/cert/CRLException.java
11446 java/security/cert/Certificate.java
11447 java/security/cert/CertificateEncodingException.java
11448 java/security/cert/CertificateException.java
11449 java/security/cert/CertificateExpiredException.java
11450 java/security/cert/CertificateFactory.java
11451 java/security/cert/CertificateFactorySpi.java
11452 java/security/cert/CertificateNotYetValidException.java
11453 java/security/cert/CertificateParsingException.java
11454 java/security/cert/X509CRL.java
11455 java/security/cert/X509CRLEntry.java
11456 java/security/cert/X509Certificate.java
11457 java/security/cert/X509Extension.java
11458 java/security/interfaces/DSAKey.java
11459 java/security/interfaces/DSAKeyPairGenerator.java
11460 java/security/interfaces/DSAParams.java
11461 java/security/interfaces/DSAPrivateKey.java
11462 java/security/interfaces/DSAPublicKey.java
11463 java/security/interfaces/RSAKey.java
11464 java/security/interfaces/RSAPrivateCrtKey.java
11465 java/security/interfaces/RSAPrivateKey.java
11466 java/security/interfaces/RSAPublicKey.java
11467 java/security/spec/AlgorithmParameterSpec.java
11468 java/security/spec/DSAParameterSpec.java
11469 java/security/spec/DSAPrivateKeySpec.java
11470 java/security/spec/DSAPublicKeySpec.java
11471 java/security/spec/EncodedKeySpec.java
11472 java/security/spec/InvalidKeySpecException.java
11473 java/security/spec/InvalidParameterSpecException.java
11474 java/security/spec/KeySpec.java
11475 java/security/spec/PKCS8EncodedKeySpec.java
11476 java/security/spec/RSAKeyGenParameterSpec.java
11477 java/security/spec/RSAPrivateCrtKeySpec.java
11478 java/security/spec/RSAPrivateKeySpec.java
11479 java/security/spec/RSAPublicKeySpec.java
11480 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11481 java/sql/BatchUpdateException.java java/sql/Blob.java
11482 java/sql/CallableStatement.java java/sql/Clob.java
11483 java/sql/Connection.java java/sql/DataTruncation.java
11484 java/sql/DatabaseMetaData.java java/sql/Date.java
11485 java/sql/Driver.java java/sql/DriverManager.java
11486 java/sql/DriverPropertyInfo.java
11487 java/sql/PreparedStatement.java java/sql/Ref.java
11488 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11489 java/sql/SQLData.java java/sql/SQLException.java
11490 java/sql/SQLInput.java java/sql/SQLOutput.java
11491 java/sql/SQLWarning.java java/sql/Statement.java
11492 java/sql/Struct.java java/sql/Time.java
11493 java/sql/Timestamp.java java/sql/Types.java
11494 java/text/Annotation.java
11495 java/text/AttributedCharacterIterator.java
11496 java/text/AttributedString.java
11497 java/text/AttributedStringIterator.java
11498 java/text/BreakIterator.java java/text/CharacterIterator.java
11499 java/text/ChoiceFormat.java java/text/Collator.java
11500 java/text/DateFormat.java java/text/DateFormatSymbols.java
11501 java/text/DecimalFormat.java
11502 java/text/DecimalFormatSymbols.java
11503 java/text/FieldPosition.java java/text/Format.java
11504 java/text/MessageFormat.java java/text/NumberFormat.java
11505 java/text/ParseException.java java/text/ParsePosition.java
11506 java/text/SimpleDateFormat.java
11507 java/text/StringCharacterIterator.java
11508 java/util/AbstractCollection.java java/util/AbstractList.java
11509 java/util/AbstractMap.java
11510 java/util/AbstractSequentialList.java
11511 java/util/AbstractSet.java java/util/ArrayList.java
11512 java/util/Arrays.java java/util/BasicMapEntry.java
11513 java/util/BitSet.java java/util/Calendar.java
11514 java/util/Collection.java java/util/Collections.java
11515 java/util/Comparator.java
11516 java/util/ConcurrentModificationException.java
11517 java/util/Date.java java/util/Dictionary.java
11518 java/util/EmptyStackException.java java/util/Enumeration.java
11519 java/util/EventListener.java java/util/EventObject.java
11520 java/util/GregorianCalendar.java java/util/HashMap.java
11521 java/util/HashSet.java java/util/Hashtable.java
11522 java/util/IdentityHashMap.java java/util/Iterator.java
11523 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11524 java/util/LinkedList.java java/util/List.java
11525 java/util/ListIterator.java java/util/ListResourceBundle.java
11526 java/util/Locale.java java/util/Map.java
11527 java/util/MissingResourceException.java
11528 java/util/NoSuchElementException.java
11529 java/util/Observable.java java/util/Observer.java
11530 java/util/Properties.java java/util/PropertyPermission.java
11531 java/util/PropertyResourceBundle.java java/util/Random.java
11532 java/util/RandomAccess.java java/util/ResourceBundle.java
11533 java/util/Set.java java/util/SimpleTimeZone.java
11534 java/util/SortedMap.java java/util/SortedSet.java
11535 java/util/Stack.java java/util/StringTokenizer.java
11536 java/util/TimeZone.java java/util/Timer.java
11537 java/util/TimerTask.java
11538 java/util/TooManyListenersException.java
11539 java/util/TreeMap.java java/util/TreeSet.java
11540 java/util/Vector.java java/util/WeakHashMap.java
11541 java/util/jar/Attributes.java java/util/jar/JarEntry.java
11542 java/util/jar/JarException.java java/util/jar/JarFile.java
11543 java/util/jar/JarInputStream.java
11544 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11545 java/util/zip/Adler32.java java/util/zip/CRC32.java
11546 java/util/zip/CheckedInputStream.java
11547 java/util/zip/CheckedOutputStream.java
11548 java/util/zip/Checksum.java
11549 java/util/zip/DataFormatException.java
11550 java/util/zip/Deflater.java
11551 java/util/zip/DeflaterOutputStream.java
11552 java/util/zip/GZIPInputStream.java
11553 java/util/zip/GZIPOutputStream.java
11554 java/util/zip/Inflater.java
11555 java/util/zip/InflaterInputStream.java
11556 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11557 java/util/zip/ZipException.java java/util/zip/ZipFile.java
11558 java/util/zip/ZipInputStream.java
11559 java/util/zip/ZipOutputStream.java
11560 javax/naming/BinaryRefAddr.java
11561 javax/naming/InvalidNameException.java javax/naming/Name.java
11562 javax/naming/NamingException.java javax/naming/RefAddr.java
11563 javax/naming/StringRefAddr.java: Add license clarification.
11565 2002-01-22 Tom Tromey <tromey@redhat.com>
11567 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11568 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11569 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11571 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11572 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11573 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11574 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11575 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11576 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11577 * java/awt/peer/FontPeer.java: Replace with Classpath version.
11578 * java/awt/peer/FramePeer.java: Replace with Classpath version.
11579 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11580 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11581 * java/awt/peer/ListPeer.java: Replace with Classpath version.
11582 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11583 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11584 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11585 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11586 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11587 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11588 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11589 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11590 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11591 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11592 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11593 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11594 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11595 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11596 (minimumSize, preferredSize, reshape): Likewise.
11597 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11598 getColorModel): New methods.
11599 * java/awt/PopupMenu.java: Merged with Classpath.
11600 * java/awt/MenuBar.java: Merged with Classpath.
11601 * java/awt/SystemColor.java: Replace with Classpath version.
11602 * java/awt/Panel.java: Merged with Classpath.
11603 * java/awt/PaintContext.java: Updated copyright.
11604 * java/awt/MenuShortcut.java: Merged with Classpath.
11605 * java/awt/MenuContainer.java: Merged with Classpath.
11606 * java/awt/Menu.java: Merged with Classpath.
11607 * java/awt/MediaEntry.java: New file from Classpath.
11608 * java/awt/MediaTracker.java: New file from Classpath.
11609 * java/awt/List.java: Merged with Classpath version.
11610 * java/awt/Insets.java: Merged with Classpath version.
11611 * java/awt/ImageMediaEntry.java: New file from Classpath.
11612 * java/awt/Image.java: Replaced with Classpath version.
11613 * java/awt/FontMetrics.java: Merged with Classpath version.
11614 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11616 * java/awt/Font.java: Merged with Classpath version.
11617 * java/awt/Dialog.java: Merged with Classpath version.
11618 * java/awt/Color.java: Merged with Classpath version.
11619 * java/awt/Choice.java: Merged with Classpath version.
11620 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11621 * java/awt/Adjustable.java: Replace with Classpath version.
11622 * java/awt/MenuItem.java (paramString): Don't include class name
11623 or brackets. Call superclass paramString.
11624 * java/awt/MenuComponent.java (toString): Call paramString.
11625 (paramString): Compute string; don't call toString.
11626 * java/awt/Label.java (paramString): Don't include class name
11627 or brackets. Call superclass paramString.
11628 * java/awt/Checkbox.java (paramString): Don't include class name
11629 or brackets. Call superclass paramString.
11630 * java/awt/Button.java (paramString): Don't include class name or
11631 brackets. Call superclass paramString.
11632 * java/awt/MenuComponent.java (getTreeLock): Now protected.
11634 2002-01-20 Andreas Schwab <schwab@suse.de>
11636 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11637 function and of parameter recv_func to ssize_t, as specified by
11640 2002-01-19 Per Bothner <per@bothner.com>
11642 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
11643 uncompressed_size in readiness for next entry.
11645 2002-01-18 Tom Tromey <tromey@redhat.com>
11647 * java/net/natPlainSocketImpl.cc: Include
11648 IllegalArgumentException.h.
11649 (_Jv_recv): New template function.
11650 (BooleanClass): Removed.
11651 (read): Use _Jv_recv.
11652 (setOption): Use Boolean::class$. Throw exception if object is
11653 not Boolean or Integer.
11655 2002-01-17 Tom Tromey <tromey@redhat.com>
11657 * java/awt/MenuComponent.java: Merged with Classpath.
11658 * java/awt/MenuItem.java: Merged with Classpath.
11659 * java/awt/Button.java: Merged with Classpath.
11661 * java/awt/ActiveEvent.java: Updated copyright.
11663 * java/awt/AWTError.java: Replaced with Classpath version.
11664 * java/awt/AWTException.java: Replaced with Classpath version.
11665 * java/awt/IllegalComponentStateException.java: Replaced with
11668 2002-01-16 Tom Tromey <tromey@redhat.com>
11670 * java/awt/Canvas.java (serialVersionUID): New constant.
11671 Updated copyright. Added javadoc from Classpath.
11672 * java/awt/ItemSelectable.java: Replaced with Classpath version.
11674 * java/awt/CheckboxGroup.java: Merged with Classpath.
11675 * java/awt/Checkbox.java: Merged with Classpath.
11677 * java/awt/Dimension.java: Updated copyright. Added javadoc from
11679 * java/awt/Point.java: Updated copyright.
11681 * java/awt/Point.java (toString): Use getClass().getName().
11684 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11686 (hash): Correctly compute initial value for `h'.
11688 * java/awt/Label.java: Merged with Classpath.
11690 2002-01-15 Tom Tromey <tromey@redhat.com>
11692 * java/awt/AWTPermission.java: Updated copyright.
11694 * java/awt/LayoutManager2.java: Merged with Classpath.
11695 * java/awt/LayoutManager.java: Merged with Classpath.
11696 * java/awt/GridLayout.java: Updated copyright and javadoc.
11697 (getSize): Use `parent.ncomponents'. Handle insets.
11698 (layoutContainer): Use `parent.ncomponents'. Handle case where
11699 there are fewer children than columns. Correctly compute size of
11700 each cell in the grid. Handle case where there isn't enough
11702 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
11704 (gotoComponent): Use parent.ncomponents. Ensure child exists
11705 before calling setVisible() on it. Last item is `num - 1', not
11707 (layoutContainer): Hoist invariants out of loop.
11709 Start of AWT merge with Classpath:
11710 * Makefile.in: Rebuilt.
11711 * Makefile.am (awt_java_source_files): Reference files in
11712 gnu/java/awt, not gnu/gcj/awt.
11713 * java/awt/image/BufferedImage.java: Updated copyright.
11714 * java/awt/image/ComponentColorModel.java: Updated copyright.
11715 * java/awt/image/ComponentSampleModel.java: Updated copyright.
11716 * java/awt/image/DataBuffer.java: Updated copyright.
11717 * java/awt/image/DataBufferByte.java: Updated copyright.
11718 * java/awt/image/DataBufferInt.java: Updated copyright.
11719 * java/awt/image/DataBufferUShort.java: Updated copyright.
11720 * java/awt/image/IndexColorModel.java: Updated copyright.
11721 * java/awt/image/PackedColorModel.java: Updated copyright.
11722 * java/awt/image/Raster.java: Updated copyright.
11723 * java/awt/image/RasterOp.java: Updated copyright.
11724 * java/awt/image/SampleModel.java: Updated copyright.
11725 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11726 * java/awt/image/WritableRaster.java: Updated copyright.
11727 * java/awt/color/ColorSpace.java: Updated copyright.
11728 * java/awt/color/ICC_ColorSpace.java: Updated copyright
11729 * java/awt/color/ICC_Profile.java: Updated copyright.
11730 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11731 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11732 * java/awt/event/HierarchyEvent.java: Updated copyright.
11733 * java/awt/event/HierarchyListener.java: Updated copyright.
11734 * java/awt/geom/AffineTransform.java: Updated copyright.
11735 * java/awt/geom/Dimension2D.java: Updated copyright.
11736 * java/awt/geom/Ellipse2D.java: Updated copyright.
11737 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11738 * java/awt/geom/Line2D.java: Updated copyright.
11739 * java/awt/geom/NoninvertibleTransformException.java: Updated
11741 * java/awt/geom/PathIterator.java: Updated copyright.
11742 * java/awt/geom/Point2D.java: Updated copyright.
11743 * java/awt/geom/Rectangle2D.java: Updated copyright.
11744 * java/awt/geom/RectangularShape.java: Updated copyright.
11745 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11746 * java/awt/Toolkit.java: Updated import for file moves.
11747 * java/awt/Rectangle.java: Updated copyright; added javadoc from
11749 (hashCode): New method from Classpath.
11750 * java/awt/Graphics2D.java: Updated copyright.
11751 * java/awt/Transparency.java: Updated copyright.
11752 * java/awt/Paint.java: Updated copyright.
11753 * java/awt/Graphics.java: New version from Classpath.
11754 * java/awt/EventDispatchThread.java: Updated copyright.
11755 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11757 (gotoComponent): Wrap around on next/previous.
11758 * gnu/gcj/awt/BitMaskExtent.java: Removed.
11759 * gnu/gcj/awt/Buffers.java: Removed.
11760 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11761 * gnu/gcj/awt/GLightweightPeer.java: Removed.
11762 * gnu/java/awt/BitMaskExtent.java: Added.
11763 * gnu/java/awt/Buffers.java: Added.
11764 * gnu/java/awt/ComponentDataBlitOp.java: Added.
11765 * gnu/java/awt/GLightweightPeer.java: Added.
11766 * java/awt/geom/Line2D.java (clone): Ignore
11767 CloneNotSupportedException.
11768 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11769 * java/awt/Frame.java: Merged with Classpath.
11770 * java/awt/RenderingHints.java: Copyright update.
11771 * java/awt/Paint.java: Copyright update.
11772 * java/awt/image/DirectColorModel.java: Merged with Classpath.
11773 * java/awt/image/ColorModel.java: Merged with Classpath.
11774 * java/awt/Window.java (show): New Implementation from Classpath.
11775 (isShowing): Use super.isShowing().
11776 * java/awt/EventQueue.java: Merged with Classpath.
11777 * java/awt/AWTEventMulticaster.java (save): Throw
11779 (saveInternal): Likewise.
11780 * java/awt/AWTEvent.java: Now implements Serializable.
11781 * java/awt/Event.java: Copyright update.
11782 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11783 * java/awt/image/BufferedImage.java: Copyright update.
11784 * java/awt/GraphicsConfiguration.java: Copyright update.
11785 * java/awt/Component.java: (addNotify): Don't call
11786 addNotifyContainerChildren().
11787 (addNotifyContainerChildren): Removed.
11788 (setPeer): New method from Classpath.
11789 (setTreeLock): Likewise.
11790 (setVisible): Rewrote.
11793 (validate): Set `valid'.
11794 (checkImage(Image,ImageObserver)): Implementation from Classpath.
11795 (createImage(ImageProducer)): Likewise.
11796 (prepareImage): Likewise.
11797 * java/awt/Container.java (addImpl): Handle case where constraint
11798 is not a String. Post event via system event queue.
11799 (remove): Post event via system event queue.
11800 (validateTree): Only validate child if it is invalid.
11801 (getAlignmentX): Call super method as default.
11802 (getAlignmentY): Likewise.
11803 (addContainerListener): Now synchronized.
11804 (removeContainerListener): Likewise.
11805 (addNotifyContainerChildren): Now private.
11806 * java/awt/ComponentOrientation.java: Updated copyright. Added
11808 * java/awt/FlowLayout.java (serialVersionUID): New field.
11809 (setAlignment): Better exception message.
11810 (layoutContainer): Don't compute component's preferred size unless
11811 we're going to use it.
11812 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11813 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11814 (firstLine, lastLine, firstItem, lastItem): New fields.
11815 (addLayoutComponent): Handle case where constraints is null.
11816 Also, handle relative locations.
11817 (removeLayoutComponent): Handle relative locations.
11818 (MIN, MAX, PREF): New constants.
11819 (calcCompSize): New method.
11820 (calcSize): New method.
11821 (minimumLayoutSize): Use it.
11822 (preferredLayoutSize): Likewise.
11823 (maximumLayoutSize): Likewise.
11824 (toString): Include more information.
11825 (setBounds): New method.
11826 (layoutContainer): Use libgcj implementation; extended to handle
11827 relative locations.
11829 2002-01-15 Tom Tromey <tromey@redhat.com>
11831 * java/lang/Float.java (equals): Preserve old code.
11832 * java/lang/Double.java (equals): Preserve old code.
11834 2002-01-15 Eric Blake <ebb9@email.byu.edu>
11836 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11837 * java/lang/Float.java (equals, compare): Ditto.
11839 2002-01-13 Mark Wielaard <mark@klomp.org>
11841 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11842 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11843 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11844 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11846 2002-01-11 Mark Wielaard <mark@klomp.org>
11848 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11849 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11851 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11852 * java/net/Socket.java: Merge with Classpath.
11853 * java/net/ServerSocket.java: Likewise.
11855 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
11857 * interpret.cc (NULLARRAYCHECK): New macro.
11858 (SAVE_PC): Just store `pc'.
11859 (find_exception): Subtract one from `pc' here.
11860 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11861 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11862 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11863 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11864 don't call SAVE_PC.
11865 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11868 2002-01-11 Tom Tromey <tromey@redhat.com>
11870 * java/lang/natSystem.cc (init_properties): Only look for default
11871 locale if LC_MESSAGES is defined.
11872 * aclocal.m4, configure, include/config.h.in: Rebuilt.
11873 * configure.in: Call AM_LC_MESSAGES.
11874 * acinclude.m4 (AM_LC_MESSAGES): New macro.
11876 2002-01-10 Tom Tromey <tromey@redhat.com>
11878 For PR libgcj/5303:
11879 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11880 --version. Recognize GNU-style long options. Print GNU-style
11882 (usage): Print GNU-style help. Exit with status 0.
11883 (error): New method.
11884 (run): Print error message if no class names found.
11885 (main): Don't print usage on error.
11887 2002-01-09 Tom Tromey <tromey@redhat.com>
11889 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11891 (help, version): Use println(), not println("").
11893 For PR libgcj/5303:
11894 * gnu/gcj/convert/Convert.java (error): Program is called
11895 `jv-convert'. Print GNU-style message. Exit with status 1, not
11897 (main): Handle --help and --version.
11898 (help): New method.
11899 (version): Likewise.
11901 2002-01-08 Tom Tromey <tromey@redhat.com>
11903 * Makefile.in: Rebuilt.
11904 * Makefile.am (ordinary_java_source_files): Added new files.
11905 * gnu/java/locale/LocaleInformation.java: Extend
11906 LocaleInformation_en.
11907 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11908 and time/date formats.
11909 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11911 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11912 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11913 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11914 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11915 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11916 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11917 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11918 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11919 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11920 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11921 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11922 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11923 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11924 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11925 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11926 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11927 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11928 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11929 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11930 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11931 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11932 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11933 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11934 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11935 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11936 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11937 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11938 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11939 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11940 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11941 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11942 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11943 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11944 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11945 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11946 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11947 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11948 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11949 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11950 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11951 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11952 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11953 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11954 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11955 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11956 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11957 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11958 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11959 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11960 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11961 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11962 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11963 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11964 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11965 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11966 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11967 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11968 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11969 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11970 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11971 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11972 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11973 * gnu/java/locale/LocaleInformation_es_US.java: New file.
11974 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11975 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11976 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11977 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11978 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11979 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11980 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11981 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11982 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11983 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11984 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11985 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11986 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11987 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11988 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11989 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11990 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11991 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11992 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11993 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11994 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11995 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11996 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11997 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11998 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11999 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
12000 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
12001 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
12002 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
12003 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
12004 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
12005 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
12006 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
12007 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
12008 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
12009 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
12010 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
12011 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
12012 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
12013 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
12014 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
12015 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
12016 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
12017 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
12018 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
12019 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
12020 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
12021 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
12022 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
12023 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
12024 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
12025 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
12026 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
12027 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12028 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12029 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12030 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12031 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12032 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12033 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12034 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12035 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12036 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12037 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12038 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12039 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12040 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12042 For PR libgcj/5031:
12043 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12044 choose default locale.
12046 * Makefile.in: Rebuilt.
12047 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12049 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12051 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12053 (close): New function closes the socket.
12054 (write): New functions for output to socket.
12055 (read): New functions for reading from socket.
12056 * java/net/PlainSocketImpl.java: Glue for new timeout
12058 (write): Call the native impl.
12060 (getInputStream): Get a stream to read from the socket.
12061 (getOutputStream): Get a stream to write to the socket.
12063 2002-01-08 Tom Tromey <tromey@redhat.com>
12065 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12067 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12069 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12070 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12072 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12074 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12075 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12076 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12077 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12078 insn_bastore, insn_castore, insn_sastore]: Use it.
12079 (continue1) [insn_arraylength]: Check for null array.
12081 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12083 * configure, include/config.h.in: Rebuilt.
12084 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12085 * configure.in: Call AC_STRUCT_TIMEZONE.
12087 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12089 * configure.host: Disable the interpreter for Darwin.
12091 2002-01-04 Tom Tromey <tromey@redhat.com>
12093 * java/lang/Thread.java (stop): No longer synchronized.
12096 2002-01-02 Tom Tromey <tromey@redhat.com>
12098 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12101 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12103 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12104 PPC Darwin, not for all of Darwin.