1 2003-10-09 Michael Koch <konqueror@gmx.de>
3 * java/nio/channels/spi/AbstractSelectableChannel.java
4 (registered): Made private.
8 (keys): Made it a private LinkedList.
9 (AbstractSelectableChannel): Initialize keys.
10 (isRegistered): New implementation.
12 (register): Rewritten.
13 * java/nio/channels/spi/AbstractSelectionKey.java
15 (cancelled): New member variable.
18 * java/nio/channels/spi/AbstractSelector.java:
20 (closed): Make private.
22 (cancelledKeys): New member variable.
23 (AbstractSelector): Initialize cancelledKeys.
24 (cancelKey): New method.
26 2003-10-09 Tom Tromey <tromey@redhat.com>
28 * java/lang/ClassLoader.java (setSigners): Implemented.
29 * boehm.cc (_Jv_MarkObj): Mark `signers' field.
30 * java/lang/natClassLoader.cc (_Jv_InitNewClassFields):
31 Initialize new fields.
32 * java/lang/Class.java (getSigners): Now native.
33 (setSigners): Declare.
34 * java/lang/natClass.cc (getSigners): New method.
35 (getSigners): Likewise.
36 * java/lang/Class.h (Class::signers): New field.
37 (Class::setSigners): New method.
39 2003-10-09 Michael Koch <konqueror@gmx.de>
41 * java/rmi/server/RMIClassLoader.java:
42 Removed unused imports, little reformatings.
43 (getClassLoader): New method, implementation was part of old loadCLass
45 (loadClass): Simplified by moving functionality to new method and
46 reworking the code a bit.
47 (getClassAnnotation): Merged documentation from classpath.
49 2003-10-09 Michael Koch <konqueror@gmx.de>
51 * java/math/BigInteger.java
52 (add): Removed unused local variable len.
54 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
56 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (handleEvent): Remove
58 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
59 Initialize insets to use latest insets.
60 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
61 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (latestInsets): New
63 (postConfigureEvent): Update latestInsets field when insets
64 change. Remove call to setSize. Move validate call outside of
66 (setVisible): Call setBounds before showing window.
67 (nativeSetVisible): New native method.
68 * java/awt/Window.java (show): Show visible owned windows.
69 (hide): Hide visible owned windows.
70 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
71 (awt_event_handler): Implement modality using GTK grabs.
72 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
73 (global_gtk_window_group): New global variable.
74 (gtkInit): Initialize global_gtk_window_group.
75 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
76 Clamp width and height values to at least 1. Add this window to
77 the global GTK window group.
78 (setVisible): Rename to nativeSetVisible.
79 (setup_window): Remove function.
80 (setSize): Clamp width and height values to at least 1.
81 (nativeSetBounds): Likewise.
82 (gdk_window_get_root_geometry): Remove function.
83 * jni/gtk-peer/gtkpeer.h: Remove gdk_window_get_root_geometry
84 and setup_window declarations. Declare global_gtk_window_group.
86 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
87 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
88 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
89 (gtkWidgetSetForeground): New method.
90 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
91 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
92 (gtkWidgetSetBackground, gtkWidgetSetForeground): New methods.
93 (setBackground, setForeground): Implement.
94 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
95 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
96 (gtkSetFont): Handle BOLD and ITALIC style specifiers.
97 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
98 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
99 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
100 Position PangoLayout relative to text's baseline.
101 * jni/gtk-peer/gtkpeer.h: Define AWT font style constants.
103 * java/awt/FlowLayout.java (layoutContainer): Fix offset problem
104 for CENTER and RIGHT alignments.
106 2003-10-08 Michael Koch <konqueror@gmx.de>
108 * java/security/Security.java: Reformated.
110 2003-10-08 Michael Koch <konqueror@gmx.de>
112 * java/text/SimpleDateFormat.java
113 (compileFormat): Replace Character.isLetter() test with
114 Character.isLowerCase() || Character.isUpperCase().
116 2003-10-08 Tom Tromey <tromey@redhat.com>
118 * java/lang/StrictMath.java (toDegrees): Multiply before
120 (toRadians): Likewise.
122 2003-10-08 C. Brian Jones <cbj@gnu.org>
124 * java/lang/Math.java
125 (toRadians): multiply before dividing to reduce decimal error
128 2003-10-08 Michael Koch <konqueror@gmx.de>
130 * gnu/gcj/protocol/core/Connection.java,
131 gnu/gcj/protocol/core/CoreInputStream.java,
132 gnu/gcj/protocol/core/Handler.java,
133 gnu/gcj/protocol/core/natCoreInputStream.cc,
134 gnu/gcj/protocol/file/Connection.java,
135 gnu/gcj/protocol/file/Handler.java,
136 gnu/gcj/protocol/gcjlib/Connection.java,
137 gnu/gcj/protocol/gcjlib/Handler.java,
138 gnu/gcj/protocol/http/Connection.java,
139 gnu/gcj/protocol/http/Handler.java,
140 gnu/gcj/protocol/jar/Connection.java,
141 gnu/gcj/protocol/jar/Handler.java: Moved to gnu/java/net/protocol.
142 * gnu/java/net/protocol/core/Connection.java,
143 gnu/java/net/protocol/core/CoreInputStream.java,
144 gnu/java/net/protocol/core/Handler.java,
145 gnu/java/net/protocol/core/natCoreInputStream.cc,
146 gnu/java/net/protocol/file/Connection.java,
147 gnu/java/net/protocol/file/Handler.java,
148 gnu/java/net/protocol/gcjlib/Connection.java,
149 gnu/java/net/protocol/gcjlib/Handler.java,
150 gnu/java/net/protocol/http/Connection.java,
151 gnu/java/net/protocol/http/Handler.java,
152 gnu/java/net/protocol/jar/Connection.java,
153 gnu/java/net/protocol/jar/Handler.java: Moved from gnu/gcj/protocol.
154 * gnu/gcj/runtime/FirstThread.java,
155 java/net/URL.java: Use moved protocol handlers.
157 (ordinary_java_source_files): Moved files.
158 (nat_source_files): Likewise.
159 * Makefile.in: Regenerated.
161 2003-10-08 Michael Koch <konqueror@gmx.de>
163 * gnu/java/nio/SocketChannelImpl.java
164 (read): Write only read data to buffer.
166 2003-10-08 Thomas Fitzsimmons <fitzsim@redhat.com>
168 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (setEnabled): Stub
170 * jni/classpath/jcl.c [!__GNUC__]: Elide __attribute__.
171 (JCL_free): Attach "unused" attribute to env parameter.
172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
173 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
174 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
175 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
176 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
177 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
178 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
179 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
180 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
181 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
182 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
183 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
184 jni/gtk-peer/gthread-jni.c: Attach "unused" attribute to unused
186 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
187 (initNativeState): Pass 0 as info argument to
188 gtk_selection_add_target.
189 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
190 (setVisible, gtkFixedNew, gtkFixedPut, gtkFixedMove): Remove
191 unused method implementations.
192 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
193 (awt_event_handler): Add break statement after default label.
194 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
195 (drawPixels): Remove unused variable i.
196 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
197 (setEnabled): Remove method implementation.
198 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
199 (accel_attach): Call _gtk_accel_group_attach with G_OBJECT
201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (sr): Remove
203 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
204 (menu_pos): Assign TRUE to push_in.
205 (setupAccelGroup): Call _gtk_accel_group_attach with G_OBJECT
207 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
208 (create): Remove unused variable layout.
209 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
210 Pass window_widget, rather than window, to
211 gtk_widget_set_size_request.
212 * jni/gtk-peer/gthread-jni.c (g_thread_jni_functions): Fill out
213 structure initialization with NULL values.
214 * jni/gtk-peer/gtkpeer.h [!__GNUC__]: Elide __attribute__.
216 2003-10-08 Michael Koch <konqueror@gmx.de>
218 * java/util/LinkedList.java:
219 Removed whitespace to match classpath's version again.
221 2003-10-08 Michael Koch <konqueror@gmx.de>
223 * java/util/prefs/Preferences.java
224 (defaultFactoryClass): Fixed class name.
225 (getFactory): Create instance of class returned by Class.forName(),
228 2003-10-08 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
230 * javax/swing/table/AbstractTableModel.java
231 (getColumnName): Simplified code much. Thanks to Yannick Boogaerts who
232 helped stop pulling my hair on this +1 then -1 tricky thing!
234 2003-10-07 Thomas Fitzsimmons <fitzsim@redhat.com>
236 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (gtkTextGetSize):
237 Remove unused parameters.
238 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkEntryGetSize):
240 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
241 (keyevent_state_to_awt_mods): Export function.
242 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
243 (getCaretPosition): Fix TextArea case.
244 (textcomponent_commit_cb): Get exact event time and modifier
246 * jni/gtk-peer/gtkpeer.h: Declare keyevent_state_to_awt_mods.
248 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org>
250 * java/net/InetSocketAddress.java
251 (InetSocketAddress): Made exception more clear.
252 (equals): Handle case when addr is null.
253 (toString): Likewise.
254 * java/net/NetworkInterface.java
255 (static): Load native library.
256 (getNetworkInterfaces): Rewritten.
258 2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com>
260 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
262 (initializeInsets): New method.
263 (GtkComponentPeer): Call initializeInsets. Call setCursor and
264 setBounds unconditionally.
265 (setBounds): Convert coordinates if parent is a Window.
266 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
267 field to GtkComponentPeer.
268 (GtkContainerPeer): Don't initialize insets.
269 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
271 (create): Call new GtkWindowPeer create method.
272 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
274 (create): Call new GtkWindowPeer create method.
275 (setBounds): Remove method.
276 (postConfigureEvent): Likewise.
277 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
278 type constants with GDK window type constants.
279 (create(int,boolean,int,int,GtkWindowPeer)): New method.
280 (create(int,boolean)): Likewise.
281 (create()): Call create(int,boolean).
282 (nativeSetBounds): New native method declaration.
283 (setBounds): Call native method declaration.
284 (setSize): New native method declaration.
285 (setBoundsCallback): Likewise.
286 (postConfigureEvent): Handle change in insets. Call setSize and
287 setBoundsCallback methods.
288 * java/awt/Window.java (Window): Set visible to false.
289 (setBoundsCallback): New method.
290 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
291 (gtkWidgetGetLocationOnScreen): If this component is not a
292 container, adjust the location returned based on the peer's
294 (set(String,boolean)): Revert change from 2003-09-19.
295 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
296 (awt_event_handler): Fix inset calculation.
297 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
298 glue for Window.setBoundsCallback.
299 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
300 Set up stacking order, window decorations and window manager
302 (setBoundsCallback): New method.
303 (setSize): New method.
304 (nativeSetBounds): New method.
305 * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
307 2003-10-02 Tom Tromey <tromey@redhat.com>
309 * java/lang/VMClassLoader.java (loadClass): Now native.
310 * java/lang/natClassLoader.cc (loadClass): Implement.
311 * prims.cc (_Jv_RunMain): Initialize ClassLoader.
313 2003-10-02 Michael Koch <konqueror@gmx.de>
315 * java/net/InetAddress.java
317 (ANY_IF): Initalizie in static block.
318 (static): Load library with native methods here and initialize ANY_IF.
319 (isAnyLocalAddress): Check if equal to ANY_IF.
320 (equals): Use addr directly instead of addr1. Simplify for loop.
321 (toString): Rename "result" to "host" and add IP address allways.
322 (getLocalHost): Merged documentation from classpath.
323 * java/net/ServerSocket.java
324 (ServerSocket): New package-private constructor used by java.nio.
325 * java/net/URLConnection.java
326 (getRequestProperties): Check if already connected.
328 2003-10-02 Michael Koch <konqueror@gmx.de>
330 * java/nio/ByteBufferHelper.java:
331 Rewrote all methods by suggestions from Eric Blake.
333 2003-10-02 Michael Koch <konqueror@gmx.de>
336 (DEFAULT_SEARCH_PATH): New static variable.
337 (ph_cache): Made it a HashMap.
338 (getURLStreamHandler): Rename propVal to ph_search_path and use
341 2003-10-02 Michael Koch <konqueror@gmx.de>
343 * javax/swing/table/AbstractTableModel.java
344 (findColumnName): Prevent from NullPointerException if argument
347 2003-10-02 Michael Koch <konqueror@gmx.de>
349 * javax/swing/table/AbstractTableModel.java:
350 This patch is based on a patch done by Arnaud Vandyck
351 <arnaud.vandyck@ulg.ac.be>.
352 (getColumnName): Fixed method documentation.
353 (findColumn): Likewise.
354 (getColumnClass): Likewise.
355 (isCellEditable): Likewise.
356 (setValueAt): Likewise.
357 (addTableModelListener): Likewise.
358 (removeTableModelListener): Likewise.
359 (getTableModelListeners): New method.
361 2003-10-02 Michael Koch <konqueror@gmx.de>
363 * javax/swing/table/AbstractTableModel.java:
366 2003-10-01 Bryce McKinlay <bryce@mckinlay.net.nz>
369 * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
370 * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
372 2003-10-01 Tom Tromey <tromey@redhat.com>
374 * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
376 2003-10-01 Andrew Haley <aph@redhat.com>
378 * java/lang/natClass.cc (initializeClass): Check for otable and
380 (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite
381 loops using for(). Search superinterfaces. Check for fields as
382 well as methods. Initialize atable as well as otable: check for
383 static methods as well as virtual methods.
384 * java/lang/Class.h (struct _Jv_AddressTable): New.
387 * include/jvm.h (_Jv_equalUtf8Consts): constify.
388 * prims.cc (_Jv_equalUtf8Consts): constify.
390 2003-09-29 Tom Tromey <tromey@redhat.com>
393 * include/jvm.h (_Jv_FinalizeString,
394 _Jv_RegisterStringFinalizer): Declare.
395 * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
398 (_Jv_NewStringUtf8Const): Likewise.
399 * java/lang/ref/natReference.cc (finalize_referred_to_object):
400 Add special case when finalizing a String.
401 (in_hash): New function.
402 (_Jv_RegisterStringFinalizer): Likewise.
403 (maybe_add_finalize): Likewise.
405 2003-09-29 Michael Koch <konqueror@gmx.de>
407 * java/net/InetAddress.java:
408 (isMulticastAddress): Dont use local variable to store address length.
409 Let the compiler optimize this.
410 (getHostName): Merged dcoumentation from classpath.
411 (getAddress): Likewise.
412 (getHostAddress): Likewise.
413 (hashCode): Likewise.
415 (toString): Likewise.
416 (getByName): Likewise.
417 (getAllByName): Likewise.
419 2003-09-29 Michael Koch <konqueror@gmx.de>
421 * java/awt/image/IndexColorModel.java: Reformated.
423 2003-09-29 Michael Koch <konqueror@gmx.de>
425 * java/net/InetAddress.java,
426 java/net/URL.java: Reformated.
428 2003-09-29 Bryce McKinlay <bryce@mckinlay.net.nz>
430 * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
431 significant bit of descriptor. Include the vtable and sync_info
434 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
436 * java/text/DateFormat.java (format): Throw IllegalArgumentException
437 if `obj' is not a Number or Date instance.
438 * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
441 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
443 * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
444 Don't call setTimeZone on calendar.
446 2003-09-27 Michael Koch <konqueror@gmx.de>
448 * java/net/URL.java (getURLStreamHandler): Compile fixes.
450 2003-09-27 Michael Koch <konqueror@gmx.de>
452 * java/net/URL.java (getURLStreamHandler):
453 Check if we have to use cache before trying to retrieve handler from
454 cache. Rename facName to clsName to match classpath more. Reformated
457 2003-09-27 Michael Koch <konqueror@gmx.de>
459 * gnu/java/nio/SelectionKeyImpl.java
460 (ch): Make package-private again. Jikes found this bug.
461 Jeff Sturm submitted PR12426 for this to bugzilla
462 to fix this bug in gcj.
464 2003-09-26 Michael Koch <konqueror@gmx.de>
466 * java/rmi/server/RMIClassLoader.java:
467 Reformatted file, no functional code changes.
469 2003-09-26 Sascha Brawer <brawer@dandelis.ch>
471 * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
472 Save space for some pixels at the buffer end. Added Javadoc.
474 2003-09-26 Tom Tromey <tromey@redhat.com>
476 * java/io/ObjectOutputStream.java (writeFields): Fixed
478 (putFields): Likewise.
480 2003-09-26 Michael Koch <konqueror@gmx.de>
482 * java/nio/ByteBufferHelper.java:
483 Totally reworked with help from Eric Blake.
485 2003-09-26 Tom Tromey <tromey@redhat.com>
487 * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
488 * java/awt/geom/PathIterator.java: Documentation fixes.
490 2003-09-25 Jeff Sturm <jsturm@one-point.com>
492 * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
494 (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
496 2003-09-25 Michael Koch <konqueror@gmx.de>
498 * gnu/java/nio/DatagramChannelImpl.java
499 (getNativeFD): New method.
500 * gnu/java/nio/SelectionKeyImpl.java
501 (SelectionKeyImpl): Class made abstract.
503 (SelectionKeyImpl): Remove fd argument.
504 (getNativeFD): New method.
505 * gnu/java/nio/SocketChannelImpl.java
506 (getNativeFD): New method.
507 gnu/java/nio/DatagramChannelSelectionKey.java,
508 * gnu/java/nio/SocketChannelSelectionKey.java:
510 * Makefile.am (ordinary_java_source_files):
511 Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
512 gnu/java/nio/SocketChannelSelectionKey.java.
513 * Makefile.in: Regenerated.
515 2003-09-25 Michael Koch <konqueror@gmx.de>
517 * java/lang/reflect/Proxy.java
518 (getProxyClass): Remove workaround for gcj 3.0.x.
520 2003-09-25 Michael Koch <konqueror@gmx.de>
522 * gnu/java/net/PlainDatagramSocketImpl.java
523 (finalize): Moved to directly after constructor.
524 (getNativeFD): New method.
525 * gnu/java/net/PlainSocketImpl.java
526 (getNativeFD): New method.
528 2003-09-25 Ingo Proetel <proetel@aicas.com>
530 * java/io/ObjectOutputStream.java:
531 Allow putFields be called more than once.
533 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
535 * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
536 * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
537 * java/awt/image/BufferedImage.java (toString): Implement.
539 2003-09-25 Jeff Sturm <jsturm@one-point.com>
541 * aclocal.m4: Rebuilt.
542 * configure: Rebuilt.
544 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
546 * java/text/SimpleDateFormat.java (parse): Don't use class calendar
549 2003-09-25 Michael Koch <konqueror@gmx.de>
551 * gnu/java/nio/SelectorImpl.java
552 (implSelect): Renamed from java_do_select.
553 (select): Call native implSelect() and add support for Thread
555 * gnu/java/nio/natSelectorImpl.cc
556 (implSelect): Renamed from java_do_select.
558 2003-09-25 Michael Koch <konqueror@gmx.de>
560 * gnu/java/nio/SelectorImpl.java
561 (selectNow): Made final, throws IOException.
563 (getFDsAsArray): Made final.
564 (selectedKeys): Likewise.
566 (deregisterCancelledKeys): Likewise.
567 (register): Likewise.
569 (add_selected): Removed.
570 * gnu/java/nio/natSelectorImpl.cc:
571 No need to include bstring.h or gcj/cni.h.
572 (helper_put_filedescriptors): Rewritten.
573 (helper_get_filedescriptors): Rewritten.
575 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
577 * java/awt/font/FontRenderContext.java (getTransform): Return
578 copy of internal transform object. Add Javadoc.
579 * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
580 winding rule as Sun J2SE.
581 * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
583 2003-09-25 Ingo Proetel <proetel@aicas.com>
585 * java/rmi/Naming.java:
586 Added comments, now accepts pseudo protocol "rmi".
588 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
590 * java/text/DecimalFormat.java (format): Don't immediatly round
592 (setMinimumIntegerDigits): Call super.
593 (setMinimumFractionDigits): Likewise.
594 (setMaximumIntegerDigits): Likewise.
595 (setMaximumFractionDigits): Likewise.
597 2003-09-25 Michael Koch <konqueror@gmx.de>
599 * gnu/java/nio/DatagramChannelImpl.java
600 (DatagramChannelImpl): Made class final.
601 (blocking): Made private.
602 (socket): Made it a NIODatagramSocket and private.
603 (DatagramChannelImpl): create NIODatagramSocket instead of
605 (implConfigureBlocking): Set socket timeout.
606 (connect): Check that channel is not closed.
607 (write): Implemented.
611 (receive): Implemented.
613 * gnu/java/nio/SelectionKeyImpl.java
614 (readyOps): Made private.
615 (interestOps): Made private.
616 (impl): Made private.
618 (readyOps): Check if selection key is valid.
619 (interestOps): Likewise.
620 * gnu/java/nio/SelectorImpl.java
622 (keys): Made private.
623 (selected): Made private.
624 (finalize): New method.
625 (implCloseSelector): Rewritten.
626 (keys): Return unmodifiable Set.
627 (deregisterCancelledKeys): Fixed typo in method name.
628 * gnu/java/nio/SocketChannelImpl.java
629 (SocketChannelImpl): Made class final.
630 (socket): Made it a NIOSocket and private.
631 (blocking): Made private.
632 (connected): Made private.
633 (connectionPending): New member variable.
634 (SocketChannelImpl): New implementation.
635 (finalizer): Use isConnected().
636 (connect): Rewritten.
637 (finishConnect): Throws IOException, implemented.
638 (isConnectionPending): Return connectionPending.
641 * gnu/java/nio/NIOConstants.java: New file.
642 * Makefile.am (ordinary_java_source_files):
643 Added gnu/java/nio/NIOConstants.java.
644 * Makefile.in: Regenerated.
646 2003-09-25 Michael Koch <konqueror@gmx.de>
648 * java/net/InetAddress.java:
649 Reorder imports, remove implementation comment.
650 (isMulticastAddress): Merged documentation from classpath.
651 * java/net/URLConnection.java
652 (setRequestProperty): Check key for null, fix documentation.
653 (adREquestProperty): Check key for null, remove wrong implementation
654 and replace it with comment to overwrite this method in subclasses,
657 2003-09-25 Tom Tromey <tromey@redhat.com>
659 * java/lang/reflect/Proxy.java (generate): Uncomment protection
661 * java/lang/natClassLoader.cc (defineClass): Added `loader'
663 (linkClass0): Now in VMClassLoader.
664 (markClassErrorState0): Likewise.
665 (getSystemClassLoaderInternal): New method.
666 * java/lang/natClass.cc (initializeClass): Use
667 VMClassLoader::resolveClass.
668 * java/lang/ClassLoader.java: New version, from Classpath.
669 * java/lang/Class.java (getProtectionDomain):
670 protectionDomainPermission and unknownProtectionDomain now in
672 * java/lang/Class.h: VMClassLoader now a friend class.
673 * gnu/gcj/runtime/VMClassLoader.java (instance): Now
675 * gcj/javaprims.h: Regenerated class list.
676 * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
677 * java/lang/VMClassLoader.java: New version from Classpath;
678 modified for libgcj use.
680 2003-09-25 Michael Koch <konqueror@gmx.de>
682 * java/nio/ByteBufferHelper.java:
684 * java/nio/ByteBufferImpl.java,
685 java/nio/DirectByteBufferImpl.java,
686 java/nio/MappedByteBufferImpl.java
687 (getType,putType): Use new helper class ByteBufferHelper.
688 * Makefile.am (ordinary_java_source_files):
689 Added java/nio/ByteBufferHelper.java.
690 * Makefile.in: Regenerated.
692 2003-09-25 Bryce McKinlay <bryce@mckinlay.net.nz>
694 * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
697 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
699 * java/lang/StringBuffer.java (substring): Don't set `shared' on small
700 Strings, even if buffer is already shared.
702 2003-09-24 Michael Koch <konqueror@gmx.de>
704 * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
706 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
708 * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
710 (SocketInputStream): Declare `read' and `write' methods native.
711 Remove implementations which called back into PlainSocketImpl.
712 Remove unneccessary overridden methods.
713 * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation
714 to inner class PlainSocketImpl.SocketInputStream.
716 * gnu/java/net/natPlainSocketImplPosix.cc: As above.
717 * gnu/java/net/natPlainSocketImplWin32.cc: As above.
718 * gnu/java/net/SocketInputStream.java: Remove unused file.
719 * gnu/java/net/SocketOutputStream.java: Likewise.
720 * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
721 and SocketOutputStream.
722 * Makefile.in: Rebuilt.
724 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
726 * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
728 * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
731 2003-09-22 Anthony Green <green@redhat.com>
733 * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
734 * configure: Rebuilt.
736 2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
739 * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
741 2003-09-22 Michael Koch <konqueror@gmx.de>
743 * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
744 compiler warning but produces a different one now.
746 2003-09-22 Michael Koch <konqueror@gmx.de>
748 * java/net/InetAddress.java:
749 Moves around some code, reformats and adds documentation.
750 No functional changes.
752 2003-09-22 Michael Koch <konqueror@gmx.de>
754 * java/net/JarURLConnection.java
755 (JarURLConnection): Modifed code to match classpath more, fixed comment.
756 (getCertificates): Made it more error prone.
757 (getMainAttributes): Likewise.
758 (getAttributes): Implemented.
759 (getManifest): Reformatted code.
761 2003-09-20 Tom Tromey <tromey@redhat.com>
763 * java/awt/Component.java: Indentation cleanup from Classpath.
765 2003-09-20 Dalibor Topic <robilad@kaffe.org>
767 * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
768 checking to follow 1.4.2 spec.
770 2003-08-11 Ingo Proetel <proetel@aicas.com>
772 * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
773 is compatible in case client and server are running in the same VM
774 (remerged from Classpath on 2003-09-20)
776 2003-09-19 David Daney <ddaney@avtrex.com>
778 * java/lang/ref/Reference.java (clear): Set referent to null and
781 2003-09-19 Michael Koch <konqueror@gmx.de>
783 * gnu/java/nio/NIODatagramSocket.java,
784 gnu/java/nio/NIOSocket.java: New files.
785 * Makefile.am (ordinary_java_source_files):
786 Added gnu/java/nio/NIODatagramSocket.java and
787 gnu/java/nio/NIOSocket.java.
788 * Makefile.in: Regenerated.
790 2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>
792 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
793 top-level GTK window.
794 (getArgs): Add "title" property.
795 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
796 "allow_shrink" and "allow_grow" properties.
797 * java/awt/Dialog.java: Initialize resizable to true and change
798 comments accordingly. Initialize visible to false in
800 * java/awt/Frame.java (dispose): Remove method.
801 * java/awt/Window.java (ownedWindows): New field.
802 (Window(Window,GraphicsConfiguration)): Add a weak reference to
803 owner's ownedWindows vector.
804 (finalize): Remove method.
805 (hide): Hide owned windows.
806 (dispose): Dispose of owned windows.
807 (getOwnedWindows): Implement.
808 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
810 (set(String,boolean)): Clamp gboolean parameter to g_object_set
812 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
813 (create): Set window's size requisition.
814 (connectHooks): Fix indentation.
815 (setResizable): Remove function.
816 (static setBounds): Likewise.
817 (setBounds): Replace call to setBounds with GTK size requisition
820 2003-09-19 Mohan Embar <gnustuff@thisiscool.com>
822 * win32-threads.cc: (ensure_interrupt_event_initialized) New
823 function for lazy initialization of an auto-reset event.
824 (_Jv_CondWait) Added thread interrupt support.
825 (_Jv_ThreadInitData) Added initialization of interrupt support
827 (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
828 (_Jv_ThreadStart) Removed unused code.
829 (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
830 to an external caller.
831 (_Jv_ThreadInterrupt) Implemented.
832 * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
833 event for interrupt support as well as a mutex which regulates
835 (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
836 event to an external caller.
837 * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
839 (waitFor) Added interrupt support.
841 2003-09-19 Michael Koch <konqueror@gmx.de>
843 * java/net/DatagramSocket.java (getLocalAddress):
844 Renamed result variable to localAddr.
845 * java/net/MulticastSocket.java:
846 No need to import gnu.java.net.PlainDatagramSocketImpl.
848 2003-09-18 Sascha Brawer <brawer@dandelis.ch>
850 * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
851 Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
853 2003-09-18 Tom Tromey <tromey@redhat.com>
855 * javax/naming/InitialContext.java: Reindented.
857 2003-09-18 Dalibor Topic <robilad@kaffe.org>,
858 Helmer Kraemer <hkraemer@freenet.de>
860 * javax/naming/spi/NamingManager.java (getURLContext,
861 getObjectInstance, getStateToBind): Always use current thread's
862 context class loader when calling Class.forName.
864 2003-09-18 Michael Koch <konqueror@gmx.de>
866 * java/util/Timer.java (finalize): Added "throws Throwable".
868 2003-09-18 Michael Koch <konqueror@gmx.de>
870 * java/net/DatagramSocket.java
872 (receive): Use getChannel() instead of ch.
874 (getChannel): Return null.
875 * java/net/ServerSocket.java
877 (setChannel): Removed.
878 (implAccept): Use getChannel() instead of ch.
880 (getChannel): Return null.
881 * java/net/Socket.java
883 (connect): Use getChannel() instead of ch.
884 (setChannel): Removed.
885 (getChannel): Return null.
887 2003-09-18 Mark Wielaard <mark@klomp.org>
889 Reported by Guilhem Lavaux and Julian Dolby
890 * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
891 field "serialPersistentFields", not "getSerialPersistentFields".
893 2003-09-18 Ingo Proetel <proetel@aicas.com>
895 * java/util/TimeZone.java: Initialize lazily.
896 * java/util/Locale.java (readManifest): Fix check for country.
897 * java/util/GregorianCalendar.java: Make use of ResourceBundle better
899 * java/util/Calendar.java: Make use of ResourceBundle better
902 2003-09-18 Jeroen Frijters <jeroen@frijters.net>
904 * java/sql/Timestamp.java
905 (valueOf): Fixed confusion of java.sql.Date and java.util.Date
907 2003-09-18 David P Grove <groved@us.ibm.com>
909 * java/io/LineNumberReader (read): Don't reset pos & limit when
912 2003-09-18 Dalibor Topic <robilad@kaffe.org>
914 * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
916 (computeArguments): use computeTypicalArguments.
918 * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
919 Compile_jikes.java and RMICException.java.
920 * gnu/java/rmi/rmic/Compile_kjc.java: New file.
921 * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
922 * gnu/java/rmi/rmic/RMICException.java: Likewise.
924 * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
926 * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
927 (computeTypicalArguments): New method.
928 (compile): Print compiler output to System.out. Collect compiler
929 error output and use it in exception message.
931 * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
932 (destination): Initialize to null.
933 (run): Replace file separator with '.' when processing class.
934 (processClass): Replace '.' with file separator when compiling
936 (findClass): Use SystemClassLoader to load class.
937 (generateStub): Use full class name for generated stub, that puts
938 it in right path. Replace '.' with file separator when generating
939 stub file name. Write just the stub class name without package
940 information as class name, and constructor name. Write only
941 interface names for interfaces extending java.rmi.Remote as
943 (generateSkel): Use full class name for generated skel, that puts
944 it in right path. Replace '.' with file separator when generating
945 stub file name. Write just the stub class name without package
946 information as class name.
948 2003-09-18 Michael Koch <konqueror@gmx.de>
950 * Makefile.am (rmi_java_source_files):
951 Added gnu/java/rmi/rmic/Compile_kjc.java,
952 gnu/java/rmi/rmic/Compile_jikes.java and
953 gnu/java/rmi/rmic/RMICException.java
954 * Makefile.in: Regenerated.
956 2003-09-17 Graydon Hoare <graydon@redhat.com>
958 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
959 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
960 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
961 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
964 2003-09-16 Graydon Hoare <graydon@redhat.com>
966 * java/awt/BufferedImage.java (setData): Support non-component
970 2003-09-10 Graydon Hoare <graydon@redhat.com>
972 * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
973 * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
975 2003-09-17 Mohan Embar <gnustuff@thisiscool.com>
977 * configure.in: Standardized help text case of
978 --enable-hash-synchronization
979 New configure switch --enable-libgcj-multifile and corresponding
980 automake conditional ONESTEP.
981 * configure: Rebuilt.
982 * Makefile.am: Use automake conditional ONESTEP to determine
983 whether classfiles should be compiled individually or all
985 * Makefile.in: Rebuilt.
987 2003-09-16 Thomas Fitzsimmons <fitzsim@redhat.com>
989 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
990 Remove method declaration.
991 (create()): Call native create.
992 (create(int)): New method.
993 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
994 (create): Add window_id parameter. Call gtk_plug_new with
996 (construct): Remove method implementation.
998 2003-09-16 Mohan Embar <gnustuff@thisiscool.com>
1000 * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
1001 (mostlyclean-local): New target patterned after clean-local
1002 which recursively deletes all libtool objects using 'libtool rm'.
1003 (clean-local): Slightly modified comment to alleviate monotony.
1004 (distclean-local): New target patterned after clean-local
1005 which recursively deletes all .d files.
1006 * Makefile.in: Rebuilt.
1008 2003-09-11 Tom Tromey <tromey@redhat.com>
1010 * java/net/URLStreamHandler.java (parseURL): If original file
1011 ends with "/", so must canonical result.
1012 * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
1013 with nul-termination and finding previous "/".
1015 2003-09-11 Michael Koch <konqueror@gmx.de>
1017 * acconfig.h: Removed most items.
1018 * configure.in: Added descriptions to AC_DEFINE macros that where in
1020 * include/config.h.in: Regenerated.
1022 2003-09-11 Sascha Brawer <brawer@dandelis.ch>
1024 * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
1025 if one is installed. Improve Javadoc.
1026 (getSystemEventQueueImpl): Improve Javadoc.
1028 2003-09-11 Tom Tromey <tromey@redhat.com>
1030 * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
1031 file does not exist.
1033 2003-09-10 Anthony Green <green@redhat.com>
1035 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
1036 Specify full name when referencing ::java::net::InetAddress.
1037 * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
1040 2003-09-10 Michael Koch <konqueror@gmx.de>
1042 * acconfig.h (__NO_MATH_INLINES): Removed.
1043 * configure.in: Removed check for g++ math inlining bug from 2000.
1044 * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
1046 * configure: Regenerated.
1048 2003-09-10 David Daney <ddaney@avtrex.com>
1050 * java/util/Arrays.java (equals(all variants)): Quit using
1051 NullPointerException catching to detect null valued parameters.
1053 2003-09-10 Michael Koch <konqueror@gmx.de>
1055 * java/net/DatagramSocket.java,
1056 java/net/MulticastSocket.java,
1057 java/net/ServerSocket.java,
1058 java/net/Socket.java:
1059 Use gnu.java.net.Plain*SocketImpl instead of
1060 java.net.PlainSocketImpl.
1061 * java/net/PlainDatagramSocketImpl.java,
1062 java/net/PlainSocketImpl.java,
1063 java/net/SocketInputStream.java,
1064 java/net/SocketOutputStream.java,
1065 java/net/natPlainDatagramSocketImplNoNet.cc,
1066 java/net/natPlainDatagramSocketImplPosix.cc,
1067 java/net/natPlainDatagramSocketImplWin32.cc,
1068 java/net/natPlainSocketImplNoNet.cc,
1069 java/net/natPlainSocketImplPosix.cc,
1070 java/net/natPlainSocketImplWin32.cc:
1072 * gnu/java/net/PlainDatagramSocketImpl.java,
1073 gnu/java/net/PlainSocketImpl.java,
1074 gnu/java/net/SocketInputStream.java,
1075 gnu/java/net/SocketOutputStream.java,
1076 gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
1077 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
1078 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
1079 gnu/java/net/natPlainSocketImplNoNet.cc,
1080 gnu/java/net/natPlainSocketImplPosix.cc,
1081 gnu/java/net/natPlainSocketImplWin32.cc:
1082 New files (moved from java/net).
1083 * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
1084 instead of java/net/natPlain*SocketImpl.cc.
1085 * configure: Regenerated.
1086 * Makefile.am: Moved files from java/net to gnu/java/net.
1087 * Makefile.in: Regenerated.
1089 2003-09-09 Alan Modra <amodra@bigpond.net.au>
1091 * configure: Regenerate.
1093 2003-09-04 Tom Tromey <tromey@redhat.com>
1095 * configure.host: Removed erroneous comment.
1097 * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
1098 lvalue cast; use correct rvalue cast.
1100 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
1102 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
1103 and height arguments to GtkWindowPeer.create method call.
1104 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
1105 (create(int,int,int)): New method.
1106 (create(int)): Add call to new create method.
1107 (create()): Add width and height arguments to create method
1109 (GtkWindowPeer): Remove call to setBounds.
1110 * java/awt/Frame.java (Frame(String)): Initialize visible field
1112 (Frame(GraphicsConfiguration)): Likewise.
1113 (Frame(String,GraphicsConfiguration)): Likewise.
1114 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
1115 Add width and height parameters. Call
1116 gtk_window_set_default_size.
1117 (connectHooks): Remove unused name variable.
1118 (static setBounds): Call gtk_window_resize not
1119 gtk_widget_set_usize.
1120 (setBounds): Remove unused nchildren variable.
1122 2003-08-31 Ingo Proetel <proetel@aicas.com>
1124 * java/util/logging/Logger.java: provide class and method information
1125 * java/util/logging/LogManager.java: create handlers
1126 * java/util/logging/SimpleFormatter.java: print souceClassName and
1129 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
1131 * win32.cc: fixed tab, indentation and whitespace
1133 removed jvm.h include
1134 added includes java/lang/UnsupportedOperationException.h,
1135 java/io/IOException.h, java/net/SocketException.h
1136 (WSAEventWrapper): class implementation
1137 (_Jv_WinStrError): implemented both overloads
1138 (_Jv_ThrowIOException): implemented both overloads
1139 (_Jv_ThrowSocketException): implemented both overloads
1140 (_Jv_select): implemented
1141 * include/win32.h: fixed tab, indentation and whitespace
1143 wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
1145 (WSAEventWrapper): added class declaration
1146 (_Jv_WinStrError): added both overload declarations
1147 (_Jv_ThrowIOException): added both overload declarations
1148 (_Jv_ThrowSocketException): added both overload declarations
1149 removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
1150 (_Jv_select): added declaration
1151 (_Jv_socket): removed
1152 (_Jv_connect): removed
1153 (_Jv_close): removed
1155 (_Jv_accept): removed
1156 (_Jv_listen): removed
1157 (_Jv_write): removed
1159 * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
1160 whitespace inconsistencies
1161 replaced <windows.h> #include with <platform.h>
1162 removed jvm.h include
1163 (testCanUseGetHandleInfo): new function which tests whether Win32
1164 GetHandleInformation() call can be used with console buffer handles
1165 (only supported on >=WinNT 5.0)
1166 (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
1167 (valid): rewrote implementation using GetHandleInformation()
1168 (sync): changed exception throwing to use error string and exception
1169 helper methods declared in include/win32.h
1172 (setLength): likewise
1175 (getFilePointer): likewise
1177 * java/io/natFileWin32.cc: fixed tab, indentation and
1178 whitespace inconsistencies
1179 replaced <windows.h> #include with <platform.h>
1180 removed jvm.h include
1181 (_access): use JV_TEMP_UTF_STRING
1183 (performMkDir): use JV_TEMP_UTF_STRING
1184 (performRenameTo): likewise
1185 (performDelete): likewise
1186 (performCreate): likewise
1187 (performSetReadOnly): likewise
1188 (performSetLastModified): likewise
1189 * java/lang/natWin32Process.cc: fixed tab, indentation and
1190 whitespace inconsistencies
1191 replaced <windows.h> #include with <platform.h>
1192 removed includes gcj/cni.h, jvm.h
1193 (new_string): removed
1194 (startProcess): use JV_TEMP_UTF_STRING,
1195 changed exception throwing to use error string and exception
1196 helper methods declared in include/win32.h
1197 * java/net/natInetAddressWin32.cc: fixed tab, indentation and
1198 whitespace inconsistencies
1199 replaced <windows.h> #include with <platform.h>
1200 removed jvm.h include
1201 removed DISABLE_JAVA_NET conditional code
1202 removed POSIX conditional code not relevant to Win32
1203 (aton): use JV_TEMP_UTF_STRING
1204 removed POSIX conditional code not relevant to Win32
1206 (getLocalHostName): likewise
1207 * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
1208 whitespace inconsistencies
1209 removed unnecessary windows.h, winsock.h and gcj/cni.h includes
1210 removed DISABLE_JAVA_NET conditional code
1211 removed POSIX conditional code not relevant to Win32
1212 (winsock2GetRealNetworkInterfaces): new function to compute network
1213 interfaces via Winsock2 API
1214 (determineGetRealNetworkInterfacesFN): new function for returning
1215 a function pointer to the function used to compute network interfaces.
1216 (getRealNetworkInterfaces): implemented
1217 * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
1218 whitespace inconsistencies
1219 removed gcj/cni.h include
1220 removed DISABLE_JAVA_NET conditional code
1221 removed POSIX conditional code not relevant to Win32
1222 changed net POSIXisms to Win32isms
1223 replaced _Jv socket-related calls with their real Win32 equivalents
1224 changed exception throwing to use error string and exception
1225 helper methods declared in include/win32.h
1226 (peekData): implemented timeout support
1228 * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
1229 whitespace inconsistencies
1230 removed gcj/cni.h and gcj/javaprims.h includes
1231 removed DISABLE_JAVA_NET conditional code
1232 removed POSIX conditional code not relevant to Win32
1233 changed net POSIXisms to Win32isms
1234 replaced _Jv socket-related calls with their real Win32
1236 changed exception throwing to use error string and exception
1237 helper methods declared in include/win32.h
1238 (throwConnectException): helper function for connect()
1239 (connect): implemented timeout support
1241 (doRead): new helper function common to both read() method overloads,
1242 includes timeout support
1243 (read): implemented both overloads in terms of doRead()
1244 (available): implemented using ioctlsocket()
1246 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
1248 * java/net/natInetAddressWin32.cc,
1249 java/net/natNetworkInterfaceWin32.cc,
1250 java/net/natPlainDatagramSocketImplWin32.cc,
1251 java/net/natPlainSocketImplWin32.cc:
1252 Readded code enclosed in DISABLE_JAVA_NET defines
1253 in preparation for MinGW cleanup / networking
1256 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
1258 * Makefile.am: Fixed problems with parallel makes.
1259 (all_java_class_files): Readded definition.
1260 (all_java_class_files): New target which depends on
1261 libgcj-@gcc_version@.jar
1262 * Makefile.in: Rebuilt
1264 2003-08-28 Tom Tromey <tromey@redhat.com>
1266 * Makefile.in: Rebuilt.
1267 * Makefile.am (ordinary_java_source_files): Added new files.
1268 * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
1270 * java/net/URLClassLoader.java (findClass): Don't use
1271 findURLResource. Use loader's getClass method.
1272 (URLLoader.getClass): New method.
1273 (addURL): Handle `gcjlib' URLs.
1274 (SoURLLoader): New class.
1275 (SoResource): Likewise.
1276 * gnu/gcj/protocol/gcjlib/Connection.java: New file.
1277 * gnu/gcj/protocol/gcjlib/Handler.java: New file.
1278 * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
1279 (_Jv_RegisterCoreHook): Declare.
1280 (_Jv_FindCore): Declare.
1281 * gnu/gcj/runtime/SharedLibHelper.java: New file.
1282 * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
1284 (core_hook): New function.
1285 (struct SharedLibDummy) [saved_core]: New field.
1286 (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
1287 (register_hook): Set protection domain and class loader on new
1289 (finalize): Free core chain.
1290 * gnu/gcj/Core.java (Core): New constructor.
1291 * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
1293 * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
1294 (_Jv_create_core): New function.
1296 (default_register_resource): New function.
1297 (_Jv_RegisterCoreHook): New global.
1298 (_Jv_RegisterResource): Use it.
1299 (core_chain_struct): Removed.
1300 (_Jv_FindCore): New function.
1301 (_Jv_FreeCoreChain): New function.
1303 2003-08-29 Michael Koch <konqueror@gmx.de>
1305 * java/net/natInetAddressWin32.cc,
1306 java/net/natNetworkInterfaceWin32.cc,
1307 java/net/natPlainDatagramSocketImplWin32.cc,
1308 java/net/natPlainSocketImplWin32.cc:
1309 Removed code enclosed in DISABLE_JAVA_NET defines.
1311 2003-08-26 Mohan Embar <gnustuff@thisiscool.com>
1313 * Makefile.am: (write_entries_to_file) New parameterized
1314 function for writing entries to a file one line at a time.
1315 (all_java_class_files): Removed definition.
1316 (.java.class) Removed.target.
1317 (libgcj-@gcc_version@.jar): Changed dependency to
1318 $(all_java_source_files); added compilation step which compiles
1319 all changed source files in one pass.
1320 (libgcj.la) Refactored to use write_entries_to_file.
1321 (lib-gnu-awt-xlib.la) Likewise.
1322 (install-data-local) Likewise.
1323 (write-entries-to-file-check) New target which tests write_entries_to_file.
1324 (all-recursive): Changed dependency from $(all_java_class_files)
1325 to libgcj-@gcc_version@.jar
1326 * Makefile.in: Rebuilt.
1328 2003-08-26 Tom Tromey <tromey@redhat.com>
1330 * java/lang/StrictMath.java: Typo fix.
1331 * java/lang/Math.java: Typo fix.
1333 2003-08-26 Stephen Crawley <crawley@dstc.edu.au>
1335 * java/lang/ThreadGroup.java (removeThread): null the 'group' field
1336 of the removed Thread.
1338 2003-08-26 Mark Wielaard <mark@klomp.org>
1340 Reported by David Holmes <dholmes@dltech.com.au>.
1341 * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
1342 Collections.synchronizedMap.
1343 * java/lang/ThreadLocal.java (valueMap): Likewise.
1345 2003-08-26 Mark Wielaard <mark@klomp.org>
1347 * java/security/acl/Acl.java: Fix broken p tag.
1348 * java/text/DateFormatSymbols.java: Correctly open and close li tags.
1349 * javax/swing/border/LineBorder.java: Close img tag alt attributes.
1350 * javax/swing/plaf/TreeUI.java: Likewise.
1351 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
1352 * java/util/Properties.java: Use the word umlaut, not ä in api
1354 * java/util/PropertyResourceBundle.java: Likewise and add closing code
1357 2003-08-26 Tom Tromey <tromey@redhat.com>
1359 * Makefile.in: Rebuilt.
1360 * Makefile.am: Removed all GNU-make-specific FIXME comments.
1362 * java/lang/ref/Reference.java (get): Indentation fix.
1363 (clear): Comment fix.
1364 (enqueue): Likewise.
1366 (referent): Likewise.
1368 2003-08-26 Tom Tromey <tromey@redhat.com>
1371 * java/lang/reflect/natArray.cc (set): Allow null as argument.
1373 * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
1374 (ProxyData.getPackage): New method.
1375 (ProxyData.getProxyData): Use package name, not Package.
1376 (ClassFactory.ClassFactory): Updated.
1378 2003-08-25 Scott Gilbertson <scottg@mantatest.com>
1379 * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
1380 * Makefile.in: re-generated.
1381 * gnu/awt/j2d/IntegerGraphicsState.java
1382 (ScreenCoupledImage): new interface.
1383 (drawImage): detect ScreenCoupledImage instances.
1384 * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
1385 * gnu/awt/xlib/XEventLoop.java
1386 (createEvent): re-formatted, and rearranged to avoid null pointer.
1387 * gnu/awt/xlib/XGraphics.java
1388 (drawImage): added XOffScreenImage handling.
1389 * gnu/awt/xlib/XOffScreenImage.java: new file.
1390 * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
1391 * gnu/gcj/xlib/GC.java (copyArea): new native method.
1392 * gnu/gcj/xlib/XAnyEvent.java
1393 (TYPE_KEY_PRESS): new constant.
1394 (TYPE_KEY_RELEASE): new constant.
1395 (TYPE_MOTION_NOTIFY): new constant.
1396 (TYPE_ENTER_NOTIFY): new constant.
1397 (TYPE_LEAVE_NOTIFY): new constant.
1398 (TYPE_FOCUS_IN): new constant.
1399 (TYPE_FOCUS_OUT): new constant.
1400 (TYPE_KEYMAP_NOTIFY): new constant.
1401 (TYPE_GRAPHICS_EXPOSE): new constant.
1402 (TYPE_NO_EXPOSE): new constant.
1403 (TYPE_VISIBILITY_NOTIFY): new constant.
1404 (TYPE_CREATE_NOTIFY): new constant.
1405 (TYPE_DESTROY_NOTIFY): new constant.
1406 (TYPE_MAP_REQUEST): new constant.
1407 (TYPE_CONFIGURE_REQUEST): new constant.
1408 (TYPE_GRAVITY_NOTIFY): new constant.
1409 (TYPE_RESIZE_REQUEST): new constant.
1410 (TYPE_CIRCULATE_NOTIFY): new constant.
1411 (TYPE_CIRCULATE_REQUEST): new constant.
1412 (TYPE_PROPERTY_NOTIFY): new constant.
1413 (TYPE_SELECTION_CLEAR): new constant.
1414 (TYPE_SELECTION_REQUEST): new constant.
1415 (TYPE_SELECTION_NOTIFY): new constant.
1416 (TYPE_COLORMAP_NOTIFY): new constant.
1417 (TYPE_MAPPING_NOTIFY): new constant.
1418 * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
1419 * gnu/gcj/xlib/natGC.cc (copyArea): new method
1420 * java/awt/Component.java (createImage): changed to use peer method.
1422 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1424 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
1425 name, not XLFD, to native drawString.
1426 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1427 Replace XLFD-based implementation with Pango-based
1430 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1432 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
1433 GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
1435 2003-08-21 David Daney <ddaney@avtrex.com>
1437 Fix for PR libgcj/12013:
1438 * java/lang/ref/natReference.cc (finalize_referred_to_object):
1439 Check `cleared' field.
1440 * java/lang/ref/Reference.java (copy): Updated comments.
1441 (cleared): New field.
1444 2003-08-21 Scott Gilbertson <scottg@mantatest.com>
1445 Thomas Fitzsimmons <fitzsim@redhat.com>
1447 * Makefile.am (gtk_awt_peer_sources): Add
1448 gnu/java/awt/peer/GLightweightPeer.java. Remove
1449 gnu/java/awt/GLightweightPeer.java.
1450 * gnu/java/awt/GLightweightPeer.java: Remove file.
1451 * gnu/java/awt/peer/GLightweightPeer.java: New file.
1452 * java/awt/Component.java (getToolkit): Add comment about
1453 lightweight components.
1454 * java/awt/Toolkit.java (createComponent): Return
1455 gnu.java.awt.peer.GLightweightPeer.
1457 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
1459 * configure.in: Fix detection of gcj when building with newlib.
1460 * configure: Regenerated.
1462 2003-08-20 Graydon Hoare <graydon@redhat.com>
1464 * jni.cc: Replace "cheating" pointer-casting code with
1465 extract_from_jvalue<> template.
1467 2003-08-20 Andrew Haley <aph@redhat.com>
1469 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
1470 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
1471 (classAt): Break out class lookup function into getClass().
1472 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
1473 handlers when using -fno-assume-compiled.
1475 2003-08-20 Tom Tromey <tromey@redhat.com>
1477 Fix for PR libgcj/9125:
1478 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
1479 object outside of loop. Respect lib_control setting.
1480 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
1482 (lib_control): New field.
1483 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
1484 (VMClassLoader): Initialize new field.
1486 * java/lang/ref/natReference.cc (finalize_referred_to_object):
1487 Set `list->reference' to DELETED_REFERENCE when removing dead
1489 (find_slot): Added an assert.
1490 (DELETED_REFERENCE): New define.
1491 (add_to_hash): Check for DELETED_REFERENCE.
1492 (remove_from_hash): Just return if found slot isn't ours.
1494 2003-08-19 Andrew Haley <aph@redhat.com>
1496 * prims.cc (unblock_signal): New function.
1497 (catch_segv): Use it.
1498 (catch_fpe): Likewise.
1500 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
1503 * java/io/natFileDescriptorWin32.cc (open): Set create
1504 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
1505 Honor EXCL when openning with WRITE flag.
1507 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
1509 * include/jvm.h: New class _Jv_TempUTFString (helper class for
1510 getting a temporary C string from a jstring)
1511 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
1512 but uses a stack buffer if the string length is less than 256
1515 2003-08-18 Tom Tromey <tromey@redhat.com>
1518 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
1519 void. Throw VirtualMachineError if ffi fails. Initialize return
1520 value. Added is_jni_call argument; only wrap exception if not a
1521 JNI call. Use descriptive message if operation not supported.
1522 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
1524 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
1525 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
1527 (_Jv_JNI_CallAnyMethodA): Likewise.
1528 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
1529 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
1531 2003-08-13 Tom Tromey <tromey@redhat.com>
1533 * gij.cc (help): Document -? and -X.
1535 2003-08-12 Graydon Hoare <graydon@redhat.com>
1537 * java/awt/Font.java:
1538 Stub out more recent API.
1540 2003-08-12 Graydon Hoare <graydon@redhat.com>
1542 * java/awt/Color.java (getAlpha):
1543 Prevent sign-extended alpha values.
1545 2003-08-12 Tom Tromey <tromey@redhat.com>
1547 * gij.cc (main): Handle -? and -X.
1549 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
1551 * java/awt/Container.java
1552 (getPreferredSize): Call preferredSize.
1553 (preferredSize): Moved body of getPreferredSize here.
1554 (getMinimumSize): Call minimumSize.
1555 (minimumSize): Moved body of getMinimumSize here.
1557 2003-08-11 Tom Tromey <tromey@redhat.com>
1559 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
1560 (postEvent): Removed FIXME comment.
1561 (isDispatchThread): Documented.
1562 (getCurrentEvent): New method.
1563 (dispatchEvent): Set currentEvent and lastWhen.
1564 (getMostRecentEventTime): Rewrote.
1565 (invokeLater): Documented.
1567 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
1569 * java/io/PrintStream.java (print): Always flush if auto_flush is
1570 set. Don't check for newline characters.
1571 (write (int)): Implement without using a temporary array.
1572 (write (byte[], int, int): Always flush if auto_flush is set. Don't
1573 check for newline characters.
1574 Fixes PR libgcj/11778.
1576 2003-08-08 Andrew Haley <aph@redhat.com>
1578 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
1579 * Makefile.in: Rebuild.
1580 * java/lang/natRuntime.cc (insertSystemProperties): Add
1581 "sun.boot.class.path".
1583 2003-08-07 Andrew Haley <aph@redhat.com>
1585 * java/io/PrintStream.java: Don't crash on a null string.
1587 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1589 * configure.in: Don't initialize GCINCS to boehm-gc/include.
1590 * configure: Regenerate.
1592 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
1594 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
1595 SocketImpl. Update Javadoc.
1596 (bind): Call close() not impl.close() in event of exception.
1597 (connect): Likewise.
1598 Remove superfluous null checks throughout.
1599 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
1600 Don't create an extra socket. Fix for PR libgcj/10868.
1601 (bind): Clean up exception handling.
1602 Remove superfluous null checks throughout.
1604 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
1605 Bryce McKinlay <bryce@mckinlay.net.nz>
1607 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
1608 ready-to-write argument to _Jv_Select. Reset the socket back to
1609 non-blocking state after connecting.
1610 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
1611 Throw SocketTimeoutException not InterruptedIOException.
1612 (read): Throw SocketTimeoutException not InterruptedIOException.
1614 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
1616 * java/lang/Thread.java (Thread): Check for null "name" from
1617 start of private constructor, not after calling the private
1620 2003-08-06 Tom Tromey <tromey@redhat.com>
1622 * java/io/FilePermission.java (equals): Use correct index for
1623 last character of path.
1625 2003-08-06 Alan Modra <amodra@bigpond.net.au>
1627 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
1628 * configure.in: Compare with_cross_host to build_alias, not build.
1629 * aclocal.m4: Regenerate.
1630 * configure: Regenerate.
1632 2003-08-05 Tom Tromey <tromey@redhat.com>
1634 Fix for PR libgcj/11779:
1635 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
1638 * java/lang/reflect/Method.java: Updated status comment.
1639 Imported javadoc from Classpath and re-ordered methods.
1640 * java/lang/reflect/Constructor.java: Reindented. Updated
1641 status comment. Imported javadoc from Classpath and re-ordered
1644 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
1646 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
1647 Add keyLocation parameter.
1648 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
1650 (paramString): Generate keyChar string according to keyChar, not
1652 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1653 (state_to_awt_mods): Handle ALT key.
1654 (keyevent_state_to_awt_mods): New function.
1655 (get_first_keyval_from_keymap): New function.
1656 (keysym_to_awt_keycode): Get virtual key code from keymap.
1657 Handle missing VK_ values.
1658 (keysym_to_awt_keylocation): New function.
1659 (keyevent_to_awt_keychar): New function.
1660 (generates_key_typed_event): Handle non-text-component case.
1661 Handle GDK_KP_Delete and GDK_KP_Enter.
1662 (awt_event_handler): Call new functions to get postKeyEvent
1664 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
1665 Update postKeyEvent method signature.
1666 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
1669 2003-08-05 Matthias Klose <doko@debian.org>
1671 * aclocal.m4: check for libart-config binary
1672 under the name libart2-config as well.
1673 * configure: regenerated.
1675 2003-08-04 David P Grove <groved@us.ibm.com>
1677 * java/text/DecimalFormat.java (format): avoid ArithmeticException
1678 when groupingSize is 0.
1681 2003-08-04 Matthias Klose <doko@debian.org>
1683 * libart.m4: check for libart-config binary
1684 under the name libart2-config as well.
1685 * configure, aclocal.m4: regenerated.
1687 2003-08-02 Michael Koch <konqueror@gmx.de>
1689 * java/nio/ByteBufferImpl.java
1690 (getChar): Check remaining bytes, fixed comment about endianess.
1691 (putChar): Likewise.
1692 (getShort): Likewise.
1693 (putShort): Likewise.
1694 (getInt): Check remaining bytes, fixed conversion, fixed comment about
1697 (getLong): Likewise.
1698 (putLong): Likewise.
1699 (getFloat): Likewise.
1700 (putFloat): Likewise.
1701 (getDouble): Likewise.
1702 (putDouble): Likewise.
1703 * java/nio/DirectByteBufferImpl.java
1704 (getChar): Wrapped code, fixed comment about endianess.
1705 (putchar): Likewise.
1706 (getShort): Likewise.
1707 (putShort): Likewise.
1708 (getInt): Fixed conversion, fixed comment about endianess.
1710 (getLong): Likewise.
1711 (putLong): Likewise.
1712 (getFloat): Likewise.
1713 (putFloat): Likewise.
1714 (getDouble): Likewise.
1715 (putDouble): Likewise.
1716 * java/nio/MappedByteBufferImpl.java
1717 (compact): Implemented.
1718 (getChar): Implemented.
1719 (putChar): Implemented.
1720 (getDouble): Implemented.
1721 (putdouble): Implemented.
1722 (getFloat): Implemented.
1723 (putFloat): Implemented.
1724 (getInt): Implemented.
1725 (putInt): Implemented.
1726 (getLong): Implemented.
1727 (putLong): Implemented.
1728 (getShort): Implemented.
1729 (putShort): Implemented.
1730 * java/nio/channels/FileChannelImpl.java
1731 (read): Set position where to access file.
1733 (transferTo): Flip buffer after read and before write.
1734 (transferFrom): Likewise.
1736 2003-08-02 Michael Koch <konqueror@gmx.de>
1738 * gnu/java/lang/ArrayHelper.java
1739 (equalsArray): Reformated, added method documentation.
1741 2003-08-02 Michael Koch <konqueror@gmx.de>
1744 (URL): Added paragraph about the
1745 gnu.java.net.nocache_protocol_handlers property.
1746 (ph_cache): Renamed from handlers to match classpath's implementation.
1747 Reordered it with factory and serialVersionUID member variables.
1748 (cache_handlers): New member variable.
1749 (static): New static initializer to initialize cache_handlers from
1750 gnu.java.net.nocache_protocol_handlers property.
1751 (URL): Use ph_cache instead of handlers, reformatted some code to
1752 match classpath's implementation.
1754 2003-08-01 Tom Tromey <tromey@redhat.com>
1756 Fix for PR libgcj/11241:
1757 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
1758 initialCapacity is 0, set it to 1.
1760 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
1762 * java/net/SocketImpl.java (toString): Display the remote address
1763 of an unconnected server socket as "0.0.0.0/0.0.0.0".
1765 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
1767 * javax/swing/border/BevelBorder.java,
1768 javax/swing/border/EtchedBorder.java,
1769 javax/swing/border/LineBorder.java,
1770 javax/swing/border/MatteBorder.java,
1771 javax/swing/border/SoftBevelBorder.java,
1772 javax/swing/plaf/BorderUIResource.java,
1773 javax/swing/plaf/ComponentUI.java,
1774 javax/swing/plaf/TreeUI.java,
1775 javax/swing/plaf/basic/BasicBorders.java,
1776 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1777 javax/swing/plaf/basic/BasicTreeUI.java:
1778 Prepend "doc-files" to all paths to embedded Javadoc images, so
1779 that the generated documentation contains the correct URL.
1781 2003-08-01 Tom Tromey <tromey@redhat.com>
1783 * configure: Rebuilt.
1784 * configure.in (tool_include_dir): Redefine to match gcc.
1786 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
1787 Mark Wielaard <mark@klomp.org>
1789 * java/math/BigDecimal (divide): Correctly handle
1790 ROUND_HALF_EVEN when amount is greater than 0.5.
1791 Simplify and optimize code.
1793 2003-07-31 Tom Tromey <tromey@redhat.com>
1795 More for PR libgcj/11737:
1796 * java/io/ObjectInputStream.java (processResolution): Use
1798 (getMethod): Make method accessible.
1799 (getField): Make field accessible.
1800 (setBooleanField): Don't call setAccessible here.
1801 (setByteField, setCharField, setDoubleField, setFloatField,
1802 setIntField, setLongField, setShortField, setObjectField):
1804 (callReadMethod): Don't check whether method is null. Catch
1805 NoSuchMethodException.
1806 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
1807 cause on thrown exceptions.
1809 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
1811 Fix for PR libgcj/11728:
1812 * java/util/HashMap.java (readObject): Set size.
1814 2003-07-31 Tom Tromey <tromey@redhat.com>
1816 Fix for PR libgcj/11737:
1817 * java/io/ObjectOutputStream.java (getMethod): Make method
1819 (getField): Likewise.
1820 (writeObject): Use getMethod.
1821 Import PrivilegedAction and AccessController.
1822 (callWriteMethod): Don't check whether m is null. Catch
1823 NoSuchMethodException.
1825 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
1826 (containsAngle): Likewise.
1827 (getStartPoint): Rewrote.
1828 (getEndPoint): Likewise.
1829 (setAngleStart(Point2D)): Likewise.
1831 2003-07-31 Roger Sayle <roger@eyesopen.com>
1832 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1834 * configure.in: Add new THREADCXXFLAGS variable.
1835 Handle POSIX threads on alpha*-dec-osf*.
1836 * configure: Regenerate.
1837 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
1838 * Makefile.in: Regenerate.
1840 2003-07-08 Andrew Haley <aph@redhat.com>
1842 * include/i386-signal.h (RESTORE): New.
1843 (INIT_SEGV): Set restorer.
1844 (INIT_FPE): Likewise.
1846 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
1848 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
1850 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1851 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
1852 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1853 (gtkSetFont): Scale size parameter by PANGO_SCALE.
1854 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
1856 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
1859 2003-07-29 Tom Tromey <tromey@redhat.com>
1861 * defineclass.cc (handleField): Throw exception if field name is
1863 (handleMethod): Throw exception for duplicate method.
1865 2003-07-29 Tom Tromey <tromey@redhat.com>
1867 * gnu/gcj/convert/natIconv.cc (write): Handle case where
1868 output buffer is too small.
1870 2003-07-28 Tom Tromey <tromey@redhat.com>
1872 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
1874 Include gnu/gcj/runtime/StringBuffer.h.
1875 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
1877 (String(gnu.gcj.runtime.StringBuffer)): Use it.
1879 2003-07-27 Anthony Green <green@redhat.com>
1881 * configure.in: Fix newlib check.
1882 * configure: Rebuilt.
1884 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
1886 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1887 Create vbox and layout for GtkPlug.
1889 2003-07-27 Michael Koch <konqueror@gmx.de>
1891 * java/awt/Window.java
1892 (Window): Removed now unused constructor. It became oboslete with the
1893 new embedded window patch.
1895 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
1896 Michael Koch <konqueror@gmx.de>
1898 * gnu/java/awt/EmbeddedWindow.java
1899 (EmbeddedWindow): Extends Frame instead of Window.
1900 (window_id): New member variable to store the native window handle.
1902 (EmbeddedWindow): New constructor.
1903 (addNotify): New method.
1904 (getHandler): Likewise.
1905 (setWindowPeer): New native method.
1906 * gnu/java/awt/EmbeddedWindowSupport.java
1907 (EmbeddedWindowSupport): Fixed documentation.
1908 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
1909 WindowPeer, give it an EmbeddedWindow instance instead of the raw
1911 * gnu/java/awt/natEmbeddedWindow.cc
1913 (setWindowPeer): New method.
1914 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
1915 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
1916 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1918 * gnu/java/awt/peer/gtk/GtkToolkit.java
1919 (GtkToolkit): Implements EmbeddedWindowSupport.
1920 (createEmbeddedWindow): New method.
1921 * java/awt/Window.java
1924 (java_source_files): Added EmbeddedWindowPeer.java.
1925 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
1926 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
1927 * Makefile.in: Regenerated.
1929 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
1931 * java/lang/Win32Process.java (ConcreteProcess): Surround
1932 a command line element with quotes if it contains an
1933 embedded space or tab.
1934 * java/lang/natWin32Process.cc (startProcess): Do not
1935 surround command line elements with quotes here.
1937 * configure.host: Use -fcheck-references and
1938 -fuse-divide-subroutine for MinGW until we fix
1939 win32_exception_handler( ) in win32.cc w.r.t. Win32
1940 Structured Exception Handling (SEH).
1942 * win32.cc (_Jv_platform_initProperties): Use generic names
1943 like "x86" for the "os.arch" property to be consistent with
1944 what Sun's JDK produces. Use the wProcessorArchitecture
1945 member of the Win32 SYSTEM_INFO structure, filled in a call
1946 to GetSystemInfo( ), instead of dwProcessorType.
1948 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
1949 Ranjit Mathew <rmathew@hotmail.com>
1951 * Makefile.am: Use cross-compiling gcjh from the path for
1952 a crossed-native build.
1953 * Makefile.in: Rebuilt.
1954 * configure.in: Include libltdl in non-newlib builds.
1955 Moved determination of gcj used to build libraries to
1956 its own section. Fixed cross-compilation issues for
1958 * configure: Rebuilt.
1960 2003-07-25 Tom Tromey <tromey@redhat.com>
1962 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
1967 2003-07-25 Mark Wielaard <mark@klomp.org>
1969 * java/lang/natRuntime.cc (_load): Add library name to
1970 UnsatisfiedLinkError when thrown.
1972 2003-07-25 Mark Wielaard <mark@klomp.org>
1974 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
1976 * Makefile.in: Likewise.
1978 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
1980 * java/awt/Component.java
1981 (getPreferredSize): Call preferredSize.
1982 (preferredSize): Moved body of getPreferredSize here.
1983 (getMinimumSize): Call minimumSize.
1984 (minimumSize): Moved body of getMinimumSize here.
1985 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
1986 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
1988 * java/awt/Container.java
1989 (validate): Don't validate if there is no peer.
1990 (update): Clear background before calling paint.
1991 * java/awt/GridBagLayout.java
1992 Completed the implementation and fixed several bugs.
1993 * java/awt/MediaTracker.java
1994 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
1996 * java/awt/Window.java
1997 (Window): Don't call setVisible(false). Windows are invisible by
1998 default and calling virtual methods from constructor causes
1999 compatibility problems (e.g. subclasses may assume that the peer
2002 2003-07-25 Michael Koch <konqueror@gmx.de>
2004 * java/awt/GridBagLayout.java:
2005 Totally reworked and partly implemented.
2006 * java/awt/GridBagLayoutInfo.java:
2009 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
2011 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
2012 Don't pack label in an event box.
2014 2003-07-24 Tom Tromey <tromey@redhat.com>
2017 * verify.cc (ref_intersection): New class.
2018 (type_val): Removed unresolved_reference_type,
2019 uninitialized_unresolved_reference_type.
2020 (is_assignable_from_slow): Rewrote.
2021 (type::data): Removed.
2022 (type::klass): New field.
2023 (type::type): Added verifier argument.
2024 (type::resolve): Removed.
2025 (type::set_uninitialized): Updated for change to type_val.
2026 (type::set_initialized): Likewise.
2027 (type::isinitialized): Likewise.
2028 (type::print): Likewise.
2029 (construct_primitive_array_type): Likewise.
2030 (type::compatible): Updated for change to type_val and to use
2032 (type::isarray): Updated to use ref_intersection.
2033 (type::isinterface): Likewise.
2034 (type::element_type): Likewise.
2035 (type::to_array): Likewise.
2036 (type::verify_dimensions): Rewrote.
2037 (type::merge): Likewise.
2038 (check_class_constant): Updated for type constructor change.
2039 (check_constant): Likewise.
2040 (check_field_constant): Likewise.
2041 (get_one_type): Likewise.
2042 (initialize_stack): Likewise.
2043 (verify_instructions_0): Likewise.
2044 (verify_instructions_0) [op_invokeinterface]: Removed special
2046 (isect_list): New field.
2047 (_Jv_BytecodeVerifier): Initialize it.
2048 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
2050 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
2052 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
2053 unless field size is 2.
2055 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2057 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2058 (connectHooks): New method.
2059 (handleEvent): Remove.
2060 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2061 (createHooks): Remove declaration.
2062 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2063 (generates_key_typed_event): Change to handle only certain
2065 (awt_event_handler): Add special handling for GtkTextView.
2066 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2067 (textcomponent_commit_cb): New function.
2068 (textcomponent_changed_cb): Likewise.
2069 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2070 (connectHooks): Remove.
2072 2003-07-23 Tom Tromey <tromey@redhat.com>
2074 * java/lang/natSystem.cc (arraycopy): Check for overflow.
2076 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
2078 2003-07-22 Tom Tromey <tromey@redhat.com>
2080 * boehm.cc (_Jv_BuildGCDescr): Wrote.
2083 2003-07-22 Tom Tromey <tromey@redhat.com>
2085 * java/awt/Window.java (getWarningString): Just return the
2087 (Window): Set warningString; check with security manager.
2089 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
2091 * gnu/awt/xlib/XGraphicsConfiguration.java
2092 (FontMetricsCache): Made static.
2094 2003-07-22 Tom Tromey <tromey@redhat.com>
2096 * java/net/URLEncoder.java (encode(String)): Use platform default
2098 (encode(String,String)): Convert to 2-digit upper-case hex
2102 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2104 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2105 (create): Remove unused method implementation.
2106 (connectHooks): Remove debug messages.
2108 2003-07-20 Anthony Green <green@redhat.com>
2110 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
2111 CloneNotSupportedException.
2112 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
2113 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
2114 * gnu/gcj/xlib/GC.java (clone): Ditto.
2115 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
2116 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
2118 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
2120 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
2122 2003-07-20 Steve Pribyl <steve@netfuel.com.>
2124 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
2125 String. Put dlerror() message into exception.
2126 Include UnsatisfiedLinkError.
2127 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
2130 2003-07-20 Tom Tromey <tromey@redhat.com>
2132 * java/lang/Runtime.java: Comment fix.
2133 * java/lang/ClassLoader.java (isAncestorOf): New method.
2134 (getParent): Uncommented security check. Use isAncestorOf.
2135 * include/jvm.h (_Jv_CheckAccess): Declare.
2136 * java/lang/reflect/natConstructor.cc (newInstance): Perform
2138 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
2139 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
2140 class loader to _Jv_GetArrayClass.
2141 Include ArrayIndexOutOfBoundsException.h.
2142 * java/lang/reflect/Field.java: Update comment to reflect status.
2143 (equals): Fixed indentation.
2144 * java/lang/Class.h (Class): Declare memberAccessCheck, not
2145 checkMemberAccess. Make _Jv_CheckAccess a friend.
2146 * java/lang/Class.java (memberAccessCheck): New method from
2148 (checkMemberAccess): Removed.
2149 (getDeclaredMethod): Use memberAccessCheck.
2150 (getField): Likewise.
2151 (getMethod): Likewise.
2152 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
2153 (_Jv_SearchMethodInClass): Likewise.
2154 * prims.cc (_Jv_CheckAccess): New function.
2155 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
2156 (_Jv_JNI_GetAnyFieldID): Likewise.
2157 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
2158 (getClassLoader): Added security check.
2159 (getConstructor): Call memberAccessCheck.
2160 (getDeclaredClasses): Likewise.
2161 (getDeclaredField): Likewise.
2162 (getDeclaredFields): Likewise.
2163 (_getConstructors): Likewise.
2164 (getDeclaredConstructor): Likewise.
2165 (getDeclaredMethods): Likewise.
2166 (getFields): Likewise.
2167 (getMethods): Likewise.
2168 (newInstance): Likewise.
2169 (_Jv_MakeVTable): Put method name in exception.
2170 * java/lang/reflect/natMethod.cc (getType): Use
2171 getClassLoaderInternal.
2172 (_Jv_GetTypesFromSignature): Likewise.
2173 (invoke): Perform access check.
2174 (_Jv_CallAnyMethodA): Removed old FIXME comments.
2175 Include ArrayIndexOutOfBoundsException.h.
2176 * java/lang/reflect/natField.cc (getType): Use
2177 getClassLoaderInternal.
2178 (_Jv_CheckFieldAccessibility): Removed.
2179 (getAddr): Use _Jv_CheckAccess; find caller.
2180 Include ArrayIndexOutOfBoundsException.h.
2182 2003-07-20 Michael Koch <konqueror@gmx.de>
2185 (URL): Fixed documentation to name an argument correcty, Reformatted
2186 one method declaration.
2187 (getURLStreamHandler): Added documentation from classpath.
2189 2003-07-19 Tom Tromey <tromey@redhat.com>
2191 * mauve-libgcj: Don't run CollationElementIterator tests.
2193 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
2195 * java/net/URLClassLoader.java (addURL): Moved implementation to
2196 private addURLImpl() to avoid calling addURL from the constructor.
2197 (addURLImpl): Contains the code that was previously in addURL.
2198 (addURLs): Call addURLImpl(), not addURL().
2200 2003-07-18 Graydon Hoare <graydon@redhat.com>
2202 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
2203 Handle missing event cases, connect to "value-changed" signal.
2205 2003-07-18 Graydon Hoare <graydon@redhat.com>
2207 * java/awt/geom/CubicCurve2D.java,
2208 java/awt/geom/Line2D.java,
2209 java/awt/geom/QuadCurve2D.java,
2210 java/awt/geom/Rectangle2D.java:
2211 Fix path some calculations, make path iterators follow
2214 2003-07-18 Mark Wielaard <mark@klomp.org>
2216 * java/util/logging/Handler.java (isLoggable): Check record level
2219 2003-07-17 Michael Koch <konqueror@gmx.de>
2221 * gnu/java/awt/peer/gtk/GtkToolkit.java:
2224 2003-07-14 Michael Koch <konqueror@gmx.de>
2226 * gnu/java/rmi/server/UnicastServerRef.java:
2227 New version from classpath.
2229 2003-07-14 Michael Koch <konqueror@gmx.de>
2231 * java/awt/image/MemoryImageSource.java,
2232 java/beans/PropertyEditorManager.java,
2233 javax/naming/CompoundName.java,
2234 javax/naming/spi/NamingManager.java,
2235 javax/swing/AbstractButton.java,
2236 javax/swing/ButtonModel.java,
2237 javax/swing/SwingUtilities.java,
2238 javax/swing/UIManager.java,
2239 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2240 javax/swing/event/AncestorEvent.java,
2241 javax/swing/event/InternalFrameEvent.java,
2242 java/util/zip/ZipFile.java:
2243 New versions from classpath.
2245 2003-07-13 Michael Koch <konqueror@gmx.de>
2247 * gnu/java/nio/FileChannelImpl.java,
2248 gnu/java/nio/natFileChannelImpl.cc: Removed.
2249 * java/io/FileInputStream.java,
2250 java/io/FileOutputStream.java,
2251 java/io/RandomAccessFile.java,
2252 java/nio/MappedByteBufferImpl.java:
2253 Import java.nio.channels.FileChannelImpl instead of
2254 gnu.java.nio.FileChannelImpl.
2255 * java/nio/channels/FileChannelImpl.java,
2256 java/nio/channels/natFileChannelImpl.cc:
2259 (ordinary_java_source_files):
2260 Removed gnu/java/nio/FileChannelImpl.java and added
2261 java/nio/channels/FileChannelImpl.java.
2263 Removed gnu/java/nio/natFileChannelImpl.cc and added
2264 java/nio/channels/natFileChannelImpl.cc.
2265 * Makefile.in: Regenerated.
2267 2003-07-13 Michael Koch <konqueror@gmx.de>
2269 * javax/swing/plaf/basic/BasicBorders.java,
2270 javax/swing/plaf/basic/BasicLabelUI.java,
2271 javax/swing/plaf/basic/BasicLookAndFeel.java,
2272 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2273 javax/swing/plaf/basic/BasicTextUI.java,
2274 javax/swing/plaf/metal/MetalLookAndFeel.java:
2275 New versions from classpath.
2277 2003-07-13 Michael Koch <konqueror@gmx.de>
2279 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
2280 * gnu/java/awt/peer/gtk/GdkGraphics.java
2281 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
2282 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
2283 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
2284 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
2285 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
2286 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2287 * gnu/java/awt/peer/gtk/GtkClipboard.java
2288 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
2289 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2290 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2291 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
2292 * gnu/java/awt/peer/gtk/GtkImage.java
2293 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2294 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
2295 * gnu/java/awt/peer/gtk/GtkListPeer.java
2296 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2297 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2298 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2299 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
2300 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
2301 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
2302 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
2303 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
2304 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
2305 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
2306 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2307 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2309 2003-07-13 Michael Koch <konqueror@gmx.de>
2311 * gnu/java/locale/LocaleInformation_de.java
2312 * gnu/java/locale/LocaleInformation_en.java
2313 * gnu/java/locale/LocaleInformation_nl.java
2315 2003-07-13 Michael Koch <konqueror@gmx.de>
2317 * gnu/java/awt/EmbeddedWindow.java,
2318 gnu/java/awt/EmbeddedWindowSupport.java,
2319 gnu/java/awt/natEmbeddedWindow.cc:
2321 * java/awt/Window.java
2322 (Window): New constructor to support embedded windows.
2324 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
2325 gnu/java/awt/EmbeddedWindowSupport.java.
2326 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
2327 * Makefile.in: Regenerated.
2329 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
2331 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
2332 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
2333 * java/awt/im/InputContext.java: Remove a redundant
2336 2003-07-09 Tom Tromey <tromey@redhat.com>
2338 * Makefile.in: Rebuilt.
2339 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
2341 2003-07-09 Mark Wielaard <mark@klomp.org>
2343 * java/io/ObjectOutputStream.java (writeObject): break after
2344 calling writeClassDescriptor().
2346 2003-07-09 Mark Mitchell <mark@codesourcery.com>
2348 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
2350 2003-07-09 Michael Koch <konqueror@gmx.de>
2352 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2353 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
2354 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
2355 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
2356 Explicitly import used classes.
2357 * java/awt/Container.java: New version from classpath.
2359 2003-07-09 Michael Koch <konqueror@gmx.de>
2361 * libgcj.pc.in: New file.
2362 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
2363 * Makefile.in: Regenerated.
2364 * configure: Regenrated.
2365 * configure.in: Create libgcj.pc from libgcj.pc.in.
2367 2003-07-08 Mark Wielaard <mark@klomp.org>
2369 * gcj/cni.h: CNI now expands to Compiled Native Interface.
2371 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
2372 * java/lang/fdlibm.h: Likewise.
2374 2003-07-07 Adam Megacz <adam@xwt.org>
2376 * posix.cc: added #include<stdio.h>
2378 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2380 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
2383 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2384 (setCaretPosition, setEditable): Rely entirely on native
2387 (postTextEvent): New method.
2388 (handleEvent): New method.
2389 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
2391 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
2392 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2393 (keysym_to_awt_keycode): Fix range checks.
2394 (generates_key_typed_event): New function.
2395 (awt_event_handler): Post AWT_KEY_RELEASED events to event
2397 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2398 (gtkInit): Store TextComponent's postTextEvent method ID.
2399 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2400 (setText): Post TEXT_VALUE_CHANGED event to event queue.
2402 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2404 * configure.in: Check for usleep declaration.
2405 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
2406 * configure: Regenerate.
2407 * include/config.h.in: Likewise.
2408 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
2410 2003-07-01 Michael Koch <konqueror@gmx.de>
2412 * gnu/gcj/convert/natIconv.cc
2413 (iconv_init): Fixed possible memory leak by releasing allocated iconv
2416 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2418 * glib-2.0.m4: New file.
2419 * gtk-2.0.m4: New file.
2422 * configure.in: Update AM_PATH_GTK macro call to
2423 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
2424 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
2425 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
2426 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2427 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
2428 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2429 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2430 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
2431 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
2432 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2433 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
2434 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2435 jni/gtk-peer/gthread-jni.c,
2436 jni/gtk-peer/gthread-jni.h:
2437 New versions from classpath.
2438 * aclocal.m4: Regenerate.
2439 * configure: Regenerate.
2440 * Makefile.in: Regenerate.
2441 * gcj/Makefile.in: Regenerate.
2442 * include/Makefile.in: Regenerate.
2443 * testsuite/Makefile.in: Regenerate.
2445 2003-06-30 Gary Benson <gbenson@redhat.com>
2447 For PR libgcj/11349:
2448 * javax/naming/spi/NamingManager.java (getURLContext): Use
2449 correct name for factory class.
2451 2003-06-28 Michael Koch <konqueror@gmx.de>
2453 * java/io/PrintStream.java
2454 (checkError): Call flush() instead of direct flushing of the Writer
2456 (print): Call print(String) instead of direct print method of the
2458 (println): Call println(String) instead of direct println method of the
2460 (write): Simplified.
2462 2003-06-28 Michael Koch <konqueror@gmx.de>
2464 * java/net/ServerSocket.java
2465 (setChannel): New method.
2466 * java/net/Socket.java
2467 (setChannel): New method.
2469 2003-06-27 Michael Koch <konqueror@gmx.de>
2471 * java/beans/beancontext/BeanContextSupport.java:
2472 New version from classpath.
2474 2003-06-27 Michael Koch <konqueror@gmx.de>
2476 * java/awt/Window.java,
2477 java/awt/font/GraphicAttribute.java,
2478 java/awt/font/ImageGraphicAttribute.java,
2479 java/awt/image/DataBufferByte.java,
2480 java/awt/image/DataBufferInt.java,
2481 java/awt/image/DataBufferUShort.java,
2482 java/awt/image/DirectColorModel.java,
2483 java/awt/image/PixelGrabber.java:
2484 New versions from classpath.
2486 2003-06-27 Michael Koch <konqueror@gmx.de>
2488 * java/security/Certificate.java
2489 (getGuarantor): Removed wrong @deprecated tag.
2490 (getPrincipal): Likewise.
2491 (getPublicKey): Likewise.
2494 (getFormat): Likewise.
2495 (toString): Likewise.
2496 * java/security/cert/PolicyQualifierInfo.java
2497 (PolicyQualifierInfo): Made final.
2498 * javax/security/auth/x500/X500Principal.java
2499 (serialVersionUID): New member variable.
2501 2003-06-27 Michael Koch <konqueror@gmx.de>
2503 * java/text/Format.java
2504 (serialVersionUID): Fixed value.
2506 2003-06-27 Michael Koch <konqueror@gmx.de>
2508 * java/net/Inet4Address.java
2509 (Inet4Address): Made package-private.
2510 * java/net/Inet6Address.java
2511 (Inet4Address): Made package-private.
2513 2003-06-27 Michael Koch <konqueror@gmx.de>
2515 * java/io/RandomAccessFile.java
2516 (readLine): Removed wrong @deprecated tag.
2517 (getChannel): Made final.
2519 2003-06-27 Michael Koch <konqueror@gmx.de>
2521 * gnu/java/nio/FileChannelImpl.java
2524 2003-06-27 Michael Koch <konqueror@gmx.de>
2526 * java/nio/ByteBufferImpl.java
2527 (ByteBufferImpl): Made it a package-private class
2528 * java/nio/CharBufferImpl.java
2529 (CharBufferImpl): Made it a package-private class
2530 * java/nio/DirectByteBufferImpl.java
2531 (DirectByteBufferImpl): Made it a package-private class
2532 * java/nio/DoubleBufferImpl.java
2533 (DoubleBufferImpl): Made it a package-private class
2534 * java/nio/FloatBufferImpl.java
2535 (FloatBufferImpl): Made it a package-private class
2536 * java/nio/IntBufferImpl.java
2537 (IntBufferImpl): Made it a package-private class
2538 * java/nio/LongBufferImpl.java
2539 (LongBufferImpl): Made it a package-private class
2540 * java/nio/ShortBufferImpl.java
2541 (ShortBufferImpl): Made it a package-private class
2542 * java/nio/channels/FileChannel.java
2543 (write): Made final.
2544 * java/nio/channels/ServerSocketChannel.java
2545 (ServerSocketChanne): Made protected.
2547 2003-06-27 Michael Koch <konqueror@gmx.de>
2549 * javax/naming/CompositeName.java
2550 (serialVersionUID): New member variable.
2551 * javax/naming/CompoundName.java
2552 (serialVersionUID): New member variable.
2553 * javax/naming/InitialContext.java
2554 (InitialContext): Throws NamingException.
2556 * javax/naming/LinkRef.java
2557 (serialVersionUID): New member variable.
2558 (gteLinkName): Throws NamingException.
2559 * javax/naming/NamingException.java
2560 (serialVersionUID): New member variable.
2561 * javax/naming/NamingSecurityException.java
2562 (NamingSecurityException): Made abstract.
2563 (serialVersionUID): New member variable.
2564 * javax/naming/ReferralException.java
2565 (serialVersionUID): New member variable.
2566 * javax/naming/StringRefAddr.java
2567 (serialVersionUID): New member variable.
2568 * javax/naming/directory/BasicAttribute.java:
2570 (serialVersionUID): New member variable.
2571 (get): Throws NamingException.
2572 (getAll): Throws NamingException.
2573 * javax/naming/directory/BasicAttributes.java:
2575 (serialVersionUID): New member variable.
2576 * javax/naming/ldap/UnsolicitedNotificationEvent.java
2577 (serialVersionUID): New member variable.
2579 2003-06-27 Michael Koch <konqueror@gmx.de>
2582 (awt_java_source_files): Added new files:
2583 javax/swing/Popup.java,
2584 javax/swing/PopupFactory.java
2585 * Makefile.in: Regenerated.
2587 2003-06-27 Michael Koch <konqueror@gmx.de>
2589 * javax/swing/JWindow.java,
2590 javax/swing/event/AncestorEvent.java,
2591 javax/swing/event/HyperlinkEvent.java,
2592 javax/swing/event/InternalFrameEvent.java,
2593 javax/swing/event/ListDataEvent.java,
2594 javax/swing/event/TableModelEvent.java,
2595 javax/swing/plaf/PopupMenuUI.java,
2596 javax/swing/plaf/SplitPaneUI.java,
2597 javax/swing/plaf/TabbedPaneUI.java,
2598 javax/swing/plaf/TextUI.java,
2599 javax/swing/plaf/TreeUI.java,
2600 javax/swing/plaf/basic/BasicTextUI.java,
2601 javax/swing/plaf/basic/BasicTreeUI.java:
2602 New versions from classpath.
2603 * javax/swing/Popup.java,
2604 javax/swing/PopupFactory.jav:
2605 New source files from classpath.
2606 * javax/swing/plaf/doc-files/TreeUI-1.png:
2607 New binary files from classpath.
2609 2003-06-25 Michael Koch <konqueror@gmx.de>
2612 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
2613 * Makefile.in: Regenerated.
2615 2003-06-25 Michael Koch <konqueror@gmx.de>
2617 * javax/swing/plaf/ActionMapUIResource.java,
2618 javax/swing/plaf/BorderUIResource.java,
2619 javax/swing/plaf/ButtonUI.java,
2620 javax/swing/plaf/ColorChooserUI.java,
2621 javax/swing/plaf/ColorUIResource.java,
2622 javax/swing/plaf/ComboBoxUI.java,
2623 javax/swing/plaf/ComponentInputMapUIResource.java,
2624 javax/swing/plaf/ComponentUI.java,
2625 javax/swing/plaf/DesktopIconUI.java,
2626 javax/swing/plaf/DesktopPaneUI.java,
2627 javax/swing/plaf/DimensionUIResource.java,
2628 javax/swing/plaf/FileChooserUI.java,
2629 javax/swing/plaf/FontUIResource.java,
2630 javax/swing/plaf/IconUIResource.java,
2631 javax/swing/plaf/InputMapUIResource.java,
2632 javax/swing/plaf/InsetsUIResource.java,
2633 javax/swing/plaf/InternalFrameUI.java,
2634 javax/swing/plaf/LabelUI.java,
2635 javax/swing/plaf/ListUI.java,
2636 javax/swing/plaf/MenuBarUI.java,
2637 javax/swing/plaf/MenuItemUI.java,
2638 javax/swing/plaf/OptionPaneUI.java,
2639 javax/swing/plaf/PanelUI.java,
2640 javax/swing/plaf/ProgressBarUI.java,
2641 javax/swing/plaf/RootPaneUI.java,
2642 javax/swing/plaf/ScrollBarUI.java,
2643 javax/swing/plaf/ScrollPaneUI.java,
2644 javax/swing/plaf/SeparatorUI.java,
2645 javax/swing/plaf/SliderUI.java,
2646 javax/swing/plaf/TableHeaderUI.java,
2647 javax/swing/plaf/TableUI.java,
2648 javax/swing/plaf/ToolBarUI.java,
2649 javax/swing/plaf/ToolTipUI.java,
2650 javax/swing/plaf/ViewportUI.java:
2651 New versions from classpath.
2652 * javax/swing/plaf/SpinnerUI.java:
2653 New file from classpath
2655 2003-06-25 Michael Koch <konqueror@gmx.de>
2657 * java/awt/image/ColorModel.java:
2658 New version from classpath.
2660 2003-06-25 Michael Koch <konqueror@gmx.de>
2662 * java/net/PlainDatagramSocketImpl.java:
2663 Partly merged with classpath, this mainly adds documentation.
2665 2003-06-25 Michael Koch <konqueror@gmx.de>
2667 * java/io/ObjectInputStream.java
2668 (readClassDescriptor): New method.
2669 (readObject): Moved functionality to readClassDescriptor().
2670 * java/io/ObjectOutputStream.java
2671 (writeClassDescriptor): New method.
2672 (writeObject): Moved functionality to writeClassDescriptor().
2674 2003-06-25 Michael Koch <konqueror@gmx.de>
2676 * javax/swing/plaf/basic/BasicListUI.java,
2677 javax/swing/plaf/basic/BasicOptionPaneUI.java:
2678 Added missing methods.
2680 2003-06-25 Michael Koch <konqueror@gmx.de>
2682 * javax/swing/event/AncestorEvent.java
2683 javax/swing/event/HyperlinkEvent.java
2684 javax/swing/event/InternalFrameEvent.java
2685 javax/swing/event/ListDataEvent.java
2686 javax/swing/event/TableModelEvent.java:
2689 2003-06-24 Michael Koch <konqueror@gmx.de>
2691 * java/net/URL.java:
2692 Renamed "handler" to "ph" in the whole file to match classpaths
2694 * java/net/URLStreamHandler.java:
2695 (equals): Renamed "handler" to "ph".
2697 2003-06-24 Michael Koch <konqueror@gmx.de>
2699 * javax/swing/event/AncestorEvent.java,
2700 javax/swing/event/HyperlinkEvent.java,
2701 javax/swing/event/InternalFrameEvent.java,
2702 javax/swing/event/ListDataEvent.java,
2703 javax/swing/event/TableModelEvent.java,
2704 javax/swing/event/TreeWillExpandListener.java,
2705 javax/swing/plaf/ComponentUI.java,
2706 javax/swing/plaf/DesktopIconUI.java,
2707 javax/swing/plaf/DesktopPaneUI.java,
2708 javax/swing/plaf/DimensionUIResource.java,
2709 javax/swing/plaf/FileChooserUI.java,
2710 javax/swing/plaf/FontUIResource.java,
2711 javax/swing/plaf/IconUIResource.java,
2712 javax/swing/plaf/InputMapUIResource.java,
2713 javax/swing/plaf/InsetsUIResource.java,
2714 javax/swing/plaf/InternalFrameUI.java,
2715 javax/swing/plaf/LabelUI.java,
2716 javax/swing/plaf/ListUI.java,
2717 javax/swing/plaf/MenuBarUI.java,
2718 javax/swing/plaf/MenuItemUI.java,
2719 javax/swing/plaf/OptionPaneUI.java,
2720 javax/swing/plaf/PanelUI.java,
2721 javax/swing/plaf/ProgressBarUI.java,
2722 javax/swing/plaf/doc-files/ComponentUI-1.dia,
2723 javax/swing/plaf/doc-files/ComponentUI-1.png:
2724 New versions from classpath.
2726 2003-06-24 Michael Koch <konqueror@gmx.de>
2728 * java/nio/Buffer.java
2729 (cap): Made package-private.
2734 2003-06-24 Michael Koch <konqueror@gmx.de>
2736 * java/net/SocketImpl.java
2737 (shutdownInput): Made it non-abstract method throwing an exception
2739 (shutdownOutput): Likewise.
2740 * java/net/SocketInputStream.java,
2741 java/net/SocketOutputStream.java:
2742 New files from classpath.
2744 2003-06-24 Michael Koch <konqueror@gmx.de>
2746 * java/awt/Font.java,
2747 java/awt/Window.java,
2748 java/awt/color/ColorSpace.java,
2749 java/awt/datatransfer/StringSelection.java,
2750 java/awt/image/ColorModel.java:
2751 New versions from classpath.
2753 2003-06-24 Michael Koch <konqueror@gmx.de>
2756 (awt_java_source_files): Added new files:
2757 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
2758 javax/swing/plaf/basic/BasicSplitPaneUI.java
2759 * Makefile.in: Regenerated.
2761 2003-06-24 Michael Koch <konqueror@gmx.de>
2763 * javax/swing/text/JTextComponent.java:
2764 New version from classpath.
2766 2003-06-24 Michael Koch <konqueror@gmx.de>
2768 * javax/swing/Timer.java,
2769 javax/swing/plaf/ActionMapUIResource.java,
2770 javax/swing/plaf/ButtonUI.java,
2771 javax/swing/plaf/ColorChooserUI.java,
2772 javax/swing/plaf/ColorUIResource.java,
2773 javax/swing/plaf/ComboBoxUI.java,
2774 javax/swing/plaf/ComponentInputMapUIResource.java,
2775 javax/swing/plaf/basic/BasicBorders.java:
2776 New versions from classpath.
2777 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
2778 javax/swing/plaf/basic/BasicSplitPaneUI.java:
2779 New file from classpath.
2780 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
2781 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
2782 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
2783 javax/swing/plaf/doc-files/ComponentUI-1.dia,
2784 javax/swing/plaf/doc-files/ComponentUI-1.png:
2785 New binary files from classpath.
2787 2003-06-24 Michael Koch <konqueror@gmx.de>
2789 * java/io/LineNumberReader.java
2790 (skip): Dont do line number accounting here as this is already done in
2793 2003-06-21 Michael Koch <konqueror@gmx.de>
2796 (static): Load javaio lib if existing (only in classpath).
2797 (File): Revised documentation to show the correct argument name.
2798 (createTempFile): Partly merged with classpath.
2799 (compareTo): Simplified.
2800 (lastModified): Throw exception if time < 0.
2801 (deleteOnExit): Revised documentation.
2803 2003-06-21 Michael Koch <konqueror@gmx.de>
2805 * java/net/PlainSocketImpl.java:
2807 (PlainSocketImpl): Merged class documentaion with classpath.
2810 (PlainSocketImpl): New empty constructor.
2812 (setOption): Merged documentation from classpath.
2813 (getOption): Likewise.
2815 (connect): Likewise.
2819 (available): Likewise.
2823 (getInputStream): Made synchronozed to get sure that only one stream
2824 object can be created for this socket, merged documentation from
2826 (getOutputStream): Likewise.
2828 2003-06-21 Michael Koch <konqueror@gmx.de>
2830 * java/net/PlainSocketImpl.java:
2832 (static): New implicit method.
2833 (read): Made package private.
2836 2003-06-21 Michael Koch <konqueror@gmx.de>
2838 * java/util/SimpleTimeZone.java:
2839 Removed unneeded import, reformatting.
2841 2003-06-21 Michael Koch <konqueror@gmx.de>
2843 * java/text/DateFormat.java,
2844 java/text/SimpleDateFormat.java,
2845 java/util/Locale.java:
2846 New versions from classpath.
2848 2003-06-21 Michael Koch <konqueror@gmx.de>
2850 * javax/swing/SpinnerModel.java:
2851 New file from classpath.
2852 * javax/swing/border/LineBorder.java,
2853 javax/swing/border/SoftBevelBorder.java,
2854 javax/swing/plaf/BorderUIResource.java,
2855 javax/swing/plaf/basic/BasicBorders.java:
2856 New versions from classpath.
2857 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
2858 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
2859 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
2860 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
2861 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
2862 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
2863 New binary files from classpath.
2865 2003-06-21 Michael Koch <konqueror@gmx.de>
2867 * java/util/logging/LogRecord.java,
2868 java/util/logging/Logger.java,
2869 java/util/logging/SocketHandler.java,
2870 java/util/logging/SimpleFormatter.java,
2871 java/util/logging/Formatter.java,
2872 java/util/logging/ErrorManager.java,
2873 java/util/logging/Handler.java,
2874 java/util/logging/FileHandler.java,
2875 java/util/logging/LogManager.java,
2876 java/util/logging/Level.java,
2877 java/util/logging/ConsoleHandler.java,
2878 java/util/logging/StreamHandler.java,
2879 java/util/logging/LoggingPermission.java,
2880 java/util/logging/Filter.java,
2881 java/util/logging/MemoryHandler.java,
2882 java/util/logging/XMLFormatter.java:
2883 New files from classpath.
2885 2003-06-20 Michael Koch <konqueror@gmx.de>
2887 * java/io/ObjectStreamField.java
2888 (unshared): new member variable.
2889 (ObjectStreamField): New constructor.
2890 (isUnshared): New method.
2892 2003-06-20 Michael Koch <konqueror@gmx.de>
2894 * java/net/URLStreamHandler.java
2895 (hostsEqual): Rewritten.
2897 2003-06-20 Michael Koch <konqueror@gmx.de>
2899 * gnu/java/nio/MappedByteFileBuffer.java,
2900 gnu/java/nio/natMappedByteFileBuffer.cc:
2902 * java/nio/MappedByteBufferImpl.java:
2904 * gnu/java/nio/FileChannelImpl.java:
2905 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
2907 (ordinary_java_source_files): Removed
2908 gnu/java/nio/MappedByteFileBuffer.java and added
2909 java/nio/MappedByteBufferImpl.java.
2910 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
2911 * Makefile.in: Regenerated.
2913 2003-06-19 Michael Koch <konqueror@gmx.de>
2915 * gnu/java/nio/DatagramChannelImpl.java
2917 (blocking): New member variable.
2919 (DatagramChannelImpl): Throws IOException, initialize socket.
2920 (socket):Implemented.
2921 (implCloseSelectableChannel): Throws IOException, implemented.
2922 (implConfigureBlocking): Likewise.
2923 (connect): Likewise.
2924 (disconnect): Likewise.
2925 (isConnected): Likewise.
2928 (receive): Throws IOException.
2930 * gnu/java/nio/SocketChannelImpl.java
2931 (read): Implemented.
2932 (write): Implemented.
2934 2003-06-19 Michael Koch <konqueror@gmx.de>
2936 * javax/swing/JComponent.java,
2937 javax/swing/JInternalFrame.java,
2938 javax/swing/MenuSelectionManager.java,
2939 javax/swing/SwingUtilities.java,
2940 javax/swing/ToggleButtonModel.java:
2941 New versions from classpath.
2943 2003-06-19 Michael Koch <konqueror@gmx.de>
2945 * java/text/CollationElementIterator.java
2946 (NULLORDER): Initialize with -1 as JDK documentation says.
2948 2003-06-19 Michael Koch <konqueror@gmx.de>
2950 * java/net/HttpURLConnection.java,
2951 java/net/Inet4Address.java,
2952 java/net/Inet6Address.java,
2953 java/net/SocketImpl.java,
2954 java/net/URLClassLoader.java:
2955 Reworked import statements.
2956 * java/net/InetAddress.java
2957 (getByAddress): Simplified.
2958 * java/net/ServerSocket.java
2959 (ServerSocket): Moved special handling during bind operation to
2961 (bind): Handle different cases when trying to bind a socket.
2962 * java/net/URLConnection.java
2963 (getHeaderFieldDate): Merged with classpath.
2964 (getHeaderFieldInt): Likewise.
2966 2003-06-19 Michael Koch <konqueror@gmx.de>
2968 * java/util/zip/InflaterInputStream.java
2969 (InflaterInputStream): Throw NullPointerException if in is null (as
2972 2003-06-19 Michael Koch <konqueror@gmx.de>
2974 * java/awt/Font.java
2975 javax/swing/UIManager.java
2976 javax/swing/border/AbstractBorder.java
2977 javax/swing/border/BevelBorder.java
2978 javax/swing/border/Border.java
2979 javax/swing/border/CompoundBorder.java
2980 javax/swing/border/EmptyBorder.java
2981 javax/swing/border/EtchedBorder.java
2982 javax/swing/border/LineBorder.java
2983 javax/swing/border/MatteBorder.java
2984 javax/swing/border/TitledBorder.java
2985 javax/swing/plaf/BorderUIResource.java
2986 javax/swing/plaf/basic/BasicBorders.java
2987 javax/swing/plaf/basic/BasicButtonUI.java
2988 javax/swing/plaf/basic/BasicCheckBoxUI.java
2989 javax/swing/plaf/basic/BasicGraphicsUtils.java
2990 javax/swing/plaf/basic/BasicLabelUI.java
2991 javax/swing/plaf/basic/BasicRadioButtonUI.java
2992 javax/swing/plaf/basic/BasicToggleButtonUI.java:
2993 New versions from classpath.
2994 * javax/swing/border/SoftBevelBorder.java:
2995 New file from classpath.
2996 * javax/swing/border/doc-files/LineBorder-1.png,
2997 javax/swing/border/doc-files/BevelBorder-1.png,
2998 javax/swing/border/doc-files/BevelBorder-2.png,
2999 javax/swing/border/doc-files/BevelBorder-3.png,
3000 javax/swing/border/doc-files/EmptyBorder-1.png,
3001 javax/swing/border/doc-files/EtchedBorder-1.png,
3002 javax/swing/border/doc-files/EtchedBorder-2.png,
3003 javax/swing/border/doc-files/MatteBorder-1.png,
3004 javax/swing/border/doc-files/MatteBorder-2.png,
3005 javax/swing/border/doc-files/MatteBorder-3.png,
3006 javax/swing/border/doc-files/MatteBorder-4.png,
3007 javax/swing/border/doc-files/MatteBorder-5.png,
3008 javax/swing/border/doc-files/MatteBorder-6.png,
3009 javax/swing/border/doc-files/SoftBevelBorder-1.png,
3010 javax/swing/border/doc-files/SoftBevelBorder-2.png,
3011 javax/swing/border/doc-files/SoftBevelBorder-3.png,
3012 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
3013 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
3014 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
3015 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
3016 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
3017 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
3018 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
3019 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
3020 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
3021 New binary files from classpath.
3023 (awt_java_source_files): Added
3024 javax/swing/border/SoftBevelBorder.java.
3025 * Makefile.in: Regenerated.
3027 2003-06-19 Michael Koch <konqueror@gmx.de>
3029 * gnu/java/security/x509/X509Certificate.java
3030 (writeReplace): Merged from classpath.
3032 2003-06-19 Michael Koch <konqueror@gmx.de>
3034 * gnu/java/nio/FileChannelImpl.java
3035 (map_address): Made public.
3036 (FileChannelImpl): Merged with classpath.
3037 * gnu/java/nio/natFileChannelImpl.cc
3038 (nio_mmap_file): Commented out unused arguments.
3039 (nio_unmmap_file): Likewise.
3040 (niu_msync): Likewise.
3042 2003-06-19 Michael Koch <konqueror@gmx.de>
3044 * java/awt/image/IndexColorModel.java:
3045 New version from classpath.
3047 2003-06-18 Tom Tromey <tromey@redhat.com>
3049 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
3051 (isLoopbackAddress): Likewise.
3052 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
3055 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
3057 * java/lang/natVMSecurityManager.cc (getClassContext):
3058 Use maxlen instead of len for loop bound.
3060 2003-06-18 Michael Koch <konqueror@gmx.de>
3062 * gnu/java/nio/SelectorImpl.java
3063 (register): Use fd with value 0 for now, will be fixed later.
3064 * gnu/java/nio/ServerSocketChannelImpl.java
3066 (local_port): Removed.
3067 (InetSocketAddress): Removed.
3068 (ServerSocketChannelImpl): Just initialize internal socket object.
3069 (implCloseSelectableChannel): Close internal socket object.
3070 (implConfigureBlocking): Added comment.
3071 (accept): Use jaba.net stuff to accept socket.
3072 * gnu/java/nio/SocketChannelImpl.java
3074 (local_port): Removed.
3075 (InetSocketAddress): Removed.
3076 (SocketCreate): Removed.
3077 (SocketConnect): Removed.
3078 (SocketBind): Removed.
3079 (SocketListen): Removed.
3080 (SocketAvailable): Removed.
3081 (SocketClose): Removed.
3082 (SocketRead): Removed.
3083 (SocketWrite): Removed.
3084 (SocketChannelImpl): Just initialize internal socket object.
3085 (implCloseSelectableChannel): Close internal socket object.
3086 (implConfigureBlocking): Fixed implementation, added comment.
3087 (connect): Use internal socket object to connect.
3088 (socket): No need for sanity checks.
3089 (read): Comment out some stuff, this will be reimplemented in the next
3092 * gnu/java/nio/natFileChannelImpl.cc
3093 (nio_mmap_file): Line wrapped.
3094 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
3096 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
3097 * Makefile.in: Regenerated.
3099 2003-06-18 Michael Koch <konqueror@gmx.de>
3101 * java/util/Locale.java
3102 (equals): Merged from classpath.
3104 2003-06-18 Michael Koch <konqueror@gmx.de>
3106 * java/net/InetAddress.java:
3107 Reformatted to better match classpath's version.
3109 (equals): Simplified.
3110 * java/net/URLConnection.java
3111 (setDoInput): Revised documentation.
3112 (getDefaultUseCaches): Likewise.
3113 (setRequestProperty): Added @since tag.
3115 2003-06-17 Michael Koch <konqueror@gmx.de>
3117 * java/net/InetSocketAddress.java
3118 (InetSocketAddress): Use wildcard address if addr is null.
3119 (InetSocketAddress): Dont duplicate implementation.
3120 (InetSocketAddress): Throw exception when hostname is null.
3121 * java/net/Socket.java:
3123 (Socket): Throw exception when raddr is null, handle case when laddr
3126 2003-06-17 Michael Koch <konqueror@gmx.de>
3128 * java/nio/DirectByteBufferImpl.java
3129 (address): Made package private.
3130 (DirectByteBufferImpl): New constructor.
3131 * java/nio/natDirectByteBufferImpl.cc
3132 (allocateImpl): Moved to java.nio namespace, implemented.
3133 (freeImpl): Likewise.
3134 (getImpl): Likewise.
3135 (putImpl): Likewise.
3137 (_Jv_JNI_NewDirectByteBuffer): Implemented.
3138 (_Jv_JNI_GetDirectBufferAddress): Implemented.
3139 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
3141 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3143 * include/powerpc-signal.h: New File.
3144 * configure.in: Use it.
3145 * configure: Regenerated.
3147 2003-06-17 Michael Koch <konqueror@gmx.de>
3149 * java/util/Locale.java
3150 (getDisplayLanguage): Made it final.
3151 (getDisplayCountry): Likewise.
3152 (getDisplayVariant): Likewise.
3153 (getDisplayName): Likewise.
3155 2003-06-17 Michael Koch <konqueror@gmx.de>
3157 * java/util/PropertyResourceBundle.java:
3158 Removed unneeded import.
3160 2003-06-17 Michael Koch <konqueror@gmx.de>
3162 * java/util/prefs/AbstractPreferences.java,
3163 java/util/prefs/PreferencesFactory.java:
3164 Reworked imports, removed unused imports.
3165 * java/util/prefs/Preferences.java
3166 (systemNodeForPackage): Method takes a Class not an Object.
3167 (userNodeForPackage): Likewise.
3168 (nodeForPackage): Likewise.
3170 2003-06-17 Michael Koch <konqueror@gmx.de>
3172 * gnu/java/security/x509/X509Certificate.java:
3173 Explicitely import used classes.
3175 2003-06-17 Michael Koch <konqueror@gmx.de>
3177 * java/util/zip/ZipEntry.java,
3178 java/util/zip/ZipFile.java,
3179 java/util/zip/ZipInputStream.java,
3180 java/util/zip/ZipOutputStream.java:
3181 Reworked imports, only import used classes.
3183 2003-06-17 Michael Koch <konqueror@gmx.de>
3185 * gnu/java/lang/ArrayHelper.java,
3186 gnu/java/lang/ClassHelper.java:
3187 Reformatted to match classpath's versions.
3189 2003-06-14 Michael Koch <konqueror@gmx.de>
3191 * gnu/java/nio/FileChannelImpl.java
3192 (map_address): Removed incorrect comment.
3193 * gnu/java/nio/SelectorImpl.java
3194 (register): Remove code duplication and code for file channel handling.
3195 * gnu/java/nio/ServerSocketChannelImpl.java
3196 (serverSocket): Renamed from sock_object.
3197 (ServerSocketChannel): Initialize serverSocket.
3198 (socket): Return serverSocket.
3199 * gnu/java/nio/SocketChannelImpl.java
3200 (socket): Renamed from sock_object.
3201 (isConnectionPenging): Simplified.
3202 (socket): Return socket.
3203 2003-06-14 Michael Koch <konqueror@gmx.de>
3205 * java/security/BasicPermission.java:
3206 New version from classpath.
3208 2003-06-14 Michael Koch <konqueror@gmx.de>
3210 * javax/naming/directory/Attribute.java:
3211 New version from classpath.
3213 2003-06-14 Michael Koch <konqueror@gmx.de>
3215 * java/io/BufferedReader.java,
3216 java/io/FileOutputStream.java:
3217 New versions from classpath.
3219 2003-06-12 Andrew Haley <aph@redhat.com>
3221 * prims.cc (catch_segv): Create exception in handler.
3222 (catch_fpe): Likewise.
3223 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
3224 (_Jv_ThrowSignal): Remove.
3226 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
3227 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
3228 to nullp and arithexception.
3229 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3230 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3231 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3232 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3233 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
3235 2003-06-11 Andrew Haley <aph@redhat.com>
3237 * jni.cc (_Jv_JNI_check_types): New.
3238 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
3239 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
3240 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
3241 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
3243 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
3246 2003-06-11 Tom Tromey <tromey@redhat.com>
3248 * java/lang/ClassLoader.java (loadClass): Not deprecated.
3249 * java/io/PrintStream.java: Not deprecated.
3251 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
3253 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
3254 (fillOval): implemented
3255 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
3256 (fillArc): implemented.
3257 * gnu/gcj/xlib/GC.java (drawArc): added native method.
3258 (fillArc): added native method.
3259 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
3260 (fillArc): added native method.
3262 2003-06-11 Michael Koch <konqueror@gmx.de>
3264 * java/awt/im/InputSubset.java:
3265 New version from classpath.
3267 2003-06-11 Michael Koch <konqueror@gmx.de>
3269 * javax/swing/AbstractAction.java,
3270 javax/swing/AbstractButton.java,
3271 javax/swing/AbstractCellEditor.java,
3272 javax/swing/AbstractListModel.java,
3273 javax/swing/BorderFactory.java,
3274 javax/swing/Box.java,
3275 javax/swing/BoxLayout.java,
3276 javax/swing/ButtonGroup.java,
3277 javax/swing/DefaultButtonModel.java,
3278 javax/swing/DefaultListModel.java,
3279 javax/swing/DefaultListSelectionModel.java,
3280 javax/swing/FocusManager.java,
3281 javax/swing/ImageIcon.java,
3282 javax/swing/InputMap.java,
3283 javax/swing/JApplet.java,
3284 javax/swing/JButton.java,
3285 javax/swing/JCheckBox.java,
3286 javax/swing/JCheckBoxMenuItem.java,
3287 javax/swing/JColorChooser.java,
3288 javax/swing/JComboBox.java,
3289 javax/swing/JComponent.java,
3290 javax/swing/JDesktopPane.java,
3291 javax/swing/JDialog.java,
3292 javax/swing/JEditorPane.java,
3293 javax/swing/JFileChooser.java,
3294 javax/swing/JFormattedTextField.java,
3295 javax/swing/JFrame.java,
3296 javax/swing/JLabel.java,
3297 javax/swing/JLayeredPane.java,
3298 javax/swing/JList.java,
3299 javax/swing/JMenuBar.java,
3300 javax/swing/JMenuItem.java,
3301 javax/swing/JOptionPane.java,
3302 javax/swing/JPanel.java,
3303 javax/swing/JPasswordField.java,
3304 javax/swing/JPopupMenu.java,
3305 javax/swing/JProgressBar.java,
3306 javax/swing/JRadioButton.java,
3307 javax/swing/JRadioButtonMenuItem.java,
3308 javax/swing/JRootPane.java,
3309 javax/swing/JScrollBar.java,
3310 javax/swing/JScrollPane.java,
3311 javax/swing/JSeparator.java,
3312 javax/swing/JSlider.java,
3313 javax/swing/JTabbedPane.java,
3314 javax/swing/JTable.java,
3315 javax/swing/JTextField.java,
3316 javax/swing/JToggleButton.java,
3317 javax/swing/JToolBar.java,
3318 javax/swing/JToolTip.java,
3319 javax/swing/JTree.java,
3320 javax/swing/JViewport.java,
3321 javax/swing/JWindow.java,
3322 javax/swing/KeyStroke.java,
3323 javax/swing/ListSelectionModel.java,
3324 javax/swing/LookAndFeel.java,
3325 javax/swing/RepaintManager.java,
3326 javax/swing/ScrollPaneLayout.java,
3327 javax/swing/SizeRequirements.java,
3328 javax/swing/SwingConstants.java,
3329 javax/swing/Timer.java,
3330 javax/swing/UIDefaults.java,
3331 javax/swing/UIManager.java,
3332 javax/swing/border/AbstractBorder.java,
3333 javax/swing/border/CompoundBorder.java,
3334 javax/swing/colorchooser/AbstractColorChooserPanel.java,
3335 javax/swing/colorchooser/ColorChooserComponentFactory.java,
3336 javax/swing/colorchooser/ColorSelectionModel.java,
3337 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3338 javax/swing/event/AncestorEvent.java,
3339 javax/swing/event/HyperlinkEvent.java,
3340 javax/swing/event/InternalFrameAdapter.java,
3341 javax/swing/event/InternalFrameEvent.java,
3342 javax/swing/event/ListDataEvent.java,
3343 javax/swing/event/MouseInputAdapter.java,
3344 javax/swing/event/SwingPropertyChangeSupport.java,
3345 javax/swing/event/TableModelEvent.java,
3346 javax/swing/event/TreeWillExpandListener.java,
3347 javax/swing/event/UndoableEditEvent.java,
3348 javax/swing/filechooser/FileFilter.java,
3349 javax/swing/filechooser/FileSystemView.java,
3350 javax/swing/filechooser/FileView.java,
3351 javax/swing/plaf/BorderUIResource.java,
3352 javax/swing/plaf/basic/BasicDefaults.java,
3353 javax/swing/table/AbstractTableModel.java,
3354 javax/swing/table/DefaultTableCellRenderer.java,
3355 javax/swing/table/DefaultTableColumnModel.java,
3356 javax/swing/table/DefaultTableModel.java,
3357 javax/swing/table/TableColumn.java,
3358 javax/swing/text/JTextComponent.java,
3359 javax/swing/tree/AbstractLayoutCache.java,
3360 javax/swing/tree/DefaultMutableTreeNode.java,
3361 javax/swing/tree/DefaultTreeCellEditor.java,
3362 javax/swing/tree/DefaultTreeCellRenderer.java,
3363 javax/swing/tree/DefaultTreeModel.java,
3364 javax/swing/tree/DefaultTreeSelectionModel.java,
3365 javax/swing/tree/FixedHeightLayoutCache.java,
3366 javax/swing/tree/TreeCellEditor.java,
3367 javax/swing/tree/TreeModel.java,
3368 javax/swing/tree/TreeNode.java,
3369 javax/swing/tree/TreePath.java,
3370 javax/swing/tree/TreeSelectionModel.java,
3371 javax/swing/tree/VariableHeightLayoutCache.java,
3372 javax/swing/undo/AbstractUndoableEdit.java,
3373 javax/swing/undo/CompoundEdit.java,
3374 javax/swing/undo/StateEdit.java,
3375 javax/swing/undo/UndoManager.java,
3376 javax/swing/undo/UndoableEditSupport.java:
3377 New versions from classpath.
3378 * javax/swing/table/JTableHeader.java:
3379 New file from classpath.
3381 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
3382 * Makefile.in: Regenerated.
3384 2003-06-11 Michael Koch <konqueror@gmx.de>
3386 * java/nio/MappedByteBuffer.java,
3387 java/nio/channels/Channels.java,
3388 java/nio/channels/ServerSocketChannel.java,
3389 java/nio/channels/spi/AbstractSelector.java:
3390 Removed unneeded imports.
3392 2003-06-11 Michael Koch <konqueror@gmx.de>
3394 * java/net/DatagramSocket.java:
3395 Partly merged with classpath.
3397 2003-06-11 Michael Koch <konqueror@gmx.de>
3399 * java/awt/Frame.java,
3400 java/awt/Graphics.java,
3402 java/awt/Robot.java,
3403 java/awt/image/ColorModel.java:
3404 New versions from classpath.
3406 2003-06-10 Michael Koch <konqueror@gmx.de>
3408 * java/io/PrintStream.java:
3409 Merged version from classpath.
3410 (close): Removed sychronized keyword. This class is not garantied to
3414 2003-06-09 Tom Tromey <tromey@redhat.com>
3416 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
3418 (getDescent): Likewise, for "descent".
3420 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
3422 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
3423 (getMaxDescent): adjusted return value.
3424 (getAscent): modified to use metrics for 'O'.
3425 (getDescent): modified to use metrics for 'y'.
3427 2003-06-08 Anthony Green <green@redhat.com>
3429 * java/net/URLStreamHandler.java (sameFile): Fix port value
3431 * java/net/URL.java (handler): Make package private.
3432 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
3434 2003-06-07 Tom Tromey <tromey@redhat.com>
3436 For PR libgcj/11085:
3437 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
3438 Limit number of characters in numeric field when required.
3439 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
3440 Respect maximumIntegerDigits.
3442 2003-06-08 Michael Koch <konqueror@gmx.de>
3444 * java/net/Socket.java
3445 (Socket): Dont initialize inputShutdown and outputShutdown twice,
3446 call bind() and connect() to actually do the bind and connect tasks.
3447 (bind): Connect to canonical address if bindpoint is null, create
3448 socket and bind it to bindpoint.
3449 (connect): Check for exceptions.
3451 2003-06-08 Michael Koch <konqueror@gmx.de>
3453 * java/net/DatagramSocket.java
3454 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
3455 into the Multicast constructors.
3456 * java/net/DatagramSocketImpl.java
3457 (getOption): Removed.
3458 (setOption): Removed.
3459 * java/net/MulticastSocket.java
3460 (MulticastSocket): Call setReuseAddress (true).
3461 * java/net/SocketImpl.java
3462 (getOption): Removed.
3463 (setOption): Removed.
3465 2003-06-07 Jeff Sturm <jsturm@one-point.com>
3468 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
3469 Test for empty vector.
3471 2003-06-06 Mark Wielaard <mark@klomp.org>
3473 * java/security/Security.java (secprops): Initialize.
3474 (loadProviders): Return boolean.
3475 (static): Check result of loadProvider calls. If necessary
3476 display WARNING and fallback to Gnu provider.
3478 2002-06-06 James Clark <jjc@jclark.com>
3480 Fix for PR libgcj/8738:
3481 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
3482 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
3483 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
3484 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
3485 (write): Always decrease avail when count is increased.
3486 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
3487 and whether output buffer is full before increasing size.
3489 2002-06-06 Mark Wielaard <mark@klomp dot org>
3491 * java/io/PrintStream.java (writeChars(char[],int, int)):
3492 Check converter.havePendingBytes().
3493 (writeChars(String,int,int)): Likewise.
3494 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
3495 Check converter.havePendingBytes() and flush buffer when stalled.
3497 2003-06-07 Michael Koch <konqueror@gmx.de>
3500 (O_DSYNC): Define O_DSYNC on platforms not
3501 supporting O_FSYNC (newlib).
3503 2003-06-06 Mark Wielaard <mark@klomp.org>
3505 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
3508 2003-06-06 Michael Koch <konqueror@gmx.de>
3510 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3511 More compile fixes from my stupid work yesterday.
3513 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
3515 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
3516 if _IEEE_LIBM is undefined.
3518 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
3520 * libjava/include/posix.h (O_SYNC): Define if not available
3521 and a reasonable, perhaps more conservative, replacement exists.
3522 (O_DSYNC): Likewise.
3523 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
3525 2003-06-05 Michael Koch <konqueror@gmx.de>
3527 * javax/swing/plaf/BorderUIResource.java,
3528 javax/swing/plaf/basic/BasicDefaults.java,
3529 javax/swing/plaf/basic/BasicOptionPaneUI.java:
3530 More compile fixes for latest Border commit. I should not commit
3531 something in this heat here ...
3533 2003-06-05 Michael Koch <konqueror@gmx.de>
3535 * javax/swing/border/BevelBorder.java
3536 (BevelBorder): Removed.
3537 * javax/swing/border/EmptyBorder.java:
3539 (EmptyBorder): Removed.
3540 (getBorderInsets): Dont use l, r, t and b.
3541 * javax/swing/border/EtchedBorder.java
3542 (EtchedBorder): Removed.
3543 * javax/swing/border/LineBorder.java
3544 (LineBorder): Removed.
3545 * javax/swing/border/MatteBorder.java
3546 (MatteBorder): Removed.
3547 * javax/swing/border/TitledBorder.java
3548 (defaultBorder): Use other default for now.
3549 (defaultFont): Likewise.
3550 (defaultColor): Likewise.
3552 2003-06-05 Michael Koch <konqueror@gmx.de>
3554 * javax/swing/border/Border.java:
3555 New version from classpath.
3557 2003-06-05 Michael Koch <konqueror@gmx.de>
3559 * javax/swing/border/AbstractBorder.java,
3560 javax/swing/border/BevelBorder.java,
3561 javax/swing/border/CompoundBorder.java,
3562 javax/swing/border/EmptyBorder.java,
3563 javax/swing/border/EtchedBorder.java,
3564 javax/swing/border/LineBorder.java,
3565 javax/swing/border/MatteBorder.java,
3566 javax/swing/border/TitledBorder.java:
3567 New versions from Classpath.
3569 2003-06-05 Michael Koch <konqueror@gmx.de>
3571 * java/awt/Button.java,
3572 java/awt/Checkbox.java,
3573 java/awt/CheckboxMenuItem.java,
3574 java/awt/Choice.java,
3575 java/awt/Container.java,
3576 java/awt/Dialog.java,
3577 java/awt/EventQueue.java,
3578 java/awt/FileDialog.java,
3579 java/awt/Frame.java,
3580 java/awt/Label.java,
3583 java/awt/MenuItem.java,
3584 java/awt/Panel.java,
3585 java/awt/PopupMenu.java,
3586 java/awt/Rectangle.java,
3587 java/awt/ScrollPane.java,
3588 java/awt/Scrollbar.java,
3589 java/awt/TextArea.java,
3590 java/awt/TextField.java,
3591 java/awt/Window.java,
3592 java/awt/datatransfer/DataFlavor.java,
3593 java/awt/dnd/DragSource.java,
3594 java/awt/dnd/DragSourceContext.java,
3595 java/awt/event/HierarchyEvent.java,
3596 java/awt/event/MouseWheelEvent.java,
3597 java/awt/im/InputContext.java,
3598 java/awt/image/BufferedImage.java,
3599 java/awt/image/ComponentColorModel.java,
3600 java/awt/image/Raster.java,
3601 java/awt/image/WritableRaster.java,
3602 java/awt/peer/ComponentPeer.java,
3603 java/awt/print/PageFormat.java,
3604 java/awt/print/PrinterJob.java:
3605 New versions from Classpath.
3607 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
3609 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
3610 numberFormat.setParseIntegerOnly(true).
3612 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
3614 * include/posix-threads.h: Include <machine/pal.h> on OSF.
3616 2003-06-03 Andrew Haley <aph@redhat.com>
3618 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
3619 stack volatile to prevent optimization from removing it.
3621 2003-05-27 Michael Koch <konqueror@gmx.de>
3623 * java/util/zip/Deflater.java
3624 (FILTERED): Merged documentation from classpath.
3625 * java/util/zip/DeflaterOutputStream.java
3626 (DeflaterOutputStream): Merged documentation and argument validity
3627 check from classpath.
3628 (deflate): Merged documentation from classpath.
3630 * java/util/zip/Inflater.java
3631 (Inflater): Merged class documentation from classpath.
3632 (zstream): Reordered.
3633 (is_finished): Reordered.
3634 (dict_needed): Reordered.
3635 (Inflater): Reordered, merged documentation from classpath.
3637 (finalize): Merged documentation from classpath.
3638 (finished): Likewise.
3639 (getAdler): Likewise.
3640 (getRemaining): Likewise.
3641 (getTotalIn): Likewise.
3642 (getTotalOut): Likewise.
3643 (inflate): Likewise.
3644 (needsDictionary): Likewise.
3645 (needsInput): Likewise.
3647 (setDictionary): Likewise.
3648 (setInput): Likewise.
3650 2003-05-27 Michael Koch <konqueror@gmx.de>
3652 * java/net/URLConnection.java
3653 (getHeaderFieldInt): Merged with classpath.
3655 2003-05-27 Michael Koch <konqueror@gmx.de>
3657 * java/io/PrintStream.java
3658 (PrintStream): Reformatted.
3659 (PrintStream): New method, merged from classpath.
3660 (write): Reformatted.
3662 2003-05-27 Michael Koch <konqueror@gmx.de>
3664 * java/lang/System.java:
3665 Explicitely import needed classes.
3667 2003-05-26 Michael Koch <konqueror@gmx.de>
3669 * java/net/NetPermission.java,
3670 java/net/NetworkInterface.java,
3671 java/net/PasswordAuthentication.java,
3672 java/net/SocketPermission.java:
3673 New versions from classpath.
3675 2003-05-25 Michael Koch <konqueror@gmx.de>
3677 * java/io/PushbackInputStream.java,
3678 java/net/Authenticator.java,
3679 java/net/ContentHandler.java,
3680 java/net/ContentHandlerFactory.java,
3681 java/net/DatagramSocket.java,
3682 java/net/DatagramSocketImpl.java,
3683 java/net/DatagramSocketImplFactory.java,
3684 java/net/FileNameMap.java,
3685 java/net/SocketImplFactory.java,
3686 java/net/SocketOptions.java,
3687 java/net/URLStreamHandlerFactory.java:
3688 Merged new versions from classpath.
3690 2003-05-25 Michael Koch <konqueror@gmx.de>
3692 * java/awt/Checkbox.java,
3693 java/awt/Dialog.java,
3695 java/awt/Frame.java,
3696 java/awt/ScrollPaneAdjustable.java,
3697 java/awt/Scrollbar.java,
3698 java/awt/Window.java:
3699 New versions from classpath.
3701 2003-05-22 Jeff Sturm <jsturm@one-point.com>
3704 * java/io/ObjectInputStream (enableResolveObject):
3705 Fixed spelling of permission name.
3707 2003-05-20 Michael Koch <konqueror@gmx.de>
3709 * java/io/DataInputStream.java
3710 (convertFromUTF): Merged comment from classpath.
3711 * java/io/PrintStream.java
3712 (error_occured): Renamed from error, merged comment from classpath.
3713 (PrintStream): No need to initialized error.
3714 (checkError): Replace error with error_occurred.
3715 (setError): Likewise.
3717 2003-05-20 Michael Koch <konqueror@gmx.de>
3719 * java/io/DataInputStream.java:
3720 Reformatted, Replaced < and & with html entitites in documentation.
3721 * java/io/File.java:
3723 * java/io/PrintWriter.java:
3724 Moved class documentation.
3726 2003-05-20 Michael Koch <konqueror@gmx.de>
3728 * gnu/java/nio/ByteBufferImpl.java,
3729 gnu/java/nio/CharBufferImpl.java,
3730 gnu/java/nio/CharViewBufferImpl.java,
3731 gnu/java/nio/DirectByteBufferImpl.java,
3732 gnu/java/nio/DoubleBufferImpl.java,
3733 gnu/java/nio/DoubleViewBufferImpl.java,
3734 gnu/java/nio/FloatBufferImpl.java,
3735 gnu/java/nio/FloatViewBufferImpl.java,
3736 gnu/java/nio/IntBufferImpl.java,
3737 gnu/java/nio/IntViewBufferImpl.java,
3738 gnu/java/nio/LongBufferImpl.java,
3739 gnu/java/nio/LongViewBufferImpl.java,
3740 gnu/java/nio/natDirectByteBufferImpl.cc,
3741 gnu/java/nio/ShortBufferImpl.java,
3742 gnu/java/nio/ShortViewBufferImpl.java:
3743 Moved files to java/nio.
3744 * gnu/java/nio/SocketChannelImpl.java
3746 * java/nio/ByteBuffer.java,
3747 java/nio/CharBuffer.java,
3748 java/nio/DoubleBuffer.java,
3749 java/nio/FloatBuffer.java,
3750 java/nio/IntBuffer.java,
3751 java/nio/LongBuffer.java,
3752 java/nio/ShortBuffer.java:
3753 Dont import anything.
3754 * java/nio/ByteBufferImpl.java,
3755 java/nio/CharBufferImpl.java,
3756 java/nio/CharViewBufferImpl.java,
3757 java/nio/DirectByteBufferImpl.java,
3758 java/nio/DoubleBufferImpl.java,
3759 java/nio/DoubleViewBufferImpl.java,
3760 java/nio/FloatBufferImpl.java,
3761 java/nio/FloatViewBufferImpl.java,
3762 java/nio/IntBufferImpl.java,
3763 java/nio/IntViewBufferImpl.java,
3764 java/nio/LongBufferImpl.java,
3765 java/nio/LongViewBufferImpl.java,
3766 java/nio/natDirectByteBufferImpl.cc,
3767 java/nio/ShortBufferImpl.java,
3768 java/nio/ShortViewBufferImpl.java:
3769 Moved from gnu/java/nio.
3771 (ordinary_java_source_files): Moved files from gnu/java/nio to
3773 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
3775 * Makefile.in: Regenerated.
3777 2003-05-19 Michael Koch <konqueror@gmx.de>
3779 * java/util/Calendar.java
3780 (get): Not final anymore since JDK 1.4
3783 2003-05-19 Michael Koch <konqueror@gmx.de>
3785 * java/text/CollationKey.java:
3786 Merged copyright and dat from classpath.
3787 * java/text/RuleBasedCollator.java:
3788 Merged class documentation from classpath.
3790 2003-05-19 Michael Koch <konqueror@gmx.de>
3792 * java/nio/CharBuffer.java
3793 (toString): Compile fix.
3795 2003-05-19 Michael Koch <konqueror@gmx.de>
3797 * gnu/java/nio/ByteBufferImpl.java
3798 (putLong): Fixed conversion to bytes.
3799 (putDouble): Fixed conversion to bytes.
3800 * gnu/java/nio/DirectByteBufferImpl.java
3801 (putLong): Fixed conversion to bytes.
3802 (putDouble): Fixed conversion to bytes.
3803 * gnu/java/nio/FileLockImpl.java
3804 (isValid): Reformatted.
3805 * java/nio/Buffer.java
3806 (Buffer): Fixed off-by-one bug in handling mark.
3807 * java/nio/ByteBuffer.java:
3809 * java/nio/CharBuffer.java
3810 (toString): Don't use relative get to get string data.
3812 2003-05-16 Michael Koch <konqueror@gmx.de>
3814 * java/io/natFileDescriptorPosix.cc
3815 (open): Commented out the O_SYNC and O_DSYNC usage until its better
3818 2003-05-14 Michael Koch <konqueror@gmx.de>
3820 * gnu/java/nio/FileLockImpl.java
3821 (released): New member variable.
3822 (FileLockImpl): Initialize released.
3823 (releaseImpl): New native method.
3824 (release): Implemented.
3825 * gnu/java/nio/SelectorImpl.java: Reformatted.
3826 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
3827 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
3828 (accept): Throws IOException.
3829 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
3830 (implConfigureBlocking): Throws IOException.
3831 (connect): Likewise.
3834 * gnu/java/nio/natFileLockImpl.cc: New file.
3835 * java/nio/channels/FileLock.java: Reformatted.
3837 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
3838 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
3839 * Makefile.in: Regenerated.
3841 2003-05-13 Michael Koch <konqueror@gmx.de>
3843 * gnu/java/nio/CharViewBufferImpl.java
3844 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
3845 (get): Shift bits to the right direction.
3847 * gnu/java/nio/DoubleViewBufferImpl.java
3848 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
3849 (get): Shift bits to the right direction.
3851 * gnu/java/nio/FloatViewBufferImpl.java
3852 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
3853 (get): Shift bits to the right direction.
3855 * gnu/java/nio/IntViewBufferImpl.java
3856 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
3857 (get): Shift bits to the right direction.
3859 * gnu/java/nio/LongViewBufferImpl.java
3860 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
3861 (get): Shift bits to the right direction.
3863 * gnu/java/nio/ShortViewBufferImpl.java
3864 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
3865 (get): Shift bits to the right direction.
3868 2003-05-13 Michael Koch <konqueror@gmx.de>
3870 * gnu/java/nio/natDirectByteBufferImpl.cc
3871 (allocateImpl): jlong -> RawData*.
3872 (freeImpl): Likewise.
3874 2003-05-13 Michael Koch <konqueror@gmx.de>
3876 * java/nio/channels/FileChannel.java
3877 (MapMode.m): Made it package-private to match JDK 1.4.
3878 * java/nio/charset/Charset.java
3879 (decode): Made it final to match JDK 1.4.
3881 2003-05-13 Michael Koch <konqueror@gmx.de>
3883 * java/io/FileDescriptor.java
3884 (SYNC): New constant.
3886 (getLength): Renamed from lenght() to match classpath's
3887 FileDescriptor.java.
3888 * java/io/RandomAccessFile.java
3889 (RandomAccessFile): Removed unneeded mode check, implemented mode
3890 "rws" and "rwd", merged documentation from classpath.
3891 (setLength): Reformatted.
3892 (length): Use new getLength() of FileDescriptor.
3893 * java/io/natFileDescriptorEcos.cc
3894 (getLength): Renamed from length().
3895 * java/io/natFileDescriptorPosix.cc
3896 (open): Implemented support for SYNC and DSYNC.
3897 (seek): Use getLength() instead of length().
3898 (getLength): Renamed from length().
3899 * java/io/natFileDescriptorWin32.cc
3900 (getLength): Renamed from length().
3901 (seek): Use getLength() instead of length().
3902 (available): Likewise.
3903 * gnu/java/nio/natFileChannelImpl.cc
3904 (size): Use getLength() instead of length().
3906 2003-05-13 Michael Koch <konqueror@gmx.de>
3908 * gnu/java/nio/ByteBufferImpl.java
3909 (ByteBufferImpl): All constructors revised.
3910 (slice): Reimplemented.
3911 (duplicate): Reimplemented.
3912 (asReadOnlyBuffer): Reimplemented.
3913 * java/nio/ByteBuffer.java:
3915 (array_offset): Renamed from "offset" to match all other buffer
3917 (ByteBuffer): All constructors revised.
3918 (allocateDirect): Implemented.
3919 (allocate): New implementation, documentation reworked.
3921 (get): Documentation reworked.
3922 (put): New implementation, documentation reworked.
3923 (hasArray): Documentation reworked.
3924 (arrayOffset): Likewise.
3925 (hashCode): Likewise.
3927 (compareTo): Likewise.
3929 (compact): Likewise.
3930 (isDirect): Likewise.
3932 (duplicate): Likewise.
3933 (asReadOnlyBuffer): Likewise.
3935 (ordinary_java_source_files):
3936 Added gnu/java/nio/DirectByteBufferImpl.java.
3938 Added gnu/java/nio/natDirectByteBufferImpl.cc.
3939 * Makefile.in: Regenerated.
3941 2003-05-12 Michael Koch <konqueror@gmx.de>
3943 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
3944 (nio_get_*): Removed.
3945 (nio_put_*): Removed.
3946 (as*Buffer): Implemented.
3947 (compact): Implemented.
3948 (get): Documentation added.
3949 (put): Documentation added.
3950 (get*): Newly implemented.
3951 (put*): Newly implemented.
3952 * gnu/java/nio/CharBufferImpl.java: Reformatted.
3953 (CharBufferImpl): Revised.
3954 (slice): New implementation.
3955 (duplicate): New implementation.
3956 (compact): New implementation.
3957 (asReadOnlyBuffer): New implementation.
3958 (get): Documentation revised.
3959 (order): Return native byte order.
3960 * gnu/java/nio/DirectByteBufferImpl.java
3961 (allocateDirect): objects can be null not 0.
3962 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
3963 (DoubleBufferImpl): Revised.
3964 (slice): New implementation.
3965 (duplicate): New implementation.
3966 (compact): New implementation.
3967 (asReadOnlyBuffer): New implementation.
3968 (get): Documentation revised.
3969 (order): Return native byte order.
3970 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
3971 (FloatBufferImpl): Revised.
3972 (slice): New implementation.
3973 (duplicate): New implementation.
3974 (compact): New implementation.
3975 (asReadOnlyBuffer): New implementation.
3976 (get): Documentation revised.
3977 (order): Return native byte order.
3978 * gnu/java/nio/IntBufferImpl.java: Reformatted.
3979 (IntBufferImpl): Revised.
3980 (slice): New implementation.
3981 (duplicate): New implementation.
3982 (compact): New implementation.
3983 (asReadOnlyBuffer): New implementation.
3984 (get): Documentation revised.
3985 (order): Return native byte order.
3986 * gnu/java/nio/LongBufferImpl.java: Reformatted.
3987 (LongBufferImpl): Revised.
3988 (slice): New implementation.
3989 (duplicate): New implementation.
3990 (compact): New implementation.
3991 (asReadOnlyBuffer): New implementation.
3992 (get): Documentation revised.
3993 (order): Return native byte order.
3994 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
3995 (ShortBufferImpl): Revised.
3996 (slice): New implementation.
3997 (duplicate): New implementation.
3998 (compact): New implementation.
3999 (asReadOnlyBuffer): New implementation.
4000 (get): Documentation revised.
4001 (order): Return native byte order.
4002 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
4003 (CharBuffer): Revised.
4005 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
4006 (DoubleBuffer): Revised.
4007 (allocateDirect): Removed.
4009 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
4010 (FloatBuffer): Revised.
4011 (allocateDirect): Removed.
4013 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
4014 (IntBuffer): Revised.
4015 (allocateDirect): Removed.
4017 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
4018 (LongBuffer): Revised.
4019 (allocateDirect): Removed.
4021 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
4022 (ShortBuffer): Revised.
4023 (allocateDirect): Removed.
4025 * gnu/java/nio/natByteBufferImpl.cc: Removed.
4026 * gnu/java/nio/natCharBufferImpl.cc: Removed.
4028 (ordinary_java_source_files): Added the following files:
4029 gnu/java/nio/CharViewBufferImpl.java,
4030 gnu/java/nio/DoubleViewBufferImpl.java,
4031 gnu/java/nio/FloatViewBufferImpl.java,
4032 gnu/java/nio/IntViewBufferImpl.java,
4033 gnu/java/nio/LongViewBufferImpl.java,
4034 gnu/java/nio/ShortViewBufferImpl.java
4035 (nat_source_files): Removed the following files:
4036 gnu/java/nio/natByteBufferImpl.cc,
4037 gnu/java/nio/natCharBufferImpl.cc
4038 * Makefile.in: Regenerated.
4040 2003-05-12 Michael Koch <konqueror@gmx.de>
4042 * gnu/java/nio/CharViewBufferImpl.java,
4043 gnu/java/nio/DirectByteBufferImpl.java,
4044 gnu/java/nio/DoubleViewBufferImpl.java,
4045 gnu/java/nio/FloatViewBufferImpl.java,
4046 gnu/java/nio/IntViewBufferImpl.java,
4047 gnu/java/nio/LongViewBufferImpl.java,
4048 gnu/java/nio/ShortViewBufferImpl.java,
4049 gnu/java/nio/natDirectByteBufferImpl.cc:
4050 New files, not yet to be compiled.
4052 2003-05-10 Michael Koch <konqueror@gmx.de>
4054 * javax/swing/plaf/ButtonUI.java,
4055 javax/swing/plaf/ColorUIResource.java,
4056 javax/swing/plaf/ComponentUI.java,
4057 javax/swing/plaf/DimensionUIResource.java,
4058 javax/swing/plaf/FontUIResource.java,
4059 javax/swing/plaf/IconUIResource.java,
4060 javax/swing/plaf/InsetsUIResource.java,
4061 javax/swing/plaf/LabelUI.java,
4062 javax/swing/plaf/ListUI.java,
4063 javax/swing/plaf/OptionPaneUI.java,
4064 javax/swing/plaf/PanelUI.java,
4065 javax/swing/plaf/TabbedPaneUI.java,
4066 javax/swing/plaf/TextUI.java,
4067 javax/swing/plaf/TreeUI.java,
4068 javax/swing/plaf/ViewportUI.java,
4069 javax/swing/plaf/basic/BasicBorders.java,
4070 javax/swing/plaf/basic/BasicButtonUI.java,
4071 javax/swing/plaf/basic/BasicCheckBoxUI.java,
4072 javax/swing/plaf/basic/BasicDefaults.java,
4073 javax/swing/plaf/basic/BasicGraphicsUtils.java,
4074 javax/swing/plaf/basic/BasicIconFactory.java,
4075 javax/swing/plaf/basic/BasicLabelUI.java,
4076 javax/swing/plaf/basic/BasicListUI.java,
4077 javax/swing/plaf/basic/BasicOptionPaneUI.java,
4078 javax/swing/plaf/basic/BasicPanelUI.java,
4079 javax/swing/plaf/basic/BasicRadioButtonUI.java,
4080 javax/swing/plaf/basic/BasicScrollPaneUI.java,
4081 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
4082 javax/swing/plaf/basic/BasicTextUI.java,
4083 javax/swing/plaf/basic/BasicToggleButtonUI.java,
4084 javax/swing/plaf/basic/BasicTreeUI.java,
4085 javax/swing/plaf/basic/BasicViewportUI.java,
4086 javax/swing/plaf/metal/MetalLookAndFeel.java:
4087 New versions from classpath. This adds copyrights to all files and
4088 some serialVersionUIDs.
4090 2003-05-10 Michael Koch <konqueror@gmx.de>
4092 * java/nio/CharBuffer.java
4093 (offset): Make it package-private.
4094 (backing_buffer): Likewise.
4095 * java/nio/DoubleBuffer.java
4096 (offset): Make it package-private.
4097 (backing_buffer): Likewise.
4099 * java/nio/FloatBuffer.java
4100 (offset): Make it package-private.
4101 (backing_buffer): Likewise.
4102 * java/nio/IntBuffer.java
4103 (offset): Make it package-private.
4104 (backing_buffer): Likewise.
4105 * java/nio/LongBuffer.java
4106 (offset): Make it package-private.
4107 (backing_buffer): Likewise.
4108 * java/nio/ShortBuffer.java
4109 (offset): Make it package-private.
4110 (backing_buffer): Likewise.
4112 2003-05-10 Michael Koch <konqueror@gmx.de>
4114 * java/nio/CharBuffer.java
4115 (put): Fixed precondtion check.
4116 (toString): Make it work without backing array.
4117 (put): Skip one level of method calling.
4119 2003-05-10 Michael Koch <konqueror@gmx.de>
4121 * java/security/Identity.java,
4122 java/security/IdentityScope.java,
4123 java/security/Key.java,
4124 java/security/KeyPair.java,
4125 java/security/PrivateKey.java,
4126 java/security/Provider.java,
4127 java/security/PublicKey.java,
4128 java/security/SecureRandom.java,
4129 java/security/SecureRandomSpi.java,
4130 java/security/SignedObject.java,
4131 java/security/Signer.java,
4132 java/security/cert/Certificate.java,
4133 java/security/cert/PKIXCertPathBuilderResult.java,
4134 java/security/cert/X509Certificate.java:
4135 New versions from classpath.
4137 2003-05-09 Tom Tromey <tromey@redhat.com>
4139 * Makefile.in: Rebuilt.
4140 * Makefile.am (nat_source_files): Removed old files.
4141 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
4142 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
4143 * gnu/java/nio/natIntBufferImpl.cc: Removed.
4144 * gnu/java/nio/natLongBufferImpl.cc: Removed.
4145 * gnu/java/nio/natShortBufferImpl.cc: Removed.
4147 2003-05-09 Michael Koch <konqueror@gmx.de>
4149 * gnu/java/nio/ByteBufferImpl.java
4150 (nio_cast): Removed.
4151 (ByteBufferImpl): Removed.
4152 (nio_get_Byte): Removed.
4153 (nio_put_Byte): Removed.
4154 (asByteBuffer): Removed.
4155 (asCharBuffer): Removed implementation and throw exception.
4156 (asShortBuffer): Likewise.
4157 (asIntBuffer): Likewise.
4158 (asLongBuffer): Likewise.
4159 (asFloatBuffer): Likewise.
4160 (asDoubleBuffer): Likewise.
4161 * gnu/java/nio/CharBufferImpl.java
4162 (CharBufferImpl): Removed.
4163 (nio_get_Byte): Removed.
4164 (nio_put_Byte): Removed.
4165 (asByteBuffer): Removed.
4166 * gnu/java/nio/DoubleBufferImpl.java
4167 (DoubleBufferImpl): Removed.
4168 (nio_get_Byte): Removed.
4169 (nio_put_Byte): Removed.
4170 (asByteBuffer): Removed.
4171 * gnu/java/nio/FloatBufferImpl.java
4172 (FloatBufferImpl): Removed.
4173 (nio_get_Byte): Removed.
4174 (nio_put_Byte): Removed.
4175 (asByteBuffer): Removed.
4176 * gnu/java/nio/IntBufferImpl.java
4177 (IntBufferImpl): Removed.
4178 (nio_get_Byte): Removed.
4179 (nio_put_Byte): Removed.
4180 (asByteBuffer): Removed.
4181 * gnu/java/nio/LongBufferImpl.java
4182 (LongBufferImpl): Removed.
4183 (nio_get_Byte): Removed.
4184 (nio_put_Byte): Removed.
4185 (asByteBuffer): Removed.
4186 * gnu/java/nio/ShortBufferImpl.java
4187 (ShortBufferImpl): Removed.
4188 (nio_get_Byte): Removed.
4189 (nio_put_Byte): Removed.
4190 (asByteBuffer): Removed.
4191 * gnu/java/nio/natByteBufferImpl.cc
4192 (nio_cast): Removed.
4193 (nio_get_Byte): Removed.
4194 (nio_put_Byte): Removed.
4195 * gnu/java/nio/natCharBufferImpl.cc
4196 (nio_get_Byte): Removed.
4197 (nio_put_Byte): Removed.
4199 2003-05-09 Michael Koch <konqueror@gmx.de>
4201 * java/net/JarURLConnection.java
4202 (getJarEntry): Merged documentation from classpath.
4203 (getJarFile): Likewise.
4204 (getMainAttributes): Likewise.
4205 (getAttributes): Likewise.
4206 (getManifest): Likewise.
4207 (getCertificates): Reformatted.
4208 * java/net/URLConnection.java:
4209 Little classpath merge.
4211 2003-05-09 Michael Koch <konqueror@gmx.de>
4213 * java/io/DataOutputStream.java
4214 (writeShort): Made it synchronized.
4215 (writeChar): Likewise.
4216 (writeInt): Likewise.
4217 (writeLong): Liekwise.
4218 (writeUTF): Made it synchronized, renamed argument to match classpath.
4219 * java/io/InputStreamReader.java
4220 (converter): Added documentation.
4221 (read): Merged documentation from classpath.
4222 * java/io/OutputStreamWriter.java
4223 (OutputStreamWriter): Merged documentation from classpath.
4224 (close): Reformatted.
4225 (getEncoding): Likewise.
4227 (write): Merged documentation from classpath, reformatted.
4229 2003-05-08 Tom Tromey <tromey@redhat.com>
4231 * configure.host <powerpc64*-*>: Set with_libffi_default and
4232 libgcj_interpreter to "yes".
4234 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
4236 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
4238 2003-05-06 Tom Tromey <tromey@redhat.com>
4240 * verify.cc: Reverted previous patch.
4242 2003-05-06 Michael Koch <konqueror@gmx.de>
4244 * java/io/DataOutputStream.java
4245 (write): Renamed argument to "value", merged documentation from
4247 (writeBoolean): Likewise.
4248 (writeByte): Likewise.
4249 (writeShort): Likewise.
4250 (writeChar): Likewise.
4251 (writeInt): Likewise.
4252 (writeLong): Likewise.
4253 (writeFloat): Likewise.
4254 (writeDouble): Likewise.
4255 (writeBytes): Likewise.
4256 (writeChars): Likewise.
4257 (writeUTF): Likewise.
4259 (performDelete): Added documentation.
4260 (performList): Likewise.
4261 (performMkdir): Likewise.
4262 (performSetReadOnly): Likewise.
4263 (performRenameTo): Likewise.
4264 (performSetLastModified): Likewise.
4265 (delete): Made it sychronized.
4266 (renameTo): Made it sychronized.
4267 (equals): Reformatted.
4268 (isHidden): Likewise.
4269 (listFiles): Likewise.
4270 (setReadOnly): Likewise.
4271 (listRoots): Likewise.
4272 (setLastModified): Likewise.
4273 (checkRead): Likewise.
4274 (checkWrite): Likewise.
4275 * java/io/FileInputStream.java
4276 (skip): Made it sychronized, merged from classpath.
4277 * java/io/FileOutputStream.java
4278 (write): Merged from classpath.
4279 * java/io/InputStreamReader.java:
4280 (InputStreamReader): Merged documentation from classpath.
4282 2003-05-05 Michael Koch <konqueror@gmx.de>
4284 * java/net/NetworkInterface.java
4285 (networkInterfaces): Removed.
4286 (getByName): Use getRealNetworkInterfaces() instead of
4288 (getByInetAddress): Likewise.
4289 (getNetworkInterfaces): Likewise.
4290 (toString): Fix output of addresses of an interface.
4292 2003-05-05 Michael Koch <konqueror@gmx.de>
4294 * java/io/DataInputStream.java:
4295 Merged new documentation from classpath.
4297 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
4299 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
4301 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
4302 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
4303 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
4304 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
4305 * gnu/awt/gtk/GtkMainThread.java: Likewise.
4306 * gnu/awt/gtk/GtkToolkit.java: Likewise.
4307 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
4308 * java/security/Key.java: Likewise.
4309 * java/security/PrivateKey.java: Likewise.
4310 * java/security/Provider.java: Likewise.
4311 * java/security/PublicKey.java: Likewise.
4313 2003-05-02 Michael Koch <konqueror@gmx.de>
4316 (create): Doesnt throws any exceptions.
4317 * java/net/URLConnection.java
4318 (URLConnection): Commend added.
4319 (getExpiration): The header field is called "expires" not
4321 (getHeaderField): Merged documentation with classpath.
4322 (getHeaderFieldInt): Likewise.
4323 (getHeaderFieldDate): Likewise.
4324 (getHeaderFieldKey): Likewise.
4325 (getPermission): Likewise.
4326 (setDefaultUseCaches): Likewise.
4327 (setRequestProperty): Likewise.
4328 (addRequestProperty): Likewise.
4329 (getRequestProperty): Likewise.
4330 (getRequestProperties): Likewise.
4331 (setDefaultRequestProperty): Likewise.
4332 (getDefaultRequestProperty): Likewise.
4333 (guessContentTypeFromStream): Likewise.
4334 (getFileNameMap): Likewise.
4335 (setFileNameMap): Likewise.
4336 (setDoInput): Merged implementation and documentation with classpath.
4337 (setDoOutput): Likewise.
4338 (setAllowUserInteraction): Likewise.
4339 (setDefaultAllowUserInteraction): Likewise.
4340 (setContentHandlerFactory): Made it synchronized, merged documentation
4342 (guessContentTypeFromName): Renamed argument fname to filename to
4343 match classpath, merged documentation with classpath.
4345 2003-05-02 Michael Koch <konqueror@gmx.de>
4347 * java/net/JarURLConnection.java
4348 (JarURLConnection): Class documentation merged with classpath.
4349 (getJarFileURL): Moved and documentation merged with classpath.
4350 (getEntryName): Likewise.
4351 (JarURLConnection): Documentation merged with classpath.
4352 (getJarEntry): Likewise.
4353 (getJarFile): Likewise.
4354 * java/net/PlainDatagramSocketImpl.java:
4355 Class documentation moved.
4356 * java/net/URLConnection.java
4357 (fileNameMap): Moved and documentation merged with classpath.
4358 (factory): Likewise.
4359 (defaultAllowUserInteraction): Likewis.
4360 (defaultUseCaches): Likewise.
4361 (allowUserInteraction): Likewise.
4362 (connected): Likewise.
4364 (connect): Documentation merged with classpath.
4366 (getContentLength): Likewise.
4367 (getContentType): Likewise.
4368 (getContentEncoding): Likewise.
4369 (getExpiration): Likewise.
4370 (getDate): Likewise.
4371 (getLastModified): Likewise.
4372 (getHeaderField): Likewise.
4373 (getContent): Likewise.
4374 (getPermission): Likewise.
4375 (getInputStream): Likewise.
4376 (getOutputStream): Likewise.
4377 (toString): Likewise.
4378 (getDoInput): Likewise.
4379 (getDoOutput): Likewise.
4380 (setAllowUserInteraction): Likewise.
4381 (getAllowUserInteraction): Likewise.
4382 (setDefaultAllowUserInteraction): Likewise.
4383 (getDefaultAllowUserInteraction): Likewise.
4384 (setUseCaches): Likewise.
4385 (getUseCaches): Likewise.
4386 (setIfModifiedSince): Likewise.
4387 (getIfModifiedSince): Likewise.
4388 (setDefaultRequestProperty): Likewise.
4389 (getDefaultRequestProperty): Likewise.
4390 (setContentHandlerFactory): Likewise.
4391 (setFileNameMap): Likewise.
4393 2003-05-02 Michael Koch <konqueror@gmx.de>
4395 * java/net/InetAddress.java:
4396 Merged class documentation with classpath.
4397 * java/net/JarURLConnection.java:
4398 Explicitely import all used classes.
4399 * java/net/URL.java:
4401 * java/net/ServerSocket.java,
4402 java/net/Socket.java:
4403 New versions from classpath.
4405 2003-05-02 Michael Koch <konqueror@gmx.de>
4407 * gnu/java/nio/FileChannelImpl.java
4408 (read): New implementation.
4409 (implRead): New methods.
4410 (write): New implementation, call other write insteal of read method.
4411 (implWrite): New methods.
4412 (map): Added comment.
4413 (transferFrom): Implemented.
4414 (transferTo): Implemented.
4415 (lock): Added checks to throw exceptions.
4416 (truncate): Added check to throw exception.
4417 * gnu/java/nio/natFileChannelImpl.cc
4418 (implRead): New method.
4419 (implWrite): New method.
4420 * java/nio/ByteBuffer.java
4421 (hashCode): Fixed comment.
4422 (get): Fixed exception documentation.
4423 (put): Fixed exception documentation.
4424 * java/nio/CharBuffer.java:
4425 Added comment for later optimizations.
4427 2003-04-30 Tom Tromey <tromey@redhat.com>
4430 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
4432 (type::compatible): Use _Jv_IsAssignableFrom.
4433 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
4434 (_Jv_IsAssignableFrom): Work even when source or target class is
4437 2003-04-30 Michael Koch <konqueror@gmx.de>
4439 * java/text/BreakIterator.java
4440 (clone): New method.
4442 2003-04-30 Michael Koch <konqueror@gmx.de>
4444 * java/text/CollationElementIterator.java,
4445 java/text/CollationKey.java,
4446 java/text/RuleBasedCollator.java:
4447 Merged copyright and documentation from classpath and
4448 rearranged some code. No code changes done.
4450 2003-04-30 Michael Koch <konqueror@gmx.de>
4452 * java/util/regex/Matcher.java
4453 (pattern): New member variable.
4454 (appendReplacement): New method.
4455 (appendTail): New method.
4458 (group): New method.
4459 (replaceFirst): Added documentation.
4460 (replaceAll): Added documentation.
4461 (groupCount): New method.
4462 (lookingAt): New method.
4463 (matches): New method.
4464 (reset): New method.
4465 (start): New method.
4466 * java/util/regex/Pattern.java
4467 (serialVersionUID): New constant.
4468 (CANON_EQ): New constant.
4469 (CASE_INSENSITIVE): New constant.
4470 (COMMENTS): New constant.
4471 (DOTALL): New constant.
4472 (MULTILINE): New constant.
4473 (UNICODE_CASE): New constant.
4474 (UNIX_LINES): New constant.
4475 (regex): New member variable.
4476 (flags): New member variable.
4477 (Pattern): New method.
4478 (compile): Documentation added.
4479 (flags): New method.
4480 (matches): Documentation added.
4481 (matcher): Documentation added.
4482 (split): Documentation added.
4483 (pattern): New method.
4485 2003-04-30 Michael Koch <konqueror@gmx.de>
4487 * gnu/java/security/Engine.java,
4488 gnu/java/security/OID.java,
4489 gnu/java/security/der/BitString.java,
4490 gnu/java/security/der/DER.java,
4491 gnu/java/security/der/DERReader.java,
4492 gnu/java/security/der/DERValue.java,
4493 gnu/java/security/der/DERWriter.java,
4494 gnu/java/security/provider/DSAKeyFactory.java,
4495 gnu/java/security/provider/X509CertificateFactory.java,
4496 gnu/java/security/x509/X500DistinguishedName.java,
4497 gnu/java/security/x509/X509CRL.java,
4498 gnu/java/security/x509/X509CRLEntry.java,
4499 gnu/java/security/x509/X509Certificate.java,
4500 java/security/cert/CRLSelector.java,
4501 java/security/cert/CertPathBuilder.java,
4502 java/security/cert/CertPathBuilderResult.java,
4503 java/security/cert/CertPathBuilderSpi.java,
4504 java/security/cert/CertPathParameters.java,
4505 java/security/cert/CertPathValidator.java,
4506 java/security/cert/CertPathValidatorResult.java,
4507 java/security/cert/CertPathValidatorSpi.java,
4508 java/security/cert/CertSelector.java,
4509 java/security/cert/CertStore.java,
4510 java/security/cert/CertStoreParameters.java,
4511 java/security/cert/CertStoreSpi.java,
4512 java/security/cert/CollectionCertStoreParameters.java,
4513 java/security/cert/LDAPCertStoreParameters.java,
4514 java/security/cert/PKIXBuilderParameters.java,
4515 java/security/cert/PKIXCertPathBuilderResult.java,
4516 java/security/cert/PKIXCertPathChecker.java,
4517 java/security/cert/PKIXCertPathValidatorResult.java,
4518 java/security/cert/PKIXParameters.java,
4519 java/security/cert/PolicyNode.java,
4520 java/security/cert/PolicyQualifierInfo.java,
4521 java/security/cert/TrustAnchor.java,
4522 javax/security/auth/x500/X500Principal.java:
4523 New files from classpath.
4524 * gnu/java/io/ASN1ParsingException.java,
4525 gnu/java/io/Base64InputStream.java,
4526 gnu/java/security/der/DEREncodingException.java,
4527 gnu/java/security/provider/DSAParameters.java,
4528 gnu/java/security/provider/DSASignature.java,
4529 gnu/java/security/provider/Gnu.java,
4530 gnu/java/security/provider/GnuDSAPrivateKey.java,
4531 gnu/java/security/provider/GnuDSAPublicKey.java,
4532 java/security/AlgorithmParameterGenerator.java,
4533 java/security/AlgorithmParameters.java,
4534 java/security/KeyFactory.java,
4535 java/security/KeyPairGenerator.java,
4536 java/security/KeyStore.java,
4537 java/security/MessageDigest.java,
4538 java/security/SecureClassLoader.java,
4539 java/security/SecureRandom.java,
4540 java/security/Security.java,
4541 java/security/Signature.java,
4542 java/security/cert/Certificate.java,
4543 java/security/cert/CertificateFactory.java,
4544 java/security/cert/CertificateFactorySpi.java,
4545 java/security/cert/X509CRL.java,
4546 java/security/cert/X509Certificate.java,
4547 java/security/spec/DSAPublicKeySpec.java:
4548 New versions from classpath.
4549 * gnu/java/security/provider/DERReader.java,
4550 gnu/java/security/provider/DERWriter.java,
4551 java/security/Engine.java: Removed.
4553 (java_source_files, javax_source_files): Added new files.
4554 * Makefile.in: Regenerated.
4556 2003-04-29 Michael Koch <konqueror@gmx.de>
4558 * javax/swing/JTable.java
4559 (AUTO_RESIZE_ALL_COLUMNS): New constant.
4560 (AUTO_RESIZE_LAST_COLUMN): New constant.
4561 (AUTO_RESIZE_NEXT_COLUMN): New constant.
4562 (AUTO_RESIZE_OFF): New constant.
4563 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
4564 (JTable): New method.
4565 (columnAdded): New method.
4566 (columnMarginChanged): New method.
4567 (columnMoved): New method.
4568 (columnRemoved): New method.
4569 (columnSelectionChanged): New method.
4570 (editingCanceled): New method.
4571 (editingStopped): New method.
4572 (getColumnModel): New method.
4573 (getPreferredScrollableViewportSize): New method.
4574 (getScrollableBlockIncrement): New method.
4575 (getScrollableTracksViewportHeight): New method.
4576 (getScrollableTracksViewportWidth): New method.
4577 (getScrollableUnitIncrement): New method.
4578 (getSelectedRow): New method.
4579 (getSelectionModel): New method.
4580 (tableChanged): New method.
4581 (setModel): New method.
4582 (setSelectionMode): New method.
4583 (setSelectionModel): New method.
4584 (setShowGrid): New method.
4585 (valueChanged): New method.
4586 * javax/swing/text/DefaultEditorKit.java
4587 (backwardAction): New constant.
4588 (beepAction): New constant.
4589 (beginAction): New constant.
4590 (beginLineAction): New constant.
4591 (beginParagraphAction): New constant.
4592 (beginWordAction): New constant.
4593 (copyAction): New constant.
4594 (cutAction): New constant.
4595 (defaultKeyTypedAction): New constant.
4596 (deleteNextCharAction): New constant.
4597 (deletePrevCharAction): New constant.
4598 (downAction): New constant.
4599 (endAction): New constant.
4600 (endLineAction): New constant.
4601 (endOfLineStringProperty): New constant.
4602 (endParagraphAction): New constant.
4603 (endWordAction): New constant.
4604 (forwardAction): New constant.
4605 (insertBreakAction): New constant.
4606 (insertContentAction): New constant.
4607 (insertTabAction): New constant.
4608 (nextWordAction): New constant.
4609 (pageDownAction): New constant.
4610 (pageUpAction): New constant.
4611 (pasteAction): New constant.
4612 (previousWordAction): New constant.
4613 (readOnlyAction): New constant.
4614 (selectAllAction): New constant.
4615 (selectionBackwardAction): New constant.
4616 (selectionBeginAction): New constant.
4617 (selectionBeginLineAction): New constant.
4618 (selectionBeginParagraphAction): New constant.
4619 (selectionBeginWordAction): New constant.
4620 (selectionDownAction): New constant.
4621 (selectionEndAction): New constant.
4622 (selectionEndLineAction): New constant.
4623 (selectionEndParagraphAction): New constant.
4624 (selectionEndWordAction): New constant.
4625 (selectionForwardAction): New constant.
4626 (selectionNextWordAction): New constant.
4627 (selectionPreviousWordAction): New constant.
4628 (selectionUpAction): New constant.
4629 (selectLineAction): New constant.
4630 (selectParagraphAction): New constant.
4631 (selectWordAction): New constant.
4632 (upAction): New constant.
4633 (writableAction): New constant.
4635 2003-04-29 Michael Koch <konqueror@gmx.de>
4637 * java/util/PropertyPermission.java:
4638 New version from classpath
4639 * java/util/ResourceBundle.java:
4640 Partly merged from classpath
4641 (getObject): Reformated.
4642 (tryBundle): Set foundBundle = null if no bundle found.
4644 2003-04-29 Michael Koch <konqueror@gmx.de>
4646 * javax/swing/AbstractListModel.java,
4647 javax/swing/DefaultBoundedRangeModel.java,
4648 javax/swing/DefaultSingleSelectionModel.java:
4649 New Versions from classpath.
4651 2003-04-29 Michael Koch <konqueror@gmx.de>
4653 * java/awt/Window.java
4654 (show): Call super.show() instead of setVisible() to avoid endless
4656 (hide): Call super.hide() instead of setVisible() to avoid endless
4659 2003-04-29 Michael Koch <konqueror@gmx.de>
4661 * java/util/zip/Deflater.java,
4662 java/util/zip/DeflaterOutputStream.java:
4663 Partly merged with classpath.
4665 2003-04-27 Tom Tromey <tromey@redhat.com>
4667 * java/lang/natString.cc (_Jv_AllocString): Initialize
4670 (_Jv_NewStringUtf8Const): Likewise.
4672 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
4674 * include/jvm.h: (_Jv_GetNbArgs) added
4675 (_Jv_GetSafeArg) added
4677 * prims.cc: (_Jv_GetNbArgs) implemented
4678 (_Jv_GetSafeArg) implemented
4679 (_Jv_SetArgs) implemented
4680 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
4681 setting _Jv_argc and _Jv_argv
4682 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
4684 * java/lang/natRuntime.cc: (insertSystemProperties) use
4685 _Jv_GetSafeArg() instead of _Jv_argv
4687 2003-04-23 Tom Tromey <tromey@redhat.com>
4689 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
4690 required by this object. Search superclasses to find required
4692 (get_alignment_from_class): Use alignment of type as it appears
4694 (ALIGNOF): New macro.
4695 (struct aligner): New helper structure.
4697 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
4699 * java/awt/Container.java (addImpl): Enable paint events if adding
4700 a lightweight to a heavyweight.
4701 (addNotify): Ensure that peer is created before
4702 addNotifyContainerChildren.
4703 (addNotifyContainerChildren): Enable paint events if a heavyweight
4704 container contains a lightweight.
4706 2003-04-20 Tom Tromey <tromey@redhat.com>
4708 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
4709 java/io/DataInput.java, java/io/DataOutput.java: Imports from
4712 2003-04-19 Tom Tromey <tromey@redhat.com>
4714 * java/sql/Date.java, java/sql/DriverManager.java,
4715 java/sql/Time.java, java/sql/Timestamp.java: New versions from
4718 * Makefile.in: Rebuilt.
4719 * Makefile.am (ordinary_java_source_files): Added new files.
4720 * java/security/AlgorithmParameterGenerator.java,
4721 java/security/AlgorithmParameters.java, java/security/Engine.java,
4722 java/security/Identity.java, java/security/IdentityScope.java,
4723 java/security/KeyFactory.java,
4724 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
4725 java/security/MessageDigest.java, java/security/Policy.java,
4726 java/security/ProtectionDomain.java,
4727 java/security/SecureRandom.java, java/security/Security.java,
4728 java/security/Signature.java, java/security/SignatureSpi.java,
4729 java/security/SignedObject.java, java/security/Signer.java,
4730 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
4731 java/security/spec/PSSParameterSpec.java,
4732 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
4733 java/security/spec/RSAOtherPrimeInfo.java: New versions from
4736 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
4738 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
4739 (dispose): Null metrics.
4740 * gnu/awt/xlib/XToolkit.java (sync): Implement.
4741 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
4743 (finalize): Call dispose.
4744 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
4745 (gcCachedCount): New field.
4746 (finalize): New method.
4747 (putGCInCache): New method.
4748 (getGCFromCache): New method.
4749 * gnu/gcj/xlib/GC.java (GC): Make protected.
4750 (clone): Get new GC from cache if possible.
4751 (create): New static method.
4752 (dispose): Save old GC in cache.
4753 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
4755 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
4757 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
4758 * java/awt/Container.java (visitChild): Dispose gfx2 when
4761 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
4763 * java/math/BigInteger.java (probablePrime): New.
4764 * java/math/BigDecimal.java (unscaledValue): New.
4766 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
4768 * java/io/File.java (getAbsolutePath): On Windows, take care
4769 of paths like "C:", "G:foo\bar", etc.
4770 (getName): Make it work correctly on Windows.
4771 (getParent): Make it work correctly on Windows. For UNIX,
4772 fix bug that causes "/" to be returned as the parent of "/",
4773 instead of null as returned by Sun's JRE.
4775 * java/io/natFileWin32.cc: Change copyright owner to FSF.
4777 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
4779 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
4781 (CACHE_SIZE_PER_DISPLAY): New field
4782 (fontMetricsCache): New field
4783 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
4784 loading ISO10646-1 fonts.
4786 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
4788 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
4790 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
4793 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
4795 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
4798 2003-04-15 Jakub Jelinek <jakub@redhat.com>
4800 * configure.host (*-linux*): Don't set slow_pthread_self if primary
4801 installed libpthread is either linuxthreads with floating stacks or
4804 2003-04-14 Tom Tromey <tromey@redhat.com>
4806 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
4809 2003-04-10 Tom Tromey <tromey@redhat.com>
4811 * verify.cc (pop64): Removed.
4812 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
4813 exception if top-of-stack is narrow.
4814 (initialize_stack): Check to ensure that <init> is not static and
4817 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
4819 * java/io/ObjectStreamException
4820 * java/io/FileFilter
4821 * java/io/FilenameFilter
4822 * java/io/ObjectInput
4823 * java/io/ObjectOutput
4824 * java/io/ObjectStreamConstants
4825 Minor doc fixes, format fixes, spelling corrections, etc.
4827 Corrected code samples in Javadocs to match reality
4828 * java/io/DataOutput
4829 * java/io/ObjectInputValidation
4830 Major documentation fixes - all Javadocs re-written or updated
4832 2003-04-06 Michael Koch <konqueror@gmx.de>
4834 * java/net/URLConnection.java:
4835 Import classes directly.
4836 (URLConnection): Merged class documentation with classpath.
4837 (url): Moved, documentation from classpath added.
4838 (doInput): Moved, documentation from classpath added.
4839 (doOutput): Moved, documentation from classpath added.
4840 (allowUserInteraction): Moved.
4841 (useCaches): Moved, documentation from classpath added.
4842 (ifModifiedSince): Moved, documentation from classpath added.
4843 (connected): Moved, documentation from classpath added.
4845 2003-04-06 Michael Koch <konqueror@gmx.de>
4847 * java/io/FileInputStream.java
4848 (skip): Renamed some variables to match classpath, added
4849 checks from classpath.
4851 2003-03-31 Michael Koch <konqueror@gmx.de>
4853 * javax/swing/AbstractAction.java
4854 (AbstractAction): Reformatted.
4855 (serialVersionUID): New private member variable.
4856 * javax/swing/plaf/BorderUIResource.java
4857 (serialVersionUID): New private member variable.
4858 * javax/swing/plaf/basic/BasicLookAndFeel.java
4859 (serialVersionUID): New private member variable.
4861 2003-03-31 Michael Koch <konqueror@gmx.de>
4863 * java/sql/Date.java
4864 (valueOf): Deprecated, reformatted.
4865 (toString): Deprecated, reformatted.
4866 * java/sql/Time.java
4867 (valueOf): Deprecated, reformatted.
4868 (toString): Deprecated, reformatted.
4870 2003-03-31 Michael Koch <konqueror@gmx.de>
4872 * java/rmi/dgc/VMID.java
4873 (isUnique): Deprecated.
4875 2003-03-31 Michael Koch <konqueror@gmx.de>
4878 (separator): Merged documentation from classpath.
4879 (separatorChar): Merged documentation from classpath.
4880 (pathSeparator): Merged documentation from classpath.
4881 (pathSeparatorChar): Merged documentation from classpath.
4882 (path): Merged documentation from classpath.
4883 (canRead): Merged documentation from classpath.
4884 (canWrite): Merged documentation from classpath.
4885 (createNewFile): Merged documentation from classpath.
4886 (delete): Merged documentation from classpath.
4887 (equals): Merged documentation from classpath.
4888 (exists): Merged documentation from classpath.
4889 (File): Renamed p to name to match classpath, merged documentation
4891 (getAbsolutePath): Merged documentation from classpath.
4892 (getCanonicalPath): Merged documentation from classpath.
4893 (getCanonicalFile): Merged documentation from classpath.
4894 (getName): Merged documentation from classpath.
4895 (getParent): Merged documentation from classpath.
4896 (getParentFile): Merged documentation from classpath.
4897 (getPath): Merged documentation from classpath.
4898 (hashCode): Merged documentation from classpath.
4899 (isAbsolute): Merged documentation from classpath.
4900 (isDirectory): Merged documentation from classpath.
4901 (isFile): Merged documentation from classpath.
4902 (isHidden): Merged documentation from classpath.
4903 (lastModified): Merged documentation from classpath.
4904 (length): Merged documentation from classpath.
4905 (list): Merged documentation from classpath.
4906 (listFiles): Merged documentation from classpath.
4907 (toString): Merged documentation from classpath.
4908 (toURL): Merged documentation from classpath.
4909 (mkdir): Merged documentation from classpath.
4910 (mkdirs): Merged documentation from classpath.
4911 (createTempFile): Merged documentation from classpath.
4912 (setReadOnly): Merged documentation from classpath.
4913 (listRoots): Merged documentation from classpath.
4914 (compareTo): Merged documentation from classpath.
4915 (renameTo): Merged documentation from classpath.
4916 (setLastModified): Merged documentation from classpath.
4917 * java/io/PrintStream.java
4918 (auto_flush): Merged documentation from classpath.
4919 (PrintStream): Merged documentation from classpath.
4920 (checkError): Merged documentation from classpath.
4921 (setError): Merged documentation from classpath.
4922 (close): Merged documentation from classpath.
4923 (flush): Merged documentation from classpath.
4924 (print): Merged documentation from classpath.
4925 (println): Merged documentation from classpath.
4926 (write): Renamed count to len to match classpath,
4927 merged documentation from classpath.
4928 * java/io/RandomAccessFile.java
4929 (readShort): Merged documentation from classpath.
4930 (readUnsignedByte): Merged documentation from classpath.
4931 (readUnsignedShort): Merged documentation from classpath.
4932 (readUTF): Merged documentation from classpath.
4933 (seek): Reformatted, merged documentation from classpath.
4934 (skipBytes): Renamed some variables to match classpath, reformatted,
4935 merged documentation from classpath.
4936 (write): Merged documentation from classpath.
4937 (writeBoolean): Merged documentation from classpath.
4938 (writeByte): Merged documentation from classpath.
4939 (writeShort): Merged documentation from classpath.
4940 (writeChar): Merged documentation from classpath.
4941 (writeInt): Merged documentation from classpath.
4942 (writeLong): Merged documentation from classpath.
4943 (writeFloat): Merged documentation from classpath.
4944 (writeDouble): Merged documentation from classpath.
4945 (writeBytes): Merged documentation from classpath.
4946 (writeChars): Merged documentation from classpath.
4947 (writeUTF): Reformatted.
4948 (getChannel): Reformatted.
4950 2003-03-31 Michael Koch <konqueror@gmx.de>
4952 * java/awt/font/TextAttribute.java
4953 (readResolve): Throws java.io.InvalidObjectException.
4955 2003-03-31 Michael Koch <konqueror@gmx.de>
4957 * java/rmi/server/LoaderHandler.java
4958 (loadClass): Deprecated.
4959 (getSecurityContext): Deprecated.
4960 * java/rmi/server/LogStream.java
4961 (getDefaultStream): Deprecated.
4962 (setDefaultStream): Deprecated.
4963 (getOutputStream): Deprecated.
4964 (setOutputStream): Deprecated.
4965 (write): Deprecated.
4966 (toString): Deprecated.
4967 (parseLevel): Deprecated.
4968 * java/rmi/server/Operation.java
4969 (Operation): Deprecated.
4970 (getOperation): Deprecated.
4971 (toString): Deprecated.
4972 * java/rmi/server/RemoteCall.java
4973 (getOutputStream): Deprecated.
4974 (releaseOutputStream): Deprecated.
4975 (getInputStream): Deprecated.
4976 (releaseInputStream): Deprecated.
4977 (getResultStream): Deprecated.
4978 (executeCall): Deprecated.
4980 * java/rmi/server/RemoteRef.java
4981 (invoke): Deprecated.
4982 (newCall): Deprecated.
4984 * java/rmi/server/RemoteStub.java
4985 (setRef): Deprecated.
4986 * java/rmi/server/Skeleton.java:
4987 No need to import java.lang.Exception explicitly.
4988 (dispatch): Deprecated.
4989 (getOperations): Deprecated.
4991 2003-03-31 Michael Koch <konqueror@gmx.de>
4993 * java/rmi/dgc/VMID.java,
4994 java/rmi/registry/RegistryHandler.java,
4995 java/rmi/server/LogStream.java,
4996 java/rmi/server/Operation.java,
4997 java/rmi/server/RemoteCall.java,
4998 java/rmi/server/RemoteRef.java,
4999 java/rmi/server/RemoteStub.java:
5002 2003-03-31 Michael Koch <konqueror@gmx.de>
5004 * javax/swing/AbstractCellEditor.java,
5005 javax/swing/AbstractListModel.java,
5006 javax/swing/ActionMap.java,
5007 javax/swing/BorderFactory.java,
5008 javax/swing/ButtonGroup.java,
5009 javax/swing/DefaultBoundedRangeModel.java,
5010 javax/swing/DefaultButtonModel.java,
5011 javax/swing/DefaultCellEditor.java,
5012 javax/swing/DefaultComboBoxModel.java,
5013 javax/swing/DefaultDesktopManager.java,
5014 javax/swing/DefaultListCellRenderer.java,
5015 javax/swing/DefaultSingleSelectionModel.java,
5016 javax/swing/InputMap.java,
5017 javax/swing/JComponent.java,
5018 javax/swing/JMenu.java,
5019 javax/swing/JSlider.java,
5020 javax/swing/KeyStroke.java,
5021 javax/swing/OverlayLayout.java,
5022 javax/swing/ScrollPaneLayout.java,
5023 javax/swing/SizeRequirements.java,
5024 javax/swing/UIManager.java,
5025 javax/swing/ViewportLayout.java,
5026 javax/swing/border/AbstractBorder.java,
5027 javax/swing/colorchooser/DefaultColorSelectionModel.java,
5028 javax/swing/event/EventListenerList.java,
5029 javax/swing/table/AbstractTableModel.java,
5030 javax/swing/table/DefaultTableCellRenderer.java,
5031 javax/swing/table/DefaultTableColumnModel.java,
5032 javax/swing/table/DefaultTableModel.java,
5033 javax/swing/table/TableColumn.java,
5034 javax/swing/text/StyledEditorKit.java,
5035 javax/swing/tree/DefaultMutableTreeNode.java,
5036 javax/swing/tree/DefaultTreeModel.java,
5037 javax/swing/tree/DefaultTreeSelectionModel.java,
5038 javax/swing/tree/TreePath.java,
5039 javax/swing/undo/AbstractUndoableEdit.java,
5040 javax/swing/undo/StateEdit.java,
5041 javax/swing/undo/StateEditable.java,
5042 javax/swing/undo/UndoableEditSupport.java:
5043 Merges from classpath.
5045 2003-03-30 Tom Tromey <tromey@redhat.com>
5047 * java/lang/String.java (data, boffset, count): Documented.
5048 (String(byte[],String)): Reformatted.
5049 (String(byte[])): Likewise.
5050 (lastIndexOf(int)): Likewise.
5051 (lastIndexOf(String)): Likewise.
5052 (substring(int)): Renamed argument to match Classpath.
5053 (String(StringBuffer)): Don't share buffer if it is nearly empty.
5055 * java/lang/String.java: Miscellaneous minor formatting changes
5056 to match Classpath more closely.
5058 2003-03-29 Eric Blake <ebb9@email.byu.edu>
5059 Tom Tromey <tromey@redhat.com>
5061 * java/lang/natString.cc (hashCode): Use cachedHashCode.
5063 (charAt): Put index in exception.
5064 (contentEquals): New method.
5065 Include StringBuffer.h.
5066 * java/lang/String.java (cachedHashCode): New field.
5067 (String()): Follow classpath implementation.
5069 (contentEquals): Declare.
5070 (subSequence): Don't declare IndexOutIfBoundsException in throws
5072 (matches, replaceFirst, replaceAll, split): New methods from
5075 2003-03-29 Tom Tromey <tromey@redhat.com>
5077 * java/lang/String.java: Reordered to follow Classpath; merged in
5080 * java/text/MessageFormat.java: Removed some whitespace.
5082 * Makefile.in: Rebuilt.
5083 * Makefile.am (awt_java_source_files): Added new files.
5084 * gnu/javax/rmi/PortableServer.java,
5085 gnu/javax/rmi/CORBA/DelegateFactory.java,
5086 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
5087 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
5088 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
5089 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
5090 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
5091 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
5092 javax/rmi/PortableRemoteObject.java,
5093 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
5094 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
5095 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
5096 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
5097 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
5098 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
5100 * java/lang/natClass.cc (newInstance): Put method name in
5102 (getConstructor): Likewise.
5103 (getDeclaredConstructor): Likewise.
5104 (getPrivateMethod): Likewise.
5106 2003-03-28 Tom Tromey <tromey@redhat.com>
5108 * java/lang/reflect/Proxy.java: New version from Classpath.
5109 * java/lang/Package.java: New version from Classpath.
5111 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
5113 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
5114 * configure: Regenerate.
5116 2003-03-28 Michael Koch <konqueror@gmx.de>
5118 * java/io/File.java:
5119 Import needed classes instead of whole packages, merged class
5120 documentation with classpath, moved constants and variables to top of
5122 * java/io/PrintStream.java:
5123 Merged class documentation with classpath, moved constants and
5124 variables to top of class.
5125 * java/io/RandomAccessFile.java
5126 (RandomAccessFile): Merged with classpath.
5127 (read): Merged with classpath).
5128 (read*): Reformatted.
5130 2003-03-28 Michael Koch <konqueror@gmx.de>
5132 * java/io/FileDescriptor.java
5133 (finalize): Throws Throwable, not IOException.
5134 * java/io/ObjectOutputStream.java
5135 (PutField.put): Doesnt throws anything.
5137 2003Â03-28 Michael Koch <konqueror@gmx.de>
5139 * java/io/FileOutputStream.java:
5140 Merged class documentation and authors with classpath.
5141 (FileOutputStream): Partly merged with classpath.
5142 (write): Merged with classpath.
5143 (getChannel): Make it synchronized instead of explicit block in this
5145 * java/io/RandomAccessFile.java:
5146 Merged class documentation and authors with classpath.
5148 2003-03-26 Tom Tromey <tromey@redhat.com>
5150 * java/lang/natRuntime.cc (insertSystemProperties): Set
5151 gnu.classpath.home.url.
5152 * Makefile.in: Rebuilt.
5153 * Makefile.am: Define LIBDIR.
5155 2003-03-25 Michael Koch <konqueror@gmx.de>
5157 * java/io/FileInputStream.java
5158 (read): Renamed b to buf and off to offset.
5159 * java/io/FileOutputStream.java
5160 (ch): Documentation added.
5161 (FileOutputStream): Documentation added.
5162 (getFD): Documentation added.
5163 (write): Documentation added.
5164 (close): Documentation added.
5165 (getChannel): Documentation added.
5167 2003-03-24 Michael Koch <konqueror@gmx.de>
5169 * java/io/DataOutputStream.java
5170 (write): Merged from classpath.
5171 * java/io/File.java:
5172 Merged copyrigth with classpath.
5173 * java/io/FileInputStream.java
5174 (getChannel): Made it synchronized instead of using a synchronized
5176 * java/io/FileOutputStream.java: Reformatted.
5177 * java/io/InputStreamReader.java
5178 (InputStreamReader): Renamed enc to encoding_name.
5179 (close): Merged documentation from classpath.
5180 (getEncoding): Merged documentation from classpath.
5181 (ready): Merged documentation from classpath.
5182 (read): Merged documentation from classpath.
5183 * java/io/LineNumberReader.java
5184 (lineNumber): Made it private.
5185 (LineNumberReader): Use Constant instead of a direct value.
5186 * java/io/OutputStreamWriter.java
5187 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
5188 documentation from classpath.
5189 (close): Merged documentation from classpath.
5190 (flush): Merged documentation from classpath.
5191 (write): Merged documentation from classpath.
5192 * java/io/PrintStream.java: Reformatted.
5194 2003-03-24 Michael Koch <konqueror@gmx.de>
5196 * javax/swing/text/ComponentView.java
5197 (getComponent): Must be final.
5198 * javax/swing/tree/DefaultTreeCellRenderer.java:
5200 * javax/swing/undo/StateEditable.java:
5203 2003-03-24 Michael Koch <konqueror@gmx.de>
5205 * java/rmi/activation/ActivationInstantiator.java:
5207 * java/rmi/activation/Activator.java:
5209 * java/rmi/registry/RegistryHandler.java:
5210 Remerged from classpath.
5212 2003-03-24 Michael Koch <konqueror@gmx.de>
5214 * java/util/Date.java:
5215 Fixed documentation starting tag to make javadoc happy.
5216 * java/util/regex/Pattern.java
5217 (Pattern): Implements Serializable.
5218 * java/util/PatternSyntaxException.java
5219 (serialVersionUID): New member variable.
5221 2003-03-24 Michael Koch <koqnueror@gmx.de>
5223 * java/awt/ContainerOrderFocusTraversalPolicy.java
5224 (getFirstComponent): Implemented.
5225 (getLastComponent): Implemented.
5226 (getDefaultComponent): Implemented.
5227 (setImplicitDownCycleTraversal): Fixed implementation.
5228 * java/awt/Robot.java
5229 (Robot): Added documentation.
5230 * java/awt/Toolkit.java
5231 (getFontList): Deprecated.
5232 (getFontMetrics): Deprecated.
5233 (getPrintJob): Added documentation.
5234 (getSystemSelection): Added documentation.
5235 (getLockingKeyState): Added documentation.
5236 (setLockingKeyState): Added documentation.
5237 (createCustomCursor): Added documentation.
5238 (getBestCursorSize): Added documentation.
5239 (getMaximumCursorColors): Added documentation.
5240 (isFrameStateSupported): Added documentation.
5242 2003-03-24 Michael Koch <konqueror@gmx.de>
5244 * java/io/RandomAccessFile.java:
5245 More little merges with classpath. No code changes.
5247 2003-03-24 Michael Koch <konqueror@gmx.de>
5249 * java/net/natInetAddressNoNet.cc:
5251 * java/net/natPlainDatagramSocketImplNoNet.cc:
5252 Fixed inlcude of java/net/DatagramPacket.h.
5253 * java/net/natPlainSocketImplNoNet.cc:
5254 Include some missing classes.
5256 2003-03-24 Michael Koch <konqueror@gmx.de>
5258 * java/awt/dnd/DropTarget.java
5259 (DropTargetAutoScroller): According to the online documentation, this
5260 is protected, but in reality it is public.
5261 * java/awt/dnd/DropTargetContext.java
5262 (TransferableProxy): According to the online documentation, this
5263 is protected, but in reality it is public.
5265 2003-03-24 Michael Koch <konqueror@gmx.de>
5267 * java/io/DataInputStream.java
5268 (): Wrapped documentation line.
5269 (): Fixed @return tag.
5270 * java/io/DataOutputStream.java
5271 (written): Moved to top of class.
5272 (all methods): Merged documentation from classpath.
5273 * java/io/File.java:
5274 Merged copyright year with classpath.
5275 * java/io/FileInputStream.java
5276 (all methods): Merged documentation from classpath.
5277 * java/io/LineNumberReader.java
5278 (getLineNumber): Fixed @return tag.
5279 * java/io/ObjectInputStream.java.
5281 * java/io/ObjectOutputStream.java:
5282 Reformatted, fixed some @see tags.
5283 * java/io/OutputStreamWriter.java:
5285 * java/io/Writer.java:
5288 2003-03-24 Michael Koch <konqueror@gmx.de>
5290 * java/awt/Frame.java
5291 (DEFAULT_CURSOR): Fixed @deprecated tag.
5292 (setCursor): Fixed @deprecated tag.
5294 2003-03-24 Michael Koch <konqueror@gmx.de>
5296 * java/beans/beancontext/BeanContextEvent.java:
5299 2003-03-23 Eric Blake <ebb9@email.byu.edu>
5301 * java/lang/natStringBuffer.cc (regionMatches): New function.
5302 * java/lang/String.java (count): Now package-private.
5303 * java/lang/StringBuffer.java: Merged with Classpath.
5305 2003-03-23 Michael Koch <konqueror@gmx.de>
5307 * java/io/BufferedOutputStream.java:
5309 * java/io/BufferedReader.java:
5311 * java/io/ByteArrayOutputStream.java
5312 (size): Fixed @see tag.
5313 * java/io/CharArrayWriter.java
5314 (size): Fixed @see tag.
5315 * java/io/DataInput.java:
5317 * java/io/DataOutput.java:
5319 * java/io/DataOutputStream.java:
5320 Merged copyright years with classpath.
5321 * java/io/Externalizable.java:
5323 * java/io/FileFilter.java:
5325 * java/io/FileInputStream.java:
5326 Merged copyright years with classpath.
5327 * java/io/FileOutputStream.java:
5328 Merged copyright years with classpath.
5329 * java/io/FilePermission.java
5330 (FilePermission): Replaced @XXX with FIXME:.
5331 * java/io/FileWriter.java:
5333 * java/io/FilenameFilter.java:
5335 * java/io/FilterInputStream.java:
5337 * java/io/FilterOutputStream.java:
5339 * java/io/FilterReader.java:
5341 * java/io/FilterWriter.java:
5343 * java/io/LineNumberInputStream.java
5344 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
5346 (getLineNumber): Fixed @return tag.
5347 * java/io/ObjectInput.java:
5349 * java/io/ObjectOutput.java:
5351 * java/io/ObjectStreamClass.java:
5353 * java/io/PrintStream.java:
5354 Merged copyright years with classpath.
5355 * java/io/PushbackReader.java
5356 (PushbackReader): Replaced @code with @param.
5357 * java/io/SerializablePermission.java:
5359 * java/io/StreamTokenizer.java
5360 (resetSyntax): Fixed @see tag.
5362 2003-03-22 Richard Henderson <rth@redhat.com>
5364 * sysdep/ia64/locks.h: Include ia64intrin.h.
5365 (compare_and_swap): Use __sync_bool_compare_and_swap.
5366 (compare_and_swap_release): Expose ar.ccv assignment.
5368 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
5370 * include/posix.h: Add suffix for darwin dynamic libraries.
5372 2003-03-21 Michael Koch <konqueror@gmx.de>
5374 * javax/swing/Action.java
5375 (ACCELERATOR_KEY): New constant.
5376 (ACTION_COMMAND_KEY): Likewise.
5377 (MNEMONIC_KEY): Likewise.
5378 * javax/swing/UnsupportedLookAndFeelException.java
5379 (UnsupportedLookAndFeelException): Must be public.
5380 * javax/swing/WindowConstants.java
5381 (EXIT_ON_CLOSE): New constant.
5382 * javax/swing/text/BadLocationException.java
5383 (offset): New member variable.
5384 (BadLocationException): New implementation, documentation added.
5385 (offsetRequested): New method.
5386 * javax/swing/text/Caret.java:
5388 * javax/swing/text/Document.java:
5391 2003-03-21 Michael Koch <konqueror@gmx.de>
5393 * java/rmi/activation/Activatable.java
5394 (serialVersionUID): New member variable.
5395 * java/rmi/activation/ActivationGroup.java
5396 (serialVersionUID): New member variable.
5397 * java/rmi/activation/ActivationGroupDesc.java
5398 (serialVersionUID): New member variable.
5399 * java/rmi/registry/Registry.java:
5401 (Registry): Deprecated.
5402 * java/rmi/server/LoaderHandler.java
5404 (LoaderHandler): Deprecated.
5405 * java/rmi/server/LogStream.java
5407 (LogStream): Deprecated.
5408 * java/rmi/server/Operation.java
5409 (Operation): Deprecated.
5410 * java/rmi/server/RMIFailureHandler.java:
5412 * java/rmi/server/RMISocketFactory.java:
5414 * java/rmi/server/RemoteCall.java
5415 (RemoteCall): Deprecated.
5416 * java/rmi/server/RemoteStub.java:
5418 * java/rmi/server/Skeleton.java
5420 (Skeleton): Deprecated.
5422 2003-03-21 Michael Koch <konqueror@gmx.de>
5424 * java/io/LineNumberReader.java
5425 (LineNumberReader): Merged documentation with classpath.
5426 (getLineNumber): Likewise.
5427 (setLineNumber): Likewise.
5431 (readLine): Likewise.
5434 2003-03-21 Michael Koch <konqueror@gmx.de>
5436 * java/rmi/RMISecurityManager.java
5437 (checkAccept): Removed.
5438 (checkAccess): Likewise.
5439 (checkAccess): Likewise.
5440 (checkAwtEventQueueAccess): Likewise.
5441 (checkConnect): Likewise.
5442 (checkCreateClassLoader): Likewise.
5443 (checkDelete): Likewise.
5444 (checkExec): Likewise.
5445 (checkExit): Likewise.
5446 (checkLink): Likewise.
5447 (checkListen): Likewise.
5448 (checkMemberAccess): Likewise.
5449 (checkMulticast): Likewise.
5450 (checkPackageAccess): Likewise.
5451 (checkPackageDefinition): Likewise.
5452 (checkPermission): Likewise.
5453 (checkPrintJobAccess): Likewise.
5454 (checkPropertiesAccess): Likewise.
5455 (checkPropertyAccess): Likewise.
5456 (checkRead): Likewise.
5457 (checkSecurityAccess): Likewise.
5458 (checkSetFactory): Likewise.
5459 (checkSystemClipboardAccess): Likewise.
5460 (checkTopLevelWindow): Likewise.
5461 (checkWrite): Likewise.
5463 2003-03-20 Michael Koch <konqueror@gmx.de>
5465 * gnu/java/nio/FileChannelImpl.java
5467 (map_address): New member variable.
5468 (length): Make it package private.
5469 (fd): Make it package private.
5470 (buf): Make it package private.
5471 (file_obj): Make it package private.
5472 (FileChannelImpl): New constructor.
5473 (nio_mmap_file): Use RawData instead of long.
5474 (nio_munmap_file): Use RawData instead of long.
5475 (nio_msync): Use RawData instead of long.
5476 (implCloseChannel): New implementation using map_address.
5479 (create_direct_mapped_buffer): Implemented, use RawData, throws
5481 (force): Use map_address instead of address.
5482 * gnu/java/nio/MappedByteFileBuffer.java
5484 (map_address): New member variable.
5485 (MappedByteFileBuffer): Use map_address instead of address, reformated.
5486 (several methods): Use map_address instead of address, replaced long
5487 with RawData where appropriate.
5488 * gnu/java/nio/natFileChannelImpl.cc
5489 (nio_mmap_file): Replaced long with RawData.
5490 (nio_munmap_file): Replaced long with RawData.
5491 (nio_msync): Replaced long with RawData.
5492 * gnu/java/nio/natMappedByteFileBuffer.cc
5493 (several methods): Replaced long with RawData where appropriate.
5495 2003-03-20 Michael Koch <konqueror@gmx.de>
5497 * java/net/InetAddress.java,
5498 java/net/JarURLConnection.java,
5499 java/net/PlainDatagramSocketImpl.java,
5500 java/net/PlainSocketImpl.java,
5501 java/net/URLConnection.java:
5502 Merged copyright statements with classpath for easier merging.
5504 2003-03-20 Michael Koch <konqueror@gmx.de>
5506 * java/io/FileInputStream.java
5507 (getChannel): New implementation.
5508 * java/io/FileOutputStream.java
5509 (ch): New member variable.
5510 (getChannel): Implemented.
5511 * java/io/RandomAccessFile.java
5512 (RandomAccessFile): Throws FileNotFoundException instead of
5514 (getChannel): New method.
5515 (ch): New member variable.
5517 2003-03-20 Michael Koch <konqueror@gmx.de>
5519 * java/io/DataOutputStream.java,
5521 java/io/FileInputStream.java,
5522 java/io/FileOutputStream.java,
5523 java/io/InputStreamReader.java,
5524 java/io/LineNumberReader.java,
5525 java/io/OutputStreamWriter.java,
5526 java/io/PrintStream.java,
5527 java/io/RandomAccessFile.java:
5528 Merged copyright statements with classpath for easier merging.
5530 2003-03-19 Michael Koch <konqueror@gmx.de>
5532 * java/lang/Process.java:
5533 Merged from classpath.
5535 2003-03-19 Michael Koch <konqueror@gmx.de>
5537 * java/io/FileOutputStream.java
5538 (FileOutputStream): New constructor, merged from classpath.
5539 * java/io/FileWriter.java
5540 (FileWriter): New constructor, merged from classpath.
5542 2003-03-18 Michael Koch <konqueror@gmx.de>
5544 * java/awt/ScrollPane.java
5545 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
5546 (getViewportSize): Likewise.
5547 (addNotify): Likewise.
5548 (removeNotify): Likewise.
5549 * java/awt/ScrollPaneAdjustable.java
5550 (ScrollPaneAdjustable): No longer extends Scrollbar.
5551 * java/beans/beancontext/BeanContextServices.java:
5553 (getService): Added throws TooManyListenersException;
5554 * java/beans/beancontext/BeanContextServicesSupport.java:
5557 2003-03-18 Michael Koch <konqueror@gmx.de>
5559 * java/io/BufferedOutputStream.java,
5560 java/io/DataInput.java,
5561 java/io/DataInputStream.java,
5562 java/io/DataOutput.java,
5563 java/io/Externalizable.java:
5564 More merges from classpath.
5566 2003-03-18 Michael Koch <konqueror@gmx.de>
5568 * configure.in: Fixed links to platform dependant java.net files.
5569 * configure: Regenerated.
5570 * java/net/natInetAddress.cc,
5571 java/net/natNetworkInterface.cc,
5572 java/net/natPlainDatagramSocketImpl.cc,
5573 java/net/natPlainSocketImpl.cc:
5576 2003-03-18 Michael Koch <konqueror@gmx.de>
5578 * configure.in: Create links to architecture dependent files,
5579 introduced PLATFORMNET variable (set to NoNet for newlib usage).
5580 * configure: Regenerated.
5581 * java/net/natInetAddressNoNet.cc,
5582 java/net/natInetAddressPosix.cc,
5583 java/net/natInetAddressWin32.cc,
5584 java/net/natNetworkInterfaceNoNet.cc,
5585 java/net/natNetworkInterfacePosix.cc,
5586 java/net/natNetworkInterfaceWin32.cc,
5587 java/net/natPlainDatagramSocketImplNoNet.cc,
5588 java/net/natPlainDatagramSocketImplPosix.cc,
5589 java/net/natPlainDatagramSocketImplWin32.cc,
5590 java/net/natPlainSocketImplNoNet.cc,
5591 java/net/natPlainSocketImplPosix.cc,
5592 java/net/natPlainSocketImplWin32.cc: New files.
5594 2003-03-18 Michael Koch <konqueror@gmx.de>
5596 * java/io/BufferedReader.java,
5597 java/io/BufferedWriter.java,
5598 java/io/ByteArrayOutputStream.java,
5599 java/io/FileFilter.java,
5600 java/io/FilePermission.java,
5601 java/io/FileReader.java,
5602 java/io/FileWriter.java,
5603 java/io/FilenameFilter.java,
5604 java/io/FilterInputStream.java,
5605 java/io/FilterOutputStream.java,
5606 java/io/FilterReader.java,
5607 java/io/FilterWriter.java,
5608 java/io/ObjectInput.java,
5609 java/io/ObjectInputValidation.java,
5610 java/io/ObjectOutput.java,
5611 java/io/ObjectStreamField.java,
5612 java/io/PipedInputStream.java,
5613 java/io/PipedReader.java,
5614 java/io/PrintWriter.java,
5615 java/io/PushbackReader.java,
5616 java/io/Reader.java,
5617 java/io/SerializablePermission.java,
5618 java/io/StringReader.java,
5619 java/io/Writer.java:
5620 Merged from classpath.
5622 2003-03-17 Michael Koch <konqueror@gmx.de>
5624 * java/awt/ScrollPaneAdjustable.java:
5627 2003-03-17 Michael Koch <konqueror@gmx.de>
5629 * java/net/DatagramSocket.java
5630 (connect): Fixed comment.
5631 * java/nio/ByteBuffer.java
5632 (hasArray): Fixed comment.
5634 2003-03-17 Michael Koch <konqueror@gmx.de>
5636 * java/beans/Beans.java:
5637 Explicitely import classes not packages.
5638 * java/beans/FeatureDescriptor.java
5639 (preferred): New member variable.
5640 (isPreferred): New method.
5641 (setPreferred): New method.
5642 * java/beans/PropertyEditorManager.java:
5643 Explicitely import used classes.
5644 * java/beans/beancontext/BeanContextChild.java:
5645 Added line wrapping.
5646 * java/beans/beancontext/BeanContextChildSupport.java:
5648 * java/beans/beancontext/BeanContextEvent.java:
5651 2003-03-17 Michael Koch <konqueror@gmx.de>
5653 * java/awt/Dialog.java
5654 (Dialog): New constructor, changed implementations, added
5656 * java/awt/ScrollPaneAdjustable.java
5657 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
5659 (serialVersionUID): New member variable.
5660 (sp): New member variable.
5661 (orientation): New member variable.
5662 (value): New member variable.
5663 (minimum): New member variable.
5664 (maximum): New member variable.
5665 (visibleAmount): New member variable.
5666 (unitIncrement): New member variable.
5667 (blockIncrement): New member variable.
5668 (AdjustmentListener): New member variable.
5669 (ScrollPaneAdjustable): New implementation.
5670 (addAdjustmentListener): New method.
5671 (removeAdjustmentListener): New method.
5672 (getAdjustmentListeners): New method.
5673 (getBlockIncrement): New method.
5674 (getMaximum): New method.
5675 (getMinimum): New method.
5676 (getOrientation): New method.
5677 (getUnitIncrement): New method.
5678 (getValue): New method.
5679 (getVisibleAmount): New method.
5680 (setBlockIncrement): New method.
5681 (setMaximum): Implemented.
5682 (setMinimum): Implemented.
5683 (setUnitIncrement): New method.
5684 (setValue): New method.
5685 (setVisibleAmount): Implemented.
5686 (paramString): New stubbed method.
5687 * java/awt/Window.java
5688 (show): Call setVisible().
5689 (hide): Call setVisible().
5690 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
5691 and WINDOW_STATE_CHANGED.
5692 (processWindowFocusEvent): New method.
5693 (processWindowStateEvent): New method.
5694 (postEvent): Deprecated.
5695 (applyResourceBundle): Deprecated.
5696 * java/awt/datatransfer/DataFlavor.java
5697 (DataFlavor): Doesn't thow ClassNotFoundException.
5699 2003-03-17 Michael Koch
5701 * javax/print/attribute/Attribute.java,
5702 javax/print/attribute/AttributeSet.java,
5703 javax/print/attribute/PrintRequestAttributeSet.java:
5706 (javax_source_files): Added new files:
5707 javax/print/attribute/Attribute.java
5708 javax/print/attribute/AttributeSet.java
5709 javax/print/attribute/PrintRequestAttributeSet.java
5710 * Makefile.in: Regenerated.
5712 2003-03-17 Michael Koch
5714 * javax/print/attribute/Attribute.java,
5715 javax/print/attribute/AttributeSet.java,
5716 javax/print/attribute/PrintRequestAttributeSet.java:
5719 (awt_java_source_files): Added new files:
5720 javax/print/attribute/Attribute.java
5721 javax/print/attribute/AttributeSet.java
5722 javax/print/attribute/PrintRequestAttributeSet.java
5723 * Makefile.in: Regenerated.
5725 2003-03-16 Tom Tromey <tromey@redhat.com>
5727 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
5729 * java/lang/natRuntime.cc (insertSystemProperties): Use
5730 _Jv_platform_path_separator.
5731 (nativeGetLibname): Use _Jv_platform_file_separator.
5732 (_load): Use _Jv_platform_onload_names.
5733 (onload_names): New global.
5734 * include/win32.h (_Jv_platform_file_separator): New define.
5735 (_Jv_platform_path_separator): Likewise.
5736 (_Jv_platform_onload_names): Likewise.
5737 (_Jv_platform_ffi_abi): Likewise.
5738 * include/posix.h (_Jv_platform_file_separator): New define.
5739 (_Jv_platform_path_separator): Likewise.
5740 (_Jv_platform_onload_names): Likewise.
5741 (_Jv_platform_ffi_abi): Likewise.
5743 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
5745 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
5747 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
5749 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
5751 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
5752 list to Object,ObjectStreamClass, moved callReadMethod code up into
5753 readObject and added Class argument to all setXxxField calls.
5754 (callReadMethod): Changed Class argument to ObjectStreamClass to be
5755 consistent with ObjectOutputStream and to facilitate caching the
5756 Method in the future.
5757 (setBooleanField): Added Class argument.
5758 (setByteField): Likewise.
5759 (setCharField): Likewise.
5760 (setDoubleField): Likewise.
5761 (setFloatField): Likewise.
5762 (setIntField): Likewise.
5763 (setLongField): Likewise.
5764 (setShortField): Likewise.
5765 (setObjectField): Likewise.
5766 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
5767 class hierarchy loop.
5768 (defaultWriteObject): Call writeFields with new argument list.
5769 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
5770 list to Object,ObjectStreamClass, moved callWriteMethod up into
5771 writeObject and added Class argument to all getXxxField calls.
5772 (callWriteMethod): Added ObjectStreamClass argument to be able to
5773 get the proper class to call getMethod on (each class can have (or
5774 not have) its own writeObject method).
5775 (getBooleanField): Added Class argument.
5776 (getByteField): Likewise.
5777 (getCharField): Likewise.
5778 (getDoubleField): Likewise.
5779 (getFloatField): Likewise.
5780 (getIntField): Likewise.
5781 (getLongField): Likewise.
5782 (getShortField): Likewise.
5783 (getObjectField): Likewise.
5784 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
5785 facilitate caching the Method object in the future.
5787 2003-03-12 Andreas Schwab <schwab@suse.de>
5789 * configure.in: Avoid trailing /. in toolexeclibdir.
5790 * configure: Rebuilt.
5792 2003-03-11 Michael Koch <konqueror@gmx.de>
5794 * gnu/java/nio/ByteBufferImpl.java
5795 (putInt): Use limit() instead of limit.
5796 * gnu/java/nio/CharBufferImpl.java
5797 (slice): Fixed implementation.
5798 (subSequence): Better bounds checking.
5799 * gnu/java/nio/MappedByteFileBuffer.java:
5800 Import all needed classes directly.
5801 * java/nio/ByteBuffer.java
5802 (hashCode): New dummy method.
5803 * java/nio/CharBuffer.java
5804 (array_offset): New member variable.
5805 (hasArray): Fixed documentation.
5806 (arrayOffset): Return array_offset.
5808 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
5810 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
5811 setter; made return value of getter const char* instead of char*
5812 * prims.cc: removed all references to _Jv_ThisExecutable().
5813 These are in the platform-specific sections now.
5814 * posix.cc: define platform-specific _Jv_ThisExecutable().
5815 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
5816 * win32.cc: define platform-specific _Jv_ThisExecutable()
5817 using GetModuleFilename()
5818 * java/lang/natRuntime.cc: set gnu.gcj.progname property
5819 to argv[0] instead of _Jv_ThisExecutable()
5821 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
5823 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
5824 that is set if we are using addr2name.awk instead of addr2line.
5825 (NameFinder): Set usingAddr2name if using addr2name.awk.
5826 (getExternalLabel): New native method to convert a method
5827 name to an external label.
5828 (lookup): Convert name given by addr2line to an external label
5831 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
5832 constant representing the prefix attached to method names to
5833 convert them to an external label.
5834 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
5837 2003-03-10 Tom Tromey <tromey@redhat.com>
5839 * Makefile.in: Rebuilt.
5840 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
5841 (JC1FLAGS): Removed -Wno-deprecated.
5843 2003-03-10 Michael Koch <konqueror@gmx.de>
5845 * java/nio/ByteOrder.java
5846 (nativeOrder): Working implementation, added documentation.
5847 (toString): Added documentation.
5849 2003-03-10 Michael Koch <konqueror@gmx.de>
5851 * java/net/DatagramSocket.java,
5852 java/net/MulticastSocket.java,
5853 java/net/Socket.java,
5855 java/net/URLConnection.java:
5856 Fixed some documentation tags to make javadoc and friends happy.
5858 2003-03-10 Michael Koch <koqnueror@gmx.de>
5860 * java/beans/beancontext/BeanContextServicesSupport.java,
5861 java/beans/beancontext/BeanContextSupport.java: New files.
5863 (awt_source_files): Added new files.
5864 * Makefile.in: Regenerated.
5866 2003-03-10 Michael Koch <konqueror@gmx.de>
5868 * java/awt/FocusTraversalPolicy.java
5869 (FocusTraversalPolicy): Documentation added.
5870 (getComponentAfter): Documentation added.
5871 (getComponentBefore): Documentation added.
5872 (getFirstComponent): Documentation added.
5873 (getLastComponent): Documentation added.
5874 (getDefaultComponent): Documentation added.
5875 (getInitialComponent): Documentation added.
5876 * java/awt/ScrollPaneAdjustable.java
5877 (sp): New member variable.
5878 (orientation): New member variable.
5879 (value): New member variable.
5880 (minimum): New member variable.
5881 (maximum): New member variable.
5882 (visibleAmount): New member variable.
5883 (unitIncrement): New member variable.
5884 (blockIncrement): New member variable.
5885 (adjustmentListener): New member variable.
5886 (ScrollPaneAdjustable): Rewrote.
5887 (addAdjustmentListener): New method.
5888 (removeAdjustmentListener): New method.
5889 (getAdjustmentListeners): New method.
5890 (getBlockIncrement): New method.
5891 (getMaximum): New method.
5892 (getMinimum): New method.
5893 (getOrientation): New method.
5894 (getUnitIncrement): New method.
5895 (getValue): New method.
5896 (getVisibleAmount): New method.
5897 (setBlockIncrement): New method.
5898 (setUnitIncrement): New method.
5899 (setMaximum): Implemented.
5900 (setMinimum): Implemented.
5901 (setValue): New method.
5902 (setVisibleAmount): Implemented.
5903 (paramString): New method.
5904 * java/awt/Window.java
5905 (show): Use setVisible(true) instead of super.show().
5906 (hide): Use sevVisible(false) instead of super.hide().
5907 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
5908 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
5909 (postEvent): Deprecated.
5910 (applyResourceBundle): Deprecated.
5911 (processWindowFocusEvent): New method.
5912 (processWindowStateEvent): New method.
5913 * java/awt/datatransfer/DataFlavor.java: Reindented.
5914 * java/awt/font/TextHitInfo.java
5915 (charIndex): New member variable.
5916 (leadingEdge): New member variable.
5917 (TextHitInfo): New constructor.
5918 (getCharIndex): Implemented.
5919 (isLeadingEdge): Implemented.
5920 (getInsertionIndex): Implemented.
5921 (hashCode): Access charIndex directly.
5922 (equals): Reformated.
5923 (leading): Implemented.
5924 (trailing): Implemented.
5925 (beforeOffset): Implemented.
5926 (afterOffset): Implemented.
5927 (getOtherHit): Implemented.
5928 (getOffsetHit): Implemented.
5929 (toString): Implemented.
5930 * java/awt/image/BufferedImage.java
5931 (BufferedImage): Implements WritableRenderedImage.
5932 (observers): New member variable.
5933 (addTileObserver): New method.
5934 (removeTileObserver): New method.
5936 2003-03-09 Tom Tromey <tromey@redhat.com>
5939 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
5940 to lseek. Return 0 if we can't compute the value.
5942 2003-03-03 Michael Koch <konqueror@gmx.de>
5944 * java/net/NetworkInterface.java: Merged with classpath.
5946 2003-03-03 Tom Tromey <tromey@redhat.com>
5948 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
5950 (handle_ret_insn): Fail if returning to jsr that appears at end of
5953 2003-03-03 Michael Koch <konqueror@gmx.de>
5956 (ordinary_java_source_files):
5957 Added gnu/java/nio/MappedByteFileBuffer.java.
5959 Added gnu/java/nio/natMappedByteFileBuffer.cc.
5960 * Makefile.in: Regenerated.
5962 2003-03-03 Michael Koch <konqueror@gmx.de>
5964 * java/net/DatagramSocket.java
5965 (connect): Merged comment from classpath.
5966 (receive): Merged documentation from classpath.
5967 * java/net/Socket.java
5968 (setSoTimeout): Clarified documentation.
5970 (getPath): Merged from classpath.
5971 (getUserInfo): Merged from classpath.
5972 (getQuery): Merged from classpath.
5973 * java/net/URLStreamHandler.java
5974 (toExternalForm): Merged from classpath.
5976 2003-03-02 Mark Wielaard <mark@klomp.org>
5978 * java/util/Properties.java (load): Only skip line if the first
5979 character is a comment, whitespaces don't count.
5981 2003-03-02 Michael Koch <konqueror@gmx.de>
5983 * java/net/NetPermission.java:
5984 Merged copyright with classpath.
5986 2003-03-02 Michael Koch <konqueror@gmx.de>
5988 * java/lang/Package.java:
5989 Remerged from classpath.
5991 2003-03-02 Michael Koch <konqueror@gmx.de>
5993 * java/net/HttpURLConnection.java
5994 (HTTP_SERVER_ERROR): Deprecated.
5995 * java/net/MulticastSocket.java
5996 (send): Replaced checkMulticast with appropriate checkPermission call,
5998 * java/net/URLDecoder.java
5999 (decode): Deprecated.
6000 * java/net/URLEncoder.java
6001 (encode): Deprecated.
6003 2003-03-02 Michael Koch <konqueror@gmx.de>
6005 * javax/swing/text/Caret.java
6006 (getMagicCaretPosition): Fixed typo in method name.
6007 * javax/swing/text/DefaultCaret.java
6008 (getMagicCaretPosition): Fixed typo in method name.
6010 2003-03-02 Michael Koch <konqueror@gmx.de>
6012 * java/awt/List.java
6013 (setMultipleSelections): Deprecated.
6014 (delItem): Deprecated.
6015 * java/awt/MenuComponent.java
6016 (getPeer): Deprecated.
6017 * java/awt/ScrollPane.java
6018 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
6019 * java/awt/dnd/MouseDragGestureRecognizer.java
6020 (mouseClicked): Added comment.
6021 (mousePressed): Added comment.
6022 (mouseReleased): Added comment.
6023 (mouseEntered): Added comment.
6024 (mouseExited): Added comment.
6025 (mouseDragged): Added comment.
6026 (mouseMoved): Added comment.
6027 * java/awt/event/KeyEvent.java
6028 (KeyEvent): Deprecated.
6029 (setModifiers): Deprecated.
6031 2003-03-02 Michael Koch <konqueror@gmx.de>
6033 * gnu/java/nio/FileChannelImpl.java
6034 (fd): Type FileDescriptor instead of int.
6035 (lengthInternal): Removed.
6036 (FileChannelImpl): Fixed arguments, check type of file object.
6037 (size): Made it native.
6038 (implPosition): New native method.
6039 (implTruncate): New native method.
6040 (position): Implemented.
6041 (truncate): Implemented.
6042 (nio_mmap_file): Changed arguments.
6043 (nio_munmap_file): Changed arguments.
6044 (nio_msync): Changed arguments.
6045 * gnu/java/nio/natFileChannelImpl.cc
6046 (lengthInternal): Removed.
6048 (implPosition): New method.
6049 (implTruncate): New method.
6050 (nio_mmap_file): Changed arguments.
6051 (nio_munmap_file): Changed arguments.
6052 (nio_msync): Changed arguments.
6054 2003-03-02 Michael Koch <konqueror@gmx.de>
6056 * java/awt/dnd/DropTargetContext.java:
6057 Compile fix: Forgot to commit import.
6059 2003-03-02 Michael Koch <konqueror@gmx.de>
6061 * java/awt/Component.java,
6062 java/awt/ScrollPane.java:
6065 2003-03-02 Michael Koch <konqueror@gmx.de>
6067 * java/awt/dnd/DnDEventMulticaster.java: New file.
6068 * java/awt/dnd/DragSource.java
6069 (flavorMap): New member variable.
6070 (dragSourceListener): New member variable.
6071 (dragSourceMotionListener): New member variable.
6072 (getFlavorMap): Implemented.
6073 (createDragGestureRecognizer): Implemented.
6074 (addDragSourceListener): Implemented.
6075 (removeDragSourceListener): Implemented.
6076 (getDragSourceListeners): Implemented.
6077 (addDragSourceMotionListener): Implemented.
6078 (removeDragSourceMotionListener): Implemented.
6079 (getDragSourceMotionListeners): Implemented.
6080 (getListeners): Implemented.
6081 * java/awt/dnd/DragSourceContext.java
6082 (peer): New member variable.
6083 (cursor): New member variable.
6084 (transferable): New member variable.
6085 (trigger): New member variable.
6086 (dragSourceListener): New member variable.
6087 (image): New member variable.
6088 (offset): New member variable.
6089 (DragSourceContext): Implemented.
6090 (getDragSource): Implemented.
6091 (getComponent): Implemented.
6092 (getTrigger): Implemented.
6093 (getSourceActions): Implemented.
6094 (setCursor): Implemented.
6095 (getCursor): Implemented.
6096 (addDragSourceListener): Implemented.
6097 (removeDragSourceListener): Implemented.
6098 (getTransferable): Implemented.
6099 * java/awt/dnd/DropTarget.java
6100 (DropTargetAutoScroller.component): New member variable.
6101 (DropTargetAutoScroller.point): New member variable.
6102 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
6103 (DropTargetAutoScroller.updateLocation): Implemented.
6104 (active): Renamed from isActive, defaults to true now.
6105 (component): New member variable.
6106 (flavorMap): New member variable.
6107 (actions): New member variable.
6108 (dropTargetContext): New member variable.
6109 (dropTargetListener): New member variable.
6110 (DropTarget): Implemented.
6111 (getComponent): Implemented.
6112 (setComponent): Implemented.
6113 (setDefaultActions): Implemented.
6114 (getDefaultActions): Implemented.
6115 (setActive): Use active instead of isActive.
6116 (isActive): Use active instead of isActive.
6117 (addDropTargetListener): Implemented.
6118 (removeDropTargetListener): Implemented.
6119 (getFlavorMap): Implemented.
6120 (setFlavorMap): Implemented.
6121 (getDropTargetContext): Implemented.
6122 (createDropTargetContext): Implemented.
6123 (createDropTargetAutoScroller): Implemented.
6124 * java/awt/dnd/DropTargetContext.java
6125 (TransferableProxy.getTransferDataFlavors): Implemented.
6126 (TransferableProxy.isDataFlavorSupported): Implemented.
6127 (TransferableProxy.getTransferData): Implemented.
6128 (dropTarget): New member variable.
6129 (dtcp): New member variable.
6130 (DropTargetContext): New package private constructor.
6131 (getDropTarget): Implemented.
6132 (getComponent): Implemented.
6133 (addNotify): Implemented.
6134 (removeNotify): Implemented.
6135 (getCurrentDataFlavorsAsList): Implemented.
6136 (isDataFlavorSupported): Implemented.
6137 * java/awt/dnd/MouseDragGestureRecognizer.java
6138 (registerListeners): Implemented.
6139 (unregisterListeners): Implemented.
6141 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
6142 * Makefile.in: Regenerated.
6144 2003-03-02 Michael Koch <konqueror@gmx.de>
6146 * java/awt/Component.java
6147 (eventTypeEnabled): New method.
6148 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
6149 * java/awt/Container.java
6150 (changeSupport): New member variable.
6151 (addPropertyChangeListener): New methods.
6152 * java/awt/ContainerOrderFocusTraversalPolicy.java
6153 (ContainerOrderFocusTraversalPolicy): Added comment.
6154 (getComponentAfter): Throw exception, documentation added.
6155 (getComponentBefore): Throw exception, documentation added.
6156 (getFirstComponent): Throw exception, documentation added.
6157 (getLastComponent): Throw exception, documentation added.
6158 (getDefaultComponent): Throw exception, documentation added.
6159 * java/awt/EventQueue.java: Reindented.
6160 * java/awt/FocusTraversalPolicy.java:
6161 (FocusTraversalPolicy): Added comment.
6162 (getComponentAfter): Documentation added.
6163 (getComponentBefore): Documentation added.
6164 (getFirstComponent): Documentation added.
6165 (getLastComponent): Documentation added.
6166 (getDefaultComponent): Documentation added.
6167 (getInitialComponent): Documentation added.
6168 * java/awt/ScrollPane.java
6169 (wheelScrollingEnabled): New member variable.
6170 (ScrollPane): Initialize wheelScollingEnabled.
6171 (eventTypeEnabled): New method.
6172 (isWheelScrollingEnabled): New method.
6173 (setWheelScrollingEnabled): New method.
6175 2003-03-02 Michael Koch <konqueror@gmx.de>
6177 * java/net/DatagramSocket.java
6178 (closed): New member variable.
6179 (close): Use closed variable.
6180 (getInetAddress): No need to call isConnected().
6181 (getPort): No need to call isConnected().
6182 (disconnect): Reset remoteAddress and remotePort, fixed typo.
6183 (isClosed): Reimplemented.
6185 2003-03-02 Michael Koch <konqueror@gmx.de>
6187 * configure.in: Added check for memory mapping of files.
6188 * configure: Regenerated.
6189 * config.h.in: Regenerated.
6191 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
6193 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
6194 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
6196 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
6198 * java/io/File.java (normalizePath): Remove trailing separator
6199 on Windows only if path is not of the form "x:\".
6201 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
6202 (java::io::File::attr): Change formatting a bit and use
6203 WIN32_EPOCH_MILLIS instead of magic numbers.
6204 (java::io::File::isAbsolute): Path must have at least 3
6205 characters for a UNC network path.
6206 (java::io::File::init_native): Define.
6207 (java::io::File::performCreate): Likewise.
6208 (java::io::File::performSetReadOnly): Likewise.
6209 (java::io::File::performSetLastModified): Likewise.
6210 (java::io::File::performListRoots): Likewise.
6212 2003-03-01 Tom Tromey <tromey@redhat.com>
6214 * java/lang/natObject.cc: Don't include assert.h.
6215 (heavy_lock_obj_finalization_proc): Use JvAssert.
6216 (remove_all_heavy): Likewise.
6217 (_Jv_MonitorEnter): Likewise.
6218 (_Jv_MonitorExit): Likewise.
6221 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
6223 * java/io/File (getAbsolutePath): Prefix drive specifier on
6224 Windows for paths starting with a '\'.
6225 (toURL): Make URL more consistent with what Sun's JDK returns.
6227 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
6228 true only if the path is a UNC network path or it starts with a
6231 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
6232 Be prepared to handle either '/' or '\\' in the file path for
6233 Windows if using the "file" protocol.
6234 Canonicalise the file path if using a relative path in the given
6235 context and the "file" protocol.
6237 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
6239 * java/lang/natWin32Process.cc (startProcess): Double-quote each
6240 program array element passed to CreateProcess.
6242 2003-03-01 Tom Tromey <tromey@redhat.com>
6244 * java/rmi/registry/RegistryHandler.java: Deprecate.
6246 2003-03-01 Tom Tromey <tromey@redhat.com>
6248 * javax/accessibility/AccessibleEditableText.java,
6249 javax/accessibility/AccessibleHyperlink.java: New versions from
6252 * gnu/java/locale/LocaleInformation_af_ZA.java,
6253 gnu/java/locale/LocaleInformation_ar_AE.java,
6254 gnu/java/locale/LocaleInformation_ar_BH.java,
6255 gnu/java/locale/LocaleInformation_ar_DZ.java,
6256 gnu/java/locale/LocaleInformation_ar_EG.java,
6257 gnu/java/locale/LocaleInformation_ar_IN.java,
6258 gnu/java/locale/LocaleInformation_ar_IQ.java,
6259 gnu/java/locale/LocaleInformation_ar_JO.java,
6260 gnu/java/locale/LocaleInformation_ar_KW.java,
6261 gnu/java/locale/LocaleInformation_ar_LB.java,
6262 gnu/java/locale/LocaleInformation_ar_LY.java,
6263 gnu/java/locale/LocaleInformation_ar_MA.java,
6264 gnu/java/locale/LocaleInformation_ar_OM.java,
6265 gnu/java/locale/LocaleInformation_ar_QA.java,
6266 gnu/java/locale/LocaleInformation_ar_SD.java,
6267 gnu/java/locale/LocaleInformation_ar_SY.java,
6268 gnu/java/locale/LocaleInformation_ar_TN.java,
6269 gnu/java/locale/LocaleInformation_ar_YE.java,
6270 gnu/java/locale/LocaleInformation_be_BY.java,
6271 gnu/java/locale/LocaleInformation_bn_IN.java,
6272 gnu/java/locale/LocaleInformation_br_FR.java,
6273 gnu/java/locale/LocaleInformation_bs_BA.java,
6274 gnu/java/locale/LocaleInformation_ca_ES.java,
6275 gnu/java/locale/LocaleInformation_cs_CZ.java,
6276 gnu/java/locale/LocaleInformation_cy_GB.java,
6277 gnu/java/locale/LocaleInformation_da_DK.java,
6278 gnu/java/locale/LocaleInformation_de_AT.java,
6279 gnu/java/locale/LocaleInformation_de_BE.java,
6280 gnu/java/locale/LocaleInformation_de_CH.java,
6281 gnu/java/locale/LocaleInformation_de_DE.java,
6282 gnu/java/locale/LocaleInformation_de_LU.java,
6283 gnu/java/locale/LocaleInformation_el_GR.java,
6284 gnu/java/locale/LocaleInformation_en_AU.java,
6285 gnu/java/locale/LocaleInformation_en_BW.java,
6286 gnu/java/locale/LocaleInformation_en_CA.java,
6287 gnu/java/locale/LocaleInformation_en_DK.java,
6288 gnu/java/locale/LocaleInformation_en_GB.java,
6289 gnu/java/locale/LocaleInformation_en_HK.java,
6290 gnu/java/locale/LocaleInformation_en_IE.java,
6291 gnu/java/locale/LocaleInformation_en_IN.java,
6292 gnu/java/locale/LocaleInformation_en_NZ.java,
6293 gnu/java/locale/LocaleInformation_en_PH.java,
6294 gnu/java/locale/LocaleInformation_en_SG.java,
6295 gnu/java/locale/LocaleInformation_en_US.java,
6296 gnu/java/locale/LocaleInformation_en_ZA.java,
6297 gnu/java/locale/LocaleInformation_en_ZW.java,
6298 gnu/java/locale/LocaleInformation_es_AR.java,
6299 gnu/java/locale/LocaleInformation_es_BO.java,
6300 gnu/java/locale/LocaleInformation_es_CL.java,
6301 gnu/java/locale/LocaleInformation_es_CO.java,
6302 gnu/java/locale/LocaleInformation_es_CR.java,
6303 gnu/java/locale/LocaleInformation_es_DO.java,
6304 gnu/java/locale/LocaleInformation_es_EC.java,
6305 gnu/java/locale/LocaleInformation_es_ES.java,
6306 gnu/java/locale/LocaleInformation_es_GT.java,
6307 gnu/java/locale/LocaleInformation_es_HN.java,
6308 gnu/java/locale/LocaleInformation_es_MX.java,
6309 gnu/java/locale/LocaleInformation_es_NI.java,
6310 gnu/java/locale/LocaleInformation_es_PA.java,
6311 gnu/java/locale/LocaleInformation_es_PE.java,
6312 gnu/java/locale/LocaleInformation_es_PR.java,
6313 gnu/java/locale/LocaleInformation_es_PY.java,
6314 gnu/java/locale/LocaleInformation_es_SV.java,
6315 gnu/java/locale/LocaleInformation_es_US.java,
6316 gnu/java/locale/LocaleInformation_es_UY.java,
6317 gnu/java/locale/LocaleInformation_es_VE.java,
6318 gnu/java/locale/LocaleInformation_et_EE.java,
6319 gnu/java/locale/LocaleInformation_eu_ES.java,
6320 gnu/java/locale/LocaleInformation_fa_IR.java,
6321 gnu/java/locale/LocaleInformation_fi_FI.java,
6322 gnu/java/locale/LocaleInformation_fo_FO.java,
6323 gnu/java/locale/LocaleInformation_fr_BE.java,
6324 gnu/java/locale/LocaleInformation_fr_CA.java,
6325 gnu/java/locale/LocaleInformation_fr_CH.java,
6326 gnu/java/locale/LocaleInformation_fr_FR.java,
6327 gnu/java/locale/LocaleInformation_fr_LU.java,
6328 gnu/java/locale/LocaleInformation_ga_IE.java,
6329 gnu/java/locale/LocaleInformation_gd_GB.java,
6330 gnu/java/locale/LocaleInformation_gl_ES.java,
6331 gnu/java/locale/LocaleInformation_gv_GB.java,
6332 gnu/java/locale/LocaleInformation_he_IL.java,
6333 gnu/java/locale/LocaleInformation_hi_IN.java,
6334 gnu/java/locale/LocaleInformation_hr_HR.java,
6335 gnu/java/locale/LocaleInformation_hu_HU.java,
6336 gnu/java/locale/LocaleInformation_id_ID.java,
6337 gnu/java/locale/LocaleInformation_it_CH.java,
6338 gnu/java/locale/LocaleInformation_it_IT.java,
6339 gnu/java/locale/LocaleInformation_iw_IL.java,
6340 gnu/java/locale/LocaleInformation_ja_JP.java,
6341 gnu/java/locale/LocaleInformation_ka_GE.java,
6342 gnu/java/locale/LocaleInformation_kl_GL.java,
6343 gnu/java/locale/LocaleInformation_ko_KR.java,
6344 gnu/java/locale/LocaleInformation_kw_GB.java,
6345 gnu/java/locale/LocaleInformation_lt_LT.java,
6346 gnu/java/locale/LocaleInformation_lv_LV.java,
6347 gnu/java/locale/LocaleInformation_mi_NZ.java,
6348 gnu/java/locale/LocaleInformation_mk_MK.java,
6349 gnu/java/locale/LocaleInformation_mr_IN.java,
6350 gnu/java/locale/LocaleInformation_mt_MT.java,
6351 gnu/java/locale/LocaleInformation_nl_BE.java,
6352 gnu/java/locale/LocaleInformation_nl_NL.java,
6353 gnu/java/locale/LocaleInformation_nn_NO.java,
6354 gnu/java/locale/LocaleInformation_no_NO.java,
6355 gnu/java/locale/LocaleInformation_oc_FR.java,
6356 gnu/java/locale/LocaleInformation_pl_PL.java,
6357 gnu/java/locale/LocaleInformation_pt_BR.java,
6358 gnu/java/locale/LocaleInformation_pt_PT.java,
6359 gnu/java/locale/LocaleInformation_ro_RO.java,
6360 gnu/java/locale/LocaleInformation_ru_RU.java,
6361 gnu/java/locale/LocaleInformation_ru_UA.java,
6362 gnu/java/locale/LocaleInformation_se_NO.java,
6363 gnu/java/locale/LocaleInformation_sk_SK.java,
6364 gnu/java/locale/LocaleInformation_sl_SI.java,
6365 gnu/java/locale/LocaleInformation_sq_AL.java,
6366 gnu/java/locale/LocaleInformation_sr_YU.java,
6367 gnu/java/locale/LocaleInformation_sv_FI.java,
6368 gnu/java/locale/LocaleInformation_sv_SE.java,
6369 gnu/java/locale/LocaleInformation_ta_IN.java,
6370 gnu/java/locale/LocaleInformation_te_IN.java,
6371 gnu/java/locale/LocaleInformation_tg_TJ.java,
6372 gnu/java/locale/LocaleInformation_tl_PH.java,
6373 gnu/java/locale/LocaleInformation_tr_TR.java,
6374 gnu/java/locale/LocaleInformation_uk_UA.java,
6375 gnu/java/locale/LocaleInformation_ur_PK.java,
6376 gnu/java/locale/LocaleInformation_uz_UZ.java,
6377 gnu/java/locale/LocaleInformation_vi_VN.java,
6378 gnu/java/locale/LocaleInformation_yi_US.java,
6379 gnu/java/locale/LocaleInformation_zh_CN.java,
6380 gnu/java/locale/LocaleInformation_zh_HK.java,
6381 gnu/java/locale/LocaleInformation_zh_SG.java,
6382 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
6383 info; from Classpath.
6385 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
6386 isPaintPending): New methods.
6387 * gnu/awt/xlib/XFramePeer.java (getState, setState,
6388 setMaximizedBounds): New methods.
6389 (beginLayout, endLayout, isPaintPending): Likewise.
6390 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
6391 (requestFocus): Likewise.
6392 (isObscured): Likewise.
6393 (canDetermineObscurity): Likewise.
6394 (coalescePaintEvent): Likewise.
6395 (updateCursorImmediately): Likewise.
6396 (createVolatileImage): Likewise.
6397 (handlesWheelScrolling): Likewise.
6398 (createBuffers): Likewise.
6399 (getBackBuffer): Likewise.
6401 (destroyBuffers): Likewise.
6403 * Makefile.in: Rebuilt.
6404 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
6406 * gnu/java/awt/GLightweightPeer.java,
6407 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6408 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6409 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6410 gnu/java/awt/peer/gtk/GtkFramePeer.java,
6411 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6412 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6413 java/awt/dnd/peer/DragSourceContextPeer.java,
6414 java/awt/dnd/peer/DropTargetContextPeer.java,
6415 java/awt/peer/ButtonPeer.java,
6416 java/awt/peer/CheckboxMenuItemPeer.java,
6417 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
6418 java/awt/peer/ComponentPeer.java,
6419 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
6420 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
6421 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
6422 java/awt/peer/MenuBarPeer.java,
6423 java/awt/peer/MenuComponentPeer.java,
6424 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
6425 java/awt/peer/PopupMenuPeer.java,
6426 java/awt/peer/ScrollPanePeer.java,
6427 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
6428 java/awt/peer/TextComponentPeer.java,
6429 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
6430 New versions from Classpath.
6431 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
6432 * java/awt/peer/RobotPeer.java: Likewise.
6434 2003-03-01 Mark Wielaard <mark@klomp.org>
6436 * java/io/ObjectInputStream.java: Reindent.
6437 * java/io/ObjectOutputStream.java: Likewise.
6439 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
6441 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
6442 jvalue for each argument. Simplify.
6443 * testsuite/libjava.jni/calls.c (docall),
6444 testsuite/libjava.jni/calls.java (longpb_f): check for argument
6447 2003-02-28 Mark Wielaard <mark@klomp.org>
6449 * Makefile.am (nat_source_files): Remove
6450 java/io/natObjectOutputStream.cc.
6451 * Makefile.in: Regenerated.
6452 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
6453 * java/io/ObjectStreamField.java (typename): New field.
6454 (ObjectStreamField(String, Class)): Initialize new field.
6455 (ObjectStreamField(String, String)): New Constructor.
6456 (getTypeCode): Use new field.
6457 (getTypeString): Use new field.
6458 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
6459 ObjectStreamExceptions. Remember and reset old BlockDataMode.
6460 Handle reading of Proxy classes. Never drain(), just write
6461 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
6462 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
6463 (flush): Call flush(), not just drain().
6464 (writeBoolean): Always use blockDataOutput.
6465 (writeByte): Likewise.
6466 (writeShort): Likewise.
6467 (writeChar): Likewise.
6468 (writeInt): Likewise.
6469 (writeLong): Likewise.
6470 (writeFloat): Likewise.
6471 (writeDouble): Likewise.
6472 (writeBytes): Likewise.
6473 (putfield (put(String,Object))): Throw IllegalArgumentException if
6474 field cannot be found.
6475 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
6476 (writeArraySizeAndElements): Write byte[] in one go.
6477 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
6478 set BlockDataMode to false.
6479 (annotateProxyClass): New method.
6480 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
6481 (getField): No longer native.
6482 (getMethod): Likewise.
6483 (setBlockDataMode): Always drain() on switch, return old mode.
6484 (static): New static code block.
6485 * java/io/natObjectOutputStream.cc: Removed.
6486 * java/io/ObjectInputStream.java (getField): No longer native.
6487 (getMethod): Likewise.
6488 (readObject): Remember and reset old BlockDataMode. Track whether
6489 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
6491 (defaultReadObject): Set BlockDataMode to false during readFields.
6492 (resolveClass): Create new SecurityManager if necessary.
6493 Use Class.forName() if null ClassLoader found.
6494 (read(byte[],int,int): Copy remaining bytes to data before calling
6496 (readFields): Set and reset BlockDataMode on call_read_method.
6497 Catch NoSuchFieldErrors.
6498 (setBlockDataMode): Return old mode.
6499 (static): New static code block.
6500 * java/io/natObjectInputStream.cc (getField): Removed.
6501 (getMethod): Likewise.
6503 2003-02-27 Michael Koch <konqueror@gmx.de>
6505 * java/beans/Beans.java,
6506 java/beans/FeatureDescriptor.java
6507 java/beans/PropertyEditorManager.java:
6508 Reformated to GNU style.
6510 2003-02-25 Michael Koch <konqueror@gmx.de>
6512 * gnu/java/nio/MappedByteFileBuffer.java,
6513 gnu/java/nio/natMappedByteFileBuffer.cc:
6514 New files, both are not compiled yet to get not noncompiling CVS.
6516 2003-02-24 Tom Tromey <tromey@redhat.com>
6518 * java/util/prefs/AbstractPreferences.java (isUserNode):
6521 2003-02-24 Tom Tromey <tromey@redhat.com>
6523 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
6525 * java/lang/Thread.java (resume): Deprecate.
6526 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
6529 2003-02-23 Tom Tromey <tromey@redhat.com>
6531 * Makefile.in: Rebuilt.
6532 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
6534 2003-02-23 Tom Tromey <tromey@redhat.com>
6536 * java/lang/natRuntime.cc (libraries_size, libraries_count,
6537 libraries): Removed.
6538 (add_library): Removed.
6539 (_load): Don't call add_library.
6540 (loadLibraryInternal): Likewise.
6542 (lookup_data): New struct.
6543 (find_symbol): New function.
6544 (_Jv_FindSymbolInExecutable): Use it.
6546 2002-02-21 Anthony Green <green@redhat.com>
6548 * java/lang/Thread.java (Thread): New constructor taking stack
6549 size parameter (ignored for now).
6550 * Many methods: Merged GNU Classpath documentation.
6552 * java/lang/Class.java (finalize): throws a Throwable.
6554 2003-02-21 Mark Wielaard <mark@klomp.org>
6556 * java/util/zip/ZipEntry.java (setComment): Don't check length when
6559 2003-02-21 Mark Wielaard <mark@klomp.org>
6561 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
6562 then 65535 chars throw IllegalArgumentException.
6564 2003-02-21 Mark Wielaard <mark@klomp.org>
6566 * java/util/zip/ZipFile.java (finalize): New method.
6568 2003-02-21 Michael Koch <konqueror@gmx.de>
6570 * gnu/java/nio/natSocketChannelImpl.cc:
6571 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
6572 <cato@df.lth.se> for pointing to it.
6574 2003-02-20 Raif S. Naffah <raif@fl.net.au>
6576 * java/math/BigInteger.java (euclidInv): Take result array as an
6577 argument. Updated all callers.
6578 (modInverse): Removed unused variables.
6580 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
6582 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
6584 * configure: Rebuilt.
6586 2003-02-19 Michael Koch <konqueror@gmx.de>
6588 * gnu/java/nio/natSocketChannelImpl.cc:
6589 Added support for platforms without network support.
6591 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6593 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
6594 after config.h. Use <> for consistency.
6595 * java/lang/natObject.cc: Likewise.
6596 * java/lang/natRuntime.cc: Likewise.
6597 * java/lang/natSystem.cc: Likewise.
6598 * java/util/natTimeZone.cc: Likewise.
6599 * win32.cc: Likewise.
6600 * include/posix.h (fcntl, socket, connect, close, bind, accept,
6601 listen, write, read): Undef to avoid interference from OS macros.
6603 2003-02-19 Michael Koch <konqueror@gmx.de>
6605 * gnu/java/nio/ByteBufferImpl.java
6606 (ByteBufferImpl): Renamed two variables.
6607 * gnu/java/nio/CharBufferImpl.java
6608 (CharBufferImpl): Renamed two variables.
6609 * gnu/java/nio/DoubleBufferImpl.java
6610 (DoubleBufferImpl): Renamed two variables.
6611 * gnu/java/nio/FloatBufferImpl.java
6612 (FloatBufferImpl): Renamed two variables.
6613 * gnu/java/nio/IntBufferImpl.java
6614 (IntBufferImpl): Renamed two variables.
6615 * gnu/java/nio/LongBufferImpl.java
6616 (LongBufferImpl): Renamed two variables.
6617 * gnu/java/nio/ShortBufferImpl.java
6618 (ShortBufferImpl): Renamed two variables.
6619 * java/nio/CharBuffer.java
6620 (wrap): Fixed arguments to CharBufferImpl constructor.
6621 (hasArray): Only not read-only buffers have backing arrays.
6622 (length): Documentation added.
6623 (subSequence): Documentation added.
6624 * java/nio/DoubleBuffer.java
6625 (hasArray): Only not read-only buffers have backing arrays.
6626 * java/nio/FloatBuffer.java
6627 (hasArray): Only not read-only buffers have backing arrays.
6628 * java/nio/IntBuffer.java
6629 (hasArray): Only not read-only buffers have backing arrays.
6630 * java/nio/LongBuffer.java
6631 (hasArray): Only not read-only buffers have backing arrays.
6632 * java/nio/ShortBuffer.java
6633 (hasArray): Only not read-only buffers have backing arrays.
6635 2003-02-19 Michael Koch <konqueror@gmx.de>
6637 * javax/accessibility/AccessibleContext.java
6638 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
6640 2003-02-19 Michael Koch <konqueror@gmx.de>
6642 * java/awt/ScrollPaneAdjustable.java: Reformated.
6644 2003-02-19 Michael Koch <konqueror@gmx.de>
6646 * gnu/awt/j2d/Graphics2DImpl.java
6647 (getFontRenderContext): New method.
6648 (drawGlyphVector): New method.
6649 * java/awt/Graphics2D.java
6650 (getFontRenderContext): New abstract method.
6651 (drawGlyphVector): New abstract method.
6653 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
6655 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
6658 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6659 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6660 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6661 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6662 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6663 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6664 (setFont, gtkSetFont): add.
6665 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
6666 Propagate font to peer. (setFont): add FIXME comment.
6668 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6669 (gtkTextGetSize): fix height, width computation.
6671 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
6672 Make X font name a bit less bogus.
6674 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
6675 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
6677 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
6678 (processAdjustmentEvent): Adjust value.
6680 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
6683 * java/awt/Component.java (setVisible, show, hide): Call show and
6684 hide methods in subclasses.
6685 (getPreferredSize): don't set prefSize before we have peer.
6687 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
6688 Guess (0,0) if we don't have peer.
6691 2003-02-18 Michael Koch <konqueror@gmx.de>
6693 * java/nio/channels/FileChannel.java
6694 (toString): New implementation, added documentation.
6695 (map): Added exception documentation.
6696 (size): Added exception documentation.
6697 (write): New methods, documentation work.
6698 (read): New methods, documentation work.
6699 (implCloseChannel): Rewrote exception documentation.
6700 (force): Throws IOException, added documentation.
6701 (lock): New methods.
6702 (tryLock): New methods.
6703 (position): New methods.
6704 (transferTo): New method.
6705 (transferFrom): New method.
6706 (truncate): New method.
6707 * java/nio/channels/spi/SelectorProvider.java
6708 (provider): Implemented.
6710 (ordinary_java_source_files): Added the following files:
6711 gnu/java/nio/DatagramChannelImpl.java
6712 gnu/java/nio/FileChannelImpl.java
6713 gnu/java/nio/PipeImpl.java
6714 gnu/java/nio/SelectionKeyImpl.java
6715 gnu/java/nio/SelectorImpl.java
6716 gnu/java/nio/SelectorProviderImpl.java
6717 gnu/java/nio/ServerSocketChannelImpl.java
6718 gnu/java/nio/SocketChannelImpl.java
6719 java/nio/channels/FileLock.java
6720 (nat_java_source_files): Added the following files:
6721 gnu/java/nio/natFileChannelImpl.cc
6722 gnu/java/nio/natSelectorImpl.cc
6723 gnu/java/nio/natSocketChannelImpl.cc
6724 * Makefile.in: Regenerated.
6726 2003-02-17 Tom Tromey <tromey@redhat.com>
6728 * java/awt/image/ColorModel.java: Re-merged with Classpath.
6729 * java/awt/image/ImageFilter.java: Likewise.
6731 2003-02-17 Raif S. Naffah <raif@fl.net.au>
6733 * java/math/BigInteger.java (euclidInv): Return array of
6734 `BigInteger's. Changed all callers.
6736 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
6738 * java/util/Properties.java (store): Move the code formerly in
6739 list(), into this method.
6740 (list (PrintStream)): Just call list (PrintWriter) with a
6741 PrintWriter object constructed from the given PrintStream object.
6742 (list (PrintWriter)): Emulate the output of Properties.list()
6743 as found in JDK 1.3/1.4.
6745 2003-02-17 Michael Koch <konqueror@gmx.de>
6747 * java/net/DatagramSocket.java
6748 (connect): Merged with classpath.
6749 (disconnect): Merged documentation with classpath.
6750 (receice): Merged documentation with classpath.
6751 (send): Merged documentation with classpath.
6753 2003-02-17 Michael Koch <konqueror@gmx.de>
6755 * java/awt/dnd/DragSourceContext.java
6756 (addDragSourceListener): Added documentation.
6757 * java/awt/dnd/DragSourceDragEvent.java
6758 (serialVersionUID): New member variable.
6759 (getDropAction): Reformated.
6760 * java/awt/dnd/DragSourceDropEvent.java
6761 (serialVersionUID): New member variable.
6762 (dropSuccess): Renamed from success for serialization issues.
6763 * java/awt/dnd/DragSourceEvent.java
6764 (serialVersionUID): New member variable.
6765 * java/awt/dnd/DropTarget.java
6766 (serialVersionUID): New member variable.
6767 (DropTarget): Implemented, documentation reworked.
6768 (setComponent): Documentation added.
6769 (getComponent): Documentation added.
6770 (setDefaultActions): Documentation added.
6771 (getDefaultActions): Documentation added.
6772 (addDropTargetListener): Documentation added.
6773 * java/awt/dnd/DropTargetContext.java
6774 (DropTargetContext): Documentation added.
6775 (TransferableProxy.TransferableProxy): New method.
6776 (dropComplete): Fixed documentation.
6777 (getTransferable): Fixed documentation.
6778 (createTransferableProxy): Implemented.
6779 * java/awt/dnd/DropTargetDragEvent.java
6780 (DropTargetDragEvent): Documentation added.
6781 (serialVersionUID): New member variable.
6782 (DropTargetDragEvent): Throw exceptions, documentation added.
6783 (acceptDrag): Implemented.
6784 (getCurrentDataFlavors): Implemented.3yy
6785 (getCurrentDataFlavorsAsList): Implemented.
6786 (isDataFlavorSupported): Implemented.
6787 (rejectDrag): Implemented.
6788 * java/awt/dnd/DropTargetDropEvent.java
6789 (DropTargetDropEvent): Documentation added.
6790 (serialVersionUID): New member variable.
6791 (actions): Renamed from srcActions for serialization issues.
6792 (isLocalTx): Renamed from isLocalTx for serialization issues.
6793 (DropTargetDropEvent): New implementation, throw exceptions,
6794 documentation added.
6795 (getCurrentDataFlavors): Implemented.
6796 (getCurrentDataFlavorsAsList): Implemented.
6797 (isDataFlavorSupported): Implemented.
6798 (getSourceActions): Implemented.
6799 (getDropAction): Implemented.
6800 (getTransferable): Implemented.
6801 (acceptDrop): Implemented.
6802 (rejectDrop): Implemented.
6803 * java/awt/dnd/DropTargetListener.java
6804 (drop): Fixed documentation.
6805 * java/awt/dnd/MouseDragGestureRecognizer.java
6806 (MouseDragGestureRecognizer): Documentation added.
6808 2003-02-17 Michael Koch <konqueror@gmx.de>
6810 * java/awt/font/FontRenderContext.java,
6811 java/awt/font/ShapeGraphicAttribute.java,
6812 java/awt/font/MultipleMaster.java,
6813 java/awt/font/TransformAttribute.java,
6814 java/awt/font/GlyphJustificationInfo.java,
6815 java/awt/font/LineBreakMeasurer.java,
6816 java/awt/font/TextMeasurer.java,
6817 java/awt/font/TextLayout.java,
6818 java/awt/font/LineMetrics.java,
6819 java/awt/font/TextAttribute.java,
6820 java/awt/font/GlyphMetrics.java,
6821 java/awt/font/OpenType.java,
6822 java/awt/font/GlyphVector.java,
6823 java/awt/font/GraphicAttribute.java,
6824 java/awt/font/ImageGraphicAttribute.java,
6825 java/awt/font/NumericShaper.java: New files.
6827 (awt_java_source_files): Added the following files:
6828 java/awt/font/FontRenderContext.java
6829 java/awt/font/ShapeGraphicAttribute.java
6830 java/awt/font/MultipleMaster.java
6831 java/awt/font/TransformAttribute.java
6832 java/awt/font/GlyphJustificationInfo.java
6833 java/awt/font/LineBreakMeasurer.java
6834 java/awt/font/TextMeasurer.java
6835 java/awt/font/TextLayout.java
6836 java/awt/font/LineMetrics.java
6837 java/awt/font/TextAttribute.java
6838 java/awt/font/GlyphMetrics.java
6839 java/awt/font/OpenType.java
6840 java/awt/font/GlyphVector.java
6841 java/awt/font/GraphicAttribute.java
6842 java/awt/font/ImageGraphicAttribute.java
6843 java/awt/font/NumericShaper.java
6844 * Makefile.in: Regenerated.
6846 2003-02-17 Michael Koch <konqueror@gmx.de>
6848 * java/awt/print/Paper.java
6849 (Paper): Implements Cloneable.
6850 * java/awt/print/PrinterJob.java
6851 (setJobName): Return value must be void.
6852 (print): Throws PrinterException.
6854 2003-02-16 Tom Tromey <tromey@redhat.com>
6856 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
6859 2003-02-15 Michael Koch <konqueror@gmx.de>
6861 * java/awt/datatransfer/DataFlavor.java
6862 (isRepresentationClassByteBuffer): Removed try-catch block.
6863 (isRepresentationClassCharBuffer): Removed try-catch block.
6864 (isRepresentationClassReader): Removed try-catch block.
6866 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6868 * java/nio/charset/Charset.java
6869 (isRegistered): Fixed method args and implementation.
6870 * java/nio/charset/CharsetEncoder.java
6871 (unmappableCharacterAction): New method.
6873 2003-02-15 Michael Koch <konqueror@gmx.de>
6875 * java/awt/CheckboxMenuItem.java
6876 (CheckBoxMenuItem): Dont implement Serializable.
6877 (getListeners): New method,
6878 (getItemListeners): New method.
6879 * java/awt/Choice.java
6880 (getListeners): New method,
6881 (getItemListeners): New method.
6882 * java/awt/Container.java
6883 (getListeners): Added exception documentation.
6884 (setFocusTraversalKeys): Throw exceptions, added documentattion.
6885 (getFocusTraversalKeys): Added documentation.
6886 (areFocusTraversalKeysSet): Added documentation.
6887 (applyComponentOrientation): Added documentation.
6888 * java/awt/ContainerOrderFocusTraversalPolicy.java
6889 (implicitDownCycleTraversal): Renamed from downCycle for
6891 (ContainerOrderFocusTraversalPolicy): Added documentation.
6892 (accept): Reformated.
6893 * java/awt/Dialog.java
6894 (Dialog): Dont implement Serializable.
6895 (Dialog): Added documentation.
6896 * java/awt/Font.java
6897 (Font): Dont use absolute class name.
6898 * java/awt/Frame.java
6899 (Frame): Font implement Serializable.
6900 * java/awt/List.java
6901 (getListeners): New method,
6902 (getActionListeners): New method.
6903 (getItemListeners): New method.
6904 * java/awt/Menu.java
6905 (countItems): New deprecated method.
6906 * java/awt/Scrollbar.java
6907 (getListeners): New method,
6908 (getAdjustmentListeners): New method,
6909 * java/awt/TextComponent.java
6910 (getListeners): New method,
6911 (getTextListeners): New method,
6912 * java/awt/TextField.java
6913 (getListeners): New method,
6914 (getActionListeners): New method.
6915 * java/awt/Window.java
6916 (windowFocusListener): New member variable.
6917 (windowStateListener): New member variable.
6918 (getWindowFocusListeners): New method.
6919 (getWindowStateListeners): New method.
6920 (addWindowFocusListener): New method.
6921 (addWindowStateListener): New method.
6922 (removeWindowFocusListener): New method.
6923 (removeWindowStateListener): New method.
6924 * java/awt/datatransfer/DataFlavor.java
6925 (isRepresentationClassByteBuffer): New method.
6926 (isRepresentationClassCharBuffer): New method.
6927 (isRepresentationClassReader): New method.
6929 2003-02-14 Mark Wielaard <mark@klomp.org>
6931 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
6932 zero when there is an exponent and the significant is zero.
6933 (divide): Always set scale to newScale even in special ZERO case.
6935 2003-02-14 Tom Tromey <tromey@redhat.com>
6937 * java/lang/System.java (properties): Use Properties.clone.
6938 (setProperties): Likewise.
6940 2003-02-14 Michael Koch <konqueror@gmx.de>
6942 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
6943 * gnu/java/nio/ServerSocketChannelImpl.java
6944 (SocketAccept): Removed.
6945 (accept): Commented out use of SocketAccept.
6947 2003-02-13 Tom Tromey <tromey@redhat.com>
6949 * verify.cc (state::seen_subrs): New field.
6950 (state::state): Initialize it.
6951 (state::clean_subrs): New method.
6952 (state::~state): Call it.
6953 (state::copy): Copy subroutine list.
6954 (state::add_subr): New method.
6955 (state::merge): Only register a change if the current subroutine
6956 hasn't yet been noted.
6958 2003-02-13 Mark Wielaard <mark@klomp.org>
6960 * java/io/InputStreamReader.java (getEncoding): Return null when
6962 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
6964 2003-02-13 Mark Wielaard <mark@klomp.org>
6966 * java/util/zip/InflaterInputStream.java (read): Return zero when len
6969 2003-02-13 Mark Wielaard <mark@klomp.org>
6971 * java/io/BufferedOutputStream.java (write(int)): Only flush when
6972 next byte cannot be buffered.
6974 2003-02-13 Michael Koch <konqueror@gmx.de>
6976 * java/awt/Label.java
6977 (Label): Don't implement Serializable directly.
6978 (addNotify): Fixed typo in documentation.
6979 * java/awt/List.java
6980 (List): Don't implement Serializable directly.
6981 * java/awt/PopupMenu.java
6982 (PopupMenu): Don't implement Serializable directly.
6983 * java/awt/ScrollPane.java
6984 (ScrollPane): Don't implement Serializable directly.
6985 * java/awt/Scrollbar.java
6986 (Scrollbar): Don't implement Serializable directly.
6987 * java/awt/TextArea.java
6988 (preferredSize): Fixed method arguments.
6989 * java/awt/TextField.java
6990 (TextField): Don't implement Serializable directly.
6991 * java/awt/color/ICC_ColorSpace.java
6992 (fromCIOXYZ): Documentation added.
6993 (getMinValue): Documentation added.
6994 (getMaxValue): Documentation added.
6995 * java/awt/datatransfer/DataFlavor.java
6996 (isMimeTypeEqual): May not be final.
6997 (clone): Throws CloneNotSupportedException.
6998 (getReaderForText): Don't throws UnsupportedEncodingException.
7000 2003-02-13 Michael Koch <konqueror@gmx.de>
7002 * gnu/java/awt/peer/gtk/GdkGraphics.java
7003 (drawString): New stubbed method.
7004 * java/awt/Graphics.java
7005 (drawString): New method.
7007 2003-02-13 Casey Marshall <rsdio@metastatic.org>
7010 * java/security/SecureRandom.java (next): Avoid bias in results.
7012 2003-02-13 Michael <konqueror@gmx.de>
7014 * gnu/java/nio/FileChannelImpl.java
7015 (lengthInternal): Must be native.
7016 (size): Check if channel is already closed.
7017 (implCloseChannel): Reformated.
7018 (read): w was unused, removed it.
7021 (write): New method.
7022 (map): Check arguments.
7023 (force): Throws IOException, check if channel is closed.
7024 (transferTo): New method.
7025 (transferFrom): New method.
7027 (tryLock): New method.
7028 (position): New method.
7029 (truncate): New method.
7030 (nio_mmap_file): Uncommented.
7031 (nio_munmap_file): Uncommented.
7032 (nio_msync): Uncommented.
7033 * gnu/java/nio/natFileChannelImpl.cc: New file.
7035 2003-02-13 Michael Koch <konqueror@gmx.de>
7037 * java/nio/ByteBuffer.java
7038 (endian): New member variable.
7040 (equals): New method.
7041 (compareTo): New method.
7042 (order): New methods.
7043 (compact): New method.
7044 (isDirect): New method.
7045 (slice): New method.
7046 (duplicate): New method.
7047 (asReadOnlyBuffer): New method.
7048 (asCharBuffer): New method.
7049 (asDoubleBuffer): New method.
7050 (asFloatBuffer): New method.
7051 (asIntBuffer): New method.
7052 (asLongBuffer): New method.
7053 (asShortBuffer): New method.
7054 (get*): New methods.
7055 (put*): New methods.
7056 (toString): New method.
7057 * java/nio/CharBuffer.java
7058 (CharBuffer): Implement Comparable instead of Cloneable.
7059 (get): May not be final.
7060 (put): May not be final.
7062 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
7064 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
7065 lastIndexOf( ) instead of indexOf( ) to find the colon before
7066 the line number, because Win32 file names might contain a
7067 drive letter and a colon at the start of an absolute path.
7069 2003-02-13 Michael Koch <konqueror@gmx.de>
7071 * gnu/java/nio/natSocketChannelImpl.cc
7072 (SocketConnect): This is not implemented yet.
7073 (SocketBind): This is not implemented yet.
7075 2003-02-13 Michael Koch <konqueror@gmx.de>
7077 * gnu/java/nio/natByteBufferImpl.cc,
7078 gnu/java/nio/natCharBufferImpl.cc,
7079 gnu/java/nio/natDoubleBufferImpl.cc,
7080 gnu/java/nio/natFloatBufferImpl.cc,
7081 gnu/java/nio/natIntBufferImpl.cc,
7082 gnu/java/nio/natLongBufferImpl.cc,
7083 gnu/java/nio/natShortBufferImpl.cc:
7084 Added copyright and license.
7085 * java/nio/DoubleBuffer.java,
7086 java/nio/FloatBuffer.java,
7087 java/nio/IntBuffer.java,
7088 java/nio/LongBuffer.java,
7089 java/nio/ShortBuffer.java
7090 (array): Throw exceptions.
7091 (arrayOffset): Throw exceptions.
7093 2003-02-13 Michael Koch <konqueror@gmx.de>
7095 * gnu/java/util/prefs/FileBasedFactory.java,
7096 gnu/java/util/prefs/MemmoryBasedFactory.java,
7097 gnu/java/util/prefs/MemoryBasedPreferences.java,
7098 gnu/java/util/prefs/NodeReader.java,
7099 gnu/java/util/prefs/NodeWriter.java,
7100 java/util/prefs/AbstractPreferences.java,
7101 java/util/prefs/BackingStoreException.java,
7102 java/util/prefs/InvalidPreferencesFormatException.java,
7103 java/util/prefs/NodeChangeEvent.java,
7104 java/util/prefs/NodeChangeListener.java,
7105 java/util/prefs/PreferenceChangeEvent.java,
7106 java/util/prefs/PreferenceChangeListener.java,
7107 java/util/prefs/Preferences.java,
7108 java/util/prefs/PreferencesFactory.java:
7109 New files, all merged from classpath.
7111 (ordinary_java_source_files): Added the following files:
7112 gnu/java/util/prefs/FileBasedFactory.java,
7113 gnu/java/util/prefs/MemmoryBasedFactory.java,
7114 gnu/java/util/prefs/MemoryBasedPreferences.java,
7115 gnu/java/util/prefs/NodeReader.java,
7116 gnu/java/util/prefs/NodeWriter.java,
7117 (core_java_source_files): Added the following files:
7118 java/util/prefs/AbstractPreferences.java,
7119 java/util/prefs/BackingStoreException.java,
7120 java/util/prefs/InvalidPreferencesFormatException.java,
7121 java/util/prefs/NodeChangeEvent.java,
7122 java/util/prefs/NodeChangeListener.java,
7123 java/util/prefs/PreferenceChangeEvent.java,
7124 java/util/prefs/PreferenceChangeListener.java,
7125 java/util/prefs/Preferences.java,
7126 java/util/prefs/PreferencesFactory.java
7127 * Makefile.in: Regenerated.
7129 2003-02-13 Michael Koch <konqueror@gmx.de>
7131 * java/net/NetPermission.java
7132 (NetPermission): Make doucmentation match the method declaration.
7133 * java/net/NetworkInterface.java
7134 (equals): Reformated for GNU coding style.
7135 * java/net/ServerSocket.java: Merged with classpath.
7136 * java/net/Socket.java: Partly merged with classpath (Added some @since).
7137 * java/net/SocketImpl.java
7138 (localPort): Merged with classpath (initialize with -1).
7139 * java/net/SocketPermission.java: Merged with classpath (reindented).
7140 * java/net/URLDecoder.java: Merged with classpath (reindented).
7142 2003-02-13 Michael Koch <konqueror@gmx.de>
7144 * java/awt/GridBagConstraints.java
7145 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
7146 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
7147 * java/awt/KeyboardFocusManager.java
7148 (setGlobalCurrentFocusCycleRoot): Must be public.
7149 * java/awt/MenuComponent.java
7150 (MenuComponent): Must be public.
7151 * java/awt/Toolkit.java:
7152 Added some empty lines to make documentation more readable.
7153 (getFontPeer): Added @deprecated.
7154 (getColorModel): Added exception documentation.
7155 (getProperty): Fixed documentation.
7157 2003-02-12 Jeff Sturm <jsturm@one-point.com>
7159 * configure.host (alpha*-*): Default to -mieee.
7160 * configure.in (IEEESPEC): New.
7161 * libgcj.spec.in (jc1): Add IEEESPEC.
7162 * configure: Rebuild.
7164 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
7166 * include/win32.h: Include ws2tcpip.h instead of
7167 winsock.h to obtain definition of the socklen_t type.
7168 Remove IP_TOS definition - not needed with ws2tcpip.h
7169 (_Jv_connect): Correct slight formatting error.
7171 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
7173 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
7174 size of the arguments for a JNI function. For Win32,
7175 modify to search for all forms of possible exported
7176 names of an stdcall JNI function.
7177 (_Jv_JNIMethod::call): Modify to calculate the size
7178 of the arguments passed to a JNI function and pass
7179 it to _Jv_LookupJNIMethod.
7181 2003-02-12 Michael Koch <konqueror@gmx.de>
7183 * java/nio/channels/Channels.java: New file.
7185 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
7186 * Makefile.in: Regenerated.
7188 2003-02-12 Michael Koch <konqueror@gmx.de>
7190 * java/nio/ByteBuffer.java
7191 (allocate): Implemented.
7192 (wrap): Implemented.
7193 * java/nio/CharBuffer.java:
7194 Some documentation added and reworked.
7196 (allocate): Implemented.
7197 (wrap): Implemented.
7198 (array): Throw exceptions.
7199 (arrayOffset): Throw exceptions.
7200 (toString): Implemented.
7201 (length): Implemented.
7203 (charAt): Implemented.
7205 2003-02-11 John Leuner <jewel@debian.org>
7207 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
7208 reads from end of file.
7210 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
7212 * java/io/natFileDescriptorWin32.cc
7213 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
7214 returns with Win32 error code ERROR_BROKEN_PIPE.
7216 2003-02-11 Michael Koch <konqueror@gmx.de>
7219 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
7221 2003-02-11 Michael Koch <konqueror@gmx.de>
7223 * gnu/java/nio/ByteBufferImpl.java:
7224 Reformated and removed some code.
7225 (backing_buffer): Removed.
7226 (array_offset): Removed.
7227 (ro): Renamed to readOnly.
7228 (ByteBufferImpl): Use parent constructor, initialize readOnly.
7229 * gnu/java/nio/CharBufferImpl.java:
7230 Reformated and removed some code.
7231 (array_offset): Removed.
7232 (ro): Renamed to readOnly.
7233 (CharBufferImpl): Use parent constructor, initialize readOnly.
7235 (order): New method.
7236 * gnu/java/nio/DoubleBufferImpl.java:
7237 Reformated and removed some code.
7238 (array_offset): Removed.
7239 (ro): Renamed to readOnly.
7240 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
7242 (order): New method.
7243 * gnu/java/nio/FloatBufferImpl.java:
7244 Reformated and removed some code.
7245 (array_offset): Removed.
7246 (ro): Renamed to readOnly.
7247 (FloatBufferImpl): Use parent constructor, initialize readOnly.
7249 (order): New method.
7250 * gnu/java/nio/IntBufferImpl.java:
7251 Reformated and removed some code.
7252 (array_offset): Removed.
7253 (ro): Renamed to readOnly.
7254 (IntBufferImpl): Use parent constructor, initialize readOnly.
7256 (order): New method.
7257 * gnu/java/nio/LongBufferImpl.java:
7258 Reformated and removed some code.
7259 (array_offset): Removed.
7260 (ro): Renamed to readOnly.
7261 (LongBufferImpl): Use parent constructor, initialize readOnly.
7263 (order): New method.
7264 * gnu/java/nio/ShortBufferImpl.java:
7265 Reformated and removed some code.
7266 (array_offset): Removed.
7267 (ro): Renamed to readOnly.
7268 (ShortBufferImpl): Use parent constructor, initialize readOnly.
7270 (order): New method.
7272 (ordinary_java_source_files): Added the following files:
7273 gnu/java/nio/ByteBufferImpl.java
7274 gnu/java/nio/CharBufferImpl.java
7275 gnu/java/nio/DoubleBufferImpl.java
7276 gnu/java/nio/FloatBufferImpl.java
7277 gnu/java/nio/IntBufferImpl.java
7278 gnu/java/nio/LongBufferImpl.java
7279 gnu/java/nio/ShortBufferImpl.java
7280 java/nio/DoubleBuffer.java
7281 java/nio/FloatBuffer.java
7282 java/nio/IntBuffer.java
7283 java/nio/LongBuffer.java
7284 java/nio/ShortBuffer.java
7285 (nat_source_files): Added the following files:
7286 gnu/java/nio/natByteBufferImpl.cc
7287 gnu/java/nio/natCharBufferImpl.cc
7288 gnu/java/nio/natDoubleBufferImpl.cc
7289 gnu/java/nio/natFloatBufferImpl.cc
7290 gnu/java/nio/natIntBufferImpl.cc
7291 gnu/java/nio/natLongBufferImpl.cc
7292 gnu/java/nio/natShortBufferImpl.cc
7293 * Makefile.in: Regenerated.
7295 2003-02-11 Michael Koch <konqueror@gmx.de>
7297 * gnu/java/nio/natCharBufferImpl.cc
7298 (nio_cast): Removed.
7299 (nio_put_*): Removed.
7300 (nio_get_*): Removed.
7301 * gnu/java/nio/natDoubleBufferImpl.cc
7302 (nio_cast): Removed.
7303 (nio_put_*): Removed.
7304 (nio_get_*): Removed.
7305 * gnu/java/nio/natFloatBufferImpl.cc
7306 (nio_cast): Removed.
7307 (nio_put_*): Removed.
7308 (nio_get_*): Removed.
7309 * gnu/java/nio/natIntBufferImpl.cc
7310 (nio_cast): Removed.
7311 (nio_put_*): Removed.
7312 (nio_get_*): Removed.
7313 * gnu/java/nio/natLongBufferImpl.cc
7314 (nio_cast): Removed.
7315 (nio_put_*): Removed.
7316 (nio_get_*): Removed.
7317 * gnu/java/nio/natShortBufferImpl.cc
7318 (nio_cast): Removed.
7319 (nio_put_*): Removed.
7320 (nio_get_*): Removed.
7321 * gnu/java/nio/SelectorProviderImpl.java
7322 (openDatagramChannel): Throws IOException.
7323 (openPipe): Throws IOException.
7324 (openSelector): Throws IOException.
7325 (openServerSocketChannel): Throws IOException.
7326 (openSocketChannel): Throws IOException.
7327 * gnu/java/nio/ServerSocketChannelImpl.java
7328 (ServerSocketChannelImpl): Throws IOException.
7329 (implCloseSelectableChannel): Throws IOException.
7330 (implConfigureBlocking): Throws IOException.
7331 * java/nio/ByteBuffer.java
7332 (readOnly): Removed.
7333 (hasArray): Use isReadOnly() instead of readOnly.
7334 (array): Use isReadOnly() instead of readOnly.
7335 (arrayOffset): Use isReadOnly() instead of readOnly.
7336 * java/nio/CharBuffer.java
7337 (CharBuffer): Implements Cloneable and CharSequence.
7339 2003-02-11 Michael Koch <konqueror@gmx.de>
7341 * java/nio/DoubleBuffer.java
7342 (DoubleBuffer): Implements Comparable.
7344 (array_offset): New member variable.
7345 (DoubleBuffer): New constuctor.
7346 (get): May not be final.
7347 (put): May not be final.
7348 (arrayOffset): Implemented.
7349 (order): Made abstract.
7351 (as*Buffer): Removed.
7354 * java/nio/FloatBuffer.java
7355 (FloatBuffer): Implements Comparable.
7357 (array_offset): New member variable.
7358 (FloatBuffer): New constuctor.
7359 (get): May not be final.
7360 (put): May not be final.
7361 (arrayOffset): Implemented.
7362 (order): Made abstract.
7364 (as*Buffer): Removed.
7367 * java/nio/IntBuffer.java
7368 (IntBuffer): Implements Comparable.
7370 (array_offset): New member variable.
7371 (IntBuffer): New constuctor.
7372 (get): May not be final.
7373 (put): May not be final.
7374 (arrayOffset): Implemented.
7375 (order): Made abstract.
7377 (as*Buffer): Removed.
7380 * java/nio/LongBuffer.java
7381 (LongBuffer): Implements Comparable.
7383 (array_offset): New member variable.
7384 (LongBuffer): New constuctor.
7385 (get): May not be final.
7386 (put): May not be final.
7387 (arrayOffset): Implemented.
7388 (order): Made abstract.
7390 (as*Buffer): Removed.
7393 * java/nio/ShortBuffer.java
7394 (ShortBuffer): Implements Comparable.
7396 (array_offset): New member variable.
7397 (ShortBuffer): New constuctor.
7398 (get): May not be final.
7399 (put): May not be final.
7400 (arrayOffset): Implemented.
7401 (order): Made abstract.
7403 (as*Buffer): Removed.
7407 2003-02-11 Michael Koch <konqueror@gmx.de>
7409 * java/nio/channels/SelectionKey.java
7410 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
7413 2003-02-11 Michael Koch <konqueror@gmx.de>
7415 * java/nio/channels/DatagramChannel.java
7416 (write): Throws IOException.
7417 (connect): Throws IOException.
7418 (disconnect): Throws IOException.
7419 (read): Throws IOException.
7420 (receive): Throws IOException.
7421 (send): Throws IOException.
7422 * java/nio/channels/Pipe.java
7423 (open): Throws IOException.
7424 * java/nio/channels/SelectableChannel.java
7425 (configureBlocking): Throws IOException.
7426 * java/nio/channels/ServerSocketChannel.java
7427 (accept): Throws IOException.
7428 * java/nio/channels/SocketChannel.java
7429 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
7430 GatheringByteChannel.
7431 (read): Throws IOException.
7432 (write): Throws IOException.
7433 (finishConnect): Throws IOException.
7434 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7435 (end): Throws AsynchronousCloseException.
7436 * java/nio/channels/spi/AbstractSelectableChannel.java
7437 (configureBlocking): Throws IOException.
7438 (implCloseChannel): Throws IOException.
7439 (implCloseSelectableChannel): Throws IOException.
7440 (implConfigureBlocking): Throws IOException.
7441 * java/nio/channels/spi/SelectorProvider.java
7442 (openDatagramChannel): Throws IOException.
7443 (openPipe): Throws IOException.
7444 (openSelector): Throws IOException.
7445 (openServerSocketChannel): Throws IOException.
7446 (openSocketChannel): Throws IOException.
7448 2003-02-11 Michael Koch <konqueror@gmx.de>
7450 * gnu/java/nio/FileLockImpl.java,
7451 java/nio/channels/FileLock.java: New files.
7453 2003-02-11 Michael Koch <konqueror@gmx.de>
7455 * java/nio/charset/IllegalCharsetNameException.java
7456 (serialVersionUID): New member variable.
7457 (charsetName): New member variable.
7458 (IllegalCharsetException): New implementation.
7459 (getCharsetName): New implementation.
7460 * java/nio/charset/UnsupportedCharsetException.java
7461 (serialVersionUID): New member variable.
7462 (charsetName): New member variable.
7463 (UnsupportedCharsetException): New implementation.
7464 (getCharsetName): New implementation.
7466 2003-02-10 Tom Tromey <tromey@redhat.com>
7468 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
7469 (ex): Renamed from sqlException.
7471 2003-02-10 Raif S. Naffah <raif@fl.net.au>
7473 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
7474 method used to ensure seeding has occurred and that a specific
7475 seed can be set and used.
7477 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
7479 * java/lang/Win32Process.java (destroy): Declare as native.
7480 (hasExited): New native method.
7481 (exitValue): Define.
7482 (getErrorStream): Likewise.
7483 (getInputStream): Likewise.
7484 (getOutputStream): Likewise.
7485 (waitFor): Declare as native.
7486 (startProcess): New native method.
7487 (cleanup): Likewise.
7488 (ConcreteProcess): Define.
7489 (outputStream, inputStream, errorStream): New members.
7490 (procHandle, exitCode): Likewise.
7492 * java/lang/natWin32Process.cc
7493 (java::lang::ConcreteProcess::cleanup): Define.
7494 (java::lang::ConcreteProcess::destroy): Likewise.
7495 (java::lang::ConcreteProcess::hasExited): Likewise.
7496 (java::lang::ConcreteProcess::waitFor): Likewise.
7497 (new_string): Likewise.
7498 (java::lang::ConcreteProcess::startProcess): Likewise.
7500 2003-02-10 Raif S. Naffah <raif@fl.net.au>
7502 * java/math/BigInteger.java:
7503 Updated notice to include years 2002 and 3.
7504 Added 2 private (int) arrays with values from the HAC (Handbook of
7505 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
7506 and t[] that contains nbr. of tests --used in isProbablePrime().
7508 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
7510 * java/math/BigInteger.java (make(int[],int), add(int,int),
7511 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
7512 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
7513 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
7516 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
7517 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
7518 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
7519 BIs and returns void.
7520 (modInverse(BI)): Use new signatures of euclidInv().
7522 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
7523 static small primes instead of remainder().
7524 Use pre-computed max nbr of trials based on bitlength of BI to test.
7525 Use pre-computed small primes for the trial tests instead of random
7528 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
7531 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
7532 invoacation of MPN.chars_per_word(). not used.
7534 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
7535 local var and used where needed.
7537 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
7538 Combined declaration with initialisation of locals.
7541 * java/math/BigInteger.java: Style changes
7542 (pow(int)): Removed 'else' keyword.
7543 (toString(int)): idem.
7544 (doubleValue()): idem.
7545 (bitLength()): idem.
7546 (equals(Object)): Use static methods name in same class w/o prepending
7548 (doubleValue()): idem.
7549 (setNegative(BI)): idem.
7551 (and(BI,int)): idem.
7554 (byteArrayToIntArray()): Removed casting to (int). this is
7556 (canonicalize()): idem.
7557 (alloc(int)): Always instantiate a new BI.
7559 2003-02-10 Tom Tromey <tromey@redhat.com>
7561 * java/sql/Timestamp.java (compareTo(Object)): New method.
7562 (compareTo(Timestamp)): Likewise.
7563 (serialVersionUID): Updated.
7565 2003-02-07 Mark Wielaard <mark@klomp.org>
7567 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
7568 when verify is true.
7569 (JarFile(File, boolean)): Likewise.
7570 (manifestRead): Set manifestRead field correctly.
7572 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
7574 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
7575 tests; see patch #1016 on Savannah.
7577 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
7579 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
7580 (toString): do not return Strings starting with . and - erroneously.
7581 Improves Mauve results to 12 of 600 instead of 16 of 338 on
7584 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
7586 * java/beans/PropertyDescriptor.java
7587 (PropertyDescriptor(String, Class)): Sanity check getter and setter
7589 (PropertyDescriptor(String, Class, String, String)): Likewise.
7590 (PropertyDescriptor(String, Method, Method): Factor out getter and
7591 setter method sanity checks into new method.
7592 (findMethods): Don't do parameter sanity checking of get method here.
7593 (checkMethods): New method.
7595 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
7597 * java/beans/PropertyDescriptor.java: Reformat.
7599 2003-02-04 Tom Tromey <tromey@redhat.com>
7601 * java/io/PipedOutputStream.java (flush): Declare as throwing
7604 * java/io/PipedWriter.java (close): Declare as throwing
7606 * java/io/StringWriter.java (close): Declare as throwing
7609 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
7611 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
7612 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
7613 could also have been exported as "JNI_OnLoad@8" (MinGW) or
7614 "_JNI_OnLoad@8" (MSVC).
7616 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
7618 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
7619 convention on Win32 to invoke native JNI methods.
7621 2003-02-03 Andrew Haley <aph@redhat.com>
7623 * configure.host (x86_64): Enable interpreter.
7625 2003-02-03 Andrew Haley <aph@redhat.com>
7627 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
7628 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
7629 * configure.in (BACKTRACESPEC): New.
7630 * configure: Regenerate.
7632 2003-02-02 Tom Tromey <tromey@redhat.com>
7634 * configure: Rebuilt.
7635 * configure.in (TOOLKIT) [xlib]: Set correctly.
7637 * Makefile.in: Rebuilt.
7638 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
7641 2003-01-31 Mark WIelaard <mark@klomp.org>
7643 * Makefile.in: Rebuilt.
7644 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
7646 2003-01-31 Tom Tromey <tromey@redhat.com>
7648 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
7649 cast to element type.
7650 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
7651 (_Jv_JNI_GetObjectArrayElement): Likewise.
7653 * Makefile.in: Rebuilt.
7654 * Makefile.am (cond_x_ltlibrary): Renamed library to
7655 lib-gnu-awt-xlib.la.
7656 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
7657 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
7658 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
7659 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
7660 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
7661 (lib_gnu_awt_xlib_la_LINK): Likewise.
7662 (install-exec-hook): Removed.
7663 (lib-gnu-awt-xlib.la): Renamed.
7665 2003-01-31 Tom Tromey <tromey@redhat.com>
7667 * aclocal.m4, configure, include/config.h.in: Rebuilt.
7668 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
7669 aclocal.m4 and lost in some merge.
7671 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
7672 Don't try to find graphics configuration.
7673 * java/awt/Toolkit.java (default_toolkit_name): Use new
7674 Configuration entry.
7675 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
7677 * configure: Rebuilt.
7678 * configure.in (TOOLKIT): New subst.
7679 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
7680 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
7681 directory. Make output directories for .c files.
7682 * Makefile.in: Rebuilt.
7683 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
7684 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
7685 (all_java_source_files): Added new sources.
7686 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
7687 (gtk_c_files): New macro.
7688 (gtk_c_source_files): New macro.
7689 (cond_gtk_ltlibrary): New macro.
7690 ($(gtk_c_files)): New target.
7691 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
7692 (gtk_awt_peer_sources): New macro.
7693 (gtk_c_headers): New macro.
7694 ($(gtk_c_headers)): New target.
7695 (ACLOCAL_AMFLAGS): New macro.
7696 * gtk.m4, glib.m4, libart.m4: New files.
7697 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
7698 gnu/java/awt/peer/gtk/GdkGraphics.java,
7699 gnu/java/awt/peer/gtk/GtkArg.java,
7700 gnu/java/awt/peer/gtk/GtkArgList.java,
7701 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7702 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
7703 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
7704 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
7705 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
7706 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
7707 gnu/java/awt/peer/gtk/GtkClipboard.java,
7708 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7709 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
7710 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
7711 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
7712 gnu/java/awt/peer/gtk/GtkFontPeer.java,
7713 gnu/java/awt/peer/gtk/GtkFramePeer.java,
7714 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
7715 gnu/java/awt/peer/gtk/GtkImage.java,
7716 gnu/java/awt/peer/gtk/GtkImagePainter.java,
7717 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
7718 gnu/java/awt/peer/gtk/GtkListPeer.java,
7719 gnu/java/awt/peer/gtk/GtkMainThread.java,
7720 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
7721 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
7722 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
7723 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
7724 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
7725 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
7726 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
7727 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
7728 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
7729 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7730 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
7731 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7732 gnu/java/awt/peer/gtk/GtkToolkit.java,
7733 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
7734 gnu/java/awt/peer/gtk/TestAWT.java,
7735 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
7736 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
7737 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
7738 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
7739 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
7740 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
7741 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
7742 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
7743 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
7744 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
7745 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
7746 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
7747 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
7748 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
7749 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
7750 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
7751 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
7752 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
7753 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
7754 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
7755 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
7756 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
7757 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
7758 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
7759 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
7760 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
7761 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
7762 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
7763 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
7764 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
7765 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
7766 jni/classpath/native_state.c, jni/classpath/native_state.h,
7767 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
7769 2003-01-31 Julian Dolby <dolby@us.ibm.com>
7771 * java/util/Properties.java (load): Ignore backslash before EOF.
7773 2003-01-30 Jeff Sturm <jsturm@one-point.com>
7775 * java/lang/natClass.cc (initializeClass): Check tables when
7776 (state == JV_STATE_IN_PROGRESS).
7777 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
7778 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
7779 interpreted classes.
7780 (linkClass0): Use _Jv_WaitForState.
7782 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
7784 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
7785 object when finished.
7787 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
7789 * libjava/configure.host: Disable can_unwind_signal on darwin.
7791 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
7794 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
7795 additionally containing id of the owner thread as well as
7796 the number of nested times the thread has acquired the mutex.
7797 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
7798 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
7799 (_Jv_MutexUnlock): Check if really the owner thread, reset
7800 owner thread id to 0 before leaving, if leaving for the last
7802 (_Jv_MutexLock): Set owner thread id in the mutex and increment
7804 (_Jv_ThreadYield): Yield using a call to Sleep(0).
7805 * win32-threads.cc (_Jv_CondWait): Check if really owner of
7807 Pass handle of the broadcast event, instead of a pointer to it
7808 in Win32 ResetEvent( ) call.
7809 Remove incorrect return values.
7810 (_Jv_CondDestroy): Close both event handles and delete
7812 (_Jv_CondNotify): Check if really the owner thread.
7813 (_Jv_CondNotifyAll): Check if really the owner thread.
7814 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
7815 (really_start): Use SetEvent( ) to signal daemon_cond.
7816 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
7817 WaitForSingleObject( ) instead to wait for daemon_cond to be
7820 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
7822 * configure.in: Specifically define HAVE_BACKTRACE if building
7824 * include/win32.h: Remove HAVE_BACKTRACE definition.
7825 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
7826 * configure: Rebuilt.
7828 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
7830 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
7831 Set and AC_SUBST. Remove USE_LIBDIR conditional.
7832 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
7833 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
7834 * Makefile.in, configure: Rebuilt.
7836 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
7839 * java/io/natFileWin32.cc (performList): Append only "*.*"
7840 if the canonical file path already has a "\" at the end.
7842 2003-01-24 Tom Tromey <tromey@redhat.com>
7844 * defineclass.cc (handleMethodsEnd): Precompute code for static
7846 (handleCodeAttribute): Likewise.
7847 * resolve.cc (ncode): Use run_class for unsynchronized static
7849 * include/java-interp.h (class _Jv_InterpMethod): Declare
7851 * interpret.cc (run_synch_class): Initialize class.
7852 (run) [insn_invokestatic]: Don't initialize class.
7853 [insn_anewarray]: Likewise.
7854 [insn_multianewarray]: Likewise.
7855 (run_class): New function.
7857 2003-01-24 Tom Tromey <tromey@redhat.com>
7859 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
7862 2003-01-22 Andrew Haley <aph@redhat.com>
7864 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
7865 * configure.host (CHECKREFSPEC): Define for x86_64.
7867 2003-01-21 Tom Tromey <tromey@redhat.com>
7869 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
7872 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
7874 * java/io/natFileWin32.cc (isAbsolute): Check path length before
7875 looking at any characters.
7876 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
7878 (isAbsolute): Check path's length as well.
7880 2003-01-17 Mark Wielaard <mark@klomp.org>
7882 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
7883 (nat_source_files): Add natVMObjectStreamClass.cc.
7884 * Makefile.in: Regenerated.
7885 * gcj/javaprims.h (namespace java): Regenerated.
7886 * java/io/ObjectStreamClass.java (getClassUID): Call
7887 VMObjectStreamClass.hasClassInitializer().
7888 (hasClassInitializer): Removed.
7889 * java/io/VMObjectStreamClass.java: New class.
7890 * java/io/natVMObjectStreamClass.cc: New file.
7891 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
7893 2003-01-16 Mark Wielaard <mark@klomp.org>
7895 * java/net/SocketImpl.java (toString): Don't explicitly call
7896 toString() on possible null address.
7898 2003-01-16 Michael Koch <konqueror@gmx.de>
7900 * java/net/MulticastSocket.java
7901 (setInterface): Reindented.
7903 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
7905 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
7906 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
7907 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
7908 translateY arguments. Implement.
7909 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
7910 down translation arguments.
7911 (drawPolyline, drawPolygon): Fix incorrect tests.
7912 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
7913 translateX and translateY arguments.
7915 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
7917 * Makefile.in: Rebuilt.
7918 * Makefile.am (xlib_includes): New macro.
7921 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
7923 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
7924 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
7925 16-bit display mode.
7927 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
7929 * java/awt/CardLayout.java (show): Rewrote.
7930 (gotoComponent): Removed `target' argument. Simplified code.
7931 Don't pre-compute `choice' unless `what' is FIRST or LAST.
7932 Changed all callers.
7935 2003-01-14 Michael Koch <konqueror@gmx.de>
7937 * java/net/InetSocketAddress.java
7938 (serialVersionUID): New member variable.
7939 * java/net/NetPermission.java
7940 (NetPermission): Dont implement java.io.Serialization directly.
7941 * java/net/SocketAddress.java:
7942 (serialVersionUID): Documentation added.
7944 2003-01-14 Michael Koch <konqueror@gmx.de>
7946 * java/awt/Label.java
7947 (Label): Implements javax.accessibility.Accessible;
7948 * java/awt/List.java
7949 (List): Implements javax.accessibility.Accessible;
7950 * java/awt/ScrollPane.java
7951 (ScrollPane): Implements javax.accessibility.Accessible;
7952 * java/awt/Scrollbar.java
7953 (Scrollbar): Implements javax.accessibility.Accessible;
7954 * java/awt/TextComponent.java
7955 (setCaretPosition): Throw exception, documentation added.
7956 * java/awt/Toolkit.java:
7957 Added some newlines in method documentations.
7958 (createButton): Exception documentation added.
7959 (createTextField): Exception documentation added.
7960 (createLabel): Exception documentation added.
7961 (createList): Exception documentation added.
7962 (createCheckbox): Exception documentation added.
7963 (createScrollbar): Exception documentation added.
7964 (createScrollPane): Exception documentation added.
7965 (createTextArea): Exception documentation added.
7966 (createChoice): Exception documentation added.
7967 (createFrame): Exception documentation added.
7968 (createWindow): Exception documentation added.
7969 (createDialog): Exception documentation added.
7970 (createMenuBar): Exception documentation added.
7971 (createMenu): Exception documentation added.
7972 (createMenuItem): Exception documentation added.
7973 (createFileDialog): Exception documentation added.
7974 (createCheckboxMenuItem): Exception documentation added.
7975 (loadSystemColors): Exception documentation added.
7976 (setDynamicLayout): Exception documentation added.
7977 (isDynamicLayoutSet): Exception documentation added.
7978 (isDynamicLayoutActive): Exception documentation added.
7979 (getScreenSize): Exception documentation added.
7980 (getScreenResolution): Exception documentation added.
7981 (getScreenInsets): Exception documentation added.
7982 (getColorModel): Exception documentation added.
7983 (getSystemClipboard): Exception documentation added.
7984 (getSystemSelection): Exception documentation added.
7985 (getMenuShortcutKeyMask): Exception documentation added.
7986 (getSystemEventQueue): Exception documentation added.
7987 * java/awt/Window.java:
7988 Reindented some code.
7989 (Window): Centralized implementation, documentation added.
7990 (finalize): Documentation added.
7991 (hide): Fixed typo in comment.
7992 (getWindowListeners): Documentation added.
7993 * java/awt/color/ColorSpace.java
7994 (toRGB): Documentation added.
7995 * java/awt/color/ICC_ColorSpace.java
7996 (ICC_ColorSpace): Documentation added.
7997 (toRGB): Throw exception, documentation added.
7998 (fromRGB): Throw exception, documentation added.
7999 (toCIEXYZ): Documentation added.
8000 (fromCIEXYZ): Documentation added.
8001 (getMinValue): Documentation added.
8002 (getMaxValue): Documentation added.
8003 * java/awt/geom/Dimension2D.java
8004 (clone): Documentation added.
8005 * java/awt/geom/GeneralPath.java
8006 (clone): Documentation added.
8007 * java/awt/geom/Line2D.java
8008 (clone): Documentation added.
8009 * java/awt/geom/QuadCurve2D.java
8010 (clone): Documentation added.
8011 * java/awt/image/ColorModel.java
8012 (ColorModel): Throw exception, documentation added.
8013 * java/awt/image/ImageFilter.java
8014 (clone): Doesnt throw CloneNotSupportedException.
8016 2003-01-14 Andrew Haley <aph@redhat.com>
8018 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
8021 2003-01-10 Andrew Haley <aph@redhat.com>
8023 * include/dwarf2-signal.h: Remove x86_64.
8024 * configure.host (x86_64 DIVIDESPEC): Remove.
8025 * include/x86_64-signal.h: New file.
8026 * configure.in: Regenerate.
8028 2003-01-10 Michael Koch <konqueror@gmx.de>
8030 * java/net/DatagramSocket.java
8031 (ch): Description added.
8032 (remotePort): Initialize with -1.
8033 (connect): Doesnt throws SocketException.
8034 * java/net/MulticastSocket.java
8035 (setInterface): Merge with Classpath.
8036 * java/net/ServerSocket.java
8037 (closed): New member variable.
8038 (bind): Check if socket is closed.
8039 (close): Close an associated channel too, set new value to closed.
8040 (isBound): Reindented.
8041 (isClosed): Implemented.
8042 * java/net/Socket.java
8043 (closed): New member variable.
8044 (bind): Check if socket is closed.
8045 (connect): Check if socket is closed.
8046 (close): Close an associated channel too, set new value to closed.
8047 (isClosed): Implemented.
8049 2003-01-10 Michael Koch <konqueror@gmx.de>
8051 * java/awt/DisplayMode.java
8052 (equals): Fixed argument type and implementation.
8054 2003-01-07 Tom Tromey <tromey@redhat.com>
8056 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
8057 JV_HASH_SYNCHRONIZATION.
8058 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
8059 JV_HASH_SYNCHRONIZATION.
8061 2003-01-07 Michael Koch <konqueror@gmx.de>
8063 * java/net/DatagramSocket.java:
8064 Added classpath license info.
8065 (DatagramSocket): Merged description with classpath.
8066 (close): Merged description with classpath.
8067 (getChannel): Merged description with classpath.
8068 (getInetAddress): Merged description with classpath.
8069 (getPort): Merged description with classpath.
8070 (getLocalAddress): Merged description with classpath.
8071 (getLocalPort): Merged description with classpath.
8072 (getSoTimeout): Merged description with classpath.
8073 (setSoTimeout): Merged description with classpath.
8074 (getSendBufferSize): Merged description with classpath.
8075 (setSendBufferSize): Merged description with classpath.
8076 (getReceiveBufferSize): Merged description with classpath.
8077 (setReceiveBufferSize): Merged description with classpath.
8079 2003-01-04 Tom Tromey <tromey@redhat.com>
8081 * java/awt/List.java: Merged with Classpath.
8083 2003-01-03 Mark Wielaard <mark@klomp.org>
8085 * java/io/FileDescriptor.java (position): New private field.
8086 * java/io/natFileDescriptorPosix.cc (write): Up position.
8087 (setLength): Use and set position.
8088 (seek): Set position.
8089 (getFilePointer): Return position.
8090 (read): Up position.
8092 2003-01-03 Mark Wielaard <mark@klomp.org>
8094 Merge with Classpath:
8095 * java/io/ObjectStreamClass.java (lookup): Split method and call
8096 lookupForClassObject().
8097 (lookupForClassObject): New method.
8098 (isProxyClass): New field.
8099 (setClass): Set isProxyClass, add object to classLookupTable, set
8100 superClass and calculateOffsets.
8101 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
8102 and not a proxy class.
8103 (setFields): Set accessible true for serialPersistentFields.
8104 (getClassUID): Same for suid. And check if suid is of type long.
8105 (hasClassInitializer): Don't throw NoSuchMethodError.
8107 2003-01-03 Mark Wielaard <mark@klomp.org>
8109 * java/io/FileInputStream.java (finalize): Don't explicitly
8110 finalize FileDescriptor.
8112 2003-01-03 Jeff Sturm <jsturm@one-point.com>
8114 * configure.host (sparc*-*): Enable bytecode interpreter.
8116 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
8118 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
8119 Don't throw RemoteException.
8120 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
8121 throw RemoteException.
8123 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
8125 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
8126 proxyHost): New static fields.
8127 (<clinit>): Initialize new fields.
8128 (connect): Use proxy if necessary.
8129 (usingProxy): Implement.
8131 2003-01-03 Eric Blake <ebb9@email.byu.edu>
8133 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
8134 (TreeIterator.remove): Prefer IllegalStateException over
8135 ConcurrentModificationException, to match Sun.
8137 2002-12-22 Anthony Green <green@redhat.com>
8139 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
8141 2003-01-02 Mark Wielaard <mark@klomp.org>
8143 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
8145 (HTTP_USE_PROXY): Add field.
8146 (getResponseVals): Only set responseCode when not yet explicitly
8149 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
8150 Mark Wielaard <mark@klomp.org>
8152 * java/util/zip/ZipFile.java (entries): Now HashMap.
8153 (readLeShort(DataInput, byte[])): Read from given byte array.
8154 (readLeInt(DataInput, byte[]): Likewise.
8155 (readLeShort(byte[] b, int off)): New method.
8156 (readLeInt(byte[] b, int off)): Likewise.
8157 (readEntries): Use byte arrays to read info in bigger chunks.
8158 (getEntries): Return HashMap.
8159 (getEntry): Use HashMap.
8160 (locBuf): New private field.
8161 (checkLocalHeader): Use locBuf to read info in one chunk.
8162 (getInputStream): Use entries HashMap, wrap PartialInputStream
8163 in BufferedInputStream.
8164 (ZipEntryEnumeration): Use HashMap and Interator.
8166 2003-01-02 Mark Wielaard <mark@klomp.org>
8167 Jeroen Frijters <jeroen@sumatra.nl>
8169 * java/net/URLClassLoader.java (Resource.getCodeSource):
8170 Fix check certs == null.
8171 (getCanonicalFileURL): Removed method.
8172 (JarURLLoader): Don't call removed method.
8173 (FileURLLoader): Likewise.
8174 (FileURLLoader.getResource): Don't canonicalize file name.
8176 2003-01-01 Tom Tromey <tromey@redhat.com>
8178 * Makefile.in: Rebuilt.
8179 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
8180 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
8181 java/awt/BufferCapabilities.java, java/awt/Button.java,
8182 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
8183 java/awt/Container.java, java/awt/Cursor.java,
8184 java/awt/EventQueue.java, java/awt/FileDialog.java,
8185 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
8186 java/awt/MenuBar.java, java/awt/MenuComponent.java,
8187 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
8188 java/awt/Scrollbar.java, java/awt/TextArea.java,
8189 java/awt/TextField.java, java/awt/color/CMMException.java,
8190 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
8191 java/awt/color/ProfileDataException.java,
8192 java/awt/datatransfer/Clipboard.java,
8193 java/awt/datatransfer/DataFlavor.java,
8194 java/awt/datatransfer/FlavorMap.java,
8195 java/awt/datatransfer/SystemFlavorMap.java,
8196 java/awt/dnd/DragGestureEvent.java,
8197 java/awt/dnd/DragGestureRecognizer.java,
8198 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
8199 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
8200 java/awt/im/InputMethodHighlight.java,
8201 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
8202 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
8204 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
8205 `op' to BufferedImageOp.
8207 2002-12-31 Tom Tromey <tromey@redhat.com>
8209 Fix for PR libgcj/7416:
8210 * javax/naming/InitialContext.java (init): Use
8211 gnu.classpath.home.url.
8212 * java/security/Security.java: Use new properties.
8213 (loadProviders): Accept base url; use it.
8214 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
8215 gnu.classpath.home.url.
8216 (gnu.classpath.home.url): Define.
8217 (gnu.classpath.vm.shortname): Likewise.
8219 2002-12-31 Tom Tromey <tromey@redhat.com>
8220 Ranjit Mathew <rmathew@hotmail.com>
8222 Fix for PR libgcj/8997:
8223 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
8225 * include/posix.h (_Jv_platform_usleep): New function.
8226 * include/win32.h (_Jv_platform_usleep): New function.
8228 2002-12-29 Tom Tromey <tromey@redhat.com>
8230 * gcj/javaprims.h: Updated.
8231 * scripts/classes.pl (scan): Removed stray semicolon.
8233 2002-12-30 Mark Wielaard <mark@klomp.org>
8235 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
8238 2002-12-30 Mark Wielaard <mark@klomp.org>
8240 * java/util/Properties (formatForOutput): Don't fall through to
8241 default case after escaping character.
8243 2002-12-30 Mark Wielaard <mark@klomp.org>
8245 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
8248 2002-12-27 Mark Mitchell <mark@codesourcery.com>
8250 * boehm.cc: Remove stray semicolon.
8251 * interpret.cc: Likewise.
8252 * prims.cc: Likewise.
8253 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
8254 earlier to ensure default arguments are processed.
8255 * gcj/array.h (JArray): Add forward declaration.
8256 (elements): Likewise.
8257 * gcj/javaprim.h: Remove stray semicolons.
8258 * include/bohm-gc.h: Likewise.
8259 * include/jni.h: Likewise.
8260 * include/jvm.h: Likewise.
8261 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
8263 2002-12-23 Jeff Sturm <jsturm@one-point.com>
8265 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
8267 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
8268 idt tables after initializing superclass.
8269 * java/lang/natClassLoader.cc (uaddr): New typedef.
8270 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
8271 if they are constant pool indicies. Don't link vtable, otable yet.
8273 2002-12-21 Anthony Green <green@redhat.com>
8275 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
8277 * Makefile.in: Rebuilt.
8279 2002-12-19 Anthony Green <green@redhat.com>
8281 * Makefile.am (ordinary_java_source_files): Add
8282 org/xml/sax/helpers/NewInstance.java.
8283 * Makefile.in: Rebuilt.
8284 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
8285 org/xml/sax/helpers/package.html: New files.
8286 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
8287 http://www.saxproject.org.
8289 2002-12-19 Andrew Haley <aph@redhat.com>
8291 * java/util/natResourceBundle.cc: Include
8292 ArrayIndexOutOfBoundsException.h.
8293 (getCallingClassLoader): Don't put upper bound on stack search.
8294 Catch ArrayIndexOutOfBoundsException.
8296 2002-12-19 Tom Tromey <tromey@redhat.com>
8298 * libtool-version: Increased `current'.
8300 2002-12-19 Tom Tromey <tromey@redhat.com>
8302 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
8304 * java/lang/ClassLoader.java (defineClass): Use chained
8305 exception when rethrowing.
8306 * defineclass.cc (handleClassBegin): Mark class as interpreted.
8307 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
8309 * resolve.cc (_Jv_PrepareMissingMethods): New function.
8310 (_Jv_PrepareClass): Use it.
8311 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
8312 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
8313 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
8314 (Class): _Jv_PrepareMissingMethods now friend.
8315 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
8316 Record `NULL' for system class loader.
8317 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
8318 system class loader.
8319 (_Jv_FindClassInCache): Likewise.
8320 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
8321 (_Jv_FindClass): Special case system class loader.
8322 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
8323 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
8325 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
8327 (_getDeclaredMethod): Don't return synthetic methods.
8328 (getDeclaredMethods): Likewise.
8329 (_getMethod): Likewise.
8330 (_getMethods): Likewise.
8332 2002-12-18 Raif Naffah <raif@fl.net.au>
8334 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
8335 canonical form after divide().
8336 (modInverse): Likewise.
8338 2002-12-13 Casey Marshall <rsdio@metastatic.org>
8339 Mark Wielaard <mark@klomp.org>
8341 * java/security/SecurityRandom (digest): Removed field.
8342 (SecureRandom): Check all providers for case-insensitive SecureRandom
8343 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
8345 (getInstance(String,Provider,boolean): New method.
8346 (getInstance(String)): Use new method.
8347 (getInstance(String,String)): Likewise.
8348 (getInstance(String,Provider)): Likewise.
8350 2002-12-13 Casey Marshall <rsdio@metastatic.org>
8352 * java/security/Security.java (loadProviders): Increment i only once.
8354 2002-12-12 Mark Wielaard <mark@klomp.org>
8356 * java/lang/ClassLoader.java (resolveClass0): Transform
8357 ClassNotFoundException to NoClassDefFoundError. Transform all other
8358 throwables to LinkageError.
8360 2002-12-11 Tom Tromey <tromey@redhat.com>
8362 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
8364 * java/lang/ClassLoader.java (loadedClasses): New field.
8365 (defineClass): Fixed indentation. Put new class in
8367 (findLoadedClass): Implement here.
8368 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
8370 2002-12-10 Tom Tromey <tromey@redhat.com>
8372 * Makefile.in: Rebuilt.
8373 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
8374 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
8375 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
8376 * java/lang/natClassLoader.cc
8377 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
8379 2002-12-10 Mark Wielaard <mark@klomp.org>
8380 Tom Tromey <tromey@redhat.com>
8382 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
8383 (JarURLLoader): Use it.
8384 (FileURLLoader): Likewise.
8385 (JarURLResource.getURL): Use chained exception.
8386 (FileResource.getURL): Likewise.
8387 (FileURLLoader.getResource): Use canonical file name.
8388 (addURL): Indentation fix.
8390 2002-12-10 Tom Tromey <tromey@redhat.com>
8392 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
8393 From Laurent Bardet <l.bardet@magic.fr>.
8395 2002-12-09 Tom Tromey <tromey@redhat.com>
8397 * include/win32.h (_Jv_platform_solib_prefix): New define.
8398 (_Jv_platform_solib_suffix): Likewise.
8399 * include/posix.h (_Jv_platform_solib_prefix): New define.
8400 (_Jv_platform_solib_suffix): Likewise.
8401 * java/lang/natRuntime.cc: Include StackTrace.h.
8402 (_load): Use findLibrary and new platform defines.
8403 (nativeGetLibname): Use new platform defines.
8405 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
8408 2002-12-08 Mark Wielaard <mark@klomp.org>
8410 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
8411 cache remote jar files.
8412 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
8413 add File.separator to URL when it is a directory.
8414 * java/lang/ClassLoader.java: Add Classpath javadoc.
8416 (getParent): Add (disabled) security check.
8417 (findLibrary): New default method.
8418 * java/net/JarURLConnection.java (getManifest): Implement.
8419 (getInputStream): Only create InputStream when entry exists.
8420 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
8422 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
8424 2002-12-08 Mark Wielaard <mark@klomp.org>
8426 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
8427 (lastDefaultLocale): New field.
8428 (getBundle): When Locale.getDefault != lastDefaultLocale reset
8429 resourceBundleCache.
8431 2002-12-06 Mark Wielaard <mark@klomp.org>
8433 * java/net/InetAddress.java (toString): Use hostname when not null,
8434 don't do an explicit reverse getHostName() lookup.
8435 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
8436 NullPointerException.
8438 2002-12-06 Tom Tromey <tromey@redhat.com>
8440 * include/java-interp.h (class _Jv_InterpMethod): Added
8442 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
8443 mark `prepared' field of interpreted method.
8444 * interpret.cc (compile): Use _Jv_AllocBytes.
8446 2002-12-05 Andrew Haley <aph@redhat.com>
8448 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
8449 #ifdef (HAVE_BACKTRACE) around the whole function body.
8451 2002-12-05 Tom Tromey <tromey@redhat.com>
8453 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
8454 * resolve.cc: Don't include AbstractMethodError.h.
8455 (_Jv_abstractMethodError): Removed.
8456 * defineclass.cc (handleMethodsBegin): Initialize method index to
8458 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
8459 method index for "new" final method.
8460 (_Jv_SetVTableEntries): Compare index against -1 instead of using
8461 isVirtualMethod. Added `flags' argument.
8462 (_Jv_MakeVTable): Throw exception for abstract method in concrete
8465 2002-12-04 Tom Tromey <tromey@redhat.com>
8467 * java/net/SocketPermission.java (hashCode): Rewrote.
8469 2002-12-04 Tom Tromey <tromey@redhat.com>
8471 * Makefile.in: Rebuilt.
8472 * Makefile.am (nat_source_files): Added natVMSecurityManager,
8474 * java/util/ResourceBundle.java (Security): Removed.
8475 (getCallingClassLoader): Now native.
8476 * java/util/natResourceBundle.cc: New file.
8477 * java/lang/natVMSecurityManager.cc: New file.
8478 * java/lang/VMSecurityManager.java (getClassContext): Now native.
8480 2002-12-03 Mark Wielaard <mark@klomp.org>
8482 * java/util/jar/JarFile.java (manifest): Not final.
8483 (manifestRead): New field.
8484 (JarFile): Don't read Manifest in constructor.
8485 (getManifest): New method.
8486 (JarEnumeration.nextElement): Use new method.
8487 (getEntry): Likewise.
8488 * java/util/zip/ZipFile.java (name): Final.
8490 (entries): Change type to Hashtable.
8491 (closed): New field.
8492 (ZipFile): Don't read enties in constructor.
8493 (readEntries): Use Hashtable.
8494 (close): Set new close flag and set entries to null inside
8496 (entries): Contruct enumeration using new getEntries() method and
8498 (getEntryIndex): Removed.
8499 (getEntries): New method.
8500 (getEntry): Use new getEntries() method and entries Hastable.
8501 (getInputStream): Likewise.
8502 (size): Return getEntries().size().
8503 (ZipEntryEnumeration): Wrap entries Hashtable elements.
8504 * java/util/zip/ZipEntry.java (cal): Don't initialize.
8506 (dostime): New field.
8507 (zipFileIndex): Removed.
8508 (ZipEntry(ZipEntry)): Copy dostime.
8509 (setDOSTime): Now final and doesn't convert dos time.
8510 (getDOSTime): Likewise.
8511 (setTime): Convert dos time.
8512 (getTime): Likewise.
8513 (getCalendar): New method.
8514 (setExtra): Use setTime().
8515 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
8517 2002-12-03 Tom Tromey <tromey@redhat.com>
8519 * java/lang/Character.java (forDigit): Formatting fix.
8521 2002-12-03 Raif Naffah <raif@fl.net.au>
8523 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
8524 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
8525 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
8527 2002-12-03 Andrew Haley <aph@redhat.com>
8529 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
8531 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
8532 (_Jv_PopClass): New.
8533 (_Jv_PushClass): New.
8534 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
8535 discover the ClassLoader of our caller.
8536 (_Jv_CheckArrayStore): Don't check that a class is assignment
8537 compatible with Object.
8538 * java/lang/natVMTHrowable.cc: Delete.
8539 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
8540 java.lang.VMThrowable.
8541 (StackTrace(), StackTrace(int)): New constructors.
8542 (classAt, methodAt, update, methodAtAddress): New methods.
8544 * java/lang/VMThrowable.java: Use StackTrace instead of
8546 * java/lang/Class.h (getClassLoaderInternal): New.
8547 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
8548 Be friendly with gnu::gcj::runtime::StackTrace.
8549 (Object.chain): New field.
8550 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
8551 gnu::gcj::runtime::StackTrace.
8552 * gnu/gcj/runtime/natStackTrace.cc: New file.
8553 * gnu/gcj/runtime/MethodRef.java: New file.
8554 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
8555 instead of getClassLoader().
8556 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
8557 java::lang::VMThrowable.
8558 * Makefile.am (core_java_source_files): Add MethodRef.java,
8560 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
8561 * Makefile.in: Rebuild.
8563 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
8565 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
8566 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
8567 yes also for sh-linux* and sh[34]*-linux*.
8568 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
8569 set SIGNAL_HANDLER to use DWARF2 exception for them.
8570 * configure: Regenerate.
8572 2002-12-02 Tom Tromey <tromey@redhat.com>
8574 * jni.cc: Added `name' argument.
8575 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
8576 `const char *' argument.
8577 (class _Jv_JNIEnv) [DefineClass]: Likewise.
8579 2002-12-01 Tom Tromey <tromey@redhat.com>
8581 Bug compatibility, for PR libgcj/8738:
8582 * java/io/CharArrayWriter.java (close): Do nothing.
8584 (reset): Don't touch `closed'.
8585 (write(int)): Don't throw IOException.
8586 (write(char[],int,int)): Likewise.
8587 (write(String,int,int)): Likewise.
8590 2002-12-01 Mark Wielaard <mark@klomp.org>
8592 * java/lang/SecurityManager.java: Remerge comments, indenting and
8593 checkXXX methods with Classpath.
8595 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
8597 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
8598 getNormalizedComponents): Fix calculation which was using one too
8599 many bits in the unnormalized format.
8601 2002-11-29 Gary Benson <gbenson@redhat.com>
8604 * java/beans/Introspector.java (flushCaches): New method.
8605 (flushFromCaches): Likewise.
8607 2002-11-29 Michael Koch <konqueror@gmx.de>
8609 * java/nio/channels/DatagramChannel.java
8610 (open): Added exception documentation.
8611 (write): Added exception documentation.
8612 (connect): Added exception documentation.
8613 (disconnect): Added exception documentation.
8614 (isConnected): Added exception documentation.
8615 (read): Added exception documentation.
8616 (receive): Added exception documentation.
8617 (send): Added exception documentation.
8618 (validOps): Added exception documentation.
8619 * java/nio/channels/SocketChannel.java
8620 (open): Added exception documentation.
8621 (read): Added exception documentation.
8622 (write): Added exception documentation.
8623 (connect): Added exception documentation.
8624 (finishConnect): Added exception documentation.
8626 2002-11-29 Michael Koch <konqueror@gmx.de>
8628 * gnu/java/nio/DatagramChannelImpl:
8629 (fd): New member variable to store file descriptor of socket.
8630 * gnu/java/nio/SelectionKeyImpl.java:
8632 (readyOps): New member variable.
8633 (interestOps): New member variable.
8634 (readyOps): Implemented.
8635 (readyOps): New method to set member variable readyOps.
8636 (interestOps): Replaced ops by interestOps.
8637 * gnu/java/nio/SelectorImpl.java:
8638 (SelectorImpl): Initialize key sets.
8639 (select): Call select with -1 instead of Long.MAX_VALUE).
8640 (java_do_select): Make it a native method.
8641 (getFDsAsArray): New helper method.
8642 (select): Remove canceled keys, give only interested file discriptors
8643 to java_do_select, set ready ops.
8644 (add): No need to initialize keys set here.
8645 (add_selected): No need to initialize selected set here.
8646 (deregisterCanceledKeys): New helper method.
8647 (register): Set interest ops, set attachments, added handling of datagram
8649 * gnu/java/nio/ServerSocketChannelImpl:
8650 (SocketAccept): Renamed from NioSocketAccept.
8651 (implConfigureBlocking): Implemented.
8652 (accept): Use SocketAccept instead of NioSocketAccept.
8653 * gnu/java/nio/SocketChannelImpl:
8654 Reactivate native methods.
8656 2002-11-29 Michael Koch <konqueror@gmx.de>
8658 * gnu/java/nio/natByteBufferImpl.cc,
8659 gnu/java/nio/natCharBufferImpl.cc,
8660 gnu/java/nio/natDoubleBufferImpl.cc,
8661 gnu/java/nio/natFloatBufferImpl.cc,
8662 gnu/java/nio/natIntBufferImpl.cc,
8663 gnu/java/nio/natLongBufferImpl.cc,
8664 gnu/java/nio/natSelectorImpl.cc,
8665 gnu/java/nio/natServerSocketChannelImpl.cc,
8666 gnu/java/nio/natShortBufferImpl.cc,
8667 gnu/java/nio/natSocketChannelImpl.cc:
8668 New files that implement native functionalities.
8670 2002-11-29 Michael Koch <konqueror@gmx.de>
8672 * gnu/java/nio/ByteBufferImpl.java
8673 (ByteBufferImpl): Moved position() after limit.
8674 (nio_*): Use native implementation.
8675 * gnu/java/nio/CharBufferImpl.java:
8677 (endian): New member variable string endianess of buffer.
8678 (CharBufferImpl): Moved position() after limit.
8679 (nio_*): Use native implementation.
8680 (subSequence): Implemented.
8681 * gnu/java/nio/DoubleBufferImpl.java
8682 (DoubleBufferImpl): Moved position() after limit.
8683 (nio_*): Use native implementation.
8684 * gnu/java/nio/FloatBufferImpl.java
8686 (FloatBufferImpl): Moved position() after limit.
8687 (nio_*): Use native implementation.
8688 * gnu/java/nio/IntBufferImpl.java
8689 Added needed imports, Reformated.
8690 (IntBufferImpl): Moved position() after limit.
8691 (nio_*): Use native implementation.
8692 * gnu/java/nio/LongBufferImpl.java
8694 (LongBufferImpl): Moved position() after limit.
8695 (nio_*): Use native implementation.
8696 * gnu/java/nio/ShortBufferImpl.java
8698 (ShortBufferImpl): Moved position() after limit.
8699 (nio_*): Use native implementation.
8701 2002-11-27 Julian Dolby <dolby@us.ibm.com>
8703 * java/util/Locale.java (toString): Improve efficiency if country
8704 and variant are both empty.
8706 2002-11-26 Tom Tromey <tromey@redhat.com>
8708 * verify.cc (pop_init_ref): New method.
8709 (verify_instructions_0) [op_iaload, op_laload, op_faload,
8710 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
8711 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
8712 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
8713 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
8714 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
8715 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
8716 let `this' argument be uninitialized. Don't let `null' be passed
8717 as `this' to construtor.
8719 2002-11-26 Mark Wielaard <mark@klomp.org>
8721 * javax/transaction/HeuristicCommitException.java: Classpath merge.
8722 * javax/transaction/HeuristicMixedException.java: Likewise.
8723 * javax/transaction/HeuristicRollbackException.java: Likewise.
8724 * javax/transaction/InvalidTransactionException.java: Likewise.
8725 * javax/transaction/NotSupportedException.java: Likewise.
8726 * javax/transaction/RollbackException.java: Likewise.
8727 * javax/transaction/Status.java: Likewise.
8728 * javax/transaction/Synchronization.java: Likewise.
8729 * javax/transaction/SystemException.java: Likewise.
8730 * javax/transaction/Transaction.java: Likewise.
8731 * javax/transaction/TransactionManager.java: Likewise.
8732 * javax/transaction/TransactionRequiredException.java: Likewise.
8733 * javax/transaction/TransactionRolledbackException.java: Likewise.
8734 * javax/transaction/UserTransaction.java: Likewise.
8735 * javax/transaction/xa/XAException.java: Likewise.
8736 * javax/transaction/xa/XAResource.java: Likewise.
8737 * javax/transaction/xa/Xid.java: Likewise.
8739 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
8741 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
8743 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
8744 * include/posix.h (socklen_t): Define if not already defined.
8746 2002-11-25 Tom Tromey <tromey@redhat.com>
8748 * verify.cc (type::compatible): Backed out broken change.
8750 * verify.cc (type::compatible): Check initialization status
8752 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
8753 Don't use NULLCHECK.
8755 2002-11-23 H.J. Lu <hjl@gnu.org>
8757 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
8758 Include ../config/accross.m4.
8759 * aclocal.m4; Rebuild.
8760 * configure: Likewise.
8762 2002-11-23 Mark Wielaard <mark@klomp.org>
8764 * javax/naming/AuthenticationException.java: Update copyright header.
8765 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
8766 * javax/naming/Binding.java: Likewise.
8767 * javax/naming/CannotProceedException.java: Likewise.
8768 * javax/naming/CommunicationException.java: Likewise.
8769 * javax/naming/CompositeName.java: Likewise.
8770 * javax/naming/CompoundName.java: Likewise.
8771 * javax/naming/ConfigurationException.java: Likewise.
8772 * javax/naming/Context.java: Likewise.
8773 * javax/naming/ContextNotEmptyException.java: Likewise.
8774 * javax/naming/InitialContext.java: Likewise.
8775 * javax/naming/InsufficientResourcesException.java: Likewise.
8776 * javax/naming/InterruptedNamingException.java: Likewise.
8777 * javax/naming/LimitExceededException.java: Likewise.
8778 * javax/naming/LinkException.java: Likewise.
8779 * javax/naming/LinkLoopException.java: Likewise.
8780 * javax/naming/LinkRef.java: Likewise.
8781 * javax/naming/MalformedLinkException.java: Likewise.
8782 * javax/naming/NameAlreadyBoundException.java: Likewise.
8783 * javax/naming/NameClassPair.java: Likewise.
8784 * javax/naming/NameNotFoundException.java: Likewise.
8785 * javax/naming/NameParser.java: Likewise.
8786 * javax/naming/NamingEnumeration.java: Likewise.
8787 * javax/naming/NamingSecurityException.java: Likewise.
8788 * javax/naming/NoInitialContextException.java: Likewise.
8789 * javax/naming/NoPermissionException.java: Likewise.
8790 * javax/naming/NotContextException.java: Likewise.
8791 * javax/naming/OperationNotSupportedException.java: Likewise.
8792 * javax/naming/PartialResultException.java: Likewise.
8793 * javax/naming/Reference.java: Likewise.
8794 * javax/naming/Referenceable.java: Likewise.
8795 * javax/naming/ReferralException.java: Likewise.
8796 * javax/naming/ServiceUnavailableException.java: Likewise.
8797 * javax/naming/SizeLimitExceededException.java: Likewise.
8798 * javax/naming/TimeLimitExceededException.java: Likewise.
8799 * javax/naming/directory/Attribute.java: Likewise.
8800 * javax/naming/directory/AttributeInUseException.java: Likewise.
8801 * javax/naming/directory/AttributeModificationException.java: Likewise.
8802 * javax/naming/directory/Attributes.java: Likewise.
8803 * javax/naming/directory/BasicAttribute.java: Likewise.
8804 * javax/naming/directory/BasicAttributes.java: Likewise.
8805 * javax/naming/directory/DirContext.java: Likewise.
8806 * javax/naming/directory/InitialDirContext.java: Likewise.
8807 * javax/naming/directory/InvalidAttributeIdentifierException.java:
8809 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
8810 * javax/naming/directory/InvalidAttributesException.java: Likewise.
8811 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
8812 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
8813 * javax/naming/directory/ModificationItem.java: Likewise.
8814 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
8815 * javax/naming/directory/SchemaViolationException.java: Likewise.
8816 * javax/naming/directory/SearchControls.java: Likewise.
8817 * javax/naming/directory/SearchResult.java: Likewise.
8818 * javax/naming/event/EventContext.java: Likewise.
8819 * javax/naming/event/EventDirContext.java: Likewise.
8820 * javax/naming/event/NamespaceChangeListener.java: Likewise.
8821 * javax/naming/event/NamingEvent.java: Likewise.
8822 * javax/naming/event/NamingExceptionEvent.java: Likewise.
8823 * javax/naming/event/NamingListener.java: Likewise.
8824 * javax/naming/event/ObjectChangeListener.java: Likewise.
8825 * javax/naming/ldap/Control.java: Likewise.
8826 * javax/naming/ldap/ControlFactory.java: Likewise.
8827 * javax/naming/ldap/ExtendedRequest.java: Likewise.
8828 * javax/naming/ldap/ExtendedResponse.java: Likewise.
8829 * javax/naming/ldap/HasControls.java: Likewise.
8830 * javax/naming/ldap/InitialLdapContext.java: Likewise.
8831 * javax/naming/ldap/LdapContext.java: Likewise.
8832 * javax/naming/ldap/LdapReferralException.java: Likewise.
8833 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
8834 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
8835 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
8836 * javax/naming/spi/DirObjectFactory.java: Likewise.
8837 * javax/naming/spi/DirStateFactory.java: Likewise.
8838 * javax/naming/spi/DirectoryManager.java: Likewise.
8839 * javax/naming/spi/InitialContextFactory.java: Likewise.
8840 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
8841 * javax/naming/spi/NamingManager.java: Likewise.
8842 * javax/naming/spi/ObjectFactory.java: Likewise.
8843 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
8844 * javax/naming/spi/ResolveResult.java: Likewise.
8845 * javax/naming/spi/Resolver.java: Likewise.
8846 * javax/naming/spi/StateFactory.java: Likewise.
8848 * javax/naming/spi/NamingManager.java (ofb): Package private.
8850 2002-11-21 Mark Wielaard <mark@klomp.org>
8852 * java/net/URL.java: Merge with Classpath (partly).
8853 * java/net/URLStreamHandler: Merge with Classpath.
8855 2002-11-22 Michael Koch <konqueror@gmx.de>
8858 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
8860 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
8861 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
8863 2002-11-21 Michael Koch <konqueror@gmx.de>
8865 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
8866 Only the new network functions should be in it.
8868 2002-11-21 Michael Koch <konqueror@gmx.de>
8870 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
8871 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
8873 2002-11-21 Michael Koch <konqueror@gmx.de>
8875 * java/nio/channels/AsynchronousCloseException.java,
8876 java/nio/channels/CancelledKeyException.java,
8877 java/nio/channels/ClosedByInterruptException.java,
8878 java/nio/channels/ConnectionPendingException.java,
8879 java/nio/channels/FileLockInterruptionException.java,
8880 java/nio/channels/IllegalSelectorException.java,
8881 java/nio/channels/NoConnectionPendingException.java,
8882 java/nio/channels/NonReadableChannelException.java,
8883 java/nio/channels/NonWritableChannelException.java,
8884 java/nio/channels/NotYetBoundException.java,
8885 java/nio/channels/NotYetConnectedException.java,
8886 java/nio/channels/OverlappingFileLockException.java,
8887 java/nio/channels/UnresolvedAddressException.java,
8888 java/nio/channels/UnsupportedAddressTypeException.java:
8890 * Makefile.am (ordinary_java_source_files): Added new files.
8891 * Makefile.in: Regenerated.
8893 2002-11-21 Michael Koch <konqueror@gmx.de>
8896 (_Jv_socket): New method.
8897 (_Jv_connect): New method.
8898 (_Jv_close): New method.
8899 (_Jv_platform_close_on_exec): Prefixed system function with "::".
8900 (_Jv_bind): New method.
8901 (_Jv_listen): New method.
8902 (_Jv_write): New method.
8903 (_Jv_read): New method.
8905 (_Jv_socket): New method.
8906 (_Jv_connect): New method.
8907 (_Jv_close): New method.
8908 (_Jv_bind): New method.
8909 (_Jv_listen): New method.
8910 (_Jv_write): New method.
8911 (_Jv_read): New method.
8912 * java/net/natNetworkInterface.cc:
8913 Include platform.h, removed inclusion of socket.h
8914 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
8915 ::close() by _Jv_close().
8916 * java/net/natPlainDatagramSocketImpl.cc:
8917 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
8918 added some new lines to make code more readable.
8919 (create): Replaced ::socket() by _Jv_socket().
8920 (close): Replaced NATIVE_CLOSE() by _Jv_close().
8921 * java/net/natPlainSocketImpl.cc:
8922 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
8923 removed include of socket.h, removed some windows defines
8924 (now in include/win32.h).
8925 (create): Replaced ::socket() by _Jv_socket().
8926 (close): Replaced NATIVE_CLOSE() by _Jv_close().
8927 (write): Replaced ::read by _Jv_write().
8928 (read): Replaced ::read by _Jv_read().
8930 2002-11-20 Michael Koch <konqueror@gmx.de>
8932 * Makefile.am (ordinary_java_source_files):
8933 Added java/nio/channels/FileChannel.java.
8934 * Makefile.in: Regenerated.
8936 2002-11-20 Michael Koch <konqueror@gmx.de>
8938 * java/io/FileInputStream.java
8939 (getChannel): New method.
8940 * java/io/FileOutputStream.java
8941 (getChannel): New method.
8942 * java/net/ServerSocket.java
8943 (bind): Removed duplicate code and called another bind method instead.
8944 * java/nio/channels/SelectionKey.java
8945 (isValid): Removed wrong exception documentation.
8946 * java/nio/channels/ServerSocketChannel.java
8947 (accept): Added exception documentation.
8948 (open): Fixed typo, added exception documentation.
8949 * java/nio/channels/spi/AbstractSelectableChannel.java
8950 (implCloseChannel): Added exception documentation.
8952 (register): Added exception documentation.
8954 2002-11-20 Andreas Jaeger <aj@suse.de>
8956 * configure: Regenerated with new libtool.m4.
8958 2002-11-19 Tom Tromey <tromey@redhat.com>
8960 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
8962 (finalize_referred_to_object): Don't modify `referent' or `copy'
8964 (add_to_hash): Correctly set `n->next' when updating list.
8965 * java/lang/ref/Reference.java (enqueue): Return false if already
8968 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
8970 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
8971 to function and function pointer declarations in accordance with
8972 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
8973 based on whether __GCJ_JNI_IMPL__ has been defined or not.
8974 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
8975 JNI function definitions.
8977 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8979 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
8980 that was causing CoderResults to be cached, not WeakReferences
8983 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
8985 * java/security/KeyStore.java (getInstance): Fix
8986 comment and throw IllegalArgumentException if
8987 given provider is null.
8988 (getInstance): New method for jdk1.4 compatibility.
8990 2002-11-18 Michael Koch <konqueror@gmx.de>
8992 * java/net/PlainSocketImpl.java: Fix imports.
8994 2002-11-18 Michael Koch <konqueror@gmx.de>
8996 * java/nio/channels/SelectionKey.java
8997 (isValid): Added exception documentation.
8998 * java/nio/channels/Selector.java
8999 (open): Declare "throws IOException".
9001 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9003 * java/nio/charset/Charset.java
9004 (<clinit>): New method.
9005 (encode): Synchronize use of cached encoder object.
9006 (decode): Synchronize use of cached encoder object.
9008 2002-11-18 Michael Koch <konqueror@gmx.de>
9010 * gnu/java/nio/ByteBufferImpl.java,
9011 gnu/java/nio/CharBufferImpl.java,
9012 gnu/java/nio/DatagramChannelImpl.java,
9013 gnu/java/nio/DoubleBufferImpl.java,
9014 gnu/java/nio/FileChannelImpl.java,
9015 gnu/java/nio/FloatBufferImpl.java,
9016 gnu/java/nio/IntBufferImpl.java,
9017 gnu/java/nio/LongBufferImpl.java,
9018 gnu/java/nio/PipeImpl.java,
9019 gnu/java/nio/SelectionKeyImpl.java,
9020 gnu/java/nio/SelectorImpl.java,
9021 gnu/java/nio/SelectorProviderImpl.java,
9022 gnu/java/nio/ServerSocketChannelImpl.java,
9023 gnu/java/nio/ShortBufferImpl.java,
9024 gnu/java/nio/SocketChannelImpl.java,
9025 java/nio/DoubleBuffer.java,
9026 java/nio/FloatBuffer.java,
9027 java/nio/IntBuffer.java,
9028 java/nio/LongBuffer.java,
9029 java/nio/ShortBuffer.java,
9030 java/nio/channels/FileChannel.java: New files.
9032 2002-11-18 Michael Koch <konqueror@gmx.de>
9034 * Makefile.am (ordinary_java_source_files):
9035 Added java/nio/ReadOnlyBufferException.java and
9036 java/nio/channels/ClosedSelectorException.java.
9037 * Makefile.in: Regenerated.
9039 2002-11-18 Michael Koch <konqueror@gmx.de>
9041 * java/net/PlainSocketImpl.java: Reworked imports.
9042 * java/net/ServerSocket.java
9043 (ServerSocket): Create socket.
9044 * java/net/SocketAddress.java: Documentation added.
9045 * java/net/natPlainSocketImpl.cc: Reindented.
9046 * java/nio/ReadOnlyBufferException.java: New file
9047 * java/nio/channels/ClosedChannelException.java: Documentation added.
9048 * java/nio/channels/ClosedSelectorException.java: New file.
9050 2002-11-17 Mark Wielaard <mark@klomp.org>
9052 * java/net/HttpURLConnection.java ((getPermission): Take port
9054 (getErrorStream): Implement.
9056 2002-11-17 Mark Wielaard <mark@klomp.org>
9058 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
9060 2002-11-16 Mark Wielaard <mark@klomp.org>
9062 Integrate work by Raif S. Naffah (raif@fl.net.au)
9063 * java/security/DummyKeyPairGenerator.java (clone): New method.
9064 * java/security/DummyMessageDigest.java (clone): New method.
9065 (engineUpdate): Now public.
9066 (engineReset): Likewise.
9067 (engineDigest): Likewise.
9068 (engineGetDigestLength): New method.
9069 * java/security/DummySignature.java (clone): New method.
9070 * java/security/KeyPairGenerator.java (provider): Now package private.
9071 (getInstance(String)): Use getInstance(String,Provider).
9072 (getInstance(String,String): Use getInstance(String,Provider)
9073 (getInstance(String,Provider): New method.
9074 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
9075 * java/security/KeyPairGeneratorSpi.java (clone): New method.
9076 * java/security/MessageDigest.java (provider): Now package private.
9077 (getInstance(String): Use getInstance(String,Provider).
9078 (getInstance(String,String): Use getInstance(String,Provider)
9079 (getInstance(String,Provider): New method.
9080 * java/security/Provider.java (toCanonicalKey): New method.
9081 (get): New method that uses toCanonicalKey().
9082 (put): Use toCanonicalKey().
9084 * java/security/Security.java (insertProviderAt): Provider index is one
9085 based, not zero based.
9086 (addProvider): Likewise.
9087 (removeProvider): Likewise.
9088 * java/security/Signature.java (provider): Now package private.
9089 (getInstance(String)): Use getInstance(String,Provider).
9090 (getInstance(String,String): Use getInstance(String,Provider)
9091 (getInstance(String,Provider): New method.
9092 (getInstance(String,String,Provider): Don't cast DummySignature.
9094 2002-11-15 Tom Tromey <tromey@redhat.com>
9097 * java/util/zip/GZIPInputStream.java (read): Check file size.
9098 Look in inflater for remaining input bytes.
9099 (read4): Added buf and offset arguments.
9101 2002-11-12 Eric Blake <ebb9@email.byu.edu>
9103 * java/applet/AppletContext.java: Fix typo and remove redundant
9106 2002-11-14 Tom Tromey <tromey@redhat.com>
9108 * java/lang/natRuntime.cc (insertSystemProperties): Set
9111 2002-11-13 Michael Koch <konqueror@gmx.de>
9113 * java/nio/ByteBuffer.java
9114 (allocate): New method.
9119 2002-11-13 Michael Koch <konqueror@gmx.de>
9121 * java/nio/channels/AlreadyConnectedException.java:
9122 Removed unneeded import.
9123 (AlreadyConnectedException): Documentation added.
9124 * java/nio/channels/Pipe.java
9125 (SinkChannel.SinkChannel): Documentation added.
9126 (SinkChannel.validOps): New method.
9127 (SourceChannel.SourceChannel): Documentation added.
9128 (SourceChannel.validOps): New method.
9129 (Pipe): Documentation added.
9130 (open): Documentation added.
9131 (SinkChannel.channel): Documentation added.
9132 (SourceChannel.channel): Documentation added.
9133 * java/nio/channel/SelectableChannel.java
9134 (SelectableChannel): Documentation added.
9135 (blockingLock): Documentation added.
9136 (configureBlocking):Documentation added.
9137 (isBlocking):Documentation added.
9138 (isRegistered):Documentation added.
9139 (keyFor):Documentation added.
9140 (provider):Documentation added.
9141 (register): Documentation added.
9142 (validOps): Documentation added.
9143 * jaba/nio/channels/SelectionKey.java
9144 (SelectionKey): Documentation added.
9145 (attach): Documentation added.
9146 (attachment): Documentation added.
9147 (isAcceptable): Documentation added.
9148 (isConnetable): Documentation added.
9149 (isReadable): Documentation added.
9150 (isWritable): Documentation added.
9151 (cancel): Documentation added.
9152 (channel): Documentation added.
9153 (interestOps): Documentation added.
9154 (isValid): Documentation added.
9155 (readyOps): Documentation added.
9156 (selector): Documentation added.
9157 * jaba/nio/channels/Selector.java
9158 (Selector): Documentation added.
9159 (open): Documentation added.
9160 (close): Documentation added.
9161 (isOpen): Documentation added.
9162 (keys): Documentation added.
9163 (provider): Documentation added.
9164 (select): Documentation added.
9165 (selectedKeys): Documentation added.
9166 (selectNow): Documentation added.
9167 (wakeup): Documentation added.
9168 * java/nio/channels/spi/AbstractInterruptibleChannel.java
9169 (AbstractInterruptibleChannel): Documentation added.
9170 (opened): Default to true;
9171 (begin): Documentation added.
9172 (close): Set opened to false, documentation added.
9173 (isOpen): Documentation added.
9174 * java/nio/channels/spi/AbstractSelectionKey.java
9175 (AbstractSelectionKey): Documentation added.
9176 (cancel): Documentation added.
9177 (isValid): Documentation added.
9178 * java/nio/channels/spi/AbstractSelector.java
9179 (AbstractSelector): Documentation added.
9180 (begin): Documentation added.
9181 (close): Documentation added.
9182 (isOpen): Documentation added.
9183 (deregister): Documentation added.
9184 (end): Documentation added.
9185 (provider): Documentation added.
9186 (implCloseSelector): Documentation added.
9187 (register): Documentation added.
9188 * java/nio/channels/spi/SelectorProvider.java
9189 (SelectorProvider): Documentation added.
9190 (openDatagramChannel): Documentation added.
9191 (openPipe): Documentation added.
9192 (openSelector): Documentation added.
9193 (openServerSocketChannel): Documentation added.
9194 (openSocketChannel): Documentation added.
9195 (provider): Documentation added.
9197 2002-11-12 Michael Koch <konqueror@gmx.de>
9199 * java/nio/Buffer.java: Implemented.
9200 * java/nio/CharBuffer.java: New file.
9201 * java/nio/InvalidMarkException.java: New file.
9202 * java/nio/channels/DatagramChannel.java: Implemented.
9203 * java/nio/channels/ServerSocketChannel.java: Implemented.
9204 * java/nio/channels/SocketChannel.java: Implemented.
9205 * java/nio/channels/spi/AbstractChannel.java: Removed.
9206 * java/nio/channels/spi/AbstractSelectableChannel.java:
9208 * java/nio/charset/Charset.java:
9209 Merge from Classpath.
9210 * java/nio/charset/CharsetDecoder.java: New file.
9211 * java/nio/charset/CharsetEncoder.java: New file.
9212 * java/nio/charset/CoderResult.java: New file.
9213 * Makefile.am (ordinary_java_source_files): Added new files.
9214 * Makefile.in: Regenerated.
9216 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9218 * gnu/java/nio/charset/ISO_8859_1.java,
9219 gnu/java/nio/charset/Provider.java,
9220 gnu/java/nio/charset/US_ASCII.java,
9221 gnu/java/nio/charset/UTF_16.java,
9222 gnu/java/nio/charset/UTF_16BE.java,
9223 gnu/java/nio/charset/UTF_16Decoder.java,
9224 gnu/java/nio/charset/UTF_16Encoder.java,
9225 gnu/java/nio/charset/UTF_16LE.java,
9226 gnu/java/nio/charset/UTF_8.java: New files.
9228 2002-11-11 Michael Koch <konqueror@gmx.de>
9230 * java/nio/charset/CharacterCodingException.java:
9231 This class must be public.
9232 * java/nio/charset/CoderMalfunctionError.java:
9233 This class must be public.
9234 * java/nio/charset/CodingErrorAction.java:
9235 This class must be public.
9236 * java/nio/charset/IllegalCharsetNameException.java:
9237 This class must be public, better implementation.
9238 * java/nio/charset/MalformedInputException.java:
9239 This class must be public, better implementation.
9240 * java/nio/charset/UnmappableCharacterException.java:
9241 This class must be public, better implementation.
9242 * java/nio/charset/UnsupportedCharsetException.java:
9243 This class must be public, better implementation.
9245 2002-11-11 Michael Koch <konqueror@gmx.de>
9247 * java/nio/BufferOverflowException.java,
9248 java/nio/BufferUnderflowException.java: New file.
9249 * Makefile.am (ordinary_java_source_files):
9251 * Makefile.in: Regenerated.
9253 2002-11-10 Tom Tromey <tromey@redhat.com>
9255 * java/awt/Container.java (validate): Use tree lock.
9256 (getComponent): Likewise.
9257 (getComponents): Likewise.
9258 (addImpl): Likewise.
9260 (removeAll): Likewise.
9261 (processEvent): Fixed indentation.
9262 (getComponentAt): Use tree lock.
9263 (findComponentAt): Likewise.
9264 (removeNotify): Likewise.
9265 (isAncestorOf): Likewise.
9267 (visitChildren): Likewise.
9268 (findNextFocusComponent): Likewise.
9269 (addNotifyContainerChildren): Likewise.
9270 (getAccessibleChildrenCount): Likewise.
9271 (getAccessibleChild): Likewise.
9273 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
9274 (getSize): Likewise.
9275 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
9276 (getSize): Likewise.
9277 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
9278 (calcSize): Likewise.
9279 * java/awt/CardLayout.java (getSize): Use tree lock.
9280 (gotoComponent): Likewise.
9281 (layoutContainer): Likewise.
9283 * java/io/natFileDescriptorWin32.cc (read): Handle case where
9285 * java/io/natFileDescriptorPosix.cc (read): Handle case where
9288 * java/io/Externalizable.java, java/io/FilePermission.java,
9289 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
9290 java/io/SerializablePermission.java, java/text/Format.java,
9291 java/util/AbstractMap.java, java/util/HashMap.java,
9292 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
9293 versions from Classpath.
9295 2002-11-10 Anthony Green <green@redhat.com>
9297 * java/util/jar/Attributes.java (Name): Fix name check.
9299 2002-11-10 Mark Wielaard <mark@klomp.org>
9301 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
9302 with getName() as message.
9303 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
9306 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
9309 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
9311 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
9312 for Win32. JNICALL has been defined to __stdcall to be compatible
9315 2002-11-10 Tom Tromey <tromey@redhat.com>
9317 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
9318 (setRows): Check newRows, not rows.
9320 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
9322 2002-11-09 Tom Tromey <tromey@redhat.com>
9324 * java/applet/Applet.java, java/applet/AppletContext.java,
9325 java/applet/AppletStub.java, java/applet/AudioClip.java,
9326 java/awt/CardLayout.java,
9327 java/awt/ContainerOrderFocusTraversalPolicy.java,
9328 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
9329 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
9330 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
9331 java/awt/color/ICC_ColorSpace.java,
9332 java/awt/color/ICC_Profile.java,
9333 java/awt/color/ICC_ProfileGray.java,
9334 java/awt/color/ICC_ProfileRGB.java,
9335 java/awt/datatransfer/DataFlavor.java,
9336 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
9337 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
9338 New versions from Classpath.
9339 * Makefile.in: Rebuilt.
9340 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
9343 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
9346 * java/awt/List.java (processEvent): Added missing `else's.
9348 * java/awt/Window.java (show): validate() before showing. Make
9350 (isDisplayable): New method.
9352 2002-11-07 Mark Wielaard <mark@klomp.org>
9354 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
9355 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
9357 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
9359 (loadClass): Take String as codebases.
9360 (getClassAnnotation): Use MyClassLoader annotations.
9361 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
9362 call exportObject(this).
9364 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
9365 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
9366 (setAnnotation): Don't set locBytesStream and locStream.
9367 (replaceObject): Removed.
9368 (flush): Don't test locStream.
9369 (getLocBytes): LikeWise.
9370 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
9371 (leaseCache): New field.
9372 (dirty): Use leaseCache.
9373 (LeaseRecord): New inner class.
9374 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
9375 explicitly call exportObject().
9376 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
9377 false to communicate with Sun JDK130.
9378 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
9379 * gnu/java/rmi/server/RMIObjectInputStream.java
9380 (UnicastConnectionManager): Removed field.
9381 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
9382 Use UnicastServer.getExportedRef().
9383 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
9384 (expireTime): Likewise.
9385 (CONNECTION_TIMEOUT): Likewise.
9386 (disconnect): Call sock.close().
9387 (isExpired): New method.
9388 (resetTime): Likewise.
9389 (run): Use do while loop and catch Exception for discardConnection().
9390 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
9391 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
9392 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
9393 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
9394 (exportObject): Use refcache.
9395 (unexportObject): Likewise.
9396 (getExportedRef): New method.
9397 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
9399 (exportObject): Save manager.serverobj.
9400 (getStub): New method.
9402 2002-11-07 Mark Wielaard <mark@klomp.org>
9404 * java/lang/reflect/natField.cc (getBoolean): Use getType().
9405 (getByte): Likewise.
9406 (getShort): Likewise.
9408 (getLong): Likewise.
9409 (getFloat): Likewise.
9410 (getDouble): Likewise.
9412 (setChar): Likewise.
9413 (setByte): Likewise.
9414 (setShort): Likewise.
9416 (setLong): Likewise.
9417 (setFloat): Likewise.
9418 (setDouble): Likewise.
9420 2002-11-07 Michael Koch <konqueror@gmx.de>
9422 * java/awt/Choice.java,
9423 java/awt/Container.java,
9424 java/awt/GridBagLayout.java:
9425 Fixed documentation.
9426 * java/awt/peer/ContainerPeer.java:
9429 2002-11-07 Michael Koch <konqueror@gmx.de>
9431 * java/awt/color/ICC_Profile.java:
9432 Added missing constants.
9433 * java/awt/color/ICC_ColorSpace.java
9434 (getMinValue): Added dummy implementation.
9435 (getMaxValue): Added dummy implementation.
9436 * java/awt/datatransfer/DataFlavor.java
9437 (imageFlavor): Added.
9438 (isMimeTypeEqual): Must be final.
9439 (getDefaultRepresentationClass): Must be non-static.
9440 (getDefaultRepresentationClassAsString): Must be non-static.
9441 * java/awt/dnd/DragSourceContext.java
9442 (dragExit): Corrected argument.
9443 (dragDropEnd): Corrected argument.
9444 * java/awt/dnd/DragSourceListener.java.java
9445 (dragExit): Corrected argument.
9446 (dragDropEnd): Corrected argument.
9447 * java/awt/font/TextHitInfo.java
9448 (toString): Added stubbed implementation.
9449 * java/awt/geom/PathIterator.java:
9450 The constants must be static.
9451 * java/awt/image/VolatileImage.java
9452 (IMAGE_INCOMPATIBLE): Fixed typo.
9453 * java/awt/image/renderable/RenderableImage.java
9454 (HINTS_OBSERVED): Must be static.
9455 * java/beans/BeanInfo.java:
9456 Constants must be final.
9458 2002-11-06 Tom Tromey <tromey@redhat.com>
9460 From svens@it.uu.se. For PR libgcj/8481.
9461 * java/util/Random.java (nextInt(int)): Only use 31 bits.
9463 2002-11-06 Tom Tromey <tromey@redhat.com>
9465 * jni.cc (array_from_valist): Assume that jlong won't be
9468 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
9470 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
9472 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
9475 2002-11-03 Tom Tromey <tromey@redhat.com>
9477 * java/lang/ClassLoader.java (loadClass): Call loadClass on
9478 VMClassLoader, not findClass.
9480 2002-11-03 Jeff Sturm <jsturm@one-point.com>
9482 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
9483 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
9484 _Jv_DetermineVTableIndex, to determine vtable offset.
9485 (_Jv_DetermineVTableIndex): Remove.
9486 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
9488 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
9490 2002-11-03 Tom Tromey <tromey@redhat.com>
9492 * java/nio/channels/AlreadyConnectedException.java: Extend
9493 IllegalStateException, per spec.
9495 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
9497 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
9499 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
9501 * java/util/ArrayList.java (readObject, writeObject): Only read/write
9504 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
9506 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
9507 initial estimated size to avoid enlarge buffer frequently.
9509 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
9511 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
9512 ClassLoader when null.
9513 (ProxyType.hashCode): Loader null check no longer needed.
9514 (ProxyType.sameTypes): New method.
9515 (ProxyType.equals): Use new method.
9517 2002-10-31 Mark Wielaard <mark@klomp.org>
9519 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
9521 * java/net/URLEncoder.java (encode): Likewise.
9523 2002-10-31 Mark Wielaard <mark@klomp.org>
9525 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
9526 when stream is closed.
9527 (closeEntry): Likewise.
9529 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
9530 ZipException when no entry active.
9531 (closeEntry): Likewise.
9534 2002-11-02 Tom Tromey <tromey@redhat.com>
9536 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
9537 * java/lang/natClass.cc (initializeClass): Don't return just
9538 because self==thread.
9541 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
9542 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
9544 2002-11-02 Andreas Schwab <schwab@suse.de>
9546 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
9548 (FLAGS_TO_PASS): Define.
9549 * Makefile.in: Regenerated.
9551 2002-11-01 Michael Koch <konqueror@gmx.de>
9553 * java/nio/ByteOrder.java: New file.
9554 * java/nio/channels/DatagramChannel.java:
9555 (DatagramChannel): New constructor.
9556 * java/nio/channels/Pipe.java: New file.
9557 * java/nio/channels/SelectableChannel.java: New file.
9558 * java/nio/channels/SelectionKey.java: New file.
9559 * java/nio/channels/Selector.java: New file.
9560 * java/nio/channels/ServerSocketChannel.java
9561 (ServerSocketChannel): New constructor.
9562 * java/nio/channels/SocketChannel.java
9563 (SocketChannel): New constructor.
9564 * java/nio/channels/Pipe.java: New file.
9565 * java/nio/channels/spi/AbstractChannel.java: New file.
9566 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
9567 * java/nio/channels/spi/AbstractSelectableChannel.java:
9569 (AbstractSelectableChannel): New stubbed method.
9570 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
9571 * java/nio/channels/spi/AbstractSelector.java: New file.
9572 * java/nio/channels/spi/SelectorProvider.java: New file.
9573 * java/nio/charset/Charset.java: New file.
9574 * java/nio/charset/CoderMalfunctionError.java: New file.
9575 * java/nio/charset/CodingErrorAction.java: New file.
9576 * java/nio/charset/spi/CharsetProvider.java
9577 (charsetForName): Uncommented.
9578 * Makefile.am (java_native_source_files): Added new files.
9579 * Makefile.in: Regenerated.
9581 2002-11-01 Michael Koch <konqueror@gmx.de>
9583 * java/net/InetAddress.java:
9584 (isAnyLocalAddress): Implemented.
9585 (isLoopbackAddress): Implemented, comment added.
9586 (isLinkLocalAddress): Implemented, documentation added.
9587 (isSiteLocalAddress): Implemented, documentation added.
9588 (isMCGlobal): Implemented, documentation added.
9589 (isMCNodeLocal): Implemented, documentation added.
9590 (isMCLinkLocal): Implemented, documentation added.
9591 (isMCSiteLocal): Implemented, documentation added.
9592 (isMCOrgLocal): Implemented, documentation added.
9593 (getHostName): Documentation added.
9594 (getCanonicalHostName): Implemented, documentation added.
9595 (getAddress): Documentation added.
9596 (hashCode): Documentation added.
9597 (equals): Documentation added.
9598 (toString): Fixed implementation.
9599 (getByAddress): Use Inet4Address and Inet6Address.
9600 (lookup): New linewrap.
9601 (getByName): SecurityManager check added, support Inet4Address and
9602 Inet6address, comments added.
9603 (getAllByName): SecurityManager check added, comments added.
9604 * java/net/Inet6Address.java:
9605 (Inet6Address): Initialize parent class with addr instead of null.
9607 (equals): Documentation added.
9608 (getFile): Documentation added.
9609 (hashCode): Documentation added.
9610 * java/net/natInetAddress.cc:
9611 (aton): Fix IPv6 support.
9612 * java/net/natPlainDatagramSocketImpl.cc:
9613 (peek): Throw PortUnreachableException when suitable.
9614 (peekData): Throw PortUnreachableException when suitable.
9615 (send): Throw PortUnreachableException when suitable.
9616 (receive): Throw PortUnreachableException when suitable.
9618 2002-10-27 Mark Wielaard <mark@klomp.org>
9620 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
9622 (readLeShort): Likewise and use byte[].
9623 (readLeInt): Likewise.
9624 (readEntries): Use new versions of methods and use byte[] for reading
9625 a complete zip entry. Add ZipFile name to exceptions.
9626 (entries): Add ZipFile name to exceptions.
9627 (getEntry): Likewise.
9628 (checkLocalHeader): Use new versions of methods and add ZipFile name
9631 2002-10-31 Mark Anderson <mark@panonet.net>
9633 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
9636 2002-10-25 Krister Walfridsson <cato@df.lth.se>
9638 * configure.in: Disable hash sync when not using threads.
9639 * configure: Regenerated.
9641 2002-10-24 Tom Tromey <tromey@redhat.com>
9643 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
9644 (_Jv_FindSymbolInExecutable): Removed argument name.
9645 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
9646 java.library.path is set.
9648 * gij.cc (help): Document --showversion.
9649 (version): Don't exit.
9650 (main): Handle --showversion. Exit if --version given.
9652 2002-10-23 Tom Tromey <tromey@redhat.com>
9654 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
9655 (array_from_valist): Correctly handle promotion for jint, jlong,
9656 jfloat, and jdouble.
9658 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
9660 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
9661 GetFileAttributesEx( ) to find file length and modification times,
9662 as the latter is not present on Windows 95.
9664 2002-10-21 Michael Koch <konqueror@gmx.de>
9667 (URL): Activate SecurityManager checks.
9668 (equals): Use URLStreamHandler implementation instead of doing it
9669 alone. This allows special protocol stream handlers to change default
9671 (hashCode): Use URLStreamHandler implementation instead of doing it
9672 alone. This allows special protocol stream handlers to change default
9674 * java/net/URLStreamHandler.java
9675 (equals): Implemented default URL equality check.
9676 (hostsEqual): Implemented default URL equality check.
9677 (hashCode): Implemented default URL hashCode algorithm.
9678 * java/net/natPlainDatagramSocketImpl.cc:
9679 No lines longer then 80 characters.
9681 2002-10-20 Adam Megacz <adam@xwt.org>
9683 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
9684 * configure.in: enabled hash sync on Win32
9685 * include/win32-threads.h (_Jv_ThreadId_t): added.
9686 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
9687 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
9688 removed some posix-isms, use Thread::sleep() instead of usleep,
9689 added code to clear bottom three bits if platform has a broken
9691 * include/win32-threads.h (_Jv_ThreadId_t): added.
9693 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
9695 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
9696 runtime property "gnu.gcj.progname" containing the name used to
9697 invoke the current Java program (similar to argv[0] for C
9700 2002-10-15 Tom Tromey <tromey@redhat.com>
9702 Fix for PR libgcj/8234:
9703 * java/util/zip/natInflater.cc (reset): Reset avail_in.
9704 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
9706 2002-10-13 Mark Wielaard <mark@klomp.org>
9708 * mauve-libgcj: Enable Mauve tests that compile now.
9710 2002-10-11 Mark Wielaard <mark@klomp.org>
9712 Fix for PR libgcj/8142
9713 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
9714 loading native modules.
9716 2002-10-10 Michael Koch <konqueror@gmx.de>
9718 * javax/swing/AbstractListModel.java
9719 (getListDataListeners): New stubbed method.
9720 javax/swing/DefaultBoundedRangeModel.java
9721 (getChangeListeners): New stubbed method.
9722 javax/swing/DefaultSingleSelectionModel.java
9723 (getChangeListeners): New stubbed method.
9725 2002-10-10 Michael Koch <konqueror@gmx.de>
9727 * gcj/.cvsignore: New file to ignore files generated during build.
9728 * include/.cvsignore: New file to ignore files generated during build.
9730 2002-10-10 Michael Koch <konqueror@gmx.de>
9732 * java/net/HttpURLConnection.java
9733 (getPermission): New method.
9734 (getErrorStream): New stub method.
9735 (getHeaderFieldDate): New stub method.
9736 * java/net/Inet4Address.java:
9737 (isLinkLocalAddress): Typo fixed.
9738 * java/net/InetAddress.java:
9739 (readResolve): New stubbed method (for serialization).
9740 (isAnyLocalAddress): New stubbed method.
9741 (isLoopbackAddress): New stubbed method.
9742 (isLinkLocalAddress): New stubbed method.
9743 (isSiteLocalAddress): New stubbed method.
9744 (isMCGlobal): New stubbed method.
9745 (isMCNodeGlobal): New stubbed method.
9746 (isMCLinkLocal): New stubbed method.
9747 (isMCSiteLocal): New stubbed method.
9748 (isMCOrgLocal): New stubbed method.
9749 (getCanonicalHostName): New stubbed method.
9750 (getByAddress): Create instances of Inet4Address/Inet6Address,
9751 instead of InetAddress, documentation added.
9752 * java/net/MulticastSocket.java
9753 (getInterface): Removed FIXME.
9754 (getNetworkInterface): New method.
9755 (setNetworkInterface): New method.
9756 * java/net/NetworkInterface.java:
9757 (toString): Use property "line.separator" instead of "\n".
9758 * java/net/URLConnection.java
9759 (getContent): New stubbed method.
9760 * java/net/URLStreamHandler.java:
9761 (equals): New stubbed method.
9762 (hostsEqual): New stubbed method.
9763 (hashCode): New stubbed method.
9764 * java/net/natNetworkInterface.cc:
9765 (getRealNetworkInterfaces): Create Inet4Address object
9766 instead of InetAddress.
9768 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
9770 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
9771 unsigned long temporary to implement insn_iushr shifts.
9773 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
9775 * configure.host [s390*-*]: Enable Java interpreter.
9776 Enable hash synchronization. Add sysdeps dir.
9777 * sysdep/s390/locks.h: New file.
9779 2002-10-06 Mark Wielaard <mark@klomp.org>
9781 * java/lang/Thread.java (setDaemon): Check startable_flag,
9784 2002-10-07 Michael Koch <konqueror@gmx.de>
9786 * java/nio/Buffer.java: New stub file.
9787 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
9789 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
9790 * Makefile.in: Regenerated.
9792 2002-10-07 Michael Koch <konqueror@gmx.de>
9794 * java/nio/ByteBuffer.java:
9795 removed import of not commited class.
9797 2002-10-07 Michael Koch <konqueror@gmx.de>
9799 * java/nio/ByteBuffer.java,
9800 java/nio/MappedByteBuffer.java:
9801 New files, forgot to add these dummies.
9802 * Makefile.am (java_native_source_files): Added new files.
9803 * Makefile.in: Regenerated.
9805 2002-10-07 Michael Koch <konqueror@gmx.de>
9807 * java/nio/channels/AlreadyConnectedException.java,
9808 java/nio/channels/ClosedChannelException.java,
9809 java/nio/channels/ReadableByteChannel.java,
9810 java/nio/channels/InterruptibleChannel.java,
9811 java/nio/channels/Channel.java,
9812 java/nio/channels/ByteChannel.java,
9813 java/nio/channels/GatheringByteChannel.java,
9814 java/nio/channels/ScatteringByteChannel.java,
9815 java/nio/channels/WritableByteChannel.java,
9816 java/nio/charset/CharacterCodingException.java,
9817 java/nio/charset/IllegalCharsetNameException.java,
9818 java/nio/charset/MalformedInputException.java,
9819 java/nio/charset/UnmappableCharacterException.java,
9820 java/nio/charset/UnsupportedCharsetException.java,
9821 java/nio/charset/spi/CharsetProvider.java: New file.
9822 These files are exceptions or interfaces,
9823 no real or abstract classes.
9824 * Makefile.am (java_native_source_files): Added new files.
9825 * Makefile.in: Regenerated.
9827 2002-10-05 Michael Koch <konqueror@gmx.de>
9829 * java/net/InetAddress.java
9830 (getByAddress): Fixed documentation.
9831 (getByAddress): New method.
9832 * java/net/Inet4Address.java: New file.
9834 (URL): Documentation added.
9835 (getContent): Documentation added.
9836 (getContent): New stubbed method.
9837 (getQuery): New method.
9838 (openConnection): Documentation added.
9839 (openStream): Documentation added.
9840 (setURLStreamHandlerFactory): Documentation added.
9841 * java/net/URI.java: New stub file.
9843 (java_native_source_files): Added java/net/Inet4Address.java,
9844 java/net/Inet6Address.java and java/net/URI.java.
9845 * Makefile.in: Regenerated.
9847 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
9849 * java/lang/ProtectionDomain.java (linesep): Remove field.
9850 (toString): Use System.getProperty("line.separator").
9852 2002-10-04 Michael Koch <konqueror@gmx.de>
9854 * java/security/Identity.java: Added serialVersionUID.
9855 * java/security/KeyPair.java: Added serialVersionUID.
9856 * java/security/Provider.java: Added serialVersionUID.
9857 * java/security/SecureRandom.java: Added serialVersionUID.
9858 * java/security/SecureRandomSpi.java: Added serialVersionUID.
9859 * java/security/SignedObject.java: Added serialVersionUID.
9860 * java/security/cert/Certificate.java: Added serialVersionUID.
9862 2002-10-04 Mark Wielaard <mark@klomp.org>
9864 * java/security/Security.java: Use java.home or gnu.classpath.home
9866 (loadProviders): Extra dir argument.
9867 (getProvider): Return null when not found.
9869 2002-10-04 Mark Wielaard <mark@klomp.org>
9871 * java/lang/Throwable.java: Remerge with Classpath.
9873 2002-10-04 Michael Koch <konqueror@gmx.de>
9875 * java/net/InetAddress.java:
9876 (isMulticastAddress): Added documentation.
9877 (getHostAddress): Added documentation.
9878 (toString): Added documentation.
9879 (getByAddress): Fixed documentation.
9880 (getByName): Added documentation.
9881 (getAllByName): Added documentation.
9882 (getLocalHost): Added documentation.
9884 2002-10-04 Michael Koch <konqueror@gmx.de>
9886 * java/beans/beancontext/BeanContextChildSupport.java:
9887 Added serialVersionUID.
9888 * java/text/Collator.java: (compare): Made documentation HTML-aware.
9889 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
9890 * javax/naming/Name.java: Added serialVersionUID.
9892 2002-10-03 Adam Megacz <adam@xwt.org>
9894 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
9895 some functionality that isn't supported yet on WIN32.
9897 2002-10-03 Tom Tromey <tromey@redhat.com>
9899 * Makefile.in: Rebuilt.
9900 * Makefile.am (awt_java_source_files): Added new files.
9902 2002-10-03 Michael Koch <konqueror@gmx.de>
9904 * java/net/InetAddress.java
9905 (class InetAddress): Removed final keyword.
9906 (equals): Fixed typo.
9907 (getByAddress): New method.
9909 2002-10-03 Michael Koch <konqueror@gmx.de>
9911 * java/awt/dnd/Autoscroll.java:
9912 New file, merge from Classpath.
9913 * java/awt/dnd/DragSourceAdapter.java:
9914 (dragExit): Fixed typos in argument type.
9915 (dragDropEnd): Fixed typos in argument type.
9916 * java/awt/dnd/DragSourceDropEvent.java:
9917 New file, merge from Classpath.
9918 * java/awt/dnd/DropTarget.java:
9919 Added stubs, merge from Classpath.
9920 * java/awt/dnd/DropTargetAdapter.java:
9921 New file, merge from Classpath.
9922 * java/awt/dnd/DropTargetContext.java:
9923 New file, merge from Classpath.
9924 * java/awt/dnd/DropTargetDragEvent.java:
9925 New file, merge from Classpath.
9926 * java/awt/dnd/DropTargetDropEvent.java:
9927 New file, merge from Classpath.
9928 * java/awt/dnd/DropTargetEvent.java:
9929 New file, merge from Classpath.
9930 * java/awt/dnd/DropTargetListener.java:
9931 New file, merge from Classpath.
9932 * java/awt/dnd/MouseDragGestureRecognizer.java:
9933 New file, merge from Classpath.
9934 * java/awt/dnd/peer/DropTargetContextPeer.java:
9935 New file, merge from Classpath.
9937 2002-10-03 Michael Koch <konqueror@gmx.de>
9939 * java/net/DatagramPacket.java
9940 (setLength): Fixed typo and be HTML-aware.
9941 * java/net/InetSocketAddress.java
9942 (InetSocketAddress): Correct initialization of hostname, fixed typo.
9943 (equals): Added comment about equality of InetSocketAddress objects.
9944 * java/net/ServerSocket.java
9945 (accept): Added checks.
9946 (isClosed): New stubbed method.
9947 * java/net/SocketOptions.java: Reindention.
9948 * java/net/SocketPermission
9949 (SocketPermission): Documentation fixed.
9951 2002-10-03 Michael Koch <konqueror@gmx.de>
9953 * java/net/DatagramSocket.java
9954 (receive): Check with SecurityManager AFTER the packet is received,
9955 check if connected to multicast address, documentation added.
9956 (send): Only check SecurityManager if connected, check address of
9958 (connect): Implemented, documentation added.
9959 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
9960 * java/net/InetSocketAddress.java
9961 (whole file): Reindented.
9962 (hostname): New attribute.
9963 (InetSocketAddress): Initialize new attribute.
9964 (getAddress): Documentation added.
9965 (getHostName): Documentation added.
9966 (getPort): Documentation added.
9967 (hashCode): Documentation added.
9968 (isUnresolved): Documentation added.
9969 (toString): Conform to output of JDK 1.4.1, documentation added.
9970 * java/net/MulticastSocket.java
9971 (joinGroup): Removed FIXME, documentation added.
9972 (leaveGroup): Removed FIXME, documentation added.
9973 (send): Documentation added.
9974 * java/net/Socket.java
9975 (inputShutdown): New variable.
9976 (outputShutdown): New variable.
9977 (Socket): Initialize new variables.
9978 (getRemoteSocketAddress): Check if connected.
9979 (shutdownInput): Set new variable.
9980 (shutdownOutput): Set new variable.
9981 (isConnected): New method.
9982 (isClosed): New method.
9983 (isInputShutdown): New method.
9984 (isOutputShutdown): New method.
9985 * java/net/URLStreamHandler.java
9986 (URLStreamHandler): New method.
9987 (openConnection): Added documentation.
9988 (parseURL): Added documentation.
9989 (getHostAddress): New method.
9990 (getDefaultPort): New method.
9992 2002-10-02 Tom Tromey <tromey@redhat.com>
9994 * java/rmi/activation/ActivationDesc.java,
9995 java/rmi/activation/ActivationGroupDesc.java,
9996 java/rmi/activation/ActivationGroupID.java,
9997 java/rmi/activation/ActivationID.java: New versions from
10000 2002-09-30 Bo Thorsen <bo@suse.de>
10002 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
10004 2002-09-30 Tom Tromey <tromey@redhat.com>
10006 * java/io/ObjectInputStream.java (resolveProxyClass): New method
10008 * Makefile.in: Rebuilt.
10009 * Makefile.am (rmi_java_source_files): Added new files.
10010 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
10011 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
10012 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
10014 * gnu/java/rmi/dgc/DGCImpl.java,
10015 gnu/java/rmi/dgc/DGCImpl_Skel.java,
10016 gnu/java/rmi/dgc/DGCImpl_Stub.java,
10017 gnu/java/rmi/registry/RegistryImpl_Skel.java,
10018 gnu/java/rmi/registry/RegistryImpl_Stub.java,
10019 gnu/java/rmi/server/RMIHashes.java,
10020 gnu/java/rmi/server/RMIObjectInputStream.java,
10021 gnu/java/rmi/server/RMIObjectOutputStream.java,
10022 gnu/java/rmi/server/UnicastConnection.java,
10023 gnu/java/rmi/server/UnicastConnectionManager.java,
10024 gnu/java/rmi/server/UnicastRef.java,
10025 gnu/java/rmi/server/UnicastServer.java,
10026 gnu/java/rmi/server/UnicastServerRef.java,
10027 java/rmi/MarshalledObject.java,
10028 java/rmi/server/RMIClassLoader.java,
10029 java/rmi/server/RemoteObject.java,
10030 java/rmi/server/UnicastRemoteObject.java,
10031 java/security/SecureClassLoader.java: Merged from Classpath.
10033 2002-09-29 Anthony Green <green@redhat.com>
10035 * java/lang/reflect/UndeclaredThrowableException.java: New file.
10036 Imported from GNU Classpath.
10037 * java/lang/reflect/natProxy.cc: New file.
10038 * java/lang/reflect/InvocationHandler.java: New file. Imported
10039 from GNU Classpath.
10040 * java/lang/reflect/Proxy.java: New file. Imported from GNU
10042 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
10044 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
10045 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
10047 * gcj/javaprims.h ("Java"): Add new classes.
10048 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
10049 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
10050 java/lang/reflect/Proxy$$ProxyType.h): And this.
10051 (inner_nat_headers): Add these new headers.
10052 (ordinary_java_source_files): Add new files.
10053 (nat_source_files): Add new file.
10054 * Makefile.in: Rebuilt.
10056 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
10058 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
10059 a single configuration.
10061 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10063 * java/util/TimeZone.java (getDSTSavings): New method.
10064 Fixes PR libgcj/7786.
10066 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10068 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
10069 to see if `the_method == 0' before looking up vtable index.
10070 Fixes PR libgcj/7709.
10072 2002-09-25 Tom Tromey <tromey@redhat.com>
10074 * java/lang/natClassLoader.cc:
10075 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
10076 * resolve.cc: Include NoClassDefFoundError.h, not
10077 ClassNotFoundException.h.
10078 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
10080 * defineclass.cc: Don't include ClassNotFoundException.h.
10082 * resolve.cc: Include StringBuffer.
10083 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
10085 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
10086 allocated but not initialized.
10088 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10090 Fix for PR libgcj/7766:
10091 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
10092 (getNextEntry): Set it.
10093 (closeEntry): Likewise.
10096 (available): Use it.
10098 2002-09-25 Michael Koch <konqueror@gmx.de>
10100 * java/net/DatagramSocket.java
10101 (DatagramSocket): Initialize new instance variables.
10102 (close): Reset new instance variables.
10103 (getLocalAddress): Remove unneeded SecurityManager usage.
10104 (getLocalPort): Check if socket is already bound.
10105 (isConnected): New method.
10106 (getInetAddress): Implemented.
10107 (getPort): Better Implementation, documentation fixed.
10108 (getRemoteSocketAddress): New method.
10109 * java/net/JarURLConnection.java
10110 (element): Typo fixed.
10111 (getMainAttributes): New method.
10112 (getAttributes): New method (stub only).
10113 (getManifest): New method (stub only).
10114 * java/net/NetPermission.java: Added serialVersionsUID.
10115 * java/net/Socket.java
10116 (connect): Check blocking mode of associated channel,
10117 documentation added.
10118 (getLocalSocketAddress): Better implementation.
10119 (getRemoteSocketAddress): Implemented.
10120 (isBound): New method.
10121 (setSendBufferSize): Documentation added.
10122 * java/net/SocketAddress.java: Added serialVersionsUID.
10123 * java/net/SocketPermission.java: Added serialVersionsUID.
10124 * java/net/URL.java
10125 (URL): Wrap for shorter lines, initialize new instance variables,
10126 documentation added.
10127 (equals): Check new instance variables too.
10128 (getContent): Documentation added.
10129 (getPath): Documentation added.
10130 (getAuthority): New method.
10131 (getHost): Documentation added.
10132 (getPort): Documentation added.
10133 (getDefaultPort): New method.
10134 (getProtocol): Documentation added.
10135 (getUserInfo): Documentation added.
10136 (set): Initialize new instance variables, documentation added.
10137 * java/net/URLStreamHandler.java
10138 (setURL): New method.
10139 * java/net/natPlainDatagramSocketImpl.cc
10140 (connect): Fix exception name.
10141 (disconnect): Fix exception name.
10143 2002-09-25 Michael Koch <konqueror@gmx.de>
10145 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
10146 * java/nio/channels/DatagramChannel.java:
10147 extends AbstractSelectableChannel
10148 * java/nio/channels/ServerSocketChannel.java:
10149 extends AbstractSelectableChannel
10150 * java/nio/channels/SocketChannel.java:
10151 extends AbstractSelectableChannel
10152 * Makefile.am (ordinary_java_source_files):
10153 java/nio/channels/spi/AbstractSelectableChannel.java added.
10154 * Makefile.in: Regenerated.
10156 2002-09-25 Michael Koch <konqueror@gmx.de>
10158 * java/net/DatagramSocket.java
10159 (DatagramSocket): Exception documentation added.
10160 (bind): Exception documentation added, addded SecurityManager check,
10161 added SocketAddress type check.
10162 (getSoTimeout): Check impl.
10163 (receive): Fix SecurityManager check, check impl, documentation added.
10164 (send): Check channel mode, documentation added.
10165 (connect): New method.
10166 (disconnect): Implemented.
10167 (getLocalSocketAddress): New method.
10168 (getReceiveBufferSize): Check impl.
10169 (setReuseAddress): Check impl.
10170 (getReuseAddress): Check impl.
10171 (setBroadcast): Check impl.
10172 (getBroadcast): Check impl.
10173 (setTrafficClass): Check impl, Documentation cleared.
10174 (getTrafficClass): Check impl.
10175 (getSendBufferSize): Check impl.
10176 (setReceiveBufferSize): Check impl, documentation added.
10177 (setSendBufferSize): Documentation added.
10178 (setDatagramSocketImplFactory): New method.
10179 * java/net/HttpURLConnection.java
10180 (HTTP_INTERNAL_ERROR): The correct code is 500.
10181 (HTTP_NOT_IMPLEMENTED): Added new constant.
10182 (setFollowRedirects): Documentation added.
10183 (getInstanceFollowRedirects): New method.
10184 (setInstanceFollowRedirects): New method.
10185 (setRequestMethod): Documentation added.
10186 (getResponseCode): Documentation added.
10187 (getResponseMessage): Documentation added.
10188 * java/net/JarURLConnection.java
10189 (JarURLConnection): protected since JDK 1.4.
10190 (getJarEntry): java.io.IOException to IOException, documentation added.
10191 (getJarFile): Documentation added.
10192 * java/net/ServerSocket.java
10193 (ServerSocket): Private to public, exception added.
10194 (ServerSocket): java.io.IOException to IOException, documentation added.
10195 (bind): Check socket address type, documentation added.
10196 (bind): java.io.IOException to IOException, documentation added.
10197 (accept): Documentation added.
10198 (implAccept): Check ch is not non-blocking, documentation added.
10199 (setSoTimeout): Documentation fixed.
10200 (setReceiveBufferSize): Documentation added.
10201 * java/net/Socket.java
10202 (Socket): Documentation added.
10203 (bind): Documentation added.
10204 (connect): Check socket address type, documentation added.
10205 (getRemoteSocketAddress): New method.
10206 (getLocalSocketAddress): New method.
10207 (setSoLinger): Documentation added.
10208 (getReuseAddress): New method.
10209 (setReuseAddress): New method.
10210 (getTrafficClass): New method.
10211 (setTrafficClass): New method.
10212 * java/net/URLStreamHandler.java
10213 (openConnection): java.io.IOException to IOException.
10214 (parseURL): Documentation added.
10215 (sameFile): public to protected, documentation added.
10216 (setURL): Documentation added.
10217 * java/nio/IllegalBlockingModeException.java: New file.
10218 * Makefile.am (ordinary_java_source_files):
10219 added java/nio/IllegalBlockingModeException.java
10220 * Makefile.in: Regenerated.
10222 2002-09-25 Michael Koch <konqueror@gmx.de>
10224 * java/net/DatagramPacket
10225 (DatagramPacket): Exception documentation added.
10226 (setData): Likewise.
10227 (setSocketAddress): Likewise.
10228 * java/net/DatagramSocketImpl.java
10229 (peek): Documentation addded.
10230 (peekData): Documentation addded.
10231 (send): Documentation addded.
10232 (receive): Documentation addded.
10233 (connect): New method.
10234 (disconnect): New method.
10235 (joinGroup): New abstract method.
10236 (leaveGroup): New abstract method.
10237 * java/net/InetSocketAddress.java
10238 (InetSocketAddress): Documentation added.
10239 (equals): final keyword added.
10240 (getAddress): final keyword added.
10241 (getHostName): final keyword added.
10242 (getPort): final keyword added.
10243 (hashCode): final keyword added.
10244 (isUnresolved): final keyword added.
10245 * java/net/MulticastSocket.java
10246 (MulticastSocket): Documentation added.
10247 (MulticastSocket): New method.
10248 (joinGroup): Documentation added.
10249 (joinGroup): New method.
10250 (leaveGroup): Documentation added.
10251 (leaveGroup): New method.
10252 (send): Documentation added.
10253 * java/net/NetworkInterface.java
10254 (getByName): Documentation added.
10255 (getByInetAddress): Documentation added.
10256 (getNetworkInterfaces): Documentation added.
10257 * java/net/PlainDatagramSocketImpl.java
10258 (connect): New method.
10259 (disconnect): New method.
10260 * java/net/SocketImpl.java
10261 (create): Documentation added.
10262 (shutdownInput): Convert public to protected, as it always was.
10263 (shutdownOutput): Convert public to protected, as it always was.
10264 * java/net/SocketOptions.java
10265 (whole file): Reintented.
10266 * java/net/URLClassLoader.java
10267 (URLClassLoader): SecurityManager check added, documentation added.
10268 (findResources): Documentation added.
10269 (findClass): Documentation added.
10270 (newInstance): More correct method arguments.
10271 * java/net/URLConnection.java
10272 (connect): Documentation added.
10273 (getContent): Documentation added.
10274 (getPermission): Documentation added.
10275 (getInputStream): Documentation added.
10276 (getOutputStream): Documentation added.
10277 (setDoInput): Throw correct exception, documentation added.
10278 (setDoOutput): Throw correct exception, documentation added.
10279 (setAllowUserInteraction): Throw correct exception, documentation added.
10280 (setUseCaches): Throw correct exception, documentation added.
10281 (setIfModifiedSince): Throw correct exception, documentation added.
10282 (setRequestProperty): Throw exception, documentation added.
10283 (addRequestProperty): Throw exception, documentation added.
10284 (getRequestProperty): Throw exception, documentation added.
10285 (getRequestProperties): Documentation added.
10286 (setContentHandlerFactory): Documentation added.
10287 (guessContentTypeFromName): protected to public.
10288 (setFileNameMap): Documentation added.
10289 * java/net/URLDecoder.java
10290 (URLDecoder): New method.
10291 (decode): Documentation added.
10292 (whole file): Reindented.
10293 * java/net/URLEncoder.java
10294 (encode): Documentation added.
10295 * java/net/natPlainDatagramSocketImpl.cc
10296 (connect): New method.
10297 (disconnect): New method.
10298 * javax/naming/RefAddr:
10299 (addrType): addrType was never final.
10300 (equals): Fix typo in method name.
10301 * javax/naming/BinaryRefAddr:
10302 (equals): Fix typo in method name.
10304 2002-09-22 Tom Tromey <tromey@redhat.com>
10306 Fix for PR libgcj/6576:
10307 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
10308 didn't find a given bundle.
10309 (getBundle): Don't require base bundle.
10310 (setParent): Removed old comment.
10311 (tryLocalBundle): Try components even if preceding components were
10314 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10316 * Makefile.am (all-multi): Fix multilib parallel build.
10318 2002-09-21 Michael Koch <konqueror@gmx.de>
10320 * java/net/Socket.java
10321 (sendUrgentData): New method.
10322 (getChannel): New method.
10323 * java/net/ServerSocket.java
10324 (getChannel): New method.
10325 (isBound): New method.
10326 * java/net/DatagramSocket.java
10327 (DatagramSocket): Two new methods.
10328 (bind): New method.
10329 (getChannel): New method.
10330 (isBound): New method.
10331 (send): Added newline to to make shorter lines.
10332 * java/net/PlainDatagramSocketImpl.java
10333 (mcastGrp): Added argument.
10334 (join): Use new mcastGrp.
10335 (leave): Use new mcastGrp.
10336 (joinGroup): New method.
10337 (leaveGroup): New method.
10338 * java/net/natPlainDatagramSocketImpl.cc
10339 (mcastGrp): Added argument, no yet really implemented.
10340 (getOption): Added newline for shorter lines.
10341 * java/net/natPlainSocketImpl.cc
10342 (read, setOption, getOption): Added newline for shorter lines.
10344 2002-09-19 Tom Tromey <tromey@redhat.com>
10346 * java/lang/ClassLoader.java (resolveClass0): Set cause for
10347 newly-created exception.
10349 2002-09-18 Michael Koch <konqueror@gmx.de>
10351 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10352 java/util/regex/PatternSyntaxException.java:
10353 Merge with classpath, new files.
10354 * Makefile.am (core_java_source_files):
10355 Added java/util/regex/Matcher.java,
10356 java/util/regex/Pattern.java,
10357 java/util/regex/PatternSyntaxException.java
10358 * Makefile.in: Regenerated.
10359 * include/config.h.in: Added HAVE_NET_IF_H.
10360 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
10361 Removed #if 0 ... #endif.
10363 2002-09-17 Michael Koch <konqueror@gmx.de>
10365 * java/net/natNetworkInterface.cc:
10366 Removed unneed and yet wrong includes.
10368 2002-09-17 Michael Koch <konqueror@gmx.de>
10370 * java/net/NetworkInterface.java: New file.
10371 * java/net/natNetworkInterface.java: New file.
10372 * configure.in: Added check for net/if.h.
10373 * configure: Regenerated.
10375 (ordinary_java_source_files): Added NetworkInterface.java.
10376 (nat_source_files): Added natNetworkInterface.cc.
10377 * Makefile.in: Regenerated.
10379 2002-09-16 Tom Tromey <tromey@redhat.com>
10381 * java/net/URLClassLoader.java (findClass): Code source for a
10382 class from a jar is not necessarily a jar: URL.
10384 2002-09-16 Michael Koch <konqueror@gmx.de>
10386 * java/lang/AssertionError.java:
10387 Merge with classpath, fixes HTML.
10388 * java/rmi/server/LogStream.java:
10389 Merge with classpath, fixes some constants.
10390 * java/net/server/RemoteServer.java:
10391 Merge with classpath, adds serialVersionUID.
10392 * javax/naming/BinaryRefAddr.java:
10393 Merge with classpath, s/equal/equals/.
10394 * javax/naming/NamingException.java:
10395 Merge with classpath, fixed typo.
10396 * javax/naming/RefAddr.java:
10397 Merge with classpath, s/equal/equals/.
10398 * java/awt/Toolkit.java:
10399 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
10402 2002-09-15 Adam Megacz <adam@xwt.org>
10404 * java/net/natPlainSocketImpl.cc: fixed typo.
10406 2002-09-15 Adam Megacz <adam@xwt.org>
10408 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
10409 which don't work on Win32 (yet).
10411 2002-09-14 Adam Megacz <adam@xwt.org>
10413 * java/net/natPlainDatagramSocket.cc: removed #include
10414 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
10415 * include/win32.h: included definition for IP_TOS to satisfy
10416 natPlainDatagramSocket.cc
10418 2002-09-13 Michael Koch <konqueror@gmx.de>
10420 * java/net/DatagramPacket.java (DatagramPacket):
10421 Added linebreak for 80 chars per line.
10422 * java/net/JarURLConection.java
10423 (getInputStreami, getJarEntry): Likewise.
10424 * java/net/SocketPErmission.java
10425 (SocketPermission class docu, implies): Likewise.
10426 * java/net/URLClassLoader.java (findResources): Likewise.
10427 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
10429 2002-09-13 Michael Koch <konqueror@gmx.de>
10431 * java/nio/channels/DatagramChannel.java,
10432 java/nio/channels/ServerSocketChannel.java
10433 java/nio/channels/SocketChannel.java:
10434 New dummy files to make java.net fully JDK 1.4 compatible
10435 * Makefile.am (ordinary_java_source_files): Added
10436 java/net/DatagramSocketImplFactory.java (long forgotten),
10437 java/nio/SocketChannel.java,
10438 java/nio/ServerSocketChannel.java,
10439 java/nio/DatagramChannel.java
10440 * Makefile.in: Regenrated.
10442 2002-09-12 Michael Koch <konqueror@gmx.de>
10444 * java/net/DatagramSocketImpl.java
10445 (peekData): New method.
10446 * java/net/PlainDatagramSocketImpl.java
10447 (peekData): New method.
10448 * java/net/natPlainDatagramSocketImpl.cc
10449 (peekData): New method.
10450 * java/net/URLConnection
10451 (getPermission): New method.
10452 (addRequestProperty): New method.
10453 (getRequestProperties): New method.
10454 (guessContentTypeFromStream): New method, not really implemented.
10455 (URLConnection): Added/updated documentation.
10456 (connect): Added/updated documentation.
10457 (getURL): Added/updated documentation.
10458 (getContentLength): Added/updated documentation.
10459 (getContentType: Added/updated documentation.
10460 (getContentEncoding): Added/updated documentation.
10461 (getExpiration): Added/updated documentation.
10462 (getDate): Added/updated documentation.
10463 (getLastModified): Added/updated documentation.
10464 (getHeaderField): Added/updated documentation.
10465 (getHeaderFields): Added/updated documentation.
10466 (getHeaderFieldInt): Added/updated documentation.
10467 (getHeaderFieldDate): Added/updated documentation.
10468 (getHeaderFieldKey): Added/updated documentation.
10469 (getContent): Added/updated documentation.
10470 (getInputStream): Added/updated documentation.
10471 (getOutputStream): Added/updated documentation.
10472 (toString): Added/updated documentation.
10473 (setDoInput): Added/updated documentation.
10474 (getDoInput): Added/updated documentation.
10475 (setDoOutput): Added/updated documentation.
10476 (getDoOutput): Added/updated documentation.
10477 (setAllowUserInteraction): Added/updated documentation.
10478 (getAllowUserInteraction): Added/updated documentation.
10479 (setDefaultAllowUserInteraction): Added/updated documentation.
10480 (getDefaultAllowUserInteraction): Added/updated documentation.
10481 (setUseCaches): Added/updated documentation.
10482 (getUseCaches): Added/updated documentation.
10483 (setIfModifiedSince): Added/updated documentation.
10484 (getIfModifiedSince): Added/updated documentation.
10485 (getDefaultUseCaches): Added/updated documentation.
10486 (setDefaultUseCaches): Added/updated documentation.
10487 (setRequestProperty): Added/updated documentation.
10488 (getRequestProperty): Added/updated documentation.
10489 (setDefaultRequestProperty): Added/updated documentation.
10490 (getDefaultRequestProperty): Added/updated documentation.
10491 (setContentHandlerFactory): Added/updated documentation.
10492 (guessContentTypeFromName): Added/updated documentation.
10493 (getFileNameMap): Added/updated documentation.
10494 (setFileNameMap): Added/updated documentation.
10496 2002-09-11 Michael Koch <konqueror@gmx.de>
10498 * java/net/Socket.java
10499 (Socket): protected to public (since JDK 1.4). Added @specnote.
10500 (bind): New method.
10501 (connect): Two new methods.
10502 (getKeepalive): Get correct socket option.
10503 (setKeepalive): Set correct socket option.
10504 (getOOBInline): New method.
10505 (setOOBInline): New method.
10506 * java/net/ServerSocket.java
10507 (bind): Two new methods.
10508 (getInetAddress): Reimplemented, catch exception.
10509 (getLocalSocketAddress): New method.
10510 (setReuseAddress): New method.
10511 (getReuseAdress): New method.
10512 (setReceiveBufferSize): New method.
10513 (getReceiveBufferSize): New method.
10514 (toString): Made string JDK 1.4 compliant.
10516 2002-09-10 Michael Koch <konqueror@gmx.de>
10518 * java/net/SocketImpl.java
10519 (connect): New method.
10520 (supportsUrgentData): New method.
10521 (sendUrgentData): New method.
10522 * java/net/PlainSocketImpl.java
10523 (connect): One new method and two new implementation.
10524 (sendUrgentData): New method.
10525 * java/natPlainSocketImpl.cc
10526 (connect): Arguments changed, added support for timeouts.
10527 (getOption): Another __java_boolean to jboolean.
10529 2002-09-07 Adam Megacz <adam@xwt.org>
10531 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
10532 definition of IP_TOS.
10534 2002-09-04 Michael Koch <konqueror@gmx.de>
10536 * java/net/DatagramSocket.java
10537 (DatagramSocket): Added documentation.
10539 (getLocalAddress): Likewise.
10540 (getLocalPort): Likewise.
10541 (receive): Likewise.
10543 (setSoTimeout): Likewise.
10544 (connect): New method.
10545 (disconnect): New method.
10546 (getInetAddress): New method (FIXME)
10547 (getPort): New method.
10548 (setReuseAddress): New method.
10549 (getReuseAddress): New method.
10550 (setBroadcast): New method.
10551 (getBroadcast): New method.
10552 (setTrafficClass): New method.
10553 (getTrafficClass): New method.
10554 * java/net/MulticastSocket.java):
10555 (getTTL): Added @see in documentation.
10556 (setTTL): Added @see in documentation.
10557 (setLoopbackMode): New method.
10558 (getLoopbackMode): New method.
10559 * java/net/PlainSocketImpl.java:
10560 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
10561 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10562 * java/net/PlainDatagramSocketImpl.java
10563 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
10564 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10565 * java/net/natPlainSocketImpl.cc
10566 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10567 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10568 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10569 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10570 This should also fix SO_KEEPALIVE
10571 * java/net/natPlainDatagramSocketImpl.cc
10572 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10573 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10574 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10575 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10577 2002-09-04 Michael Koch <konqueror@gmx.de>
10579 * java/net/SocketOptions.java: added static variables to be JDK 1.4
10580 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
10581 IP_MULTICAST_LOOP, IP_TOS
10583 2002-09-03 Tom Tromey <tromey@redhat.com>
10585 * java/lang/Class.h (_getDeclaredMethod): Declare.
10586 (_getMethod): Now private.
10587 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
10588 getDeclaredMethod. Now returns NULL on failure.
10589 * java/lang/Class.java (_getDeclaredMethod): Declare.
10590 (getDeclaredMethod): No longer native; implements access checks.
10592 2002-09-01 Mark Wielaard <mark@klomp.org>
10594 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
10595 (sanitizeStack): Correctly reset unknown and interpreter counters,
10596 detect interpreter runtime frames.
10597 (demangleInterpreterMethod): New method.
10598 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
10599 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
10600 filling in addrs[].
10602 2002-09-02 Michael Koch <konqueror@gmx.de>
10604 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
10605 re-indented documentation.
10607 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10609 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
10610 public, per 1.4 spec. Fixes PR libgcj/7785.
10612 2002-08-30 Jeff Sturm <jsturm@one-point.com>
10614 * Makefile.in: Rebuilt.
10615 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
10617 2002-08-29 Tom Tromey <tromey@redhat.com>
10619 * java/net/JarURLConnection.java (getCertificates): New method
10621 * java/net/URLClassLoader.java (URLClassLoader): Extends
10623 (definePackage): New method from Classpath.
10624 (getPermissions): Likewise.
10625 (newInstance): Likewise.
10626 (findClass): Construct CodeSource for new class (from Classpath).
10627 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
10629 * java/net/URL.java (getUserInfo): New method.
10630 (set(String,String,int,String,String,String,String,String)): New
10632 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
10633 (shutdownInput, shutdownOutput): Declare.
10634 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
10636 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
10637 (getOption): Likewise.
10638 (shutdownInput): New method.
10639 (shutdownOutput): Likewise.
10640 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
10642 (getOption): Likewise.
10643 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
10644 * java/net/Socket.java (setKeepAlive): New method.
10645 (getKeepAlive): Likewise.
10646 (shutdownInput, shutdownOutput): New methods.
10648 2002-08-29 Michael Koch <konqueror@gmx.de>
10650 * java/net/DatagramPacket.java: updated to JDK 1.4 API
10652 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
10654 DatagramPacket(byte[] buf, int length, SocketAddress address),
10655 void setSocketAddress(SocketAddress address)
10656 public SocketAddress getSocketAddress()
10658 2002-08-29 Tom Tromey <tromey@redhat.com>
10660 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
10661 ftruncate is missing.
10662 * configure, include/config.h.in: Rebuilt.
10663 * acconfig.h (HAVE_FTRUNCATE): Mention.
10664 * configure.in: Check for ftruncate.
10666 2002-08-29 Tom Tromey <tromey@redhat.com>
10668 * include/jvm.h (struct _Jv_frame_info): New structure.
10669 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
10671 (lookupInterp): New method.
10672 (getAddrAsString): Use _Jv_frame_info.
10673 (dladdrLookup): Likewise.
10674 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
10676 (lookupInterp): Declare.
10677 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
10678 (fillInStackTrace): Collect information on interpreted frames.
10679 Use _Jv_frame_info.
10680 * interpret.cc: Include Thread.h.
10681 (run): Create and push _Jv_MethodChain object.
10682 (_Jv_EndOfInterpreter): New global.
10683 * java/lang/Thread.java (interp_frame): New field.
10684 * include/java-interp.h (struct _Jv_MethodChain): New structure.
10685 Include NameFinder.h.
10687 2002-08-28 Tom Tromey <tromey@redhat.com>
10689 * java/lang/Class.h: Include Package.h.
10690 (Class::getProtectionDomain): Declare.
10691 (Class::getPackage): Declare.
10693 2002-08-28 Michael Koch <konqueror@gmx.de>
10695 * java/net/InetSocketAddress.java: Added some documentation and argument
10696 checks for the port numbers.
10697 * java/net/DatagramSocketImplFactory.java: New file.
10699 2002-08-28 Michael Koch <konqueror@gmx.de>
10701 * java/net/Authenticator.java: added some documentation.
10703 2002-08-27 Tom Tromey <tromey@redhat.com>
10705 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
10707 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
10709 2002-08-27 Michael Koch <konqueror@gmx.de>
10711 * java/net/BindException.java,
10712 java/net/JarURLConnection.java,
10713 java/net/FileNameMap.java,
10714 java/net/HttpURLConnection.java,
10715 java/net/InetSocketAddress.java,
10716 java/net/DatagramPacket.java,
10717 java/net/DatagramSocket.java,
10718 java/net/DatagramSocketImpl.java,
10719 java/net/MulticastSocket.java,
10720 java/net/PasswordAuthentication.java,
10721 java/net/ServerSocket.java,
10722 java/net/Socket.java,
10723 java/net/URLClassLoader.java,
10724 java/net/URLConnection.java: add/update of some @since/@deprecated
10726 2002-08-27 Tony Kimball <alk@pobox.com>
10727 Tom Tromey <tromey@redhat.com>
10729 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
10731 (::close): Removed.
10732 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
10733 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
10734 (::close): Removed.
10735 (PlainSocketImpl::close): Use NATIVE_CLOSE.
10736 * include/win32.h (getcwd): Removed declaration. Include io.h.
10738 2002-08-25 Adam Megacz <adam@xwt.org>
10740 * include/win32.h (getcwd): copied function declaration as
10741 temporary fix for header confusion.
10743 2002-08-24 Mark Wielaard <mark@klomp.org>
10745 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
10746 (core_java_source_files): Add VMThrowable.java and NameFinder.java
10747 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
10748 and natNameFinder.cc.
10749 * Makefile.in: Regenerate.
10750 * prims.cc: Use trace_enabled from VMThrowable.
10751 * name-finder.cc: Removed.
10752 * gcj/javaprims.h: Add class VMThrowable.
10753 * gnu/gcj/runtime/NameFinder.java: New file.
10754 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
10755 * include/name-finder.h: Removed.
10756 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
10757 method stackTraceString().
10758 (printStackTrace (PrintWriter)): Likewise.
10759 (stackTraceString): Complete rewrite of old printStackTrace using
10761 (stackTraceStringBuffer): New helper method for stackTraceString().
10762 (fillInStackTrace): Delegate to VMTrowable.
10763 (getStackTrace): Likewise.
10764 (getStackTrace0): Removed.
10765 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
10766 (setStackTrace): Copy given array.
10767 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
10768 * java/lang/VMThrowable.java: New class.
10769 * java/lang/natVMThrowable.cc: New file.
10771 2003-08-23 Michael Koch <konqueror@gmx.de>
10773 * java/net/URLConnection.java,
10774 java/netJarURLConnection.java,
10775 gnu/gcj/protocol/core/Connection.java,
10776 gnu/gcj/protocol/file/Connection.java,
10777 gnu/gcj/protocol/http/Connection.java: Added implementation of
10780 2002-08-22 Tom Tromey <tromey@redhat.com>
10782 * gij.cc (help): Document -cp and -classpath.
10783 (main): Handle -classpath.
10785 2002-08-21 Tom Tromey <tromey@redhat.com>
10787 * Makefile.in: Rebuilt.
10788 * Makefile.am (ordinary_java_source_files): Added
10789 SocketAddress.java, InetSocketAddress.java.
10790 * java/net/PortUnreachableException.java: Merged with Classpath.
10791 * java/net/SocketTimeoutException.java: Likewise.
10792 * java/net/URISyntaxException.java: Likewise.
10793 * java/net/SocketAddress.java: New class from Classpath.
10794 * java/net/InetSocketAddress.java: Likewise.
10796 2003-08-21 Michael Koch <konqueror@gmx.de>
10798 * java/net/Authenticator.java: updated JDK 1.4
10799 * java/net/ContentHandler.java: updated JDK 1.4
10801 2002-08-20 Michael Koch <konqueror@gmx.de>
10803 * java/net/URISyntaxException.java: New file.
10804 * java/net/SocketTimeoutException.java: New file.
10805 * java/net/PortUnreachableException.java: New file.
10806 * Makefile.am: Updated.
10807 * Makefile.in: Rebuilt.
10809 2002-08-18 Mark Wielaard <mark@klomp.org>
10811 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
10812 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
10813 MessageDigestSpi (fixes Classpath bug #783).
10815 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10817 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
10818 (startProcess): Allocate path for chdir in async-signal-safe way.
10820 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10822 Fix for PR libgcj/7570 and PR libgcj/7578:
10823 * java/lang/natPosixProcess.cc: Include java/io/File.h.
10824 (startProcess): Handle new `dir' argument.
10825 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
10827 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
10829 (startProcess): Likewise.
10830 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
10832 * java/lang/Runtime.java (execInternal): Added `dir' argument.
10833 (exec): Don't create new environment if ENV==null. Pass DIR to
10835 * java/lang/natRuntime.cc: Include java/io/File.h.
10836 (execInternal): Added `dir' argument.
10838 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
10840 * java/io/RandomAccessFile.java (skipBytes): Return number of
10843 2002-08-01 Mark Wielaard <mark@klomp.org>
10845 Reenable patch since shared library troubles on powerpc are solved:
10846 * gnu/java/security/provider/Gnu.java: Reference all implementation
10847 classes by using Class.getName().
10848 * gnu/java/security/der/DEREncodingException.java,
10849 gnu/java/security/provider/DERReader.java,
10850 gnu/java/security/provider/DERWriter.java,
10851 gnu/java/security/provider/DSAKeyPairGenerator.java,
10852 gnu/java/security/provider/DSAParameterGenerator.java,
10853 gnu/java/security/provider/DSAParameters.java,
10854 gnu/java/security/provider/DSASignature.java,
10855 gnu/java/security/provider/GnuDSAPrivateKey.java,
10856 gnu/java/security/provider/GnuDSAPublicKey.java,
10857 gnu/java/security/provider/MD5.java,
10858 gnu/java/security/util/Prime.java: New classes
10859 * Makefile.am (ordinary_java_source_files): Add above files.
10860 * Makefile.in: Regenerate.
10861 * gnu/java/security/provider/DefaultPolicy.java
10862 (getPermissions): Don't maintain static class variable of Permissions.
10863 * gnu/java/security/provider/SHA.java
10864 (engineUpdate): algorithm change.
10865 (engineDigest): algorithm change.
10867 2002-08-09 Mark Wielaard <mark@klomp.org>
10869 * java/awt/image/MemoryImageSource.java: Change constructor to take
10871 * java/awt/Graphics2D.java: Uncomment methods that can now be
10873 * java/awt/GridBagLayout.java: New stub implementation.
10874 * javax/swing/text/html/HTML.java: Stub implementation.
10875 * javax/swing/text/html/parser/ParserDelegator.java: New stub
10878 * Makefile.am: Add new files.
10879 * Makefile.in: Rebuilt.
10881 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10883 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
10884 methods in Graphics2D.
10886 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10888 AWT/Swing merge from GNU Classpath.
10890 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
10891 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
10892 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
10893 java/awt/color/ProfileDataException.java,
10894 java/awt/CompositeContext.java, java/awt/Composite.java,
10895 java/awt/ContainerOrderFocusTraversalPolicy.java,
10896 java/awt/datatransfer/FlavorTable.java,
10897 java/awt/DefaultFocusTraversalPolicy.java,
10898 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
10899 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
10900 java/awt/dnd/DragGestureListener.java,
10901 java/awt/dnd/DragGestureRecognizer.java,
10902 java/awt/dnd/DragSourceAdapter.java,
10903 java/awt/dnd/DragSourceContext.java,
10904 java/awt/dnd/DragSourceDragEvent.java,
10905 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
10906 java/awt/dnd/DragSourceListener.java,
10907 java/awt/dnd/DragSourceMotionListener.java,
10908 java/awt/dnd/DropTarget.java,
10909 java/awt/dnd/InvalidDnDOperationException.java,
10910 java/awt/dnd/peer/DragSourceContextPeer.java,
10911 java/awt/event/AWTEventListenerProxy.java,
10912 java/awt/event/MouseWheelEvent.java,
10913 java/awt/event/MouseWheelListener.java,
10914 java/awt/event/WindowFocusListener.java,
10915 java/awt/event/WindowStateListener.java,
10916 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
10917 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
10918 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
10919 java/awt/geom/FlatteningPathIterator.java,
10920 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
10921 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
10922 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
10923 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
10924 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
10925 java/awt/image/ImagingOpException.java,
10926 java/awt/image/RasterFormatException.java,
10927 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
10928 java/awt/image/VolatileImage.java,
10929 java/awt/image/WritableRenderedImage.java,
10930 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
10931 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
10932 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
10933 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
10934 java/awt/PageAttributes.java, java/awt/print/Book.java,
10935 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
10936 java/awt/print/Paper.java, java/awt/print/Printable.java,
10937 java/awt/print/PrinterAbortException.java,
10938 java/awt/print/PrinterException.java,
10939 java/awt/print/PrinterGraphics.java,
10940 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
10941 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
10942 java/awt/Stroke.java, java/awt/TexturePaint.java,
10943 javax/accessibility/AccessibleAction.java,
10944 javax/accessibility/AccessibleBundle.java,
10945 javax/accessibility/AccessibleComponent.java,
10946 javax/accessibility/AccessibleContext.java,
10947 javax/accessibility/AccessibleEditableText.java,
10948 javax/accessibility/AccessibleExtendedComponent.java,
10949 javax/accessibility/AccessibleExtendedTable.java,
10950 javax/accessibility/AccessibleHyperlink.java,
10951 javax/accessibility/AccessibleHypertext.java,
10952 javax/accessibility/AccessibleIcon.java,
10953 javax/accessibility/Accessible.java,
10954 javax/accessibility/AccessibleKeyBinding.java,
10955 javax/accessibility/AccessibleRelation.java,
10956 javax/accessibility/AccessibleRelationSet.java,
10957 javax/accessibility/AccessibleResourceBundle.java,
10958 javax/accessibility/AccessibleRole.java,
10959 javax/accessibility/AccessibleSelection.java,
10960 javax/accessibility/AccessibleState.java,
10961 javax/accessibility/AccessibleStateSet.java,
10962 javax/accessibility/AccessibleTable.java,
10963 javax/accessibility/AccessibleTableModelChange.java,
10964 javax/accessibility/AccessibleText.java,
10965 javax/accessibility/AccessibleValue.java,
10966 javax/swing/AbstractAction.java,
10967 javax/swing/AbstractButton.java,
10968 javax/swing/AbstractCellEditor.java,
10969 javax/swing/AbstractListModel.java,
10970 javax/swing/AbstractSet.java, javax/swing/Action.java,
10971 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
10972 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
10973 javax/swing/border/CompoundBorder.java,
10974 javax/swing/border/EmptyBorder.java,
10975 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
10976 javax/swing/border/LineBorder.java,
10977 javax/swing/border/MatteBorder.java,
10978 javax/swing/border/TitledBorder.java,
10979 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
10980 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
10981 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
10982 javax/swing/CellRendererPane.java,
10983 javax/swing/colorchooser/AbstractColorChooserPanel.java,
10984 javax/swing/colorchooser/ColorChooserComponentFactory.java,
10985 javax/swing/colorchooser/ColorSelectionModel.java,
10986 javax/swing/colorchooser/DefaultColorSelectionModel.java,
10987 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
10988 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
10989 javax/swing/DefaultBoundedRangeModel.java,
10990 javax/swing/DefaultButtonModel.java,
10991 javax/swing/DefaultCellEditor.java,
10992 javax/swing/DefaultCellRenderer.java,
10993 javax/swing/DefaultComboBoxModel.java,
10994 javax/swing/DefaultDesktopManager.java,
10995 javax/swing/DefaultFocusManager.java,
10996 javax/swing/DefaultListCellRenderer.java,
10997 javax/swing/DefaultListModel.java,
10998 javax/swing/DefaultListSelectionModel.java,
10999 javax/swing/DefaultSingleSelectionModel.java,
11000 javax/swing/DesktopManager.java,
11001 javax/swing/event/AncestorEvent.java,
11002 javax/swing/event/AncestorListener.java,
11003 javax/swing/event/CaretEvent.java,
11004 javax/swing/event/CaretListener.java,
11005 javax/swing/event/CellEditorListener.java,
11006 javax/swing/event/ChangeEvent.java,
11007 javax/swing/event/ChangeListener.java,
11008 javax/swing/event/DocumentEvent.java,
11009 javax/swing/event/DocumentListener.java,
11010 javax/swing/event/EventListenerList.java,
11011 javax/swing/event/HyperlinkEvent.java,
11012 javax/swing/event/HyperlinkListener.java,
11013 javax/swing/event/InternalFrameAdapter.java,
11014 javax/swing/event/InternalFrameEvent.java,
11015 javax/swing/event/InternalFrameListener.java,
11016 javax/swing/event/ListDataEvent.java,
11017 javax/swing/event/ListDataListener.java,
11018 javax/swing/event/ListSelectionEvent.java,
11019 javax/swing/event/ListSelectionListener.java,
11020 javax/swing/event/MenuDragMouseEvent.java,
11021 javax/swing/event/MenuDragMouseListener.java,
11022 javax/swing/event/MenuEvent.java,
11023 javax/swing/event/MenuKeyEvent.java,
11024 javax/swing/event/MenuKeyListener.java,
11025 javax/swing/event/MenuListener.java,
11026 javax/swing/event/MouseInputAdapter.java,
11027 javax/swing/event/MouseInputListener.java,
11028 javax/swing/event/PopupMenuEvent.java,
11029 javax/swing/event/PopupMenuListener.java,
11030 javax/swing/event/SwingPropertyChangeSupport.java,
11031 javax/swing/event/TableColumnModelEvent.java,
11032 javax/swing/event/TableColumnModelListener.java,
11033 javax/swing/event/TableModelEvent.java,
11034 javax/swing/event/TableModelListener.java,
11035 javax/swing/event/TreeExpansionEvent.java,
11036 javax/swing/event/TreeExpansionListener.java,
11037 javax/swing/event/TreeModelEvent.java,
11038 javax/swing/event/TreeModelListener.java,
11039 javax/swing/event/TreeSelectionEvent.java,
11040 javax/swing/event/TreeSelectionListener.java,
11041 javax/swing/event/TreeWillExpandListener.java,
11042 javax/swing/event/UndoableEditEvent.java,
11043 javax/swing/event/UndoableEditListener.java,
11044 javax/swing/filechooser/FileFilter.java,
11045 javax/swing/filechooser/FileSystemView.java,
11046 javax/swing/filechooser/FileView.java,
11047 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
11048 javax/swing/Icon.java, javax/swing/ImageIcon.java,
11049 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
11050 javax/swing/JApplet.java, javax/swing/JButton.java,
11051 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
11052 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
11053 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
11054 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
11055 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
11056 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
11057 javax/swing/JLayeredPane.java, javax/swing/JList.java,
11058 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
11059 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
11060 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
11061 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
11062 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
11063 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
11064 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
11065 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
11066 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
11067 javax/swing/JTextField.java, javax/swing/JTextPane.java,
11068 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
11069 javax/swing/JToolTip.java, javax/swing/JTree.java,
11070 javax/swing/JViewport.java, javax/swing/JWindow.java,
11071 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
11072 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
11073 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
11074 javax/swing/MenuSelectionManager.java,
11075 javax/swing/MutableComboBoxModel.java,
11076 javax/swing/OverlayLayout.java,
11077 javax/swing/plaf/ActionMapUIResource.java,
11078 javax/swing/plaf/basic/BasicBorders.java,
11079 javax/swing/plaf/basic/BasicButtonUI.java,
11080 javax/swing/plaf/basic/BasicCheckBoxUI.java,
11081 javax/swing/plaf/basic/BasicDefaults.java,
11082 javax/swing/plaf/basic/BasicGraphicsUtils.java,
11083 javax/swing/plaf/basic/BasicIconFactory.java,
11084 javax/swing/plaf/basic/BasicLabelUI.java,
11085 javax/swing/plaf/basic/BasicListUI.java,
11086 javax/swing/plaf/basic/BasicLookAndFeel.java,
11087 javax/swing/plaf/basic/BasicOptionPaneUI.java,
11088 javax/swing/plaf/basic/BasicPanelUI.java,
11089 javax/swing/plaf/basic/BasicRadioButtonUI.java,
11090 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11091 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
11092 javax/swing/plaf/basic/BasicTextUI.java,
11093 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11094 javax/swing/plaf/basic/BasicTreeUI.java,
11095 javax/swing/plaf/basic/BasicViewportUI.java,
11096 javax/swing/plaf/BorderUIResource.java,
11097 javax/swing/plaf/ButtonUI.java,
11098 javax/swing/plaf/ColorChooserUI.java,
11099 javax/swing/plaf/ColorUIResource.java,
11100 javax/swing/plaf/ComboBoxUI.java,
11101 javax/swing/plaf/ComponentInputMapUIResource.java,
11102 javax/swing/plaf/ComponentUI.java,
11103 javax/swing/plaf/DesktopIconUI.java,
11104 javax/swing/plaf/DesktopPaneUI.java,
11105 javax/swing/plaf/DimensionUIResource.java,
11106 javax/swing/plaf/FileChooserUI.java,
11107 javax/swing/plaf/FontUIResource.java,
11108 javax/swing/plaf/IconUIResource.java,
11109 javax/swing/plaf/InputMapUIResource.java,
11110 javax/swing/plaf/InsetsUIResource.java,
11111 javax/swing/plaf/InternalFrameUI.java,
11112 javax/swing/plaf/LabelUI.java,
11113 javax/swing/plaf/ListUI.java,
11114 javax/swing/plaf/MenuBarUI.java,
11115 javax/swing/plaf/MenuItemUI.java,
11116 javax/swing/plaf/OptionPaneUI.java,
11117 javax/swing/plaf/PanelUI.java,
11118 javax/swing/plaf/PopupMenuUI.java,
11119 javax/swing/plaf/ProgressBarUI.java,
11120 javax/swing/plaf/RootPaneUI.java,
11121 javax/swing/plaf/ScrollBarUI.java,
11122 javax/swing/plaf/ScrollPaneUI.java,
11123 javax/swing/plaf/SeparatorUI.java,
11124 javax/swing/plaf/SliderUI.java,
11125 javax/swing/plaf/SplitPaneUI.java,
11126 javax/swing/plaf/TabbedPaneUI.java,
11127 javax/swing/plaf/TableHeaderUI.java,
11128 javax/swing/plaf/TableUI.java,
11129 javax/swing/plaf/TextUI.java,
11130 javax/swing/plaf/ToolBarUI.java,
11131 javax/swing/plaf/ToolTipUI.java,
11132 javax/swing/plaf/TreeUI.java,
11133 javax/swing/plaf/UIResource.java,
11134 javax/swing/plaf/ViewportUI.java,
11135 javax/swing/ProgressMonitorInputStream.java,
11136 javax/swing/ProgressMonitor.java,
11137 javax/swing/Renderer.java,
11138 javax/swing/RepaintManager.java,
11139 javax/swing/RootPaneContainer.java,
11140 javax/swing/Scrollable.java,
11141 javax/swing/ScrollPaneConstants.java,
11142 javax/swing/ScrollPaneLayout.java,
11143 javax/swing/SingleSelectionModel.java,
11144 javax/swing/SizeRequirements.java,
11145 javax/swing/SizeSequence.java,
11146 javax/swing/SwingConstants.java,
11147 javax/swing/SwingUtilities.java,
11148 javax/swing/table/AbstractTableModel.java,
11149 javax/swing/table/DefaultTableCellRenderer.java,
11150 javax/swing/table/DefaultTableColumnModel.java,
11151 javax/swing/table/DefaultTableModel.java,
11152 javax/swing/table/TableCellEditor.java,
11153 javax/swing/table/TableCellRenderer.java,
11154 javax/swing/table/TableColumn.java,
11155 javax/swing/table/TableColumnModel.java,
11156 javax/swing/table/TableModel.java,
11157 javax/swing/text/AbstractDocument.java,
11158 javax/swing/text/AttributeSet.java,
11159 javax/swing/text/BadLocationException.java,
11160 javax/swing/text/Caret.java,
11161 javax/swing/text/CharacterIterator.java,
11162 javax/swing/text/ComponentView.java,
11163 javax/swing/text/DefaultCaret.java,
11164 javax/swing/text/DefaultEditorKit.java,
11165 javax/swing/text/Document.java,
11166 javax/swing/text/EditorKit.java,
11167 javax/swing/text/Element.java,
11168 javax/swing/text/GapContent.java,
11169 javax/swing/text/JTextComponent.java,
11170 javax/swing/text/Keymap.java,
11171 javax/swing/text/MutableAttributeSet.java,
11172 javax/swing/text/PlainDocument.java,
11173 javax/swing/text/PlainEditorKit.java,
11174 javax/swing/text/Position.java,
11175 javax/swing/text/Segment.java,
11176 javax/swing/text/StyledDocument.java,
11177 javax/swing/text/StyledEditorKit.java,
11178 javax/swing/text/Style.java,
11179 javax/swing/text/TextAction.java,
11180 javax/swing/text/ViewFactory.java,
11181 javax/swing/text/View.java,
11182 javax/swing/Timer.java,
11183 javax/swing/ToggleButtonModel.java,
11184 javax/swing/ToolTipManager.java,
11185 javax/swing/tree/AbstractLayoutCache.java,
11186 javax/swing/tree/DefaultMutableTreeNode.java,
11187 javax/swing/tree/DefaultTreeCellEditor.java,
11188 javax/swing/tree/DefaultTreeCellRenderer.java,
11189 javax/swing/tree/DefaultTreeModel.java,
11190 javax/swing/tree/DefaultTreeSelectionModel.java,
11191 javax/swing/tree/ExpandVetoException.java,
11192 javax/swing/tree/FixedHeightLayoutCache.java,
11193 javax/swing/tree/MutableTreeNode.java,
11194 javax/swing/tree/RowMapper.java,
11195 javax/swing/tree/TreeCellEditor.java,
11196 javax/swing/tree/TreeCellRenderer.java,
11197 javax/swing/tree/TreeModel.java,
11198 javax/swing/tree/TreeNode.java,
11199 javax/swing/tree/TreePath.java,
11200 javax/swing/tree/TreeSelectionModel.java,
11201 javax/swing/tree/VariableHeightLayoutCache.java,
11202 javax/swing/UIDefaults.java,
11203 javax/swing/UIManager.java,
11204 javax/swing/undo/AbstractUndoableEdit.java,
11205 javax/swing/undo/CannotRedoException.java,
11206 javax/swing/undo/CannotUndoException.java,
11207 javax/swing/undo/CompoundEdit.java,
11208 javax/swing/undo/StateEditable.java,
11209 javax/swing/undo/StateEdit.java,
11210 javax/swing/undo/UndoableEdit.java,
11211 javax/swing/undo/UndoableEditSupport.java,
11212 javax/swing/undo/UndoManager.java,
11213 javax/swing/UnsupportedLookAndFeelException.java,
11214 javax/swing/ViewportLayout.java,
11215 javax/swing/WindowConstants.java: New files, from GNU Classpath.
11217 * java/awt/ActiveEvent.java,
11218 java/awt/Adjustable.java, java/awt/AWTError.java,
11219 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
11220 java/awt/AWTException.java, java/awt/AWTPermission.java,
11221 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
11222 java/awt/Color.java, java/awt/Component.java,
11223 java/awt/ComponentOrientation.java, java/awt/Container.java,
11224 java/awt/datatransfer/MimeTypeParseException.java,
11225 java/awt/datatransfer/Transferable.java,
11226 java/awt/datatransfer/UnsupportedFlavorException.java,
11227 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
11228 java/awt/event/ActionListener.java,
11229 java/awt/event/AdjustmentEvent.java,
11230 java/awt/event/AdjustmentListener.java,
11231 java/awt/event/AWTEventListener.java,
11232 java/awt/event/ComponentAdapter.java,
11233 java/awt/event/ComponentEvent.java,
11234 java/awt/event/ComponentListener.java,
11235 java/awt/event/ContainerAdapter.java,
11236 java/awt/event/ContainerEvent.java,
11237 java/awt/event/ContainerListener.java,
11238 java/awt/event/FocusAdapter.java,
11239 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
11240 java/awt/event/HierarchyBoundsAdapter.java,
11241 java/awt/event/HierarchyBoundsListener.java,
11242 java/awt/event/HierarchyEvent.java,
11243 java/awt/event/HierarchyListener.java,
11244 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
11245 java/awt/event/InputMethodListener.java,
11246 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
11247 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
11248 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
11249 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
11250 java/awt/event/MouseListener.java,
11251 java/awt/event/MouseMotionAdapter.java,
11252 java/awt/event/MouseMotionListener.java,
11253 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
11254 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
11255 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
11256 java/awt/event/WindowListener.java, java/awt/Font.java,
11257 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
11258 java/awt/geom/Ellipse2D.java,
11259 java/awt/geom/IllegalPathStateException.java,
11260 java/awt/geom/Line2D.java,
11261 java/awt/geom/NoninvertibleTransformException.java,
11262 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
11263 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
11264 java/awt/geom/RoundRectangle2D.java,
11265 java/awt/GraphicsConfiguration.java,
11266 java/awt/IllegalComponentStateException.java,
11267 java/awt/image/IndexColorModel.java,
11268 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
11269 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
11270 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
11271 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
11272 java/awt/MenuItem.java, java/awt/PaintContext.java,
11273 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
11274 java/awt/Polygon.java, java/awt/PrintGraphics.java,
11275 java/awt/PrintJob.java, java/awt/Rectangle.java,
11276 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
11277 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
11278 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
11280 * java/awt/im/spi/InputMethod.java,
11281 java/awt/im/spi/InputMethodContext.java,
11282 java/awt/im/spi/InputMethodDescriptor.java,
11283 java/awt/image/renderable/ContextualRenderedImageFactory.java,
11284 java/awt/image/renderable/ParameterBlock.java,
11285 java/awt/image/renderable/RenderContext.java,
11286 java/awt/image/renderable/RenderableImage.java,
11287 java/awt/image/renderable/RenderableImageOp.java,
11288 java/awt/image/renderable/RenderableImageProducer.java,
11289 java/awt/image/renderable/RenderedImageFactory.java: New files from
11292 * gnu/java/awt/EventModifier.java,
11293 gnu/java/awt/image/ImageDecoder.java,
11294 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
11296 * gnu/awt/xlib/XGraphicsConfiguration.java,
11297 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
11300 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
11303 * Makefile.am: Add new files.
11304 * Makefile.in: Rebuilt.
11306 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11308 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
11309 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
11310 findResource, getResources, findResources): Add javadoc from classpath.
11311 (getSystemResources): Implemented.
11313 2002-08-01 Mark Wielaard <mark@klomp.org>
11315 Revert patch that breaks libgcj shared library on powerpc:
11316 * gnu/java/security/provider/Gnu.java: Reverse referencing all
11317 implementation classes by using Class.getName(). Uses Strings again.
11318 * gnu/java/security/der/DEREncodingException.java,
11319 gnu/java/security/provider/DERReader.java,
11320 gnu/java/security/provider/DERWriter.java,
11321 gnu/java/security/provider/DSAKeyPairGenerator.java,
11322 gnu/java/security/provider/DSAParameterGenerator.java,
11323 gnu/java/security/provider/DSAParameters.java,
11324 gnu/java/security/provider/DSASignature.java,
11325 gnu/java/security/provider/GnuDSAPrivateKey.java,
11326 gnu/java/security/provider/GnuDSAPublicKey.java,
11327 gnu/java/security/provider/MD5.java,
11328 gnu/java/security/util/Prime.java: Removed.
11329 * Makefile.am (ordinary_java_source_files): Remove above files.
11330 * Makefile.in: Regenerate.
11331 * gnu/java/security/provider/DefaultPolicy.java
11332 (getPermissions): Revert to maintaining static class variable of
11334 * gnu/java/security/provider/SHA.java
11335 (engineUpdate): Revert algorithm change.
11336 (engineDigest): Revert algorithm change.
11338 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
11340 * configure.host: Add SH support.
11341 * sysdep/sh/locks.h: New file.
11343 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11345 * java/awt/Frame.java (Frame): Remove println calls.
11347 2002-07-30 Jeff Sturm <jsturm@one-point.com>
11349 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
11350 * configure: Rebuilt.
11352 2002-07-27 Alan Modra <amodra@bigpond.net.au>
11354 * sysdep/powerpc/locks.h: Formatting.
11357 (compare_and_swap): Use _LARX and _STCX.
11358 (compare_and_swap_release): Likewise.
11360 2002-07-26 Tom Tromey <tromey@redhat.com>
11362 * java/net/Authenticator.java: New version from Classpath.
11363 * java/net/DatagramSocketImpl.java: New version from Classpath.
11365 2002-07-27 Alan Modra <amodra@bigpond.net.au>
11367 * configure.host: Add powerpc64*-* entry.
11369 2002-07-26 Tom Tromey <tromey@redhat.com>
11371 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
11374 2002-07-24 Tom Tromey <tromey@redhat.com>
11376 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
11379 2002-07-24 Tom Tromey <tromey@redhat.com>
11380 Tony Kimball <alk@pobox.com>
11382 * java/io/natFileDescriptorWin32.cc (setLength): New method.
11383 * java/io/natFileDescriptorPosix.cc (setLength): New method.
11384 * java/io/RandomAccessFile.java (setLength): New method.
11385 * java/io/natFileDescriptorEcos.cc (setLength): New method.
11386 * java/io/FileDescriptor.java (setLength): New method.
11388 2002-07-24 Mark Wielaard <mark@klomp.org>
11390 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
11391 * java/io/ObjectInputStream.java (setBooleanField): Before setting
11392 field call setAccessible(true).
11393 (setByteField): Likewise.
11394 (setCharField): Likewise.
11395 (setDoubleField): Likewise.
11396 (setFloatField): Likewise.
11397 (setIntField): Likewise.
11398 (setLongField): Likewise.
11399 (setShortField): Likewise.
11400 (setObjectField): Likewise.
11402 2002-07-24 Tom Tromey <tromey@redhat.com>
11404 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
11405 use toString() to format array element.
11407 2002-07-23 Mark Wielaard <mark@klomp.org>
11409 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
11410 MessageDigestSpi (fixes Classpath bug #783).
11412 2002-07-21 Mark Wielaard <mark@klomp.org>
11414 * gnu/java/security/provider/Gnu.java: Reference all implementation
11415 classes by using Class.getName().
11417 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
11419 * java/lang/ieeefp.h: Add x86-64 support.
11420 * configure.in: Likewise.
11421 * configure.host: Likewise.
11422 * configure: Regenerated.
11423 * sysdep/x86-64/locks.h: New file with x86-64 locks.
11425 2002-07-16 Mark Wielaard <mark@klomp.org>
11427 * java/io/StreamTokenizer.java (pushBack): Update documentation.
11428 (whitespaceChars): call resetChar().
11430 2002-07-15 Tom Tromey <tromey@redhat.com>
11432 * Makefile.in: Rebuilt.
11433 * Makefile.am (awt_java_source_files): Added new files.
11434 * java/beans/ExceptionListener.java: Merged with Classpath.
11435 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
11436 * java/beans/PropertyChangeListener.java: Merged with Classpath.
11437 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
11438 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
11439 * java/beans/VetoableChangeListener.java: Merged with Classpath.
11440 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
11441 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
11443 2002-07-14 Mark Wielaard <mark@klomp.org>
11445 * gnu/java/security/der/DEREncodingException.java,
11446 gnu/java/security/provider/DERReader.java,
11447 gnu/java/security/provider/DERWriter.java,
11448 gnu/java/security/provider/DSAKeyPairGenerator.java,
11449 gnu/java/security/provider/DSAParameterGenerator.java,
11450 gnu/java/security/provider/DSAParameters.java,
11451 gnu/java/security/provider/DSASignature.java,
11452 gnu/java/security/provider/GnuDSAPrivateKey.java,
11453 gnu/java/security/provider/GnuDSAPublicKey.java,
11454 gnu/java/security/provider/MD5.java,
11455 gnu/java/security/util/Prime.java: New files from Classpath.
11456 * Makefile.am (ordinary_java_source_files): Add new files.
11457 * Makefile.in: Regenerate.
11459 2002-07-14 C. Brian Jones <cbj@gnu.org>
11461 * gnu/java/security/provider/DefaultPolicy.java
11462 (getPermissions): do not maintain static class variable of
11464 * gnu/java/security/provider/SHA.java
11465 (engineUpdate): algorithm change
11466 (engineDigest): algorithm change
11468 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
11470 For PR libgcj/7292:
11471 * java/lang/Character.java (toString(char)): Now static.
11473 2002-07-12 Mark Wielaard <mark@klomp.org>
11475 * java/lang/natThrowable.cc (printRawStackTrace): removed.
11476 (getStackTrace0): new method.
11477 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
11478 (printStackTrace(PrintWriter)): replace with pure java implementation.
11479 (printRawStackTrace): removed.
11480 (getStackTrace0): new method.
11481 * java/lang/StackTraceElement.java (toString): add extra whitespace.
11482 * gcj/javaprims.h: regenerate class list.
11483 * include/name-finder.h (lookup): new returns StackTraceElement*.
11484 (method_name, file_name): fields removed.
11485 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
11486 (~_Jv_name_finder): close new descriptors.
11487 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
11488 (createStackTraceElement): new method.
11489 (lookup): returns StackTraceElement*, uses createStackTraceElement().
11491 2002-07-10 Tom Tromey <tromey@redhat.com>
11493 * configure: Rebuilt.
11494 * configure.in: Use `test' after `&&'. From Chris Faylor.
11496 2002-07-08 Mark Wielaard <mark@klomp.org>
11498 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
11499 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
11500 java.sql.DatabaseMetaData.TestJdbc20
11502 2002-07-05 Tony Kimball <alk@pobox.com>
11504 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
11506 2002-07-04 Tom Tromey <tromey@redhat.com>
11507 Jeff Sturm <jsturm@one-point.com>
11509 Fix for PR libgcj/7060:
11510 * java/lang/Class.h (_getMethod): Renamed from getMethod.
11511 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
11512 Recurse into superinterfaces. Don't throw NoSuchMethodException.
11513 * java/lang/Class.java (getMethod): New Java implementation;
11514 complies with spec.
11515 (_getMethod): New native method.
11517 2002-07-02 Tom Tromey <tromey@redhat.com>
11518 David Hovemeyer <daveho@cs.umd.edu>
11520 * java/text/ChoiceFormat.java
11521 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
11523 * java/text/MessageFormat.java
11524 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
11527 2002-07-01 Tom Tromey <tromey@redhat.com>
11529 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
11530 StringTokenizer on null string. For PR libgcj/7180.
11531 From daveho@cs.umd.edu.
11533 2002-06-24 Tom Tromey <tromey@redhat.com>
11535 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
11536 (IntegerClass): Likewise.
11537 * java/lang/natClass.cc (CloneableClass): Removed.
11538 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
11539 ConstructorClass): Likewise.
11540 * java/lang/natClassLoader.cc (CloneableClass): Removed.
11541 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
11542 SerializableClass): Likewise.
11543 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
11544 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
11545 LongClass, FloatClass, DoubleClass): Likewise.
11547 * verify.cc (branch_prepass): Updated for change to exception
11549 (verify_instructions_0): Likewise.
11550 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
11551 (handleExceptionTableEntry): Updated for change to exception
11553 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
11554 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
11555 (union _Jv_InterpPC): New.
11556 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
11557 (class _Jv_InterpMethod): Added new `prepared' field.
11558 (class _Jv_InterpMethod): Added `compile' method. Removed
11559 `continue1' and `find_exception'. Changed arguments to `run'.
11560 * interpret.cc (union insn_slot): New.
11561 (find_exception): Removed.
11562 (run_normal): Removed most logic.
11563 (run_synch_object): Likewise; also, use JvSynchronize.
11564 (run_synch_class): Likewise.
11566 (continue1): Renamed as `run'. Compile bytecode if required.
11567 Add new code to allow refinement of direct-threaded code at
11568 runtime. Handle exceptions.
11569 (SAVE_PC): Removed.
11570 (compile): New method.
11571 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
11572 (NULLARRAYCHECK): Don't use SAVE_PC.
11573 (pc_t): New typedef.
11574 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
11575 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
11577 2002-06-23 Tom Tromey <tromey@redhat.com>
11579 * configure: Rebuilt.
11580 * configure.in (INTERPRETER): New subst.
11581 (AM_RUNTESTFLAGS): Don't subst.
11583 * Makefile.in: Rebuilt.
11584 * Makefile.am ($(srcdir)/java/lang/Object.h,
11585 $(srcdir)/java/lang/Class.h): Added dummy targets.
11587 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11589 Reformat JDBC classes and add new JDK 1.4 classes and methods.
11591 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
11592 java/sql/Savepoint.java: New files.
11593 * java/sql/Array.java, java/sql/BatchUpdateException.java,
11594 java/sql/Blob.java, java/sql/CallableStatement.java,
11595 java/sql/Clob.java, java/sql/Connection.java,
11596 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
11597 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
11598 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
11599 java/sql/Ref.java, java/sql/ResultSet.java,
11600 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
11601 java/sql/SQLException.java, java/sql/SQLInput.java,
11602 java/sql/SQLOutput.java, java/sql/SQLWarning.java
11603 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
11604 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
11605 (JDK 1.4) specification.
11606 * javax/sql/ConnectionEvent.java,
11607 javax/sql/ConnectionEventListener.java,
11608 javax/sql/ConnectionPoolDataSource.java,
11609 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
11610 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
11611 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
11612 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
11613 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
11614 javax/sql/XADataSource.java: New files.
11615 * Makefile.am: Add new files.
11616 * Makefile.in: Rebuilt.
11618 2002-06-20 Tom Tromey <tromey@redhat.com>
11620 For PR libgcj/7073:
11621 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
11623 * defineclass.cc (handleClassBegin): Superclass for interface is
11626 2002-06-18 Tom Tromey <tromey@redhat.com>
11628 * gcj/javaprims.h: Updated class declaration list.
11629 * Makefile.in: Rebuilt.
11630 * Makefile.am (core_java_source_files): Removed
11631 BasicMapEntry.java.
11632 * java/util/BasicMapEntry.java: Removed.
11634 2002-06-18 Jeff Sturm <jsturm@one-point.com>
11636 * java/net/natPlainDatagramSocketImpl.cc (receive):
11637 Check bounds of argument to FD_SET.
11638 (setOption): Throw exception if socket is closed.
11640 * java/net/natPlainSocketImpl.cc (accept, read):
11641 Check bounds of argument to FD_SET.
11642 (setOption): Throw exception if socket is closed.
11644 2002-06-18 Tom Tromey <tromey@redhat.com>
11646 * gcj/javaprims.h: Updated class declaration list.
11647 * Makefile.in: Rebuilt.
11648 * Makefile.am (core_java_source_files): Added
11649 PropertyPermissionCollection.java.
11650 * java/lang/Thread.java (group, name): Now package-private.
11651 * java/lang/ThreadGroup.java: Re-merge with Classpath.
11652 * java/util/AbstractList.java: Likewise.
11653 * java/util/AbstractMap.java: Likewise.
11654 * java/util/Calendar.java: Likewise.
11655 * java/util/Collections.java: Likewise.
11656 * java/util/HashMap.java: Likewise.
11657 * java/util/Hashtable.java: Likewise.
11658 * java/util/LinkedHashMap.java: Likewise.
11659 * java/util/LinkedList.java: Likewise.
11660 * java/util/List.java: Likewise.
11661 * java/util/ListResourceBundle.java: Likewise.
11662 * java/util/Map.java: Likewise.
11663 * java/util/Observable.java: Likewise.
11664 * java/util/Properties.java: Likewise.
11665 * java/util/PropertyPermission.java: Likewise.
11666 * java/util/PropertyPermissionCollection.java: Likewise.
11667 * java/util/PropertyResourceBundle.java: Likewise.
11668 * java/util/Random.java: Likewise.
11669 * java/util/SimpleTimeZone.java: Likewise.
11670 * java/util/StringTokenizer.java: Likewise.
11671 * java/util/TimerTask.java: Likewise.
11672 * java/util/TreeMap.java: Likewise.
11673 * java/util/WeakHashMap.java: Likewise.
11674 * java/util/jar/Attributes.java: Likewise.
11675 * java/util/jar/JarException.java: Likewise.
11676 * java/util/jar/Manifest.java: Likewise.
11678 2002-06-17 Tom Tromey <tromey@redhat.com>
11680 * gcj/javaprims.h: Updated class declaration list.
11681 * Makefile.in: Rebuilt.
11682 * Makefile.am (core_java_source_files): Added new file.
11683 * java/util/EventListenerProxy.java: New file.
11684 * java/util/EventListener.java: Re-merge with Classpath.
11685 * java/util/EventObject.java: Re-merge with Classpath.
11687 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
11689 * java/lang/ClassNotFoundException.java: New Classpath version.
11691 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
11693 * java/rmi/activation/ActivateFailedException.java: Remerge from
11695 * java/rmi/activation/ActivationException.java: Ditto.
11696 * java/rmi/activation/UnknownGroupException.java: Ditto.
11697 * java/rmi/activation/UnknownObjectException.java: Ditto.
11698 * java/rmi/server/ExportException: Ditto.
11699 * java/rmi/server/ServerCloneException: Ditto.
11700 * java/rmi/server/ServerNotActiveException: Ditto.
11701 * java/rmi/server/SkeletonMismatchException: Ditto.
11702 * java/rmi/server/SkeletonNotFoundException: Ditto.
11703 * java/rmi/server/SocketSecurityException: Ditto.
11705 2002-06-16 Tom Tromey <tromey@redhat.com>
11707 * gcj/javaprims.h: Updated class declaration list.
11709 * java/io/LineNumberInputStream.java: Merged with Classpath.
11711 * java/lang/RuntimeException.java: Re-merge with Classpath.
11712 * java/util/ArrayList.java: Likewise.
11713 * java/util/Arrays.java: Likewise.
11714 * java/util/BitSet.java: Likewise.
11715 * java/util/Dictionary.java: Likewise.
11716 * java/util/IdentityHashMap.java: Likewise.
11717 * java/util/MissingResourceException.java: Likewise.
11718 * java/util/Observer.java: Likewise.
11719 * java/util/TooManyListenersException.java: Likewise.
11720 * java/util/zip/DataFormatException.java: Likewise.
11721 * java/util/zip/ZipException.java: Likewise.
11723 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
11725 * java/rmi/AccessException.java: Remerge from Classpath.
11726 * java/rmi/AlreadyBoundException.java: Ditto.
11727 * java/rmi/ConnectException.java: Ditto.
11728 * java/rmi/ConnectIOException.java: Ditto.
11729 * java/rmi/MarshalException.java: Ditto.
11730 * java/rmi/NoSuchObjectException.java: Ditto.
11731 * java/rmi/NotBoundException.java: Ditto.
11732 * java/rmi/RemoteException.java: Ditto.
11733 * java/rmi/RMISecurityException.java: Ditto.
11734 * java/rmi/ServerError.java: Ditto.
11735 * java/rmi/ServerException.java: Ditto.
11736 * java/rmi/ServerRuntimeException.java: Ditto.
11737 * java/rmi/StubNotFoundException.java: Ditto.
11738 * java/rmi/UnexpectedExcpetion.java: Ditto.
11739 * java/rmi/UnknownHostException.java: Ditto.
11740 * java/rmi/UnmarshalException.java: Ditto.
11742 2002-06-15 Tom Tromey <tromey@redhat.com>
11744 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
11745 * java/lang/ArithmeticException.java: Likewise.
11746 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
11747 * java/lang/ArrayStoreException.java: Likewise.
11748 * java/lang/Byte.java: Likewise.
11749 * java/lang/CharSequence.java: Likewise.
11750 * java/lang/ClassCastException.java: Likewise.
11751 * java/lang/ClassCircularityError.java: Likewise.
11752 * java/lang/ClassFormatError.java: Likewise.
11753 * java/lang/CloneNotSupportedException.java: Likewise.
11754 * java/lang/Cloneable.java: Likewise.
11755 * java/lang/Comparable.java: Likewise.
11756 * java/lang/Compiler.java: Likewise.
11757 * java/lang/Error.java: Likewise.
11758 * java/lang/ExceptionInInitializerError.java: Likewise.
11759 * java/lang/IllegalAccessError.java: Likewise.
11760 * java/lang/IllegalAccessException.java: Likewise.
11761 * java/lang/IllegalArgumentException.java: Likewise.
11762 * java/lang/IllegalMonitorStateException.java: Likewise.
11763 * java/lang/IllegalStateException.java: Likewise.
11764 * java/lang/IllegalThreadStateException.java: Likewise.
11765 * java/lang/IncompatibleClassChangeError.java: Likewise.
11766 * java/lang/IndexOutOfBoundsException.java: Likewise.
11767 * java/lang/InheritableThreadLocal.java: Likewise.
11768 * java/lang/InstantiationError.java: Likewise.
11769 * java/lang/InstantiationException.java: Likewise.
11770 * java/lang/InternalError.java: Likewise.
11771 * java/lang/InterruptedException.java: Likewise.
11772 * java/lang/LinkageError.java: Likewise.
11773 * java/lang/NegativeArraySizeException.java: Likewise.
11774 * java/lang/NoClassDefFoundError.java: Likewise.
11775 * java/lang/NoSuchFieldError.java: Likewise.
11776 * java/lang/NoSuchFieldException.java: Likewise.
11777 * java/lang/NoSuchMethodError.java: Likewise.
11778 * java/lang/NoSuchMethodException.java: Likewise.
11779 * java/lang/NullPointerException.java: Likewise.
11780 * java/lang/NumberFormatException.java: Likewise.
11781 * java/lang/OutOfMemoryError.java: Likewise.
11782 * java/lang/Process.java: Likewise.
11783 * java/lang/Runnable.java: Likewise.
11784 * java/lang/RuntimePermission.java: Likewise.
11785 * java/lang/SecurityException.java: Likewise.
11786 * java/lang/Short.java: Likewise.
11787 * java/lang/StackOverflowError.java: Likewise.
11788 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
11789 * java/lang/ThreadDeath.java: Likewise.
11790 * java/lang/ThreadLocal.java: Likewise.
11791 * java/lang/UnknownError.java: Likewise.
11792 * java/lang/UnsatisfiedLinkError.java: Likewise.
11793 * java/lang/UnsupportedClassVersionError.java: Likewise.
11794 * java/lang/UnsupportedOperationException.java: Likewise.
11795 * java/lang/VerifyError.java: Likewise.
11796 * java/lang/VirtualMachineError.java: Likewise.
11797 * java/lang/reflect/InvocationTargetException.java: Likewise.
11798 * java/net/BindException.java: Likewise.
11799 * java/net/ConnectException.java: Likewise.
11800 * java/net/MalformedURLException.java: Likewise.
11801 * java/net/NoRouteToHostException.java: Likewise.
11802 * java/net/ProtocolException.java: Likewise.
11803 * java/net/SocketException.java: Likewise.
11804 * java/net/UnknownHostException.java: Likewise.
11805 * java/net/UnknownServiceException.java: Likewise.
11807 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
11808 * java/io/CharConversionException.java: Likewise.
11809 * java/io/EOFException.java: Likewise.
11810 * java/io/FileNotFoundException.java: Likewise.
11811 * java/io/IOException.java: Likewise.
11812 * java/io/InterruptedIOException.java: Likewise.
11813 * java/io/InvalidClassException.java: Likewise.
11814 * java/io/InvalidObjectException.java: Likewise.
11815 * java/io/NotActiveException.java: Likewise.
11816 * java/io/NotSerializableException.java: Likewise.
11817 * java/io/ObjectStreamException.java: Likewise.
11818 * java/io/ObjectStreamConstants.java: Likewise.
11819 * java/io/OptionalDataException.java: Likewise.
11820 * java/io/PipedInputStream.java: Likewise.
11821 * java/io/PushbackInputStream.java: Likewise.
11822 * java/io/StreamCorruptedException.java: Likewise.
11823 * java/io/SyncFailedException.java: Likewise.
11824 * java/io/UTFDataFormatException.java: Likewise.
11825 * java/io/UnsupportedEncodingException.java: Likewise.
11826 * java/io/WriteAbortedException.java: Likewise.
11828 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
11830 * java/text/ChoiceFormat.java: Update comments from Classpath.
11831 * java/text/ParseException.java (serialVersionUID): New
11832 field from Classpath.
11833 * java/text/ParseException.java: Update formatting & comments
11836 2002-06-15 Tom Tromey <tromey@redhat.com>
11838 * java/util/zip/InflaterInputStream.java (read): Loop if data has
11839 been read but none output by inflater.
11840 * java/util/zip/natDeflater.cc (reset): Set is_finished.
11841 * java/util/zip/natInflater.cc (reset): Set dist_needed and
11843 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
11845 * java/util/zip/ZipFile.java: Replaced with Classpath version.
11846 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
11847 * java/util/zip/ZipInputStream.java: Replaced with Classpath
11849 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
11851 2002-06-13 Tom Tromey <tromey@redhat.com>
11853 * java/lang/natString.cc (init): Handle case where DONT_COPY is
11854 true and OFFSET!=0.
11855 * java/lang/String.java (String(char[],int,int,boolean): New
11857 * java/lang/Long.java: Imported new version from Classpath.
11858 * java/lang/Number.java: Likewise.
11859 * java/lang/Integer.java: Likewise.
11860 * java/lang/Long.java: Likewise.
11861 * java/lang/Float.java: Likewise.
11862 * java/lang/Boolean.java: Likewise.
11863 * java/lang/Double.java: Likewise.
11864 * java/lang/Void.java: Likewise.
11866 2002-06-12 Tom Tromey <tromey@redhat.com>
11868 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
11869 Fixes PR libgcj/6652.
11871 2002-06-10 Tom Tromey <tromey@redhat.com>
11873 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
11874 (Class::getPackagePortion): Likewise.
11875 * java/lang/Class.java (desiredAssertionStatus): New method from
11877 (getPackagePortion): Likewise.
11878 * java/lang/VMClassLoader.java (defaultAssertionStatus,
11879 packageAssertionStatus, classAssertionStatus): New methods from
11881 * java/lang/ClassLoader.java (defaultAssertionStatus,
11882 systemPackageAssertionStatus, packageAssertionStatus,
11883 systemClassAssertionStatus, classAssertionStatus): New fields from
11885 (setDefaultAssertionStatus, setPackageAssertionStatus,
11886 setClassAssertionStatus, clearAssertionStatus): New methods from
11888 * Makefile.in: Rebuilt.
11889 * Makefile.am (core_java_source_files): Added AssertionError.java.
11890 * java/lang/AssertionError.java: New from Classpath.
11892 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11894 * configure.host: Disable hash synchronization and slow_pthread_self
11897 2002-06-06 Adam Megacz <adam@xwt.org>
11899 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
11900 locking, just like the Sun JVM does.
11902 2002-06-05 H.J. Lu (hjl@gnu.org)
11904 * Makefile.am (libgcj_convenience.la): Revert the last change.
11905 (libgcj.la): Likewise.
11906 * Makefile.in: Regenerated.
11908 2002-06-04 H.J. Lu (hjl@gnu.org)
11910 * Makefile.am (libgcj_convenience.la): New target.
11911 (libgcj.la): Depend on libgcj_convenience.la.
11912 * Makefile.in: Regenerated.
11914 2002-06-04 H.J. Lu (hjl@gnu.org)
11916 * configure.in (--with-newlib): New option:
11917 Check ${with_newlib} instead of ${with_cross_host} for newlib.
11918 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
11920 * configure: Regenerated.
11922 2002-06-04 Tom Tromey <tromey@redhat.com>
11924 * java/util/natTimeZone.cc: Include <stdio.h>.
11926 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
11928 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
11929 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
11930 Set SIGNAL_HANDLER=include/s390-linux.h.
11931 * configure: Regenerate.
11932 * include/s390-linux.h: New file.
11934 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11936 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
11939 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11941 Merge JDK 1.4 java.security changes from classpath.
11943 * java/security/AccessControlException.java: Merge from Classpath.
11944 * java/security/AccessController.java: Likewise.
11945 * java/security/AllPermission.java: Likewise.
11946 * java/security/BasicPermission.java: Likewise.
11947 * java/security/Certificate.java: Likewise.
11948 * java/security/CodeSource.java: Likewise.
11949 * java/security/DigestException.java: Likewise.
11950 * java/security/DigestOutputStream.java: Likewise.
11951 * java/security/DomainCombiner.java: Likewise.
11952 * java/security/GeneralSecurityException.java: Likewise.
11953 * java/security/Guard.java: Likewise.
11954 * java/security/GuardedObject.java: Likewise.
11955 * java/security/InvalidAlgorithmParameterException.java: Likewise.
11956 * java/security/InvalidKeyException.java: Likewise.
11957 * java/security/InvalidParameterException.java: Likewise.
11958 * java/security/Key.java: Likewise.
11959 * java/security/KeyException.java: Likewise.
11960 * java/security/KeyManagementException.java: Likewise.
11961 * java/security/KeyStoreException.java: Likewise.
11962 * java/security/MessageDigest.java: Likewise.
11963 * java/security/NoSuchAlgorithmException.java: Likewise.
11964 * java/security/NoSuchProviderException.java: Likewise.
11965 * java/security/Permission.java: Likewise.
11966 * java/security/PermissionCollection.java: Likewise.
11967 * java/security/Permissions.java: Likewise.
11968 * java/security/Policy.java: Likewise.
11969 * java/security/Principal.java: Likewise.
11970 * java/security/PrivateKey.java: Likewise.
11971 * java/security/PrivilegedAction.java: Likewise.
11972 * java/security/PrivilegedActionException.java: Likewise.
11973 * java/security/PrivilegedExceptionAction.java: Likewise.
11974 * java/security/ProtectionDomain.java: Likewise.
11975 * java/security/ProviderException.java: Likewise.
11976 * java/security/PublicKey.java: Likewise.
11977 * java/security/SecureClassLoader.java: Likewise.
11978 * java/security/SecurityPermission.java: Likewise.
11979 * java/security/SignatureException.java: Likewise.
11980 * java/security/UnrecoverableKeyException.java: Likewise.
11981 * java/security/UnresolvedPermission.java: Likewise.
11982 * java/security/acl/AclNotFoundException.java: Likewise.
11983 * java/security/acl/LastOwnerException.java: Likewise.
11984 * java/security/acl/NotOwnerException.java: Likewise.
11985 * java/security/cert/CRLException.java: Likewise.
11986 * java/security/cert/CertificateEncodingException.java: Likewise.
11987 * java/security/cert/CertificateException.java: Likewise.
11988 * java/security/cert/CertificateExpiredException.java: Likewise.
11989 * java/security/cert/CertificateFactory.java: Likewise.
11990 * java/security/cert/CertificateNotYetValidException.java: Likewise.
11991 * java/security/cert/CertificateParsingException.java: Likewise.
11992 * java/security/spec/InvalidKeySpecException.java: Likewise.
11993 * java/security/spec/InvalidParameterSpecException.java: Likewise.
11995 * java/security/cert/CertPath.java: New file.
11996 * java/security/cert/CertPathBuilderException.java: New file.
11997 * java/security/cert/CertPathValidatorException.java: New file.
11998 * java/security/cert/CertStoreException.java: New file.
12000 * Makefile.am: Add new CertPath classes.
12001 * Makefile.in: Rebuilt.
12003 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
12005 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12007 Merge JDK 1.4 exception chaining support from classpath.
12009 * java/lang/Throwable.java: Merge 1.4 support from classpath.
12010 (stackTraceBytes): Rename from stackTrace.
12011 * java/lang/Exception.java: Merge from classpath.
12012 * java/lang/StackTraceElement: New file from classpath.
12013 * gcj/javaprims.h: Rebuild CNI namespace declarations.
12014 * Makefile.am: Add StackTraceElement.
12015 * Makefile.in: Rebuilt.
12017 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12019 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
12021 * Makefile.in: Rebuilt.
12023 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12025 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
12026 * configure.in: Likewise.
12027 * aclocal.m4: Regenerate.
12028 * configure: Regenerate.
12030 2002-05-13 Tom Tromey <tromey@redhat.com>
12032 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
12033 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
12034 Include platform.h.
12036 Fixes PR libgcj/6389:
12037 * Makefile.in: Rebuilt.
12038 * Makefile.am (nat_source_files): Added natTimeZone.cc.
12039 * java/util/natTimeZone.cc: New file.
12040 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
12041 * java/lang/System.java: Merged with Classpath.
12042 * java/lang/Runtime.java: Merged with Classpath.
12043 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
12045 (setIn0): Renamed from setIn; don't run security check.
12046 (setOut0): Renamed from setOut; don't run security check.
12047 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
12048 init_properties): Moved to natRuntime.cc.
12049 Moved many includes to natRuntime.cc.
12050 (isWordsBigEndian): New method.
12051 * java/lang/natRuntime.cc: Include Long.h, also other includes
12052 previously in natSystem.cc.
12053 (maxMemory): New function.
12054 (exitInternal): Renamed from `_exit'.
12056 (init): Don't set finalize_on_exit.
12057 (exitInternal): Use `finalizeOnExit'.
12058 (file_encoding, getpwuid_adaptor): New functions from
12060 (insertSystemProperties): New method, renamed from
12061 System::init_properties. Don't set user.timezone.
12062 (_load): Don't call checkLink.
12063 (execInternal): New method.
12064 (availableProcessors): Likewise.
12065 (nativeGetLibname): Likewise.
12067 2002-05-11 Mark Wielaard <mark@klomp.org>
12069 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
12071 (previous_internal): Likewise.
12073 2002-05-09 Tom Tromey <tromey@redhat.com>
12075 * jni.cc (_Jv_JNIFunctions): Fixed typo.
12077 * java/util/ResourceBundle.java: New version from Classpath.
12078 * java/util/Locale.java: Likewise.
12080 2002-05-09 Jakub Jelinek <jakub@redhat.com>
12082 * testsuite/lib/libjava.exp (libjava_arguments): Append all
12083 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
12086 2002-05-08 Mark Mitchell <mark@codesourcery.com>
12088 * libjava/Makefile.am (all_java_source_files): New variable.
12089 (all_java_class_files): Likewise.
12090 .java.class: New rule.
12091 (CLEANFILES): Remove tmp-list.
12092 * libjava/Makefile.in: Regenerated.
12094 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
12096 * testsuite/lib/libjava.exp (test_libjava_from_javac):
12097 Append .exe to executable names. Fix for cygwin.
12099 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
12101 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
12102 script entry, and set LD to it when configuring multilibs.
12103 * configure: Rebuilt.
12105 2002-05-07 Tom Tromey <tromey@redhat.com>
12107 * java/lang/natString.cc (unintern): Fixed typo.
12109 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
12111 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
12112 with -no-install on *-*-cygwin*.
12114 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
12116 * testsuite/lib/libjava.exp (test_libjava_from_source):
12117 Add comment explaining last patch
12119 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
12121 * testsuite/lib/libjava.exp (test_libjava_from_source):
12122 Append .exe to executable names. If no suffix is present,
12123 then ".exe" is added by default on win32. Harmless
12124 elsewhere so always do it.
12126 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
12127 Tom Tromey <tromey@redhat.com>
12129 * java/lang/natSystem.cc (getSystemTimeZone): Use
12130 HAVE_UNDERSCORE_TIMEZONE.
12131 * include/config.h.in: Rebuilt.
12132 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
12133 * aclocal.m4, configure: Rebuilt.
12134 * acinclude.m4: Run AC_EXEEXT.
12135 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
12136 Add test for `_timezone'.
12138 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
12140 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12141 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
12142 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
12143 * Makefile.in: Rebuilt.
12145 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
12147 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
12148 use sigaction instead of __libc_sigaction.
12150 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12152 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
12153 (libjava_init): Use it to find libgcj.spec.
12154 (libjava_arguments): Likewise.
12156 2002-05-02 David S. Miller <davem@redhat.com>
12159 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
12160 __libc_sigaction on Sparc.
12162 2002-05-02 Jerome Marc <marcjero@yahoo.com>
12164 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
12165 sys/filio.h, if present.
12167 2002-04-30 Tom Tromey <tromey@redhat.com>
12169 * java/io/BufferedReader.java (fill): Handle case where markPos
12170 point to ignored \n. Fixes PR libgcj/6301.
12172 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
12174 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
12176 2002-04-29 Adam King <aking@dreammechanics.com>
12178 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
12179 of file in APPEND mode.
12181 2002-04-25 David S. Miller <davem@redhat.com>
12184 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
12185 program counter to next program counter minus 8. Update
12186 comments in this macro to explain why.
12188 2002-04-26 Tom Tromey <tromey@redhat.com>
12190 * verify.cc (construct_primitive_array_type) [void_type]: New
12192 (branch_prepass): Added dummy entries for unused instruction
12194 (verify_instructions_0): Likewise.
12195 * interpret.cc (continue1): Comment fix.
12196 * include/java-insns.h (op_xxxunusedxxx1): Removed.
12197 * Makefile.in: Rebuilt.
12198 * Makefile.am: Added -Wswitch-enum.
12200 2002-04-24 Tom Tromey <tromey@redhat.com>
12202 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
12203 correct length of UTF-8 encoded name. Strip leading `/'.
12204 (_Jv_RegisterResource): Use _Jv_Malloc.
12206 2002-04-23 Adam Megacz <adam@xwt.org>
12208 * win32.cc, include/win32.cc (backtrace): Added this function
12209 because Win32 does not supply it.
12211 2002-04-21 David S. Miller <davem@redhat.com>
12213 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
12214 magic instruction reading sequence.
12216 2002-04-21 Mark Wielaard <mark@klomp.org>
12218 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
12220 2002-04-19 David S. Miller <davem@redhat.com>
12222 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
12224 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
12225 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
12227 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
12229 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
12230 * sysdeps/sparc/locks.h: New file.
12231 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
12232 on all sparc Solaris configurations. Set to
12233 include/dwarf2-signal.h on sparc Linux.
12234 * configure: Regenerate
12235 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
12237 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
12239 * configure: Rebuilt.
12240 * configure.in (backtrace): Function doesn't work on IA-64.
12242 2002-04-17 Adam King <aking@dreammechanics.com>
12244 * java/io/File.java (normalizePath): Add Win32 support for auto
12245 conversion of a '/' path separator to Win32's '\' separator.
12247 2002-04-16 Tom Tromey <tromey@redhat.com>
12249 Fix for PR libgcj/6081:
12250 * Makefile.in: Rebuilt.
12251 * Makefile.am (install-data-local): Use GNU make trick to avoid
12254 2002-04-16 Adam King <aking@dreammechanics.com>
12255 Tom Tromey <tromey@redhat.com>
12257 * java/io/natFileWin32.cc (performList): Return the correct array
12258 type. Don't duplicate the creation of a File since it's already
12259 done earlier in the method and the existing code would cause a
12260 ArrayStoreException. Don't use fixed-size array.
12261 (_access, _stat, attr, getCanonicalPath, performMkdir,
12262 performRenameTo): Don't use fixed-size array.
12263 (getCanonicalPath): Use throw, not _Jv_Throw.
12265 2002-04-15 DJ Delorie <dj@redhat.com>
12267 * configure.in: Allow building in $srcdir.
12268 * configure: Regenerated.
12270 2002-04-14 Mark Wielaard <mark@klomp.org>
12272 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
12273 * java/net/natSocketImpl.cc (close): Likewise.
12275 2002-04-14 Mark Wielaard <mark@klomp.org>
12277 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
12279 2002-04-13 Adam King <aking@dreammechanics.com>
12281 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
12282 the f/F/d/D modifiers.
12284 2002-04-12 Anthony Green <green@redhat.com>
12286 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
12287 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
12288 * Makefile.in: Rebuilt.
12289 * configure.in: Substitute gcc_version.
12290 * configure: Rebuilt.
12292 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12294 * configure.host: Set can_unwind_signal on hosts which support it.
12295 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
12296 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
12297 exceptions and can_unwind_signal isn't set.
12298 * configure: Rebuilt.
12300 2002-04-11 Tom Tromey <tromey@redhat.com>
12302 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
12304 2002-04-11 Adam King <aking@dreammechanics.com>
12305 Tom Tromey <tromey@redhat.com>
12307 * include/jvm.h (_Jv_ThrowBadArrayIndex,
12308 _Jv_ThrowNullPointerException): Mark as noreturn.
12309 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
12310 and _Jv_free. Correctly invoke GetTempPath(). Indentation
12313 2002-04-10 Tom Tromey <tromey@redhat.com>
12315 * Makefile.in: Rebuilt.
12316 * Makefile.am (java/lang/Thread.h): Mark
12317 _Jv_AttachCurrentThreadAsDaemon as friend.
12318 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
12319 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
12320 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
12322 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
12323 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
12324 (_Jv_JNI_InvokeFunctions): Added
12325 _Jv_JNI_AttachCurrentThreadAsDaemon.
12326 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
12327 (JNI_GetDefaultJavaVMInitArgs): Likewise.
12328 (JNI_CreateJavaVM): Likewise.
12329 (_Jv_JNI_AttachCurrentThread): Likewise.
12330 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
12331 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
12332 (_Jv_JNIFunctions): Initialize new fields.
12333 (_Jv_JNI_NewDirectByteBuffer): New function.
12334 (_Jv_JNI_GetDirectBufferAddress): Likewise.
12335 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
12336 * include/jni.h (JNI_VERSION_1_4): New macro.
12337 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
12338 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
12339 (JNINativeInterface::NewDirectByteBuffer): New field.
12340 (JNINativeInterface::GetDirectBufferAddress): New field.
12341 (JNINativeInterface::GetDirectBufferCapacity): New field.
12342 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
12343 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
12344 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
12346 2002-04-09 Tom Tromey <tromey@redhat.com>
12348 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
12350 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
12352 Fix for PR libgcj/6187:
12353 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
12356 2002-04-07 Mark Wielaard <mark@klomp.org>
12358 * java/util/AbstractMap.java (putAll): Use entrySet size.
12359 (toString): Explicitly use getKey() and getValue().
12361 2002-04-07 Mark Wielaard <mark@klomp.org>
12363 * java/util/Hashtable.java (contains): Remove NullPointer check.
12364 (containsValue): Add NullPointer check.
12365 (remove): Always throw NullPointerException when key
12368 2002-04-07 Adam King <aking@dreammechanics.com>
12370 * java/lang/natSystem.cc (init_properties): Call new function
12371 _Jv_platform_initProperties.
12372 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
12373 support for the System properties os.name, os.arch, os.version,
12374 user.name, user.home, and user.dir.
12375 * include/posix.h, include/win32.h, posix.cc: New function
12376 _Jv_platform_initProperties.
12378 2002-04-06 Mark Wielaard <mark@klomp.org>
12380 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
12382 2002-04-06 Mark Wielaard <mark@klomp.org>
12384 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
12385 all of the remaining elements.
12386 * java/util/Vector.java (addAll(int,Collection)): Likewise.
12387 (removeRange): If toIndex == fromIndex do
12388 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12389 (removeAll): Always throw NullPointerException when collection is
12391 (retrainAll): Likewise.
12393 2002-04-05 Mark Wielaard <mark@klomp.org>
12395 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
12396 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12398 2002-04-05 Adam Megacz <adam@xwt.org>
12400 * exception.cc (abort): added static modifier
12402 2002-04-04 Adam Megacz <adam@xwt.org>
12404 * include/win32.h (_Jv_platform_close_on_exec): added inline
12407 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
12409 * configure.host: Add case statement to support generic port
12410 properties. Add *-*-freebsd* section.
12412 2002-04-04 Mark Wielaard <mark@klomp.org>
12414 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
12416 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
12417 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
12418 that depend on awt code and BufferedByteOutputStream.interrupt.
12420 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12422 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
12423 incorrect "hi" value when count > 40.
12425 2002-04-03 Mark Wielaard <mark@klomp.org>
12427 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
12430 2002-04-02 Tom Tromey <tromey@redhat.com>
12432 * java/lang/natClassLoader.cc (findClass): Compare against `3',
12435 2002-04-02 Mark Wielaard <mark@klomp.org>
12437 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
12438 list of testsuite crashers.
12440 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12442 * java/util/IdentityHashMap.java (put): Set new threshold correctly
12443 when resizing table.
12445 2002-04-01 Mark Wielaard <mark@klomp.org>
12447 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
12448 NegativeArraySizeException
12449 (clear(int)): Use sign extended shift.
12450 (flip(int)): Likewise.
12451 (get(int)): Likewise.
12452 (nextClearBit(int)): Likewise.
12453 (nextSetBit(int)): Likewise.
12454 (set(int)): Likewise.
12456 2002-04-01 Mark Wielaard <mark@klomp.org>
12458 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
12459 that can be compiled now and add testsuite crashers to ignore list.
12461 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
12463 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
12465 * libgcj.spec.in: Override libgcc, not lib.
12466 * libgcj-test.spec.in: Likewise.
12468 2002-03-29 Tom Tromey <tromey@redhat.com>
12470 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
12471 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
12473 2002-03-27 Jeff Sturm <jsturm@one-point.com>
12475 * java/net/PlainDatagramSocketImpl.java
12476 (close): Use native implementation.
12477 (finalize): New method.
12479 * java/net/PlainSocketImpl.java (finalize): New method.
12481 * java/net/natPlainDatagramSocketImpl.cc
12482 (java/io/FileDescriptor.h): Don't include.
12483 (close): Implement method here.
12484 (create): Don't assign fd.
12486 * java/net/natPlainSocketImpl.cc
12487 (java/io/FileDescriptor.h): Don't include.
12488 (create): Don't assign fd.
12489 (accept): Likewise.
12490 (close): Synchronize.
12492 2002-03-27 Richard Henderson <rth@redhat.com>
12494 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
12496 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
12498 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
12499 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
12500 instead of syscall on IA-64.
12503 2002-03-27 Anthony Green <green@redhat.com>
12505 * libgcj.spec.in: Add CHECKREFSPEC.
12506 * configure.in: Ditto.
12507 * configure.host: Ditto. Check references for xscale-elf.
12508 * configure: Rebuilt.
12510 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
12512 * include/dwarf2-signal.h: Temporarily back out last change.
12514 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
12516 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
12518 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
12520 * configure.in, configure: enable dwarf2-exception-style
12521 exception handling on IA-64.
12522 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
12523 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
12526 2002-03-25 Tom Tromey <tromey@redhat.com>
12528 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
12529 (jv_convert_LDFLAGS): Likewise.
12530 (gij_LDFLAGS): Likewise.
12531 (rmic_LDFLAGS): Likewise.
12532 (rmiregistry_LDFLAGS): Likewise.
12533 * configure.in (THREADLDFLAGS): New subst; set correctly for
12536 2002-03-25 Tom Tromey <tromey@redhat.com>
12538 For PR libgcj/5303:
12539 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
12541 (help): New method.
12542 (version): Likewise.
12543 * gnu/gcj/convert/Convert.java (version): Removed extraneous
12545 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
12548 2002-03-25 Tom Tromey <tromey@redhat.com>
12550 * java/awt/Component.java (processEvent): Check ComponentEvent
12553 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12555 * java/io/PushbackReader.java: Reformat.
12557 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
12558 calculate correct number of bytes skipped.
12560 Based on patch from Intel's ORP team:
12561 * java/io/PushbackInputStream.java (available): Calculate correct
12562 number of bytes in buffer.
12563 (read): Remove redundant bound check. Return bytes from both the
12564 buffer and the stream.
12566 2002-03-24 Tom Tromey <tromey@redhat.com>
12568 * java/awt/TextComponent.java (TextComponent): Editable by
12571 * java/awt/MenuItem.java (eventMask): No longer private.
12572 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
12573 superclass if we didn't handle event.
12574 * java/awt/Checkbox.java (dispatchEventImpl): New method.
12575 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
12576 * java/awt/Choice.java (dispatchEventImpl): New method.
12577 * java/awt/List.java (dispatchEventImpl): New method.
12578 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
12579 * java/awt/TextComponent.java (dispatchEventImpl): New method.
12580 * java/awt/TextField.java (dispatchEventImpl): New method.
12582 2002-03-24 Eric Blake <ebb9@email.byu.edu>
12584 * java/beans/IntrospectionException.java: Update to 1.4.
12585 * java/beans/PropertyVetoException.java: Ditto.
12587 2002-03-24 Eric Blake <ebb9@email.byu.edu>
12589 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
12590 Arrays.equals instead of ArrayHelper.equalsArray.
12592 2002-03-24 C. Brian Jones <cbj@gnu.org>
12594 * java/beans/Introspector.java: added new static final fields
12595 introduced in 1.2, lots of other updates remain to be done
12597 2002-03-24 C. Brian Jones <cbj@gnu.org>
12599 * java/beans/Introspector.java: reformatting
12601 2002-03-24 C. Brian Jones <cbj@gnu.org>
12603 * java/beans/Introspector.java: default beanInfoSearchPath will
12604 not include sun.beans.infos given we provide no such package and
12605 the API doesn't really require it; gnu.java.beans.info is the
12608 2002-03-24 Mark Wielaard <mark@klomp.org>
12610 Thanks to Orp developers
12611 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
12612 switch TRUE and FALSE return values.
12614 2002-03-23 Tom Tromey <tromey@redhat.com>
12616 * include/name-finder.h (_Jv_name_finder::myclose): New method.
12617 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
12619 2002-03-23 Michael Smith <msmith@spinnakernet.com>
12621 * java/util/GregorianCalendar.java (minimums, maximums): Correct
12622 MONTH entry. Fixes PR libgcj/6045.
12624 2002-03-23 Jeff Sturm <jsturm@one-point.com>
12626 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
12628 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12630 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
12632 * sysdep/powerpc/locks.h (write_barrier): New function.
12633 * sysdep/i386/locks.h (write_barrier): New function.
12635 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
12637 * include/jni.h Use correct C comments.
12639 2002-03-18 Tom Tromey <tromey@redhat.com>
12641 * include/jni.h (JNIIMPORT): New macro.
12642 (JNIEXPORT): Likewise.
12643 (JNICALL): Likewise.
12645 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12647 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
12650 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
12652 * include/i386-signal.h (old_i386_kernel_sigaction): New.
12653 INIT_SEGV: Use old_i386_kernel_sigaction.
12656 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12658 * java/lang/natSystem.cc (init_properties): Update VM version
12660 * configure.in: Set GCJVERSION.
12661 * acconfig.h: Add GCJVERSION.
12662 * configure: Rebuilt.
12663 * include/config.h.in: Rebuilt.
12665 2002-03-17 Anthony Green <green@redhat.com>
12667 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
12669 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12671 Build a single libgcj.so, without separate gc and zlib libraries.
12672 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
12673 SYS_ZLIBS if system zlib is used.
12674 * configure: Rebuilt.
12675 * Makefile.am: Use boehm-gc and zlib convenience libraries.
12676 * Makefile.in: Rebuilt.
12677 * libtool-version: Increment .so version number.
12679 * Makefile.am: Escape quotes in echo.
12680 * Makefile.in: Rebuilt.
12682 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12684 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
12685 * Makefile.in: Rebuilt.
12687 2002-03-15 Anthony Green <green@redhat.com>
12689 * configure.host (FILE): New macro for specifing File
12691 * configure: Rebuilt.
12692 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
12694 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
12696 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
12697 already implicitly brought in from libgcj.la.
12698 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
12699 * Makefile.in: Rebuilt.
12701 2002-03-15 Eric Blake <ebb9@email.byu.edu>
12703 * THANKS: Fix punctuation, alphabetization.
12705 2002-03-15 Tom Tromey <tromey@redhat.com>
12706 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12708 Fix for PR libgcj/5944.
12709 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
12711 2002-03-15 Anthony Green <green@redhat.com>
12713 * configure.in (tool_include_dir): Define.
12714 * configure: Rebuilt.
12715 * gcj/Makefile.am: Install libgcj-config.h relative to
12717 * gcj/Makefile: Rebuilt.
12718 * gcj/libgcj-config.h: Add warning comment.
12720 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
12722 * configure.host (powerpc*-darwin*): Enable interpreter.
12724 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12726 * include/posix.h: Add multiple include header protection.
12727 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
12729 2002-03-10 Adam Megacz <adam@xwt.org>
12731 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
12733 2002-03-10 Tom Tromey <tromey@redhat.com>
12735 * java/awt/GridLayout.java (layoutContainer): Handle case where
12736 there are no items in container.
12738 * java/lang/Win32Process.java: Added comment.
12739 * include/posix.h (_Jv_platform_close_on_exec): New function.
12741 * include/win32.h (_Jv_platform_close_on_exec): New function.
12742 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
12744 (accept): Likewise.
12745 * java/net/natPlainDatagramSocketImpl.cc (create): Set
12746 close-on-exec flag.
12747 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
12750 2002-03-09 Tom Tromey <tromey@redhat.com>
12752 * verify.cc (state::NO_STACK): New constant.
12753 (state::is_unmerged_ret_state): Handle case where stacktop is
12755 (state::merge): Handle NO_STACK merges.
12756 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
12757 for instruction following jsr.
12758 (stacktop, stackdepth): Removed unused variables.
12759 (pop_jump): Ignore case where all remaining states are skipped.
12761 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12763 * java/awt/ImageMediaEntry: Removed.
12764 * java/awt/MediaEntry: Removed.
12766 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12768 Hashtable synchronization for PowerPC.
12769 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
12770 slow_pthread_self. Set up symlink for sysdeps directory.
12771 * configure: Rebuild.
12772 * configure.host: Document more shell variables. Set sysdeps_dir
12773 for most platforms. Set slow_pthread_self for i686. Set
12774 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
12775 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
12776 that memory barrier is emitted where required.
12777 * prims.cc: 64-bit align static primitive class instances.
12778 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
12779 read_barrier() to enforce ordering of reads.
12780 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
12781 primitives for PowerPC.
12782 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
12783 moved from natObject.cc.
12784 * sysdep/alpha/locks.h: Likewise.
12785 * sysdep/ia64/locks.h: Likewise.
12786 * sysdep/generic/locks.h: Likewise.
12787 * java/lang/natObject.cc: Move thread synchronization primitives to
12788 system-dependent headers.
12790 2002-03-09 Adam Megacz <adam@xwt.org>
12792 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
12793 bytes read and no failure code returned.
12795 2002-03-09 Adam Megacz <adam@xwt.org>
12797 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
12798 definitions to simulate -mthreads.
12800 2002-03-09 Adam Megacz <adam@xwt.org>
12802 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
12803 avoid precision loss.
12805 2002-03-09 Per Bothner <per@bothner.com>
12807 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
12808 * gnu/gcj/xlib/XImage.java: Likewise.
12809 * gnu/gcj/xlib/XColor.java: Likewise.
12811 2002-03-09 Adam Megacz <adam@xwt.org>
12813 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
12814 IOException so that Throwable.printStackTrace fails correctly.
12816 2002-03-08 Adam Megacz <adam@xwt.org>
12818 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
12821 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12823 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
12826 2002-03-08 Tom Tromey <tromey@redhat.com>
12828 * include/jni.h: Include stdio.h.
12830 2002-03-08 Tom Tromey <tromey@redhat.com>
12832 * posix.cc (internal_gettimeofday): New function.
12833 (_Jv_select): Use it.
12835 2002-03-07 Adam Megacz <adam@xwt.org>
12837 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
12838 WIN32, and added thunks for read(), write(), and close().
12839 * java/net/natPlainSocketImpl.cc (accept, read, read):
12840 Disabled timeouts on WIN32 pending discussion.
12842 2002-03-07 Adam Megacz <adam@xwt.org>
12844 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
12845 returns jlong. Added implementation
12846 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
12848 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
12850 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
12852 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
12853 _Jv_platform_gettimeofday signature.
12855 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12857 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
12858 (read): Call recv() directly, not _Jv_recv().
12860 2002-03-06 Tom Tromey <tromey@redhat.com>
12862 * java/io/natFileDescriptorEcos.cc (init): Don't use
12864 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
12866 (init): Don't use GetStdHandle.
12868 * include/config.h.in: Rebuilt.
12869 * configure: Rebuilt.
12870 * Makefile.in: Rebuilt.
12872 2002-03-06 Adam Megacz <adam@xwt.org>
12874 * java/io/FileDescriptor.java: Initialize in/out/err in init().
12875 * java/io/natFileDescriptorWin32.cc (init()): Added function.
12876 * java/io/natFileDescriptorPosix.cc (init()): Added function.
12877 * java/io/natFileDescriptorEcos.cc (init()): Added function.
12879 2002-03-06 Eric Blake <ebb9@email.byu.edu>
12881 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
12882 the code for generating include/java-chartables.h.
12883 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
12884 merge with Classpath.
12885 * scripts/unicode-muncher.pl: Copy from Classpath.
12886 * scritps/MakeCharTables.java: New file.
12887 * gnu/gcj/convert/Blocks-3.txt: New file.
12888 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
12889 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
12890 * gnu/java/lang/CharData.java: Copy from Classpath.
12891 * Makefile.am (ordinary_java_source_files): Add
12892 gnu/java/lang/CharData.java.
12893 * configure.in: Remove --enable-fast-character option.
12894 * java/lang/Character.java: Merge algorithms and Javadoc with
12896 * java/lang/natCharacter.cc: Implement Unicode lookup table more
12898 * include/java-chardecomp.h: Regenerate.
12899 * include/java-chartables.h: Regenerate.
12901 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12903 * java/awt/MediaTracker.java: Implemented.
12904 * Makefile.am: Add MediaTracker.
12905 * Makefile.in: Rebuilt.
12907 2002-03-05 Tom Tromey <tromey@redhat.com>
12909 * java/lang/natPosixProcess.cc (fail): Removed.
12910 (startProcess): Simplified error-handling. Preserve
12911 LD_LIBRARY_PATH across exec.
12913 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
12914 AbstractMethodError.
12916 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12918 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
12919 * Makefile.in: Rebuilt.
12921 2002-03-03 Mark Wielaard <mark@klomp.org>
12923 * java/util/Timer (TaskQueue.stop): set elements to zero.
12925 2002-02-28 Anthony Green <green@redhat.com>
12927 * java/lang/reflect/natMethod.cc (result): Add void* element.
12928 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
12931 2002-02-27 Adam Megacz <adam@xwt.org>
12933 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
12936 2002-02-26 Tom Tromey <tromey@redhat.com>
12938 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
12939 * gij.cc (version): Use __VERSION__.
12940 * include/config.h.in: Rebuilt.
12941 * acconfig.h (GCJVERSION): Removed.
12942 * configure: Rebuilt.
12943 * configure.in (GCJVERSION): Removed.
12945 2002-02-26 Andreas Schwab <schwab@suse.de>
12947 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
12948 glibcpp_CXX, since libjava uses even another CXX.
12949 * aclocal.m4, configure: Regenerated.
12951 2002-02-26 Tom Tromey <tromey@redhat.com>
12953 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
12956 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12958 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
12959 dependency tracking for .java files.
12960 * Makefile.in: Rebuilt.
12962 2002-02-24 Adam Megacz <adam@xwt.org>
12964 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
12967 2002-02-24 Adam Megacz <adam@xwt.org>
12969 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
12970 for Win32, changed #ifdefs to check WIN32 instead of the
12971 (now-obsolete) USE_WINSOCK, and removed support for socket
12972 timeouts on Win32 pending further discussion.
12974 2002-02-24 Adam Megacz <adam@xwt.org>
12976 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
12977 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
12980 2002-02-24 Adam Megacz <adam@xwt.org>
12982 * java/lang/Win32Process.java: Created a dummy class to allow
12983 build process to run to completion.
12985 2002-02-24 Jeff Sturm <jsturm@one-point.com>
12987 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
12988 Define ffi_result union for ffi_call result. Cast
12989 ffi_result members to jvalue.
12991 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
12993 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
12994 * testsuite/Makefile.in: Likewise.
12996 2002-02-20 Per Bothner <per@bothner.com>
12998 * java/net/URL.java (getPath): New JDK 1.3 method.
13000 * java/net/URLStreamHandler.java (parseURL):
13001 It is wrong to prepend '/' to the file part of a relative url.
13003 * java/net/URLStreamHandler.java (parseURL):
13004 Minor optizations - append '/' rather than "/".
13006 * java/net/URLStreamHandler.java (parseURL):
13007 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
13008 We probably should canonicalize for a context-relative url, though.
13009 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
13010 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
13011 (sameFile): New method. Uses canonicalizeFilename.
13013 2002-02-22 Tom Tromey <tromey@redhat.com>
13015 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
13016 java.vendor and java.vm.vendor.
13017 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
13018 recent copyright date.
13019 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
13020 * gij.cc (version): Print `Inc'.
13022 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
13024 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
13025 * aclocal.m4, configure: Rebuilt.
13027 2002-02-20 Per Bothner <per@bothner.com>
13029 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
13030 and/or output streams immediately here, instead of using File.exists.
13031 (inputStream, outputStream): New fields to save open streams.
13032 (getInputStream, getOutputStream): Use already-opened streams.
13034 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
13036 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
13038 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
13039 * aclocal.m4, configure, Makefile.in: Rebuilt.
13041 2002-02-19 Tom Tromey <tromey@redhat.com>
13043 Fix for PR libgcj/5696:
13044 * verify.cc (is_assignable_from_slow): Never call
13045 _Jv_IsAssignableFrom.
13046 (verify_instructions_0): Added new debug statement.
13047 (state::print): Print information about whether local has
13049 (state::merge): Don't call note_variable when merging locals.
13050 (state::set_exception): Removed old FIXME comment.
13052 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13054 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
13055 enable SO_BROADCAST.
13057 2002-02-18 Jason Merrill <jason@redhat.com>
13059 * name-finder.cc (toHex): Use word mode, not long long.
13061 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
13063 2002-02-15 Tom Tromey <tromey@redhat.com>
13065 Fix for PR libgcj/5695:
13066 * verify.cc (is_assignable_from_slow): Check to see if target is
13067 an Object before checking to see if source is an interface.
13068 (verify_instructions_0) [op_invokeinterface]: Handle case where
13069 we're making an interface call on Object.
13071 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13073 * Makefile.in: Rebuilt with Eric's change below.
13075 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
13076 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
13077 Removed functions which are now implemented in Math.java.
13079 2002-02-14 Eric Blake <ebb9@email.byu.edu>
13081 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
13082 * Makefile.am (core_java_source_files): Add
13083 java/lang/StrictMath.java.
13084 * java/lang/Math.java: Merge with Classpath.
13085 * java/lang/StrictMath.java: New file - merge with Classpath.
13087 2002-02-14 Mark Wielaard <mark@klomp.org>
13089 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
13090 package as a workaround for gcj 3.0.x
13092 2002-02-14 Mark Wielaard <mark@klomp.org>
13094 * java/security/BasicPermission.java: extends with fully qualified
13095 classname as workaround for gcj 3.0.4.
13097 2002-02-14 Eric Blake <ebb9@email.byu.edu>
13099 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
13100 around gcj bug of wrong emitted qualifier for inherited method.
13101 * java/net/SocketImpl.java (setOption, getOption): Ditto.
13102 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
13103 constructor to reduce amount of emitted bytecode. While this
13104 happens to work around a jikes 1.15 bug, it is still a useful
13105 patch even for correct compilers.
13106 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
13107 * gnu/java/rmi/server/UnicastRemoteCall.java
13108 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
13110 2002-02-14 Eric Blake <ebb9@email.byu.edu>
13112 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
13113 * java/net/SocketImpl.java: Ditto.
13114 * java/rmi/server/RMIClassLoader.java: Ditto.
13115 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
13117 2002-02-14 Mark Wielaard <mark@klomp.org>
13119 Thanks to Takashi Okamoto
13120 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
13121 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
13122 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
13124 2002-02-13 Todd Stock <toddastock@yahoo.com>
13126 Fix for PR libgcj/5670:
13127 * verify.cc (is_assignable_from_slow): If `source' is interface,
13128 recursively look for merge with `target'.
13130 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
13132 * include/jni.h: Fix typo.
13134 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
13136 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
13139 2002-02-13 Todd Stock <toddastock@yahoo.com>
13141 Fix for PR libgcj/5671:
13142 * verify.cc (state::merge): Handle case where we're merging
13143 against an interface.
13145 2002-02-12 Tom Tromey <tromey@redhat.com>
13147 * exception.cc (std::abort): Mark as noreturn.
13149 2002-02-12 Adam Megacz <adam@xwt.org>
13151 * java/lang/Win32Process.java: Filled in a placeholder
13152 implementation so Win32 will build.
13154 2002-02-12 Adam Megacz <adam@xwt.org>
13156 * java/io/natFilePosix.cc: Copied this from natFile.cc.
13157 * java/io/natFile.cc: Removed from repository.
13158 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
13160 2002-02-12 Adam Megacz <adam@xwt.org>
13162 * win32.cc: Added two #includes to make win32.cc compile.
13164 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13166 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
13168 (_Jv_InitGC): Don't bother locking, as this is always called from a
13169 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
13171 2002-02-11 Adam Megacz <adam@xwt.org>
13173 * include/win32.h: Added _Jv_platform_gettimeofday.
13174 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
13176 2002-02-11 Adam Megacz <adam@xwt.org>
13178 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
13179 Added #undef STRICT to make windows.h and
13180 java/lang/reflect/Modifier.h cooperate.
13182 2002-02-11 Adam Megacz <adam@xwt.org>
13184 * java/io/natFileWin32.cc: Created a placeholder class with lots
13187 2002-02-11 Adam Megacz <adam@xwt.org>
13189 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
13190 std::abort() to simply abort(). Also added "fake" std::abort() so
13191 we can #include unwind-pe.h without having to link against
13194 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
13196 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
13198 2002-02-08 Tom Tromey <tromey@redhat.com>
13200 * interpret.cc (convert): New function.
13201 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
13205 2002-02-08 Anthony Green <green@redhat.com>
13207 * configure.host: Add support for xscale-elf embedded target.
13209 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
13211 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
13213 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
13216 2002-02-07 Tom Tromey <tromey@redhat.com>
13218 * java/io/natFile.cc (_access): Use __builtin_alloca.
13221 (getCanonicalPath): Likewise.
13222 (performList): Likewise.
13223 (performMkdir): Likewise.
13224 (performSetReadOnly): Likewise.
13225 (performRenameTo): Likewise.
13226 (performSetLastModified): Likewise.
13227 (performCreate): Likewise.
13228 (performDelete): Likewise.
13230 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13232 * HACKING: Fix URL for the automake-gcj.
13234 2002-02-07 Tom Tromey <tromey@redhat.com>
13236 * java/lang/natThrowable.cc: Updated copyright.
13237 * java/io/natFileWin32.cc: Updated copyright.
13238 * java/io/natFileDescriptorWin32.cc: Updated copyright.
13239 * win32-threads.cc: Updated copyright.
13240 * name-finder.cc: Updated copyright.
13241 * include/name-finder.h: Updated copyright.
13243 * include/name-finder.h: Conditionally include sys/wait.h.
13244 * include/config.h.in: Rebuilt.
13246 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
13247 Size buffer based on real size of string.
13250 (getCanonicalPath): Likewise.
13251 (performList): Likewise.
13252 (performMkdir): Likewise.
13253 (performSetReadOnly): Likewise.
13254 (unixroot): Removed.
13255 (performRenameTo): Likewise.
13256 (performSetLastModified): Likewise.
13257 (performCreate): Likewise.
13258 (performDelete): Likewise.
13259 (performListRoots): Always return new array.
13261 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
13262 * win32.cc (win32_exception_handler): Now static.
13263 * include/win32.h (_Jv_platform_initialize): Declare.
13264 (win32_exception_handler): Don't declare.
13265 * java/lang/natSystem.cc (currentTimeMillis): Use
13266 _Jv_platform_gettimeofday.
13267 * posix.cc (_Jv_platform_gettimeofday): Renamed.
13268 (_Jv_select): Use new name.
13269 (_Jv_platform_initialize): New function.
13270 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
13272 (_Jv_platform_initialize): Declare.
13274 * configure: Rebuilt.
13275 * configure.in: Removed unnecessary parens.
13277 2002-02-06 Adam Megacz <adam@xwt.org>
13279 * configure.in: Changed mingw) to *mingw*).
13280 * win32.cc: Created this file.
13281 * win32.h: Created this file.
13282 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
13283 win32_exception_handler from prims.cc to win32.cc, added
13285 * prims.cc: removed some #ifdef-WIN32'd headers which are no
13286 longer needed now that we have platform.h
13288 2002-02-06 Adam Megacz <adam@xwt.org>
13290 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
13291 use uint<n>_t instead of LONG and BYTE
13293 2002-02-06 Adam Megacz <adam@xwt.org>
13295 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
13297 2002-02-06 Anthony Green <green@redhat.com>
13299 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
13300 Implement missing method stubs.
13301 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
13303 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
13304 concept of timezones.
13305 (init_properties): Don't refer to _Jv_Environment_Properties
13306 when this feature is not available.
13307 * include/config.h.in: Rebuilt.
13308 * acconfig.h: Add DISABLE_MAIN_ARGS.
13309 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
13310 * configure: Rebuilt.
13311 * configure.in: Add --disable-main-args option. Test for
13312 opendir function. Replace AC_CHECK_SIZEOF with
13313 AC_COMPILE_CHECK_SIZEOF.
13314 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
13315 * aclocal.m4: Rebuilt.
13316 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
13318 2002-02-06 Tom Tromey <tromey@redhat.com>
13320 * verify.cc (require_array_type): If argument is a null array of
13321 references, return null as the element type.
13323 2002-02-06 Mark Wielaard <mark@klomp.org>
13325 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
13326 duplicate of a wide type.
13328 2002-02-06 Tom Tromey <tromey@redhat.com>
13330 * verify.cc (type::isnull): New method.
13331 (require_array_type): Handle case where array is null.
13332 (verify_instructions_0) [op_arraylength]: Likewise.
13334 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13336 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
13337 Symlink PLATFORMH to platform.h.
13338 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
13340 * java/lang/natSystem.cc: #include platform.h not posix.h.
13341 * Makefile.in: Rebuilt with libgcj automake.
13342 * configure: Rebuilt.
13344 2002-02-05 Richard Henderson <rth@redhat.com>
13346 * Makefile.in: Undo munging last change.
13348 2002-02-04 Adam Megacz <adam@xwt.org>
13350 * win32.cc: Created it.
13351 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
13352 which is set to posix.cc or win32.cc.
13353 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
13355 2002-02-04 Adam Megacz <adam@xwt.org>
13357 * configure.in: Corrected mingw case branches; added * before
13360 2002-02-04 Adam Megacz <adam@xwt.org>
13362 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
13363 if compiling for win32
13365 2002-02-04 Adam Megacz <adam@xwt.org>
13367 * win32-threads.cc: #undef STRICT after gc.h inclusion
13369 2002-02-02 Tom Tromey <tromey@redhat.com>
13371 * Makefile.in: Rebuilt.
13373 2002-02-02 Jason Merrill <jason@redhat.com>
13375 * Makefile.am (clean-nat): New target.
13377 2002-02-02 Tom Tromey <tromey@redhat.com>
13379 * java/io/natFile.cc: Removed old "FIXME" comments.
13381 2002-02-01 Tom Tromey <tromey@redhat.com>
13383 * java/lang/natPosixProcess.cc (myclose): New function.
13385 (startProcess): Likewise.
13387 2002-02-01 Adam Megacz <adam@xwt.org>
13389 * prims.cc: Added #undef STRICT after #include<windows.h>.
13391 2002-02-01 Adam Megacz <adam@xwt.org>
13394 (_Jv_CreateJavaVM): We now use WIN32 instead of
13395 USE_WIN32_SIGNALLING and USE_WINSOCK.
13396 (win32_exception_handler): Now throws an exception out of
13397 the signal handler; assumes SJLJ.
13399 2002-02-01 Adam Megacz <adam@xwt.org>
13401 * win32-threads.cc:
13402 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
13403 wait() algorithm to make it safe.
13404 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
13405 Added lazy creation of Win32 Events for better performance
13406 (really_start): This now uses GC_CreateThread so boehm-gc
13407 knows about new threads even when statically linked.
13409 2002-02-01 Adam Megacz <adam@xwt.org>
13411 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
13412 enable safer wait() algorithm.
13413 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
13414 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
13415 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
13416 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
13418 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
13420 2002-02-01 Adam Megacz <adam@xwt.org>
13422 * configure.in: Added support for mingw.
13423 * java/lang/Win32Process.java: Created as empty file.
13424 * java/lang/natWin32Process.cc: Created as empty file.
13426 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
13429 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
13430 for libiconv in LIBICONV variable.
13431 * configure: Regenerated.
13433 2002-01-31 Tom Tromey <tromey@redhat.com>
13435 * verify.cc (state::enter_subroutine): New method.
13436 (handle_jsr_insn): Use it.
13437 (state::merge): When processing a `ret', correctly use
13438 subroutine's state to determine which local variables have
13440 (push_exception_jump): Don't let stack overflow.
13442 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
13444 * gnu/gcj/convert/Convert.java: Only include one copyright year in
13447 2002-01-30 Tom Tromey <tromey@redhat.com>
13449 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
13450 parameter for `recv' return type.
13452 * verify.cc (handle_ret_insn): Check for subroutine merge here...
13453 (state::merge): ... not here.
13454 (subr_entry_info): New structure.
13455 (entry_points): New field.
13456 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
13459 2002-01-29 Tom Tromey <tromey@redhat.com>
13461 * java/awt/List.java (addNotify): Correctly check to see if peer
13464 * java/awt/GridLayout.java (layoutContainer): Use number of rows
13465 to compute height of each cell, and number of columns to compute
13466 width of each cell.
13467 * java/awt/Window.java (getOwnedWindows): Don't return null.
13468 * java/awt/FlowLayout.java (layoutContainer): Set width and height
13469 of component. Increment x using horizontal gap, not vertical
13472 2002-01-28 Tom Tromey <tromey@redhat.com>
13474 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
13475 `nargs' byte is number of words, not number of arguments.
13477 2002-01-27 Tom Tromey <tromey@redhat.com>
13479 * java/awt/event/MouseEvent.java (modifiers): Removed field.
13481 * java/awt/event/InputEvent.java (modifiers, when): Now
13484 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
13486 (state::merge): Use current class' class loader.
13487 (state::print): Print subroutine.
13488 (state::merge): Don't look at subroutine of unmerged `ret'.
13490 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
13492 * nogc.cc: Remove warnings.
13493 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
13496 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13498 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
13499 int, int): Remove empty "if" statement to work around compiler bug.
13500 (newPixels(int[], ColorModel, int, int): Likewise.
13502 2002-01-25 Per Bothner <per@bothner.com>
13504 * verify.cc (verify_fail): Change from being a top-level function
13505 to e method of _Jv_BytecodeVerifier. Emit current method name.
13506 Pass the current verifier to type: and state: methods as needed,
13507 for better error messages, and for resolve.
13508 (resolve): Pass current class's loader for Class.forName and
13509 _Jv_FindClassFromSignature, rather than using the default loader.
13510 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
13511 (get_type_val_for_signature): Make non-static.
13512 (various methods): Pass start_PC implicitly, not explicitly.
13514 2002-01-25 Tom Tromey <tromey@redhat.com>
13516 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
13517 loop termination condition.
13518 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
13521 2002-01-24 Tom Tromey <tromey@redhat.com>
13523 * java/awt/Shape.java: Merged with Classpath.
13524 * java/awt/Scrollbar.java: Merged with Classpath.
13526 * java/awt/Container.java (addNotify): Unconditionally call
13527 addNotifyContainerChildren and superclass addNotify.
13529 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
13530 getAlpha, not getBlue.
13532 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13534 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
13536 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
13537 (grabPixels(long)): Wait to be notified that the ImageProducer has
13540 2002-01-24 Per Bothner <per@bothner.com>
13542 * verify.cc (is_assignable_from_slow): If target is an interface,
13543 we must still check the source's superclass before giving up.
13545 2002-01-24 Tom Tromey <tromey@redhat.com>
13547 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
13549 2002-01-23 Tom Tromey <tromey@redhat.com>
13551 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
13554 * Makefile.in: Rebuilt.
13555 * Makefile.am (awt_java_source_files): Added new files.
13556 * java/awt/Toolkit.java: Merged with Classpath.
13557 * java/awt/PrintGraphics.java: New file from Classpath.
13558 * java/awt/PrintJob.java: New file from Classpath.
13559 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
13560 * java/awt/datatransfer/ClipboardOwner.java: New file from
13562 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
13563 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
13564 * java/awt/datatransfer/MimeTypeParseException.java: New file from
13566 * java/awt/datatransfer/StringSelection.java: New file from
13568 * java/awt/datatransfer/SystemFlavorMap.java: New file from
13570 * java/awt/datatransfer/Transferable.java: New file from
13572 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
13575 * Makefile.in: Rebuilt.
13576 * Makefile.am (awt_java_source_files): Added new files.
13577 * java/awt/image/AreaAveragingScaleFilter.java: New file from
13579 * java/awt/image/CropImageFilter.java: New file from Classpath.
13580 * java/awt/image/FilteredImageSource.java: New file from
13582 * java/awt/image/ImageFilter.java: New file from Classpath.
13583 * java/awt/image/MemoryImageSource.java: New file from Classpath.
13584 * java/awt/image/PixelGrabber.java: New file from Classpath.
13585 * java/awt/image/RGBImageFilter.java: New file from Classpath.
13586 * java/awt/image/ReplicateScaleFilter.java: New file from
13588 * java/awt/image/ImageProducer.java: Replaced with Classpath
13590 * java/awt/image/ImageObserver.java: Replaced with Classpath
13592 * java/awt/image/ImageConsumer.java: Replaced with Classpath
13594 * java/awt/GridBagConstraints.java (clone): Catch
13595 CloneNotSupportedException.
13597 2002-01-23 Per Bothner <per@bothner.com>
13599 * java/lang/reflect/natField.cc (setAddr): New function.
13600 Calls getAddr and then checks that the field isn't final.
13601 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
13602 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
13603 (set): Call setAddr before check that new value has right type,
13604 to better match specified semantics.
13606 2002-01-22 Tom Tromey <tromey@redhat.com>
13608 * java/awt/TextField.java: Replaced with Classpath version.
13609 * java/awt/TextArea.java: Replaced with Classpath version.
13610 * java/awt/TextComponent.java: Replaced with Classpath version.
13612 * java/awt/GridBagConstraints.java: Updated copyright.
13614 2002-01-22 Mark Wielaard <mark@klomp.org>
13616 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
13617 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
13618 java/awt/Dialog.java java/awt/FileDialog.java
13619 java/awt/Font.java java/awt/FontMetrics.java
13620 java/awt/Image.java java/awt/ImageMediaEntry.java
13621 java/awt/Insets.java java/awt/List.java
13622 java/awt/MediaEntry.java java/awt/MediaTracker.java
13623 java/awt/Menu.java java/awt/MenuBar.java
13624 java/awt/MenuContainer.java java/awt/MenuShortcut.java
13625 java/awt/PaintContext.java java/awt/Panel.java
13626 java/awt/PopupMenu.java java/awt/SystemColor.java
13627 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
13628 java/awt/peer/CheckboxMenuItemPeer.java
13629 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
13630 java/awt/peer/ComponentPeer.java
13631 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
13632 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
13633 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
13634 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
13635 java/awt/peer/MenuBarPeer.java
13636 java/awt/peer/MenuComponentPeer.java
13637 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
13638 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
13639 java/awt/peer/ScrollPanePeer.java
13640 java/awt/peer/ScrollbarPeer.java
13641 java/awt/peer/TextAreaPeer.java
13642 java/awt/peer/TextComponentPeer.java
13643 java/awt/peer/TextFieldPeer.java
13644 java/awt/peer/WindowPeer.java: Add license clarification.
13646 2002-01-22 Mark Wielaard <mark@klomp.org>
13648 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
13649 gnu/gcj/runtime/StringBuffer.java
13650 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
13651 gnu/java/awt/ComponentDataBlitOp.java
13652 gnu/java/awt/GLightweightPeer.java
13653 gnu/java/beans/BeanInfoEmbryo.java
13654 gnu/java/beans/EmptyBeanInfo.java
13655 gnu/java/beans/ExplicitBeanInfo.java
13656 gnu/java/beans/IntrospectionIncubator.java
13657 gnu/java/beans/editors/ColorEditor.java
13658 gnu/java/beans/editors/FontEditor.java
13659 gnu/java/beans/editors/NativeBooleanEditor.java
13660 gnu/java/beans/editors/NativeByteEditor.java
13661 gnu/java/beans/editors/NativeDoubleEditor.java
13662 gnu/java/beans/editors/NativeFloatEditor.java
13663 gnu/java/beans/editors/NativeIntEditor.java
13664 gnu/java/beans/editors/NativeLongEditor.java
13665 gnu/java/beans/editors/NativeShortEditor.java
13666 gnu/java/beans/editors/StringEditor.java
13667 gnu/java/beans/info/ComponentBeanInfo.java
13668 gnu/java/io/ClassLoaderObjectInputStream.java
13669 gnu/java/io/NullOutputStream.java
13670 gnu/java/io/ObjectIdentityWrapper.java
13671 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
13672 gnu/java/lang/reflect/TypeSignature.java
13673 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
13674 gnu/java/locale/Calendar_en.java
13675 gnu/java/locale/Calendar_nl.java
13676 gnu/java/locale/LocaleInformation.java
13677 gnu/java/locale/LocaleInformation_de.java
13678 gnu/java/locale/LocaleInformation_en.java
13679 gnu/java/locale/LocaleInformation_nl.java
13680 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
13681 gnu/java/rmi/registry/RegistryImpl.java
13682 gnu/java/rmi/rmic/Compile_gcj.java
13683 gnu/java/rmi/rmic/Compiler.java
13684 gnu/java/rmi/rmic/CompilerProcess.java
13685 gnu/java/rmi/rmic/RMIC.java
13686 gnu/java/rmi/rmic/TabbedWriter.java
13687 gnu/java/rmi/server/ProtocolConstants.java
13688 gnu/java/rmi/server/RMIDefaultSocketFactory.java
13689 gnu/java/rmi/server/RMIHashes.java
13690 gnu/java/rmi/server/RMIObjectInputStream.java
13691 gnu/java/rmi/server/RMIObjectOutputStream.java
13692 gnu/java/rmi/server/UnicastConnection.java
13693 gnu/java/rmi/server/UnicastConnectionManager.java
13694 gnu/java/rmi/server/UnicastRef.java
13695 gnu/java/rmi/server/UnicastRemoteCall.java
13696 gnu/java/rmi/server/UnicastRemoteStub.java
13697 gnu/java/rmi/server/UnicastServer.java
13698 gnu/java/rmi/server/UnicastServerRef.java
13699 gnu/java/security/provider/DefaultPolicy.java
13700 gnu/java/security/provider/Gnu.java
13701 gnu/java/security/provider/SHA.java
13702 gnu/java/security/provider/SHA1PRNG.java
13703 gnu/java/text/BaseBreakIterator.java
13704 gnu/java/text/CharacterBreakIterator.java
13705 gnu/java/text/LineBreakIterator.java
13706 gnu/java/text/SentenceBreakIterator.java
13707 gnu/java/text/WordBreakIterator.java
13708 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
13709 java/applet/AppletContext.java java/applet/AppletStub.java
13710 java/applet/AudioClip.java java/awt/AWTError.java
13711 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
13712 java/awt/AWTException.java java/awt/AWTPermission.java
13713 java/awt/ActiveEvent.java java/awt/BorderLayout.java
13714 java/awt/Button.java java/awt/Canvas.java
13715 java/awt/CardLayout.java java/awt/Checkbox.java
13716 java/awt/CheckboxGroup.java java/awt/Component.java
13717 java/awt/ComponentOrientation.java java/awt/Container.java
13718 java/awt/Dimension.java java/awt/Event.java
13719 java/awt/EventDispatchThread.java java/awt/EventQueue.java
13720 java/awt/FlowLayout.java java/awt/Frame.java
13721 java/awt/Graphics.java java/awt/Graphics2D.java
13722 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
13723 java/awt/IllegalComponentStateException.java
13724 java/awt/ItemSelectable.java java/awt/Label.java
13725 java/awt/LayoutManager.java java/awt/LayoutManager2.java
13726 java/awt/MenuComponent.java java/awt/MenuItem.java
13727 java/awt/Paint.java java/awt/Point.java
13728 java/awt/Rectangle.java java/awt/RenderingHints.java
13729 java/awt/Transparency.java java/awt/Window.java
13730 java/awt/color/ColorSpace.java
13731 java/awt/color/ICC_ColorSpace.java
13732 java/awt/color/ICC_Profile.java
13733 java/awt/event/HierarchyBoundsAdapter.java
13734 java/awt/event/HierarchyBoundsListener.java
13735 java/awt/event/HierarchyEvent.java
13736 java/awt/event/HierarchyListener.java
13737 java/awt/geom/AffineTransform.java
13738 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
13739 java/awt/geom/IllegalPathStateException.java
13740 java/awt/geom/Line2D.java
13741 java/awt/geom/NoninvertibleTransformException.java
13742 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
13743 java/awt/geom/Rectangle2D.java
13744 java/awt/geom/RectangularShape.java
13745 java/awt/geom/RoundRectangle2D.java
13746 java/awt/image/BufferedImage.java
13747 java/awt/image/ColorModel.java
13748 java/awt/image/ComponentColorModel.java
13749 java/awt/image/ComponentSampleModel.java
13750 java/awt/image/DataBuffer.java
13751 java/awt/image/DataBufferByte.java
13752 java/awt/image/DataBufferInt.java
13753 java/awt/image/DataBufferUShort.java
13754 java/awt/image/DirectColorModel.java
13755 java/awt/image/PackedColorModel.java
13756 java/awt/image/Raster.java java/awt/image/RasterOp.java
13757 java/awt/image/SampleModel.java
13758 java/awt/image/SinglePixelPackedSampleModel.java
13759 java/awt/image/WritableRaster.java
13760 java/beans/AppletInitializer.java
13761 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
13762 java/beans/Beans.java java/beans/Customizer.java
13763 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
13764 java/beans/FeatureDescriptor.java
13765 java/beans/IndexedPropertyDescriptor.java
13766 java/beans/IntrospectionException.java
13767 java/beans/Introspector.java java/beans/MethodDescriptor.java
13768 java/beans/ParameterDescriptor.java
13769 java/beans/PropertyChangeEvent.java
13770 java/beans/PropertyChangeListener.java
13771 java/beans/PropertyChangeSupport.java
13772 java/beans/PropertyDescriptor.java
13773 java/beans/PropertyEditor.java
13774 java/beans/PropertyEditorManager.java
13775 java/beans/PropertyEditorSupport.java
13776 java/beans/PropertyVetoException.java
13777 java/beans/SimpleBeanInfo.java
13778 java/beans/VetoableChangeListener.java
13779 java/beans/VetoableChangeSupport.java
13780 java/beans/Visibility.java
13781 java/beans/beancontext/BeanContext.java
13782 java/beans/beancontext/BeanContextChild.java
13783 java/beans/beancontext/BeanContextChildComponentProxy.java
13784 java/beans/beancontext/BeanContextChildSupport.java
13785 java/beans/beancontext/BeanContextContainerProxy.java
13786 java/beans/beancontext/BeanContextEvent.java
13787 java/beans/beancontext/BeanContextMembershipEvent.java
13788 java/beans/beancontext/BeanContextMembershipListener.java
13789 java/beans/beancontext/BeanContextProxy.java
13790 java/beans/beancontext/BeanContextServiceAvailableEvent.java
13791 java/beans/beancontext/BeanContextServiceProvider.java
13792 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
13793 java/beans/beancontext/BeanContextServiceRevokedEvent.java
13794 java/beans/beancontext/BeanContextServiceRevokedListener.java
13795 java/beans/beancontext/BeanContextServices.java
13796 java/beans/beancontext/BeanContextServicesListener.java
13797 java/io/BufferedInputStream.java
13798 java/io/BufferedOutputStream.java java/io/BufferedReader.java
13799 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
13800 java/io/ByteArrayOutputStream.java
13801 java/io/CharArrayReader.java java/io/CharArrayWriter.java
13802 java/io/CharConversionException.java java/io/DataInput.java
13803 java/io/DataInputStream.java java/io/DataOutput.java
13804 java/io/EOFException.java java/io/Externalizable.java
13805 java/io/FileFilter.java java/io/FileNotFoundException.java
13806 java/io/FilePermission.java java/io/FileReader.java
13807 java/io/FileWriter.java java/io/FilenameFilter.java
13808 java/io/FilterInputStream.java java/io/FilterOutputStream.java
13809 java/io/FilterReader.java java/io/FilterWriter.java
13810 java/io/IOException.java java/io/InputStream.java
13811 java/io/InterruptedIOException.java
13812 java/io/InvalidClassException.java
13813 java/io/InvalidObjectException.java
13814 java/io/NotActiveException.java
13815 java/io/NotSerializableException.java java/io/ObjectInput.java
13816 java/io/ObjectInputStream.java
13817 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
13818 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
13819 java/io/ObjectStreamConstants.java
13820 java/io/ObjectStreamException.java
13821 java/io/ObjectStreamField.java
13822 java/io/OptionalDataException.java java/io/OutputStream.java
13823 java/io/PipedInputStream.java java/io/PipedOutputStream.java
13824 java/io/PipedReader.java java/io/PipedWriter.java
13825 java/io/PrintWriter.java java/io/PushbackInputStream.java
13826 java/io/PushbackReader.java java/io/Reader.java
13827 java/io/SequenceInputStream.java java/io/Serializable.java
13828 java/io/SerializablePermission.java
13829 java/io/StreamCorruptedException.java
13830 java/io/StreamTokenizer.java
13831 java/io/StringBufferInputStream.java java/io/StringReader.java
13832 java/io/StringWriter.java java/io/SyncFailedException.java
13833 java/io/UTFDataFormatException.java
13834 java/io/UnsupportedEncodingException.java
13835 java/io/WriteAbortedException.java java/io/Writer.java
13836 java/lang/AbstractMethodError.java
13837 java/lang/ArithmeticException.java
13838 java/lang/ArrayIndexOutOfBoundsException.java
13839 java/lang/ArrayStoreException.java java/lang/Boolean.java
13840 java/lang/Byte.java java/lang/CharSequence.java
13841 java/lang/ClassCastException.java
13842 java/lang/ClassCircularityError.java
13843 java/lang/ClassFormatError.java
13844 java/lang/ClassNotFoundException.java
13845 java/lang/CloneNotSupportedException.java
13846 java/lang/Cloneable.java java/lang/Comparable.java
13847 java/lang/Compiler.java java/lang/Double.java
13848 java/lang/Error.java java/lang/Exception.java
13849 java/lang/ExceptionInInitializerError.java
13850 java/lang/Float.java java/lang/IllegalAccessError.java
13851 java/lang/IllegalAccessException.java
13852 java/lang/IllegalArgumentException.java
13853 java/lang/IllegalMonitorStateException.java
13854 java/lang/IllegalStateException.java
13855 java/lang/IllegalThreadStateException.java
13856 java/lang/IncompatibleClassChangeError.java
13857 java/lang/IndexOutOfBoundsException.java
13858 java/lang/InheritableThreadLocal.java
13859 java/lang/InstantiationError.java
13860 java/lang/InstantiationException.java java/lang/Integer.java
13861 java/lang/InternalError.java
13862 java/lang/InterruptedException.java
13863 java/lang/LinkageError.java java/lang/Long.java
13864 java/lang/NegativeArraySizeException.java
13865 java/lang/NoClassDefFoundError.java
13866 java/lang/NoSuchFieldError.java
13867 java/lang/NoSuchFieldException.java
13868 java/lang/NoSuchMethodError.java
13869 java/lang/NoSuchMethodException.java
13870 java/lang/NullPointerException.java java/lang/Number.java
13871 java/lang/NumberFormatException.java
13872 java/lang/OutOfMemoryError.java java/lang/Package.java
13873 java/lang/Process.java java/lang/Runnable.java
13874 java/lang/RuntimeException.java
13875 java/lang/RuntimePermission.java
13876 java/lang/SecurityException.java
13877 java/lang/SecurityManager.java java/lang/Short.java
13878 java/lang/StackOverflowError.java java/lang/StringBuffer.java
13879 java/lang/StringIndexOutOfBoundsException.java
13880 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
13881 java/lang/ThreadLocal.java java/lang/UnknownError.java
13882 java/lang/UnsatisfiedLinkError.java
13883 java/lang/UnsupportedClassVersionError.java
13884 java/lang/UnsupportedOperationException.java
13885 java/lang/VerifyError.java java/lang/VirtualMachineError.java
13886 java/lang/Void.java java/lang/ref/PhantomReference.java
13887 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
13888 java/lang/ref/SoftReference.java
13889 java/lang/ref/WeakReference.java
13890 java/lang/reflect/AccessibleObject.java
13891 java/lang/reflect/InvocationTargetException.java
13892 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
13893 java/lang/reflect/ReflectPermission.java
13894 java/math/BigDecimal.java java/math/BigInteger.java
13895 java/net/Authenticator.java java/net/BindException.java
13896 java/net/ConnectException.java java/net/ContentHandler.java
13897 java/net/ContentHandlerFactory.java
13898 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
13899 java/net/FileNameMap.java java/net/MalformedURLException.java
13900 java/net/MulticastSocket.java java/net/NetPermission.java
13901 java/net/NoRouteToHostException.java
13902 java/net/PasswordAuthentication.java
13903 java/net/ProtocolException.java java/net/ServerSocket.java
13904 java/net/Socket.java java/net/SocketException.java
13905 java/net/SocketImpl.java java/net/SocketImplFactory.java
13906 java/net/SocketOptions.java java/net/SocketPermission.java
13907 java/net/URLDecoder.java java/net/URLEncoder.java
13908 java/net/URLStreamHandlerFactory.java
13909 java/net/UnknownHostException.java
13910 java/net/UnknownServiceException.java
13911 java/rmi/AccessException.java
13912 java/rmi/AlreadyBoundException.java
13913 java/rmi/ConnectException.java
13914 java/rmi/ConnectIOException.java
13915 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
13916 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
13917 java/rmi/NotBoundException.java
13918 java/rmi/RMISecurityException.java
13919 java/rmi/RMISecurityManager.java java/rmi/Remote.java
13920 java/rmi/RemoteException.java java/rmi/ServerError.java
13921 java/rmi/ServerException.java
13922 java/rmi/ServerRuntimeException.java
13923 java/rmi/StubNotFoundException.java
13924 java/rmi/UnexpectedException.java
13925 java/rmi/UnknownHostException.java
13926 java/rmi/UnmarshalException.java
13927 java/rmi/activation/Activatable.java
13928 java/rmi/activation/ActivateFailedException.java
13929 java/rmi/activation/ActivationDesc.java
13930 java/rmi/activation/ActivationException.java
13931 java/rmi/activation/ActivationGroup.java
13932 java/rmi/activation/ActivationGroupDesc.java
13933 java/rmi/activation/ActivationGroupID.java
13934 java/rmi/activation/ActivationID.java
13935 java/rmi/activation/ActivationInstantiator.java
13936 java/rmi/activation/ActivationMonitor.java
13937 java/rmi/activation/ActivationSystem.java
13938 java/rmi/activation/Activator.java
13939 java/rmi/activation/UnknownGroupException.java
13940 java/rmi/activation/UnknownObjectException.java
13941 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
13942 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
13943 java/rmi/registry/Registry.java
13944 java/rmi/registry/RegistryHandler.java
13945 java/rmi/server/ExportException.java
13946 java/rmi/server/LoaderHandler.java
13947 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
13948 java/rmi/server/Operation.java
13949 java/rmi/server/RMIClassLoader.java
13950 java/rmi/server/RMIClientSocketFactory.java
13951 java/rmi/server/RMIFailureHandler.java
13952 java/rmi/server/RMIServerSocketFactory.java
13953 java/rmi/server/RMISocketFactory.java
13954 java/rmi/server/RemoteCall.java
13955 java/rmi/server/RemoteObject.java
13956 java/rmi/server/RemoteRef.java
13957 java/rmi/server/RemoteServer.java
13958 java/rmi/server/RemoteStub.java
13959 java/rmi/server/ServerCloneException.java
13960 java/rmi/server/ServerNotActiveException.java
13961 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
13962 java/rmi/server/SkeletonMismatchException.java
13963 java/rmi/server/SkeletonNotFoundException.java
13964 java/rmi/server/SocketSecurityException.java
13965 java/rmi/server/UID.java
13966 java/rmi/server/UnicastRemoteObject.java
13967 java/rmi/server/Unreferenced.java
13968 java/security/AccessControlContext.java
13969 java/security/AccessControlException.java
13970 java/security/AccessController.java
13971 java/security/AlgorithmParameterGenerator.java
13972 java/security/AlgorithmParameterGeneratorSpi.java
13973 java/security/AlgorithmParameters.java
13974 java/security/AlgorithmParametersSpi.java
13975 java/security/AllPermission.java
13976 java/security/BasicPermission.java
13977 java/security/Certificate.java java/security/CodeSource.java
13978 java/security/DigestException.java
13979 java/security/DigestInputStream.java
13980 java/security/DigestOutputStream.java
13981 java/security/DomainCombiner.java
13982 java/security/DummyKeyPairGenerator.java
13983 java/security/DummyMessageDigest.java
13984 java/security/DummySignature.java
13985 java/security/GeneralSecurityException.java
13986 java/security/Guard.java java/security/GuardedObject.java
13987 java/security/Identity.java java/security/IdentityScope.java
13988 java/security/InvalidAlgorithmParameterException.java
13989 java/security/InvalidKeyException.java
13990 java/security/InvalidParameterException.java
13991 java/security/Key.java java/security/KeyException.java
13992 java/security/KeyFactory.java java/security/KeyFactorySpi.java
13993 java/security/KeyManagementException.java
13994 java/security/KeyPair.java java/security/KeyPairGenerator.java
13995 java/security/KeyPairGeneratorSpi.java
13996 java/security/KeyStore.java
13997 java/security/KeyStoreException.java
13998 java/security/KeyStoreSpi.java
13999 java/security/MessageDigest.java
14000 java/security/MessageDigestSpi.java
14001 java/security/NoSuchAlgorithmException.java
14002 java/security/NoSuchProviderException.java
14003 java/security/Permission.java
14004 java/security/PermissionCollection.java
14005 java/security/Permissions.java java/security/Policy.java
14006 java/security/Principal.java java/security/PrivateKey.java
14007 java/security/PrivilegedAction.java
14008 java/security/PrivilegedActionException.java
14009 java/security/PrivilegedExceptionAction.java
14010 java/security/ProtectionDomain.java
14011 java/security/Provider.java
14012 java/security/ProviderException.java
14013 java/security/PublicKey.java
14014 java/security/SecureClassLoader.java
14015 java/security/SecureRandom.java
14016 java/security/SecureRandomSpi.java java/security/Security.java
14017 java/security/SecurityPermission.java
14018 java/security/Signature.java
14019 java/security/SignatureException.java
14020 java/security/SignatureSpi.java
14021 java/security/SignedObject.java java/security/Signer.java
14022 java/security/UnrecoverableKeyException.java
14023 java/security/UnresolvedPermission.java
14024 java/security/acl/Acl.java java/security/acl/AclEntry.java
14025 java/security/acl/AclNotFoundException.java
14026 java/security/acl/Group.java
14027 java/security/acl/LastOwnerException.java
14028 java/security/acl/NotOwnerException.java
14029 java/security/acl/Owner.java java/security/acl/Permission.java
14030 java/security/cert/CRL.java
14031 java/security/cert/CRLException.java
14032 java/security/cert/Certificate.java
14033 java/security/cert/CertificateEncodingException.java
14034 java/security/cert/CertificateException.java
14035 java/security/cert/CertificateExpiredException.java
14036 java/security/cert/CertificateFactory.java
14037 java/security/cert/CertificateFactorySpi.java
14038 java/security/cert/CertificateNotYetValidException.java
14039 java/security/cert/CertificateParsingException.java
14040 java/security/cert/X509CRL.java
14041 java/security/cert/X509CRLEntry.java
14042 java/security/cert/X509Certificate.java
14043 java/security/cert/X509Extension.java
14044 java/security/interfaces/DSAKey.java
14045 java/security/interfaces/DSAKeyPairGenerator.java
14046 java/security/interfaces/DSAParams.java
14047 java/security/interfaces/DSAPrivateKey.java
14048 java/security/interfaces/DSAPublicKey.java
14049 java/security/interfaces/RSAKey.java
14050 java/security/interfaces/RSAPrivateCrtKey.java
14051 java/security/interfaces/RSAPrivateKey.java
14052 java/security/interfaces/RSAPublicKey.java
14053 java/security/spec/AlgorithmParameterSpec.java
14054 java/security/spec/DSAParameterSpec.java
14055 java/security/spec/DSAPrivateKeySpec.java
14056 java/security/spec/DSAPublicKeySpec.java
14057 java/security/spec/EncodedKeySpec.java
14058 java/security/spec/InvalidKeySpecException.java
14059 java/security/spec/InvalidParameterSpecException.java
14060 java/security/spec/KeySpec.java
14061 java/security/spec/PKCS8EncodedKeySpec.java
14062 java/security/spec/RSAKeyGenParameterSpec.java
14063 java/security/spec/RSAPrivateCrtKeySpec.java
14064 java/security/spec/RSAPrivateKeySpec.java
14065 java/security/spec/RSAPublicKeySpec.java
14066 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
14067 java/sql/BatchUpdateException.java java/sql/Blob.java
14068 java/sql/CallableStatement.java java/sql/Clob.java
14069 java/sql/Connection.java java/sql/DataTruncation.java
14070 java/sql/DatabaseMetaData.java java/sql/Date.java
14071 java/sql/Driver.java java/sql/DriverManager.java
14072 java/sql/DriverPropertyInfo.java
14073 java/sql/PreparedStatement.java java/sql/Ref.java
14074 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
14075 java/sql/SQLData.java java/sql/SQLException.java
14076 java/sql/SQLInput.java java/sql/SQLOutput.java
14077 java/sql/SQLWarning.java java/sql/Statement.java
14078 java/sql/Struct.java java/sql/Time.java
14079 java/sql/Timestamp.java java/sql/Types.java
14080 java/text/Annotation.java
14081 java/text/AttributedCharacterIterator.java
14082 java/text/AttributedString.java
14083 java/text/AttributedStringIterator.java
14084 java/text/BreakIterator.java java/text/CharacterIterator.java
14085 java/text/ChoiceFormat.java java/text/Collator.java
14086 java/text/DateFormat.java java/text/DateFormatSymbols.java
14087 java/text/DecimalFormat.java
14088 java/text/DecimalFormatSymbols.java
14089 java/text/FieldPosition.java java/text/Format.java
14090 java/text/MessageFormat.java java/text/NumberFormat.java
14091 java/text/ParseException.java java/text/ParsePosition.java
14092 java/text/SimpleDateFormat.java
14093 java/text/StringCharacterIterator.java
14094 java/util/AbstractCollection.java java/util/AbstractList.java
14095 java/util/AbstractMap.java
14096 java/util/AbstractSequentialList.java
14097 java/util/AbstractSet.java java/util/ArrayList.java
14098 java/util/Arrays.java java/util/BasicMapEntry.java
14099 java/util/BitSet.java java/util/Calendar.java
14100 java/util/Collection.java java/util/Collections.java
14101 java/util/Comparator.java
14102 java/util/ConcurrentModificationException.java
14103 java/util/Date.java java/util/Dictionary.java
14104 java/util/EmptyStackException.java java/util/Enumeration.java
14105 java/util/EventListener.java java/util/EventObject.java
14106 java/util/GregorianCalendar.java java/util/HashMap.java
14107 java/util/HashSet.java java/util/Hashtable.java
14108 java/util/IdentityHashMap.java java/util/Iterator.java
14109 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
14110 java/util/LinkedList.java java/util/List.java
14111 java/util/ListIterator.java java/util/ListResourceBundle.java
14112 java/util/Locale.java java/util/Map.java
14113 java/util/MissingResourceException.java
14114 java/util/NoSuchElementException.java
14115 java/util/Observable.java java/util/Observer.java
14116 java/util/Properties.java java/util/PropertyPermission.java
14117 java/util/PropertyResourceBundle.java java/util/Random.java
14118 java/util/RandomAccess.java java/util/ResourceBundle.java
14119 java/util/Set.java java/util/SimpleTimeZone.java
14120 java/util/SortedMap.java java/util/SortedSet.java
14121 java/util/Stack.java java/util/StringTokenizer.java
14122 java/util/TimeZone.java java/util/Timer.java
14123 java/util/TimerTask.java
14124 java/util/TooManyListenersException.java
14125 java/util/TreeMap.java java/util/TreeSet.java
14126 java/util/Vector.java java/util/WeakHashMap.java
14127 java/util/jar/Attributes.java java/util/jar/JarEntry.java
14128 java/util/jar/JarException.java java/util/jar/JarFile.java
14129 java/util/jar/JarInputStream.java
14130 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
14131 java/util/zip/Adler32.java java/util/zip/CRC32.java
14132 java/util/zip/CheckedInputStream.java
14133 java/util/zip/CheckedOutputStream.java
14134 java/util/zip/Checksum.java
14135 java/util/zip/DataFormatException.java
14136 java/util/zip/Deflater.java
14137 java/util/zip/DeflaterOutputStream.java
14138 java/util/zip/GZIPInputStream.java
14139 java/util/zip/GZIPOutputStream.java
14140 java/util/zip/Inflater.java
14141 java/util/zip/InflaterInputStream.java
14142 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
14143 java/util/zip/ZipException.java java/util/zip/ZipFile.java
14144 java/util/zip/ZipInputStream.java
14145 java/util/zip/ZipOutputStream.java
14146 javax/naming/BinaryRefAddr.java
14147 javax/naming/InvalidNameException.java javax/naming/Name.java
14148 javax/naming/NamingException.java javax/naming/RefAddr.java
14149 javax/naming/StringRefAddr.java: Add license clarification.
14151 2002-01-22 Tom Tromey <tromey@redhat.com>
14153 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
14154 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
14155 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
14157 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
14158 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
14159 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
14160 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
14161 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
14162 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
14163 * java/awt/peer/FontPeer.java: Replace with Classpath version.
14164 * java/awt/peer/FramePeer.java: Replace with Classpath version.
14165 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
14166 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
14167 * java/awt/peer/ListPeer.java: Replace with Classpath version.
14168 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
14169 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
14170 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
14171 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
14172 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
14173 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
14174 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
14175 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
14176 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
14177 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
14178 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
14179 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
14180 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
14181 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
14182 (minimumSize, preferredSize, reshape): Likewise.
14183 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
14184 getColorModel): New methods.
14185 * java/awt/PopupMenu.java: Merged with Classpath.
14186 * java/awt/MenuBar.java: Merged with Classpath.
14187 * java/awt/SystemColor.java: Replace with Classpath version.
14188 * java/awt/Panel.java: Merged with Classpath.
14189 * java/awt/PaintContext.java: Updated copyright.
14190 * java/awt/MenuShortcut.java: Merged with Classpath.
14191 * java/awt/MenuContainer.java: Merged with Classpath.
14192 * java/awt/Menu.java: Merged with Classpath.
14193 * java/awt/MediaEntry.java: New file from Classpath.
14194 * java/awt/MediaTracker.java: New file from Classpath.
14195 * java/awt/List.java: Merged with Classpath version.
14196 * java/awt/Insets.java: Merged with Classpath version.
14197 * java/awt/ImageMediaEntry.java: New file from Classpath.
14198 * java/awt/Image.java: Replaced with Classpath version.
14199 * java/awt/FontMetrics.java: Merged with Classpath version.
14200 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
14202 * java/awt/Font.java: Merged with Classpath version.
14203 * java/awt/Dialog.java: Merged with Classpath version.
14204 * java/awt/Color.java: Merged with Classpath version.
14205 * java/awt/Choice.java: Merged with Classpath version.
14206 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
14207 * java/awt/Adjustable.java: Replace with Classpath version.
14208 * java/awt/MenuItem.java (paramString): Don't include class name
14209 or brackets. Call superclass paramString.
14210 * java/awt/MenuComponent.java (toString): Call paramString.
14211 (paramString): Compute string; don't call toString.
14212 * java/awt/Label.java (paramString): Don't include class name
14213 or brackets. Call superclass paramString.
14214 * java/awt/Checkbox.java (paramString): Don't include class name
14215 or brackets. Call superclass paramString.
14216 * java/awt/Button.java (paramString): Don't include class name or
14217 brackets. Call superclass paramString.
14218 * java/awt/MenuComponent.java (getTreeLock): Now protected.
14220 2002-01-20 Andreas Schwab <schwab@suse.de>
14222 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
14223 function and of parameter recv_func to ssize_t, as specified by
14226 2002-01-19 Per Bothner <per@bothner.com>
14228 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
14229 uncompressed_size in readiness for next entry.
14231 2002-01-18 Tom Tromey <tromey@redhat.com>
14233 * java/net/natPlainSocketImpl.cc: Include
14234 IllegalArgumentException.h.
14235 (_Jv_recv): New template function.
14236 (BooleanClass): Removed.
14237 (read): Use _Jv_recv.
14238 (setOption): Use Boolean::class$. Throw exception if object is
14239 not Boolean or Integer.
14241 2002-01-17 Tom Tromey <tromey@redhat.com>
14243 * java/awt/MenuComponent.java: Merged with Classpath.
14244 * java/awt/MenuItem.java: Merged with Classpath.
14245 * java/awt/Button.java: Merged with Classpath.
14247 * java/awt/ActiveEvent.java: Updated copyright.
14249 * java/awt/AWTError.java: Replaced with Classpath version.
14250 * java/awt/AWTException.java: Replaced with Classpath version.
14251 * java/awt/IllegalComponentStateException.java: Replaced with
14254 2002-01-16 Tom Tromey <tromey@redhat.com>
14256 * java/awt/Canvas.java (serialVersionUID): New constant.
14257 Updated copyright. Added javadoc from Classpath.
14258 * java/awt/ItemSelectable.java: Replaced with Classpath version.
14260 * java/awt/CheckboxGroup.java: Merged with Classpath.
14261 * java/awt/Checkbox.java: Merged with Classpath.
14263 * java/awt/Dimension.java: Updated copyright. Added javadoc from
14265 * java/awt/Point.java: Updated copyright.
14267 * java/awt/Point.java (toString): Use getClass().getName().
14270 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
14272 (hash): Correctly compute initial value for `h'.
14274 * java/awt/Label.java: Merged with Classpath.
14276 2002-01-15 Tom Tromey <tromey@redhat.com>
14278 * java/awt/AWTPermission.java: Updated copyright.
14280 * java/awt/LayoutManager2.java: Merged with Classpath.
14281 * java/awt/LayoutManager.java: Merged with Classpath.
14282 * java/awt/GridLayout.java: Updated copyright and javadoc.
14283 (getSize): Use `parent.ncomponents'. Handle insets.
14284 (layoutContainer): Use `parent.ncomponents'. Handle case where
14285 there are fewer children than columns. Correctly compute size of
14286 each cell in the grid. Handle case where there isn't enough
14288 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
14290 (gotoComponent): Use parent.ncomponents. Ensure child exists
14291 before calling setVisible() on it. Last item is `num - 1', not
14293 (layoutContainer): Hoist invariants out of loop.
14295 Start of AWT merge with Classpath:
14296 * Makefile.in: Rebuilt.
14297 * Makefile.am (awt_java_source_files): Reference files in
14298 gnu/java/awt, not gnu/gcj/awt.
14299 * java/awt/image/BufferedImage.java: Updated copyright.
14300 * java/awt/image/ComponentColorModel.java: Updated copyright.
14301 * java/awt/image/ComponentSampleModel.java: Updated copyright.
14302 * java/awt/image/DataBuffer.java: Updated copyright.
14303 * java/awt/image/DataBufferByte.java: Updated copyright.
14304 * java/awt/image/DataBufferInt.java: Updated copyright.
14305 * java/awt/image/DataBufferUShort.java: Updated copyright.
14306 * java/awt/image/IndexColorModel.java: Updated copyright.
14307 * java/awt/image/PackedColorModel.java: Updated copyright.
14308 * java/awt/image/Raster.java: Updated copyright.
14309 * java/awt/image/RasterOp.java: Updated copyright.
14310 * java/awt/image/SampleModel.java: Updated copyright.
14311 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
14312 * java/awt/image/WritableRaster.java: Updated copyright.
14313 * java/awt/color/ColorSpace.java: Updated copyright.
14314 * java/awt/color/ICC_ColorSpace.java: Updated copyright
14315 * java/awt/color/ICC_Profile.java: Updated copyright.
14316 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
14317 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
14318 * java/awt/event/HierarchyEvent.java: Updated copyright.
14319 * java/awt/event/HierarchyListener.java: Updated copyright.
14320 * java/awt/geom/AffineTransform.java: Updated copyright.
14321 * java/awt/geom/Dimension2D.java: Updated copyright.
14322 * java/awt/geom/Ellipse2D.java: Updated copyright.
14323 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
14324 * java/awt/geom/Line2D.java: Updated copyright.
14325 * java/awt/geom/NoninvertibleTransformException.java: Updated
14327 * java/awt/geom/PathIterator.java: Updated copyright.
14328 * java/awt/geom/Point2D.java: Updated copyright.
14329 * java/awt/geom/Rectangle2D.java: Updated copyright.
14330 * java/awt/geom/RectangularShape.java: Updated copyright.
14331 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
14332 * java/awt/Toolkit.java: Updated import for file moves.
14333 * java/awt/Rectangle.java: Updated copyright; added javadoc from
14335 (hashCode): New method from Classpath.
14336 * java/awt/Graphics2D.java: Updated copyright.
14337 * java/awt/Transparency.java: Updated copyright.
14338 * java/awt/Paint.java: Updated copyright.
14339 * java/awt/Graphics.java: New version from Classpath.
14340 * java/awt/EventDispatchThread.java: Updated copyright.
14341 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
14343 (gotoComponent): Wrap around on next/previous.
14344 * gnu/gcj/awt/BitMaskExtent.java: Removed.
14345 * gnu/gcj/awt/Buffers.java: Removed.
14346 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
14347 * gnu/gcj/awt/GLightweightPeer.java: Removed.
14348 * gnu/java/awt/BitMaskExtent.java: Added.
14349 * gnu/java/awt/Buffers.java: Added.
14350 * gnu/java/awt/ComponentDataBlitOp.java: Added.
14351 * gnu/java/awt/GLightweightPeer.java: Added.
14352 * java/awt/geom/Line2D.java (clone): Ignore
14353 CloneNotSupportedException.
14354 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
14355 * java/awt/Frame.java: Merged with Classpath.
14356 * java/awt/RenderingHints.java: Copyright update.
14357 * java/awt/Paint.java: Copyright update.
14358 * java/awt/image/DirectColorModel.java: Merged with Classpath.
14359 * java/awt/image/ColorModel.java: Merged with Classpath.
14360 * java/awt/Window.java (show): New Implementation from Classpath.
14361 (isShowing): Use super.isShowing().
14362 * java/awt/EventQueue.java: Merged with Classpath.
14363 * java/awt/AWTEventMulticaster.java (save): Throw
14365 (saveInternal): Likewise.
14366 * java/awt/AWTEvent.java: Now implements Serializable.
14367 * java/awt/Event.java: Copyright update.
14368 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
14369 * java/awt/image/BufferedImage.java: Copyright update.
14370 * java/awt/GraphicsConfiguration.java: Copyright update.
14371 * java/awt/Component.java: (addNotify): Don't call
14372 addNotifyContainerChildren().
14373 (addNotifyContainerChildren): Removed.
14374 (setPeer): New method from Classpath.
14375 (setTreeLock): Likewise.
14376 (setVisible): Rewrote.
14379 (validate): Set `valid'.
14380 (checkImage(Image,ImageObserver)): Implementation from Classpath.
14381 (createImage(ImageProducer)): Likewise.
14382 (prepareImage): Likewise.
14383 * java/awt/Container.java (addImpl): Handle case where constraint
14384 is not a String. Post event via system event queue.
14385 (remove): Post event via system event queue.
14386 (validateTree): Only validate child if it is invalid.
14387 (getAlignmentX): Call super method as default.
14388 (getAlignmentY): Likewise.
14389 (addContainerListener): Now synchronized.
14390 (removeContainerListener): Likewise.
14391 (addNotifyContainerChildren): Now private.
14392 * java/awt/ComponentOrientation.java: Updated copyright. Added
14394 * java/awt/FlowLayout.java (serialVersionUID): New field.
14395 (setAlignment): Better exception message.
14396 (layoutContainer): Don't compute component's preferred size unless
14397 we're going to use it.
14398 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
14399 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
14400 (firstLine, lastLine, firstItem, lastItem): New fields.
14401 (addLayoutComponent): Handle case where constraints is null.
14402 Also, handle relative locations.
14403 (removeLayoutComponent): Handle relative locations.
14404 (MIN, MAX, PREF): New constants.
14405 (calcCompSize): New method.
14406 (calcSize): New method.
14407 (minimumLayoutSize): Use it.
14408 (preferredLayoutSize): Likewise.
14409 (maximumLayoutSize): Likewise.
14410 (toString): Include more information.
14411 (setBounds): New method.
14412 (layoutContainer): Use libgcj implementation; extended to handle
14413 relative locations.
14415 2002-01-15 Tom Tromey <tromey@redhat.com>
14417 * java/lang/Float.java (equals): Preserve old code.
14418 * java/lang/Double.java (equals): Preserve old code.
14420 2002-01-15 Eric Blake <ebb9@email.byu.edu>
14422 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
14423 * java/lang/Float.java (equals, compare): Ditto.
14425 2002-01-13 Mark Wielaard <mark@klomp.org>
14427 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
14428 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
14429 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
14430 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
14432 2002-01-11 Mark Wielaard <mark@klomp.org>
14434 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
14435 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
14437 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
14438 * java/net/Socket.java: Merge with Classpath.
14439 * java/net/ServerSocket.java: Likewise.
14441 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
14443 * interpret.cc (NULLARRAYCHECK): New macro.
14444 (SAVE_PC): Just store `pc'.
14445 (find_exception): Subtract one from `pc' here.
14446 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
14447 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
14448 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
14449 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
14450 don't call SAVE_PC.
14451 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
14454 2002-01-11 Tom Tromey <tromey@redhat.com>
14456 * java/lang/natSystem.cc (init_properties): Only look for default
14457 locale if LC_MESSAGES is defined.
14458 * aclocal.m4, configure, include/config.h.in: Rebuilt.
14459 * configure.in: Call AM_LC_MESSAGES.
14460 * acinclude.m4 (AM_LC_MESSAGES): New macro.
14462 2002-01-10 Tom Tromey <tromey@redhat.com>
14464 For PR libgcj/5303:
14465 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
14466 --version. Recognize GNU-style long options. Print GNU-style
14468 (usage): Print GNU-style help. Exit with status 0.
14469 (error): New method.
14470 (run): Print error message if no class names found.
14471 (main): Don't print usage on error.
14473 2002-01-09 Tom Tromey <tromey@redhat.com>
14475 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
14477 (help, version): Use println(), not println("").
14479 For PR libgcj/5303:
14480 * gnu/gcj/convert/Convert.java (error): Program is called
14481 `jv-convert'. Print GNU-style message. Exit with status 1, not
14483 (main): Handle --help and --version.
14484 (help): New method.
14485 (version): Likewise.
14487 2002-01-08 Tom Tromey <tromey@redhat.com>
14489 * Makefile.in: Rebuilt.
14490 * Makefile.am (ordinary_java_source_files): Added new files.
14491 * gnu/java/locale/LocaleInformation.java: Extend
14492 LocaleInformation_en.
14493 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
14494 and time/date formats.
14495 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
14497 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
14498 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
14499 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
14500 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
14501 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
14502 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
14503 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
14504 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
14505 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
14506 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
14507 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
14508 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
14509 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
14510 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
14511 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
14512 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
14513 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
14514 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
14515 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
14516 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
14517 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
14518 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
14519 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
14520 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
14521 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
14522 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
14523 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
14524 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
14525 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
14526 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
14527 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
14528 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
14529 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
14530 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
14531 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
14532 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
14533 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
14534 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
14535 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
14536 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
14537 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
14538 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
14539 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
14540 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
14541 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
14542 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
14543 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
14544 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
14545 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
14546 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
14547 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
14548 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
14549 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
14550 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
14551 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
14552 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
14553 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
14554 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
14555 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
14556 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
14557 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
14558 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
14559 * gnu/java/locale/LocaleInformation_es_US.java: New file.
14560 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
14561 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
14562 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
14563 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
14564 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
14565 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
14566 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
14567 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
14568 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
14569 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
14570 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
14571 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
14572 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
14573 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
14574 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
14575 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
14576 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
14577 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
14578 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
14579 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
14580 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
14581 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
14582 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
14583 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
14584 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
14585 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
14586 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
14587 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
14588 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
14589 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
14590 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
14591 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
14592 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
14593 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
14594 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
14595 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
14596 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
14597 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
14598 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
14599 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
14600 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
14601 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
14602 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
14603 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
14604 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
14605 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
14606 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
14607 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
14608 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
14609 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
14610 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
14611 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
14612 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
14613 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
14614 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
14615 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
14616 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
14617 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
14618 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
14619 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
14620 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
14621 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
14622 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
14623 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
14624 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
14625 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
14626 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
14628 For PR libgcj/5031:
14629 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
14630 choose default locale.
14632 * Makefile.in: Rebuilt.
14633 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
14635 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
14637 * java/net/natPlainSocketImpl.cc: Added timeout handling for
14639 (close): New function closes the socket.
14640 (write): New functions for output to socket.
14641 (read): New functions for reading from socket.
14642 * java/net/PlainSocketImpl.java: Glue for new timeout
14644 (write): Call the native impl.
14646 (getInputStream): Get a stream to read from the socket.
14647 (getOutputStream): Get a stream to write to the socket.
14649 2002-01-08 Tom Tromey <tromey@redhat.com>
14651 * resolve.cc (_Jv_PrepareClass): Enable verifier.
14653 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
14655 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
14656 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
14658 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
14660 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
14661 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
14662 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
14663 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
14664 insn_bastore, insn_castore, insn_sastore]: Use it.
14665 (continue1) [insn_arraylength]: Check for null array.
14667 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
14669 * configure, include/config.h.in: Rebuilt.
14670 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
14671 * configure.in: Call AC_STRUCT_TIMEZONE.
14673 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
14675 * configure.host: Disable the interpreter for Darwin.
14677 2002-01-04 Tom Tromey <tromey@redhat.com>
14679 * java/lang/Thread.java (stop): No longer synchronized.
14682 2002-01-02 Tom Tromey <tromey@redhat.com>
14684 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
14687 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
14689 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
14690 PPC Darwin, not for all of Darwin.