1 2003-06-25 Michael Koch <konqueror@gmx.de>
3 * javax/swing/plaf/ActionMapUIResource.java,
4 javax/swing/plaf/BorderUIResource.java,
5 javax/swing/plaf/ButtonUI.java,
6 javax/swing/plaf/ColorChooserUI.java,
7 javax/swing/plaf/ColorUIResource.java,
8 javax/swing/plaf/ComboBoxUI.java,
9 javax/swing/plaf/ComponentInputMapUIResource.java,
10 javax/swing/plaf/ComponentUI.java,
11 javax/swing/plaf/DesktopIconUI.java,
12 javax/swing/plaf/DesktopPaneUI.java,
13 javax/swing/plaf/DimensionUIResource.java,
14 javax/swing/plaf/FileChooserUI.java,
15 javax/swing/plaf/FontUIResource.java,
16 javax/swing/plaf/IconUIResource.java,
17 javax/swing/plaf/InputMapUIResource.java,
18 javax/swing/plaf/InsetsUIResource.java,
19 javax/swing/plaf/InternalFrameUI.java,
20 javax/swing/plaf/LabelUI.java,
21 javax/swing/plaf/ListUI.java,
22 javax/swing/plaf/MenuBarUI.java,
23 javax/swing/plaf/MenuItemUI.java,
24 javax/swing/plaf/OptionPaneUI.java,
25 javax/swing/plaf/PanelUI.java,
26 javax/swing/plaf/ProgressBarUI.java,
27 javax/swing/plaf/RootPaneUI.java,
28 javax/swing/plaf/ScrollBarUI.java,
29 javax/swing/plaf/ScrollPaneUI.java,
30 javax/swing/plaf/SeparatorUI.java,
31 javax/swing/plaf/SliderUI.java,
32 javax/swing/plaf/TableHeaderUI.java,
33 javax/swing/plaf/TableUI.java,
34 javax/swing/plaf/ToolBarUI.java,
35 javax/swing/plaf/ToolTipUI.java,
36 javax/swing/plaf/ViewportUI.java:
37 New versions from classpath.
38 * javax/swing/plaf/SpinnerUI.java:
39 New file from classpath
41 2003-06-25 Michael Koch <konqueror@gmx.de>
43 * java/awt/image/ColorModel.java:
44 New version from classpath.
46 2003-06-25 Michael Koch <konqueror@gmx.de>
48 * java/net/PlainDatagramSocketImpl.java:
49 Partly merged with classpath, this mainly adds documentation.
51 2003-06-25 Michael Koch <konqueror@gmx.de>
53 * java/io/ObjectInputStream.java
54 (readClassDescriptor): New method.
55 (readObject): Moved functionality to readClassDescriptor().
56 * java/io/ObjectOutputStream.java
57 (writeClassDescriptor): New method.
58 (writeObject): Moved functionality to writeClassDescriptor().
60 2003-06-25 Michael Koch <konqueror@gmx.de>
62 * javax/swing/plaf/basic/BasicListUI.java,
63 javax/swing/plaf/basic/BasicOptionPaneUI.java:
64 Added missing methods.
66 2003-06-25 Michael Koch <konqueror@gmx.de>
68 * javax/swing/event/AncestorEvent.java
69 javax/swing/event/HyperlinkEvent.java
70 javax/swing/event/InternalFrameEvent.java
71 javax/swing/event/ListDataEvent.java
72 javax/swing/event/TableModelEvent.java:
75 2003-06-24 Michael Koch <konqueror@gmx.de>
78 Renamed "handler" to "ph" in the whole file to match classpaths
80 * java/net/URLStreamHandler.java:
81 (equals): Renamed "handler" to "ph".
83 2003-06-24 Michael Koch <konqueror@gmx.de>
85 * javax/swing/event/AncestorEvent.java,
86 javax/swing/event/HyperlinkEvent.java,
87 javax/swing/event/InternalFrameEvent.java,
88 javax/swing/event/ListDataEvent.java,
89 javax/swing/event/TableModelEvent.java,
90 javax/swing/event/TreeWillExpandListener.java,
91 javax/swing/plaf/ComponentUI.java,
92 javax/swing/plaf/DesktopIconUI.java,
93 javax/swing/plaf/DesktopPaneUI.java,
94 javax/swing/plaf/DimensionUIResource.java,
95 javax/swing/plaf/FileChooserUI.java,
96 javax/swing/plaf/FontUIResource.java,
97 javax/swing/plaf/IconUIResource.java,
98 javax/swing/plaf/InputMapUIResource.java,
99 javax/swing/plaf/InsetsUIResource.java,
100 javax/swing/plaf/InternalFrameUI.java,
101 javax/swing/plaf/LabelUI.java,
102 javax/swing/plaf/ListUI.java,
103 javax/swing/plaf/MenuBarUI.java,
104 javax/swing/plaf/MenuItemUI.java,
105 javax/swing/plaf/OptionPaneUI.java,
106 javax/swing/plaf/PanelUI.java,
107 javax/swing/plaf/ProgressBarUI.java,
108 javax/swing/plaf/doc-files/ComponentUI-1.dia,
109 javax/swing/plaf/doc-files/ComponentUI-1.png:
110 New versions from classpath.
112 2003-06-24 Michael Koch <konqueror@gmx.de>
114 * java/nio/Buffer.java
115 (cap): Made package-private.
120 2003-06-24 Michael Koch <konqueror@gmx.de>
122 * java/net/SocketImpl.java
123 (shutdownInput): Made it non-abstract method throwing an exception
125 (shutdownOutput): Likewise.
126 * java/net/SocketInputStream.java,
127 java/net/SocketOutputStream.java:
128 New files from classpath.
130 2003-06-24 Michael Koch <konqueror@gmx.de>
132 * java/awt/Font.java,
133 java/awt/Window.java,
134 java/awt/color/ColorSpace.java,
135 java/awt/datatransfer/StringSelection.java,
136 java/awt/image/ColorModel.java:
137 New versions from classpath.
139 2003-06-24 Michael Koch <konqueror@gmx.de>
142 (awt_java_source_files): Added new files:
143 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
144 javax/swing/plaf/basic/BasicSplitPaneUI.java
145 * Makefile.in: Regenerated.
147 2003-06-24 Michael Koch <konqueror@gmx.de>
149 * javax/swing/text/JTextComponent.java:
150 New version from classpath.
152 2003-06-24 Michael Koch <konqueror@gmx.de>
154 * javax/swing/Timer.java,
155 javax/swing/plaf/ActionMapUIResource.java,
156 javax/swing/plaf/ButtonUI.java,
157 javax/swing/plaf/ColorChooserUI.java,
158 javax/swing/plaf/ColorUIResource.java,
159 javax/swing/plaf/ComboBoxUI.java,
160 javax/swing/plaf/ComponentInputMapUIResource.java,
161 javax/swing/plaf/basic/BasicBorders.java:
162 New versions from classpath.
163 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
164 javax/swing/plaf/basic/BasicSplitPaneUI.java:
165 New file from classpath.
166 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
167 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
168 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
169 javax/swing/plaf/doc-files/ComponentUI-1.dia,
170 javax/swing/plaf/doc-files/ComponentUI-1.png:
171 New binary files from classpath.
173 2003-06-24 Michael Koch <konqueror@gmx.de>
175 * java/io/LineNumberReader.java
176 (skip): Dont do line number accounting here as this is already done in
179 2003-06-21 Michael Koch <konqueror@gmx.de>
182 (static): Load javaio lib if existing (only in classpath).
183 (File): Revised documentation to show the correct argument name.
184 (createTempFile): Partly merged with classpath.
185 (compareTo): Simplified.
186 (lastModified): Throw exception if time < 0.
187 (deleteOnExit): Revised documentation.
189 2003-06-21 Michael Koch <konqueror@gmx.de>
191 * java/net/PlainSocketImpl.java:
193 (PlainSocketImpl): Merged class documentaion with classpath.
196 (PlainSocketImpl): New empty constructor.
198 (setOption): Merged documentation from classpath.
199 (getOption): Likewise.
205 (available): Likewise.
209 (getInputStream): Made synchronozed to get sure that only one stream
210 object can be created for this socket, merged documentation from
212 (getOutputStream): Likewise.
214 2003-06-21 Michael Koch <konqueror@gmx.de>
216 * java/net/PlainSocketImpl.java:
218 (static): New implicit method.
219 (read): Made package private.
222 2003-06-21 Michael Koch <konqueror@gmx.de>
224 * java/util/SimpleTimeZone.java:
225 Removed unneeded import, reformatting.
227 2003-06-21 Michael Koch <konqueror@gmx.de>
229 * java/text/DateFormat.java,
230 java/text/SimpleDateFormat.java,
231 java/util/Locale.java:
232 New versions from classpath.
234 2003-06-21 Michael Koch <konqueror@gmx.de>
236 * javax/swing/SpinnerModel.java:
237 New file from classpath.
238 * javax/swing/border/LineBorder.java,
239 javax/swing/border/SoftBevelBorder.java,
240 javax/swing/plaf/BorderUIResource.java,
241 javax/swing/plaf/basic/BasicBorders.java:
242 New versions from classpath.
243 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
244 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
245 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
246 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
247 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
248 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
249 New binary files from classpath.
251 2003-06-21 Michael Koch <konqueror@gmx.de>
253 * java/util/logging/LogRecord.java,
254 java/util/logging/Logger.java,
255 java/util/logging/SocketHandler.java,
256 java/util/logging/SimpleFormatter.java,
257 java/util/logging/Formatter.java,
258 java/util/logging/ErrorManager.java,
259 java/util/logging/Handler.java,
260 java/util/logging/FileHandler.java,
261 java/util/logging/LogManager.java,
262 java/util/logging/Level.java,
263 java/util/logging/ConsoleHandler.java,
264 java/util/logging/StreamHandler.java,
265 java/util/logging/LoggingPermission.java,
266 java/util/logging/Filter.java,
267 java/util/logging/MemoryHandler.java,
268 java/util/logging/XMLFormatter.java:
269 New files from classpath.
271 2003-06-20 Michael Koch <konqueror@gmx.de>
273 * java/io/ObjectStreamField.java
274 (unshared): new member variable.
275 (ObjectStreamField): New constructor.
276 (isUnshared): New method.
278 2003-06-20 Michael Koch <konqueror@gmx.de>
280 * java/net/URLStreamHandler.java
281 (hostsEqual): Rewritten.
283 2003-06-20 Michael Koch <konqueror@gmx.de>
285 * gnu/java/nio/MappedByteFileBuffer.java,
286 gnu/java/nio/natMappedByteFileBuffer.cc:
288 * java/nio/MappedByteBufferImpl.java:
290 * gnu/java/nio/FileChannelImpl.java:
291 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
293 (ordinary_java_source_files): Removed
294 gnu/java/nio/MappedByteFileBuffer.java and added
295 java/nio/MappedByteBufferImpl.java.
296 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
297 * Makefile.in: Regenerated.
299 2003-06-19 Michael Koch <konqueror@gmx.de>
301 * gnu/java/nio/DatagramChannelImpl.java
303 (blocking): New member variable.
305 (DatagramChannelImpl): Throws IOException, initialize socket.
306 (socket):Implemented.
307 (implCloseSelectableChannel): Throws IOException, implemented.
308 (implConfigureBlocking): Likewise.
310 (disconnect): Likewise.
311 (isConnected): Likewise.
314 (receive): Throws IOException.
316 * gnu/java/nio/SocketChannelImpl.java
318 (write): Implemented.
320 2003-06-19 Michael Koch <konqueror@gmx.de>
322 * javax/swing/JComponent.java,
323 javax/swing/JInternalFrame.java,
324 javax/swing/MenuSelectionManager.java,
325 javax/swing/SwingUtilities.java,
326 javax/swing/ToggleButtonModel.java:
327 New versions from classpath.
329 2003-06-19 Michael Koch <konqueror@gmx.de>
331 * java/text/CollationElementIterator.java
332 (NULLORDER): Initialize with -1 as JDK documentation says.
334 2003-06-19 Michael Koch <konqueror@gmx.de>
336 * java/net/HttpURLConnection.java,
337 java/net/Inet4Address.java,
338 java/net/Inet6Address.java,
339 java/net/SocketImpl.java,
340 java/net/URLClassLoader.java:
341 Reworked import statements.
342 * java/net/InetAddress.java
343 (getByAddress): Simplified.
344 * java/net/ServerSocket.java
345 (ServerSocket): Moved special handling during bind operation to
347 (bind): Handle different cases when trying to bind a socket.
348 * java/net/URLConnection.java
349 (getHeaderFieldDate): Merged with classpath.
350 (getHeaderFieldInt): Likewise.
352 2003-06-19 Michael Koch <konqueror@gmx.de>
354 * java/util/zip/InflaterInputStream.java
355 (InflaterInputStream): Throw NullPointerException if in is null (as
358 2003-06-19 Michael Koch <konqueror@gmx.de>
361 javax/swing/UIManager.java
362 javax/swing/border/AbstractBorder.java
363 javax/swing/border/BevelBorder.java
364 javax/swing/border/Border.java
365 javax/swing/border/CompoundBorder.java
366 javax/swing/border/EmptyBorder.java
367 javax/swing/border/EtchedBorder.java
368 javax/swing/border/LineBorder.java
369 javax/swing/border/MatteBorder.java
370 javax/swing/border/TitledBorder.java
371 javax/swing/plaf/BorderUIResource.java
372 javax/swing/plaf/basic/BasicBorders.java
373 javax/swing/plaf/basic/BasicButtonUI.java
374 javax/swing/plaf/basic/BasicCheckBoxUI.java
375 javax/swing/plaf/basic/BasicGraphicsUtils.java
376 javax/swing/plaf/basic/BasicLabelUI.java
377 javax/swing/plaf/basic/BasicRadioButtonUI.java
378 javax/swing/plaf/basic/BasicToggleButtonUI.java:
379 New versions from classpath.
380 * javax/swing/border/SoftBevelBorder.java:
381 New file from classpath.
382 * javax/swing/border/doc-files/LineBorder-1.png,
383 javax/swing/border/doc-files/BevelBorder-1.png,
384 javax/swing/border/doc-files/BevelBorder-2.png,
385 javax/swing/border/doc-files/BevelBorder-3.png,
386 javax/swing/border/doc-files/EmptyBorder-1.png,
387 javax/swing/border/doc-files/EtchedBorder-1.png,
388 javax/swing/border/doc-files/EtchedBorder-2.png,
389 javax/swing/border/doc-files/MatteBorder-1.png,
390 javax/swing/border/doc-files/MatteBorder-2.png,
391 javax/swing/border/doc-files/MatteBorder-3.png,
392 javax/swing/border/doc-files/MatteBorder-4.png,
393 javax/swing/border/doc-files/MatteBorder-5.png,
394 javax/swing/border/doc-files/MatteBorder-6.png,
395 javax/swing/border/doc-files/SoftBevelBorder-1.png,
396 javax/swing/border/doc-files/SoftBevelBorder-2.png,
397 javax/swing/border/doc-files/SoftBevelBorder-3.png,
398 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
399 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
400 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
401 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
402 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
403 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
404 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
405 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
406 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
407 New binary files from classpath.
409 (awt_java_source_files): Added
410 javax/swing/border/SoftBevelBorder.java.
411 * Makefile.in: Regenerated.
413 2003-06-19 Michael Koch <konqueror@gmx.de>
415 * gnu/java/security/x509/X509Certificate.java
416 (writeReplace): Merged from classpath.
418 2003-06-19 Michael Koch <konqueror@gmx.de>
420 * gnu/java/nio/FileChannelImpl.java
421 (map_address): Made public.
422 (FileChannelImpl): Merged with classpath.
423 * gnu/java/nio/natFileChannelImpl.cc
424 (nio_mmap_file): Commented out unused arguments.
425 (nio_unmmap_file): Likewise.
426 (niu_msync): Likewise.
428 2003-06-19 Michael Koch <konqueror@gmx.de>
430 * java/awt/image/IndexColorModel.java:
431 New version from classpath.
433 2003-06-18 Tom Tromey <tromey@redhat.com>
435 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
437 (isLoopbackAddress): Likewise.
438 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
441 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
443 * java/lang/natVMSecurityManager.cc (getClassContext):
444 Use maxlen instead of len for loop bound.
446 2003-06-18 Michael Koch <konqueror@gmx.de>
448 * gnu/java/nio/SelectorImpl.java
449 (register): Use fd with value 0 for now, will be fixed later.
450 * gnu/java/nio/ServerSocketChannelImpl.java
452 (local_port): Removed.
453 (InetSocketAddress): Removed.
454 (ServerSocketChannelImpl): Just initialize internal socket object.
455 (implCloseSelectableChannel): Close internal socket object.
456 (implConfigureBlocking): Added comment.
457 (accept): Use jaba.net stuff to accept socket.
458 * gnu/java/nio/SocketChannelImpl.java
460 (local_port): Removed.
461 (InetSocketAddress): Removed.
462 (SocketCreate): Removed.
463 (SocketConnect): Removed.
464 (SocketBind): Removed.
465 (SocketListen): Removed.
466 (SocketAvailable): Removed.
467 (SocketClose): Removed.
468 (SocketRead): Removed.
469 (SocketWrite): Removed.
470 (SocketChannelImpl): Just initialize internal socket object.
471 (implCloseSelectableChannel): Close internal socket object.
472 (implConfigureBlocking): Fixed implementation, added comment.
473 (connect): Use internal socket object to connect.
474 (socket): No need for sanity checks.
475 (read): Comment out some stuff, this will be reimplemented in the next
478 * gnu/java/nio/natFileChannelImpl.cc
479 (nio_mmap_file): Line wrapped.
480 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
482 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
483 * Makefile.in: Regenerated.
485 2003-06-18 Michael Koch <konqueror@gmx.de>
487 * java/util/Locale.java
488 (equals): Merged from classpath.
490 2003-06-18 Michael Koch <konqueror@gmx.de>
492 * java/net/InetAddress.java:
493 Reformatted to better match classpath's version.
495 (equals): Simplified.
496 * java/net/URLConnection.java
497 (setDoInput): Revised documentation.
498 (getDefaultUseCaches): Likewise.
499 (setRequestProperty): Added @since tag.
501 2003-06-17 Michael Koch <konqueror@gmx.de>
503 * java/net/InetSocketAddress.java
504 (InetSocketAddress): Use wildcard address if addr is null.
505 (InetSocketAddress): Dont duplicate implementation.
506 (InetSocketAddress): Throw exception when hostname is null.
507 * java/net/Socket.java:
509 (Socket): Throw exception when raddr is null, handle case when laddr
512 2003-06-17 Michael Koch <konqueror@gmx.de>
514 * java/nio/DirectByteBufferImpl.java
515 (address): Made package private.
516 (DirectByteBufferImpl): New constructor.
517 * java/nio/natDirectByteBufferImpl.cc
518 (allocateImpl): Moved to java.nio namespace, implemented.
519 (freeImpl): Likewise.
523 (_Jv_JNI_NewDirectByteBuffer): Implemented.
524 (_Jv_JNI_GetDirectBufferAddress): Implemented.
525 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
527 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
529 * include/powerpc-signal.h: New File.
530 * configure.in: Use it.
531 * configure: Regenerated.
533 2003-06-17 Michael Koch <konqueror@gmx.de>
535 * java/util/Locale.java
536 (getDisplayLanguage): Made it final.
537 (getDisplayCountry): Likewise.
538 (getDisplayVariant): Likewise.
539 (getDisplayName): Likewise.
541 2003-06-17 Michael Koch <konqueror@gmx.de>
543 * java/util/PropertyResourceBundle.java:
544 Removed unneeded import.
546 2003-06-17 Michael Koch <konqueror@gmx.de>
548 * java/util/prefs/AbstractPreferences.java,
549 java/util/prefs/PreferencesFactory.java:
550 Reworked imports, removed unused imports.
551 * java/util/prefs/Preferences.java
552 (systemNodeForPackage): Method takes a Class not an Object.
553 (userNodeForPackage): Likewise.
554 (nodeForPackage): Likewise.
556 2003-06-17 Michael Koch <konqueror@gmx.de>
558 * gnu/java/security/x509/X509Certificate.java:
559 Explicitely import used classes.
561 2003-06-17 Michael Koch <konqueror@gmx.de>
563 * java/util/zip/ZipEntry.java,
564 java/util/zip/ZipFile.java,
565 java/util/zip/ZipInputStream.java,
566 java/util/zip/ZipOutputStream.java:
567 Reworked imports, only import used classes.
569 2003-06-17 Michael Koch <konqueror@gmx.de>
571 * gnu/java/lang/ArrayHelper.java,
572 gnu/java/lang/ClassHelper.java:
573 Reformatted to match classpath's versions.
575 2003-06-14 Michael Koch <konqueror@gmx.de>
577 * gnu/java/nio/FileChannelImpl.java
578 (map_address): Removed incorrect comment.
579 * gnu/java/nio/SelectorImpl.java
580 (register): Remove code duplication and code for file channel handling.
581 * gnu/java/nio/ServerSocketChannelImpl.java
582 (serverSocket): Renamed from sock_object.
583 (ServerSocketChannel): Initialize serverSocket.
584 (socket): Return serverSocket.
585 * gnu/java/nio/SocketChannelImpl.java
586 (socket): Renamed from sock_object.
587 (isConnectionPenging): Simplified.
588 (socket): Return socket.
589 2003-06-14 Michael Koch <konqueror@gmx.de>
591 * java/security/BasicPermission.java:
592 New version from classpath.
594 2003-06-14 Michael Koch <konqueror@gmx.de>
596 * javax/naming/directory/Attribute.java:
597 New version from classpath.
599 2003-06-14 Michael Koch <konqueror@gmx.de>
601 * java/io/BufferedReader.java,
602 java/io/FileOutputStream.java:
603 New versions from classpath.
605 2003-06-12 Andrew Haley <aph@redhat.com>
607 * prims.cc (catch_segv): Create exception in handler.
608 (catch_fpe): Likewise.
609 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
610 (_Jv_ThrowSignal): Remove.
612 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
613 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
614 to nullp and arithexception.
615 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
616 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
617 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
618 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
619 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
621 2003-06-11 Andrew Haley <aph@redhat.com>
623 * jni.cc (_Jv_JNI_check_types): New.
624 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
625 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
626 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
627 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
629 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
632 2003-06-11 Tom Tromey <tromey@redhat.com>
634 * java/lang/ClassLoader.java (loadClass): Not deprecated.
635 * java/io/PrintStream.java: Not deprecated.
637 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
639 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
640 (fillOval): implemented
641 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
642 (fillArc): implemented.
643 * gnu/gcj/xlib/GC.java (drawArc): added native method.
644 (fillArc): added native method.
645 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
646 (fillArc): added native method.
648 2003-06-11 Michael Koch <konqueror@gmx.de>
650 * java/awt/im/InputSubset.java:
651 New version from classpath.
653 2003-06-11 Michael Koch <konqueror@gmx.de>
655 * javax/swing/AbstractAction.java,
656 javax/swing/AbstractButton.java,
657 javax/swing/AbstractCellEditor.java,
658 javax/swing/AbstractListModel.java,
659 javax/swing/BorderFactory.java,
660 javax/swing/Box.java,
661 javax/swing/BoxLayout.java,
662 javax/swing/ButtonGroup.java,
663 javax/swing/DefaultButtonModel.java,
664 javax/swing/DefaultListModel.java,
665 javax/swing/DefaultListSelectionModel.java,
666 javax/swing/FocusManager.java,
667 javax/swing/ImageIcon.java,
668 javax/swing/InputMap.java,
669 javax/swing/JApplet.java,
670 javax/swing/JButton.java,
671 javax/swing/JCheckBox.java,
672 javax/swing/JCheckBoxMenuItem.java,
673 javax/swing/JColorChooser.java,
674 javax/swing/JComboBox.java,
675 javax/swing/JComponent.java,
676 javax/swing/JDesktopPane.java,
677 javax/swing/JDialog.java,
678 javax/swing/JEditorPane.java,
679 javax/swing/JFileChooser.java,
680 javax/swing/JFormattedTextField.java,
681 javax/swing/JFrame.java,
682 javax/swing/JLabel.java,
683 javax/swing/JLayeredPane.java,
684 javax/swing/JList.java,
685 javax/swing/JMenuBar.java,
686 javax/swing/JMenuItem.java,
687 javax/swing/JOptionPane.java,
688 javax/swing/JPanel.java,
689 javax/swing/JPasswordField.java,
690 javax/swing/JPopupMenu.java,
691 javax/swing/JProgressBar.java,
692 javax/swing/JRadioButton.java,
693 javax/swing/JRadioButtonMenuItem.java,
694 javax/swing/JRootPane.java,
695 javax/swing/JScrollBar.java,
696 javax/swing/JScrollPane.java,
697 javax/swing/JSeparator.java,
698 javax/swing/JSlider.java,
699 javax/swing/JTabbedPane.java,
700 javax/swing/JTable.java,
701 javax/swing/JTextField.java,
702 javax/swing/JToggleButton.java,
703 javax/swing/JToolBar.java,
704 javax/swing/JToolTip.java,
705 javax/swing/JTree.java,
706 javax/swing/JViewport.java,
707 javax/swing/JWindow.java,
708 javax/swing/KeyStroke.java,
709 javax/swing/ListSelectionModel.java,
710 javax/swing/LookAndFeel.java,
711 javax/swing/RepaintManager.java,
712 javax/swing/ScrollPaneLayout.java,
713 javax/swing/SizeRequirements.java,
714 javax/swing/SwingConstants.java,
715 javax/swing/Timer.java,
716 javax/swing/UIDefaults.java,
717 javax/swing/UIManager.java,
718 javax/swing/border/AbstractBorder.java,
719 javax/swing/border/CompoundBorder.java,
720 javax/swing/colorchooser/AbstractColorChooserPanel.java,
721 javax/swing/colorchooser/ColorChooserComponentFactory.java,
722 javax/swing/colorchooser/ColorSelectionModel.java,
723 javax/swing/colorchooser/DefaultColorSelectionModel.java,
724 javax/swing/event/AncestorEvent.java,
725 javax/swing/event/HyperlinkEvent.java,
726 javax/swing/event/InternalFrameAdapter.java,
727 javax/swing/event/InternalFrameEvent.java,
728 javax/swing/event/ListDataEvent.java,
729 javax/swing/event/MouseInputAdapter.java,
730 javax/swing/event/SwingPropertyChangeSupport.java,
731 javax/swing/event/TableModelEvent.java,
732 javax/swing/event/TreeWillExpandListener.java,
733 javax/swing/event/UndoableEditEvent.java,
734 javax/swing/filechooser/FileFilter.java,
735 javax/swing/filechooser/FileSystemView.java,
736 javax/swing/filechooser/FileView.java,
737 javax/swing/plaf/BorderUIResource.java,
738 javax/swing/plaf/basic/BasicDefaults.java,
739 javax/swing/table/AbstractTableModel.java,
740 javax/swing/table/DefaultTableCellRenderer.java,
741 javax/swing/table/DefaultTableColumnModel.java,
742 javax/swing/table/DefaultTableModel.java,
743 javax/swing/table/TableColumn.java,
744 javax/swing/text/JTextComponent.java,
745 javax/swing/tree/AbstractLayoutCache.java,
746 javax/swing/tree/DefaultMutableTreeNode.java,
747 javax/swing/tree/DefaultTreeCellEditor.java,
748 javax/swing/tree/DefaultTreeCellRenderer.java,
749 javax/swing/tree/DefaultTreeModel.java,
750 javax/swing/tree/DefaultTreeSelectionModel.java,
751 javax/swing/tree/FixedHeightLayoutCache.java,
752 javax/swing/tree/TreeCellEditor.java,
753 javax/swing/tree/TreeModel.java,
754 javax/swing/tree/TreeNode.java,
755 javax/swing/tree/TreePath.java,
756 javax/swing/tree/TreeSelectionModel.java,
757 javax/swing/tree/VariableHeightLayoutCache.java,
758 javax/swing/undo/AbstractUndoableEdit.java,
759 javax/swing/undo/CompoundEdit.java,
760 javax/swing/undo/StateEdit.java,
761 javax/swing/undo/UndoManager.java,
762 javax/swing/undo/UndoableEditSupport.java:
763 New versions from classpath.
764 * javax/swing/table/JTableHeader.java:
765 New file from classpath.
767 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
768 * Makefile.in: Regenerated.
770 2003-06-11 Michael Koch <konqueror@gmx.de>
772 * java/nio/MappedByteBuffer.java,
773 java/nio/channels/Channels.java,
774 java/nio/channels/ServerSocketChannel.java,
775 java/nio/channels/spi/AbstractSelector.java:
776 Removed unneeded imports.
778 2003-06-11 Michael Koch <konqueror@gmx.de>
780 * java/net/DatagramSocket.java:
781 Partly merged with classpath.
783 2003-06-11 Michael Koch <konqueror@gmx.de>
785 * java/awt/Frame.java,
786 java/awt/Graphics.java,
789 java/awt/image/ColorModel.java:
790 New versions from classpath.
792 2003-06-10 Michael Koch <konqueror@gmx.de>
794 * java/io/PrintStream.java:
795 Merged version from classpath.
796 (close): Removed sychronized keyword. This class is not garantied to
800 2003-06-09 Tom Tromey <tromey@redhat.com>
802 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
804 (getDescent): Likewise, for "descent".
806 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
808 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
809 (getMaxDescent): adjusted return value.
810 (getAscent): modified to use metrics for 'O'.
811 (getDescent): modified to use metrics for 'y'.
813 2003-06-08 Anthony Green <green@redhat.com>
815 * java/net/URLStreamHandler.java (sameFile): Fix port value
817 * java/net/URL.java (handler): Make package private.
818 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
820 2003-06-07 Tom Tromey <tromey@redhat.com>
823 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
824 Limit number of characters in numeric field when required.
825 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
826 Respect maximumIntegerDigits.
828 2003-06-08 Michael Koch <konqueror@gmx.de>
830 * java/net/Socket.java
831 (Socket): Dont initialize inputShutdown and outputShutdown twice,
832 call bind() and connect() to actually do the bind and connect tasks.
833 (bind): Connect to canonical address if bindpoint is null, create
834 socket and bind it to bindpoint.
835 (connect): Check for exceptions.
837 2003-06-08 Michael Koch <konqueror@gmx.de>
839 * java/net/DatagramSocket.java
840 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
841 into the Multicast constructors.
842 * java/net/DatagramSocketImpl.java
843 (getOption): Removed.
844 (setOption): Removed.
845 * java/net/MulticastSocket.java
846 (MulticastSocket): Call setReuseAddress (true).
847 * java/net/SocketImpl.java
848 (getOption): Removed.
849 (setOption): Removed.
851 2003-06-07 Jeff Sturm <jsturm@one-point.com>
854 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
855 Test for empty vector.
857 2003-06-06 Mark Wielaard <mark@klomp.org>
859 * java/security/Security.java (secprops): Initialize.
860 (loadProviders): Return boolean.
861 (static): Check result of loadProvider calls. If necessary
862 display WARNING and fallback to Gnu provider.
864 2002-06-06 James Clark <jjc@jclark.com>
866 Fix for PR libgcj/8738:
867 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
868 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
869 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
870 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
871 (write): Always decrease avail when count is increased.
872 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
873 and whether output buffer is full before increasing size.
875 2002-06-06 Mark Wielaard <mark@klomp dot org>
877 * java/io/PrintStream.java (writeChars(char[],int, int)):
878 Check converter.havePendingBytes().
879 (writeChars(String,int,int)): Likewise.
880 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
881 Check converter.havePendingBytes() and flush buffer when stalled.
883 2003-06-07 Michael Koch <konqueror@gmx.de>
886 (O_DSYNC): Define O_DSYNC on platforms not
887 supporting O_FSYNC (newlib).
889 2003-06-06 Mark Wielaard <mark@klomp.org>
891 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
894 2003-06-06 Michael Koch <konqueror@gmx.de>
896 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
897 More compile fixes from my stupid work yesterday.
899 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
901 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
902 if _IEEE_LIBM is undefined.
904 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
906 * libjava/include/posix.h (O_SYNC): Define if not available
907 and a reasonable, perhaps more conservative, replacement exists.
909 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
911 2003-06-05 Michael Koch <konqueror@gmx.de>
913 * javax/swing/plaf/BorderUIResource.java,
914 javax/swing/plaf/basic/BasicDefaults.java,
915 javax/swing/plaf/basic/BasicOptionPaneUI.java:
916 More compile fixes for latest Border commit. I should not commit
917 something in this heat here ...
919 2003-06-05 Michael Koch <konqueror@gmx.de>
921 * javax/swing/border/BevelBorder.java
922 (BevelBorder): Removed.
923 * javax/swing/border/EmptyBorder.java:
925 (EmptyBorder): Removed.
926 (getBorderInsets): Dont use l, r, t and b.
927 * javax/swing/border/EtchedBorder.java
928 (EtchedBorder): Removed.
929 * javax/swing/border/LineBorder.java
930 (LineBorder): Removed.
931 * javax/swing/border/MatteBorder.java
932 (MatteBorder): Removed.
933 * javax/swing/border/TitledBorder.java
934 (defaultBorder): Use other default for now.
935 (defaultFont): Likewise.
936 (defaultColor): Likewise.
938 2003-06-05 Michael Koch <konqueror@gmx.de>
940 * javax/swing/border/Border.java:
941 New version from classpath.
943 2003-06-05 Michael Koch <konqueror@gmx.de>
945 * javax/swing/border/AbstractBorder.java,
946 javax/swing/border/BevelBorder.java,
947 javax/swing/border/CompoundBorder.java,
948 javax/swing/border/EmptyBorder.java,
949 javax/swing/border/EtchedBorder.java,
950 javax/swing/border/LineBorder.java,
951 javax/swing/border/MatteBorder.java,
952 javax/swing/border/TitledBorder.java:
953 New versions from Classpath.
955 2003-06-05 Michael Koch <konqueror@gmx.de>
957 * java/awt/Button.java,
958 java/awt/Checkbox.java,
959 java/awt/CheckboxMenuItem.java,
960 java/awt/Choice.java,
961 java/awt/Container.java,
962 java/awt/Dialog.java,
963 java/awt/EventQueue.java,
964 java/awt/FileDialog.java,
969 java/awt/MenuItem.java,
971 java/awt/PopupMenu.java,
972 java/awt/Rectangle.java,
973 java/awt/ScrollPane.java,
974 java/awt/Scrollbar.java,
975 java/awt/TextArea.java,
976 java/awt/TextField.java,
977 java/awt/Window.java,
978 java/awt/datatransfer/DataFlavor.java,
979 java/awt/dnd/DragSource.java,
980 java/awt/dnd/DragSourceContext.java,
981 java/awt/event/HierarchyEvent.java,
982 java/awt/event/MouseWheelEvent.java,
983 java/awt/im/InputContext.java,
984 java/awt/image/BufferedImage.java,
985 java/awt/image/ComponentColorModel.java,
986 java/awt/image/Raster.java,
987 java/awt/image/WritableRaster.java,
988 java/awt/peer/ComponentPeer.java,
989 java/awt/print/PageFormat.java,
990 java/awt/print/PrinterJob.java:
991 New versions from Classpath.
993 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
995 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
996 numberFormat.setParseIntegerOnly(true).
998 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
1000 * include/posix-threads.h: Include <machine/pal.h> on OSF.
1002 2003-06-03 Andrew Haley <aph@redhat.com>
1004 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
1005 stack volatile to prevent optimization from removing it.
1007 2003-05-27 Michael Koch <konqueror@gmx.de>
1009 * java/util/zip/Deflater.java
1010 (FILTERED): Merged documentation from classpath.
1011 * java/util/zip/DeflaterOutputStream.java
1012 (DeflaterOutputStream): Merged documentation and argument validity
1013 check from classpath.
1014 (deflate): Merged documentation from classpath.
1016 * java/util/zip/Inflater.java
1017 (Inflater): Merged class documentation from classpath.
1018 (zstream): Reordered.
1019 (is_finished): Reordered.
1020 (dict_needed): Reordered.
1021 (Inflater): Reordered, merged documentation from classpath.
1023 (finalize): Merged documentation from classpath.
1024 (finished): Likewise.
1025 (getAdler): Likewise.
1026 (getRemaining): Likewise.
1027 (getTotalIn): Likewise.
1028 (getTotalOut): Likewise.
1029 (inflate): Likewise.
1030 (needsDictionary): Likewise.
1031 (needsInput): Likewise.
1033 (setDictionary): Likewise.
1034 (setInput): Likewise.
1036 2003-05-27 Michael Koch <konqueror@gmx.de>
1038 * java/net/URLConnection.java
1039 (getHeaderFieldInt): Merged with classpath.
1041 2003-05-27 Michael Koch <konqueror@gmx.de>
1043 * java/io/PrintStream.java
1044 (PrintStream): Reformatted.
1045 (PrintStream): New method, merged from classpath.
1046 (write): Reformatted.
1048 2003-05-27 Michael Koch <konqueror@gmx.de>
1050 * java/lang/System.java:
1051 Explicitely import needed classes.
1053 2003-05-26 Michael Koch <konqueror@gmx.de>
1055 * java/net/NetPermission.java,
1056 java/net/NetworkInterface.java,
1057 java/net/PasswordAuthentication.java,
1058 java/net/SocketPermission.java:
1059 New versions from classpath.
1061 2003-05-25 Michael Koch <konqueror@gmx.de>
1063 * java/io/PushbackInputStream.java,
1064 java/net/Authenticator.java,
1065 java/net/ContentHandler.java,
1066 java/net/ContentHandlerFactory.java,
1067 java/net/DatagramSocket.java,
1068 java/net/DatagramSocketImpl.java,
1069 java/net/DatagramSocketImplFactory.java,
1070 java/net/FileNameMap.java,
1071 java/net/SocketImplFactory.java,
1072 java/net/SocketOptions.java,
1073 java/net/URLStreamHandlerFactory.java:
1074 Merged new versions from classpath.
1076 2003-05-25 Michael Koch <konqueror@gmx.de>
1078 * java/awt/Checkbox.java,
1079 java/awt/Dialog.java,
1081 java/awt/Frame.java,
1082 java/awt/ScrollPaneAdjustable.java,
1083 java/awt/Scrollbar.java,
1084 java/awt/Window.java:
1085 New versions from classpath.
1087 2003-05-22 Jeff Sturm <jsturm@one-point.com>
1090 * java/io/ObjectInputStream (enableResolveObject):
1091 Fixed spelling of permission name.
1093 2003-05-20 Michael Koch <konqueror@gmx.de>
1095 * java/io/DataInputStream.java
1096 (convertFromUTF): Merged comment from classpath.
1097 * java/io/PrintStream.java
1098 (error_occured): Renamed from error, merged comment from classpath.
1099 (PrintStream): No need to initialized error.
1100 (checkError): Replace error with error_occurred.
1101 (setError): Likewise.
1103 2003-05-20 Michael Koch <konqueror@gmx.de>
1105 * java/io/DataInputStream.java:
1106 Reformatted, Replaced < and & with html entitites in documentation.
1107 * java/io/File.java:
1109 * java/io/PrintWriter.java:
1110 Moved class documentation.
1112 2003-05-20 Michael Koch <konqueror@gmx.de>
1114 * gnu/java/nio/ByteBufferImpl.java,
1115 gnu/java/nio/CharBufferImpl.java,
1116 gnu/java/nio/CharViewBufferImpl.java,
1117 gnu/java/nio/DirectByteBufferImpl.java,
1118 gnu/java/nio/DoubleBufferImpl.java,
1119 gnu/java/nio/DoubleViewBufferImpl.java,
1120 gnu/java/nio/FloatBufferImpl.java,
1121 gnu/java/nio/FloatViewBufferImpl.java,
1122 gnu/java/nio/IntBufferImpl.java,
1123 gnu/java/nio/IntViewBufferImpl.java,
1124 gnu/java/nio/LongBufferImpl.java,
1125 gnu/java/nio/LongViewBufferImpl.java,
1126 gnu/java/nio/natDirectByteBufferImpl.cc,
1127 gnu/java/nio/ShortBufferImpl.java,
1128 gnu/java/nio/ShortViewBufferImpl.java:
1129 Moved files to java/nio.
1130 * gnu/java/nio/SocketChannelImpl.java
1132 * java/nio/ByteBuffer.java,
1133 java/nio/CharBuffer.java,
1134 java/nio/DoubleBuffer.java,
1135 java/nio/FloatBuffer.java,
1136 java/nio/IntBuffer.java,
1137 java/nio/LongBuffer.java,
1138 java/nio/ShortBuffer.java:
1139 Dont import anything.
1140 * java/nio/ByteBufferImpl.java,
1141 java/nio/CharBufferImpl.java,
1142 java/nio/CharViewBufferImpl.java,
1143 java/nio/DirectByteBufferImpl.java,
1144 java/nio/DoubleBufferImpl.java,
1145 java/nio/DoubleViewBufferImpl.java,
1146 java/nio/FloatBufferImpl.java,
1147 java/nio/FloatViewBufferImpl.java,
1148 java/nio/IntBufferImpl.java,
1149 java/nio/IntViewBufferImpl.java,
1150 java/nio/LongBufferImpl.java,
1151 java/nio/LongViewBufferImpl.java,
1152 java/nio/natDirectByteBufferImpl.cc,
1153 java/nio/ShortBufferImpl.java,
1154 java/nio/ShortViewBufferImpl.java:
1155 Moved from gnu/java/nio.
1157 (ordinary_java_source_files): Moved files from gnu/java/nio to
1159 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
1161 * Makefile.in: Regenerated.
1163 2003-05-19 Michael Koch <konqueror@gmx.de>
1165 * java/util/Calendar.java
1166 (get): Not final anymore since JDK 1.4
1169 2003-05-19 Michael Koch <konqueror@gmx.de>
1171 * java/text/CollationKey.java:
1172 Merged copyright and dat from classpath.
1173 * java/text/RuleBasedCollator.java:
1174 Merged class documentation from classpath.
1176 2003-05-19 Michael Koch <konqueror@gmx.de>
1178 * java/nio/CharBuffer.java
1179 (toString): Compile fix.
1181 2003-05-19 Michael Koch <konqueror@gmx.de>
1183 * gnu/java/nio/ByteBufferImpl.java
1184 (putLong): Fixed conversion to bytes.
1185 (putDouble): Fixed conversion to bytes.
1186 * gnu/java/nio/DirectByteBufferImpl.java
1187 (putLong): Fixed conversion to bytes.
1188 (putDouble): Fixed conversion to bytes.
1189 * gnu/java/nio/FileLockImpl.java
1190 (isValid): Reformatted.
1191 * java/nio/Buffer.java
1192 (Buffer): Fixed off-by-one bug in handling mark.
1193 * java/nio/ByteBuffer.java:
1195 * java/nio/CharBuffer.java
1196 (toString): Don't use relative get to get string data.
1198 2003-05-16 Michael Koch <konqueror@gmx.de>
1200 * java/io/natFileDescriptorPosix.cc
1201 (open): Commented out the O_SYNC and O_DSYNC usage until its better
1204 2003-05-14 Michael Koch <konqueror@gmx.de>
1206 * gnu/java/nio/FileLockImpl.java
1207 (released): New member variable.
1208 (FileLockImpl): Initialize released.
1209 (releaseImpl): New native method.
1210 (release): Implemented.
1211 * gnu/java/nio/SelectorImpl.java: Reformatted.
1212 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
1213 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
1214 (accept): Throws IOException.
1215 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
1216 (implConfigureBlocking): Throws IOException.
1217 (connect): Likewise.
1220 * gnu/java/nio/natFileLockImpl.cc: New file.
1221 * java/nio/channels/FileLock.java: Reformatted.
1223 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
1224 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
1225 * Makefile.in: Regenerated.
1227 2003-05-13 Michael Koch <konqueror@gmx.de>
1229 * gnu/java/nio/CharViewBufferImpl.java
1230 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
1231 (get): Shift bits to the right direction.
1233 * gnu/java/nio/DoubleViewBufferImpl.java
1234 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
1235 (get): Shift bits to the right direction.
1237 * gnu/java/nio/FloatViewBufferImpl.java
1238 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
1239 (get): Shift bits to the right direction.
1241 * gnu/java/nio/IntViewBufferImpl.java
1242 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
1243 (get): Shift bits to the right direction.
1245 * gnu/java/nio/LongViewBufferImpl.java
1246 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
1247 (get): Shift bits to the right direction.
1249 * gnu/java/nio/ShortViewBufferImpl.java
1250 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
1251 (get): Shift bits to the right direction.
1254 2003-05-13 Michael Koch <konqueror@gmx.de>
1256 * gnu/java/nio/natDirectByteBufferImpl.cc
1257 (allocateImpl): jlong -> RawData*.
1258 (freeImpl): Likewise.
1260 2003-05-13 Michael Koch <konqueror@gmx.de>
1262 * java/nio/channels/FileChannel.java
1263 (MapMode.m): Made it package-private to match JDK 1.4.
1264 * java/nio/charset/Charset.java
1265 (decode): Made it final to match JDK 1.4.
1267 2003-05-13 Michael Koch <konqueror@gmx.de>
1269 * java/io/FileDescriptor.java
1270 (SYNC): New constant.
1272 (getLength): Renamed from lenght() to match classpath's
1273 FileDescriptor.java.
1274 * java/io/RandomAccessFile.java
1275 (RandomAccessFile): Removed unneeded mode check, implemented mode
1276 "rws" and "rwd", merged documentation from classpath.
1277 (setLength): Reformatted.
1278 (length): Use new getLength() of FileDescriptor.
1279 * java/io/natFileDescriptorEcos.cc
1280 (getLength): Renamed from length().
1281 * java/io/natFileDescriptorPosix.cc
1282 (open): Implemented support for SYNC and DSYNC.
1283 (seek): Use getLength() instead of length().
1284 (getLength): Renamed from length().
1285 * java/io/natFileDescriptorWin32.cc
1286 (getLength): Renamed from length().
1287 (seek): Use getLength() instead of length().
1288 (available): Likewise.
1289 * gnu/java/nio/natFileChannelImpl.cc
1290 (size): Use getLength() instead of length().
1292 2003-05-13 Michael Koch <konqueror@gmx.de>
1294 * gnu/java/nio/ByteBufferImpl.java
1295 (ByteBufferImpl): All constructors revised.
1296 (slice): Reimplemented.
1297 (duplicate): Reimplemented.
1298 (asReadOnlyBuffer): Reimplemented.
1299 * java/nio/ByteBuffer.java:
1301 (array_offset): Renamed from "offset" to match all other buffer
1303 (ByteBuffer): All constructors revised.
1304 (allocateDirect): Implemented.
1305 (allocate): New implementation, documentation reworked.
1307 (get): Documentation reworked.
1308 (put): New implementation, documentation reworked.
1309 (hasArray): Documentation reworked.
1310 (arrayOffset): Likewise.
1311 (hashCode): Likewise.
1313 (compareTo): Likewise.
1315 (compact): Likewise.
1316 (isDirect): Likewise.
1318 (duplicate): Likewise.
1319 (asReadOnlyBuffer): Likewise.
1321 (ordinary_java_source_files):
1322 Added gnu/java/nio/DirectByteBufferImpl.java.
1324 Added gnu/java/nio/natDirectByteBufferImpl.cc.
1325 * Makefile.in: Regenerated.
1327 2003-05-12 Michael Koch <konqueror@gmx.de>
1329 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
1330 (nio_get_*): Removed.
1331 (nio_put_*): Removed.
1332 (as*Buffer): Implemented.
1333 (compact): Implemented.
1334 (get): Documentation added.
1335 (put): Documentation added.
1336 (get*): Newly implemented.
1337 (put*): Newly implemented.
1338 * gnu/java/nio/CharBufferImpl.java: Reformatted.
1339 (CharBufferImpl): Revised.
1340 (slice): New implementation.
1341 (duplicate): New implementation.
1342 (compact): New implementation.
1343 (asReadOnlyBuffer): New implementation.
1344 (get): Documentation revised.
1345 (order): Return native byte order.
1346 * gnu/java/nio/DirectByteBufferImpl.java
1347 (allocateDirect): objects can be null not 0.
1348 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
1349 (DoubleBufferImpl): Revised.
1350 (slice): New implementation.
1351 (duplicate): New implementation.
1352 (compact): New implementation.
1353 (asReadOnlyBuffer): New implementation.
1354 (get): Documentation revised.
1355 (order): Return native byte order.
1356 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
1357 (FloatBufferImpl): Revised.
1358 (slice): New implementation.
1359 (duplicate): New implementation.
1360 (compact): New implementation.
1361 (asReadOnlyBuffer): New implementation.
1362 (get): Documentation revised.
1363 (order): Return native byte order.
1364 * gnu/java/nio/IntBufferImpl.java: Reformatted.
1365 (IntBufferImpl): Revised.
1366 (slice): New implementation.
1367 (duplicate): New implementation.
1368 (compact): New implementation.
1369 (asReadOnlyBuffer): New implementation.
1370 (get): Documentation revised.
1371 (order): Return native byte order.
1372 * gnu/java/nio/LongBufferImpl.java: Reformatted.
1373 (LongBufferImpl): Revised.
1374 (slice): New implementation.
1375 (duplicate): New implementation.
1376 (compact): New implementation.
1377 (asReadOnlyBuffer): New implementation.
1378 (get): Documentation revised.
1379 (order): Return native byte order.
1380 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
1381 (ShortBufferImpl): Revised.
1382 (slice): New implementation.
1383 (duplicate): New implementation.
1384 (compact): New implementation.
1385 (asReadOnlyBuffer): New implementation.
1386 (get): Documentation revised.
1387 (order): Return native byte order.
1388 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
1389 (CharBuffer): Revised.
1391 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
1392 (DoubleBuffer): Revised.
1393 (allocateDirect): Removed.
1395 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
1396 (FloatBuffer): Revised.
1397 (allocateDirect): Removed.
1399 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
1400 (IntBuffer): Revised.
1401 (allocateDirect): Removed.
1403 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
1404 (LongBuffer): Revised.
1405 (allocateDirect): Removed.
1407 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
1408 (ShortBuffer): Revised.
1409 (allocateDirect): Removed.
1411 * gnu/java/nio/natByteBufferImpl.cc: Removed.
1412 * gnu/java/nio/natCharBufferImpl.cc: Removed.
1414 (ordinary_java_source_files): Added the following files:
1415 gnu/java/nio/CharViewBufferImpl.java,
1416 gnu/java/nio/DoubleViewBufferImpl.java,
1417 gnu/java/nio/FloatViewBufferImpl.java,
1418 gnu/java/nio/IntViewBufferImpl.java,
1419 gnu/java/nio/LongViewBufferImpl.java,
1420 gnu/java/nio/ShortViewBufferImpl.java
1421 (nat_source_files): Removed the following files:
1422 gnu/java/nio/natByteBufferImpl.cc,
1423 gnu/java/nio/natCharBufferImpl.cc
1424 * Makefile.in: Regenerated.
1426 2003-05-12 Michael Koch <konqueror@gmx.de>
1428 * gnu/java/nio/CharViewBufferImpl.java,
1429 gnu/java/nio/DirectByteBufferImpl.java,
1430 gnu/java/nio/DoubleViewBufferImpl.java,
1431 gnu/java/nio/FloatViewBufferImpl.java,
1432 gnu/java/nio/IntViewBufferImpl.java,
1433 gnu/java/nio/LongViewBufferImpl.java,
1434 gnu/java/nio/ShortViewBufferImpl.java,
1435 gnu/java/nio/natDirectByteBufferImpl.cc:
1436 New files, not yet to be compiled.
1438 2003-05-10 Michael Koch <konqueror@gmx.de>
1440 * javax/swing/plaf/ButtonUI.java,
1441 javax/swing/plaf/ColorUIResource.java,
1442 javax/swing/plaf/ComponentUI.java,
1443 javax/swing/plaf/DimensionUIResource.java,
1444 javax/swing/plaf/FontUIResource.java,
1445 javax/swing/plaf/IconUIResource.java,
1446 javax/swing/plaf/InsetsUIResource.java,
1447 javax/swing/plaf/LabelUI.java,
1448 javax/swing/plaf/ListUI.java,
1449 javax/swing/plaf/OptionPaneUI.java,
1450 javax/swing/plaf/PanelUI.java,
1451 javax/swing/plaf/TabbedPaneUI.java,
1452 javax/swing/plaf/TextUI.java,
1453 javax/swing/plaf/TreeUI.java,
1454 javax/swing/plaf/ViewportUI.java,
1455 javax/swing/plaf/basic/BasicBorders.java,
1456 javax/swing/plaf/basic/BasicButtonUI.java,
1457 javax/swing/plaf/basic/BasicCheckBoxUI.java,
1458 javax/swing/plaf/basic/BasicDefaults.java,
1459 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1460 javax/swing/plaf/basic/BasicIconFactory.java,
1461 javax/swing/plaf/basic/BasicLabelUI.java,
1462 javax/swing/plaf/basic/BasicListUI.java,
1463 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1464 javax/swing/plaf/basic/BasicPanelUI.java,
1465 javax/swing/plaf/basic/BasicRadioButtonUI.java,
1466 javax/swing/plaf/basic/BasicScrollPaneUI.java,
1467 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1468 javax/swing/plaf/basic/BasicTextUI.java,
1469 javax/swing/plaf/basic/BasicToggleButtonUI.java,
1470 javax/swing/plaf/basic/BasicTreeUI.java,
1471 javax/swing/plaf/basic/BasicViewportUI.java,
1472 javax/swing/plaf/metal/MetalLookAndFeel.java:
1473 New versions from classpath. This adds copyrights to all files and
1474 some serialVersionUIDs.
1476 2003-05-10 Michael Koch <konqueror@gmx.de>
1478 * java/nio/CharBuffer.java
1479 (offset): Make it package-private.
1480 (backing_buffer): Likewise.
1481 * java/nio/DoubleBuffer.java
1482 (offset): Make it package-private.
1483 (backing_buffer): Likewise.
1485 * java/nio/FloatBuffer.java
1486 (offset): Make it package-private.
1487 (backing_buffer): Likewise.
1488 * java/nio/IntBuffer.java
1489 (offset): Make it package-private.
1490 (backing_buffer): Likewise.
1491 * java/nio/LongBuffer.java
1492 (offset): Make it package-private.
1493 (backing_buffer): Likewise.
1494 * java/nio/ShortBuffer.java
1495 (offset): Make it package-private.
1496 (backing_buffer): Likewise.
1498 2003-05-10 Michael Koch <konqueror@gmx.de>
1500 * java/nio/CharBuffer.java
1501 (put): Fixed precondtion check.
1502 (toString): Make it work without backing array.
1503 (put): Skip one level of method calling.
1505 2003-05-10 Michael Koch <konqueror@gmx.de>
1507 * java/security/Identity.java,
1508 java/security/IdentityScope.java,
1509 java/security/Key.java,
1510 java/security/KeyPair.java,
1511 java/security/PrivateKey.java,
1512 java/security/Provider.java,
1513 java/security/PublicKey.java,
1514 java/security/SecureRandom.java,
1515 java/security/SecureRandomSpi.java,
1516 java/security/SignedObject.java,
1517 java/security/Signer.java,
1518 java/security/cert/Certificate.java,
1519 java/security/cert/PKIXCertPathBuilderResult.java,
1520 java/security/cert/X509Certificate.java:
1521 New versions from classpath.
1523 2003-05-09 Tom Tromey <tromey@redhat.com>
1525 * Makefile.in: Rebuilt.
1526 * Makefile.am (nat_source_files): Removed old files.
1527 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
1528 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
1529 * gnu/java/nio/natIntBufferImpl.cc: Removed.
1530 * gnu/java/nio/natLongBufferImpl.cc: Removed.
1531 * gnu/java/nio/natShortBufferImpl.cc: Removed.
1533 2003-05-09 Michael Koch <konqueror@gmx.de>
1535 * gnu/java/nio/ByteBufferImpl.java
1536 (nio_cast): Removed.
1537 (ByteBufferImpl): Removed.
1538 (nio_get_Byte): Removed.
1539 (nio_put_Byte): Removed.
1540 (asByteBuffer): Removed.
1541 (asCharBuffer): Removed implementation and throw exception.
1542 (asShortBuffer): Likewise.
1543 (asIntBuffer): Likewise.
1544 (asLongBuffer): Likewise.
1545 (asFloatBuffer): Likewise.
1546 (asDoubleBuffer): Likewise.
1547 * gnu/java/nio/CharBufferImpl.java
1548 (CharBufferImpl): Removed.
1549 (nio_get_Byte): Removed.
1550 (nio_put_Byte): Removed.
1551 (asByteBuffer): Removed.
1552 * gnu/java/nio/DoubleBufferImpl.java
1553 (DoubleBufferImpl): Removed.
1554 (nio_get_Byte): Removed.
1555 (nio_put_Byte): Removed.
1556 (asByteBuffer): Removed.
1557 * gnu/java/nio/FloatBufferImpl.java
1558 (FloatBufferImpl): Removed.
1559 (nio_get_Byte): Removed.
1560 (nio_put_Byte): Removed.
1561 (asByteBuffer): Removed.
1562 * gnu/java/nio/IntBufferImpl.java
1563 (IntBufferImpl): Removed.
1564 (nio_get_Byte): Removed.
1565 (nio_put_Byte): Removed.
1566 (asByteBuffer): Removed.
1567 * gnu/java/nio/LongBufferImpl.java
1568 (LongBufferImpl): Removed.
1569 (nio_get_Byte): Removed.
1570 (nio_put_Byte): Removed.
1571 (asByteBuffer): Removed.
1572 * gnu/java/nio/ShortBufferImpl.java
1573 (ShortBufferImpl): Removed.
1574 (nio_get_Byte): Removed.
1575 (nio_put_Byte): Removed.
1576 (asByteBuffer): Removed.
1577 * gnu/java/nio/natByteBufferImpl.cc
1578 (nio_cast): Removed.
1579 (nio_get_Byte): Removed.
1580 (nio_put_Byte): Removed.
1581 * gnu/java/nio/natCharBufferImpl.cc
1582 (nio_get_Byte): Removed.
1583 (nio_put_Byte): Removed.
1585 2003-05-09 Michael Koch <konqueror@gmx.de>
1587 * java/net/JarURLConnection.java
1588 (getJarEntry): Merged documentation from classpath.
1589 (getJarFile): Likewise.
1590 (getMainAttributes): Likewise.
1591 (getAttributes): Likewise.
1592 (getManifest): Likewise.
1593 (getCertificates): Reformatted.
1594 * java/net/URLConnection.java:
1595 Little classpath merge.
1597 2003-05-09 Michael Koch <konqueror@gmx.de>
1599 * java/io/DataOutputStream.java
1600 (writeShort): Made it synchronized.
1601 (writeChar): Likewise.
1602 (writeInt): Likewise.
1603 (writeLong): Liekwise.
1604 (writeUTF): Made it synchronized, renamed argument to match classpath.
1605 * java/io/InputStreamReader.java
1606 (converter): Added documentation.
1607 (read): Merged documentation from classpath.
1608 * java/io/OutputStreamWriter.java
1609 (OutputStreamWriter): Merged documentation from classpath.
1610 (close): Reformatted.
1611 (getEncoding): Likewise.
1613 (write): Merged documentation from classpath, reformatted.
1615 2003-05-08 Tom Tromey <tromey@redhat.com>
1617 * configure.host <powerpc64*-*>: Set with_libffi_default and
1618 libgcj_interpreter to "yes".
1620 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
1622 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
1624 2003-05-06 Tom Tromey <tromey@redhat.com>
1626 * verify.cc: Reverted previous patch.
1628 2003-05-06 Michael Koch <konqueror@gmx.de>
1630 * java/io/DataOutputStream.java
1631 (write): Renamed argument to "value", merged documentation from
1633 (writeBoolean): Likewise.
1634 (writeByte): Likewise.
1635 (writeShort): Likewise.
1636 (writeChar): Likewise.
1637 (writeInt): Likewise.
1638 (writeLong): Likewise.
1639 (writeFloat): Likewise.
1640 (writeDouble): Likewise.
1641 (writeBytes): Likewise.
1642 (writeChars): Likewise.
1643 (writeUTF): Likewise.
1645 (performDelete): Added documentation.
1646 (performList): Likewise.
1647 (performMkdir): Likewise.
1648 (performSetReadOnly): Likewise.
1649 (performRenameTo): Likewise.
1650 (performSetLastModified): Likewise.
1651 (delete): Made it sychronized.
1652 (renameTo): Made it sychronized.
1653 (equals): Reformatted.
1654 (isHidden): Likewise.
1655 (listFiles): Likewise.
1656 (setReadOnly): Likewise.
1657 (listRoots): Likewise.
1658 (setLastModified): Likewise.
1659 (checkRead): Likewise.
1660 (checkWrite): Likewise.
1661 * java/io/FileInputStream.java
1662 (skip): Made it sychronized, merged from classpath.
1663 * java/io/FileOutputStream.java
1664 (write): Merged from classpath.
1665 * java/io/InputStreamReader.java:
1666 (InputStreamReader): Merged documentation from classpath.
1668 2003-05-05 Michael Koch <konqueror@gmx.de>
1670 * java/net/NetworkInterface.java
1671 (networkInterfaces): Removed.
1672 (getByName): Use getRealNetworkInterfaces() instead of
1674 (getByInetAddress): Likewise.
1675 (getNetworkInterfaces): Likewise.
1676 (toString): Fix output of addresses of an interface.
1678 2003-05-05 Michael Koch <konqueror@gmx.de>
1680 * java/io/DataInputStream.java:
1681 Merged new documentation from classpath.
1683 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
1685 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
1687 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
1688 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
1689 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
1690 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
1691 * gnu/awt/gtk/GtkMainThread.java: Likewise.
1692 * gnu/awt/gtk/GtkToolkit.java: Likewise.
1693 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
1694 * java/security/Key.java: Likewise.
1695 * java/security/PrivateKey.java: Likewise.
1696 * java/security/Provider.java: Likewise.
1697 * java/security/PublicKey.java: Likewise.
1699 2003-05-02 Michael Koch <konqueror@gmx.de>
1702 (create): Doesnt throws any exceptions.
1703 * java/net/URLConnection.java
1704 (URLConnection): Commend added.
1705 (getExpiration): The header field is called "expires" not
1707 (getHeaderField): Merged documentation with classpath.
1708 (getHeaderFieldInt): Likewise.
1709 (getHeaderFieldDate): Likewise.
1710 (getHeaderFieldKey): Likewise.
1711 (getPermission): Likewise.
1712 (setDefaultUseCaches): Likewise.
1713 (setRequestProperty): Likewise.
1714 (addRequestProperty): Likewise.
1715 (getRequestProperty): Likewise.
1716 (getRequestProperties): Likewise.
1717 (setDefaultRequestProperty): Likewise.
1718 (getDefaultRequestProperty): Likewise.
1719 (guessContentTypeFromStream): Likewise.
1720 (getFileNameMap): Likewise.
1721 (setFileNameMap): Likewise.
1722 (setDoInput): Merged implementation and documentation with classpath.
1723 (setDoOutput): Likewise.
1724 (setAllowUserInteraction): Likewise.
1725 (setDefaultAllowUserInteraction): Likewise.
1726 (setContentHandlerFactory): Made it synchronized, merged documentation
1728 (guessContentTypeFromName): Renamed argument fname to filename to
1729 match classpath, merged documentation with classpath.
1731 2003-05-02 Michael Koch <konqueror@gmx.de>
1733 * java/net/JarURLConnection.java
1734 (JarURLConnection): Class documentation merged with classpath.
1735 (getJarFileURL): Moved and documentation merged with classpath.
1736 (getEntryName): Likewise.
1737 (JarURLConnection): Documentation merged with classpath.
1738 (getJarEntry): Likewise.
1739 (getJarFile): Likewise.
1740 * java/net/PlainDatagramSocketImpl.java:
1741 Class documentation moved.
1742 * java/net/URLConnection.java
1743 (fileNameMap): Moved and documentation merged with classpath.
1744 (factory): Likewise.
1745 (defaultAllowUserInteraction): Likewis.
1746 (defaultUseCaches): Likewise.
1747 (allowUserInteraction): Likewise.
1748 (connected): Likewise.
1750 (connect): Documentation merged with classpath.
1752 (getContentLength): Likewise.
1753 (getContentType): Likewise.
1754 (getContentEncoding): Likewise.
1755 (getExpiration): Likewise.
1756 (getDate): Likewise.
1757 (getLastModified): Likewise.
1758 (getHeaderField): Likewise.
1759 (getContent): Likewise.
1760 (getPermission): Likewise.
1761 (getInputStream): Likewise.
1762 (getOutputStream): Likewise.
1763 (toString): Likewise.
1764 (getDoInput): Likewise.
1765 (getDoOutput): Likewise.
1766 (setAllowUserInteraction): Likewise.
1767 (getAllowUserInteraction): Likewise.
1768 (setDefaultAllowUserInteraction): Likewise.
1769 (getDefaultAllowUserInteraction): Likewise.
1770 (setUseCaches): Likewise.
1771 (getUseCaches): Likewise.
1772 (setIfModifiedSince): Likewise.
1773 (getIfModifiedSince): Likewise.
1774 (setDefaultRequestProperty): Likewise.
1775 (getDefaultRequestProperty): Likewise.
1776 (setContentHandlerFactory): Likewise.
1777 (setFileNameMap): Likewise.
1779 2003-05-02 Michael Koch <konqueror@gmx.de>
1781 * java/net/InetAddress.java:
1782 Merged class documentation with classpath.
1783 * java/net/JarURLConnection.java:
1784 Explicitely import all used classes.
1785 * java/net/URL.java:
1787 * java/net/ServerSocket.java,
1788 java/net/Socket.java:
1789 New versions from classpath.
1791 2003-05-02 Michael Koch <konqueror@gmx.de>
1793 * gnu/java/nio/FileChannelImpl.java
1794 (read): New implementation.
1795 (implRead): New methods.
1796 (write): New implementation, call other write insteal of read method.
1797 (implWrite): New methods.
1798 (map): Added comment.
1799 (transferFrom): Implemented.
1800 (transferTo): Implemented.
1801 (lock): Added checks to throw exceptions.
1802 (truncate): Added check to throw exception.
1803 * gnu/java/nio/natFileChannelImpl.cc
1804 (implRead): New method.
1805 (implWrite): New method.
1806 * java/nio/ByteBuffer.java
1807 (hashCode): Fixed comment.
1808 (get): Fixed exception documentation.
1809 (put): Fixed exception documentation.
1810 * java/nio/CharBuffer.java:
1811 Added comment for later optimizations.
1813 2003-04-30 Tom Tromey <tromey@redhat.com>
1816 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
1818 (type::compatible): Use _Jv_IsAssignableFrom.
1819 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
1820 (_Jv_IsAssignableFrom): Work even when source or target class is
1823 2003-04-30 Michael Koch <konqueror@gmx.de>
1825 * java/text/BreakIterator.java
1826 (clone): New method.
1828 2003-04-30 Michael Koch <konqueror@gmx.de>
1830 * java/text/CollationElementIterator.java,
1831 java/text/CollationKey.java,
1832 java/text/RuleBasedCollator.java:
1833 Merged copyright and documentation from classpath and
1834 rearranged some code. No code changes done.
1836 2003-04-30 Michael Koch <konqueror@gmx.de>
1838 * java/util/regex/Matcher.java
1839 (pattern): New member variable.
1840 (appendReplacement): New method.
1841 (appendTail): New method.
1844 (group): New method.
1845 (replaceFirst): Added documentation.
1846 (replaceAll): Added documentation.
1847 (groupCount): New method.
1848 (lookingAt): New method.
1849 (matches): New method.
1850 (reset): New method.
1851 (start): New method.
1852 * java/util/regex/Pattern.java
1853 (serialVersionUID): New constant.
1854 (CANON_EQ): New constant.
1855 (CASE_INSENSITIVE): New constant.
1856 (COMMENTS): New constant.
1857 (DOTALL): New constant.
1858 (MULTILINE): New constant.
1859 (UNICODE_CASE): New constant.
1860 (UNIX_LINES): New constant.
1861 (regex): New member variable.
1862 (flags): New member variable.
1863 (Pattern): New method.
1864 (compile): Documentation added.
1865 (flags): New method.
1866 (matches): Documentation added.
1867 (matcher): Documentation added.
1868 (split): Documentation added.
1869 (pattern): New method.
1871 2003-04-30 Michael Koch <konqueror@gmx.de>
1873 * gnu/java/security/Engine.java,
1874 gnu/java/security/OID.java,
1875 gnu/java/security/der/BitString.java,
1876 gnu/java/security/der/DER.java,
1877 gnu/java/security/der/DERReader.java,
1878 gnu/java/security/der/DERValue.java,
1879 gnu/java/security/der/DERWriter.java,
1880 gnu/java/security/provider/DSAKeyFactory.java,
1881 gnu/java/security/provider/X509CertificateFactory.java,
1882 gnu/java/security/x509/X500DistinguishedName.java,
1883 gnu/java/security/x509/X509CRL.java,
1884 gnu/java/security/x509/X509CRLEntry.java,
1885 gnu/java/security/x509/X509Certificate.java,
1886 java/security/cert/CRLSelector.java,
1887 java/security/cert/CertPathBuilder.java,
1888 java/security/cert/CertPathBuilderResult.java,
1889 java/security/cert/CertPathBuilderSpi.java,
1890 java/security/cert/CertPathParameters.java,
1891 java/security/cert/CertPathValidator.java,
1892 java/security/cert/CertPathValidatorResult.java,
1893 java/security/cert/CertPathValidatorSpi.java,
1894 java/security/cert/CertSelector.java,
1895 java/security/cert/CertStore.java,
1896 java/security/cert/CertStoreParameters.java,
1897 java/security/cert/CertStoreSpi.java,
1898 java/security/cert/CollectionCertStoreParameters.java,
1899 java/security/cert/LDAPCertStoreParameters.java,
1900 java/security/cert/PKIXBuilderParameters.java,
1901 java/security/cert/PKIXCertPathBuilderResult.java,
1902 java/security/cert/PKIXCertPathChecker.java,
1903 java/security/cert/PKIXCertPathValidatorResult.java,
1904 java/security/cert/PKIXParameters.java,
1905 java/security/cert/PolicyNode.java,
1906 java/security/cert/PolicyQualifierInfo.java,
1907 java/security/cert/TrustAnchor.java,
1908 javax/security/auth/x500/X500Principal.java:
1909 New files from classpath.
1910 * gnu/java/io/ASN1ParsingException.java,
1911 gnu/java/io/Base64InputStream.java,
1912 gnu/java/security/der/DEREncodingException.java,
1913 gnu/java/security/provider/DSAParameters.java,
1914 gnu/java/security/provider/DSASignature.java,
1915 gnu/java/security/provider/Gnu.java,
1916 gnu/java/security/provider/GnuDSAPrivateKey.java,
1917 gnu/java/security/provider/GnuDSAPublicKey.java,
1918 java/security/AlgorithmParameterGenerator.java,
1919 java/security/AlgorithmParameters.java,
1920 java/security/KeyFactory.java,
1921 java/security/KeyPairGenerator.java,
1922 java/security/KeyStore.java,
1923 java/security/MessageDigest.java,
1924 java/security/SecureClassLoader.java,
1925 java/security/SecureRandom.java,
1926 java/security/Security.java,
1927 java/security/Signature.java,
1928 java/security/cert/Certificate.java,
1929 java/security/cert/CertificateFactory.java,
1930 java/security/cert/CertificateFactorySpi.java,
1931 java/security/cert/X509CRL.java,
1932 java/security/cert/X509Certificate.java,
1933 java/security/spec/DSAPublicKeySpec.java:
1934 New versions from classpath.
1935 * gnu/java/security/provider/DERReader.java,
1936 gnu/java/security/provider/DERWriter.java,
1937 java/security/Engine.java: Removed.
1939 (java_source_files, javax_source_files): Added new files.
1940 * Makefile.in: Regenerated.
1942 2003-04-29 Michael Koch <konqueror@gmx.de>
1944 * javax/swing/JTable.java
1945 (AUTO_RESIZE_ALL_COLUMNS): New constant.
1946 (AUTO_RESIZE_LAST_COLUMN): New constant.
1947 (AUTO_RESIZE_NEXT_COLUMN): New constant.
1948 (AUTO_RESIZE_OFF): New constant.
1949 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
1950 (JTable): New method.
1951 (columnAdded): New method.
1952 (columnMarginChanged): New method.
1953 (columnMoved): New method.
1954 (columnRemoved): New method.
1955 (columnSelectionChanged): New method.
1956 (editingCanceled): New method.
1957 (editingStopped): New method.
1958 (getColumnModel): New method.
1959 (getPreferredScrollableViewportSize): New method.
1960 (getScrollableBlockIncrement): New method.
1961 (getScrollableTracksViewportHeight): New method.
1962 (getScrollableTracksViewportWidth): New method.
1963 (getScrollableUnitIncrement): New method.
1964 (getSelectedRow): New method.
1965 (getSelectionModel): New method.
1966 (tableChanged): New method.
1967 (setModel): New method.
1968 (setSelectionMode): New method.
1969 (setSelectionModel): New method.
1970 (setShowGrid): New method.
1971 (valueChanged): New method.
1972 * javax/swing/text/DefaultEditorKit.java
1973 (backwardAction): New constant.
1974 (beepAction): New constant.
1975 (beginAction): New constant.
1976 (beginLineAction): New constant.
1977 (beginParagraphAction): New constant.
1978 (beginWordAction): New constant.
1979 (copyAction): New constant.
1980 (cutAction): New constant.
1981 (defaultKeyTypedAction): New constant.
1982 (deleteNextCharAction): New constant.
1983 (deletePrevCharAction): New constant.
1984 (downAction): New constant.
1985 (endAction): New constant.
1986 (endLineAction): New constant.
1987 (endOfLineStringProperty): New constant.
1988 (endParagraphAction): New constant.
1989 (endWordAction): New constant.
1990 (forwardAction): New constant.
1991 (insertBreakAction): New constant.
1992 (insertContentAction): New constant.
1993 (insertTabAction): New constant.
1994 (nextWordAction): New constant.
1995 (pageDownAction): New constant.
1996 (pageUpAction): New constant.
1997 (pasteAction): New constant.
1998 (previousWordAction): New constant.
1999 (readOnlyAction): New constant.
2000 (selectAllAction): New constant.
2001 (selectionBackwardAction): New constant.
2002 (selectionBeginAction): New constant.
2003 (selectionBeginLineAction): New constant.
2004 (selectionBeginParagraphAction): New constant.
2005 (selectionBeginWordAction): New constant.
2006 (selectionDownAction): New constant.
2007 (selectionEndAction): New constant.
2008 (selectionEndLineAction): New constant.
2009 (selectionEndParagraphAction): New constant.
2010 (selectionEndWordAction): New constant.
2011 (selectionForwardAction): New constant.
2012 (selectionNextWordAction): New constant.
2013 (selectionPreviousWordAction): New constant.
2014 (selectionUpAction): New constant.
2015 (selectLineAction): New constant.
2016 (selectParagraphAction): New constant.
2017 (selectWordAction): New constant.
2018 (upAction): New constant.
2019 (writableAction): New constant.
2021 2003-04-29 Michael Koch <konqueror@gmx.de>
2023 * java/util/PropertyPermission.java:
2024 New version from classpath
2025 * java/util/ResourceBundle.java:
2026 Partly merged from classpath
2027 (getObject): Reformated.
2028 (tryBundle): Set foundBundle = null if no bundle found.
2030 2003-04-29 Michael Koch <konqueror@gmx.de>
2032 * javax/swing/AbstractListModel.java,
2033 javax/swing/DefaultBoundedRangeModel.java,
2034 javax/swing/DefaultSingleSelectionModel.java:
2035 New Versions from classpath.
2037 2003-04-29 Michael Koch <konqueror@gmx.de>
2039 * java/awt/Window.java
2040 (show): Call super.show() instead of setVisible() to avoid endless
2042 (hide): Call super.hide() instead of setVisible() to avoid endless
2045 2003-04-29 Michael Koch <konqueror@gmx.de>
2047 * java/util/zip/Deflater.java,
2048 java/util/zip/DeflaterOutputStream.java:
2049 Partly merged with classpath.
2051 2003-04-27 Tom Tromey <tromey@redhat.com>
2053 * java/lang/natString.cc (_Jv_AllocString): Initialize
2056 (_Jv_NewStringUtf8Const): Likewise.
2058 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
2060 * include/jvm.h: (_Jv_GetNbArgs) added
2061 (_Jv_GetSafeArg) added
2063 * prims.cc: (_Jv_GetNbArgs) implemented
2064 (_Jv_GetSafeArg) implemented
2065 (_Jv_SetArgs) implemented
2066 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
2067 setting _Jv_argc and _Jv_argv
2068 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
2070 * java/lang/natRuntime.cc: (insertSystemProperties) use
2071 _Jv_GetSafeArg() instead of _Jv_argv
2073 2003-04-23 Tom Tromey <tromey@redhat.com>
2075 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
2076 required by this object. Search superclasses to find required
2078 (get_alignment_from_class): Use alignment of type as it appears
2080 (ALIGNOF): New macro.
2081 (struct aligner): New helper structure.
2083 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
2085 * java/awt/Container.java (addImpl): Enable paint events if adding
2086 a lightweight to a heavyweight.
2087 (addNotify): Ensure that peer is created before
2088 addNotifyContainerChildren.
2089 (addNotifyContainerChildren): Enable paint events if a heavyweight
2090 container contains a lightweight.
2092 2003-04-20 Tom Tromey <tromey@redhat.com>
2094 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
2095 java/io/DataInput.java, java/io/DataOutput.java: Imports from
2098 2003-04-19 Tom Tromey <tromey@redhat.com>
2100 * java/sql/Date.java, java/sql/DriverManager.java,
2101 java/sql/Time.java, java/sql/Timestamp.java: New versions from
2104 * Makefile.in: Rebuilt.
2105 * Makefile.am (ordinary_java_source_files): Added new files.
2106 * java/security/AlgorithmParameterGenerator.java,
2107 java/security/AlgorithmParameters.java, java/security/Engine.java,
2108 java/security/Identity.java, java/security/IdentityScope.java,
2109 java/security/KeyFactory.java,
2110 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
2111 java/security/MessageDigest.java, java/security/Policy.java,
2112 java/security/ProtectionDomain.java,
2113 java/security/SecureRandom.java, java/security/Security.java,
2114 java/security/Signature.java, java/security/SignatureSpi.java,
2115 java/security/SignedObject.java, java/security/Signer.java,
2116 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
2117 java/security/spec/PSSParameterSpec.java,
2118 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
2119 java/security/spec/RSAOtherPrimeInfo.java: New versions from
2122 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2124 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
2125 (dispose): Null metrics.
2126 * gnu/awt/xlib/XToolkit.java (sync): Implement.
2127 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
2129 (finalize): Call dispose.
2130 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
2131 (gcCachedCount): New field.
2132 (finalize): New method.
2133 (putGCInCache): New method.
2134 (getGCFromCache): New method.
2135 * gnu/gcj/xlib/GC.java (GC): Make protected.
2136 (clone): Get new GC from cache if possible.
2137 (create): New static method.
2138 (dispose): Save old GC in cache.
2139 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
2141 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
2143 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
2144 * java/awt/Container.java (visitChild): Dispose gfx2 when
2147 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
2149 * java/math/BigInteger.java (probablePrime): New.
2150 * java/math/BigDecimal.java (unscaledValue): New.
2152 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
2154 * java/io/File.java (getAbsolutePath): On Windows, take care
2155 of paths like "C:", "G:foo\bar", etc.
2156 (getName): Make it work correctly on Windows.
2157 (getParent): Make it work correctly on Windows. For UNIX,
2158 fix bug that causes "/" to be returned as the parent of "/",
2159 instead of null as returned by Sun's JRE.
2161 * java/io/natFileWin32.cc: Change copyright owner to FSF.
2163 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2165 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
2167 (CACHE_SIZE_PER_DISPLAY): New field
2168 (fontMetricsCache): New field
2169 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
2170 loading ISO10646-1 fonts.
2172 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
2174 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
2176 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
2179 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
2181 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
2184 2003-04-15 Jakub Jelinek <jakub@redhat.com>
2186 * configure.host (*-linux*): Don't set slow_pthread_self if primary
2187 installed libpthread is either linuxthreads with floating stacks or
2190 2003-04-14 Tom Tromey <tromey@redhat.com>
2192 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
2195 2003-04-10 Tom Tromey <tromey@redhat.com>
2197 * verify.cc (pop64): Removed.
2198 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
2199 exception if top-of-stack is narrow.
2200 (initialize_stack): Check to ensure that <init> is not static and
2203 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
2205 * java/io/ObjectStreamException
2206 * java/io/FileFilter
2207 * java/io/FilenameFilter
2208 * java/io/ObjectInput
2209 * java/io/ObjectOutput
2210 * java/io/ObjectStreamConstants
2211 Minor doc fixes, format fixes, spelling corrections, etc.
2213 Corrected code samples in Javadocs to match reality
2214 * java/io/DataOutput
2215 * java/io/ObjectInputValidation
2216 Major documentation fixes - all Javadocs re-written or updated
2218 2003-04-06 Michael Koch <konqueror@gmx.de>
2220 * java/net/URLConnection.java:
2221 Import classes directly.
2222 (URLConnection): Merged class documentation with classpath.
2223 (url): Moved, documentation from classpath added.
2224 (doInput): Moved, documentation from classpath added.
2225 (doOutput): Moved, documentation from classpath added.
2226 (allowUserInteraction): Moved.
2227 (useCaches): Moved, documentation from classpath added.
2228 (ifModifiedSince): Moved, documentation from classpath added.
2229 (connected): Moved, documentation from classpath added.
2231 2003-04-06 Michael Koch <konqueror@gmx.de>
2233 * java/io/FileInputStream.java
2234 (skip): Renamed some variables to match classpath, added
2235 checks from classpath.
2237 2003-03-31 Michael Koch <konqueror@gmx.de>
2239 * javax/swing/AbstractAction.java
2240 (AbstractAction): Reformatted.
2241 (serialVersionUID): New private member variable.
2242 * javax/swing/plaf/BorderUIResource.java
2243 (serialVersionUID): New private member variable.
2244 * javax/swing/plaf/basic/BasicLookAndFeel.java
2245 (serialVersionUID): New private member variable.
2247 2003-03-31 Michael Koch <konqueror@gmx.de>
2249 * java/sql/Date.java
2250 (valueOf): Deprecated, reformatted.
2251 (toString): Deprecated, reformatted.
2252 * java/sql/Time.java
2253 (valueOf): Deprecated, reformatted.
2254 (toString): Deprecated, reformatted.
2256 2003-03-31 Michael Koch <konqueror@gmx.de>
2258 * java/rmi/dgc/VMID.java
2259 (isUnique): Deprecated.
2261 2003-03-31 Michael Koch <konqueror@gmx.de>
2264 (separator): Merged documentation from classpath.
2265 (separatorChar): Merged documentation from classpath.
2266 (pathSeparator): Merged documentation from classpath.
2267 (pathSeparatorChar): Merged documentation from classpath.
2268 (path): Merged documentation from classpath.
2269 (canRead): Merged documentation from classpath.
2270 (canWrite): Merged documentation from classpath.
2271 (createNewFile): Merged documentation from classpath.
2272 (delete): Merged documentation from classpath.
2273 (equals): Merged documentation from classpath.
2274 (exists): Merged documentation from classpath.
2275 (File): Renamed p to name to match classpath, merged documentation
2277 (getAbsolutePath): Merged documentation from classpath.
2278 (getCanonicalPath): Merged documentation from classpath.
2279 (getCanonicalFile): Merged documentation from classpath.
2280 (getName): Merged documentation from classpath.
2281 (getParent): Merged documentation from classpath.
2282 (getParentFile): Merged documentation from classpath.
2283 (getPath): Merged documentation from classpath.
2284 (hashCode): Merged documentation from classpath.
2285 (isAbsolute): Merged documentation from classpath.
2286 (isDirectory): Merged documentation from classpath.
2287 (isFile): Merged documentation from classpath.
2288 (isHidden): Merged documentation from classpath.
2289 (lastModified): Merged documentation from classpath.
2290 (length): Merged documentation from classpath.
2291 (list): Merged documentation from classpath.
2292 (listFiles): Merged documentation from classpath.
2293 (toString): Merged documentation from classpath.
2294 (toURL): Merged documentation from classpath.
2295 (mkdir): Merged documentation from classpath.
2296 (mkdirs): Merged documentation from classpath.
2297 (createTempFile): Merged documentation from classpath.
2298 (setReadOnly): Merged documentation from classpath.
2299 (listRoots): Merged documentation from classpath.
2300 (compareTo): Merged documentation from classpath.
2301 (renameTo): Merged documentation from classpath.
2302 (setLastModified): Merged documentation from classpath.
2303 * java/io/PrintStream.java
2304 (auto_flush): Merged documentation from classpath.
2305 (PrintStream): Merged documentation from classpath.
2306 (checkError): Merged documentation from classpath.
2307 (setError): Merged documentation from classpath.
2308 (close): Merged documentation from classpath.
2309 (flush): Merged documentation from classpath.
2310 (print): Merged documentation from classpath.
2311 (println): Merged documentation from classpath.
2312 (write): Renamed count to len to match classpath,
2313 merged documentation from classpath.
2314 * java/io/RandomAccessFile.java
2315 (readShort): Merged documentation from classpath.
2316 (readUnsignedByte): Merged documentation from classpath.
2317 (readUnsignedShort): Merged documentation from classpath.
2318 (readUTF): Merged documentation from classpath.
2319 (seek): Reformatted, merged documentation from classpath.
2320 (skipBytes): Renamed some variables to match classpath, reformatted,
2321 merged documentation from classpath.
2322 (write): Merged documentation from classpath.
2323 (writeBoolean): Merged documentation from classpath.
2324 (writeByte): Merged documentation from classpath.
2325 (writeShort): Merged documentation from classpath.
2326 (writeChar): Merged documentation from classpath.
2327 (writeInt): Merged documentation from classpath.
2328 (writeLong): Merged documentation from classpath.
2329 (writeFloat): Merged documentation from classpath.
2330 (writeDouble): Merged documentation from classpath.
2331 (writeBytes): Merged documentation from classpath.
2332 (writeChars): Merged documentation from classpath.
2333 (writeUTF): Reformatted.
2334 (getChannel): Reformatted.
2336 2003-03-31 Michael Koch <konqueror@gmx.de>
2338 * java/awt/font/TextAttribute.java
2339 (readResolve): Throws java.io.InvalidObjectException.
2341 2003-03-31 Michael Koch <konqueror@gmx.de>
2343 * java/rmi/server/LoaderHandler.java
2344 (loadClass): Deprecated.
2345 (getSecurityContext): Deprecated.
2346 * java/rmi/server/LogStream.java
2347 (getDefaultStream): Deprecated.
2348 (setDefaultStream): Deprecated.
2349 (getOutputStream): Deprecated.
2350 (setOutputStream): Deprecated.
2351 (write): Deprecated.
2352 (toString): Deprecated.
2353 (parseLevel): Deprecated.
2354 * java/rmi/server/Operation.java
2355 (Operation): Deprecated.
2356 (getOperation): Deprecated.
2357 (toString): Deprecated.
2358 * java/rmi/server/RemoteCall.java
2359 (getOutputStream): Deprecated.
2360 (releaseOutputStream): Deprecated.
2361 (getInputStream): Deprecated.
2362 (releaseInputStream): Deprecated.
2363 (getResultStream): Deprecated.
2364 (executeCall): Deprecated.
2366 * java/rmi/server/RemoteRef.java
2367 (invoke): Deprecated.
2368 (newCall): Deprecated.
2370 * java/rmi/server/RemoteStub.java
2371 (setRef): Deprecated.
2372 * java/rmi/server/Skeleton.java:
2373 No need to import java.lang.Exception explicitly.
2374 (dispatch): Deprecated.
2375 (getOperations): Deprecated.
2377 2003-03-31 Michael Koch <konqueror@gmx.de>
2379 * java/rmi/dgc/VMID.java,
2380 java/rmi/registry/RegistryHandler.java,
2381 java/rmi/server/LogStream.java,
2382 java/rmi/server/Operation.java,
2383 java/rmi/server/RemoteCall.java,
2384 java/rmi/server/RemoteRef.java,
2385 java/rmi/server/RemoteStub.java:
2388 2003-03-31 Michael Koch <konqueror@gmx.de>
2390 * javax/swing/AbstractCellEditor.java,
2391 javax/swing/AbstractListModel.java,
2392 javax/swing/ActionMap.java,
2393 javax/swing/BorderFactory.java,
2394 javax/swing/ButtonGroup.java,
2395 javax/swing/DefaultBoundedRangeModel.java,
2396 javax/swing/DefaultButtonModel.java,
2397 javax/swing/DefaultCellEditor.java,
2398 javax/swing/DefaultComboBoxModel.java,
2399 javax/swing/DefaultDesktopManager.java,
2400 javax/swing/DefaultListCellRenderer.java,
2401 javax/swing/DefaultSingleSelectionModel.java,
2402 javax/swing/InputMap.java,
2403 javax/swing/JComponent.java,
2404 javax/swing/JMenu.java,
2405 javax/swing/JSlider.java,
2406 javax/swing/KeyStroke.java,
2407 javax/swing/OverlayLayout.java,
2408 javax/swing/ScrollPaneLayout.java,
2409 javax/swing/SizeRequirements.java,
2410 javax/swing/UIManager.java,
2411 javax/swing/ViewportLayout.java,
2412 javax/swing/border/AbstractBorder.java,
2413 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2414 javax/swing/event/EventListenerList.java,
2415 javax/swing/table/AbstractTableModel.java,
2416 javax/swing/table/DefaultTableCellRenderer.java,
2417 javax/swing/table/DefaultTableColumnModel.java,
2418 javax/swing/table/DefaultTableModel.java,
2419 javax/swing/table/TableColumn.java,
2420 javax/swing/text/StyledEditorKit.java,
2421 javax/swing/tree/DefaultMutableTreeNode.java,
2422 javax/swing/tree/DefaultTreeModel.java,
2423 javax/swing/tree/DefaultTreeSelectionModel.java,
2424 javax/swing/tree/TreePath.java,
2425 javax/swing/undo/AbstractUndoableEdit.java,
2426 javax/swing/undo/StateEdit.java,
2427 javax/swing/undo/StateEditable.java,
2428 javax/swing/undo/UndoableEditSupport.java:
2429 Merges from classpath.
2431 2003-03-30 Tom Tromey <tromey@redhat.com>
2433 * java/lang/String.java (data, boffset, count): Documented.
2434 (String(byte[],String)): Reformatted.
2435 (String(byte[])): Likewise.
2436 (lastIndexOf(int)): Likewise.
2437 (lastIndexOf(String)): Likewise.
2438 (substring(int)): Renamed argument to match Classpath.
2439 (String(StringBuffer)): Don't share buffer if it is nearly empty.
2441 * java/lang/String.java: Miscellaneous minor formatting changes
2442 to match Classpath more closely.
2444 2003-03-29 Eric Blake <ebb9@email.byu.edu>
2445 Tom Tromey <tromey@redhat.com>
2447 * java/lang/natString.cc (hashCode): Use cachedHashCode.
2449 (charAt): Put index in exception.
2450 (contentEquals): New method.
2451 Include StringBuffer.h.
2452 * java/lang/String.java (cachedHashCode): New field.
2453 (String()): Follow classpath implementation.
2455 (contentEquals): Declare.
2456 (subSequence): Don't declare IndexOutIfBoundsException in throws
2458 (matches, replaceFirst, replaceAll, split): New methods from
2461 2003-03-29 Tom Tromey <tromey@redhat.com>
2463 * java/lang/String.java: Reordered to follow Classpath; merged in
2466 * java/text/MessageFormat.java: Removed some whitespace.
2468 * Makefile.in: Rebuilt.
2469 * Makefile.am (awt_java_source_files): Added new files.
2470 * gnu/javax/rmi/PortableServer.java,
2471 gnu/javax/rmi/CORBA/DelegateFactory.java,
2472 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
2473 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
2474 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
2475 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
2476 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
2477 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
2478 javax/rmi/PortableRemoteObject.java,
2479 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
2480 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
2481 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
2482 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
2483 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
2484 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
2486 * java/lang/natClass.cc (newInstance): Put method name in
2488 (getConstructor): Likewise.
2489 (getDeclaredConstructor): Likewise.
2490 (getPrivateMethod): Likewise.
2492 2003-03-28 Tom Tromey <tromey@redhat.com>
2494 * java/lang/reflect/Proxy.java: New version from Classpath.
2495 * java/lang/Package.java: New version from Classpath.
2497 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
2499 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
2500 * configure: Regenerate.
2502 2003-03-28 Michael Koch <konqueror@gmx.de>
2504 * java/io/File.java:
2505 Import needed classes instead of whole packages, merged class
2506 documentation with classpath, moved constants and variables to top of
2508 * java/io/PrintStream.java:
2509 Merged class documentation with classpath, moved constants and
2510 variables to top of class.
2511 * java/io/RandomAccessFile.java
2512 (RandomAccessFile): Merged with classpath.
2513 (read): Merged with classpath).
2514 (read*): Reformatted.
2516 2003-03-28 Michael Koch <konqueror@gmx.de>
2518 * java/io/FileDescriptor.java
2519 (finalize): Throws Throwable, not IOException.
2520 * java/io/ObjectOutputStream.java
2521 (PutField.put): Doesnt throws anything.
2523 2003Â03-28 Michael Koch <konqueror@gmx.de>
2525 * java/io/FileOutputStream.java:
2526 Merged class documentation and authors with classpath.
2527 (FileOutputStream): Partly merged with classpath.
2528 (write): Merged with classpath.
2529 (getChannel): Make it synchronized instead of explicit block in this
2531 * java/io/RandomAccessFile.java:
2532 Merged class documentation and authors with classpath.
2534 2003-03-26 Tom Tromey <tromey@redhat.com>
2536 * java/lang/natRuntime.cc (insertSystemProperties): Set
2537 gnu.classpath.home.url.
2538 * Makefile.in: Rebuilt.
2539 * Makefile.am: Define LIBDIR.
2541 2003-03-25 Michael Koch <konqueror@gmx.de>
2543 * java/io/FileInputStream.java
2544 (read): Renamed b to buf and off to offset.
2545 * java/io/FileOutputStream.java
2546 (ch): Documentation added.
2547 (FileOutputStream): Documentation added.
2548 (getFD): Documentation added.
2549 (write): Documentation added.
2550 (close): Documentation added.
2551 (getChannel): Documentation added.
2553 2003-03-24 Michael Koch <konqueror@gmx.de>
2555 * java/io/DataOutputStream.java
2556 (write): Merged from classpath.
2557 * java/io/File.java:
2558 Merged copyrigth with classpath.
2559 * java/io/FileInputStream.java
2560 (getChannel): Made it synchronized instead of using a synchronized
2562 * java/io/FileOutputStream.java: Reformatted.
2563 * java/io/InputStreamReader.java
2564 (InputStreamReader): Renamed enc to encoding_name.
2565 (close): Merged documentation from classpath.
2566 (getEncoding): Merged documentation from classpath.
2567 (ready): Merged documentation from classpath.
2568 (read): Merged documentation from classpath.
2569 * java/io/LineNumberReader.java
2570 (lineNumber): Made it private.
2571 (LineNumberReader): Use Constant instead of a direct value.
2572 * java/io/OutputStreamWriter.java
2573 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
2574 documentation from classpath.
2575 (close): Merged documentation from classpath.
2576 (flush): Merged documentation from classpath.
2577 (write): Merged documentation from classpath.
2578 * java/io/PrintStream.java: Reformatted.
2580 2003-03-24 Michael Koch <konqueror@gmx.de>
2582 * javax/swing/text/ComponentView.java
2583 (getComponent): Must be final.
2584 * javax/swing/tree/DefaultTreeCellRenderer.java:
2586 * javax/swing/undo/StateEditable.java:
2589 2003-03-24 Michael Koch <konqueror@gmx.de>
2591 * java/rmi/activation/ActivationInstantiator.java:
2593 * java/rmi/activation/Activator.java:
2595 * java/rmi/registry/RegistryHandler.java:
2596 Remerged from classpath.
2598 2003-03-24 Michael Koch <konqueror@gmx.de>
2600 * java/util/Date.java:
2601 Fixed documentation starting tag to make javadoc happy.
2602 * java/util/regex/Pattern.java
2603 (Pattern): Implements Serializable.
2604 * java/util/PatternSyntaxException.java
2605 (serialVersionUID): New member variable.
2607 2003-03-24 Michael Koch <koqnueror@gmx.de>
2609 * java/awt/ContainerOrderFocusTraversalPolicy.java
2610 (getFirstComponent): Implemented.
2611 (getLastComponent): Implemented.
2612 (getDefaultComponent): Implemented.
2613 (setImplicitDownCycleTraversal): Fixed implementation.
2614 * java/awt/Robot.java
2615 (Robot): Added documentation.
2616 * java/awt/Toolkit.java
2617 (getFontList): Deprecated.
2618 (getFontMetrics): Deprecated.
2619 (getPrintJob): Added documentation.
2620 (getSystemSelection): Added documentation.
2621 (getLockingKeyState): Added documentation.
2622 (setLockingKeyState): Added documentation.
2623 (createCustomCursor): Added documentation.
2624 (getBestCursorSize): Added documentation.
2625 (getMaximumCursorColors): Added documentation.
2626 (isFrameStateSupported): Added documentation.
2628 2003-03-24 Michael Koch <konqueror@gmx.de>
2630 * java/io/RandomAccessFile.java:
2631 More little merges with classpath. No code changes.
2633 2003-03-24 Michael Koch <konqueror@gmx.de>
2635 * java/net/natInetAddressNoNet.cc:
2637 * java/net/natPlainDatagramSocketImplNoNet.cc:
2638 Fixed inlcude of java/net/DatagramPacket.h.
2639 * java/net/natPlainSocketImplNoNet.cc:
2640 Include some missing classes.
2642 2003-03-24 Michael Koch <konqueror@gmx.de>
2644 * java/awt/dnd/DropTarget.java
2645 (DropTargetAutoScroller): According to the online documentation, this
2646 is protected, but in reality it is public.
2647 * java/awt/dnd/DropTargetContext.java
2648 (TransferableProxy): According to the online documentation, this
2649 is protected, but in reality it is public.
2651 2003-03-24 Michael Koch <konqueror@gmx.de>
2653 * java/io/DataInputStream.java
2654 (): Wrapped documentation line.
2655 (): Fixed @return tag.
2656 * java/io/DataOutputStream.java
2657 (written): Moved to top of class.
2658 (all methods): Merged documentation from classpath.
2659 * java/io/File.java:
2660 Merged copyright year with classpath.
2661 * java/io/FileInputStream.java
2662 (all methods): Merged documentation from classpath.
2663 * java/io/LineNumberReader.java
2664 (getLineNumber): Fixed @return tag.
2665 * java/io/ObjectInputStream.java.
2667 * java/io/ObjectOutputStream.java:
2668 Reformatted, fixed some @see tags.
2669 * java/io/OutputStreamWriter.java:
2671 * java/io/Writer.java:
2674 2003-03-24 Michael Koch <konqueror@gmx.de>
2676 * java/awt/Frame.java
2677 (DEFAULT_CURSOR): Fixed @deprecated tag.
2678 (setCursor): Fixed @deprecated tag.
2680 2003-03-24 Michael Koch <konqueror@gmx.de>
2682 * java/beans/beancontext/BeanContextEvent.java:
2685 2003-03-23 Eric Blake <ebb9@email.byu.edu>
2687 * java/lang/natStringBuffer.cc (regionMatches): New function.
2688 * java/lang/String.java (count): Now package-private.
2689 * java/lang/StringBuffer.java: Merged with Classpath.
2691 2003-03-23 Michael Koch <konqueror@gmx.de>
2693 * java/io/BufferedOutputStream.java:
2695 * java/io/BufferedReader.java:
2697 * java/io/ByteArrayOutputStream.java
2698 (size): Fixed @see tag.
2699 * java/io/CharArrayWriter.java
2700 (size): Fixed @see tag.
2701 * java/io/DataInput.java:
2703 * java/io/DataOutput.java:
2705 * java/io/DataOutputStream.java:
2706 Merged copyright years with classpath.
2707 * java/io/Externalizable.java:
2709 * java/io/FileFilter.java:
2711 * java/io/FileInputStream.java:
2712 Merged copyright years with classpath.
2713 * java/io/FileOutputStream.java:
2714 Merged copyright years with classpath.
2715 * java/io/FilePermission.java
2716 (FilePermission): Replaced @XXX with FIXME:.
2717 * java/io/FileWriter.java:
2719 * java/io/FilenameFilter.java:
2721 * java/io/FilterInputStream.java:
2723 * java/io/FilterOutputStream.java:
2725 * java/io/FilterReader.java:
2727 * java/io/FilterWriter.java:
2729 * java/io/LineNumberInputStream.java
2730 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
2732 (getLineNumber): Fixed @return tag.
2733 * java/io/ObjectInput.java:
2735 * java/io/ObjectOutput.java:
2737 * java/io/ObjectStreamClass.java:
2739 * java/io/PrintStream.java:
2740 Merged copyright years with classpath.
2741 * java/io/PushbackReader.java
2742 (PushbackReader): Replaced @code with @param.
2743 * java/io/SerializablePermission.java:
2745 * java/io/StreamTokenizer.java
2746 (resetSyntax): Fixed @see tag.
2748 2003-03-22 Richard Henderson <rth@redhat.com>
2750 * sysdep/ia64/locks.h: Include ia64intrin.h.
2751 (compare_and_swap): Use __sync_bool_compare_and_swap.
2752 (compare_and_swap_release): Expose ar.ccv assignment.
2754 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
2756 * include/posix.h: Add suffix for darwin dynamic libraries.
2758 2003-03-21 Michael Koch <konqueror@gmx.de>
2760 * javax/swing/Action.java
2761 (ACCELERATOR_KEY): New constant.
2762 (ACTION_COMMAND_KEY): Likewise.
2763 (MNEMONIC_KEY): Likewise.
2764 * javax/swing/UnsupportedLookAndFeelException.java
2765 (UnsupportedLookAndFeelException): Must be public.
2766 * javax/swing/WindowConstants.java
2767 (EXIT_ON_CLOSE): New constant.
2768 * javax/swing/text/BadLocationException.java
2769 (offset): New member variable.
2770 (BadLocationException): New implementation, documentation added.
2771 (offsetRequested): New method.
2772 * javax/swing/text/Caret.java:
2774 * javax/swing/text/Document.java:
2777 2003-03-21 Michael Koch <konqueror@gmx.de>
2779 * java/rmi/activation/Activatable.java
2780 (serialVersionUID): New member variable.
2781 * java/rmi/activation/ActivationGroup.java
2782 (serialVersionUID): New member variable.
2783 * java/rmi/activation/ActivationGroupDesc.java
2784 (serialVersionUID): New member variable.
2785 * java/rmi/registry/Registry.java:
2787 (Registry): Deprecated.
2788 * java/rmi/server/LoaderHandler.java
2790 (LoaderHandler): Deprecated.
2791 * java/rmi/server/LogStream.java
2793 (LogStream): Deprecated.
2794 * java/rmi/server/Operation.java
2795 (Operation): Deprecated.
2796 * java/rmi/server/RMIFailureHandler.java:
2798 * java/rmi/server/RMISocketFactory.java:
2800 * java/rmi/server/RemoteCall.java
2801 (RemoteCall): Deprecated.
2802 * java/rmi/server/RemoteStub.java:
2804 * java/rmi/server/Skeleton.java
2806 (Skeleton): Deprecated.
2808 2003-03-21 Michael Koch <konqueror@gmx.de>
2810 * java/io/LineNumberReader.java
2811 (LineNumberReader): Merged documentation with classpath.
2812 (getLineNumber): Likewise.
2813 (setLineNumber): Likewise.
2817 (readLine): Likewise.
2820 2003-03-21 Michael Koch <konqueror@gmx.de>
2822 * java/rmi/RMISecurityManager.java
2823 (checkAccept): Removed.
2824 (checkAccess): Likewise.
2825 (checkAccess): Likewise.
2826 (checkAwtEventQueueAccess): Likewise.
2827 (checkConnect): Likewise.
2828 (checkCreateClassLoader): Likewise.
2829 (checkDelete): Likewise.
2830 (checkExec): Likewise.
2831 (checkExit): Likewise.
2832 (checkLink): Likewise.
2833 (checkListen): Likewise.
2834 (checkMemberAccess): Likewise.
2835 (checkMulticast): Likewise.
2836 (checkPackageAccess): Likewise.
2837 (checkPackageDefinition): Likewise.
2838 (checkPermission): Likewise.
2839 (checkPrintJobAccess): Likewise.
2840 (checkPropertiesAccess): Likewise.
2841 (checkPropertyAccess): Likewise.
2842 (checkRead): Likewise.
2843 (checkSecurityAccess): Likewise.
2844 (checkSetFactory): Likewise.
2845 (checkSystemClipboardAccess): Likewise.
2846 (checkTopLevelWindow): Likewise.
2847 (checkWrite): Likewise.
2849 2003-03-20 Michael Koch <konqueror@gmx.de>
2851 * gnu/java/nio/FileChannelImpl.java
2853 (map_address): New member variable.
2854 (length): Make it package private.
2855 (fd): Make it package private.
2856 (buf): Make it package private.
2857 (file_obj): Make it package private.
2858 (FileChannelImpl): New constructor.
2859 (nio_mmap_file): Use RawData instead of long.
2860 (nio_munmap_file): Use RawData instead of long.
2861 (nio_msync): Use RawData instead of long.
2862 (implCloseChannel): New implementation using map_address.
2865 (create_direct_mapped_buffer): Implemented, use RawData, throws
2867 (force): Use map_address instead of address.
2868 * gnu/java/nio/MappedByteFileBuffer.java
2870 (map_address): New member variable.
2871 (MappedByteFileBuffer): Use map_address instead of address, reformated.
2872 (several methods): Use map_address instead of address, replaced long
2873 with RawData where appropriate.
2874 * gnu/java/nio/natFileChannelImpl.cc
2875 (nio_mmap_file): Replaced long with RawData.
2876 (nio_munmap_file): Replaced long with RawData.
2877 (nio_msync): Replaced long with RawData.
2878 * gnu/java/nio/natMappedByteFileBuffer.cc
2879 (several methods): Replaced long with RawData where appropriate.
2881 2003-03-20 Michael Koch <konqueror@gmx.de>
2883 * java/net/InetAddress.java,
2884 java/net/JarURLConnection.java,
2885 java/net/PlainDatagramSocketImpl.java,
2886 java/net/PlainSocketImpl.java,
2887 java/net/URLConnection.java:
2888 Merged copyright statements with classpath for easier merging.
2890 2003-03-20 Michael Koch <konqueror@gmx.de>
2892 * java/io/FileInputStream.java
2893 (getChannel): New implementation.
2894 * java/io/FileOutputStream.java
2895 (ch): New member variable.
2896 (getChannel): Implemented.
2897 * java/io/RandomAccessFile.java
2898 (RandomAccessFile): Throws FileNotFoundException instead of
2900 (getChannel): New method.
2901 (ch): New member variable.
2903 2003-03-20 Michael Koch <konqueror@gmx.de>
2905 * java/io/DataOutputStream.java,
2907 java/io/FileInputStream.java,
2908 java/io/FileOutputStream.java,
2909 java/io/InputStreamReader.java,
2910 java/io/LineNumberReader.java,
2911 java/io/OutputStreamWriter.java,
2912 java/io/PrintStream.java,
2913 java/io/RandomAccessFile.java:
2914 Merged copyright statements with classpath for easier merging.
2916 2003-03-19 Michael Koch <konqueror@gmx.de>
2918 * java/lang/Process.java:
2919 Merged from classpath.
2921 2003-03-19 Michael Koch <konqueror@gmx.de>
2923 * java/io/FileOutputStream.java
2924 (FileOutputStream): New constructor, merged from classpath.
2925 * java/io/FileWriter.java
2926 (FileWriter): New constructor, merged from classpath.
2928 2003-03-18 Michael Koch <konqueror@gmx.de>
2930 * java/awt/ScrollPane.java
2931 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
2932 (getViewportSize): Likewise.
2933 (addNotify): Likewise.
2934 (removeNotify): Likewise.
2935 * java/awt/ScrollPaneAdjustable.java
2936 (ScrollPaneAdjustable): No longer extends Scrollbar.
2937 * java/beans/beancontext/BeanContextServices.java:
2939 (getService): Added throws TooManyListenersException;
2940 * java/beans/beancontext/BeanContextServicesSupport.java:
2943 2003-03-18 Michael Koch <konqueror@gmx.de>
2945 * java/io/BufferedOutputStream.java,
2946 java/io/DataInput.java,
2947 java/io/DataInputStream.java,
2948 java/io/DataOutput.java,
2949 java/io/Externalizable.java:
2950 More merges from classpath.
2952 2003-03-18 Michael Koch <konqueror@gmx.de>
2954 * configure.in: Fixed links to platform dependant java.net files.
2955 * configure: Regenerated.
2956 * java/net/natInetAddress.cc,
2957 java/net/natNetworkInterface.cc,
2958 java/net/natPlainDatagramSocketImpl.cc,
2959 java/net/natPlainSocketImpl.cc:
2962 2003-03-18 Michael Koch <konqueror@gmx.de>
2964 * configure.in: Create links to architecture dependent files,
2965 introduced PLATFORMNET variable (set to NoNet for newlib usage).
2966 * configure: Regenerated.
2967 * java/net/natInetAddressNoNet.cc,
2968 java/net/natInetAddressPosix.cc,
2969 java/net/natInetAddressWin32.cc,
2970 java/net/natNetworkInterfaceNoNet.cc,
2971 java/net/natNetworkInterfacePosix.cc,
2972 java/net/natNetworkInterfaceWin32.cc,
2973 java/net/natPlainDatagramSocketImplNoNet.cc,
2974 java/net/natPlainDatagramSocketImplPosix.cc,
2975 java/net/natPlainDatagramSocketImplWin32.cc,
2976 java/net/natPlainSocketImplNoNet.cc,
2977 java/net/natPlainSocketImplPosix.cc,
2978 java/net/natPlainSocketImplWin32.cc: New files.
2980 2003-03-18 Michael Koch <konqueror@gmx.de>
2982 * java/io/BufferedReader.java,
2983 java/io/BufferedWriter.java,
2984 java/io/ByteArrayOutputStream.java,
2985 java/io/FileFilter.java,
2986 java/io/FilePermission.java,
2987 java/io/FileReader.java,
2988 java/io/FileWriter.java,
2989 java/io/FilenameFilter.java,
2990 java/io/FilterInputStream.java,
2991 java/io/FilterOutputStream.java,
2992 java/io/FilterReader.java,
2993 java/io/FilterWriter.java,
2994 java/io/ObjectInput.java,
2995 java/io/ObjectInputValidation.java,
2996 java/io/ObjectOutput.java,
2997 java/io/ObjectStreamField.java,
2998 java/io/PipedInputStream.java,
2999 java/io/PipedReader.java,
3000 java/io/PrintWriter.java,
3001 java/io/PushbackReader.java,
3002 java/io/Reader.java,
3003 java/io/SerializablePermission.java,
3004 java/io/StringReader.java,
3005 java/io/Writer.java:
3006 Merged from classpath.
3008 2003-03-17 Michael Koch <konqueror@gmx.de>
3010 * java/awt/ScrollPaneAdjustable.java:
3013 2003-03-17 Michael Koch <konqueror@gmx.de>
3015 * java/net/DatagramSocket.java
3016 (connect): Fixed comment.
3017 * java/nio/ByteBuffer.java
3018 (hasArray): Fixed comment.
3020 2003-03-17 Michael Koch <konqueror@gmx.de>
3022 * java/beans/Beans.java:
3023 Explicitely import classes not packages.
3024 * java/beans/FeatureDescriptor.java
3025 (preferred): New member variable.
3026 (isPreferred): New method.
3027 (setPreferred): New method.
3028 * java/beans/PropertyEditorManager.java:
3029 Explicitely import used classes.
3030 * java/beans/beancontext/BeanContextChild.java:
3031 Added line wrapping.
3032 * java/beans/beancontext/BeanContextChildSupport.java:
3034 * java/beans/beancontext/BeanContextEvent.java:
3037 2003-03-17 Michael Koch <konqueror@gmx.de>
3039 * java/awt/Dialog.java
3040 (Dialog): New constructor, changed implementations, added
3042 * java/awt/ScrollPaneAdjustable.java
3043 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
3045 (serialVersionUID): New member variable.
3046 (sp): New member variable.
3047 (orientation): New member variable.
3048 (value): New member variable.
3049 (minimum): New member variable.
3050 (maximum): New member variable.
3051 (visibleAmount): New member variable.
3052 (unitIncrement): New member variable.
3053 (blockIncrement): New member variable.
3054 (AdjustmentListener): New member variable.
3055 (ScrollPaneAdjustable): New implementation.
3056 (addAdjustmentListener): New method.
3057 (removeAdjustmentListener): New method.
3058 (getAdjustmentListeners): New method.
3059 (getBlockIncrement): New method.
3060 (getMaximum): New method.
3061 (getMinimum): New method.
3062 (getOrientation): New method.
3063 (getUnitIncrement): New method.
3064 (getValue): New method.
3065 (getVisibleAmount): New method.
3066 (setBlockIncrement): New method.
3067 (setMaximum): Implemented.
3068 (setMinimum): Implemented.
3069 (setUnitIncrement): New method.
3070 (setValue): New method.
3071 (setVisibleAmount): Implemented.
3072 (paramString): New stubbed method.
3073 * java/awt/Window.java
3074 (show): Call setVisible().
3075 (hide): Call setVisible().
3076 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
3077 and WINDOW_STATE_CHANGED.
3078 (processWindowFocusEvent): New method.
3079 (processWindowStateEvent): New method.
3080 (postEvent): Deprecated.
3081 (applyResourceBundle): Deprecated.
3082 * java/awt/datatransfer/DataFlavor.java
3083 (DataFlavor): Doesn't thow ClassNotFoundException.
3085 2003-03-17 Michael Koch
3087 * javax/print/attribute/Attribute.java,
3088 javax/print/attribute/AttributeSet.java,
3089 javax/print/attribute/PrintRequestAttributeSet.java:
3092 (javax_source_files): Added new files:
3093 javax/print/attribute/Attribute.java
3094 javax/print/attribute/AttributeSet.java
3095 javax/print/attribute/PrintRequestAttributeSet.java
3096 * Makefile.in: Regenerated.
3098 2003-03-17 Michael Koch
3100 * javax/print/attribute/Attribute.java,
3101 javax/print/attribute/AttributeSet.java,
3102 javax/print/attribute/PrintRequestAttributeSet.java:
3105 (awt_java_source_files): Added new files:
3106 javax/print/attribute/Attribute.java
3107 javax/print/attribute/AttributeSet.java
3108 javax/print/attribute/PrintRequestAttributeSet.java
3109 * Makefile.in: Regenerated.
3111 2003-03-16 Tom Tromey <tromey@redhat.com>
3113 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
3115 * java/lang/natRuntime.cc (insertSystemProperties): Use
3116 _Jv_platform_path_separator.
3117 (nativeGetLibname): Use _Jv_platform_file_separator.
3118 (_load): Use _Jv_platform_onload_names.
3119 (onload_names): New global.
3120 * include/win32.h (_Jv_platform_file_separator): New define.
3121 (_Jv_platform_path_separator): Likewise.
3122 (_Jv_platform_onload_names): Likewise.
3123 (_Jv_platform_ffi_abi): Likewise.
3124 * include/posix.h (_Jv_platform_file_separator): New define.
3125 (_Jv_platform_path_separator): Likewise.
3126 (_Jv_platform_onload_names): Likewise.
3127 (_Jv_platform_ffi_abi): Likewise.
3129 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
3131 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
3133 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
3135 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
3137 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
3138 list to Object,ObjectStreamClass, moved callReadMethod code up into
3139 readObject and added Class argument to all setXxxField calls.
3140 (callReadMethod): Changed Class argument to ObjectStreamClass to be
3141 consistent with ObjectOutputStream and to facilitate caching the
3142 Method in the future.
3143 (setBooleanField): Added Class argument.
3144 (setByteField): Likewise.
3145 (setCharField): Likewise.
3146 (setDoubleField): Likewise.
3147 (setFloatField): Likewise.
3148 (setIntField): Likewise.
3149 (setLongField): Likewise.
3150 (setShortField): Likewise.
3151 (setObjectField): Likewise.
3152 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
3153 class hierarchy loop.
3154 (defaultWriteObject): Call writeFields with new argument list.
3155 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
3156 list to Object,ObjectStreamClass, moved callWriteMethod up into
3157 writeObject and added Class argument to all getXxxField calls.
3158 (callWriteMethod): Added ObjectStreamClass argument to be able to
3159 get the proper class to call getMethod on (each class can have (or
3160 not have) its own writeObject method).
3161 (getBooleanField): Added Class argument.
3162 (getByteField): Likewise.
3163 (getCharField): Likewise.
3164 (getDoubleField): Likewise.
3165 (getFloatField): Likewise.
3166 (getIntField): Likewise.
3167 (getLongField): Likewise.
3168 (getShortField): Likewise.
3169 (getObjectField): Likewise.
3170 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
3171 facilitate caching the Method object in the future.
3173 2003-03-12 Andreas Schwab <schwab@suse.de>
3175 * configure.in: Avoid trailing /. in toolexeclibdir.
3176 * configure: Rebuilt.
3178 2003-03-11 Michael Koch <konqueror@gmx.de>
3180 * gnu/java/nio/ByteBufferImpl.java
3181 (putInt): Use limit() instead of limit.
3182 * gnu/java/nio/CharBufferImpl.java
3183 (slice): Fixed implementation.
3184 (subSequence): Better bounds checking.
3185 * gnu/java/nio/MappedByteFileBuffer.java:
3186 Import all needed classes directly.
3187 * java/nio/ByteBuffer.java
3188 (hashCode): New dummy method.
3189 * java/nio/CharBuffer.java
3190 (array_offset): New member variable.
3191 (hasArray): Fixed documentation.
3192 (arrayOffset): Return array_offset.
3194 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
3196 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
3197 setter; made return value of getter const char* instead of char*
3198 * prims.cc: removed all references to _Jv_ThisExecutable().
3199 These are in the platform-specific sections now.
3200 * posix.cc: define platform-specific _Jv_ThisExecutable().
3201 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
3202 * win32.cc: define platform-specific _Jv_ThisExecutable()
3203 using GetModuleFilename()
3204 * java/lang/natRuntime.cc: set gnu.gcj.progname property
3205 to argv[0] instead of _Jv_ThisExecutable()
3207 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
3209 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
3210 that is set if we are using addr2name.awk instead of addr2line.
3211 (NameFinder): Set usingAddr2name if using addr2name.awk.
3212 (getExternalLabel): New native method to convert a method
3213 name to an external label.
3214 (lookup): Convert name given by addr2line to an external label
3217 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
3218 constant representing the prefix attached to method names to
3219 convert them to an external label.
3220 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
3223 2003-03-10 Tom Tromey <tromey@redhat.com>
3225 * Makefile.in: Rebuilt.
3226 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
3227 (JC1FLAGS): Removed -Wno-deprecated.
3229 2003-03-10 Michael Koch <konqueror@gmx.de>
3231 * java/nio/ByteOrder.java
3232 (nativeOrder): Working implementation, added documentation.
3233 (toString): Added documentation.
3235 2003-03-10 Michael Koch <konqueror@gmx.de>
3237 * java/net/DatagramSocket.java,
3238 java/net/MulticastSocket.java,
3239 java/net/Socket.java,
3241 java/net/URLConnection.java:
3242 Fixed some documentation tags to make javadoc and friends happy.
3244 2003-03-10 Michael Koch <koqnueror@gmx.de>
3246 * java/beans/beancontext/BeanContextServicesSupport.java,
3247 java/beans/beancontext/BeanContextSupport.java: New files.
3249 (awt_source_files): Added new files.
3250 * Makefile.in: Regenerated.
3252 2003-03-10 Michael Koch <konqueror@gmx.de>
3254 * java/awt/FocusTraversalPolicy.java
3255 (FocusTraversalPolicy): Documentation added.
3256 (getComponentAfter): Documentation added.
3257 (getComponentBefore): Documentation added.
3258 (getFirstComponent): Documentation added.
3259 (getLastComponent): Documentation added.
3260 (getDefaultComponent): Documentation added.
3261 (getInitialComponent): Documentation added.
3262 * java/awt/ScrollPaneAdjustable.java
3263 (sp): New member variable.
3264 (orientation): New member variable.
3265 (value): New member variable.
3266 (minimum): New member variable.
3267 (maximum): New member variable.
3268 (visibleAmount): New member variable.
3269 (unitIncrement): New member variable.
3270 (blockIncrement): New member variable.
3271 (adjustmentListener): New member variable.
3272 (ScrollPaneAdjustable): Rewrote.
3273 (addAdjustmentListener): New method.
3274 (removeAdjustmentListener): New method.
3275 (getAdjustmentListeners): New method.
3276 (getBlockIncrement): New method.
3277 (getMaximum): New method.
3278 (getMinimum): New method.
3279 (getOrientation): New method.
3280 (getUnitIncrement): New method.
3281 (getValue): New method.
3282 (getVisibleAmount): New method.
3283 (setBlockIncrement): New method.
3284 (setUnitIncrement): New method.
3285 (setMaximum): Implemented.
3286 (setMinimum): Implemented.
3287 (setValue): New method.
3288 (setVisibleAmount): Implemented.
3289 (paramString): New method.
3290 * java/awt/Window.java
3291 (show): Use setVisible(true) instead of super.show().
3292 (hide): Use sevVisible(false) instead of super.hide().
3293 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
3294 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
3295 (postEvent): Deprecated.
3296 (applyResourceBundle): Deprecated.
3297 (processWindowFocusEvent): New method.
3298 (processWindowStateEvent): New method.
3299 * java/awt/datatransfer/DataFlavor.java: Reindented.
3300 * java/awt/font/TextHitInfo.java
3301 (charIndex): New member variable.
3302 (leadingEdge): New member variable.
3303 (TextHitInfo): New constructor.
3304 (getCharIndex): Implemented.
3305 (isLeadingEdge): Implemented.
3306 (getInsertionIndex): Implemented.
3307 (hashCode): Access charIndex directly.
3308 (equals): Reformated.
3309 (leading): Implemented.
3310 (trailing): Implemented.
3311 (beforeOffset): Implemented.
3312 (afterOffset): Implemented.
3313 (getOtherHit): Implemented.
3314 (getOffsetHit): Implemented.
3315 (toString): Implemented.
3316 * java/awt/image/BufferedImage.java
3317 (BufferedImage): Implements WritableRenderedImage.
3318 (observers): New member variable.
3319 (addTileObserver): New method.
3320 (removeTileObserver): New method.
3322 2003-03-09 Tom Tromey <tromey@redhat.com>
3325 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
3326 to lseek. Return 0 if we can't compute the value.
3328 2003-03-03 Michael Koch <konqueror@gmx.de>
3330 * java/net/NetworkInterface.java: Merged with classpath.
3332 2003-03-03 Tom Tromey <tromey@redhat.com>
3334 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
3336 (handle_ret_insn): Fail if returning to jsr that appears at end of
3339 2003-03-03 Michael Koch <konqueror@gmx.de>
3342 (ordinary_java_source_files):
3343 Added gnu/java/nio/MappedByteFileBuffer.java.
3345 Added gnu/java/nio/natMappedByteFileBuffer.cc.
3346 * Makefile.in: Regenerated.
3348 2003-03-03 Michael Koch <konqueror@gmx.de>
3350 * java/net/DatagramSocket.java
3351 (connect): Merged comment from classpath.
3352 (receive): Merged documentation from classpath.
3353 * java/net/Socket.java
3354 (setSoTimeout): Clarified documentation.
3356 (getPath): Merged from classpath.
3357 (getUserInfo): Merged from classpath.
3358 (getQuery): Merged from classpath.
3359 * java/net/URLStreamHandler.java
3360 (toExternalForm): Merged from classpath.
3362 2003-03-02 Mark Wielaard <mark@klomp.org>
3364 * java/util/Properties.java (load): Only skip line if the first
3365 character is a comment, whitespaces don't count.
3367 2003-03-02 Michael Koch <konqueror@gmx.de>
3369 * java/net/NetPermission.java:
3370 Merged copyright with classpath.
3372 2003-03-02 Michael Koch <konqueror@gmx.de>
3374 * java/lang/Package.java:
3375 Remerged from classpath.
3377 2003-03-02 Michael Koch <konqueror@gmx.de>
3379 * java/net/HttpURLConnection.java
3380 (HTTP_SERVER_ERROR): Deprecated.
3381 * java/net/MulticastSocket.java
3382 (send): Replaced checkMulticast with appropriate checkPermission call,
3384 * java/net/URLDecoder.java
3385 (decode): Deprecated.
3386 * java/net/URLEncoder.java
3387 (encode): Deprecated.
3389 2003-03-02 Michael Koch <konqueror@gmx.de>
3391 * javax/swing/text/Caret.java
3392 (getMagicCaretPosition): Fixed typo in method name.
3393 * javax/swing/text/DefaultCaret.java
3394 (getMagicCaretPosition): Fixed typo in method name.
3396 2003-03-02 Michael Koch <konqueror@gmx.de>
3398 * java/awt/List.java
3399 (setMultipleSelections): Deprecated.
3400 (delItem): Deprecated.
3401 * java/awt/MenuComponent.java
3402 (getPeer): Deprecated.
3403 * java/awt/ScrollPane.java
3404 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
3405 * java/awt/dnd/MouseDragGestureRecognizer.java
3406 (mouseClicked): Added comment.
3407 (mousePressed): Added comment.
3408 (mouseReleased): Added comment.
3409 (mouseEntered): Added comment.
3410 (mouseExited): Added comment.
3411 (mouseDragged): Added comment.
3412 (mouseMoved): Added comment.
3413 * java/awt/event/KeyEvent.java
3414 (KeyEvent): Deprecated.
3415 (setModifiers): Deprecated.
3417 2003-03-02 Michael Koch <konqueror@gmx.de>
3419 * gnu/java/nio/FileChannelImpl.java
3420 (fd): Type FileDescriptor instead of int.
3421 (lengthInternal): Removed.
3422 (FileChannelImpl): Fixed arguments, check type of file object.
3423 (size): Made it native.
3424 (implPosition): New native method.
3425 (implTruncate): New native method.
3426 (position): Implemented.
3427 (truncate): Implemented.
3428 (nio_mmap_file): Changed arguments.
3429 (nio_munmap_file): Changed arguments.
3430 (nio_msync): Changed arguments.
3431 * gnu/java/nio/natFileChannelImpl.cc
3432 (lengthInternal): Removed.
3434 (implPosition): New method.
3435 (implTruncate): New method.
3436 (nio_mmap_file): Changed arguments.
3437 (nio_munmap_file): Changed arguments.
3438 (nio_msync): Changed arguments.
3440 2003-03-02 Michael Koch <konqueror@gmx.de>
3442 * java/awt/dnd/DropTargetContext.java:
3443 Compile fix: Forgot to commit import.
3445 2003-03-02 Michael Koch <konqueror@gmx.de>
3447 * java/awt/Component.java,
3448 java/awt/ScrollPane.java:
3451 2003-03-02 Michael Koch <konqueror@gmx.de>
3453 * java/awt/dnd/DnDEventMulticaster.java: New file.
3454 * java/awt/dnd/DragSource.java
3455 (flavorMap): New member variable.
3456 (dragSourceListener): New member variable.
3457 (dragSourceMotionListener): New member variable.
3458 (getFlavorMap): Implemented.
3459 (createDragGestureRecognizer): Implemented.
3460 (addDragSourceListener): Implemented.
3461 (removeDragSourceListener): Implemented.
3462 (getDragSourceListeners): Implemented.
3463 (addDragSourceMotionListener): Implemented.
3464 (removeDragSourceMotionListener): Implemented.
3465 (getDragSourceMotionListeners): Implemented.
3466 (getListeners): Implemented.
3467 * java/awt/dnd/DragSourceContext.java
3468 (peer): New member variable.
3469 (cursor): New member variable.
3470 (transferable): New member variable.
3471 (trigger): New member variable.
3472 (dragSourceListener): New member variable.
3473 (image): New member variable.
3474 (offset): New member variable.
3475 (DragSourceContext): Implemented.
3476 (getDragSource): Implemented.
3477 (getComponent): Implemented.
3478 (getTrigger): Implemented.
3479 (getSourceActions): Implemented.
3480 (setCursor): Implemented.
3481 (getCursor): Implemented.
3482 (addDragSourceListener): Implemented.
3483 (removeDragSourceListener): Implemented.
3484 (getTransferable): Implemented.
3485 * java/awt/dnd/DropTarget.java
3486 (DropTargetAutoScroller.component): New member variable.
3487 (DropTargetAutoScroller.point): New member variable.
3488 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
3489 (DropTargetAutoScroller.updateLocation): Implemented.
3490 (active): Renamed from isActive, defaults to true now.
3491 (component): New member variable.
3492 (flavorMap): New member variable.
3493 (actions): New member variable.
3494 (dropTargetContext): New member variable.
3495 (dropTargetListener): New member variable.
3496 (DropTarget): Implemented.
3497 (getComponent): Implemented.
3498 (setComponent): Implemented.
3499 (setDefaultActions): Implemented.
3500 (getDefaultActions): Implemented.
3501 (setActive): Use active instead of isActive.
3502 (isActive): Use active instead of isActive.
3503 (addDropTargetListener): Implemented.
3504 (removeDropTargetListener): Implemented.
3505 (getFlavorMap): Implemented.
3506 (setFlavorMap): Implemented.
3507 (getDropTargetContext): Implemented.
3508 (createDropTargetContext): Implemented.
3509 (createDropTargetAutoScroller): Implemented.
3510 * java/awt/dnd/DropTargetContext.java
3511 (TransferableProxy.getTransferDataFlavors): Implemented.
3512 (TransferableProxy.isDataFlavorSupported): Implemented.
3513 (TransferableProxy.getTransferData): Implemented.
3514 (dropTarget): New member variable.
3515 (dtcp): New member variable.
3516 (DropTargetContext): New package private constructor.
3517 (getDropTarget): Implemented.
3518 (getComponent): Implemented.
3519 (addNotify): Implemented.
3520 (removeNotify): Implemented.
3521 (getCurrentDataFlavorsAsList): Implemented.
3522 (isDataFlavorSupported): Implemented.
3523 * java/awt/dnd/MouseDragGestureRecognizer.java
3524 (registerListeners): Implemented.
3525 (unregisterListeners): Implemented.
3527 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
3528 * Makefile.in: Regenerated.
3530 2003-03-02 Michael Koch <konqueror@gmx.de>
3532 * java/awt/Component.java
3533 (eventTypeEnabled): New method.
3534 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
3535 * java/awt/Container.java
3536 (changeSupport): New member variable.
3537 (addPropertyChangeListener): New methods.
3538 * java/awt/ContainerOrderFocusTraversalPolicy.java
3539 (ContainerOrderFocusTraversalPolicy): Added comment.
3540 (getComponentAfter): Throw exception, documentation added.
3541 (getComponentBefore): Throw exception, documentation added.
3542 (getFirstComponent): Throw exception, documentation added.
3543 (getLastComponent): Throw exception, documentation added.
3544 (getDefaultComponent): Throw exception, documentation added.
3545 * java/awt/EventQueue.java: Reindented.
3546 * java/awt/FocusTraversalPolicy.java:
3547 (FocusTraversalPolicy): Added comment.
3548 (getComponentAfter): Documentation added.
3549 (getComponentBefore): Documentation added.
3550 (getFirstComponent): Documentation added.
3551 (getLastComponent): Documentation added.
3552 (getDefaultComponent): Documentation added.
3553 (getInitialComponent): Documentation added.
3554 * java/awt/ScrollPane.java
3555 (wheelScrollingEnabled): New member variable.
3556 (ScrollPane): Initialize wheelScollingEnabled.
3557 (eventTypeEnabled): New method.
3558 (isWheelScrollingEnabled): New method.
3559 (setWheelScrollingEnabled): New method.
3561 2003-03-02 Michael Koch <konqueror@gmx.de>
3563 * java/net/DatagramSocket.java
3564 (closed): New member variable.
3565 (close): Use closed variable.
3566 (getInetAddress): No need to call isConnected().
3567 (getPort): No need to call isConnected().
3568 (disconnect): Reset remoteAddress and remotePort, fixed typo.
3569 (isClosed): Reimplemented.
3571 2003-03-02 Michael Koch <konqueror@gmx.de>
3573 * configure.in: Added check for memory mapping of files.
3574 * configure: Regenerated.
3575 * config.h.in: Regenerated.
3577 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
3579 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
3580 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
3582 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3584 * java/io/File.java (normalizePath): Remove trailing separator
3585 on Windows only if path is not of the form "x:\".
3587 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
3588 (java::io::File::attr): Change formatting a bit and use
3589 WIN32_EPOCH_MILLIS instead of magic numbers.
3590 (java::io::File::isAbsolute): Path must have at least 3
3591 characters for a UNC network path.
3592 (java::io::File::init_native): Define.
3593 (java::io::File::performCreate): Likewise.
3594 (java::io::File::performSetReadOnly): Likewise.
3595 (java::io::File::performSetLastModified): Likewise.
3596 (java::io::File::performListRoots): Likewise.
3598 2003-03-01 Tom Tromey <tromey@redhat.com>
3600 * java/lang/natObject.cc: Don't include assert.h.
3601 (heavy_lock_obj_finalization_proc): Use JvAssert.
3602 (remove_all_heavy): Likewise.
3603 (_Jv_MonitorEnter): Likewise.
3604 (_Jv_MonitorExit): Likewise.
3607 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
3609 * java/io/File (getAbsolutePath): Prefix drive specifier on
3610 Windows for paths starting with a '\'.
3611 (toURL): Make URL more consistent with what Sun's JDK returns.
3613 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
3614 true only if the path is a UNC network path or it starts with a
3617 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
3618 Be prepared to handle either '/' or '\\' in the file path for
3619 Windows if using the "file" protocol.
3620 Canonicalise the file path if using a relative path in the given
3621 context and the "file" protocol.
3623 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
3625 * java/lang/natWin32Process.cc (startProcess): Double-quote each
3626 program array element passed to CreateProcess.
3628 2003-03-01 Tom Tromey <tromey@redhat.com>
3630 * java/rmi/registry/RegistryHandler.java: Deprecate.
3632 2003-03-01 Tom Tromey <tromey@redhat.com>
3634 * javax/accessibility/AccessibleEditableText.java,
3635 javax/accessibility/AccessibleHyperlink.java: New versions from
3638 * gnu/java/locale/LocaleInformation_af_ZA.java,
3639 gnu/java/locale/LocaleInformation_ar_AE.java,
3640 gnu/java/locale/LocaleInformation_ar_BH.java,
3641 gnu/java/locale/LocaleInformation_ar_DZ.java,
3642 gnu/java/locale/LocaleInformation_ar_EG.java,
3643 gnu/java/locale/LocaleInformation_ar_IN.java,
3644 gnu/java/locale/LocaleInformation_ar_IQ.java,
3645 gnu/java/locale/LocaleInformation_ar_JO.java,
3646 gnu/java/locale/LocaleInformation_ar_KW.java,
3647 gnu/java/locale/LocaleInformation_ar_LB.java,
3648 gnu/java/locale/LocaleInformation_ar_LY.java,
3649 gnu/java/locale/LocaleInformation_ar_MA.java,
3650 gnu/java/locale/LocaleInformation_ar_OM.java,
3651 gnu/java/locale/LocaleInformation_ar_QA.java,
3652 gnu/java/locale/LocaleInformation_ar_SD.java,
3653 gnu/java/locale/LocaleInformation_ar_SY.java,
3654 gnu/java/locale/LocaleInformation_ar_TN.java,
3655 gnu/java/locale/LocaleInformation_ar_YE.java,
3656 gnu/java/locale/LocaleInformation_be_BY.java,
3657 gnu/java/locale/LocaleInformation_bn_IN.java,
3658 gnu/java/locale/LocaleInformation_br_FR.java,
3659 gnu/java/locale/LocaleInformation_bs_BA.java,
3660 gnu/java/locale/LocaleInformation_ca_ES.java,
3661 gnu/java/locale/LocaleInformation_cs_CZ.java,
3662 gnu/java/locale/LocaleInformation_cy_GB.java,
3663 gnu/java/locale/LocaleInformation_da_DK.java,
3664 gnu/java/locale/LocaleInformation_de_AT.java,
3665 gnu/java/locale/LocaleInformation_de_BE.java,
3666 gnu/java/locale/LocaleInformation_de_CH.java,
3667 gnu/java/locale/LocaleInformation_de_DE.java,
3668 gnu/java/locale/LocaleInformation_de_LU.java,
3669 gnu/java/locale/LocaleInformation_el_GR.java,
3670 gnu/java/locale/LocaleInformation_en_AU.java,
3671 gnu/java/locale/LocaleInformation_en_BW.java,
3672 gnu/java/locale/LocaleInformation_en_CA.java,
3673 gnu/java/locale/LocaleInformation_en_DK.java,
3674 gnu/java/locale/LocaleInformation_en_GB.java,
3675 gnu/java/locale/LocaleInformation_en_HK.java,
3676 gnu/java/locale/LocaleInformation_en_IE.java,
3677 gnu/java/locale/LocaleInformation_en_IN.java,
3678 gnu/java/locale/LocaleInformation_en_NZ.java,
3679 gnu/java/locale/LocaleInformation_en_PH.java,
3680 gnu/java/locale/LocaleInformation_en_SG.java,
3681 gnu/java/locale/LocaleInformation_en_US.java,
3682 gnu/java/locale/LocaleInformation_en_ZA.java,
3683 gnu/java/locale/LocaleInformation_en_ZW.java,
3684 gnu/java/locale/LocaleInformation_es_AR.java,
3685 gnu/java/locale/LocaleInformation_es_BO.java,
3686 gnu/java/locale/LocaleInformation_es_CL.java,
3687 gnu/java/locale/LocaleInformation_es_CO.java,
3688 gnu/java/locale/LocaleInformation_es_CR.java,
3689 gnu/java/locale/LocaleInformation_es_DO.java,
3690 gnu/java/locale/LocaleInformation_es_EC.java,
3691 gnu/java/locale/LocaleInformation_es_ES.java,
3692 gnu/java/locale/LocaleInformation_es_GT.java,
3693 gnu/java/locale/LocaleInformation_es_HN.java,
3694 gnu/java/locale/LocaleInformation_es_MX.java,
3695 gnu/java/locale/LocaleInformation_es_NI.java,
3696 gnu/java/locale/LocaleInformation_es_PA.java,
3697 gnu/java/locale/LocaleInformation_es_PE.java,
3698 gnu/java/locale/LocaleInformation_es_PR.java,
3699 gnu/java/locale/LocaleInformation_es_PY.java,
3700 gnu/java/locale/LocaleInformation_es_SV.java,
3701 gnu/java/locale/LocaleInformation_es_US.java,
3702 gnu/java/locale/LocaleInformation_es_UY.java,
3703 gnu/java/locale/LocaleInformation_es_VE.java,
3704 gnu/java/locale/LocaleInformation_et_EE.java,
3705 gnu/java/locale/LocaleInformation_eu_ES.java,
3706 gnu/java/locale/LocaleInformation_fa_IR.java,
3707 gnu/java/locale/LocaleInformation_fi_FI.java,
3708 gnu/java/locale/LocaleInformation_fo_FO.java,
3709 gnu/java/locale/LocaleInformation_fr_BE.java,
3710 gnu/java/locale/LocaleInformation_fr_CA.java,
3711 gnu/java/locale/LocaleInformation_fr_CH.java,
3712 gnu/java/locale/LocaleInformation_fr_FR.java,
3713 gnu/java/locale/LocaleInformation_fr_LU.java,
3714 gnu/java/locale/LocaleInformation_ga_IE.java,
3715 gnu/java/locale/LocaleInformation_gd_GB.java,
3716 gnu/java/locale/LocaleInformation_gl_ES.java,
3717 gnu/java/locale/LocaleInformation_gv_GB.java,
3718 gnu/java/locale/LocaleInformation_he_IL.java,
3719 gnu/java/locale/LocaleInformation_hi_IN.java,
3720 gnu/java/locale/LocaleInformation_hr_HR.java,
3721 gnu/java/locale/LocaleInformation_hu_HU.java,
3722 gnu/java/locale/LocaleInformation_id_ID.java,
3723 gnu/java/locale/LocaleInformation_it_CH.java,
3724 gnu/java/locale/LocaleInformation_it_IT.java,
3725 gnu/java/locale/LocaleInformation_iw_IL.java,
3726 gnu/java/locale/LocaleInformation_ja_JP.java,
3727 gnu/java/locale/LocaleInformation_ka_GE.java,
3728 gnu/java/locale/LocaleInformation_kl_GL.java,
3729 gnu/java/locale/LocaleInformation_ko_KR.java,
3730 gnu/java/locale/LocaleInformation_kw_GB.java,
3731 gnu/java/locale/LocaleInformation_lt_LT.java,
3732 gnu/java/locale/LocaleInformation_lv_LV.java,
3733 gnu/java/locale/LocaleInformation_mi_NZ.java,
3734 gnu/java/locale/LocaleInformation_mk_MK.java,
3735 gnu/java/locale/LocaleInformation_mr_IN.java,
3736 gnu/java/locale/LocaleInformation_mt_MT.java,
3737 gnu/java/locale/LocaleInformation_nl_BE.java,
3738 gnu/java/locale/LocaleInformation_nl_NL.java,
3739 gnu/java/locale/LocaleInformation_nn_NO.java,
3740 gnu/java/locale/LocaleInformation_no_NO.java,
3741 gnu/java/locale/LocaleInformation_oc_FR.java,
3742 gnu/java/locale/LocaleInformation_pl_PL.java,
3743 gnu/java/locale/LocaleInformation_pt_BR.java,
3744 gnu/java/locale/LocaleInformation_pt_PT.java,
3745 gnu/java/locale/LocaleInformation_ro_RO.java,
3746 gnu/java/locale/LocaleInformation_ru_RU.java,
3747 gnu/java/locale/LocaleInformation_ru_UA.java,
3748 gnu/java/locale/LocaleInformation_se_NO.java,
3749 gnu/java/locale/LocaleInformation_sk_SK.java,
3750 gnu/java/locale/LocaleInformation_sl_SI.java,
3751 gnu/java/locale/LocaleInformation_sq_AL.java,
3752 gnu/java/locale/LocaleInformation_sr_YU.java,
3753 gnu/java/locale/LocaleInformation_sv_FI.java,
3754 gnu/java/locale/LocaleInformation_sv_SE.java,
3755 gnu/java/locale/LocaleInformation_ta_IN.java,
3756 gnu/java/locale/LocaleInformation_te_IN.java,
3757 gnu/java/locale/LocaleInformation_tg_TJ.java,
3758 gnu/java/locale/LocaleInformation_tl_PH.java,
3759 gnu/java/locale/LocaleInformation_tr_TR.java,
3760 gnu/java/locale/LocaleInformation_uk_UA.java,
3761 gnu/java/locale/LocaleInformation_ur_PK.java,
3762 gnu/java/locale/LocaleInformation_uz_UZ.java,
3763 gnu/java/locale/LocaleInformation_vi_VN.java,
3764 gnu/java/locale/LocaleInformation_yi_US.java,
3765 gnu/java/locale/LocaleInformation_zh_CN.java,
3766 gnu/java/locale/LocaleInformation_zh_HK.java,
3767 gnu/java/locale/LocaleInformation_zh_SG.java,
3768 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
3769 info; from Classpath.
3771 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
3772 isPaintPending): New methods.
3773 * gnu/awt/xlib/XFramePeer.java (getState, setState,
3774 setMaximizedBounds): New methods.
3775 (beginLayout, endLayout, isPaintPending): Likewise.
3776 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
3777 (requestFocus): Likewise.
3778 (isObscured): Likewise.
3779 (canDetermineObscurity): Likewise.
3780 (coalescePaintEvent): Likewise.
3781 (updateCursorImmediately): Likewise.
3782 (createVolatileImage): Likewise.
3783 (handlesWheelScrolling): Likewise.
3784 (createBuffers): Likewise.
3785 (getBackBuffer): Likewise.
3787 (destroyBuffers): Likewise.
3789 * Makefile.in: Rebuilt.
3790 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
3792 * gnu/java/awt/GLightweightPeer.java,
3793 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
3794 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3795 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
3796 gnu/java/awt/peer/gtk/GtkFramePeer.java,
3797 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
3798 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
3799 java/awt/dnd/peer/DragSourceContextPeer.java,
3800 java/awt/dnd/peer/DropTargetContextPeer.java,
3801 java/awt/peer/ButtonPeer.java,
3802 java/awt/peer/CheckboxMenuItemPeer.java,
3803 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
3804 java/awt/peer/ComponentPeer.java,
3805 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
3806 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
3807 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
3808 java/awt/peer/MenuBarPeer.java,
3809 java/awt/peer/MenuComponentPeer.java,
3810 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
3811 java/awt/peer/PopupMenuPeer.java,
3812 java/awt/peer/ScrollPanePeer.java,
3813 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
3814 java/awt/peer/TextComponentPeer.java,
3815 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
3816 New versions from Classpath.
3817 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
3818 * java/awt/peer/RobotPeer.java: Likewise.
3820 2003-03-01 Mark Wielaard <mark@klomp.org>
3822 * java/io/ObjectInputStream.java: Reindent.
3823 * java/io/ObjectOutputStream.java: Likewise.
3825 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
3827 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
3828 jvalue for each argument. Simplify.
3829 * testsuite/libjava.jni/calls.c (docall),
3830 testsuite/libjava.jni/calls.java (longpb_f): check for argument
3833 2003-02-28 Mark Wielaard <mark@klomp.org>
3835 * Makefile.am (nat_source_files): Remove
3836 java/io/natObjectOutputStream.cc.
3837 * Makefile.in: Regenerated.
3838 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
3839 * java/io/ObjectStreamField.java (typename): New field.
3840 (ObjectStreamField(String, Class)): Initialize new field.
3841 (ObjectStreamField(String, String)): New Constructor.
3842 (getTypeCode): Use new field.
3843 (getTypeString): Use new field.
3844 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
3845 ObjectStreamExceptions. Remember and reset old BlockDataMode.
3846 Handle reading of Proxy classes. Never drain(), just write
3847 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
3848 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
3849 (flush): Call flush(), not just drain().
3850 (writeBoolean): Always use blockDataOutput.
3851 (writeByte): Likewise.
3852 (writeShort): Likewise.
3853 (writeChar): Likewise.
3854 (writeInt): Likewise.
3855 (writeLong): Likewise.
3856 (writeFloat): Likewise.
3857 (writeDouble): Likewise.
3858 (writeBytes): Likewise.
3859 (putfield (put(String,Object))): Throw IllegalArgumentException if
3860 field cannot be found.
3861 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
3862 (writeArraySizeAndElements): Write byte[] in one go.
3863 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
3864 set BlockDataMode to false.
3865 (annotateProxyClass): New method.
3866 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
3867 (getField): No longer native.
3868 (getMethod): Likewise.
3869 (setBlockDataMode): Always drain() on switch, return old mode.
3870 (static): New static code block.
3871 * java/io/natObjectOutputStream.cc: Removed.
3872 * java/io/ObjectInputStream.java (getField): No longer native.
3873 (getMethod): Likewise.
3874 (readObject): Remember and reset old BlockDataMode. Track whether
3875 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
3877 (defaultReadObject): Set BlockDataMode to false during readFields.
3878 (resolveClass): Create new SecurityManager if necessary.
3879 Use Class.forName() if null ClassLoader found.
3880 (read(byte[],int,int): Copy remaining bytes to data before calling
3882 (readFields): Set and reset BlockDataMode on call_read_method.
3883 Catch NoSuchFieldErrors.
3884 (setBlockDataMode): Return old mode.
3885 (static): New static code block.
3886 * java/io/natObjectInputStream.cc (getField): Removed.
3887 (getMethod): Likewise.
3889 2003-02-27 Michael Koch <konqueror@gmx.de>
3891 * java/beans/Beans.java,
3892 java/beans/FeatureDescriptor.java
3893 java/beans/PropertyEditorManager.java:
3894 Reformated to GNU style.
3896 2003-02-25 Michael Koch <konqueror@gmx.de>
3898 * gnu/java/nio/MappedByteFileBuffer.java,
3899 gnu/java/nio/natMappedByteFileBuffer.cc:
3900 New files, both are not compiled yet to get not noncompiling CVS.
3902 2003-02-24 Tom Tromey <tromey@redhat.com>
3904 * java/util/prefs/AbstractPreferences.java (isUserNode):
3907 2003-02-24 Tom Tromey <tromey@redhat.com>
3909 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
3911 * java/lang/Thread.java (resume): Deprecate.
3912 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
3915 2003-02-23 Tom Tromey <tromey@redhat.com>
3917 * Makefile.in: Rebuilt.
3918 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
3920 2003-02-23 Tom Tromey <tromey@redhat.com>
3922 * java/lang/natRuntime.cc (libraries_size, libraries_count,
3923 libraries): Removed.
3924 (add_library): Removed.
3925 (_load): Don't call add_library.
3926 (loadLibraryInternal): Likewise.
3928 (lookup_data): New struct.
3929 (find_symbol): New function.
3930 (_Jv_FindSymbolInExecutable): Use it.
3932 2002-02-21 Anthony Green <green@redhat.com>
3934 * java/lang/Thread.java (Thread): New constructor taking stack
3935 size parameter (ignored for now).
3936 * Many methods: Merged GNU Classpath documentation.
3938 * java/lang/Class.java (finalize): throws a Throwable.
3940 2003-02-21 Mark Wielaard <mark@klomp.org>
3942 * java/util/zip/ZipEntry.java (setComment): Don't check length when
3945 2003-02-21 Mark Wielaard <mark@klomp.org>
3947 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
3948 then 65535 chars throw IllegalArgumentException.
3950 2003-02-21 Mark Wielaard <mark@klomp.org>
3952 * java/util/zip/ZipFile.java (finalize): New method.
3954 2003-02-21 Michael Koch <konqueror@gmx.de>
3956 * gnu/java/nio/natSocketChannelImpl.cc:
3957 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
3958 <cato@df.lth.se> for pointing to it.
3960 2003-02-20 Raif S. Naffah <raif@fl.net.au>
3962 * java/math/BigInteger.java (euclidInv): Take result array as an
3963 argument. Updated all callers.
3964 (modInverse): Removed unused variables.
3966 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
3968 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3970 * configure: Rebuilt.
3972 2003-02-19 Michael Koch <konqueror@gmx.de>
3974 * gnu/java/nio/natSocketChannelImpl.cc:
3975 Added support for platforms without network support.
3977 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3979 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
3980 after config.h. Use <> for consistency.
3981 * java/lang/natObject.cc: Likewise.
3982 * java/lang/natRuntime.cc: Likewise.
3983 * java/lang/natSystem.cc: Likewise.
3984 * java/util/natTimeZone.cc: Likewise.
3985 * win32.cc: Likewise.
3986 * include/posix.h (fcntl, socket, connect, close, bind, accept,
3987 listen, write, read): Undef to avoid interference from OS macros.
3989 2003-02-19 Michael Koch <konqueror@gmx.de>
3991 * gnu/java/nio/ByteBufferImpl.java
3992 (ByteBufferImpl): Renamed two variables.
3993 * gnu/java/nio/CharBufferImpl.java
3994 (CharBufferImpl): Renamed two variables.
3995 * gnu/java/nio/DoubleBufferImpl.java
3996 (DoubleBufferImpl): Renamed two variables.
3997 * gnu/java/nio/FloatBufferImpl.java
3998 (FloatBufferImpl): Renamed two variables.
3999 * gnu/java/nio/IntBufferImpl.java
4000 (IntBufferImpl): Renamed two variables.
4001 * gnu/java/nio/LongBufferImpl.java
4002 (LongBufferImpl): Renamed two variables.
4003 * gnu/java/nio/ShortBufferImpl.java
4004 (ShortBufferImpl): Renamed two variables.
4005 * java/nio/CharBuffer.java
4006 (wrap): Fixed arguments to CharBufferImpl constructor.
4007 (hasArray): Only not read-only buffers have backing arrays.
4008 (length): Documentation added.
4009 (subSequence): Documentation added.
4010 * java/nio/DoubleBuffer.java
4011 (hasArray): Only not read-only buffers have backing arrays.
4012 * java/nio/FloatBuffer.java
4013 (hasArray): Only not read-only buffers have backing arrays.
4014 * java/nio/IntBuffer.java
4015 (hasArray): Only not read-only buffers have backing arrays.
4016 * java/nio/LongBuffer.java
4017 (hasArray): Only not read-only buffers have backing arrays.
4018 * java/nio/ShortBuffer.java
4019 (hasArray): Only not read-only buffers have backing arrays.
4021 2003-02-19 Michael Koch <konqueror@gmx.de>
4023 * javax/accessibility/AccessibleContext.java
4024 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
4026 2003-02-19 Michael Koch <konqueror@gmx.de>
4028 * java/awt/ScrollPaneAdjustable.java: Reformated.
4030 2003-02-19 Michael Koch <konqueror@gmx.de>
4032 * gnu/awt/j2d/Graphics2DImpl.java
4033 (getFontRenderContext): New method.
4034 (drawGlyphVector): New method.
4035 * java/awt/Graphics2D.java
4036 (getFontRenderContext): New abstract method.
4037 (drawGlyphVector): New abstract method.
4039 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
4041 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
4044 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
4045 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
4046 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
4047 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
4048 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
4049 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
4050 (setFont, gtkSetFont): add.
4051 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
4052 Propagate font to peer. (setFont): add FIXME comment.
4054 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
4055 (gtkTextGetSize): fix height, width computation.
4057 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
4058 Make X font name a bit less bogus.
4060 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
4061 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
4063 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
4064 (processAdjustmentEvent): Adjust value.
4066 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
4069 * java/awt/Component.java (setVisible, show, hide): Call show and
4070 hide methods in subclasses.
4071 (getPreferredSize): don't set prefSize before we have peer.
4073 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
4074 Guess (0,0) if we don't have peer.
4077 2003-02-18 Michael Koch <konqueror@gmx.de>
4079 * java/nio/channels/FileChannel.java
4080 (toString): New implementation, added documentation.
4081 (map): Added exception documentation.
4082 (size): Added exception documentation.
4083 (write): New methods, documentation work.
4084 (read): New methods, documentation work.
4085 (implCloseChannel): Rewrote exception documentation.
4086 (force): Throws IOException, added documentation.
4087 (lock): New methods.
4088 (tryLock): New methods.
4089 (position): New methods.
4090 (transferTo): New method.
4091 (transferFrom): New method.
4092 (truncate): New method.
4093 * java/nio/channels/spi/SelectorProvider.java
4094 (provider): Implemented.
4096 (ordinary_java_source_files): Added the following files:
4097 gnu/java/nio/DatagramChannelImpl.java
4098 gnu/java/nio/FileChannelImpl.java
4099 gnu/java/nio/PipeImpl.java
4100 gnu/java/nio/SelectionKeyImpl.java
4101 gnu/java/nio/SelectorImpl.java
4102 gnu/java/nio/SelectorProviderImpl.java
4103 gnu/java/nio/ServerSocketChannelImpl.java
4104 gnu/java/nio/SocketChannelImpl.java
4105 java/nio/channels/FileLock.java
4106 (nat_java_source_files): Added the following files:
4107 gnu/java/nio/natFileChannelImpl.cc
4108 gnu/java/nio/natSelectorImpl.cc
4109 gnu/java/nio/natSocketChannelImpl.cc
4110 * Makefile.in: Regenerated.
4112 2003-02-17 Tom Tromey <tromey@redhat.com>
4114 * java/awt/image/ColorModel.java: Re-merged with Classpath.
4115 * java/awt/image/ImageFilter.java: Likewise.
4117 2003-02-17 Raif S. Naffah <raif@fl.net.au>
4119 * java/math/BigInteger.java (euclidInv): Return array of
4120 `BigInteger's. Changed all callers.
4122 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
4124 * java/util/Properties.java (store): Move the code formerly in
4125 list(), into this method.
4126 (list (PrintStream)): Just call list (PrintWriter) with a
4127 PrintWriter object constructed from the given PrintStream object.
4128 (list (PrintWriter)): Emulate the output of Properties.list()
4129 as found in JDK 1.3/1.4.
4131 2003-02-17 Michael Koch <konqueror@gmx.de>
4133 * java/net/DatagramSocket.java
4134 (connect): Merged with classpath.
4135 (disconnect): Merged documentation with classpath.
4136 (receice): Merged documentation with classpath.
4137 (send): Merged documentation with classpath.
4139 2003-02-17 Michael Koch <konqueror@gmx.de>
4141 * java/awt/dnd/DragSourceContext.java
4142 (addDragSourceListener): Added documentation.
4143 * java/awt/dnd/DragSourceDragEvent.java
4144 (serialVersionUID): New member variable.
4145 (getDropAction): Reformated.
4146 * java/awt/dnd/DragSourceDropEvent.java
4147 (serialVersionUID): New member variable.
4148 (dropSuccess): Renamed from success for serialization issues.
4149 * java/awt/dnd/DragSourceEvent.java
4150 (serialVersionUID): New member variable.
4151 * java/awt/dnd/DropTarget.java
4152 (serialVersionUID): New member variable.
4153 (DropTarget): Implemented, documentation reworked.
4154 (setComponent): Documentation added.
4155 (getComponent): Documentation added.
4156 (setDefaultActions): Documentation added.
4157 (getDefaultActions): Documentation added.
4158 (addDropTargetListener): Documentation added.
4159 * java/awt/dnd/DropTargetContext.java
4160 (DropTargetContext): Documentation added.
4161 (TransferableProxy.TransferableProxy): New method.
4162 (dropComplete): Fixed documentation.
4163 (getTransferable): Fixed documentation.
4164 (createTransferableProxy): Implemented.
4165 * java/awt/dnd/DropTargetDragEvent.java
4166 (DropTargetDragEvent): Documentation added.
4167 (serialVersionUID): New member variable.
4168 (DropTargetDragEvent): Throw exceptions, documentation added.
4169 (acceptDrag): Implemented.
4170 (getCurrentDataFlavors): Implemented.3yy
4171 (getCurrentDataFlavorsAsList): Implemented.
4172 (isDataFlavorSupported): Implemented.
4173 (rejectDrag): Implemented.
4174 * java/awt/dnd/DropTargetDropEvent.java
4175 (DropTargetDropEvent): Documentation added.
4176 (serialVersionUID): New member variable.
4177 (actions): Renamed from srcActions for serialization issues.
4178 (isLocalTx): Renamed from isLocalTx for serialization issues.
4179 (DropTargetDropEvent): New implementation, throw exceptions,
4180 documentation added.
4181 (getCurrentDataFlavors): Implemented.
4182 (getCurrentDataFlavorsAsList): Implemented.
4183 (isDataFlavorSupported): Implemented.
4184 (getSourceActions): Implemented.
4185 (getDropAction): Implemented.
4186 (getTransferable): Implemented.
4187 (acceptDrop): Implemented.
4188 (rejectDrop): Implemented.
4189 * java/awt/dnd/DropTargetListener.java
4190 (drop): Fixed documentation.
4191 * java/awt/dnd/MouseDragGestureRecognizer.java
4192 (MouseDragGestureRecognizer): Documentation added.
4194 2003-02-17 Michael Koch <konqueror@gmx.de>
4196 * java/awt/font/FontRenderContext.java,
4197 java/awt/font/ShapeGraphicAttribute.java,
4198 java/awt/font/MultipleMaster.java,
4199 java/awt/font/TransformAttribute.java,
4200 java/awt/font/GlyphJustificationInfo.java,
4201 java/awt/font/LineBreakMeasurer.java,
4202 java/awt/font/TextMeasurer.java,
4203 java/awt/font/TextLayout.java,
4204 java/awt/font/LineMetrics.java,
4205 java/awt/font/TextAttribute.java,
4206 java/awt/font/GlyphMetrics.java,
4207 java/awt/font/OpenType.java,
4208 java/awt/font/GlyphVector.java,
4209 java/awt/font/GraphicAttribute.java,
4210 java/awt/font/ImageGraphicAttribute.java,
4211 java/awt/font/NumericShaper.java: New files.
4213 (awt_java_source_files): Added the following files:
4214 java/awt/font/FontRenderContext.java
4215 java/awt/font/ShapeGraphicAttribute.java
4216 java/awt/font/MultipleMaster.java
4217 java/awt/font/TransformAttribute.java
4218 java/awt/font/GlyphJustificationInfo.java
4219 java/awt/font/LineBreakMeasurer.java
4220 java/awt/font/TextMeasurer.java
4221 java/awt/font/TextLayout.java
4222 java/awt/font/LineMetrics.java
4223 java/awt/font/TextAttribute.java
4224 java/awt/font/GlyphMetrics.java
4225 java/awt/font/OpenType.java
4226 java/awt/font/GlyphVector.java
4227 java/awt/font/GraphicAttribute.java
4228 java/awt/font/ImageGraphicAttribute.java
4229 java/awt/font/NumericShaper.java
4230 * Makefile.in: Regenerated.
4232 2003-02-17 Michael Koch <konqueror@gmx.de>
4234 * java/awt/print/Paper.java
4235 (Paper): Implements Cloneable.
4236 * java/awt/print/PrinterJob.java
4237 (setJobName): Return value must be void.
4238 (print): Throws PrinterException.
4240 2003-02-16 Tom Tromey <tromey@redhat.com>
4242 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
4245 2003-02-15 Michael Koch <konqueror@gmx.de>
4247 * java/awt/datatransfer/DataFlavor.java
4248 (isRepresentationClassByteBuffer): Removed try-catch block.
4249 (isRepresentationClassCharBuffer): Removed try-catch block.
4250 (isRepresentationClassReader): Removed try-catch block.
4252 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
4254 * java/nio/charset/Charset.java
4255 (isRegistered): Fixed method args and implementation.
4256 * java/nio/charset/CharsetEncoder.java
4257 (unmappableCharacterAction): New method.
4259 2003-02-15 Michael Koch <konqueror@gmx.de>
4261 * java/awt/CheckboxMenuItem.java
4262 (CheckBoxMenuItem): Dont implement Serializable.
4263 (getListeners): New method,
4264 (getItemListeners): New method.
4265 * java/awt/Choice.java
4266 (getListeners): New method,
4267 (getItemListeners): New method.
4268 * java/awt/Container.java
4269 (getListeners): Added exception documentation.
4270 (setFocusTraversalKeys): Throw exceptions, added documentattion.
4271 (getFocusTraversalKeys): Added documentation.
4272 (areFocusTraversalKeysSet): Added documentation.
4273 (applyComponentOrientation): Added documentation.
4274 * java/awt/ContainerOrderFocusTraversalPolicy.java
4275 (implicitDownCycleTraversal): Renamed from downCycle for
4277 (ContainerOrderFocusTraversalPolicy): Added documentation.
4278 (accept): Reformated.
4279 * java/awt/Dialog.java
4280 (Dialog): Dont implement Serializable.
4281 (Dialog): Added documentation.
4282 * java/awt/Font.java
4283 (Font): Dont use absolute class name.
4284 * java/awt/Frame.java
4285 (Frame): Font implement Serializable.
4286 * java/awt/List.java
4287 (getListeners): New method,
4288 (getActionListeners): New method.
4289 (getItemListeners): New method.
4290 * java/awt/Menu.java
4291 (countItems): New deprecated method.
4292 * java/awt/Scrollbar.java
4293 (getListeners): New method,
4294 (getAdjustmentListeners): New method,
4295 * java/awt/TextComponent.java
4296 (getListeners): New method,
4297 (getTextListeners): New method,
4298 * java/awt/TextField.java
4299 (getListeners): New method,
4300 (getActionListeners): New method.
4301 * java/awt/Window.java
4302 (windowFocusListener): New member variable.
4303 (windowStateListener): New member variable.
4304 (getWindowFocusListeners): New method.
4305 (getWindowStateListeners): New method.
4306 (addWindowFocusListener): New method.
4307 (addWindowStateListener): New method.
4308 (removeWindowFocusListener): New method.
4309 (removeWindowStateListener): New method.
4310 * java/awt/datatransfer/DataFlavor.java
4311 (isRepresentationClassByteBuffer): New method.
4312 (isRepresentationClassCharBuffer): New method.
4313 (isRepresentationClassReader): New method.
4315 2003-02-14 Mark Wielaard <mark@klomp.org>
4317 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
4318 zero when there is an exponent and the significant is zero.
4319 (divide): Always set scale to newScale even in special ZERO case.
4321 2003-02-14 Tom Tromey <tromey@redhat.com>
4323 * java/lang/System.java (properties): Use Properties.clone.
4324 (setProperties): Likewise.
4326 2003-02-14 Michael Koch <konqueror@gmx.de>
4328 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
4329 * gnu/java/nio/ServerSocketChannelImpl.java
4330 (SocketAccept): Removed.
4331 (accept): Commented out use of SocketAccept.
4333 2003-02-13 Tom Tromey <tromey@redhat.com>
4335 * verify.cc (state::seen_subrs): New field.
4336 (state::state): Initialize it.
4337 (state::clean_subrs): New method.
4338 (state::~state): Call it.
4339 (state::copy): Copy subroutine list.
4340 (state::add_subr): New method.
4341 (state::merge): Only register a change if the current subroutine
4342 hasn't yet been noted.
4344 2003-02-13 Mark Wielaard <mark@klomp.org>
4346 * java/io/InputStreamReader.java (getEncoding): Return null when
4348 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
4350 2003-02-13 Mark Wielaard <mark@klomp.org>
4352 * java/util/zip/InflaterInputStream.java (read): Return zero when len
4355 2003-02-13 Mark Wielaard <mark@klomp.org>
4357 * java/io/BufferedOutputStream.java (write(int)): Only flush when
4358 next byte cannot be buffered.
4360 2003-02-13 Michael Koch <konqueror@gmx.de>
4362 * java/awt/Label.java
4363 (Label): Don't implement Serializable directly.
4364 (addNotify): Fixed typo in documentation.
4365 * java/awt/List.java
4366 (List): Don't implement Serializable directly.
4367 * java/awt/PopupMenu.java
4368 (PopupMenu): Don't implement Serializable directly.
4369 * java/awt/ScrollPane.java
4370 (ScrollPane): Don't implement Serializable directly.
4371 * java/awt/Scrollbar.java
4372 (Scrollbar): Don't implement Serializable directly.
4373 * java/awt/TextArea.java
4374 (preferredSize): Fixed method arguments.
4375 * java/awt/TextField.java
4376 (TextField): Don't implement Serializable directly.
4377 * java/awt/color/ICC_ColorSpace.java
4378 (fromCIOXYZ): Documentation added.
4379 (getMinValue): Documentation added.
4380 (getMaxValue): Documentation added.
4381 * java/awt/datatransfer/DataFlavor.java
4382 (isMimeTypeEqual): May not be final.
4383 (clone): Throws CloneNotSupportedException.
4384 (getReaderForText): Don't throws UnsupportedEncodingException.
4386 2003-02-13 Michael Koch <konqueror@gmx.de>
4388 * gnu/java/awt/peer/gtk/GdkGraphics.java
4389 (drawString): New stubbed method.
4390 * java/awt/Graphics.java
4391 (drawString): New method.
4393 2003-02-13 Casey Marshall <rsdio@metastatic.org>
4396 * java/security/SecureRandom.java (next): Avoid bias in results.
4398 2003-02-13 Michael <konqueror@gmx.de>
4400 * gnu/java/nio/FileChannelImpl.java
4401 (lengthInternal): Must be native.
4402 (size): Check if channel is already closed.
4403 (implCloseChannel): Reformated.
4404 (read): w was unused, removed it.
4407 (write): New method.
4408 (map): Check arguments.
4409 (force): Throws IOException, check if channel is closed.
4410 (transferTo): New method.
4411 (transferFrom): New method.
4413 (tryLock): New method.
4414 (position): New method.
4415 (truncate): New method.
4416 (nio_mmap_file): Uncommented.
4417 (nio_munmap_file): Uncommented.
4418 (nio_msync): Uncommented.
4419 * gnu/java/nio/natFileChannelImpl.cc: New file.
4421 2003-02-13 Michael Koch <konqueror@gmx.de>
4423 * java/nio/ByteBuffer.java
4424 (endian): New member variable.
4426 (equals): New method.
4427 (compareTo): New method.
4428 (order): New methods.
4429 (compact): New method.
4430 (isDirect): New method.
4431 (slice): New method.
4432 (duplicate): New method.
4433 (asReadOnlyBuffer): New method.
4434 (asCharBuffer): New method.
4435 (asDoubleBuffer): New method.
4436 (asFloatBuffer): New method.
4437 (asIntBuffer): New method.
4438 (asLongBuffer): New method.
4439 (asShortBuffer): New method.
4440 (get*): New methods.
4441 (put*): New methods.
4442 (toString): New method.
4443 * java/nio/CharBuffer.java
4444 (CharBuffer): Implement Comparable instead of Cloneable.
4445 (get): May not be final.
4446 (put): May not be final.
4448 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
4450 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
4451 lastIndexOf( ) instead of indexOf( ) to find the colon before
4452 the line number, because Win32 file names might contain a
4453 drive letter and a colon at the start of an absolute path.
4455 2003-02-13 Michael Koch <konqueror@gmx.de>
4457 * gnu/java/nio/natSocketChannelImpl.cc
4458 (SocketConnect): This is not implemented yet.
4459 (SocketBind): This is not implemented yet.
4461 2003-02-13 Michael Koch <konqueror@gmx.de>
4463 * gnu/java/nio/natByteBufferImpl.cc,
4464 gnu/java/nio/natCharBufferImpl.cc,
4465 gnu/java/nio/natDoubleBufferImpl.cc,
4466 gnu/java/nio/natFloatBufferImpl.cc,
4467 gnu/java/nio/natIntBufferImpl.cc,
4468 gnu/java/nio/natLongBufferImpl.cc,
4469 gnu/java/nio/natShortBufferImpl.cc:
4470 Added copyright and license.
4471 * java/nio/DoubleBuffer.java,
4472 java/nio/FloatBuffer.java,
4473 java/nio/IntBuffer.java,
4474 java/nio/LongBuffer.java,
4475 java/nio/ShortBuffer.java
4476 (array): Throw exceptions.
4477 (arrayOffset): Throw exceptions.
4479 2003-02-13 Michael Koch <konqueror@gmx.de>
4481 * gnu/java/util/prefs/FileBasedFactory.java,
4482 gnu/java/util/prefs/MemmoryBasedFactory.java,
4483 gnu/java/util/prefs/MemoryBasedPreferences.java,
4484 gnu/java/util/prefs/NodeReader.java,
4485 gnu/java/util/prefs/NodeWriter.java,
4486 java/util/prefs/AbstractPreferences.java,
4487 java/util/prefs/BackingStoreException.java,
4488 java/util/prefs/InvalidPreferencesFormatException.java,
4489 java/util/prefs/NodeChangeEvent.java,
4490 java/util/prefs/NodeChangeListener.java,
4491 java/util/prefs/PreferenceChangeEvent.java,
4492 java/util/prefs/PreferenceChangeListener.java,
4493 java/util/prefs/Preferences.java,
4494 java/util/prefs/PreferencesFactory.java:
4495 New files, all merged from classpath.
4497 (ordinary_java_source_files): Added the following files:
4498 gnu/java/util/prefs/FileBasedFactory.java,
4499 gnu/java/util/prefs/MemmoryBasedFactory.java,
4500 gnu/java/util/prefs/MemoryBasedPreferences.java,
4501 gnu/java/util/prefs/NodeReader.java,
4502 gnu/java/util/prefs/NodeWriter.java,
4503 (core_java_source_files): Added the following files:
4504 java/util/prefs/AbstractPreferences.java,
4505 java/util/prefs/BackingStoreException.java,
4506 java/util/prefs/InvalidPreferencesFormatException.java,
4507 java/util/prefs/NodeChangeEvent.java,
4508 java/util/prefs/NodeChangeListener.java,
4509 java/util/prefs/PreferenceChangeEvent.java,
4510 java/util/prefs/PreferenceChangeListener.java,
4511 java/util/prefs/Preferences.java,
4512 java/util/prefs/PreferencesFactory.java
4513 * Makefile.in: Regenerated.
4515 2003-02-13 Michael Koch <konqueror@gmx.de>
4517 * java/net/NetPermission.java
4518 (NetPermission): Make doucmentation match the method declaration.
4519 * java/net/NetworkInterface.java
4520 (equals): Reformated for GNU coding style.
4521 * java/net/ServerSocket.java: Merged with classpath.
4522 * java/net/Socket.java: Partly merged with classpath (Added some @since).
4523 * java/net/SocketImpl.java
4524 (localPort): Merged with classpath (initialize with -1).
4525 * java/net/SocketPermission.java: Merged with classpath (reindented).
4526 * java/net/URLDecoder.java: Merged with classpath (reindented).
4528 2003-02-13 Michael Koch <konqueror@gmx.de>
4530 * java/awt/GridBagConstraints.java
4531 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
4532 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
4533 * java/awt/KeyboardFocusManager.java
4534 (setGlobalCurrentFocusCycleRoot): Must be public.
4535 * java/awt/MenuComponent.java
4536 (MenuComponent): Must be public.
4537 * java/awt/Toolkit.java:
4538 Added some empty lines to make documentation more readable.
4539 (getFontPeer): Added @deprecated.
4540 (getColorModel): Added exception documentation.
4541 (getProperty): Fixed documentation.
4543 2003-02-12 Jeff Sturm <jsturm@one-point.com>
4545 * configure.host (alpha*-*): Default to -mieee.
4546 * configure.in (IEEESPEC): New.
4547 * libgcj.spec.in (jc1): Add IEEESPEC.
4548 * configure: Rebuild.
4550 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4552 * include/win32.h: Include ws2tcpip.h instead of
4553 winsock.h to obtain definition of the socklen_t type.
4554 Remove IP_TOS definition - not needed with ws2tcpip.h
4555 (_Jv_connect): Correct slight formatting error.
4557 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
4559 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
4560 size of the arguments for a JNI function. For Win32,
4561 modify to search for all forms of possible exported
4562 names of an stdcall JNI function.
4563 (_Jv_JNIMethod::call): Modify to calculate the size
4564 of the arguments passed to a JNI function and pass
4565 it to _Jv_LookupJNIMethod.
4567 2003-02-12 Michael Koch <konqueror@gmx.de>
4569 * java/nio/channels/Channels.java: New file.
4571 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
4572 * Makefile.in: Regenerated.
4574 2003-02-12 Michael Koch <konqueror@gmx.de>
4576 * java/nio/ByteBuffer.java
4577 (allocate): Implemented.
4578 (wrap): Implemented.
4579 * java/nio/CharBuffer.java:
4580 Some documentation added and reworked.
4582 (allocate): Implemented.
4583 (wrap): Implemented.
4584 (array): Throw exceptions.
4585 (arrayOffset): Throw exceptions.
4586 (toString): Implemented.
4587 (length): Implemented.
4589 (charAt): Implemented.
4591 2003-02-11 John Leuner <jewel@debian.org>
4593 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
4594 reads from end of file.
4596 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
4598 * java/io/natFileDescriptorWin32.cc
4599 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
4600 returns with Win32 error code ERROR_BROKEN_PIPE.
4602 2003-02-11 Michael Koch <konqueror@gmx.de>
4605 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
4607 2003-02-11 Michael Koch <konqueror@gmx.de>
4609 * gnu/java/nio/ByteBufferImpl.java:
4610 Reformated and removed some code.
4611 (backing_buffer): Removed.
4612 (array_offset): Removed.
4613 (ro): Renamed to readOnly.
4614 (ByteBufferImpl): Use parent constructor, initialize readOnly.
4615 * gnu/java/nio/CharBufferImpl.java:
4616 Reformated and removed some code.
4617 (array_offset): Removed.
4618 (ro): Renamed to readOnly.
4619 (CharBufferImpl): Use parent constructor, initialize readOnly.
4621 (order): New method.
4622 * gnu/java/nio/DoubleBufferImpl.java:
4623 Reformated and removed some code.
4624 (array_offset): Removed.
4625 (ro): Renamed to readOnly.
4626 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
4628 (order): New method.
4629 * gnu/java/nio/FloatBufferImpl.java:
4630 Reformated and removed some code.
4631 (array_offset): Removed.
4632 (ro): Renamed to readOnly.
4633 (FloatBufferImpl): Use parent constructor, initialize readOnly.
4635 (order): New method.
4636 * gnu/java/nio/IntBufferImpl.java:
4637 Reformated and removed some code.
4638 (array_offset): Removed.
4639 (ro): Renamed to readOnly.
4640 (IntBufferImpl): Use parent constructor, initialize readOnly.
4642 (order): New method.
4643 * gnu/java/nio/LongBufferImpl.java:
4644 Reformated and removed some code.
4645 (array_offset): Removed.
4646 (ro): Renamed to readOnly.
4647 (LongBufferImpl): Use parent constructor, initialize readOnly.
4649 (order): New method.
4650 * gnu/java/nio/ShortBufferImpl.java:
4651 Reformated and removed some code.
4652 (array_offset): Removed.
4653 (ro): Renamed to readOnly.
4654 (ShortBufferImpl): Use parent constructor, initialize readOnly.
4656 (order): New method.
4658 (ordinary_java_source_files): Added the following files:
4659 gnu/java/nio/ByteBufferImpl.java
4660 gnu/java/nio/CharBufferImpl.java
4661 gnu/java/nio/DoubleBufferImpl.java
4662 gnu/java/nio/FloatBufferImpl.java
4663 gnu/java/nio/IntBufferImpl.java
4664 gnu/java/nio/LongBufferImpl.java
4665 gnu/java/nio/ShortBufferImpl.java
4666 java/nio/DoubleBuffer.java
4667 java/nio/FloatBuffer.java
4668 java/nio/IntBuffer.java
4669 java/nio/LongBuffer.java
4670 java/nio/ShortBuffer.java
4671 (nat_source_files): Added the following files:
4672 gnu/java/nio/natByteBufferImpl.cc
4673 gnu/java/nio/natCharBufferImpl.cc
4674 gnu/java/nio/natDoubleBufferImpl.cc
4675 gnu/java/nio/natFloatBufferImpl.cc
4676 gnu/java/nio/natIntBufferImpl.cc
4677 gnu/java/nio/natLongBufferImpl.cc
4678 gnu/java/nio/natShortBufferImpl.cc
4679 * Makefile.in: Regenerated.
4681 2003-02-11 Michael Koch <konqueror@gmx.de>
4683 * gnu/java/nio/natCharBufferImpl.cc
4684 (nio_cast): Removed.
4685 (nio_put_*): Removed.
4686 (nio_get_*): Removed.
4687 * gnu/java/nio/natDoubleBufferImpl.cc
4688 (nio_cast): Removed.
4689 (nio_put_*): Removed.
4690 (nio_get_*): Removed.
4691 * gnu/java/nio/natFloatBufferImpl.cc
4692 (nio_cast): Removed.
4693 (nio_put_*): Removed.
4694 (nio_get_*): Removed.
4695 * gnu/java/nio/natIntBufferImpl.cc
4696 (nio_cast): Removed.
4697 (nio_put_*): Removed.
4698 (nio_get_*): Removed.
4699 * gnu/java/nio/natLongBufferImpl.cc
4700 (nio_cast): Removed.
4701 (nio_put_*): Removed.
4702 (nio_get_*): Removed.
4703 * gnu/java/nio/natShortBufferImpl.cc
4704 (nio_cast): Removed.
4705 (nio_put_*): Removed.
4706 (nio_get_*): Removed.
4707 * gnu/java/nio/SelectorProviderImpl.java
4708 (openDatagramChannel): Throws IOException.
4709 (openPipe): Throws IOException.
4710 (openSelector): Throws IOException.
4711 (openServerSocketChannel): Throws IOException.
4712 (openSocketChannel): Throws IOException.
4713 * gnu/java/nio/ServerSocketChannelImpl.java
4714 (ServerSocketChannelImpl): Throws IOException.
4715 (implCloseSelectableChannel): Throws IOException.
4716 (implConfigureBlocking): Throws IOException.
4717 * java/nio/ByteBuffer.java
4718 (readOnly): Removed.
4719 (hasArray): Use isReadOnly() instead of readOnly.
4720 (array): Use isReadOnly() instead of readOnly.
4721 (arrayOffset): Use isReadOnly() instead of readOnly.
4722 * java/nio/CharBuffer.java
4723 (CharBuffer): Implements Cloneable and CharSequence.
4725 2003-02-11 Michael Koch <konqueror@gmx.de>
4727 * java/nio/DoubleBuffer.java
4728 (DoubleBuffer): Implements Comparable.
4730 (array_offset): New member variable.
4731 (DoubleBuffer): New constuctor.
4732 (get): May not be final.
4733 (put): May not be final.
4734 (arrayOffset): Implemented.
4735 (order): Made abstract.
4737 (as*Buffer): Removed.
4740 * java/nio/FloatBuffer.java
4741 (FloatBuffer): Implements Comparable.
4743 (array_offset): New member variable.
4744 (FloatBuffer): New constuctor.
4745 (get): May not be final.
4746 (put): May not be final.
4747 (arrayOffset): Implemented.
4748 (order): Made abstract.
4750 (as*Buffer): Removed.
4753 * java/nio/IntBuffer.java
4754 (IntBuffer): Implements Comparable.
4756 (array_offset): New member variable.
4757 (IntBuffer): New constuctor.
4758 (get): May not be final.
4759 (put): May not be final.
4760 (arrayOffset): Implemented.
4761 (order): Made abstract.
4763 (as*Buffer): Removed.
4766 * java/nio/LongBuffer.java
4767 (LongBuffer): Implements Comparable.
4769 (array_offset): New member variable.
4770 (LongBuffer): New constuctor.
4771 (get): May not be final.
4772 (put): May not be final.
4773 (arrayOffset): Implemented.
4774 (order): Made abstract.
4776 (as*Buffer): Removed.
4779 * java/nio/ShortBuffer.java
4780 (ShortBuffer): Implements Comparable.
4782 (array_offset): New member variable.
4783 (ShortBuffer): New constuctor.
4784 (get): May not be final.
4785 (put): May not be final.
4786 (arrayOffset): Implemented.
4787 (order): Made abstract.
4789 (as*Buffer): Removed.
4793 2003-02-11 Michael Koch <konqueror@gmx.de>
4795 * java/nio/channels/SelectionKey.java
4796 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
4799 2003-02-11 Michael Koch <konqueror@gmx.de>
4801 * java/nio/channels/DatagramChannel.java
4802 (write): Throws IOException.
4803 (connect): Throws IOException.
4804 (disconnect): Throws IOException.
4805 (read): Throws IOException.
4806 (receive): Throws IOException.
4807 (send): Throws IOException.
4808 * java/nio/channels/Pipe.java
4809 (open): Throws IOException.
4810 * java/nio/channels/SelectableChannel.java
4811 (configureBlocking): Throws IOException.
4812 * java/nio/channels/ServerSocketChannel.java
4813 (accept): Throws IOException.
4814 * java/nio/channels/SocketChannel.java
4815 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
4816 GatheringByteChannel.
4817 (read): Throws IOException.
4818 (write): Throws IOException.
4819 (finishConnect): Throws IOException.
4820 * java/nio/channels/spi/AbstractInterruptibleChannel.java
4821 (end): Throws AsynchronousCloseException.
4822 * java/nio/channels/spi/AbstractSelectableChannel.java
4823 (configureBlocking): Throws IOException.
4824 (implCloseChannel): Throws IOException.
4825 (implCloseSelectableChannel): Throws IOException.
4826 (implConfigureBlocking): Throws IOException.
4827 * java/nio/channels/spi/SelectorProvider.java
4828 (openDatagramChannel): Throws IOException.
4829 (openPipe): Throws IOException.
4830 (openSelector): Throws IOException.
4831 (openServerSocketChannel): Throws IOException.
4832 (openSocketChannel): Throws IOException.
4834 2003-02-11 Michael Koch <konqueror@gmx.de>
4836 * gnu/java/nio/FileLockImpl.java,
4837 java/nio/channels/FileLock.java: New files.
4839 2003-02-11 Michael Koch <konqueror@gmx.de>
4841 * java/nio/charset/IllegalCharsetNameException.java
4842 (serialVersionUID): New member variable.
4843 (charsetName): New member variable.
4844 (IllegalCharsetException): New implementation.
4845 (getCharsetName): New implementation.
4846 * java/nio/charset/UnsupportedCharsetException.java
4847 (serialVersionUID): New member variable.
4848 (charsetName): New member variable.
4849 (UnsupportedCharsetException): New implementation.
4850 (getCharsetName): New implementation.
4852 2003-02-10 Tom Tromey <tromey@redhat.com>
4854 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
4855 (ex): Renamed from sqlException.
4857 2003-02-10 Raif S. Naffah <raif@fl.net.au>
4859 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
4860 method used to ensure seeding has occurred and that a specific
4861 seed can be set and used.
4863 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
4865 * java/lang/Win32Process.java (destroy): Declare as native.
4866 (hasExited): New native method.
4867 (exitValue): Define.
4868 (getErrorStream): Likewise.
4869 (getInputStream): Likewise.
4870 (getOutputStream): Likewise.
4871 (waitFor): Declare as native.
4872 (startProcess): New native method.
4873 (cleanup): Likewise.
4874 (ConcreteProcess): Define.
4875 (outputStream, inputStream, errorStream): New members.
4876 (procHandle, exitCode): Likewise.
4878 * java/lang/natWin32Process.cc
4879 (java::lang::ConcreteProcess::cleanup): Define.
4880 (java::lang::ConcreteProcess::destroy): Likewise.
4881 (java::lang::ConcreteProcess::hasExited): Likewise.
4882 (java::lang::ConcreteProcess::waitFor): Likewise.
4883 (new_string): Likewise.
4884 (java::lang::ConcreteProcess::startProcess): Likewise.
4886 2003-02-10 Raif S. Naffah <raif@fl.net.au>
4888 * java/math/BigInteger.java:
4889 Updated notice to include years 2002 and 3.
4890 Added 2 private (int) arrays with values from the HAC (Handbook of
4891 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
4892 and t[] that contains nbr. of tests --used in isProbablePrime().
4894 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
4896 * java/math/BigInteger.java (make(int[],int), add(int,int),
4897 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
4898 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
4899 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
4902 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
4903 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
4904 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
4905 BIs and returns void.
4906 (modInverse(BI)): Use new signatures of euclidInv().
4908 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
4909 static small primes instead of remainder().
4910 Use pre-computed max nbr of trials based on bitlength of BI to test.
4911 Use pre-computed small primes for the trial tests instead of random
4914 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
4917 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
4918 invoacation of MPN.chars_per_word(). not used.
4920 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
4921 local var and used where needed.
4923 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
4924 Combined declaration with initialisation of locals.
4927 * java/math/BigInteger.java: Style changes
4928 (pow(int)): Removed 'else' keyword.
4929 (toString(int)): idem.
4930 (doubleValue()): idem.
4931 (bitLength()): idem.
4932 (equals(Object)): Use static methods name in same class w/o prepending
4934 (doubleValue()): idem.
4935 (setNegative(BI)): idem.
4937 (and(BI,int)): idem.
4940 (byteArrayToIntArray()): Removed casting to (int). this is
4942 (canonicalize()): idem.
4943 (alloc(int)): Always instantiate a new BI.
4945 2003-02-10 Tom Tromey <tromey@redhat.com>
4947 * java/sql/Timestamp.java (compareTo(Object)): New method.
4948 (compareTo(Timestamp)): Likewise.
4949 (serialVersionUID): Updated.
4951 2003-02-07 Mark Wielaard <mark@klomp.org>
4953 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
4954 when verify is true.
4955 (JarFile(File, boolean)): Likewise.
4956 (manifestRead): Set manifestRead field correctly.
4958 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
4960 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
4961 tests; see patch #1016 on Savannah.
4963 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
4965 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
4966 (toString): do not return Strings starting with . and - erroneously.
4967 Improves Mauve results to 12 of 600 instead of 16 of 338 on
4970 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
4972 * java/beans/PropertyDescriptor.java
4973 (PropertyDescriptor(String, Class)): Sanity check getter and setter
4975 (PropertyDescriptor(String, Class, String, String)): Likewise.
4976 (PropertyDescriptor(String, Method, Method): Factor out getter and
4977 setter method sanity checks into new method.
4978 (findMethods): Don't do parameter sanity checking of get method here.
4979 (checkMethods): New method.
4981 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
4983 * java/beans/PropertyDescriptor.java: Reformat.
4985 2003-02-04 Tom Tromey <tromey@redhat.com>
4987 * java/io/PipedOutputStream.java (flush): Declare as throwing
4990 * java/io/PipedWriter.java (close): Declare as throwing
4992 * java/io/StringWriter.java (close): Declare as throwing
4995 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
4997 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
4998 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
4999 could also have been exported as "JNI_OnLoad@8" (MinGW) or
5000 "_JNI_OnLoad@8" (MSVC).
5002 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
5004 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
5005 convention on Win32 to invoke native JNI methods.
5007 2003-02-03 Andrew Haley <aph@redhat.com>
5009 * configure.host (x86_64): Enable interpreter.
5011 2003-02-03 Andrew Haley <aph@redhat.com>
5013 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
5014 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
5015 * configure.in (BACKTRACESPEC): New.
5016 * configure: Regenerate.
5018 2003-02-02 Tom Tromey <tromey@redhat.com>
5020 * configure: Rebuilt.
5021 * configure.in (TOOLKIT) [xlib]: Set correctly.
5023 * Makefile.in: Rebuilt.
5024 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
5027 2003-01-31 Mark WIelaard <mark@klomp.org>
5029 * Makefile.in: Rebuilt.
5030 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
5032 2003-01-31 Tom Tromey <tromey@redhat.com>
5034 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
5035 cast to element type.
5036 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
5037 (_Jv_JNI_GetObjectArrayElement): Likewise.
5039 * Makefile.in: Rebuilt.
5040 * Makefile.am (cond_x_ltlibrary): Renamed library to
5041 lib-gnu-awt-xlib.la.
5042 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
5043 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
5044 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
5045 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
5046 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
5047 (lib_gnu_awt_xlib_la_LINK): Likewise.
5048 (install-exec-hook): Removed.
5049 (lib-gnu-awt-xlib.la): Renamed.
5051 2003-01-31 Tom Tromey <tromey@redhat.com>
5053 * aclocal.m4, configure, include/config.h.in: Rebuilt.
5054 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
5055 aclocal.m4 and lost in some merge.
5057 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
5058 Don't try to find graphics configuration.
5059 * java/awt/Toolkit.java (default_toolkit_name): Use new
5060 Configuration entry.
5061 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
5063 * configure: Rebuilt.
5064 * configure.in (TOOLKIT): New subst.
5065 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
5066 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
5067 directory. Make output directories for .c files.
5068 * Makefile.in: Rebuilt.
5069 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
5070 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
5071 (all_java_source_files): Added new sources.
5072 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
5073 (gtk_c_files): New macro.
5074 (gtk_c_source_files): New macro.
5075 (cond_gtk_ltlibrary): New macro.
5076 ($(gtk_c_files)): New target.
5077 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
5078 (gtk_awt_peer_sources): New macro.
5079 (gtk_c_headers): New macro.
5080 ($(gtk_c_headers)): New target.
5081 (ACLOCAL_AMFLAGS): New macro.
5082 * gtk.m4, glib.m4, libart.m4: New files.
5083 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
5084 gnu/java/awt/peer/gtk/GdkGraphics.java,
5085 gnu/java/awt/peer/gtk/GtkArg.java,
5086 gnu/java/awt/peer/gtk/GtkArgList.java,
5087 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5088 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
5089 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
5090 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
5091 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
5092 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
5093 gnu/java/awt/peer/gtk/GtkClipboard.java,
5094 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5095 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
5096 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
5097 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
5098 gnu/java/awt/peer/gtk/GtkFontPeer.java,
5099 gnu/java/awt/peer/gtk/GtkFramePeer.java,
5100 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
5101 gnu/java/awt/peer/gtk/GtkImage.java,
5102 gnu/java/awt/peer/gtk/GtkImagePainter.java,
5103 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5104 gnu/java/awt/peer/gtk/GtkListPeer.java,
5105 gnu/java/awt/peer/gtk/GtkMainThread.java,
5106 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
5107 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
5108 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
5109 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
5110 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
5111 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
5112 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
5113 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
5114 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
5115 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
5116 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
5117 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
5118 gnu/java/awt/peer/gtk/GtkToolkit.java,
5119 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
5120 gnu/java/awt/peer/gtk/TestAWT.java,
5121 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
5122 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5123 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5124 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
5125 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5126 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
5127 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
5128 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
5129 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
5130 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5131 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
5132 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
5133 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5134 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
5135 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
5136 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
5137 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5138 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5139 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5140 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
5141 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
5142 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
5143 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
5144 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
5145 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
5146 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
5147 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
5148 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
5149 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
5150 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
5151 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
5152 jni/classpath/native_state.c, jni/classpath/native_state.h,
5153 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
5155 2003-01-31 Julian Dolby <dolby@us.ibm.com>
5157 * java/util/Properties.java (load): Ignore backslash before EOF.
5159 2003-01-30 Jeff Sturm <jsturm@one-point.com>
5161 * java/lang/natClass.cc (initializeClass): Check tables when
5162 (state == JV_STATE_IN_PROGRESS).
5163 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
5164 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
5165 interpreted classes.
5166 (linkClass0): Use _Jv_WaitForState.
5168 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
5170 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
5171 object when finished.
5173 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
5175 * libjava/configure.host: Disable can_unwind_signal on darwin.
5177 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
5180 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
5181 additionally containing id of the owner thread as well as
5182 the number of nested times the thread has acquired the mutex.
5183 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
5184 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
5185 (_Jv_MutexUnlock): Check if really the owner thread, reset
5186 owner thread id to 0 before leaving, if leaving for the last
5188 (_Jv_MutexLock): Set owner thread id in the mutex and increment
5190 (_Jv_ThreadYield): Yield using a call to Sleep(0).
5191 * win32-threads.cc (_Jv_CondWait): Check if really owner of
5193 Pass handle of the broadcast event, instead of a pointer to it
5194 in Win32 ResetEvent( ) call.
5195 Remove incorrect return values.
5196 (_Jv_CondDestroy): Close both event handles and delete
5198 (_Jv_CondNotify): Check if really the owner thread.
5199 (_Jv_CondNotifyAll): Check if really the owner thread.
5200 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
5201 (really_start): Use SetEvent( ) to signal daemon_cond.
5202 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
5203 WaitForSingleObject( ) instead to wait for daemon_cond to be
5206 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
5208 * configure.in: Specifically define HAVE_BACKTRACE if building
5210 * include/win32.h: Remove HAVE_BACKTRACE definition.
5211 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
5212 * configure: Rebuilt.
5214 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
5216 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
5217 Set and AC_SUBST. Remove USE_LIBDIR conditional.
5218 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
5219 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
5220 * Makefile.in, configure: Rebuilt.
5222 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
5225 * java/io/natFileWin32.cc (performList): Append only "*.*"
5226 if the canonical file path already has a "\" at the end.
5228 2003-01-24 Tom Tromey <tromey@redhat.com>
5230 * defineclass.cc (handleMethodsEnd): Precompute code for static
5232 (handleCodeAttribute): Likewise.
5233 * resolve.cc (ncode): Use run_class for unsynchronized static
5235 * include/java-interp.h (class _Jv_InterpMethod): Declare
5237 * interpret.cc (run_synch_class): Initialize class.
5238 (run) [insn_invokestatic]: Don't initialize class.
5239 [insn_anewarray]: Likewise.
5240 [insn_multianewarray]: Likewise.
5241 (run_class): New function.
5243 2003-01-24 Tom Tromey <tromey@redhat.com>
5245 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
5248 2003-01-22 Andrew Haley <aph@redhat.com>
5250 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
5251 * configure.host (CHECKREFSPEC): Define for x86_64.
5253 2003-01-21 Tom Tromey <tromey@redhat.com>
5255 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
5258 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
5260 * java/io/natFileWin32.cc (isAbsolute): Check path length before
5261 looking at any characters.
5262 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
5264 (isAbsolute): Check path's length as well.
5266 2003-01-17 Mark Wielaard <mark@klomp.org>
5268 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
5269 (nat_source_files): Add natVMObjectStreamClass.cc.
5270 * Makefile.in: Regenerated.
5271 * gcj/javaprims.h (namespace java): Regenerated.
5272 * java/io/ObjectStreamClass.java (getClassUID): Call
5273 VMObjectStreamClass.hasClassInitializer().
5274 (hasClassInitializer): Removed.
5275 * java/io/VMObjectStreamClass.java: New class.
5276 * java/io/natVMObjectStreamClass.cc: New file.
5277 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
5279 2003-01-16 Mark Wielaard <mark@klomp.org>
5281 * java/net/SocketImpl.java (toString): Don't explicitly call
5282 toString() on possible null address.
5284 2003-01-16 Michael Koch <konqueror@gmx.de>
5286 * java/net/MulticastSocket.java
5287 (setInterface): Reindented.
5289 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5291 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
5292 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
5293 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
5294 translateY arguments. Implement.
5295 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
5296 down translation arguments.
5297 (drawPolyline, drawPolygon): Fix incorrect tests.
5298 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
5299 translateX and translateY arguments.
5301 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5303 * Makefile.in: Rebuilt.
5304 * Makefile.am (xlib_includes): New macro.
5307 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5309 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
5310 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
5311 16-bit display mode.
5313 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
5315 * java/awt/CardLayout.java (show): Rewrote.
5316 (gotoComponent): Removed `target' argument. Simplified code.
5317 Don't pre-compute `choice' unless `what' is FIRST or LAST.
5318 Changed all callers.
5321 2003-01-14 Michael Koch <konqueror@gmx.de>
5323 * java/net/InetSocketAddress.java
5324 (serialVersionUID): New member variable.
5325 * java/net/NetPermission.java
5326 (NetPermission): Dont implement java.io.Serialization directly.
5327 * java/net/SocketAddress.java:
5328 (serialVersionUID): Documentation added.
5330 2003-01-14 Michael Koch <konqueror@gmx.de>
5332 * java/awt/Label.java
5333 (Label): Implements javax.accessibility.Accessible;
5334 * java/awt/List.java
5335 (List): Implements javax.accessibility.Accessible;
5336 * java/awt/ScrollPane.java
5337 (ScrollPane): Implements javax.accessibility.Accessible;
5338 * java/awt/Scrollbar.java
5339 (Scrollbar): Implements javax.accessibility.Accessible;
5340 * java/awt/TextComponent.java
5341 (setCaretPosition): Throw exception, documentation added.
5342 * java/awt/Toolkit.java:
5343 Added some newlines in method documentations.
5344 (createButton): Exception documentation added.
5345 (createTextField): Exception documentation added.
5346 (createLabel): Exception documentation added.
5347 (createList): Exception documentation added.
5348 (createCheckbox): Exception documentation added.
5349 (createScrollbar): Exception documentation added.
5350 (createScrollPane): Exception documentation added.
5351 (createTextArea): Exception documentation added.
5352 (createChoice): Exception documentation added.
5353 (createFrame): Exception documentation added.
5354 (createWindow): Exception documentation added.
5355 (createDialog): Exception documentation added.
5356 (createMenuBar): Exception documentation added.
5357 (createMenu): Exception documentation added.
5358 (createMenuItem): Exception documentation added.
5359 (createFileDialog): Exception documentation added.
5360 (createCheckboxMenuItem): Exception documentation added.
5361 (loadSystemColors): Exception documentation added.
5362 (setDynamicLayout): Exception documentation added.
5363 (isDynamicLayoutSet): Exception documentation added.
5364 (isDynamicLayoutActive): Exception documentation added.
5365 (getScreenSize): Exception documentation added.
5366 (getScreenResolution): Exception documentation added.
5367 (getScreenInsets): Exception documentation added.
5368 (getColorModel): Exception documentation added.
5369 (getSystemClipboard): Exception documentation added.
5370 (getSystemSelection): Exception documentation added.
5371 (getMenuShortcutKeyMask): Exception documentation added.
5372 (getSystemEventQueue): Exception documentation added.
5373 * java/awt/Window.java:
5374 Reindented some code.
5375 (Window): Centralized implementation, documentation added.
5376 (finalize): Documentation added.
5377 (hide): Fixed typo in comment.
5378 (getWindowListeners): Documentation added.
5379 * java/awt/color/ColorSpace.java
5380 (toRGB): Documentation added.
5381 * java/awt/color/ICC_ColorSpace.java
5382 (ICC_ColorSpace): Documentation added.
5383 (toRGB): Throw exception, documentation added.
5384 (fromRGB): Throw exception, documentation added.
5385 (toCIEXYZ): Documentation added.
5386 (fromCIEXYZ): Documentation added.
5387 (getMinValue): Documentation added.
5388 (getMaxValue): Documentation added.
5389 * java/awt/geom/Dimension2D.java
5390 (clone): Documentation added.
5391 * java/awt/geom/GeneralPath.java
5392 (clone): Documentation added.
5393 * java/awt/geom/Line2D.java
5394 (clone): Documentation added.
5395 * java/awt/geom/QuadCurve2D.java
5396 (clone): Documentation added.
5397 * java/awt/image/ColorModel.java
5398 (ColorModel): Throw exception, documentation added.
5399 * java/awt/image/ImageFilter.java
5400 (clone): Doesnt throw CloneNotSupportedException.
5402 2003-01-14 Andrew Haley <aph@redhat.com>
5404 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
5407 2003-01-10 Andrew Haley <aph@redhat.com>
5409 * include/dwarf2-signal.h: Remove x86_64.
5410 * configure.host (x86_64 DIVIDESPEC): Remove.
5411 * include/x86_64-signal.h: New file.
5412 * configure.in: Regenerate.
5414 2003-01-10 Michael Koch <konqueror@gmx.de>
5416 * java/net/DatagramSocket.java
5417 (ch): Description added.
5418 (remotePort): Initialize with -1.
5419 (connect): Doesnt throws SocketException.
5420 * java/net/MulticastSocket.java
5421 (setInterface): Merge with Classpath.
5422 * java/net/ServerSocket.java
5423 (closed): New member variable.
5424 (bind): Check if socket is closed.
5425 (close): Close an associated channel too, set new value to closed.
5426 (isBound): Reindented.
5427 (isClosed): Implemented.
5428 * java/net/Socket.java
5429 (closed): New member variable.
5430 (bind): Check if socket is closed.
5431 (connect): Check if socket is closed.
5432 (close): Close an associated channel too, set new value to closed.
5433 (isClosed): Implemented.
5435 2003-01-10 Michael Koch <konqueror@gmx.de>
5437 * java/awt/DisplayMode.java
5438 (equals): Fixed argument type and implementation.
5440 2003-01-07 Tom Tromey <tromey@redhat.com>
5442 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
5443 JV_HASH_SYNCHRONIZATION.
5444 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
5445 JV_HASH_SYNCHRONIZATION.
5447 2003-01-07 Michael Koch <konqueror@gmx.de>
5449 * java/net/DatagramSocket.java:
5450 Added classpath license info.
5451 (DatagramSocket): Merged description with classpath.
5452 (close): Merged description with classpath.
5453 (getChannel): Merged description with classpath.
5454 (getInetAddress): Merged description with classpath.
5455 (getPort): Merged description with classpath.
5456 (getLocalAddress): Merged description with classpath.
5457 (getLocalPort): Merged description with classpath.
5458 (getSoTimeout): Merged description with classpath.
5459 (setSoTimeout): Merged description with classpath.
5460 (getSendBufferSize): Merged description with classpath.
5461 (setSendBufferSize): Merged description with classpath.
5462 (getReceiveBufferSize): Merged description with classpath.
5463 (setReceiveBufferSize): Merged description with classpath.
5465 2003-01-04 Tom Tromey <tromey@redhat.com>
5467 * java/awt/List.java: Merged with Classpath.
5469 2003-01-03 Mark Wielaard <mark@klomp.org>
5471 * java/io/FileDescriptor.java (position): New private field.
5472 * java/io/natFileDescriptorPosix.cc (write): Up position.
5473 (setLength): Use and set position.
5474 (seek): Set position.
5475 (getFilePointer): Return position.
5476 (read): Up position.
5478 2003-01-03 Mark Wielaard <mark@klomp.org>
5480 Merge with Classpath:
5481 * java/io/ObjectStreamClass.java (lookup): Split method and call
5482 lookupForClassObject().
5483 (lookupForClassObject): New method.
5484 (isProxyClass): New field.
5485 (setClass): Set isProxyClass, add object to classLookupTable, set
5486 superClass and calculateOffsets.
5487 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
5488 and not a proxy class.
5489 (setFields): Set accessible true for serialPersistentFields.
5490 (getClassUID): Same for suid. And check if suid is of type long.
5491 (hasClassInitializer): Don't throw NoSuchMethodError.
5493 2003-01-03 Mark Wielaard <mark@klomp.org>
5495 * java/io/FileInputStream.java (finalize): Don't explicitly
5496 finalize FileDescriptor.
5498 2003-01-03 Jeff Sturm <jsturm@one-point.com>
5500 * configure.host (sparc*-*): Enable bytecode interpreter.
5502 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
5504 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
5505 Don't throw RemoteException.
5506 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
5507 throw RemoteException.
5509 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
5511 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
5512 proxyHost): New static fields.
5513 (<clinit>): Initialize new fields.
5514 (connect): Use proxy if necessary.
5515 (usingProxy): Implement.
5517 2003-01-03 Eric Blake <ebb9@email.byu.edu>
5519 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
5520 (TreeIterator.remove): Prefer IllegalStateException over
5521 ConcurrentModificationException, to match Sun.
5523 2002-12-22 Anthony Green <green@redhat.com>
5525 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
5527 2003-01-02 Mark Wielaard <mark@klomp.org>
5529 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
5531 (HTTP_USE_PROXY): Add field.
5532 (getResponseVals): Only set responseCode when not yet explicitly
5535 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
5536 Mark Wielaard <mark@klomp.org>
5538 * java/util/zip/ZipFile.java (entries): Now HashMap.
5539 (readLeShort(DataInput, byte[])): Read from given byte array.
5540 (readLeInt(DataInput, byte[]): Likewise.
5541 (readLeShort(byte[] b, int off)): New method.
5542 (readLeInt(byte[] b, int off)): Likewise.
5543 (readEntries): Use byte arrays to read info in bigger chunks.
5544 (getEntries): Return HashMap.
5545 (getEntry): Use HashMap.
5546 (locBuf): New private field.
5547 (checkLocalHeader): Use locBuf to read info in one chunk.
5548 (getInputStream): Use entries HashMap, wrap PartialInputStream
5549 in BufferedInputStream.
5550 (ZipEntryEnumeration): Use HashMap and Interator.
5552 2003-01-02 Mark Wielaard <mark@klomp.org>
5553 Jeroen Frijters <jeroen@sumatra.nl>
5555 * java/net/URLClassLoader.java (Resource.getCodeSource):
5556 Fix check certs == null.
5557 (getCanonicalFileURL): Removed method.
5558 (JarURLLoader): Don't call removed method.
5559 (FileURLLoader): Likewise.
5560 (FileURLLoader.getResource): Don't canonicalize file name.
5562 2003-01-01 Tom Tromey <tromey@redhat.com>
5564 * Makefile.in: Rebuilt.
5565 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
5566 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
5567 java/awt/BufferCapabilities.java, java/awt/Button.java,
5568 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
5569 java/awt/Container.java, java/awt/Cursor.java,
5570 java/awt/EventQueue.java, java/awt/FileDialog.java,
5571 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
5572 java/awt/MenuBar.java, java/awt/MenuComponent.java,
5573 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
5574 java/awt/Scrollbar.java, java/awt/TextArea.java,
5575 java/awt/TextField.java, java/awt/color/CMMException.java,
5576 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
5577 java/awt/color/ProfileDataException.java,
5578 java/awt/datatransfer/Clipboard.java,
5579 java/awt/datatransfer/DataFlavor.java,
5580 java/awt/datatransfer/FlavorMap.java,
5581 java/awt/datatransfer/SystemFlavorMap.java,
5582 java/awt/dnd/DragGestureEvent.java,
5583 java/awt/dnd/DragGestureRecognizer.java,
5584 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
5585 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
5586 java/awt/im/InputMethodHighlight.java,
5587 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
5588 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
5590 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
5591 `op' to BufferedImageOp.
5593 2002-12-31 Tom Tromey <tromey@redhat.com>
5595 Fix for PR libgcj/7416:
5596 * javax/naming/InitialContext.java (init): Use
5597 gnu.classpath.home.url.
5598 * java/security/Security.java: Use new properties.
5599 (loadProviders): Accept base url; use it.
5600 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
5601 gnu.classpath.home.url.
5602 (gnu.classpath.home.url): Define.
5603 (gnu.classpath.vm.shortname): Likewise.
5605 2002-12-31 Tom Tromey <tromey@redhat.com>
5606 Ranjit Mathew <rmathew@hotmail.com>
5608 Fix for PR libgcj/8997:
5609 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
5611 * include/posix.h (_Jv_platform_usleep): New function.
5612 * include/win32.h (_Jv_platform_usleep): New function.
5614 2002-12-29 Tom Tromey <tromey@redhat.com>
5616 * gcj/javaprims.h: Updated.
5617 * scripts/classes.pl (scan): Removed stray semicolon.
5619 2002-12-30 Mark Wielaard <mark@klomp.org>
5621 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
5624 2002-12-30 Mark Wielaard <mark@klomp.org>
5626 * java/util/Properties (formatForOutput): Don't fall through to
5627 default case after escaping character.
5629 2002-12-30 Mark Wielaard <mark@klomp.org>
5631 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
5634 2002-12-27 Mark Mitchell <mark@codesourcery.com>
5636 * boehm.cc: Remove stray semicolon.
5637 * interpret.cc: Likewise.
5638 * prims.cc: Likewise.
5639 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
5640 earlier to ensure default arguments are processed.
5641 * gcj/array.h (JArray): Add forward declaration.
5642 (elements): Likewise.
5643 * gcj/javaprim.h: Remove stray semicolons.
5644 * include/bohm-gc.h: Likewise.
5645 * include/jni.h: Likewise.
5646 * include/jvm.h: Likewise.
5647 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
5649 2002-12-23 Jeff Sturm <jsturm@one-point.com>
5651 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
5653 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
5654 idt tables after initializing superclass.
5655 * java/lang/natClassLoader.cc (uaddr): New typedef.
5656 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
5657 if they are constant pool indicies. Don't link vtable, otable yet.
5659 2002-12-21 Anthony Green <green@redhat.com>
5661 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
5663 * Makefile.in: Rebuilt.
5665 2002-12-19 Anthony Green <green@redhat.com>
5667 * Makefile.am (ordinary_java_source_files): Add
5668 org/xml/sax/helpers/NewInstance.java.
5669 * Makefile.in: Rebuilt.
5670 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
5671 org/xml/sax/helpers/package.html: New files.
5672 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
5673 http://www.saxproject.org.
5675 2002-12-19 Andrew Haley <aph@redhat.com>
5677 * java/util/natResourceBundle.cc: Include
5678 ArrayIndexOutOfBoundsException.h.
5679 (getCallingClassLoader): Don't put upper bound on stack search.
5680 Catch ArrayIndexOutOfBoundsException.
5682 2002-12-19 Tom Tromey <tromey@redhat.com>
5684 * libtool-version: Increased `current'.
5686 2002-12-19 Tom Tromey <tromey@redhat.com>
5688 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
5690 * java/lang/ClassLoader.java (defineClass): Use chained
5691 exception when rethrowing.
5692 * defineclass.cc (handleClassBegin): Mark class as interpreted.
5693 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
5695 * resolve.cc (_Jv_PrepareMissingMethods): New function.
5696 (_Jv_PrepareClass): Use it.
5697 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
5698 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
5699 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
5700 (Class): _Jv_PrepareMissingMethods now friend.
5701 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
5702 Record `NULL' for system class loader.
5703 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
5704 system class loader.
5705 (_Jv_FindClassInCache): Likewise.
5706 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
5707 (_Jv_FindClass): Special case system class loader.
5708 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
5709 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
5711 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
5713 (_getDeclaredMethod): Don't return synthetic methods.
5714 (getDeclaredMethods): Likewise.
5715 (_getMethod): Likewise.
5716 (_getMethods): Likewise.
5718 2002-12-18 Raif Naffah <raif@fl.net.au>
5720 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
5721 canonical form after divide().
5722 (modInverse): Likewise.
5724 2002-12-13 Casey Marshall <rsdio@metastatic.org>
5725 Mark Wielaard <mark@klomp.org>
5727 * java/security/SecurityRandom (digest): Removed field.
5728 (SecureRandom): Check all providers for case-insensitive SecureRandom
5729 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
5731 (getInstance(String,Provider,boolean): New method.
5732 (getInstance(String)): Use new method.
5733 (getInstance(String,String)): Likewise.
5734 (getInstance(String,Provider)): Likewise.
5736 2002-12-13 Casey Marshall <rsdio@metastatic.org>
5738 * java/security/Security.java (loadProviders): Increment i only once.
5740 2002-12-12 Mark Wielaard <mark@klomp.org>
5742 * java/lang/ClassLoader.java (resolveClass0): Transform
5743 ClassNotFoundException to NoClassDefFoundError. Transform all other
5744 throwables to LinkageError.
5746 2002-12-11 Tom Tromey <tromey@redhat.com>
5748 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
5750 * java/lang/ClassLoader.java (loadedClasses): New field.
5751 (defineClass): Fixed indentation. Put new class in
5753 (findLoadedClass): Implement here.
5754 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
5756 2002-12-10 Tom Tromey <tromey@redhat.com>
5758 * Makefile.in: Rebuilt.
5759 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
5760 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
5761 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
5762 * java/lang/natClassLoader.cc
5763 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
5765 2002-12-10 Mark Wielaard <mark@klomp.org>
5766 Tom Tromey <tromey@redhat.com>
5768 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
5769 (JarURLLoader): Use it.
5770 (FileURLLoader): Likewise.
5771 (JarURLResource.getURL): Use chained exception.
5772 (FileResource.getURL): Likewise.
5773 (FileURLLoader.getResource): Use canonical file name.
5774 (addURL): Indentation fix.
5776 2002-12-10 Tom Tromey <tromey@redhat.com>
5778 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
5779 From Laurent Bardet <l.bardet@magic.fr>.
5781 2002-12-09 Tom Tromey <tromey@redhat.com>
5783 * include/win32.h (_Jv_platform_solib_prefix): New define.
5784 (_Jv_platform_solib_suffix): Likewise.
5785 * include/posix.h (_Jv_platform_solib_prefix): New define.
5786 (_Jv_platform_solib_suffix): Likewise.
5787 * java/lang/natRuntime.cc: Include StackTrace.h.
5788 (_load): Use findLibrary and new platform defines.
5789 (nativeGetLibname): Use new platform defines.
5791 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
5794 2002-12-08 Mark Wielaard <mark@klomp.org>
5796 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
5797 cache remote jar files.
5798 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
5799 add File.separator to URL when it is a directory.
5800 * java/lang/ClassLoader.java: Add Classpath javadoc.
5802 (getParent): Add (disabled) security check.
5803 (findLibrary): New default method.
5804 * java/net/JarURLConnection.java (getManifest): Implement.
5805 (getInputStream): Only create InputStream when entry exists.
5806 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
5808 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
5810 2002-12-08 Mark Wielaard <mark@klomp.org>
5812 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
5813 (lastDefaultLocale): New field.
5814 (getBundle): When Locale.getDefault != lastDefaultLocale reset
5815 resourceBundleCache.
5817 2002-12-06 Mark Wielaard <mark@klomp.org>
5819 * java/net/InetAddress.java (toString): Use hostname when not null,
5820 don't do an explicit reverse getHostName() lookup.
5821 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
5822 NullPointerException.
5824 2002-12-06 Tom Tromey <tromey@redhat.com>
5826 * include/java-interp.h (class _Jv_InterpMethod): Added
5828 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
5829 mark `prepared' field of interpreted method.
5830 * interpret.cc (compile): Use _Jv_AllocBytes.
5832 2002-12-05 Andrew Haley <aph@redhat.com>
5834 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
5835 #ifdef (HAVE_BACKTRACE) around the whole function body.
5837 2002-12-05 Tom Tromey <tromey@redhat.com>
5839 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
5840 * resolve.cc: Don't include AbstractMethodError.h.
5841 (_Jv_abstractMethodError): Removed.
5842 * defineclass.cc (handleMethodsBegin): Initialize method index to
5844 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
5845 method index for "new" final method.
5846 (_Jv_SetVTableEntries): Compare index against -1 instead of using
5847 isVirtualMethod. Added `flags' argument.
5848 (_Jv_MakeVTable): Throw exception for abstract method in concrete
5851 2002-12-04 Tom Tromey <tromey@redhat.com>
5853 * java/net/SocketPermission.java (hashCode): Rewrote.
5855 2002-12-04 Tom Tromey <tromey@redhat.com>
5857 * Makefile.in: Rebuilt.
5858 * Makefile.am (nat_source_files): Added natVMSecurityManager,
5860 * java/util/ResourceBundle.java (Security): Removed.
5861 (getCallingClassLoader): Now native.
5862 * java/util/natResourceBundle.cc: New file.
5863 * java/lang/natVMSecurityManager.cc: New file.
5864 * java/lang/VMSecurityManager.java (getClassContext): Now native.
5866 2002-12-03 Mark Wielaard <mark@klomp.org>
5868 * java/util/jar/JarFile.java (manifest): Not final.
5869 (manifestRead): New field.
5870 (JarFile): Don't read Manifest in constructor.
5871 (getManifest): New method.
5872 (JarEnumeration.nextElement): Use new method.
5873 (getEntry): Likewise.
5874 * java/util/zip/ZipFile.java (name): Final.
5876 (entries): Change type to Hashtable.
5877 (closed): New field.
5878 (ZipFile): Don't read enties in constructor.
5879 (readEntries): Use Hashtable.
5880 (close): Set new close flag and set entries to null inside
5882 (entries): Contruct enumeration using new getEntries() method and
5884 (getEntryIndex): Removed.
5885 (getEntries): New method.
5886 (getEntry): Use new getEntries() method and entries Hastable.
5887 (getInputStream): Likewise.
5888 (size): Return getEntries().size().
5889 (ZipEntryEnumeration): Wrap entries Hashtable elements.
5890 * java/util/zip/ZipEntry.java (cal): Don't initialize.
5892 (dostime): New field.
5893 (zipFileIndex): Removed.
5894 (ZipEntry(ZipEntry)): Copy dostime.
5895 (setDOSTime): Now final and doesn't convert dos time.
5896 (getDOSTime): Likewise.
5897 (setTime): Convert dos time.
5898 (getTime): Likewise.
5899 (getCalendar): New method.
5900 (setExtra): Use setTime().
5901 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
5903 2002-12-03 Tom Tromey <tromey@redhat.com>
5905 * java/lang/Character.java (forDigit): Formatting fix.
5907 2002-12-03 Raif Naffah <raif@fl.net.au>
5909 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
5910 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
5911 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
5913 2002-12-03 Andrew Haley <aph@redhat.com>
5915 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
5917 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
5918 (_Jv_PopClass): New.
5919 (_Jv_PushClass): New.
5920 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
5921 discover the ClassLoader of our caller.
5922 (_Jv_CheckArrayStore): Don't check that a class is assignment
5923 compatible with Object.
5924 * java/lang/natVMTHrowable.cc: Delete.
5925 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
5926 java.lang.VMThrowable.
5927 (StackTrace(), StackTrace(int)): New constructors.
5928 (classAt, methodAt, update, methodAtAddress): New methods.
5930 * java/lang/VMThrowable.java: Use StackTrace instead of
5932 * java/lang/Class.h (getClassLoaderInternal): New.
5933 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
5934 Be friendly with gnu::gcj::runtime::StackTrace.
5935 (Object.chain): New field.
5936 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
5937 gnu::gcj::runtime::StackTrace.
5938 * gnu/gcj/runtime/natStackTrace.cc: New file.
5939 * gnu/gcj/runtime/MethodRef.java: New file.
5940 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
5941 instead of getClassLoader().
5942 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
5943 java::lang::VMThrowable.
5944 * Makefile.am (core_java_source_files): Add MethodRef.java,
5946 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
5947 * Makefile.in: Rebuild.
5949 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
5951 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
5952 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
5953 yes also for sh-linux* and sh[34]*-linux*.
5954 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
5955 set SIGNAL_HANDLER to use DWARF2 exception for them.
5956 * configure: Regenerate.
5958 2002-12-02 Tom Tromey <tromey@redhat.com>
5960 * jni.cc: Added `name' argument.
5961 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
5962 `const char *' argument.
5963 (class _Jv_JNIEnv) [DefineClass]: Likewise.
5965 2002-12-01 Tom Tromey <tromey@redhat.com>
5967 Bug compatibility, for PR libgcj/8738:
5968 * java/io/CharArrayWriter.java (close): Do nothing.
5970 (reset): Don't touch `closed'.
5971 (write(int)): Don't throw IOException.
5972 (write(char[],int,int)): Likewise.
5973 (write(String,int,int)): Likewise.
5976 2002-12-01 Mark Wielaard <mark@klomp.org>
5978 * java/lang/SecurityManager.java: Remerge comments, indenting and
5979 checkXXX methods with Classpath.
5981 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
5983 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
5984 getNormalizedComponents): Fix calculation which was using one too
5985 many bits in the unnormalized format.
5987 2002-11-29 Gary Benson <gbenson@redhat.com>
5990 * java/beans/Introspector.java (flushCaches): New method.
5991 (flushFromCaches): Likewise.
5993 2002-11-29 Michael Koch <konqueror@gmx.de>
5995 * java/nio/channels/DatagramChannel.java
5996 (open): Added exception documentation.
5997 (write): Added exception documentation.
5998 (connect): Added exception documentation.
5999 (disconnect): Added exception documentation.
6000 (isConnected): Added exception documentation.
6001 (read): Added exception documentation.
6002 (receive): Added exception documentation.
6003 (send): Added exception documentation.
6004 (validOps): Added exception documentation.
6005 * java/nio/channels/SocketChannel.java
6006 (open): Added exception documentation.
6007 (read): Added exception documentation.
6008 (write): Added exception documentation.
6009 (connect): Added exception documentation.
6010 (finishConnect): Added exception documentation.
6012 2002-11-29 Michael Koch <konqueror@gmx.de>
6014 * gnu/java/nio/DatagramChannelImpl:
6015 (fd): New member variable to store file descriptor of socket.
6016 * gnu/java/nio/SelectionKeyImpl.java:
6018 (readyOps): New member variable.
6019 (interestOps): New member variable.
6020 (readyOps): Implemented.
6021 (readyOps): New method to set member variable readyOps.
6022 (interestOps): Replaced ops by interestOps.
6023 * gnu/java/nio/SelectorImpl.java:
6024 (SelectorImpl): Initialize key sets.
6025 (select): Call select with -1 instead of Long.MAX_VALUE).
6026 (java_do_select): Make it a native method.
6027 (getFDsAsArray): New helper method.
6028 (select): Remove canceled keys, give only interested file discriptors
6029 to java_do_select, set ready ops.
6030 (add): No need to initialize keys set here.
6031 (add_selected): No need to initialize selected set here.
6032 (deregisterCanceledKeys): New helper method.
6033 (register): Set interest ops, set attachments, added handling of datagram
6035 * gnu/java/nio/ServerSocketChannelImpl:
6036 (SocketAccept): Renamed from NioSocketAccept.
6037 (implConfigureBlocking): Implemented.
6038 (accept): Use SocketAccept instead of NioSocketAccept.
6039 * gnu/java/nio/SocketChannelImpl:
6040 Reactivate native methods.
6042 2002-11-29 Michael Koch <konqueror@gmx.de>
6044 * gnu/java/nio/natByteBufferImpl.cc,
6045 gnu/java/nio/natCharBufferImpl.cc,
6046 gnu/java/nio/natDoubleBufferImpl.cc,
6047 gnu/java/nio/natFloatBufferImpl.cc,
6048 gnu/java/nio/natIntBufferImpl.cc,
6049 gnu/java/nio/natLongBufferImpl.cc,
6050 gnu/java/nio/natSelectorImpl.cc,
6051 gnu/java/nio/natServerSocketChannelImpl.cc,
6052 gnu/java/nio/natShortBufferImpl.cc,
6053 gnu/java/nio/natSocketChannelImpl.cc:
6054 New files that implement native functionalities.
6056 2002-11-29 Michael Koch <konqueror@gmx.de>
6058 * gnu/java/nio/ByteBufferImpl.java
6059 (ByteBufferImpl): Moved position() after limit.
6060 (nio_*): Use native implementation.
6061 * gnu/java/nio/CharBufferImpl.java:
6063 (endian): New member variable string endianess of buffer.
6064 (CharBufferImpl): Moved position() after limit.
6065 (nio_*): Use native implementation.
6066 (subSequence): Implemented.
6067 * gnu/java/nio/DoubleBufferImpl.java
6068 (DoubleBufferImpl): Moved position() after limit.
6069 (nio_*): Use native implementation.
6070 * gnu/java/nio/FloatBufferImpl.java
6072 (FloatBufferImpl): Moved position() after limit.
6073 (nio_*): Use native implementation.
6074 * gnu/java/nio/IntBufferImpl.java
6075 Added needed imports, Reformated.
6076 (IntBufferImpl): Moved position() after limit.
6077 (nio_*): Use native implementation.
6078 * gnu/java/nio/LongBufferImpl.java
6080 (LongBufferImpl): Moved position() after limit.
6081 (nio_*): Use native implementation.
6082 * gnu/java/nio/ShortBufferImpl.java
6084 (ShortBufferImpl): Moved position() after limit.
6085 (nio_*): Use native implementation.
6087 2002-11-27 Julian Dolby <dolby@us.ibm.com>
6089 * java/util/Locale.java (toString): Improve efficiency if country
6090 and variant are both empty.
6092 2002-11-26 Tom Tromey <tromey@redhat.com>
6094 * verify.cc (pop_init_ref): New method.
6095 (verify_instructions_0) [op_iaload, op_laload, op_faload,
6096 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
6097 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
6098 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
6099 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
6100 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
6101 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
6102 let `this' argument be uninitialized. Don't let `null' be passed
6103 as `this' to construtor.
6105 2002-11-26 Mark Wielaard <mark@klomp.org>
6107 * javax/transaction/HeuristicCommitException.java: Classpath merge.
6108 * javax/transaction/HeuristicMixedException.java: Likewise.
6109 * javax/transaction/HeuristicRollbackException.java: Likewise.
6110 * javax/transaction/InvalidTransactionException.java: Likewise.
6111 * javax/transaction/NotSupportedException.java: Likewise.
6112 * javax/transaction/RollbackException.java: Likewise.
6113 * javax/transaction/Status.java: Likewise.
6114 * javax/transaction/Synchronization.java: Likewise.
6115 * javax/transaction/SystemException.java: Likewise.
6116 * javax/transaction/Transaction.java: Likewise.
6117 * javax/transaction/TransactionManager.java: Likewise.
6118 * javax/transaction/TransactionRequiredException.java: Likewise.
6119 * javax/transaction/TransactionRolledbackException.java: Likewise.
6120 * javax/transaction/UserTransaction.java: Likewise.
6121 * javax/transaction/xa/XAException.java: Likewise.
6122 * javax/transaction/xa/XAResource.java: Likewise.
6123 * javax/transaction/xa/Xid.java: Likewise.
6125 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
6127 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
6129 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
6130 * include/posix.h (socklen_t): Define if not already defined.
6132 2002-11-25 Tom Tromey <tromey@redhat.com>
6134 * verify.cc (type::compatible): Backed out broken change.
6136 * verify.cc (type::compatible): Check initialization status
6138 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
6139 Don't use NULLCHECK.
6141 2002-11-23 H.J. Lu <hjl@gnu.org>
6143 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
6144 Include ../config/accross.m4.
6145 * aclocal.m4; Rebuild.
6146 * configure: Likewise.
6148 2002-11-23 Mark Wielaard <mark@klomp.org>
6150 * javax/naming/AuthenticationException.java: Update copyright header.
6151 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
6152 * javax/naming/Binding.java: Likewise.
6153 * javax/naming/CannotProceedException.java: Likewise.
6154 * javax/naming/CommunicationException.java: Likewise.
6155 * javax/naming/CompositeName.java: Likewise.
6156 * javax/naming/CompoundName.java: Likewise.
6157 * javax/naming/ConfigurationException.java: Likewise.
6158 * javax/naming/Context.java: Likewise.
6159 * javax/naming/ContextNotEmptyException.java: Likewise.
6160 * javax/naming/InitialContext.java: Likewise.
6161 * javax/naming/InsufficientResourcesException.java: Likewise.
6162 * javax/naming/InterruptedNamingException.java: Likewise.
6163 * javax/naming/LimitExceededException.java: Likewise.
6164 * javax/naming/LinkException.java: Likewise.
6165 * javax/naming/LinkLoopException.java: Likewise.
6166 * javax/naming/LinkRef.java: Likewise.
6167 * javax/naming/MalformedLinkException.java: Likewise.
6168 * javax/naming/NameAlreadyBoundException.java: Likewise.
6169 * javax/naming/NameClassPair.java: Likewise.
6170 * javax/naming/NameNotFoundException.java: Likewise.
6171 * javax/naming/NameParser.java: Likewise.
6172 * javax/naming/NamingEnumeration.java: Likewise.
6173 * javax/naming/NamingSecurityException.java: Likewise.
6174 * javax/naming/NoInitialContextException.java: Likewise.
6175 * javax/naming/NoPermissionException.java: Likewise.
6176 * javax/naming/NotContextException.java: Likewise.
6177 * javax/naming/OperationNotSupportedException.java: Likewise.
6178 * javax/naming/PartialResultException.java: Likewise.
6179 * javax/naming/Reference.java: Likewise.
6180 * javax/naming/Referenceable.java: Likewise.
6181 * javax/naming/ReferralException.java: Likewise.
6182 * javax/naming/ServiceUnavailableException.java: Likewise.
6183 * javax/naming/SizeLimitExceededException.java: Likewise.
6184 * javax/naming/TimeLimitExceededException.java: Likewise.
6185 * javax/naming/directory/Attribute.java: Likewise.
6186 * javax/naming/directory/AttributeInUseException.java: Likewise.
6187 * javax/naming/directory/AttributeModificationException.java: Likewise.
6188 * javax/naming/directory/Attributes.java: Likewise.
6189 * javax/naming/directory/BasicAttribute.java: Likewise.
6190 * javax/naming/directory/BasicAttributes.java: Likewise.
6191 * javax/naming/directory/DirContext.java: Likewise.
6192 * javax/naming/directory/InitialDirContext.java: Likewise.
6193 * javax/naming/directory/InvalidAttributeIdentifierException.java:
6195 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
6196 * javax/naming/directory/InvalidAttributesException.java: Likewise.
6197 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
6198 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
6199 * javax/naming/directory/ModificationItem.java: Likewise.
6200 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
6201 * javax/naming/directory/SchemaViolationException.java: Likewise.
6202 * javax/naming/directory/SearchControls.java: Likewise.
6203 * javax/naming/directory/SearchResult.java: Likewise.
6204 * javax/naming/event/EventContext.java: Likewise.
6205 * javax/naming/event/EventDirContext.java: Likewise.
6206 * javax/naming/event/NamespaceChangeListener.java: Likewise.
6207 * javax/naming/event/NamingEvent.java: Likewise.
6208 * javax/naming/event/NamingExceptionEvent.java: Likewise.
6209 * javax/naming/event/NamingListener.java: Likewise.
6210 * javax/naming/event/ObjectChangeListener.java: Likewise.
6211 * javax/naming/ldap/Control.java: Likewise.
6212 * javax/naming/ldap/ControlFactory.java: Likewise.
6213 * javax/naming/ldap/ExtendedRequest.java: Likewise.
6214 * javax/naming/ldap/ExtendedResponse.java: Likewise.
6215 * javax/naming/ldap/HasControls.java: Likewise.
6216 * javax/naming/ldap/InitialLdapContext.java: Likewise.
6217 * javax/naming/ldap/LdapContext.java: Likewise.
6218 * javax/naming/ldap/LdapReferralException.java: Likewise.
6219 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
6220 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
6221 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
6222 * javax/naming/spi/DirObjectFactory.java: Likewise.
6223 * javax/naming/spi/DirStateFactory.java: Likewise.
6224 * javax/naming/spi/DirectoryManager.java: Likewise.
6225 * javax/naming/spi/InitialContextFactory.java: Likewise.
6226 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
6227 * javax/naming/spi/NamingManager.java: Likewise.
6228 * javax/naming/spi/ObjectFactory.java: Likewise.
6229 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
6230 * javax/naming/spi/ResolveResult.java: Likewise.
6231 * javax/naming/spi/Resolver.java: Likewise.
6232 * javax/naming/spi/StateFactory.java: Likewise.
6234 * javax/naming/spi/NamingManager.java (ofb): Package private.
6236 2002-11-21 Mark Wielaard <mark@klomp.org>
6238 * java/net/URL.java: Merge with Classpath (partly).
6239 * java/net/URLStreamHandler: Merge with Classpath.
6241 2002-11-22 Michael Koch <konqueror@gmx.de>
6244 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6246 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
6247 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
6249 2002-11-21 Michael Koch <konqueror@gmx.de>
6251 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
6252 Only the new network functions should be in it.
6254 2002-11-21 Michael Koch <konqueror@gmx.de>
6256 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6257 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
6259 2002-11-21 Michael Koch <konqueror@gmx.de>
6261 * java/nio/channels/AsynchronousCloseException.java,
6262 java/nio/channels/CancelledKeyException.java,
6263 java/nio/channels/ClosedByInterruptException.java,
6264 java/nio/channels/ConnectionPendingException.java,
6265 java/nio/channels/FileLockInterruptionException.java,
6266 java/nio/channels/IllegalSelectorException.java,
6267 java/nio/channels/NoConnectionPendingException.java,
6268 java/nio/channels/NonReadableChannelException.java,
6269 java/nio/channels/NonWritableChannelException.java,
6270 java/nio/channels/NotYetBoundException.java,
6271 java/nio/channels/NotYetConnectedException.java,
6272 java/nio/channels/OverlappingFileLockException.java,
6273 java/nio/channels/UnresolvedAddressException.java,
6274 java/nio/channels/UnsupportedAddressTypeException.java:
6276 * Makefile.am (ordinary_java_source_files): Added new files.
6277 * Makefile.in: Regenerated.
6279 2002-11-21 Michael Koch <konqueror@gmx.de>
6282 (_Jv_socket): New method.
6283 (_Jv_connect): New method.
6284 (_Jv_close): New method.
6285 (_Jv_platform_close_on_exec): Prefixed system function with "::".
6286 (_Jv_bind): New method.
6287 (_Jv_listen): New method.
6288 (_Jv_write): New method.
6289 (_Jv_read): New method.
6291 (_Jv_socket): New method.
6292 (_Jv_connect): New method.
6293 (_Jv_close): New method.
6294 (_Jv_bind): New method.
6295 (_Jv_listen): New method.
6296 (_Jv_write): New method.
6297 (_Jv_read): New method.
6298 * java/net/natNetworkInterface.cc:
6299 Include platform.h, removed inclusion of socket.h
6300 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
6301 ::close() by _Jv_close().
6302 * java/net/natPlainDatagramSocketImpl.cc:
6303 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
6304 added some new lines to make code more readable.
6305 (create): Replaced ::socket() by _Jv_socket().
6306 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6307 * java/net/natPlainSocketImpl.cc:
6308 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
6309 removed include of socket.h, removed some windows defines
6310 (now in include/win32.h).
6311 (create): Replaced ::socket() by _Jv_socket().
6312 (close): Replaced NATIVE_CLOSE() by _Jv_close().
6313 (write): Replaced ::read by _Jv_write().
6314 (read): Replaced ::read by _Jv_read().
6316 2002-11-20 Michael Koch <konqueror@gmx.de>
6318 * Makefile.am (ordinary_java_source_files):
6319 Added java/nio/channels/FileChannel.java.
6320 * Makefile.in: Regenerated.
6322 2002-11-20 Michael Koch <konqueror@gmx.de>
6324 * java/io/FileInputStream.java
6325 (getChannel): New method.
6326 * java/io/FileOutputStream.java
6327 (getChannel): New method.
6328 * java/net/ServerSocket.java
6329 (bind): Removed duplicate code and called another bind method instead.
6330 * java/nio/channels/SelectionKey.java
6331 (isValid): Removed wrong exception documentation.
6332 * java/nio/channels/ServerSocketChannel.java
6333 (accept): Added exception documentation.
6334 (open): Fixed typo, added exception documentation.
6335 * java/nio/channels/spi/AbstractSelectableChannel.java
6336 (implCloseChannel): Added exception documentation.
6338 (register): Added exception documentation.
6340 2002-11-20 Andreas Jaeger <aj@suse.de>
6342 * configure: Regenerated with new libtool.m4.
6344 2002-11-19 Tom Tromey <tromey@redhat.com>
6346 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
6348 (finalize_referred_to_object): Don't modify `referent' or `copy'
6350 (add_to_hash): Correctly set `n->next' when updating list.
6351 * java/lang/ref/Reference.java (enqueue): Return false if already
6354 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
6356 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
6357 to function and function pointer declarations in accordance with
6358 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
6359 based on whether __GCJ_JNI_IMPL__ has been defined or not.
6360 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
6361 JNI function definitions.
6363 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6365 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
6366 that was causing CoderResults to be cached, not WeakReferences
6369 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
6371 * java/security/KeyStore.java (getInstance): Fix
6372 comment and throw IllegalArgumentException if
6373 given provider is null.
6374 (getInstance): New method for jdk1.4 compatibility.
6376 2002-11-18 Michael Koch <konqueror@gmx.de>
6378 * java/net/PlainSocketImpl.java: Fix imports.
6380 2002-11-18 Michael Koch <konqueror@gmx.de>
6382 * java/nio/channels/SelectionKey.java
6383 (isValid): Added exception documentation.
6384 * java/nio/channels/Selector.java
6385 (open): Declare "throws IOException".
6387 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6389 * java/nio/charset/Charset.java
6390 (<clinit>): New method.
6391 (encode): Synchronize use of cached encoder object.
6392 (decode): Synchronize use of cached encoder object.
6394 2002-11-18 Michael Koch <konqueror@gmx.de>
6396 * gnu/java/nio/ByteBufferImpl.java,
6397 gnu/java/nio/CharBufferImpl.java,
6398 gnu/java/nio/DatagramChannelImpl.java,
6399 gnu/java/nio/DoubleBufferImpl.java,
6400 gnu/java/nio/FileChannelImpl.java,
6401 gnu/java/nio/FloatBufferImpl.java,
6402 gnu/java/nio/IntBufferImpl.java,
6403 gnu/java/nio/LongBufferImpl.java,
6404 gnu/java/nio/PipeImpl.java,
6405 gnu/java/nio/SelectionKeyImpl.java,
6406 gnu/java/nio/SelectorImpl.java,
6407 gnu/java/nio/SelectorProviderImpl.java,
6408 gnu/java/nio/ServerSocketChannelImpl.java,
6409 gnu/java/nio/ShortBufferImpl.java,
6410 gnu/java/nio/SocketChannelImpl.java,
6411 java/nio/DoubleBuffer.java,
6412 java/nio/FloatBuffer.java,
6413 java/nio/IntBuffer.java,
6414 java/nio/LongBuffer.java,
6415 java/nio/ShortBuffer.java,
6416 java/nio/channels/FileChannel.java: New files.
6418 2002-11-18 Michael Koch <konqueror@gmx.de>
6420 * Makefile.am (ordinary_java_source_files):
6421 Added java/nio/ReadOnlyBufferException.java and
6422 java/nio/channels/ClosedSelectorException.java.
6423 * Makefile.in: Regenerated.
6425 2002-11-18 Michael Koch <konqueror@gmx.de>
6427 * java/net/PlainSocketImpl.java: Reworked imports.
6428 * java/net/ServerSocket.java
6429 (ServerSocket): Create socket.
6430 * java/net/SocketAddress.java: Documentation added.
6431 * java/net/natPlainSocketImpl.cc: Reindented.
6432 * java/nio/ReadOnlyBufferException.java: New file
6433 * java/nio/channels/ClosedChannelException.java: Documentation added.
6434 * java/nio/channels/ClosedSelectorException.java: New file.
6436 2002-11-17 Mark Wielaard <mark@klomp.org>
6438 * java/net/HttpURLConnection.java ((getPermission): Take port
6440 (getErrorStream): Implement.
6442 2002-11-17 Mark Wielaard <mark@klomp.org>
6444 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
6446 2002-11-16 Mark Wielaard <mark@klomp.org>
6448 Integrate work by Raif S. Naffah (raif@fl.net.au)
6449 * java/security/DummyKeyPairGenerator.java (clone): New method.
6450 * java/security/DummyMessageDigest.java (clone): New method.
6451 (engineUpdate): Now public.
6452 (engineReset): Likewise.
6453 (engineDigest): Likewise.
6454 (engineGetDigestLength): New method.
6455 * java/security/DummySignature.java (clone): New method.
6456 * java/security/KeyPairGenerator.java (provider): Now package private.
6457 (getInstance(String)): Use getInstance(String,Provider).
6458 (getInstance(String,String): Use getInstance(String,Provider)
6459 (getInstance(String,Provider): New method.
6460 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
6461 * java/security/KeyPairGeneratorSpi.java (clone): New method.
6462 * java/security/MessageDigest.java (provider): Now package private.
6463 (getInstance(String): Use getInstance(String,Provider).
6464 (getInstance(String,String): Use getInstance(String,Provider)
6465 (getInstance(String,Provider): New method.
6466 * java/security/Provider.java (toCanonicalKey): New method.
6467 (get): New method that uses toCanonicalKey().
6468 (put): Use toCanonicalKey().
6470 * java/security/Security.java (insertProviderAt): Provider index is one
6471 based, not zero based.
6472 (addProvider): Likewise.
6473 (removeProvider): Likewise.
6474 * java/security/Signature.java (provider): Now package private.
6475 (getInstance(String)): Use getInstance(String,Provider).
6476 (getInstance(String,String): Use getInstance(String,Provider)
6477 (getInstance(String,Provider): New method.
6478 (getInstance(String,String,Provider): Don't cast DummySignature.
6480 2002-11-15 Tom Tromey <tromey@redhat.com>
6483 * java/util/zip/GZIPInputStream.java (read): Check file size.
6484 Look in inflater for remaining input bytes.
6485 (read4): Added buf and offset arguments.
6487 2002-11-12 Eric Blake <ebb9@email.byu.edu>
6489 * java/applet/AppletContext.java: Fix typo and remove redundant
6492 2002-11-14 Tom Tromey <tromey@redhat.com>
6494 * java/lang/natRuntime.cc (insertSystemProperties): Set
6497 2002-11-13 Michael Koch <konqueror@gmx.de>
6499 * java/nio/ByteBuffer.java
6500 (allocate): New method.
6505 2002-11-13 Michael Koch <konqueror@gmx.de>
6507 * java/nio/channels/AlreadyConnectedException.java:
6508 Removed unneeded import.
6509 (AlreadyConnectedException): Documentation added.
6510 * java/nio/channels/Pipe.java
6511 (SinkChannel.SinkChannel): Documentation added.
6512 (SinkChannel.validOps): New method.
6513 (SourceChannel.SourceChannel): Documentation added.
6514 (SourceChannel.validOps): New method.
6515 (Pipe): Documentation added.
6516 (open): Documentation added.
6517 (SinkChannel.channel): Documentation added.
6518 (SourceChannel.channel): Documentation added.
6519 * java/nio/channel/SelectableChannel.java
6520 (SelectableChannel): Documentation added.
6521 (blockingLock): Documentation added.
6522 (configureBlocking):Documentation added.
6523 (isBlocking):Documentation added.
6524 (isRegistered):Documentation added.
6525 (keyFor):Documentation added.
6526 (provider):Documentation added.
6527 (register): Documentation added.
6528 (validOps): Documentation added.
6529 * jaba/nio/channels/SelectionKey.java
6530 (SelectionKey): Documentation added.
6531 (attach): Documentation added.
6532 (attachment): Documentation added.
6533 (isAcceptable): Documentation added.
6534 (isConnetable): Documentation added.
6535 (isReadable): Documentation added.
6536 (isWritable): Documentation added.
6537 (cancel): Documentation added.
6538 (channel): Documentation added.
6539 (interestOps): Documentation added.
6540 (isValid): Documentation added.
6541 (readyOps): Documentation added.
6542 (selector): Documentation added.
6543 * jaba/nio/channels/Selector.java
6544 (Selector): Documentation added.
6545 (open): Documentation added.
6546 (close): Documentation added.
6547 (isOpen): Documentation added.
6548 (keys): Documentation added.
6549 (provider): Documentation added.
6550 (select): Documentation added.
6551 (selectedKeys): Documentation added.
6552 (selectNow): Documentation added.
6553 (wakeup): Documentation added.
6554 * java/nio/channels/spi/AbstractInterruptibleChannel.java
6555 (AbstractInterruptibleChannel): Documentation added.
6556 (opened): Default to true;
6557 (begin): Documentation added.
6558 (close): Set opened to false, documentation added.
6559 (isOpen): Documentation added.
6560 * java/nio/channels/spi/AbstractSelectionKey.java
6561 (AbstractSelectionKey): Documentation added.
6562 (cancel): Documentation added.
6563 (isValid): Documentation added.
6564 * java/nio/channels/spi/AbstractSelector.java
6565 (AbstractSelector): Documentation added.
6566 (begin): Documentation added.
6567 (close): Documentation added.
6568 (isOpen): Documentation added.
6569 (deregister): Documentation added.
6570 (end): Documentation added.
6571 (provider): Documentation added.
6572 (implCloseSelector): Documentation added.
6573 (register): Documentation added.
6574 * java/nio/channels/spi/SelectorProvider.java
6575 (SelectorProvider): Documentation added.
6576 (openDatagramChannel): Documentation added.
6577 (openPipe): Documentation added.
6578 (openSelector): Documentation added.
6579 (openServerSocketChannel): Documentation added.
6580 (openSocketChannel): Documentation added.
6581 (provider): Documentation added.
6583 2002-11-12 Michael Koch <konqueror@gmx.de>
6585 * java/nio/Buffer.java: Implemented.
6586 * java/nio/CharBuffer.java: New file.
6587 * java/nio/InvalidMarkException.java: New file.
6588 * java/nio/channels/DatagramChannel.java: Implemented.
6589 * java/nio/channels/ServerSocketChannel.java: Implemented.
6590 * java/nio/channels/SocketChannel.java: Implemented.
6591 * java/nio/channels/spi/AbstractChannel.java: Removed.
6592 * java/nio/channels/spi/AbstractSelectableChannel.java:
6594 * java/nio/charset/Charset.java:
6595 Merge from Classpath.
6596 * java/nio/charset/CharsetDecoder.java: New file.
6597 * java/nio/charset/CharsetEncoder.java: New file.
6598 * java/nio/charset/CoderResult.java: New file.
6599 * Makefile.am (ordinary_java_source_files): Added new files.
6600 * Makefile.in: Regenerated.
6602 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6604 * gnu/java/nio/charset/ISO_8859_1.java,
6605 gnu/java/nio/charset/Provider.java,
6606 gnu/java/nio/charset/US_ASCII.java,
6607 gnu/java/nio/charset/UTF_16.java,
6608 gnu/java/nio/charset/UTF_16BE.java,
6609 gnu/java/nio/charset/UTF_16Decoder.java,
6610 gnu/java/nio/charset/UTF_16Encoder.java,
6611 gnu/java/nio/charset/UTF_16LE.java,
6612 gnu/java/nio/charset/UTF_8.java: New files.
6614 2002-11-11 Michael Koch <konqueror@gmx.de>
6616 * java/nio/charset/CharacterCodingException.java:
6617 This class must be public.
6618 * java/nio/charset/CoderMalfunctionError.java:
6619 This class must be public.
6620 * java/nio/charset/CodingErrorAction.java:
6621 This class must be public.
6622 * java/nio/charset/IllegalCharsetNameException.java:
6623 This class must be public, better implementation.
6624 * java/nio/charset/MalformedInputException.java:
6625 This class must be public, better implementation.
6626 * java/nio/charset/UnmappableCharacterException.java:
6627 This class must be public, better implementation.
6628 * java/nio/charset/UnsupportedCharsetException.java:
6629 This class must be public, better implementation.
6631 2002-11-11 Michael Koch <konqueror@gmx.de>
6633 * java/nio/BufferOverflowException.java,
6634 java/nio/BufferUnderflowException.java: New file.
6635 * Makefile.am (ordinary_java_source_files):
6637 * Makefile.in: Regenerated.
6639 2002-11-10 Tom Tromey <tromey@redhat.com>
6641 * java/awt/Container.java (validate): Use tree lock.
6642 (getComponent): Likewise.
6643 (getComponents): Likewise.
6644 (addImpl): Likewise.
6646 (removeAll): Likewise.
6647 (processEvent): Fixed indentation.
6648 (getComponentAt): Use tree lock.
6649 (findComponentAt): Likewise.
6650 (removeNotify): Likewise.
6651 (isAncestorOf): Likewise.
6653 (visitChildren): Likewise.
6654 (findNextFocusComponent): Likewise.
6655 (addNotifyContainerChildren): Likewise.
6656 (getAccessibleChildrenCount): Likewise.
6657 (getAccessibleChild): Likewise.
6659 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
6660 (getSize): Likewise.
6661 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
6662 (getSize): Likewise.
6663 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
6664 (calcSize): Likewise.
6665 * java/awt/CardLayout.java (getSize): Use tree lock.
6666 (gotoComponent): Likewise.
6667 (layoutContainer): Likewise.
6669 * java/io/natFileDescriptorWin32.cc (read): Handle case where
6671 * java/io/natFileDescriptorPosix.cc (read): Handle case where
6674 * java/io/Externalizable.java, java/io/FilePermission.java,
6675 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
6676 java/io/SerializablePermission.java, java/text/Format.java,
6677 java/util/AbstractMap.java, java/util/HashMap.java,
6678 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
6679 versions from Classpath.
6681 2002-11-10 Anthony Green <green@redhat.com>
6683 * java/util/jar/Attributes.java (Name): Fix name check.
6685 2002-11-10 Mark Wielaard <mark@klomp.org>
6687 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
6688 with getName() as message.
6689 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
6692 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
6695 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
6697 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
6698 for Win32. JNICALL has been defined to __stdcall to be compatible
6701 2002-11-10 Tom Tromey <tromey@redhat.com>
6703 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
6704 (setRows): Check newRows, not rows.
6706 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
6708 2002-11-09 Tom Tromey <tromey@redhat.com>
6710 * java/applet/Applet.java, java/applet/AppletContext.java,
6711 java/applet/AppletStub.java, java/applet/AudioClip.java,
6712 java/awt/CardLayout.java,
6713 java/awt/ContainerOrderFocusTraversalPolicy.java,
6714 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
6715 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
6716 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
6717 java/awt/color/ICC_ColorSpace.java,
6718 java/awt/color/ICC_Profile.java,
6719 java/awt/color/ICC_ProfileGray.java,
6720 java/awt/color/ICC_ProfileRGB.java,
6721 java/awt/datatransfer/DataFlavor.java,
6722 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
6723 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
6724 New versions from Classpath.
6725 * Makefile.in: Rebuilt.
6726 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
6729 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
6732 * java/awt/List.java (processEvent): Added missing `else's.
6734 * java/awt/Window.java (show): validate() before showing. Make
6736 (isDisplayable): New method.
6738 2002-11-07 Mark Wielaard <mark@klomp.org>
6740 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
6741 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
6743 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
6745 (loadClass): Take String as codebases.
6746 (getClassAnnotation): Use MyClassLoader annotations.
6747 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
6748 call exportObject(this).
6750 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
6751 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
6752 (setAnnotation): Don't set locBytesStream and locStream.
6753 (replaceObject): Removed.
6754 (flush): Don't test locStream.
6755 (getLocBytes): LikeWise.
6756 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
6757 (leaseCache): New field.
6758 (dirty): Use leaseCache.
6759 (LeaseRecord): New inner class.
6760 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
6761 explicitly call exportObject().
6762 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
6763 false to communicate with Sun JDK130.
6764 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
6765 * gnu/java/rmi/server/RMIObjectInputStream.java
6766 (UnicastConnectionManager): Removed field.
6767 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
6768 Use UnicastServer.getExportedRef().
6769 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
6770 (expireTime): Likewise.
6771 (CONNECTION_TIMEOUT): Likewise.
6772 (disconnect): Call sock.close().
6773 (isExpired): New method.
6774 (resetTime): Likewise.
6775 (run): Use do while loop and catch Exception for discardConnection().
6776 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
6777 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
6778 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
6779 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
6780 (exportObject): Use refcache.
6781 (unexportObject): Likewise.
6782 (getExportedRef): New method.
6783 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
6785 (exportObject): Save manager.serverobj.
6786 (getStub): New method.
6788 2002-11-07 Mark Wielaard <mark@klomp.org>
6790 * java/lang/reflect/natField.cc (getBoolean): Use getType().
6791 (getByte): Likewise.
6792 (getShort): Likewise.
6794 (getLong): Likewise.
6795 (getFloat): Likewise.
6796 (getDouble): Likewise.
6798 (setChar): Likewise.
6799 (setByte): Likewise.
6800 (setShort): Likewise.
6802 (setLong): Likewise.
6803 (setFloat): Likewise.
6804 (setDouble): Likewise.
6806 2002-11-07 Michael Koch <konqueror@gmx.de>
6808 * java/awt/Choice.java,
6809 java/awt/Container.java,
6810 java/awt/GridBagLayout.java:
6811 Fixed documentation.
6812 * java/awt/peer/ContainerPeer.java:
6815 2002-11-07 Michael Koch <konqueror@gmx.de>
6817 * java/awt/color/ICC_Profile.java:
6818 Added missing constants.
6819 * java/awt/color/ICC_ColorSpace.java
6820 (getMinValue): Added dummy implementation.
6821 (getMaxValue): Added dummy implementation.
6822 * java/awt/datatransfer/DataFlavor.java
6823 (imageFlavor): Added.
6824 (isMimeTypeEqual): Must be final.
6825 (getDefaultRepresentationClass): Must be non-static.
6826 (getDefaultRepresentationClassAsString): Must be non-static.
6827 * java/awt/dnd/DragSourceContext.java
6828 (dragExit): Corrected argument.
6829 (dragDropEnd): Corrected argument.
6830 * java/awt/dnd/DragSourceListener.java.java
6831 (dragExit): Corrected argument.
6832 (dragDropEnd): Corrected argument.
6833 * java/awt/font/TextHitInfo.java
6834 (toString): Added stubbed implementation.
6835 * java/awt/geom/PathIterator.java:
6836 The constants must be static.
6837 * java/awt/image/VolatileImage.java
6838 (IMAGE_INCOMPATIBLE): Fixed typo.
6839 * java/awt/image/renderable/RenderableImage.java
6840 (HINTS_OBSERVED): Must be static.
6841 * java/beans/BeanInfo.java:
6842 Constants must be final.
6844 2002-11-06 Tom Tromey <tromey@redhat.com>
6846 From svens@it.uu.se. For PR libgcj/8481.
6847 * java/util/Random.java (nextInt(int)): Only use 31 bits.
6849 2002-11-06 Tom Tromey <tromey@redhat.com>
6851 * jni.cc (array_from_valist): Assume that jlong won't be
6854 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
6856 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
6858 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
6861 2002-11-03 Tom Tromey <tromey@redhat.com>
6863 * java/lang/ClassLoader.java (loadClass): Call loadClass on
6864 VMClassLoader, not findClass.
6866 2002-11-03 Jeff Sturm <jsturm@one-point.com>
6868 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
6869 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
6870 _Jv_DetermineVTableIndex, to determine vtable offset.
6871 (_Jv_DetermineVTableIndex): Remove.
6872 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
6874 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
6876 2002-11-03 Tom Tromey <tromey@redhat.com>
6878 * java/nio/channels/AlreadyConnectedException.java: Extend
6879 IllegalStateException, per spec.
6881 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
6883 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
6885 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
6887 * java/util/ArrayList.java (readObject, writeObject): Only read/write
6890 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
6892 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
6893 initial estimated size to avoid enlarge buffer frequently.
6895 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
6897 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
6898 ClassLoader when null.
6899 (ProxyType.hashCode): Loader null check no longer needed.
6900 (ProxyType.sameTypes): New method.
6901 (ProxyType.equals): Use new method.
6903 2002-10-31 Mark Wielaard <mark@klomp.org>
6905 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
6907 * java/net/URLEncoder.java (encode): Likewise.
6909 2002-10-31 Mark Wielaard <mark@klomp.org>
6911 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
6912 when stream is closed.
6913 (closeEntry): Likewise.
6915 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
6916 ZipException when no entry active.
6917 (closeEntry): Likewise.
6920 2002-11-02 Tom Tromey <tromey@redhat.com>
6922 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
6923 * java/lang/natClass.cc (initializeClass): Don't return just
6924 because self==thread.
6927 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
6928 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
6930 2002-11-02 Andreas Schwab <schwab@suse.de>
6932 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
6934 (FLAGS_TO_PASS): Define.
6935 * Makefile.in: Regenerated.
6937 2002-11-01 Michael Koch <konqueror@gmx.de>
6939 * java/nio/ByteOrder.java: New file.
6940 * java/nio/channels/DatagramChannel.java:
6941 (DatagramChannel): New constructor.
6942 * java/nio/channels/Pipe.java: New file.
6943 * java/nio/channels/SelectableChannel.java: New file.
6944 * java/nio/channels/SelectionKey.java: New file.
6945 * java/nio/channels/Selector.java: New file.
6946 * java/nio/channels/ServerSocketChannel.java
6947 (ServerSocketChannel): New constructor.
6948 * java/nio/channels/SocketChannel.java
6949 (SocketChannel): New constructor.
6950 * java/nio/channels/Pipe.java: New file.
6951 * java/nio/channels/spi/AbstractChannel.java: New file.
6952 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
6953 * java/nio/channels/spi/AbstractSelectableChannel.java:
6955 (AbstractSelectableChannel): New stubbed method.
6956 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
6957 * java/nio/channels/spi/AbstractSelector.java: New file.
6958 * java/nio/channels/spi/SelectorProvider.java: New file.
6959 * java/nio/charset/Charset.java: New file.
6960 * java/nio/charset/CoderMalfunctionError.java: New file.
6961 * java/nio/charset/CodingErrorAction.java: New file.
6962 * java/nio/charset/spi/CharsetProvider.java
6963 (charsetForName): Uncommented.
6964 * Makefile.am (java_native_source_files): Added new files.
6965 * Makefile.in: Regenerated.
6967 2002-11-01 Michael Koch <konqueror@gmx.de>
6969 * java/net/InetAddress.java:
6970 (isAnyLocalAddress): Implemented.
6971 (isLoopbackAddress): Implemented, comment added.
6972 (isLinkLocalAddress): Implemented, documentation added.
6973 (isSiteLocalAddress): Implemented, documentation added.
6974 (isMCGlobal): Implemented, documentation added.
6975 (isMCNodeLocal): Implemented, documentation added.
6976 (isMCLinkLocal): Implemented, documentation added.
6977 (isMCSiteLocal): Implemented, documentation added.
6978 (isMCOrgLocal): Implemented, documentation added.
6979 (getHostName): Documentation added.
6980 (getCanonicalHostName): Implemented, documentation added.
6981 (getAddress): Documentation added.
6982 (hashCode): Documentation added.
6983 (equals): Documentation added.
6984 (toString): Fixed implementation.
6985 (getByAddress): Use Inet4Address and Inet6Address.
6986 (lookup): New linewrap.
6987 (getByName): SecurityManager check added, support Inet4Address and
6988 Inet6address, comments added.
6989 (getAllByName): SecurityManager check added, comments added.
6990 * java/net/Inet6Address.java:
6991 (Inet6Address): Initialize parent class with addr instead of null.
6993 (equals): Documentation added.
6994 (getFile): Documentation added.
6995 (hashCode): Documentation added.
6996 * java/net/natInetAddress.cc:
6997 (aton): Fix IPv6 support.
6998 * java/net/natPlainDatagramSocketImpl.cc:
6999 (peek): Throw PortUnreachableException when suitable.
7000 (peekData): Throw PortUnreachableException when suitable.
7001 (send): Throw PortUnreachableException when suitable.
7002 (receive): Throw PortUnreachableException when suitable.
7004 2002-10-27 Mark Wielaard <mark@klomp.org>
7006 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
7008 (readLeShort): Likewise and use byte[].
7009 (readLeInt): Likewise.
7010 (readEntries): Use new versions of methods and use byte[] for reading
7011 a complete zip entry. Add ZipFile name to exceptions.
7012 (entries): Add ZipFile name to exceptions.
7013 (getEntry): Likewise.
7014 (checkLocalHeader): Use new versions of methods and add ZipFile name
7017 2002-10-31 Mark Anderson <mark@panonet.net>
7019 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
7022 2002-10-25 Krister Walfridsson <cato@df.lth.se>
7024 * configure.in: Disable hash sync when not using threads.
7025 * configure: Regenerated.
7027 2002-10-24 Tom Tromey <tromey@redhat.com>
7029 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
7030 (_Jv_FindSymbolInExecutable): Removed argument name.
7031 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
7032 java.library.path is set.
7034 * gij.cc (help): Document --showversion.
7035 (version): Don't exit.
7036 (main): Handle --showversion. Exit if --version given.
7038 2002-10-23 Tom Tromey <tromey@redhat.com>
7040 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
7041 (array_from_valist): Correctly handle promotion for jint, jlong,
7042 jfloat, and jdouble.
7044 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
7046 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
7047 GetFileAttributesEx( ) to find file length and modification times,
7048 as the latter is not present on Windows 95.
7050 2002-10-21 Michael Koch <konqueror@gmx.de>
7053 (URL): Activate SecurityManager checks.
7054 (equals): Use URLStreamHandler implementation instead of doing it
7055 alone. This allows special protocol stream handlers to change default
7057 (hashCode): Use URLStreamHandler implementation instead of doing it
7058 alone. This allows special protocol stream handlers to change default
7060 * java/net/URLStreamHandler.java
7061 (equals): Implemented default URL equality check.
7062 (hostsEqual): Implemented default URL equality check.
7063 (hashCode): Implemented default URL hashCode algorithm.
7064 * java/net/natPlainDatagramSocketImpl.cc:
7065 No lines longer then 80 characters.
7067 2002-10-20 Adam Megacz <adam@xwt.org>
7069 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
7070 * configure.in: enabled hash sync on Win32
7071 * include/win32-threads.h (_Jv_ThreadId_t): added.
7072 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
7073 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
7074 removed some posix-isms, use Thread::sleep() instead of usleep,
7075 added code to clear bottom three bits if platform has a broken
7077 * include/win32-threads.h (_Jv_ThreadId_t): added.
7079 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
7081 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
7082 runtime property "gnu.gcj.progname" containing the name used to
7083 invoke the current Java program (similar to argv[0] for C
7086 2002-10-15 Tom Tromey <tromey@redhat.com>
7088 Fix for PR libgcj/8234:
7089 * java/util/zip/natInflater.cc (reset): Reset avail_in.
7090 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
7092 2002-10-13 Mark Wielaard <mark@klomp.org>
7094 * mauve-libgcj: Enable Mauve tests that compile now.
7096 2002-10-11 Mark Wielaard <mark@klomp.org>
7098 Fix for PR libgcj/8142
7099 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
7100 loading native modules.
7102 2002-10-10 Michael Koch <konqueror@gmx.de>
7104 * javax/swing/AbstractListModel.java
7105 (getListDataListeners): New stubbed method.
7106 javax/swing/DefaultBoundedRangeModel.java
7107 (getChangeListeners): New stubbed method.
7108 javax/swing/DefaultSingleSelectionModel.java
7109 (getChangeListeners): New stubbed method.
7111 2002-10-10 Michael Koch <konqueror@gmx.de>
7113 * gcj/.cvsignore: New file to ignore files generated during build.
7114 * include/.cvsignore: New file to ignore files generated during build.
7116 2002-10-10 Michael Koch <konqueror@gmx.de>
7118 * java/net/HttpURLConnection.java
7119 (getPermission): New method.
7120 (getErrorStream): New stub method.
7121 (getHeaderFieldDate): New stub method.
7122 * java/net/Inet4Address.java:
7123 (isLinkLocalAddress): Typo fixed.
7124 * java/net/InetAddress.java:
7125 (readResolve): New stubbed method (for serialization).
7126 (isAnyLocalAddress): New stubbed method.
7127 (isLoopbackAddress): New stubbed method.
7128 (isLinkLocalAddress): New stubbed method.
7129 (isSiteLocalAddress): New stubbed method.
7130 (isMCGlobal): New stubbed method.
7131 (isMCNodeGlobal): New stubbed method.
7132 (isMCLinkLocal): New stubbed method.
7133 (isMCSiteLocal): New stubbed method.
7134 (isMCOrgLocal): New stubbed method.
7135 (getCanonicalHostName): New stubbed method.
7136 (getByAddress): Create instances of Inet4Address/Inet6Address,
7137 instead of InetAddress, documentation added.
7138 * java/net/MulticastSocket.java
7139 (getInterface): Removed FIXME.
7140 (getNetworkInterface): New method.
7141 (setNetworkInterface): New method.
7142 * java/net/NetworkInterface.java:
7143 (toString): Use property "line.separator" instead of "\n".
7144 * java/net/URLConnection.java
7145 (getContent): New stubbed method.
7146 * java/net/URLStreamHandler.java:
7147 (equals): New stubbed method.
7148 (hostsEqual): New stubbed method.
7149 (hashCode): New stubbed method.
7150 * java/net/natNetworkInterface.cc:
7151 (getRealNetworkInterfaces): Create Inet4Address object
7152 instead of InetAddress.
7154 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7156 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
7157 unsigned long temporary to implement insn_iushr shifts.
7159 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
7161 * configure.host [s390*-*]: Enable Java interpreter.
7162 Enable hash synchronization. Add sysdeps dir.
7163 * sysdep/s390/locks.h: New file.
7165 2002-10-06 Mark Wielaard <mark@klomp.org>
7167 * java/lang/Thread.java (setDaemon): Check startable_flag,
7170 2002-10-07 Michael Koch <konqueror@gmx.de>
7172 * java/nio/Buffer.java: New stub file.
7173 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
7175 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
7176 * Makefile.in: Regenerated.
7178 2002-10-07 Michael Koch <konqueror@gmx.de>
7180 * java/nio/ByteBuffer.java:
7181 removed import of not commited class.
7183 2002-10-07 Michael Koch <konqueror@gmx.de>
7185 * java/nio/ByteBuffer.java,
7186 java/nio/MappedByteBuffer.java:
7187 New files, forgot to add these dummies.
7188 * Makefile.am (java_native_source_files): Added new files.
7189 * Makefile.in: Regenerated.
7191 2002-10-07 Michael Koch <konqueror@gmx.de>
7193 * java/nio/channels/AlreadyConnectedException.java,
7194 java/nio/channels/ClosedChannelException.java,
7195 java/nio/channels/ReadableByteChannel.java,
7196 java/nio/channels/InterruptibleChannel.java,
7197 java/nio/channels/Channel.java,
7198 java/nio/channels/ByteChannel.java,
7199 java/nio/channels/GatheringByteChannel.java,
7200 java/nio/channels/ScatteringByteChannel.java,
7201 java/nio/channels/WritableByteChannel.java,
7202 java/nio/charset/CharacterCodingException.java,
7203 java/nio/charset/IllegalCharsetNameException.java,
7204 java/nio/charset/MalformedInputException.java,
7205 java/nio/charset/UnmappableCharacterException.java,
7206 java/nio/charset/UnsupportedCharsetException.java,
7207 java/nio/charset/spi/CharsetProvider.java: New file.
7208 These files are exceptions or interfaces,
7209 no real or abstract classes.
7210 * Makefile.am (java_native_source_files): Added new files.
7211 * Makefile.in: Regenerated.
7213 2002-10-05 Michael Koch <konqueror@gmx.de>
7215 * java/net/InetAddress.java
7216 (getByAddress): Fixed documentation.
7217 (getByAddress): New method.
7218 * java/net/Inet4Address.java: New file.
7220 (URL): Documentation added.
7221 (getContent): Documentation added.
7222 (getContent): New stubbed method.
7223 (getQuery): New method.
7224 (openConnection): Documentation added.
7225 (openStream): Documentation added.
7226 (setURLStreamHandlerFactory): Documentation added.
7227 * java/net/URI.java: New stub file.
7229 (java_native_source_files): Added java/net/Inet4Address.java,
7230 java/net/Inet6Address.java and java/net/URI.java.
7231 * Makefile.in: Regenerated.
7233 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
7235 * java/lang/ProtectionDomain.java (linesep): Remove field.
7236 (toString): Use System.getProperty("line.separator").
7238 2002-10-04 Michael Koch <konqueror@gmx.de>
7240 * java/security/Identity.java: Added serialVersionUID.
7241 * java/security/KeyPair.java: Added serialVersionUID.
7242 * java/security/Provider.java: Added serialVersionUID.
7243 * java/security/SecureRandom.java: Added serialVersionUID.
7244 * java/security/SecureRandomSpi.java: Added serialVersionUID.
7245 * java/security/SignedObject.java: Added serialVersionUID.
7246 * java/security/cert/Certificate.java: Added serialVersionUID.
7248 2002-10-04 Mark Wielaard <mark@klomp.org>
7250 * java/security/Security.java: Use java.home or gnu.classpath.home
7252 (loadProviders): Extra dir argument.
7253 (getProvider): Return null when not found.
7255 2002-10-04 Mark Wielaard <mark@klomp.org>
7257 * java/lang/Throwable.java: Remerge with Classpath.
7259 2002-10-04 Michael Koch <konqueror@gmx.de>
7261 * java/net/InetAddress.java:
7262 (isMulticastAddress): Added documentation.
7263 (getHostAddress): Added documentation.
7264 (toString): Added documentation.
7265 (getByAddress): Fixed documentation.
7266 (getByName): Added documentation.
7267 (getAllByName): Added documentation.
7268 (getLocalHost): Added documentation.
7270 2002-10-04 Michael Koch <konqueror@gmx.de>
7272 * java/beans/beancontext/BeanContextChildSupport.java:
7273 Added serialVersionUID.
7274 * java/text/Collator.java: (compare): Made documentation HTML-aware.
7275 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
7276 * javax/naming/Name.java: Added serialVersionUID.
7278 2002-10-03 Adam Megacz <adam@xwt.org>
7280 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
7281 some functionality that isn't supported yet on WIN32.
7283 2002-10-03 Tom Tromey <tromey@redhat.com>
7285 * Makefile.in: Rebuilt.
7286 * Makefile.am (awt_java_source_files): Added new files.
7288 2002-10-03 Michael Koch <konqueror@gmx.de>
7290 * java/net/InetAddress.java
7291 (class InetAddress): Removed final keyword.
7292 (equals): Fixed typo.
7293 (getByAddress): New method.
7295 2002-10-03 Michael Koch <konqueror@gmx.de>
7297 * java/awt/dnd/Autoscroll.java:
7298 New file, merge from Classpath.
7299 * java/awt/dnd/DragSourceAdapter.java:
7300 (dragExit): Fixed typos in argument type.
7301 (dragDropEnd): Fixed typos in argument type.
7302 * java/awt/dnd/DragSourceDropEvent.java:
7303 New file, merge from Classpath.
7304 * java/awt/dnd/DropTarget.java:
7305 Added stubs, merge from Classpath.
7306 * java/awt/dnd/DropTargetAdapter.java:
7307 New file, merge from Classpath.
7308 * java/awt/dnd/DropTargetContext.java:
7309 New file, merge from Classpath.
7310 * java/awt/dnd/DropTargetDragEvent.java:
7311 New file, merge from Classpath.
7312 * java/awt/dnd/DropTargetDropEvent.java:
7313 New file, merge from Classpath.
7314 * java/awt/dnd/DropTargetEvent.java:
7315 New file, merge from Classpath.
7316 * java/awt/dnd/DropTargetListener.java:
7317 New file, merge from Classpath.
7318 * java/awt/dnd/MouseDragGestureRecognizer.java:
7319 New file, merge from Classpath.
7320 * java/awt/dnd/peer/DropTargetContextPeer.java:
7321 New file, merge from Classpath.
7323 2002-10-03 Michael Koch <konqueror@gmx.de>
7325 * java/net/DatagramPacket.java
7326 (setLength): Fixed typo and be HTML-aware.
7327 * java/net/InetSocketAddress.java
7328 (InetSocketAddress): Correct initialization of hostname, fixed typo.
7329 (equals): Added comment about equality of InetSocketAddress objects.
7330 * java/net/ServerSocket.java
7331 (accept): Added checks.
7332 (isClosed): New stubbed method.
7333 * java/net/SocketOptions.java: Reindention.
7334 * java/net/SocketPermission
7335 (SocketPermission): Documentation fixed.
7337 2002-10-03 Michael Koch <konqueror@gmx.de>
7339 * java/net/DatagramSocket.java
7340 (receive): Check with SecurityManager AFTER the packet is received,
7341 check if connected to multicast address, documentation added.
7342 (send): Only check SecurityManager if connected, check address of
7344 (connect): Implemented, documentation added.
7345 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
7346 * java/net/InetSocketAddress.java
7347 (whole file): Reindented.
7348 (hostname): New attribute.
7349 (InetSocketAddress): Initialize new attribute.
7350 (getAddress): Documentation added.
7351 (getHostName): Documentation added.
7352 (getPort): Documentation added.
7353 (hashCode): Documentation added.
7354 (isUnresolved): Documentation added.
7355 (toString): Conform to output of JDK 1.4.1, documentation added.
7356 * java/net/MulticastSocket.java
7357 (joinGroup): Removed FIXME, documentation added.
7358 (leaveGroup): Removed FIXME, documentation added.
7359 (send): Documentation added.
7360 * java/net/Socket.java
7361 (inputShutdown): New variable.
7362 (outputShutdown): New variable.
7363 (Socket): Initialize new variables.
7364 (getRemoteSocketAddress): Check if connected.
7365 (shutdownInput): Set new variable.
7366 (shutdownOutput): Set new variable.
7367 (isConnected): New method.
7368 (isClosed): New method.
7369 (isInputShutdown): New method.
7370 (isOutputShutdown): New method.
7371 * java/net/URLStreamHandler.java
7372 (URLStreamHandler): New method.
7373 (openConnection): Added documentation.
7374 (parseURL): Added documentation.
7375 (getHostAddress): New method.
7376 (getDefaultPort): New method.
7378 2002-10-02 Tom Tromey <tromey@redhat.com>
7380 * java/rmi/activation/ActivationDesc.java,
7381 java/rmi/activation/ActivationGroupDesc.java,
7382 java/rmi/activation/ActivationGroupID.java,
7383 java/rmi/activation/ActivationID.java: New versions from
7386 2002-09-30 Bo Thorsen <bo@suse.de>
7388 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
7390 2002-09-30 Tom Tromey <tromey@redhat.com>
7392 * java/io/ObjectInputStream.java (resolveProxyClass): New method
7394 * Makefile.in: Rebuilt.
7395 * Makefile.am (rmi_java_source_files): Added new files.
7396 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
7397 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
7398 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
7400 * gnu/java/rmi/dgc/DGCImpl.java,
7401 gnu/java/rmi/dgc/DGCImpl_Skel.java,
7402 gnu/java/rmi/dgc/DGCImpl_Stub.java,
7403 gnu/java/rmi/registry/RegistryImpl_Skel.java,
7404 gnu/java/rmi/registry/RegistryImpl_Stub.java,
7405 gnu/java/rmi/server/RMIHashes.java,
7406 gnu/java/rmi/server/RMIObjectInputStream.java,
7407 gnu/java/rmi/server/RMIObjectOutputStream.java,
7408 gnu/java/rmi/server/UnicastConnection.java,
7409 gnu/java/rmi/server/UnicastConnectionManager.java,
7410 gnu/java/rmi/server/UnicastRef.java,
7411 gnu/java/rmi/server/UnicastServer.java,
7412 gnu/java/rmi/server/UnicastServerRef.java,
7413 java/rmi/MarshalledObject.java,
7414 java/rmi/server/RMIClassLoader.java,
7415 java/rmi/server/RemoteObject.java,
7416 java/rmi/server/UnicastRemoteObject.java,
7417 java/security/SecureClassLoader.java: Merged from Classpath.
7419 2002-09-29 Anthony Green <green@redhat.com>
7421 * java/lang/reflect/UndeclaredThrowableException.java: New file.
7422 Imported from GNU Classpath.
7423 * java/lang/reflect/natProxy.cc: New file.
7424 * java/lang/reflect/InvocationHandler.java: New file. Imported
7426 * java/lang/reflect/Proxy.java: New file. Imported from GNU
7428 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
7430 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
7431 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
7433 * gcj/javaprims.h ("Java"): Add new classes.
7434 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
7435 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
7436 java/lang/reflect/Proxy$$ProxyType.h): And this.
7437 (inner_nat_headers): Add these new headers.
7438 (ordinary_java_source_files): Add new files.
7439 (nat_source_files): Add new file.
7440 * Makefile.in: Rebuilt.
7442 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
7444 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
7445 a single configuration.
7447 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7449 * java/util/TimeZone.java (getDSTSavings): New method.
7450 Fixes PR libgcj/7786.
7452 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7454 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
7455 to see if `the_method == 0' before looking up vtable index.
7456 Fixes PR libgcj/7709.
7458 2002-09-25 Tom Tromey <tromey@redhat.com>
7460 * java/lang/natClassLoader.cc:
7461 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
7462 * resolve.cc: Include NoClassDefFoundError.h, not
7463 ClassNotFoundException.h.
7464 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
7466 * defineclass.cc: Don't include ClassNotFoundException.h.
7468 * resolve.cc: Include StringBuffer.
7469 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
7471 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
7472 allocated but not initialized.
7474 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7476 Fix for PR libgcj/7766:
7477 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
7478 (getNextEntry): Set it.
7479 (closeEntry): Likewise.
7482 (available): Use it.
7484 2002-09-25 Michael Koch <konqueror@gmx.de>
7486 * java/net/DatagramSocket.java
7487 (DatagramSocket): Initialize new instance variables.
7488 (close): Reset new instance variables.
7489 (getLocalAddress): Remove unneeded SecurityManager usage.
7490 (getLocalPort): Check if socket is already bound.
7491 (isConnected): New method.
7492 (getInetAddress): Implemented.
7493 (getPort): Better Implementation, documentation fixed.
7494 (getRemoteSocketAddress): New method.
7495 * java/net/JarURLConnection.java
7496 (element): Typo fixed.
7497 (getMainAttributes): New method.
7498 (getAttributes): New method (stub only).
7499 (getManifest): New method (stub only).
7500 * java/net/NetPermission.java: Added serialVersionsUID.
7501 * java/net/Socket.java
7502 (connect): Check blocking mode of associated channel,
7503 documentation added.
7504 (getLocalSocketAddress): Better implementation.
7505 (getRemoteSocketAddress): Implemented.
7506 (isBound): New method.
7507 (setSendBufferSize): Documentation added.
7508 * java/net/SocketAddress.java: Added serialVersionsUID.
7509 * java/net/SocketPermission.java: Added serialVersionsUID.
7511 (URL): Wrap for shorter lines, initialize new instance variables,
7512 documentation added.
7513 (equals): Check new instance variables too.
7514 (getContent): Documentation added.
7515 (getPath): Documentation added.
7516 (getAuthority): New method.
7517 (getHost): Documentation added.
7518 (getPort): Documentation added.
7519 (getDefaultPort): New method.
7520 (getProtocol): Documentation added.
7521 (getUserInfo): Documentation added.
7522 (set): Initialize new instance variables, documentation added.
7523 * java/net/URLStreamHandler.java
7524 (setURL): New method.
7525 * java/net/natPlainDatagramSocketImpl.cc
7526 (connect): Fix exception name.
7527 (disconnect): Fix exception name.
7529 2002-09-25 Michael Koch <konqueror@gmx.de>
7531 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
7532 * java/nio/channels/DatagramChannel.java:
7533 extends AbstractSelectableChannel
7534 * java/nio/channels/ServerSocketChannel.java:
7535 extends AbstractSelectableChannel
7536 * java/nio/channels/SocketChannel.java:
7537 extends AbstractSelectableChannel
7538 * Makefile.am (ordinary_java_source_files):
7539 java/nio/channels/spi/AbstractSelectableChannel.java added.
7540 * Makefile.in: Regenerated.
7542 2002-09-25 Michael Koch <konqueror@gmx.de>
7544 * java/net/DatagramSocket.java
7545 (DatagramSocket): Exception documentation added.
7546 (bind): Exception documentation added, addded SecurityManager check,
7547 added SocketAddress type check.
7548 (getSoTimeout): Check impl.
7549 (receive): Fix SecurityManager check, check impl, documentation added.
7550 (send): Check channel mode, documentation added.
7551 (connect): New method.
7552 (disconnect): Implemented.
7553 (getLocalSocketAddress): New method.
7554 (getReceiveBufferSize): Check impl.
7555 (setReuseAddress): Check impl.
7556 (getReuseAddress): Check impl.
7557 (setBroadcast): Check impl.
7558 (getBroadcast): Check impl.
7559 (setTrafficClass): Check impl, Documentation cleared.
7560 (getTrafficClass): Check impl.
7561 (getSendBufferSize): Check impl.
7562 (setReceiveBufferSize): Check impl, documentation added.
7563 (setSendBufferSize): Documentation added.
7564 (setDatagramSocketImplFactory): New method.
7565 * java/net/HttpURLConnection.java
7566 (HTTP_INTERNAL_ERROR): The correct code is 500.
7567 (HTTP_NOT_IMPLEMENTED): Added new constant.
7568 (setFollowRedirects): Documentation added.
7569 (getInstanceFollowRedirects): New method.
7570 (setInstanceFollowRedirects): New method.
7571 (setRequestMethod): Documentation added.
7572 (getResponseCode): Documentation added.
7573 (getResponseMessage): Documentation added.
7574 * java/net/JarURLConnection.java
7575 (JarURLConnection): protected since JDK 1.4.
7576 (getJarEntry): java.io.IOException to IOException, documentation added.
7577 (getJarFile): Documentation added.
7578 * java/net/ServerSocket.java
7579 (ServerSocket): Private to public, exception added.
7580 (ServerSocket): java.io.IOException to IOException, documentation added.
7581 (bind): Check socket address type, documentation added.
7582 (bind): java.io.IOException to IOException, documentation added.
7583 (accept): Documentation added.
7584 (implAccept): Check ch is not non-blocking, documentation added.
7585 (setSoTimeout): Documentation fixed.
7586 (setReceiveBufferSize): Documentation added.
7587 * java/net/Socket.java
7588 (Socket): Documentation added.
7589 (bind): Documentation added.
7590 (connect): Check socket address type, documentation added.
7591 (getRemoteSocketAddress): New method.
7592 (getLocalSocketAddress): New method.
7593 (setSoLinger): Documentation added.
7594 (getReuseAddress): New method.
7595 (setReuseAddress): New method.
7596 (getTrafficClass): New method.
7597 (setTrafficClass): New method.
7598 * java/net/URLStreamHandler.java
7599 (openConnection): java.io.IOException to IOException.
7600 (parseURL): Documentation added.
7601 (sameFile): public to protected, documentation added.
7602 (setURL): Documentation added.
7603 * java/nio/IllegalBlockingModeException.java: New file.
7604 * Makefile.am (ordinary_java_source_files):
7605 added java/nio/IllegalBlockingModeException.java
7606 * Makefile.in: Regenerated.
7608 2002-09-25 Michael Koch <konqueror@gmx.de>
7610 * java/net/DatagramPacket
7611 (DatagramPacket): Exception documentation added.
7612 (setData): Likewise.
7613 (setSocketAddress): Likewise.
7614 * java/net/DatagramSocketImpl.java
7615 (peek): Documentation addded.
7616 (peekData): Documentation addded.
7617 (send): Documentation addded.
7618 (receive): Documentation addded.
7619 (connect): New method.
7620 (disconnect): New method.
7621 (joinGroup): New abstract method.
7622 (leaveGroup): New abstract method.
7623 * java/net/InetSocketAddress.java
7624 (InetSocketAddress): Documentation added.
7625 (equals): final keyword added.
7626 (getAddress): final keyword added.
7627 (getHostName): final keyword added.
7628 (getPort): final keyword added.
7629 (hashCode): final keyword added.
7630 (isUnresolved): final keyword added.
7631 * java/net/MulticastSocket.java
7632 (MulticastSocket): Documentation added.
7633 (MulticastSocket): New method.
7634 (joinGroup): Documentation added.
7635 (joinGroup): New method.
7636 (leaveGroup): Documentation added.
7637 (leaveGroup): New method.
7638 (send): Documentation added.
7639 * java/net/NetworkInterface.java
7640 (getByName): Documentation added.
7641 (getByInetAddress): Documentation added.
7642 (getNetworkInterfaces): Documentation added.
7643 * java/net/PlainDatagramSocketImpl.java
7644 (connect): New method.
7645 (disconnect): New method.
7646 * java/net/SocketImpl.java
7647 (create): Documentation added.
7648 (shutdownInput): Convert public to protected, as it always was.
7649 (shutdownOutput): Convert public to protected, as it always was.
7650 * java/net/SocketOptions.java
7651 (whole file): Reintented.
7652 * java/net/URLClassLoader.java
7653 (URLClassLoader): SecurityManager check added, documentation added.
7654 (findResources): Documentation added.
7655 (findClass): Documentation added.
7656 (newInstance): More correct method arguments.
7657 * java/net/URLConnection.java
7658 (connect): Documentation added.
7659 (getContent): Documentation added.
7660 (getPermission): Documentation added.
7661 (getInputStream): Documentation added.
7662 (getOutputStream): Documentation added.
7663 (setDoInput): Throw correct exception, documentation added.
7664 (setDoOutput): Throw correct exception, documentation added.
7665 (setAllowUserInteraction): Throw correct exception, documentation added.
7666 (setUseCaches): Throw correct exception, documentation added.
7667 (setIfModifiedSince): Throw correct exception, documentation added.
7668 (setRequestProperty): Throw exception, documentation added.
7669 (addRequestProperty): Throw exception, documentation added.
7670 (getRequestProperty): Throw exception, documentation added.
7671 (getRequestProperties): Documentation added.
7672 (setContentHandlerFactory): Documentation added.
7673 (guessContentTypeFromName): protected to public.
7674 (setFileNameMap): Documentation added.
7675 * java/net/URLDecoder.java
7676 (URLDecoder): New method.
7677 (decode): Documentation added.
7678 (whole file): Reindented.
7679 * java/net/URLEncoder.java
7680 (encode): Documentation added.
7681 * java/net/natPlainDatagramSocketImpl.cc
7682 (connect): New method.
7683 (disconnect): New method.
7684 * javax/naming/RefAddr:
7685 (addrType): addrType was never final.
7686 (equals): Fix typo in method name.
7687 * javax/naming/BinaryRefAddr:
7688 (equals): Fix typo in method name.
7690 2002-09-22 Tom Tromey <tromey@redhat.com>
7692 Fix for PR libgcj/6576:
7693 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
7694 didn't find a given bundle.
7695 (getBundle): Don't require base bundle.
7696 (setParent): Removed old comment.
7697 (tryLocalBundle): Try components even if preceding components were
7700 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7702 * Makefile.am (all-multi): Fix multilib parallel build.
7704 2002-09-21 Michael Koch <konqueror@gmx.de>
7706 * java/net/Socket.java
7707 (sendUrgentData): New method.
7708 (getChannel): New method.
7709 * java/net/ServerSocket.java
7710 (getChannel): New method.
7711 (isBound): New method.
7712 * java/net/DatagramSocket.java
7713 (DatagramSocket): Two new methods.
7715 (getChannel): New method.
7716 (isBound): New method.
7717 (send): Added newline to to make shorter lines.
7718 * java/net/PlainDatagramSocketImpl.java
7719 (mcastGrp): Added argument.
7720 (join): Use new mcastGrp.
7721 (leave): Use new mcastGrp.
7722 (joinGroup): New method.
7723 (leaveGroup): New method.
7724 * java/net/natPlainDatagramSocketImpl.cc
7725 (mcastGrp): Added argument, no yet really implemented.
7726 (getOption): Added newline for shorter lines.
7727 * java/net/natPlainSocketImpl.cc
7728 (read, setOption, getOption): Added newline for shorter lines.
7730 2002-09-19 Tom Tromey <tromey@redhat.com>
7732 * java/lang/ClassLoader.java (resolveClass0): Set cause for
7733 newly-created exception.
7735 2002-09-18 Michael Koch <konqueror@gmx.de>
7737 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
7738 java/util/regex/PatternSyntaxException.java:
7739 Merge with classpath, new files.
7740 * Makefile.am (core_java_source_files):
7741 Added java/util/regex/Matcher.java,
7742 java/util/regex/Pattern.java,
7743 java/util/regex/PatternSyntaxException.java
7744 * Makefile.in: Regenerated.
7745 * include/config.h.in: Added HAVE_NET_IF_H.
7746 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
7747 Removed #if 0 ... #endif.
7749 2002-09-17 Michael Koch <konqueror@gmx.de>
7751 * java/net/natNetworkInterface.cc:
7752 Removed unneed and yet wrong includes.
7754 2002-09-17 Michael Koch <konqueror@gmx.de>
7756 * java/net/NetworkInterface.java: New file.
7757 * java/net/natNetworkInterface.java: New file.
7758 * configure.in: Added check for net/if.h.
7759 * configure: Regenerated.
7761 (ordinary_java_source_files): Added NetworkInterface.java.
7762 (nat_source_files): Added natNetworkInterface.cc.
7763 * Makefile.in: Regenerated.
7765 2002-09-16 Tom Tromey <tromey@redhat.com>
7767 * java/net/URLClassLoader.java (findClass): Code source for a
7768 class from a jar is not necessarily a jar: URL.
7770 2002-09-16 Michael Koch <konqueror@gmx.de>
7772 * java/lang/AssertionError.java:
7773 Merge with classpath, fixes HTML.
7774 * java/rmi/server/LogStream.java:
7775 Merge with classpath, fixes some constants.
7776 * java/net/server/RemoteServer.java:
7777 Merge with classpath, adds serialVersionUID.
7778 * javax/naming/BinaryRefAddr.java:
7779 Merge with classpath, s/equal/equals/.
7780 * javax/naming/NamingException.java:
7781 Merge with classpath, fixed typo.
7782 * javax/naming/RefAddr.java:
7783 Merge with classpath, s/equal/equals/.
7784 * java/awt/Toolkit.java:
7785 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
7788 2002-09-15 Adam Megacz <adam@xwt.org>
7790 * java/net/natPlainSocketImpl.cc: fixed typo.
7792 2002-09-15 Adam Megacz <adam@xwt.org>
7794 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
7795 which don't work on Win32 (yet).
7797 2002-09-14 Adam Megacz <adam@xwt.org>
7799 * java/net/natPlainDatagramSocket.cc: removed #include
7800 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
7801 * include/win32.h: included definition for IP_TOS to satisfy
7802 natPlainDatagramSocket.cc
7804 2002-09-13 Michael Koch <konqueror@gmx.de>
7806 * java/net/DatagramPacket.java (DatagramPacket):
7807 Added linebreak for 80 chars per line.
7808 * java/net/JarURLConection.java
7809 (getInputStreami, getJarEntry): Likewise.
7810 * java/net/SocketPErmission.java
7811 (SocketPermission class docu, implies): Likewise.
7812 * java/net/URLClassLoader.java (findResources): Likewise.
7813 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
7815 2002-09-13 Michael Koch <konqueror@gmx.de>
7817 * java/nio/channels/DatagramChannel.java,
7818 java/nio/channels/ServerSocketChannel.java
7819 java/nio/channels/SocketChannel.java:
7820 New dummy files to make java.net fully JDK 1.4 compatible
7821 * Makefile.am (ordinary_java_source_files): Added
7822 java/net/DatagramSocketImplFactory.java (long forgotten),
7823 java/nio/SocketChannel.java,
7824 java/nio/ServerSocketChannel.java,
7825 java/nio/DatagramChannel.java
7826 * Makefile.in: Regenrated.
7828 2002-09-12 Michael Koch <konqueror@gmx.de>
7830 * java/net/DatagramSocketImpl.java
7831 (peekData): New method.
7832 * java/net/PlainDatagramSocketImpl.java
7833 (peekData): New method.
7834 * java/net/natPlainDatagramSocketImpl.cc
7835 (peekData): New method.
7836 * java/net/URLConnection
7837 (getPermission): New method.
7838 (addRequestProperty): New method.
7839 (getRequestProperties): New method.
7840 (guessContentTypeFromStream): New method, not really implemented.
7841 (URLConnection): Added/updated documentation.
7842 (connect): Added/updated documentation.
7843 (getURL): Added/updated documentation.
7844 (getContentLength): Added/updated documentation.
7845 (getContentType: Added/updated documentation.
7846 (getContentEncoding): Added/updated documentation.
7847 (getExpiration): Added/updated documentation.
7848 (getDate): Added/updated documentation.
7849 (getLastModified): Added/updated documentation.
7850 (getHeaderField): Added/updated documentation.
7851 (getHeaderFields): Added/updated documentation.
7852 (getHeaderFieldInt): Added/updated documentation.
7853 (getHeaderFieldDate): Added/updated documentation.
7854 (getHeaderFieldKey): Added/updated documentation.
7855 (getContent): Added/updated documentation.
7856 (getInputStream): Added/updated documentation.
7857 (getOutputStream): Added/updated documentation.
7858 (toString): Added/updated documentation.
7859 (setDoInput): Added/updated documentation.
7860 (getDoInput): Added/updated documentation.
7861 (setDoOutput): Added/updated documentation.
7862 (getDoOutput): Added/updated documentation.
7863 (setAllowUserInteraction): Added/updated documentation.
7864 (getAllowUserInteraction): Added/updated documentation.
7865 (setDefaultAllowUserInteraction): Added/updated documentation.
7866 (getDefaultAllowUserInteraction): Added/updated documentation.
7867 (setUseCaches): Added/updated documentation.
7868 (getUseCaches): Added/updated documentation.
7869 (setIfModifiedSince): Added/updated documentation.
7870 (getIfModifiedSince): Added/updated documentation.
7871 (getDefaultUseCaches): Added/updated documentation.
7872 (setDefaultUseCaches): Added/updated documentation.
7873 (setRequestProperty): Added/updated documentation.
7874 (getRequestProperty): Added/updated documentation.
7875 (setDefaultRequestProperty): Added/updated documentation.
7876 (getDefaultRequestProperty): Added/updated documentation.
7877 (setContentHandlerFactory): Added/updated documentation.
7878 (guessContentTypeFromName): Added/updated documentation.
7879 (getFileNameMap): Added/updated documentation.
7880 (setFileNameMap): Added/updated documentation.
7882 2002-09-11 Michael Koch <konqueror@gmx.de>
7884 * java/net/Socket.java
7885 (Socket): protected to public (since JDK 1.4). Added @specnote.
7887 (connect): Two new methods.
7888 (getKeepalive): Get correct socket option.
7889 (setKeepalive): Set correct socket option.
7890 (getOOBInline): New method.
7891 (setOOBInline): New method.
7892 * java/net/ServerSocket.java
7893 (bind): Two new methods.
7894 (getInetAddress): Reimplemented, catch exception.
7895 (getLocalSocketAddress): New method.
7896 (setReuseAddress): New method.
7897 (getReuseAdress): New method.
7898 (setReceiveBufferSize): New method.
7899 (getReceiveBufferSize): New method.
7900 (toString): Made string JDK 1.4 compliant.
7902 2002-09-10 Michael Koch <konqueror@gmx.de>
7904 * java/net/SocketImpl.java
7905 (connect): New method.
7906 (supportsUrgentData): New method.
7907 (sendUrgentData): New method.
7908 * java/net/PlainSocketImpl.java
7909 (connect): One new method and two new implementation.
7910 (sendUrgentData): New method.
7911 * java/natPlainSocketImpl.cc
7912 (connect): Arguments changed, added support for timeouts.
7913 (getOption): Another __java_boolean to jboolean.
7915 2002-09-07 Adam Megacz <adam@xwt.org>
7917 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
7918 definition of IP_TOS.
7920 2002-09-04 Michael Koch <konqueror@gmx.de>
7922 * java/net/DatagramSocket.java
7923 (DatagramSocket): Added documentation.
7925 (getLocalAddress): Likewise.
7926 (getLocalPort): Likewise.
7927 (receive): Likewise.
7929 (setSoTimeout): Likewise.
7930 (connect): New method.
7931 (disconnect): New method.
7932 (getInetAddress): New method (FIXME)
7933 (getPort): New method.
7934 (setReuseAddress): New method.
7935 (getReuseAddress): New method.
7936 (setBroadcast): New method.
7937 (getBroadcast): New method.
7938 (setTrafficClass): New method.
7939 (getTrafficClass): New method.
7940 * java/net/MulticastSocket.java):
7941 (getTTL): Added @see in documentation.
7942 (setTTL): Added @see in documentation.
7943 (setLoopbackMode): New method.
7944 (getLoopbackMode): New method.
7945 * java/net/PlainSocketImpl.java:
7946 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7947 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7948 * java/net/PlainDatagramSocketImpl.java
7949 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
7950 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7951 * java/net/natPlainSocketImpl.cc
7952 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7953 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7954 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7955 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7956 This should also fix SO_KEEPALIVE
7957 * java/net/natPlainDatagramSocketImpl.cc
7958 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7959 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7960 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
7961 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
7963 2002-09-04 Michael Koch <konqueror@gmx.de>
7965 * java/net/SocketOptions.java: added static variables to be JDK 1.4
7966 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
7967 IP_MULTICAST_LOOP, IP_TOS
7969 2002-09-03 Tom Tromey <tromey@redhat.com>
7971 * java/lang/Class.h (_getDeclaredMethod): Declare.
7972 (_getMethod): Now private.
7973 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
7974 getDeclaredMethod. Now returns NULL on failure.
7975 * java/lang/Class.java (_getDeclaredMethod): Declare.
7976 (getDeclaredMethod): No longer native; implements access checks.
7978 2002-09-01 Mark Wielaard <mark@klomp.org>
7980 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
7981 (sanitizeStack): Correctly reset unknown and interpreter counters,
7982 detect interpreter runtime frames.
7983 (demangleInterpreterMethod): New method.
7984 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
7985 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
7988 2002-09-02 Michael Koch <konqueror@gmx.de>
7990 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
7991 re-indented documentation.
7993 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
7995 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
7996 public, per 1.4 spec. Fixes PR libgcj/7785.
7998 2002-08-30 Jeff Sturm <jsturm@one-point.com>
8000 * Makefile.in: Rebuilt.
8001 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
8003 2002-08-29 Tom Tromey <tromey@redhat.com>
8005 * java/net/JarURLConnection.java (getCertificates): New method
8007 * java/net/URLClassLoader.java (URLClassLoader): Extends
8009 (definePackage): New method from Classpath.
8010 (getPermissions): Likewise.
8011 (newInstance): Likewise.
8012 (findClass): Construct CodeSource for new class (from Classpath).
8013 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
8015 * java/net/URL.java (getUserInfo): New method.
8016 (set(String,String,int,String,String,String,String,String)): New
8018 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
8019 (shutdownInput, shutdownOutput): Declare.
8020 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
8022 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
8023 (getOption): Likewise.
8024 (shutdownInput): New method.
8025 (shutdownOutput): Likewise.
8026 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
8028 (getOption): Likewise.
8029 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
8030 * java/net/Socket.java (setKeepAlive): New method.
8031 (getKeepAlive): Likewise.
8032 (shutdownInput, shutdownOutput): New methods.
8034 2002-08-29 Michael Koch <konqueror@gmx.de>
8036 * java/net/DatagramPacket.java: updated to JDK 1.4 API
8038 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
8040 DatagramPacket(byte[] buf, int length, SocketAddress address),
8041 void setSocketAddress(SocketAddress address)
8042 public SocketAddress getSocketAddress()
8044 2002-08-29 Tom Tromey <tromey@redhat.com>
8046 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
8047 ftruncate is missing.
8048 * configure, include/config.h.in: Rebuilt.
8049 * acconfig.h (HAVE_FTRUNCATE): Mention.
8050 * configure.in: Check for ftruncate.
8052 2002-08-29 Tom Tromey <tromey@redhat.com>
8054 * include/jvm.h (struct _Jv_frame_info): New structure.
8055 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
8057 (lookupInterp): New method.
8058 (getAddrAsString): Use _Jv_frame_info.
8059 (dladdrLookup): Likewise.
8060 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
8062 (lookupInterp): Declare.
8063 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
8064 (fillInStackTrace): Collect information on interpreted frames.
8066 * interpret.cc: Include Thread.h.
8067 (run): Create and push _Jv_MethodChain object.
8068 (_Jv_EndOfInterpreter): New global.
8069 * java/lang/Thread.java (interp_frame): New field.
8070 * include/java-interp.h (struct _Jv_MethodChain): New structure.
8071 Include NameFinder.h.
8073 2002-08-28 Tom Tromey <tromey@redhat.com>
8075 * java/lang/Class.h: Include Package.h.
8076 (Class::getProtectionDomain): Declare.
8077 (Class::getPackage): Declare.
8079 2002-08-28 Michael Koch <konqueror@gmx.de>
8081 * java/net/InetSocketAddress.java: Added some documentation and argument
8082 checks for the port numbers.
8083 * java/net/DatagramSocketImplFactory.java: New file.
8085 2002-08-28 Michael Koch <konqueror@gmx.de>
8087 * java/net/Authenticator.java: added some documentation.
8089 2002-08-27 Tom Tromey <tromey@redhat.com>
8091 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
8093 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
8095 2002-08-27 Michael Koch <konqueror@gmx.de>
8097 * java/net/BindException.java,
8098 java/net/JarURLConnection.java,
8099 java/net/FileNameMap.java,
8100 java/net/HttpURLConnection.java,
8101 java/net/InetSocketAddress.java,
8102 java/net/DatagramPacket.java,
8103 java/net/DatagramSocket.java,
8104 java/net/DatagramSocketImpl.java,
8105 java/net/MulticastSocket.java,
8106 java/net/PasswordAuthentication.java,
8107 java/net/ServerSocket.java,
8108 java/net/Socket.java,
8109 java/net/URLClassLoader.java,
8110 java/net/URLConnection.java: add/update of some @since/@deprecated
8112 2002-08-27 Tony Kimball <alk@pobox.com>
8113 Tom Tromey <tromey@redhat.com>
8115 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
8118 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
8119 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
8121 (PlainSocketImpl::close): Use NATIVE_CLOSE.
8122 * include/win32.h (getcwd): Removed declaration. Include io.h.
8124 2002-08-25 Adam Megacz <adam@xwt.org>
8126 * include/win32.h (getcwd): copied function declaration as
8127 temporary fix for header confusion.
8129 2002-08-24 Mark Wielaard <mark@klomp.org>
8131 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
8132 (core_java_source_files): Add VMThrowable.java and NameFinder.java
8133 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
8134 and natNameFinder.cc.
8135 * Makefile.in: Regenerate.
8136 * prims.cc: Use trace_enabled from VMThrowable.
8137 * name-finder.cc: Removed.
8138 * gcj/javaprims.h: Add class VMThrowable.
8139 * gnu/gcj/runtime/NameFinder.java: New file.
8140 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
8141 * include/name-finder.h: Removed.
8142 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
8143 method stackTraceString().
8144 (printStackTrace (PrintWriter)): Likewise.
8145 (stackTraceString): Complete rewrite of old printStackTrace using
8147 (stackTraceStringBuffer): New helper method for stackTraceString().
8148 (fillInStackTrace): Delegate to VMTrowable.
8149 (getStackTrace): Likewise.
8150 (getStackTrace0): Removed.
8151 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
8152 (setStackTrace): Copy given array.
8153 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
8154 * java/lang/VMThrowable.java: New class.
8155 * java/lang/natVMThrowable.cc: New file.
8157 2003-08-23 Michael Koch <konqueror@gmx.de>
8159 * java/net/URLConnection.java,
8160 java/netJarURLConnection.java,
8161 gnu/gcj/protocol/core/Connection.java,
8162 gnu/gcj/protocol/file/Connection.java,
8163 gnu/gcj/protocol/http/Connection.java: Added implementation of
8166 2002-08-22 Tom Tromey <tromey@redhat.com>
8168 * gij.cc (help): Document -cp and -classpath.
8169 (main): Handle -classpath.
8171 2002-08-21 Tom Tromey <tromey@redhat.com>
8173 * Makefile.in: Rebuilt.
8174 * Makefile.am (ordinary_java_source_files): Added
8175 SocketAddress.java, InetSocketAddress.java.
8176 * java/net/PortUnreachableException.java: Merged with Classpath.
8177 * java/net/SocketTimeoutException.java: Likewise.
8178 * java/net/URISyntaxException.java: Likewise.
8179 * java/net/SocketAddress.java: New class from Classpath.
8180 * java/net/InetSocketAddress.java: Likewise.
8182 2003-08-21 Michael Koch <konqueror@gmx.de>
8184 * java/net/Authenticator.java: updated JDK 1.4
8185 * java/net/ContentHandler.java: updated JDK 1.4
8187 2002-08-20 Michael Koch <konqueror@gmx.de>
8189 * java/net/URISyntaxException.java: New file.
8190 * java/net/SocketTimeoutException.java: New file.
8191 * java/net/PortUnreachableException.java: New file.
8192 * Makefile.am: Updated.
8193 * Makefile.in: Rebuilt.
8195 2002-08-18 Mark Wielaard <mark@klomp.org>
8197 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
8198 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8199 MessageDigestSpi (fixes Classpath bug #783).
8201 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8203 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
8204 (startProcess): Allocate path for chdir in async-signal-safe way.
8206 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8208 Fix for PR libgcj/7570 and PR libgcj/7578:
8209 * java/lang/natPosixProcess.cc: Include java/io/File.h.
8210 (startProcess): Handle new `dir' argument.
8211 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
8213 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
8215 (startProcess): Likewise.
8216 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
8218 * java/lang/Runtime.java (execInternal): Added `dir' argument.
8219 (exec): Don't create new environment if ENV==null. Pass DIR to
8221 * java/lang/natRuntime.cc: Include java/io/File.h.
8222 (execInternal): Added `dir' argument.
8224 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
8226 * java/io/RandomAccessFile.java (skipBytes): Return number of
8229 2002-08-01 Mark Wielaard <mark@klomp.org>
8231 Reenable patch since shared library troubles on powerpc are solved:
8232 * gnu/java/security/provider/Gnu.java: Reference all implementation
8233 classes by using Class.getName().
8234 * gnu/java/security/der/DEREncodingException.java,
8235 gnu/java/security/provider/DERReader.java,
8236 gnu/java/security/provider/DERWriter.java,
8237 gnu/java/security/provider/DSAKeyPairGenerator.java,
8238 gnu/java/security/provider/DSAParameterGenerator.java,
8239 gnu/java/security/provider/DSAParameters.java,
8240 gnu/java/security/provider/DSASignature.java,
8241 gnu/java/security/provider/GnuDSAPrivateKey.java,
8242 gnu/java/security/provider/GnuDSAPublicKey.java,
8243 gnu/java/security/provider/MD5.java,
8244 gnu/java/security/util/Prime.java: New classes
8245 * Makefile.am (ordinary_java_source_files): Add above files.
8246 * Makefile.in: Regenerate.
8247 * gnu/java/security/provider/DefaultPolicy.java
8248 (getPermissions): Don't maintain static class variable of Permissions.
8249 * gnu/java/security/provider/SHA.java
8250 (engineUpdate): algorithm change.
8251 (engineDigest): algorithm change.
8253 2002-08-09 Mark Wielaard <mark@klomp.org>
8255 * java/awt/image/MemoryImageSource.java: Change constructor to take
8257 * java/awt/Graphics2D.java: Uncomment methods that can now be
8259 * java/awt/GridBagLayout.java: New stub implementation.
8260 * javax/swing/text/html/HTML.java: Stub implementation.
8261 * javax/swing/text/html/parser/ParserDelegator.java: New stub
8264 * Makefile.am: Add new files.
8265 * Makefile.in: Rebuilt.
8267 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8269 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
8270 methods in Graphics2D.
8272 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8274 AWT/Swing merge from GNU Classpath.
8276 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
8277 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
8278 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
8279 java/awt/color/ProfileDataException.java,
8280 java/awt/CompositeContext.java, java/awt/Composite.java,
8281 java/awt/ContainerOrderFocusTraversalPolicy.java,
8282 java/awt/datatransfer/FlavorTable.java,
8283 java/awt/DefaultFocusTraversalPolicy.java,
8284 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
8285 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
8286 java/awt/dnd/DragGestureListener.java,
8287 java/awt/dnd/DragGestureRecognizer.java,
8288 java/awt/dnd/DragSourceAdapter.java,
8289 java/awt/dnd/DragSourceContext.java,
8290 java/awt/dnd/DragSourceDragEvent.java,
8291 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
8292 java/awt/dnd/DragSourceListener.java,
8293 java/awt/dnd/DragSourceMotionListener.java,
8294 java/awt/dnd/DropTarget.java,
8295 java/awt/dnd/InvalidDnDOperationException.java,
8296 java/awt/dnd/peer/DragSourceContextPeer.java,
8297 java/awt/event/AWTEventListenerProxy.java,
8298 java/awt/event/MouseWheelEvent.java,
8299 java/awt/event/MouseWheelListener.java,
8300 java/awt/event/WindowFocusListener.java,
8301 java/awt/event/WindowStateListener.java,
8302 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
8303 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
8304 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
8305 java/awt/geom/FlatteningPathIterator.java,
8306 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
8307 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
8308 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
8309 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
8310 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
8311 java/awt/image/ImagingOpException.java,
8312 java/awt/image/RasterFormatException.java,
8313 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
8314 java/awt/image/VolatileImage.java,
8315 java/awt/image/WritableRenderedImage.java,
8316 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
8317 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
8318 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
8319 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
8320 java/awt/PageAttributes.java, java/awt/print/Book.java,
8321 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
8322 java/awt/print/Paper.java, java/awt/print/Printable.java,
8323 java/awt/print/PrinterAbortException.java,
8324 java/awt/print/PrinterException.java,
8325 java/awt/print/PrinterGraphics.java,
8326 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
8327 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
8328 java/awt/Stroke.java, java/awt/TexturePaint.java,
8329 javax/accessibility/AccessibleAction.java,
8330 javax/accessibility/AccessibleBundle.java,
8331 javax/accessibility/AccessibleComponent.java,
8332 javax/accessibility/AccessibleContext.java,
8333 javax/accessibility/AccessibleEditableText.java,
8334 javax/accessibility/AccessibleExtendedComponent.java,
8335 javax/accessibility/AccessibleExtendedTable.java,
8336 javax/accessibility/AccessibleHyperlink.java,
8337 javax/accessibility/AccessibleHypertext.java,
8338 javax/accessibility/AccessibleIcon.java,
8339 javax/accessibility/Accessible.java,
8340 javax/accessibility/AccessibleKeyBinding.java,
8341 javax/accessibility/AccessibleRelation.java,
8342 javax/accessibility/AccessibleRelationSet.java,
8343 javax/accessibility/AccessibleResourceBundle.java,
8344 javax/accessibility/AccessibleRole.java,
8345 javax/accessibility/AccessibleSelection.java,
8346 javax/accessibility/AccessibleState.java,
8347 javax/accessibility/AccessibleStateSet.java,
8348 javax/accessibility/AccessibleTable.java,
8349 javax/accessibility/AccessibleTableModelChange.java,
8350 javax/accessibility/AccessibleText.java,
8351 javax/accessibility/AccessibleValue.java,
8352 javax/swing/AbstractAction.java,
8353 javax/swing/AbstractButton.java,
8354 javax/swing/AbstractCellEditor.java,
8355 javax/swing/AbstractListModel.java,
8356 javax/swing/AbstractSet.java, javax/swing/Action.java,
8357 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
8358 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
8359 javax/swing/border/CompoundBorder.java,
8360 javax/swing/border/EmptyBorder.java,
8361 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
8362 javax/swing/border/LineBorder.java,
8363 javax/swing/border/MatteBorder.java,
8364 javax/swing/border/TitledBorder.java,
8365 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
8366 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
8367 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
8368 javax/swing/CellRendererPane.java,
8369 javax/swing/colorchooser/AbstractColorChooserPanel.java,
8370 javax/swing/colorchooser/ColorChooserComponentFactory.java,
8371 javax/swing/colorchooser/ColorSelectionModel.java,
8372 javax/swing/colorchooser/DefaultColorSelectionModel.java,
8373 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
8374 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
8375 javax/swing/DefaultBoundedRangeModel.java,
8376 javax/swing/DefaultButtonModel.java,
8377 javax/swing/DefaultCellEditor.java,
8378 javax/swing/DefaultCellRenderer.java,
8379 javax/swing/DefaultComboBoxModel.java,
8380 javax/swing/DefaultDesktopManager.java,
8381 javax/swing/DefaultFocusManager.java,
8382 javax/swing/DefaultListCellRenderer.java,
8383 javax/swing/DefaultListModel.java,
8384 javax/swing/DefaultListSelectionModel.java,
8385 javax/swing/DefaultSingleSelectionModel.java,
8386 javax/swing/DesktopManager.java,
8387 javax/swing/event/AncestorEvent.java,
8388 javax/swing/event/AncestorListener.java,
8389 javax/swing/event/CaretEvent.java,
8390 javax/swing/event/CaretListener.java,
8391 javax/swing/event/CellEditorListener.java,
8392 javax/swing/event/ChangeEvent.java,
8393 javax/swing/event/ChangeListener.java,
8394 javax/swing/event/DocumentEvent.java,
8395 javax/swing/event/DocumentListener.java,
8396 javax/swing/event/EventListenerList.java,
8397 javax/swing/event/HyperlinkEvent.java,
8398 javax/swing/event/HyperlinkListener.java,
8399 javax/swing/event/InternalFrameAdapter.java,
8400 javax/swing/event/InternalFrameEvent.java,
8401 javax/swing/event/InternalFrameListener.java,
8402 javax/swing/event/ListDataEvent.java,
8403 javax/swing/event/ListDataListener.java,
8404 javax/swing/event/ListSelectionEvent.java,
8405 javax/swing/event/ListSelectionListener.java,
8406 javax/swing/event/MenuDragMouseEvent.java,
8407 javax/swing/event/MenuDragMouseListener.java,
8408 javax/swing/event/MenuEvent.java,
8409 javax/swing/event/MenuKeyEvent.java,
8410 javax/swing/event/MenuKeyListener.java,
8411 javax/swing/event/MenuListener.java,
8412 javax/swing/event/MouseInputAdapter.java,
8413 javax/swing/event/MouseInputListener.java,
8414 javax/swing/event/PopupMenuEvent.java,
8415 javax/swing/event/PopupMenuListener.java,
8416 javax/swing/event/SwingPropertyChangeSupport.java,
8417 javax/swing/event/TableColumnModelEvent.java,
8418 javax/swing/event/TableColumnModelListener.java,
8419 javax/swing/event/TableModelEvent.java,
8420 javax/swing/event/TableModelListener.java,
8421 javax/swing/event/TreeExpansionEvent.java,
8422 javax/swing/event/TreeExpansionListener.java,
8423 javax/swing/event/TreeModelEvent.java,
8424 javax/swing/event/TreeModelListener.java,
8425 javax/swing/event/TreeSelectionEvent.java,
8426 javax/swing/event/TreeSelectionListener.java,
8427 javax/swing/event/TreeWillExpandListener.java,
8428 javax/swing/event/UndoableEditEvent.java,
8429 javax/swing/event/UndoableEditListener.java,
8430 javax/swing/filechooser/FileFilter.java,
8431 javax/swing/filechooser/FileSystemView.java,
8432 javax/swing/filechooser/FileView.java,
8433 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
8434 javax/swing/Icon.java, javax/swing/ImageIcon.java,
8435 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
8436 javax/swing/JApplet.java, javax/swing/JButton.java,
8437 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
8438 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
8439 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
8440 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
8441 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
8442 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
8443 javax/swing/JLayeredPane.java, javax/swing/JList.java,
8444 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
8445 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
8446 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
8447 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
8448 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
8449 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
8450 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
8451 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
8452 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
8453 javax/swing/JTextField.java, javax/swing/JTextPane.java,
8454 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
8455 javax/swing/JToolTip.java, javax/swing/JTree.java,
8456 javax/swing/JViewport.java, javax/swing/JWindow.java,
8457 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
8458 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
8459 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
8460 javax/swing/MenuSelectionManager.java,
8461 javax/swing/MutableComboBoxModel.java,
8462 javax/swing/OverlayLayout.java,
8463 javax/swing/plaf/ActionMapUIResource.java,
8464 javax/swing/plaf/basic/BasicBorders.java,
8465 javax/swing/plaf/basic/BasicButtonUI.java,
8466 javax/swing/plaf/basic/BasicCheckBoxUI.java,
8467 javax/swing/plaf/basic/BasicDefaults.java,
8468 javax/swing/plaf/basic/BasicGraphicsUtils.java,
8469 javax/swing/plaf/basic/BasicIconFactory.java,
8470 javax/swing/plaf/basic/BasicLabelUI.java,
8471 javax/swing/plaf/basic/BasicListUI.java,
8472 javax/swing/plaf/basic/BasicLookAndFeel.java,
8473 javax/swing/plaf/basic/BasicOptionPaneUI.java,
8474 javax/swing/plaf/basic/BasicPanelUI.java,
8475 javax/swing/plaf/basic/BasicRadioButtonUI.java,
8476 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8477 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8478 javax/swing/plaf/basic/BasicTextUI.java,
8479 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8480 javax/swing/plaf/basic/BasicTreeUI.java,
8481 javax/swing/plaf/basic/BasicViewportUI.java,
8482 javax/swing/plaf/BorderUIResource.java,
8483 javax/swing/plaf/ButtonUI.java,
8484 javax/swing/plaf/ColorChooserUI.java,
8485 javax/swing/plaf/ColorUIResource.java,
8486 javax/swing/plaf/ComboBoxUI.java,
8487 javax/swing/plaf/ComponentInputMapUIResource.java,
8488 javax/swing/plaf/ComponentUI.java,
8489 javax/swing/plaf/DesktopIconUI.java,
8490 javax/swing/plaf/DesktopPaneUI.java,
8491 javax/swing/plaf/DimensionUIResource.java,
8492 javax/swing/plaf/FileChooserUI.java,
8493 javax/swing/plaf/FontUIResource.java,
8494 javax/swing/plaf/IconUIResource.java,
8495 javax/swing/plaf/InputMapUIResource.java,
8496 javax/swing/plaf/InsetsUIResource.java,
8497 javax/swing/plaf/InternalFrameUI.java,
8498 javax/swing/plaf/LabelUI.java,
8499 javax/swing/plaf/ListUI.java,
8500 javax/swing/plaf/MenuBarUI.java,
8501 javax/swing/plaf/MenuItemUI.java,
8502 javax/swing/plaf/OptionPaneUI.java,
8503 javax/swing/plaf/PanelUI.java,
8504 javax/swing/plaf/PopupMenuUI.java,
8505 javax/swing/plaf/ProgressBarUI.java,
8506 javax/swing/plaf/RootPaneUI.java,
8507 javax/swing/plaf/ScrollBarUI.java,
8508 javax/swing/plaf/ScrollPaneUI.java,
8509 javax/swing/plaf/SeparatorUI.java,
8510 javax/swing/plaf/SliderUI.java,
8511 javax/swing/plaf/SplitPaneUI.java,
8512 javax/swing/plaf/TabbedPaneUI.java,
8513 javax/swing/plaf/TableHeaderUI.java,
8514 javax/swing/plaf/TableUI.java,
8515 javax/swing/plaf/TextUI.java,
8516 javax/swing/plaf/ToolBarUI.java,
8517 javax/swing/plaf/ToolTipUI.java,
8518 javax/swing/plaf/TreeUI.java,
8519 javax/swing/plaf/UIResource.java,
8520 javax/swing/plaf/ViewportUI.java,
8521 javax/swing/ProgressMonitorInputStream.java,
8522 javax/swing/ProgressMonitor.java,
8523 javax/swing/Renderer.java,
8524 javax/swing/RepaintManager.java,
8525 javax/swing/RootPaneContainer.java,
8526 javax/swing/Scrollable.java,
8527 javax/swing/ScrollPaneConstants.java,
8528 javax/swing/ScrollPaneLayout.java,
8529 javax/swing/SingleSelectionModel.java,
8530 javax/swing/SizeRequirements.java,
8531 javax/swing/SizeSequence.java,
8532 javax/swing/SwingConstants.java,
8533 javax/swing/SwingUtilities.java,
8534 javax/swing/table/AbstractTableModel.java,
8535 javax/swing/table/DefaultTableCellRenderer.java,
8536 javax/swing/table/DefaultTableColumnModel.java,
8537 javax/swing/table/DefaultTableModel.java,
8538 javax/swing/table/TableCellEditor.java,
8539 javax/swing/table/TableCellRenderer.java,
8540 javax/swing/table/TableColumn.java,
8541 javax/swing/table/TableColumnModel.java,
8542 javax/swing/table/TableModel.java,
8543 javax/swing/text/AbstractDocument.java,
8544 javax/swing/text/AttributeSet.java,
8545 javax/swing/text/BadLocationException.java,
8546 javax/swing/text/Caret.java,
8547 javax/swing/text/CharacterIterator.java,
8548 javax/swing/text/ComponentView.java,
8549 javax/swing/text/DefaultCaret.java,
8550 javax/swing/text/DefaultEditorKit.java,
8551 javax/swing/text/Document.java,
8552 javax/swing/text/EditorKit.java,
8553 javax/swing/text/Element.java,
8554 javax/swing/text/GapContent.java,
8555 javax/swing/text/JTextComponent.java,
8556 javax/swing/text/Keymap.java,
8557 javax/swing/text/MutableAttributeSet.java,
8558 javax/swing/text/PlainDocument.java,
8559 javax/swing/text/PlainEditorKit.java,
8560 javax/swing/text/Position.java,
8561 javax/swing/text/Segment.java,
8562 javax/swing/text/StyledDocument.java,
8563 javax/swing/text/StyledEditorKit.java,
8564 javax/swing/text/Style.java,
8565 javax/swing/text/TextAction.java,
8566 javax/swing/text/ViewFactory.java,
8567 javax/swing/text/View.java,
8568 javax/swing/Timer.java,
8569 javax/swing/ToggleButtonModel.java,
8570 javax/swing/ToolTipManager.java,
8571 javax/swing/tree/AbstractLayoutCache.java,
8572 javax/swing/tree/DefaultMutableTreeNode.java,
8573 javax/swing/tree/DefaultTreeCellEditor.java,
8574 javax/swing/tree/DefaultTreeCellRenderer.java,
8575 javax/swing/tree/DefaultTreeModel.java,
8576 javax/swing/tree/DefaultTreeSelectionModel.java,
8577 javax/swing/tree/ExpandVetoException.java,
8578 javax/swing/tree/FixedHeightLayoutCache.java,
8579 javax/swing/tree/MutableTreeNode.java,
8580 javax/swing/tree/RowMapper.java,
8581 javax/swing/tree/TreeCellEditor.java,
8582 javax/swing/tree/TreeCellRenderer.java,
8583 javax/swing/tree/TreeModel.java,
8584 javax/swing/tree/TreeNode.java,
8585 javax/swing/tree/TreePath.java,
8586 javax/swing/tree/TreeSelectionModel.java,
8587 javax/swing/tree/VariableHeightLayoutCache.java,
8588 javax/swing/UIDefaults.java,
8589 javax/swing/UIManager.java,
8590 javax/swing/undo/AbstractUndoableEdit.java,
8591 javax/swing/undo/CannotRedoException.java,
8592 javax/swing/undo/CannotUndoException.java,
8593 javax/swing/undo/CompoundEdit.java,
8594 javax/swing/undo/StateEditable.java,
8595 javax/swing/undo/StateEdit.java,
8596 javax/swing/undo/UndoableEdit.java,
8597 javax/swing/undo/UndoableEditSupport.java,
8598 javax/swing/undo/UndoManager.java,
8599 javax/swing/UnsupportedLookAndFeelException.java,
8600 javax/swing/ViewportLayout.java,
8601 javax/swing/WindowConstants.java: New files, from GNU Classpath.
8603 * java/awt/ActiveEvent.java,
8604 java/awt/Adjustable.java, java/awt/AWTError.java,
8605 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
8606 java/awt/AWTException.java, java/awt/AWTPermission.java,
8607 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
8608 java/awt/Color.java, java/awt/Component.java,
8609 java/awt/ComponentOrientation.java, java/awt/Container.java,
8610 java/awt/datatransfer/MimeTypeParseException.java,
8611 java/awt/datatransfer/Transferable.java,
8612 java/awt/datatransfer/UnsupportedFlavorException.java,
8613 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
8614 java/awt/event/ActionListener.java,
8615 java/awt/event/AdjustmentEvent.java,
8616 java/awt/event/AdjustmentListener.java,
8617 java/awt/event/AWTEventListener.java,
8618 java/awt/event/ComponentAdapter.java,
8619 java/awt/event/ComponentEvent.java,
8620 java/awt/event/ComponentListener.java,
8621 java/awt/event/ContainerAdapter.java,
8622 java/awt/event/ContainerEvent.java,
8623 java/awt/event/ContainerListener.java,
8624 java/awt/event/FocusAdapter.java,
8625 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
8626 java/awt/event/HierarchyBoundsAdapter.java,
8627 java/awt/event/HierarchyBoundsListener.java,
8628 java/awt/event/HierarchyEvent.java,
8629 java/awt/event/HierarchyListener.java,
8630 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
8631 java/awt/event/InputMethodListener.java,
8632 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
8633 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
8634 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
8635 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
8636 java/awt/event/MouseListener.java,
8637 java/awt/event/MouseMotionAdapter.java,
8638 java/awt/event/MouseMotionListener.java,
8639 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
8640 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
8641 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
8642 java/awt/event/WindowListener.java, java/awt/Font.java,
8643 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
8644 java/awt/geom/Ellipse2D.java,
8645 java/awt/geom/IllegalPathStateException.java,
8646 java/awt/geom/Line2D.java,
8647 java/awt/geom/NoninvertibleTransformException.java,
8648 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
8649 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
8650 java/awt/geom/RoundRectangle2D.java,
8651 java/awt/GraphicsConfiguration.java,
8652 java/awt/IllegalComponentStateException.java,
8653 java/awt/image/IndexColorModel.java,
8654 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
8655 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
8656 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
8657 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
8658 java/awt/MenuItem.java, java/awt/PaintContext.java,
8659 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
8660 java/awt/Polygon.java, java/awt/PrintGraphics.java,
8661 java/awt/PrintJob.java, java/awt/Rectangle.java,
8662 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
8663 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
8664 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
8666 * java/awt/im/spi/InputMethod.java,
8667 java/awt/im/spi/InputMethodContext.java,
8668 java/awt/im/spi/InputMethodDescriptor.java,
8669 java/awt/image/renderable/ContextualRenderedImageFactory.java,
8670 java/awt/image/renderable/ParameterBlock.java,
8671 java/awt/image/renderable/RenderContext.java,
8672 java/awt/image/renderable/RenderableImage.java,
8673 java/awt/image/renderable/RenderableImageOp.java,
8674 java/awt/image/renderable/RenderableImageProducer.java,
8675 java/awt/image/renderable/RenderedImageFactory.java: New files from
8678 * gnu/java/awt/EventModifier.java,
8679 gnu/java/awt/image/ImageDecoder.java,
8680 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
8682 * gnu/awt/xlib/XGraphicsConfiguration.java,
8683 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
8686 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
8689 * Makefile.am: Add new files.
8690 * Makefile.in: Rebuilt.
8692 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8694 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
8695 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
8696 findResource, getResources, findResources): Add javadoc from classpath.
8697 (getSystemResources): Implemented.
8699 2002-08-01 Mark Wielaard <mark@klomp.org>
8701 Revert patch that breaks libgcj shared library on powerpc:
8702 * gnu/java/security/provider/Gnu.java: Reverse referencing all
8703 implementation classes by using Class.getName(). Uses Strings again.
8704 * gnu/java/security/der/DEREncodingException.java,
8705 gnu/java/security/provider/DERReader.java,
8706 gnu/java/security/provider/DERWriter.java,
8707 gnu/java/security/provider/DSAKeyPairGenerator.java,
8708 gnu/java/security/provider/DSAParameterGenerator.java,
8709 gnu/java/security/provider/DSAParameters.java,
8710 gnu/java/security/provider/DSASignature.java,
8711 gnu/java/security/provider/GnuDSAPrivateKey.java,
8712 gnu/java/security/provider/GnuDSAPublicKey.java,
8713 gnu/java/security/provider/MD5.java,
8714 gnu/java/security/util/Prime.java: Removed.
8715 * Makefile.am (ordinary_java_source_files): Remove above files.
8716 * Makefile.in: Regenerate.
8717 * gnu/java/security/provider/DefaultPolicy.java
8718 (getPermissions): Revert to maintaining static class variable of
8720 * gnu/java/security/provider/SHA.java
8721 (engineUpdate): Revert algorithm change.
8722 (engineDigest): Revert algorithm change.
8724 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
8726 * configure.host: Add SH support.
8727 * sysdep/sh/locks.h: New file.
8729 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8731 * java/awt/Frame.java (Frame): Remove println calls.
8733 2002-07-30 Jeff Sturm <jsturm@one-point.com>
8735 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
8736 * configure: Rebuilt.
8738 2002-07-27 Alan Modra <amodra@bigpond.net.au>
8740 * sysdep/powerpc/locks.h: Formatting.
8743 (compare_and_swap): Use _LARX and _STCX.
8744 (compare_and_swap_release): Likewise.
8746 2002-07-26 Tom Tromey <tromey@redhat.com>
8748 * java/net/Authenticator.java: New version from Classpath.
8749 * java/net/DatagramSocketImpl.java: New version from Classpath.
8751 2002-07-27 Alan Modra <amodra@bigpond.net.au>
8753 * configure.host: Add powerpc64*-* entry.
8755 2002-07-26 Tom Tromey <tromey@redhat.com>
8757 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
8760 2002-07-24 Tom Tromey <tromey@redhat.com>
8762 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
8765 2002-07-24 Tom Tromey <tromey@redhat.com>
8766 Tony Kimball <alk@pobox.com>
8768 * java/io/natFileDescriptorWin32.cc (setLength): New method.
8769 * java/io/natFileDescriptorPosix.cc (setLength): New method.
8770 * java/io/RandomAccessFile.java (setLength): New method.
8771 * java/io/natFileDescriptorEcos.cc (setLength): New method.
8772 * java/io/FileDescriptor.java (setLength): New method.
8774 2002-07-24 Mark Wielaard <mark@klomp.org>
8776 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
8777 * java/io/ObjectInputStream.java (setBooleanField): Before setting
8778 field call setAccessible(true).
8779 (setByteField): Likewise.
8780 (setCharField): Likewise.
8781 (setDoubleField): Likewise.
8782 (setFloatField): Likewise.
8783 (setIntField): Likewise.
8784 (setLongField): Likewise.
8785 (setShortField): Likewise.
8786 (setObjectField): Likewise.
8788 2002-07-24 Tom Tromey <tromey@redhat.com>
8790 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
8791 use toString() to format array element.
8793 2002-07-23 Mark Wielaard <mark@klomp.org>
8795 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
8796 MessageDigestSpi (fixes Classpath bug #783).
8798 2002-07-21 Mark Wielaard <mark@klomp.org>
8800 * gnu/java/security/provider/Gnu.java: Reference all implementation
8801 classes by using Class.getName().
8803 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
8805 * java/lang/ieeefp.h: Add x86-64 support.
8806 * configure.in: Likewise.
8807 * configure.host: Likewise.
8808 * configure: Regenerated.
8809 * sysdep/x86-64/locks.h: New file with x86-64 locks.
8811 2002-07-16 Mark Wielaard <mark@klomp.org>
8813 * java/io/StreamTokenizer.java (pushBack): Update documentation.
8814 (whitespaceChars): call resetChar().
8816 2002-07-15 Tom Tromey <tromey@redhat.com>
8818 * Makefile.in: Rebuilt.
8819 * Makefile.am (awt_java_source_files): Added new files.
8820 * java/beans/ExceptionListener.java: Merged with Classpath.
8821 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
8822 * java/beans/PropertyChangeListener.java: Merged with Classpath.
8823 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
8824 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
8825 * java/beans/VetoableChangeListener.java: Merged with Classpath.
8826 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
8827 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
8829 2002-07-14 Mark Wielaard <mark@klomp.org>
8831 * gnu/java/security/der/DEREncodingException.java,
8832 gnu/java/security/provider/DERReader.java,
8833 gnu/java/security/provider/DERWriter.java,
8834 gnu/java/security/provider/DSAKeyPairGenerator.java,
8835 gnu/java/security/provider/DSAParameterGenerator.java,
8836 gnu/java/security/provider/DSAParameters.java,
8837 gnu/java/security/provider/DSASignature.java,
8838 gnu/java/security/provider/GnuDSAPrivateKey.java,
8839 gnu/java/security/provider/GnuDSAPublicKey.java,
8840 gnu/java/security/provider/MD5.java,
8841 gnu/java/security/util/Prime.java: New files from Classpath.
8842 * Makefile.am (ordinary_java_source_files): Add new files.
8843 * Makefile.in: Regenerate.
8845 2002-07-14 C. Brian Jones <cbj@gnu.org>
8847 * gnu/java/security/provider/DefaultPolicy.java
8848 (getPermissions): do not maintain static class variable of
8850 * gnu/java/security/provider/SHA.java
8851 (engineUpdate): algorithm change
8852 (engineDigest): algorithm change
8854 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
8857 * java/lang/Character.java (toString(char)): Now static.
8859 2002-07-12 Mark Wielaard <mark@klomp.org>
8861 * java/lang/natThrowable.cc (printRawStackTrace): removed.
8862 (getStackTrace0): new method.
8863 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
8864 (printStackTrace(PrintWriter)): replace with pure java implementation.
8865 (printRawStackTrace): removed.
8866 (getStackTrace0): new method.
8867 * java/lang/StackTraceElement.java (toString): add extra whitespace.
8868 * gcj/javaprims.h: regenerate class list.
8869 * include/name-finder.h (lookup): new returns StackTraceElement*.
8870 (method_name, file_name): fields removed.
8871 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
8872 (~_Jv_name_finder): close new descriptors.
8873 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
8874 (createStackTraceElement): new method.
8875 (lookup): returns StackTraceElement*, uses createStackTraceElement().
8877 2002-07-10 Tom Tromey <tromey@redhat.com>
8879 * configure: Rebuilt.
8880 * configure.in: Use `test' after `&&'. From Chris Faylor.
8882 2002-07-08 Mark Wielaard <mark@klomp.org>
8884 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
8885 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
8886 java.sql.DatabaseMetaData.TestJdbc20
8888 2002-07-05 Tony Kimball <alk@pobox.com>
8890 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
8892 2002-07-04 Tom Tromey <tromey@redhat.com>
8893 Jeff Sturm <jsturm@one-point.com>
8895 Fix for PR libgcj/7060:
8896 * java/lang/Class.h (_getMethod): Renamed from getMethod.
8897 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
8898 Recurse into superinterfaces. Don't throw NoSuchMethodException.
8899 * java/lang/Class.java (getMethod): New Java implementation;
8901 (_getMethod): New native method.
8903 2002-07-02 Tom Tromey <tromey@redhat.com>
8904 David Hovemeyer <daveho@cs.umd.edu>
8906 * java/text/ChoiceFormat.java
8907 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
8909 * java/text/MessageFormat.java
8910 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
8913 2002-07-01 Tom Tromey <tromey@redhat.com>
8915 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
8916 StringTokenizer on null string. For PR libgcj/7180.
8917 From daveho@cs.umd.edu.
8919 2002-06-24 Tom Tromey <tromey@redhat.com>
8921 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
8922 (IntegerClass): Likewise.
8923 * java/lang/natClass.cc (CloneableClass): Removed.
8924 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
8925 ConstructorClass): Likewise.
8926 * java/lang/natClassLoader.cc (CloneableClass): Removed.
8927 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
8928 SerializableClass): Likewise.
8929 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
8930 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
8931 LongClass, FloatClass, DoubleClass): Likewise.
8933 * verify.cc (branch_prepass): Updated for change to exception
8935 (verify_instructions_0): Likewise.
8936 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
8937 (handleExceptionTableEntry): Updated for change to exception
8939 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
8940 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
8941 (union _Jv_InterpPC): New.
8942 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
8943 (class _Jv_InterpMethod): Added new `prepared' field.
8944 (class _Jv_InterpMethod): Added `compile' method. Removed
8945 `continue1' and `find_exception'. Changed arguments to `run'.
8946 * interpret.cc (union insn_slot): New.
8947 (find_exception): Removed.
8948 (run_normal): Removed most logic.
8949 (run_synch_object): Likewise; also, use JvSynchronize.
8950 (run_synch_class): Likewise.
8952 (continue1): Renamed as `run'. Compile bytecode if required.
8953 Add new code to allow refinement of direct-threaded code at
8954 runtime. Handle exceptions.
8956 (compile): New method.
8957 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
8958 (NULLARRAYCHECK): Don't use SAVE_PC.
8959 (pc_t): New typedef.
8960 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
8961 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
8963 2002-06-23 Tom Tromey <tromey@redhat.com>
8965 * configure: Rebuilt.
8966 * configure.in (INTERPRETER): New subst.
8967 (AM_RUNTESTFLAGS): Don't subst.
8969 * Makefile.in: Rebuilt.
8970 * Makefile.am ($(srcdir)/java/lang/Object.h,
8971 $(srcdir)/java/lang/Class.h): Added dummy targets.
8973 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
8975 Reformat JDBC classes and add new JDK 1.4 classes and methods.
8977 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
8978 java/sql/Savepoint.java: New files.
8979 * java/sql/Array.java, java/sql/BatchUpdateException.java,
8980 java/sql/Blob.java, java/sql/CallableStatement.java,
8981 java/sql/Clob.java, java/sql/Connection.java,
8982 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
8983 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
8984 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
8985 java/sql/Ref.java, java/sql/ResultSet.java,
8986 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
8987 java/sql/SQLException.java, java/sql/SQLInput.java,
8988 java/sql/SQLOutput.java, java/sql/SQLWarning.java
8989 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
8990 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
8991 (JDK 1.4) specification.
8992 * javax/sql/ConnectionEvent.java,
8993 javax/sql/ConnectionEventListener.java,
8994 javax/sql/ConnectionPoolDataSource.java,
8995 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
8996 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
8997 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
8998 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
8999 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
9000 javax/sql/XADataSource.java: New files.
9001 * Makefile.am: Add new files.
9002 * Makefile.in: Rebuilt.
9004 2002-06-20 Tom Tromey <tromey@redhat.com>
9007 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
9009 * defineclass.cc (handleClassBegin): Superclass for interface is
9012 2002-06-18 Tom Tromey <tromey@redhat.com>
9014 * gcj/javaprims.h: Updated class declaration list.
9015 * Makefile.in: Rebuilt.
9016 * Makefile.am (core_java_source_files): Removed
9018 * java/util/BasicMapEntry.java: Removed.
9020 2002-06-18 Jeff Sturm <jsturm@one-point.com>
9022 * java/net/natPlainDatagramSocketImpl.cc (receive):
9023 Check bounds of argument to FD_SET.
9024 (setOption): Throw exception if socket is closed.
9026 * java/net/natPlainSocketImpl.cc (accept, read):
9027 Check bounds of argument to FD_SET.
9028 (setOption): Throw exception if socket is closed.
9030 2002-06-18 Tom Tromey <tromey@redhat.com>
9032 * gcj/javaprims.h: Updated class declaration list.
9033 * Makefile.in: Rebuilt.
9034 * Makefile.am (core_java_source_files): Added
9035 PropertyPermissionCollection.java.
9036 * java/lang/Thread.java (group, name): Now package-private.
9037 * java/lang/ThreadGroup.java: Re-merge with Classpath.
9038 * java/util/AbstractList.java: Likewise.
9039 * java/util/AbstractMap.java: Likewise.
9040 * java/util/Calendar.java: Likewise.
9041 * java/util/Collections.java: Likewise.
9042 * java/util/HashMap.java: Likewise.
9043 * java/util/Hashtable.java: Likewise.
9044 * java/util/LinkedHashMap.java: Likewise.
9045 * java/util/LinkedList.java: Likewise.
9046 * java/util/List.java: Likewise.
9047 * java/util/ListResourceBundle.java: Likewise.
9048 * java/util/Map.java: Likewise.
9049 * java/util/Observable.java: Likewise.
9050 * java/util/Properties.java: Likewise.
9051 * java/util/PropertyPermission.java: Likewise.
9052 * java/util/PropertyPermissionCollection.java: Likewise.
9053 * java/util/PropertyResourceBundle.java: Likewise.
9054 * java/util/Random.java: Likewise.
9055 * java/util/SimpleTimeZone.java: Likewise.
9056 * java/util/StringTokenizer.java: Likewise.
9057 * java/util/TimerTask.java: Likewise.
9058 * java/util/TreeMap.java: Likewise.
9059 * java/util/WeakHashMap.java: Likewise.
9060 * java/util/jar/Attributes.java: Likewise.
9061 * java/util/jar/JarException.java: Likewise.
9062 * java/util/jar/Manifest.java: Likewise.
9064 2002-06-17 Tom Tromey <tromey@redhat.com>
9066 * gcj/javaprims.h: Updated class declaration list.
9067 * Makefile.in: Rebuilt.
9068 * Makefile.am (core_java_source_files): Added new file.
9069 * java/util/EventListenerProxy.java: New file.
9070 * java/util/EventListener.java: Re-merge with Classpath.
9071 * java/util/EventObject.java: Re-merge with Classpath.
9073 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9075 * java/lang/ClassNotFoundException.java: New Classpath version.
9077 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
9079 * java/rmi/activation/ActivateFailedException.java: Remerge from
9081 * java/rmi/activation/ActivationException.java: Ditto.
9082 * java/rmi/activation/UnknownGroupException.java: Ditto.
9083 * java/rmi/activation/UnknownObjectException.java: Ditto.
9084 * java/rmi/server/ExportException: Ditto.
9085 * java/rmi/server/ServerCloneException: Ditto.
9086 * java/rmi/server/ServerNotActiveException: Ditto.
9087 * java/rmi/server/SkeletonMismatchException: Ditto.
9088 * java/rmi/server/SkeletonNotFoundException: Ditto.
9089 * java/rmi/server/SocketSecurityException: Ditto.
9091 2002-06-16 Tom Tromey <tromey@redhat.com>
9093 * gcj/javaprims.h: Updated class declaration list.
9095 * java/io/LineNumberInputStream.java: Merged with Classpath.
9097 * java/lang/RuntimeException.java: Re-merge with Classpath.
9098 * java/util/ArrayList.java: Likewise.
9099 * java/util/Arrays.java: Likewise.
9100 * java/util/BitSet.java: Likewise.
9101 * java/util/Dictionary.java: Likewise.
9102 * java/util/IdentityHashMap.java: Likewise.
9103 * java/util/MissingResourceException.java: Likewise.
9104 * java/util/Observer.java: Likewise.
9105 * java/util/TooManyListenersException.java: Likewise.
9106 * java/util/zip/DataFormatException.java: Likewise.
9107 * java/util/zip/ZipException.java: Likewise.
9109 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
9111 * java/rmi/AccessException.java: Remerge from Classpath.
9112 * java/rmi/AlreadyBoundException.java: Ditto.
9113 * java/rmi/ConnectException.java: Ditto.
9114 * java/rmi/ConnectIOException.java: Ditto.
9115 * java/rmi/MarshalException.java: Ditto.
9116 * java/rmi/NoSuchObjectException.java: Ditto.
9117 * java/rmi/NotBoundException.java: Ditto.
9118 * java/rmi/RemoteException.java: Ditto.
9119 * java/rmi/RMISecurityException.java: Ditto.
9120 * java/rmi/ServerError.java: Ditto.
9121 * java/rmi/ServerException.java: Ditto.
9122 * java/rmi/ServerRuntimeException.java: Ditto.
9123 * java/rmi/StubNotFoundException.java: Ditto.
9124 * java/rmi/UnexpectedExcpetion.java: Ditto.
9125 * java/rmi/UnknownHostException.java: Ditto.
9126 * java/rmi/UnmarshalException.java: Ditto.
9128 2002-06-15 Tom Tromey <tromey@redhat.com>
9130 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
9131 * java/lang/ArithmeticException.java: Likewise.
9132 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
9133 * java/lang/ArrayStoreException.java: Likewise.
9134 * java/lang/Byte.java: Likewise.
9135 * java/lang/CharSequence.java: Likewise.
9136 * java/lang/ClassCastException.java: Likewise.
9137 * java/lang/ClassCircularityError.java: Likewise.
9138 * java/lang/ClassFormatError.java: Likewise.
9139 * java/lang/CloneNotSupportedException.java: Likewise.
9140 * java/lang/Cloneable.java: Likewise.
9141 * java/lang/Comparable.java: Likewise.
9142 * java/lang/Compiler.java: Likewise.
9143 * java/lang/Error.java: Likewise.
9144 * java/lang/ExceptionInInitializerError.java: Likewise.
9145 * java/lang/IllegalAccessError.java: Likewise.
9146 * java/lang/IllegalAccessException.java: Likewise.
9147 * java/lang/IllegalArgumentException.java: Likewise.
9148 * java/lang/IllegalMonitorStateException.java: Likewise.
9149 * java/lang/IllegalStateException.java: Likewise.
9150 * java/lang/IllegalThreadStateException.java: Likewise.
9151 * java/lang/IncompatibleClassChangeError.java: Likewise.
9152 * java/lang/IndexOutOfBoundsException.java: Likewise.
9153 * java/lang/InheritableThreadLocal.java: Likewise.
9154 * java/lang/InstantiationError.java: Likewise.
9155 * java/lang/InstantiationException.java: Likewise.
9156 * java/lang/InternalError.java: Likewise.
9157 * java/lang/InterruptedException.java: Likewise.
9158 * java/lang/LinkageError.java: Likewise.
9159 * java/lang/NegativeArraySizeException.java: Likewise.
9160 * java/lang/NoClassDefFoundError.java: Likewise.
9161 * java/lang/NoSuchFieldError.java: Likewise.
9162 * java/lang/NoSuchFieldException.java: Likewise.
9163 * java/lang/NoSuchMethodError.java: Likewise.
9164 * java/lang/NoSuchMethodException.java: Likewise.
9165 * java/lang/NullPointerException.java: Likewise.
9166 * java/lang/NumberFormatException.java: Likewise.
9167 * java/lang/OutOfMemoryError.java: Likewise.
9168 * java/lang/Process.java: Likewise.
9169 * java/lang/Runnable.java: Likewise.
9170 * java/lang/RuntimePermission.java: Likewise.
9171 * java/lang/SecurityException.java: Likewise.
9172 * java/lang/Short.java: Likewise.
9173 * java/lang/StackOverflowError.java: Likewise.
9174 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
9175 * java/lang/ThreadDeath.java: Likewise.
9176 * java/lang/ThreadLocal.java: Likewise.
9177 * java/lang/UnknownError.java: Likewise.
9178 * java/lang/UnsatisfiedLinkError.java: Likewise.
9179 * java/lang/UnsupportedClassVersionError.java: Likewise.
9180 * java/lang/UnsupportedOperationException.java: Likewise.
9181 * java/lang/VerifyError.java: Likewise.
9182 * java/lang/VirtualMachineError.java: Likewise.
9183 * java/lang/reflect/InvocationTargetException.java: Likewise.
9184 * java/net/BindException.java: Likewise.
9185 * java/net/ConnectException.java: Likewise.
9186 * java/net/MalformedURLException.java: Likewise.
9187 * java/net/NoRouteToHostException.java: Likewise.
9188 * java/net/ProtocolException.java: Likewise.
9189 * java/net/SocketException.java: Likewise.
9190 * java/net/UnknownHostException.java: Likewise.
9191 * java/net/UnknownServiceException.java: Likewise.
9193 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
9194 * java/io/CharConversionException.java: Likewise.
9195 * java/io/EOFException.java: Likewise.
9196 * java/io/FileNotFoundException.java: Likewise.
9197 * java/io/IOException.java: Likewise.
9198 * java/io/InterruptedIOException.java: Likewise.
9199 * java/io/InvalidClassException.java: Likewise.
9200 * java/io/InvalidObjectException.java: Likewise.
9201 * java/io/NotActiveException.java: Likewise.
9202 * java/io/NotSerializableException.java: Likewise.
9203 * java/io/ObjectStreamException.java: Likewise.
9204 * java/io/ObjectStreamConstants.java: Likewise.
9205 * java/io/OptionalDataException.java: Likewise.
9206 * java/io/PipedInputStream.java: Likewise.
9207 * java/io/PushbackInputStream.java: Likewise.
9208 * java/io/StreamCorruptedException.java: Likewise.
9209 * java/io/SyncFailedException.java: Likewise.
9210 * java/io/UTFDataFormatException.java: Likewise.
9211 * java/io/UnsupportedEncodingException.java: Likewise.
9212 * java/io/WriteAbortedException.java: Likewise.
9214 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
9216 * java/text/ChoiceFormat.java: Update comments from Classpath.
9217 * java/text/ParseException.java (serialVersionUID): New
9218 field from Classpath.
9219 * java/text/ParseException.java: Update formatting & comments
9222 2002-06-15 Tom Tromey <tromey@redhat.com>
9224 * java/util/zip/InflaterInputStream.java (read): Loop if data has
9225 been read but none output by inflater.
9226 * java/util/zip/natDeflater.cc (reset): Set is_finished.
9227 * java/util/zip/natInflater.cc (reset): Set dist_needed and
9229 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
9231 * java/util/zip/ZipFile.java: Replaced with Classpath version.
9232 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
9233 * java/util/zip/ZipInputStream.java: Replaced with Classpath
9235 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
9237 2002-06-13 Tom Tromey <tromey@redhat.com>
9239 * java/lang/natString.cc (init): Handle case where DONT_COPY is
9241 * java/lang/String.java (String(char[],int,int,boolean): New
9243 * java/lang/Long.java: Imported new version from Classpath.
9244 * java/lang/Number.java: Likewise.
9245 * java/lang/Integer.java: Likewise.
9246 * java/lang/Long.java: Likewise.
9247 * java/lang/Float.java: Likewise.
9248 * java/lang/Boolean.java: Likewise.
9249 * java/lang/Double.java: Likewise.
9250 * java/lang/Void.java: Likewise.
9252 2002-06-12 Tom Tromey <tromey@redhat.com>
9254 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
9255 Fixes PR libgcj/6652.
9257 2002-06-10 Tom Tromey <tromey@redhat.com>
9259 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
9260 (Class::getPackagePortion): Likewise.
9261 * java/lang/Class.java (desiredAssertionStatus): New method from
9263 (getPackagePortion): Likewise.
9264 * java/lang/VMClassLoader.java (defaultAssertionStatus,
9265 packageAssertionStatus, classAssertionStatus): New methods from
9267 * java/lang/ClassLoader.java (defaultAssertionStatus,
9268 systemPackageAssertionStatus, packageAssertionStatus,
9269 systemClassAssertionStatus, classAssertionStatus): New fields from
9271 (setDefaultAssertionStatus, setPackageAssertionStatus,
9272 setClassAssertionStatus, clearAssertionStatus): New methods from
9274 * Makefile.in: Rebuilt.
9275 * Makefile.am (core_java_source_files): Added AssertionError.java.
9276 * java/lang/AssertionError.java: New from Classpath.
9278 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9280 * configure.host: Disable hash synchronization and slow_pthread_self
9283 2002-06-06 Adam Megacz <adam@xwt.org>
9285 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
9286 locking, just like the Sun JVM does.
9288 2002-06-05 H.J. Lu (hjl@gnu.org)
9290 * Makefile.am (libgcj_convenience.la): Revert the last change.
9291 (libgcj.la): Likewise.
9292 * Makefile.in: Regenerated.
9294 2002-06-04 H.J. Lu (hjl@gnu.org)
9296 * Makefile.am (libgcj_convenience.la): New target.
9297 (libgcj.la): Depend on libgcj_convenience.la.
9298 * Makefile.in: Regenerated.
9300 2002-06-04 H.J. Lu (hjl@gnu.org)
9302 * configure.in (--with-newlib): New option:
9303 Check ${with_newlib} instead of ${with_cross_host} for newlib.
9304 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
9306 * configure: Regenerated.
9308 2002-06-04 Tom Tromey <tromey@redhat.com>
9310 * java/util/natTimeZone.cc: Include <stdio.h>.
9312 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
9314 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
9315 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
9316 Set SIGNAL_HANDLER=include/s390-linux.h.
9317 * configure: Regenerate.
9318 * include/s390-linux.h: New file.
9320 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9322 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
9325 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9327 Merge JDK 1.4 java.security changes from classpath.
9329 * java/security/AccessControlException.java: Merge from Classpath.
9330 * java/security/AccessController.java: Likewise.
9331 * java/security/AllPermission.java: Likewise.
9332 * java/security/BasicPermission.java: Likewise.
9333 * java/security/Certificate.java: Likewise.
9334 * java/security/CodeSource.java: Likewise.
9335 * java/security/DigestException.java: Likewise.
9336 * java/security/DigestOutputStream.java: Likewise.
9337 * java/security/DomainCombiner.java: Likewise.
9338 * java/security/GeneralSecurityException.java: Likewise.
9339 * java/security/Guard.java: Likewise.
9340 * java/security/GuardedObject.java: Likewise.
9341 * java/security/InvalidAlgorithmParameterException.java: Likewise.
9342 * java/security/InvalidKeyException.java: Likewise.
9343 * java/security/InvalidParameterException.java: Likewise.
9344 * java/security/Key.java: Likewise.
9345 * java/security/KeyException.java: Likewise.
9346 * java/security/KeyManagementException.java: Likewise.
9347 * java/security/KeyStoreException.java: Likewise.
9348 * java/security/MessageDigest.java: Likewise.
9349 * java/security/NoSuchAlgorithmException.java: Likewise.
9350 * java/security/NoSuchProviderException.java: Likewise.
9351 * java/security/Permission.java: Likewise.
9352 * java/security/PermissionCollection.java: Likewise.
9353 * java/security/Permissions.java: Likewise.
9354 * java/security/Policy.java: Likewise.
9355 * java/security/Principal.java: Likewise.
9356 * java/security/PrivateKey.java: Likewise.
9357 * java/security/PrivilegedAction.java: Likewise.
9358 * java/security/PrivilegedActionException.java: Likewise.
9359 * java/security/PrivilegedExceptionAction.java: Likewise.
9360 * java/security/ProtectionDomain.java: Likewise.
9361 * java/security/ProviderException.java: Likewise.
9362 * java/security/PublicKey.java: Likewise.
9363 * java/security/SecureClassLoader.java: Likewise.
9364 * java/security/SecurityPermission.java: Likewise.
9365 * java/security/SignatureException.java: Likewise.
9366 * java/security/UnrecoverableKeyException.java: Likewise.
9367 * java/security/UnresolvedPermission.java: Likewise.
9368 * java/security/acl/AclNotFoundException.java: Likewise.
9369 * java/security/acl/LastOwnerException.java: Likewise.
9370 * java/security/acl/NotOwnerException.java: Likewise.
9371 * java/security/cert/CRLException.java: Likewise.
9372 * java/security/cert/CertificateEncodingException.java: Likewise.
9373 * java/security/cert/CertificateException.java: Likewise.
9374 * java/security/cert/CertificateExpiredException.java: Likewise.
9375 * java/security/cert/CertificateFactory.java: Likewise.
9376 * java/security/cert/CertificateNotYetValidException.java: Likewise.
9377 * java/security/cert/CertificateParsingException.java: Likewise.
9378 * java/security/spec/InvalidKeySpecException.java: Likewise.
9379 * java/security/spec/InvalidParameterSpecException.java: Likewise.
9381 * java/security/cert/CertPath.java: New file.
9382 * java/security/cert/CertPathBuilderException.java: New file.
9383 * java/security/cert/CertPathValidatorException.java: New file.
9384 * java/security/cert/CertStoreException.java: New file.
9386 * Makefile.am: Add new CertPath classes.
9387 * Makefile.in: Rebuilt.
9389 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
9391 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9393 Merge JDK 1.4 exception chaining support from classpath.
9395 * java/lang/Throwable.java: Merge 1.4 support from classpath.
9396 (stackTraceBytes): Rename from stackTrace.
9397 * java/lang/Exception.java: Merge from classpath.
9398 * java/lang/StackTraceElement: New file from classpath.
9399 * gcj/javaprims.h: Rebuild CNI namespace declarations.
9400 * Makefile.am: Add StackTraceElement.
9401 * Makefile.in: Rebuilt.
9403 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9405 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
9407 * Makefile.in: Rebuilt.
9409 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9411 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
9412 * configure.in: Likewise.
9413 * aclocal.m4: Regenerate.
9414 * configure: Regenerate.
9416 2002-05-13 Tom Tromey <tromey@redhat.com>
9418 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
9419 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
9422 Fixes PR libgcj/6389:
9423 * Makefile.in: Rebuilt.
9424 * Makefile.am (nat_source_files): Added natTimeZone.cc.
9425 * java/util/natTimeZone.cc: New file.
9426 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
9427 * java/lang/System.java: Merged with Classpath.
9428 * java/lang/Runtime.java: Merged with Classpath.
9429 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
9431 (setIn0): Renamed from setIn; don't run security check.
9432 (setOut0): Renamed from setOut; don't run security check.
9433 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
9434 init_properties): Moved to natRuntime.cc.
9435 Moved many includes to natRuntime.cc.
9436 (isWordsBigEndian): New method.
9437 * java/lang/natRuntime.cc: Include Long.h, also other includes
9438 previously in natSystem.cc.
9439 (maxMemory): New function.
9440 (exitInternal): Renamed from `_exit'.
9442 (init): Don't set finalize_on_exit.
9443 (exitInternal): Use `finalizeOnExit'.
9444 (file_encoding, getpwuid_adaptor): New functions from
9446 (insertSystemProperties): New method, renamed from
9447 System::init_properties. Don't set user.timezone.
9448 (_load): Don't call checkLink.
9449 (execInternal): New method.
9450 (availableProcessors): Likewise.
9451 (nativeGetLibname): Likewise.
9453 2002-05-11 Mark Wielaard <mark@klomp.org>
9455 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
9457 (previous_internal): Likewise.
9459 2002-05-09 Tom Tromey <tromey@redhat.com>
9461 * jni.cc (_Jv_JNIFunctions): Fixed typo.
9463 * java/util/ResourceBundle.java: New version from Classpath.
9464 * java/util/Locale.java: Likewise.
9466 2002-05-09 Jakub Jelinek <jakub@redhat.com>
9468 * testsuite/lib/libjava.exp (libjava_arguments): Append all
9469 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
9472 2002-05-08 Mark Mitchell <mark@codesourcery.com>
9474 * libjava/Makefile.am (all_java_source_files): New variable.
9475 (all_java_class_files): Likewise.
9476 .java.class: New rule.
9477 (CLEANFILES): Remove tmp-list.
9478 * libjava/Makefile.in: Regenerated.
9480 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
9482 * testsuite/lib/libjava.exp (test_libjava_from_javac):
9483 Append .exe to executable names. Fix for cygwin.
9485 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
9487 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
9488 script entry, and set LD to it when configuring multilibs.
9489 * configure: Rebuilt.
9491 2002-05-07 Tom Tromey <tromey@redhat.com>
9493 * java/lang/natString.cc (unintern): Fixed typo.
9495 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9497 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
9498 with -no-install on *-*-cygwin*.
9500 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
9502 * testsuite/lib/libjava.exp (test_libjava_from_source):
9503 Add comment explaining last patch
9505 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
9507 * testsuite/lib/libjava.exp (test_libjava_from_source):
9508 Append .exe to executable names. If no suffix is present,
9509 then ".exe" is added by default on win32. Harmless
9510 elsewhere so always do it.
9512 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
9513 Tom Tromey <tromey@redhat.com>
9515 * java/lang/natSystem.cc (getSystemTimeZone): Use
9516 HAVE_UNDERSCORE_TIMEZONE.
9517 * include/config.h.in: Rebuilt.
9518 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
9519 * aclocal.m4, configure: Rebuilt.
9520 * acinclude.m4: Run AC_EXEEXT.
9521 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
9522 Add test for `_timezone'.
9524 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
9526 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9527 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
9528 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
9529 * Makefile.in: Rebuilt.
9531 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
9533 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
9534 use sigaction instead of __libc_sigaction.
9536 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9538 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
9539 (libjava_init): Use it to find libgcj.spec.
9540 (libjava_arguments): Likewise.
9542 2002-05-02 David S. Miller <davem@redhat.com>
9545 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
9546 __libc_sigaction on Sparc.
9548 2002-05-02 Jerome Marc <marcjero@yahoo.com>
9550 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
9551 sys/filio.h, if present.
9553 2002-04-30 Tom Tromey <tromey@redhat.com>
9555 * java/io/BufferedReader.java (fill): Handle case where markPos
9556 point to ignored \n. Fixes PR libgcj/6301.
9558 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
9560 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
9562 2002-04-29 Adam King <aking@dreammechanics.com>
9564 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
9565 of file in APPEND mode.
9567 2002-04-25 David S. Miller <davem@redhat.com>
9570 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
9571 program counter to next program counter minus 8. Update
9572 comments in this macro to explain why.
9574 2002-04-26 Tom Tromey <tromey@redhat.com>
9576 * verify.cc (construct_primitive_array_type) [void_type]: New
9578 (branch_prepass): Added dummy entries for unused instruction
9580 (verify_instructions_0): Likewise.
9581 * interpret.cc (continue1): Comment fix.
9582 * include/java-insns.h (op_xxxunusedxxx1): Removed.
9583 * Makefile.in: Rebuilt.
9584 * Makefile.am: Added -Wswitch-enum.
9586 2002-04-24 Tom Tromey <tromey@redhat.com>
9588 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
9589 correct length of UTF-8 encoded name. Strip leading `/'.
9590 (_Jv_RegisterResource): Use _Jv_Malloc.
9592 2002-04-23 Adam Megacz <adam@xwt.org>
9594 * win32.cc, include/win32.cc (backtrace): Added this function
9595 because Win32 does not supply it.
9597 2002-04-21 David S. Miller <davem@redhat.com>
9599 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
9600 magic instruction reading sequence.
9602 2002-04-21 Mark Wielaard <mark@klomp.org>
9604 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
9606 2002-04-19 David S. Miller <davem@redhat.com>
9608 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
9610 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
9611 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
9613 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
9615 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
9616 * sysdeps/sparc/locks.h: New file.
9617 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
9618 on all sparc Solaris configurations. Set to
9619 include/dwarf2-signal.h on sparc Linux.
9620 * configure: Regenerate
9621 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
9623 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
9625 * configure: Rebuilt.
9626 * configure.in (backtrace): Function doesn't work on IA-64.
9628 2002-04-17 Adam King <aking@dreammechanics.com>
9630 * java/io/File.java (normalizePath): Add Win32 support for auto
9631 conversion of a '/' path separator to Win32's '\' separator.
9633 2002-04-16 Tom Tromey <tromey@redhat.com>
9635 Fix for PR libgcj/6081:
9636 * Makefile.in: Rebuilt.
9637 * Makefile.am (install-data-local): Use GNU make trick to avoid
9640 2002-04-16 Adam King <aking@dreammechanics.com>
9641 Tom Tromey <tromey@redhat.com>
9643 * java/io/natFileWin32.cc (performList): Return the correct array
9644 type. Don't duplicate the creation of a File since it's already
9645 done earlier in the method and the existing code would cause a
9646 ArrayStoreException. Don't use fixed-size array.
9647 (_access, _stat, attr, getCanonicalPath, performMkdir,
9648 performRenameTo): Don't use fixed-size array.
9649 (getCanonicalPath): Use throw, not _Jv_Throw.
9651 2002-04-15 DJ Delorie <dj@redhat.com>
9653 * configure.in: Allow building in $srcdir.
9654 * configure: Regenerated.
9656 2002-04-14 Mark Wielaard <mark@klomp.org>
9658 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
9659 * java/net/natSocketImpl.cc (close): Likewise.
9661 2002-04-14 Mark Wielaard <mark@klomp.org>
9663 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
9665 2002-04-13 Adam King <aking@dreammechanics.com>
9667 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
9668 the f/F/d/D modifiers.
9670 2002-04-12 Anthony Green <green@redhat.com>
9672 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
9673 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
9674 * Makefile.in: Rebuilt.
9675 * configure.in: Substitute gcc_version.
9676 * configure: Rebuilt.
9678 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9680 * configure.host: Set can_unwind_signal on hosts which support it.
9681 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
9682 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
9683 exceptions and can_unwind_signal isn't set.
9684 * configure: Rebuilt.
9686 2002-04-11 Tom Tromey <tromey@redhat.com>
9688 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
9690 2002-04-11 Adam King <aking@dreammechanics.com>
9691 Tom Tromey <tromey@redhat.com>
9693 * include/jvm.h (_Jv_ThrowBadArrayIndex,
9694 _Jv_ThrowNullPointerException): Mark as noreturn.
9695 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
9696 and _Jv_free. Correctly invoke GetTempPath(). Indentation
9699 2002-04-10 Tom Tromey <tromey@redhat.com>
9701 * Makefile.in: Rebuilt.
9702 * Makefile.am (java/lang/Thread.h): Mark
9703 _Jv_AttachCurrentThreadAsDaemon as friend.
9704 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
9705 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
9706 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
9708 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
9709 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
9710 (_Jv_JNI_InvokeFunctions): Added
9711 _Jv_JNI_AttachCurrentThreadAsDaemon.
9712 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
9713 (JNI_GetDefaultJavaVMInitArgs): Likewise.
9714 (JNI_CreateJavaVM): Likewise.
9715 (_Jv_JNI_AttachCurrentThread): Likewise.
9716 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
9717 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
9718 (_Jv_JNIFunctions): Initialize new fields.
9719 (_Jv_JNI_NewDirectByteBuffer): New function.
9720 (_Jv_JNI_GetDirectBufferAddress): Likewise.
9721 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
9722 * include/jni.h (JNI_VERSION_1_4): New macro.
9723 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
9724 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
9725 (JNINativeInterface::NewDirectByteBuffer): New field.
9726 (JNINativeInterface::GetDirectBufferAddress): New field.
9727 (JNINativeInterface::GetDirectBufferCapacity): New field.
9728 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
9729 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
9730 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
9732 2002-04-09 Tom Tromey <tromey@redhat.com>
9734 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
9736 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
9738 Fix for PR libgcj/6187:
9739 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
9742 2002-04-07 Mark Wielaard <mark@klomp.org>
9744 * java/util/AbstractMap.java (putAll): Use entrySet size.
9745 (toString): Explicitly use getKey() and getValue().
9747 2002-04-07 Mark Wielaard <mark@klomp.org>
9749 * java/util/Hashtable.java (contains): Remove NullPointer check.
9750 (containsValue): Add NullPointer check.
9751 (remove): Always throw NullPointerException when key
9754 2002-04-07 Adam King <aking@dreammechanics.com>
9756 * java/lang/natSystem.cc (init_properties): Call new function
9757 _Jv_platform_initProperties.
9758 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
9759 support for the System properties os.name, os.arch, os.version,
9760 user.name, user.home, and user.dir.
9761 * include/posix.h, include/win32.h, posix.cc: New function
9762 _Jv_platform_initProperties.
9764 2002-04-06 Mark Wielaard <mark@klomp.org>
9766 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
9768 2002-04-06 Mark Wielaard <mark@klomp.org>
9770 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
9771 all of the remaining elements.
9772 * java/util/Vector.java (addAll(int,Collection)): Likewise.
9773 (removeRange): If toIndex == fromIndex do
9774 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9775 (removeAll): Always throw NullPointerException when collection is
9777 (retrainAll): Likewise.
9779 2002-04-05 Mark Wielaard <mark@klomp.org>
9781 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
9782 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
9784 2002-04-05 Adam Megacz <adam@xwt.org>
9786 * exception.cc (abort): added static modifier
9788 2002-04-04 Adam Megacz <adam@xwt.org>
9790 * include/win32.h (_Jv_platform_close_on_exec): added inline
9793 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
9795 * configure.host: Add case statement to support generic port
9796 properties. Add *-*-freebsd* section.
9798 2002-04-04 Mark Wielaard <mark@klomp.org>
9800 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
9802 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
9803 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
9804 that depend on awt code and BufferedByteOutputStream.interrupt.
9806 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9808 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
9809 incorrect "hi" value when count > 40.
9811 2002-04-03 Mark Wielaard <mark@klomp.org>
9813 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
9816 2002-04-02 Tom Tromey <tromey@redhat.com>
9818 * java/lang/natClassLoader.cc (findClass): Compare against `3',
9821 2002-04-02 Mark Wielaard <mark@klomp.org>
9823 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
9824 list of testsuite crashers.
9826 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9828 * java/util/IdentityHashMap.java (put): Set new threshold correctly
9829 when resizing table.
9831 2002-04-01 Mark Wielaard <mark@klomp.org>
9833 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
9834 NegativeArraySizeException
9835 (clear(int)): Use sign extended shift.
9836 (flip(int)): Likewise.
9837 (get(int)): Likewise.
9838 (nextClearBit(int)): Likewise.
9839 (nextSetBit(int)): Likewise.
9840 (set(int)): Likewise.
9842 2002-04-01 Mark Wielaard <mark@klomp.org>
9844 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
9845 that can be compiled now and add testsuite crashers to ignore list.
9847 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
9849 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
9851 * libgcj.spec.in: Override libgcc, not lib.
9852 * libgcj-test.spec.in: Likewise.
9854 2002-03-29 Tom Tromey <tromey@redhat.com>
9856 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
9857 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
9859 2002-03-27 Jeff Sturm <jsturm@one-point.com>
9861 * java/net/PlainDatagramSocketImpl.java
9862 (close): Use native implementation.
9863 (finalize): New method.
9865 * java/net/PlainSocketImpl.java (finalize): New method.
9867 * java/net/natPlainDatagramSocketImpl.cc
9868 (java/io/FileDescriptor.h): Don't include.
9869 (close): Implement method here.
9870 (create): Don't assign fd.
9872 * java/net/natPlainSocketImpl.cc
9873 (java/io/FileDescriptor.h): Don't include.
9874 (create): Don't assign fd.
9876 (close): Synchronize.
9878 2002-03-27 Richard Henderson <rth@redhat.com>
9880 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
9882 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9884 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9885 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
9886 instead of syscall on IA-64.
9889 2002-03-27 Anthony Green <green@redhat.com>
9891 * libgcj.spec.in: Add CHECKREFSPEC.
9892 * configure.in: Ditto.
9893 * configure.host: Ditto. Check references for xscale-elf.
9894 * configure: Rebuilt.
9896 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
9898 * include/dwarf2-signal.h: Temporarily back out last change.
9900 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
9902 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
9904 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
9906 * configure.in, configure: enable dwarf2-exception-style
9907 exception handling on IA-64.
9908 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
9909 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
9912 2002-03-25 Tom Tromey <tromey@redhat.com>
9914 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
9915 (jv_convert_LDFLAGS): Likewise.
9916 (gij_LDFLAGS): Likewise.
9917 (rmic_LDFLAGS): Likewise.
9918 (rmiregistry_LDFLAGS): Likewise.
9919 * configure.in (THREADLDFLAGS): New subst; set correctly for
9922 2002-03-25 Tom Tromey <tromey@redhat.com>
9925 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
9928 (version): Likewise.
9929 * gnu/gcj/convert/Convert.java (version): Removed extraneous
9931 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
9934 2002-03-25 Tom Tromey <tromey@redhat.com>
9936 * java/awt/Component.java (processEvent): Check ComponentEvent
9939 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
9941 * java/io/PushbackReader.java: Reformat.
9943 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
9944 calculate correct number of bytes skipped.
9946 Based on patch from Intel's ORP team:
9947 * java/io/PushbackInputStream.java (available): Calculate correct
9948 number of bytes in buffer.
9949 (read): Remove redundant bound check. Return bytes from both the
9950 buffer and the stream.
9952 2002-03-24 Tom Tromey <tromey@redhat.com>
9954 * java/awt/TextComponent.java (TextComponent): Editable by
9957 * java/awt/MenuItem.java (eventMask): No longer private.
9958 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
9959 superclass if we didn't handle event.
9960 * java/awt/Checkbox.java (dispatchEventImpl): New method.
9961 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
9962 * java/awt/Choice.java (dispatchEventImpl): New method.
9963 * java/awt/List.java (dispatchEventImpl): New method.
9964 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
9965 * java/awt/TextComponent.java (dispatchEventImpl): New method.
9966 * java/awt/TextField.java (dispatchEventImpl): New method.
9968 2002-03-24 Eric Blake <ebb9@email.byu.edu>
9970 * java/beans/IntrospectionException.java: Update to 1.4.
9971 * java/beans/PropertyVetoException.java: Ditto.
9973 2002-03-24 Eric Blake <ebb9@email.byu.edu>
9975 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
9976 Arrays.equals instead of ArrayHelper.equalsArray.
9978 2002-03-24 C. Brian Jones <cbj@gnu.org>
9980 * java/beans/Introspector.java: added new static final fields
9981 introduced in 1.2, lots of other updates remain to be done
9983 2002-03-24 C. Brian Jones <cbj@gnu.org>
9985 * java/beans/Introspector.java: reformatting
9987 2002-03-24 C. Brian Jones <cbj@gnu.org>
9989 * java/beans/Introspector.java: default beanInfoSearchPath will
9990 not include sun.beans.infos given we provide no such package and
9991 the API doesn't really require it; gnu.java.beans.info is the
9994 2002-03-24 Mark Wielaard <mark@klomp.org>
9996 Thanks to Orp developers
9997 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
9998 switch TRUE and FALSE return values.
10000 2002-03-23 Tom Tromey <tromey@redhat.com>
10002 * include/name-finder.h (_Jv_name_finder::myclose): New method.
10003 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
10005 2002-03-23 Michael Smith <msmith@spinnakernet.com>
10007 * java/util/GregorianCalendar.java (minimums, maximums): Correct
10008 MONTH entry. Fixes PR libgcj/6045.
10010 2002-03-23 Jeff Sturm <jsturm@one-point.com>
10012 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
10014 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10016 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
10018 * sysdep/powerpc/locks.h (write_barrier): New function.
10019 * sysdep/i386/locks.h (write_barrier): New function.
10021 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
10023 * include/jni.h Use correct C comments.
10025 2002-03-18 Tom Tromey <tromey@redhat.com>
10027 * include/jni.h (JNIIMPORT): New macro.
10028 (JNIEXPORT): Likewise.
10029 (JNICALL): Likewise.
10031 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10033 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
10036 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
10038 * include/i386-signal.h (old_i386_kernel_sigaction): New.
10039 INIT_SEGV: Use old_i386_kernel_sigaction.
10042 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10044 * java/lang/natSystem.cc (init_properties): Update VM version
10046 * configure.in: Set GCJVERSION.
10047 * acconfig.h: Add GCJVERSION.
10048 * configure: Rebuilt.
10049 * include/config.h.in: Rebuilt.
10051 2002-03-17 Anthony Green <green@redhat.com>
10053 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
10055 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10057 Build a single libgcj.so, without separate gc and zlib libraries.
10058 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
10059 SYS_ZLIBS if system zlib is used.
10060 * configure: Rebuilt.
10061 * Makefile.am: Use boehm-gc and zlib convenience libraries.
10062 * Makefile.in: Rebuilt.
10063 * libtool-version: Increment .so version number.
10065 * Makefile.am: Escape quotes in echo.
10066 * Makefile.in: Rebuilt.
10068 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10070 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
10071 * Makefile.in: Rebuilt.
10073 2002-03-15 Anthony Green <green@redhat.com>
10075 * configure.host (FILE): New macro for specifing File
10077 * configure: Rebuilt.
10078 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
10080 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
10082 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
10083 already implicitly brought in from libgcj.la.
10084 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
10085 * Makefile.in: Rebuilt.
10087 2002-03-15 Eric Blake <ebb9@email.byu.edu>
10089 * THANKS: Fix punctuation, alphabetization.
10091 2002-03-15 Tom Tromey <tromey@redhat.com>
10092 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10094 Fix for PR libgcj/5944.
10095 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
10097 2002-03-15 Anthony Green <green@redhat.com>
10099 * configure.in (tool_include_dir): Define.
10100 * configure: Rebuilt.
10101 * gcj/Makefile.am: Install libgcj-config.h relative to
10103 * gcj/Makefile: Rebuilt.
10104 * gcj/libgcj-config.h: Add warning comment.
10106 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
10108 * configure.host (powerpc*-darwin*): Enable interpreter.
10110 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10112 * include/posix.h: Add multiple include header protection.
10113 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
10115 2002-03-10 Adam Megacz <adam@xwt.org>
10117 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
10119 2002-03-10 Tom Tromey <tromey@redhat.com>
10121 * java/awt/GridLayout.java (layoutContainer): Handle case where
10122 there are no items in container.
10124 * java/lang/Win32Process.java: Added comment.
10125 * include/posix.h (_Jv_platform_close_on_exec): New function.
10127 * include/win32.h (_Jv_platform_close_on_exec): New function.
10128 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
10130 (accept): Likewise.
10131 * java/net/natPlainDatagramSocketImpl.cc (create): Set
10132 close-on-exec flag.
10133 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
10136 2002-03-09 Tom Tromey <tromey@redhat.com>
10138 * verify.cc (state::NO_STACK): New constant.
10139 (state::is_unmerged_ret_state): Handle case where stacktop is
10141 (state::merge): Handle NO_STACK merges.
10142 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
10143 for instruction following jsr.
10144 (stacktop, stackdepth): Removed unused variables.
10145 (pop_jump): Ignore case where all remaining states are skipped.
10147 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10149 * java/awt/ImageMediaEntry: Removed.
10150 * java/awt/MediaEntry: Removed.
10152 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10154 Hashtable synchronization for PowerPC.
10155 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
10156 slow_pthread_self. Set up symlink for sysdeps directory.
10157 * configure: Rebuild.
10158 * configure.host: Document more shell variables. Set sysdeps_dir
10159 for most platforms. Set slow_pthread_self for i686. Set
10160 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
10161 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
10162 that memory barrier is emitted where required.
10163 * prims.cc: 64-bit align static primitive class instances.
10164 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
10165 read_barrier() to enforce ordering of reads.
10166 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
10167 primitives for PowerPC.
10168 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
10169 moved from natObject.cc.
10170 * sysdep/alpha/locks.h: Likewise.
10171 * sysdep/ia64/locks.h: Likewise.
10172 * sysdep/generic/locks.h: Likewise.
10173 * java/lang/natObject.cc: Move thread synchronization primitives to
10174 system-dependent headers.
10176 2002-03-09 Adam Megacz <adam@xwt.org>
10178 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
10179 bytes read and no failure code returned.
10181 2002-03-09 Adam Megacz <adam@xwt.org>
10183 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
10184 definitions to simulate -mthreads.
10186 2002-03-09 Adam Megacz <adam@xwt.org>
10188 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
10189 avoid precision loss.
10191 2002-03-09 Per Bothner <per@bothner.com>
10193 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
10194 * gnu/gcj/xlib/XImage.java: Likewise.
10195 * gnu/gcj/xlib/XColor.java: Likewise.
10197 2002-03-09 Adam Megacz <adam@xwt.org>
10199 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
10200 IOException so that Throwable.printStackTrace fails correctly.
10202 2002-03-08 Adam Megacz <adam@xwt.org>
10204 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
10207 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10209 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
10212 2002-03-08 Tom Tromey <tromey@redhat.com>
10214 * include/jni.h: Include stdio.h.
10216 2002-03-08 Tom Tromey <tromey@redhat.com>
10218 * posix.cc (internal_gettimeofday): New function.
10219 (_Jv_select): Use it.
10221 2002-03-07 Adam Megacz <adam@xwt.org>
10223 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
10224 WIN32, and added thunks for read(), write(), and close().
10225 * java/net/natPlainSocketImpl.cc (accept, read, read):
10226 Disabled timeouts on WIN32 pending discussion.
10228 2002-03-07 Adam Megacz <adam@xwt.org>
10230 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
10231 returns jlong. Added implementation
10232 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
10234 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
10236 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
10238 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
10239 _Jv_platform_gettimeofday signature.
10241 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10243 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
10244 (read): Call recv() directly, not _Jv_recv().
10246 2002-03-06 Tom Tromey <tromey@redhat.com>
10248 * java/io/natFileDescriptorEcos.cc (init): Don't use
10250 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
10252 (init): Don't use GetStdHandle.
10254 * include/config.h.in: Rebuilt.
10255 * configure: Rebuilt.
10256 * Makefile.in: Rebuilt.
10258 2002-03-06 Adam Megacz <adam@xwt.org>
10260 * java/io/FileDescriptor.java: Initialize in/out/err in init().
10261 * java/io/natFileDescriptorWin32.cc (init()): Added function.
10262 * java/io/natFileDescriptorPosix.cc (init()): Added function.
10263 * java/io/natFileDescriptorEcos.cc (init()): Added function.
10265 2002-03-06 Eric Blake <ebb9@email.byu.edu>
10267 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
10268 the code for generating include/java-chartables.h.
10269 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
10270 merge with Classpath.
10271 * scripts/unicode-muncher.pl: Copy from Classpath.
10272 * scritps/MakeCharTables.java: New file.
10273 * gnu/gcj/convert/Blocks-3.txt: New file.
10274 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
10275 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
10276 * gnu/java/lang/CharData.java: Copy from Classpath.
10277 * Makefile.am (ordinary_java_source_files): Add
10278 gnu/java/lang/CharData.java.
10279 * configure.in: Remove --enable-fast-character option.
10280 * java/lang/Character.java: Merge algorithms and Javadoc with
10282 * java/lang/natCharacter.cc: Implement Unicode lookup table more
10284 * include/java-chardecomp.h: Regenerate.
10285 * include/java-chartables.h: Regenerate.
10287 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10289 * java/awt/MediaTracker.java: Implemented.
10290 * Makefile.am: Add MediaTracker.
10291 * Makefile.in: Rebuilt.
10293 2002-03-05 Tom Tromey <tromey@redhat.com>
10295 * java/lang/natPosixProcess.cc (fail): Removed.
10296 (startProcess): Simplified error-handling. Preserve
10297 LD_LIBRARY_PATH across exec.
10299 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
10300 AbstractMethodError.
10302 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10304 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
10305 * Makefile.in: Rebuilt.
10307 2002-03-03 Mark Wielaard <mark@klomp.org>
10309 * java/util/Timer (TaskQueue.stop): set elements to zero.
10311 2002-02-28 Anthony Green <green@redhat.com>
10313 * java/lang/reflect/natMethod.cc (result): Add void* element.
10314 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
10317 2002-02-27 Adam Megacz <adam@xwt.org>
10319 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
10322 2002-02-26 Tom Tromey <tromey@redhat.com>
10324 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
10325 * gij.cc (version): Use __VERSION__.
10326 * include/config.h.in: Rebuilt.
10327 * acconfig.h (GCJVERSION): Removed.
10328 * configure: Rebuilt.
10329 * configure.in (GCJVERSION): Removed.
10331 2002-02-26 Andreas Schwab <schwab@suse.de>
10333 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
10334 glibcpp_CXX, since libjava uses even another CXX.
10335 * aclocal.m4, configure: Regenerated.
10337 2002-02-26 Tom Tromey <tromey@redhat.com>
10339 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
10342 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10344 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
10345 dependency tracking for .java files.
10346 * Makefile.in: Rebuilt.
10348 2002-02-24 Adam Megacz <adam@xwt.org>
10350 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
10353 2002-02-24 Adam Megacz <adam@xwt.org>
10355 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
10356 for Win32, changed #ifdefs to check WIN32 instead of the
10357 (now-obsolete) USE_WINSOCK, and removed support for socket
10358 timeouts on Win32 pending further discussion.
10360 2002-02-24 Adam Megacz <adam@xwt.org>
10362 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
10363 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
10366 2002-02-24 Adam Megacz <adam@xwt.org>
10368 * java/lang/Win32Process.java: Created a dummy class to allow
10369 build process to run to completion.
10371 2002-02-24 Jeff Sturm <jsturm@one-point.com>
10373 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10374 Define ffi_result union for ffi_call result. Cast
10375 ffi_result members to jvalue.
10377 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
10379 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
10380 * testsuite/Makefile.in: Likewise.
10382 2002-02-20 Per Bothner <per@bothner.com>
10384 * java/net/URL.java (getPath): New JDK 1.3 method.
10386 * java/net/URLStreamHandler.java (parseURL):
10387 It is wrong to prepend '/' to the file part of a relative url.
10389 * java/net/URLStreamHandler.java (parseURL):
10390 Minor optizations - append '/' rather than "/".
10392 * java/net/URLStreamHandler.java (parseURL):
10393 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
10394 We probably should canonicalize for a context-relative url, though.
10395 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
10396 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
10397 (sameFile): New method. Uses canonicalizeFilename.
10399 2002-02-22 Tom Tromey <tromey@redhat.com>
10401 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
10402 java.vendor and java.vm.vendor.
10403 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
10404 recent copyright date.
10405 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
10406 * gij.cc (version): Print `Inc'.
10408 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10410 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
10411 * aclocal.m4, configure: Rebuilt.
10413 2002-02-20 Per Bothner <per@bothner.com>
10415 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
10416 and/or output streams immediately here, instead of using File.exists.
10417 (inputStream, outputStream): New fields to save open streams.
10418 (getInputStream, getOutputStream): Use already-opened streams.
10420 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
10422 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
10424 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
10425 * aclocal.m4, configure, Makefile.in: Rebuilt.
10427 2002-02-19 Tom Tromey <tromey@redhat.com>
10429 Fix for PR libgcj/5696:
10430 * verify.cc (is_assignable_from_slow): Never call
10431 _Jv_IsAssignableFrom.
10432 (verify_instructions_0): Added new debug statement.
10433 (state::print): Print information about whether local has
10435 (state::merge): Don't call note_variable when merging locals.
10436 (state::set_exception): Removed old FIXME comment.
10438 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10440 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
10441 enable SO_BROADCAST.
10443 2002-02-18 Jason Merrill <jason@redhat.com>
10445 * name-finder.cc (toHex): Use word mode, not long long.
10447 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
10449 2002-02-15 Tom Tromey <tromey@redhat.com>
10451 Fix for PR libgcj/5695:
10452 * verify.cc (is_assignable_from_slow): Check to see if target is
10453 an Object before checking to see if source is an interface.
10454 (verify_instructions_0) [op_invokeinterface]: Handle case where
10455 we're making an interface call on Object.
10457 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10459 * Makefile.in: Rebuilt with Eric's change below.
10461 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
10462 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
10463 Removed functions which are now implemented in Math.java.
10465 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10467 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
10468 * Makefile.am (core_java_source_files): Add
10469 java/lang/StrictMath.java.
10470 * java/lang/Math.java: Merge with Classpath.
10471 * java/lang/StrictMath.java: New file - merge with Classpath.
10473 2002-02-14 Mark Wielaard <mark@klomp.org>
10475 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
10476 package as a workaround for gcj 3.0.x
10478 2002-02-14 Mark Wielaard <mark@klomp.org>
10480 * java/security/BasicPermission.java: extends with fully qualified
10481 classname as workaround for gcj 3.0.4.
10483 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10485 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
10486 around gcj bug of wrong emitted qualifier for inherited method.
10487 * java/net/SocketImpl.java (setOption, getOption): Ditto.
10488 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
10489 constructor to reduce amount of emitted bytecode. While this
10490 happens to work around a jikes 1.15 bug, it is still a useful
10491 patch even for correct compilers.
10492 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
10493 * gnu/java/rmi/server/UnicastRemoteCall.java
10494 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
10496 2002-02-14 Eric Blake <ebb9@email.byu.edu>
10498 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
10499 * java/net/SocketImpl.java: Ditto.
10500 * java/rmi/server/RMIClassLoader.java: Ditto.
10501 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
10503 2002-02-14 Mark Wielaard <mark@klomp.org>
10505 Thanks to Takashi Okamoto
10506 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
10507 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
10508 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
10510 2002-02-13 Todd Stock <toddastock@yahoo.com>
10512 Fix for PR libgcj/5670:
10513 * verify.cc (is_assignable_from_slow): If `source' is interface,
10514 recursively look for merge with `target'.
10516 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
10518 * include/jni.h: Fix typo.
10520 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
10522 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
10525 2002-02-13 Todd Stock <toddastock@yahoo.com>
10527 Fix for PR libgcj/5671:
10528 * verify.cc (state::merge): Handle case where we're merging
10529 against an interface.
10531 2002-02-12 Tom Tromey <tromey@redhat.com>
10533 * exception.cc (std::abort): Mark as noreturn.
10535 2002-02-12 Adam Megacz <adam@xwt.org>
10537 * java/lang/Win32Process.java: Filled in a placeholder
10538 implementation so Win32 will build.
10540 2002-02-12 Adam Megacz <adam@xwt.org>
10542 * java/io/natFilePosix.cc: Copied this from natFile.cc.
10543 * java/io/natFile.cc: Removed from repository.
10544 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
10546 2002-02-12 Adam Megacz <adam@xwt.org>
10548 * win32.cc: Added two #includes to make win32.cc compile.
10550 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10552 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
10554 (_Jv_InitGC): Don't bother locking, as this is always called from a
10555 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
10557 2002-02-11 Adam Megacz <adam@xwt.org>
10559 * include/win32.h: Added _Jv_platform_gettimeofday.
10560 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
10562 2002-02-11 Adam Megacz <adam@xwt.org>
10564 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
10565 Added #undef STRICT to make windows.h and
10566 java/lang/reflect/Modifier.h cooperate.
10568 2002-02-11 Adam Megacz <adam@xwt.org>
10570 * java/io/natFileWin32.cc: Created a placeholder class with lots
10573 2002-02-11 Adam Megacz <adam@xwt.org>
10575 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
10576 std::abort() to simply abort(). Also added "fake" std::abort() so
10577 we can #include unwind-pe.h without having to link against
10580 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
10582 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
10584 2002-02-08 Tom Tromey <tromey@redhat.com>
10586 * interpret.cc (convert): New function.
10587 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
10591 2002-02-08 Anthony Green <green@redhat.com>
10593 * configure.host: Add support for xscale-elf embedded target.
10595 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
10597 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
10599 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
10602 2002-02-07 Tom Tromey <tromey@redhat.com>
10604 * java/io/natFile.cc (_access): Use __builtin_alloca.
10607 (getCanonicalPath): Likewise.
10608 (performList): Likewise.
10609 (performMkdir): Likewise.
10610 (performSetReadOnly): Likewise.
10611 (performRenameTo): Likewise.
10612 (performSetLastModified): Likewise.
10613 (performCreate): Likewise.
10614 (performDelete): Likewise.
10616 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10618 * HACKING: Fix URL for the automake-gcj.
10620 2002-02-07 Tom Tromey <tromey@redhat.com>
10622 * java/lang/natThrowable.cc: Updated copyright.
10623 * java/io/natFileWin32.cc: Updated copyright.
10624 * java/io/natFileDescriptorWin32.cc: Updated copyright.
10625 * win32-threads.cc: Updated copyright.
10626 * name-finder.cc: Updated copyright.
10627 * include/name-finder.h: Updated copyright.
10629 * include/name-finder.h: Conditionally include sys/wait.h.
10630 * include/config.h.in: Rebuilt.
10632 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
10633 Size buffer based on real size of string.
10636 (getCanonicalPath): Likewise.
10637 (performList): Likewise.
10638 (performMkdir): Likewise.
10639 (performSetReadOnly): Likewise.
10640 (unixroot): Removed.
10641 (performRenameTo): Likewise.
10642 (performSetLastModified): Likewise.
10643 (performCreate): Likewise.
10644 (performDelete): Likewise.
10645 (performListRoots): Always return new array.
10647 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
10648 * win32.cc (win32_exception_handler): Now static.
10649 * include/win32.h (_Jv_platform_initialize): Declare.
10650 (win32_exception_handler): Don't declare.
10651 * java/lang/natSystem.cc (currentTimeMillis): Use
10652 _Jv_platform_gettimeofday.
10653 * posix.cc (_Jv_platform_gettimeofday): Renamed.
10654 (_Jv_select): Use new name.
10655 (_Jv_platform_initialize): New function.
10656 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
10658 (_Jv_platform_initialize): Declare.
10660 * configure: Rebuilt.
10661 * configure.in: Removed unnecessary parens.
10663 2002-02-06 Adam Megacz <adam@xwt.org>
10665 * configure.in: Changed mingw) to *mingw*).
10666 * win32.cc: Created this file.
10667 * win32.h: Created this file.
10668 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
10669 win32_exception_handler from prims.cc to win32.cc, added
10671 * prims.cc: removed some #ifdef-WIN32'd headers which are no
10672 longer needed now that we have platform.h
10674 2002-02-06 Adam Megacz <adam@xwt.org>
10676 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
10677 use uint<n>_t instead of LONG and BYTE
10679 2002-02-06 Adam Megacz <adam@xwt.org>
10681 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
10683 2002-02-06 Anthony Green <green@redhat.com>
10685 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
10686 Implement missing method stubs.
10687 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
10689 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
10690 concept of timezones.
10691 (init_properties): Don't refer to _Jv_Environment_Properties
10692 when this feature is not available.
10693 * include/config.h.in: Rebuilt.
10694 * acconfig.h: Add DISABLE_MAIN_ARGS.
10695 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
10696 * configure: Rebuilt.
10697 * configure.in: Add --disable-main-args option. Test for
10698 opendir function. Replace AC_CHECK_SIZEOF with
10699 AC_COMPILE_CHECK_SIZEOF.
10700 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
10701 * aclocal.m4: Rebuilt.
10702 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
10704 2002-02-06 Tom Tromey <tromey@redhat.com>
10706 * verify.cc (require_array_type): If argument is a null array of
10707 references, return null as the element type.
10709 2002-02-06 Mark Wielaard <mark@klomp.org>
10711 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
10712 duplicate of a wide type.
10714 2002-02-06 Tom Tromey <tromey@redhat.com>
10716 * verify.cc (type::isnull): New method.
10717 (require_array_type): Handle case where array is null.
10718 (verify_instructions_0) [op_arraylength]: Likewise.
10720 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10722 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
10723 Symlink PLATFORMH to platform.h.
10724 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
10726 * java/lang/natSystem.cc: #include platform.h not posix.h.
10727 * Makefile.in: Rebuilt with libgcj automake.
10728 * configure: Rebuilt.
10730 2002-02-05 Richard Henderson <rth@redhat.com>
10732 * Makefile.in: Undo munging last change.
10734 2002-02-04 Adam Megacz <adam@xwt.org>
10736 * win32.cc: Created it.
10737 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
10738 which is set to posix.cc or win32.cc.
10739 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
10741 2002-02-04 Adam Megacz <adam@xwt.org>
10743 * configure.in: Corrected mingw case branches; added * before
10746 2002-02-04 Adam Megacz <adam@xwt.org>
10748 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
10749 if compiling for win32
10751 2002-02-04 Adam Megacz <adam@xwt.org>
10753 * win32-threads.cc: #undef STRICT after gc.h inclusion
10755 2002-02-02 Tom Tromey <tromey@redhat.com>
10757 * Makefile.in: Rebuilt.
10759 2002-02-02 Jason Merrill <jason@redhat.com>
10761 * Makefile.am (clean-nat): New target.
10763 2002-02-02 Tom Tromey <tromey@redhat.com>
10765 * java/io/natFile.cc: Removed old "FIXME" comments.
10767 2002-02-01 Tom Tromey <tromey@redhat.com>
10769 * java/lang/natPosixProcess.cc (myclose): New function.
10771 (startProcess): Likewise.
10773 2002-02-01 Adam Megacz <adam@xwt.org>
10775 * prims.cc: Added #undef STRICT after #include<windows.h>.
10777 2002-02-01 Adam Megacz <adam@xwt.org>
10780 (_Jv_CreateJavaVM): We now use WIN32 instead of
10781 USE_WIN32_SIGNALLING and USE_WINSOCK.
10782 (win32_exception_handler): Now throws an exception out of
10783 the signal handler; assumes SJLJ.
10785 2002-02-01 Adam Megacz <adam@xwt.org>
10787 * win32-threads.cc:
10788 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
10789 wait() algorithm to make it safe.
10790 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
10791 Added lazy creation of Win32 Events for better performance
10792 (really_start): This now uses GC_CreateThread so boehm-gc
10793 knows about new threads even when statically linked.
10795 2002-02-01 Adam Megacz <adam@xwt.org>
10797 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
10798 enable safer wait() algorithm.
10799 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
10800 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
10801 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
10802 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
10804 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
10806 2002-02-01 Adam Megacz <adam@xwt.org>
10808 * configure.in: Added support for mingw.
10809 * java/lang/Win32Process.java: Created as empty file.
10810 * java/lang/natWin32Process.cc: Created as empty file.
10812 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
10815 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
10816 for libiconv in LIBICONV variable.
10817 * configure: Regenerated.
10819 2002-01-31 Tom Tromey <tromey@redhat.com>
10821 * verify.cc (state::enter_subroutine): New method.
10822 (handle_jsr_insn): Use it.
10823 (state::merge): When processing a `ret', correctly use
10824 subroutine's state to determine which local variables have
10826 (push_exception_jump): Don't let stack overflow.
10828 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
10830 * gnu/gcj/convert/Convert.java: Only include one copyright year in
10833 2002-01-30 Tom Tromey <tromey@redhat.com>
10835 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
10836 parameter for `recv' return type.
10838 * verify.cc (handle_ret_insn): Check for subroutine merge here...
10839 (state::merge): ... not here.
10840 (subr_entry_info): New structure.
10841 (entry_points): New field.
10842 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
10845 2002-01-29 Tom Tromey <tromey@redhat.com>
10847 * java/awt/List.java (addNotify): Correctly check to see if peer
10850 * java/awt/GridLayout.java (layoutContainer): Use number of rows
10851 to compute height of each cell, and number of columns to compute
10852 width of each cell.
10853 * java/awt/Window.java (getOwnedWindows): Don't return null.
10854 * java/awt/FlowLayout.java (layoutContainer): Set width and height
10855 of component. Increment x using horizontal gap, not vertical
10858 2002-01-28 Tom Tromey <tromey@redhat.com>
10860 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
10861 `nargs' byte is number of words, not number of arguments.
10863 2002-01-27 Tom Tromey <tromey@redhat.com>
10865 * java/awt/event/MouseEvent.java (modifiers): Removed field.
10867 * java/awt/event/InputEvent.java (modifiers, when): Now
10870 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
10872 (state::merge): Use current class' class loader.
10873 (state::print): Print subroutine.
10874 (state::merge): Don't look at subroutine of unmerged `ret'.
10876 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
10878 * nogc.cc: Remove warnings.
10879 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
10882 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10884 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
10885 int, int): Remove empty "if" statement to work around compiler bug.
10886 (newPixels(int[], ColorModel, int, int): Likewise.
10888 2002-01-25 Per Bothner <per@bothner.com>
10890 * verify.cc (verify_fail): Change from being a top-level function
10891 to e method of _Jv_BytecodeVerifier. Emit current method name.
10892 Pass the current verifier to type: and state: methods as needed,
10893 for better error messages, and for resolve.
10894 (resolve): Pass current class's loader for Class.forName and
10895 _Jv_FindClassFromSignature, rather than using the default loader.
10896 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
10897 (get_type_val_for_signature): Make non-static.
10898 (various methods): Pass start_PC implicitly, not explicitly.
10900 2002-01-25 Tom Tromey <tromey@redhat.com>
10902 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
10903 loop termination condition.
10904 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
10907 2002-01-24 Tom Tromey <tromey@redhat.com>
10909 * java/awt/Shape.java: Merged with Classpath.
10910 * java/awt/Scrollbar.java: Merged with Classpath.
10912 * java/awt/Container.java (addNotify): Unconditionally call
10913 addNotifyContainerChildren and superclass addNotify.
10915 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
10916 getAlpha, not getBlue.
10918 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10920 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
10922 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
10923 (grabPixels(long)): Wait to be notified that the ImageProducer has
10926 2002-01-24 Per Bothner <per@bothner.com>
10928 * verify.cc (is_assignable_from_slow): If target is an interface,
10929 we must still check the source's superclass before giving up.
10931 2002-01-24 Tom Tromey <tromey@redhat.com>
10933 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
10935 2002-01-23 Tom Tromey <tromey@redhat.com>
10937 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
10940 * Makefile.in: Rebuilt.
10941 * Makefile.am (awt_java_source_files): Added new files.
10942 * java/awt/Toolkit.java: Merged with Classpath.
10943 * java/awt/PrintGraphics.java: New file from Classpath.
10944 * java/awt/PrintJob.java: New file from Classpath.
10945 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
10946 * java/awt/datatransfer/ClipboardOwner.java: New file from
10948 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
10949 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
10950 * java/awt/datatransfer/MimeTypeParseException.java: New file from
10952 * java/awt/datatransfer/StringSelection.java: New file from
10954 * java/awt/datatransfer/SystemFlavorMap.java: New file from
10956 * java/awt/datatransfer/Transferable.java: New file from
10958 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
10961 * Makefile.in: Rebuilt.
10962 * Makefile.am (awt_java_source_files): Added new files.
10963 * java/awt/image/AreaAveragingScaleFilter.java: New file from
10965 * java/awt/image/CropImageFilter.java: New file from Classpath.
10966 * java/awt/image/FilteredImageSource.java: New file from
10968 * java/awt/image/ImageFilter.java: New file from Classpath.
10969 * java/awt/image/MemoryImageSource.java: New file from Classpath.
10970 * java/awt/image/PixelGrabber.java: New file from Classpath.
10971 * java/awt/image/RGBImageFilter.java: New file from Classpath.
10972 * java/awt/image/ReplicateScaleFilter.java: New file from
10974 * java/awt/image/ImageProducer.java: Replaced with Classpath
10976 * java/awt/image/ImageObserver.java: Replaced with Classpath
10978 * java/awt/image/ImageConsumer.java: Replaced with Classpath
10980 * java/awt/GridBagConstraints.java (clone): Catch
10981 CloneNotSupportedException.
10983 2002-01-23 Per Bothner <per@bothner.com>
10985 * java/lang/reflect/natField.cc (setAddr): New function.
10986 Calls getAddr and then checks that the field isn't final.
10987 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
10988 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
10989 (set): Call setAddr before check that new value has right type,
10990 to better match specified semantics.
10992 2002-01-22 Tom Tromey <tromey@redhat.com>
10994 * java/awt/TextField.java: Replaced with Classpath version.
10995 * java/awt/TextArea.java: Replaced with Classpath version.
10996 * java/awt/TextComponent.java: Replaced with Classpath version.
10998 * java/awt/GridBagConstraints.java: Updated copyright.
11000 2002-01-22 Mark Wielaard <mark@klomp.org>
11002 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
11003 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
11004 java/awt/Dialog.java java/awt/FileDialog.java
11005 java/awt/Font.java java/awt/FontMetrics.java
11006 java/awt/Image.java java/awt/ImageMediaEntry.java
11007 java/awt/Insets.java java/awt/List.java
11008 java/awt/MediaEntry.java java/awt/MediaTracker.java
11009 java/awt/Menu.java java/awt/MenuBar.java
11010 java/awt/MenuContainer.java java/awt/MenuShortcut.java
11011 java/awt/PaintContext.java java/awt/Panel.java
11012 java/awt/PopupMenu.java java/awt/SystemColor.java
11013 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
11014 java/awt/peer/CheckboxMenuItemPeer.java
11015 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
11016 java/awt/peer/ComponentPeer.java
11017 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
11018 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
11019 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
11020 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
11021 java/awt/peer/MenuBarPeer.java
11022 java/awt/peer/MenuComponentPeer.java
11023 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
11024 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
11025 java/awt/peer/ScrollPanePeer.java
11026 java/awt/peer/ScrollbarPeer.java
11027 java/awt/peer/TextAreaPeer.java
11028 java/awt/peer/TextComponentPeer.java
11029 java/awt/peer/TextFieldPeer.java
11030 java/awt/peer/WindowPeer.java: Add license clarification.
11032 2002-01-22 Mark Wielaard <mark@klomp.org>
11034 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
11035 gnu/gcj/runtime/StringBuffer.java
11036 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
11037 gnu/java/awt/ComponentDataBlitOp.java
11038 gnu/java/awt/GLightweightPeer.java
11039 gnu/java/beans/BeanInfoEmbryo.java
11040 gnu/java/beans/EmptyBeanInfo.java
11041 gnu/java/beans/ExplicitBeanInfo.java
11042 gnu/java/beans/IntrospectionIncubator.java
11043 gnu/java/beans/editors/ColorEditor.java
11044 gnu/java/beans/editors/FontEditor.java
11045 gnu/java/beans/editors/NativeBooleanEditor.java
11046 gnu/java/beans/editors/NativeByteEditor.java
11047 gnu/java/beans/editors/NativeDoubleEditor.java
11048 gnu/java/beans/editors/NativeFloatEditor.java
11049 gnu/java/beans/editors/NativeIntEditor.java
11050 gnu/java/beans/editors/NativeLongEditor.java
11051 gnu/java/beans/editors/NativeShortEditor.java
11052 gnu/java/beans/editors/StringEditor.java
11053 gnu/java/beans/info/ComponentBeanInfo.java
11054 gnu/java/io/ClassLoaderObjectInputStream.java
11055 gnu/java/io/NullOutputStream.java
11056 gnu/java/io/ObjectIdentityWrapper.java
11057 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
11058 gnu/java/lang/reflect/TypeSignature.java
11059 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
11060 gnu/java/locale/Calendar_en.java
11061 gnu/java/locale/Calendar_nl.java
11062 gnu/java/locale/LocaleInformation.java
11063 gnu/java/locale/LocaleInformation_de.java
11064 gnu/java/locale/LocaleInformation_en.java
11065 gnu/java/locale/LocaleInformation_nl.java
11066 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
11067 gnu/java/rmi/registry/RegistryImpl.java
11068 gnu/java/rmi/rmic/Compile_gcj.java
11069 gnu/java/rmi/rmic/Compiler.java
11070 gnu/java/rmi/rmic/CompilerProcess.java
11071 gnu/java/rmi/rmic/RMIC.java
11072 gnu/java/rmi/rmic/TabbedWriter.java
11073 gnu/java/rmi/server/ProtocolConstants.java
11074 gnu/java/rmi/server/RMIDefaultSocketFactory.java
11075 gnu/java/rmi/server/RMIHashes.java
11076 gnu/java/rmi/server/RMIObjectInputStream.java
11077 gnu/java/rmi/server/RMIObjectOutputStream.java
11078 gnu/java/rmi/server/UnicastConnection.java
11079 gnu/java/rmi/server/UnicastConnectionManager.java
11080 gnu/java/rmi/server/UnicastRef.java
11081 gnu/java/rmi/server/UnicastRemoteCall.java
11082 gnu/java/rmi/server/UnicastRemoteStub.java
11083 gnu/java/rmi/server/UnicastServer.java
11084 gnu/java/rmi/server/UnicastServerRef.java
11085 gnu/java/security/provider/DefaultPolicy.java
11086 gnu/java/security/provider/Gnu.java
11087 gnu/java/security/provider/SHA.java
11088 gnu/java/security/provider/SHA1PRNG.java
11089 gnu/java/text/BaseBreakIterator.java
11090 gnu/java/text/CharacterBreakIterator.java
11091 gnu/java/text/LineBreakIterator.java
11092 gnu/java/text/SentenceBreakIterator.java
11093 gnu/java/text/WordBreakIterator.java
11094 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
11095 java/applet/AppletContext.java java/applet/AppletStub.java
11096 java/applet/AudioClip.java java/awt/AWTError.java
11097 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
11098 java/awt/AWTException.java java/awt/AWTPermission.java
11099 java/awt/ActiveEvent.java java/awt/BorderLayout.java
11100 java/awt/Button.java java/awt/Canvas.java
11101 java/awt/CardLayout.java java/awt/Checkbox.java
11102 java/awt/CheckboxGroup.java java/awt/Component.java
11103 java/awt/ComponentOrientation.java java/awt/Container.java
11104 java/awt/Dimension.java java/awt/Event.java
11105 java/awt/EventDispatchThread.java java/awt/EventQueue.java
11106 java/awt/FlowLayout.java java/awt/Frame.java
11107 java/awt/Graphics.java java/awt/Graphics2D.java
11108 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
11109 java/awt/IllegalComponentStateException.java
11110 java/awt/ItemSelectable.java java/awt/Label.java
11111 java/awt/LayoutManager.java java/awt/LayoutManager2.java
11112 java/awt/MenuComponent.java java/awt/MenuItem.java
11113 java/awt/Paint.java java/awt/Point.java
11114 java/awt/Rectangle.java java/awt/RenderingHints.java
11115 java/awt/Transparency.java java/awt/Window.java
11116 java/awt/color/ColorSpace.java
11117 java/awt/color/ICC_ColorSpace.java
11118 java/awt/color/ICC_Profile.java
11119 java/awt/event/HierarchyBoundsAdapter.java
11120 java/awt/event/HierarchyBoundsListener.java
11121 java/awt/event/HierarchyEvent.java
11122 java/awt/event/HierarchyListener.java
11123 java/awt/geom/AffineTransform.java
11124 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
11125 java/awt/geom/IllegalPathStateException.java
11126 java/awt/geom/Line2D.java
11127 java/awt/geom/NoninvertibleTransformException.java
11128 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
11129 java/awt/geom/Rectangle2D.java
11130 java/awt/geom/RectangularShape.java
11131 java/awt/geom/RoundRectangle2D.java
11132 java/awt/image/BufferedImage.java
11133 java/awt/image/ColorModel.java
11134 java/awt/image/ComponentColorModel.java
11135 java/awt/image/ComponentSampleModel.java
11136 java/awt/image/DataBuffer.java
11137 java/awt/image/DataBufferByte.java
11138 java/awt/image/DataBufferInt.java
11139 java/awt/image/DataBufferUShort.java
11140 java/awt/image/DirectColorModel.java
11141 java/awt/image/PackedColorModel.java
11142 java/awt/image/Raster.java java/awt/image/RasterOp.java
11143 java/awt/image/SampleModel.java
11144 java/awt/image/SinglePixelPackedSampleModel.java
11145 java/awt/image/WritableRaster.java
11146 java/beans/AppletInitializer.java
11147 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
11148 java/beans/Beans.java java/beans/Customizer.java
11149 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
11150 java/beans/FeatureDescriptor.java
11151 java/beans/IndexedPropertyDescriptor.java
11152 java/beans/IntrospectionException.java
11153 java/beans/Introspector.java java/beans/MethodDescriptor.java
11154 java/beans/ParameterDescriptor.java
11155 java/beans/PropertyChangeEvent.java
11156 java/beans/PropertyChangeListener.java
11157 java/beans/PropertyChangeSupport.java
11158 java/beans/PropertyDescriptor.java
11159 java/beans/PropertyEditor.java
11160 java/beans/PropertyEditorManager.java
11161 java/beans/PropertyEditorSupport.java
11162 java/beans/PropertyVetoException.java
11163 java/beans/SimpleBeanInfo.java
11164 java/beans/VetoableChangeListener.java
11165 java/beans/VetoableChangeSupport.java
11166 java/beans/Visibility.java
11167 java/beans/beancontext/BeanContext.java
11168 java/beans/beancontext/BeanContextChild.java
11169 java/beans/beancontext/BeanContextChildComponentProxy.java
11170 java/beans/beancontext/BeanContextChildSupport.java
11171 java/beans/beancontext/BeanContextContainerProxy.java
11172 java/beans/beancontext/BeanContextEvent.java
11173 java/beans/beancontext/BeanContextMembershipEvent.java
11174 java/beans/beancontext/BeanContextMembershipListener.java
11175 java/beans/beancontext/BeanContextProxy.java
11176 java/beans/beancontext/BeanContextServiceAvailableEvent.java
11177 java/beans/beancontext/BeanContextServiceProvider.java
11178 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
11179 java/beans/beancontext/BeanContextServiceRevokedEvent.java
11180 java/beans/beancontext/BeanContextServiceRevokedListener.java
11181 java/beans/beancontext/BeanContextServices.java
11182 java/beans/beancontext/BeanContextServicesListener.java
11183 java/io/BufferedInputStream.java
11184 java/io/BufferedOutputStream.java java/io/BufferedReader.java
11185 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
11186 java/io/ByteArrayOutputStream.java
11187 java/io/CharArrayReader.java java/io/CharArrayWriter.java
11188 java/io/CharConversionException.java java/io/DataInput.java
11189 java/io/DataInputStream.java java/io/DataOutput.java
11190 java/io/EOFException.java java/io/Externalizable.java
11191 java/io/FileFilter.java java/io/FileNotFoundException.java
11192 java/io/FilePermission.java java/io/FileReader.java
11193 java/io/FileWriter.java java/io/FilenameFilter.java
11194 java/io/FilterInputStream.java java/io/FilterOutputStream.java
11195 java/io/FilterReader.java java/io/FilterWriter.java
11196 java/io/IOException.java java/io/InputStream.java
11197 java/io/InterruptedIOException.java
11198 java/io/InvalidClassException.java
11199 java/io/InvalidObjectException.java
11200 java/io/NotActiveException.java
11201 java/io/NotSerializableException.java java/io/ObjectInput.java
11202 java/io/ObjectInputStream.java
11203 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
11204 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
11205 java/io/ObjectStreamConstants.java
11206 java/io/ObjectStreamException.java
11207 java/io/ObjectStreamField.java
11208 java/io/OptionalDataException.java java/io/OutputStream.java
11209 java/io/PipedInputStream.java java/io/PipedOutputStream.java
11210 java/io/PipedReader.java java/io/PipedWriter.java
11211 java/io/PrintWriter.java java/io/PushbackInputStream.java
11212 java/io/PushbackReader.java java/io/Reader.java
11213 java/io/SequenceInputStream.java java/io/Serializable.java
11214 java/io/SerializablePermission.java
11215 java/io/StreamCorruptedException.java
11216 java/io/StreamTokenizer.java
11217 java/io/StringBufferInputStream.java java/io/StringReader.java
11218 java/io/StringWriter.java java/io/SyncFailedException.java
11219 java/io/UTFDataFormatException.java
11220 java/io/UnsupportedEncodingException.java
11221 java/io/WriteAbortedException.java java/io/Writer.java
11222 java/lang/AbstractMethodError.java
11223 java/lang/ArithmeticException.java
11224 java/lang/ArrayIndexOutOfBoundsException.java
11225 java/lang/ArrayStoreException.java java/lang/Boolean.java
11226 java/lang/Byte.java java/lang/CharSequence.java
11227 java/lang/ClassCastException.java
11228 java/lang/ClassCircularityError.java
11229 java/lang/ClassFormatError.java
11230 java/lang/ClassNotFoundException.java
11231 java/lang/CloneNotSupportedException.java
11232 java/lang/Cloneable.java java/lang/Comparable.java
11233 java/lang/Compiler.java java/lang/Double.java
11234 java/lang/Error.java java/lang/Exception.java
11235 java/lang/ExceptionInInitializerError.java
11236 java/lang/Float.java java/lang/IllegalAccessError.java
11237 java/lang/IllegalAccessException.java
11238 java/lang/IllegalArgumentException.java
11239 java/lang/IllegalMonitorStateException.java
11240 java/lang/IllegalStateException.java
11241 java/lang/IllegalThreadStateException.java
11242 java/lang/IncompatibleClassChangeError.java
11243 java/lang/IndexOutOfBoundsException.java
11244 java/lang/InheritableThreadLocal.java
11245 java/lang/InstantiationError.java
11246 java/lang/InstantiationException.java java/lang/Integer.java
11247 java/lang/InternalError.java
11248 java/lang/InterruptedException.java
11249 java/lang/LinkageError.java java/lang/Long.java
11250 java/lang/NegativeArraySizeException.java
11251 java/lang/NoClassDefFoundError.java
11252 java/lang/NoSuchFieldError.java
11253 java/lang/NoSuchFieldException.java
11254 java/lang/NoSuchMethodError.java
11255 java/lang/NoSuchMethodException.java
11256 java/lang/NullPointerException.java java/lang/Number.java
11257 java/lang/NumberFormatException.java
11258 java/lang/OutOfMemoryError.java java/lang/Package.java
11259 java/lang/Process.java java/lang/Runnable.java
11260 java/lang/RuntimeException.java
11261 java/lang/RuntimePermission.java
11262 java/lang/SecurityException.java
11263 java/lang/SecurityManager.java java/lang/Short.java
11264 java/lang/StackOverflowError.java java/lang/StringBuffer.java
11265 java/lang/StringIndexOutOfBoundsException.java
11266 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
11267 java/lang/ThreadLocal.java java/lang/UnknownError.java
11268 java/lang/UnsatisfiedLinkError.java
11269 java/lang/UnsupportedClassVersionError.java
11270 java/lang/UnsupportedOperationException.java
11271 java/lang/VerifyError.java java/lang/VirtualMachineError.java
11272 java/lang/Void.java java/lang/ref/PhantomReference.java
11273 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
11274 java/lang/ref/SoftReference.java
11275 java/lang/ref/WeakReference.java
11276 java/lang/reflect/AccessibleObject.java
11277 java/lang/reflect/InvocationTargetException.java
11278 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
11279 java/lang/reflect/ReflectPermission.java
11280 java/math/BigDecimal.java java/math/BigInteger.java
11281 java/net/Authenticator.java java/net/BindException.java
11282 java/net/ConnectException.java java/net/ContentHandler.java
11283 java/net/ContentHandlerFactory.java
11284 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
11285 java/net/FileNameMap.java java/net/MalformedURLException.java
11286 java/net/MulticastSocket.java java/net/NetPermission.java
11287 java/net/NoRouteToHostException.java
11288 java/net/PasswordAuthentication.java
11289 java/net/ProtocolException.java java/net/ServerSocket.java
11290 java/net/Socket.java java/net/SocketException.java
11291 java/net/SocketImpl.java java/net/SocketImplFactory.java
11292 java/net/SocketOptions.java java/net/SocketPermission.java
11293 java/net/URLDecoder.java java/net/URLEncoder.java
11294 java/net/URLStreamHandlerFactory.java
11295 java/net/UnknownHostException.java
11296 java/net/UnknownServiceException.java
11297 java/rmi/AccessException.java
11298 java/rmi/AlreadyBoundException.java
11299 java/rmi/ConnectException.java
11300 java/rmi/ConnectIOException.java
11301 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
11302 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
11303 java/rmi/NotBoundException.java
11304 java/rmi/RMISecurityException.java
11305 java/rmi/RMISecurityManager.java java/rmi/Remote.java
11306 java/rmi/RemoteException.java java/rmi/ServerError.java
11307 java/rmi/ServerException.java
11308 java/rmi/ServerRuntimeException.java
11309 java/rmi/StubNotFoundException.java
11310 java/rmi/UnexpectedException.java
11311 java/rmi/UnknownHostException.java
11312 java/rmi/UnmarshalException.java
11313 java/rmi/activation/Activatable.java
11314 java/rmi/activation/ActivateFailedException.java
11315 java/rmi/activation/ActivationDesc.java
11316 java/rmi/activation/ActivationException.java
11317 java/rmi/activation/ActivationGroup.java
11318 java/rmi/activation/ActivationGroupDesc.java
11319 java/rmi/activation/ActivationGroupID.java
11320 java/rmi/activation/ActivationID.java
11321 java/rmi/activation/ActivationInstantiator.java
11322 java/rmi/activation/ActivationMonitor.java
11323 java/rmi/activation/ActivationSystem.java
11324 java/rmi/activation/Activator.java
11325 java/rmi/activation/UnknownGroupException.java
11326 java/rmi/activation/UnknownObjectException.java
11327 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
11328 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
11329 java/rmi/registry/Registry.java
11330 java/rmi/registry/RegistryHandler.java
11331 java/rmi/server/ExportException.java
11332 java/rmi/server/LoaderHandler.java
11333 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
11334 java/rmi/server/Operation.java
11335 java/rmi/server/RMIClassLoader.java
11336 java/rmi/server/RMIClientSocketFactory.java
11337 java/rmi/server/RMIFailureHandler.java
11338 java/rmi/server/RMIServerSocketFactory.java
11339 java/rmi/server/RMISocketFactory.java
11340 java/rmi/server/RemoteCall.java
11341 java/rmi/server/RemoteObject.java
11342 java/rmi/server/RemoteRef.java
11343 java/rmi/server/RemoteServer.java
11344 java/rmi/server/RemoteStub.java
11345 java/rmi/server/ServerCloneException.java
11346 java/rmi/server/ServerNotActiveException.java
11347 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
11348 java/rmi/server/SkeletonMismatchException.java
11349 java/rmi/server/SkeletonNotFoundException.java
11350 java/rmi/server/SocketSecurityException.java
11351 java/rmi/server/UID.java
11352 java/rmi/server/UnicastRemoteObject.java
11353 java/rmi/server/Unreferenced.java
11354 java/security/AccessControlContext.java
11355 java/security/AccessControlException.java
11356 java/security/AccessController.java
11357 java/security/AlgorithmParameterGenerator.java
11358 java/security/AlgorithmParameterGeneratorSpi.java
11359 java/security/AlgorithmParameters.java
11360 java/security/AlgorithmParametersSpi.java
11361 java/security/AllPermission.java
11362 java/security/BasicPermission.java
11363 java/security/Certificate.java java/security/CodeSource.java
11364 java/security/DigestException.java
11365 java/security/DigestInputStream.java
11366 java/security/DigestOutputStream.java
11367 java/security/DomainCombiner.java
11368 java/security/DummyKeyPairGenerator.java
11369 java/security/DummyMessageDigest.java
11370 java/security/DummySignature.java
11371 java/security/GeneralSecurityException.java
11372 java/security/Guard.java java/security/GuardedObject.java
11373 java/security/Identity.java java/security/IdentityScope.java
11374 java/security/InvalidAlgorithmParameterException.java
11375 java/security/InvalidKeyException.java
11376 java/security/InvalidParameterException.java
11377 java/security/Key.java java/security/KeyException.java
11378 java/security/KeyFactory.java java/security/KeyFactorySpi.java
11379 java/security/KeyManagementException.java
11380 java/security/KeyPair.java java/security/KeyPairGenerator.java
11381 java/security/KeyPairGeneratorSpi.java
11382 java/security/KeyStore.java
11383 java/security/KeyStoreException.java
11384 java/security/KeyStoreSpi.java
11385 java/security/MessageDigest.java
11386 java/security/MessageDigestSpi.java
11387 java/security/NoSuchAlgorithmException.java
11388 java/security/NoSuchProviderException.java
11389 java/security/Permission.java
11390 java/security/PermissionCollection.java
11391 java/security/Permissions.java java/security/Policy.java
11392 java/security/Principal.java java/security/PrivateKey.java
11393 java/security/PrivilegedAction.java
11394 java/security/PrivilegedActionException.java
11395 java/security/PrivilegedExceptionAction.java
11396 java/security/ProtectionDomain.java
11397 java/security/Provider.java
11398 java/security/ProviderException.java
11399 java/security/PublicKey.java
11400 java/security/SecureClassLoader.java
11401 java/security/SecureRandom.java
11402 java/security/SecureRandomSpi.java java/security/Security.java
11403 java/security/SecurityPermission.java
11404 java/security/Signature.java
11405 java/security/SignatureException.java
11406 java/security/SignatureSpi.java
11407 java/security/SignedObject.java java/security/Signer.java
11408 java/security/UnrecoverableKeyException.java
11409 java/security/UnresolvedPermission.java
11410 java/security/acl/Acl.java java/security/acl/AclEntry.java
11411 java/security/acl/AclNotFoundException.java
11412 java/security/acl/Group.java
11413 java/security/acl/LastOwnerException.java
11414 java/security/acl/NotOwnerException.java
11415 java/security/acl/Owner.java java/security/acl/Permission.java
11416 java/security/cert/CRL.java
11417 java/security/cert/CRLException.java
11418 java/security/cert/Certificate.java
11419 java/security/cert/CertificateEncodingException.java
11420 java/security/cert/CertificateException.java
11421 java/security/cert/CertificateExpiredException.java
11422 java/security/cert/CertificateFactory.java
11423 java/security/cert/CertificateFactorySpi.java
11424 java/security/cert/CertificateNotYetValidException.java
11425 java/security/cert/CertificateParsingException.java
11426 java/security/cert/X509CRL.java
11427 java/security/cert/X509CRLEntry.java
11428 java/security/cert/X509Certificate.java
11429 java/security/cert/X509Extension.java
11430 java/security/interfaces/DSAKey.java
11431 java/security/interfaces/DSAKeyPairGenerator.java
11432 java/security/interfaces/DSAParams.java
11433 java/security/interfaces/DSAPrivateKey.java
11434 java/security/interfaces/DSAPublicKey.java
11435 java/security/interfaces/RSAKey.java
11436 java/security/interfaces/RSAPrivateCrtKey.java
11437 java/security/interfaces/RSAPrivateKey.java
11438 java/security/interfaces/RSAPublicKey.java
11439 java/security/spec/AlgorithmParameterSpec.java
11440 java/security/spec/DSAParameterSpec.java
11441 java/security/spec/DSAPrivateKeySpec.java
11442 java/security/spec/DSAPublicKeySpec.java
11443 java/security/spec/EncodedKeySpec.java
11444 java/security/spec/InvalidKeySpecException.java
11445 java/security/spec/InvalidParameterSpecException.java
11446 java/security/spec/KeySpec.java
11447 java/security/spec/PKCS8EncodedKeySpec.java
11448 java/security/spec/RSAKeyGenParameterSpec.java
11449 java/security/spec/RSAPrivateCrtKeySpec.java
11450 java/security/spec/RSAPrivateKeySpec.java
11451 java/security/spec/RSAPublicKeySpec.java
11452 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
11453 java/sql/BatchUpdateException.java java/sql/Blob.java
11454 java/sql/CallableStatement.java java/sql/Clob.java
11455 java/sql/Connection.java java/sql/DataTruncation.java
11456 java/sql/DatabaseMetaData.java java/sql/Date.java
11457 java/sql/Driver.java java/sql/DriverManager.java
11458 java/sql/DriverPropertyInfo.java
11459 java/sql/PreparedStatement.java java/sql/Ref.java
11460 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
11461 java/sql/SQLData.java java/sql/SQLException.java
11462 java/sql/SQLInput.java java/sql/SQLOutput.java
11463 java/sql/SQLWarning.java java/sql/Statement.java
11464 java/sql/Struct.java java/sql/Time.java
11465 java/sql/Timestamp.java java/sql/Types.java
11466 java/text/Annotation.java
11467 java/text/AttributedCharacterIterator.java
11468 java/text/AttributedString.java
11469 java/text/AttributedStringIterator.java
11470 java/text/BreakIterator.java java/text/CharacterIterator.java
11471 java/text/ChoiceFormat.java java/text/Collator.java
11472 java/text/DateFormat.java java/text/DateFormatSymbols.java
11473 java/text/DecimalFormat.java
11474 java/text/DecimalFormatSymbols.java
11475 java/text/FieldPosition.java java/text/Format.java
11476 java/text/MessageFormat.java java/text/NumberFormat.java
11477 java/text/ParseException.java java/text/ParsePosition.java
11478 java/text/SimpleDateFormat.java
11479 java/text/StringCharacterIterator.java
11480 java/util/AbstractCollection.java java/util/AbstractList.java
11481 java/util/AbstractMap.java
11482 java/util/AbstractSequentialList.java
11483 java/util/AbstractSet.java java/util/ArrayList.java
11484 java/util/Arrays.java java/util/BasicMapEntry.java
11485 java/util/BitSet.java java/util/Calendar.java
11486 java/util/Collection.java java/util/Collections.java
11487 java/util/Comparator.java
11488 java/util/ConcurrentModificationException.java
11489 java/util/Date.java java/util/Dictionary.java
11490 java/util/EmptyStackException.java java/util/Enumeration.java
11491 java/util/EventListener.java java/util/EventObject.java
11492 java/util/GregorianCalendar.java java/util/HashMap.java
11493 java/util/HashSet.java java/util/Hashtable.java
11494 java/util/IdentityHashMap.java java/util/Iterator.java
11495 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
11496 java/util/LinkedList.java java/util/List.java
11497 java/util/ListIterator.java java/util/ListResourceBundle.java
11498 java/util/Locale.java java/util/Map.java
11499 java/util/MissingResourceException.java
11500 java/util/NoSuchElementException.java
11501 java/util/Observable.java java/util/Observer.java
11502 java/util/Properties.java java/util/PropertyPermission.java
11503 java/util/PropertyResourceBundle.java java/util/Random.java
11504 java/util/RandomAccess.java java/util/ResourceBundle.java
11505 java/util/Set.java java/util/SimpleTimeZone.java
11506 java/util/SortedMap.java java/util/SortedSet.java
11507 java/util/Stack.java java/util/StringTokenizer.java
11508 java/util/TimeZone.java java/util/Timer.java
11509 java/util/TimerTask.java
11510 java/util/TooManyListenersException.java
11511 java/util/TreeMap.java java/util/TreeSet.java
11512 java/util/Vector.java java/util/WeakHashMap.java
11513 java/util/jar/Attributes.java java/util/jar/JarEntry.java
11514 java/util/jar/JarException.java java/util/jar/JarFile.java
11515 java/util/jar/JarInputStream.java
11516 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
11517 java/util/zip/Adler32.java java/util/zip/CRC32.java
11518 java/util/zip/CheckedInputStream.java
11519 java/util/zip/CheckedOutputStream.java
11520 java/util/zip/Checksum.java
11521 java/util/zip/DataFormatException.java
11522 java/util/zip/Deflater.java
11523 java/util/zip/DeflaterOutputStream.java
11524 java/util/zip/GZIPInputStream.java
11525 java/util/zip/GZIPOutputStream.java
11526 java/util/zip/Inflater.java
11527 java/util/zip/InflaterInputStream.java
11528 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
11529 java/util/zip/ZipException.java java/util/zip/ZipFile.java
11530 java/util/zip/ZipInputStream.java
11531 java/util/zip/ZipOutputStream.java
11532 javax/naming/BinaryRefAddr.java
11533 javax/naming/InvalidNameException.java javax/naming/Name.java
11534 javax/naming/NamingException.java javax/naming/RefAddr.java
11535 javax/naming/StringRefAddr.java: Add license clarification.
11537 2002-01-22 Tom Tromey <tromey@redhat.com>
11539 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
11540 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
11541 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
11543 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
11544 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
11545 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
11546 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
11547 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
11548 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
11549 * java/awt/peer/FontPeer.java: Replace with Classpath version.
11550 * java/awt/peer/FramePeer.java: Replace with Classpath version.
11551 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
11552 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
11553 * java/awt/peer/ListPeer.java: Replace with Classpath version.
11554 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
11555 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
11556 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
11557 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
11558 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
11559 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
11560 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
11561 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
11562 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
11563 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
11564 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
11565 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
11566 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
11567 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
11568 (minimumSize, preferredSize, reshape): Likewise.
11569 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
11570 getColorModel): New methods.
11571 * java/awt/PopupMenu.java: Merged with Classpath.
11572 * java/awt/MenuBar.java: Merged with Classpath.
11573 * java/awt/SystemColor.java: Replace with Classpath version.
11574 * java/awt/Panel.java: Merged with Classpath.
11575 * java/awt/PaintContext.java: Updated copyright.
11576 * java/awt/MenuShortcut.java: Merged with Classpath.
11577 * java/awt/MenuContainer.java: Merged with Classpath.
11578 * java/awt/Menu.java: Merged with Classpath.
11579 * java/awt/MediaEntry.java: New file from Classpath.
11580 * java/awt/MediaTracker.java: New file from Classpath.
11581 * java/awt/List.java: Merged with Classpath version.
11582 * java/awt/Insets.java: Merged with Classpath version.
11583 * java/awt/ImageMediaEntry.java: New file from Classpath.
11584 * java/awt/Image.java: Replaced with Classpath version.
11585 * java/awt/FontMetrics.java: Merged with Classpath version.
11586 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
11588 * java/awt/Font.java: Merged with Classpath version.
11589 * java/awt/Dialog.java: Merged with Classpath version.
11590 * java/awt/Color.java: Merged with Classpath version.
11591 * java/awt/Choice.java: Merged with Classpath version.
11592 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
11593 * java/awt/Adjustable.java: Replace with Classpath version.
11594 * java/awt/MenuItem.java (paramString): Don't include class name
11595 or brackets. Call superclass paramString.
11596 * java/awt/MenuComponent.java (toString): Call paramString.
11597 (paramString): Compute string; don't call toString.
11598 * java/awt/Label.java (paramString): Don't include class name
11599 or brackets. Call superclass paramString.
11600 * java/awt/Checkbox.java (paramString): Don't include class name
11601 or brackets. Call superclass paramString.
11602 * java/awt/Button.java (paramString): Don't include class name or
11603 brackets. Call superclass paramString.
11604 * java/awt/MenuComponent.java (getTreeLock): Now protected.
11606 2002-01-20 Andreas Schwab <schwab@suse.de>
11608 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
11609 function and of parameter recv_func to ssize_t, as specified by
11612 2002-01-19 Per Bothner <per@bothner.com>
11614 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
11615 uncompressed_size in readiness for next entry.
11617 2002-01-18 Tom Tromey <tromey@redhat.com>
11619 * java/net/natPlainSocketImpl.cc: Include
11620 IllegalArgumentException.h.
11621 (_Jv_recv): New template function.
11622 (BooleanClass): Removed.
11623 (read): Use _Jv_recv.
11624 (setOption): Use Boolean::class$. Throw exception if object is
11625 not Boolean or Integer.
11627 2002-01-17 Tom Tromey <tromey@redhat.com>
11629 * java/awt/MenuComponent.java: Merged with Classpath.
11630 * java/awt/MenuItem.java: Merged with Classpath.
11631 * java/awt/Button.java: Merged with Classpath.
11633 * java/awt/ActiveEvent.java: Updated copyright.
11635 * java/awt/AWTError.java: Replaced with Classpath version.
11636 * java/awt/AWTException.java: Replaced with Classpath version.
11637 * java/awt/IllegalComponentStateException.java: Replaced with
11640 2002-01-16 Tom Tromey <tromey@redhat.com>
11642 * java/awt/Canvas.java (serialVersionUID): New constant.
11643 Updated copyright. Added javadoc from Classpath.
11644 * java/awt/ItemSelectable.java: Replaced with Classpath version.
11646 * java/awt/CheckboxGroup.java: Merged with Classpath.
11647 * java/awt/Checkbox.java: Merged with Classpath.
11649 * java/awt/Dimension.java: Updated copyright. Added javadoc from
11651 * java/awt/Point.java: Updated copyright.
11653 * java/awt/Point.java (toString): Use getClass().getName().
11656 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
11658 (hash): Correctly compute initial value for `h'.
11660 * java/awt/Label.java: Merged with Classpath.
11662 2002-01-15 Tom Tromey <tromey@redhat.com>
11664 * java/awt/AWTPermission.java: Updated copyright.
11666 * java/awt/LayoutManager2.java: Merged with Classpath.
11667 * java/awt/LayoutManager.java: Merged with Classpath.
11668 * java/awt/GridLayout.java: Updated copyright and javadoc.
11669 (getSize): Use `parent.ncomponents'. Handle insets.
11670 (layoutContainer): Use `parent.ncomponents'. Handle case where
11671 there are fewer children than columns. Correctly compute size of
11672 each cell in the grid. Handle case where there isn't enough
11674 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
11676 (gotoComponent): Use parent.ncomponents. Ensure child exists
11677 before calling setVisible() on it. Last item is `num - 1', not
11679 (layoutContainer): Hoist invariants out of loop.
11681 Start of AWT merge with Classpath:
11682 * Makefile.in: Rebuilt.
11683 * Makefile.am (awt_java_source_files): Reference files in
11684 gnu/java/awt, not gnu/gcj/awt.
11685 * java/awt/image/BufferedImage.java: Updated copyright.
11686 * java/awt/image/ComponentColorModel.java: Updated copyright.
11687 * java/awt/image/ComponentSampleModel.java: Updated copyright.
11688 * java/awt/image/DataBuffer.java: Updated copyright.
11689 * java/awt/image/DataBufferByte.java: Updated copyright.
11690 * java/awt/image/DataBufferInt.java: Updated copyright.
11691 * java/awt/image/DataBufferUShort.java: Updated copyright.
11692 * java/awt/image/IndexColorModel.java: Updated copyright.
11693 * java/awt/image/PackedColorModel.java: Updated copyright.
11694 * java/awt/image/Raster.java: Updated copyright.
11695 * java/awt/image/RasterOp.java: Updated copyright.
11696 * java/awt/image/SampleModel.java: Updated copyright.
11697 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
11698 * java/awt/image/WritableRaster.java: Updated copyright.
11699 * java/awt/color/ColorSpace.java: Updated copyright.
11700 * java/awt/color/ICC_ColorSpace.java: Updated copyright
11701 * java/awt/color/ICC_Profile.java: Updated copyright.
11702 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
11703 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
11704 * java/awt/event/HierarchyEvent.java: Updated copyright.
11705 * java/awt/event/HierarchyListener.java: Updated copyright.
11706 * java/awt/geom/AffineTransform.java: Updated copyright.
11707 * java/awt/geom/Dimension2D.java: Updated copyright.
11708 * java/awt/geom/Ellipse2D.java: Updated copyright.
11709 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
11710 * java/awt/geom/Line2D.java: Updated copyright.
11711 * java/awt/geom/NoninvertibleTransformException.java: Updated
11713 * java/awt/geom/PathIterator.java: Updated copyright.
11714 * java/awt/geom/Point2D.java: Updated copyright.
11715 * java/awt/geom/Rectangle2D.java: Updated copyright.
11716 * java/awt/geom/RectangularShape.java: Updated copyright.
11717 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
11718 * java/awt/Toolkit.java: Updated import for file moves.
11719 * java/awt/Rectangle.java: Updated copyright; added javadoc from
11721 (hashCode): New method from Classpath.
11722 * java/awt/Graphics2D.java: Updated copyright.
11723 * java/awt/Transparency.java: Updated copyright.
11724 * java/awt/Paint.java: Updated copyright.
11725 * java/awt/Graphics.java: New version from Classpath.
11726 * java/awt/EventDispatchThread.java: Updated copyright.
11727 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
11729 (gotoComponent): Wrap around on next/previous.
11730 * gnu/gcj/awt/BitMaskExtent.java: Removed.
11731 * gnu/gcj/awt/Buffers.java: Removed.
11732 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
11733 * gnu/gcj/awt/GLightweightPeer.java: Removed.
11734 * gnu/java/awt/BitMaskExtent.java: Added.
11735 * gnu/java/awt/Buffers.java: Added.
11736 * gnu/java/awt/ComponentDataBlitOp.java: Added.
11737 * gnu/java/awt/GLightweightPeer.java: Added.
11738 * java/awt/geom/Line2D.java (clone): Ignore
11739 CloneNotSupportedException.
11740 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
11741 * java/awt/Frame.java: Merged with Classpath.
11742 * java/awt/RenderingHints.java: Copyright update.
11743 * java/awt/Paint.java: Copyright update.
11744 * java/awt/image/DirectColorModel.java: Merged with Classpath.
11745 * java/awt/image/ColorModel.java: Merged with Classpath.
11746 * java/awt/Window.java (show): New Implementation from Classpath.
11747 (isShowing): Use super.isShowing().
11748 * java/awt/EventQueue.java: Merged with Classpath.
11749 * java/awt/AWTEventMulticaster.java (save): Throw
11751 (saveInternal): Likewise.
11752 * java/awt/AWTEvent.java: Now implements Serializable.
11753 * java/awt/Event.java: Copyright update.
11754 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
11755 * java/awt/image/BufferedImage.java: Copyright update.
11756 * java/awt/GraphicsConfiguration.java: Copyright update.
11757 * java/awt/Component.java: (addNotify): Don't call
11758 addNotifyContainerChildren().
11759 (addNotifyContainerChildren): Removed.
11760 (setPeer): New method from Classpath.
11761 (setTreeLock): Likewise.
11762 (setVisible): Rewrote.
11765 (validate): Set `valid'.
11766 (checkImage(Image,ImageObserver)): Implementation from Classpath.
11767 (createImage(ImageProducer)): Likewise.
11768 (prepareImage): Likewise.
11769 * java/awt/Container.java (addImpl): Handle case where constraint
11770 is not a String. Post event via system event queue.
11771 (remove): Post event via system event queue.
11772 (validateTree): Only validate child if it is invalid.
11773 (getAlignmentX): Call super method as default.
11774 (getAlignmentY): Likewise.
11775 (addContainerListener): Now synchronized.
11776 (removeContainerListener): Likewise.
11777 (addNotifyContainerChildren): Now private.
11778 * java/awt/ComponentOrientation.java: Updated copyright. Added
11780 * java/awt/FlowLayout.java (serialVersionUID): New field.
11781 (setAlignment): Better exception message.
11782 (layoutContainer): Don't compute component's preferred size unless
11783 we're going to use it.
11784 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
11785 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
11786 (firstLine, lastLine, firstItem, lastItem): New fields.
11787 (addLayoutComponent): Handle case where constraints is null.
11788 Also, handle relative locations.
11789 (removeLayoutComponent): Handle relative locations.
11790 (MIN, MAX, PREF): New constants.
11791 (calcCompSize): New method.
11792 (calcSize): New method.
11793 (minimumLayoutSize): Use it.
11794 (preferredLayoutSize): Likewise.
11795 (maximumLayoutSize): Likewise.
11796 (toString): Include more information.
11797 (setBounds): New method.
11798 (layoutContainer): Use libgcj implementation; extended to handle
11799 relative locations.
11801 2002-01-15 Tom Tromey <tromey@redhat.com>
11803 * java/lang/Float.java (equals): Preserve old code.
11804 * java/lang/Double.java (equals): Preserve old code.
11806 2002-01-15 Eric Blake <ebb9@email.byu.edu>
11808 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
11809 * java/lang/Float.java (equals, compare): Ditto.
11811 2002-01-13 Mark Wielaard <mark@klomp.org>
11813 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
11814 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
11815 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
11816 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
11818 2002-01-11 Mark Wielaard <mark@klomp.org>
11820 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
11821 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
11823 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
11824 * java/net/Socket.java: Merge with Classpath.
11825 * java/net/ServerSocket.java: Likewise.
11827 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
11829 * interpret.cc (NULLARRAYCHECK): New macro.
11830 (SAVE_PC): Just store `pc'.
11831 (find_exception): Subtract one from `pc' here.
11832 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
11833 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
11834 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
11835 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
11836 don't call SAVE_PC.
11837 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
11840 2002-01-11 Tom Tromey <tromey@redhat.com>
11842 * java/lang/natSystem.cc (init_properties): Only look for default
11843 locale if LC_MESSAGES is defined.
11844 * aclocal.m4, configure, include/config.h.in: Rebuilt.
11845 * configure.in: Call AM_LC_MESSAGES.
11846 * acinclude.m4 (AM_LC_MESSAGES): New macro.
11848 2002-01-10 Tom Tromey <tromey@redhat.com>
11850 For PR libgcj/5303:
11851 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
11852 --version. Recognize GNU-style long options. Print GNU-style
11854 (usage): Print GNU-style help. Exit with status 0.
11855 (error): New method.
11856 (run): Print error message if no class names found.
11857 (main): Don't print usage on error.
11859 2002-01-09 Tom Tromey <tromey@redhat.com>
11861 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
11863 (help, version): Use println(), not println("").
11865 For PR libgcj/5303:
11866 * gnu/gcj/convert/Convert.java (error): Program is called
11867 `jv-convert'. Print GNU-style message. Exit with status 1, not
11869 (main): Handle --help and --version.
11870 (help): New method.
11871 (version): Likewise.
11873 2002-01-08 Tom Tromey <tromey@redhat.com>
11875 * Makefile.in: Rebuilt.
11876 * Makefile.am (ordinary_java_source_files): Added new files.
11877 * gnu/java/locale/LocaleInformation.java: Extend
11878 LocaleInformation_en.
11879 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
11880 and time/date formats.
11881 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
11883 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
11884 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
11885 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
11886 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
11887 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
11888 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
11889 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
11890 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
11891 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
11892 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
11893 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
11894 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
11895 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
11896 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
11897 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
11898 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
11899 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
11900 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
11901 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
11902 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
11903 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
11904 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
11905 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
11906 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
11907 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
11908 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
11909 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
11910 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
11911 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
11912 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
11913 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
11914 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
11915 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
11916 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
11917 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
11918 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
11919 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
11920 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
11921 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
11922 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
11923 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
11924 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
11925 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
11926 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
11927 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
11928 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
11929 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
11930 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
11931 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
11932 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
11933 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
11934 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
11935 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
11936 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
11937 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
11938 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
11939 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
11940 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
11941 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
11942 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
11943 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
11944 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
11945 * gnu/java/locale/LocaleInformation_es_US.java: New file.
11946 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
11947 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
11948 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
11949 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
11950 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
11951 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
11952 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
11953 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
11954 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
11955 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
11956 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
11957 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
11958 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
11959 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
11960 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
11961 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
11962 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
11963 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
11964 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
11965 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
11966 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
11967 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
11968 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
11969 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
11970 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
11971 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
11972 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
11973 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
11974 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
11975 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
11976 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
11977 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
11978 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
11979 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
11980 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
11981 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
11982 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
11983 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
11984 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
11985 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
11986 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
11987 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
11988 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
11989 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
11990 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
11991 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
11992 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
11993 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
11994 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
11995 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
11996 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
11997 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
11998 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
11999 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
12000 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
12001 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
12002 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
12003 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
12004 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
12005 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
12006 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
12007 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
12008 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
12009 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
12010 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
12011 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
12012 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
12014 For PR libgcj/5031:
12015 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
12016 choose default locale.
12018 * Makefile.in: Rebuilt.
12019 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
12021 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
12023 * java/net/natPlainSocketImpl.cc: Added timeout handling for
12025 (close): New function closes the socket.
12026 (write): New functions for output to socket.
12027 (read): New functions for reading from socket.
12028 * java/net/PlainSocketImpl.java: Glue for new timeout
12030 (write): Call the native impl.
12032 (getInputStream): Get a stream to read from the socket.
12033 (getOutputStream): Get a stream to write to the socket.
12035 2002-01-08 Tom Tromey <tromey@redhat.com>
12037 * resolve.cc (_Jv_PrepareClass): Enable verifier.
12039 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
12041 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
12042 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
12044 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
12046 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
12047 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
12048 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
12049 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
12050 insn_bastore, insn_castore, insn_sastore]: Use it.
12051 (continue1) [insn_arraylength]: Check for null array.
12053 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
12055 * configure, include/config.h.in: Rebuilt.
12056 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
12057 * configure.in: Call AC_STRUCT_TIMEZONE.
12059 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
12061 * configure.host: Disable the interpreter for Darwin.
12063 2002-01-04 Tom Tromey <tromey@redhat.com>
12065 * java/lang/Thread.java (stop): No longer synchronized.
12068 2002-01-02 Tom Tromey <tromey@redhat.com>
12070 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
12073 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
12075 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
12076 PPC Darwin, not for all of Darwin.