1 2003-10-11 Michael Koch <konqueror@gmx.de>
3 * java/awt/ActiveEvent.java,
4 java/awt/datatransfer/ClipboardOwner.java,
5 java/awt/datatransfer/FlavorMap.java,
6 java/awt/datatransfer/Transferable.java,
7 java/awt/dnd/Autoscroll.java,
8 java/awt/dnd/peer/DragSourceContextPeer.java,
9 java/awt/dnd/peer/DropTargetContextPeer.java,
10 java/awt/dnd/peer/DropTargetPeer.java,
11 java/awt/font/MultipleMaster.java,
12 java/awt/font/OpenType.java,
13 java/awt/im/spi/InputMethodDescriptor.java,
14 java/awt/image/ImageObserver.java,
15 java/awt/image/ImageConsumer.java,
16 java/awt/image/ImageProducer.java,
17 java/awt/image/RGBImageFilter.java,
18 java/awt/image/RasterOp.java,
19 java/awt/image/renderable/RenderableImage.java:
20 Removed redundant modifiers.
22 2003-10-11 Michael Koch <konqueror@gmx.de>
24 * gnu/awt/j2d/DirectRasterGraphics.java,
25 gnu/java/awt/EmbeddedWindowSupport.java:
26 Removed redundant modifiers.
28 2003-10-09 Michael Koch <konqueror@gmx.de>
30 * gnu/java/nio/SelectorImpl.java (register):
31 Use ServerSocketChannelSelectionKey for server socket channels,
32 removed unneeded comments.
33 * gnu/java/nio/ServerSocketChannelImpl.java
34 (ServerSocketChannelImpl): Made class public final.
35 (impl): New member variable.
36 (ServerSocketChannelImpl): Initialize member variables correctly.
37 (initServerSocket): New method.
38 (getNativeFD): Likewise.
39 * gnu/java/nio/ServerSocketChannelSelectionKey.java,
40 gnu/java/nio/natServerSocketChannelImpl.cc: New files.
41 * Makefile.am (ordinary_java_source_files):
42 Added gnu/java/nio/ServerSocketChannelSelectionKey.java.
43 (nat_source_files): Added gnu/java/nio/natServerSocketChannelImpl.cc.
44 * Makefile.in: Regenrated.
46 2003-10-09 Michael Koch <konqueror@gmx.de>
48 * java/nio/channels/spi/AbstractSelectableChannel.java
49 (registered): Made private.
53 (keys): Made it a private LinkedList.
54 (AbstractSelectableChannel): Initialize keys.
55 (isRegistered): New implementation.
57 (register): Rewritten.
58 * java/nio/channels/spi/AbstractSelectionKey.java
60 (cancelled): New member variable.
63 * java/nio/channels/spi/AbstractSelector.java:
65 (closed): Make private.
67 (cancelledKeys): New member variable.
68 (AbstractSelector): Initialize cancelledKeys.
69 (cancelKey): New method.
71 2003-10-09 Tom Tromey <tromey@redhat.com>
73 * java/lang/ClassLoader.java (setSigners): Implemented.
74 * boehm.cc (_Jv_MarkObj): Mark `signers' field.
75 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
76 Initialize new fields.
77 * java/lang/Class.java (getSigners): Now native.
78 (setSigners): Declare.
79 * java/lang/natClass.cc (getSigners): New method.
80 (getSigners): Likewise.
81 * java/lang/Class.h (Class::signers): New field.
82 (Class::setSigners): New method.
84 2003-10-09 Michael Koch <konqueror@gmx.de>
86 * java/rmi/server/RMIClassLoader.java:
87 Removed unused imports, little reformatings.
88 (getClassLoader): New method, implementation was part of old loadCLass
90 (loadClass): Simplified by moving functionality to new method and
91 reworking the code a bit.
92 (getClassAnnotation): Merged documentation from classpath.
94 2003-10-09 Michael Koch <konqueror@gmx.de>
96 * java/math/BigInteger.java
97 (add): Removed unused local variable len.
99 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
101 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
103 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
104 Initialize insets to use latest insets.
105 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
106 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
108 (postConfigureEvent): Update latestInsets field when insets
109 change. Remove call to setSize. Move validate call outside of
111 (setVisible): Call setBounds before showing window.
112 (nativeSetVisible): New native method.
113 * java/awt/Window.java (show): Show visible owned windows.
114 (hide): Hide visible owned windows.
115 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
116 (awt_event_handler): Implement modality using GTK grabs.
117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
118 (global_gtk_window_group): New global variable.
119 (gtkInit): Initialize global_gtk_window_group.
120 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
121 Clamp width and height values to at least 1. Add this window to
122 the global GTK window group.
123 (setVisible): Rename to nativeSetVisible.
124 (setup_window): Remove function.
125 (setSize): Clamp width and height values to at least 1.
126 (nativeSetBounds): Likewise.
127 (gdk_window_get_root_geometry): Remove function.
128 * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
129 and setup_window declarations. Declare global_gtk_window_group.
131 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
132 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
133 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
134 (gtkWidgetSetForeground): New method.
135 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
136 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
137 (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
138 (setBackground, setForeground): Implement.
139 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
140 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
141 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
142 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
143 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
144 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
145 Position PangoLayout relative to text's baseline.
146 * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
148 * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
149 for CENTER and RIGHT alignments.
151 2003-10-08 Michael Koch <konqueror@gmx.de>
153 * java/security/Security.java: Reformated.
155 2003-10-08 Michael Koch <konqueror@gmx.de>
157 * java/text/SimpleDateFormat.java
158 (compileFormat): Replace Character.isLetter() test with
159 Character.isLowerCase() || Character.isUpperCase().
161 2003-10-08 Tom Tromey <tromey@redhat.com>
163 * java/lang/StrictMath.java (toDegrees): Multiply before
165 (toRadians): Likewise.
167 2003-10-08 C. Brian Jones <cbj@gnu.org>
169 * java/lang/Math.java
170 (toRadians): multiply before dividing to reduce decimal error
173 2003-10-08 Michael Koch <konqueror@gmx.de>
175 * gnu/gcj/protocol/core/Connection.java,
176 gnu/gcj/protocol/core/CoreInputStream.java,
177 gnu/gcj/protocol/core/Handler.java,
178 gnu/gcj/protocol/core/natCoreInputStream.cc,
179 gnu/gcj/protocol/file/Connection.java,
180 gnu/gcj/protocol/file/Handler.java,
181 gnu/gcj/protocol/gcjlib/Connection.java,
182 gnu/gcj/protocol/gcjlib/Handler.java,
183 gnu/gcj/protocol/http/Connection.java,
184 gnu/gcj/protocol/http/Handler.java,
185 gnu/gcj/protocol/jar/Connection.java,
186 gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
187 * gnu/java/net/protocol/core/Connection.java,
188 gnu/java/net/protocol/core/CoreInputStream.java,
189 gnu/java/net/protocol/core/Handler.java,
190 gnu/java/net/protocol/core/natCoreInputStream.cc,
191 gnu/java/net/protocol/file/Connection.java,
192 gnu/java/net/protocol/file/Handler.java,
193 gnu/java/net/protocol/gcjlib/Connection.java,
194 gnu/java/net/protocol/gcjlib/Handler.java,
195 gnu/java/net/protocol/http/Connection.java,
196 gnu/java/net/protocol/http/Handler.java,
197 gnu/java/net/protocol/jar/Connection.java,
198 gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
199 * gnu/gcj/runtime/FirstThread.java,
200 java/net/URL.java: Use moved protocol handlers.
202 (ordinary_java_source_files): Moved files.
203 (nat_source_files): Likewise.
204 * Makefile.in: Regenerated.
206 2003-10-08 Michael Koch <konqueror@gmx.de>
208 * gnu/java/nio/SocketChannelImpl.java
209 (read): Write only read data to buffer.
211 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
213 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
215 * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
216 (JCL_free): Attach "unused" attribute to env parameter.
217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
218 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
219 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
220 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
221 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
222 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
223 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
224 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
225 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
226 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
227 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
228 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
229 jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
231 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
232 (initNativeState): Pass 0 as info argument to
233 gtk_selection_add_target.
234 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
235 (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
236 unused method implementations.
237 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
238 (awt_event_handler): Add break statement after default label.
239 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
240 (drawPixels): Remove unused variable i.
241 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
242 (setEnabled): Remove method implementation.
243 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
244 (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
246 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
248 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
249 (menu_pos): Assign TRUE to push_in.
250 (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
252 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
253 (create): Remove unused variable layout.
254 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
255 Pass window_widget, rather than window, to
256 gtk_widget_set_size_request.
257 * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
258 structure initialization with NULL values.
259 * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
261 2003-10-08 Michael Koch <konqueror@gmx.de>
263 * java/util/LinkedList.java:
264 Removed whitespace to match classpath's version again.
266 2003-10-08 Michael Koch <konqueror@gmx.de>
268 * java/util/prefs/Preferences.java
269 (defaultFactoryClass): Fixed class name.
270 (getFactory): Create instance of class returned by Class.forName(),
273 2003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
275 * javax/swing/table/AbstractTableModel.java
276 (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
277 helped stop pulling my hair on this +1 then -1 tricky thing!
279 2003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com>
281 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
282 Remove unused parameters.
283 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
285 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
286 (keyevent_state_to_awt_mods): Export function.
287 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
288 (getCaretPosition): Fix TextArea case.
289 (textcomponent_commit_cb): Get exact event time and modifier
291 * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
293 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org>
295 * java/net/InetSocketAddress.java
296 (InetSocketAddress): Made exception more clear.
297 (equals): Handle case when addr is null.
298 (toString): Likewise.
299 * java/net/NetworkInterface.java
300 (static): Load native library.
301 (getNetworkInterfaces): Rewritten.
303 2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com>
305 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
307 (initializeInsets): New method.
308 (GtkComponentPeer): Call initializeInsets. Call setCursor and
309 setBounds unconditionally.
310 (setBounds): Convert coordinates if parent is a Window.
311 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
312 field to GtkComponentPeer.
313 (GtkContainerPeer): Don't initialize insets.
314 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
316 (create): Call new GtkWindowPeer create method.
317 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
319 (create): Call new GtkWindowPeer create method.
320 (setBounds): Remove method.
321 (postConfigureEvent): Likewise.
322 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
323 type constants with GDK window type constants.
324 (create(int,boolean,int,int,GtkWindowPeer)): New method.
325 (create(int,boolean)): Likewise.
326 (create()): Call create(int,boolean).
327 (nativeSetBounds): New native method declaration.
328 (setBounds): Call native method declaration.
329 (setSize): New native method declaration.
330 (setBoundsCallback): Likewise.
331 (postConfigureEvent): Handle change in insets. Call setSize and
332 setBoundsCallback methods.
333 * java/awt/Window.java (Window): Set visible to false.
334 (setBoundsCallback): New method.
335 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
336 (gtkWidgetGetLocationOnScreen): If this component is not a
337 container, adjust the location returned based on the peer's
339 (set(String,boolean)): Revert change from 2003-09-19.
340 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
341 (awt_event_handler): Fix inset calculation.
342 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
343 glue for Window.setBoundsCallback.
344 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
345 Set up stacking order, window decorations and window manager
347 (setBoundsCallback): New method.
348 (setSize): New method.
349 (nativeSetBounds): New method.
350 * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
352 2003-10-02 Tom Tromey <tromey@redhat.com>
354 * java/lang/VMClassLoader.java (loadClass): Now native.
355 * java/lang/natClassLoader.cc (loadClass): Implement.
356 * prims.cc (_Jv_RunMain): Initialize ClassLoader.
358 2003-10-02 Michael Koch <konqueror@gmx.de>
360 * java/net/InetAddress.java
362 (ANY_IF): Initalizie in static block.
363 (static): Load library with native methods here and initialize ANY_IF.
364 (isAnyLocalAddress): Check if equal to ANY_IF.
365 (equals): Use addr directly instead of addr1. Simplify for loop.
366 (toString): Rename "result" to "host" and add IP address allways.
367 (getLocalHost): Merged documentation from classpath.
368 * java/net/ServerSocket.java
369 (ServerSocket): New package-private constructor used by java.nio.
370 * java/net/URLConnection.java
371 (getRequestProperties): Check if already connected.
373 2003-10-02 Michael Koch <konqueror@gmx.de>
375 * java/nio/ByteBufferHelper.java:
376 Rewrote all methods by suggestions from Eric Blake.
378 2003-10-02 Michael Koch <konqueror@gmx.de>
381 (DEFAULT_SEARCH_PATH): New static variable.
382 (ph_cache): Made it a HashMap.
383 (getURLStreamHandler): Rename propVal to ph_search_path and use
386 2003-10-02 Michael Koch <konqueror@gmx.de>
388 * javax/swing/table/AbstractTableModel.java
389 (findColumnName): Prevent from NullPointerException if argument
392 2003-10-02 Michael Koch <konqueror@gmx.de>
394 * javax/swing/table/AbstractTableModel.java:
395 This patch is based on a patch done by Arnaud Vandyck
396 <arnaud.vandyck@ulg.ac.be>.
397 (getColumnName): Fixed method documentation.
398 (findColumn): Likewise.
399 (getColumnClass): Likewise.
400 (isCellEditable): Likewise.
401 (setValueAt): Likewise.
402 (addTableModelListener): Likewise.
403 (removeTableModelListener): Likewise.
404 (getTableModelListeners): New method.
406 2003-10-02 Michael Koch <konqueror@gmx.de>
408 * javax/swing/table/AbstractTableModel.java:
411 2003-10-01 Bryce McKinlay <bryce@mckinlay.net.nz>
414 * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
415 * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
417 2003-10-01 Tom Tromey <tromey@redhat.com>
419 * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
421 2003-10-01 Andrew Haley <aph@redhat.com>
423 * java/lang/natClass.cc (initializeClass): Check for otable and
425 (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite
426 loops using for(). Search superinterfaces. Check for fields as
427 well as methods. Initialize atable as well as otable: check for
428 static methods as well as virtual methods.
429 * java/lang/Class.h (struct _Jv_AddressTable): New.
432 * include/jvm.h (_Jv_equalUtf8Consts): constify.
433 * prims.cc (_Jv_equalUtf8Consts): constify.
435 2003-09-29 Tom Tromey <tromey@redhat.com>
438 * include/jvm.h (_Jv_FinalizeString,
439 _Jv_RegisterStringFinalizer): Declare.
440 * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
443 (_Jv_NewStringUtf8Const): Likewise.
444 * java/lang/ref/natReference.cc (finalize_referred_to_object):
445 Add special case when finalizing a String.
446 (in_hash): New function.
447 (_Jv_RegisterStringFinalizer): Likewise.
448 (maybe_add_finalize): Likewise.
450 2003-09-29 Michael Koch <konqueror@gmx.de>
452 * java/net/InetAddress.java:
453 (isMulticastAddress): Dont use local variable to store address length.
454 Let the compiler optimize this.
455 (getHostName): Merged dcoumentation from classpath.
456 (getAddress): Likewise.
457 (getHostAddress): Likewise.
458 (hashCode): Likewise.
460 (toString): Likewise.
461 (getByName): Likewise.
462 (getAllByName): Likewise.
464 2003-09-29 Michael Koch <konqueror@gmx.de>
466 * java/awt/image/IndexColorModel.java: Reformated.
468 2003-09-29 Michael Koch <konqueror@gmx.de>
470 * java/net/InetAddress.java,
471 java/net/URL.java: Reformated.
473 2003-09-29 Bryce McKinlay <bryce@mckinlay.net.nz>
475 * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
476 significant bit of descriptor. Include the vtable and sync_info
479 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
481 * java/text/DateFormat.java (format): Throw IllegalArgumentException
482 if `obj' is not a Number or Date instance.
483 * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
486 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
488 * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
489 Don't call setTimeZone on calendar.
491 2003-09-27 Michael Koch <konqueror@gmx.de>
493 * java/net/URL.java (getURLStreamHandler): Compile fixes.
495 2003-09-27 Michael Koch <konqueror@gmx.de>
497 * java/net/URL.java (getURLStreamHandler):
498 Check if we have to use cache before trying to retrieve handler from
499 cache. Rename facName to clsName to match classpath more. Reformated
502 2003-09-27 Michael Koch <konqueror@gmx.de>
504 * gnu/java/nio/SelectionKeyImpl.java
505 (ch): Make package-private again. Jikes found this bug.
506 Jeff Sturm submitted PR12426 for this to bugzilla
507 to fix this bug in gcj.
509 2003-09-26 Michael Koch <konqueror@gmx.de>
511 * java/rmi/server/RMIClassLoader.java:
512 Reformatted file, no functional code changes.
514 2003-09-26 Sascha Brawer <brawer@dandelis.ch>
516 * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
517 Save space for some pixels at the buffer end. Added Javadoc.
519 2003-09-26 Tom Tromey <tromey@redhat.com>
521 * java/io/ObjectOutputStream.java (writeFields): Fixed
523 (putFields): Likewise.
525 2003-09-26 Michael Koch <konqueror@gmx.de>
527 * java/nio/ByteBufferHelper.java:
528 Totally reworked with help from Eric Blake.
530 2003-09-26 Tom Tromey <tromey@redhat.com>
532 * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
533 * java/awt/geom/PathIterator.java: Documentation fixes.
535 2003-09-25 Jeff Sturm <jsturm@one-point.com>
537 * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
539 (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
541 2003-09-25 Michael Koch <konqueror@gmx.de>
543 * gnu/java/nio/DatagramChannelImpl.java
544 (getNativeFD): New method.
545 * gnu/java/nio/SelectionKeyImpl.java
546 (SelectionKeyImpl): Class made abstract.
548 (SelectionKeyImpl): Remove fd argument.
549 (getNativeFD): New method.
550 * gnu/java/nio/SocketChannelImpl.java
551 (getNativeFD): New method.
552 gnu/java/nio/DatagramChannelSelectionKey.java,
553 * gnu/java/nio/SocketChannelSelectionKey.java:
555 * Makefile.am (ordinary_java_source_files):
556 Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
557 gnu/java/nio/SocketChannelSelectionKey.java.
558 * Makefile.in: Regenerated.
560 2003-09-25 Michael Koch <konqueror@gmx.de>
562 * java/lang/reflect/Proxy.java
563 (getProxyClass): Remove workaround for gcj 3.0.x.
565 2003-09-25 Michael Koch <konqueror@gmx.de>
567 * gnu/java/net/PlainDatagramSocketImpl.java
568 (finalize): Moved to directly after constructor.
569 (getNativeFD): New method.
570 * gnu/java/net/PlainSocketImpl.java
571 (getNativeFD): New method.
573 2003-09-25 Ingo Proetel <proetel@aicas.com>
575 * java/io/ObjectOutputStream.java:
576 Allow putFields be called more than once.
578 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
580 * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
581 * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
582 * java/awt/image/BufferedImage.java (toString): Implement.
584 2003-09-25 Jeff Sturm <jsturm@one-point.com>
586 * aclocal.m4: Rebuilt.
587 * configure: Rebuilt.
589 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
591 * java/text/SimpleDateFormat.java (parse): Don't use class calendar
594 2003-09-25 Michael Koch <konqueror@gmx.de>
596 * gnu/java/nio/SelectorImpl.java
597 (implSelect): Renamed from java_do_select.
598 (select): Call native implSelect() and add support for Thread
600 * gnu/java/nio/natSelectorImpl.cc
601 (implSelect): Renamed from java_do_select.
603 2003-09-25 Michael Koch <konqueror@gmx.de>
605 * gnu/java/nio/SelectorImpl.java
606 (selectNow): Made final, throws IOException.
608 (getFDsAsArray): Made final.
609 (selectedKeys): Likewise.
611 (deregisterCancelledKeys): Likewise.
612 (register): Likewise.
614 (add_selected): Removed.
615 * gnu/java/nio/natSelectorImpl.cc:
616 No need to include bstring.h or gcj/cni.h.
617 (helper_put_filedescriptors): Rewritten.
618 (helper_get_filedescriptors): Rewritten.
620 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
622 * java/awt/font/FontRenderContext.java (getTransform): Return
623 copy of internal transform object. Add Javadoc.
624 * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
625 winding rule as Sun J2SE.
626 * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
628 2003-09-25 Ingo Proetel <proetel@aicas.com>
630 * java/rmi/Naming.java:
631 Added comments, now accepts pseudo protocol "rmi".
633 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
635 * java/text/DecimalFormat.java (format): Don't immediatly round
637 (setMinimumIntegerDigits): Call super.
638 (setMinimumFractionDigits): Likewise.
639 (setMaximumIntegerDigits): Likewise.
640 (setMaximumFractionDigits): Likewise.
642 2003-09-25 Michael Koch <konqueror@gmx.de>
644 * gnu/java/nio/DatagramChannelImpl.java
645 (DatagramChannelImpl): Made class final.
646 (blocking): Made private.
647 (socket): Made it a NIODatagramSocket and private.
648 (DatagramChannelImpl): create NIODatagramSocket instead of
650 (implConfigureBlocking): Set socket timeout.
651 (connect): Check that channel is not closed.
652 (write): Implemented.
656 (receive): Implemented.
658 * gnu/java/nio/SelectionKeyImpl.java
659 (readyOps): Made private.
660 (interestOps): Made private.
661 (impl): Made private.
663 (readyOps): Check if selection key is valid.
664 (interestOps): Likewise.
665 * gnu/java/nio/SelectorImpl.java
667 (keys): Made private.
668 (selected): Made private.
669 (finalize): New method.
670 (implCloseSelector): Rewritten.
671 (keys): Return unmodifiable Set.
672 (deregisterCancelledKeys): Fixed typo in method name.
673 * gnu/java/nio/SocketChannelImpl.java
674 (SocketChannelImpl): Made class final.
675 (socket): Made it a NIOSocket and private.
676 (blocking): Made private.
677 (connected): Made private.
678 (connectionPending): New member variable.
679 (SocketChannelImpl): New implementation.
680 (finalizer): Use isConnected().
681 (connect): Rewritten.
682 (finishConnect): Throws IOException, implemented.
683 (isConnectionPending): Return connectionPending.
686 * gnu/java/nio/NIOConstants.java: New file.
687 * Makefile.am (ordinary_java_source_files):
688 Added gnu/java/nio/NIOConstants.java.
689 * Makefile.in: Regenerated.
691 2003-09-25 Michael Koch <konqueror@gmx.de>
693 * java/net/InetAddress.java:
694 Reorder imports, remove implementation comment.
695 (isMulticastAddress): Merged documentation from classpath.
696 * java/net/URLConnection.java
697 (setRequestProperty): Check key for null, fix documentation.
698 (adREquestProperty): Check key for null, remove wrong implementation
699 and replace it with comment to overwrite this method in subclasses,
702 2003-09-25 Tom Tromey <tromey@redhat.com>
704 * java/lang/reflect/Proxy.java (generate): Uncomment protection
706 * java/lang/natClassLoader.cc (defineClass): Added `loader'
708 (linkClass0): Now in VMClassLoader.
709 (markClassErrorState0): Likewise.
710 (getSystemClassLoaderInternal): New method.
711 * java/lang/natClass.cc (initializeClass): Use
712 VMClassLoader::resolveClass.
713 * java/lang/ClassLoader.java: New version, from Classpath.
714 * java/lang/Class.java (getProtectionDomain):
715 protectionDomainPermission and unknownProtectionDomain now in
717 * java/lang/Class.h: VMClassLoader now a friend class.
718 * gnu/gcj/runtime/VMClassLoader.java (instance): Now
720 * gcj/javaprims.h: Regenerated class list.
721 * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
722 * java/lang/VMClassLoader.java: New version from Classpath;
723 modified for libgcj use.
725 2003-09-25 Michael Koch <konqueror@gmx.de>
727 * java/nio/ByteBufferHelper.java:
729 * java/nio/ByteBufferImpl.java,
730 java/nio/DirectByteBufferImpl.java,
731 java/nio/MappedByteBufferImpl.java
732 (getType,putType): Use new helper class ByteBufferHelper.
733 * Makefile.am (ordinary_java_source_files):
734 Added java/nio/ByteBufferHelper.java.
735 * Makefile.in: Regenerated.
737 2003-09-25 Bryce McKinlay <bryce@mckinlay.net.nz>
739 * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
742 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
744 * java/lang/StringBuffer.java (substring): Don't set `shared' on small
745 Strings, even if buffer is already shared.
747 2003-09-24 Michael Koch <konqueror@gmx.de>
749 * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
751 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
753 * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
755 (SocketInputStream): Declare `read' and `write' methods native.
756 Remove implementations which called back into PlainSocketImpl.
757 Remove unneccessary overridden methods.
758 * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation
759 to inner class PlainSocketImpl.SocketInputStream.
761 * gnu/java/net/natPlainSocketImplPosix.cc: As above.
762 * gnu/java/net/natPlainSocketImplWin32.cc: As above.
763 * gnu/java/net/SocketInputStream.java: Remove unused file.
764 * gnu/java/net/SocketOutputStream.java: Likewise.
765 * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
766 and SocketOutputStream.
767 * Makefile.in: Rebuilt.
769 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
771 * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
773 * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
776 2003-09-22 Anthony Green <green@redhat.com>
778 * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
779 * configure: Rebuilt.
781 2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
784 * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
786 2003-09-22 Michael Koch <konqueror@gmx.de>
788 * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
789 compiler warning but produces a different one now.
791 2003-09-22 Michael Koch <konqueror@gmx.de>
793 * java/net/InetAddress.java:
794 Moves around some code, reformats and adds documentation.
795 No functional changes.
797 2003-09-22 Michael Koch <konqueror@gmx.de>
799 * java/net/JarURLConnection.java
800 (JarURLConnection): Modifed code to match classpath more, fixed comment.
801 (getCertificates): Made it more error prone.
802 (getMainAttributes): Likewise.
803 (getAttributes): Implemented.
804 (getManifest): Reformatted code.
806 2003-09-20 Tom Tromey <tromey@redhat.com>
808 * java/awt/Component.java: Indentation cleanup from Classpath.
810 2003-09-20 Dalibor Topic <robilad@kaffe.org>
812 * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
813 checking to follow 1.4.2 spec.
815 2003-08-11 Ingo Proetel <proetel@aicas.com>
817 * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
818 is compatible in case client and server are running in the same VM
819 (remerged from Classpath on 2003-09-20)
821 2003-09-19 David Daney <ddaney@avtrex.com>
823 * java/lang/ref/Reference.java (clear): Set referent to null and
826 2003-09-19 Michael Koch <konqueror@gmx.de>
828 * gnu/java/nio/NIODatagramSocket.java,
829 gnu/java/nio/NIOSocket.java: New files.
830 * Makefile.am (ordinary_java_source_files):
831 Added gnu/java/nio/NIODatagramSocket.java and
832 gnu/java/nio/NIOSocket.java.
833 * Makefile.in: Regenerated.
835 2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>
837 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
838 top-level GTK window.
839 (getArgs): Add "title" property.
840 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
841 "allow_shrink" and "allow_grow" properties.
842 * java/awt/Dialog.java: Initialize resizable to true and change
843 comments accordingly. Initialize visible to false in
845 * java/awt/Frame.java (dispose): Remove method.
846 * java/awt/Window.java (ownedWindows): New field.
847 (Window(Window,GraphicsConfiguration)): Add a weak reference to
848 owner's ownedWindows vector.
849 (finalize): Remove method.
850 (hide): Hide owned windows.
851 (dispose): Dispose of owned windows.
852 (getOwnedWindows): Implement.
853 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
855 (set(String,boolean)): Clamp gboolean parameter to g_object_set
857 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
858 (create): Set window's size requisition.
859 (connectHooks): Fix indentation.
860 (setResizable): Remove function.
861 (static setBounds): Likewise.
862 (setBounds): Replace call to setBounds with GTK size requisition
865 2003-09-19 Mohan Embar <gnustuff@thisiscool.com>
867 * win32-threads.cc: (ensure_interrupt_event_initialized) New
868 function for lazy initialization of an auto-reset event.
869 (_Jv_CondWait) Added thread interrupt support.
870 (_Jv_ThreadInitData) Added initialization of interrupt support
872 (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
873 (_Jv_ThreadStart) Removed unused code.
874 (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
875 to an external caller.
876 (_Jv_ThreadInterrupt) Implemented.
877 * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
878 event for interrupt support as well as a mutex which regulates
880 (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
881 event to an external caller.
882 * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
884 (waitFor) Added interrupt support.
886 2003-09-19 Michael Koch <konqueror@gmx.de>
888 * java/net/DatagramSocket.java (getLocalAddress):
889 Renamed result variable to localAddr.
890 * java/net/MulticastSocket.java:
891 No need to import gnu.java.net.PlainDatagramSocketImpl.
893 2003-09-18 Sascha Brawer <brawer@dandelis.ch>
895 * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
896 Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
898 2003-09-18 Tom Tromey <tromey@redhat.com>
900 * javax/naming/InitialContext.java: Reindented.
902 2003-09-18 Dalibor Topic <robilad@kaffe.org>,
903 Helmer Kraemer <hkraemer@freenet.de>
905 * javax/naming/spi/NamingManager.java (getURLContext,
906 getObjectInstance, getStateToBind): Always use current thread's
907 context class loader when calling Class.forName.
909 2003-09-18 Michael Koch <konqueror@gmx.de>
911 * java/util/Timer.java (finalize): Added "throws Throwable".
913 2003-09-18 Michael Koch <konqueror@gmx.de>
915 * java/net/DatagramSocket.java
917 (receive): Use getChannel() instead of ch.
919 (getChannel): Return null.
920 * java/net/ServerSocket.java
922 (setChannel): Removed.
923 (implAccept): Use getChannel() instead of ch.
925 (getChannel): Return null.
926 * java/net/Socket.java
928 (connect): Use getChannel() instead of ch.
929 (setChannel): Removed.
930 (getChannel): Return null.
932 2003-09-18 Mark Wielaard <mark@klomp.org>
934 Reported by Guilhem Lavaux and Julian Dolby
935 * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
936 field "serialPersistentFields", not "getSerialPersistentFields".
938 2003-09-18 Ingo Proetel <proetel@aicas.com>
940 * java/util/TimeZone.java: Initialize lazily.
941 * java/util/Locale.java (readManifest): Fix check for country.
942 * java/util/GregorianCalendar.java: Make use of ResourceBundle better
944 * java/util/Calendar.java: Make use of ResourceBundle better
947 2003-09-18 Jeroen Frijters <jeroen@frijters.net>
949 * java/sql/Timestamp.java
950 (valueOf): Fixed confusion of java.sql.Date and java.util.Date
952 2003-09-18 David P Grove <groved@us.ibm.com>
954 * java/io/LineNumberReader (read): Don't reset pos & limit when
957 2003-09-18 Dalibor Topic <robilad@kaffe.org>
959 * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
961 (computeArguments): use computeTypicalArguments.
963 * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
964 Compile_jikes.java and RMICException.java.
965 * gnu/java/rmi/rmic/Compile_kjc.java: New file.
966 * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
967 * gnu/java/rmi/rmic/RMICException.java: Likewise.
969 * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
971 * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
972 (computeTypicalArguments): New method.
973 (compile): Print compiler output to System.out. Collect compiler
974 error output and use it in exception message.
976 * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
977 (destination): Initialize to null.
978 (run): Replace file separator with '.' when processing class.
979 (processClass): Replace '.' with file separator when compiling
981 (findClass): Use SystemClassLoader to load class.
982 (generateStub): Use full class name for generated stub, that puts
983 it in right path. Replace '.' with file separator when generating
984 stub file name. Write just the stub class name without package
985 information as class name, and constructor name. Write only
986 interface names for interfaces extending java.rmi.Remote as
988 (generateSkel): Use full class name for generated skel, that puts
989 it in right path. Replace '.' with file separator when generating
990 stub file name. Write just the stub class name without package
991 information as class name.
993 2003-09-18 Michael Koch <konqueror@gmx.de>
995 * Makefile.am (rmi_java_source_files):
996 Added gnu/java/rmi/rmic/Compile_kjc.java,
997 gnu/java/rmi/rmic/Compile_jikes.java and
998 gnu/java/rmi/rmic/RMICException.java
999 * Makefile.in: Regenerated.
1001 2003-09-17 Graydon Hoare <graydon@redhat.com>
1003 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1004 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1005 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
1006 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1009 2003-09-16 Graydon Hoare <graydon@redhat.com>
1011 * java/awt/BufferedImage.java (setData): Support non-component
1015 2003-09-10 Graydon Hoare <graydon@redhat.com>
1017 * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
1018 * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
1020 2003-09-17 Mohan Embar <gnustuff@thisiscool.com>
1022 * configure.in: Standardized help text case of
1023 --enable-hash-synchronization
1024 New configure switch --enable-libgcj-multifile and corresponding
1025 automake conditional ONESTEP.
1026 * configure: Rebuilt.
1027 * Makefile.am: Use automake conditional ONESTEP to determine
1028 whether classfiles should be compiled individually or all
1030 * Makefile.in: Rebuilt.
1032 2003-09-16 Thomas Fitzsimmons <fitzsim@redhat.com>
1034 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
1035 Remove method declaration.
1036 (create()): Call native create.
1037 (create(int)): New method.
1038 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1039 (create): Add window_id parameter. Call gtk_plug_new with
1040 window_id parameter.
1041 (construct): Remove method implementation.
1043 2003-09-16 Mohan Embar <gnustuff@thisiscool.com>
1045 * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
1046 (mostlyclean-local): New target patterned after clean-local
1047 which recursively deletes all libtool objects using 'libtool rm'.
1048 (clean-local): Slightly modified comment to alleviate monotony.
1049 (distclean-local): New target patterned after clean-local
1050 which recursively deletes all .d files.
1051 * Makefile.in: Rebuilt.
1053 2003-09-11 Tom Tromey <tromey@redhat.com>
1055 * java/net/URLStreamHandler.java (parseURL): If original file
1056 ends with "/", so must canonical result.
1057 * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
1058 with nul-termination and finding previous "/".
1060 2003-09-11 Michael Koch <konqueror@gmx.de>
1062 * acconfig.h: Removed most items.
1063 * configure.in: Added descriptions to AC_DEFINE macros that where in
1065 * include/config.h.in: Regenerated.
1067 2003-09-11 Sascha Brawer <brawer@dandelis.ch>
1069 * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
1070 if one is installed. Improve Javadoc.
1071 (getSystemEventQueueImpl): Improve Javadoc.
1073 2003-09-11 Tom Tromey <tromey@redhat.com>
1075 * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
1076 file does not exist.
1078 2003-09-10 Anthony Green <green@redhat.com>
1080 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1081 Specify full name when referencing ::java::net::InetAddress.
1082 * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
1085 2003-09-10 Michael Koch <konqueror@gmx.de>
1087 * acconfig.h (__NO_MATH_INLINES): Removed.
1088 * configure.in: Removed check for g++ math inlining bug from 2000.
1089 * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
1091 * configure: Regenerated.
1093 2003-09-10 David Daney <ddaney@avtrex.com>
1095 * java/util/Arrays.java (equals(all variants)): Quit using
1096 NullPointerException catching to detect null valued parameters.
1098 2003-09-10 Michael Koch <konqueror@gmx.de>
1100 * java/net/DatagramSocket.java,
1101 java/net/MulticastSocket.java,
1102 java/net/ServerSocket.java,
1103 java/net/Socket.java:
1104 Use gnu.java.net.Plain*SocketImpl instead of
1105 java.net.PlainSocketImpl.
1106 * java/net/PlainDatagramSocketImpl.java,
1107 java/net/PlainSocketImpl.java,
1108 java/net/SocketInputStream.java,
1109 java/net/SocketOutputStream.java,
1110 java/net/natPlainDatagramSocketImplNoNet.cc,
1111 java/net/natPlainDatagramSocketImplPosix.cc,
1112 java/net/natPlainDatagramSocketImplWin32.cc,
1113 java/net/natPlainSocketImplNoNet.cc,
1114 java/net/natPlainSocketImplPosix.cc,
1115 java/net/natPlainSocketImplWin32.cc:
1117 * gnu/java/net/PlainDatagramSocketImpl.java,
1118 gnu/java/net/PlainSocketImpl.java,
1119 gnu/java/net/SocketInputStream.java,
1120 gnu/java/net/SocketOutputStream.java,
1121 gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
1122 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1123 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1124 gnu/java/net/natPlainSocketImplNoNet.cc,
1125 gnu/java/net/natPlainSocketImplPosix.cc,
1126 gnu/java/net/natPlainSocketImplWin32.cc:
1127 New files (moved from java/net).
1128 * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
1129 instead of java/net/natPlain*SocketImpl.cc.
1130 * configure: Regenerated.
1131 * Makefile.am: Moved files from java/net to gnu/java/net.
1132 * Makefile.in: Regenerated.
1134 2003-09-09 Alan Modra <amodra@bigpond.net.au>
1136 * configure: Regenerate.
1138 2003-09-04 Tom Tromey <tromey@redhat.com>
1140 * configure.host: Removed erroneous comment.
1142 * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
1143 lvalue cast; use correct rvalue cast.
1145 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
1147 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
1148 and height arguments to GtkWindowPeer.create method call.
1149 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
1150 (create(int,int,int)): New method.
1151 (create(int)): Add call to new create method.
1152 (create()): Add width and height arguments to create method
1154 (GtkWindowPeer): Remove call to setBounds.
1155 * java/awt/Frame.java (Frame(String)): Initialize visible field
1157 (Frame(GraphicsConfiguration)): Likewise.
1158 (Frame(String,GraphicsConfiguration)): Likewise.
1159 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1160 Add width and height parameters. Call
1161 gtk_window_set_default_size.
1162 (connectHooks): Remove unused name variable.
1163 (static setBounds): Call gtk_window_resize not
1164 gtk_widget_set_usize.
1165 (setBounds): Remove unused nchildren variable.
1167 2003-08-31 Ingo Proetel <proetel@aicas.com>
1169 * java/util/logging/Logger.java: provide class and method information
1170 * java/util/logging/LogManager.java: create handlers
1171 * java/util/logging/SimpleFormatter.java: print souceClassName and
1174 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
1176 * win32.cc: fixed tab, indentation and whitespace
1178 removed jvm.h include
1179 added includes java/lang/UnsupportedOperationException.h,
1180 java/io/IOException.h, java/net/SocketException.h
1181 (WSAEventWrapper): class implementation
1182 (_Jv_WinStrError): implemented both overloads
1183 (_Jv_ThrowIOException): implemented both overloads
1184 (_Jv_ThrowSocketException): implemented both overloads
1185 (_Jv_select): implemented
1186 * include/win32.h: fixed tab, indentation and whitespace
1188 wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
1190 (WSAEventWrapper): added class declaration
1191 (_Jv_WinStrError): added both overload declarations
1192 (_Jv_ThrowIOException): added both overload declarations
1193 (_Jv_ThrowSocketException): added both overload declarations
1194 removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
1195 (_Jv_select): added declaration
1196 (_Jv_socket): removed
1197 (_Jv_connect): removed
1198 (_Jv_close): removed
1200 (_Jv_accept): removed
1201 (_Jv_listen): removed
1202 (_Jv_write): removed
1204 * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
1205 whitespace inconsistencies
1206 replaced <windows.h> #include with <platform.h>
1207 removed jvm.h include
1208 (testCanUseGetHandleInfo): new function which tests whether Win32
1209 GetHandleInformation() call can be used with console buffer handles
1210 (only supported on >=WinNT 5.0)
1211 (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
1212 (valid): rewrote implementation using GetHandleInformation()
1213 (sync): changed exception throwing to use error string and exception
1214 helper methods declared in include/win32.h
1217 (setLength): likewise
1220 (getFilePointer): likewise
1222 * java/io/natFileWin32.cc: fixed tab, indentation and
1223 whitespace inconsistencies
1224 replaced <windows.h> #include with <platform.h>
1225 removed jvm.h include
1226 (_access): use JV_TEMP_UTF_STRING
1228 (performMkDir): use JV_TEMP_UTF_STRING
1229 (performRenameTo): likewise
1230 (performDelete): likewise
1231 (performCreate): likewise
1232 (performSetReadOnly): likewise
1233 (performSetLastModified): likewise
1234 * java/lang/natWin32Process.cc: fixed tab, indentation and
1235 whitespace inconsistencies
1236 replaced <windows.h> #include with <platform.h>
1237 removed includes gcj/cni.h, jvm.h
1238 (new_string): removed
1239 (startProcess): use JV_TEMP_UTF_STRING,
1240 changed exception throwing to use error string and exception
1241 helper methods declared in include/win32.h
1242 * java/net/natInetAddressWin32.cc: fixed tab, indentation and
1243 whitespace inconsistencies
1244 replaced <windows.h> #include with <platform.h>
1245 removed jvm.h include
1246 removed DISABLE_JAVA_NET conditional code
1247 removed POSIX conditional code not relevant to Win32
1248 (aton): use JV_TEMP_UTF_STRING
1249 removed POSIX conditional code not relevant to Win32
1251 (getLocalHostName): likewise
1252 * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
1253 whitespace inconsistencies
1254 removed unnecessary windows.h, winsock.h and gcj/cni.h includes
1255 removed DISABLE_JAVA_NET conditional code
1256 removed POSIX conditional code not relevant to Win32
1257 (winsock2GetRealNetworkInterfaces): new function to compute network
1258 interfaces via Winsock2 API
1259 (determineGetRealNetworkInterfacesFN): new function for returning
1260 a function pointer to the function used to compute network interfaces.
1261 (getRealNetworkInterfaces): implemented
1262 * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
1263 whitespace inconsistencies
1264 removed gcj/cni.h include
1265 removed DISABLE_JAVA_NET conditional code
1266 removed POSIX conditional code not relevant to Win32
1267 changed net POSIXisms to Win32isms
1268 replaced _Jv socket-related calls with their real Win32 equivalents
1269 changed exception throwing to use error string and exception
1270 helper methods declared in include/win32.h
1271 (peekData): implemented timeout support
1273 * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
1274 whitespace inconsistencies
1275 removed gcj/cni.h and gcj/javaprims.h includes
1276 removed DISABLE_JAVA_NET conditional code
1277 removed POSIX conditional code not relevant to Win32
1278 changed net POSIXisms to Win32isms
1279 replaced _Jv socket-related calls with their real Win32
1281 changed exception throwing to use error string and exception
1282 helper methods declared in include/win32.h
1283 (throwConnectException): helper function for connect()
1284 (connect): implemented timeout support
1286 (doRead): new helper function common to both read() method overloads,
1287 includes timeout support
1288 (read): implemented both overloads in terms of doRead()
1289 (available): implemented using ioctlsocket()
1291 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
1293 * java/net/natInetAddressWin32.cc,
1294 java/net/natNetworkInterfaceWin32.cc,
1295 java/net/natPlainDatagramSocketImplWin32.cc,
1296 java/net/natPlainSocketImplWin32.cc:
1297 Readded code enclosed in DISABLE_JAVA_NET defines
1298 in preparation for MinGW cleanup / networking
1301 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
1303 * Makefile.am: Fixed problems with parallel makes.
1304 (all_java_class_files): Readded definition.
1305 (all_java_class_files): New target which depends on
1306 libgcj-@gcc_version@.jar
1307 * Makefile.in: Rebuilt
1309 2003-08-28 Tom Tromey <tromey@redhat.com>
1311 * Makefile.in: Rebuilt.
1312 * Makefile.am (ordinary_java_source_files): Added new files.
1313 * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
1315 * java/net/URLClassLoader.java (findClass): Don't use
1316 findURLResource. Use loader's getClass method.
1317 (URLLoader.getClass): New method.
1318 (addURL): Handle `gcjlib' URLs.
1319 (SoURLLoader): New class.
1320 (SoResource): Likewise.
1321 * gnu/gcj/protocol/gcjlib/Connection.java: New file.
1322 * gnu/gcj/protocol/gcjlib/Handler.java: New file.
1323 * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
1324 (_Jv_RegisterCoreHook): Declare.
1325 (_Jv_FindCore): Declare.
1326 * gnu/gcj/runtime/SharedLibHelper.java: New file.
1327 * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
1329 (core_hook): New function.
1330 (struct SharedLibDummy) [saved_core]: New field.
1331 (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
1332 (register_hook): Set protection domain and class loader on new
1334 (finalize): Free core chain.
1335 * gnu/gcj/Core.java (Core): New constructor.
1336 * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
1338 * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
1339 (_Jv_create_core): New function.
1341 (default_register_resource): New function.
1342 (_Jv_RegisterCoreHook): New global.
1343 (_Jv_RegisterResource): Use it.
1344 (core_chain_struct): Removed.
1345 (_Jv_FindCore): New function.
1346 (_Jv_FreeCoreChain): New function.
1348 2003-08-29 Michael Koch <konqueror@gmx.de>
1350 * java/net/natInetAddressWin32.cc,
1351 java/net/natNetworkInterfaceWin32.cc,
1352 java/net/natPlainDatagramSocketImplWin32.cc,
1353 java/net/natPlainSocketImplWin32.cc:
1354 Removed code enclosed in DISABLE_JAVA_NET defines.
1356 2003-08-26 Mohan Embar <gnustuff@thisiscool.com>
1358 * Makefile.am: (write_entries_to_file) New parameterized
1359 function for writing entries to a file one line at a time.
1360 (all_java_class_files): Removed definition.
1361 (.java.class) Removed.target.
1362 (libgcj-@gcc_version@.jar): Changed dependency to
1363 $(all_java_source_files); added compilation step which compiles
1364 all changed source files in one pass.
1365 (libgcj.la) Refactored to use write_entries_to_file.
1366 (lib-gnu-awt-xlib.la) Likewise.
1367 (install-data-local) Likewise.
1368 (write-entries-to-file-check) New target which tests write_entries_to_file.
1369 (all-recursive): Changed dependency from $(all_java_class_files)
1370 to libgcj-@gcc_version@.jar
1371 * Makefile.in: Rebuilt.
1373 2003-08-26 Tom Tromey <tromey@redhat.com>
1375 * java/lang/StrictMath.java: Typo fix.
1376 * java/lang/Math.java: Typo fix.
1378 2003-08-26 Stephen Crawley <crawley@dstc.edu.au>
1380 * java/lang/ThreadGroup.java (removeThread): null the 'group' field
1381 of the removed Thread.
1383 2003-08-26 Mark Wielaard <mark@klomp.org>
1385 Reported by David Holmes <dholmes@dltech.com.au>.
1386 * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
1387 Collections.synchronizedMap.
1388 * java/lang/ThreadLocal.java (valueMap): Likewise.
1390 2003-08-26 Mark Wielaard <mark@klomp.org>
1392 * java/security/acl/Acl.java: Fix broken p tag.
1393 * java/text/DateFormatSymbols.java: Correctly open and close li tags.
1394 * javax/swing/border/LineBorder.java: Close img tag alt attributes.
1395 * javax/swing/plaf/TreeUI.java: Likewise.
1396 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
1397 * java/util/Properties.java: Use the word umlaut, not ä in api
1399 * java/util/PropertyResourceBundle.java: Likewise and add closing code
1402 2003-08-26 Tom Tromey <tromey@redhat.com>
1404 * Makefile.in: Rebuilt.
1405 * Makefile.am: Removed all GNU-make-specific FIXME comments.
1407 * java/lang/ref/Reference.java (get): Indentation fix.
1408 (clear): Comment fix.
1409 (enqueue): Likewise.
1411 (referent): Likewise.
1413 2003-08-26 Tom Tromey <tromey@redhat.com>
1416 * java/lang/reflect/natArray.cc (set): Allow null as argument.
1418 * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
1419 (ProxyData.getPackage): New method.
1420 (ProxyData.getProxyData): Use package name, not Package.
1421 (ClassFactory.ClassFactory): Updated.
1423 2003-08-25 Scott Gilbertson <scottg@mantatest.com>
1424 * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
1425 * Makefile.in: re-generated.
1426 * gnu/awt/j2d/IntegerGraphicsState.java
1427 (ScreenCoupledImage): new interface.
1428 (drawImage): detect ScreenCoupledImage instances.
1429 * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
1430 * gnu/awt/xlib/XEventLoop.java
1431 (createEvent): re-formatted, and rearranged to avoid null pointer.
1432 * gnu/awt/xlib/XGraphics.java
1433 (drawImage): added XOffScreenImage handling.
1434 * gnu/awt/xlib/XOffScreenImage.java: new file.
1435 * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
1436 * gnu/gcj/xlib/GC.java (copyArea): new native method.
1437 * gnu/gcj/xlib/XAnyEvent.java
1438 (TYPE_KEY_PRESS): new constant.
1439 (TYPE_KEY_RELEASE): new constant.
1440 (TYPE_MOTION_NOTIFY): new constant.
1441 (TYPE_ENTER_NOTIFY): new constant.
1442 (TYPE_LEAVE_NOTIFY): new constant.
1443 (TYPE_FOCUS_IN): new constant.
1444 (TYPE_FOCUS_OUT): new constant.
1445 (TYPE_KEYMAP_NOTIFY): new constant.
1446 (TYPE_GRAPHICS_EXPOSE): new constant.
1447 (TYPE_NO_EXPOSE): new constant.
1448 (TYPE_VISIBILITY_NOTIFY): new constant.
1449 (TYPE_CREATE_NOTIFY): new constant.
1450 (TYPE_DESTROY_NOTIFY): new constant.
1451 (TYPE_MAP_REQUEST): new constant.
1452 (TYPE_CONFIGURE_REQUEST): new constant.
1453 (TYPE_GRAVITY_NOTIFY): new constant.
1454 (TYPE_RESIZE_REQUEST): new constant.
1455 (TYPE_CIRCULATE_NOTIFY): new constant.
1456 (TYPE_CIRCULATE_REQUEST): new constant.
1457 (TYPE_PROPERTY_NOTIFY): new constant.
1458 (TYPE_SELECTION_CLEAR): new constant.
1459 (TYPE_SELECTION_REQUEST): new constant.
1460 (TYPE_SELECTION_NOTIFY): new constant.
1461 (TYPE_COLORMAP_NOTIFY): new constant.
1462 (TYPE_MAPPING_NOTIFY): new constant.
1463 * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
1464 * gnu/gcj/xlib/natGC.cc (copyArea): new method
1465 * java/awt/Component.java (createImage): changed to use peer method.
1467 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1469 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
1470 name, not XLFD, to native drawString.
1471 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1472 Replace XLFD-based implementation with Pango-based
1475 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1477 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
1478 GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
1480 2003-08-21 David Daney <ddaney@avtrex.com>
1482 Fix for PR libgcj/12013:
1483 * java/lang/ref/natReference.cc (finalize_referred_to_object):
1484 Check `cleared' field.
1485 * java/lang/ref/Reference.java (copy): Updated comments.
1486 (cleared): New field.
1489 2003-08-21 Scott Gilbertson <scottg@mantatest.com>
1490 Thomas Fitzsimmons <fitzsim@redhat.com>
1492 * Makefile.am (gtk_awt_peer_sources): Add
1493 gnu/java/awt/peer/GLightweightPeer.java. Remove
1494 gnu/java/awt/GLightweightPeer.java.
1495 * gnu/java/awt/GLightweightPeer.java: Remove file.
1496 * gnu/java/awt/peer/GLightweightPeer.java: New file.
1497 * java/awt/Component.java (getToolkit): Add comment about
1498 lightweight components.
1499 * java/awt/Toolkit.java (createComponent): Return
1500 gnu.java.awt.peer.GLightweightPeer.
1502 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
1504 * configure.in: Fix detection of gcj when building with newlib.
1505 * configure: Regenerated.
1507 2003-08-20 Graydon Hoare <graydon@redhat.com>
1509 * jni.cc: Replace "cheating" pointer-casting code with
1510 extract_from_jvalue<> template.
1512 2003-08-20 Andrew Haley <aph@redhat.com>
1514 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
1515 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
1516 (classAt): Break out class lookup function into getClass().
1517 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
1518 handlers when using -fno-assume-compiled.
1520 2003-08-20 Tom Tromey <tromey@redhat.com>
1522 Fix for PR libgcj/9125:
1523 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
1524 object outside of loop. Respect lib_control setting.
1525 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
1527 (lib_control): New field.
1528 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
1529 (VMClassLoader): Initialize new field.
1531 * java/lang/ref/natReference.cc (finalize_referred_to_object):
1532 Set `list->reference' to DELETED_REFERENCE when removing dead
1534 (find_slot): Added an assert.
1535 (DELETED_REFERENCE): New define.
1536 (add_to_hash): Check for DELETED_REFERENCE.
1537 (remove_from_hash): Just return if found slot isn't ours.
1539 2003-08-19 Andrew Haley <aph@redhat.com>
1541 * prims.cc (unblock_signal): New function.
1542 (catch_segv): Use it.
1543 (catch_fpe): Likewise.
1545 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
1548 * java/io/natFileDescriptorWin32.cc (open): Set create
1549 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
1550 Honor EXCL when openning with WRITE flag.
1552 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
1554 * include/jvm.h: New class _Jv_TempUTFString (helper class for
1555 getting a temporary C string from a jstring)
1556 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
1557 but uses a stack buffer if the string length is less than 256
1560 2003-08-18 Tom Tromey <tromey@redhat.com>
1563 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
1564 void. Throw VirtualMachineError if ffi fails. Initialize return
1565 value. Added is_jni_call argument; only wrap exception if not a
1566 JNI call. Use descriptive message if operation not supported.
1567 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
1569 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
1570 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
1572 (_Jv_JNI_CallAnyMethodA): Likewise.
1573 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
1574 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
1576 2003-08-13 Tom Tromey <tromey@redhat.com>
1578 * gij.cc (help): Document -? and -X.
1580 2003-08-12 Graydon Hoare <graydon@redhat.com>
1582 * java/awt/Font.java:
1583 Stub out more recent API.
1585 2003-08-12 Graydon Hoare <graydon@redhat.com>
1587 * java/awt/Color.java (getAlpha):
1588 Prevent sign-extended alpha values.
1590 2003-08-12 Tom Tromey <tromey@redhat.com>
1592 * gij.cc (main): Handle -? and -X.
1594 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
1596 * java/awt/Container.java
1597 (getPreferredSize): Call preferredSize.
1598 (preferredSize): Moved body of getPreferredSize here.
1599 (getMinimumSize): Call minimumSize.
1600 (minimumSize): Moved body of getMinimumSize here.
1602 2003-08-11 Tom Tromey <tromey@redhat.com>
1604 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
1605 (postEvent): Removed FIXME comment.
1606 (isDispatchThread): Documented.
1607 (getCurrentEvent): New method.
1608 (dispatchEvent): Set currentEvent and lastWhen.
1609 (getMostRecentEventTime): Rewrote.
1610 (invokeLater): Documented.
1612 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
1614 * java/io/PrintStream.java (print): Always flush if auto_flush is
1615 set. Don't check for newline characters.
1616 (write (int)): Implement without using a temporary array.
1617 (write (byte[], int, int): Always flush if auto_flush is set. Don't
1618 check for newline characters.
1619 Fixes PR libgcj/11778.
1621 2003-08-08 Andrew Haley <aph@redhat.com>
1623 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
1624 * Makefile.in: Rebuild.
1625 * java/lang/natRuntime.cc (insertSystemProperties): Add
1626 "sun.boot.class.path".
1628 2003-08-07 Andrew Haley <aph@redhat.com>
1630 * java/io/PrintStream.java: Don't crash on a null string.
1632 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1634 * configure.in: Don't initialize GCINCS to boehm-gc/include.
1635 * configure: Regenerate.
1637 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
1639 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
1640 SocketImpl. Update Javadoc.
1641 (bind): Call close() not impl.close() in event of exception.
1642 (connect): Likewise.
1643 Remove superfluous null checks throughout.
1644 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
1645 Don't create an extra socket. Fix for PR libgcj/10868.
1646 (bind): Clean up exception handling.
1647 Remove superfluous null checks throughout.
1649 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
1650 Bryce McKinlay <bryce@mckinlay.net.nz>
1652 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
1653 ready-to-write argument to _Jv_Select. Reset the socket back to
1654 non-blocking state after connecting.
1655 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
1656 Throw SocketTimeoutException not InterruptedIOException.
1657 (read): Throw SocketTimeoutException not InterruptedIOException.
1659 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
1661 * java/lang/Thread.java (Thread): Check for null "name" from
1662 start of private constructor, not after calling the private
1665 2003-08-06 Tom Tromey <tromey@redhat.com>
1667 * java/io/FilePermission.java (equals): Use correct index for
1668 last character of path.
1670 2003-08-06 Alan Modra <amodra@bigpond.net.au>
1672 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
1673 * configure.in: Compare with_cross_host to build_alias, not build.
1674 * aclocal.m4: Regenerate.
1675 * configure: Regenerate.
1677 2003-08-05 Tom Tromey <tromey@redhat.com>
1679 Fix for PR libgcj/11779:
1680 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
1683 * java/lang/reflect/Method.java: Updated status comment.
1684 Imported javadoc from Classpath and re-ordered methods.
1685 * java/lang/reflect/Constructor.java: Reindented. Updated
1686 status comment. Imported javadoc from Classpath and re-ordered
1689 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
1691 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
1692 Add keyLocation parameter.
1693 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
1695 (paramString): Generate keyChar string according to keyChar, not
1697 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1698 (state_to_awt_mods): Handle ALT key.
1699 (keyevent_state_to_awt_mods): New function.
1700 (get_first_keyval_from_keymap): New function.
1701 (keysym_to_awt_keycode): Get virtual key code from keymap.
1702 Handle missing VK_ values.
1703 (keysym_to_awt_keylocation): New function.
1704 (keyevent_to_awt_keychar): New function.
1705 (generates_key_typed_event): Handle non-text-component case.
1706 Handle GDK_KP_Delete and GDK_KP_Enter.
1707 (awt_event_handler): Call new functions to get postKeyEvent
1709 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
1710 Update postKeyEvent method signature.
1711 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
1714 2003-08-05 Matthias Klose <doko@debian.org>
1716 * aclocal.m4: check for libart-config binary
1717 under the name libart2-config as well.
1718 * configure: regenerated.
1720 2003-08-04 David P Grove <groved@us.ibm.com>
1722 * java/text/DecimalFormat.java (format): avoid ArithmeticException
1723 when groupingSize is 0.
1726 2003-08-04 Matthias Klose <doko@debian.org>
1728 * libart.m4: check for libart-config binary
1729 under the name libart2-config as well.
1730 * configure, aclocal.m4: regenerated.
1732 2003-08-02 Michael Koch <konqueror@gmx.de>
1734 * java/nio/ByteBufferImpl.java
1735 (getChar): Check remaining bytes, fixed comment about endianess.
1736 (putChar): Likewise.
1737 (getShort): Likewise.
1738 (putShort): Likewise.
1739 (getInt): Check remaining bytes, fixed conversion, fixed comment about
1742 (getLong): Likewise.
1743 (putLong): Likewise.
1744 (getFloat): Likewise.
1745 (putFloat): Likewise.
1746 (getDouble): Likewise.
1747 (putDouble): Likewise.
1748 * java/nio/DirectByteBufferImpl.java
1749 (getChar): Wrapped code, fixed comment about endianess.
1750 (putchar): Likewise.
1751 (getShort): Likewise.
1752 (putShort): Likewise.
1753 (getInt): Fixed conversion, fixed comment about endianess.
1755 (getLong): Likewise.
1756 (putLong): Likewise.
1757 (getFloat): Likewise.
1758 (putFloat): Likewise.
1759 (getDouble): Likewise.
1760 (putDouble): Likewise.
1761 * java/nio/MappedByteBufferImpl.java
1762 (compact): Implemented.
1763 (getChar): Implemented.
1764 (putChar): Implemented.
1765 (getDouble): Implemented.
1766 (putdouble): Implemented.
1767 (getFloat): Implemented.
1768 (putFloat): Implemented.
1769 (getInt): Implemented.
1770 (putInt): Implemented.
1771 (getLong): Implemented.
1772 (putLong): Implemented.
1773 (getShort): Implemented.
1774 (putShort): Implemented.
1775 * java/nio/channels/FileChannelImpl.java
1776 (read): Set position where to access file.
1778 (transferTo): Flip buffer after read and before write.
1779 (transferFrom): Likewise.
1781 2003-08-02 Michael Koch <konqueror@gmx.de>
1783 * gnu/java/lang/ArrayHelper.java
1784 (equalsArray): Reformated, added method documentation.
1786 2003-08-02 Michael Koch <konqueror@gmx.de>
1789 (URL): Added paragraph about the
1790 gnu.java.net.nocache_protocol_handlers property.
1791 (ph_cache): Renamed from handlers to match classpath's implementation.
1792 Reordered it with factory and serialVersionUID member variables.
1793 (cache_handlers): New member variable.
1794 (static): New static initializer to initialize cache_handlers from
1795 gnu.java.net.nocache_protocol_handlers property.
1796 (URL): Use ph_cache instead of handlers, reformatted some code to
1797 match classpath's implementation.
1799 2003-08-01 Tom Tromey <tromey@redhat.com>
1801 Fix for PR libgcj/11241:
1802 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
1803 initialCapacity is 0, set it to 1.
1805 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
1807 * java/net/SocketImpl.java (toString): Display the remote address
1808 of an unconnected server socket as "0.0.0.0/0.0.0.0".
1810 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
1812 * javax/swing/border/BevelBorder.java,
1813 javax/swing/border/EtchedBorder.java,
1814 javax/swing/border/LineBorder.java,
1815 javax/swing/border/MatteBorder.java,
1816 javax/swing/border/SoftBevelBorder.java,
1817 javax/swing/plaf/BorderUIResource.java,
1818 javax/swing/plaf/ComponentUI.java,
1819 javax/swing/plaf/TreeUI.java,
1820 javax/swing/plaf/basic/BasicBorders.java,
1821 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1822 javax/swing/plaf/basic/BasicTreeUI.java:
1823 Prepend "doc-files" to all paths to embedded Javadoc images, so
1824 that the generated documentation contains the correct URL.
1826 2003-08-01 Tom Tromey <tromey@redhat.com>
1828 * configure: Rebuilt.
1829 * configure.in (tool_include_dir): Redefine to match gcc.
1831 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
1832 Mark Wielaard <mark@klomp.org>
1834 * java/math/BigDecimal (divide): Correctly handle
1835 ROUND_HALF_EVEN when amount is greater than 0.5.
1836 Simplify and optimize code.
1838 2003-07-31 Tom Tromey <tromey@redhat.com>
1840 More for PR libgcj/11737:
1841 * java/io/ObjectInputStream.java (processResolution): Use
1843 (getMethod): Make method accessible.
1844 (getField): Make field accessible.
1845 (setBooleanField): Don't call setAccessible here.
1846 (setByteField, setCharField, setDoubleField, setFloatField,
1847 setIntField, setLongField, setShortField, setObjectField):
1849 (callReadMethod): Don't check whether method is null. Catch
1850 NoSuchMethodException.
1851 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
1852 cause on thrown exceptions.
1854 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
1856 Fix for PR libgcj/11728:
1857 * java/util/HashMap.java (readObject): Set size.
1859 2003-07-31 Tom Tromey <tromey@redhat.com>
1861 Fix for PR libgcj/11737:
1862 * java/io/ObjectOutputStream.java (getMethod): Make method
1864 (getField): Likewise.
1865 (writeObject): Use getMethod.
1866 Import PrivilegedAction and AccessController.
1867 (callWriteMethod): Don't check whether m is null. Catch
1868 NoSuchMethodException.
1870 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
1871 (containsAngle): Likewise.
1872 (getStartPoint): Rewrote.
1873 (getEndPoint): Likewise.
1874 (setAngleStart(Point2D)): Likewise.
1876 2003-07-31 Roger Sayle <roger@eyesopen.com>
1877 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1879 * configure.in: Add new THREADCXXFLAGS variable.
1880 Handle POSIX threads on alpha*-dec-osf*.
1881 * configure: Regenerate.
1882 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
1883 * Makefile.in: Regenerate.
1885 2003-07-08 Andrew Haley <aph@redhat.com>
1887 * include/i386-signal.h (RESTORE): New.
1888 (INIT_SEGV): Set restorer.
1889 (INIT_FPE): Likewise.
1891 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
1893 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
1895 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1896 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
1897 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1898 (gtkSetFont): Scale size parameter by PANGO_SCALE.
1899 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
1901 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
1904 2003-07-29 Tom Tromey <tromey@redhat.com>
1906 * defineclass.cc (handleField): Throw exception if field name is
1908 (handleMethod): Throw exception for duplicate method.
1910 2003-07-29 Tom Tromey <tromey@redhat.com>
1912 * gnu/gcj/convert/natIconv.cc (write): Handle case where
1913 output buffer is too small.
1915 2003-07-28 Tom Tromey <tromey@redhat.com>
1917 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
1919 Include gnu/gcj/runtime/StringBuffer.h.
1920 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
1922 (String(gnu.gcj.runtime.StringBuffer)): Use it.
1924 2003-07-27 Anthony Green <green@redhat.com>
1926 * configure.in: Fix newlib check.
1927 * configure: Rebuilt.
1929 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
1931 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1932 Create vbox and layout for GtkPlug.
1934 2003-07-27 Michael Koch <konqueror@gmx.de>
1936 * java/awt/Window.java
1937 (Window): Removed now unused constructor. It became oboslete with the
1938 new embedded window patch.
1940 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
1941 Michael Koch <konqueror@gmx.de>
1943 * gnu/java/awt/EmbeddedWindow.java
1944 (EmbeddedWindow): Extends Frame instead of Window.
1945 (window_id): New member variable to store the native window handle.
1947 (EmbeddedWindow): New constructor.
1948 (addNotify): New method.
1949 (getHandler): Likewise.
1950 (setWindowPeer): New native method.
1951 * gnu/java/awt/EmbeddedWindowSupport.java
1952 (EmbeddedWindowSupport): Fixed documentation.
1953 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
1954 WindowPeer, give it an EmbeddedWindow instance instead of the raw
1956 * gnu/java/awt/natEmbeddedWindow.cc
1958 (setWindowPeer): New method.
1959 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
1960 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
1961 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1963 * gnu/java/awt/peer/gtk/GtkToolkit.java
1964 (GtkToolkit): Implements EmbeddedWindowSupport.
1965 (createEmbeddedWindow): New method.
1966 * java/awt/Window.java
1969 (java_source_files): Added EmbeddedWindowPeer.java.
1970 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
1971 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
1972 * Makefile.in: Regenerated.
1974 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
1976 * java/lang/Win32Process.java (ConcreteProcess): Surround
1977 a command line element with quotes if it contains an
1978 embedded space or tab.
1979 * java/lang/natWin32Process.cc (startProcess): Do not
1980 surround command line elements with quotes here.
1982 * configure.host: Use -fcheck-references and
1983 -fuse-divide-subroutine for MinGW until we fix
1984 win32_exception_handler( ) in win32.cc w.r.t. Win32
1985 Structured Exception Handling (SEH).
1987 * win32.cc (_Jv_platform_initProperties): Use generic names
1988 like "x86" for the "os.arch" property to be consistent with
1989 what Sun's JDK produces. Use the wProcessorArchitecture
1990 member of the Win32 SYSTEM_INFO structure, filled in a call
1991 to GetSystemInfo( ), instead of dwProcessorType.
1993 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
1994 Ranjit Mathew <rmathew@hotmail.com>
1996 * Makefile.am: Use cross-compiling gcjh from the path for
1997 a crossed-native build.
1998 * Makefile.in: Rebuilt.
1999 * configure.in: Include libltdl in non-newlib builds.
2000 Moved determination of gcj used to build libraries to
2001 its own section. Fixed cross-compilation issues for
2003 * configure: Rebuilt.
2005 2003-07-25 Tom Tromey <tromey@redhat.com>
2007 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
2012 2003-07-25 Mark Wielaard <mark@klomp.org>
2014 * java/lang/natRuntime.cc (_load): Add library name to
2015 UnsatisfiedLinkError when thrown.
2017 2003-07-25 Mark Wielaard <mark@klomp.org>
2019 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
2021 * Makefile.in: Likewise.
2023 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
2025 * java/awt/Component.java
2026 (getPreferredSize): Call preferredSize.
2027 (preferredSize): Moved body of getPreferredSize here.
2028 (getMinimumSize): Call minimumSize.
2029 (minimumSize): Moved body of getMinimumSize here.
2030 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
2031 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
2033 * java/awt/Container.java
2034 (validate): Don't validate if there is no peer.
2035 (update): Clear background before calling paint.
2036 * java/awt/GridBagLayout.java
2037 Completed the implementation and fixed several bugs.
2038 * java/awt/MediaTracker.java
2039 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
2041 * java/awt/Window.java
2042 (Window): Don't call setVisible(false). Windows are invisible by
2043 default and calling virtual methods from constructor causes
2044 compatibility problems (e.g. subclasses may assume that the peer
2047 2003-07-25 Michael Koch <konqueror@gmx.de>
2049 * java/awt/GridBagLayout.java:
2050 Totally reworked and partly implemented.
2051 * java/awt/GridBagLayoutInfo.java:
2054 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2056 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
2057 Don't pack label in an event box.
2059 2003-07-24 Tom Tromey <tromey@redhat.com>
2062 * verify.cc (ref_intersection): New class.
2063 (type_val): Removed unresolved_reference_type,
2064 uninitialized_unresolved_reference_type.
2065 (is_assignable_from_slow): Rewrote.
2066 (type::data): Removed.
2067 (type::klass): New field.
2068 (type::type): Added verifier argument.
2069 (type::resolve): Removed.
2070 (type::set_uninitialized): Updated for change to type_val.
2071 (type::set_initialized): Likewise.
2072 (type::isinitialized): Likewise.
2073 (type::print): Likewise.
2074 (construct_primitive_array_type): Likewise.
2075 (type::compatible): Updated for change to type_val and to use
2077 (type::isarray): Updated to use ref_intersection.
2078 (type::isinterface): Likewise.
2079 (type::element_type): Likewise.
2080 (type::to_array): Likewise.
2081 (type::verify_dimensions): Rewrote.
2082 (type::merge): Likewise.
2083 (check_class_constant): Updated for type constructor change.
2084 (check_constant): Likewise.
2085 (check_field_constant): Likewise.
2086 (get_one_type): Likewise.
2087 (initialize_stack): Likewise.
2088 (verify_instructions_0): Likewise.
2089 (verify_instructions_0) [op_invokeinterface]: Removed special
2091 (isect_list): New field.
2092 (_Jv_BytecodeVerifier): Initialize it.
2093 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
2095 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
2097 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
2098 unless field size is 2.
2100 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2102 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2103 (connectHooks): New method.
2104 (handleEvent): Remove.
2105 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2106 (createHooks): Remove declaration.
2107 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2108 (generates_key_typed_event): Change to handle only certain
2110 (awt_event_handler): Add special handling for GtkTextView.
2111 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2112 (textcomponent_commit_cb): New function.
2113 (textcomponent_changed_cb): Likewise.
2114 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2115 (connectHooks): Remove.
2117 2003-07-23 Tom Tromey <tromey@redhat.com>
2119 * java/lang/natSystem.cc (arraycopy): Check for overflow.
2121 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
2123 2003-07-22 Tom Tromey <tromey@redhat.com>
2125 * boehm.cc (_Jv_BuildGCDescr): Wrote.
2128 2003-07-22 Tom Tromey <tromey@redhat.com>
2130 * java/awt/Window.java (getWarningString): Just return the
2132 (Window): Set warningString; check with security manager.
2134 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
2136 * gnu/awt/xlib/XGraphicsConfiguration.java
2137 (FontMetricsCache): Made static.
2139 2003-07-22 Tom Tromey <tromey@redhat.com>
2141 * java/net/URLEncoder.java (encode(String)): Use platform default
2143 (encode(String,String)): Convert to 2-digit upper-case hex
2147 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2149 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2150 (create): Remove unused method implementation.
2151 (connectHooks): Remove debug messages.
2153 2003-07-20 Anthony Green <green@redhat.com>
2155 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
2156 CloneNotSupportedException.
2157 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
2158 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
2159 * gnu/gcj/xlib/GC.java (clone): Ditto.
2160 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
2161 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
2163 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
2165 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
2167 2003-07-20 Steve Pribyl <steve@netfuel.com.>
2169 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
2170 String. Put dlerror() message into exception.
2171 Include UnsatisfiedLinkError.
2172 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
2175 2003-07-20 Tom Tromey <tromey@redhat.com>
2177 * java/lang/Runtime.java: Comment fix.
2178 * java/lang/ClassLoader.java (isAncestorOf): New method.
2179 (getParent): Uncommented security check. Use isAncestorOf.
2180 * include/jvm.h (_Jv_CheckAccess): Declare.
2181 * java/lang/reflect/natConstructor.cc (newInstance): Perform
2183 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
2184 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
2185 class loader to _Jv_GetArrayClass.
2186 Include ArrayIndexOutOfBoundsException.h.
2187 * java/lang/reflect/Field.java: Update comment to reflect status.
2188 (equals): Fixed indentation.
2189 * java/lang/Class.h (Class): Declare memberAccessCheck, not
2190 checkMemberAccess. Make _Jv_CheckAccess a friend.
2191 * java/lang/Class.java (memberAccessCheck): New method from
2193 (checkMemberAccess): Removed.
2194 (getDeclaredMethod): Use memberAccessCheck.
2195 (getField): Likewise.
2196 (getMethod): Likewise.
2197 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
2198 (_Jv_SearchMethodInClass): Likewise.
2199 * prims.cc (_Jv_CheckAccess): New function.
2200 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
2201 (_Jv_JNI_GetAnyFieldID): Likewise.
2202 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
2203 (getClassLoader): Added security check.
2204 (getConstructor): Call memberAccessCheck.
2205 (getDeclaredClasses): Likewise.
2206 (getDeclaredField): Likewise.
2207 (getDeclaredFields): Likewise.
2208 (_getConstructors): Likewise.
2209 (getDeclaredConstructor): Likewise.
2210 (getDeclaredMethods): Likewise.
2211 (getFields): Likewise.
2212 (getMethods): Likewise.
2213 (newInstance): Likewise.
2214 (_Jv_MakeVTable): Put method name in exception.
2215 * java/lang/reflect/natMethod.cc (getType): Use
2216 getClassLoaderInternal.
2217 (_Jv_GetTypesFromSignature): Likewise.
2218 (invoke): Perform access check.
2219 (_Jv_CallAnyMethodA): Removed old FIXME comments.
2220 Include ArrayIndexOutOfBoundsException.h.
2221 * java/lang/reflect/natField.cc (getType): Use
2222 getClassLoaderInternal.
2223 (_Jv_CheckFieldAccessibility): Removed.
2224 (getAddr): Use _Jv_CheckAccess; find caller.
2225 Include ArrayIndexOutOfBoundsException.h.
2227 2003-07-20 Michael Koch <konqueror@gmx.de>
2230 (URL): Fixed documentation to name an argument correcty, Reformatted
2231 one method declaration.
2232 (getURLStreamHandler): Added documentation from classpath.
2234 2003-07-19 Tom Tromey <tromey@redhat.com>
2236 * mauve-libgcj: Don't run CollationElementIterator tests.
2238 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
2240 * java/net/URLClassLoader.java (addURL): Moved implementation to
2241 private addURLImpl() to avoid calling addURL from the constructor.
2242 (addURLImpl): Contains the code that was previously in addURL.
2243 (addURLs): Call addURLImpl(), not addURL().
2245 2003-07-18 Graydon Hoare <graydon@redhat.com>
2247 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
2248 Handle missing event cases, connect to "value-changed" signal.
2250 2003-07-18 Graydon Hoare <graydon@redhat.com>
2252 * java/awt/geom/CubicCurve2D.java,
2253 java/awt/geom/Line2D.java,
2254 java/awt/geom/QuadCurve2D.java,
2255 java/awt/geom/Rectangle2D.java:
2256 Fix path some calculations, make path iterators follow
2259 2003-07-18 Mark Wielaard <mark@klomp.org>
2261 * java/util/logging/Handler.java (isLoggable): Check record level
2264 2003-07-17 Michael Koch <konqueror@gmx.de>
2266 * gnu/java/awt/peer/gtk/GtkToolkit.java:
2269 2003-07-14 Michael Koch <konqueror@gmx.de>
2271 * gnu/java/rmi/server/UnicastServerRef.java:
2272 New version from classpath.
2274 2003-07-14 Michael Koch <konqueror@gmx.de>
2276 * java/awt/image/MemoryImageSource.java,
2277 java/beans/PropertyEditorManager.java,
2278 javax/naming/CompoundName.java,
2279 javax/naming/spi/NamingManager.java,
2280 javax/swing/AbstractButton.java,
2281 javax/swing/ButtonModel.java,
2282 javax/swing/SwingUtilities.java,
2283 javax/swing/UIManager.java,
2284 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2285 javax/swing/event/AncestorEvent.java,
2286 javax/swing/event/InternalFrameEvent.java,
2287 java/util/zip/ZipFile.java:
2288 New versions from classpath.
2290 2003-07-13 Michael Koch <konqueror@gmx.de>
2292 * gnu/java/nio/FileChannelImpl.java,
2293 gnu/java/nio/natFileChannelImpl.cc: Removed.
2294 * java/io/FileInputStream.java,
2295 java/io/FileOutputStream.java,
2296 java/io/RandomAccessFile.java,
2297 java/nio/MappedByteBufferImpl.java:
2298 Import java.nio.channels.FileChannelImpl instead of
2299 gnu.java.nio.FileChannelImpl.
2300 * java/nio/channels/FileChannelImpl.java,
2301 java/nio/channels/natFileChannelImpl.cc:
2304 (ordinary_java_source_files):
2305 Removed gnu/java/nio/FileChannelImpl.java and added
2306 java/nio/channels/FileChannelImpl.java.
2308 Removed gnu/java/nio/natFileChannelImpl.cc and added
2309 java/nio/channels/natFileChannelImpl.cc.
2310 * Makefile.in: Regenerated.
2312 2003-07-13 Michael Koch <konqueror@gmx.de>
2314 * javax/swing/plaf/basic/BasicBorders.java,
2315 javax/swing/plaf/basic/BasicLabelUI.java,
2316 javax/swing/plaf/basic/BasicLookAndFeel.java,
2317 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2318 javax/swing/plaf/basic/BasicTextUI.java,
2319 javax/swing/plaf/metal/MetalLookAndFeel.java:
2320 New versions from classpath.
2322 2003-07-13 Michael Koch <konqueror@gmx.de>
2324 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
2325 * gnu/java/awt/peer/gtk/GdkGraphics.java
2326 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
2327 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
2328 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
2329 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
2330 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
2331 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2332 * gnu/java/awt/peer/gtk/GtkClipboard.java
2333 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
2334 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2335 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2336 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
2337 * gnu/java/awt/peer/gtk/GtkImage.java
2338 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2339 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
2340 * gnu/java/awt/peer/gtk/GtkListPeer.java
2341 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2342 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2343 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2344 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
2345 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
2346 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
2347 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
2348 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
2349 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
2350 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
2351 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2352 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2354 2003-07-13 Michael Koch <konqueror@gmx.de>
2356 * gnu/java/locale/LocaleInformation_de.java
2357 * gnu/java/locale/LocaleInformation_en.java
2358 * gnu/java/locale/LocaleInformation_nl.java
2360 2003-07-13 Michael Koch <konqueror@gmx.de>
2362 * gnu/java/awt/EmbeddedWindow.java,
2363 gnu/java/awt/EmbeddedWindowSupport.java,
2364 gnu/java/awt/natEmbeddedWindow.cc:
2366 * java/awt/Window.java
2367 (Window): New constructor to support embedded windows.
2369 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
2370 gnu/java/awt/EmbeddedWindowSupport.java.
2371 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
2372 * Makefile.in: Regenerated.
2374 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
2376 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
2377 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
2378 * java/awt/im/InputContext.java: Remove a redundant
2381 2003-07-09 Tom Tromey <tromey@redhat.com>
2383 * Makefile.in: Rebuilt.
2384 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
2386 2003-07-09 Mark Wielaard <mark@klomp.org>
2388 * java/io/ObjectOutputStream.java (writeObject): break after
2389 calling writeClassDescriptor().
2391 2003-07-09 Mark Mitchell <mark@codesourcery.com>
2393 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
2395 2003-07-09 Michael Koch <konqueror@gmx.de>
2397 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2398 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
2399 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
2400 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
2401 Explicitly import used classes.
2402 * java/awt/Container.java: New version from classpath.
2404 2003-07-09 Michael Koch <konqueror@gmx.de>
2406 * libgcj.pc.in: New file.
2407 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
2408 * Makefile.in: Regenerated.
2409 * configure: Regenrated.
2410 * configure.in: Create libgcj.pc from libgcj.pc.in.
2412 2003-07-08 Mark Wielaard <mark@klomp.org>
2414 * gcj/cni.h: CNI now expands to Compiled Native Interface.
2416 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
2417 * java/lang/fdlibm.h: Likewise.
2419 2003-07-07 Adam Megacz <adam@xwt.org>
2421 * posix.cc: added #include<stdio.h>
2423 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2425 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
2428 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2429 (setCaretPosition, setEditable): Rely entirely on native
2432 (postTextEvent): New method.
2433 (handleEvent): New method.
2434 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
2436 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
2437 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2438 (keysym_to_awt_keycode): Fix range checks.
2439 (generates_key_typed_event): New function.
2440 (awt_event_handler): Post AWT_KEY_RELEASED events to event
2442 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2443 (gtkInit): Store TextComponent's postTextEvent method ID.
2444 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2445 (setText): Post TEXT_VALUE_CHANGED event to event queue.
2447 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2449 * configure.in: Check for usleep declaration.
2450 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
2451 * configure: Regenerate.
2452 * include/config.h.in: Likewise.
2453 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
2455 2003-07-01 Michael Koch <konqueror@gmx.de>
2457 * gnu/gcj/convert/natIconv.cc
2458 (iconv_init): Fixed possible memory leak by releasing allocated iconv
2461 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2463 * glib-2.0.m4: New file.
2464 * gtk-2.0.m4: New file.
2467 * configure.in: Update AM_PATH_GTK macro call to
2468 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
2469 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
2470 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
2471 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2472 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
2473 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2474 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2475 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
2476 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
2477 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2478 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
2479 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2480 jni/gtk-peer/gthread-jni.c,
2481 jni/gtk-peer/gthread-jni.h:
2482 New versions from classpath.
2483 * aclocal.m4: Regenerate.
2484 * configure: Regenerate.
2485 * Makefile.in: Regenerate.
2486 * gcj/Makefile.in: Regenerate.
2487 * include/Makefile.in: Regenerate.
2488 * testsuite/Makefile.in: Regenerate.
2490 2003-06-30 Gary Benson <gbenson@redhat.com>
2492 For PR libgcj/11349:
2493 * javax/naming/spi/NamingManager.java (getURLContext): Use
2494 correct name for factory class.
2496 2003-06-28 Michael Koch <konqueror@gmx.de>
2498 * java/io/PrintStream.java
2499 (checkError): Call flush() instead of direct flushing of the Writer
2501 (print): Call print(String) instead of direct print method of the
2503 (println): Call println(String) instead of direct println method of the
2505 (write): Simplified.
2507 2003-06-28 Michael Koch <konqueror@gmx.de>
2509 * java/net/ServerSocket.java
2510 (setChannel): New method.
2511 * java/net/Socket.java
2512 (setChannel): New method.
2514 2003-06-27 Michael Koch <konqueror@gmx.de>
2516 * java/beans/beancontext/BeanContextSupport.java:
2517 New version from classpath.
2519 2003-06-27 Michael Koch <konqueror@gmx.de>
2521 * java/awt/Window.java,
2522 java/awt/font/GraphicAttribute.java,
2523 java/awt/font/ImageGraphicAttribute.java,
2524 java/awt/image/DataBufferByte.java,
2525 java/awt/image/DataBufferInt.java,
2526 java/awt/image/DataBufferUShort.java,
2527 java/awt/image/DirectColorModel.java,
2528 java/awt/image/PixelGrabber.java:
2529 New versions from classpath.
2531 2003-06-27 Michael Koch <konqueror@gmx.de>
2533 * java/security/Certificate.java
2534 (getGuarantor): Removed wrong @deprecated tag.
2535 (getPrincipal): Likewise.
2536 (getPublicKey): Likewise.
2539 (getFormat): Likewise.
2540 (toString): Likewise.
2541 * java/security/cert/PolicyQualifierInfo.java
2542 (PolicyQualifierInfo): Made final.
2543 * javax/security/auth/x500/X500Principal.java
2544 (serialVersionUID): New member variable.
2546 2003-06-27 Michael Koch <konqueror@gmx.de>
2548 * java/text/Format.java
2549 (serialVersionUID): Fixed value.
2551 2003-06-27 Michael Koch <konqueror@gmx.de>
2553 * java/net/Inet4Address.java
2554 (Inet4Address): Made package-private.
2555 * java/net/Inet6Address.java
2556 (Inet4Address): Made package-private.
2558 2003-06-27 Michael Koch <konqueror@gmx.de>
2560 * java/io/RandomAccessFile.java
2561 (readLine): Removed wrong @deprecated tag.
2562 (getChannel): Made final.
2564 2003-06-27 Michael Koch <konqueror@gmx.de>
2566 * gnu/java/nio/FileChannelImpl.java
2569 2003-06-27 Michael Koch <konqueror@gmx.de>
2571 * java/nio/ByteBufferImpl.java
2572 (ByteBufferImpl): Made it a package-private class
2573 * java/nio/CharBufferImpl.java
2574 (CharBufferImpl): Made it a package-private class
2575 * java/nio/DirectByteBufferImpl.java
2576 (DirectByteBufferImpl): Made it a package-private class
2577 * java/nio/DoubleBufferImpl.java
2578 (DoubleBufferImpl): Made it a package-private class
2579 * java/nio/FloatBufferImpl.java
2580 (FloatBufferImpl): Made it a package-private class
2581 * java/nio/IntBufferImpl.java
2582 (IntBufferImpl): Made it a package-private class
2583 * java/nio/LongBufferImpl.java
2584 (LongBufferImpl): Made it a package-private class
2585 * java/nio/ShortBufferImpl.java
2586 (ShortBufferImpl): Made it a package-private class
2587 * java/nio/channels/FileChannel.java
2588 (write): Made final.
2589 * java/nio/channels/ServerSocketChannel.java
2590 (ServerSocketChanne): Made protected.
2592 2003-06-27 Michael Koch <konqueror@gmx.de>
2594 * javax/naming/CompositeName.java
2595 (serialVersionUID): New member variable.
2596 * javax/naming/CompoundName.java
2597 (serialVersionUID): New member variable.
2598 * javax/naming/InitialContext.java
2599 (InitialContext): Throws NamingException.
2601 * javax/naming/LinkRef.java
2602 (serialVersionUID): New member variable.
2603 (gteLinkName): Throws NamingException.
2604 * javax/naming/NamingException.java
2605 (serialVersionUID): New member variable.
2606 * javax/naming/NamingSecurityException.java
2607 (NamingSecurityException): Made abstract.
2608 (serialVersionUID): New member variable.
2609 * javax/naming/ReferralException.java
2610 (serialVersionUID): New member variable.
2611 * javax/naming/StringRefAddr.java
2612 (serialVersionUID): New member variable.
2613 * javax/naming/directory/BasicAttribute.java:
2615 (serialVersionUID): New member variable.
2616 (get): Throws NamingException.
2617 (getAll): Throws NamingException.
2618 * javax/naming/directory/BasicAttributes.java:
2620 (serialVersionUID): New member variable.
2621 * javax/naming/ldap/UnsolicitedNotificationEvent.java
2622 (serialVersionUID): New member variable.
2624 2003-06-27 Michael Koch <konqueror@gmx.de>
2627 (awt_java_source_files): Added new files:
2628 javax/swing/Popup.java,
2629 javax/swing/PopupFactory.java
2630 * Makefile.in: Regenerated.
2632 2003-06-27 Michael Koch <konqueror@gmx.de>
2634 * javax/swing/JWindow.java,
2635 javax/swing/event/AncestorEvent.java,
2636 javax/swing/event/HyperlinkEvent.java,
2637 javax/swing/event/InternalFrameEvent.java,
2638 javax/swing/event/ListDataEvent.java,
2639 javax/swing/event/TableModelEvent.java,
2640 javax/swing/plaf/PopupMenuUI.java,
2641 javax/swing/plaf/SplitPaneUI.java,
2642 javax/swing/plaf/TabbedPaneUI.java,
2643 javax/swing/plaf/TextUI.java,
2644 javax/swing/plaf/TreeUI.java,
2645 javax/swing/plaf/basic/BasicTextUI.java,
2646 javax/swing/plaf/basic/BasicTreeUI.java:
2647 New versions from classpath.
2648 * javax/swing/Popup.java,
2649 javax/swing/PopupFactory.jav:
2650 New source files from classpath.
2651 * javax/swing/plaf/doc-files/TreeUI-1.png:
2652 New binary files from classpath.
2654 2003-06-25 Michael Koch <konqueror@gmx.de>
2657 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
2658 * Makefile.in: Regenerated.
2660 2003-06-25 Michael Koch <konqueror@gmx.de>
2662 * javax/swing/plaf/ActionMapUIResource.java,
2663 javax/swing/plaf/BorderUIResource.java,
2664 javax/swing/plaf/ButtonUI.java,
2665 javax/swing/plaf/ColorChooserUI.java,
2666 javax/swing/plaf/ColorUIResource.java,
2667 javax/swing/plaf/ComboBoxUI.java,
2668 javax/swing/plaf/ComponentInputMapUIResource.java,
2669 javax/swing/plaf/ComponentUI.java,
2670 javax/swing/plaf/DesktopIconUI.java,
2671 javax/swing/plaf/DesktopPaneUI.java,
2672 javax/swing/plaf/DimensionUIResource.java,
2673 javax/swing/plaf/FileChooserUI.java,
2674 javax/swing/plaf/FontUIResource.java,
2675 javax/swing/plaf/IconUIResource.java,
2676 javax/swing/plaf/InputMapUIResource.java,
2677 javax/swing/plaf/InsetsUIResource.java,
2678 javax/swing/plaf/InternalFrameUI.java,
2679 javax/swing/plaf/LabelUI.java,
2680 javax/swing/plaf/ListUI.java,
2681 javax/swing/plaf/MenuBarUI.java,
2682 javax/swing/plaf/MenuItemUI.java,
2683 javax/swing/plaf/OptionPaneUI.java,
2684 javax/swing/plaf/PanelUI.java,
2685 javax/swing/plaf/ProgressBarUI.java,
2686 javax/swing/plaf/RootPaneUI.java,
2687 javax/swing/plaf/ScrollBarUI.java,
2688 javax/swing/plaf/ScrollPaneUI.java,
2689 javax/swing/plaf/SeparatorUI.java,
2690 javax/swing/plaf/SliderUI.java,
2691 javax/swing/plaf/TableHeaderUI.java,
2692 javax/swing/plaf/TableUI.java,
2693 javax/swing/plaf/ToolBarUI.java,
2694 javax/swing/plaf/ToolTipUI.java,
2695 javax/swing/plaf/ViewportUI.java:
2696 New versions from classpath.
2697 * javax/swing/plaf/SpinnerUI.java:
2698 New file from classpath
2700 2003-06-25 Michael Koch <konqueror@gmx.de>
2702 * java/awt/image/ColorModel.java:
2703 New version from classpath.
2705 2003-06-25 Michael Koch <konqueror@gmx.de>
2707 * java/net/PlainDatagramSocketImpl.java:
2708 Partly merged with classpath, this mainly adds documentation.
2710 2003-06-25 Michael Koch <konqueror@gmx.de>
2712 * java/io/ObjectInputStream.java
2713 (readClassDescriptor): New method.
2714 (readObject): Moved functionality to readClassDescriptor().
2715 * java/io/ObjectOutputStream.java
2716 (writeClassDescriptor): New method.
2717 (writeObject): Moved functionality to writeClassDescriptor().
2719 2003-06-25 Michael Koch <konqueror@gmx.de>
2721 * javax/swing/plaf/basic/BasicListUI.java,
2722 javax/swing/plaf/basic/BasicOptionPaneUI.java:
2723 Added missing methods.
2725 2003-06-25 Michael Koch <konqueror@gmx.de>
2727 * javax/swing/event/AncestorEvent.java
2728 javax/swing/event/HyperlinkEvent.java
2729 javax/swing/event/InternalFrameEvent.java
2730 javax/swing/event/ListDataEvent.java
2731 javax/swing/event/TableModelEvent.java:
2734 2003-06-24 Michael Koch <konqueror@gmx.de>
2736 * java/net/URL.java:
2737 Renamed "handler" to "ph" in the whole file to match classpaths
2739 * java/net/URLStreamHandler.java:
2740 (equals): Renamed "handler" to "ph".
2742 2003-06-24 Michael Koch <konqueror@gmx.de>
2744 * javax/swing/event/AncestorEvent.java,
2745 javax/swing/event/HyperlinkEvent.java,
2746 javax/swing/event/InternalFrameEvent.java,
2747 javax/swing/event/ListDataEvent.java,
2748 javax/swing/event/TableModelEvent.java,
2749 javax/swing/event/TreeWillExpandListener.java,
2750 javax/swing/plaf/ComponentUI.java,
2751 javax/swing/plaf/DesktopIconUI.java,
2752 javax/swing/plaf/DesktopPaneUI.java,
2753 javax/swing/plaf/DimensionUIResource.java,
2754 javax/swing/plaf/FileChooserUI.java,
2755 javax/swing/plaf/FontUIResource.java,
2756 javax/swing/plaf/IconUIResource.java,
2757 javax/swing/plaf/InputMapUIResource.java,
2758 javax/swing/plaf/InsetsUIResource.java,
2759 javax/swing/plaf/InternalFrameUI.java,
2760 javax/swing/plaf/LabelUI.java,
2761 javax/swing/plaf/ListUI.java,
2762 javax/swing/plaf/MenuBarUI.java,
2763 javax/swing/plaf/MenuItemUI.java,
2764 javax/swing/plaf/OptionPaneUI.java,
2765 javax/swing/plaf/PanelUI.java,
2766 javax/swing/plaf/ProgressBarUI.java,
2767 javax/swing/plaf/doc-files/ComponentUI-1.dia,
2768 javax/swing/plaf/doc-files/ComponentUI-1.png:
2769 New versions from classpath.
2771 2003-06-24 Michael Koch <konqueror@gmx.de>
2773 * java/nio/Buffer.java
2774 (cap): Made package-private.
2779 2003-06-24 Michael Koch <konqueror@gmx.de>
2781 * java/net/SocketImpl.java
2782 (shutdownInput): Made it non-abstract method throwing an exception
2784 (shutdownOutput): Likewise.
2785 * java/net/SocketInputStream.java,
2786 java/net/SocketOutputStream.java:
2787 New files from classpath.
2789 2003-06-24 Michael Koch <konqueror@gmx.de>
2791 * java/awt/Font.java,
2792 java/awt/Window.java,
2793 java/awt/color/ColorSpace.java,
2794 java/awt/datatransfer/StringSelection.java,
2795 java/awt/image/ColorModel.java:
2796 New versions from classpath.
2798 2003-06-24 Michael Koch <konqueror@gmx.de>
2801 (awt_java_source_files): Added new files:
2802 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
2803 javax/swing/plaf/basic/BasicSplitPaneUI.java
2804 * Makefile.in: Regenerated.
2806 2003-06-24 Michael Koch <konqueror@gmx.de>
2808 * javax/swing/text/JTextComponent.java:
2809 New version from classpath.
2811 2003-06-24 Michael Koch <konqueror@gmx.de>
2813 * javax/swing/Timer.java,
2814 javax/swing/plaf/ActionMapUIResource.java,
2815 javax/swing/plaf/ButtonUI.java,
2816 javax/swing/plaf/ColorChooserUI.java,
2817 javax/swing/plaf/ColorUIResource.java,
2818 javax/swing/plaf/ComboBoxUI.java,
2819 javax/swing/plaf/ComponentInputMapUIResource.java,
2820 javax/swing/plaf/basic/BasicBorders.java:
2821 New versions from classpath.
2822 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
2823 javax/swing/plaf/basic/BasicSplitPaneUI.java:
2824 New file from classpath.
2825 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
2826 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
2827 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
2828 javax/swing/plaf/doc-files/ComponentUI-1.dia,
2829 javax/swing/plaf/doc-files/ComponentUI-1.png:
2830 New binary files from classpath.
2832 2003-06-24 Michael Koch <konqueror@gmx.de>
2834 * java/io/LineNumberReader.java
2835 (skip): Dont do line number accounting here as this is already done in
2838 2003-06-21 Michael Koch <konqueror@gmx.de>
2841 (static): Load javaio lib if existing (only in classpath).
2842 (File): Revised documentation to show the correct argument name.
2843 (createTempFile): Partly merged with classpath.
2844 (compareTo): Simplified.
2845 (lastModified): Throw exception if time < 0.
2846 (deleteOnExit): Revised documentation.
2848 2003-06-21 Michael Koch <konqueror@gmx.de>
2850 * java/net/PlainSocketImpl.java:
2852 (PlainSocketImpl): Merged class documentaion with classpath.
2855 (PlainSocketImpl): New empty constructor.
2857 (setOption): Merged documentation from classpath.
2858 (getOption): Likewise.
2860 (connect): Likewise.
2864 (available): Likewise.
2868 (getInputStream): Made synchronozed to get sure that only one stream
2869 object can be created for this socket, merged documentation from
2871 (getOutputStream): Likewise.
2873 2003-06-21 Michael Koch <konqueror@gmx.de>
2875 * java/net/PlainSocketImpl.java:
2877 (static): New implicit method.
2878 (read): Made package private.
2881 2003-06-21 Michael Koch <konqueror@gmx.de>
2883 * java/util/SimpleTimeZone.java:
2884 Removed unneeded import, reformatting.
2886 2003-06-21 Michael Koch <konqueror@gmx.de>
2888 * java/text/DateFormat.java,
2889 java/text/SimpleDateFormat.java,
2890 java/util/Locale.java:
2891 New versions from classpath.
2893 2003-06-21 Michael Koch <konqueror@gmx.de>
2895 * javax/swing/SpinnerModel.java:
2896 New file from classpath.
2897 * javax/swing/border/LineBorder.java,
2898 javax/swing/border/SoftBevelBorder.java,
2899 javax/swing/plaf/BorderUIResource.java,
2900 javax/swing/plaf/basic/BasicBorders.java:
2901 New versions from classpath.
2902 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
2903 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
2904 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
2905 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
2906 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
2907 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
2908 New binary files from classpath.
2910 2003-06-21 Michael Koch <konqueror@gmx.de>
2912 * java/util/logging/LogRecord.java,
2913 java/util/logging/Logger.java,
2914 java/util/logging/SocketHandler.java,
2915 java/util/logging/SimpleFormatter.java,
2916 java/util/logging/Formatter.java,
2917 java/util/logging/ErrorManager.java,
2918 java/util/logging/Handler.java,
2919 java/util/logging/FileHandler.java,
2920 java/util/logging/LogManager.java,
2921 java/util/logging/Level.java,
2922 java/util/logging/ConsoleHandler.java,
2923 java/util/logging/StreamHandler.java,
2924 java/util/logging/LoggingPermission.java,
2925 java/util/logging/Filter.java,
2926 java/util/logging/MemoryHandler.java,
2927 java/util/logging/XMLFormatter.java:
2928 New files from classpath.
2930 2003-06-20 Michael Koch <konqueror@gmx.de>
2932 * java/io/ObjectStreamField.java
2933 (unshared): new member variable.
2934 (ObjectStreamField): New constructor.
2935 (isUnshared): New method.
2937 2003-06-20 Michael Koch <konqueror@gmx.de>
2939 * java/net/URLStreamHandler.java
2940 (hostsEqual): Rewritten.
2942 2003-06-20 Michael Koch <konqueror@gmx.de>
2944 * gnu/java/nio/MappedByteFileBuffer.java,
2945 gnu/java/nio/natMappedByteFileBuffer.cc:
2947 * java/nio/MappedByteBufferImpl.java:
2949 * gnu/java/nio/FileChannelImpl.java:
2950 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
2952 (ordinary_java_source_files): Removed
2953 gnu/java/nio/MappedByteFileBuffer.java and added
2954 java/nio/MappedByteBufferImpl.java.
2955 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
2956 * Makefile.in: Regenerated.
2958 2003-06-19 Michael Koch <konqueror@gmx.de>
2960 * gnu/java/nio/DatagramChannelImpl.java
2962 (blocking): New member variable.
2964 (DatagramChannelImpl): Throws IOException, initialize socket.
2965 (socket):Implemented.
2966 (implCloseSelectableChannel): Throws IOException, implemented.
2967 (implConfigureBlocking): Likewise.
2968 (connect): Likewise.
2969 (disconnect): Likewise.
2970 (isConnected): Likewise.
2973 (receive): Throws IOException.
2975 * gnu/java/nio/SocketChannelImpl.java
2976 (read): Implemented.
2977 (write): Implemented.
2979 2003-06-19 Michael Koch <konqueror@gmx.de>
2981 * javax/swing/JComponent.java,
2982 javax/swing/JInternalFrame.java,
2983 javax/swing/MenuSelectionManager.java,
2984 javax/swing/SwingUtilities.java,
2985 javax/swing/ToggleButtonModel.java:
2986 New versions from classpath.
2988 2003-06-19 Michael Koch <konqueror@gmx.de>
2990 * java/text/CollationElementIterator.java
2991 (NULLORDER): Initialize with -1 as JDK documentation says.
2993 2003-06-19 Michael Koch <konqueror@gmx.de>
2995 * java/net/HttpURLConnection.java,
2996 java/net/Inet4Address.java,
2997 java/net/Inet6Address.java,
2998 java/net/SocketImpl.java,
2999 java/net/URLClassLoader.java:
3000 Reworked import statements.
3001 * java/net/InetAddress.java
3002 (getByAddress): Simplified.
3003 * java/net/ServerSocket.java
3004 (ServerSocket): Moved special handling during bind operation to
3006 (bind): Handle different cases when trying to bind a socket.
3007 * java/net/URLConnection.java
3008 (getHeaderFieldDate): Merged with classpath.
3009 (getHeaderFieldInt): Likewise.
3011 2003-06-19 Michael Koch <konqueror@gmx.de>
3013 * java/util/zip/InflaterInputStream.java
3014 (InflaterInputStream): Throw NullPointerException if in is null (as
3017 2003-06-19 Michael Koch <konqueror@gmx.de>
3019 * java/awt/Font.java
3020 javax/swing/UIManager.java
3021 javax/swing/border/AbstractBorder.java
3022 javax/swing/border/BevelBorder.java
3023 javax/swing/border/Border.java
3024 javax/swing/border/CompoundBorder.java
3025 javax/swing/border/EmptyBorder.java
3026 javax/swing/border/EtchedBorder.java
3027 javax/swing/border/LineBorder.java
3028 javax/swing/border/MatteBorder.java
3029 javax/swing/border/TitledBorder.java
3030 javax/swing/plaf/BorderUIResource.java
3031 javax/swing/plaf/basic/BasicBorders.java
3032 javax/swing/plaf/basic/BasicButtonUI.java
3033 javax/swing/plaf/basic/BasicCheckBoxUI.java
3034 javax/swing/plaf/basic/BasicGraphicsUtils.java
3035 javax/swing/plaf/basic/BasicLabelUI.java
3036 javax/swing/plaf/basic/BasicRadioButtonUI.java
3037 javax/swing/plaf/basic/BasicToggleButtonUI.java:
3038 New versions from classpath.
3039 * javax/swing/border/SoftBevelBorder.java:
3040 New file from classpath.
3041 * javax/swing/border/doc-files/LineBorder-1.png,
3042 javax/swing/border/doc-files/BevelBorder-1.png,
3043 javax/swing/border/doc-files/BevelBorder-2.png,
3044 javax/swing/border/doc-files/BevelBorder-3.png,
3045 javax/swing/border/doc-files/EmptyBorder-1.png,
3046 javax/swing/border/doc-files/EtchedBorder-1.png,
3047 javax/swing/border/doc-files/EtchedBorder-2.png,
3048 javax/swing/border/doc-files/MatteBorder-1.png,
3049 javax/swing/border/doc-files/MatteBorder-2.png,
3050 javax/swing/border/doc-files/MatteBorder-3.png,
3051 javax/swing/border/doc-files/MatteBorder-4.png,
3052 javax/swing/border/doc-files/MatteBorder-5.png,
3053 javax/swing/border/doc-files/MatteBorder-6.png,
3054 javax/swing/border/doc-files/SoftBevelBorder-1.png,
3055 javax/swing/border/doc-files/SoftBevelBorder-2.png,
3056 javax/swing/border/doc-files/SoftBevelBorder-3.png,
3057 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
3058 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
3059 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
3060 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
3061 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
3062 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
3063 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
3064 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
3065 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
3066 New binary files from classpath.
3068 (awt_java_source_files): Added
3069 javax/swing/border/SoftBevelBorder.java.
3070 * Makefile.in: Regenerated.
3072 2003-06-19 Michael Koch <konqueror@gmx.de>
3074 * gnu/java/security/x509/X509Certificate.java
3075 (writeReplace): Merged from classpath.
3077 2003-06-19 Michael Koch <konqueror@gmx.de>
3079 * gnu/java/nio/FileChannelImpl.java
3080 (map_address): Made public.
3081 (FileChannelImpl): Merged with classpath.
3082 * gnu/java/nio/natFileChannelImpl.cc
3083 (nio_mmap_file): Commented out unused arguments.
3084 (nio_unmmap_file): Likewise.
3085 (niu_msync): Likewise.
3087 2003-06-19 Michael Koch <konqueror@gmx.de>
3089 * java/awt/image/IndexColorModel.java:
3090 New version from classpath.
3092 2003-06-18 Tom Tromey <tromey@redhat.com>
3094 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
3096 (isLoopbackAddress): Likewise.
3097 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
3100 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
3102 * java/lang/natVMSecurityManager.cc (getClassContext):
3103 Use maxlen instead of len for loop bound.
3105 2003-06-18 Michael Koch <konqueror@gmx.de>
3107 * gnu/java/nio/SelectorImpl.java
3108 (register): Use fd with value 0 for now, will be fixed later.
3109 * gnu/java/nio/ServerSocketChannelImpl.java
3111 (local_port): Removed.
3112 (InetSocketAddress): Removed.
3113 (ServerSocketChannelImpl): Just initialize internal socket object.
3114 (implCloseSelectableChannel): Close internal socket object.
3115 (implConfigureBlocking): Added comment.
3116 (accept): Use jaba.net stuff to accept socket.
3117 * gnu/java/nio/SocketChannelImpl.java
3119 (local_port): Removed.
3120 (InetSocketAddress): Removed.
3121 (SocketCreate): Removed.
3122 (SocketConnect): Removed.
3123 (SocketBind): Removed.
3124 (SocketListen): Removed.
3125 (SocketAvailable): Removed.
3126 (SocketClose): Removed.
3127 (SocketRead): Removed.
3128 (SocketWrite): Removed.
3129 (SocketChannelImpl): Just initialize internal socket object.
3130 (implCloseSelectableChannel): Close internal socket object.
3131 (implConfigureBlocking): Fixed implementation, added comment.
3132 (connect): Use internal socket object to connect.
3133 (socket): No need for sanity checks.
3134 (read): Comment out some stuff, this will be reimplemented in the next
3137 * gnu/java/nio/natFileChannelImpl.cc
3138 (nio_mmap_file): Line wrapped.
3139 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
3141 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
3142 * Makefile.in: Regenerated.
3144 2003-06-18 Michael Koch <konqueror@gmx.de>
3146 * java/util/Locale.java
3147 (equals): Merged from classpath.
3149 2003-06-18 Michael Koch <konqueror@gmx.de>
3151 * java/net/InetAddress.java:
3152 Reformatted to better match classpath's version.
3154 (equals): Simplified.
3155 * java/net/URLConnection.java
3156 (setDoInput): Revised documentation.
3157 (getDefaultUseCaches): Likewise.
3158 (setRequestProperty): Added @since tag.
3160 2003-06-17 Michael Koch <konqueror@gmx.de>
3162 * java/net/InetSocketAddress.java
3163 (InetSocketAddress): Use wildcard address if addr is null.
3164 (InetSocketAddress): Dont duplicate implementation.
3165 (InetSocketAddress): Throw exception when hostname is null.
3166 * java/net/Socket.java:
3168 (Socket): Throw exception when raddr is null, handle case when laddr
3171 2003-06-17 Michael Koch <konqueror@gmx.de>
3173 * java/nio/DirectByteBufferImpl.java
3174 (address): Made package private.
3175 (DirectByteBufferImpl): New constructor.
3176 * java/nio/natDirectByteBufferImpl.cc
3177 (allocateImpl): Moved to java.nio namespace, implemented.
3178 (freeImpl): Likewise.
3179 (getImpl): Likewise.
3180 (putImpl): Likewise.
3182 (_Jv_JNI_NewDirectByteBuffer): Implemented.
3183 (_Jv_JNI_GetDirectBufferAddress): Implemented.
3184 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
3186 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3188 * include/powerpc-signal.h: New File.
3189 * configure.in: Use it.
3190 * configure: Regenerated.
3192 2003-06-17 Michael Koch <konqueror@gmx.de>
3194 * java/util/Locale.java
3195 (getDisplayLanguage): Made it final.
3196 (getDisplayCountry): Likewise.
3197 (getDisplayVariant): Likewise.
3198 (getDisplayName): Likewise.
3200 2003-06-17 Michael Koch <konqueror@gmx.de>
3202 * java/util/PropertyResourceBundle.java:
3203 Removed unneeded import.
3205 2003-06-17 Michael Koch <konqueror@gmx.de>
3207 * java/util/prefs/AbstractPreferences.java,
3208 java/util/prefs/PreferencesFactory.java:
3209 Reworked imports, removed unused imports.
3210 * java/util/prefs/Preferences.java
3211 (systemNodeForPackage): Method takes a Class not an Object.
3212 (userNodeForPackage): Likewise.
3213 (nodeForPackage): Likewise.
3215 2003-06-17 Michael Koch <konqueror@gmx.de>
3217 * gnu/java/security/x509/X509Certificate.java:
3218 Explicitely import used classes.
3220 2003-06-17 Michael Koch <konqueror@gmx.de>
3222 * java/util/zip/ZipEntry.java,
3223 java/util/zip/ZipFile.java,
3224 java/util/zip/ZipInputStream.java,
3225 java/util/zip/ZipOutputStream.java:
3226 Reworked imports, only import used classes.
3228 2003-06-17 Michael Koch <konqueror@gmx.de>
3230 * gnu/java/lang/ArrayHelper.java,
3231 gnu/java/lang/ClassHelper.java:
3232 Reformatted to match classpath's versions.
3234 2003-06-14 Michael Koch <konqueror@gmx.de>
3236 * gnu/java/nio/FileChannelImpl.java
3237 (map_address): Removed incorrect comment.
3238 * gnu/java/nio/SelectorImpl.java
3239 (register): Remove code duplication and code for file channel handling.
3240 * gnu/java/nio/ServerSocketChannelImpl.java
3241 (serverSocket): Renamed from sock_object.
3242 (ServerSocketChannel): Initialize serverSocket.
3243 (socket): Return serverSocket.
3244 * gnu/java/nio/SocketChannelImpl.java
3245 (socket): Renamed from sock_object.
3246 (isConnectionPenging): Simplified.
3247 (socket): Return socket.
3248 2003-06-14 Michael Koch <konqueror@gmx.de>
3250 * java/security/BasicPermission.java:
3251 New version from classpath.
3253 2003-06-14 Michael Koch <konqueror@gmx.de>
3255 * javax/naming/directory/Attribute.java:
3256 New version from classpath.
3258 2003-06-14 Michael Koch <konqueror@gmx.de>
3260 * java/io/BufferedReader.java,
3261 java/io/FileOutputStream.java:
3262 New versions from classpath.
3264 2003-06-12 Andrew Haley <aph@redhat.com>
3266 * prims.cc (catch_segv): Create exception in handler.
3267 (catch_fpe): Likewise.
3268 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
3269 (_Jv_ThrowSignal): Remove.
3271 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
3272 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
3273 to nullp and arithexception.
3274 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3275 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3276 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3277 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3278 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3280 2003-06-11 Andrew Haley <aph@redhat.com>
3282 * jni.cc (_Jv_JNI_check_types): New.
3283 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
3284 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
3285 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
3286 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
3288 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
3291 2003-06-11 Tom Tromey <tromey@redhat.com>
3293 * java/lang/ClassLoader.java (loadClass): Not deprecated.
3294 * java/io/PrintStream.java: Not deprecated.
3296 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
3298 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
3299 (fillOval): implemented
3300 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
3301 (fillArc): implemented.
3302 * gnu/gcj/xlib/GC.java (drawArc): added native method.
3303 (fillArc): added native method.
3304 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
3305 (fillArc): added native method.
3307 2003-06-11 Michael Koch <konqueror@gmx.de>
3309 * java/awt/im/InputSubset.java:
3310 New version from classpath.
3312 2003-06-11 Michael Koch <konqueror@gmx.de>
3314 * javax/swing/AbstractAction.java,
3315 javax/swing/AbstractButton.java,
3316 javax/swing/AbstractCellEditor.java,
3317 javax/swing/AbstractListModel.java,
3318 javax/swing/BorderFactory.java,
3319 javax/swing/Box.java,
3320 javax/swing/BoxLayout.java,
3321 javax/swing/ButtonGroup.java,
3322 javax/swing/DefaultButtonModel.java,
3323 javax/swing/DefaultListModel.java,
3324 javax/swing/DefaultListSelectionModel.java,
3325 javax/swing/FocusManager.java,
3326 javax/swing/ImageIcon.java,
3327 javax/swing/InputMap.java,
3328 javax/swing/JApplet.java,
3329 javax/swing/JButton.java,
3330 javax/swing/JCheckBox.java,
3331 javax/swing/JCheckBoxMenuItem.java,
3332 javax/swing/JColorChooser.java,
3333 javax/swing/JComboBox.java,
3334 javax/swing/JComponent.java,
3335 javax/swing/JDesktopPane.java,
3336 javax/swing/JDialog.java,
3337 javax/swing/JEditorPane.java,
3338 javax/swing/JFileChooser.java,
3339 javax/swing/JFormattedTextField.java,
3340 javax/swing/JFrame.java,
3341 javax/swing/JLabel.java,
3342 javax/swing/JLayeredPane.java,
3343 javax/swing/JList.java,
3344 javax/swing/JMenuBar.java,
3345 javax/swing/JMenuItem.java,
3346 javax/swing/JOptionPane.java,
3347 javax/swing/JPanel.java,
3348 javax/swing/JPasswordField.java,
3349 javax/swing/JPopupMenu.java,
3350 javax/swing/JProgressBar.java,
3351 javax/swing/JRadioButton.java,
3352 javax/swing/JRadioButtonMenuItem.java,
3353 javax/swing/JRootPane.java,
3354 javax/swing/JScrollBar.java,
3355 javax/swing/JScrollPane.java,
3356 javax/swing/JSeparator.java,
3357 javax/swing/JSlider.java,
3358 javax/swing/JTabbedPane.java,
3359 javax/swing/JTable.java,
3360 javax/swing/JTextField.java,
3361 javax/swing/JToggleButton.java,
3362 javax/swing/JToolBar.java,
3363 javax/swing/JToolTip.java,
3364 javax/swing/JTree.java,
3365 javax/swing/JViewport.java,
3366 javax/swing/JWindow.java,
3367 javax/swing/KeyStroke.java,
3368 javax/swing/ListSelectionModel.java,
3369 javax/swing/LookAndFeel.java,
3370 javax/swing/RepaintManager.java,
3371 javax/swing/ScrollPaneLayout.java,
3372 javax/swing/SizeRequirements.java,
3373 javax/swing/SwingConstants.java,
3374 javax/swing/Timer.java,
3375 javax/swing/UIDefaults.java,
3376 javax/swing/UIManager.java,
3377 javax/swing/border/AbstractBorder.java,
3378 javax/swing/border/CompoundBorder.java,
3379 javax/swing/colorchooser/AbstractColorChooserPanel.java,
3380 javax/swing/colorchooser/ColorChooserComponentFactory.java,
3381 javax/swing/colorchooser/ColorSelectionModel.java,
3382 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3383 javax/swing/event/AncestorEvent.java,
3384 javax/swing/event/HyperlinkEvent.java,
3385 javax/swing/event/InternalFrameAdapter.java,
3386 javax/swing/event/InternalFrameEvent.java,
3387 javax/swing/event/ListDataEvent.java,
3388 javax/swing/event/MouseInputAdapter.java,
3389 javax/swing/event/SwingPropertyChangeSupport.java,
3390 javax/swing/event/TableModelEvent.java,
3391 javax/swing/event/TreeWillExpandListener.java,
3392 javax/swing/event/UndoableEditEvent.java,
3393 javax/swing/filechooser/FileFilter.java,
3394 javax/swing/filechooser/FileSystemView.java,
3395 javax/swing/filechooser/FileView.java,
3396 javax/swing/plaf/BorderUIResource.java,
3397 javax/swing/plaf/basic/BasicDefaults.java,
3398 javax/swing/table/AbstractTableModel.java,
3399 javax/swing/table/DefaultTableCellRenderer.java,
3400 javax/swing/table/DefaultTableColumnModel.java,
3401 javax/swing/table/DefaultTableModel.java,
3402 javax/swing/table/TableColumn.java,
3403 javax/swing/text/JTextComponent.java,
3404 javax/swing/tree/AbstractLayoutCache.java,
3405 javax/swing/tree/DefaultMutableTreeNode.java,
3406 javax/swing/tree/DefaultTreeCellEditor.java,
3407 javax/swing/tree/DefaultTreeCellRenderer.java,
3408 javax/swing/tree/DefaultTreeModel.java,
3409 javax/swing/tree/DefaultTreeSelectionModel.java,
3410 javax/swing/tree/FixedHeightLayoutCache.java,
3411 javax/swing/tree/TreeCellEditor.java,
3412 javax/swing/tree/TreeModel.java,
3413 javax/swing/tree/TreeNode.java,
3414 javax/swing/tree/TreePath.java,
3415 javax/swing/tree/TreeSelectionModel.java,
3416 javax/swing/tree/VariableHeightLayoutCache.java,
3417 javax/swing/undo/AbstractUndoableEdit.java,
3418 javax/swing/undo/CompoundEdit.java,
3419 javax/swing/undo/StateEdit.java,
3420 javax/swing/undo/UndoManager.java,
3421 javax/swing/undo/UndoableEditSupport.java:
3422 New versions from classpath.
3423 * javax/swing/table/JTableHeader.java:
3424 New file from classpath.
3426 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
3427 * Makefile.in: Regenerated.
3429 2003-06-11 Michael Koch <konqueror@gmx.de>
3431 * java/nio/MappedByteBuffer.java,
3432 java/nio/channels/Channels.java,
3433 java/nio/channels/ServerSocketChannel.java,
3434 java/nio/channels/spi/AbstractSelector.java:
3435 Removed unneeded imports.
3437 2003-06-11 Michael Koch <konqueror@gmx.de>
3439 * java/net/DatagramSocket.java:
3440 Partly merged with classpath.
3442 2003-06-11 Michael Koch <konqueror@gmx.de>
3444 * java/awt/Frame.java,
3445 java/awt/Graphics.java,
3447 java/awt/Robot.java,
3448 java/awt/image/ColorModel.java:
3449 New versions from classpath.
3451 2003-06-10 Michael Koch <konqueror@gmx.de>
3453 * java/io/PrintStream.java:
3454 Merged version from classpath.
3455 (close): Removed sychronized keyword. This class is not garantied to
3459 2003-06-09 Tom Tromey <tromey@redhat.com>
3461 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
3463 (getDescent): Likewise, for "descent".
3465 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
3467 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
3468 (getMaxDescent): adjusted return value.
3469 (getAscent): modified to use metrics for 'O'.
3470 (getDescent): modified to use metrics for 'y'.
3472 2003-06-08 Anthony Green <green@redhat.com>
3474 * java/net/URLStreamHandler.java (sameFile): Fix port value
3476 * java/net/URL.java (handler): Make package private.
3477 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
3479 2003-06-07 Tom Tromey <tromey@redhat.com>
3481 For PR libgcj/11085:
3482 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
3483 Limit number of characters in numeric field when required.
3484 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
3485 Respect maximumIntegerDigits.
3487 2003-06-08 Michael Koch <konqueror@gmx.de>
3489 * java/net/Socket.java
3490 (Socket): Dont initialize inputShutdown and outputShutdown twice,
3491 call bind() and connect() to actually do the bind and connect tasks.
3492 (bind): Connect to canonical address if bindpoint is null, create
3493 socket and bind it to bindpoint.
3494 (connect): Check for exceptions.
3496 2003-06-08 Michael Koch <konqueror@gmx.de>
3498 * java/net/DatagramSocket.java
3499 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
3500 into the Multicast constructors.
3501 * java/net/DatagramSocketImpl.java
3502 (getOption): Removed.
3503 (setOption): Removed.
3504 * java/net/MulticastSocket.java
3505 (MulticastSocket): Call setReuseAddress (true).
3506 * java/net/SocketImpl.java
3507 (getOption): Removed.
3508 (setOption): Removed.
3510 2003-06-07 Jeff Sturm <jsturm@one-point.com>
3513 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
3514 Test for empty vector.
3516 2003-06-06 Mark Wielaard <mark@klomp.org>
3518 * java/security/Security.java (secprops): Initialize.
3519 (loadProviders): Return boolean.
3520 (static): Check result of loadProvider calls. If necessary
3521 display WARNING and fallback to Gnu provider.
3523 2002-06-06 James Clark <jjc@jclark.com>
3525 Fix for PR libgcj/8738:
3526 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
3527 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
3528 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
3529 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
3530 (write): Always decrease avail when count is increased.
3531 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
3532 and whether output buffer is full before increasing size.
3534 2002-06-06 Mark Wielaard <mark@klomp dot org>
3536 * java/io/PrintStream.java (writeChars(char[],int, int)):
3537 Check converter.havePendingBytes().
3538 (writeChars(String,int,int)): Likewise.
3539 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
3540 Check converter.havePendingBytes() and flush buffer when stalled.
3542 2003-06-07 Michael Koch <konqueror@gmx.de>
3545 (O_DSYNC): Define O_DSYNC on platforms not
3546 supporting O_FSYNC (newlib).
3548 2003-06-06 Mark Wielaard <mark@klomp.org>
3550 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
3553 2003-06-06 Michael Koch <konqueror@gmx.de>
3555 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3556 More compile fixes from my stupid work yesterday.
3558 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
3560 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
3561 if _IEEE_LIBM is undefined.
3563 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
3565 * libjava/include/posix.h (O_SYNC): Define if not available
3566 and a reasonable, perhaps more conservative, replacement exists.
3567 (O_DSYNC): Likewise.
3568 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
3570 2003-06-05 Michael Koch <konqueror@gmx.de>
3572 * javax/swing/plaf/BorderUIResource.java,
3573 javax/swing/plaf/basic/BasicDefaults.java,
3574 javax/swing/plaf/basic/BasicOptionPaneUI.java:
3575 More compile fixes for latest Border commit. I should not commit
3576 something in this heat here ...
3578 2003-06-05 Michael Koch <konqueror@gmx.de>
3580 * javax/swing/border/BevelBorder.java
3581 (BevelBorder): Removed.
3582 * javax/swing/border/EmptyBorder.java:
3584 (EmptyBorder): Removed.
3585 (getBorderInsets): Dont use l, r, t and b.
3586 * javax/swing/border/EtchedBorder.java
3587 (EtchedBorder): Removed.
3588 * javax/swing/border/LineBorder.java
3589 (LineBorder): Removed.
3590 * javax/swing/border/MatteBorder.java
3591 (MatteBorder): Removed.
3592 * javax/swing/border/TitledBorder.java
3593 (defaultBorder): Use other default for now.
3594 (defaultFont): Likewise.
3595 (defaultColor): Likewise.
3597 2003-06-05 Michael Koch <konqueror@gmx.de>
3599 * javax/swing/border/Border.java:
3600 New version from classpath.
3602 2003-06-05 Michael Koch <konqueror@gmx.de>
3604 * javax/swing/border/AbstractBorder.java,
3605 javax/swing/border/BevelBorder.java,
3606 javax/swing/border/CompoundBorder.java,
3607 javax/swing/border/EmptyBorder.java,
3608 javax/swing/border/EtchedBorder.java,
3609 javax/swing/border/LineBorder.java,
3610 javax/swing/border/MatteBorder.java,
3611 javax/swing/border/TitledBorder.java:
3612 New versions from Classpath.
3614 2003-06-05 Michael Koch <konqueror@gmx.de>
3616 * java/awt/Button.java,
3617 java/awt/Checkbox.java,
3618 java/awt/CheckboxMenuItem.java,
3619 java/awt/Choice.java,
3620 java/awt/Container.java,
3621 java/awt/Dialog.java,
3622 java/awt/EventQueue.java,
3623 java/awt/FileDialog.java,
3624 java/awt/Frame.java,
3625 java/awt/Label.java,
3628 java/awt/MenuItem.java,
3629 java/awt/Panel.java,
3630 java/awt/PopupMenu.java,
3631 java/awt/Rectangle.java,
3632 java/awt/ScrollPane.java,
3633 java/awt/Scrollbar.java,
3634 java/awt/TextArea.java,
3635 java/awt/TextField.java,
3636 java/awt/Window.java,
3637 java/awt/datatransfer/DataFlavor.java,
3638 java/awt/dnd/DragSource.java,
3639 java/awt/dnd/DragSourceContext.java,
3640 java/awt/event/HierarchyEvent.java,
3641 java/awt/event/MouseWheelEvent.java,
3642 java/awt/im/InputContext.java,
3643 java/awt/image/BufferedImage.java,
3644 java/awt/image/ComponentColorModel.java,
3645 java/awt/image/Raster.java,
3646 java/awt/image/WritableRaster.java,
3647 java/awt/peer/ComponentPeer.java,
3648 java/awt/print/PageFormat.java,
3649 java/awt/print/PrinterJob.java:
3650 New versions from Classpath.
3652 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
3654 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
3655 numberFormat.setParseIntegerOnly(true).
3657 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
3659 * include/posix-threads.h: Include <machine/pal.h> on OSF.
3661 2003-06-03 Andrew Haley <aph@redhat.com>
3663 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
3664 stack volatile to prevent optimization from removing it.
3666 2003-05-27 Michael Koch <konqueror@gmx.de>
3668 * java/util/zip/Deflater.java
3669 (FILTERED): Merged documentation from classpath.
3670 * java/util/zip/DeflaterOutputStream.java
3671 (DeflaterOutputStream): Merged documentation and argument validity
3672 check from classpath.
3673 (deflate): Merged documentation from classpath.
3675 * java/util/zip/Inflater.java
3676 (Inflater): Merged class documentation from classpath.
3677 (zstream): Reordered.
3678 (is_finished): Reordered.
3679 (dict_needed): Reordered.
3680 (Inflater): Reordered, merged documentation from classpath.
3682 (finalize): Merged documentation from classpath.
3683 (finished): Likewise.
3684 (getAdler): Likewise.
3685 (getRemaining): Likewise.
3686 (getTotalIn): Likewise.
3687 (getTotalOut): Likewise.
3688 (inflate): Likewise.
3689 (needsDictionary): Likewise.
3690 (needsInput): Likewise.
3692 (setDictionary): Likewise.
3693 (setInput): Likewise.
3695 2003-05-27 Michael Koch <konqueror@gmx.de>
3697 * java/net/URLConnection.java
3698 (getHeaderFieldInt): Merged with classpath.
3700 2003-05-27 Michael Koch <konqueror@gmx.de>
3702 * java/io/PrintStream.java
3703 (PrintStream): Reformatted.
3704 (PrintStream): New method, merged from classpath.
3705 (write): Reformatted.
3707 2003-05-27 Michael Koch <konqueror@gmx.de>
3709 * java/lang/System.java:
3710 Explicitely import needed classes.
3712 2003-05-26 Michael Koch <konqueror@gmx.de>
3714 * java/net/NetPermission.java,
3715 java/net/NetworkInterface.java,
3716 java/net/PasswordAuthentication.java,
3717 java/net/SocketPermission.java:
3718 New versions from classpath.
3720 2003-05-25 Michael Koch <konqueror@gmx.de>
3722 * java/io/PushbackInputStream.java,
3723 java/net/Authenticator.java,
3724 java/net/ContentHandler.java,
3725 java/net/ContentHandlerFactory.java,
3726 java/net/DatagramSocket.java,
3727 java/net/DatagramSocketImpl.java,
3728 java/net/DatagramSocketImplFactory.java,
3729 java/net/FileNameMap.java,
3730 java/net/SocketImplFactory.java,
3731 java/net/SocketOptions.java,
3732 java/net/URLStreamHandlerFactory.java:
3733 Merged new versions from classpath.
3735 2003-05-25 Michael Koch <konqueror@gmx.de>
3737 * java/awt/Checkbox.java,
3738 java/awt/Dialog.java,
3740 java/awt/Frame.java,
3741 java/awt/ScrollPaneAdjustable.java,
3742 java/awt/Scrollbar.java,
3743 java/awt/Window.java:
3744 New versions from classpath.
3746 2003-05-22 Jeff Sturm <jsturm@one-point.com>
3749 * java/io/ObjectInputStream (enableResolveObject):
3750 Fixed spelling of permission name.
3752 2003-05-20 Michael Koch <konqueror@gmx.de>
3754 * java/io/DataInputStream.java
3755 (convertFromUTF): Merged comment from classpath.
3756 * java/io/PrintStream.java
3757 (error_occured): Renamed from error, merged comment from classpath.
3758 (PrintStream): No need to initialized error.
3759 (checkError): Replace error with error_occurred.
3760 (setError): Likewise.
3762 2003-05-20 Michael Koch <konqueror@gmx.de>
3764 * java/io/DataInputStream.java:
3765 Reformatted, Replaced < and & with html entitites in documentation.
3766 * java/io/File.java:
3768 * java/io/PrintWriter.java:
3769 Moved class documentation.
3771 2003-05-20 Michael Koch <konqueror@gmx.de>
3773 * gnu/java/nio/ByteBufferImpl.java,
3774 gnu/java/nio/CharBufferImpl.java,
3775 gnu/java/nio/CharViewBufferImpl.java,
3776 gnu/java/nio/DirectByteBufferImpl.java,
3777 gnu/java/nio/DoubleBufferImpl.java,
3778 gnu/java/nio/DoubleViewBufferImpl.java,
3779 gnu/java/nio/FloatBufferImpl.java,
3780 gnu/java/nio/FloatViewBufferImpl.java,
3781 gnu/java/nio/IntBufferImpl.java,
3782 gnu/java/nio/IntViewBufferImpl.java,
3783 gnu/java/nio/LongBufferImpl.java,
3784 gnu/java/nio/LongViewBufferImpl.java,
3785 gnu/java/nio/natDirectByteBufferImpl.cc,
3786 gnu/java/nio/ShortBufferImpl.java,
3787 gnu/java/nio/ShortViewBufferImpl.java:
3788 Moved files to java/nio.
3789 * gnu/java/nio/SocketChannelImpl.java
3791 * java/nio/ByteBuffer.java,
3792 java/nio/CharBuffer.java,
3793 java/nio/DoubleBuffer.java,
3794 java/nio/FloatBuffer.java,
3795 java/nio/IntBuffer.java,
3796 java/nio/LongBuffer.java,
3797 java/nio/ShortBuffer.java:
3798 Dont import anything.
3799 * java/nio/ByteBufferImpl.java,
3800 java/nio/CharBufferImpl.java,
3801 java/nio/CharViewBufferImpl.java,
3802 java/nio/DirectByteBufferImpl.java,
3803 java/nio/DoubleBufferImpl.java,
3804 java/nio/DoubleViewBufferImpl.java,
3805 java/nio/FloatBufferImpl.java,
3806 java/nio/FloatViewBufferImpl.java,
3807 java/nio/IntBufferImpl.java,
3808 java/nio/IntViewBufferImpl.java,
3809 java/nio/LongBufferImpl.java,
3810 java/nio/LongViewBufferImpl.java,
3811 java/nio/natDirectByteBufferImpl.cc,
3812 java/nio/ShortBufferImpl.java,
3813 java/nio/ShortViewBufferImpl.java:
3814 Moved from gnu/java/nio.
3816 (ordinary_java_source_files): Moved files from gnu/java/nio to
3818 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
3820 * Makefile.in: Regenerated.
3822 2003-05-19 Michael Koch <konqueror@gmx.de>
3824 * java/util/Calendar.java
3825 (get): Not final anymore since JDK 1.4
3828 2003-05-19 Michael Koch <konqueror@gmx.de>
3830 * java/text/CollationKey.java:
3831 Merged copyright and dat from classpath.
3832 * java/text/RuleBasedCollator.java:
3833 Merged class documentation from classpath.
3835 2003-05-19 Michael Koch <konqueror@gmx.de>
3837 * java/nio/CharBuffer.java
3838 (toString): Compile fix.
3840 2003-05-19 Michael Koch <konqueror@gmx.de>
3842 * gnu/java/nio/ByteBufferImpl.java
3843 (putLong): Fixed conversion to bytes.
3844 (putDouble): Fixed conversion to bytes.
3845 * gnu/java/nio/DirectByteBufferImpl.java
3846 (putLong): Fixed conversion to bytes.
3847 (putDouble): Fixed conversion to bytes.
3848 * gnu/java/nio/FileLockImpl.java
3849 (isValid): Reformatted.
3850 * java/nio/Buffer.java
3851 (Buffer): Fixed off-by-one bug in handling mark.
3852 * java/nio/ByteBuffer.java:
3854 * java/nio/CharBuffer.java
3855 (toString): Don't use relative get to get string data.
3857 2003-05-16 Michael Koch <konqueror@gmx.de>
3859 * java/io/natFileDescriptorPosix.cc
3860 (open): Commented out the O_SYNC and O_DSYNC usage until its better
3863 2003-05-14 Michael Koch <konqueror@gmx.de>
3865 * gnu/java/nio/FileLockImpl.java
3866 (released): New member variable.
3867 (FileLockImpl): Initialize released.
3868 (releaseImpl): New native method.
3869 (release): Implemented.
3870 * gnu/java/nio/SelectorImpl.java: Reformatted.
3871 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
3872 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
3873 (accept): Throws IOException.
3874 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
3875 (implConfigureBlocking): Throws IOException.
3876 (connect): Likewise.
3879 * gnu/java/nio/natFileLockImpl.cc: New file.
3880 * java/nio/channels/FileLock.java: Reformatted.
3882 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
3883 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
3884 * Makefile.in: Regenerated.
3886 2003-05-13 Michael Koch <konqueror@gmx.de>
3888 * gnu/java/nio/CharViewBufferImpl.java
3889 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
3890 (get): Shift bits to the right direction.
3892 * gnu/java/nio/DoubleViewBufferImpl.java
3893 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
3894 (get): Shift bits to the right direction.
3896 * gnu/java/nio/FloatViewBufferImpl.java
3897 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
3898 (get): Shift bits to the right direction.
3900 * gnu/java/nio/IntViewBufferImpl.java
3901 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
3902 (get): Shift bits to the right direction.
3904 * gnu/java/nio/LongViewBufferImpl.java
3905 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
3906 (get): Shift bits to the right direction.
3908 * gnu/java/nio/ShortViewBufferImpl.java
3909 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
3910 (get): Shift bits to the right direction.
3913 2003-05-13 Michael Koch <konqueror@gmx.de>
3915 * gnu/java/nio/natDirectByteBufferImpl.cc
3916 (allocateImpl): jlong -> RawData*.
3917 (freeImpl): Likewise.
3919 2003-05-13 Michael Koch <konqueror@gmx.de>
3921 * java/nio/channels/FileChannel.java
3922 (MapMode.m): Made it package-private to match JDK 1.4.
3923 * java/nio/charset/Charset.java
3924 (decode): Made it final to match JDK 1.4.
3926 2003-05-13 Michael Koch <konqueror@gmx.de>
3928 * java/io/FileDescriptor.java
3929 (SYNC): New constant.
3931 (getLength): Renamed from lenght() to match classpath's
3932 FileDescriptor.java.
3933 * java/io/RandomAccessFile.java
3934 (RandomAccessFile): Removed unneeded mode check, implemented mode
3935 "rws" and "rwd", merged documentation from classpath.
3936 (setLength): Reformatted.
3937 (length): Use new getLength() of FileDescriptor.
3938 * java/io/natFileDescriptorEcos.cc
3939 (getLength): Renamed from length().
3940 * java/io/natFileDescriptorPosix.cc
3941 (open): Implemented support for SYNC and DSYNC.
3942 (seek): Use getLength() instead of length().
3943 (getLength): Renamed from length().
3944 * java/io/natFileDescriptorWin32.cc
3945 (getLength): Renamed from length().
3946 (seek): Use getLength() instead of length().
3947 (available): Likewise.
3948 * gnu/java/nio/natFileChannelImpl.cc
3949 (size): Use getLength() instead of length().
3951 2003-05-13 Michael Koch <konqueror@gmx.de>
3953 * gnu/java/nio/ByteBufferImpl.java
3954 (ByteBufferImpl): All constructors revised.
3955 (slice): Reimplemented.
3956 (duplicate): Reimplemented.
3957 (asReadOnlyBuffer): Reimplemented.
3958 * java/nio/ByteBuffer.java:
3960 (array_offset): Renamed from "offset" to match all other buffer
3962 (ByteBuffer): All constructors revised.
3963 (allocateDirect): Implemented.
3964 (allocate): New implementation, documentation reworked.
3966 (get): Documentation reworked.
3967 (put): New implementation, documentation reworked.
3968 (hasArray): Documentation reworked.
3969 (arrayOffset): Likewise.
3970 (hashCode): Likewise.
3972 (compareTo): Likewise.
3974 (compact): Likewise.
3975 (isDirect): Likewise.
3977 (duplicate): Likewise.
3978 (asReadOnlyBuffer): Likewise.
3980 (ordinary_java_source_files):
3981 Added gnu/java/nio/DirectByteBufferImpl.java.
3983 Added gnu/java/nio/natDirectByteBufferImpl.cc.
3984 * Makefile.in: Regenerated.
3986 2003-05-12 Michael Koch <konqueror@gmx.de>
3988 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
3989 (nio_get_*): Removed.
3990 (nio_put_*): Removed.
3991 (as*Buffer): Implemented.
3992 (compact): Implemented.
3993 (get): Documentation added.
3994 (put): Documentation added.
3995 (get*): Newly implemented.
3996 (put*): Newly implemented.
3997 * gnu/java/nio/CharBufferImpl.java: Reformatted.
3998 (CharBufferImpl): Revised.
3999 (slice): New implementation.
4000 (duplicate): New implementation.
4001 (compact): New implementation.
4002 (asReadOnlyBuffer): New implementation.
4003 (get): Documentation revised.
4004 (order): Return native byte order.
4005 * gnu/java/nio/DirectByteBufferImpl.java
4006 (allocateDirect): objects can be null not 0.
4007 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
4008 (DoubleBufferImpl): Revised.
4009 (slice): New implementation.
4010 (duplicate): New implementation.
4011 (compact): New implementation.
4012 (asReadOnlyBuffer): New implementation.
4013 (get): Documentation revised.
4014 (order): Return native byte order.
4015 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
4016 (FloatBufferImpl): Revised.
4017 (slice): New implementation.
4018 (duplicate): New implementation.
4019 (compact): New implementation.
4020 (asReadOnlyBuffer): New implementation.
4021 (get): Documentation revised.
4022 (order): Return native byte order.
4023 * gnu/java/nio/IntBufferImpl.java: Reformatted.
4024 (IntBufferImpl): Revised.
4025 (slice): New implementation.
4026 (duplicate): New implementation.
4027 (compact): New implementation.
4028 (asReadOnlyBuffer): New implementation.
4029 (get): Documentation revised.
4030 (order): Return native byte order.
4031 * gnu/java/nio/LongBufferImpl.java: Reformatted.
4032 (LongBufferImpl): Revised.
4033 (slice): New implementation.
4034 (duplicate): New implementation.
4035 (compact): New implementation.
4036 (asReadOnlyBuffer): New implementation.
4037 (get): Documentation revised.
4038 (order): Return native byte order.
4039 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
4040 (ShortBufferImpl): Revised.
4041 (slice): New implementation.
4042 (duplicate): New implementation.
4043 (compact): New implementation.
4044 (asReadOnlyBuffer): New implementation.
4045 (get): Documentation revised.
4046 (order): Return native byte order.
4047 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
4048 (CharBuffer): Revised.
4050 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
4051 (DoubleBuffer): Revised.
4052 (allocateDirect): Removed.
4054 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
4055 (FloatBuffer): Revised.
4056 (allocateDirect): Removed.
4058 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
4059 (IntBuffer): Revised.
4060 (allocateDirect): Removed.
4062 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
4063 (LongBuffer): Revised.
4064 (allocateDirect): Removed.
4066 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
4067 (ShortBuffer): Revised.
4068 (allocateDirect): Removed.
4070 * gnu/java/nio/natByteBufferImpl.cc: Removed.
4071 * gnu/java/nio/natCharBufferImpl.cc: Removed.
4073 (ordinary_java_source_files): Added the following files:
4074 gnu/java/nio/CharViewBufferImpl.java,
4075 gnu/java/nio/DoubleViewBufferImpl.java,
4076 gnu/java/nio/FloatViewBufferImpl.java,
4077 gnu/java/nio/IntViewBufferImpl.java,
4078 gnu/java/nio/LongViewBufferImpl.java,
4079 gnu/java/nio/ShortViewBufferImpl.java
4080 (nat_source_files): Removed the following files:
4081 gnu/java/nio/natByteBufferImpl.cc,
4082 gnu/java/nio/natCharBufferImpl.cc
4083 * Makefile.in: Regenerated.
4085 2003-05-12 Michael Koch <konqueror@gmx.de>
4087 * gnu/java/nio/CharViewBufferImpl.java,
4088 gnu/java/nio/DirectByteBufferImpl.java,
4089 gnu/java/nio/DoubleViewBufferImpl.java,
4090 gnu/java/nio/FloatViewBufferImpl.java,
4091 gnu/java/nio/IntViewBufferImpl.java,
4092 gnu/java/nio/LongViewBufferImpl.java,
4093 gnu/java/nio/ShortViewBufferImpl.java,
4094 gnu/java/nio/natDirectByteBufferImpl.cc:
4095 New files, not yet to be compiled.
4097 2003-05-10 Michael Koch <konqueror@gmx.de>
4099 * javax/swing/plaf/ButtonUI.java,
4100 javax/swing/plaf/ColorUIResource.java,
4101 javax/swing/plaf/ComponentUI.java,
4102 javax/swing/plaf/DimensionUIResource.java,
4103 javax/swing/plaf/FontUIResource.java,
4104 javax/swing/plaf/IconUIResource.java,
4105 javax/swing/plaf/InsetsUIResource.java,
4106 javax/swing/plaf/LabelUI.java,
4107 javax/swing/plaf/ListUI.java,
4108 javax/swing/plaf/OptionPaneUI.java,
4109 javax/swing/plaf/PanelUI.java,
4110 javax/swing/plaf/TabbedPaneUI.java,
4111 javax/swing/plaf/TextUI.java,
4112 javax/swing/plaf/TreeUI.java,
4113 javax/swing/plaf/ViewportUI.java,
4114 javax/swing/plaf/basic/BasicBorders.java,
4115 javax/swing/plaf/basic/BasicButtonUI.java,
4116 javax/swing/plaf/basic/BasicCheckBoxUI.java,
4117 javax/swing/plaf/basic/BasicDefaults.java,
4118 javax/swing/plaf/basic/BasicGraphicsUtils.java,
4119 javax/swing/plaf/basic/BasicIconFactory.java,
4120 javax/swing/plaf/basic/BasicLabelUI.java,
4121 javax/swing/plaf/basic/BasicListUI.java,
4122 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4123 javax/swing/plaf/basic/BasicPanelUI.java,
4124 javax/swing/plaf/basic/BasicRadioButtonUI.java,
4125 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4126 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4127 javax/swing/plaf/basic/BasicTextUI.java,
4128 javax/swing/plaf/basic/BasicToggleButtonUI.java,
4129 javax/swing/plaf/basic/BasicTreeUI.java,
4130 javax/swing/plaf/basic/BasicViewportUI.java,
4131 javax/swing/plaf/metal/MetalLookAndFeel.java:
4132 New versions from classpath. This adds copyrights to all files and
4133 some serialVersionUIDs.
4135 2003-05-10 Michael Koch <konqueror@gmx.de>
4137 * java/nio/CharBuffer.java
4138 (offset): Make it package-private.
4139 (backing_buffer): Likewise.
4140 * java/nio/DoubleBuffer.java
4141 (offset): Make it package-private.
4142 (backing_buffer): Likewise.
4144 * java/nio/FloatBuffer.java
4145 (offset): Make it package-private.
4146 (backing_buffer): Likewise.
4147 * java/nio/IntBuffer.java
4148 (offset): Make it package-private.
4149 (backing_buffer): Likewise.
4150 * java/nio/LongBuffer.java
4151 (offset): Make it package-private.
4152 (backing_buffer): Likewise.
4153 * java/nio/ShortBuffer.java
4154 (offset): Make it package-private.
4155 (backing_buffer): Likewise.
4157 2003-05-10 Michael Koch <konqueror@gmx.de>
4159 * java/nio/CharBuffer.java
4160 (put): Fixed precondtion check.
4161 (toString): Make it work without backing array.
4162 (put): Skip one level of method calling.
4164 2003-05-10 Michael Koch <konqueror@gmx.de>
4166 * java/security/Identity.java,
4167 java/security/IdentityScope.java,
4168 java/security/Key.java,
4169 java/security/KeyPair.java,
4170 java/security/PrivateKey.java,
4171 java/security/Provider.java,
4172 java/security/PublicKey.java,
4173 java/security/SecureRandom.java,
4174 java/security/SecureRandomSpi.java,
4175 java/security/SignedObject.java,
4176 java/security/Signer.java,
4177 java/security/cert/Certificate.java,
4178 java/security/cert/PKIXCertPathBuilderResult.java,
4179 java/security/cert/X509Certificate.java:
4180 New versions from classpath.
4182 2003-05-09 Tom Tromey <tromey@redhat.com>
4184 * Makefile.in: Rebuilt.
4185 * Makefile.am (nat_source_files): Removed old files.
4186 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
4187 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
4188 * gnu/java/nio/natIntBufferImpl.cc: Removed.
4189 * gnu/java/nio/natLongBufferImpl.cc: Removed.
4190 * gnu/java/nio/natShortBufferImpl.cc: Removed.
4192 2003-05-09 Michael Koch <konqueror@gmx.de>
4194 * gnu/java/nio/ByteBufferImpl.java
4195 (nio_cast): Removed.
4196 (ByteBufferImpl): Removed.
4197 (nio_get_Byte): Removed.
4198 (nio_put_Byte): Removed.
4199 (asByteBuffer): Removed.
4200 (asCharBuffer): Removed implementation and throw exception.
4201 (asShortBuffer): Likewise.
4202 (asIntBuffer): Likewise.
4203 (asLongBuffer): Likewise.
4204 (asFloatBuffer): Likewise.
4205 (asDoubleBuffer): Likewise.
4206 * gnu/java/nio/CharBufferImpl.java
4207 (CharBufferImpl): Removed.
4208 (nio_get_Byte): Removed.
4209 (nio_put_Byte): Removed.
4210 (asByteBuffer): Removed.
4211 * gnu/java/nio/DoubleBufferImpl.java
4212 (DoubleBufferImpl): Removed.
4213 (nio_get_Byte): Removed.
4214 (nio_put_Byte): Removed.
4215 (asByteBuffer): Removed.
4216 * gnu/java/nio/FloatBufferImpl.java
4217 (FloatBufferImpl): Removed.
4218 (nio_get_Byte): Removed.
4219 (nio_put_Byte): Removed.
4220 (asByteBuffer): Removed.
4221 * gnu/java/nio/IntBufferImpl.java
4222 (IntBufferImpl): Removed.
4223 (nio_get_Byte): Removed.
4224 (nio_put_Byte): Removed.
4225 (asByteBuffer): Removed.
4226 * gnu/java/nio/LongBufferImpl.java
4227 (LongBufferImpl): Removed.
4228 (nio_get_Byte): Removed.
4229 (nio_put_Byte): Removed.
4230 (asByteBuffer): Removed.
4231 * gnu/java/nio/ShortBufferImpl.java
4232 (ShortBufferImpl): Removed.
4233 (nio_get_Byte): Removed.
4234 (nio_put_Byte): Removed.
4235 (asByteBuffer): Removed.
4236 * gnu/java/nio/natByteBufferImpl.cc
4237 (nio_cast): Removed.
4238 (nio_get_Byte): Removed.
4239 (nio_put_Byte): Removed.
4240 * gnu/java/nio/natCharBufferImpl.cc
4241 (nio_get_Byte): Removed.
4242 (nio_put_Byte): Removed.
4244 2003-05-09 Michael Koch <konqueror@gmx.de>
4246 * java/net/JarURLConnection.java
4247 (getJarEntry): Merged documentation from classpath.
4248 (getJarFile): Likewise.
4249 (getMainAttributes): Likewise.
4250 (getAttributes): Likewise.
4251 (getManifest): Likewise.
4252 (getCertificates): Reformatted.
4253 * java/net/URLConnection.java:
4254 Little classpath merge.
4256 2003-05-09 Michael Koch <konqueror@gmx.de>
4258 * java/io/DataOutputStream.java
4259 (writeShort): Made it synchronized.
4260 (writeChar): Likewise.
4261 (writeInt): Likewise.
4262 (writeLong): Liekwise.
4263 (writeUTF): Made it synchronized, renamed argument to match classpath.
4264 * java/io/InputStreamReader.java
4265 (converter): Added documentation.
4266 (read): Merged documentation from classpath.
4267 * java/io/OutputStreamWriter.java
4268 (OutputStreamWriter): Merged documentation from classpath.
4269 (close): Reformatted.
4270 (getEncoding): Likewise.
4272 (write): Merged documentation from classpath, reformatted.
4274 2003-05-08 Tom Tromey <tromey@redhat.com>
4276 * configure.host <powerpc64*-*>: Set with_libffi_default and
4277 libgcj_interpreter to "yes".
4279 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
4281 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
4283 2003-05-06 Tom Tromey <tromey@redhat.com>
4285 * verify.cc: Reverted previous patch.
4287 2003-05-06 Michael Koch <konqueror@gmx.de>
4289 * java/io/DataOutputStream.java
4290 (write): Renamed argument to "value", merged documentation from
4292 (writeBoolean): Likewise.
4293 (writeByte): Likewise.
4294 (writeShort): Likewise.
4295 (writeChar): Likewise.
4296 (writeInt): Likewise.
4297 (writeLong): Likewise.
4298 (writeFloat): Likewise.
4299 (writeDouble): Likewise.
4300 (writeBytes): Likewise.
4301 (writeChars): Likewise.
4302 (writeUTF): Likewise.
4304 (performDelete): Added documentation.
4305 (performList): Likewise.
4306 (performMkdir): Likewise.
4307 (performSetReadOnly): Likewise.
4308 (performRenameTo): Likewise.
4309 (performSetLastModified): Likewise.
4310 (delete): Made it sychronized.
4311 (renameTo): Made it sychronized.
4312 (equals): Reformatted.
4313 (isHidden): Likewise.
4314 (listFiles): Likewise.
4315 (setReadOnly): Likewise.
4316 (listRoots): Likewise.
4317 (setLastModified): Likewise.
4318 (checkRead): Likewise.
4319 (checkWrite): Likewise.
4320 * java/io/FileInputStream.java
4321 (skip): Made it sychronized, merged from classpath.
4322 * java/io/FileOutputStream.java
4323 (write): Merged from classpath.
4324 * java/io/InputStreamReader.java:
4325 (InputStreamReader): Merged documentation from classpath.
4327 2003-05-05 Michael Koch <konqueror@gmx.de>
4329 * java/net/NetworkInterface.java
4330 (networkInterfaces): Removed.
4331 (getByName): Use getRealNetworkInterfaces() instead of
4333 (getByInetAddress): Likewise.
4334 (getNetworkInterfaces): Likewise.
4335 (toString): Fix output of addresses of an interface.
4337 2003-05-05 Michael Koch <konqueror@gmx.de>
4339 * java/io/DataInputStream.java:
4340 Merged new documentation from classpath.
4342 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
4344 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
4346 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
4347 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
4348 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
4349 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
4350 * gnu/awt/gtk/GtkMainThread.java: Likewise.
4351 * gnu/awt/gtk/GtkToolkit.java: Likewise.
4352 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
4353 * java/security/Key.java: Likewise.
4354 * java/security/PrivateKey.java: Likewise.
4355 * java/security/Provider.java: Likewise.
4356 * java/security/PublicKey.java: Likewise.
4358 2003-05-02 Michael Koch <konqueror@gmx.de>
4361 (create): Doesnt throws any exceptions.
4362 * java/net/URLConnection.java
4363 (URLConnection): Commend added.
4364 (getExpiration): The header field is called "expires" not
4366 (getHeaderField): Merged documentation with classpath.
4367 (getHeaderFieldInt): Likewise.
4368 (getHeaderFieldDate): Likewise.
4369 (getHeaderFieldKey): Likewise.
4370 (getPermission): Likewise.
4371 (setDefaultUseCaches): Likewise.
4372 (setRequestProperty): Likewise.
4373 (addRequestProperty): Likewise.
4374 (getRequestProperty): Likewise.
4375 (getRequestProperties): Likewise.
4376 (setDefaultRequestProperty): Likewise.
4377 (getDefaultRequestProperty): Likewise.
4378 (guessContentTypeFromStream): Likewise.
4379 (getFileNameMap): Likewise.
4380 (setFileNameMap): Likewise.
4381 (setDoInput): Merged implementation and documentation with classpath.
4382 (setDoOutput): Likewise.
4383 (setAllowUserInteraction): Likewise.
4384 (setDefaultAllowUserInteraction): Likewise.
4385 (setContentHandlerFactory): Made it synchronized, merged documentation
4387 (guessContentTypeFromName): Renamed argument fname to filename to
4388 match classpath, merged documentation with classpath.
4390 2003-05-02 Michael Koch <konqueror@gmx.de>
4392 * java/net/JarURLConnection.java
4393 (JarURLConnection): Class documentation merged with classpath.
4394 (getJarFileURL): Moved and documentation merged with classpath.
4395 (getEntryName): Likewise.
4396 (JarURLConnection): Documentation merged with classpath.
4397 (getJarEntry): Likewise.
4398 (getJarFile): Likewise.
4399 * java/net/PlainDatagramSocketImpl.java:
4400 Class documentation moved.
4401 * java/net/URLConnection.java
4402 (fileNameMap): Moved and documentation merged with classpath.
4403 (factory): Likewise.
4404 (defaultAllowUserInteraction): Likewis.
4405 (defaultUseCaches): Likewise.
4406 (allowUserInteraction): Likewise.
4407 (connected): Likewise.
4409 (connect): Documentation merged with classpath.
4411 (getContentLength): Likewise.
4412 (getContentType): Likewise.
4413 (getContentEncoding): Likewise.
4414 (getExpiration): Likewise.
4415 (getDate): Likewise.
4416 (getLastModified): Likewise.
4417 (getHeaderField): Likewise.
4418 (getContent): Likewise.
4419 (getPermission): Likewise.
4420 (getInputStream): Likewise.
4421 (getOutputStream): Likewise.
4422 (toString): Likewise.
4423 (getDoInput): Likewise.
4424 (getDoOutput): Likewise.
4425 (setAllowUserInteraction): Likewise.
4426 (getAllowUserInteraction): Likewise.
4427 (setDefaultAllowUserInteraction): Likewise.
4428 (getDefaultAllowUserInteraction): Likewise.
4429 (setUseCaches): Likewise.
4430 (getUseCaches): Likewise.
4431 (setIfModifiedSince): Likewise.
4432 (getIfModifiedSince): Likewise.
4433 (setDefaultRequestProperty): Likewise.
4434 (getDefaultRequestProperty): Likewise.
4435 (setContentHandlerFactory): Likewise.
4436 (setFileNameMap): Likewise.
4438 2003-05-02 Michael Koch <konqueror@gmx.de>
4440 * java/net/InetAddress.java:
4441 Merged class documentation with classpath.
4442 * java/net/JarURLConnection.java:
4443 Explicitely import all used classes.
4444 * java/net/URL.java:
4446 * java/net/ServerSocket.java,
4447 java/net/Socket.java:
4448 New versions from classpath.
4450 2003-05-02 Michael Koch <konqueror@gmx.de>
4452 * gnu/java/nio/FileChannelImpl.java
4453 (read): New implementation.
4454 (implRead): New methods.
4455 (write): New implementation, call other write insteal of read method.
4456 (implWrite): New methods.
4457 (map): Added comment.
4458 (transferFrom): Implemented.
4459 (transferTo): Implemented.
4460 (lock): Added checks to throw exceptions.
4461 (truncate): Added check to throw exception.
4462 * gnu/java/nio/natFileChannelImpl.cc
4463 (implRead): New method.
4464 (implWrite): New method.
4465 * java/nio/ByteBuffer.java
4466 (hashCode): Fixed comment.
4467 (get): Fixed exception documentation.
4468 (put): Fixed exception documentation.
4469 * java/nio/CharBuffer.java:
4470 Added comment for later optimizations.
4472 2003-04-30 Tom Tromey <tromey@redhat.com>
4475 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
4477 (type::compatible): Use _Jv_IsAssignableFrom.
4478 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
4479 (_Jv_IsAssignableFrom): Work even when source or target class is
4482 2003-04-30 Michael Koch <konqueror@gmx.de>
4484 * java/text/BreakIterator.java
4485 (clone): New method.
4487 2003-04-30 Michael Koch <konqueror@gmx.de>
4489 * java/text/CollationElementIterator.java,
4490 java/text/CollationKey.java,
4491 java/text/RuleBasedCollator.java:
4492 Merged copyright and documentation from classpath and
4493 rearranged some code. No code changes done.
4495 2003-04-30 Michael Koch <konqueror@gmx.de>
4497 * java/util/regex/Matcher.java
4498 (pattern): New member variable.
4499 (appendReplacement): New method.
4500 (appendTail): New method.
4503 (group): New method.
4504 (replaceFirst): Added documentation.
4505 (replaceAll): Added documentation.
4506 (groupCount): New method.
4507 (lookingAt): New method.
4508 (matches): New method.
4509 (reset): New method.
4510 (start): New method.
4511 * java/util/regex/Pattern.java
4512 (serialVersionUID): New constant.
4513 (CANON_EQ): New constant.
4514 (CASE_INSENSITIVE): New constant.
4515 (COMMENTS): New constant.
4516 (DOTALL): New constant.
4517 (MULTILINE): New constant.
4518 (UNICODE_CASE): New constant.
4519 (UNIX_LINES): New constant.
4520 (regex): New member variable.
4521 (flags): New member variable.
4522 (Pattern): New method.
4523 (compile): Documentation added.
4524 (flags): New method.
4525 (matches): Documentation added.
4526 (matcher): Documentation added.
4527 (split): Documentation added.
4528 (pattern): New method.
4530 2003-04-30 Michael Koch <konqueror@gmx.de>
4532 * gnu/java/security/Engine.java,
4533 gnu/java/security/OID.java,
4534 gnu/java/security/der/BitString.java,
4535 gnu/java/security/der/DER.java,
4536 gnu/java/security/der/DERReader.java,
4537 gnu/java/security/der/DERValue.java,
4538 gnu/java/security/der/DERWriter.java,
4539 gnu/java/security/provider/DSAKeyFactory.java,
4540 gnu/java/security/provider/X509CertificateFactory.java,
4541 gnu/java/security/x509/X500DistinguishedName.java,
4542 gnu/java/security/x509/X509CRL.java,
4543 gnu/java/security/x509/X509CRLEntry.java,
4544 gnu/java/security/x509/X509Certificate.java,
4545 java/security/cert/CRLSelector.java,
4546 java/security/cert/CertPathBuilder.java,
4547 java/security/cert/CertPathBuilderResult.java,
4548 java/security/cert/CertPathBuilderSpi.java,
4549 java/security/cert/CertPathParameters.java,
4550 java/security/cert/CertPathValidator.java,
4551 java/security/cert/CertPathValidatorResult.java,
4552 java/security/cert/CertPathValidatorSpi.java,
4553 java/security/cert/CertSelector.java,
4554 java/security/cert/CertStore.java,
4555 java/security/cert/CertStoreParameters.java,
4556 java/security/cert/CertStoreSpi.java,
4557 java/security/cert/CollectionCertStoreParameters.java,
4558 java/security/cert/LDAPCertStoreParameters.java,
4559 java/security/cert/PKIXBuilderParameters.java,
4560 java/security/cert/PKIXCertPathBuilderResult.java,
4561 java/security/cert/PKIXCertPathChecker.java,
4562 java/security/cert/PKIXCertPathValidatorResult.java,
4563 java/security/cert/PKIXParameters.java,
4564 java/security/cert/PolicyNode.java,
4565 java/security/cert/PolicyQualifierInfo.java,
4566 java/security/cert/TrustAnchor.java,
4567 javax/security/auth/x500/X500Principal.java:
4568 New files from classpath.
4569 * gnu/java/io/ASN1ParsingException.java,
4570 gnu/java/io/Base64InputStream.java,
4571 gnu/java/security/der/DEREncodingException.java,
4572 gnu/java/security/provider/DSAParameters.java,
4573 gnu/java/security/provider/DSASignature.java,
4574 gnu/java/security/provider/Gnu.java,
4575 gnu/java/security/provider/GnuDSAPrivateKey.java,
4576 gnu/java/security/provider/GnuDSAPublicKey.java,
4577 java/security/AlgorithmParameterGenerator.java,
4578 java/security/AlgorithmParameters.java,
4579 java/security/KeyFactory.java,
4580 java/security/KeyPairGenerator.java,
4581 java/security/KeyStore.java,
4582 java/security/MessageDigest.java,
4583 java/security/SecureClassLoader.java,
4584 java/security/SecureRandom.java,
4585 java/security/Security.java,
4586 java/security/Signature.java,
4587 java/security/cert/Certificate.java,
4588 java/security/cert/CertificateFactory.java,
4589 java/security/cert/CertificateFactorySpi.java,
4590 java/security/cert/X509CRL.java,
4591 java/security/cert/X509Certificate.java,
4592 java/security/spec/DSAPublicKeySpec.java:
4593 New versions from classpath.
4594 * gnu/java/security/provider/DERReader.java,
4595 gnu/java/security/provider/DERWriter.java,
4596 java/security/Engine.java: Removed.
4598 (java_source_files, javax_source_files): Added new files.
4599 * Makefile.in: Regenerated.
4601 2003-04-29 Michael Koch <konqueror@gmx.de>
4603 * javax/swing/JTable.java
4604 (AUTO_RESIZE_ALL_COLUMNS): New constant.
4605 (AUTO_RESIZE_LAST_COLUMN): New constant.
4606 (AUTO_RESIZE_NEXT_COLUMN): New constant.
4607 (AUTO_RESIZE_OFF): New constant.
4608 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
4609 (JTable): New method.
4610 (columnAdded): New method.
4611 (columnMarginChanged): New method.
4612 (columnMoved): New method.
4613 (columnRemoved): New method.
4614 (columnSelectionChanged): New method.
4615 (editingCanceled): New method.
4616 (editingStopped): New method.
4617 (getColumnModel): New method.
4618 (getPreferredScrollableViewportSize): New method.
4619 (getScrollableBlockIncrement): New method.
4620 (getScrollableTracksViewportHeight): New method.
4621 (getScrollableTracksViewportWidth): New method.
4622 (getScrollableUnitIncrement): New method.
4623 (getSelectedRow): New method.
4624 (getSelectionModel): New method.
4625 (tableChanged): New method.
4626 (setModel): New method.
4627 (setSelectionMode): New method.
4628 (setSelectionModel): New method.
4629 (setShowGrid): New method.
4630 (valueChanged): New method.
4631 * javax/swing/text/DefaultEditorKit.java
4632 (backwardAction): New constant.
4633 (beepAction): New constant.
4634 (beginAction): New constant.
4635 (beginLineAction): New constant.
4636 (beginParagraphAction): New constant.
4637 (beginWordAction): New constant.
4638 (copyAction): New constant.
4639 (cutAction): New constant.
4640 (defaultKeyTypedAction): New constant.
4641 (deleteNextCharAction): New constant.
4642 (deletePrevCharAction): New constant.
4643 (downAction): New constant.
4644 (endAction): New constant.
4645 (endLineAction): New constant.
4646 (endOfLineStringProperty): New constant.
4647 (endParagraphAction): New constant.
4648 (endWordAction): New constant.
4649 (forwardAction): New constant.
4650 (insertBreakAction): New constant.
4651 (insertContentAction): New constant.
4652 (insertTabAction): New constant.
4653 (nextWordAction): New constant.
4654 (pageDownAction): New constant.
4655 (pageUpAction): New constant.
4656 (pasteAction): New constant.
4657 (previousWordAction): New constant.
4658 (readOnlyAction): New constant.
4659 (selectAllAction): New constant.
4660 (selectionBackwardAction): New constant.
4661 (selectionBeginAction): New constant.
4662 (selectionBeginLineAction): New constant.
4663 (selectionBeginParagraphAction): New constant.
4664 (selectionBeginWordAction): New constant.
4665 (selectionDownAction): New constant.
4666 (selectionEndAction): New constant.
4667 (selectionEndLineAction): New constant.
4668 (selectionEndParagraphAction): New constant.
4669 (selectionEndWordAction): New constant.
4670 (selectionForwardAction): New constant.
4671 (selectionNextWordAction): New constant.
4672 (selectionPreviousWordAction): New constant.
4673 (selectionUpAction): New constant.
4674 (selectLineAction): New constant.
4675 (selectParagraphAction): New constant.
4676 (selectWordAction): New constant.
4677 (upAction): New constant.
4678 (writableAction): New constant.
4680 2003-04-29 Michael Koch <konqueror@gmx.de>
4682 * java/util/PropertyPermission.java:
4683 New version from classpath
4684 * java/util/ResourceBundle.java:
4685 Partly merged from classpath
4686 (getObject): Reformated.
4687 (tryBundle): Set foundBundle = null if no bundle found.
4689 2003-04-29 Michael Koch <konqueror@gmx.de>
4691 * javax/swing/AbstractListModel.java,
4692 javax/swing/DefaultBoundedRangeModel.java,
4693 javax/swing/DefaultSingleSelectionModel.java:
4694 New Versions from classpath.
4696 2003-04-29 Michael Koch <konqueror@gmx.de>
4698 * java/awt/Window.java
4699 (show): Call super.show() instead of setVisible() to avoid endless
4701 (hide): Call super.hide() instead of setVisible() to avoid endless
4704 2003-04-29 Michael Koch <konqueror@gmx.de>
4706 * java/util/zip/Deflater.java,
4707 java/util/zip/DeflaterOutputStream.java:
4708 Partly merged with classpath.
4710 2003-04-27 Tom Tromey <tromey@redhat.com>
4712 * java/lang/natString.cc (_Jv_AllocString): Initialize
4715 (_Jv_NewStringUtf8Const): Likewise.
4717 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
4719 * include/jvm.h: (_Jv_GetNbArgs) added
4720 (_Jv_GetSafeArg) added
4722 * prims.cc: (_Jv_GetNbArgs) implemented
4723 (_Jv_GetSafeArg) implemented
4724 (_Jv_SetArgs) implemented
4725 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
4726 setting _Jv_argc and _Jv_argv
4727 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
4729 * java/lang/natRuntime.cc: (insertSystemProperties) use
4730 _Jv_GetSafeArg() instead of _Jv_argv
4732 2003-04-23 Tom Tromey <tromey@redhat.com>
4734 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
4735 required by this object. Search superclasses to find required
4737 (get_alignment_from_class): Use alignment of type as it appears
4739 (ALIGNOF): New macro.
4740 (struct aligner): New helper structure.
4742 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
4744 * java/awt/Container.java (addImpl): Enable paint events if adding
4745 a lightweight to a heavyweight.
4746 (addNotify): Ensure that peer is created before
4747 addNotifyContainerChildren.
4748 (addNotifyContainerChildren): Enable paint events if a heavyweight
4749 container contains a lightweight.
4751 2003-04-20 Tom Tromey <tromey@redhat.com>
4753 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
4754 java/io/DataInput.java, java/io/DataOutput.java: Imports from
4757 2003-04-19 Tom Tromey <tromey@redhat.com>
4759 * java/sql/Date.java, java/sql/DriverManager.java,
4760 java/sql/Time.java, java/sql/Timestamp.java: New versions from
4763 * Makefile.in: Rebuilt.
4764 * Makefile.am (ordinary_java_source_files): Added new files.
4765 * java/security/AlgorithmParameterGenerator.java,
4766 java/security/AlgorithmParameters.java, java/security/Engine.java,
4767 java/security/Identity.java, java/security/IdentityScope.java,
4768 java/security/KeyFactory.java,
4769 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
4770 java/security/MessageDigest.java, java/security/Policy.java,
4771 java/security/ProtectionDomain.java,
4772 java/security/SecureRandom.java, java/security/Security.java,
4773 java/security/Signature.java, java/security/SignatureSpi.java,
4774 java/security/SignedObject.java, java/security/Signer.java,
4775 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
4776 java/security/spec/PSSParameterSpec.java,
4777 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
4778 java/security/spec/RSAOtherPrimeInfo.java: New versions from
4781 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
4783 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
4784 (dispose): Null metrics.
4785 * gnu/awt/xlib/XToolkit.java (sync): Implement.
4786 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
4788 (finalize): Call dispose.
4789 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
4790 (gcCachedCount): New field.
4791 (finalize): New method.
4792 (putGCInCache): New method.
4793 (getGCFromCache): New method.
4794 * gnu/gcj/xlib/GC.java (GC): Make protected.
4795 (clone): Get new GC from cache if possible.
4796 (create): New static method.
4797 (dispose): Save old GC in cache.
4798 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
4800 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
4802 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
4803 * java/awt/Container.java (visitChild): Dispose gfx2 when
4806 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
4808 * java/math/BigInteger.java (probablePrime): New.
4809 * java/math/BigDecimal.java (unscaledValue): New.
4811 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
4813 * java/io/File.java (getAbsolutePath): On Windows, take care
4814 of paths like "C:", "G:foo\bar", etc.
4815 (getName): Make it work correctly on Windows.
4816 (getParent): Make it work correctly on Windows. For UNIX,
4817 fix bug that causes "/" to be returned as the parent of "/",
4818 instead of null as returned by Sun's JRE.
4820 * java/io/natFileWin32.cc: Change copyright owner to FSF.
4822 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
4824 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
4826 (CACHE_SIZE_PER_DISPLAY): New field
4827 (fontMetricsCache): New field
4828 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
4829 loading ISO10646-1 fonts.
4831 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
4833 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
4835 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
4838 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
4840 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
4843 2003-04-15 Jakub Jelinek <jakub@redhat.com>
4845 * configure.host (*-linux*): Don't set slow_pthread_self if primary
4846 installed libpthread is either linuxthreads with floating stacks or
4849 2003-04-14 Tom Tromey <tromey@redhat.com>
4851 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
4854 2003-04-10 Tom Tromey <tromey@redhat.com>
4856 * verify.cc (pop64): Removed.
4857 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
4858 exception if top-of-stack is narrow.
4859 (initialize_stack): Check to ensure that <init> is not static and
4862 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
4864 * java/io/ObjectStreamException
4865 * java/io/FileFilter
4866 * java/io/FilenameFilter
4867 * java/io/ObjectInput
4868 * java/io/ObjectOutput
4869 * java/io/ObjectStreamConstants
4870 Minor doc fixes, format fixes, spelling corrections, etc.
4872 Corrected code samples in Javadocs to match reality
4873 * java/io/DataOutput
4874 * java/io/ObjectInputValidation
4875 Major documentation fixes - all Javadocs re-written or updated
4877 2003-04-06 Michael Koch <konqueror@gmx.de>
4879 * java/net/URLConnection.java:
4880 Import classes directly.
4881 (URLConnection): Merged class documentation with classpath.
4882 (url): Moved, documentation from classpath added.
4883 (doInput): Moved, documentation from classpath added.
4884 (doOutput): Moved, documentation from classpath added.
4885 (allowUserInteraction): Moved.
4886 (useCaches): Moved, documentation from classpath added.
4887 (ifModifiedSince): Moved, documentation from classpath added.
4888 (connected): Moved, documentation from classpath added.
4890 2003-04-06 Michael Koch <konqueror@gmx.de>
4892 * java/io/FileInputStream.java
4893 (skip): Renamed some variables to match classpath, added
4894 checks from classpath.
4896 2003-03-31 Michael Koch <konqueror@gmx.de>
4898 * javax/swing/AbstractAction.java
4899 (AbstractAction): Reformatted.
4900 (serialVersionUID): New private member variable.
4901 * javax/swing/plaf/BorderUIResource.java
4902 (serialVersionUID): New private member variable.
4903 * javax/swing/plaf/basic/BasicLookAndFeel.java
4904 (serialVersionUID): New private member variable.
4906 2003-03-31 Michael Koch <konqueror@gmx.de>
4908 * java/sql/Date.java
4909 (valueOf): Deprecated, reformatted.
4910 (toString): Deprecated, reformatted.
4911 * java/sql/Time.java
4912 (valueOf): Deprecated, reformatted.
4913 (toString): Deprecated, reformatted.
4915 2003-03-31 Michael Koch <konqueror@gmx.de>
4917 * java/rmi/dgc/VMID.java
4918 (isUnique): Deprecated.
4920 2003-03-31 Michael Koch <konqueror@gmx.de>
4923 (separator): Merged documentation from classpath.
4924 (separatorChar): Merged documentation from classpath.
4925 (pathSeparator): Merged documentation from classpath.
4926 (pathSeparatorChar): Merged documentation from classpath.
4927 (path): Merged documentation from classpath.
4928 (canRead): Merged documentation from classpath.
4929 (canWrite): Merged documentation from classpath.
4930 (createNewFile): Merged documentation from classpath.
4931 (delete): Merged documentation from classpath.
4932 (equals): Merged documentation from classpath.
4933 (exists): Merged documentation from classpath.
4934 (File): Renamed p to name to match classpath, merged documentation
4936 (getAbsolutePath): Merged documentation from classpath.
4937 (getCanonicalPath): Merged documentation from classpath.
4938 (getCanonicalFile): Merged documentation from classpath.
4939 (getName): Merged documentation from classpath.
4940 (getParent): Merged documentation from classpath.
4941 (getParentFile): Merged documentation from classpath.
4942 (getPath): Merged documentation from classpath.
4943 (hashCode): Merged documentation from classpath.
4944 (isAbsolute): Merged documentation from classpath.
4945 (isDirectory): Merged documentation from classpath.
4946 (isFile): Merged documentation from classpath.
4947 (isHidden): Merged documentation from classpath.
4948 (lastModified): Merged documentation from classpath.
4949 (length): Merged documentation from classpath.
4950 (list): Merged documentation from classpath.
4951 (listFiles): Merged documentation from classpath.
4952 (toString): Merged documentation from classpath.
4953 (toURL): Merged documentation from classpath.
4954 (mkdir): Merged documentation from classpath.
4955 (mkdirs): Merged documentation from classpath.
4956 (createTempFile): Merged documentation from classpath.
4957 (setReadOnly): Merged documentation from classpath.
4958 (listRoots): Merged documentation from classpath.
4959 (compareTo): Merged documentation from classpath.
4960 (renameTo): Merged documentation from classpath.
4961 (setLastModified): Merged documentation from classpath.
4962 * java/io/PrintStream.java
4963 (auto_flush): Merged documentation from classpath.
4964 (PrintStream): Merged documentation from classpath.
4965 (checkError): Merged documentation from classpath.
4966 (setError): Merged documentation from classpath.
4967 (close): Merged documentation from classpath.
4968 (flush): Merged documentation from classpath.
4969 (print): Merged documentation from classpath.
4970 (println): Merged documentation from classpath.
4971 (write): Renamed count to len to match classpath,
4972 merged documentation from classpath.
4973 * java/io/RandomAccessFile.java
4974 (readShort): Merged documentation from classpath.
4975 (readUnsignedByte): Merged documentation from classpath.
4976 (readUnsignedShort): Merged documentation from classpath.
4977 (readUTF): Merged documentation from classpath.
4978 (seek): Reformatted, merged documentation from classpath.
4979 (skipBytes): Renamed some variables to match classpath, reformatted,
4980 merged documentation from classpath.
4981 (write): Merged documentation from classpath.
4982 (writeBoolean): Merged documentation from classpath.
4983 (writeByte): Merged documentation from classpath.
4984 (writeShort): Merged documentation from classpath.
4985 (writeChar): Merged documentation from classpath.
4986 (writeInt): Merged documentation from classpath.
4987 (writeLong): Merged documentation from classpath.
4988 (writeFloat): Merged documentation from classpath.
4989 (writeDouble): Merged documentation from classpath.
4990 (writeBytes): Merged documentation from classpath.
4991 (writeChars): Merged documentation from classpath.
4992 (writeUTF): Reformatted.
4993 (getChannel): Reformatted.
4995 2003-03-31 Michael Koch <konqueror@gmx.de>
4997 * java/awt/font/TextAttribute.java
4998 (readResolve): Throws java.io.InvalidObjectException.
5000 2003-03-31 Michael Koch <konqueror@gmx.de>
5002 * java/rmi/server/LoaderHandler.java
5003 (loadClass): Deprecated.
5004 (getSecurityContext): Deprecated.
5005 * java/rmi/server/LogStream.java
5006 (getDefaultStream): Deprecated.
5007 (setDefaultStream): Deprecated.
5008 (getOutputStream): Deprecated.
5009 (setOutputStream): Deprecated.
5010 (write): Deprecated.
5011 (toString): Deprecated.
5012 (parseLevel): Deprecated.
5013 * java/rmi/server/Operation.java
5014 (Operation): Deprecated.
5015 (getOperation): Deprecated.
5016 (toString): Deprecated.
5017 * java/rmi/server/RemoteCall.java
5018 (getOutputStream): Deprecated.
5019 (releaseOutputStream): Deprecated.
5020 (getInputStream): Deprecated.
5021 (releaseInputStream): Deprecated.
5022 (getResultStream): Deprecated.
5023 (executeCall): Deprecated.
5025 * java/rmi/server/RemoteRef.java
5026 (invoke): Deprecated.
5027 (newCall): Deprecated.
5029 * java/rmi/server/RemoteStub.java
5030 (setRef): Deprecated.
5031 * java/rmi/server/Skeleton.java:
5032 No need to import java.lang.Exception explicitly.
5033 (dispatch): Deprecated.
5034 (getOperations): Deprecated.
5036 2003-03-31 Michael Koch <konqueror@gmx.de>
5038 * java/rmi/dgc/VMID.java,
5039 java/rmi/registry/RegistryHandler.java,
5040 java/rmi/server/LogStream.java,
5041 java/rmi/server/Operation.java,
5042 java/rmi/server/RemoteCall.java,
5043 java/rmi/server/RemoteRef.java,
5044 java/rmi/server/RemoteStub.java:
5047 2003-03-31 Michael Koch <konqueror@gmx.de>
5049 * javax/swing/AbstractCellEditor.java,
5050 javax/swing/AbstractListModel.java,
5051 javax/swing/ActionMap.java,
5052 javax/swing/BorderFactory.java,
5053 javax/swing/ButtonGroup.java,
5054 javax/swing/DefaultBoundedRangeModel.java,
5055 javax/swing/DefaultButtonModel.java,
5056 javax/swing/DefaultCellEditor.java,
5057 javax/swing/DefaultComboBoxModel.java,
5058 javax/swing/DefaultDesktopManager.java,
5059 javax/swing/DefaultListCellRenderer.java,
5060 javax/swing/DefaultSingleSelectionModel.java,
5061 javax/swing/InputMap.java,
5062 javax/swing/JComponent.java,
5063 javax/swing/JMenu.java,
5064 javax/swing/JSlider.java,
5065 javax/swing/KeyStroke.java,
5066 javax/swing/OverlayLayout.java,
5067 javax/swing/ScrollPaneLayout.java,
5068 javax/swing/SizeRequirements.java,
5069 javax/swing/UIManager.java,
5070 javax/swing/ViewportLayout.java,
5071 javax/swing/border/AbstractBorder.java,
5072 javax/swing/colorchooser/DefaultColorSelectionModel.java,
5073 javax/swing/event/EventListenerList.java,
5074 javax/swing/table/AbstractTableModel.java,
5075 javax/swing/table/DefaultTableCellRenderer.java,
5076 javax/swing/table/DefaultTableColumnModel.java,
5077 javax/swing/table/DefaultTableModel.java,
5078 javax/swing/table/TableColumn.java,
5079 javax/swing/text/StyledEditorKit.java,
5080 javax/swing/tree/DefaultMutableTreeNode.java,
5081 javax/swing/tree/DefaultTreeModel.java,
5082 javax/swing/tree/DefaultTreeSelectionModel.java,
5083 javax/swing/tree/TreePath.java,
5084 javax/swing/undo/AbstractUndoableEdit.java,
5085 javax/swing/undo/StateEdit.java,
5086 javax/swing/undo/StateEditable.java,
5087 javax/swing/undo/UndoableEditSupport.java:
5088 Merges from classpath.
5090 2003-03-30 Tom Tromey <tromey@redhat.com>
5092 * java/lang/String.java (data, boffset, count): Documented.
5093 (String(byte[],String)): Reformatted.
5094 (String(byte[])): Likewise.
5095 (lastIndexOf(int)): Likewise.
5096 (lastIndexOf(String)): Likewise.
5097 (substring(int)): Renamed argument to match Classpath.
5098 (String(StringBuffer)): Don't share buffer if it is nearly empty.
5100 * java/lang/String.java: Miscellaneous minor formatting changes
5101 to match Classpath more closely.
5103 2003-03-29 Eric Blake <ebb9@email.byu.edu>
5104 Tom Tromey <tromey@redhat.com>
5106 * java/lang/natString.cc (hashCode): Use cachedHashCode.
5108 (charAt): Put index in exception.
5109 (contentEquals): New method.
5110 Include StringBuffer.h.
5111 * java/lang/String.java (cachedHashCode): New field.
5112 (String()): Follow classpath implementation.
5114 (contentEquals): Declare.
5115 (subSequence): Don't declare IndexOutIfBoundsException in throws
5117 (matches, replaceFirst, replaceAll, split): New methods from
5120 2003-03-29 Tom Tromey <tromey@redhat.com>
5122 * java/lang/String.java: Reordered to follow Classpath; merged in
5125 * java/text/MessageFormat.java: Removed some whitespace.
5127 * Makefile.in: Rebuilt.
5128 * Makefile.am (awt_java_source_files): Added new files.
5129 * gnu/javax/rmi/PortableServer.java,
5130 gnu/javax/rmi/CORBA/DelegateFactory.java,
5131 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
5132 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
5133 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
5134 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
5135 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
5136 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
5137 javax/rmi/PortableRemoteObject.java,
5138 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
5139 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
5140 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
5141 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
5142 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
5143 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
5145 * java/lang/natClass.cc (newInstance): Put method name in
5147 (getConstructor): Likewise.
5148 (getDeclaredConstructor): Likewise.
5149 (getPrivateMethod): Likewise.
5151 2003-03-28 Tom Tromey <tromey@redhat.com>
5153 * java/lang/reflect/Proxy.java: New version from Classpath.
5154 * java/lang/Package.java: New version from Classpath.
5156 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
5158 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
5159 * configure: Regenerate.
5161 2003-03-28 Michael Koch <konqueror@gmx.de>
5163 * java/io/File.java:
5164 Import needed classes instead of whole packages, merged class
5165 documentation with classpath, moved constants and variables to top of
5167 * java/io/PrintStream.java:
5168 Merged class documentation with classpath, moved constants and
5169 variables to top of class.
5170 * java/io/RandomAccessFile.java
5171 (RandomAccessFile): Merged with classpath.
5172 (read): Merged with classpath).
5173 (read*): Reformatted.
5175 2003-03-28 Michael Koch <konqueror@gmx.de>
5177 * java/io/FileDescriptor.java
5178 (finalize): Throws Throwable, not IOException.
5179 * java/io/ObjectOutputStream.java
5180 (PutField.put): Doesnt throws anything.
5182 2003Â03-28 Michael Koch <konqueror@gmx.de>
5184 * java/io/FileOutputStream.java:
5185 Merged class documentation and authors with classpath.
5186 (FileOutputStream): Partly merged with classpath.
5187 (write): Merged with classpath.
5188 (getChannel): Make it synchronized instead of explicit block in this
5190 * java/io/RandomAccessFile.java:
5191 Merged class documentation and authors with classpath.
5193 2003-03-26 Tom Tromey <tromey@redhat.com>
5195 * java/lang/natRuntime.cc (insertSystemProperties): Set
5196 gnu.classpath.home.url.
5197 * Makefile.in: Rebuilt.
5198 * Makefile.am: Define LIBDIR.
5200 2003-03-25 Michael Koch <konqueror@gmx.de>
5202 * java/io/FileInputStream.java
5203 (read): Renamed b to buf and off to offset.
5204 * java/io/FileOutputStream.java
5205 (ch): Documentation added.
5206 (FileOutputStream): Documentation added.
5207 (getFD): Documentation added.
5208 (write): Documentation added.
5209 (close): Documentation added.
5210 (getChannel): Documentation added.
5212 2003-03-24 Michael Koch <konqueror@gmx.de>
5214 * java/io/DataOutputStream.java
5215 (write): Merged from classpath.
5216 * java/io/File.java:
5217 Merged copyrigth with classpath.
5218 * java/io/FileInputStream.java
5219 (getChannel): Made it synchronized instead of using a synchronized
5221 * java/io/FileOutputStream.java: Reformatted.
5222 * java/io/InputStreamReader.java
5223 (InputStreamReader): Renamed enc to encoding_name.
5224 (close): Merged documentation from classpath.
5225 (getEncoding): Merged documentation from classpath.
5226 (ready): Merged documentation from classpath.
5227 (read): Merged documentation from classpath.
5228 * java/io/LineNumberReader.java
5229 (lineNumber): Made it private.
5230 (LineNumberReader): Use Constant instead of a direct value.
5231 * java/io/OutputStreamWriter.java
5232 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
5233 documentation from classpath.
5234 (close): Merged documentation from classpath.
5235 (flush): Merged documentation from classpath.
5236 (write): Merged documentation from classpath.
5237 * java/io/PrintStream.java: Reformatted.
5239 2003-03-24 Michael Koch <konqueror@gmx.de>
5241 * javax/swing/text/ComponentView.java
5242 (getComponent): Must be final.
5243 * javax/swing/tree/DefaultTreeCellRenderer.java:
5245 * javax/swing/undo/StateEditable.java:
5248 2003-03-24 Michael Koch <konqueror@gmx.de>
5250 * java/rmi/activation/ActivationInstantiator.java:
5252 * java/rmi/activation/Activator.java:
5254 * java/rmi/registry/RegistryHandler.java:
5255 Remerged from classpath.
5257 2003-03-24 Michael Koch <konqueror@gmx.de>
5259 * java/util/Date.java:
5260 Fixed documentation starting tag to make javadoc happy.
5261 * java/util/regex/Pattern.java
5262 (Pattern): Implements Serializable.
5263 * java/util/PatternSyntaxException.java
5264 (serialVersionUID): New member variable.
5266 2003-03-24 Michael Koch <koqnueror@gmx.de>
5268 * java/awt/ContainerOrderFocusTraversalPolicy.java
5269 (getFirstComponent): Implemented.
5270 (getLastComponent): Implemented.
5271 (getDefaultComponent): Implemented.
5272 (setImplicitDownCycleTraversal): Fixed implementation.
5273 * java/awt/Robot.java
5274 (Robot): Added documentation.
5275 * java/awt/Toolkit.java
5276 (getFontList): Deprecated.
5277 (getFontMetrics): Deprecated.
5278 (getPrintJob): Added documentation.
5279 (getSystemSelection): Added documentation.
5280 (getLockingKeyState): Added documentation.
5281 (setLockingKeyState): Added documentation.
5282 (createCustomCursor): Added documentation.
5283 (getBestCursorSize): Added documentation.
5284 (getMaximumCursorColors): Added documentation.
5285 (isFrameStateSupported): Added documentation.
5287 2003-03-24 Michael Koch <konqueror@gmx.de>
5289 * java/io/RandomAccessFile.java:
5290 More little merges with classpath. No code changes.
5292 2003-03-24 Michael Koch <konqueror@gmx.de>
5294 * java/net/natInetAddressNoNet.cc:
5296 * java/net/natPlainDatagramSocketImplNoNet.cc:
5297 Fixed inlcude of java/net/DatagramPacket.h.
5298 * java/net/natPlainSocketImplNoNet.cc:
5299 Include some missing classes.
5301 2003-03-24 Michael Koch <konqueror@gmx.de>
5303 * java/awt/dnd/DropTarget.java
5304 (DropTargetAutoScroller): According to the online documentation, this
5305 is protected, but in reality it is public.
5306 * java/awt/dnd/DropTargetContext.java
5307 (TransferableProxy): According to the online documentation, this
5308 is protected, but in reality it is public.
5310 2003-03-24 Michael Koch <konqueror@gmx.de>
5312 * java/io/DataInputStream.java
5313 (): Wrapped documentation line.
5314 (): Fixed @return tag.
5315 * java/io/DataOutputStream.java
5316 (written): Moved to top of class.
5317 (all methods): Merged documentation from classpath.
5318 * java/io/File.java:
5319 Merged copyright year with classpath.
5320 * java/io/FileInputStream.java
5321 (all methods): Merged documentation from classpath.
5322 * java/io/LineNumberReader.java
5323 (getLineNumber): Fixed @return tag.
5324 * java/io/ObjectInputStream.java.
5326 * java/io/ObjectOutputStream.java:
5327 Reformatted, fixed some @see tags.
5328 * java/io/OutputStreamWriter.java:
5330 * java/io/Writer.java:
5333 2003-03-24 Michael Koch <konqueror@gmx.de>
5335 * java/awt/Frame.java
5336 (DEFAULT_CURSOR): Fixed @deprecated tag.
5337 (setCursor): Fixed @deprecated tag.
5339 2003-03-24 Michael Koch <konqueror@gmx.de>
5341 * java/beans/beancontext/BeanContextEvent.java:
5344 2003-03-23 Eric Blake <ebb9@email.byu.edu>
5346 * java/lang/natStringBuffer.cc (regionMatches): New function.
5347 * java/lang/String.java (count): Now package-private.
5348 * java/lang/StringBuffer.java: Merged with Classpath.
5350 2003-03-23 Michael Koch <konqueror@gmx.de>
5352 * java/io/BufferedOutputStream.java:
5354 * java/io/BufferedReader.java:
5356 * java/io/ByteArrayOutputStream.java
5357 (size): Fixed @see tag.
5358 * java/io/CharArrayWriter.java
5359 (size): Fixed @see tag.
5360 * java/io/DataInput.java:
5362 * java/io/DataOutput.java:
5364 * java/io/DataOutputStream.java:
5365 Merged copyright years with classpath.
5366 * java/io/Externalizable.java:
5368 * java/io/FileFilter.java:
5370 * java/io/FileInputStream.java:
5371 Merged copyright years with classpath.
5372 * java/io/FileOutputStream.java:
5373 Merged copyright years with classpath.
5374 * java/io/FilePermission.java
5375 (FilePermission): Replaced @XXX with FIXME:.
5376 * java/io/FileWriter.java:
5378 * java/io/FilenameFilter.java:
5380 * java/io/FilterInputStream.java:
5382 * java/io/FilterOutputStream.java:
5384 * java/io/FilterReader.java:
5386 * java/io/FilterWriter.java:
5388 * java/io/LineNumberInputStream.java
5389 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
5391 (getLineNumber): Fixed @return tag.
5392 * java/io/ObjectInput.java:
5394 * java/io/ObjectOutput.java:
5396 * java/io/ObjectStreamClass.java:
5398 * java/io/PrintStream.java:
5399 Merged copyright years with classpath.
5400 * java/io/PushbackReader.java
5401 (PushbackReader): Replaced @code with @param.
5402 * java/io/SerializablePermission.java:
5404 * java/io/StreamTokenizer.java
5405 (resetSyntax): Fixed @see tag.
5407 2003-03-22 Richard Henderson <rth@redhat.com>
5409 * sysdep/ia64/locks.h: Include ia64intrin.h.
5410 (compare_and_swap): Use __sync_bool_compare_and_swap.
5411 (compare_and_swap_release): Expose ar.ccv assignment.
5413 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
5415 * include/posix.h: Add suffix for darwin dynamic libraries.
5417 2003-03-21 Michael Koch <konqueror@gmx.de>
5419 * javax/swing/Action.java
5420 (ACCELERATOR_KEY): New constant.
5421 (ACTION_COMMAND_KEY): Likewise.
5422 (MNEMONIC_KEY): Likewise.
5423 * javax/swing/UnsupportedLookAndFeelException.java
5424 (UnsupportedLookAndFeelException): Must be public.
5425 * javax/swing/WindowConstants.java
5426 (EXIT_ON_CLOSE): New constant.
5427 * javax/swing/text/BadLocationException.java
5428 (offset): New member variable.
5429 (BadLocationException): New implementation, documentation added.
5430 (offsetRequested): New method.
5431 * javax/swing/text/Caret.java:
5433 * javax/swing/text/Document.java:
5436 2003-03-21 Michael Koch <konqueror@gmx.de>
5438 * java/rmi/activation/Activatable.java
5439 (serialVersionUID): New member variable.
5440 * java/rmi/activation/ActivationGroup.java
5441 (serialVersionUID): New member variable.
5442 * java/rmi/activation/ActivationGroupDesc.java
5443 (serialVersionUID): New member variable.
5444 * java/rmi/registry/Registry.java:
5446 (Registry): Deprecated.
5447 * java/rmi/server/LoaderHandler.java
5449 (LoaderHandler): Deprecated.
5450 * java/rmi/server/LogStream.java
5452 (LogStream): Deprecated.
5453 * java/rmi/server/Operation.java
5454 (Operation): Deprecated.
5455 * java/rmi/server/RMIFailureHandler.java:
5457 * java/rmi/server/RMISocketFactory.java:
5459 * java/rmi/server/RemoteCall.java
5460 (RemoteCall): Deprecated.
5461 * java/rmi/server/RemoteStub.java:
5463 * java/rmi/server/Skeleton.java
5465 (Skeleton): Deprecated.
5467 2003-03-21 Michael Koch <konqueror@gmx.de>
5469 * java/io/LineNumberReader.java
5470 (LineNumberReader): Merged documentation with classpath.
5471 (getLineNumber): Likewise.
5472 (setLineNumber): Likewise.
5476 (readLine): Likewise.
5479 2003-03-21 Michael Koch <konqueror@gmx.de>
5481 * java/rmi/RMISecurityManager.java
5482 (checkAccept): Removed.
5483 (checkAccess): Likewise.
5484 (checkAccess): Likewise.
5485 (checkAwtEventQueueAccess): Likewise.
5486 (checkConnect): Likewise.
5487 (checkCreateClassLoader): Likewise.
5488 (checkDelete): Likewise.
5489 (checkExec): Likewise.
5490 (checkExit): Likewise.
5491 (checkLink): Likewise.
5492 (checkListen): Likewise.
5493 (checkMemberAccess): Likewise.
5494 (checkMulticast): Likewise.
5495 (checkPackageAccess): Likewise.
5496 (checkPackageDefinition): Likewise.
5497 (checkPermission): Likewise.
5498 (checkPrintJobAccess): Likewise.
5499 (checkPropertiesAccess): Likewise.
5500 (checkPropertyAccess): Likewise.
5501 (checkRead): Likewise.
5502 (checkSecurityAccess): Likewise.
5503 (checkSetFactory): Likewise.
5504 (checkSystemClipboardAccess): Likewise.
5505 (checkTopLevelWindow): Likewise.
5506 (checkWrite): Likewise.
5508 2003-03-20 Michael Koch <konqueror@gmx.de>
5510 * gnu/java/nio/FileChannelImpl.java
5512 (map_address): New member variable.
5513 (length): Make it package private.
5514 (fd): Make it package private.
5515 (buf): Make it package private.
5516 (file_obj): Make it package private.
5517 (FileChannelImpl): New constructor.
5518 (nio_mmap_file): Use RawData instead of long.
5519 (nio_munmap_file): Use RawData instead of long.
5520 (nio_msync): Use RawData instead of long.
5521 (implCloseChannel): New implementation using map_address.
5524 (create_direct_mapped_buffer): Implemented, use RawData, throws
5526 (force): Use map_address instead of address.
5527 * gnu/java/nio/MappedByteFileBuffer.java
5529 (map_address): New member variable.
5530 (MappedByteFileBuffer): Use map_address instead of address, reformated.
5531 (several methods): Use map_address instead of address, replaced long
5532 with RawData where appropriate.
5533 * gnu/java/nio/natFileChannelImpl.cc
5534 (nio_mmap_file): Replaced long with RawData.
5535 (nio_munmap_file): Replaced long with RawData.
5536 (nio_msync): Replaced long with RawData.
5537 * gnu/java/nio/natMappedByteFileBuffer.cc
5538 (several methods): Replaced long with RawData where appropriate.
5540 2003-03-20 Michael Koch <konqueror@gmx.de>
5542 * java/net/InetAddress.java,
5543 java/net/JarURLConnection.java,
5544 java/net/PlainDatagramSocketImpl.java,
5545 java/net/PlainSocketImpl.java,
5546 java/net/URLConnection.java:
5547 Merged copyright statements with classpath for easier merging.
5549 2003-03-20 Michael Koch <konqueror@gmx.de>
5551 * java/io/FileInputStream.java
5552 (getChannel): New implementation.
5553 * java/io/FileOutputStream.java
5554 (ch): New member variable.
5555 (getChannel): Implemented.
5556 * java/io/RandomAccessFile.java
5557 (RandomAccessFile): Throws FileNotFoundException instead of
5559 (getChannel): New method.
5560 (ch): New member variable.
5562 2003-03-20 Michael Koch <konqueror@gmx.de>
5564 * java/io/DataOutputStream.java,
5566 java/io/FileInputStream.java,
5567 java/io/FileOutputStream.java,
5568 java/io/InputStreamReader.java,
5569 java/io/LineNumberReader.java,
5570 java/io/OutputStreamWriter.java,
5571 java/io/PrintStream.java,
5572 java/io/RandomAccessFile.java:
5573 Merged copyright statements with classpath for easier merging.
5575 2003-03-19 Michael Koch <konqueror@gmx.de>
5577 * java/lang/Process.java:
5578 Merged from classpath.
5580 2003-03-19 Michael Koch <konqueror@gmx.de>
5582 * java/io/FileOutputStream.java
5583 (FileOutputStream): New constructor, merged from classpath.
5584 * java/io/FileWriter.java
5585 (FileWriter): New constructor, merged from classpath.
5587 2003-03-18 Michael Koch <konqueror@gmx.de>
5589 * java/awt/ScrollPane.java
5590 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
5591 (getViewportSize): Likewise.
5592 (addNotify): Likewise.
5593 (removeNotify): Likewise.
5594 * java/awt/ScrollPaneAdjustable.java
5595 (ScrollPaneAdjustable): No longer extends Scrollbar.
5596 * java/beans/beancontext/BeanContextServices.java:
5598 (getService): Added throws TooManyListenersException;
5599 * java/beans/beancontext/BeanContextServicesSupport.java:
5602 2003-03-18 Michael Koch <konqueror@gmx.de>
5604 * java/io/BufferedOutputStream.java,
5605 java/io/DataInput.java,
5606 java/io/DataInputStream.java,
5607 java/io/DataOutput.java,
5608 java/io/Externalizable.java:
5609 More merges from classpath.
5611 2003-03-18 Michael Koch <konqueror@gmx.de>
5613 * configure.in: Fixed links to platform dependant java.net files.
5614 * configure: Regenerated.
5615 * java/net/natInetAddress.cc,
5616 java/net/natNetworkInterface.cc,
5617 java/net/natPlainDatagramSocketImpl.cc,
5618 java/net/natPlainSocketImpl.cc:
5621 2003-03-18 Michael Koch <konqueror@gmx.de>
5623 * configure.in: Create links to architecture dependent files,
5624 introduced PLATFORMNET variable (set to NoNet for newlib usage).
5625 * configure: Regenerated.
5626 * java/net/natInetAddressNoNet.cc,
5627 java/net/natInetAddressPosix.cc,
5628 java/net/natInetAddressWin32.cc,
5629 java/net/natNetworkInterfaceNoNet.cc,
5630 java/net/natNetworkInterfacePosix.cc,
5631 java/net/natNetworkInterfaceWin32.cc,
5632 java/net/natPlainDatagramSocketImplNoNet.cc,
5633 java/net/natPlainDatagramSocketImplPosix.cc,
5634 java/net/natPlainDatagramSocketImplWin32.cc,
5635 java/net/natPlainSocketImplNoNet.cc,
5636 java/net/natPlainSocketImplPosix.cc,
5637 java/net/natPlainSocketImplWin32.cc: New files.
5639 2003-03-18 Michael Koch <konqueror@gmx.de>
5641 * java/io/BufferedReader.java,
5642 java/io/BufferedWriter.java,
5643 java/io/ByteArrayOutputStream.java,
5644 java/io/FileFilter.java,
5645 java/io/FilePermission.java,
5646 java/io/FileReader.java,
5647 java/io/FileWriter.java,
5648 java/io/FilenameFilter.java,
5649 java/io/FilterInputStream.java,
5650 java/io/FilterOutputStream.java,
5651 java/io/FilterReader.java,
5652 java/io/FilterWriter.java,
5653 java/io/ObjectInput.java,
5654 java/io/ObjectInputValidation.java,
5655 java/io/ObjectOutput.java,
5656 java/io/ObjectStreamField.java,
5657 java/io/PipedInputStream.java,
5658 java/io/PipedReader.java,
5659 java/io/PrintWriter.java,
5660 java/io/PushbackReader.java,
5661 java/io/Reader.java,
5662 java/io/SerializablePermission.java,
5663 java/io/StringReader.java,
5664 java/io/Writer.java:
5665 Merged from classpath.
5667 2003-03-17 Michael Koch <konqueror@gmx.de>
5669 * java/awt/ScrollPaneAdjustable.java:
5672 2003-03-17 Michael Koch <konqueror@gmx.de>
5674 * java/net/DatagramSocket.java
5675 (connect): Fixed comment.
5676 * java/nio/ByteBuffer.java
5677 (hasArray): Fixed comment.
5679 2003-03-17 Michael Koch <konqueror@gmx.de>
5681 * java/beans/Beans.java:
5682 Explicitely import classes not packages.
5683 * java/beans/FeatureDescriptor.java
5684 (preferred): New member variable.
5685 (isPreferred): New method.
5686 (setPreferred): New method.
5687 * java/beans/PropertyEditorManager.java:
5688 Explicitely import used classes.
5689 * java/beans/beancontext/BeanContextChild.java:
5690 Added line wrapping.
5691 * java/beans/beancontext/BeanContextChildSupport.java:
5693 * java/beans/beancontext/BeanContextEvent.java:
5696 2003-03-17 Michael Koch <konqueror@gmx.de>
5698 * java/awt/Dialog.java
5699 (Dialog): New constructor, changed implementations, added
5701 * java/awt/ScrollPaneAdjustable.java
5702 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
5704 (serialVersionUID): New member variable.
5705 (sp): New member variable.
5706 (orientation): New member variable.
5707 (value): New member variable.
5708 (minimum): New member variable.
5709 (maximum): New member variable.
5710 (visibleAmount): New member variable.
5711 (unitIncrement): New member variable.
5712 (blockIncrement): New member variable.
5713 (AdjustmentListener): New member variable.
5714 (ScrollPaneAdjustable): New implementation.
5715 (addAdjustmentListener): New method.
5716 (removeAdjustmentListener): New method.
5717 (getAdjustmentListeners): New method.
5718 (getBlockIncrement): New method.
5719 (getMaximum): New method.
5720 (getMinimum): New method.
5721 (getOrientation): New method.
5722 (getUnitIncrement): New method.
5723 (getValue): New method.
5724 (getVisibleAmount): New method.
5725 (setBlockIncrement): New method.
5726 (setMaximum): Implemented.
5727 (setMinimum): Implemented.
5728 (setUnitIncrement): New method.
5729 (setValue): New method.
5730 (setVisibleAmount): Implemented.
5731 (paramString): New stubbed method.
5732 * java/awt/Window.java
5733 (show): Call setVisible().
5734 (hide): Call setVisible().
5735 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
5736 and WINDOW_STATE_CHANGED.
5737 (processWindowFocusEvent): New method.
5738 (processWindowStateEvent): New method.
5739 (postEvent): Deprecated.
5740 (applyResourceBundle): Deprecated.
5741 * java/awt/datatransfer/DataFlavor.java
5742 (DataFlavor): Doesn't thow ClassNotFoundException.
5744 2003-03-17 Michael Koch
5746 * javax/print/attribute/Attribute.java,
5747 javax/print/attribute/AttributeSet.java,
5748 javax/print/attribute/PrintRequestAttributeSet.java:
5751 (javax_source_files): Added new files:
5752 javax/print/attribute/Attribute.java
5753 javax/print/attribute/AttributeSet.java
5754 javax/print/attribute/PrintRequestAttributeSet.java
5755 * Makefile.in: Regenerated.
5757 2003-03-17 Michael Koch
5759 * javax/print/attribute/Attribute.java,
5760 javax/print/attribute/AttributeSet.java,
5761 javax/print/attribute/PrintRequestAttributeSet.java:
5764 (awt_java_source_files): Added new files:
5765 javax/print/attribute/Attribute.java
5766 javax/print/attribute/AttributeSet.java
5767 javax/print/attribute/PrintRequestAttributeSet.java
5768 * Makefile.in: Regenerated.
5770 2003-03-16 Tom Tromey <tromey@redhat.com>
5772 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
5774 * java/lang/natRuntime.cc (insertSystemProperties): Use
5775 _Jv_platform_path_separator.
5776 (nativeGetLibname): Use _Jv_platform_file_separator.
5777 (_load): Use _Jv_platform_onload_names.
5778 (onload_names): New global.
5779 * include/win32.h (_Jv_platform_file_separator): New define.
5780 (_Jv_platform_path_separator): Likewise.
5781 (_Jv_platform_onload_names): Likewise.
5782 (_Jv_platform_ffi_abi): Likewise.
5783 * include/posix.h (_Jv_platform_file_separator): New define.
5784 (_Jv_platform_path_separator): Likewise.
5785 (_Jv_platform_onload_names): Likewise.
5786 (_Jv_platform_ffi_abi): Likewise.
5788 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
5790 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
5792 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
5794 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
5796 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
5797 list to Object,ObjectStreamClass, moved callReadMethod code up into
5798 readObject and added Class argument to all setXxxField calls.
5799 (callReadMethod): Changed Class argument to ObjectStreamClass to be
5800 consistent with ObjectOutputStream and to facilitate caching the
5801 Method in the future.
5802 (setBooleanField): Added Class argument.
5803 (setByteField): Likewise.
5804 (setCharField): Likewise.
5805 (setDoubleField): Likewise.
5806 (setFloatField): Likewise.
5807 (setIntField): Likewise.
5808 (setLongField): Likewise.
5809 (setShortField): Likewise.
5810 (setObjectField): Likewise.
5811 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
5812 class hierarchy loop.
5813 (defaultWriteObject): Call writeFields with new argument list.
5814 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
5815 list to Object,ObjectStreamClass, moved callWriteMethod up into
5816 writeObject and added Class argument to all getXxxField calls.
5817 (callWriteMethod): Added ObjectStreamClass argument to be able to
5818 get the proper class to call getMethod on (each class can have (or
5819 not have) its own writeObject method).
5820 (getBooleanField): Added Class argument.
5821 (getByteField): Likewise.
5822 (getCharField): Likewise.
5823 (getDoubleField): Likewise.
5824 (getFloatField): Likewise.
5825 (getIntField): Likewise.
5826 (getLongField): Likewise.
5827 (getShortField): Likewise.
5828 (getObjectField): Likewise.
5829 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
5830 facilitate caching the Method object in the future.
5832 2003-03-12 Andreas Schwab <schwab@suse.de>
5834 * configure.in: Avoid trailing /. in toolexeclibdir.
5835 * configure: Rebuilt.
5837 2003-03-11 Michael Koch <konqueror@gmx.de>
5839 * gnu/java/nio/ByteBufferImpl.java
5840 (putInt): Use limit() instead of limit.
5841 * gnu/java/nio/CharBufferImpl.java
5842 (slice): Fixed implementation.
5843 (subSequence): Better bounds checking.
5844 * gnu/java/nio/MappedByteFileBuffer.java:
5845 Import all needed classes directly.
5846 * java/nio/ByteBuffer.java
5847 (hashCode): New dummy method.
5848 * java/nio/CharBuffer.java
5849 (array_offset): New member variable.
5850 (hasArray): Fixed documentation.
5851 (arrayOffset): Return array_offset.
5853 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
5855 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
5856 setter; made return value of getter const char* instead of char*
5857 * prims.cc: removed all references to _Jv_ThisExecutable().
5858 These are in the platform-specific sections now.
5859 * posix.cc: define platform-specific _Jv_ThisExecutable().
5860 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
5861 * win32.cc: define platform-specific _Jv_ThisExecutable()
5862 using GetModuleFilename()
5863 * java/lang/natRuntime.cc: set gnu.gcj.progname property
5864 to argv[0] instead of _Jv_ThisExecutable()
5866 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
5868 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
5869 that is set if we are using addr2name.awk instead of addr2line.
5870 (NameFinder): Set usingAddr2name if using addr2name.awk.
5871 (getExternalLabel): New native method to convert a method
5872 name to an external label.
5873 (lookup): Convert name given by addr2line to an external label
5876 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
5877 constant representing the prefix attached to method names to
5878 convert them to an external label.
5879 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
5882 2003-03-10 Tom Tromey <tromey@redhat.com>
5884 * Makefile.in: Rebuilt.
5885 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
5886 (JC1FLAGS): Removed -Wno-deprecated.
5888 2003-03-10 Michael Koch <konqueror@gmx.de>
5890 * java/nio/ByteOrder.java
5891 (nativeOrder): Working implementation, added documentation.
5892 (toString): Added documentation.
5894 2003-03-10 Michael Koch <konqueror@gmx.de>
5896 * java/net/DatagramSocket.java,
5897 java/net/MulticastSocket.java,
5898 java/net/Socket.java,
5900 java/net/URLConnection.java:
5901 Fixed some documentation tags to make javadoc and friends happy.
5903 2003-03-10 Michael Koch <koqnueror@gmx.de>
5905 * java/beans/beancontext/BeanContextServicesSupport.java,
5906 java/beans/beancontext/BeanContextSupport.java: New files.
5908 (awt_source_files): Added new files.
5909 * Makefile.in: Regenerated.
5911 2003-03-10 Michael Koch <konqueror@gmx.de>
5913 * java/awt/FocusTraversalPolicy.java
5914 (FocusTraversalPolicy): Documentation added.
5915 (getComponentAfter): Documentation added.
5916 (getComponentBefore): Documentation added.
5917 (getFirstComponent): Documentation added.
5918 (getLastComponent): Documentation added.
5919 (getDefaultComponent): Documentation added.
5920 (getInitialComponent): Documentation added.
5921 * java/awt/ScrollPaneAdjustable.java
5922 (sp): New member variable.
5923 (orientation): New member variable.
5924 (value): New member variable.
5925 (minimum): New member variable.
5926 (maximum): New member variable.
5927 (visibleAmount): New member variable.
5928 (unitIncrement): New member variable.
5929 (blockIncrement): New member variable.
5930 (adjustmentListener): New member variable.
5931 (ScrollPaneAdjustable): Rewrote.
5932 (addAdjustmentListener): New method.
5933 (removeAdjustmentListener): New method.
5934 (getAdjustmentListeners): New method.
5935 (getBlockIncrement): New method.
5936 (getMaximum): New method.
5937 (getMinimum): New method.
5938 (getOrientation): New method.
5939 (getUnitIncrement): New method.
5940 (getValue): New method.
5941 (getVisibleAmount): New method.
5942 (setBlockIncrement): New method.
5943 (setUnitIncrement): New method.
5944 (setMaximum): Implemented.
5945 (setMinimum): Implemented.
5946 (setValue): New method.
5947 (setVisibleAmount): Implemented.
5948 (paramString): New method.
5949 * java/awt/Window.java
5950 (show): Use setVisible(true) instead of super.show().
5951 (hide): Use sevVisible(false) instead of super.hide().
5952 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
5953 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
5954 (postEvent): Deprecated.
5955 (applyResourceBundle): Deprecated.
5956 (processWindowFocusEvent): New method.
5957 (processWindowStateEvent): New method.
5958 * java/awt/datatransfer/DataFlavor.java: Reindented.
5959 * java/awt/font/TextHitInfo.java
5960 (charIndex): New member variable.
5961 (leadingEdge): New member variable.
5962 (TextHitInfo): New constructor.
5963 (getCharIndex): Implemented.
5964 (isLeadingEdge): Implemented.
5965 (getInsertionIndex): Implemented.
5966 (hashCode): Access charIndex directly.
5967 (equals): Reformated.
5968 (leading): Implemented.
5969 (trailing): Implemented.
5970 (beforeOffset): Implemented.
5971 (afterOffset): Implemented.
5972 (getOtherHit): Implemented.
5973 (getOffsetHit): Implemented.
5974 (toString): Implemented.
5975 * java/awt/image/BufferedImage.java
5976 (BufferedImage): Implements WritableRenderedImage.
5977 (observers): New member variable.
5978 (addTileObserver): New method.
5979 (removeTileObserver): New method.
5981 2003-03-09 Tom Tromey <tromey@redhat.com>
5984 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
5985 to lseek. Return 0 if we can't compute the value.
5987 2003-03-03 Michael Koch <konqueror@gmx.de>
5989 * java/net/NetworkInterface.java: Merged with classpath.
5991 2003-03-03 Tom Tromey <tromey@redhat.com>
5993 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
5995 (handle_ret_insn): Fail if returning to jsr that appears at end of
5998 2003-03-03 Michael Koch <konqueror@gmx.de>
6001 (ordinary_java_source_files):
6002 Added gnu/java/nio/MappedByteFileBuffer.java.
6004 Added gnu/java/nio/natMappedByteFileBuffer.cc.
6005 * Makefile.in: Regenerated.
6007 2003-03-03 Michael Koch <konqueror@gmx.de>
6009 * java/net/DatagramSocket.java
6010 (connect): Merged comment from classpath.
6011 (receive): Merged documentation from classpath.
6012 * java/net/Socket.java
6013 (setSoTimeout): Clarified documentation.
6015 (getPath): Merged from classpath.
6016 (getUserInfo): Merged from classpath.
6017 (getQuery): Merged from classpath.
6018 * java/net/URLStreamHandler.java
6019 (toExternalForm): Merged from classpath.
6021 2003-03-02 Mark Wielaard <mark@klomp.org>
6023 * java/util/Properties.java (load): Only skip line if the first
6024 character is a comment, whitespaces don't count.
6026 2003-03-02 Michael Koch <konqueror@gmx.de>
6028 * java/net/NetPermission.java:
6029 Merged copyright with classpath.
6031 2003-03-02 Michael Koch <konqueror@gmx.de>
6033 * java/lang/Package.java:
6034 Remerged from classpath.
6036 2003-03-02 Michael Koch <konqueror@gmx.de>
6038 * java/net/HttpURLConnection.java
6039 (HTTP_SERVER_ERROR): Deprecated.
6040 * java/net/MulticastSocket.java
6041 (send): Replaced checkMulticast with appropriate checkPermission call,
6043 * java/net/URLDecoder.java
6044 (decode): Deprecated.
6045 * java/net/URLEncoder.java
6046 (encode): Deprecated.
6048 2003-03-02 Michael Koch <konqueror@gmx.de>
6050 * javax/swing/text/Caret.java
6051 (getMagicCaretPosition): Fixed typo in method name.
6052 * javax/swing/text/DefaultCaret.java
6053 (getMagicCaretPosition): Fixed typo in method name.
6055 2003-03-02 Michael Koch <konqueror@gmx.de>
6057 * java/awt/List.java
6058 (setMultipleSelections): Deprecated.
6059 (delItem): Deprecated.
6060 * java/awt/MenuComponent.java
6061 (getPeer): Deprecated.
6062 * java/awt/ScrollPane.java
6063 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
6064 * java/awt/dnd/MouseDragGestureRecognizer.java
6065 (mouseClicked): Added comment.
6066 (mousePressed): Added comment.
6067 (mouseReleased): Added comment.
6068 (mouseEntered): Added comment.
6069 (mouseExited): Added comment.
6070 (mouseDragged): Added comment.
6071 (mouseMoved): Added comment.
6072 * java/awt/event/KeyEvent.java
6073 (KeyEvent): Deprecated.
6074 (setModifiers): Deprecated.
6076 2003-03-02 Michael Koch <konqueror@gmx.de>
6078 * gnu/java/nio/FileChannelImpl.java
6079 (fd): Type FileDescriptor instead of int.
6080 (lengthInternal): Removed.
6081 (FileChannelImpl): Fixed arguments, check type of file object.
6082 (size): Made it native.
6083 (implPosition): New native method.
6084 (implTruncate): New native method.
6085 (position): Implemented.
6086 (truncate): Implemented.
6087 (nio_mmap_file): Changed arguments.
6088 (nio_munmap_file): Changed arguments.
6089 (nio_msync): Changed arguments.
6090 * gnu/java/nio/natFileChannelImpl.cc
6091 (lengthInternal): Removed.
6093 (implPosition): New method.
6094 (implTruncate): New method.
6095 (nio_mmap_file): Changed arguments.
6096 (nio_munmap_file): Changed arguments.
6097 (nio_msync): Changed arguments.
6099 2003-03-02 Michael Koch <konqueror@gmx.de>
6101 * java/awt/dnd/DropTargetContext.java:
6102 Compile fix: Forgot to commit import.
6104 2003-03-02 Michael Koch <konqueror@gmx.de>
6106 * java/awt/Component.java,
6107 java/awt/ScrollPane.java:
6110 2003-03-02 Michael Koch <konqueror@gmx.de>
6112 * java/awt/dnd/DnDEventMulticaster.java: New file.
6113 * java/awt/dnd/DragSource.java
6114 (flavorMap): New member variable.
6115 (dragSourceListener): New member variable.
6116 (dragSourceMotionListener): New member variable.
6117 (getFlavorMap): Implemented.
6118 (createDragGestureRecognizer): Implemented.
6119 (addDragSourceListener): Implemented.
6120 (removeDragSourceListener): Implemented.
6121 (getDragSourceListeners): Implemented.
6122 (addDragSourceMotionListener): Implemented.
6123 (removeDragSourceMotionListener): Implemented.
6124 (getDragSourceMotionListeners): Implemented.
6125 (getListeners): Implemented.
6126 * java/awt/dnd/DragSourceContext.java
6127 (peer): New member variable.
6128 (cursor): New member variable.
6129 (transferable): New member variable.
6130 (trigger): New member variable.
6131 (dragSourceListener): New member variable.
6132 (image): New member variable.
6133 (offset): New member variable.
6134 (DragSourceContext): Implemented.
6135 (getDragSource): Implemented.
6136 (getComponent): Implemented.
6137 (getTrigger): Implemented.
6138 (getSourceActions): Implemented.
6139 (setCursor): Implemented.
6140 (getCursor): Implemented.
6141 (addDragSourceListener): Implemented.
6142 (removeDragSourceListener): Implemented.
6143 (getTransferable): Implemented.
6144 * java/awt/dnd/DropTarget.java
6145 (DropTargetAutoScroller.component): New member variable.
6146 (DropTargetAutoScroller.point): New member variable.
6147 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
6148 (DropTargetAutoScroller.updateLocation): Implemented.
6149 (active): Renamed from isActive, defaults to true now.
6150 (component): New member variable.
6151 (flavorMap): New member variable.
6152 (actions): New member variable.
6153 (dropTargetContext): New member variable.
6154 (dropTargetListener): New member variable.
6155 (DropTarget): Implemented.
6156 (getComponent): Implemented.
6157 (setComponent): Implemented.
6158 (setDefaultActions): Implemented.
6159 (getDefaultActions): Implemented.
6160 (setActive): Use active instead of isActive.
6161 (isActive): Use active instead of isActive.
6162 (addDropTargetListener): Implemented.
6163 (removeDropTargetListener): Implemented.
6164 (getFlavorMap): Implemented.
6165 (setFlavorMap): Implemented.
6166 (getDropTargetContext): Implemented.
6167 (createDropTargetContext): Implemented.
6168 (createDropTargetAutoScroller): Implemented.
6169 * java/awt/dnd/DropTargetContext.java
6170 (TransferableProxy.getTransferDataFlavors): Implemented.
6171 (TransferableProxy.isDataFlavorSupported): Implemented.
6172 (TransferableProxy.getTransferData): Implemented.
6173 (dropTarget): New member variable.
6174 (dtcp): New member variable.
6175 (DropTargetContext): New package private constructor.
6176 (getDropTarget): Implemented.
6177 (getComponent): Implemented.
6178 (addNotify): Implemented.
6179 (removeNotify): Implemented.
6180 (getCurrentDataFlavorsAsList): Implemented.
6181 (isDataFlavorSupported): Implemented.
6182 * java/awt/dnd/MouseDragGestureRecognizer.java
6183 (registerListeners): Implemented.
6184 (unregisterListeners): Implemented.
6186 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
6187 * Makefile.in: Regenerated.
6189 2003-03-02 Michael Koch <konqueror@gmx.de>
6191 * java/awt/Component.java
6192 (eventTypeEnabled): New method.
6193 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
6194 * java/awt/Container.java
6195 (changeSupport): New member variable.
6196 (addPropertyChangeListener): New methods.
6197 * java/awt/ContainerOrderFocusTraversalPolicy.java
6198 (ContainerOrderFocusTraversalPolicy): Added comment.
6199 (getComponentAfter): Throw exception, documentation added.
6200 (getComponentBefore): Throw exception, documentation added.
6201 (getFirstComponent): Throw exception, documentation added.
6202 (getLastComponent): Throw exception, documentation added.
6203 (getDefaultComponent): Throw exception, documentation added.
6204 * java/awt/EventQueue.java: Reindented.
6205 * java/awt/FocusTraversalPolicy.java:
6206 (FocusTraversalPolicy): Added comment.
6207 (getComponentAfter): Documentation added.
6208 (getComponentBefore): Documentation added.
6209 (getFirstComponent): Documentation added.
6210 (getLastComponent): Documentation added.
6211 (getDefaultComponent): Documentation added.
6212 (getInitialComponent): Documentation added.
6213 * java/awt/ScrollPane.java
6214 (wheelScrollingEnabled): New member variable.
6215 (ScrollPane): Initialize wheelScollingEnabled.
6216 (eventTypeEnabled): New method.
6217 (isWheelScrollingEnabled): New method.
6218 (setWheelScrollingEnabled): New method.
6220 2003-03-02 Michael Koch <konqueror@gmx.de>
6222 * java/net/DatagramSocket.java
6223 (closed): New member variable.
6224 (close): Use closed variable.
6225 (getInetAddress): No need to call isConnected().
6226 (getPort): No need to call isConnected().
6227 (disconnect): Reset remoteAddress and remotePort, fixed typo.
6228 (isClosed): Reimplemented.
6230 2003-03-02 Michael Koch <konqueror@gmx.de>
6232 * configure.in: Added check for memory mapping of files.
6233 * configure: Regenerated.
6234 * config.h.in: Regenerated.
6236 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
6238 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
6239 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
6241 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
6243 * java/io/File.java (normalizePath): Remove trailing separator
6244 on Windows only if path is not of the form "x:\".
6246 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
6247 (java::io::File::attr): Change formatting a bit and use
6248 WIN32_EPOCH_MILLIS instead of magic numbers.
6249 (java::io::File::isAbsolute): Path must have at least 3
6250 characters for a UNC network path.
6251 (java::io::File::init_native): Define.
6252 (java::io::File::performCreate): Likewise.
6253 (java::io::File::performSetReadOnly): Likewise.
6254 (java::io::File::performSetLastModified): Likewise.
6255 (java::io::File::performListRoots): Likewise.
6257 2003-03-01 Tom Tromey <tromey@redhat.com>
6259 * java/lang/natObject.cc: Don't include assert.h.
6260 (heavy_lock_obj_finalization_proc): Use JvAssert.
6261 (remove_all_heavy): Likewise.
6262 (_Jv_MonitorEnter): Likewise.
6263 (_Jv_MonitorExit): Likewise.
6266 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
6268 * java/io/File (getAbsolutePath): Prefix drive specifier on
6269 Windows for paths starting with a '\'.
6270 (toURL): Make URL more consistent with what Sun's JDK returns.
6272 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
6273 true only if the path is a UNC network path or it starts with a
6276 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
6277 Be prepared to handle either '/' or '\\' in the file path for
6278 Windows if using the "file" protocol.
6279 Canonicalise the file path if using a relative path in the given
6280 context and the "file" protocol.
6282 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
6284 * java/lang/natWin32Process.cc (startProcess): Double-quote each
6285 program array element passed to CreateProcess.
6287 2003-03-01 Tom Tromey <tromey@redhat.com>
6289 * java/rmi/registry/RegistryHandler.java: Deprecate.
6291 2003-03-01 Tom Tromey <tromey@redhat.com>
6293 * javax/accessibility/AccessibleEditableText.java,
6294 javax/accessibility/AccessibleHyperlink.java: New versions from
6297 * gnu/java/locale/LocaleInformation_af_ZA.java,
6298 gnu/java/locale/LocaleInformation_ar_AE.java,
6299 gnu/java/locale/LocaleInformation_ar_BH.java,
6300 gnu/java/locale/LocaleInformation_ar_DZ.java,
6301 gnu/java/locale/LocaleInformation_ar_EG.java,
6302 gnu/java/locale/LocaleInformation_ar_IN.java,
6303 gnu/java/locale/LocaleInformation_ar_IQ.java,
6304 gnu/java/locale/LocaleInformation_ar_JO.java,
6305 gnu/java/locale/LocaleInformation_ar_KW.java,
6306 gnu/java/locale/LocaleInformation_ar_LB.java,
6307 gnu/java/locale/LocaleInformation_ar_LY.java,
6308 gnu/java/locale/LocaleInformation_ar_MA.java,
6309 gnu/java/locale/LocaleInformation_ar_OM.java,
6310 gnu/java/locale/LocaleInformation_ar_QA.java,
6311 gnu/java/locale/LocaleInformation_ar_SD.java,
6312 gnu/java/locale/LocaleInformation_ar_SY.java,
6313 gnu/java/locale/LocaleInformation_ar_TN.java,
6314 gnu/java/locale/LocaleInformation_ar_YE.java,
6315 gnu/java/locale/LocaleInformation_be_BY.java,
6316 gnu/java/locale/LocaleInformation_bn_IN.java,
6317 gnu/java/locale/LocaleInformation_br_FR.java,
6318 gnu/java/locale/LocaleInformation_bs_BA.java,
6319 gnu/java/locale/LocaleInformation_ca_ES.java,
6320 gnu/java/locale/LocaleInformation_cs_CZ.java,
6321 gnu/java/locale/LocaleInformation_cy_GB.java,
6322 gnu/java/locale/LocaleInformation_da_DK.java,
6323 gnu/java/locale/LocaleInformation_de_AT.java,
6324 gnu/java/locale/LocaleInformation_de_BE.java,
6325 gnu/java/locale/LocaleInformation_de_CH.java,
6326 gnu/java/locale/LocaleInformation_de_DE.java,
6327 gnu/java/locale/LocaleInformation_de_LU.java,
6328 gnu/java/locale/LocaleInformation_el_GR.java,
6329 gnu/java/locale/LocaleInformation_en_AU.java,
6330 gnu/java/locale/LocaleInformation_en_BW.java,
6331 gnu/java/locale/LocaleInformation_en_CA.java,
6332 gnu/java/locale/LocaleInformation_en_DK.java,
6333 gnu/java/locale/LocaleInformation_en_GB.java,
6334 gnu/java/locale/LocaleInformation_en_HK.java,
6335 gnu/java/locale/LocaleInformation_en_IE.java,
6336 gnu/java/locale/LocaleInformation_en_IN.java,
6337 gnu/java/locale/LocaleInformation_en_NZ.java,
6338 gnu/java/locale/LocaleInformation_en_PH.java,
6339 gnu/java/locale/LocaleInformation_en_SG.java,
6340 gnu/java/locale/LocaleInformation_en_US.java,
6341 gnu/java/locale/LocaleInformation_en_ZA.java,
6342 gnu/java/locale/LocaleInformation_en_ZW.java,
6343 gnu/java/locale/LocaleInformation_es_AR.java,
6344 gnu/java/locale/LocaleInformation_es_BO.java,
6345 gnu/java/locale/LocaleInformation_es_CL.java,
6346 gnu/java/locale/LocaleInformation_es_CO.java,
6347 gnu/java/locale/LocaleInformation_es_CR.java,
6348 gnu/java/locale/LocaleInformation_es_DO.java,
6349 gnu/java/locale/LocaleInformation_es_EC.java,
6350 gnu/java/locale/LocaleInformation_es_ES.java,
6351 gnu/java/locale/LocaleInformation_es_GT.java,
6352 gnu/java/locale/LocaleInformation_es_HN.java,
6353 gnu/java/locale/LocaleInformation_es_MX.java,
6354 gnu/java/locale/LocaleInformation_es_NI.java,
6355 gnu/java/locale/LocaleInformation_es_PA.java,
6356 gnu/java/locale/LocaleInformation_es_PE.java,
6357 gnu/java/locale/LocaleInformation_es_PR.java,
6358 gnu/java/locale/LocaleInformation_es_PY.java,
6359 gnu/java/locale/LocaleInformation_es_SV.java,
6360 gnu/java/locale/LocaleInformation_es_US.java,
6361 gnu/java/locale/LocaleInformation_es_UY.java,
6362 gnu/java/locale/LocaleInformation_es_VE.java,
6363 gnu/java/locale/LocaleInformation_et_EE.java,
6364 gnu/java/locale/LocaleInformation_eu_ES.java,
6365 gnu/java/locale/LocaleInformation_fa_IR.java,
6366 gnu/java/locale/LocaleInformation_fi_FI.java,
6367 gnu/java/locale/LocaleInformation_fo_FO.java,
6368 gnu/java/locale/LocaleInformation_fr_BE.java,
6369 gnu/java/locale/LocaleInformation_fr_CA.java,
6370 gnu/java/locale/LocaleInformation_fr_CH.java,
6371 gnu/java/locale/LocaleInformation_fr_FR.java,
6372 gnu/java/locale/LocaleInformation_fr_LU.java,
6373 gnu/java/locale/LocaleInformation_ga_IE.java,
6374 gnu/java/locale/LocaleInformation_gd_GB.java,
6375 gnu/java/locale/LocaleInformation_gl_ES.java,
6376 gnu/java/locale/LocaleInformation_gv_GB.java,
6377 gnu/java/locale/LocaleInformation_he_IL.java,
6378 gnu/java/locale/LocaleInformation_hi_IN.java,
6379 gnu/java/locale/LocaleInformation_hr_HR.java,
6380 gnu/java/locale/LocaleInformation_hu_HU.java,
6381 gnu/java/locale/LocaleInformation_id_ID.java,
6382 gnu/java/locale/LocaleInformation_it_CH.java,
6383 gnu/java/locale/LocaleInformation_it_IT.java,
6384 gnu/java/locale/LocaleInformation_iw_IL.java,
6385 gnu/java/locale/LocaleInformation_ja_JP.java,
6386 gnu/java/locale/LocaleInformation_ka_GE.java,
6387 gnu/java/locale/LocaleInformation_kl_GL.java,
6388 gnu/java/locale/LocaleInformation_ko_KR.java,
6389 gnu/java/locale/LocaleInformation_kw_GB.java,
6390 gnu/java/locale/LocaleInformation_lt_LT.java,
6391 gnu/java/locale/LocaleInformation_lv_LV.java,
6392 gnu/java/locale/LocaleInformation_mi_NZ.java,
6393 gnu/java/locale/LocaleInformation_mk_MK.java,
6394 gnu/java/locale/LocaleInformation_mr_IN.java,
6395 gnu/java/locale/LocaleInformation_mt_MT.java,
6396 gnu/java/locale/LocaleInformation_nl_BE.java,
6397 gnu/java/locale/LocaleInformation_nl_NL.java,
6398 gnu/java/locale/LocaleInformation_nn_NO.java,
6399 gnu/java/locale/LocaleInformation_no_NO.java,
6400 gnu/java/locale/LocaleInformation_oc_FR.java,
6401 gnu/java/locale/LocaleInformation_pl_PL.java,
6402 gnu/java/locale/LocaleInformation_pt_BR.java,
6403 gnu/java/locale/LocaleInformation_pt_PT.java,
6404 gnu/java/locale/LocaleInformation_ro_RO.java,
6405 gnu/java/locale/LocaleInformation_ru_RU.java,
6406 gnu/java/locale/LocaleInformation_ru_UA.java,
6407 gnu/java/locale/LocaleInformation_se_NO.java,
6408 gnu/java/locale/LocaleInformation_sk_SK.java,
6409 gnu/java/locale/LocaleInformation_sl_SI.java,
6410 gnu/java/locale/LocaleInformation_sq_AL.java,
6411 gnu/java/locale/LocaleInformation_sr_YU.java,
6412 gnu/java/locale/LocaleInformation_sv_FI.java,
6413 gnu/java/locale/LocaleInformation_sv_SE.java,
6414 gnu/java/locale/LocaleInformation_ta_IN.java,
6415 gnu/java/locale/LocaleInformation_te_IN.java,
6416 gnu/java/locale/LocaleInformation_tg_TJ.java,
6417 gnu/java/locale/LocaleInformation_tl_PH.java,
6418 gnu/java/locale/LocaleInformation_tr_TR.java,
6419 gnu/java/locale/LocaleInformation_uk_UA.java,
6420 gnu/java/locale/LocaleInformation_ur_PK.java,
6421 gnu/java/locale/LocaleInformation_uz_UZ.java,
6422 gnu/java/locale/LocaleInformation_vi_VN.java,
6423 gnu/java/locale/LocaleInformation_yi_US.java,
6424 gnu/java/locale/LocaleInformation_zh_CN.java,
6425 gnu/java/locale/LocaleInformation_zh_HK.java,
6426 gnu/java/locale/LocaleInformation_zh_SG.java,
6427 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
6428 info; from Classpath.
6430 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
6431 isPaintPending): New methods.
6432 * gnu/awt/xlib/XFramePeer.java (getState, setState,
6433 setMaximizedBounds): New methods.
6434 (beginLayout, endLayout, isPaintPending): Likewise.
6435 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
6436 (requestFocus): Likewise.
6437 (isObscured): Likewise.
6438 (canDetermineObscurity): Likewise.
6439 (coalescePaintEvent): Likewise.
6440 (updateCursorImmediately): Likewise.
6441 (createVolatileImage): Likewise.
6442 (handlesWheelScrolling): Likewise.
6443 (createBuffers): Likewise.
6444 (getBackBuffer): Likewise.
6446 (destroyBuffers): Likewise.
6448 * Makefile.in: Rebuilt.
6449 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
6451 * gnu/java/awt/GLightweightPeer.java,
6452 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6453 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6454 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6455 gnu/java/awt/peer/gtk/GtkFramePeer.java,
6456 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6457 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6458 java/awt/dnd/peer/DragSourceContextPeer.java,
6459 java/awt/dnd/peer/DropTargetContextPeer.java,
6460 java/awt/peer/ButtonPeer.java,
6461 java/awt/peer/CheckboxMenuItemPeer.java,
6462 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
6463 java/awt/peer/ComponentPeer.java,
6464 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
6465 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
6466 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
6467 java/awt/peer/MenuBarPeer.java,
6468 java/awt/peer/MenuComponentPeer.java,
6469 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
6470 java/awt/peer/PopupMenuPeer.java,
6471 java/awt/peer/ScrollPanePeer.java,
6472 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
6473 java/awt/peer/TextComponentPeer.java,
6474 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
6475 New versions from Classpath.
6476 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
6477 * java/awt/peer/RobotPeer.java: Likewise.
6479 2003-03-01 Mark Wielaard <mark@klomp.org>
6481 * java/io/ObjectInputStream.java: Reindent.
6482 * java/io/ObjectOutputStream.java: Likewise.
6484 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
6486 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
6487 jvalue for each argument. Simplify.
6488 * testsuite/libjava.jni/calls.c (docall),
6489 testsuite/libjava.jni/calls.java (longpb_f): check for argument
6492 2003-02-28 Mark Wielaard <mark@klomp.org>
6494 * Makefile.am (nat_source_files): Remove
6495 java/io/natObjectOutputStream.cc.
6496 * Makefile.in: Regenerated.
6497 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
6498 * java/io/ObjectStreamField.java (typename): New field.
6499 (ObjectStreamField(String, Class)): Initialize new field.
6500 (ObjectStreamField(String, String)): New Constructor.
6501 (getTypeCode): Use new field.
6502 (getTypeString): Use new field.
6503 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
6504 ObjectStreamExceptions. Remember and reset old BlockDataMode.
6505 Handle reading of Proxy classes. Never drain(), just write
6506 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
6507 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
6508 (flush): Call flush(), not just drain().
6509 (writeBoolean): Always use blockDataOutput.
6510 (writeByte): Likewise.
6511 (writeShort): Likewise.
6512 (writeChar): Likewise.
6513 (writeInt): Likewise.
6514 (writeLong): Likewise.
6515 (writeFloat): Likewise.
6516 (writeDouble): Likewise.
6517 (writeBytes): Likewise.
6518 (putfield (put(String,Object))): Throw IllegalArgumentException if
6519 field cannot be found.
6520 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
6521 (writeArraySizeAndElements): Write byte[] in one go.
6522 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
6523 set BlockDataMode to false.
6524 (annotateProxyClass): New method.
6525 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
6526 (getField): No longer native.
6527 (getMethod): Likewise.
6528 (setBlockDataMode): Always drain() on switch, return old mode.
6529 (static): New static code block.
6530 * java/io/natObjectOutputStream.cc: Removed.
6531 * java/io/ObjectInputStream.java (getField): No longer native.
6532 (getMethod): Likewise.
6533 (readObject): Remember and reset old BlockDataMode. Track whether
6534 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
6536 (defaultReadObject): Set BlockDataMode to false during readFields.
6537 (resolveClass): Create new SecurityManager if necessary.
6538 Use Class.forName() if null ClassLoader found.
6539 (read(byte[],int,int): Copy remaining bytes to data before calling
6541 (readFields): Set and reset BlockDataMode on call_read_method.
6542 Catch NoSuchFieldErrors.
6543 (setBlockDataMode): Return old mode.
6544 (static): New static code block.
6545 * java/io/natObjectInputStream.cc (getField): Removed.
6546 (getMethod): Likewise.
6548 2003-02-27 Michael Koch <konqueror@gmx.de>
6550 * java/beans/Beans.java,
6551 java/beans/FeatureDescriptor.java
6552 java/beans/PropertyEditorManager.java:
6553 Reformated to GNU style.
6555 2003-02-25 Michael Koch <konqueror@gmx.de>
6557 * gnu/java/nio/MappedByteFileBuffer.java,
6558 gnu/java/nio/natMappedByteFileBuffer.cc:
6559 New files, both are not compiled yet to get not noncompiling CVS.
6561 2003-02-24 Tom Tromey <tromey@redhat.com>
6563 * java/util/prefs/AbstractPreferences.java (isUserNode):
6566 2003-02-24 Tom Tromey <tromey@redhat.com>
6568 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
6570 * java/lang/Thread.java (resume): Deprecate.
6571 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
6574 2003-02-23 Tom Tromey <tromey@redhat.com>
6576 * Makefile.in: Rebuilt.
6577 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
6579 2003-02-23 Tom Tromey <tromey@redhat.com>
6581 * java/lang/natRuntime.cc (libraries_size, libraries_count,
6582 libraries): Removed.
6583 (add_library): Removed.
6584 (_load): Don't call add_library.
6585 (loadLibraryInternal): Likewise.
6587 (lookup_data): New struct.
6588 (find_symbol): New function.
6589 (_Jv_FindSymbolInExecutable): Use it.
6591 2002-02-21 Anthony Green <green@redhat.com>
6593 * java/lang/Thread.java (Thread): New constructor taking stack
6594 size parameter (ignored for now).
6595 * Many methods: Merged GNU Classpath documentation.
6597 * java/lang/Class.java (finalize): throws a Throwable.
6599 2003-02-21 Mark Wielaard <mark@klomp.org>
6601 * java/util/zip/ZipEntry.java (setComment): Don't check length when
6604 2003-02-21 Mark Wielaard <mark@klomp.org>
6606 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
6607 then 65535 chars throw IllegalArgumentException.
6609 2003-02-21 Mark Wielaard <mark@klomp.org>
6611 * java/util/zip/ZipFile.java (finalize): New method.
6613 2003-02-21 Michael Koch <konqueror@gmx.de>
6615 * gnu/java/nio/natSocketChannelImpl.cc:
6616 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
6617 <cato@df.lth.se> for pointing to it.
6619 2003-02-20 Raif S. Naffah <raif@fl.net.au>
6621 * java/math/BigInteger.java (euclidInv): Take result array as an
6622 argument. Updated all callers.
6623 (modInverse): Removed unused variables.
6625 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
6627 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
6629 * configure: Rebuilt.
6631 2003-02-19 Michael Koch <konqueror@gmx.de>
6633 * gnu/java/nio/natSocketChannelImpl.cc:
6634 Added support for platforms without network support.
6636 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6638 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
6639 after config.h. Use <> for consistency.
6640 * java/lang/natObject.cc: Likewise.
6641 * java/lang/natRuntime.cc: Likewise.
6642 * java/lang/natSystem.cc: Likewise.
6643 * java/util/natTimeZone.cc: Likewise.
6644 * win32.cc: Likewise.
6645 * include/posix.h (fcntl, socket, connect, close, bind, accept,
6646 listen, write, read): Undef to avoid interference from OS macros.
6648 2003-02-19 Michael Koch <konqueror@gmx.de>
6650 * gnu/java/nio/ByteBufferImpl.java
6651 (ByteBufferImpl): Renamed two variables.
6652 * gnu/java/nio/CharBufferImpl.java
6653 (CharBufferImpl): Renamed two variables.
6654 * gnu/java/nio/DoubleBufferImpl.java
6655 (DoubleBufferImpl): Renamed two variables.
6656 * gnu/java/nio/FloatBufferImpl.java
6657 (FloatBufferImpl): Renamed two variables.
6658 * gnu/java/nio/IntBufferImpl.java
6659 (IntBufferImpl): Renamed two variables.
6660 * gnu/java/nio/LongBufferImpl.java
6661 (LongBufferImpl): Renamed two variables.
6662 * gnu/java/nio/ShortBufferImpl.java
6663 (ShortBufferImpl): Renamed two variables.
6664 * java/nio/CharBuffer.java
6665 (wrap): Fixed arguments to CharBufferImpl constructor.
6666 (hasArray): Only not read-only buffers have backing arrays.
6667 (length): Documentation added.
6668 (subSequence): Documentation added.
6669 * java/nio/DoubleBuffer.java
6670 (hasArray): Only not read-only buffers have backing arrays.
6671 * java/nio/FloatBuffer.java
6672 (hasArray): Only not read-only buffers have backing arrays.
6673 * java/nio/IntBuffer.java
6674 (hasArray): Only not read-only buffers have backing arrays.
6675 * java/nio/LongBuffer.java
6676 (hasArray): Only not read-only buffers have backing arrays.
6677 * java/nio/ShortBuffer.java
6678 (hasArray): Only not read-only buffers have backing arrays.
6680 2003-02-19 Michael Koch <konqueror@gmx.de>
6682 * javax/accessibility/AccessibleContext.java
6683 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
6685 2003-02-19 Michael Koch <konqueror@gmx.de>
6687 * java/awt/ScrollPaneAdjustable.java: Reformated.
6689 2003-02-19 Michael Koch <konqueror@gmx.de>
6691 * gnu/awt/j2d/Graphics2DImpl.java
6692 (getFontRenderContext): New method.
6693 (drawGlyphVector): New method.
6694 * java/awt/Graphics2D.java
6695 (getFontRenderContext): New abstract method.
6696 (drawGlyphVector): New abstract method.
6698 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
6700 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
6703 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6704 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6705 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6706 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6707 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6708 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6709 (setFont, gtkSetFont): add.
6710 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
6711 Propagate font to peer. (setFont): add FIXME comment.
6713 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6714 (gtkTextGetSize): fix height, width computation.
6716 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
6717 Make X font name a bit less bogus.
6719 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
6720 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
6722 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
6723 (processAdjustmentEvent): Adjust value.
6725 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
6728 * java/awt/Component.java (setVisible, show, hide): Call show and
6729 hide methods in subclasses.
6730 (getPreferredSize): don't set prefSize before we have peer.
6732 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
6733 Guess (0,0) if we don't have peer.
6736 2003-02-18 Michael Koch <konqueror@gmx.de>
6738 * java/nio/channels/FileChannel.java
6739 (toString): New implementation, added documentation.
6740 (map): Added exception documentation.
6741 (size): Added exception documentation.
6742 (write): New methods, documentation work.
6743 (read): New methods, documentation work.
6744 (implCloseChannel): Rewrote exception documentation.
6745 (force): Throws IOException, added documentation.
6746 (lock): New methods.
6747 (tryLock): New methods.
6748 (position): New methods.
6749 (transferTo): New method.
6750 (transferFrom): New method.
6751 (truncate): New method.
6752 * java/nio/channels/spi/SelectorProvider.java
6753 (provider): Implemented.
6755 (ordinary_java_source_files): Added the following files:
6756 gnu/java/nio/DatagramChannelImpl.java
6757 gnu/java/nio/FileChannelImpl.java
6758 gnu/java/nio/PipeImpl.java
6759 gnu/java/nio/SelectionKeyImpl.java
6760 gnu/java/nio/SelectorImpl.java
6761 gnu/java/nio/SelectorProviderImpl.java
6762 gnu/java/nio/ServerSocketChannelImpl.java
6763 gnu/java/nio/SocketChannelImpl.java
6764 java/nio/channels/FileLock.java
6765 (nat_java_source_files): Added the following files:
6766 gnu/java/nio/natFileChannelImpl.cc
6767 gnu/java/nio/natSelectorImpl.cc
6768 gnu/java/nio/natSocketChannelImpl.cc
6769 * Makefile.in: Regenerated.
6771 2003-02-17 Tom Tromey <tromey@redhat.com>
6773 * java/awt/image/ColorModel.java: Re-merged with Classpath.
6774 * java/awt/image/ImageFilter.java: Likewise.
6776 2003-02-17 Raif S. Naffah <raif@fl.net.au>
6778 * java/math/BigInteger.java (euclidInv): Return array of
6779 `BigInteger's. Changed all callers.
6781 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
6783 * java/util/Properties.java (store): Move the code formerly in
6784 list(), into this method.
6785 (list (PrintStream)): Just call list (PrintWriter) with a
6786 PrintWriter object constructed from the given PrintStream object.
6787 (list (PrintWriter)): Emulate the output of Properties.list()
6788 as found in JDK 1.3/1.4.
6790 2003-02-17 Michael Koch <konqueror@gmx.de>
6792 * java/net/DatagramSocket.java
6793 (connect): Merged with classpath.
6794 (disconnect): Merged documentation with classpath.
6795 (receice): Merged documentation with classpath.
6796 (send): Merged documentation with classpath.
6798 2003-02-17 Michael Koch <konqueror@gmx.de>
6800 * java/awt/dnd/DragSourceContext.java
6801 (addDragSourceListener): Added documentation.
6802 * java/awt/dnd/DragSourceDragEvent.java
6803 (serialVersionUID): New member variable.
6804 (getDropAction): Reformated.
6805 * java/awt/dnd/DragSourceDropEvent.java
6806 (serialVersionUID): New member variable.
6807 (dropSuccess): Renamed from success for serialization issues.
6808 * java/awt/dnd/DragSourceEvent.java
6809 (serialVersionUID): New member variable.
6810 * java/awt/dnd/DropTarget.java
6811 (serialVersionUID): New member variable.
6812 (DropTarget): Implemented, documentation reworked.
6813 (setComponent): Documentation added.
6814 (getComponent): Documentation added.
6815 (setDefaultActions): Documentation added.
6816 (getDefaultActions): Documentation added.
6817 (addDropTargetListener): Documentation added.
6818 * java/awt/dnd/DropTargetContext.java
6819 (DropTargetContext): Documentation added.
6820 (TransferableProxy.TransferableProxy): New method.
6821 (dropComplete): Fixed documentation.
6822 (getTransferable): Fixed documentation.
6823 (createTransferableProxy): Implemented.
6824 * java/awt/dnd/DropTargetDragEvent.java
6825 (DropTargetDragEvent): Documentation added.
6826 (serialVersionUID): New member variable.
6827 (DropTargetDragEvent): Throw exceptions, documentation added.
6828 (acceptDrag): Implemented.
6829 (getCurrentDataFlavors): Implemented.3yy
6830 (getCurrentDataFlavorsAsList): Implemented.
6831 (isDataFlavorSupported): Implemented.
6832 (rejectDrag): Implemented.
6833 * java/awt/dnd/DropTargetDropEvent.java
6834 (DropTargetDropEvent): Documentation added.
6835 (serialVersionUID): New member variable.
6836 (actions): Renamed from srcActions for serialization issues.
6837 (isLocalTx): Renamed from isLocalTx for serialization issues.
6838 (DropTargetDropEvent): New implementation, throw exceptions,
6839 documentation added.
6840 (getCurrentDataFlavors): Implemented.
6841 (getCurrentDataFlavorsAsList): Implemented.
6842 (isDataFlavorSupported): Implemented.
6843 (getSourceActions): Implemented.
6844 (getDropAction): Implemented.
6845 (getTransferable): Implemented.
6846 (acceptDrop): Implemented.
6847 (rejectDrop): Implemented.
6848 * java/awt/dnd/DropTargetListener.java
6849 (drop): Fixed documentation.
6850 * java/awt/dnd/MouseDragGestureRecognizer.java
6851 (MouseDragGestureRecognizer): Documentation added.
6853 2003-02-17 Michael Koch <konqueror@gmx.de>
6855 * java/awt/font/FontRenderContext.java,
6856 java/awt/font/ShapeGraphicAttribute.java,
6857 java/awt/font/MultipleMaster.java,
6858 java/awt/font/TransformAttribute.java,
6859 java/awt/font/GlyphJustificationInfo.java,
6860 java/awt/font/LineBreakMeasurer.java,
6861 java/awt/font/TextMeasurer.java,
6862 java/awt/font/TextLayout.java,
6863 java/awt/font/LineMetrics.java,
6864 java/awt/font/TextAttribute.java,
6865 java/awt/font/GlyphMetrics.java,
6866 java/awt/font/OpenType.java,
6867 java/awt/font/GlyphVector.java,
6868 java/awt/font/GraphicAttribute.java,
6869 java/awt/font/ImageGraphicAttribute.java,
6870 java/awt/font/NumericShaper.java: New files.
6872 (awt_java_source_files): Added the following files:
6873 java/awt/font/FontRenderContext.java
6874 java/awt/font/ShapeGraphicAttribute.java
6875 java/awt/font/MultipleMaster.java
6876 java/awt/font/TransformAttribute.java
6877 java/awt/font/GlyphJustificationInfo.java
6878 java/awt/font/LineBreakMeasurer.java
6879 java/awt/font/TextMeasurer.java
6880 java/awt/font/TextLayout.java
6881 java/awt/font/LineMetrics.java
6882 java/awt/font/TextAttribute.java
6883 java/awt/font/GlyphMetrics.java
6884 java/awt/font/OpenType.java
6885 java/awt/font/GlyphVector.java
6886 java/awt/font/GraphicAttribute.java
6887 java/awt/font/ImageGraphicAttribute.java
6888 java/awt/font/NumericShaper.java
6889 * Makefile.in: Regenerated.
6891 2003-02-17 Michael Koch <konqueror@gmx.de>
6893 * java/awt/print/Paper.java
6894 (Paper): Implements Cloneable.
6895 * java/awt/print/PrinterJob.java
6896 (setJobName): Return value must be void.
6897 (print): Throws PrinterException.
6899 2003-02-16 Tom Tromey <tromey@redhat.com>
6901 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
6904 2003-02-15 Michael Koch <konqueror@gmx.de>
6906 * java/awt/datatransfer/DataFlavor.java
6907 (isRepresentationClassByteBuffer): Removed try-catch block.
6908 (isRepresentationClassCharBuffer): Removed try-catch block.
6909 (isRepresentationClassReader): Removed try-catch block.
6911 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6913 * java/nio/charset/Charset.java
6914 (isRegistered): Fixed method args and implementation.
6915 * java/nio/charset/CharsetEncoder.java
6916 (unmappableCharacterAction): New method.
6918 2003-02-15 Michael Koch <konqueror@gmx.de>
6920 * java/awt/CheckboxMenuItem.java
6921 (CheckBoxMenuItem): Dont implement Serializable.
6922 (getListeners): New method,
6923 (getItemListeners): New method.
6924 * java/awt/Choice.java
6925 (getListeners): New method,
6926 (getItemListeners): New method.
6927 * java/awt/Container.java
6928 (getListeners): Added exception documentation.
6929 (setFocusTraversalKeys): Throw exceptions, added documentattion.
6930 (getFocusTraversalKeys): Added documentation.
6931 (areFocusTraversalKeysSet): Added documentation.
6932 (applyComponentOrientation): Added documentation.
6933 * java/awt/ContainerOrderFocusTraversalPolicy.java
6934 (implicitDownCycleTraversal): Renamed from downCycle for
6936 (ContainerOrderFocusTraversalPolicy): Added documentation.
6937 (accept): Reformated.
6938 * java/awt/Dialog.java
6939 (Dialog): Dont implement Serializable.
6940 (Dialog): Added documentation.
6941 * java/awt/Font.java
6942 (Font): Dont use absolute class name.
6943 * java/awt/Frame.java
6944 (Frame): Font implement Serializable.
6945 * java/awt/List.java
6946 (getListeners): New method,
6947 (getActionListeners): New method.
6948 (getItemListeners): New method.
6949 * java/awt/Menu.java
6950 (countItems): New deprecated method.
6951 * java/awt/Scrollbar.java
6952 (getListeners): New method,
6953 (getAdjustmentListeners): New method,
6954 * java/awt/TextComponent.java
6955 (getListeners): New method,
6956 (getTextListeners): New method,
6957 * java/awt/TextField.java
6958 (getListeners): New method,
6959 (getActionListeners): New method.
6960 * java/awt/Window.java
6961 (windowFocusListener): New member variable.
6962 (windowStateListener): New member variable.
6963 (getWindowFocusListeners): New method.
6964 (getWindowStateListeners): New method.
6965 (addWindowFocusListener): New method.
6966 (addWindowStateListener): New method.
6967 (removeWindowFocusListener): New method.
6968 (removeWindowStateListener): New method.
6969 * java/awt/datatransfer/DataFlavor.java
6970 (isRepresentationClassByteBuffer): New method.
6971 (isRepresentationClassCharBuffer): New method.
6972 (isRepresentationClassReader): New method.
6974 2003-02-14 Mark Wielaard <mark@klomp.org>
6976 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
6977 zero when there is an exponent and the significant is zero.
6978 (divide): Always set scale to newScale even in special ZERO case.
6980 2003-02-14 Tom Tromey <tromey@redhat.com>
6982 * java/lang/System.java (properties): Use Properties.clone.
6983 (setProperties): Likewise.
6985 2003-02-14 Michael Koch <konqueror@gmx.de>
6987 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
6988 * gnu/java/nio/ServerSocketChannelImpl.java
6989 (SocketAccept): Removed.
6990 (accept): Commented out use of SocketAccept.
6992 2003-02-13 Tom Tromey <tromey@redhat.com>
6994 * verify.cc (state::seen_subrs): New field.
6995 (state::state): Initialize it.
6996 (state::clean_subrs): New method.
6997 (state::~state): Call it.
6998 (state::copy): Copy subroutine list.
6999 (state::add_subr): New method.
7000 (state::merge): Only register a change if the current subroutine
7001 hasn't yet been noted.
7003 2003-02-13 Mark Wielaard <mark@klomp.org>
7005 * java/io/InputStreamReader.java (getEncoding): Return null when
7007 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
7009 2003-02-13 Mark Wielaard <mark@klomp.org>
7011 * java/util/zip/InflaterInputStream.java (read): Return zero when len
7014 2003-02-13 Mark Wielaard <mark@klomp.org>
7016 * java/io/BufferedOutputStream.java (write(int)): Only flush when
7017 next byte cannot be buffered.
7019 2003-02-13 Michael Koch <konqueror@gmx.de>
7021 * java/awt/Label.java
7022 (Label): Don't implement Serializable directly.
7023 (addNotify): Fixed typo in documentation.
7024 * java/awt/List.java
7025 (List): Don't implement Serializable directly.
7026 * java/awt/PopupMenu.java
7027 (PopupMenu): Don't implement Serializable directly.
7028 * java/awt/ScrollPane.java
7029 (ScrollPane): Don't implement Serializable directly.
7030 * java/awt/Scrollbar.java
7031 (Scrollbar): Don't implement Serializable directly.
7032 * java/awt/TextArea.java
7033 (preferredSize): Fixed method arguments.
7034 * java/awt/TextField.java
7035 (TextField): Don't implement Serializable directly.
7036 * java/awt/color/ICC_ColorSpace.java
7037 (fromCIOXYZ): Documentation added.
7038 (getMinValue): Documentation added.
7039 (getMaxValue): Documentation added.
7040 * java/awt/datatransfer/DataFlavor.java
7041 (isMimeTypeEqual): May not be final.
7042 (clone): Throws CloneNotSupportedException.
7043 (getReaderForText): Don't throws UnsupportedEncodingException.
7045 2003-02-13 Michael Koch <konqueror@gmx.de>
7047 * gnu/java/awt/peer/gtk/GdkGraphics.java
7048 (drawString): New stubbed method.
7049 * java/awt/Graphics.java
7050 (drawString): New method.
7052 2003-02-13 Casey Marshall <rsdio@metastatic.org>
7055 * java/security/SecureRandom.java (next): Avoid bias in results.
7057 2003-02-13 Michael <konqueror@gmx.de>
7059 * gnu/java/nio/FileChannelImpl.java
7060 (lengthInternal): Must be native.
7061 (size): Check if channel is already closed.
7062 (implCloseChannel): Reformated.
7063 (read): w was unused, removed it.
7066 (write): New method.
7067 (map): Check arguments.
7068 (force): Throws IOException, check if channel is closed.
7069 (transferTo): New method.
7070 (transferFrom): New method.
7072 (tryLock): New method.
7073 (position): New method.
7074 (truncate): New method.
7075 (nio_mmap_file): Uncommented.
7076 (nio_munmap_file): Uncommented.
7077 (nio_msync): Uncommented.
7078 * gnu/java/nio/natFileChannelImpl.cc: New file.
7080 2003-02-13 Michael Koch <konqueror@gmx.de>
7082 * java/nio/ByteBuffer.java
7083 (endian): New member variable.
7085 (equals): New method.
7086 (compareTo): New method.
7087 (order): New methods.
7088 (compact): New method.
7089 (isDirect): New method.
7090 (slice): New method.
7091 (duplicate): New method.
7092 (asReadOnlyBuffer): New method.
7093 (asCharBuffer): New method.
7094 (asDoubleBuffer): New method.
7095 (asFloatBuffer): New method.
7096 (asIntBuffer): New method.
7097 (asLongBuffer): New method.
7098 (asShortBuffer): New method.
7099 (get*): New methods.
7100 (put*): New methods.
7101 (toString): New method.
7102 * java/nio/CharBuffer.java
7103 (CharBuffer): Implement Comparable instead of Cloneable.
7104 (get): May not be final.
7105 (put): May not be final.
7107 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
7109 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
7110 lastIndexOf( ) instead of indexOf( ) to find the colon before
7111 the line number, because Win32 file names might contain a
7112 drive letter and a colon at the start of an absolute path.
7114 2003-02-13 Michael Koch <konqueror@gmx.de>
7116 * gnu/java/nio/natSocketChannelImpl.cc
7117 (SocketConnect): This is not implemented yet.
7118 (SocketBind): This is not implemented yet.
7120 2003-02-13 Michael Koch <konqueror@gmx.de>
7122 * gnu/java/nio/natByteBufferImpl.cc,
7123 gnu/java/nio/natCharBufferImpl.cc,
7124 gnu/java/nio/natDoubleBufferImpl.cc,
7125 gnu/java/nio/natFloatBufferImpl.cc,
7126 gnu/java/nio/natIntBufferImpl.cc,
7127 gnu/java/nio/natLongBufferImpl.cc,
7128 gnu/java/nio/natShortBufferImpl.cc:
7129 Added copyright and license.
7130 * java/nio/DoubleBuffer.java,
7131 java/nio/FloatBuffer.java,
7132 java/nio/IntBuffer.java,
7133 java/nio/LongBuffer.java,
7134 java/nio/ShortBuffer.java
7135 (array): Throw exceptions.
7136 (arrayOffset): Throw exceptions.
7138 2003-02-13 Michael Koch <konqueror@gmx.de>
7140 * gnu/java/util/prefs/FileBasedFactory.java,
7141 gnu/java/util/prefs/MemmoryBasedFactory.java,
7142 gnu/java/util/prefs/MemoryBasedPreferences.java,
7143 gnu/java/util/prefs/NodeReader.java,
7144 gnu/java/util/prefs/NodeWriter.java,
7145 java/util/prefs/AbstractPreferences.java,
7146 java/util/prefs/BackingStoreException.java,
7147 java/util/prefs/InvalidPreferencesFormatException.java,
7148 java/util/prefs/NodeChangeEvent.java,
7149 java/util/prefs/NodeChangeListener.java,
7150 java/util/prefs/PreferenceChangeEvent.java,
7151 java/util/prefs/PreferenceChangeListener.java,
7152 java/util/prefs/Preferences.java,
7153 java/util/prefs/PreferencesFactory.java:
7154 New files, all merged from classpath.
7156 (ordinary_java_source_files): Added the following files:
7157 gnu/java/util/prefs/FileBasedFactory.java,
7158 gnu/java/util/prefs/MemmoryBasedFactory.java,
7159 gnu/java/util/prefs/MemoryBasedPreferences.java,
7160 gnu/java/util/prefs/NodeReader.java,
7161 gnu/java/util/prefs/NodeWriter.java,
7162 (core_java_source_files): Added the following files:
7163 java/util/prefs/AbstractPreferences.java,
7164 java/util/prefs/BackingStoreException.java,
7165 java/util/prefs/InvalidPreferencesFormatException.java,
7166 java/util/prefs/NodeChangeEvent.java,
7167 java/util/prefs/NodeChangeListener.java,
7168 java/util/prefs/PreferenceChangeEvent.java,
7169 java/util/prefs/PreferenceChangeListener.java,
7170 java/util/prefs/Preferences.java,
7171 java/util/prefs/PreferencesFactory.java
7172 * Makefile.in: Regenerated.
7174 2003-02-13 Michael Koch <konqueror@gmx.de>
7176 * java/net/NetPermission.java
7177 (NetPermission): Make doucmentation match the method declaration.
7178 * java/net/NetworkInterface.java
7179 (equals): Reformated for GNU coding style.
7180 * java/net/ServerSocket.java: Merged with classpath.
7181 * java/net/Socket.java: Partly merged with classpath (Added some @since).
7182 * java/net/SocketImpl.java
7183 (localPort): Merged with classpath (initialize with -1).
7184 * java/net/SocketPermission.java: Merged with classpath (reindented).
7185 * java/net/URLDecoder.java: Merged with classpath (reindented).
7187 2003-02-13 Michael Koch <konqueror@gmx.de>
7189 * java/awt/GridBagConstraints.java
7190 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
7191 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
7192 * java/awt/KeyboardFocusManager.java
7193 (setGlobalCurrentFocusCycleRoot): Must be public.
7194 * java/awt/MenuComponent.java
7195 (MenuComponent): Must be public.
7196 * java/awt/Toolkit.java:
7197 Added some empty lines to make documentation more readable.
7198 (getFontPeer): Added @deprecated.
7199 (getColorModel): Added exception documentation.
7200 (getProperty): Fixed documentation.
7202 2003-02-12 Jeff Sturm <jsturm@one-point.com>
7204 * configure.host (alpha*-*): Default to -mieee.
7205 * configure.in (IEEESPEC): New.
7206 * libgcj.spec.in (jc1): Add IEEESPEC.
7207 * configure: Rebuild.
7209 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
7211 * include/win32.h: Include ws2tcpip.h instead of
7212 winsock.h to obtain definition of the socklen_t type.
7213 Remove IP_TOS definition - not needed with ws2tcpip.h
7214 (_Jv_connect): Correct slight formatting error.
7216 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
7218 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
7219 size of the arguments for a JNI function. For Win32,
7220 modify to search for all forms of possible exported
7221 names of an stdcall JNI function.
7222 (_Jv_JNIMethod::call): Modify to calculate the size
7223 of the arguments passed to a JNI function and pass
7224 it to _Jv_LookupJNIMethod.
7226 2003-02-12 Michael Koch <konqueror@gmx.de>
7228 * java/nio/channels/Channels.java: New file.
7230 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
7231 * Makefile.in: Regenerated.
7233 2003-02-12 Michael Koch <konqueror@gmx.de>
7235 * java/nio/ByteBuffer.java
7236 (allocate): Implemented.
7237 (wrap): Implemented.
7238 * java/nio/CharBuffer.java:
7239 Some documentation added and reworked.
7241 (allocate): Implemented.
7242 (wrap): Implemented.
7243 (array): Throw exceptions.
7244 (arrayOffset): Throw exceptions.
7245 (toString): Implemented.
7246 (length): Implemented.
7248 (charAt): Implemented.
7250 2003-02-11 John Leuner <jewel@debian.org>
7252 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
7253 reads from end of file.
7255 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
7257 * java/io/natFileDescriptorWin32.cc
7258 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
7259 returns with Win32 error code ERROR_BROKEN_PIPE.
7261 2003-02-11 Michael Koch <konqueror@gmx.de>
7264 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
7266 2003-02-11 Michael Koch <konqueror@gmx.de>
7268 * gnu/java/nio/ByteBufferImpl.java:
7269 Reformated and removed some code.
7270 (backing_buffer): Removed.
7271 (array_offset): Removed.
7272 (ro): Renamed to readOnly.
7273 (ByteBufferImpl): Use parent constructor, initialize readOnly.
7274 * gnu/java/nio/CharBufferImpl.java:
7275 Reformated and removed some code.
7276 (array_offset): Removed.
7277 (ro): Renamed to readOnly.
7278 (CharBufferImpl): Use parent constructor, initialize readOnly.
7280 (order): New method.
7281 * gnu/java/nio/DoubleBufferImpl.java:
7282 Reformated and removed some code.
7283 (array_offset): Removed.
7284 (ro): Renamed to readOnly.
7285 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
7287 (order): New method.
7288 * gnu/java/nio/FloatBufferImpl.java:
7289 Reformated and removed some code.
7290 (array_offset): Removed.
7291 (ro): Renamed to readOnly.
7292 (FloatBufferImpl): Use parent constructor, initialize readOnly.
7294 (order): New method.
7295 * gnu/java/nio/IntBufferImpl.java:
7296 Reformated and removed some code.
7297 (array_offset): Removed.
7298 (ro): Renamed to readOnly.
7299 (IntBufferImpl): Use parent constructor, initialize readOnly.
7301 (order): New method.
7302 * gnu/java/nio/LongBufferImpl.java:
7303 Reformated and removed some code.
7304 (array_offset): Removed.
7305 (ro): Renamed to readOnly.
7306 (LongBufferImpl): Use parent constructor, initialize readOnly.
7308 (order): New method.
7309 * gnu/java/nio/ShortBufferImpl.java:
7310 Reformated and removed some code.
7311 (array_offset): Removed.
7312 (ro): Renamed to readOnly.
7313 (ShortBufferImpl): Use parent constructor, initialize readOnly.
7315 (order): New method.
7317 (ordinary_java_source_files): Added the following files:
7318 gnu/java/nio/ByteBufferImpl.java
7319 gnu/java/nio/CharBufferImpl.java
7320 gnu/java/nio/DoubleBufferImpl.java
7321 gnu/java/nio/FloatBufferImpl.java
7322 gnu/java/nio/IntBufferImpl.java
7323 gnu/java/nio/LongBufferImpl.java
7324 gnu/java/nio/ShortBufferImpl.java
7325 java/nio/DoubleBuffer.java
7326 java/nio/FloatBuffer.java
7327 java/nio/IntBuffer.java
7328 java/nio/LongBuffer.java
7329 java/nio/ShortBuffer.java
7330 (nat_source_files): Added the following files:
7331 gnu/java/nio/natByteBufferImpl.cc
7332 gnu/java/nio/natCharBufferImpl.cc
7333 gnu/java/nio/natDoubleBufferImpl.cc
7334 gnu/java/nio/natFloatBufferImpl.cc
7335 gnu/java/nio/natIntBufferImpl.cc
7336 gnu/java/nio/natLongBufferImpl.cc
7337 gnu/java/nio/natShortBufferImpl.cc
7338 * Makefile.in: Regenerated.
7340 2003-02-11 Michael Koch <konqueror@gmx.de>
7342 * gnu/java/nio/natCharBufferImpl.cc
7343 (nio_cast): Removed.
7344 (nio_put_*): Removed.
7345 (nio_get_*): Removed.
7346 * gnu/java/nio/natDoubleBufferImpl.cc
7347 (nio_cast): Removed.
7348 (nio_put_*): Removed.
7349 (nio_get_*): Removed.
7350 * gnu/java/nio/natFloatBufferImpl.cc
7351 (nio_cast): Removed.
7352 (nio_put_*): Removed.
7353 (nio_get_*): Removed.
7354 * gnu/java/nio/natIntBufferImpl.cc
7355 (nio_cast): Removed.
7356 (nio_put_*): Removed.
7357 (nio_get_*): Removed.
7358 * gnu/java/nio/natLongBufferImpl.cc
7359 (nio_cast): Removed.
7360 (nio_put_*): Removed.
7361 (nio_get_*): Removed.
7362 * gnu/java/nio/natShortBufferImpl.cc
7363 (nio_cast): Removed.
7364 (nio_put_*): Removed.
7365 (nio_get_*): Removed.
7366 * gnu/java/nio/SelectorProviderImpl.java
7367 (openDatagramChannel): Throws IOException.
7368 (openPipe): Throws IOException.
7369 (openSelector): Throws IOException.
7370 (openServerSocketChannel): Throws IOException.
7371 (openSocketChannel): Throws IOException.
7372 * gnu/java/nio/ServerSocketChannelImpl.java
7373 (ServerSocketChannelImpl): Throws IOException.
7374 (implCloseSelectableChannel): Throws IOException.
7375 (implConfigureBlocking): Throws IOException.
7376 * java/nio/ByteBuffer.java
7377 (readOnly): Removed.
7378 (hasArray): Use isReadOnly() instead of readOnly.
7379 (array): Use isReadOnly() instead of readOnly.
7380 (arrayOffset): Use isReadOnly() instead of readOnly.
7381 * java/nio/CharBuffer.java
7382 (CharBuffer): Implements Cloneable and CharSequence.
7384 2003-02-11 Michael Koch <konqueror@gmx.de>
7386 * java/nio/DoubleBuffer.java
7387 (DoubleBuffer): Implements Comparable.
7389 (array_offset): New member variable.
7390 (DoubleBuffer): New constuctor.
7391 (get): May not be final.
7392 (put): May not be final.
7393 (arrayOffset): Implemented.
7394 (order): Made abstract.
7396 (as*Buffer): Removed.
7399 * java/nio/FloatBuffer.java
7400 (FloatBuffer): Implements Comparable.
7402 (array_offset): New member variable.
7403 (FloatBuffer): New constuctor.
7404 (get): May not be final.
7405 (put): May not be final.
7406 (arrayOffset): Implemented.
7407 (order): Made abstract.
7409 (as*Buffer): Removed.
7412 * java/nio/IntBuffer.java
7413 (IntBuffer): Implements Comparable.
7415 (array_offset): New member variable.
7416 (IntBuffer): New constuctor.
7417 (get): May not be final.
7418 (put): May not be final.
7419 (arrayOffset): Implemented.
7420 (order): Made abstract.
7422 (as*Buffer): Removed.
7425 * java/nio/LongBuffer.java
7426 (LongBuffer): Implements Comparable.
7428 (array_offset): New member variable.
7429 (LongBuffer): New constuctor.
7430 (get): May not be final.
7431 (put): May not be final.
7432 (arrayOffset): Implemented.
7433 (order): Made abstract.
7435 (as*Buffer): Removed.
7438 * java/nio/ShortBuffer.java
7439 (ShortBuffer): Implements Comparable.
7441 (array_offset): New member variable.
7442 (ShortBuffer): New constuctor.
7443 (get): May not be final.
7444 (put): May not be final.
7445 (arrayOffset): Implemented.
7446 (order): Made abstract.
7448 (as*Buffer): Removed.
7452 2003-02-11 Michael Koch <konqueror@gmx.de>
7454 * java/nio/channels/SelectionKey.java
7455 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
7458 2003-02-11 Michael Koch <konqueror@gmx.de>
7460 * java/nio/channels/DatagramChannel.java
7461 (write): Throws IOException.
7462 (connect): Throws IOException.
7463 (disconnect): Throws IOException.
7464 (read): Throws IOException.
7465 (receive): Throws IOException.
7466 (send): Throws IOException.
7467 * java/nio/channels/Pipe.java
7468 (open): Throws IOException.
7469 * java/nio/channels/SelectableChannel.java
7470 (configureBlocking): Throws IOException.
7471 * java/nio/channels/ServerSocketChannel.java
7472 (accept): Throws IOException.
7473 * java/nio/channels/SocketChannel.java
7474 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
7475 GatheringByteChannel.
7476 (read): Throws IOException.
7477 (write): Throws IOException.
7478 (finishConnect): Throws IOException.
7479 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7480 (end): Throws AsynchronousCloseException.
7481 * java/nio/channels/spi/AbstractSelectableChannel.java
7482 (configureBlocking): Throws IOException.
7483 (implCloseChannel): Throws IOException.
7484 (implCloseSelectableChannel): Throws IOException.
7485 (implConfigureBlocking): Throws IOException.
7486 * java/nio/channels/spi/SelectorProvider.java
7487 (openDatagramChannel): Throws IOException.
7488 (openPipe): Throws IOException.
7489 (openSelector): Throws IOException.
7490 (openServerSocketChannel): Throws IOException.
7491 (openSocketChannel): Throws IOException.
7493 2003-02-11 Michael Koch <konqueror@gmx.de>
7495 * gnu/java/nio/FileLockImpl.java,
7496 java/nio/channels/FileLock.java: New files.
7498 2003-02-11 Michael Koch <konqueror@gmx.de>
7500 * java/nio/charset/IllegalCharsetNameException.java
7501 (serialVersionUID): New member variable.
7502 (charsetName): New member variable.
7503 (IllegalCharsetException): New implementation.
7504 (getCharsetName): New implementation.
7505 * java/nio/charset/UnsupportedCharsetException.java
7506 (serialVersionUID): New member variable.
7507 (charsetName): New member variable.
7508 (UnsupportedCharsetException): New implementation.
7509 (getCharsetName): New implementation.
7511 2003-02-10 Tom Tromey <tromey@redhat.com>
7513 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
7514 (ex): Renamed from sqlException.
7516 2003-02-10 Raif S. Naffah <raif@fl.net.au>
7518 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
7519 method used to ensure seeding has occurred and that a specific
7520 seed can be set and used.
7522 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
7524 * java/lang/Win32Process.java (destroy): Declare as native.
7525 (hasExited): New native method.
7526 (exitValue): Define.
7527 (getErrorStream): Likewise.
7528 (getInputStream): Likewise.
7529 (getOutputStream): Likewise.
7530 (waitFor): Declare as native.
7531 (startProcess): New native method.
7532 (cleanup): Likewise.
7533 (ConcreteProcess): Define.
7534 (outputStream, inputStream, errorStream): New members.
7535 (procHandle, exitCode): Likewise.
7537 * java/lang/natWin32Process.cc
7538 (java::lang::ConcreteProcess::cleanup): Define.
7539 (java::lang::ConcreteProcess::destroy): Likewise.
7540 (java::lang::ConcreteProcess::hasExited): Likewise.
7541 (java::lang::ConcreteProcess::waitFor): Likewise.
7542 (new_string): Likewise.
7543 (java::lang::ConcreteProcess::startProcess): Likewise.
7545 2003-02-10 Raif S. Naffah <raif@fl.net.au>
7547 * java/math/BigInteger.java:
7548 Updated notice to include years 2002 and 3.
7549 Added 2 private (int) arrays with values from the HAC (Handbook of
7550 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
7551 and t[] that contains nbr. of tests --used in isProbablePrime().
7553 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
7555 * java/math/BigInteger.java (make(int[],int), add(int,int),
7556 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
7557 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
7558 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
7561 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
7562 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
7563 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
7564 BIs and returns void.
7565 (modInverse(BI)): Use new signatures of euclidInv().
7567 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
7568 static small primes instead of remainder().
7569 Use pre-computed max nbr of trials based on bitlength of BI to test.
7570 Use pre-computed small primes for the trial tests instead of random
7573 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
7576 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
7577 invoacation of MPN.chars_per_word(). not used.
7579 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
7580 local var and used where needed.
7582 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
7583 Combined declaration with initialisation of locals.
7586 * java/math/BigInteger.java: Style changes
7587 (pow(int)): Removed 'else' keyword.
7588 (toString(int)): idem.
7589 (doubleValue()): idem.
7590 (bitLength()): idem.
7591 (equals(Object)): Use static methods name in same class w/o prepending
7593 (doubleValue()): idem.
7594 (setNegative(BI)): idem.
7596 (and(BI,int)): idem.
7599 (byteArrayToIntArray()): Removed casting to (int). this is
7601 (canonicalize()): idem.
7602 (alloc(int)): Always instantiate a new BI.
7604 2003-02-10 Tom Tromey <tromey@redhat.com>
7606 * java/sql/Timestamp.java (compareTo(Object)): New method.
7607 (compareTo(Timestamp)): Likewise.
7608 (serialVersionUID): Updated.
7610 2003-02-07 Mark Wielaard <mark@klomp.org>
7612 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
7613 when verify is true.
7614 (JarFile(File, boolean)): Likewise.
7615 (manifestRead): Set manifestRead field correctly.
7617 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
7619 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
7620 tests; see patch #1016 on Savannah.
7622 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
7624 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
7625 (toString): do not return Strings starting with . and - erroneously.
7626 Improves Mauve results to 12 of 600 instead of 16 of 338 on
7629 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
7631 * java/beans/PropertyDescriptor.java
7632 (PropertyDescriptor(String, Class)): Sanity check getter and setter
7634 (PropertyDescriptor(String, Class, String, String)): Likewise.
7635 (PropertyDescriptor(String, Method, Method): Factor out getter and
7636 setter method sanity checks into new method.
7637 (findMethods): Don't do parameter sanity checking of get method here.
7638 (checkMethods): New method.
7640 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
7642 * java/beans/PropertyDescriptor.java: Reformat.
7644 2003-02-04 Tom Tromey <tromey@redhat.com>
7646 * java/io/PipedOutputStream.java (flush): Declare as throwing
7649 * java/io/PipedWriter.java (close): Declare as throwing
7651 * java/io/StringWriter.java (close): Declare as throwing
7654 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
7656 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
7657 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
7658 could also have been exported as "JNI_OnLoad@8" (MinGW) or
7659 "_JNI_OnLoad@8" (MSVC).
7661 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
7663 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
7664 convention on Win32 to invoke native JNI methods.
7666 2003-02-03 Andrew Haley <aph@redhat.com>
7668 * configure.host (x86_64): Enable interpreter.
7670 2003-02-03 Andrew Haley <aph@redhat.com>
7672 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
7673 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
7674 * configure.in (BACKTRACESPEC): New.
7675 * configure: Regenerate.
7677 2003-02-02 Tom Tromey <tromey@redhat.com>
7679 * configure: Rebuilt.
7680 * configure.in (TOOLKIT) [xlib]: Set correctly.
7682 * Makefile.in: Rebuilt.
7683 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
7686 2003-01-31 Mark WIelaard <mark@klomp.org>
7688 * Makefile.in: Rebuilt.
7689 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
7691 2003-01-31 Tom Tromey <tromey@redhat.com>
7693 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
7694 cast to element type.
7695 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
7696 (_Jv_JNI_GetObjectArrayElement): Likewise.
7698 * Makefile.in: Rebuilt.
7699 * Makefile.am (cond_x_ltlibrary): Renamed library to
7700 lib-gnu-awt-xlib.la.
7701 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
7702 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
7703 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
7704 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
7705 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
7706 (lib_gnu_awt_xlib_la_LINK): Likewise.
7707 (install-exec-hook): Removed.
7708 (lib-gnu-awt-xlib.la): Renamed.
7710 2003-01-31 Tom Tromey <tromey@redhat.com>
7712 * aclocal.m4, configure, include/config.h.in: Rebuilt.
7713 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
7714 aclocal.m4 and lost in some merge.
7716 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
7717 Don't try to find graphics configuration.
7718 * java/awt/Toolkit.java (default_toolkit_name): Use new
7719 Configuration entry.
7720 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
7722 * configure: Rebuilt.
7723 * configure.in (TOOLKIT): New subst.
7724 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
7725 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
7726 directory. Make output directories for .c files.
7727 * Makefile.in: Rebuilt.
7728 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
7729 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
7730 (all_java_source_files): Added new sources.
7731 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
7732 (gtk_c_files): New macro.
7733 (gtk_c_source_files): New macro.
7734 (cond_gtk_ltlibrary): New macro.
7735 ($(gtk_c_files)): New target.
7736 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
7737 (gtk_awt_peer_sources): New macro.
7738 (gtk_c_headers): New macro.
7739 ($(gtk_c_headers)): New target.
7740 (ACLOCAL_AMFLAGS): New macro.
7741 * gtk.m4, glib.m4, libart.m4: New files.
7742 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
7743 gnu/java/awt/peer/gtk/GdkGraphics.java,
7744 gnu/java/awt/peer/gtk/GtkArg.java,
7745 gnu/java/awt/peer/gtk/GtkArgList.java,
7746 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7747 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
7748 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
7749 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
7750 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
7751 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
7752 gnu/java/awt/peer/gtk/GtkClipboard.java,
7753 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7754 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
7755 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
7756 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
7757 gnu/java/awt/peer/gtk/GtkFontPeer.java,
7758 gnu/java/awt/peer/gtk/GtkFramePeer.java,
7759 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
7760 gnu/java/awt/peer/gtk/GtkImage.java,
7761 gnu/java/awt/peer/gtk/GtkImagePainter.java,
7762 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
7763 gnu/java/awt/peer/gtk/GtkListPeer.java,
7764 gnu/java/awt/peer/gtk/GtkMainThread.java,
7765 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
7766 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
7767 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
7768 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
7769 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
7770 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
7771 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
7772 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
7773 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
7774 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7775 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
7776 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7777 gnu/java/awt/peer/gtk/GtkToolkit.java,
7778 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
7779 gnu/java/awt/peer/gtk/TestAWT.java,
7780 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
7781 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
7782 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
7783 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
7784 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
7785 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
7786 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
7787 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
7788 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
7789 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
7790 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
7791 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
7792 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
7793 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
7794 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
7795 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
7796 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
7797 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
7798 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
7799 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
7800 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
7801 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
7802 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
7803 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
7804 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
7805 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
7806 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
7807 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
7808 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
7809 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
7810 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
7811 jni/classpath/native_state.c, jni/classpath/native_state.h,
7812 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
7814 2003-01-31 Julian Dolby <dolby@us.ibm.com>
7816 * java/util/Properties.java (load): Ignore backslash before EOF.
7818 2003-01-30 Jeff Sturm <jsturm@one-point.com>
7820 * java/lang/natClass.cc (initializeClass): Check tables when
7821 (state == JV_STATE_IN_PROGRESS).
7822 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
7823 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
7824 interpreted classes.
7825 (linkClass0): Use _Jv_WaitForState.
7827 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
7829 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
7830 object when finished.
7832 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
7834 * libjava/configure.host: Disable can_unwind_signal on darwin.
7836 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
7839 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
7840 additionally containing id of the owner thread as well as
7841 the number of nested times the thread has acquired the mutex.
7842 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
7843 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
7844 (_Jv_MutexUnlock): Check if really the owner thread, reset
7845 owner thread id to 0 before leaving, if leaving for the last
7847 (_Jv_MutexLock): Set owner thread id in the mutex and increment
7849 (_Jv_ThreadYield): Yield using a call to Sleep(0).
7850 * win32-threads.cc (_Jv_CondWait): Check if really owner of
7852 Pass handle of the broadcast event, instead of a pointer to it
7853 in Win32 ResetEvent( ) call.
7854 Remove incorrect return values.
7855 (_Jv_CondDestroy): Close both event handles and delete
7857 (_Jv_CondNotify): Check if really the owner thread.
7858 (_Jv_CondNotifyAll): Check if really the owner thread.
7859 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
7860 (really_start): Use SetEvent( ) to signal daemon_cond.
7861 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
7862 WaitForSingleObject( ) instead to wait for daemon_cond to be
7865 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
7867 * configure.in: Specifically define HAVE_BACKTRACE if building
7869 * include/win32.h: Remove HAVE_BACKTRACE definition.
7870 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
7871 * configure: Rebuilt.
7873 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
7875 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
7876 Set and AC_SUBST. Remove USE_LIBDIR conditional.
7877 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
7878 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
7879 * Makefile.in, configure: Rebuilt.
7881 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
7884 * java/io/natFileWin32.cc (performList): Append only "*.*"
7885 if the canonical file path already has a "\" at the end.
7887 2003-01-24 Tom Tromey <tromey@redhat.com>
7889 * defineclass.cc (handleMethodsEnd): Precompute code for static
7891 (handleCodeAttribute): Likewise.
7892 * resolve.cc (ncode): Use run_class for unsynchronized static
7894 * include/java-interp.h (class _Jv_InterpMethod): Declare
7896 * interpret.cc (run_synch_class): Initialize class.
7897 (run) [insn_invokestatic]: Don't initialize class.
7898 [insn_anewarray]: Likewise.
7899 [insn_multianewarray]: Likewise.
7900 (run_class): New function.
7902 2003-01-24 Tom Tromey <tromey@redhat.com>
7904 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
7907 2003-01-22 Andrew Haley <aph@redhat.com>
7909 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
7910 * configure.host (CHECKREFSPEC): Define for x86_64.
7912 2003-01-21 Tom Tromey <tromey@redhat.com>
7914 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
7917 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
7919 * java/io/natFileWin32.cc (isAbsolute): Check path length before
7920 looking at any characters.
7921 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
7923 (isAbsolute): Check path's length as well.
7925 2003-01-17 Mark Wielaard <mark@klomp.org>
7927 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
7928 (nat_source_files): Add natVMObjectStreamClass.cc.
7929 * Makefile.in: Regenerated.
7930 * gcj/javaprims.h (namespace java): Regenerated.
7931 * java/io/ObjectStreamClass.java (getClassUID): Call
7932 VMObjectStreamClass.hasClassInitializer().
7933 (hasClassInitializer): Removed.
7934 * java/io/VMObjectStreamClass.java: New class.
7935 * java/io/natVMObjectStreamClass.cc: New file.
7936 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
7938 2003-01-16 Mark Wielaard <mark@klomp.org>
7940 * java/net/SocketImpl.java (toString): Don't explicitly call
7941 toString() on possible null address.
7943 2003-01-16 Michael Koch <konqueror@gmx.de>
7945 * java/net/MulticastSocket.java
7946 (setInterface): Reindented.
7948 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
7950 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
7951 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
7952 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
7953 translateY arguments. Implement.
7954 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
7955 down translation arguments.
7956 (drawPolyline, drawPolygon): Fix incorrect tests.
7957 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
7958 translateX and translateY arguments.
7960 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
7962 * Makefile.in: Rebuilt.
7963 * Makefile.am (xlib_includes): New macro.
7966 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
7968 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
7969 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
7970 16-bit display mode.
7972 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
7974 * java/awt/CardLayout.java (show): Rewrote.
7975 (gotoComponent): Removed `target' argument. Simplified code.
7976 Don't pre-compute `choice' unless `what' is FIRST or LAST.
7977 Changed all callers.
7980 2003-01-14 Michael Koch <konqueror@gmx.de>
7982 * java/net/InetSocketAddress.java
7983 (serialVersionUID): New member variable.
7984 * java/net/NetPermission.java
7985 (NetPermission): Dont implement java.io.Serialization directly.
7986 * java/net/SocketAddress.java:
7987 (serialVersionUID): Documentation added.
7989 2003-01-14 Michael Koch <konqueror@gmx.de>
7991 * java/awt/Label.java
7992 (Label): Implements javax.accessibility.Accessible;
7993 * java/awt/List.java
7994 (List): Implements javax.accessibility.Accessible;
7995 * java/awt/ScrollPane.java
7996 (ScrollPane): Implements javax.accessibility.Accessible;
7997 * java/awt/Scrollbar.java
7998 (Scrollbar): Implements javax.accessibility.Accessible;
7999 * java/awt/TextComponent.java
8000 (setCaretPosition): Throw exception, documentation added.
8001 * java/awt/Toolkit.java:
8002 Added some newlines in method documentations.
8003 (createButton): Exception documentation added.
8004 (createTextField): Exception documentation added.
8005 (createLabel): Exception documentation added.
8006 (createList): Exception documentation added.
8007 (createCheckbox): Exception documentation added.
8008 (createScrollbar): Exception documentation added.
8009 (createScrollPane): Exception documentation added.
8010 (createTextArea): Exception documentation added.
8011 (createChoice): Exception documentation added.
8012 (createFrame): Exception documentation added.
8013 (createWindow): Exception documentation added.
8014 (createDialog): Exception documentation added.
8015 (createMenuBar): Exception documentation added.
8016 (createMenu): Exception documentation added.
8017 (createMenuItem): Exception documentation added.
8018 (createFileDialog): Exception documentation added.
8019 (createCheckboxMenuItem): Exception documentation added.
8020 (loadSystemColors): Exception documentation added.
8021 (setDynamicLayout): Exception documentation added.
8022 (isDynamicLayoutSet): Exception documentation added.
8023 (isDynamicLayoutActive): Exception documentation added.
8024 (getScreenSize): Exception documentation added.
8025 (getScreenResolution): Exception documentation added.
8026 (getScreenInsets): Exception documentation added.
8027 (getColorModel): Exception documentation added.
8028 (getSystemClipboard): Exception documentation added.
8029 (getSystemSelection): Exception documentation added.
8030 (getMenuShortcutKeyMask): Exception documentation added.
8031 (getSystemEventQueue): Exception documentation added.
8032 * java/awt/Window.java:
8033 Reindented some code.
8034 (Window): Centralized implementation, documentation added.
8035 (finalize): Documentation added.
8036 (hide): Fixed typo in comment.
8037 (getWindowListeners): Documentation added.
8038 * java/awt/color/ColorSpace.java
8039 (toRGB): Documentation added.
8040 * java/awt/color/ICC_ColorSpace.java
8041 (ICC_ColorSpace): Documentation added.
8042 (toRGB): Throw exception, documentation added.
8043 (fromRGB): Throw exception, documentation added.
8044 (toCIEXYZ): Documentation added.
8045 (fromCIEXYZ): Documentation added.
8046 (getMinValue): Documentation added.
8047 (getMaxValue): Documentation added.
8048 * java/awt/geom/Dimension2D.java
8049 (clone): Documentation added.
8050 * java/awt/geom/GeneralPath.java
8051 (clone): Documentation added.
8052 * java/awt/geom/Line2D.java
8053 (clone): Documentation added.
8054 * java/awt/geom/QuadCurve2D.java
8055 (clone): Documentation added.
8056 * java/awt/image/ColorModel.java
8057 (ColorModel): Throw exception, documentation added.
8058 * java/awt/image/ImageFilter.java
8059 (clone): Doesnt throw CloneNotSupportedException.
8061 2003-01-14 Andrew Haley <aph@redhat.com>
8063 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
8066 2003-01-10 Andrew Haley <aph@redhat.com>
8068 * include/dwarf2-signal.h: Remove x86_64.
8069 * configure.host (x86_64 DIVIDESPEC): Remove.
8070 * include/x86_64-signal.h: New file.
8071 * configure.in: Regenerate.
8073 2003-01-10 Michael Koch <konqueror@gmx.de>
8075 * java/net/DatagramSocket.java
8076 (ch): Description added.
8077 (remotePort): Initialize with -1.
8078 (connect): Doesnt throws SocketException.
8079 * java/net/MulticastSocket.java
8080 (setInterface): Merge with Classpath.
8081 * java/net/ServerSocket.java
8082 (closed): New member variable.
8083 (bind): Check if socket is closed.
8084 (close): Close an associated channel too, set new value to closed.
8085 (isBound): Reindented.
8086 (isClosed): Implemented.
8087 * java/net/Socket.java
8088 (closed): New member variable.
8089 (bind): Check if socket is closed.
8090 (connect): Check if socket is closed.
8091 (close): Close an associated channel too, set new value to closed.
8092 (isClosed): Implemented.
8094 2003-01-10 Michael Koch <konqueror@gmx.de>
8096 * java/awt/DisplayMode.java
8097 (equals): Fixed argument type and implementation.
8099 2003-01-07 Tom Tromey <tromey@redhat.com>
8101 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
8102 JV_HASH_SYNCHRONIZATION.
8103 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
8104 JV_HASH_SYNCHRONIZATION.
8106 2003-01-07 Michael Koch <konqueror@gmx.de>
8108 * java/net/DatagramSocket.java:
8109 Added classpath license info.
8110 (DatagramSocket): Merged description with classpath.
8111 (close): Merged description with classpath.
8112 (getChannel): Merged description with classpath.
8113 (getInetAddress): Merged description with classpath.
8114 (getPort): Merged description with classpath.
8115 (getLocalAddress): Merged description with classpath.
8116 (getLocalPort): Merged description with classpath.
8117 (getSoTimeout): Merged description with classpath.
8118 (setSoTimeout): Merged description with classpath.
8119 (getSendBufferSize): Merged description with classpath.
8120 (setSendBufferSize): Merged description with classpath.
8121 (getReceiveBufferSize): Merged description with classpath.
8122 (setReceiveBufferSize): Merged description with classpath.
8124 2003-01-04 Tom Tromey <tromey@redhat.com>
8126 * java/awt/List.java: Merged with Classpath.
8128 2003-01-03 Mark Wielaard <mark@klomp.org>
8130 * java/io/FileDescriptor.java (position): New private field.
8131 * java/io/natFileDescriptorPosix.cc (write): Up position.
8132 (setLength): Use and set position.
8133 (seek): Set position.
8134 (getFilePointer): Return position.
8135 (read): Up position.
8137 2003-01-03 Mark Wielaard <mark@klomp.org>
8139 Merge with Classpath:
8140 * java/io/ObjectStreamClass.java (lookup): Split method and call
8141 lookupForClassObject().
8142 (lookupForClassObject): New method.
8143 (isProxyClass): New field.
8144 (setClass): Set isProxyClass, add object to classLookupTable, set
8145 superClass and calculateOffsets.
8146 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
8147 and not a proxy class.
8148 (setFields): Set accessible true for serialPersistentFields.
8149 (getClassUID): Same for suid. And check if suid is of type long.
8150 (hasClassInitializer): Don't throw NoSuchMethodError.
8152 2003-01-03 Mark Wielaard <mark@klomp.org>
8154 * java/io/FileInputStream.java (finalize): Don't explicitly
8155 finalize FileDescriptor.
8157 2003-01-03 Jeff Sturm <jsturm@one-point.com>
8159 * configure.host (sparc*-*): Enable bytecode interpreter.
8161 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
8163 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
8164 Don't throw RemoteException.
8165 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
8166 throw RemoteException.
8168 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
8170 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
8171 proxyHost): New static fields.
8172 (<clinit>): Initialize new fields.
8173 (connect): Use proxy if necessary.
8174 (usingProxy): Implement.
8176 2003-01-03 Eric Blake <ebb9@email.byu.edu>
8178 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
8179 (TreeIterator.remove): Prefer IllegalStateException over
8180 ConcurrentModificationException, to match Sun.
8182 2002-12-22 Anthony Green <green@redhat.com>
8184 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
8186 2003-01-02 Mark Wielaard <mark@klomp.org>
8188 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
8190 (HTTP_USE_PROXY): Add field.
8191 (getResponseVals): Only set responseCode when not yet explicitly
8194 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
8195 Mark Wielaard <mark@klomp.org>
8197 * java/util/zip/ZipFile.java (entries): Now HashMap.
8198 (readLeShort(DataInput, byte[])): Read from given byte array.
8199 (readLeInt(DataInput, byte[]): Likewise.
8200 (readLeShort(byte[] b, int off)): New method.
8201 (readLeInt(byte[] b, int off)): Likewise.
8202 (readEntries): Use byte arrays to read info in bigger chunks.
8203 (getEntries): Return HashMap.
8204 (getEntry): Use HashMap.
8205 (locBuf): New private field.
8206 (checkLocalHeader): Use locBuf to read info in one chunk.
8207 (getInputStream): Use entries HashMap, wrap PartialInputStream
8208 in BufferedInputStream.
8209 (ZipEntryEnumeration): Use HashMap and Interator.
8211 2003-01-02 Mark Wielaard <mark@klomp.org>
8212 Jeroen Frijters <jeroen@sumatra.nl>
8214 * java/net/URLClassLoader.java (Resource.getCodeSource):
8215 Fix check certs == null.
8216 (getCanonicalFileURL): Removed method.
8217 (JarURLLoader): Don't call removed method.
8218 (FileURLLoader): Likewise.
8219 (FileURLLoader.getResource): Don't canonicalize file name.
8221 2003-01-01 Tom Tromey <tromey@redhat.com>
8223 * Makefile.in: Rebuilt.
8224 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
8225 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
8226 java/awt/BufferCapabilities.java, java/awt/Button.java,
8227 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
8228 java/awt/Container.java, java/awt/Cursor.java,
8229 java/awt/EventQueue.java, java/awt/FileDialog.java,
8230 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
8231 java/awt/MenuBar.java, java/awt/MenuComponent.java,
8232 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
8233 java/awt/Scrollbar.java, java/awt/TextArea.java,
8234 java/awt/TextField.java, java/awt/color/CMMException.java,
8235 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
8236 java/awt/color/ProfileDataException.java,
8237 java/awt/datatransfer/Clipboard.java,
8238 java/awt/datatransfer/DataFlavor.java,
8239 java/awt/datatransfer/FlavorMap.java,
8240 java/awt/datatransfer/SystemFlavorMap.java,
8241 java/awt/dnd/DragGestureEvent.java,
8242 java/awt/dnd/DragGestureRecognizer.java,
8243 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
8244 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
8245 java/awt/im/InputMethodHighlight.java,
8246 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
8247 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
8249 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
8250 `op' to BufferedImageOp.
8252 2002-12-31 Tom Tromey <tromey@redhat.com>
8254 Fix for PR libgcj/7416:
8255 * javax/naming/InitialContext.java (init): Use
8256 gnu.classpath.home.url.
8257 * java/security/Security.java: Use new properties.
8258 (loadProviders): Accept base url; use it.
8259 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
8260 gnu.classpath.home.url.
8261 (gnu.classpath.home.url): Define.
8262 (gnu.classpath.vm.shortname): Likewise.
8264 2002-12-31 Tom Tromey <tromey@redhat.com>
8265 Ranjit Mathew <rmathew@hotmail.com>
8267 Fix for PR libgcj/8997:
8268 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
8270 * include/posix.h (_Jv_platform_usleep): New function.
8271 * include/win32.h (_Jv_platform_usleep): New function.
8273 2002-12-29 Tom Tromey <tromey@redhat.com>
8275 * gcj/javaprims.h: Updated.
8276 * scripts/classes.pl (scan): Removed stray semicolon.
8278 2002-12-30 Mark Wielaard <mark@klomp.org>
8280 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
8283 2002-12-30 Mark Wielaard <mark@klomp.org>
8285 * java/util/Properties (formatForOutput): Don't fall through to
8286 default case after escaping character.
8288 2002-12-30 Mark Wielaard <mark@klomp.org>
8290 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
8293 2002-12-27 Mark Mitchell <mark@codesourcery.com>
8295 * boehm.cc: Remove stray semicolon.
8296 * interpret.cc: Likewise.
8297 * prims.cc: Likewise.
8298 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
8299 earlier to ensure default arguments are processed.
8300 * gcj/array.h (JArray): Add forward declaration.
8301 (elements): Likewise.
8302 * gcj/javaprim.h: Remove stray semicolons.
8303 * include/bohm-gc.h: Likewise.
8304 * include/jni.h: Likewise.
8305 * include/jvm.h: Likewise.
8306 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
8308 2002-12-23 Jeff Sturm <jsturm@one-point.com>
8310 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
8312 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
8313 idt tables after initializing superclass.
8314 * java/lang/natClassLoader.cc (uaddr): New typedef.
8315 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
8316 if they are constant pool indicies. Don't link vtable, otable yet.
8318 2002-12-21 Anthony Green <green@redhat.com>
8320 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
8322 * Makefile.in: Rebuilt.
8324 2002-12-19 Anthony Green <green@redhat.com>
8326 * Makefile.am (ordinary_java_source_files): Add
8327 org/xml/sax/helpers/NewInstance.java.
8328 * Makefile.in: Rebuilt.
8329 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
8330 org/xml/sax/helpers/package.html: New files.
8331 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
8332 http://www.saxproject.org.
8334 2002-12-19 Andrew Haley <aph@redhat.com>
8336 * java/util/natResourceBundle.cc: Include
8337 ArrayIndexOutOfBoundsException.h.
8338 (getCallingClassLoader): Don't put upper bound on stack search.
8339 Catch ArrayIndexOutOfBoundsException.
8341 2002-12-19 Tom Tromey <tromey@redhat.com>
8343 * libtool-version: Increased `current'.
8345 2002-12-19 Tom Tromey <tromey@redhat.com>
8347 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
8349 * java/lang/ClassLoader.java (defineClass): Use chained
8350 exception when rethrowing.
8351 * defineclass.cc (handleClassBegin): Mark class as interpreted.
8352 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
8354 * resolve.cc (_Jv_PrepareMissingMethods): New function.
8355 (_Jv_PrepareClass): Use it.
8356 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
8357 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
8358 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
8359 (Class): _Jv_PrepareMissingMethods now friend.
8360 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
8361 Record `NULL' for system class loader.
8362 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
8363 system class loader.
8364 (_Jv_FindClassInCache): Likewise.
8365 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
8366 (_Jv_FindClass): Special case system class loader.
8367 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
8368 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
8370 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
8372 (_getDeclaredMethod): Don't return synthetic methods.
8373 (getDeclaredMethods): Likewise.
8374 (_getMethod): Likewise.
8375 (_getMethods): Likewise.
8377 2002-12-18 Raif Naffah <raif@fl.net.au>
8379 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
8380 canonical form after divide().
8381 (modInverse): Likewise.
8383 2002-12-13 Casey Marshall <rsdio@metastatic.org>
8384 Mark Wielaard <mark@klomp.org>
8386 * java/security/SecurityRandom (digest): Removed field.
8387 (SecureRandom): Check all providers for case-insensitive SecureRandom
8388 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
8390 (getInstance(String,Provider,boolean): New method.
8391 (getInstance(String)): Use new method.
8392 (getInstance(String,String)): Likewise.
8393 (getInstance(String,Provider)): Likewise.
8395 2002-12-13 Casey Marshall <rsdio@metastatic.org>
8397 * java/security/Security.java (loadProviders): Increment i only once.
8399 2002-12-12 Mark Wielaard <mark@klomp.org>
8401 * java/lang/ClassLoader.java (resolveClass0): Transform
8402 ClassNotFoundException to NoClassDefFoundError. Transform all other
8403 throwables to LinkageError.
8405 2002-12-11 Tom Tromey <tromey@redhat.com>
8407 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
8409 * java/lang/ClassLoader.java (loadedClasses): New field.
8410 (defineClass): Fixed indentation. Put new class in
8412 (findLoadedClass): Implement here.
8413 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
8415 2002-12-10 Tom Tromey <tromey@redhat.com>
8417 * Makefile.in: Rebuilt.
8418 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
8419 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
8420 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
8421 * java/lang/natClassLoader.cc
8422 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
8424 2002-12-10 Mark Wielaard <mark@klomp.org>
8425 Tom Tromey <tromey@redhat.com>
8427 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
8428 (JarURLLoader): Use it.
8429 (FileURLLoader): Likewise.
8430 (JarURLResource.getURL): Use chained exception.
8431 (FileResource.getURL): Likewise.
8432 (FileURLLoader.getResource): Use canonical file name.
8433 (addURL): Indentation fix.
8435 2002-12-10 Tom Tromey <tromey@redhat.com>
8437 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
8438 From Laurent Bardet <l.bardet@magic.fr>.
8440 2002-12-09 Tom Tromey <tromey@redhat.com>
8442 * include/win32.h (_Jv_platform_solib_prefix): New define.
8443 (_Jv_platform_solib_suffix): Likewise.
8444 * include/posix.h (_Jv_platform_solib_prefix): New define.
8445 (_Jv_platform_solib_suffix): Likewise.
8446 * java/lang/natRuntime.cc: Include StackTrace.h.
8447 (_load): Use findLibrary and new platform defines.
8448 (nativeGetLibname): Use new platform defines.
8450 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
8453 2002-12-08 Mark Wielaard <mark@klomp.org>
8455 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
8456 cache remote jar files.
8457 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
8458 add File.separator to URL when it is a directory.
8459 * java/lang/ClassLoader.java: Add Classpath javadoc.
8461 (getParent): Add (disabled) security check.
8462 (findLibrary): New default method.
8463 * java/net/JarURLConnection.java (getManifest): Implement.
8464 (getInputStream): Only create InputStream when entry exists.
8465 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
8467 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
8469 2002-12-08 Mark Wielaard <mark@klomp.org>
8471 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
8472 (lastDefaultLocale): New field.
8473 (getBundle): When Locale.getDefault != lastDefaultLocale reset
8474 resourceBundleCache.
8476 2002-12-06 Mark Wielaard <mark@klomp.org>
8478 * java/net/InetAddress.java (toString): Use hostname when not null,
8479 don't do an explicit reverse getHostName() lookup.
8480 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
8481 NullPointerException.
8483 2002-12-06 Tom Tromey <tromey@redhat.com>
8485 * include/java-interp.h (class _Jv_InterpMethod): Added
8487 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
8488 mark `prepared' field of interpreted method.
8489 * interpret.cc (compile): Use _Jv_AllocBytes.
8491 2002-12-05 Andrew Haley <aph@redhat.com>
8493 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
8494 #ifdef (HAVE_BACKTRACE) around the whole function body.
8496 2002-12-05 Tom Tromey <tromey@redhat.com>
8498 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
8499 * resolve.cc: Don't include AbstractMethodError.h.
8500 (_Jv_abstractMethodError): Removed.
8501 * defineclass.cc (handleMethodsBegin): Initialize method index to
8503 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
8504 method index for "new" final method.
8505 (_Jv_SetVTableEntries): Compare index against -1 instead of using
8506 isVirtualMethod. Added `flags' argument.
8507 (_Jv_MakeVTable): Throw exception for abstract method in concrete
8510 2002-12-04 Tom Tromey <tromey@redhat.com>
8512 * java/net/SocketPermission.java (hashCode): Rewrote.
8514 2002-12-04 Tom Tromey <tromey@redhat.com>
8516 * Makefile.in: Rebuilt.
8517 * Makefile.am (nat_source_files): Added natVMSecurityManager,
8519 * java/util/ResourceBundle.java (Security): Removed.
8520 (getCallingClassLoader): Now native.
8521 * java/util/natResourceBundle.cc: New file.
8522 * java/lang/natVMSecurityManager.cc: New file.
8523 * java/lang/VMSecurityManager.java (getClassContext): Now native.
8525 2002-12-03 Mark Wielaard <mark@klomp.org>
8527 * java/util/jar/JarFile.java (manifest): Not final.
8528 (manifestRead): New field.
8529 (JarFile): Don't read Manifest in constructor.
8530 (getManifest): New method.
8531 (JarEnumeration.nextElement): Use new method.
8532 (getEntry): Likewise.
8533 * java/util/zip/ZipFile.java (name): Final.
8535 (entries): Change type to Hashtable.
8536 (closed): New field.
8537 (ZipFile): Don't read enties in constructor.
8538 (readEntries): Use Hashtable.
8539 (close): Set new close flag and set entries to null inside
8541 (entries): Contruct enumeration using new getEntries() method and
8543 (getEntryIndex): Removed.
8544 (getEntries): New method.
8545 (getEntry): Use new getEntries() method and entries Hastable.
8546 (getInputStream): Likewise.
8547 (size): Return getEntries().size().
8548 (ZipEntryEnumeration): Wrap entries Hashtable elements.
8549 * java/util/zip/ZipEntry.java (cal): Don't initialize.
8551 (dostime): New field.
8552 (zipFileIndex): Removed.
8553 (ZipEntry(ZipEntry)): Copy dostime.
8554 (setDOSTime): Now final and doesn't convert dos time.
8555 (getDOSTime): Likewise.
8556 (setTime): Convert dos time.
8557 (getTime): Likewise.
8558 (getCalendar): New method.
8559 (setExtra): Use setTime().
8560 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
8562 2002-12-03 Tom Tromey <tromey@redhat.com>
8564 * java/lang/Character.java (forDigit): Formatting fix.
8566 2002-12-03 Raif Naffah <raif@fl.net.au>
8568 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
8569 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
8570 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
8572 2002-12-03 Andrew Haley <aph@redhat.com>
8574 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
8576 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
8577 (_Jv_PopClass): New.
8578 (_Jv_PushClass): New.
8579 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
8580 discover the ClassLoader of our caller.
8581 (_Jv_CheckArrayStore): Don't check that a class is assignment
8582 compatible with Object.
8583 * java/lang/natVMTHrowable.cc: Delete.
8584 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
8585 java.lang.VMThrowable.
8586 (StackTrace(), StackTrace(int)): New constructors.
8587 (classAt, methodAt, update, methodAtAddress): New methods.
8589 * java/lang/VMThrowable.java: Use StackTrace instead of
8591 * java/lang/Class.h (getClassLoaderInternal): New.
8592 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
8593 Be friendly with gnu::gcj::runtime::StackTrace.
8594 (Object.chain): New field.
8595 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
8596 gnu::gcj::runtime::StackTrace.
8597 * gnu/gcj/runtime/natStackTrace.cc: New file.
8598 * gnu/gcj/runtime/MethodRef.java: New file.
8599 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
8600 instead of getClassLoader().
8601 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
8602 java::lang::VMThrowable.
8603 * Makefile.am (core_java_source_files): Add MethodRef.java,
8605 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
8606 * Makefile.in: Rebuild.
8608 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
8610 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
8611 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
8612 yes also for sh-linux* and sh[34]*-linux*.
8613 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
8614 set SIGNAL_HANDLER to use DWARF2 exception for them.
8615 * configure: Regenerate.
8617 2002-12-02 Tom Tromey <tromey@redhat.com>
8619 * jni.cc: Added `name' argument.
8620 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
8621 `const char *' argument.
8622 (class _Jv_JNIEnv) [DefineClass]: Likewise.
8624 2002-12-01 Tom Tromey <tromey@redhat.com>
8626 Bug compatibility, for PR libgcj/8738:
8627 * java/io/CharArrayWriter.java (close): Do nothing.
8629 (reset): Don't touch `closed'.
8630 (write(int)): Don't throw IOException.
8631 (write(char[],int,int)): Likewise.
8632 (write(String,int,int)): Likewise.
8635 2002-12-01 Mark Wielaard <mark@klomp.org>
8637 * java/lang/SecurityManager.java: Remerge comments, indenting and
8638 checkXXX methods with Classpath.
8640 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
8642 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
8643 getNormalizedComponents): Fix calculation which was using one too
8644 many bits in the unnormalized format.
8646 2002-11-29 Gary Benson <gbenson@redhat.com>
8649 * java/beans/Introspector.java (flushCaches): New method.
8650 (flushFromCaches): Likewise.
8652 2002-11-29 Michael Koch <konqueror@gmx.de>
8654 * java/nio/channels/DatagramChannel.java
8655 (open): Added exception documentation.
8656 (write): Added exception documentation.
8657 (connect): Added exception documentation.
8658 (disconnect): Added exception documentation.
8659 (isConnected): Added exception documentation.
8660 (read): Added exception documentation.
8661 (receive): Added exception documentation.
8662 (send): Added exception documentation.
8663 (validOps): Added exception documentation.
8664 * java/nio/channels/SocketChannel.java
8665 (open): Added exception documentation.
8666 (read): Added exception documentation.
8667 (write): Added exception documentation.
8668 (connect): Added exception documentation.
8669 (finishConnect): Added exception documentation.
8671 2002-11-29 Michael Koch <konqueror@gmx.de>
8673 * gnu/java/nio/DatagramChannelImpl:
8674 (fd): New member variable to store file descriptor of socket.
8675 * gnu/java/nio/SelectionKeyImpl.java:
8677 (readyOps): New member variable.
8678 (interestOps): New member variable.
8679 (readyOps): Implemented.
8680 (readyOps): New method to set member variable readyOps.
8681 (interestOps): Replaced ops by interestOps.
8682 * gnu/java/nio/SelectorImpl.java:
8683 (SelectorImpl): Initialize key sets.
8684 (select): Call select with -1 instead of Long.MAX_VALUE).
8685 (java_do_select): Make it a native method.
8686 (getFDsAsArray): New helper method.
8687 (select): Remove canceled keys, give only interested file discriptors
8688 to java_do_select, set ready ops.
8689 (add): No need to initialize keys set here.
8690 (add_selected): No need to initialize selected set here.
8691 (deregisterCanceledKeys): New helper method.
8692 (register): Set interest ops, set attachments, added handling of datagram
8694 * gnu/java/nio/ServerSocketChannelImpl:
8695 (SocketAccept): Renamed from NioSocketAccept.
8696 (implConfigureBlocking): Implemented.
8697 (accept): Use SocketAccept instead of NioSocketAccept.
8698 * gnu/java/nio/SocketChannelImpl:
8699 Reactivate native methods.
8701 2002-11-29 Michael Koch <konqueror@gmx.de>
8703 * gnu/java/nio/natByteBufferImpl.cc,
8704 gnu/java/nio/natCharBufferImpl.cc,
8705 gnu/java/nio/natDoubleBufferImpl.cc,
8706 gnu/java/nio/natFloatBufferImpl.cc,
8707 gnu/java/nio/natIntBufferImpl.cc,
8708 gnu/java/nio/natLongBufferImpl.cc,
8709 gnu/java/nio/natSelectorImpl.cc,
8710 gnu/java/nio/natServerSocketChannelImpl.cc,
8711 gnu/java/nio/natShortBufferImpl.cc,
8712 gnu/java/nio/natSocketChannelImpl.cc:
8713 New files that implement native functionalities.
8715 2002-11-29 Michael Koch <konqueror@gmx.de>
8717 * gnu/java/nio/ByteBufferImpl.java
8718 (ByteBufferImpl): Moved position() after limit.
8719 (nio_*): Use native implementation.
8720 * gnu/java/nio/CharBufferImpl.java:
8722 (endian): New member variable string endianess of buffer.
8723 (CharBufferImpl): Moved position() after limit.
8724 (nio_*): Use native implementation.
8725 (subSequence): Implemented.
8726 * gnu/java/nio/DoubleBufferImpl.java
8727 (DoubleBufferImpl): Moved position() after limit.
8728 (nio_*): Use native implementation.
8729 * gnu/java/nio/FloatBufferImpl.java
8731 (FloatBufferImpl): Moved position() after limit.
8732 (nio_*): Use native implementation.
8733 * gnu/java/nio/IntBufferImpl.java
8734 Added needed imports, Reformated.
8735 (IntBufferImpl): Moved position() after limit.
8736 (nio_*): Use native implementation.
8737 * gnu/java/nio/LongBufferImpl.java
8739 (LongBufferImpl): Moved position() after limit.
8740 (nio_*): Use native implementation.
8741 * gnu/java/nio/ShortBufferImpl.java
8743 (ShortBufferImpl): Moved position() after limit.
8744 (nio_*): Use native implementation.
8746 2002-11-27 Julian Dolby <dolby@us.ibm.com>
8748 * java/util/Locale.java (toString): Improve efficiency if country
8749 and variant are both empty.
8751 2002-11-26 Tom Tromey <tromey@redhat.com>
8753 * verify.cc (pop_init_ref): New method.
8754 (verify_instructions_0) [op_iaload, op_laload, op_faload,
8755 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
8756 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
8757 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
8758 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
8759 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
8760 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
8761 let `this' argument be uninitialized. Don't let `null' be passed
8762 as `this' to construtor.
8764 2002-11-26 Mark Wielaard <mark@klomp.org>
8766 * javax/transaction/HeuristicCommitException.java: Classpath merge.
8767 * javax/transaction/HeuristicMixedException.java: Likewise.
8768 * javax/transaction/HeuristicRollbackException.java: Likewise.
8769 * javax/transaction/InvalidTransactionException.java: Likewise.
8770 * javax/transaction/NotSupportedException.java: Likewise.
8771 * javax/transaction/RollbackException.java: Likewise.
8772 * javax/transaction/Status.java: Likewise.
8773 * javax/transaction/Synchronization.java: Likewise.
8774 * javax/transaction/SystemException.java: Likewise.
8775 * javax/transaction/Transaction.java: Likewise.
8776 * javax/transaction/TransactionManager.java: Likewise.
8777 * javax/transaction/TransactionRequiredException.java: Likewise.
8778 * javax/transaction/TransactionRolledbackException.java: Likewise.
8779 * javax/transaction/UserTransaction.java: Likewise.
8780 * javax/transaction/xa/XAException.java: Likewise.
8781 * javax/transaction/xa/XAResource.java: Likewise.
8782 * javax/transaction/xa/Xid.java: Likewise.
8784 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
8786 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
8788 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
8789 * include/posix.h (socklen_t): Define if not already defined.
8791 2002-11-25 Tom Tromey <tromey@redhat.com>
8793 * verify.cc (type::compatible): Backed out broken change.
8795 * verify.cc (type::compatible): Check initialization status
8797 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
8798 Don't use NULLCHECK.
8800 2002-11-23 H.J. Lu <hjl@gnu.org>
8802 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
8803 Include ../config/accross.m4.
8804 * aclocal.m4; Rebuild.
8805 * configure: Likewise.
8807 2002-11-23 Mark Wielaard <mark@klomp.org>
8809 * javax/naming/AuthenticationException.java: Update copyright header.
8810 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
8811 * javax/naming/Binding.java: Likewise.
8812 * javax/naming/CannotProceedException.java: Likewise.
8813 * javax/naming/CommunicationException.java: Likewise.
8814 * javax/naming/CompositeName.java: Likewise.
8815 * javax/naming/CompoundName.java: Likewise.
8816 * javax/naming/ConfigurationException.java: Likewise.
8817 * javax/naming/Context.java: Likewise.
8818 * javax/naming/ContextNotEmptyException.java: Likewise.
8819 * javax/naming/InitialContext.java: Likewise.
8820 * javax/naming/InsufficientResourcesException.java: Likewise.
8821 * javax/naming/InterruptedNamingException.java: Likewise.
8822 * javax/naming/LimitExceededException.java: Likewise.
8823 * javax/naming/LinkException.java: Likewise.
8824 * javax/naming/LinkLoopException.java: Likewise.
8825 * javax/naming/LinkRef.java: Likewise.
8826 * javax/naming/MalformedLinkException.java: Likewise.
8827 * javax/naming/NameAlreadyBoundException.java: Likewise.
8828 * javax/naming/NameClassPair.java: Likewise.
8829 * javax/naming/NameNotFoundException.java: Likewise.
8830 * javax/naming/NameParser.java: Likewise.
8831 * javax/naming/NamingEnumeration.java: Likewise.
8832 * javax/naming/NamingSecurityException.java: Likewise.
8833 * javax/naming/NoInitialContextException.java: Likewise.
8834 * javax/naming/NoPermissionException.java: Likewise.
8835 * javax/naming/NotContextException.java: Likewise.
8836 * javax/naming/OperationNotSupportedException.java: Likewise.
8837 * javax/naming/PartialResultException.java: Likewise.
8838 * javax/naming/Reference.java: Likewise.
8839 * javax/naming/Referenceable.java: Likewise.
8840 * javax/naming/ReferralException.java: Likewise.
8841 * javax/naming/ServiceUnavailableException.java: Likewise.
8842 * javax/naming/SizeLimitExceededException.java: Likewise.
8843 * javax/naming/TimeLimitExceededException.java: Likewise.
8844 * javax/naming/directory/Attribute.java: Likewise.
8845 * javax/naming/directory/AttributeInUseException.java: Likewise.
8846 * javax/naming/directory/AttributeModificationException.java: Likewise.
8847 * javax/naming/directory/Attributes.java: Likewise.
8848 * javax/naming/directory/BasicAttribute.java: Likewise.
8849 * javax/naming/directory/BasicAttributes.java: Likewise.
8850 * javax/naming/directory/DirContext.java: Likewise.
8851 * javax/naming/directory/InitialDirContext.java: Likewise.
8852 * javax/naming/directory/InvalidAttributeIdentifierException.java:
8854 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
8855 * javax/naming/directory/InvalidAttributesException.java: Likewise.
8856 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
8857 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
8858 * javax/naming/directory/ModificationItem.java: Likewise.
8859 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
8860 * javax/naming/directory/SchemaViolationException.java: Likewise.
8861 * javax/naming/directory/SearchControls.java: Likewise.
8862 * javax/naming/directory/SearchResult.java: Likewise.
8863 * javax/naming/event/EventContext.java: Likewise.
8864 * javax/naming/event/EventDirContext.java: Likewise.
8865 * javax/naming/event/NamespaceChangeListener.java: Likewise.
8866 * javax/naming/event/NamingEvent.java: Likewise.
8867 * javax/naming/event/NamingExceptionEvent.java: Likewise.
8868 * javax/naming/event/NamingListener.java: Likewise.
8869 * javax/naming/event/ObjectChangeListener.java: Likewise.
8870 * javax/naming/ldap/Control.java: Likewise.
8871 * javax/naming/ldap/ControlFactory.java: Likewise.
8872 * javax/naming/ldap/ExtendedRequest.java: Likewise.
8873 * javax/naming/ldap/ExtendedResponse.java: Likewise.
8874 * javax/naming/ldap/HasControls.java: Likewise.
8875 * javax/naming/ldap/InitialLdapContext.java: Likewise.
8876 * javax/naming/ldap/LdapContext.java: Likewise.
8877 * javax/naming/ldap/LdapReferralException.java: Likewise.
8878 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
8879 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
8880 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
8881 * javax/naming/spi/DirObjectFactory.java: Likewise.
8882 * javax/naming/spi/DirStateFactory.java: Likewise.
8883 * javax/naming/spi/DirectoryManager.java: Likewise.
8884 * javax/naming/spi/InitialContextFactory.java: Likewise.
8885 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
8886 * javax/naming/spi/NamingManager.java: Likewise.
8887 * javax/naming/spi/ObjectFactory.java: Likewise.
8888 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
8889 * javax/naming/spi/ResolveResult.java: Likewise.
8890 * javax/naming/spi/Resolver.java: Likewise.
8891 * javax/naming/spi/StateFactory.java: Likewise.
8893 * javax/naming/spi/NamingManager.java (ofb): Package private.
8895 2002-11-21 Mark Wielaard <mark@klomp.org>
8897 * java/net/URL.java: Merge with Classpath (partly).
8898 * java/net/URLStreamHandler: Merge with Classpath.
8900 2002-11-22 Michael Koch <konqueror@gmx.de>
8903 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
8905 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
8906 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
8908 2002-11-21 Michael Koch <konqueror@gmx.de>
8910 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
8911 Only the new network functions should be in it.
8913 2002-11-21 Michael Koch <konqueror@gmx.de>
8915 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
8916 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
8918 2002-11-21 Michael Koch <konqueror@gmx.de>
8920 * java/nio/channels/AsynchronousCloseException.java,
8921 java/nio/channels/CancelledKeyException.java,
8922 java/nio/channels/ClosedByInterruptException.java,
8923 java/nio/channels/ConnectionPendingException.java,
8924 java/nio/channels/FileLockInterruptionException.java,
8925 java/nio/channels/IllegalSelectorException.java,
8926 java/nio/channels/NoConnectionPendingException.java,
8927 java/nio/channels/NonReadableChannelException.java,
8928 java/nio/channels/NonWritableChannelException.java,
8929 java/nio/channels/NotYetBoundException.java,
8930 java/nio/channels/NotYetConnectedException.java,
8931 java/nio/channels/OverlappingFileLockException.java,
8932 java/nio/channels/UnresolvedAddressException.java,
8933 java/nio/channels/UnsupportedAddressTypeException.java:
8935 * Makefile.am (ordinary_java_source_files): Added new files.
8936 * Makefile.in: Regenerated.
8938 2002-11-21 Michael Koch <konqueror@gmx.de>
8941 (_Jv_socket): New method.
8942 (_Jv_connect): New method.
8943 (_Jv_close): New method.
8944 (_Jv_platform_close_on_exec): Prefixed system function with "::".
8945 (_Jv_bind): New method.
8946 (_Jv_listen): New method.
8947 (_Jv_write): New method.
8948 (_Jv_read): New method.
8950 (_Jv_socket): New method.
8951 (_Jv_connect): New method.
8952 (_Jv_close): New method.
8953 (_Jv_bind): New method.
8954 (_Jv_listen): New method.
8955 (_Jv_write): New method.
8956 (_Jv_read): New method.
8957 * java/net/natNetworkInterface.cc:
8958 Include platform.h, removed inclusion of socket.h
8959 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
8960 ::close() by _Jv_close().
8961 * java/net/natPlainDatagramSocketImpl.cc:
8962 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
8963 added some new lines to make code more readable.
8964 (create): Replaced ::socket() by _Jv_socket().
8965 (close): Replaced NATIVE_CLOSE() by _Jv_close().
8966 * java/net/natPlainSocketImpl.cc:
8967 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
8968 removed include of socket.h, removed some windows defines
8969 (now in include/win32.h).
8970 (create): Replaced ::socket() by _Jv_socket().
8971 (close): Replaced NATIVE_CLOSE() by _Jv_close().
8972 (write): Replaced ::read by _Jv_write().
8973 (read): Replaced ::read by _Jv_read().
8975 2002-11-20 Michael Koch <konqueror@gmx.de>
8977 * Makefile.am (ordinary_java_source_files):
8978 Added java/nio/channels/FileChannel.java.
8979 * Makefile.in: Regenerated.
8981 2002-11-20 Michael Koch <konqueror@gmx.de>
8983 * java/io/FileInputStream.java
8984 (getChannel): New method.
8985 * java/io/FileOutputStream.java
8986 (getChannel): New method.
8987 * java/net/ServerSocket.java
8988 (bind): Removed duplicate code and called another bind method instead.
8989 * java/nio/channels/SelectionKey.java
8990 (isValid): Removed wrong exception documentation.
8991 * java/nio/channels/ServerSocketChannel.java
8992 (accept): Added exception documentation.
8993 (open): Fixed typo, added exception documentation.
8994 * java/nio/channels/spi/AbstractSelectableChannel.java
8995 (implCloseChannel): Added exception documentation.
8997 (register): Added exception documentation.
8999 2002-11-20 Andreas Jaeger <aj@suse.de>
9001 * configure: Regenerated with new libtool.m4.
9003 2002-11-19 Tom Tromey <tromey@redhat.com>
9005 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
9007 (finalize_referred_to_object): Don't modify `referent' or `copy'
9009 (add_to_hash): Correctly set `n->next' when updating list.
9010 * java/lang/ref/Reference.java (enqueue): Return false if already
9013 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
9015 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
9016 to function and function pointer declarations in accordance with
9017 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
9018 based on whether __GCJ_JNI_IMPL__ has been defined or not.
9019 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
9020 JNI function definitions.
9022 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9024 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
9025 that was causing CoderResults to be cached, not WeakReferences
9028 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
9030 * java/security/KeyStore.java (getInstance): Fix
9031 comment and throw IllegalArgumentException if
9032 given provider is null.
9033 (getInstance): New method for jdk1.4 compatibility.
9035 2002-11-18 Michael Koch <konqueror@gmx.de>
9037 * java/net/PlainSocketImpl.java: Fix imports.
9039 2002-11-18 Michael Koch <konqueror@gmx.de>
9041 * java/nio/channels/SelectionKey.java
9042 (isValid): Added exception documentation.
9043 * java/nio/channels/Selector.java
9044 (open): Declare "throws IOException".
9046 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9048 * java/nio/charset/Charset.java
9049 (<clinit>): New method.
9050 (encode): Synchronize use of cached encoder object.
9051 (decode): Synchronize use of cached encoder object.
9053 2002-11-18 Michael Koch <konqueror@gmx.de>
9055 * gnu/java/nio/ByteBufferImpl.java,
9056 gnu/java/nio/CharBufferImpl.java,
9057 gnu/java/nio/DatagramChannelImpl.java,
9058 gnu/java/nio/DoubleBufferImpl.java,
9059 gnu/java/nio/FileChannelImpl.java,
9060 gnu/java/nio/FloatBufferImpl.java,
9061 gnu/java/nio/IntBufferImpl.java,
9062 gnu/java/nio/LongBufferImpl.java,
9063 gnu/java/nio/PipeImpl.java,
9064 gnu/java/nio/SelectionKeyImpl.java,
9065 gnu/java/nio/SelectorImpl.java,
9066 gnu/java/nio/SelectorProviderImpl.java,
9067 gnu/java/nio/ServerSocketChannelImpl.java,
9068 gnu/java/nio/ShortBufferImpl.java,
9069 gnu/java/nio/SocketChannelImpl.java,
9070 java/nio/DoubleBuffer.java,
9071 java/nio/FloatBuffer.java,
9072 java/nio/IntBuffer.java,
9073 java/nio/LongBuffer.java,
9074 java/nio/ShortBuffer.java,
9075 java/nio/channels/FileChannel.java: New files.
9077 2002-11-18 Michael Koch <konqueror@gmx.de>
9079 * Makefile.am (ordinary_java_source_files):
9080 Added java/nio/ReadOnlyBufferException.java and
9081 java/nio/channels/ClosedSelectorException.java.
9082 * Makefile.in: Regenerated.
9084 2002-11-18 Michael Koch <konqueror@gmx.de>
9086 * java/net/PlainSocketImpl.java: Reworked imports.
9087 * java/net/ServerSocket.java
9088 (ServerSocket): Create socket.
9089 * java/net/SocketAddress.java: Documentation added.
9090 * java/net/natPlainSocketImpl.cc: Reindented.
9091 * java/nio/ReadOnlyBufferException.java: New file
9092 * java/nio/channels/ClosedChannelException.java: Documentation added.
9093 * java/nio/channels/ClosedSelectorException.java: New file.
9095 2002-11-17 Mark Wielaard <mark@klomp.org>
9097 * java/net/HttpURLConnection.java ((getPermission): Take port
9099 (getErrorStream): Implement.
9101 2002-11-17 Mark Wielaard <mark@klomp.org>
9103 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
9105 2002-11-16 Mark Wielaard <mark@klomp.org>
9107 Integrate work by Raif S. Naffah (raif@fl.net.au)
9108 * java/security/DummyKeyPairGenerator.java (clone): New method.
9109 * java/security/DummyMessageDigest.java (clone): New method.
9110 (engineUpdate): Now public.
9111 (engineReset): Likewise.
9112 (engineDigest): Likewise.
9113 (engineGetDigestLength): New method.
9114 * java/security/DummySignature.java (clone): New method.
9115 * java/security/KeyPairGenerator.java (provider): Now package private.
9116 (getInstance(String)): Use getInstance(String,Provider).
9117 (getInstance(String,String): Use getInstance(String,Provider)
9118 (getInstance(String,Provider): New method.
9119 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
9120 * java/security/KeyPairGeneratorSpi.java (clone): New method.
9121 * java/security/MessageDigest.java (provider): Now package private.
9122 (getInstance(String): Use getInstance(String,Provider).
9123 (getInstance(String,String): Use getInstance(String,Provider)
9124 (getInstance(String,Provider): New method.
9125 * java/security/Provider.java (toCanonicalKey): New method.
9126 (get): New method that uses toCanonicalKey().
9127 (put): Use toCanonicalKey().
9129 * java/security/Security.java (insertProviderAt): Provider index is one
9130 based, not zero based.
9131 (addProvider): Likewise.
9132 (removeProvider): Likewise.
9133 * java/security/Signature.java (provider): Now package private.
9134 (getInstance(String)): Use getInstance(String,Provider).
9135 (getInstance(String,String): Use getInstance(String,Provider)
9136 (getInstance(String,Provider): New method.
9137 (getInstance(String,String,Provider): Don't cast DummySignature.
9139 2002-11-15 Tom Tromey <tromey@redhat.com>
9142 * java/util/zip/GZIPInputStream.java (read): Check file size.
9143 Look in inflater for remaining input bytes.
9144 (read4): Added buf and offset arguments.
9146 2002-11-12 Eric Blake <ebb9@email.byu.edu>
9148 * java/applet/AppletContext.java: Fix typo and remove redundant
9151 2002-11-14 Tom Tromey <tromey@redhat.com>
9153 * java/lang/natRuntime.cc (insertSystemProperties): Set
9156 2002-11-13 Michael Koch <konqueror@gmx.de>
9158 * java/nio/ByteBuffer.java
9159 (allocate): New method.
9164 2002-11-13 Michael Koch <konqueror@gmx.de>
9166 * java/nio/channels/AlreadyConnectedException.java:
9167 Removed unneeded import.
9168 (AlreadyConnectedException): Documentation added.
9169 * java/nio/channels/Pipe.java
9170 (SinkChannel.SinkChannel): Documentation added.
9171 (SinkChannel.validOps): New method.
9172 (SourceChannel.SourceChannel): Documentation added.
9173 (SourceChannel.validOps): New method.
9174 (Pipe): Documentation added.
9175 (open): Documentation added.
9176 (SinkChannel.channel): Documentation added.
9177 (SourceChannel.channel): Documentation added.
9178 * java/nio/channel/SelectableChannel.java
9179 (SelectableChannel): Documentation added.
9180 (blockingLock): Documentation added.
9181 (configureBlocking):Documentation added.
9182 (isBlocking):Documentation added.
9183 (isRegistered):Documentation added.
9184 (keyFor):Documentation added.
9185 (provider):Documentation added.
9186 (register): Documentation added.
9187 (validOps): Documentation added.
9188 * jaba/nio/channels/SelectionKey.java
9189 (SelectionKey): Documentation added.
9190 (attach): Documentation added.
9191 (attachment): Documentation added.
9192 (isAcceptable): Documentation added.
9193 (isConnetable): Documentation added.
9194 (isReadable): Documentation added.
9195 (isWritable): Documentation added.
9196 (cancel): Documentation added.
9197 (channel): Documentation added.
9198 (interestOps): Documentation added.
9199 (isValid): Documentation added.
9200 (readyOps): Documentation added.
9201 (selector): Documentation added.
9202 * jaba/nio/channels/Selector.java
9203 (Selector): Documentation added.
9204 (open): Documentation added.
9205 (close): Documentation added.
9206 (isOpen): Documentation added.
9207 (keys): Documentation added.
9208 (provider): Documentation added.
9209 (select): Documentation added.
9210 (selectedKeys): Documentation added.
9211 (selectNow): Documentation added.
9212 (wakeup): Documentation added.
9213 * java/nio/channels/spi/AbstractInterruptibleChannel.java
9214 (AbstractInterruptibleChannel): Documentation added.
9215 (opened): Default to true;
9216 (begin): Documentation added.
9217 (close): Set opened to false, documentation added.
9218 (isOpen): Documentation added.
9219 * java/nio/channels/spi/AbstractSelectionKey.java
9220 (AbstractSelectionKey): Documentation added.
9221 (cancel): Documentation added.
9222 (isValid): Documentation added.
9223 * java/nio/channels/spi/AbstractSelector.java
9224 (AbstractSelector): Documentation added.
9225 (begin): Documentation added.
9226 (close): Documentation added.
9227 (isOpen): Documentation added.
9228 (deregister): Documentation added.
9229 (end): Documentation added.
9230 (provider): Documentation added.
9231 (implCloseSelector): Documentation added.
9232 (register): Documentation added.
9233 * java/nio/channels/spi/SelectorProvider.java
9234 (SelectorProvider): Documentation added.
9235 (openDatagramChannel): Documentation added.
9236 (openPipe): Documentation added.
9237 (openSelector): Documentation added.
9238 (openServerSocketChannel): Documentation added.
9239 (openSocketChannel): Documentation added.
9240 (provider): Documentation added.
9242 2002-11-12 Michael Koch <konqueror@gmx.de>
9244 * java/nio/Buffer.java: Implemented.
9245 * java/nio/CharBuffer.java: New file.
9246 * java/nio/InvalidMarkException.java: New file.
9247 * java/nio/channels/DatagramChannel.java: Implemented.
9248 * java/nio/channels/ServerSocketChannel.java: Implemented.
9249 * java/nio/channels/SocketChannel.java: Implemented.
9250 * java/nio/channels/spi/AbstractChannel.java: Removed.
9251 * java/nio/channels/spi/AbstractSelectableChannel.java:
9253 * java/nio/charset/Charset.java:
9254 Merge from Classpath.
9255 * java/nio/charset/CharsetDecoder.java: New file.
9256 * java/nio/charset/CharsetEncoder.java: New file.
9257 * java/nio/charset/CoderResult.java: New file.
9258 * Makefile.am (ordinary_java_source_files): Added new files.
9259 * Makefile.in: Regenerated.
9261 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9263 * gnu/java/nio/charset/ISO_8859_1.java,
9264 gnu/java/nio/charset/Provider.java,
9265 gnu/java/nio/charset/US_ASCII.java,
9266 gnu/java/nio/charset/UTF_16.java,
9267 gnu/java/nio/charset/UTF_16BE.java,
9268 gnu/java/nio/charset/UTF_16Decoder.java,
9269 gnu/java/nio/charset/UTF_16Encoder.java,
9270 gnu/java/nio/charset/UTF_16LE.java,
9271 gnu/java/nio/charset/UTF_8.java: New files.
9273 2002-11-11 Michael Koch <konqueror@gmx.de>
9275 * java/nio/charset/CharacterCodingException.java:
9276 This class must be public.
9277 * java/nio/charset/CoderMalfunctionError.java:
9278 This class must be public.
9279 * java/nio/charset/CodingErrorAction.java:
9280 This class must be public.
9281 * java/nio/charset/IllegalCharsetNameException.java:
9282 This class must be public, better implementation.
9283 * java/nio/charset/MalformedInputException.java:
9284 This class must be public, better implementation.
9285 * java/nio/charset/UnmappableCharacterException.java:
9286 This class must be public, better implementation.
9287 * java/nio/charset/UnsupportedCharsetException.java:
9288 This class must be public, better implementation.
9290 2002-11-11 Michael Koch <konqueror@gmx.de>
9292 * java/nio/BufferOverflowException.java,
9293 java/nio/BufferUnderflowException.java: New file.
9294 * Makefile.am (ordinary_java_source_files):
9296 * Makefile.in: Regenerated.
9298 2002-11-10 Tom Tromey <tromey@redhat.com>
9300 * java/awt/Container.java (validate): Use tree lock.
9301 (getComponent): Likewise.
9302 (getComponents): Likewise.
9303 (addImpl): Likewise.
9305 (removeAll): Likewise.
9306 (processEvent): Fixed indentation.
9307 (getComponentAt): Use tree lock.
9308 (findComponentAt): Likewise.
9309 (removeNotify): Likewise.
9310 (isAncestorOf): Likewise.
9312 (visitChildren): Likewise.
9313 (findNextFocusComponent): Likewise.
9314 (addNotifyContainerChildren): Likewise.
9315 (getAccessibleChildrenCount): Likewise.
9316 (getAccessibleChild): Likewise.
9318 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
9319 (getSize): Likewise.
9320 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
9321 (getSize): Likewise.
9322 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
9323 (calcSize): Likewise.
9324 * java/awt/CardLayout.java (getSize): Use tree lock.
9325 (gotoComponent): Likewise.
9326 (layoutContainer): Likewise.
9328 * java/io/natFileDescriptorWin32.cc (read): Handle case where
9330 * java/io/natFileDescriptorPosix.cc (read): Handle case where
9333 * java/io/Externalizable.java, java/io/FilePermission.java,
9334 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
9335 java/io/SerializablePermission.java, java/text/Format.java,
9336 java/util/AbstractMap.java, java/util/HashMap.java,
9337 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
9338 versions from Classpath.
9340 2002-11-10 Anthony Green <green@redhat.com>
9342 * java/util/jar/Attributes.java (Name): Fix name check.
9344 2002-11-10 Mark Wielaard <mark@klomp.org>
9346 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
9347 with getName() as message.
9348 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
9351 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
9354 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
9356 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
9357 for Win32. JNICALL has been defined to __stdcall to be compatible
9360 2002-11-10 Tom Tromey <tromey@redhat.com>
9362 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
9363 (setRows): Check newRows, not rows.
9365 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
9367 2002-11-09 Tom Tromey <tromey@redhat.com>
9369 * java/applet/Applet.java, java/applet/AppletContext.java,
9370 java/applet/AppletStub.java, java/applet/AudioClip.java,
9371 java/awt/CardLayout.java,
9372 java/awt/ContainerOrderFocusTraversalPolicy.java,
9373 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
9374 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
9375 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
9376 java/awt/color/ICC_ColorSpace.java,
9377 java/awt/color/ICC_Profile.java,
9378 java/awt/color/ICC_ProfileGray.java,
9379 java/awt/color/ICC_ProfileRGB.java,
9380 java/awt/datatransfer/DataFlavor.java,
9381 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
9382 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
9383 New versions from Classpath.
9384 * Makefile.in: Rebuilt.
9385 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
9388 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
9391 * java/awt/List.java (processEvent): Added missing `else's.
9393 * java/awt/Window.java (show): validate() before showing. Make
9395 (isDisplayable): New method.
9397 2002-11-07 Mark Wielaard <mark@klomp.org>
9399 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
9400 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
9402 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
9404 (loadClass): Take String as codebases.
9405 (getClassAnnotation): Use MyClassLoader annotations.
9406 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
9407 call exportObject(this).
9409 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
9410 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
9411 (setAnnotation): Don't set locBytesStream and locStream.
9412 (replaceObject): Removed.
9413 (flush): Don't test locStream.
9414 (getLocBytes): LikeWise.
9415 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
9416 (leaseCache): New field.
9417 (dirty): Use leaseCache.
9418 (LeaseRecord): New inner class.
9419 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
9420 explicitly call exportObject().
9421 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
9422 false to communicate with Sun JDK130.
9423 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
9424 * gnu/java/rmi/server/RMIObjectInputStream.java
9425 (UnicastConnectionManager): Removed field.
9426 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
9427 Use UnicastServer.getExportedRef().
9428 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
9429 (expireTime): Likewise.
9430 (CONNECTION_TIMEOUT): Likewise.
9431 (disconnect): Call sock.close().
9432 (isExpired): New method.
9433 (resetTime): Likewise.
9434 (run): Use do while loop and catch Exception for discardConnection().
9435 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
9436 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
9437 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
9438 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
9439 (exportObject): Use refcache.
9440 (unexportObject): Likewise.
9441 (getExportedRef): New method.
9442 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
9444 (exportObject): Save manager.serverobj.
9445 (getStub): New method.
9447 2002-11-07 Mark Wielaard <mark@klomp.org>
9449 * java/lang/reflect/natField.cc (getBoolean): Use getType().
9450 (getByte): Likewise.
9451 (getShort): Likewise.
9453 (getLong): Likewise.
9454 (getFloat): Likewise.
9455 (getDouble): Likewise.
9457 (setChar): Likewise.
9458 (setByte): Likewise.
9459 (setShort): Likewise.
9461 (setLong): Likewise.
9462 (setFloat): Likewise.
9463 (setDouble): Likewise.
9465 2002-11-07 Michael Koch <konqueror@gmx.de>
9467 * java/awt/Choice.java,
9468 java/awt/Container.java,
9469 java/awt/GridBagLayout.java:
9470 Fixed documentation.
9471 * java/awt/peer/ContainerPeer.java:
9474 2002-11-07 Michael Koch <konqueror@gmx.de>
9476 * java/awt/color/ICC_Profile.java:
9477 Added missing constants.
9478 * java/awt/color/ICC_ColorSpace.java
9479 (getMinValue): Added dummy implementation.
9480 (getMaxValue): Added dummy implementation.
9481 * java/awt/datatransfer/DataFlavor.java
9482 (imageFlavor): Added.
9483 (isMimeTypeEqual): Must be final.
9484 (getDefaultRepresentationClass): Must be non-static.
9485 (getDefaultRepresentationClassAsString): Must be non-static.
9486 * java/awt/dnd/DragSourceContext.java
9487 (dragExit): Corrected argument.
9488 (dragDropEnd): Corrected argument.
9489 * java/awt/dnd/DragSourceListener.java.java
9490 (dragExit): Corrected argument.
9491 (dragDropEnd): Corrected argument.
9492 * java/awt/font/TextHitInfo.java
9493 (toString): Added stubbed implementation.
9494 * java/awt/geom/PathIterator.java:
9495 The constants must be static.
9496 * java/awt/image/VolatileImage.java
9497 (IMAGE_INCOMPATIBLE): Fixed typo.
9498 * java/awt/image/renderable/RenderableImage.java
9499 (HINTS_OBSERVED): Must be static.
9500 * java/beans/BeanInfo.java:
9501 Constants must be final.
9503 2002-11-06 Tom Tromey <tromey@redhat.com>
9505 From svens@it.uu.se. For PR libgcj/8481.
9506 * java/util/Random.java (nextInt(int)): Only use 31 bits.
9508 2002-11-06 Tom Tromey <tromey@redhat.com>
9510 * jni.cc (array_from_valist): Assume that jlong won't be
9513 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
9515 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
9517 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
9520 2002-11-03 Tom Tromey <tromey@redhat.com>
9522 * java/lang/ClassLoader.java (loadClass): Call loadClass on
9523 VMClassLoader, not findClass.
9525 2002-11-03 Jeff Sturm <jsturm@one-point.com>
9527 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
9528 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
9529 _Jv_DetermineVTableIndex, to determine vtable offset.
9530 (_Jv_DetermineVTableIndex): Remove.
9531 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
9533 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
9535 2002-11-03 Tom Tromey <tromey@redhat.com>
9537 * java/nio/channels/AlreadyConnectedException.java: Extend
9538 IllegalStateException, per spec.
9540 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
9542 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
9544 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
9546 * java/util/ArrayList.java (readObject, writeObject): Only read/write
9549 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
9551 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
9552 initial estimated size to avoid enlarge buffer frequently.
9554 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
9556 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
9557 ClassLoader when null.
9558 (ProxyType.hashCode): Loader null check no longer needed.
9559 (ProxyType.sameTypes): New method.
9560 (ProxyType.equals): Use new method.
9562 2002-10-31 Mark Wielaard <mark@klomp.org>
9564 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
9566 * java/net/URLEncoder.java (encode): Likewise.
9568 2002-10-31 Mark Wielaard <mark@klomp.org>
9570 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
9571 when stream is closed.
9572 (closeEntry): Likewise.
9574 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
9575 ZipException when no entry active.
9576 (closeEntry): Likewise.
9579 2002-11-02 Tom Tromey <tromey@redhat.com>
9581 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
9582 * java/lang/natClass.cc (initializeClass): Don't return just
9583 because self==thread.
9586 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
9587 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
9589 2002-11-02 Andreas Schwab <schwab@suse.de>
9591 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
9593 (FLAGS_TO_PASS): Define.
9594 * Makefile.in: Regenerated.
9596 2002-11-01 Michael Koch <konqueror@gmx.de>
9598 * java/nio/ByteOrder.java: New file.
9599 * java/nio/channels/DatagramChannel.java:
9600 (DatagramChannel): New constructor.
9601 * java/nio/channels/Pipe.java: New file.
9602 * java/nio/channels/SelectableChannel.java: New file.
9603 * java/nio/channels/SelectionKey.java: New file.
9604 * java/nio/channels/Selector.java: New file.
9605 * java/nio/channels/ServerSocketChannel.java
9606 (ServerSocketChannel): New constructor.
9607 * java/nio/channels/SocketChannel.java
9608 (SocketChannel): New constructor.
9609 * java/nio/channels/Pipe.java: New file.
9610 * java/nio/channels/spi/AbstractChannel.java: New file.
9611 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
9612 * java/nio/channels/spi/AbstractSelectableChannel.java:
9614 (AbstractSelectableChannel): New stubbed method.
9615 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
9616 * java/nio/channels/spi/AbstractSelector.java: New file.
9617 * java/nio/channels/spi/SelectorProvider.java: New file.
9618 * java/nio/charset/Charset.java: New file.
9619 * java/nio/charset/CoderMalfunctionError.java: New file.
9620 * java/nio/charset/CodingErrorAction.java: New file.
9621 * java/nio/charset/spi/CharsetProvider.java
9622 (charsetForName): Uncommented.
9623 * Makefile.am (java_native_source_files): Added new files.
9624 * Makefile.in: Regenerated.
9626 2002-11-01 Michael Koch <konqueror@gmx.de>
9628 * java/net/InetAddress.java:
9629 (isAnyLocalAddress): Implemented.
9630 (isLoopbackAddress): Implemented, comment added.
9631 (isLinkLocalAddress): Implemented, documentation added.
9632 (isSiteLocalAddress): Implemented, documentation added.
9633 (isMCGlobal): Implemented, documentation added.
9634 (isMCNodeLocal): Implemented, documentation added.
9635 (isMCLinkLocal): Implemented, documentation added.
9636 (isMCSiteLocal): Implemented, documentation added.
9637 (isMCOrgLocal): Implemented, documentation added.
9638 (getHostName): Documentation added.
9639 (getCanonicalHostName): Implemented, documentation added.
9640 (getAddress): Documentation added.
9641 (hashCode): Documentation added.
9642 (equals): Documentation added.
9643 (toString): Fixed implementation.
9644 (getByAddress): Use Inet4Address and Inet6Address.
9645 (lookup): New linewrap.
9646 (getByName): SecurityManager check added, support Inet4Address and
9647 Inet6address, comments added.
9648 (getAllByName): SecurityManager check added, comments added.
9649 * java/net/Inet6Address.java:
9650 (Inet6Address): Initialize parent class with addr instead of null.
9652 (equals): Documentation added.
9653 (getFile): Documentation added.
9654 (hashCode): Documentation added.
9655 * java/net/natInetAddress.cc:
9656 (aton): Fix IPv6 support.
9657 * java/net/natPlainDatagramSocketImpl.cc:
9658 (peek): Throw PortUnreachableException when suitable.
9659 (peekData): Throw PortUnreachableException when suitable.
9660 (send): Throw PortUnreachableException when suitable.
9661 (receive): Throw PortUnreachableException when suitable.
9663 2002-10-27 Mark Wielaard <mark@klomp.org>
9665 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
9667 (readLeShort): Likewise and use byte[].
9668 (readLeInt): Likewise.
9669 (readEntries): Use new versions of methods and use byte[] for reading
9670 a complete zip entry. Add ZipFile name to exceptions.
9671 (entries): Add ZipFile name to exceptions.
9672 (getEntry): Likewise.
9673 (checkLocalHeader): Use new versions of methods and add ZipFile name
9676 2002-10-31 Mark Anderson <mark@panonet.net>
9678 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
9681 2002-10-25 Krister Walfridsson <cato@df.lth.se>
9683 * configure.in: Disable hash sync when not using threads.
9684 * configure: Regenerated.
9686 2002-10-24 Tom Tromey <tromey@redhat.com>
9688 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
9689 (_Jv_FindSymbolInExecutable): Removed argument name.
9690 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
9691 java.library.path is set.
9693 * gij.cc (help): Document --showversion.
9694 (version): Don't exit.
9695 (main): Handle --showversion. Exit if --version given.
9697 2002-10-23 Tom Tromey <tromey@redhat.com>
9699 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
9700 (array_from_valist): Correctly handle promotion for jint, jlong,
9701 jfloat, and jdouble.
9703 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
9705 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
9706 GetFileAttributesEx( ) to find file length and modification times,
9707 as the latter is not present on Windows 95.
9709 2002-10-21 Michael Koch <konqueror@gmx.de>
9712 (URL): Activate SecurityManager checks.
9713 (equals): Use URLStreamHandler implementation instead of doing it
9714 alone. This allows special protocol stream handlers to change default
9716 (hashCode): Use URLStreamHandler implementation instead of doing it
9717 alone. This allows special protocol stream handlers to change default
9719 * java/net/URLStreamHandler.java
9720 (equals): Implemented default URL equality check.
9721 (hostsEqual): Implemented default URL equality check.
9722 (hashCode): Implemented default URL hashCode algorithm.
9723 * java/net/natPlainDatagramSocketImpl.cc:
9724 No lines longer then 80 characters.
9726 2002-10-20 Adam Megacz <adam@xwt.org>
9728 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
9729 * configure.in: enabled hash sync on Win32
9730 * include/win32-threads.h (_Jv_ThreadId_t): added.
9731 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
9732 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
9733 removed some posix-isms, use Thread::sleep() instead of usleep,
9734 added code to clear bottom three bits if platform has a broken
9736 * include/win32-threads.h (_Jv_ThreadId_t): added.
9738 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
9740 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
9741 runtime property "gnu.gcj.progname" containing the name used to
9742 invoke the current Java program (similar to argv[0] for C
9745 2002-10-15 Tom Tromey <tromey@redhat.com>
9747 Fix for PR libgcj/8234:
9748 * java/util/zip/natInflater.cc (reset): Reset avail_in.
9749 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
9751 2002-10-13 Mark Wielaard <mark@klomp.org>
9753 * mauve-libgcj: Enable Mauve tests that compile now.
9755 2002-10-11 Mark Wielaard <mark@klomp.org>
9757 Fix for PR libgcj/8142
9758 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
9759 loading native modules.
9761 2002-10-10 Michael Koch <konqueror@gmx.de>
9763 * javax/swing/AbstractListModel.java
9764 (getListDataListeners): New stubbed method.
9765 javax/swing/DefaultBoundedRangeModel.java
9766 (getChangeListeners): New stubbed method.
9767 javax/swing/DefaultSingleSelectionModel.java
9768 (getChangeListeners): New stubbed method.
9770 2002-10-10 Michael Koch <konqueror@gmx.de>
9772 * gcj/.cvsignore: New file to ignore files generated during build.
9773 * include/.cvsignore: New file to ignore files generated during build.
9775 2002-10-10 Michael Koch <konqueror@gmx.de>
9777 * java/net/HttpURLConnection.java
9778 (getPermission): New method.
9779 (getErrorStream): New stub method.
9780 (getHeaderFieldDate): New stub method.
9781 * java/net/Inet4Address.java:
9782 (isLinkLocalAddress): Typo fixed.
9783 * java/net/InetAddress.java:
9784 (readResolve): New stubbed method (for serialization).
9785 (isAnyLocalAddress): New stubbed method.
9786 (isLoopbackAddress): New stubbed method.
9787 (isLinkLocalAddress): New stubbed method.
9788 (isSiteLocalAddress): New stubbed method.
9789 (isMCGlobal): New stubbed method.
9790 (isMCNodeGlobal): New stubbed method.
9791 (isMCLinkLocal): New stubbed method.
9792 (isMCSiteLocal): New stubbed method.
9793 (isMCOrgLocal): New stubbed method.
9794 (getCanonicalHostName): New stubbed method.
9795 (getByAddress): Create instances of Inet4Address/Inet6Address,
9796 instead of InetAddress, documentation added.
9797 * java/net/MulticastSocket.java
9798 (getInterface): Removed FIXME.
9799 (getNetworkInterface): New method.
9800 (setNetworkInterface): New method.
9801 * java/net/NetworkInterface.java:
9802 (toString): Use property "line.separator" instead of "\n".
9803 * java/net/URLConnection.java
9804 (getContent): New stubbed method.
9805 * java/net/URLStreamHandler.java:
9806 (equals): New stubbed method.
9807 (hostsEqual): New stubbed method.
9808 (hashCode): New stubbed method.
9809 * java/net/natNetworkInterface.cc:
9810 (getRealNetworkInterfaces): Create Inet4Address object
9811 instead of InetAddress.
9813 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
9815 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
9816 unsigned long temporary to implement insn_iushr shifts.
9818 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
9820 * configure.host [s390*-*]: Enable Java interpreter.
9821 Enable hash synchronization. Add sysdeps dir.
9822 * sysdep/s390/locks.h: New file.
9824 2002-10-06 Mark Wielaard <mark@klomp.org>
9826 * java/lang/Thread.java (setDaemon): Check startable_flag,
9829 2002-10-07 Michael Koch <konqueror@gmx.de>
9831 * java/nio/Buffer.java: New stub file.
9832 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
9834 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
9835 * Makefile.in: Regenerated.
9837 2002-10-07 Michael Koch <konqueror@gmx.de>
9839 * java/nio/ByteBuffer.java:
9840 removed import of not commited class.
9842 2002-10-07 Michael Koch <konqueror@gmx.de>
9844 * java/nio/ByteBuffer.java,
9845 java/nio/MappedByteBuffer.java:
9846 New files, forgot to add these dummies.
9847 * Makefile.am (java_native_source_files): Added new files.
9848 * Makefile.in: Regenerated.
9850 2002-10-07 Michael Koch <konqueror@gmx.de>
9852 * java/nio/channels/AlreadyConnectedException.java,
9853 java/nio/channels/ClosedChannelException.java,
9854 java/nio/channels/ReadableByteChannel.java,
9855 java/nio/channels/InterruptibleChannel.java,
9856 java/nio/channels/Channel.java,
9857 java/nio/channels/ByteChannel.java,
9858 java/nio/channels/GatheringByteChannel.java,
9859 java/nio/channels/ScatteringByteChannel.java,
9860 java/nio/channels/WritableByteChannel.java,
9861 java/nio/charset/CharacterCodingException.java,
9862 java/nio/charset/IllegalCharsetNameException.java,
9863 java/nio/charset/MalformedInputException.java,
9864 java/nio/charset/UnmappableCharacterException.java,
9865 java/nio/charset/UnsupportedCharsetException.java,
9866 java/nio/charset/spi/CharsetProvider.java: New file.
9867 These files are exceptions or interfaces,
9868 no real or abstract classes.
9869 * Makefile.am (java_native_source_files): Added new files.
9870 * Makefile.in: Regenerated.
9872 2002-10-05 Michael Koch <konqueror@gmx.de>
9874 * java/net/InetAddress.java
9875 (getByAddress): Fixed documentation.
9876 (getByAddress): New method.
9877 * java/net/Inet4Address.java: New file.
9879 (URL): Documentation added.
9880 (getContent): Documentation added.
9881 (getContent): New stubbed method.
9882 (getQuery): New method.
9883 (openConnection): Documentation added.
9884 (openStream): Documentation added.
9885 (setURLStreamHandlerFactory): Documentation added.
9886 * java/net/URI.java: New stub file.
9888 (java_native_source_files): Added java/net/Inet4Address.java,
9889 java/net/Inet6Address.java and java/net/URI.java.
9890 * Makefile.in: Regenerated.
9892 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
9894 * java/lang/ProtectionDomain.java (linesep): Remove field.
9895 (toString): Use System.getProperty("line.separator").
9897 2002-10-04 Michael Koch <konqueror@gmx.de>
9899 * java/security/Identity.java: Added serialVersionUID.
9900 * java/security/KeyPair.java: Added serialVersionUID.
9901 * java/security/Provider.java: Added serialVersionUID.
9902 * java/security/SecureRandom.java: Added serialVersionUID.
9903 * java/security/SecureRandomSpi.java: Added serialVersionUID.
9904 * java/security/SignedObject.java: Added serialVersionUID.
9905 * java/security/cert/Certificate.java: Added serialVersionUID.
9907 2002-10-04 Mark Wielaard <mark@klomp.org>
9909 * java/security/Security.java: Use java.home or gnu.classpath.home
9911 (loadProviders): Extra dir argument.
9912 (getProvider): Return null when not found.
9914 2002-10-04 Mark Wielaard <mark@klomp.org>
9916 * java/lang/Throwable.java: Remerge with Classpath.
9918 2002-10-04 Michael Koch <konqueror@gmx.de>
9920 * java/net/InetAddress.java:
9921 (isMulticastAddress): Added documentation.
9922 (getHostAddress): Added documentation.
9923 (toString): Added documentation.
9924 (getByAddress): Fixed documentation.
9925 (getByName): Added documentation.
9926 (getAllByName): Added documentation.
9927 (getLocalHost): Added documentation.
9929 2002-10-04 Michael Koch <konqueror@gmx.de>
9931 * java/beans/beancontext/BeanContextChildSupport.java:
9932 Added serialVersionUID.
9933 * java/text/Collator.java: (compare): Made documentation HTML-aware.
9934 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
9935 * javax/naming/Name.java: Added serialVersionUID.
9937 2002-10-03 Adam Megacz <adam@xwt.org>
9939 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
9940 some functionality that isn't supported yet on WIN32.
9942 2002-10-03 Tom Tromey <tromey@redhat.com>
9944 * Makefile.in: Rebuilt.
9945 * Makefile.am (awt_java_source_files): Added new files.
9947 2002-10-03 Michael Koch <konqueror@gmx.de>
9949 * java/net/InetAddress.java
9950 (class InetAddress): Removed final keyword.
9951 (equals): Fixed typo.
9952 (getByAddress): New method.
9954 2002-10-03 Michael Koch <konqueror@gmx.de>
9956 * java/awt/dnd/Autoscroll.java:
9957 New file, merge from Classpath.
9958 * java/awt/dnd/DragSourceAdapter.java:
9959 (dragExit): Fixed typos in argument type.
9960 (dragDropEnd): Fixed typos in argument type.
9961 * java/awt/dnd/DragSourceDropEvent.java:
9962 New file, merge from Classpath.
9963 * java/awt/dnd/DropTarget.java:
9964 Added stubs, merge from Classpath.
9965 * java/awt/dnd/DropTargetAdapter.java:
9966 New file, merge from Classpath.
9967 * java/awt/dnd/DropTargetContext.java:
9968 New file, merge from Classpath.
9969 * java/awt/dnd/DropTargetDragEvent.java:
9970 New file, merge from Classpath.
9971 * java/awt/dnd/DropTargetDropEvent.java:
9972 New file, merge from Classpath.
9973 * java/awt/dnd/DropTargetEvent.java:
9974 New file, merge from Classpath.
9975 * java/awt/dnd/DropTargetListener.java:
9976 New file, merge from Classpath.
9977 * java/awt/dnd/MouseDragGestureRecognizer.java:
9978 New file, merge from Classpath.
9979 * java/awt/dnd/peer/DropTargetContextPeer.java:
9980 New file, merge from Classpath.
9982 2002-10-03 Michael Koch <konqueror@gmx.de>
9984 * java/net/DatagramPacket.java
9985 (setLength): Fixed typo and be HTML-aware.
9986 * java/net/InetSocketAddress.java
9987 (InetSocketAddress): Correct initialization of hostname, fixed typo.
9988 (equals): Added comment about equality of InetSocketAddress objects.
9989 * java/net/ServerSocket.java
9990 (accept): Added checks.
9991 (isClosed): New stubbed method.
9992 * java/net/SocketOptions.java: Reindention.
9993 * java/net/SocketPermission
9994 (SocketPermission): Documentation fixed.
9996 2002-10-03 Michael Koch <konqueror@gmx.de>
9998 * java/net/DatagramSocket.java
9999 (receive): Check with SecurityManager AFTER the packet is received,
10000 check if connected to multicast address, documentation added.
10001 (send): Only check SecurityManager if connected, check address of
10003 (connect): Implemented, documentation added.
10004 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
10005 * java/net/InetSocketAddress.java
10006 (whole file): Reindented.
10007 (hostname): New attribute.
10008 (InetSocketAddress): Initialize new attribute.
10009 (getAddress): Documentation added.
10010 (getHostName): Documentation added.
10011 (getPort): Documentation added.
10012 (hashCode): Documentation added.
10013 (isUnresolved): Documentation added.
10014 (toString): Conform to output of JDK 1.4.1, documentation added.
10015 * java/net/MulticastSocket.java
10016 (joinGroup): Removed FIXME, documentation added.
10017 (leaveGroup): Removed FIXME, documentation added.
10018 (send): Documentation added.
10019 * java/net/Socket.java
10020 (inputShutdown): New variable.
10021 (outputShutdown): New variable.
10022 (Socket): Initialize new variables.
10023 (getRemoteSocketAddress): Check if connected.
10024 (shutdownInput): Set new variable.
10025 (shutdownOutput): Set new variable.
10026 (isConnected): New method.
10027 (isClosed): New method.
10028 (isInputShutdown): New method.
10029 (isOutputShutdown): New method.
10030 * java/net/URLStreamHandler.java
10031 (URLStreamHandler): New method.
10032 (openConnection): Added documentation.
10033 (parseURL): Added documentation.
10034 (getHostAddress): New method.
10035 (getDefaultPort): New method.
10037 2002-10-02 Tom Tromey <tromey@redhat.com>
10039 * java/rmi/activation/ActivationDesc.java,
10040 java/rmi/activation/ActivationGroupDesc.java,
10041 java/rmi/activation/ActivationGroupID.java,
10042 java/rmi/activation/ActivationID.java: New versions from
10045 2002-09-30 Bo Thorsen <bo@suse.de>
10047 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
10049 2002-09-30 Tom Tromey <tromey@redhat.com>
10051 * java/io/ObjectInputStream.java (resolveProxyClass): New method
10053 * Makefile.in: Rebuilt.
10054 * Makefile.am (rmi_java_source_files): Added new files.
10055 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
10056 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
10057 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
10059 * gnu/java/rmi/dgc/DGCImpl.java,
10060 gnu/java/rmi/dgc/DGCImpl_Skel.java,
10061 gnu/java/rmi/dgc/DGCImpl_Stub.java,
10062 gnu/java/rmi/registry/RegistryImpl_Skel.java,
10063 gnu/java/rmi/registry/RegistryImpl_Stub.java,
10064 gnu/java/rmi/server/RMIHashes.java,
10065 gnu/java/rmi/server/RMIObjectInputStream.java,
10066 gnu/java/rmi/server/RMIObjectOutputStream.java,
10067 gnu/java/rmi/server/UnicastConnection.java,
10068 gnu/java/rmi/server/UnicastConnectionManager.java,
10069 gnu/java/rmi/server/UnicastRef.java,
10070 gnu/java/rmi/server/UnicastServer.java,
10071 gnu/java/rmi/server/UnicastServerRef.java,
10072 java/rmi/MarshalledObject.java,
10073 java/rmi/server/RMIClassLoader.java,
10074 java/rmi/server/RemoteObject.java,
10075 java/rmi/server/UnicastRemoteObject.java,
10076 java/security/SecureClassLoader.java: Merged from Classpath.
10078 2002-09-29 Anthony Green <green@redhat.com>
10080 * java/lang/reflect/UndeclaredThrowableException.java: New file.
10081 Imported from GNU Classpath.
10082 * java/lang/reflect/natProxy.cc: New file.
10083 * java/lang/reflect/InvocationHandler.java: New file. Imported
10084 from GNU Classpath.
10085 * java/lang/reflect/Proxy.java: New file. Imported from GNU
10087 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
10089 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
10090 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
10092 * gcj/javaprims.h ("Java"): Add new classes.
10093 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
10094 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
10095 java/lang/reflect/Proxy$$ProxyType.h): And this.
10096 (inner_nat_headers): Add these new headers.
10097 (ordinary_java_source_files): Add new files.
10098 (nat_source_files): Add new file.
10099 * Makefile.in: Rebuilt.
10101 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
10103 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
10104 a single configuration.
10106 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10108 * java/util/TimeZone.java (getDSTSavings): New method.
10109 Fixes PR libgcj/7786.
10111 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10113 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
10114 to see if `the_method == 0' before looking up vtable index.
10115 Fixes PR libgcj/7709.
10117 2002-09-25 Tom Tromey <tromey@redhat.com>
10119 * java/lang/natClassLoader.cc:
10120 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
10121 * resolve.cc: Include NoClassDefFoundError.h, not
10122 ClassNotFoundException.h.
10123 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
10125 * defineclass.cc: Don't include ClassNotFoundException.h.
10127 * resolve.cc: Include StringBuffer.
10128 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
10130 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
10131 allocated but not initialized.
10133 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10135 Fix for PR libgcj/7766:
10136 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
10137 (getNextEntry): Set it.
10138 (closeEntry): Likewise.
10141 (available): Use it.
10143 2002-09-25 Michael Koch <konqueror@gmx.de>
10145 * java/net/DatagramSocket.java
10146 (DatagramSocket): Initialize new instance variables.
10147 (close): Reset new instance variables.
10148 (getLocalAddress): Remove unneeded SecurityManager usage.
10149 (getLocalPort): Check if socket is already bound.
10150 (isConnected): New method.
10151 (getInetAddress): Implemented.
10152 (getPort): Better Implementation, documentation fixed.
10153 (getRemoteSocketAddress): New method.
10154 * java/net/JarURLConnection.java
10155 (element): Typo fixed.
10156 (getMainAttributes): New method.
10157 (getAttributes): New method (stub only).
10158 (getManifest): New method (stub only).
10159 * java/net/NetPermission.java: Added serialVersionsUID.
10160 * java/net/Socket.java
10161 (connect): Check blocking mode of associated channel,
10162 documentation added.
10163 (getLocalSocketAddress): Better implementation.
10164 (getRemoteSocketAddress): Implemented.
10165 (isBound): New method.
10166 (setSendBufferSize): Documentation added.
10167 * java/net/SocketAddress.java: Added serialVersionsUID.
10168 * java/net/SocketPermission.java: Added serialVersionsUID.
10169 * java/net/URL.java
10170 (URL): Wrap for shorter lines, initialize new instance variables,
10171 documentation added.
10172 (equals): Check new instance variables too.
10173 (getContent): Documentation added.
10174 (getPath): Documentation added.
10175 (getAuthority): New method.
10176 (getHost): Documentation added.
10177 (getPort): Documentation added.
10178 (getDefaultPort): New method.
10179 (getProtocol): Documentation added.
10180 (getUserInfo): Documentation added.
10181 (set): Initialize new instance variables, documentation added.
10182 * java/net/URLStreamHandler.java
10183 (setURL): New method.
10184 * java/net/natPlainDatagramSocketImpl.cc
10185 (connect): Fix exception name.
10186 (disconnect): Fix exception name.
10188 2002-09-25 Michael Koch <konqueror@gmx.de>
10190 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
10191 * java/nio/channels/DatagramChannel.java:
10192 extends AbstractSelectableChannel
10193 * java/nio/channels/ServerSocketChannel.java:
10194 extends AbstractSelectableChannel
10195 * java/nio/channels/SocketChannel.java:
10196 extends AbstractSelectableChannel
10197 * Makefile.am (ordinary_java_source_files):
10198 java/nio/channels/spi/AbstractSelectableChannel.java added.
10199 * Makefile.in: Regenerated.
10201 2002-09-25 Michael Koch <konqueror@gmx.de>
10203 * java/net/DatagramSocket.java
10204 (DatagramSocket): Exception documentation added.
10205 (bind): Exception documentation added, addded SecurityManager check,
10206 added SocketAddress type check.
10207 (getSoTimeout): Check impl.
10208 (receive): Fix SecurityManager check, check impl, documentation added.
10209 (send): Check channel mode, documentation added.
10210 (connect): New method.
10211 (disconnect): Implemented.
10212 (getLocalSocketAddress): New method.
10213 (getReceiveBufferSize): Check impl.
10214 (setReuseAddress): Check impl.
10215 (getReuseAddress): Check impl.
10216 (setBroadcast): Check impl.
10217 (getBroadcast): Check impl.
10218 (setTrafficClass): Check impl, Documentation cleared.
10219 (getTrafficClass): Check impl.
10220 (getSendBufferSize): Check impl.
10221 (setReceiveBufferSize): Check impl, documentation added.
10222 (setSendBufferSize): Documentation added.
10223 (setDatagramSocketImplFactory): New method.
10224 * java/net/HttpURLConnection.java
10225 (HTTP_INTERNAL_ERROR): The correct code is 500.
10226 (HTTP_NOT_IMPLEMENTED): Added new constant.
10227 (setFollowRedirects): Documentation added.
10228 (getInstanceFollowRedirects): New method.
10229 (setInstanceFollowRedirects): New method.
10230 (setRequestMethod): Documentation added.
10231 (getResponseCode): Documentation added.
10232 (getResponseMessage): Documentation added.
10233 * java/net/JarURLConnection.java
10234 (JarURLConnection): protected since JDK 1.4.
10235 (getJarEntry): java.io.IOException to IOException, documentation added.
10236 (getJarFile): Documentation added.
10237 * java/net/ServerSocket.java
10238 (ServerSocket): Private to public, exception added.
10239 (ServerSocket): java.io.IOException to IOException, documentation added.
10240 (bind): Check socket address type, documentation added.
10241 (bind): java.io.IOException to IOException, documentation added.
10242 (accept): Documentation added.
10243 (implAccept): Check ch is not non-blocking, documentation added.
10244 (setSoTimeout): Documentation fixed.
10245 (setReceiveBufferSize): Documentation added.
10246 * java/net/Socket.java
10247 (Socket): Documentation added.
10248 (bind): Documentation added.
10249 (connect): Check socket address type, documentation added.
10250 (getRemoteSocketAddress): New method.
10251 (getLocalSocketAddress): New method.
10252 (setSoLinger): Documentation added.
10253 (getReuseAddress): New method.
10254 (setReuseAddress): New method.
10255 (getTrafficClass): New method.
10256 (setTrafficClass): New method.
10257 * java/net/URLStreamHandler.java
10258 (openConnection): java.io.IOException to IOException.
10259 (parseURL): Documentation added.
10260 (sameFile): public to protected, documentation added.
10261 (setURL): Documentation added.
10262 * java/nio/IllegalBlockingModeException.java: New file.
10263 * Makefile.am (ordinary_java_source_files):
10264 added java/nio/IllegalBlockingModeException.java
10265 * Makefile.in: Regenerated.
10267 2002-09-25 Michael Koch <konqueror@gmx.de>
10269 * java/net/DatagramPacket
10270 (DatagramPacket): Exception documentation added.
10271 (setData): Likewise.
10272 (setSocketAddress): Likewise.
10273 * java/net/DatagramSocketImpl.java
10274 (peek): Documentation addded.
10275 (peekData): Documentation addded.
10276 (send): Documentation addded.
10277 (receive): Documentation addded.
10278 (connect): New method.
10279 (disconnect): New method.
10280 (joinGroup): New abstract method.
10281 (leaveGroup): New abstract method.
10282 * java/net/InetSocketAddress.java
10283 (InetSocketAddress): Documentation added.
10284 (equals): final keyword added.
10285 (getAddress): final keyword added.
10286 (getHostName): final keyword added.
10287 (getPort): final keyword added.
10288 (hashCode): final keyword added.
10289 (isUnresolved): final keyword added.
10290 * java/net/MulticastSocket.java
10291 (MulticastSocket): Documentation added.
10292 (MulticastSocket): New method.
10293 (joinGroup): Documentation added.
10294 (joinGroup): New method.
10295 (leaveGroup): Documentation added.
10296 (leaveGroup): New method.
10297 (send): Documentation added.
10298 * java/net/NetworkInterface.java
10299 (getByName): Documentation added.
10300 (getByInetAddress): Documentation added.
10301 (getNetworkInterfaces): Documentation added.
10302 * java/net/PlainDatagramSocketImpl.java
10303 (connect): New method.
10304 (disconnect): New method.
10305 * java/net/SocketImpl.java
10306 (create): Documentation added.
10307 (shutdownInput): Convert public to protected, as it always was.
10308 (shutdownOutput): Convert public to protected, as it always was.
10309 * java/net/SocketOptions.java
10310 (whole file): Reintented.
10311 * java/net/URLClassLoader.java
10312 (URLClassLoader): SecurityManager check added, documentation added.
10313 (findResources): Documentation added.
10314 (findClass): Documentation added.
10315 (newInstance): More correct method arguments.
10316 * java/net/URLConnection.java
10317 (connect): Documentation added.
10318 (getContent): Documentation added.
10319 (getPermission): Documentation added.
10320 (getInputStream): Documentation added.
10321 (getOutputStream): Documentation added.
10322 (setDoInput): Throw correct exception, documentation added.
10323 (setDoOutput): Throw correct exception, documentation added.
10324 (setAllowUserInteraction): Throw correct exception, documentation added.
10325 (setUseCaches): Throw correct exception, documentation added.
10326 (setIfModifiedSince): Throw correct exception, documentation added.
10327 (setRequestProperty): Throw exception, documentation added.
10328 (addRequestProperty): Throw exception, documentation added.
10329 (getRequestProperty): Throw exception, documentation added.
10330 (getRequestProperties): Documentation added.
10331 (setContentHandlerFactory): Documentation added.
10332 (guessContentTypeFromName): protected to public.
10333 (setFileNameMap): Documentation added.
10334 * java/net/URLDecoder.java
10335 (URLDecoder): New method.
10336 (decode): Documentation added.
10337 (whole file): Reindented.
10338 * java/net/URLEncoder.java
10339 (encode): Documentation added.
10340 * java/net/natPlainDatagramSocketImpl.cc
10341 (connect): New method.
10342 (disconnect): New method.
10343 * javax/naming/RefAddr:
10344 (addrType): addrType was never final.
10345 (equals): Fix typo in method name.
10346 * javax/naming/BinaryRefAddr:
10347 (equals): Fix typo in method name.
10349 2002-09-22 Tom Tromey <tromey@redhat.com>
10351 Fix for PR libgcj/6576:
10352 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
10353 didn't find a given bundle.
10354 (getBundle): Don't require base bundle.
10355 (setParent): Removed old comment.
10356 (tryLocalBundle): Try components even if preceding components were
10359 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10361 * Makefile.am (all-multi): Fix multilib parallel build.
10363 2002-09-21 Michael Koch <konqueror@gmx.de>
10365 * java/net/Socket.java
10366 (sendUrgentData): New method.
10367 (getChannel): New method.
10368 * java/net/ServerSocket.java
10369 (getChannel): New method.
10370 (isBound): New method.
10371 * java/net/DatagramSocket.java
10372 (DatagramSocket): Two new methods.
10373 (bind): New method.
10374 (getChannel): New method.
10375 (isBound): New method.
10376 (send): Added newline to to make shorter lines.
10377 * java/net/PlainDatagramSocketImpl.java
10378 (mcastGrp): Added argument.
10379 (join): Use new mcastGrp.
10380 (leave): Use new mcastGrp.
10381 (joinGroup): New method.
10382 (leaveGroup): New method.
10383 * java/net/natPlainDatagramSocketImpl.cc
10384 (mcastGrp): Added argument, no yet really implemented.
10385 (getOption): Added newline for shorter lines.
10386 * java/net/natPlainSocketImpl.cc
10387 (read, setOption, getOption): Added newline for shorter lines.
10389 2002-09-19 Tom Tromey <tromey@redhat.com>
10391 * java/lang/ClassLoader.java (resolveClass0): Set cause for
10392 newly-created exception.
10394 2002-09-18 Michael Koch <konqueror@gmx.de>
10396 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10397 java/util/regex/PatternSyntaxException.java:
10398 Merge with classpath, new files.
10399 * Makefile.am (core_java_source_files):
10400 Added java/util/regex/Matcher.java,
10401 java/util/regex/Pattern.java,
10402 java/util/regex/PatternSyntaxException.java
10403 * Makefile.in: Regenerated.
10404 * include/config.h.in: Added HAVE_NET_IF_H.
10405 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
10406 Removed #if 0 ... #endif.
10408 2002-09-17 Michael Koch <konqueror@gmx.de>
10410 * java/net/natNetworkInterface.cc:
10411 Removed unneed and yet wrong includes.
10413 2002-09-17 Michael Koch <konqueror@gmx.de>
10415 * java/net/NetworkInterface.java: New file.
10416 * java/net/natNetworkInterface.java: New file.
10417 * configure.in: Added check for net/if.h.
10418 * configure: Regenerated.
10420 (ordinary_java_source_files): Added NetworkInterface.java.
10421 (nat_source_files): Added natNetworkInterface.cc.
10422 * Makefile.in: Regenerated.
10424 2002-09-16 Tom Tromey <tromey@redhat.com>
10426 * java/net/URLClassLoader.java (findClass): Code source for a
10427 class from a jar is not necessarily a jar: URL.
10429 2002-09-16 Michael Koch <konqueror@gmx.de>
10431 * java/lang/AssertionError.java:
10432 Merge with classpath, fixes HTML.
10433 * java/rmi/server/LogStream.java:
10434 Merge with classpath, fixes some constants.
10435 * java/net/server/RemoteServer.java:
10436 Merge with classpath, adds serialVersionUID.
10437 * javax/naming/BinaryRefAddr.java:
10438 Merge with classpath, s/equal/equals/.
10439 * javax/naming/NamingException.java:
10440 Merge with classpath, fixed typo.
10441 * javax/naming/RefAddr.java:
10442 Merge with classpath, s/equal/equals/.
10443 * java/awt/Toolkit.java:
10444 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
10447 2002-09-15 Adam Megacz <adam@xwt.org>
10449 * java/net/natPlainSocketImpl.cc: fixed typo.
10451 2002-09-15 Adam Megacz <adam@xwt.org>
10453 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
10454 which don't work on Win32 (yet).
10456 2002-09-14 Adam Megacz <adam@xwt.org>
10458 * java/net/natPlainDatagramSocket.cc: removed #include
10459 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
10460 * include/win32.h: included definition for IP_TOS to satisfy
10461 natPlainDatagramSocket.cc
10463 2002-09-13 Michael Koch <konqueror@gmx.de>
10465 * java/net/DatagramPacket.java (DatagramPacket):
10466 Added linebreak for 80 chars per line.
10467 * java/net/JarURLConection.java
10468 (getInputStreami, getJarEntry): Likewise.
10469 * java/net/SocketPErmission.java
10470 (SocketPermission class docu, implies): Likewise.
10471 * java/net/URLClassLoader.java (findResources): Likewise.
10472 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
10474 2002-09-13 Michael Koch <konqueror@gmx.de>
10476 * java/nio/channels/DatagramChannel.java,
10477 java/nio/channels/ServerSocketChannel.java
10478 java/nio/channels/SocketChannel.java:
10479 New dummy files to make java.net fully JDK 1.4 compatible
10480 * Makefile.am (ordinary_java_source_files): Added
10481 java/net/DatagramSocketImplFactory.java (long forgotten),
10482 java/nio/SocketChannel.java,
10483 java/nio/ServerSocketChannel.java,
10484 java/nio/DatagramChannel.java
10485 * Makefile.in: Regenrated.
10487 2002-09-12 Michael Koch <konqueror@gmx.de>
10489 * java/net/DatagramSocketImpl.java
10490 (peekData): New method.
10491 * java/net/PlainDatagramSocketImpl.java
10492 (peekData): New method.
10493 * java/net/natPlainDatagramSocketImpl.cc
10494 (peekData): New method.
10495 * java/net/URLConnection
10496 (getPermission): New method.
10497 (addRequestProperty): New method.
10498 (getRequestProperties): New method.
10499 (guessContentTypeFromStream): New method, not really implemented.
10500 (URLConnection): Added/updated documentation.
10501 (connect): Added/updated documentation.
10502 (getURL): Added/updated documentation.
10503 (getContentLength): Added/updated documentation.
10504 (getContentType: Added/updated documentation.
10505 (getContentEncoding): Added/updated documentation.
10506 (getExpiration): Added/updated documentation.
10507 (getDate): Added/updated documentation.
10508 (getLastModified): Added/updated documentation.
10509 (getHeaderField): Added/updated documentation.
10510 (getHeaderFields): Added/updated documentation.
10511 (getHeaderFieldInt): Added/updated documentation.
10512 (getHeaderFieldDate): Added/updated documentation.
10513 (getHeaderFieldKey): Added/updated documentation.
10514 (getContent): Added/updated documentation.
10515 (getInputStream): Added/updated documentation.
10516 (getOutputStream): Added/updated documentation.
10517 (toString): Added/updated documentation.
10518 (setDoInput): Added/updated documentation.
10519 (getDoInput): Added/updated documentation.
10520 (setDoOutput): Added/updated documentation.
10521 (getDoOutput): Added/updated documentation.
10522 (setAllowUserInteraction): Added/updated documentation.
10523 (getAllowUserInteraction): Added/updated documentation.
10524 (setDefaultAllowUserInteraction): Added/updated documentation.
10525 (getDefaultAllowUserInteraction): Added/updated documentation.
10526 (setUseCaches): Added/updated documentation.
10527 (getUseCaches): Added/updated documentation.
10528 (setIfModifiedSince): Added/updated documentation.
10529 (getIfModifiedSince): Added/updated documentation.
10530 (getDefaultUseCaches): Added/updated documentation.
10531 (setDefaultUseCaches): Added/updated documentation.
10532 (setRequestProperty): Added/updated documentation.
10533 (getRequestProperty): Added/updated documentation.
10534 (setDefaultRequestProperty): Added/updated documentation.
10535 (getDefaultRequestProperty): Added/updated documentation.
10536 (setContentHandlerFactory): Added/updated documentation.
10537 (guessContentTypeFromName): Added/updated documentation.
10538 (getFileNameMap): Added/updated documentation.
10539 (setFileNameMap): Added/updated documentation.
10541 2002-09-11 Michael Koch <konqueror@gmx.de>
10543 * java/net/Socket.java
10544 (Socket): protected to public (since JDK 1.4). Added @specnote.
10545 (bind): New method.
10546 (connect): Two new methods.
10547 (getKeepalive): Get correct socket option.
10548 (setKeepalive): Set correct socket option.
10549 (getOOBInline): New method.
10550 (setOOBInline): New method.
10551 * java/net/ServerSocket.java
10552 (bind): Two new methods.
10553 (getInetAddress): Reimplemented, catch exception.
10554 (getLocalSocketAddress): New method.
10555 (setReuseAddress): New method.
10556 (getReuseAdress): New method.
10557 (setReceiveBufferSize): New method.
10558 (getReceiveBufferSize): New method.
10559 (toString): Made string JDK 1.4 compliant.
10561 2002-09-10 Michael Koch <konqueror@gmx.de>
10563 * java/net/SocketImpl.java
10564 (connect): New method.
10565 (supportsUrgentData): New method.
10566 (sendUrgentData): New method.
10567 * java/net/PlainSocketImpl.java
10568 (connect): One new method and two new implementation.
10569 (sendUrgentData): New method.
10570 * java/natPlainSocketImpl.cc
10571 (connect): Arguments changed, added support for timeouts.
10572 (getOption): Another __java_boolean to jboolean.
10574 2002-09-07 Adam Megacz <adam@xwt.org>
10576 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
10577 definition of IP_TOS.
10579 2002-09-04 Michael Koch <konqueror@gmx.de>
10581 * java/net/DatagramSocket.java
10582 (DatagramSocket): Added documentation.
10584 (getLocalAddress): Likewise.
10585 (getLocalPort): Likewise.
10586 (receive): Likewise.
10588 (setSoTimeout): Likewise.
10589 (connect): New method.
10590 (disconnect): New method.
10591 (getInetAddress): New method (FIXME)
10592 (getPort): New method.
10593 (setReuseAddress): New method.
10594 (getReuseAddress): New method.
10595 (setBroadcast): New method.
10596 (getBroadcast): New method.
10597 (setTrafficClass): New method.
10598 (getTrafficClass): New method.
10599 * java/net/MulticastSocket.java):
10600 (getTTL): Added @see in documentation.
10601 (setTTL): Added @see in documentation.
10602 (setLoopbackMode): New method.
10603 (getLoopbackMode): New method.
10604 * java/net/PlainSocketImpl.java:
10605 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
10606 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10607 * java/net/PlainDatagramSocketImpl.java
10608 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
10609 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10610 * java/net/natPlainSocketImpl.cc
10611 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10612 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10613 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10614 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10615 This should also fix SO_KEEPALIVE
10616 * java/net/natPlainDatagramSocketImpl.cc
10617 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10618 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10619 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10620 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10622 2002-09-04 Michael Koch <konqueror@gmx.de>
10624 * java/net/SocketOptions.java: added static variables to be JDK 1.4
10625 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
10626 IP_MULTICAST_LOOP, IP_TOS
10628 2002-09-03 Tom Tromey <tromey@redhat.com>
10630 * java/lang/Class.h (_getDeclaredMethod): Declare.
10631 (_getMethod): Now private.
10632 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
10633 getDeclaredMethod. Now returns NULL on failure.
10634 * java/lang/Class.java (_getDeclaredMethod): Declare.
10635 (getDeclaredMethod): No longer native; implements access checks.
10637 2002-09-01 Mark Wielaard <mark@klomp.org>
10639 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
10640 (sanitizeStack): Correctly reset unknown and interpreter counters,
10641 detect interpreter runtime frames.
10642 (demangleInterpreterMethod): New method.
10643 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
10644 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
10645 filling in addrs[].
10647 2002-09-02 Michael Koch <konqueror@gmx.de>
10649 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
10650 re-indented documentation.
10652 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10654 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
10655 public, per 1.4 spec. Fixes PR libgcj/7785.
10657 2002-08-30 Jeff Sturm <jsturm@one-point.com>
10659 * Makefile.in: Rebuilt.
10660 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
10662 2002-08-29 Tom Tromey <tromey@redhat.com>
10664 * java/net/JarURLConnection.java (getCertificates): New method
10666 * java/net/URLClassLoader.java (URLClassLoader): Extends
10668 (definePackage): New method from Classpath.
10669 (getPermissions): Likewise.
10670 (newInstance): Likewise.
10671 (findClass): Construct CodeSource for new class (from Classpath).
10672 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
10674 * java/net/URL.java (getUserInfo): New method.
10675 (set(String,String,int,String,String,String,String,String)): New
10677 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
10678 (shutdownInput, shutdownOutput): Declare.
10679 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
10681 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
10682 (getOption): Likewise.
10683 (shutdownInput): New method.
10684 (shutdownOutput): Likewise.
10685 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
10687 (getOption): Likewise.
10688 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
10689 * java/net/Socket.java (setKeepAlive): New method.
10690 (getKeepAlive): Likewise.
10691 (shutdownInput, shutdownOutput): New methods.
10693 2002-08-29 Michael Koch <konqueror@gmx.de>
10695 * java/net/DatagramPacket.java: updated to JDK 1.4 API
10697 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
10699 DatagramPacket(byte[] buf, int length, SocketAddress address),
10700 void setSocketAddress(SocketAddress address)
10701 public SocketAddress getSocketAddress()
10703 2002-08-29 Tom Tromey <tromey@redhat.com>
10705 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
10706 ftruncate is missing.
10707 * configure, include/config.h.in: Rebuilt.
10708 * acconfig.h (HAVE_FTRUNCATE): Mention.
10709 * configure.in: Check for ftruncate.
10711 2002-08-29 Tom Tromey <tromey@redhat.com>
10713 * include/jvm.h (struct _Jv_frame_info): New structure.
10714 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
10716 (lookupInterp): New method.
10717 (getAddrAsString): Use _Jv_frame_info.
10718 (dladdrLookup): Likewise.
10719 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
10721 (lookupInterp): Declare.
10722 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
10723 (fillInStackTrace): Collect information on interpreted frames.
10724 Use _Jv_frame_info.
10725 * interpret.cc: Include Thread.h.
10726 (run): Create and push _Jv_MethodChain object.
10727 (_Jv_EndOfInterpreter): New global.
10728 * java/lang/Thread.java (interp_frame): New field.
10729 * include/java-interp.h (struct _Jv_MethodChain): New structure.
10730 Include NameFinder.h.
10732 2002-08-28 Tom Tromey <tromey@redhat.com>
10734 * java/lang/Class.h: Include Package.h.
10735 (Class::getProtectionDomain): Declare.
10736 (Class::getPackage): Declare.
10738 2002-08-28 Michael Koch <konqueror@gmx.de>
10740 * java/net/InetSocketAddress.java: Added some documentation and argument
10741 checks for the port numbers.
10742 * java/net/DatagramSocketImplFactory.java: New file.
10744 2002-08-28 Michael Koch <konqueror@gmx.de>
10746 * java/net/Authenticator.java: added some documentation.
10748 2002-08-27 Tom Tromey <tromey@redhat.com>
10750 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
10752 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
10754 2002-08-27 Michael Koch <konqueror@gmx.de>
10756 * java/net/BindException.java,
10757 java/net/JarURLConnection.java,
10758 java/net/FileNameMap.java,
10759 java/net/HttpURLConnection.java,
10760 java/net/InetSocketAddress.java,
10761 java/net/DatagramPacket.java,
10762 java/net/DatagramSocket.java,
10763 java/net/DatagramSocketImpl.java,
10764 java/net/MulticastSocket.java,
10765 java/net/PasswordAuthentication.java,
10766 java/net/ServerSocket.java,
10767 java/net/Socket.java,
10768 java/net/URLClassLoader.java,
10769 java/net/URLConnection.java: add/update of some @since/@deprecated
10771 2002-08-27 Tony Kimball <alk@pobox.com>
10772 Tom Tromey <tromey@redhat.com>
10774 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
10776 (::close): Removed.
10777 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
10778 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
10779 (::close): Removed.
10780 (PlainSocketImpl::close): Use NATIVE_CLOSE.
10781 * include/win32.h (getcwd): Removed declaration. Include io.h.
10783 2002-08-25 Adam Megacz <adam@xwt.org>
10785 * include/win32.h (getcwd): copied function declaration as
10786 temporary fix for header confusion.
10788 2002-08-24 Mark Wielaard <mark@klomp.org>
10790 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
10791 (core_java_source_files): Add VMThrowable.java and NameFinder.java
10792 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
10793 and natNameFinder.cc.
10794 * Makefile.in: Regenerate.
10795 * prims.cc: Use trace_enabled from VMThrowable.
10796 * name-finder.cc: Removed.
10797 * gcj/javaprims.h: Add class VMThrowable.
10798 * gnu/gcj/runtime/NameFinder.java: New file.
10799 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
10800 * include/name-finder.h: Removed.
10801 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
10802 method stackTraceString().
10803 (printStackTrace (PrintWriter)): Likewise.
10804 (stackTraceString): Complete rewrite of old printStackTrace using
10806 (stackTraceStringBuffer): New helper method for stackTraceString().
10807 (fillInStackTrace): Delegate to VMTrowable.
10808 (getStackTrace): Likewise.
10809 (getStackTrace0): Removed.
10810 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
10811 (setStackTrace): Copy given array.
10812 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
10813 * java/lang/VMThrowable.java: New class.
10814 * java/lang/natVMThrowable.cc: New file.
10816 2003-08-23 Michael Koch <konqueror@gmx.de>
10818 * java/net/URLConnection.java,
10819 java/netJarURLConnection.java,
10820 gnu/gcj/protocol/core/Connection.java,
10821 gnu/gcj/protocol/file/Connection.java,
10822 gnu/gcj/protocol/http/Connection.java: Added implementation of
10825 2002-08-22 Tom Tromey <tromey@redhat.com>
10827 * gij.cc (help): Document -cp and -classpath.
10828 (main): Handle -classpath.
10830 2002-08-21 Tom Tromey <tromey@redhat.com>
10832 * Makefile.in: Rebuilt.
10833 * Makefile.am (ordinary_java_source_files): Added
10834 SocketAddress.java, InetSocketAddress.java.
10835 * java/net/PortUnreachableException.java: Merged with Classpath.
10836 * java/net/SocketTimeoutException.java: Likewise.
10837 * java/net/URISyntaxException.java: Likewise.
10838 * java/net/SocketAddress.java: New class from Classpath.
10839 * java/net/InetSocketAddress.java: Likewise.
10841 2003-08-21 Michael Koch <konqueror@gmx.de>
10843 * java/net/Authenticator.java: updated JDK 1.4
10844 * java/net/ContentHandler.java: updated JDK 1.4
10846 2002-08-20 Michael Koch <konqueror@gmx.de>
10848 * java/net/URISyntaxException.java: New file.
10849 * java/net/SocketTimeoutException.java: New file.
10850 * java/net/PortUnreachableException.java: New file.
10851 * Makefile.am: Updated.
10852 * Makefile.in: Rebuilt.
10854 2002-08-18 Mark Wielaard <mark@klomp.org>
10856 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
10857 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
10858 MessageDigestSpi (fixes Classpath bug #783).
10860 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10862 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
10863 (startProcess): Allocate path for chdir in async-signal-safe way.
10865 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10867 Fix for PR libgcj/7570 and PR libgcj/7578:
10868 * java/lang/natPosixProcess.cc: Include java/io/File.h.
10869 (startProcess): Handle new `dir' argument.
10870 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
10872 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
10874 (startProcess): Likewise.
10875 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
10877 * java/lang/Runtime.java (execInternal): Added `dir' argument.
10878 (exec): Don't create new environment if ENV==null. Pass DIR to
10880 * java/lang/natRuntime.cc: Include java/io/File.h.
10881 (execInternal): Added `dir' argument.
10883 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
10885 * java/io/RandomAccessFile.java (skipBytes): Return number of
10888 2002-08-01 Mark Wielaard <mark@klomp.org>
10890 Reenable patch since shared library troubles on powerpc are solved:
10891 * gnu/java/security/provider/Gnu.java: Reference all implementation
10892 classes by using Class.getName().
10893 * gnu/java/security/der/DEREncodingException.java,
10894 gnu/java/security/provider/DERReader.java,
10895 gnu/java/security/provider/DERWriter.java,
10896 gnu/java/security/provider/DSAKeyPairGenerator.java,
10897 gnu/java/security/provider/DSAParameterGenerator.java,
10898 gnu/java/security/provider/DSAParameters.java,
10899 gnu/java/security/provider/DSASignature.java,
10900 gnu/java/security/provider/GnuDSAPrivateKey.java,
10901 gnu/java/security/provider/GnuDSAPublicKey.java,
10902 gnu/java/security/provider/MD5.java,
10903 gnu/java/security/util/Prime.java: New classes
10904 * Makefile.am (ordinary_java_source_files): Add above files.
10905 * Makefile.in: Regenerate.
10906 * gnu/java/security/provider/DefaultPolicy.java
10907 (getPermissions): Don't maintain static class variable of Permissions.
10908 * gnu/java/security/provider/SHA.java
10909 (engineUpdate): algorithm change.
10910 (engineDigest): algorithm change.
10912 2002-08-09 Mark Wielaard <mark@klomp.org>
10914 * java/awt/image/MemoryImageSource.java: Change constructor to take
10916 * java/awt/Graphics2D.java: Uncomment methods that can now be
10918 * java/awt/GridBagLayout.java: New stub implementation.
10919 * javax/swing/text/html/HTML.java: Stub implementation.
10920 * javax/swing/text/html/parser/ParserDelegator.java: New stub
10923 * Makefile.am: Add new files.
10924 * Makefile.in: Rebuilt.
10926 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10928 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
10929 methods in Graphics2D.
10931 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10933 AWT/Swing merge from GNU Classpath.
10935 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
10936 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
10937 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
10938 java/awt/color/ProfileDataException.java,
10939 java/awt/CompositeContext.java, java/awt/Composite.java,
10940 java/awt/ContainerOrderFocusTraversalPolicy.java,
10941 java/awt/datatransfer/FlavorTable.java,
10942 java/awt/DefaultFocusTraversalPolicy.java,
10943 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
10944 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
10945 java/awt/dnd/DragGestureListener.java,
10946 java/awt/dnd/DragGestureRecognizer.java,
10947 java/awt/dnd/DragSourceAdapter.java,
10948 java/awt/dnd/DragSourceContext.java,
10949 java/awt/dnd/DragSourceDragEvent.java,
10950 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
10951 java/awt/dnd/DragSourceListener.java,
10952 java/awt/dnd/DragSourceMotionListener.java,
10953 java/awt/dnd/DropTarget.java,
10954 java/awt/dnd/InvalidDnDOperationException.java,
10955 java/awt/dnd/peer/DragSourceContextPeer.java,
10956 java/awt/event/AWTEventListenerProxy.java,
10957 java/awt/event/MouseWheelEvent.java,
10958 java/awt/event/MouseWheelListener.java,
10959 java/awt/event/WindowFocusListener.java,
10960 java/awt/event/WindowStateListener.java,
10961 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
10962 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
10963 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
10964 java/awt/geom/FlatteningPathIterator.java,
10965 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
10966 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
10967 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
10968 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
10969 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
10970 java/awt/image/ImagingOpException.java,
10971 java/awt/image/RasterFormatException.java,
10972 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
10973 java/awt/image/VolatileImage.java,
10974 java/awt/image/WritableRenderedImage.java,
10975 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
10976 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
10977 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
10978 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
10979 java/awt/PageAttributes.java, java/awt/print/Book.java,
10980 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
10981 java/awt/print/Paper.java, java/awt/print/Printable.java,
10982 java/awt/print/PrinterAbortException.java,
10983 java/awt/print/PrinterException.java,
10984 java/awt/print/PrinterGraphics.java,
10985 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
10986 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
10987 java/awt/Stroke.java, java/awt/TexturePaint.java,
10988 javax/accessibility/AccessibleAction.java,
10989 javax/accessibility/AccessibleBundle.java,
10990 javax/accessibility/AccessibleComponent.java,
10991 javax/accessibility/AccessibleContext.java,
10992 javax/accessibility/AccessibleEditableText.java,
10993 javax/accessibility/AccessibleExtendedComponent.java,
10994 javax/accessibility/AccessibleExtendedTable.java,
10995 javax/accessibility/AccessibleHyperlink.java,
10996 javax/accessibility/AccessibleHypertext.java,
10997 javax/accessibility/AccessibleIcon.java,
10998 javax/accessibility/Accessible.java,
10999 javax/accessibility/AccessibleKeyBinding.java,
11000 javax/accessibility/AccessibleRelation.java,
11001 javax/accessibility/AccessibleRelationSet.java,
11002 javax/accessibility/AccessibleResourceBundle.java,
11003 javax/accessibility/AccessibleRole.java,
11004 javax/accessibility/AccessibleSelection.java,
11005 javax/accessibility/AccessibleState.java,
11006 javax/accessibility/AccessibleStateSet.java,
11007 javax/accessibility/AccessibleTable.java,
11008 javax/accessibility/AccessibleTableModelChange.java,
11009 javax/accessibility/AccessibleText.java,
11010 javax/accessibility/AccessibleValue.java,
11011 javax/swing/AbstractAction.java,
11012 javax/swing/AbstractButton.java,
11013 javax/swing/AbstractCellEditor.java,
11014 javax/swing/AbstractListModel.java,
11015 javax/swing/AbstractSet.java, javax/swing/Action.java,
11016 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
11017 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
11018 javax/swing/border/CompoundBorder.java,
11019 javax/swing/border/EmptyBorder.java,
11020 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
11021 javax/swing/border/LineBorder.java,
11022 javax/swing/border/MatteBorder.java,
11023 javax/swing/border/TitledBorder.java,
11024 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
11025 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
11026 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
11027 javax/swing/CellRendererPane.java,
11028 javax/swing/colorchooser/AbstractColorChooserPanel.java,
11029 javax/swing/colorchooser/ColorChooserComponentFactory.java,
11030 javax/swing/colorchooser/ColorSelectionModel.java,
11031 javax/swing/colorchooser/DefaultColorSelectionModel.java,
11032 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
11033 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
11034 javax/swing/DefaultBoundedRangeModel.java,
11035 javax/swing/DefaultButtonModel.java,
11036 javax/swing/DefaultCellEditor.java,
11037 javax/swing/DefaultCellRenderer.java,
11038 javax/swing/DefaultComboBoxModel.java,
11039 javax/swing/DefaultDesktopManager.java,
11040 javax/swing/DefaultFocusManager.java,
11041 javax/swing/DefaultListCellRenderer.java,
11042 javax/swing/DefaultListModel.java,
11043 javax/swing/DefaultListSelectionModel.java,
11044 javax/swing/DefaultSingleSelectionModel.java,
11045 javax/swing/DesktopManager.java,
11046 javax/swing/event/AncestorEvent.java,
11047 javax/swing/event/AncestorListener.java,
11048 javax/swing/event/CaretEvent.java,
11049 javax/swing/event/CaretListener.java,
11050 javax/swing/event/CellEditorListener.java,
11051 javax/swing/event/ChangeEvent.java,
11052 javax/swing/event/ChangeListener.java,
11053 javax/swing/event/DocumentEvent.java,
11054 javax/swing/event/DocumentListener.java,
11055 javax/swing/event/EventListenerList.java,
11056 javax/swing/event/HyperlinkEvent.java,
11057 javax/swing/event/HyperlinkListener.java,
11058 javax/swing/event/InternalFrameAdapter.java,
11059 javax/swing/event/InternalFrameEvent.java,
11060 javax/swing/event/InternalFrameListener.java,
11061 javax/swing/event/ListDataEvent.java,
11062 javax/swing/event/ListDataListener.java,
11063 javax/swing/event/ListSelectionEvent.java,
11064 javax/swing/event/ListSelectionListener.java,
11065 javax/swing/event/MenuDragMouseEvent.java,
11066 javax/swing/event/MenuDragMouseListener.java,
11067 javax/swing/event/MenuEvent.java,
11068 javax/swing/event/MenuKeyEvent.java,
11069 javax/swing/event/MenuKeyListener.java,
11070 javax/swing/event/MenuListener.java,
11071 javax/swing/event/MouseInputAdapter.java,
11072 javax/swing/event/MouseInputListener.java,
11073 javax/swing/event/PopupMenuEvent.java,
11074 javax/swing/event/PopupMenuListener.java,
11075 javax/swing/event/SwingPropertyChangeSupport.java,
11076 javax/swing/event/TableColumnModelEvent.java,
11077 javax/swing/event/TableColumnModelListener.java,
11078 javax/swing/event/TableModelEvent.java,
11079 javax/swing/event/TableModelListener.java,
11080 javax/swing/event/TreeExpansionEvent.java,
11081 javax/swing/event/TreeExpansionListener.java,
11082 javax/swing/event/TreeModelEvent.java,
11083 javax/swing/event/TreeModelListener.java,
11084 javax/swing/event/TreeSelectionEvent.java,
11085 javax/swing/event/TreeSelectionListener.java,
11086 javax/swing/event/TreeWillExpandListener.java,
11087 javax/swing/event/UndoableEditEvent.java,
11088 javax/swing/event/UndoableEditListener.java,
11089 javax/swing/filechooser/FileFilter.java,
11090 javax/swing/filechooser/FileSystemView.java,
11091 javax/swing/filechooser/FileView.java,
11092 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
11093 javax/swing/Icon.java, javax/swing/ImageIcon.java,
11094 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
11095 javax/swing/JApplet.java, javax/swing/JButton.java,
11096 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
11097 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
11098 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
11099 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
11100 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
11101 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
11102 javax/swing/JLayeredPane.java, javax/swing/JList.java,
11103 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
11104 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
11105 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
11106 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
11107 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
11108 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
11109 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
11110 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
11111 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
11112 javax/swing/JTextField.java, javax/swing/JTextPane.java,
11113 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
11114 javax/swing/JToolTip.java, javax/swing/JTree.java,
11115 javax/swing/JViewport.java, javax/swing/JWindow.java,
11116 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
11117 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
11118 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
11119 javax/swing/MenuSelectionManager.java,
11120 javax/swing/MutableComboBoxModel.java,
11121 javax/swing/OverlayLayout.java,
11122 javax/swing/plaf/ActionMapUIResource.java,
11123 javax/swing/plaf/basic/BasicBorders.java,
11124 javax/swing/plaf/basic/BasicButtonUI.java,
11125 javax/swing/plaf/basic/BasicCheckBoxUI.java,
11126 javax/swing/plaf/basic/BasicDefaults.java,
11127 javax/swing/plaf/basic/BasicGraphicsUtils.java,
11128 javax/swing/plaf/basic/BasicIconFactory.java,
11129 javax/swing/plaf/basic/BasicLabelUI.java,
11130 javax/swing/plaf/basic/BasicListUI.java,
11131 javax/swing/plaf/basic/BasicLookAndFeel.java,
11132 javax/swing/plaf/basic/BasicOptionPaneUI.java,
11133 javax/swing/plaf/basic/BasicPanelUI.java,
11134 javax/swing/plaf/basic/BasicRadioButtonUI.java,
11135 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11136 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11137 javax/swing/plaf/basic/BasicTextUI.java,
11138 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11139 javax/swing/plaf/basic/BasicTreeUI.java,
11140 javax/swing/plaf/basic/BasicViewportUI.java,
11141 javax/swing/plaf/BorderUIResource.java,
11142 javax/swing/plaf/ButtonUI.java,
11143 javax/swing/plaf/ColorChooserUI.java,
11144 javax/swing/plaf/ColorUIResource.java,
11145 javax/swing/plaf/ComboBoxUI.java,
11146 javax/swing/plaf/ComponentInputMapUIResource.java,
11147 javax/swing/plaf/ComponentUI.java,
11148 javax/swing/plaf/DesktopIconUI.java,
11149 javax/swing/plaf/DesktopPaneUI.java,
11150 javax/swing/plaf/DimensionUIResource.java,
11151 javax/swing/plaf/FileChooserUI.java,
11152 javax/swing/plaf/FontUIResource.java,
11153 javax/swing/plaf/IconUIResource.java,
11154 javax/swing/plaf/InputMapUIResource.java,
11155 javax/swing/plaf/InsetsUIResource.java,
11156 javax/swing/plaf/InternalFrameUI.java,
11157 javax/swing/plaf/LabelUI.java,
11158 javax/swing/plaf/ListUI.java,
11159 javax/swing/plaf/MenuBarUI.java,
11160 javax/swing/plaf/MenuItemUI.java,
11161 javax/swing/plaf/OptionPaneUI.java,
11162 javax/swing/plaf/PanelUI.java,
11163 javax/swing/plaf/PopupMenuUI.java,
11164 javax/swing/plaf/ProgressBarUI.java,
11165 javax/swing/plaf/RootPaneUI.java,
11166 javax/swing/plaf/ScrollBarUI.java,
11167 javax/swing/plaf/ScrollPaneUI.java,
11168 javax/swing/plaf/SeparatorUI.java,
11169 javax/swing/plaf/SliderUI.java,
11170 javax/swing/plaf/SplitPaneUI.java,
11171 javax/swing/plaf/TabbedPaneUI.java,
11172 javax/swing/plaf/TableHeaderUI.java,
11173 javax/swing/plaf/TableUI.java,
11174 javax/swing/plaf/TextUI.java,
11175 javax/swing/plaf/ToolBarUI.java,
11176 javax/swing/plaf/ToolTipUI.java,
11177 javax/swing/plaf/TreeUI.java,
11178 javax/swing/plaf/UIResource.java,
11179 javax/swing/plaf/ViewportUI.java,
11180 javax/swing/ProgressMonitorInputStream.java,
11181 javax/swing/ProgressMonitor.java,
11182 javax/swing/Renderer.java,
11183 javax/swing/RepaintManager.java,
11184 javax/swing/RootPaneContainer.java,
11185 javax/swing/Scrollable.java,
11186 javax/swing/ScrollPaneConstants.java,
11187 javax/swing/ScrollPaneLayout.java,
11188 javax/swing/SingleSelectionModel.java,
11189 javax/swing/SizeRequirements.java,
11190 javax/swing/SizeSequence.java,
11191 javax/swing/SwingConstants.java,
11192 javax/swing/SwingUtilities.java,
11193 javax/swing/table/AbstractTableModel.java,
11194 javax/swing/table/DefaultTableCellRenderer.java,
11195 javax/swing/table/DefaultTableColumnModel.java,
11196 javax/swing/table/DefaultTableModel.java,
11197 javax/swing/table/TableCellEditor.java,
11198 javax/swing/table/TableCellRenderer.java,
11199 javax/swing/table/TableColumn.java,
11200 javax/swing/table/TableColumnModel.java,
11201 javax/swing/table/TableModel.java,
11202 javax/swing/text/AbstractDocument.java,
11203 javax/swing/text/AttributeSet.java,
11204 javax/swing/text/BadLocationException.java,
11205 javax/swing/text/Caret.java,
11206 javax/swing/text/CharacterIterator.java,
11207 javax/swing/text/ComponentView.java,
11208 javax/swing/text/DefaultCaret.java,
11209 javax/swing/text/DefaultEditorKit.java,
11210 javax/swing/text/Document.java,
11211 javax/swing/text/EditorKit.java,
11212 javax/swing/text/Element.java,
11213 javax/swing/text/GapContent.java,
11214 javax/swing/text/JTextComponent.java,
11215 javax/swing/text/Keymap.java,
11216 javax/swing/text/MutableAttributeSet.java,
11217 javax/swing/text/PlainDocument.java,
11218 javax/swing/text/PlainEditorKit.java,
11219 javax/swing/text/Position.java,
11220 javax/swing/text/Segment.java,
11221 javax/swing/text/StyledDocument.java,
11222 javax/swing/text/StyledEditorKit.java,
11223 javax/swing/text/Style.java,
11224 javax/swing/text/TextAction.java,
11225 javax/swing/text/ViewFactory.java,
11226 javax/swing/text/View.java,
11227 javax/swing/Timer.java,
11228 javax/swing/ToggleButtonModel.java,
11229 javax/swing/ToolTipManager.java,
11230 javax/swing/tree/AbstractLayoutCache.java,
11231 javax/swing/tree/DefaultMutableTreeNode.java,
11232 javax/swing/tree/DefaultTreeCellEditor.java,
11233 javax/swing/tree/DefaultTreeCellRenderer.java,
11234 javax/swing/tree/DefaultTreeModel.java,
11235 javax/swing/tree/DefaultTreeSelectionModel.java,
11236 javax/swing/tree/ExpandVetoException.java,
11237 javax/swing/tree/FixedHeightLayoutCache.java,
11238 javax/swing/tree/MutableTreeNode.java,
11239 javax/swing/tree/RowMapper.java,
11240 javax/swing/tree/TreeCellEditor.java,
11241 javax/swing/tree/TreeCellRenderer.java,
11242 javax/swing/tree/TreeModel.java,
11243 javax/swing/tree/TreeNode.java,
11244 javax/swing/tree/TreePath.java,
11245 javax/swing/tree/TreeSelectionModel.java,
11246 javax/swing/tree/VariableHeightLayoutCache.java,
11247 javax/swing/UIDefaults.java,
11248 javax/swing/UIManager.java,
11249 javax/swing/undo/AbstractUndoableEdit.java,
11250 javax/swing/undo/CannotRedoException.java,
11251 javax/swing/undo/CannotUndoException.java,
11252 javax/swing/undo/CompoundEdit.java,
11253 javax/swing/undo/StateEditable.java,
11254 javax/swing/undo/StateEdit.java,
11255 javax/swing/undo/UndoableEdit.java,
11256 javax/swing/undo/UndoableEditSupport.java,
11257 javax/swing/undo/UndoManager.java,
11258 javax/swing/UnsupportedLookAndFeelException.java,
11259 javax/swing/ViewportLayout.java,
11260 javax/swing/WindowConstants.java: New files, from GNU Classpath.
11262 * java/awt/ActiveEvent.java,
11263 java/awt/Adjustable.java, java/awt/AWTError.java,
11264 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
11265 java/awt/AWTException.java, java/awt/AWTPermission.java,
11266 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
11267 java/awt/Color.java, java/awt/Component.java,
11268 java/awt/ComponentOrientation.java, java/awt/Container.java,
11269 java/awt/datatransfer/MimeTypeParseException.java,
11270 java/awt/datatransfer/Transferable.java,
11271 java/awt/datatransfer/UnsupportedFlavorException.java,
11272 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
11273 java/awt/event/ActionListener.java,
11274 java/awt/event/AdjustmentEvent.java,
11275 java/awt/event/AdjustmentListener.java,
11276 java/awt/event/AWTEventListener.java,
11277 java/awt/event/ComponentAdapter.java,
11278 java/awt/event/ComponentEvent.java,
11279 java/awt/event/ComponentListener.java,
11280 java/awt/event/ContainerAdapter.java,
11281 java/awt/event/ContainerEvent.java,
11282 java/awt/event/ContainerListener.java,
11283 java/awt/event/FocusAdapter.java,
11284 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
11285 java/awt/event/HierarchyBoundsAdapter.java,
11286 java/awt/event/HierarchyBoundsListener.java,
11287 java/awt/event/HierarchyEvent.java,
11288 java/awt/event/HierarchyListener.java,
11289 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
11290 java/awt/event/InputMethodListener.java,
11291 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
11292 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
11293 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
11294 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
11295 java/awt/event/MouseListener.java,
11296 java/awt/event/MouseMotionAdapter.java,
11297 java/awt/event/MouseMotionListener.java,
11298 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
11299 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
11300 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
11301 java/awt/event/WindowListener.java, java/awt/Font.java,
11302 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
11303 java/awt/geom/Ellipse2D.java,
11304 java/awt/geom/IllegalPathStateException.java,
11305 java/awt/geom/Line2D.java,
11306 java/awt/geom/NoninvertibleTransformException.java,
11307 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
11308 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
11309 java/awt/geom/RoundRectangle2D.java,
11310 java/awt/GraphicsConfiguration.java,
11311 java/awt/IllegalComponentStateException.java,
11312 java/awt/image/IndexColorModel.java,
11313 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
11314 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
11315 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
11316 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
11317 java/awt/MenuItem.java, java/awt/PaintContext.java,
11318 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
11319 java/awt/Polygon.java, java/awt/PrintGraphics.java,
11320 java/awt/PrintJob.java, java/awt/Rectangle.java,
11321 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
11322 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
11323 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
11325 * java/awt/im/spi/InputMethod.java,
11326 java/awt/im/spi/InputMethodContext.java,
11327 java/awt/im/spi/InputMethodDescriptor.java,
11328 java/awt/image/renderable/ContextualRenderedImageFactory.java,
11329 java/awt/image/renderable/ParameterBlock.java,
11330 java/awt/image/renderable/RenderContext.java,
11331 java/awt/image/renderable/RenderableImage.java,
11332 java/awt/image/renderable/RenderableImageOp.java,
11333 java/awt/image/renderable/RenderableImageProducer.java,
11334 java/awt/image/renderable/RenderedImageFactory.java: New files from
11337 * gnu/java/awt/EventModifier.java,
11338 gnu/java/awt/image/ImageDecoder.java,
11339 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
11341 * gnu/awt/xlib/XGraphicsConfiguration.java,
11342 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
11345 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
11348 * Makefile.am: Add new files.
11349 * Makefile.in: Rebuilt.
11351 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11353 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
11354 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
11355 findResource, getResources, findResources): Add javadoc from classpath.
11356 (getSystemResources): Implemented.
11358 2002-08-01 Mark Wielaard <mark@klomp.org>
11360 Revert patch that breaks libgcj shared library on powerpc:
11361 * gnu/java/security/provider/Gnu.java: Reverse referencing all
11362 implementation classes by using Class.getName(). Uses Strings again.
11363 * gnu/java/security/der/DEREncodingException.java,
11364 gnu/java/security/provider/DERReader.java,
11365 gnu/java/security/provider/DERWriter.java,
11366 gnu/java/security/provider/DSAKeyPairGenerator.java,
11367 gnu/java/security/provider/DSAParameterGenerator.java,
11368 gnu/java/security/provider/DSAParameters.java,
11369 gnu/java/security/provider/DSASignature.java,
11370 gnu/java/security/provider/GnuDSAPrivateKey.java,
11371 gnu/java/security/provider/GnuDSAPublicKey.java,
11372 gnu/java/security/provider/MD5.java,
11373 gnu/java/security/util/Prime.java: Removed.
11374 * Makefile.am (ordinary_java_source_files): Remove above files.
11375 * Makefile.in: Regenerate.
11376 * gnu/java/security/provider/DefaultPolicy.java
11377 (getPermissions): Revert to maintaining static class variable of
11379 * gnu/java/security/provider/SHA.java
11380 (engineUpdate): Revert algorithm change.
11381 (engineDigest): Revert algorithm change.
11383 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
11385 * configure.host: Add SH support.
11386 * sysdep/sh/locks.h: New file.
11388 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11390 * java/awt/Frame.java (Frame): Remove println calls.
11392 2002-07-30 Jeff Sturm <jsturm@one-point.com>
11394 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
11395 * configure: Rebuilt.
11397 2002-07-27 Alan Modra <amodra@bigpond.net.au>
11399 * sysdep/powerpc/locks.h: Formatting.
11402 (compare_and_swap): Use _LARX and _STCX.
11403 (compare_and_swap_release): Likewise.
11405 2002-07-26 Tom Tromey <tromey@redhat.com>
11407 * java/net/Authenticator.java: New version from Classpath.
11408 * java/net/DatagramSocketImpl.java: New version from Classpath.
11410 2002-07-27 Alan Modra <amodra@bigpond.net.au>
11412 * configure.host: Add powerpc64*-* entry.
11414 2002-07-26 Tom Tromey <tromey@redhat.com>
11416 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
11419 2002-07-24 Tom Tromey <tromey@redhat.com>
11421 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
11424 2002-07-24 Tom Tromey <tromey@redhat.com>
11425 Tony Kimball <alk@pobox.com>
11427 * java/io/natFileDescriptorWin32.cc (setLength): New method.
11428 * java/io/natFileDescriptorPosix.cc (setLength): New method.
11429 * java/io/RandomAccessFile.java (setLength): New method.
11430 * java/io/natFileDescriptorEcos.cc (setLength): New method.
11431 * java/io/FileDescriptor.java (setLength): New method.
11433 2002-07-24 Mark Wielaard <mark@klomp.org>
11435 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
11436 * java/io/ObjectInputStream.java (setBooleanField): Before setting
11437 field call setAccessible(true).
11438 (setByteField): Likewise.
11439 (setCharField): Likewise.
11440 (setDoubleField): Likewise.
11441 (setFloatField): Likewise.
11442 (setIntField): Likewise.
11443 (setLongField): Likewise.
11444 (setShortField): Likewise.
11445 (setObjectField): Likewise.
11447 2002-07-24 Tom Tromey <tromey@redhat.com>
11449 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
11450 use toString() to format array element.
11452 2002-07-23 Mark Wielaard <mark@klomp.org>
11454 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
11455 MessageDigestSpi (fixes Classpath bug #783).
11457 2002-07-21 Mark Wielaard <mark@klomp.org>
11459 * gnu/java/security/provider/Gnu.java: Reference all implementation
11460 classes by using Class.getName().
11462 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
11464 * java/lang/ieeefp.h: Add x86-64 support.
11465 * configure.in: Likewise.
11466 * configure.host: Likewise.
11467 * configure: Regenerated.
11468 * sysdep/x86-64/locks.h: New file with x86-64 locks.
11470 2002-07-16 Mark Wielaard <mark@klomp.org>
11472 * java/io/StreamTokenizer.java (pushBack): Update documentation.
11473 (whitespaceChars): call resetChar().
11475 2002-07-15 Tom Tromey <tromey@redhat.com>
11477 * Makefile.in: Rebuilt.
11478 * Makefile.am (awt_java_source_files): Added new files.
11479 * java/beans/ExceptionListener.java: Merged with Classpath.
11480 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
11481 * java/beans/PropertyChangeListener.java: Merged with Classpath.
11482 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
11483 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
11484 * java/beans/VetoableChangeListener.java: Merged with Classpath.
11485 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
11486 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
11488 2002-07-14 Mark Wielaard <mark@klomp.org>
11490 * gnu/java/security/der/DEREncodingException.java,
11491 gnu/java/security/provider/DERReader.java,
11492 gnu/java/security/provider/DERWriter.java,
11493 gnu/java/security/provider/DSAKeyPairGenerator.java,
11494 gnu/java/security/provider/DSAParameterGenerator.java,
11495 gnu/java/security/provider/DSAParameters.java,
11496 gnu/java/security/provider/DSASignature.java,
11497 gnu/java/security/provider/GnuDSAPrivateKey.java,
11498 gnu/java/security/provider/GnuDSAPublicKey.java,
11499 gnu/java/security/provider/MD5.java,
11500 gnu/java/security/util/Prime.java: New files from Classpath.
11501 * Makefile.am (ordinary_java_source_files): Add new files.
11502 * Makefile.in: Regenerate.
11504 2002-07-14 C. Brian Jones <cbj@gnu.org>
11506 * gnu/java/security/provider/DefaultPolicy.java
11507 (getPermissions): do not maintain static class variable of
11509 * gnu/java/security/provider/SHA.java
11510 (engineUpdate): algorithm change
11511 (engineDigest): algorithm change
11513 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
11515 For PR libgcj/7292:
11516 * java/lang/Character.java (toString(char)): Now static.
11518 2002-07-12 Mark Wielaard <mark@klomp.org>
11520 * java/lang/natThrowable.cc (printRawStackTrace): removed.
11521 (getStackTrace0): new method.
11522 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
11523 (printStackTrace(PrintWriter)): replace with pure java implementation.
11524 (printRawStackTrace): removed.
11525 (getStackTrace0): new method.
11526 * java/lang/StackTraceElement.java (toString): add extra whitespace.
11527 * gcj/javaprims.h: regenerate class list.
11528 * include/name-finder.h (lookup): new returns StackTraceElement*.
11529 (method_name, file_name): fields removed.
11530 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
11531 (~_Jv_name_finder): close new descriptors.
11532 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
11533 (createStackTraceElement): new method.
11534 (lookup): returns StackTraceElement*, uses createStackTraceElement().
11536 2002-07-10 Tom Tromey <tromey@redhat.com>
11538 * configure: Rebuilt.
11539 * configure.in: Use `test' after `&&'. From Chris Faylor.
11541 2002-07-08 Mark Wielaard <mark@klomp.org>
11543 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
11544 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
11545 java.sql.DatabaseMetaData.TestJdbc20
11547 2002-07-05 Tony Kimball <alk@pobox.com>
11549 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
11551 2002-07-04 Tom Tromey <tromey@redhat.com>
11552 Jeff Sturm <jsturm@one-point.com>
11554 Fix for PR libgcj/7060:
11555 * java/lang/Class.h (_getMethod): Renamed from getMethod.
11556 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
11557 Recurse into superinterfaces. Don't throw NoSuchMethodException.
11558 * java/lang/Class.java (getMethod): New Java implementation;
11559 complies with spec.
11560 (_getMethod): New native method.
11562 2002-07-02 Tom Tromey <tromey@redhat.com>
11563 David Hovemeyer <daveho@cs.umd.edu>
11565 * java/text/ChoiceFormat.java
11566 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
11568 * java/text/MessageFormat.java
11569 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
11572 2002-07-01 Tom Tromey <tromey@redhat.com>
11574 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
11575 StringTokenizer on null string. For PR libgcj/7180.
11576 From daveho@cs.umd.edu.
11578 2002-06-24 Tom Tromey <tromey@redhat.com>
11580 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
11581 (IntegerClass): Likewise.
11582 * java/lang/natClass.cc (CloneableClass): Removed.
11583 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
11584 ConstructorClass): Likewise.
11585 * java/lang/natClassLoader.cc (CloneableClass): Removed.
11586 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
11587 SerializableClass): Likewise.
11588 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
11589 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
11590 LongClass, FloatClass, DoubleClass): Likewise.
11592 * verify.cc (branch_prepass): Updated for change to exception
11594 (verify_instructions_0): Likewise.
11595 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
11596 (handleExceptionTableEntry): Updated for change to exception
11598 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
11599 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
11600 (union _Jv_InterpPC): New.
11601 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
11602 (class _Jv_InterpMethod): Added new `prepared' field.
11603 (class _Jv_InterpMethod): Added `compile' method. Removed
11604 `continue1' and `find_exception'. Changed arguments to `run'.
11605 * interpret.cc (union insn_slot): New.
11606 (find_exception): Removed.
11607 (run_normal): Removed most logic.
11608 (run_synch_object): Likewise; also, use JvSynchronize.
11609 (run_synch_class): Likewise.
11611 (continue1): Renamed as `run'. Compile bytecode if required.
11612 Add new code to allow refinement of direct-threaded code at
11613 runtime. Handle exceptions.
11614 (SAVE_PC): Removed.
11615 (compile): New method.
11616 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
11617 (NULLARRAYCHECK): Don't use SAVE_PC.
11618 (pc_t): New typedef.
11619 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
11620 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
11622 2002-06-23 Tom Tromey <tromey@redhat.com>
11624 * configure: Rebuilt.
11625 * configure.in (INTERPRETER): New subst.
11626 (AM_RUNTESTFLAGS): Don't subst.
11628 * Makefile.in: Rebuilt.
11629 * Makefile.am ($(srcdir)/java/lang/Object.h,
11630 $(srcdir)/java/lang/Class.h): Added dummy targets.
11632 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11634 Reformat JDBC classes and add new JDK 1.4 classes and methods.
11636 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
11637 java/sql/Savepoint.java: New files.
11638 * java/sql/Array.java, java/sql/BatchUpdateException.java,
11639 java/sql/Blob.java, java/sql/CallableStatement.java,
11640 java/sql/Clob.java, java/sql/Connection.java,
11641 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
11642 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
11643 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
11644 java/sql/Ref.java, java/sql/ResultSet.java,
11645 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
11646 java/sql/SQLException.java, java/sql/SQLInput.java,
11647 java/sql/SQLOutput.java, java/sql/SQLWarning.java
11648 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
11649 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
11650 (JDK 1.4) specification.
11651 * javax/sql/ConnectionEvent.java,
11652 javax/sql/ConnectionEventListener.java,
11653 javax/sql/ConnectionPoolDataSource.java,
11654 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
11655 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
11656 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
11657 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
11658 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
11659 javax/sql/XADataSource.java: New files.
11660 * Makefile.am: Add new files.
11661 * Makefile.in: Rebuilt.
11663 2002-06-20 Tom Tromey <tromey@redhat.com>
11665 For PR libgcj/7073:
11666 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
11668 * defineclass.cc (handleClassBegin): Superclass for interface is
11671 2002-06-18 Tom Tromey <tromey@redhat.com>
11673 * gcj/javaprims.h: Updated class declaration list.
11674 * Makefile.in: Rebuilt.
11675 * Makefile.am (core_java_source_files): Removed
11676 BasicMapEntry.java.
11677 * java/util/BasicMapEntry.java: Removed.
11679 2002-06-18 Jeff Sturm <jsturm@one-point.com>
11681 * java/net/natPlainDatagramSocketImpl.cc (receive):
11682 Check bounds of argument to FD_SET.
11683 (setOption): Throw exception if socket is closed.
11685 * java/net/natPlainSocketImpl.cc (accept, read):
11686 Check bounds of argument to FD_SET.
11687 (setOption): Throw exception if socket is closed.
11689 2002-06-18 Tom Tromey <tromey@redhat.com>
11691 * gcj/javaprims.h: Updated class declaration list.
11692 * Makefile.in: Rebuilt.
11693 * Makefile.am (core_java_source_files): Added
11694 PropertyPermissionCollection.java.
11695 * java/lang/Thread.java (group, name): Now package-private.
11696 * java/lang/ThreadGroup.java: Re-merge with Classpath.
11697 * java/util/AbstractList.java: Likewise.
11698 * java/util/AbstractMap.java: Likewise.
11699 * java/util/Calendar.java: Likewise.
11700 * java/util/Collections.java: Likewise.
11701 * java/util/HashMap.java: Likewise.
11702 * java/util/Hashtable.java: Likewise.
11703 * java/util/LinkedHashMap.java: Likewise.
11704 * java/util/LinkedList.java: Likewise.
11705 * java/util/List.java: Likewise.
11706 * java/util/ListResourceBundle.java: Likewise.
11707 * java/util/Map.java: Likewise.
11708 * java/util/Observable.java: Likewise.
11709 * java/util/Properties.java: Likewise.
11710 * java/util/PropertyPermission.java: Likewise.
11711 * java/util/PropertyPermissionCollection.java: Likewise.
11712 * java/util/PropertyResourceBundle.java: Likewise.
11713 * java/util/Random.java: Likewise.
11714 * java/util/SimpleTimeZone.java: Likewise.
11715 * java/util/StringTokenizer.java: Likewise.
11716 * java/util/TimerTask.java: Likewise.
11717 * java/util/TreeMap.java: Likewise.
11718 * java/util/WeakHashMap.java: Likewise.
11719 * java/util/jar/Attributes.java: Likewise.
11720 * java/util/jar/JarException.java: Likewise.
11721 * java/util/jar/Manifest.java: Likewise.
11723 2002-06-17 Tom Tromey <tromey@redhat.com>
11725 * gcj/javaprims.h: Updated class declaration list.
11726 * Makefile.in: Rebuilt.
11727 * Makefile.am (core_java_source_files): Added new file.
11728 * java/util/EventListenerProxy.java: New file.
11729 * java/util/EventListener.java: Re-merge with Classpath.
11730 * java/util/EventObject.java: Re-merge with Classpath.
11732 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
11734 * java/lang/ClassNotFoundException.java: New Classpath version.
11736 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
11738 * java/rmi/activation/ActivateFailedException.java: Remerge from
11740 * java/rmi/activation/ActivationException.java: Ditto.
11741 * java/rmi/activation/UnknownGroupException.java: Ditto.
11742 * java/rmi/activation/UnknownObjectException.java: Ditto.
11743 * java/rmi/server/ExportException: Ditto.
11744 * java/rmi/server/ServerCloneException: Ditto.
11745 * java/rmi/server/ServerNotActiveException: Ditto.
11746 * java/rmi/server/SkeletonMismatchException: Ditto.
11747 * java/rmi/server/SkeletonNotFoundException: Ditto.
11748 * java/rmi/server/SocketSecurityException: Ditto.
11750 2002-06-16 Tom Tromey <tromey@redhat.com>
11752 * gcj/javaprims.h: Updated class declaration list.
11754 * java/io/LineNumberInputStream.java: Merged with Classpath.
11756 * java/lang/RuntimeException.java: Re-merge with Classpath.
11757 * java/util/ArrayList.java: Likewise.
11758 * java/util/Arrays.java: Likewise.
11759 * java/util/BitSet.java: Likewise.
11760 * java/util/Dictionary.java: Likewise.
11761 * java/util/IdentityHashMap.java: Likewise.
11762 * java/util/MissingResourceException.java: Likewise.
11763 * java/util/Observer.java: Likewise.
11764 * java/util/TooManyListenersException.java: Likewise.
11765 * java/util/zip/DataFormatException.java: Likewise.
11766 * java/util/zip/ZipException.java: Likewise.
11768 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
11770 * java/rmi/AccessException.java: Remerge from Classpath.
11771 * java/rmi/AlreadyBoundException.java: Ditto.
11772 * java/rmi/ConnectException.java: Ditto.
11773 * java/rmi/ConnectIOException.java: Ditto.
11774 * java/rmi/MarshalException.java: Ditto.
11775 * java/rmi/NoSuchObjectException.java: Ditto.
11776 * java/rmi/NotBoundException.java: Ditto.
11777 * java/rmi/RemoteException.java: Ditto.
11778 * java/rmi/RMISecurityException.java: Ditto.
11779 * java/rmi/ServerError.java: Ditto.
11780 * java/rmi/ServerException.java: Ditto.
11781 * java/rmi/ServerRuntimeException.java: Ditto.
11782 * java/rmi/StubNotFoundException.java: Ditto.
11783 * java/rmi/UnexpectedExcpetion.java: Ditto.
11784 * java/rmi/UnknownHostException.java: Ditto.
11785 * java/rmi/UnmarshalException.java: Ditto.
11787 2002-06-15 Tom Tromey <tromey@redhat.com>
11789 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
11790 * java/lang/ArithmeticException.java: Likewise.
11791 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
11792 * java/lang/ArrayStoreException.java: Likewise.
11793 * java/lang/Byte.java: Likewise.
11794 * java/lang/CharSequence.java: Likewise.
11795 * java/lang/ClassCastException.java: Likewise.
11796 * java/lang/ClassCircularityError.java: Likewise.
11797 * java/lang/ClassFormatError.java: Likewise.
11798 * java/lang/CloneNotSupportedException.java: Likewise.
11799 * java/lang/Cloneable.java: Likewise.
11800 * java/lang/Comparable.java: Likewise.
11801 * java/lang/Compiler.java: Likewise.
11802 * java/lang/Error.java: Likewise.
11803 * java/lang/ExceptionInInitializerError.java: Likewise.
11804 * java/lang/IllegalAccessError.java: Likewise.
11805 * java/lang/IllegalAccessException.java: Likewise.
11806 * java/lang/IllegalArgumentException.java: Likewise.
11807 * java/lang/IllegalMonitorStateException.java: Likewise.
11808 * java/lang/IllegalStateException.java: Likewise.
11809 * java/lang/IllegalThreadStateException.java: Likewise.
11810 * java/lang/IncompatibleClassChangeError.java: Likewise.
11811 * java/lang/IndexOutOfBoundsException.java: Likewise.
11812 * java/lang/InheritableThreadLocal.java: Likewise.
11813 * java/lang/InstantiationError.java: Likewise.
11814 * java/lang/InstantiationException.java: Likewise.
11815 * java/lang/InternalError.java: Likewise.
11816 * java/lang/InterruptedException.java: Likewise.
11817 * java/lang/LinkageError.java: Likewise.
11818 * java/lang/NegativeArraySizeException.java: Likewise.
11819 * java/lang/NoClassDefFoundError.java: Likewise.
11820 * java/lang/NoSuchFieldError.java: Likewise.
11821 * java/lang/NoSuchFieldException.java: Likewise.
11822 * java/lang/NoSuchMethodError.java: Likewise.
11823 * java/lang/NoSuchMethodException.java: Likewise.
11824 * java/lang/NullPointerException.java: Likewise.
11825 * java/lang/NumberFormatException.java: Likewise.
11826 * java/lang/OutOfMemoryError.java: Likewise.
11827 * java/lang/Process.java: Likewise.
11828 * java/lang/Runnable.java: Likewise.
11829 * java/lang/RuntimePermission.java: Likewise.
11830 * java/lang/SecurityException.java: Likewise.
11831 * java/lang/Short.java: Likewise.
11832 * java/lang/StackOverflowError.java: Likewise.
11833 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
11834 * java/lang/ThreadDeath.java: Likewise.
11835 * java/lang/ThreadLocal.java: Likewise.
11836 * java/lang/UnknownError.java: Likewise.
11837 * java/lang/UnsatisfiedLinkError.java: Likewise.
11838 * java/lang/UnsupportedClassVersionError.java: Likewise.
11839 * java/lang/UnsupportedOperationException.java: Likewise.
11840 * java/lang/VerifyError.java: Likewise.
11841 * java/lang/VirtualMachineError.java: Likewise.
11842 * java/lang/reflect/InvocationTargetException.java: Likewise.
11843 * java/net/BindException.java: Likewise.
11844 * java/net/ConnectException.java: Likewise.
11845 * java/net/MalformedURLException.java: Likewise.
11846 * java/net/NoRouteToHostException.java: Likewise.
11847 * java/net/ProtocolException.java: Likewise.
11848 * java/net/SocketException.java: Likewise.
11849 * java/net/UnknownHostException.java: Likewise.
11850 * java/net/UnknownServiceException.java: Likewise.
11852 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
11853 * java/io/CharConversionException.java: Likewise.
11854 * java/io/EOFException.java: Likewise.
11855 * java/io/FileNotFoundException.java: Likewise.
11856 * java/io/IOException.java: Likewise.
11857 * java/io/InterruptedIOException.java: Likewise.
11858 * java/io/InvalidClassException.java: Likewise.
11859 * java/io/InvalidObjectException.java: Likewise.
11860 * java/io/NotActiveException.java: Likewise.
11861 * java/io/NotSerializableException.java: Likewise.
11862 * java/io/ObjectStreamException.java: Likewise.
11863 * java/io/ObjectStreamConstants.java: Likewise.
11864 * java/io/OptionalDataException.java: Likewise.
11865 * java/io/PipedInputStream.java: Likewise.
11866 * java/io/PushbackInputStream.java: Likewise.
11867 * java/io/StreamCorruptedException.java: Likewise.
11868 * java/io/SyncFailedException.java: Likewise.
11869 * java/io/UTFDataFormatException.java: Likewise.
11870 * java/io/UnsupportedEncodingException.java: Likewise.
11871 * java/io/WriteAbortedException.java: Likewise.
11873 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
11875 * java/text/ChoiceFormat.java: Update comments from Classpath.
11876 * java/text/ParseException.java (serialVersionUID): New
11877 field from Classpath.
11878 * java/text/ParseException.java: Update formatting & comments
11881 2002-06-15 Tom Tromey <tromey@redhat.com>
11883 * java/util/zip/InflaterInputStream.java (read): Loop if data has
11884 been read but none output by inflater.
11885 * java/util/zip/natDeflater.cc (reset): Set is_finished.
11886 * java/util/zip/natInflater.cc (reset): Set dist_needed and
11888 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
11890 * java/util/zip/ZipFile.java: Replaced with Classpath version.
11891 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
11892 * java/util/zip/ZipInputStream.java: Replaced with Classpath
11894 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
11896 2002-06-13 Tom Tromey <tromey@redhat.com>
11898 * java/lang/natString.cc (init): Handle case where DONT_COPY is
11899 true and OFFSET!=0.
11900 * java/lang/String.java (String(char[],int,int,boolean): New
11902 * java/lang/Long.java: Imported new version from Classpath.
11903 * java/lang/Number.java: Likewise.
11904 * java/lang/Integer.java: Likewise.
11905 * java/lang/Long.java: Likewise.
11906 * java/lang/Float.java: Likewise.
11907 * java/lang/Boolean.java: Likewise.
11908 * java/lang/Double.java: Likewise.
11909 * java/lang/Void.java: Likewise.
11911 2002-06-12 Tom Tromey <tromey@redhat.com>
11913 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
11914 Fixes PR libgcj/6652.
11916 2002-06-10 Tom Tromey <tromey@redhat.com>
11918 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
11919 (Class::getPackagePortion): Likewise.
11920 * java/lang/Class.java (desiredAssertionStatus): New method from
11922 (getPackagePortion): Likewise.
11923 * java/lang/VMClassLoader.java (defaultAssertionStatus,
11924 packageAssertionStatus, classAssertionStatus): New methods from
11926 * java/lang/ClassLoader.java (defaultAssertionStatus,
11927 systemPackageAssertionStatus, packageAssertionStatus,
11928 systemClassAssertionStatus, classAssertionStatus): New fields from
11930 (setDefaultAssertionStatus, setPackageAssertionStatus,
11931 setClassAssertionStatus, clearAssertionStatus): New methods from
11933 * Makefile.in: Rebuilt.
11934 * Makefile.am (core_java_source_files): Added AssertionError.java.
11935 * java/lang/AssertionError.java: New from Classpath.
11937 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11939 * configure.host: Disable hash synchronization and slow_pthread_self
11942 2002-06-06 Adam Megacz <adam@xwt.org>
11944 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
11945 locking, just like the Sun JVM does.
11947 2002-06-05 H.J. Lu (hjl@gnu.org)
11949 * Makefile.am (libgcj_convenience.la): Revert the last change.
11950 (libgcj.la): Likewise.
11951 * Makefile.in: Regenerated.
11953 2002-06-04 H.J. Lu (hjl@gnu.org)
11955 * Makefile.am (libgcj_convenience.la): New target.
11956 (libgcj.la): Depend on libgcj_convenience.la.
11957 * Makefile.in: Regenerated.
11959 2002-06-04 H.J. Lu (hjl@gnu.org)
11961 * configure.in (--with-newlib): New option:
11962 Check ${with_newlib} instead of ${with_cross_host} for newlib.
11963 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
11965 * configure: Regenerated.
11967 2002-06-04 Tom Tromey <tromey@redhat.com>
11969 * java/util/natTimeZone.cc: Include <stdio.h>.
11971 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
11973 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
11974 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
11975 Set SIGNAL_HANDLER=include/s390-linux.h.
11976 * configure: Regenerate.
11977 * include/s390-linux.h: New file.
11979 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11981 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
11984 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11986 Merge JDK 1.4 java.security changes from classpath.
11988 * java/security/AccessControlException.java: Merge from Classpath.
11989 * java/security/AccessController.java: Likewise.
11990 * java/security/AllPermission.java: Likewise.
11991 * java/security/BasicPermission.java: Likewise.
11992 * java/security/Certificate.java: Likewise.
11993 * java/security/CodeSource.java: Likewise.
11994 * java/security/DigestException.java: Likewise.
11995 * java/security/DigestOutputStream.java: Likewise.
11996 * java/security/DomainCombiner.java: Likewise.
11997 * java/security/GeneralSecurityException.java: Likewise.
11998 * java/security/Guard.java: Likewise.
11999 * java/security/GuardedObject.java: Likewise.
12000 * java/security/InvalidAlgorithmParameterException.java: Likewise.
12001 * java/security/InvalidKeyException.java: Likewise.
12002 * java/security/InvalidParameterException.java: Likewise.
12003 * java/security/Key.java: Likewise.
12004 * java/security/KeyException.java: Likewise.
12005 * java/security/KeyManagementException.java: Likewise.
12006 * java/security/KeyStoreException.java: Likewise.
12007 * java/security/MessageDigest.java: Likewise.
12008 * java/security/NoSuchAlgorithmException.java: Likewise.
12009 * java/security/NoSuchProviderException.java: Likewise.
12010 * java/security/Permission.java: Likewise.
12011 * java/security/PermissionCollection.java: Likewise.
12012 * java/security/Permissions.java: Likewise.
12013 * java/security/Policy.java: Likewise.
12014 * java/security/Principal.java: Likewise.
12015 * java/security/PrivateKey.java: Likewise.
12016 * java/security/PrivilegedAction.java: Likewise.
12017 * java/security/PrivilegedActionException.java: Likewise.
12018 * java/security/PrivilegedExceptionAction.java: Likewise.
12019 * java/security/ProtectionDomain.java: Likewise.
12020 * java/security/ProviderException.java: Likewise.
12021 * java/security/PublicKey.java: Likewise.
12022 * java/security/SecureClassLoader.java: Likewise.
12023 * java/security/SecurityPermission.java: Likewise.
12024 * java/security/SignatureException.java: Likewise.
12025 * java/security/UnrecoverableKeyException.java: Likewise.
12026 * java/security/UnresolvedPermission.java: Likewise.
12027 * java/security/acl/AclNotFoundException.java: Likewise.
12028 * java/security/acl/LastOwnerException.java: Likewise.
12029 * java/security/acl/NotOwnerException.java: Likewise.
12030 * java/security/cert/CRLException.java: Likewise.
12031 * java/security/cert/CertificateEncodingException.java: Likewise.
12032 * java/security/cert/CertificateException.java: Likewise.
12033 * java/security/cert/CertificateExpiredException.java: Likewise.
12034 * java/security/cert/CertificateFactory.java: Likewise.
12035 * java/security/cert/CertificateNotYetValidException.java: Likewise.
12036 * java/security/cert/CertificateParsingException.java: Likewise.
12037 * java/security/spec/InvalidKeySpecException.java: Likewise.
12038 * java/security/spec/InvalidParameterSpecException.java: Likewise.
12040 * java/security/cert/CertPath.java: New file.
12041 * java/security/cert/CertPathBuilderException.java: New file.
12042 * java/security/cert/CertPathValidatorException.java: New file.
12043 * java/security/cert/CertStoreException.java: New file.
12045 * Makefile.am: Add new CertPath classes.
12046 * Makefile.in: Rebuilt.
12048 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
12050 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12052 Merge JDK 1.4 exception chaining support from classpath.
12054 * java/lang/Throwable.java: Merge 1.4 support from classpath.
12055 (stackTraceBytes): Rename from stackTrace.
12056 * java/lang/Exception.java: Merge from classpath.
12057 * java/lang/StackTraceElement: New file from classpath.
12058 * gcj/javaprims.h: Rebuild CNI namespace declarations.
12059 * Makefile.am: Add StackTraceElement.
12060 * Makefile.in: Rebuilt.
12062 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12064 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
12066 * Makefile.in: Rebuilt.
12068 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12070 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
12071 * configure.in: Likewise.
12072 * aclocal.m4: Regenerate.
12073 * configure: Regenerate.
12075 2002-05-13 Tom Tromey <tromey@redhat.com>
12077 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
12078 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
12079 Include platform.h.
12081 Fixes PR libgcj/6389:
12082 * Makefile.in: Rebuilt.
12083 * Makefile.am (nat_source_files): Added natTimeZone.cc.
12084 * java/util/natTimeZone.cc: New file.
12085 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
12086 * java/lang/System.java: Merged with Classpath.
12087 * java/lang/Runtime.java: Merged with Classpath.
12088 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
12090 (setIn0): Renamed from setIn; don't run security check.
12091 (setOut0): Renamed from setOut; don't run security check.
12092 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
12093 init_properties): Moved to natRuntime.cc.
12094 Moved many includes to natRuntime.cc.
12095 (isWordsBigEndian): New method.
12096 * java/lang/natRuntime.cc: Include Long.h, also other includes
12097 previously in natSystem.cc.
12098 (maxMemory): New function.
12099 (exitInternal): Renamed from `_exit'.
12101 (init): Don't set finalize_on_exit.
12102 (exitInternal): Use `finalizeOnExit'.
12103 (file_encoding, getpwuid_adaptor): New functions from
12105 (insertSystemProperties): New method, renamed from
12106 System::init_properties. Don't set user.timezone.
12107 (_load): Don't call checkLink.
12108 (execInternal): New method.
12109 (availableProcessors): Likewise.
12110 (nativeGetLibname): Likewise.
12112 2002-05-11 Mark Wielaard <mark@klomp.org>
12114 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
12116 (previous_internal): Likewise.
12118 2002-05-09 Tom Tromey <tromey@redhat.com>
12120 * jni.cc (_Jv_JNIFunctions): Fixed typo.
12122 * java/util/ResourceBundle.java: New version from Classpath.
12123 * java/util/Locale.java: Likewise.
12125 2002-05-09 Jakub Jelinek <jakub@redhat.com>
12127 * testsuite/lib/libjava.exp (libjava_arguments): Append all
12128 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
12131 2002-05-08 Mark Mitchell <mark@codesourcery.com>
12133 * libjava/Makefile.am (all_java_source_files): New variable.
12134 (all_java_class_files): Likewise.
12135 .java.class: New rule.
12136 (CLEANFILES): Remove tmp-list.
12137 * libjava/Makefile.in: Regenerated.
12139 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
12141 * testsuite/lib/libjava.exp (test_libjava_from_javac):
12142 Append .exe to executable names. Fix for cygwin.
12144 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
12146 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
12147 script entry, and set LD to it when configuring multilibs.
12148 * configure: Rebuilt.
12150 2002-05-07 Tom Tromey <tromey@redhat.com>
12152 * java/lang/natString.cc (unintern): Fixed typo.
12154 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
12156 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
12157 with -no-install on *-*-cygwin*.
12159 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
12161 * testsuite/lib/libjava.exp (test_libjava_from_source):
12162 Add comment explaining last patch
12164 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
12166 * testsuite/lib/libjava.exp (test_libjava_from_source):
12167 Append .exe to executable names. If no suffix is present,
12168 then ".exe" is added by default on win32. Harmless
12169 elsewhere so always do it.
12171 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
12172 Tom Tromey <tromey@redhat.com>
12174 * java/lang/natSystem.cc (getSystemTimeZone): Use
12175 HAVE_UNDERSCORE_TIMEZONE.
12176 * include/config.h.in: Rebuilt.
12177 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
12178 * aclocal.m4, configure: Rebuilt.
12179 * acinclude.m4: Run AC_EXEEXT.
12180 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
12181 Add test for `_timezone'.
12183 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
12185 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12186 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
12187 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
12188 * Makefile.in: Rebuilt.
12190 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
12192 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
12193 use sigaction instead of __libc_sigaction.
12195 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12197 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
12198 (libjava_init): Use it to find libgcj.spec.
12199 (libjava_arguments): Likewise.
12201 2002-05-02 David S. Miller <davem@redhat.com>
12204 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
12205 __libc_sigaction on Sparc.
12207 2002-05-02 Jerome Marc <marcjero@yahoo.com>
12209 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
12210 sys/filio.h, if present.
12212 2002-04-30 Tom Tromey <tromey@redhat.com>
12214 * java/io/BufferedReader.java (fill): Handle case where markPos
12215 point to ignored \n. Fixes PR libgcj/6301.
12217 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
12219 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
12221 2002-04-29 Adam King <aking@dreammechanics.com>
12223 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
12224 of file in APPEND mode.
12226 2002-04-25 David S. Miller <davem@redhat.com>
12229 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
12230 program counter to next program counter minus 8. Update
12231 comments in this macro to explain why.
12233 2002-04-26 Tom Tromey <tromey@redhat.com>
12235 * verify.cc (construct_primitive_array_type) [void_type]: New
12237 (branch_prepass): Added dummy entries for unused instruction
12239 (verify_instructions_0): Likewise.
12240 * interpret.cc (continue1): Comment fix.
12241 * include/java-insns.h (op_xxxunusedxxx1): Removed.
12242 * Makefile.in: Rebuilt.
12243 * Makefile.am: Added -Wswitch-enum.
12245 2002-04-24 Tom Tromey <tromey@redhat.com>
12247 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
12248 correct length of UTF-8 encoded name. Strip leading `/'.
12249 (_Jv_RegisterResource): Use _Jv_Malloc.
12251 2002-04-23 Adam Megacz <adam@xwt.org>
12253 * win32.cc, include/win32.cc (backtrace): Added this function
12254 because Win32 does not supply it.
12256 2002-04-21 David S. Miller <davem@redhat.com>
12258 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
12259 magic instruction reading sequence.
12261 2002-04-21 Mark Wielaard <mark@klomp.org>
12263 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
12265 2002-04-19 David S. Miller <davem@redhat.com>
12267 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
12269 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
12270 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
12272 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
12274 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
12275 * sysdeps/sparc/locks.h: New file.
12276 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
12277 on all sparc Solaris configurations. Set to
12278 include/dwarf2-signal.h on sparc Linux.
12279 * configure: Regenerate
12280 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
12282 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
12284 * configure: Rebuilt.
12285 * configure.in (backtrace): Function doesn't work on IA-64.
12287 2002-04-17 Adam King <aking@dreammechanics.com>
12289 * java/io/File.java (normalizePath): Add Win32 support for auto
12290 conversion of a '/' path separator to Win32's '\' separator.
12292 2002-04-16 Tom Tromey <tromey@redhat.com>
12294 Fix for PR libgcj/6081:
12295 * Makefile.in: Rebuilt.
12296 * Makefile.am (install-data-local): Use GNU make trick to avoid
12299 2002-04-16 Adam King <aking@dreammechanics.com>
12300 Tom Tromey <tromey@redhat.com>
12302 * java/io/natFileWin32.cc (performList): Return the correct array
12303 type. Don't duplicate the creation of a File since it's already
12304 done earlier in the method and the existing code would cause a
12305 ArrayStoreException. Don't use fixed-size array.
12306 (_access, _stat, attr, getCanonicalPath, performMkdir,
12307 performRenameTo): Don't use fixed-size array.
12308 (getCanonicalPath): Use throw, not _Jv_Throw.
12310 2002-04-15 DJ Delorie <dj@redhat.com>
12312 * configure.in: Allow building in $srcdir.
12313 * configure: Regenerated.
12315 2002-04-14 Mark Wielaard <mark@klomp.org>
12317 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
12318 * java/net/natSocketImpl.cc (close): Likewise.
12320 2002-04-14 Mark Wielaard <mark@klomp.org>
12322 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
12324 2002-04-13 Adam King <aking@dreammechanics.com>
12326 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
12327 the f/F/d/D modifiers.
12329 2002-04-12 Anthony Green <green@redhat.com>
12331 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
12332 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
12333 * Makefile.in: Rebuilt.
12334 * configure.in: Substitute gcc_version.
12335 * configure: Rebuilt.
12337 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12339 * configure.host: Set can_unwind_signal on hosts which support it.
12340 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
12341 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
12342 exceptions and can_unwind_signal isn't set.
12343 * configure: Rebuilt.
12345 2002-04-11 Tom Tromey <tromey@redhat.com>
12347 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
12349 2002-04-11 Adam King <aking@dreammechanics.com>
12350 Tom Tromey <tromey@redhat.com>
12352 * include/jvm.h (_Jv_ThrowBadArrayIndex,
12353 _Jv_ThrowNullPointerException): Mark as noreturn.
12354 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
12355 and _Jv_free. Correctly invoke GetTempPath(). Indentation
12358 2002-04-10 Tom Tromey <tromey@redhat.com>
12360 * Makefile.in: Rebuilt.
12361 * Makefile.am (java/lang/Thread.h): Mark
12362 _Jv_AttachCurrentThreadAsDaemon as friend.
12363 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
12364 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
12365 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
12367 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
12368 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
12369 (_Jv_JNI_InvokeFunctions): Added
12370 _Jv_JNI_AttachCurrentThreadAsDaemon.
12371 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
12372 (JNI_GetDefaultJavaVMInitArgs): Likewise.
12373 (JNI_CreateJavaVM): Likewise.
12374 (_Jv_JNI_AttachCurrentThread): Likewise.
12375 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
12376 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
12377 (_Jv_JNIFunctions): Initialize new fields.
12378 (_Jv_JNI_NewDirectByteBuffer): New function.
12379 (_Jv_JNI_GetDirectBufferAddress): Likewise.
12380 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
12381 * include/jni.h (JNI_VERSION_1_4): New macro.
12382 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
12383 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
12384 (JNINativeInterface::NewDirectByteBuffer): New field.
12385 (JNINativeInterface::GetDirectBufferAddress): New field.
12386 (JNINativeInterface::GetDirectBufferCapacity): New field.
12387 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
12388 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
12389 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
12391 2002-04-09 Tom Tromey <tromey@redhat.com>
12393 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
12395 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
12397 Fix for PR libgcj/6187:
12398 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
12401 2002-04-07 Mark Wielaard <mark@klomp.org>
12403 * java/util/AbstractMap.java (putAll): Use entrySet size.
12404 (toString): Explicitly use getKey() and getValue().
12406 2002-04-07 Mark Wielaard <mark@klomp.org>
12408 * java/util/Hashtable.java (contains): Remove NullPointer check.
12409 (containsValue): Add NullPointer check.
12410 (remove): Always throw NullPointerException when key
12413 2002-04-07 Adam King <aking@dreammechanics.com>
12415 * java/lang/natSystem.cc (init_properties): Call new function
12416 _Jv_platform_initProperties.
12417 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
12418 support for the System properties os.name, os.arch, os.version,
12419 user.name, user.home, and user.dir.
12420 * include/posix.h, include/win32.h, posix.cc: New function
12421 _Jv_platform_initProperties.
12423 2002-04-06 Mark Wielaard <mark@klomp.org>
12425 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
12427 2002-04-06 Mark Wielaard <mark@klomp.org>
12429 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
12430 all of the remaining elements.
12431 * java/util/Vector.java (addAll(int,Collection)): Likewise.
12432 (removeRange): If toIndex == fromIndex do
12433 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12434 (removeAll): Always throw NullPointerException when collection is
12436 (retrainAll): Likewise.
12438 2002-04-05 Mark Wielaard <mark@klomp.org>
12440 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
12441 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12443 2002-04-05 Adam Megacz <adam@xwt.org>
12445 * exception.cc (abort): added static modifier
12447 2002-04-04 Adam Megacz <adam@xwt.org>
12449 * include/win32.h (_Jv_platform_close_on_exec): added inline
12452 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
12454 * configure.host: Add case statement to support generic port
12455 properties. Add *-*-freebsd* section.
12457 2002-04-04 Mark Wielaard <mark@klomp.org>
12459 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
12461 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
12462 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
12463 that depend on awt code and BufferedByteOutputStream.interrupt.
12465 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12467 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
12468 incorrect "hi" value when count > 40.
12470 2002-04-03 Mark Wielaard <mark@klomp.org>
12472 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
12475 2002-04-02 Tom Tromey <tromey@redhat.com>
12477 * java/lang/natClassLoader.cc (findClass): Compare against `3',
12480 2002-04-02 Mark Wielaard <mark@klomp.org>
12482 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
12483 list of testsuite crashers.
12485 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12487 * java/util/IdentityHashMap.java (put): Set new threshold correctly
12488 when resizing table.
12490 2002-04-01 Mark Wielaard <mark@klomp.org>
12492 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
12493 NegativeArraySizeException
12494 (clear(int)): Use sign extended shift.
12495 (flip(int)): Likewise.
12496 (get(int)): Likewise.
12497 (nextClearBit(int)): Likewise.
12498 (nextSetBit(int)): Likewise.
12499 (set(int)): Likewise.
12501 2002-04-01 Mark Wielaard <mark@klomp.org>
12503 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
12504 that can be compiled now and add testsuite crashers to ignore list.
12506 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
12508 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
12510 * libgcj.spec.in: Override libgcc, not lib.
12511 * libgcj-test.spec.in: Likewise.
12513 2002-03-29 Tom Tromey <tromey@redhat.com>
12515 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
12516 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
12518 2002-03-27 Jeff Sturm <jsturm@one-point.com>
12520 * java/net/PlainDatagramSocketImpl.java
12521 (close): Use native implementation.
12522 (finalize): New method.
12524 * java/net/PlainSocketImpl.java (finalize): New method.
12526 * java/net/natPlainDatagramSocketImpl.cc
12527 (java/io/FileDescriptor.h): Don't include.
12528 (close): Implement method here.
12529 (create): Don't assign fd.
12531 * java/net/natPlainSocketImpl.cc
12532 (java/io/FileDescriptor.h): Don't include.
12533 (create): Don't assign fd.
12534 (accept): Likewise.
12535 (close): Synchronize.
12537 2002-03-27 Richard Henderson <rth@redhat.com>
12539 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
12541 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
12543 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
12544 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
12545 instead of syscall on IA-64.
12548 2002-03-27 Anthony Green <green@redhat.com>
12550 * libgcj.spec.in: Add CHECKREFSPEC.
12551 * configure.in: Ditto.
12552 * configure.host: Ditto. Check references for xscale-elf.
12553 * configure: Rebuilt.
12555 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
12557 * include/dwarf2-signal.h: Temporarily back out last change.
12559 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
12561 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
12563 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
12565 * configure.in, configure: enable dwarf2-exception-style
12566 exception handling on IA-64.
12567 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
12568 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
12571 2002-03-25 Tom Tromey <tromey@redhat.com>
12573 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
12574 (jv_convert_LDFLAGS): Likewise.
12575 (gij_LDFLAGS): Likewise.
12576 (rmic_LDFLAGS): Likewise.
12577 (rmiregistry_LDFLAGS): Likewise.
12578 * configure.in (THREADLDFLAGS): New subst; set correctly for
12581 2002-03-25 Tom Tromey <tromey@redhat.com>
12583 For PR libgcj/5303:
12584 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
12586 (help): New method.
12587 (version): Likewise.
12588 * gnu/gcj/convert/Convert.java (version): Removed extraneous
12590 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
12593 2002-03-25 Tom Tromey <tromey@redhat.com>
12595 * java/awt/Component.java (processEvent): Check ComponentEvent
12598 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12600 * java/io/PushbackReader.java: Reformat.
12602 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
12603 calculate correct number of bytes skipped.
12605 Based on patch from Intel's ORP team:
12606 * java/io/PushbackInputStream.java (available): Calculate correct
12607 number of bytes in buffer.
12608 (read): Remove redundant bound check. Return bytes from both the
12609 buffer and the stream.
12611 2002-03-24 Tom Tromey <tromey@redhat.com>
12613 * java/awt/TextComponent.java (TextComponent): Editable by
12616 * java/awt/MenuItem.java (eventMask): No longer private.
12617 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
12618 superclass if we didn't handle event.
12619 * java/awt/Checkbox.java (dispatchEventImpl): New method.
12620 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
12621 * java/awt/Choice.java (dispatchEventImpl): New method.
12622 * java/awt/List.java (dispatchEventImpl): New method.
12623 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
12624 * java/awt/TextComponent.java (dispatchEventImpl): New method.
12625 * java/awt/TextField.java (dispatchEventImpl): New method.
12627 2002-03-24 Eric Blake <ebb9@email.byu.edu>
12629 * java/beans/IntrospectionException.java: Update to 1.4.
12630 * java/beans/PropertyVetoException.java: Ditto.
12632 2002-03-24 Eric Blake <ebb9@email.byu.edu>
12634 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
12635 Arrays.equals instead of ArrayHelper.equalsArray.
12637 2002-03-24 C. Brian Jones <cbj@gnu.org>
12639 * java/beans/Introspector.java: added new static final fields
12640 introduced in 1.2, lots of other updates remain to be done
12642 2002-03-24 C. Brian Jones <cbj@gnu.org>
12644 * java/beans/Introspector.java: reformatting
12646 2002-03-24 C. Brian Jones <cbj@gnu.org>
12648 * java/beans/Introspector.java: default beanInfoSearchPath will
12649 not include sun.beans.infos given we provide no such package and
12650 the API doesn't really require it; gnu.java.beans.info is the
12653 2002-03-24 Mark Wielaard <mark@klomp.org>
12655 Thanks to Orp developers
12656 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
12657 switch TRUE and FALSE return values.
12659 2002-03-23 Tom Tromey <tromey@redhat.com>
12661 * include/name-finder.h (_Jv_name_finder::myclose): New method.
12662 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
12664 2002-03-23 Michael Smith <msmith@spinnakernet.com>
12666 * java/util/GregorianCalendar.java (minimums, maximums): Correct
12667 MONTH entry. Fixes PR libgcj/6045.
12669 2002-03-23 Jeff Sturm <jsturm@one-point.com>
12671 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
12673 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12675 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
12677 * sysdep/powerpc/locks.h (write_barrier): New function.
12678 * sysdep/i386/locks.h (write_barrier): New function.
12680 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
12682 * include/jni.h Use correct C comments.
12684 2002-03-18 Tom Tromey <tromey@redhat.com>
12686 * include/jni.h (JNIIMPORT): New macro.
12687 (JNIEXPORT): Likewise.
12688 (JNICALL): Likewise.
12690 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12692 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
12695 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
12697 * include/i386-signal.h (old_i386_kernel_sigaction): New.
12698 INIT_SEGV: Use old_i386_kernel_sigaction.
12701 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12703 * java/lang/natSystem.cc (init_properties): Update VM version
12705 * configure.in: Set GCJVERSION.
12706 * acconfig.h: Add GCJVERSION.
12707 * configure: Rebuilt.
12708 * include/config.h.in: Rebuilt.
12710 2002-03-17 Anthony Green <green@redhat.com>
12712 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
12714 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12716 Build a single libgcj.so, without separate gc and zlib libraries.
12717 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
12718 SYS_ZLIBS if system zlib is used.
12719 * configure: Rebuilt.
12720 * Makefile.am: Use boehm-gc and zlib convenience libraries.
12721 * Makefile.in: Rebuilt.
12722 * libtool-version: Increment .so version number.
12724 * Makefile.am: Escape quotes in echo.
12725 * Makefile.in: Rebuilt.
12727 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12729 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
12730 * Makefile.in: Rebuilt.
12732 2002-03-15 Anthony Green <green@redhat.com>
12734 * configure.host (FILE): New macro for specifing File
12736 * configure: Rebuilt.
12737 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
12739 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
12741 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
12742 already implicitly brought in from libgcj.la.
12743 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
12744 * Makefile.in: Rebuilt.
12746 2002-03-15 Eric Blake <ebb9@email.byu.edu>
12748 * THANKS: Fix punctuation, alphabetization.
12750 2002-03-15 Tom Tromey <tromey@redhat.com>
12751 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12753 Fix for PR libgcj/5944.
12754 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
12756 2002-03-15 Anthony Green <green@redhat.com>
12758 * configure.in (tool_include_dir): Define.
12759 * configure: Rebuilt.
12760 * gcj/Makefile.am: Install libgcj-config.h relative to
12762 * gcj/Makefile: Rebuilt.
12763 * gcj/libgcj-config.h: Add warning comment.
12765 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
12767 * configure.host (powerpc*-darwin*): Enable interpreter.
12769 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12771 * include/posix.h: Add multiple include header protection.
12772 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
12774 2002-03-10 Adam Megacz <adam@xwt.org>
12776 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
12778 2002-03-10 Tom Tromey <tromey@redhat.com>
12780 * java/awt/GridLayout.java (layoutContainer): Handle case where
12781 there are no items in container.
12783 * java/lang/Win32Process.java: Added comment.
12784 * include/posix.h (_Jv_platform_close_on_exec): New function.
12786 * include/win32.h (_Jv_platform_close_on_exec): New function.
12787 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
12789 (accept): Likewise.
12790 * java/net/natPlainDatagramSocketImpl.cc (create): Set
12791 close-on-exec flag.
12792 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
12795 2002-03-09 Tom Tromey <tromey@redhat.com>
12797 * verify.cc (state::NO_STACK): New constant.
12798 (state::is_unmerged_ret_state): Handle case where stacktop is
12800 (state::merge): Handle NO_STACK merges.
12801 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
12802 for instruction following jsr.
12803 (stacktop, stackdepth): Removed unused variables.
12804 (pop_jump): Ignore case where all remaining states are skipped.
12806 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12808 * java/awt/ImageMediaEntry: Removed.
12809 * java/awt/MediaEntry: Removed.
12811 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12813 Hashtable synchronization for PowerPC.
12814 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
12815 slow_pthread_self. Set up symlink for sysdeps directory.
12816 * configure: Rebuild.
12817 * configure.host: Document more shell variables. Set sysdeps_dir
12818 for most platforms. Set slow_pthread_self for i686. Set
12819 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
12820 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
12821 that memory barrier is emitted where required.
12822 * prims.cc: 64-bit align static primitive class instances.
12823 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
12824 read_barrier() to enforce ordering of reads.
12825 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
12826 primitives for PowerPC.
12827 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
12828 moved from natObject.cc.
12829 * sysdep/alpha/locks.h: Likewise.
12830 * sysdep/ia64/locks.h: Likewise.
12831 * sysdep/generic/locks.h: Likewise.
12832 * java/lang/natObject.cc: Move thread synchronization primitives to
12833 system-dependent headers.
12835 2002-03-09 Adam Megacz <adam@xwt.org>
12837 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
12838 bytes read and no failure code returned.
12840 2002-03-09 Adam Megacz <adam@xwt.org>
12842 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
12843 definitions to simulate -mthreads.
12845 2002-03-09 Adam Megacz <adam@xwt.org>
12847 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
12848 avoid precision loss.
12850 2002-03-09 Per Bothner <per@bothner.com>
12852 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
12853 * gnu/gcj/xlib/XImage.java: Likewise.
12854 * gnu/gcj/xlib/XColor.java: Likewise.
12856 2002-03-09 Adam Megacz <adam@xwt.org>
12858 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
12859 IOException so that Throwable.printStackTrace fails correctly.
12861 2002-03-08 Adam Megacz <adam@xwt.org>
12863 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
12866 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12868 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
12871 2002-03-08 Tom Tromey <tromey@redhat.com>
12873 * include/jni.h: Include stdio.h.
12875 2002-03-08 Tom Tromey <tromey@redhat.com>
12877 * posix.cc (internal_gettimeofday): New function.
12878 (_Jv_select): Use it.
12880 2002-03-07 Adam Megacz <adam@xwt.org>
12882 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
12883 WIN32, and added thunks for read(), write(), and close().
12884 * java/net/natPlainSocketImpl.cc (accept, read, read):
12885 Disabled timeouts on WIN32 pending discussion.
12887 2002-03-07 Adam Megacz <adam@xwt.org>
12889 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
12890 returns jlong. Added implementation
12891 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
12893 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
12895 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
12897 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
12898 _Jv_platform_gettimeofday signature.
12900 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12902 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
12903 (read): Call recv() directly, not _Jv_recv().
12905 2002-03-06 Tom Tromey <tromey@redhat.com>
12907 * java/io/natFileDescriptorEcos.cc (init): Don't use
12909 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
12911 (init): Don't use GetStdHandle.
12913 * include/config.h.in: Rebuilt.
12914 * configure: Rebuilt.
12915 * Makefile.in: Rebuilt.
12917 2002-03-06 Adam Megacz <adam@xwt.org>
12919 * java/io/FileDescriptor.java: Initialize in/out/err in init().
12920 * java/io/natFileDescriptorWin32.cc (init()): Added function.
12921 * java/io/natFileDescriptorPosix.cc (init()): Added function.
12922 * java/io/natFileDescriptorEcos.cc (init()): Added function.
12924 2002-03-06 Eric Blake <ebb9@email.byu.edu>
12926 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
12927 the code for generating include/java-chartables.h.
12928 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
12929 merge with Classpath.
12930 * scripts/unicode-muncher.pl: Copy from Classpath.
12931 * scritps/MakeCharTables.java: New file.
12932 * gnu/gcj/convert/Blocks-3.txt: New file.
12933 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
12934 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
12935 * gnu/java/lang/CharData.java: Copy from Classpath.
12936 * Makefile.am (ordinary_java_source_files): Add
12937 gnu/java/lang/CharData.java.
12938 * configure.in: Remove --enable-fast-character option.
12939 * java/lang/Character.java: Merge algorithms and Javadoc with
12941 * java/lang/natCharacter.cc: Implement Unicode lookup table more
12943 * include/java-chardecomp.h: Regenerate.
12944 * include/java-chartables.h: Regenerate.
12946 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12948 * java/awt/MediaTracker.java: Implemented.
12949 * Makefile.am: Add MediaTracker.
12950 * Makefile.in: Rebuilt.
12952 2002-03-05 Tom Tromey <tromey@redhat.com>
12954 * java/lang/natPosixProcess.cc (fail): Removed.
12955 (startProcess): Simplified error-handling. Preserve
12956 LD_LIBRARY_PATH across exec.
12958 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
12959 AbstractMethodError.
12961 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12963 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
12964 * Makefile.in: Rebuilt.
12966 2002-03-03 Mark Wielaard <mark@klomp.org>
12968 * java/util/Timer (TaskQueue.stop): set elements to zero.
12970 2002-02-28 Anthony Green <green@redhat.com>
12972 * java/lang/reflect/natMethod.cc (result): Add void* element.
12973 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
12976 2002-02-27 Adam Megacz <adam@xwt.org>
12978 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
12981 2002-02-26 Tom Tromey <tromey@redhat.com>
12983 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
12984 * gij.cc (version): Use __VERSION__.
12985 * include/config.h.in: Rebuilt.
12986 * acconfig.h (GCJVERSION): Removed.
12987 * configure: Rebuilt.
12988 * configure.in (GCJVERSION): Removed.
12990 2002-02-26 Andreas Schwab <schwab@suse.de>
12992 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
12993 glibcpp_CXX, since libjava uses even another CXX.
12994 * aclocal.m4, configure: Regenerated.
12996 2002-02-26 Tom Tromey <tromey@redhat.com>
12998 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
13001 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13003 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
13004 dependency tracking for .java files.
13005 * Makefile.in: Rebuilt.
13007 2002-02-24 Adam Megacz <adam@xwt.org>
13009 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
13012 2002-02-24 Adam Megacz <adam@xwt.org>
13014 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
13015 for Win32, changed #ifdefs to check WIN32 instead of the
13016 (now-obsolete) USE_WINSOCK, and removed support for socket
13017 timeouts on Win32 pending further discussion.
13019 2002-02-24 Adam Megacz <adam@xwt.org>
13021 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
13022 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
13025 2002-02-24 Adam Megacz <adam@xwt.org>
13027 * java/lang/Win32Process.java: Created a dummy class to allow
13028 build process to run to completion.
13030 2002-02-24 Jeff Sturm <jsturm@one-point.com>
13032 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
13033 Define ffi_result union for ffi_call result. Cast
13034 ffi_result members to jvalue.
13036 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
13038 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
13039 * testsuite/Makefile.in: Likewise.
13041 2002-02-20 Per Bothner <per@bothner.com>
13043 * java/net/URL.java (getPath): New JDK 1.3 method.
13045 * java/net/URLStreamHandler.java (parseURL):
13046 It is wrong to prepend '/' to the file part of a relative url.
13048 * java/net/URLStreamHandler.java (parseURL):
13049 Minor optizations - append '/' rather than "/".
13051 * java/net/URLStreamHandler.java (parseURL):
13052 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
13053 We probably should canonicalize for a context-relative url, though.
13054 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
13055 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
13056 (sameFile): New method. Uses canonicalizeFilename.
13058 2002-02-22 Tom Tromey <tromey@redhat.com>
13060 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
13061 java.vendor and java.vm.vendor.
13062 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
13063 recent copyright date.
13064 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
13065 * gij.cc (version): Print `Inc'.
13067 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
13069 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
13070 * aclocal.m4, configure: Rebuilt.
13072 2002-02-20 Per Bothner <per@bothner.com>
13074 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
13075 and/or output streams immediately here, instead of using File.exists.
13076 (inputStream, outputStream): New fields to save open streams.
13077 (getInputStream, getOutputStream): Use already-opened streams.
13079 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
13081 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
13083 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
13084 * aclocal.m4, configure, Makefile.in: Rebuilt.
13086 2002-02-19 Tom Tromey <tromey@redhat.com>
13088 Fix for PR libgcj/5696:
13089 * verify.cc (is_assignable_from_slow): Never call
13090 _Jv_IsAssignableFrom.
13091 (verify_instructions_0): Added new debug statement.
13092 (state::print): Print information about whether local has
13094 (state::merge): Don't call note_variable when merging locals.
13095 (state::set_exception): Removed old FIXME comment.
13097 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13099 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
13100 enable SO_BROADCAST.
13102 2002-02-18 Jason Merrill <jason@redhat.com>
13104 * name-finder.cc (toHex): Use word mode, not long long.
13106 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
13108 2002-02-15 Tom Tromey <tromey@redhat.com>
13110 Fix for PR libgcj/5695:
13111 * verify.cc (is_assignable_from_slow): Check to see if target is
13112 an Object before checking to see if source is an interface.
13113 (verify_instructions_0) [op_invokeinterface]: Handle case where
13114 we're making an interface call on Object.
13116 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13118 * Makefile.in: Rebuilt with Eric's change below.
13120 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
13121 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
13122 Removed functions which are now implemented in Math.java.
13124 2002-02-14 Eric Blake <ebb9@email.byu.edu>
13126 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
13127 * Makefile.am (core_java_source_files): Add
13128 java/lang/StrictMath.java.
13129 * java/lang/Math.java: Merge with Classpath.
13130 * java/lang/StrictMath.java: New file - merge with Classpath.
13132 2002-02-14 Mark Wielaard <mark@klomp.org>
13134 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
13135 package as a workaround for gcj 3.0.x
13137 2002-02-14 Mark Wielaard <mark@klomp.org>
13139 * java/security/BasicPermission.java: extends with fully qualified
13140 classname as workaround for gcj 3.0.4.
13142 2002-02-14 Eric Blake <ebb9@email.byu.edu>
13144 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
13145 around gcj bug of wrong emitted qualifier for inherited method.
13146 * java/net/SocketImpl.java (setOption, getOption): Ditto.
13147 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
13148 constructor to reduce amount of emitted bytecode. While this
13149 happens to work around a jikes 1.15 bug, it is still a useful
13150 patch even for correct compilers.
13151 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
13152 * gnu/java/rmi/server/UnicastRemoteCall.java
13153 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
13155 2002-02-14 Eric Blake <ebb9@email.byu.edu>
13157 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
13158 * java/net/SocketImpl.java: Ditto.
13159 * java/rmi/server/RMIClassLoader.java: Ditto.
13160 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
13162 2002-02-14 Mark Wielaard <mark@klomp.org>
13164 Thanks to Takashi Okamoto
13165 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
13166 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
13167 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
13169 2002-02-13 Todd Stock <toddastock@yahoo.com>
13171 Fix for PR libgcj/5670:
13172 * verify.cc (is_assignable_from_slow): If `source' is interface,
13173 recursively look for merge with `target'.
13175 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
13177 * include/jni.h: Fix typo.
13179 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
13181 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
13184 2002-02-13 Todd Stock <toddastock@yahoo.com>
13186 Fix for PR libgcj/5671:
13187 * verify.cc (state::merge): Handle case where we're merging
13188 against an interface.
13190 2002-02-12 Tom Tromey <tromey@redhat.com>
13192 * exception.cc (std::abort): Mark as noreturn.
13194 2002-02-12 Adam Megacz <adam@xwt.org>
13196 * java/lang/Win32Process.java: Filled in a placeholder
13197 implementation so Win32 will build.
13199 2002-02-12 Adam Megacz <adam@xwt.org>
13201 * java/io/natFilePosix.cc: Copied this from natFile.cc.
13202 * java/io/natFile.cc: Removed from repository.
13203 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
13205 2002-02-12 Adam Megacz <adam@xwt.org>
13207 * win32.cc: Added two #includes to make win32.cc compile.
13209 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13211 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
13213 (_Jv_InitGC): Don't bother locking, as this is always called from a
13214 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
13216 2002-02-11 Adam Megacz <adam@xwt.org>
13218 * include/win32.h: Added _Jv_platform_gettimeofday.
13219 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
13221 2002-02-11 Adam Megacz <adam@xwt.org>
13223 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
13224 Added #undef STRICT to make windows.h and
13225 java/lang/reflect/Modifier.h cooperate.
13227 2002-02-11 Adam Megacz <adam@xwt.org>
13229 * java/io/natFileWin32.cc: Created a placeholder class with lots
13232 2002-02-11 Adam Megacz <adam@xwt.org>
13234 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
13235 std::abort() to simply abort(). Also added "fake" std::abort() so
13236 we can #include unwind-pe.h without having to link against
13239 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
13241 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
13243 2002-02-08 Tom Tromey <tromey@redhat.com>
13245 * interpret.cc (convert): New function.
13246 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
13250 2002-02-08 Anthony Green <green@redhat.com>
13252 * configure.host: Add support for xscale-elf embedded target.
13254 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
13256 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
13258 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
13261 2002-02-07 Tom Tromey <tromey@redhat.com>
13263 * java/io/natFile.cc (_access): Use __builtin_alloca.
13266 (getCanonicalPath): Likewise.
13267 (performList): Likewise.
13268 (performMkdir): Likewise.
13269 (performSetReadOnly): Likewise.
13270 (performRenameTo): Likewise.
13271 (performSetLastModified): Likewise.
13272 (performCreate): Likewise.
13273 (performDelete): Likewise.
13275 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13277 * HACKING: Fix URL for the automake-gcj.
13279 2002-02-07 Tom Tromey <tromey@redhat.com>
13281 * java/lang/natThrowable.cc: Updated copyright.
13282 * java/io/natFileWin32.cc: Updated copyright.
13283 * java/io/natFileDescriptorWin32.cc: Updated copyright.
13284 * win32-threads.cc: Updated copyright.
13285 * name-finder.cc: Updated copyright.
13286 * include/name-finder.h: Updated copyright.
13288 * include/name-finder.h: Conditionally include sys/wait.h.
13289 * include/config.h.in: Rebuilt.
13291 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
13292 Size buffer based on real size of string.
13295 (getCanonicalPath): Likewise.
13296 (performList): Likewise.
13297 (performMkdir): Likewise.
13298 (performSetReadOnly): Likewise.
13299 (unixroot): Removed.
13300 (performRenameTo): Likewise.
13301 (performSetLastModified): Likewise.
13302 (performCreate): Likewise.
13303 (performDelete): Likewise.
13304 (performListRoots): Always return new array.
13306 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
13307 * win32.cc (win32_exception_handler): Now static.
13308 * include/win32.h (_Jv_platform_initialize): Declare.
13309 (win32_exception_handler): Don't declare.
13310 * java/lang/natSystem.cc (currentTimeMillis): Use
13311 _Jv_platform_gettimeofday.
13312 * posix.cc (_Jv_platform_gettimeofday): Renamed.
13313 (_Jv_select): Use new name.
13314 (_Jv_platform_initialize): New function.
13315 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
13317 (_Jv_platform_initialize): Declare.
13319 * configure: Rebuilt.
13320 * configure.in: Removed unnecessary parens.
13322 2002-02-06 Adam Megacz <adam@xwt.org>
13324 * configure.in: Changed mingw) to *mingw*).
13325 * win32.cc: Created this file.
13326 * win32.h: Created this file.
13327 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
13328 win32_exception_handler from prims.cc to win32.cc, added
13330 * prims.cc: removed some #ifdef-WIN32'd headers which are no
13331 longer needed now that we have platform.h
13333 2002-02-06 Adam Megacz <adam@xwt.org>
13335 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
13336 use uint<n>_t instead of LONG and BYTE
13338 2002-02-06 Adam Megacz <adam@xwt.org>
13340 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
13342 2002-02-06 Anthony Green <green@redhat.com>
13344 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
13345 Implement missing method stubs.
13346 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
13348 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
13349 concept of timezones.
13350 (init_properties): Don't refer to _Jv_Environment_Properties
13351 when this feature is not available.
13352 * include/config.h.in: Rebuilt.
13353 * acconfig.h: Add DISABLE_MAIN_ARGS.
13354 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
13355 * configure: Rebuilt.
13356 * configure.in: Add --disable-main-args option. Test for
13357 opendir function. Replace AC_CHECK_SIZEOF with
13358 AC_COMPILE_CHECK_SIZEOF.
13359 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
13360 * aclocal.m4: Rebuilt.
13361 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
13363 2002-02-06 Tom Tromey <tromey@redhat.com>
13365 * verify.cc (require_array_type): If argument is a null array of
13366 references, return null as the element type.
13368 2002-02-06 Mark Wielaard <mark@klomp.org>
13370 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
13371 duplicate of a wide type.
13373 2002-02-06 Tom Tromey <tromey@redhat.com>
13375 * verify.cc (type::isnull): New method.
13376 (require_array_type): Handle case where array is null.
13377 (verify_instructions_0) [op_arraylength]: Likewise.
13379 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13381 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
13382 Symlink PLATFORMH to platform.h.
13383 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
13385 * java/lang/natSystem.cc: #include platform.h not posix.h.
13386 * Makefile.in: Rebuilt with libgcj automake.
13387 * configure: Rebuilt.
13389 2002-02-05 Richard Henderson <rth@redhat.com>
13391 * Makefile.in: Undo munging last change.
13393 2002-02-04 Adam Megacz <adam@xwt.org>
13395 * win32.cc: Created it.
13396 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
13397 which is set to posix.cc or win32.cc.
13398 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
13400 2002-02-04 Adam Megacz <adam@xwt.org>
13402 * configure.in: Corrected mingw case branches; added * before
13405 2002-02-04 Adam Megacz <adam@xwt.org>
13407 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
13408 if compiling for win32
13410 2002-02-04 Adam Megacz <adam@xwt.org>
13412 * win32-threads.cc: #undef STRICT after gc.h inclusion
13414 2002-02-02 Tom Tromey <tromey@redhat.com>
13416 * Makefile.in: Rebuilt.
13418 2002-02-02 Jason Merrill <jason@redhat.com>
13420 * Makefile.am (clean-nat): New target.
13422 2002-02-02 Tom Tromey <tromey@redhat.com>
13424 * java/io/natFile.cc: Removed old "FIXME" comments.
13426 2002-02-01 Tom Tromey <tromey@redhat.com>
13428 * java/lang/natPosixProcess.cc (myclose): New function.
13430 (startProcess): Likewise.
13432 2002-02-01 Adam Megacz <adam@xwt.org>
13434 * prims.cc: Added #undef STRICT after #include<windows.h>.
13436 2002-02-01 Adam Megacz <adam@xwt.org>
13439 (_Jv_CreateJavaVM): We now use WIN32 instead of
13440 USE_WIN32_SIGNALLING and USE_WINSOCK.
13441 (win32_exception_handler): Now throws an exception out of
13442 the signal handler; assumes SJLJ.
13444 2002-02-01 Adam Megacz <adam@xwt.org>
13446 * win32-threads.cc:
13447 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
13448 wait() algorithm to make it safe.
13449 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
13450 Added lazy creation of Win32 Events for better performance
13451 (really_start): This now uses GC_CreateThread so boehm-gc
13452 knows about new threads even when statically linked.
13454 2002-02-01 Adam Megacz <adam@xwt.org>
13456 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
13457 enable safer wait() algorithm.
13458 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
13459 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
13460 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
13461 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
13463 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
13465 2002-02-01 Adam Megacz <adam@xwt.org>
13467 * configure.in: Added support for mingw.
13468 * java/lang/Win32Process.java: Created as empty file.
13469 * java/lang/natWin32Process.cc: Created as empty file.
13471 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
13474 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
13475 for libiconv in LIBICONV variable.
13476 * configure: Regenerated.
13478 2002-01-31 Tom Tromey <tromey@redhat.com>
13480 * verify.cc (state::enter_subroutine): New method.
13481 (handle_jsr_insn): Use it.
13482 (state::merge): When processing a `ret', correctly use
13483 subroutine's state to determine which local variables have
13485 (push_exception_jump): Don't let stack overflow.
13487 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
13489 * gnu/gcj/convert/Convert.java: Only include one copyright year in
13492 2002-01-30 Tom Tromey <tromey@redhat.com>
13494 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
13495 parameter for `recv' return type.
13497 * verify.cc (handle_ret_insn): Check for subroutine merge here...
13498 (state::merge): ... not here.
13499 (subr_entry_info): New structure.
13500 (entry_points): New field.
13501 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
13504 2002-01-29 Tom Tromey <tromey@redhat.com>
13506 * java/awt/List.java (addNotify): Correctly check to see if peer
13509 * java/awt/GridLayout.java (layoutContainer): Use number of rows
13510 to compute height of each cell, and number of columns to compute
13511 width of each cell.
13512 * java/awt/Window.java (getOwnedWindows): Don't return null.
13513 * java/awt/FlowLayout.java (layoutContainer): Set width and height
13514 of component. Increment x using horizontal gap, not vertical
13517 2002-01-28 Tom Tromey <tromey@redhat.com>
13519 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
13520 `nargs' byte is number of words, not number of arguments.
13522 2002-01-27 Tom Tromey <tromey@redhat.com>
13524 * java/awt/event/MouseEvent.java (modifiers): Removed field.
13526 * java/awt/event/InputEvent.java (modifiers, when): Now
13529 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
13531 (state::merge): Use current class' class loader.
13532 (state::print): Print subroutine.
13533 (state::merge): Don't look at subroutine of unmerged `ret'.
13535 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
13537 * nogc.cc: Remove warnings.
13538 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
13541 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13543 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
13544 int, int): Remove empty "if" statement to work around compiler bug.
13545 (newPixels(int[], ColorModel, int, int): Likewise.
13547 2002-01-25 Per Bothner <per@bothner.com>
13549 * verify.cc (verify_fail): Change from being a top-level function
13550 to e method of _Jv_BytecodeVerifier. Emit current method name.
13551 Pass the current verifier to type: and state: methods as needed,
13552 for better error messages, and for resolve.
13553 (resolve): Pass current class's loader for Class.forName and
13554 _Jv_FindClassFromSignature, rather than using the default loader.
13555 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
13556 (get_type_val_for_signature): Make non-static.
13557 (various methods): Pass start_PC implicitly, not explicitly.
13559 2002-01-25 Tom Tromey <tromey@redhat.com>
13561 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
13562 loop termination condition.
13563 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
13566 2002-01-24 Tom Tromey <tromey@redhat.com>
13568 * java/awt/Shape.java: Merged with Classpath.
13569 * java/awt/Scrollbar.java: Merged with Classpath.
13571 * java/awt/Container.java (addNotify): Unconditionally call
13572 addNotifyContainerChildren and superclass addNotify.
13574 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
13575 getAlpha, not getBlue.
13577 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13579 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
13581 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
13582 (grabPixels(long)): Wait to be notified that the ImageProducer has
13585 2002-01-24 Per Bothner <per@bothner.com>
13587 * verify.cc (is_assignable_from_slow): If target is an interface,
13588 we must still check the source's superclass before giving up.
13590 2002-01-24 Tom Tromey <tromey@redhat.com>
13592 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
13594 2002-01-23 Tom Tromey <tromey@redhat.com>
13596 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
13599 * Makefile.in: Rebuilt.
13600 * Makefile.am (awt_java_source_files): Added new files.
13601 * java/awt/Toolkit.java: Merged with Classpath.
13602 * java/awt/PrintGraphics.java: New file from Classpath.
13603 * java/awt/PrintJob.java: New file from Classpath.
13604 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
13605 * java/awt/datatransfer/ClipboardOwner.java: New file from
13607 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
13608 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
13609 * java/awt/datatransfer/MimeTypeParseException.java: New file from
13611 * java/awt/datatransfer/StringSelection.java: New file from
13613 * java/awt/datatransfer/SystemFlavorMap.java: New file from
13615 * java/awt/datatransfer/Transferable.java: New file from
13617 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
13620 * Makefile.in: Rebuilt.
13621 * Makefile.am (awt_java_source_files): Added new files.
13622 * java/awt/image/AreaAveragingScaleFilter.java: New file from
13624 * java/awt/image/CropImageFilter.java: New file from Classpath.
13625 * java/awt/image/FilteredImageSource.java: New file from
13627 * java/awt/image/ImageFilter.java: New file from Classpath.
13628 * java/awt/image/MemoryImageSource.java: New file from Classpath.
13629 * java/awt/image/PixelGrabber.java: New file from Classpath.
13630 * java/awt/image/RGBImageFilter.java: New file from Classpath.
13631 * java/awt/image/ReplicateScaleFilter.java: New file from
13633 * java/awt/image/ImageProducer.java: Replaced with Classpath
13635 * java/awt/image/ImageObserver.java: Replaced with Classpath
13637 * java/awt/image/ImageConsumer.java: Replaced with Classpath
13639 * java/awt/GridBagConstraints.java (clone): Catch
13640 CloneNotSupportedException.
13642 2002-01-23 Per Bothner <per@bothner.com>
13644 * java/lang/reflect/natField.cc (setAddr): New function.
13645 Calls getAddr and then checks that the field isn't final.
13646 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
13647 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
13648 (set): Call setAddr before check that new value has right type,
13649 to better match specified semantics.
13651 2002-01-22 Tom Tromey <tromey@redhat.com>
13653 * java/awt/TextField.java: Replaced with Classpath version.
13654 * java/awt/TextArea.java: Replaced with Classpath version.
13655 * java/awt/TextComponent.java: Replaced with Classpath version.
13657 * java/awt/GridBagConstraints.java: Updated copyright.
13659 2002-01-22 Mark Wielaard <mark@klomp.org>
13661 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
13662 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
13663 java/awt/Dialog.java java/awt/FileDialog.java
13664 java/awt/Font.java java/awt/FontMetrics.java
13665 java/awt/Image.java java/awt/ImageMediaEntry.java
13666 java/awt/Insets.java java/awt/List.java
13667 java/awt/MediaEntry.java java/awt/MediaTracker.java
13668 java/awt/Menu.java java/awt/MenuBar.java
13669 java/awt/MenuContainer.java java/awt/MenuShortcut.java
13670 java/awt/PaintContext.java java/awt/Panel.java
13671 java/awt/PopupMenu.java java/awt/SystemColor.java
13672 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
13673 java/awt/peer/CheckboxMenuItemPeer.java
13674 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
13675 java/awt/peer/ComponentPeer.java
13676 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
13677 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
13678 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
13679 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
13680 java/awt/peer/MenuBarPeer.java
13681 java/awt/peer/MenuComponentPeer.java
13682 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
13683 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
13684 java/awt/peer/ScrollPanePeer.java
13685 java/awt/peer/ScrollbarPeer.java
13686 java/awt/peer/TextAreaPeer.java
13687 java/awt/peer/TextComponentPeer.java
13688 java/awt/peer/TextFieldPeer.java
13689 java/awt/peer/WindowPeer.java: Add license clarification.
13691 2002-01-22 Mark Wielaard <mark@klomp.org>
13693 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
13694 gnu/gcj/runtime/StringBuffer.java
13695 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
13696 gnu/java/awt/ComponentDataBlitOp.java
13697 gnu/java/awt/GLightweightPeer.java
13698 gnu/java/beans/BeanInfoEmbryo.java
13699 gnu/java/beans/EmptyBeanInfo.java
13700 gnu/java/beans/ExplicitBeanInfo.java
13701 gnu/java/beans/IntrospectionIncubator.java
13702 gnu/java/beans/editors/ColorEditor.java
13703 gnu/java/beans/editors/FontEditor.java
13704 gnu/java/beans/editors/NativeBooleanEditor.java
13705 gnu/java/beans/editors/NativeByteEditor.java
13706 gnu/java/beans/editors/NativeDoubleEditor.java
13707 gnu/java/beans/editors/NativeFloatEditor.java
13708 gnu/java/beans/editors/NativeIntEditor.java
13709 gnu/java/beans/editors/NativeLongEditor.java
13710 gnu/java/beans/editors/NativeShortEditor.java
13711 gnu/java/beans/editors/StringEditor.java
13712 gnu/java/beans/info/ComponentBeanInfo.java
13713 gnu/java/io/ClassLoaderObjectInputStream.java
13714 gnu/java/io/NullOutputStream.java
13715 gnu/java/io/ObjectIdentityWrapper.java
13716 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
13717 gnu/java/lang/reflect/TypeSignature.java
13718 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
13719 gnu/java/locale/Calendar_en.java
13720 gnu/java/locale/Calendar_nl.java
13721 gnu/java/locale/LocaleInformation.java
13722 gnu/java/locale/LocaleInformation_de.java
13723 gnu/java/locale/LocaleInformation_en.java
13724 gnu/java/locale/LocaleInformation_nl.java
13725 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
13726 gnu/java/rmi/registry/RegistryImpl.java
13727 gnu/java/rmi/rmic/Compile_gcj.java
13728 gnu/java/rmi/rmic/Compiler.java
13729 gnu/java/rmi/rmic/CompilerProcess.java
13730 gnu/java/rmi/rmic/RMIC.java
13731 gnu/java/rmi/rmic/TabbedWriter.java
13732 gnu/java/rmi/server/ProtocolConstants.java
13733 gnu/java/rmi/server/RMIDefaultSocketFactory.java
13734 gnu/java/rmi/server/RMIHashes.java
13735 gnu/java/rmi/server/RMIObjectInputStream.java
13736 gnu/java/rmi/server/RMIObjectOutputStream.java
13737 gnu/java/rmi/server/UnicastConnection.java
13738 gnu/java/rmi/server/UnicastConnectionManager.java
13739 gnu/java/rmi/server/UnicastRef.java
13740 gnu/java/rmi/server/UnicastRemoteCall.java
13741 gnu/java/rmi/server/UnicastRemoteStub.java
13742 gnu/java/rmi/server/UnicastServer.java
13743 gnu/java/rmi/server/UnicastServerRef.java
13744 gnu/java/security/provider/DefaultPolicy.java
13745 gnu/java/security/provider/Gnu.java
13746 gnu/java/security/provider/SHA.java
13747 gnu/java/security/provider/SHA1PRNG.java
13748 gnu/java/text/BaseBreakIterator.java
13749 gnu/java/text/CharacterBreakIterator.java
13750 gnu/java/text/LineBreakIterator.java
13751 gnu/java/text/SentenceBreakIterator.java
13752 gnu/java/text/WordBreakIterator.java
13753 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
13754 java/applet/AppletContext.java java/applet/AppletStub.java
13755 java/applet/AudioClip.java java/awt/AWTError.java
13756 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
13757 java/awt/AWTException.java java/awt/AWTPermission.java
13758 java/awt/ActiveEvent.java java/awt/BorderLayout.java
13759 java/awt/Button.java java/awt/Canvas.java
13760 java/awt/CardLayout.java java/awt/Checkbox.java
13761 java/awt/CheckboxGroup.java java/awt/Component.java
13762 java/awt/ComponentOrientation.java java/awt/Container.java
13763 java/awt/Dimension.java java/awt/Event.java
13764 java/awt/EventDispatchThread.java java/awt/EventQueue.java
13765 java/awt/FlowLayout.java java/awt/Frame.java
13766 java/awt/Graphics.java java/awt/Graphics2D.java
13767 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
13768 java/awt/IllegalComponentStateException.java
13769 java/awt/ItemSelectable.java java/awt/Label.java
13770 java/awt/LayoutManager.java java/awt/LayoutManager2.java
13771 java/awt/MenuComponent.java java/awt/MenuItem.java
13772 java/awt/Paint.java java/awt/Point.java
13773 java/awt/Rectangle.java java/awt/RenderingHints.java
13774 java/awt/Transparency.java java/awt/Window.java
13775 java/awt/color/ColorSpace.java
13776 java/awt/color/ICC_ColorSpace.java
13777 java/awt/color/ICC_Profile.java
13778 java/awt/event/HierarchyBoundsAdapter.java
13779 java/awt/event/HierarchyBoundsListener.java
13780 java/awt/event/HierarchyEvent.java
13781 java/awt/event/HierarchyListener.java
13782 java/awt/geom/AffineTransform.java
13783 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
13784 java/awt/geom/IllegalPathStateException.java
13785 java/awt/geom/Line2D.java
13786 java/awt/geom/NoninvertibleTransformException.java
13787 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
13788 java/awt/geom/Rectangle2D.java
13789 java/awt/geom/RectangularShape.java
13790 java/awt/geom/RoundRectangle2D.java
13791 java/awt/image/BufferedImage.java
13792 java/awt/image/ColorModel.java
13793 java/awt/image/ComponentColorModel.java
13794 java/awt/image/ComponentSampleModel.java
13795 java/awt/image/DataBuffer.java
13796 java/awt/image/DataBufferByte.java
13797 java/awt/image/DataBufferInt.java
13798 java/awt/image/DataBufferUShort.java
13799 java/awt/image/DirectColorModel.java
13800 java/awt/image/PackedColorModel.java
13801 java/awt/image/Raster.java java/awt/image/RasterOp.java
13802 java/awt/image/SampleModel.java
13803 java/awt/image/SinglePixelPackedSampleModel.java
13804 java/awt/image/WritableRaster.java
13805 java/beans/AppletInitializer.java
13806 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
13807 java/beans/Beans.java java/beans/Customizer.java
13808 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
13809 java/beans/FeatureDescriptor.java
13810 java/beans/IndexedPropertyDescriptor.java
13811 java/beans/IntrospectionException.java
13812 java/beans/Introspector.java java/beans/MethodDescriptor.java
13813 java/beans/ParameterDescriptor.java
13814 java/beans/PropertyChangeEvent.java
13815 java/beans/PropertyChangeListener.java
13816 java/beans/PropertyChangeSupport.java
13817 java/beans/PropertyDescriptor.java
13818 java/beans/PropertyEditor.java
13819 java/beans/PropertyEditorManager.java
13820 java/beans/PropertyEditorSupport.java
13821 java/beans/PropertyVetoException.java
13822 java/beans/SimpleBeanInfo.java
13823 java/beans/VetoableChangeListener.java
13824 java/beans/VetoableChangeSupport.java
13825 java/beans/Visibility.java
13826 java/beans/beancontext/BeanContext.java
13827 java/beans/beancontext/BeanContextChild.java
13828 java/beans/beancontext/BeanContextChildComponentProxy.java
13829 java/beans/beancontext/BeanContextChildSupport.java
13830 java/beans/beancontext/BeanContextContainerProxy.java
13831 java/beans/beancontext/BeanContextEvent.java
13832 java/beans/beancontext/BeanContextMembershipEvent.java
13833 java/beans/beancontext/BeanContextMembershipListener.java
13834 java/beans/beancontext/BeanContextProxy.java
13835 java/beans/beancontext/BeanContextServiceAvailableEvent.java
13836 java/beans/beancontext/BeanContextServiceProvider.java
13837 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
13838 java/beans/beancontext/BeanContextServiceRevokedEvent.java
13839 java/beans/beancontext/BeanContextServiceRevokedListener.java
13840 java/beans/beancontext/BeanContextServices.java
13841 java/beans/beancontext/BeanContextServicesListener.java
13842 java/io/BufferedInputStream.java
13843 java/io/BufferedOutputStream.java java/io/BufferedReader.java
13844 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
13845 java/io/ByteArrayOutputStream.java
13846 java/io/CharArrayReader.java java/io/CharArrayWriter.java
13847 java/io/CharConversionException.java java/io/DataInput.java
13848 java/io/DataInputStream.java java/io/DataOutput.java
13849 java/io/EOFException.java java/io/Externalizable.java
13850 java/io/FileFilter.java java/io/FileNotFoundException.java
13851 java/io/FilePermission.java java/io/FileReader.java
13852 java/io/FileWriter.java java/io/FilenameFilter.java
13853 java/io/FilterInputStream.java java/io/FilterOutputStream.java
13854 java/io/FilterReader.java java/io/FilterWriter.java
13855 java/io/IOException.java java/io/InputStream.java
13856 java/io/InterruptedIOException.java
13857 java/io/InvalidClassException.java
13858 java/io/InvalidObjectException.java
13859 java/io/NotActiveException.java
13860 java/io/NotSerializableException.java java/io/ObjectInput.java
13861 java/io/ObjectInputStream.java
13862 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
13863 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
13864 java/io/ObjectStreamConstants.java
13865 java/io/ObjectStreamException.java
13866 java/io/ObjectStreamField.java
13867 java/io/OptionalDataException.java java/io/OutputStream.java
13868 java/io/PipedInputStream.java java/io/PipedOutputStream.java
13869 java/io/PipedReader.java java/io/PipedWriter.java
13870 java/io/PrintWriter.java java/io/PushbackInputStream.java
13871 java/io/PushbackReader.java java/io/Reader.java
13872 java/io/SequenceInputStream.java java/io/Serializable.java
13873 java/io/SerializablePermission.java
13874 java/io/StreamCorruptedException.java
13875 java/io/StreamTokenizer.java
13876 java/io/StringBufferInputStream.java java/io/StringReader.java
13877 java/io/StringWriter.java java/io/SyncFailedException.java
13878 java/io/UTFDataFormatException.java
13879 java/io/UnsupportedEncodingException.java
13880 java/io/WriteAbortedException.java java/io/Writer.java
13881 java/lang/AbstractMethodError.java
13882 java/lang/ArithmeticException.java
13883 java/lang/ArrayIndexOutOfBoundsException.java
13884 java/lang/ArrayStoreException.java java/lang/Boolean.java
13885 java/lang/Byte.java java/lang/CharSequence.java
13886 java/lang/ClassCastException.java
13887 java/lang/ClassCircularityError.java
13888 java/lang/ClassFormatError.java
13889 java/lang/ClassNotFoundException.java
13890 java/lang/CloneNotSupportedException.java
13891 java/lang/Cloneable.java java/lang/Comparable.java
13892 java/lang/Compiler.java java/lang/Double.java
13893 java/lang/Error.java java/lang/Exception.java
13894 java/lang/ExceptionInInitializerError.java
13895 java/lang/Float.java java/lang/IllegalAccessError.java
13896 java/lang/IllegalAccessException.java
13897 java/lang/IllegalArgumentException.java
13898 java/lang/IllegalMonitorStateException.java
13899 java/lang/IllegalStateException.java
13900 java/lang/IllegalThreadStateException.java
13901 java/lang/IncompatibleClassChangeError.java
13902 java/lang/IndexOutOfBoundsException.java
13903 java/lang/InheritableThreadLocal.java
13904 java/lang/InstantiationError.java
13905 java/lang/InstantiationException.java java/lang/Integer.java
13906 java/lang/InternalError.java
13907 java/lang/InterruptedException.java
13908 java/lang/LinkageError.java java/lang/Long.java
13909 java/lang/NegativeArraySizeException.java
13910 java/lang/NoClassDefFoundError.java
13911 java/lang/NoSuchFieldError.java
13912 java/lang/NoSuchFieldException.java
13913 java/lang/NoSuchMethodError.java
13914 java/lang/NoSuchMethodException.java
13915 java/lang/NullPointerException.java java/lang/Number.java
13916 java/lang/NumberFormatException.java
13917 java/lang/OutOfMemoryError.java java/lang/Package.java
13918 java/lang/Process.java java/lang/Runnable.java
13919 java/lang/RuntimeException.java
13920 java/lang/RuntimePermission.java
13921 java/lang/SecurityException.java
13922 java/lang/SecurityManager.java java/lang/Short.java
13923 java/lang/StackOverflowError.java java/lang/StringBuffer.java
13924 java/lang/StringIndexOutOfBoundsException.java
13925 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
13926 java/lang/ThreadLocal.java java/lang/UnknownError.java
13927 java/lang/UnsatisfiedLinkError.java
13928 java/lang/UnsupportedClassVersionError.java
13929 java/lang/UnsupportedOperationException.java
13930 java/lang/VerifyError.java java/lang/VirtualMachineError.java
13931 java/lang/Void.java java/lang/ref/PhantomReference.java
13932 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
13933 java/lang/ref/SoftReference.java
13934 java/lang/ref/WeakReference.java
13935 java/lang/reflect/AccessibleObject.java
13936 java/lang/reflect/InvocationTargetException.java
13937 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
13938 java/lang/reflect/ReflectPermission.java
13939 java/math/BigDecimal.java java/math/BigInteger.java
13940 java/net/Authenticator.java java/net/BindException.java
13941 java/net/ConnectException.java java/net/ContentHandler.java
13942 java/net/ContentHandlerFactory.java
13943 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
13944 java/net/FileNameMap.java java/net/MalformedURLException.java
13945 java/net/MulticastSocket.java java/net/NetPermission.java
13946 java/net/NoRouteToHostException.java
13947 java/net/PasswordAuthentication.java
13948 java/net/ProtocolException.java java/net/ServerSocket.java
13949 java/net/Socket.java java/net/SocketException.java
13950 java/net/SocketImpl.java java/net/SocketImplFactory.java
13951 java/net/SocketOptions.java java/net/SocketPermission.java
13952 java/net/URLDecoder.java java/net/URLEncoder.java
13953 java/net/URLStreamHandlerFactory.java
13954 java/net/UnknownHostException.java
13955 java/net/UnknownServiceException.java
13956 java/rmi/AccessException.java
13957 java/rmi/AlreadyBoundException.java
13958 java/rmi/ConnectException.java
13959 java/rmi/ConnectIOException.java
13960 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
13961 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
13962 java/rmi/NotBoundException.java
13963 java/rmi/RMISecurityException.java
13964 java/rmi/RMISecurityManager.java java/rmi/Remote.java
13965 java/rmi/RemoteException.java java/rmi/ServerError.java
13966 java/rmi/ServerException.java
13967 java/rmi/ServerRuntimeException.java
13968 java/rmi/StubNotFoundException.java
13969 java/rmi/UnexpectedException.java
13970 java/rmi/UnknownHostException.java
13971 java/rmi/UnmarshalException.java
13972 java/rmi/activation/Activatable.java
13973 java/rmi/activation/ActivateFailedException.java
13974 java/rmi/activation/ActivationDesc.java
13975 java/rmi/activation/ActivationException.java
13976 java/rmi/activation/ActivationGroup.java
13977 java/rmi/activation/ActivationGroupDesc.java
13978 java/rmi/activation/ActivationGroupID.java
13979 java/rmi/activation/ActivationID.java
13980 java/rmi/activation/ActivationInstantiator.java
13981 java/rmi/activation/ActivationMonitor.java
13982 java/rmi/activation/ActivationSystem.java
13983 java/rmi/activation/Activator.java
13984 java/rmi/activation/UnknownGroupException.java
13985 java/rmi/activation/UnknownObjectException.java
13986 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
13987 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
13988 java/rmi/registry/Registry.java
13989 java/rmi/registry/RegistryHandler.java
13990 java/rmi/server/ExportException.java
13991 java/rmi/server/LoaderHandler.java
13992 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
13993 java/rmi/server/Operation.java
13994 java/rmi/server/RMIClassLoader.java
13995 java/rmi/server/RMIClientSocketFactory.java
13996 java/rmi/server/RMIFailureHandler.java
13997 java/rmi/server/RMIServerSocketFactory.java
13998 java/rmi/server/RMISocketFactory.java
13999 java/rmi/server/RemoteCall.java
14000 java/rmi/server/RemoteObject.java
14001 java/rmi/server/RemoteRef.java
14002 java/rmi/server/RemoteServer.java
14003 java/rmi/server/RemoteStub.java
14004 java/rmi/server/ServerCloneException.java
14005 java/rmi/server/ServerNotActiveException.java
14006 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
14007 java/rmi/server/SkeletonMismatchException.java
14008 java/rmi/server/SkeletonNotFoundException.java
14009 java/rmi/server/SocketSecurityException.java
14010 java/rmi/server/UID.java
14011 java/rmi/server/UnicastRemoteObject.java
14012 java/rmi/server/Unreferenced.java
14013 java/security/AccessControlContext.java
14014 java/security/AccessControlException.java
14015 java/security/AccessController.java
14016 java/security/AlgorithmParameterGenerator.java
14017 java/security/AlgorithmParameterGeneratorSpi.java
14018 java/security/AlgorithmParameters.java
14019 java/security/AlgorithmParametersSpi.java
14020 java/security/AllPermission.java
14021 java/security/BasicPermission.java
14022 java/security/Certificate.java java/security/CodeSource.java
14023 java/security/DigestException.java
14024 java/security/DigestInputStream.java
14025 java/security/DigestOutputStream.java
14026 java/security/DomainCombiner.java
14027 java/security/DummyKeyPairGenerator.java
14028 java/security/DummyMessageDigest.java
14029 java/security/DummySignature.java
14030 java/security/GeneralSecurityException.java
14031 java/security/Guard.java java/security/GuardedObject.java
14032 java/security/Identity.java java/security/IdentityScope.java
14033 java/security/InvalidAlgorithmParameterException.java
14034 java/security/InvalidKeyException.java
14035 java/security/InvalidParameterException.java
14036 java/security/Key.java java/security/KeyException.java
14037 java/security/KeyFactory.java java/security/KeyFactorySpi.java
14038 java/security/KeyManagementException.java
14039 java/security/KeyPair.java java/security/KeyPairGenerator.java
14040 java/security/KeyPairGeneratorSpi.java
14041 java/security/KeyStore.java
14042 java/security/KeyStoreException.java
14043 java/security/KeyStoreSpi.java
14044 java/security/MessageDigest.java
14045 java/security/MessageDigestSpi.java
14046 java/security/NoSuchAlgorithmException.java
14047 java/security/NoSuchProviderException.java
14048 java/security/Permission.java
14049 java/security/PermissionCollection.java
14050 java/security/Permissions.java java/security/Policy.java
14051 java/security/Principal.java java/security/PrivateKey.java
14052 java/security/PrivilegedAction.java
14053 java/security/PrivilegedActionException.java
14054 java/security/PrivilegedExceptionAction.java
14055 java/security/ProtectionDomain.java
14056 java/security/Provider.java
14057 java/security/ProviderException.java
14058 java/security/PublicKey.java
14059 java/security/SecureClassLoader.java
14060 java/security/SecureRandom.java
14061 java/security/SecureRandomSpi.java java/security/Security.java
14062 java/security/SecurityPermission.java
14063 java/security/Signature.java
14064 java/security/SignatureException.java
14065 java/security/SignatureSpi.java
14066 java/security/SignedObject.java java/security/Signer.java
14067 java/security/UnrecoverableKeyException.java
14068 java/security/UnresolvedPermission.java
14069 java/security/acl/Acl.java java/security/acl/AclEntry.java
14070 java/security/acl/AclNotFoundException.java
14071 java/security/acl/Group.java
14072 java/security/acl/LastOwnerException.java
14073 java/security/acl/NotOwnerException.java
14074 java/security/acl/Owner.java java/security/acl/Permission.java
14075 java/security/cert/CRL.java
14076 java/security/cert/CRLException.java
14077 java/security/cert/Certificate.java
14078 java/security/cert/CertificateEncodingException.java
14079 java/security/cert/CertificateException.java
14080 java/security/cert/CertificateExpiredException.java
14081 java/security/cert/CertificateFactory.java
14082 java/security/cert/CertificateFactorySpi.java
14083 java/security/cert/CertificateNotYetValidException.java
14084 java/security/cert/CertificateParsingException.java
14085 java/security/cert/X509CRL.java
14086 java/security/cert/X509CRLEntry.java
14087 java/security/cert/X509Certificate.java
14088 java/security/cert/X509Extension.java
14089 java/security/interfaces/DSAKey.java
14090 java/security/interfaces/DSAKeyPairGenerator.java
14091 java/security/interfaces/DSAParams.java
14092 java/security/interfaces/DSAPrivateKey.java
14093 java/security/interfaces/DSAPublicKey.java
14094 java/security/interfaces/RSAKey.java
14095 java/security/interfaces/RSAPrivateCrtKey.java
14096 java/security/interfaces/RSAPrivateKey.java
14097 java/security/interfaces/RSAPublicKey.java
14098 java/security/spec/AlgorithmParameterSpec.java
14099 java/security/spec/DSAParameterSpec.java
14100 java/security/spec/DSAPrivateKeySpec.java
14101 java/security/spec/DSAPublicKeySpec.java
14102 java/security/spec/EncodedKeySpec.java
14103 java/security/spec/InvalidKeySpecException.java
14104 java/security/spec/InvalidParameterSpecException.java
14105 java/security/spec/KeySpec.java
14106 java/security/spec/PKCS8EncodedKeySpec.java
14107 java/security/spec/RSAKeyGenParameterSpec.java
14108 java/security/spec/RSAPrivateCrtKeySpec.java
14109 java/security/spec/RSAPrivateKeySpec.java
14110 java/security/spec/RSAPublicKeySpec.java
14111 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
14112 java/sql/BatchUpdateException.java java/sql/Blob.java
14113 java/sql/CallableStatement.java java/sql/Clob.java
14114 java/sql/Connection.java java/sql/DataTruncation.java
14115 java/sql/DatabaseMetaData.java java/sql/Date.java
14116 java/sql/Driver.java java/sql/DriverManager.java
14117 java/sql/DriverPropertyInfo.java
14118 java/sql/PreparedStatement.java java/sql/Ref.java
14119 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
14120 java/sql/SQLData.java java/sql/SQLException.java
14121 java/sql/SQLInput.java java/sql/SQLOutput.java
14122 java/sql/SQLWarning.java java/sql/Statement.java
14123 java/sql/Struct.java java/sql/Time.java
14124 java/sql/Timestamp.java java/sql/Types.java
14125 java/text/Annotation.java
14126 java/text/AttributedCharacterIterator.java
14127 java/text/AttributedString.java
14128 java/text/AttributedStringIterator.java
14129 java/text/BreakIterator.java java/text/CharacterIterator.java
14130 java/text/ChoiceFormat.java java/text/Collator.java
14131 java/text/DateFormat.java java/text/DateFormatSymbols.java
14132 java/text/DecimalFormat.java
14133 java/text/DecimalFormatSymbols.java
14134 java/text/FieldPosition.java java/text/Format.java
14135 java/text/MessageFormat.java java/text/NumberFormat.java
14136 java/text/ParseException.java java/text/ParsePosition.java
14137 java/text/SimpleDateFormat.java
14138 java/text/StringCharacterIterator.java
14139 java/util/AbstractCollection.java java/util/AbstractList.java
14140 java/util/AbstractMap.java
14141 java/util/AbstractSequentialList.java
14142 java/util/AbstractSet.java java/util/ArrayList.java
14143 java/util/Arrays.java java/util/BasicMapEntry.java
14144 java/util/BitSet.java java/util/Calendar.java
14145 java/util/Collection.java java/util/Collections.java
14146 java/util/Comparator.java
14147 java/util/ConcurrentModificationException.java
14148 java/util/Date.java java/util/Dictionary.java
14149 java/util/EmptyStackException.java java/util/Enumeration.java
14150 java/util/EventListener.java java/util/EventObject.java
14151 java/util/GregorianCalendar.java java/util/HashMap.java
14152 java/util/HashSet.java java/util/Hashtable.java
14153 java/util/IdentityHashMap.java java/util/Iterator.java
14154 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
14155 java/util/LinkedList.java java/util/List.java
14156 java/util/ListIterator.java java/util/ListResourceBundle.java
14157 java/util/Locale.java java/util/Map.java
14158 java/util/MissingResourceException.java
14159 java/util/NoSuchElementException.java
14160 java/util/Observable.java java/util/Observer.java
14161 java/util/Properties.java java/util/PropertyPermission.java
14162 java/util/PropertyResourceBundle.java java/util/Random.java
14163 java/util/RandomAccess.java java/util/ResourceBundle.java
14164 java/util/Set.java java/util/SimpleTimeZone.java
14165 java/util/SortedMap.java java/util/SortedSet.java
14166 java/util/Stack.java java/util/StringTokenizer.java
14167 java/util/TimeZone.java java/util/Timer.java
14168 java/util/TimerTask.java
14169 java/util/TooManyListenersException.java
14170 java/util/TreeMap.java java/util/TreeSet.java
14171 java/util/Vector.java java/util/WeakHashMap.java
14172 java/util/jar/Attributes.java java/util/jar/JarEntry.java
14173 java/util/jar/JarException.java java/util/jar/JarFile.java
14174 java/util/jar/JarInputStream.java
14175 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
14176 java/util/zip/Adler32.java java/util/zip/CRC32.java
14177 java/util/zip/CheckedInputStream.java
14178 java/util/zip/CheckedOutputStream.java
14179 java/util/zip/Checksum.java
14180 java/util/zip/DataFormatException.java
14181 java/util/zip/Deflater.java
14182 java/util/zip/DeflaterOutputStream.java
14183 java/util/zip/GZIPInputStream.java
14184 java/util/zip/GZIPOutputStream.java
14185 java/util/zip/Inflater.java
14186 java/util/zip/InflaterInputStream.java
14187 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
14188 java/util/zip/ZipException.java java/util/zip/ZipFile.java
14189 java/util/zip/ZipInputStream.java
14190 java/util/zip/ZipOutputStream.java
14191 javax/naming/BinaryRefAddr.java
14192 javax/naming/InvalidNameException.java javax/naming/Name.java
14193 javax/naming/NamingException.java javax/naming/RefAddr.java
14194 javax/naming/StringRefAddr.java: Add license clarification.
14196 2002-01-22 Tom Tromey <tromey@redhat.com>
14198 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
14199 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
14200 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
14202 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
14203 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
14204 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
14205 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
14206 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
14207 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
14208 * java/awt/peer/FontPeer.java: Replace with Classpath version.
14209 * java/awt/peer/FramePeer.java: Replace with Classpath version.
14210 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
14211 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
14212 * java/awt/peer/ListPeer.java: Replace with Classpath version.
14213 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
14214 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
14215 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
14216 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
14217 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
14218 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
14219 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
14220 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
14221 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
14222 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
14223 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
14224 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
14225 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
14226 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
14227 (minimumSize, preferredSize, reshape): Likewise.
14228 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
14229 getColorModel): New methods.
14230 * java/awt/PopupMenu.java: Merged with Classpath.
14231 * java/awt/MenuBar.java: Merged with Classpath.
14232 * java/awt/SystemColor.java: Replace with Classpath version.
14233 * java/awt/Panel.java: Merged with Classpath.
14234 * java/awt/PaintContext.java: Updated copyright.
14235 * java/awt/MenuShortcut.java: Merged with Classpath.
14236 * java/awt/MenuContainer.java: Merged with Classpath.
14237 * java/awt/Menu.java: Merged with Classpath.
14238 * java/awt/MediaEntry.java: New file from Classpath.
14239 * java/awt/MediaTracker.java: New file from Classpath.
14240 * java/awt/List.java: Merged with Classpath version.
14241 * java/awt/Insets.java: Merged with Classpath version.
14242 * java/awt/ImageMediaEntry.java: New file from Classpath.
14243 * java/awt/Image.java: Replaced with Classpath version.
14244 * java/awt/FontMetrics.java: Merged with Classpath version.
14245 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
14247 * java/awt/Font.java: Merged with Classpath version.
14248 * java/awt/Dialog.java: Merged with Classpath version.
14249 * java/awt/Color.java: Merged with Classpath version.
14250 * java/awt/Choice.java: Merged with Classpath version.
14251 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
14252 * java/awt/Adjustable.java: Replace with Classpath version.
14253 * java/awt/MenuItem.java (paramString): Don't include class name
14254 or brackets. Call superclass paramString.
14255 * java/awt/MenuComponent.java (toString): Call paramString.
14256 (paramString): Compute string; don't call toString.
14257 * java/awt/Label.java (paramString): Don't include class name
14258 or brackets. Call superclass paramString.
14259 * java/awt/Checkbox.java (paramString): Don't include class name
14260 or brackets. Call superclass paramString.
14261 * java/awt/Button.java (paramString): Don't include class name or
14262 brackets. Call superclass paramString.
14263 * java/awt/MenuComponent.java (getTreeLock): Now protected.
14265 2002-01-20 Andreas Schwab <schwab@suse.de>
14267 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
14268 function and of parameter recv_func to ssize_t, as specified by
14271 2002-01-19 Per Bothner <per@bothner.com>
14273 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
14274 uncompressed_size in readiness for next entry.
14276 2002-01-18 Tom Tromey <tromey@redhat.com>
14278 * java/net/natPlainSocketImpl.cc: Include
14279 IllegalArgumentException.h.
14280 (_Jv_recv): New template function.
14281 (BooleanClass): Removed.
14282 (read): Use _Jv_recv.
14283 (setOption): Use Boolean::class$. Throw exception if object is
14284 not Boolean or Integer.
14286 2002-01-17 Tom Tromey <tromey@redhat.com>
14288 * java/awt/MenuComponent.java: Merged with Classpath.
14289 * java/awt/MenuItem.java: Merged with Classpath.
14290 * java/awt/Button.java: Merged with Classpath.
14292 * java/awt/ActiveEvent.java: Updated copyright.
14294 * java/awt/AWTError.java: Replaced with Classpath version.
14295 * java/awt/AWTException.java: Replaced with Classpath version.
14296 * java/awt/IllegalComponentStateException.java: Replaced with
14299 2002-01-16 Tom Tromey <tromey@redhat.com>
14301 * java/awt/Canvas.java (serialVersionUID): New constant.
14302 Updated copyright. Added javadoc from Classpath.
14303 * java/awt/ItemSelectable.java: Replaced with Classpath version.
14305 * java/awt/CheckboxGroup.java: Merged with Classpath.
14306 * java/awt/Checkbox.java: Merged with Classpath.
14308 * java/awt/Dimension.java: Updated copyright. Added javadoc from
14310 * java/awt/Point.java: Updated copyright.
14312 * java/awt/Point.java (toString): Use getClass().getName().
14315 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
14317 (hash): Correctly compute initial value for `h'.
14319 * java/awt/Label.java: Merged with Classpath.
14321 2002-01-15 Tom Tromey <tromey@redhat.com>
14323 * java/awt/AWTPermission.java: Updated copyright.
14325 * java/awt/LayoutManager2.java: Merged with Classpath.
14326 * java/awt/LayoutManager.java: Merged with Classpath.
14327 * java/awt/GridLayout.java: Updated copyright and javadoc.
14328 (getSize): Use `parent.ncomponents'. Handle insets.
14329 (layoutContainer): Use `parent.ncomponents'. Handle case where
14330 there are fewer children than columns. Correctly compute size of
14331 each cell in the grid. Handle case where there isn't enough
14333 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
14335 (gotoComponent): Use parent.ncomponents. Ensure child exists
14336 before calling setVisible() on it. Last item is `num - 1', not
14338 (layoutContainer): Hoist invariants out of loop.
14340 Start of AWT merge with Classpath:
14341 * Makefile.in: Rebuilt.
14342 * Makefile.am (awt_java_source_files): Reference files in
14343 gnu/java/awt, not gnu/gcj/awt.
14344 * java/awt/image/BufferedImage.java: Updated copyright.
14345 * java/awt/image/ComponentColorModel.java: Updated copyright.
14346 * java/awt/image/ComponentSampleModel.java: Updated copyright.
14347 * java/awt/image/DataBuffer.java: Updated copyright.
14348 * java/awt/image/DataBufferByte.java: Updated copyright.
14349 * java/awt/image/DataBufferInt.java: Updated copyright.
14350 * java/awt/image/DataBufferUShort.java: Updated copyright.
14351 * java/awt/image/IndexColorModel.java: Updated copyright.
14352 * java/awt/image/PackedColorModel.java: Updated copyright.
14353 * java/awt/image/Raster.java: Updated copyright.
14354 * java/awt/image/RasterOp.java: Updated copyright.
14355 * java/awt/image/SampleModel.java: Updated copyright.
14356 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
14357 * java/awt/image/WritableRaster.java: Updated copyright.
14358 * java/awt/color/ColorSpace.java: Updated copyright.
14359 * java/awt/color/ICC_ColorSpace.java: Updated copyright
14360 * java/awt/color/ICC_Profile.java: Updated copyright.
14361 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
14362 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
14363 * java/awt/event/HierarchyEvent.java: Updated copyright.
14364 * java/awt/event/HierarchyListener.java: Updated copyright.
14365 * java/awt/geom/AffineTransform.java: Updated copyright.
14366 * java/awt/geom/Dimension2D.java: Updated copyright.
14367 * java/awt/geom/Ellipse2D.java: Updated copyright.
14368 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
14369 * java/awt/geom/Line2D.java: Updated copyright.
14370 * java/awt/geom/NoninvertibleTransformException.java: Updated
14372 * java/awt/geom/PathIterator.java: Updated copyright.
14373 * java/awt/geom/Point2D.java: Updated copyright.
14374 * java/awt/geom/Rectangle2D.java: Updated copyright.
14375 * java/awt/geom/RectangularShape.java: Updated copyright.
14376 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
14377 * java/awt/Toolkit.java: Updated import for file moves.
14378 * java/awt/Rectangle.java: Updated copyright; added javadoc from
14380 (hashCode): New method from Classpath.
14381 * java/awt/Graphics2D.java: Updated copyright.
14382 * java/awt/Transparency.java: Updated copyright.
14383 * java/awt/Paint.java: Updated copyright.
14384 * java/awt/Graphics.java: New version from Classpath.
14385 * java/awt/EventDispatchThread.java: Updated copyright.
14386 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
14388 (gotoComponent): Wrap around on next/previous.
14389 * gnu/gcj/awt/BitMaskExtent.java: Removed.
14390 * gnu/gcj/awt/Buffers.java: Removed.
14391 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
14392 * gnu/gcj/awt/GLightweightPeer.java: Removed.
14393 * gnu/java/awt/BitMaskExtent.java: Added.
14394 * gnu/java/awt/Buffers.java: Added.
14395 * gnu/java/awt/ComponentDataBlitOp.java: Added.
14396 * gnu/java/awt/GLightweightPeer.java: Added.
14397 * java/awt/geom/Line2D.java (clone): Ignore
14398 CloneNotSupportedException.
14399 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
14400 * java/awt/Frame.java: Merged with Classpath.
14401 * java/awt/RenderingHints.java: Copyright update.
14402 * java/awt/Paint.java: Copyright update.
14403 * java/awt/image/DirectColorModel.java: Merged with Classpath.
14404 * java/awt/image/ColorModel.java: Merged with Classpath.
14405 * java/awt/Window.java (show): New Implementation from Classpath.
14406 (isShowing): Use super.isShowing().
14407 * java/awt/EventQueue.java: Merged with Classpath.
14408 * java/awt/AWTEventMulticaster.java (save): Throw
14410 (saveInternal): Likewise.
14411 * java/awt/AWTEvent.java: Now implements Serializable.
14412 * java/awt/Event.java: Copyright update.
14413 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
14414 * java/awt/image/BufferedImage.java: Copyright update.
14415 * java/awt/GraphicsConfiguration.java: Copyright update.
14416 * java/awt/Component.java: (addNotify): Don't call
14417 addNotifyContainerChildren().
14418 (addNotifyContainerChildren): Removed.
14419 (setPeer): New method from Classpath.
14420 (setTreeLock): Likewise.
14421 (setVisible): Rewrote.
14424 (validate): Set `valid'.
14425 (checkImage(Image,ImageObserver)): Implementation from Classpath.
14426 (createImage(ImageProducer)): Likewise.
14427 (prepareImage): Likewise.
14428 * java/awt/Container.java (addImpl): Handle case where constraint
14429 is not a String. Post event via system event queue.
14430 (remove): Post event via system event queue.
14431 (validateTree): Only validate child if it is invalid.
14432 (getAlignmentX): Call super method as default.
14433 (getAlignmentY): Likewise.
14434 (addContainerListener): Now synchronized.
14435 (removeContainerListener): Likewise.
14436 (addNotifyContainerChildren): Now private.
14437 * java/awt/ComponentOrientation.java: Updated copyright. Added
14439 * java/awt/FlowLayout.java (serialVersionUID): New field.
14440 (setAlignment): Better exception message.
14441 (layoutContainer): Don't compute component's preferred size unless
14442 we're going to use it.
14443 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
14444 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
14445 (firstLine, lastLine, firstItem, lastItem): New fields.
14446 (addLayoutComponent): Handle case where constraints is null.
14447 Also, handle relative locations.
14448 (removeLayoutComponent): Handle relative locations.
14449 (MIN, MAX, PREF): New constants.
14450 (calcCompSize): New method.
14451 (calcSize): New method.
14452 (minimumLayoutSize): Use it.
14453 (preferredLayoutSize): Likewise.
14454 (maximumLayoutSize): Likewise.
14455 (toString): Include more information.
14456 (setBounds): New method.
14457 (layoutContainer): Use libgcj implementation; extended to handle
14458 relative locations.
14460 2002-01-15 Tom Tromey <tromey@redhat.com>
14462 * java/lang/Float.java (equals): Preserve old code.
14463 * java/lang/Double.java (equals): Preserve old code.
14465 2002-01-15 Eric Blake <ebb9@email.byu.edu>
14467 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
14468 * java/lang/Float.java (equals, compare): Ditto.
14470 2002-01-13 Mark Wielaard <mark@klomp.org>
14472 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
14473 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
14474 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
14475 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
14477 2002-01-11 Mark Wielaard <mark@klomp.org>
14479 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
14480 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
14482 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
14483 * java/net/Socket.java: Merge with Classpath.
14484 * java/net/ServerSocket.java: Likewise.
14486 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
14488 * interpret.cc (NULLARRAYCHECK): New macro.
14489 (SAVE_PC): Just store `pc'.
14490 (find_exception): Subtract one from `pc' here.
14491 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
14492 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
14493 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
14494 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
14495 don't call SAVE_PC.
14496 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
14499 2002-01-11 Tom Tromey <tromey@redhat.com>
14501 * java/lang/natSystem.cc (init_properties): Only look for default
14502 locale if LC_MESSAGES is defined.
14503 * aclocal.m4, configure, include/config.h.in: Rebuilt.
14504 * configure.in: Call AM_LC_MESSAGES.
14505 * acinclude.m4 (AM_LC_MESSAGES): New macro.
14507 2002-01-10 Tom Tromey <tromey@redhat.com>
14509 For PR libgcj/5303:
14510 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
14511 --version. Recognize GNU-style long options. Print GNU-style
14513 (usage): Print GNU-style help. Exit with status 0.
14514 (error): New method.
14515 (run): Print error message if no class names found.
14516 (main): Don't print usage on error.
14518 2002-01-09 Tom Tromey <tromey@redhat.com>
14520 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
14522 (help, version): Use println(), not println("").
14524 For PR libgcj/5303:
14525 * gnu/gcj/convert/Convert.java (error): Program is called
14526 `jv-convert'. Print GNU-style message. Exit with status 1, not
14528 (main): Handle --help and --version.
14529 (help): New method.
14530 (version): Likewise.
14532 2002-01-08 Tom Tromey <tromey@redhat.com>
14534 * Makefile.in: Rebuilt.
14535 * Makefile.am (ordinary_java_source_files): Added new files.
14536 * gnu/java/locale/LocaleInformation.java: Extend
14537 LocaleInformation_en.
14538 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
14539 and time/date formats.
14540 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
14542 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
14543 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
14544 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
14545 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
14546 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
14547 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
14548 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
14549 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
14550 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
14551 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
14552 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
14553 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
14554 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
14555 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
14556 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
14557 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
14558 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
14559 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
14560 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
14561 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
14562 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
14563 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
14564 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
14565 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
14566 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
14567 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
14568 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
14569 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
14570 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
14571 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
14572 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
14573 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
14574 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
14575 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
14576 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
14577 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
14578 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
14579 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
14580 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
14581 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
14582 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
14583 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
14584 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
14585 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
14586 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
14587 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
14588 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
14589 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
14590 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
14591 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
14592 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
14593 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
14594 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
14595 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
14596 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
14597 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
14598 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
14599 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
14600 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
14601 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
14602 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
14603 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
14604 * gnu/java/locale/LocaleInformation_es_US.java: New file.
14605 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
14606 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
14607 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
14608 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
14609 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
14610 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
14611 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
14612 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
14613 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
14614 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
14615 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
14616 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
14617 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
14618 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
14619 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
14620 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
14621 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
14622 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
14623 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
14624 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
14625 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
14626 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
14627 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
14628 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
14629 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
14630 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
14631 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
14632 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
14633 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
14634 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
14635 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
14636 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
14637 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
14638 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
14639 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
14640 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
14641 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
14642 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
14643 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
14644 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
14645 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
14646 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
14647 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
14648 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
14649 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
14650 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
14651 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
14652 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
14653 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
14654 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
14655 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
14656 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
14657 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
14658 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
14659 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
14660 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
14661 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
14662 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
14663 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
14664 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
14665 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
14666 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
14667 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
14668 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
14669 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
14670 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
14671 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
14673 For PR libgcj/5031:
14674 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
14675 choose default locale.
14677 * Makefile.in: Rebuilt.
14678 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
14680 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
14682 * java/net/natPlainSocketImpl.cc: Added timeout handling for
14684 (close): New function closes the socket.
14685 (write): New functions for output to socket.
14686 (read): New functions for reading from socket.
14687 * java/net/PlainSocketImpl.java: Glue for new timeout
14689 (write): Call the native impl.
14691 (getInputStream): Get a stream to read from the socket.
14692 (getOutputStream): Get a stream to write to the socket.
14694 2002-01-08 Tom Tromey <tromey@redhat.com>
14696 * resolve.cc (_Jv_PrepareClass): Enable verifier.
14698 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
14700 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
14701 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
14703 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
14705 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
14706 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
14707 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
14708 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
14709 insn_bastore, insn_castore, insn_sastore]: Use it.
14710 (continue1) [insn_arraylength]: Check for null array.
14712 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
14714 * configure, include/config.h.in: Rebuilt.
14715 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
14716 * configure.in: Call AC_STRUCT_TIMEZONE.
14718 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
14720 * configure.host: Disable the interpreter for Darwin.
14722 2002-01-04 Tom Tromey <tromey@redhat.com>
14724 * java/lang/Thread.java (stop): No longer synchronized.
14727 2002-01-02 Tom Tromey <tromey@redhat.com>
14729 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
14732 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
14734 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
14735 PPC Darwin, not for all of Darwin.