1 2003-10-02 Guilhem Lavaux <guilhem@kaffe.org>
3 * java/net/InetSocketAddress.java
4 (InetSocketAddress): Made exception more clear.
5 (equals): Handle case when addr is null.
7 * java/net/NetworkInterface.java
8 (static): Load native library.
9 (getNetworkInterfaces): Rewritten.
11 2003-10-02 Thomas Fitzsimmons <fitzsim@redhat.com>
13 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (insets): New
15 (initializeInsets): New method.
16 (GtkComponentPeer): Call initializeInsets. Call setCursor and
17 setBounds unconditionally.
18 (setBounds): Convert coordinates if parent is a Window.
19 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (insets): Move
20 field to GtkComponentPeer.
21 (GtkContainerPeer): Don't initialize insets.
22 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
24 (create): Call new GtkWindowPeer create method.
25 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
27 (create): Call new GtkWindowPeer create method.
28 (setBounds): Remove method.
29 (postConfigureEvent): Likewise.
30 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Replace GTK window
31 type constants with GDK window type constants.
32 (create(int,boolean,int,int,GtkWindowPeer)): New method.
33 (create(int,boolean)): Likewise.
34 (create()): Call create(int,boolean).
35 (nativeSetBounds): New native method declaration.
36 (setBounds): Call native method declaration.
37 (setSize): New native method declaration.
38 (setBoundsCallback): Likewise.
39 (postConfigureEvent): Handle change in insets. Call setSize and
40 setBoundsCallback methods.
41 * java/awt/Window.java (Window): Set visible to false.
42 (setBoundsCallback): New method.
43 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
44 (gtkWidgetGetLocationOnScreen): If this component is not a
45 container, adjust the location returned based on the peer's
47 (set(String,boolean)): Revert change from 2003-09-19.
48 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
49 (awt_event_handler): Fix inset calculation.
50 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Add JNI
51 glue for Window.setBoundsCallback.
52 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
53 Set up stacking order, window decorations and window manager
55 (setBoundsCallback): New method.
56 (setSize): New method.
57 (nativeSetBounds): New method.
58 * jni/gtk-peer/gtkpeer.h: Declare setBoundsCallbackID.
60 2003-10-02 Tom Tromey <tromey@redhat.com>
62 * java/lang/VMClassLoader.java (loadClass): Now native.
63 * java/lang/natClassLoader.cc (loadClass): Implement.
64 * prims.cc (_Jv_RunMain): Initialize ClassLoader.
66 2003-10-02 Michael Koch <konqueror@gmx.de>
68 * java/net/InetAddress.java
70 (ANY_IF): Initalizie in static block.
71 (static): Load library with native methods here and initialize ANY_IF.
72 (isAnyLocalAddress): Check if equal to ANY_IF.
73 (equals): Use addr directly instead of addr1. Simplify for loop.
74 (toString): Rename "result" to "host" and add IP address allways.
75 (getLocalHost): Merged documentation from classpath.
76 * java/net/ServerSocket.java
77 (ServerSocket): New package-private constructor used by java.nio.
78 * java/net/URLConnection.java
79 (getRequestProperties): Check if already connected.
81 2003-10-02 Michael Koch <konqueror@gmx.de>
83 * java/nio/ByteBufferHelper.java:
84 Rewrote all methods by suggestions from Eric Blake.
86 2003-10-02 Michael Koch <konqueror@gmx.de>
89 (DEFAULT_SEARCH_PATH): New static variable.
90 (ph_cache): Made it a HashMap.
91 (getURLStreamHandler): Rename propVal to ph_search_path and use
94 2003-10-02 Michael Koch <konqueror@gmx.de>
96 * javax/swing/table/AbstractTableModel.java
97 (findColumnName): Prevent from NullPointerException if argument
100 2003-10-02 Michael Koch <konqueror@gmx.de>
102 * javax/swing/table/AbstractTableModel.java:
103 This patch is based on a patch done by Arnaud Vandyck
104 <arnaud.vandyck@ulg.ac.be>.
105 (getColumnName): Fixed method documentation.
106 (findColumn): Likewise.
107 (getColumnClass): Likewise.
108 (isCellEditable): Likewise.
109 (setValueAt): Likewise.
110 (addTableModelListener): Likewise.
111 (removeTableModelListener): Likewise.
112 (getTableModelListeners): New method.
114 2003-10-02 Michael Koch <konqueror@gmx.de>
116 * javax/swing/table/AbstractTableModel.java:
119 2003-10-01 Bryce McKinlay <bryce@mckinlay.net.nz>
122 * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
123 * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
125 2003-10-01 Tom Tromey <tromey@redhat.com>
127 * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
129 2003-10-01 Andrew Haley <aph@redhat.com>
131 * java/lang/natClass.cc (initializeClass): Check for otable and
133 (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite
134 loops using for(). Search superinterfaces. Check for fields as
135 well as methods. Initialize atable as well as otable: check for
136 static methods as well as virtual methods.
137 * java/lang/Class.h (struct _Jv_AddressTable): New.
140 * include/jvm.h (_Jv_equalUtf8Consts): constify.
141 * prims.cc (_Jv_equalUtf8Consts): constify.
143 2003-09-29 Tom Tromey <tromey@redhat.com>
146 * include/jvm.h (_Jv_FinalizeString,
147 _Jv_RegisterStringFinalizer): Declare.
148 * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
151 (_Jv_NewStringUtf8Const): Likewise.
152 * java/lang/ref/natReference.cc (finalize_referred_to_object):
153 Add special case when finalizing a String.
154 (in_hash): New function.
155 (_Jv_RegisterStringFinalizer): Likewise.
156 (maybe_add_finalize): Likewise.
158 2003-09-29 Michael Koch <konqueror@gmx.de>
160 * java/net/InetAddress.java:
161 (isMulticastAddress): Dont use local variable to store address length.
162 Let the compiler optimize this.
163 (getHostName): Merged dcoumentation from classpath.
164 (getAddress): Likewise.
165 (getHostAddress): Likewise.
166 (hashCode): Likewise.
168 (toString): Likewise.
169 (getByName): Likewise.
170 (getAllByName): Likewise.
172 2003-09-29 Michael Koch <konqueror@gmx.de>
174 * java/awt/image/IndexColorModel.java: Reformated.
176 2003-09-29 Michael Koch <konqueror@gmx.de>
178 * java/net/InetAddress.java,
179 java/net/URL.java: Reformated.
181 2003-09-29 Bryce McKinlay <bryce@mckinlay.net.nz>
183 * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
184 significant bit of descriptor. Include the vtable and sync_info
187 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
189 * java/text/DateFormat.java (format): Throw IllegalArgumentException
190 if `obj' is not a Number or Date instance.
191 * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
194 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
196 * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
197 Don't call setTimeZone on calendar.
199 2003-09-27 Michael Koch <konqueror@gmx.de>
201 * java/net/URL.java (getURLStreamHandler): Compile fixes.
203 2003-09-27 Michael Koch <konqueror@gmx.de>
205 * java/net/URL.java (getURLStreamHandler):
206 Check if we have to use cache before trying to retrieve handler from
207 cache. Rename facName to clsName to match classpath more. Reformated
210 2003-09-27 Michael Koch <konqueror@gmx.de>
212 * gnu/java/nio/SelectionKeyImpl.java
213 (ch): Make package-private again. Jikes found this bug.
214 Jeff Sturm submitted PR12426 for this to bugzilla
215 to fix this bug in gcj.
217 2003-09-26 Michael Koch <konqueror@gmx.de>
219 * java/rmi/server/RMIClassLoader.java:
220 Reformatted file, no functional code changes.
222 2003-09-26 Sascha Brawer <brawer@dandelis.ch>
224 * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
225 Save space for some pixels at the buffer end. Added Javadoc.
227 2003-09-26 Tom Tromey <tromey@redhat.com>
229 * java/io/ObjectOutputStream.java (writeFields): Fixed
231 (putFields): Likewise.
233 2003-09-26 Michael Koch <konqueror@gmx.de>
235 * java/nio/ByteBufferHelper.java:
236 Totally reworked with help from Eric Blake.
238 2003-09-26 Tom Tromey <tromey@redhat.com>
240 * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
241 * java/awt/geom/PathIterator.java: Documentation fixes.
243 2003-09-25 Jeff Sturm <jsturm@one-point.com>
245 * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
247 (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
249 2003-09-25 Michael Koch <konqueror@gmx.de>
251 * gnu/java/nio/DatagramChannelImpl.java
252 (getNativeFD): New method.
253 * gnu/java/nio/SelectionKeyImpl.java
254 (SelectionKeyImpl): Class made abstract.
256 (SelectionKeyImpl): Remove fd argument.
257 (getNativeFD): New method.
258 * gnu/java/nio/SocketChannelImpl.java
259 (getNativeFD): New method.
260 gnu/java/nio/DatagramChannelSelectionKey.java,
261 * gnu/java/nio/SocketChannelSelectionKey.java:
263 * Makefile.am (ordinary_java_source_files):
264 Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
265 gnu/java/nio/SocketChannelSelectionKey.java.
266 * Makefile.in: Regenerated.
268 2003-09-25 Michael Koch <konqueror@gmx.de>
270 * java/lang/reflect/Proxy.java
271 (getProxyClass): Remove workaround for gcj 3.0.x.
273 2003-09-25 Michael Koch <konqueror@gmx.de>
275 * gnu/java/net/PlainDatagramSocketImpl.java
276 (finalize): Moved to directly after constructor.
277 (getNativeFD): New method.
278 * gnu/java/net/PlainSocketImpl.java
279 (getNativeFD): New method.
281 2003-09-25 Ingo Proetel <proetel@aicas.com>
283 * java/io/ObjectOutputStream.java:
284 Allow putFields be called more than once.
286 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
288 * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
289 * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
290 * java/awt/image/BufferedImage.java (toString): Implement.
292 2003-09-25 Jeff Sturm <jsturm@one-point.com>
294 * aclocal.m4: Rebuilt.
295 * configure: Rebuilt.
297 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
299 * java/text/SimpleDateFormat.java (parse): Don't use class calendar
302 2003-09-25 Michael Koch <konqueror@gmx.de>
304 * gnu/java/nio/SelectorImpl.java
305 (implSelect): Renamed from java_do_select.
306 (select): Call native implSelect() and add support for Thread
308 * gnu/java/nio/natSelectorImpl.cc
309 (implSelect): Renamed from java_do_select.
311 2003-09-25 Michael Koch <konqueror@gmx.de>
313 * gnu/java/nio/SelectorImpl.java
314 (selectNow): Made final, throws IOException.
316 (getFDsAsArray): Made final.
317 (selectedKeys): Likewise.
319 (deregisterCancelledKeys): Likewise.
320 (register): Likewise.
322 (add_selected): Removed.
323 * gnu/java/nio/natSelectorImpl.cc:
324 No need to include bstring.h or gcj/cni.h.
325 (helper_put_filedescriptors): Rewritten.
326 (helper_get_filedescriptors): Rewritten.
328 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
330 * java/awt/font/FontRenderContext.java (getTransform): Return
331 copy of internal transform object. Add Javadoc.
332 * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
333 winding rule as Sun J2SE.
334 * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
336 2003-09-25 Ingo Proetel <proetel@aicas.com>
338 * java/rmi/Naming.java:
339 Added comments, now accepts pseudo protocol "rmi".
341 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
343 * java/text/DecimalFormat.java (format): Don't immediatly round
345 (setMinimumIntegerDigits): Call super.
346 (setMinimumFractionDigits): Likewise.
347 (setMaximumIntegerDigits): Likewise.
348 (setMaximumFractionDigits): Likewise.
350 2003-09-25 Michael Koch <konqueror@gmx.de>
352 * gnu/java/nio/DatagramChannelImpl.java
353 (DatagramChannelImpl): Made class final.
354 (blocking): Made private.
355 (socket): Made it a NIODatagramSocket and private.
356 (DatagramChannelImpl): create NIODatagramSocket instead of
358 (implConfigureBlocking): Set socket timeout.
359 (connect): Check that channel is not closed.
360 (write): Implemented.
364 (receive): Implemented.
366 * gnu/java/nio/SelectionKeyImpl.java
367 (readyOps): Made private.
368 (interestOps): Made private.
369 (impl): Made private.
371 (readyOps): Check if selection key is valid.
372 (interestOps): Likewise.
373 * gnu/java/nio/SelectorImpl.java
375 (keys): Made private.
376 (selected): Made private.
377 (finalize): New method.
378 (implCloseSelector): Rewritten.
379 (keys): Return unmodifiable Set.
380 (deregisterCancelledKeys): Fixed typo in method name.
381 * gnu/java/nio/SocketChannelImpl.java
382 (SocketChannelImpl): Made class final.
383 (socket): Made it a NIOSocket and private.
384 (blocking): Made private.
385 (connected): Made private.
386 (connectionPending): New member variable.
387 (SocketChannelImpl): New implementation.
388 (finalizer): Use isConnected().
389 (connect): Rewritten.
390 (finishConnect): Throws IOException, implemented.
391 (isConnectionPending): Return connectionPending.
394 * gnu/java/nio/NIOConstants.java: New file.
395 * Makefile.am (ordinary_java_source_files):
396 Added gnu/java/nio/NIOConstants.java.
397 * Makefile.in: Regenerated.
399 2003-09-25 Michael Koch <konqueror@gmx.de>
401 * java/net/InetAddress.java:
402 Reorder imports, remove implementation comment.
403 (isMulticastAddress): Merged documentation from classpath.
404 * java/net/URLConnection.java
405 (setRequestProperty): Check key for null, fix documentation.
406 (adREquestProperty): Check key for null, remove wrong implementation
407 and replace it with comment to overwrite this method in subclasses,
410 2003-09-25 Tom Tromey <tromey@redhat.com>
412 * java/lang/reflect/Proxy.java (generate): Uncomment protection
414 * java/lang/natClassLoader.cc (defineClass): Added `loader'
416 (linkClass0): Now in VMClassLoader.
417 (markClassErrorState0): Likewise.
418 (getSystemClassLoaderInternal): New method.
419 * java/lang/natClass.cc (initializeClass): Use
420 VMClassLoader::resolveClass.
421 * java/lang/ClassLoader.java: New version, from Classpath.
422 * java/lang/Class.java (getProtectionDomain):
423 protectionDomainPermission and unknownProtectionDomain now in
425 * java/lang/Class.h: VMClassLoader now a friend class.
426 * gnu/gcj/runtime/VMClassLoader.java (instance): Now
428 * gcj/javaprims.h: Regenerated class list.
429 * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
430 * java/lang/VMClassLoader.java: New version from Classpath;
431 modified for libgcj use.
433 2003-09-25 Michael Koch <konqueror@gmx.de>
435 * java/nio/ByteBufferHelper.java:
437 * java/nio/ByteBufferImpl.java,
438 java/nio/DirectByteBufferImpl.java,
439 java/nio/MappedByteBufferImpl.java
440 (getType,putType): Use new helper class ByteBufferHelper.
441 * Makefile.am (ordinary_java_source_files):
442 Added java/nio/ByteBufferHelper.java.
443 * Makefile.in: Regenerated.
445 2003-09-25 Bryce McKinlay <bryce@mckinlay.net.nz>
447 * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
450 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
452 * java/lang/StringBuffer.java (substring): Don't set `shared' on small
453 Strings, even if buffer is already shared.
455 2003-09-24 Michael Koch <konqueror@gmx.de>
457 * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
459 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
461 * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
463 (SocketInputStream): Declare `read' and `write' methods native.
464 Remove implementations which called back into PlainSocketImpl.
465 Remove unneccessary overridden methods.
466 * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation
467 to inner class PlainSocketImpl.SocketInputStream.
469 * gnu/java/net/natPlainSocketImplPosix.cc: As above.
470 * gnu/java/net/natPlainSocketImplWin32.cc: As above.
471 * gnu/java/net/SocketInputStream.java: Remove unused file.
472 * gnu/java/net/SocketOutputStream.java: Likewise.
473 * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
474 and SocketOutputStream.
475 * Makefile.in: Rebuilt.
477 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
479 * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
481 * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
484 2003-09-22 Anthony Green <green@redhat.com>
486 * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
487 * configure: Rebuilt.
489 2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
492 * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
494 2003-09-22 Michael Koch <konqueror@gmx.de>
496 * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
497 compiler warning but produces a different one now.
499 2003-09-22 Michael Koch <konqueror@gmx.de>
501 * java/net/InetAddress.java:
502 Moves around some code, reformats and adds documentation.
503 No functional changes.
505 2003-09-22 Michael Koch <konqueror@gmx.de>
507 * java/net/JarURLConnection.java
508 (JarURLConnection): Modifed code to match classpath more, fixed comment.
509 (getCertificates): Made it more error prone.
510 (getMainAttributes): Likewise.
511 (getAttributes): Implemented.
512 (getManifest): Reformatted code.
514 2003-09-20 Tom Tromey <tromey@redhat.com>
516 * java/awt/Component.java: Indentation cleanup from Classpath.
518 2003-09-20 Dalibor Topic <robilad@kaffe.org>
520 * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
521 checking to follow 1.4.2 spec.
523 2003-08-11 Ingo Proetel <proetel@aicas.com>
525 * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
526 is compatible in case client and server are running in the same VM
527 (remerged from Classpath on 2003-09-20)
529 2003-09-19 David Daney <ddaney@avtrex.com>
531 * java/lang/ref/Reference.java (clear): Set referent to null and
534 2003-09-19 Michael Koch <konqueror@gmx.de>
536 * gnu/java/nio/NIODatagramSocket.java,
537 gnu/java/nio/NIOSocket.java: New files.
538 * Makefile.am (ordinary_java_source_files):
539 Added gnu/java/nio/NIODatagramSocket.java and
540 gnu/java/nio/NIOSocket.java.
541 * Makefile.in: Regenerated.
543 2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>
545 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
546 top-level GTK window.
547 (getArgs): Add "title" property.
548 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
549 "allow_shrink" and "allow_grow" properties.
550 * java/awt/Dialog.java: Initialize resizable to true and change
551 comments accordingly. Initialize visible to false in
553 * java/awt/Frame.java (dispose): Remove method.
554 * java/awt/Window.java (ownedWindows): New field.
555 (Window(Window,GraphicsConfiguration)): Add a weak reference to
556 owner's ownedWindows vector.
557 (finalize): Remove method.
558 (hide): Hide owned windows.
559 (dispose): Dispose of owned windows.
560 (getOwnedWindows): Implement.
561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
563 (set(String,boolean)): Clamp gboolean parameter to g_object_set
565 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
566 (create): Set window's size requisition.
567 (connectHooks): Fix indentation.
568 (setResizable): Remove function.
569 (static setBounds): Likewise.
570 (setBounds): Replace call to setBounds with GTK size requisition
573 2003-09-19 Mohan Embar <gnustuff@thisiscool.com>
575 * win32-threads.cc: (ensure_interrupt_event_initialized) New
576 function for lazy initialization of an auto-reset event.
577 (_Jv_CondWait) Added thread interrupt support.
578 (_Jv_ThreadInitData) Added initialization of interrupt support
580 (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
581 (_Jv_ThreadStart) Removed unused code.
582 (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
583 to an external caller.
584 (_Jv_ThreadInterrupt) Implemented.
585 * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
586 event for interrupt support as well as a mutex which regulates
588 (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
589 event to an external caller.
590 * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
592 (waitFor) Added interrupt support.
594 2003-09-19 Michael Koch <konqueror@gmx.de>
596 * java/net/DatagramSocket.java (getLocalAddress):
597 Renamed result variable to localAddr.
598 * java/net/MulticastSocket.java:
599 No need to import gnu.java.net.PlainDatagramSocketImpl.
601 2003-09-18 Sascha Brawer <brawer@dandelis.ch>
603 * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
604 Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
606 2003-09-18 Tom Tromey <tromey@redhat.com>
608 * javax/naming/InitialContext.java: Reindented.
610 2003-09-18 Dalibor Topic <robilad@kaffe.org>,
611 Helmer Kraemer <hkraemer@freenet.de>
613 * javax/naming/spi/NamingManager.java (getURLContext,
614 getObjectInstance, getStateToBind): Always use current thread's
615 context class loader when calling Class.forName.
617 2003-09-18 Michael Koch <konqueror@gmx.de>
619 * java/util/Timer.java (finalize): Added "throws Throwable".
621 2003-09-18 Michael Koch <konqueror@gmx.de>
623 * java/net/DatagramSocket.java
625 (receive): Use getChannel() instead of ch.
627 (getChannel): Return null.
628 * java/net/ServerSocket.java
630 (setChannel): Removed.
631 (implAccept): Use getChannel() instead of ch.
633 (getChannel): Return null.
634 * java/net/Socket.java
636 (connect): Use getChannel() instead of ch.
637 (setChannel): Removed.
638 (getChannel): Return null.
640 2003-09-18 Mark Wielaard <mark@klomp.org>
642 Reported by Guilhem Lavaux and Julian Dolby
643 * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
644 field "serialPersistentFields", not "getSerialPersistentFields".
646 2003-09-18 Ingo Proetel <proetel@aicas.com>
648 * java/util/TimeZone.java: Initialize lazily.
649 * java/util/Locale.java (readManifest): Fix check for country.
650 * java/util/GregorianCalendar.java: Make use of ResourceBundle better
652 * java/util/Calendar.java: Make use of ResourceBundle better
655 2003-09-18 Jeroen Frijters <jeroen@frijters.net>
657 * java/sql/Timestamp.java
658 (valueOf): Fixed confusion of java.sql.Date and java.util.Date
660 2003-09-18 David P Grove <groved@us.ibm.com>
662 * java/io/LineNumberReader (read): Don't reset pos & limit when
665 2003-09-18 Dalibor Topic <robilad@kaffe.org>
667 * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
669 (computeArguments): use computeTypicalArguments.
671 * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
672 Compile_jikes.java and RMICException.java.
673 * gnu/java/rmi/rmic/Compile_kjc.java: New file.
674 * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
675 * gnu/java/rmi/rmic/RMICException.java: Likewise.
677 * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
679 * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
680 (computeTypicalArguments): New method.
681 (compile): Print compiler output to System.out. Collect compiler
682 error output and use it in exception message.
684 * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
685 (destination): Initialize to null.
686 (run): Replace file separator with '.' when processing class.
687 (processClass): Replace '.' with file separator when compiling
689 (findClass): Use SystemClassLoader to load class.
690 (generateStub): Use full class name for generated stub, that puts
691 it in right path. Replace '.' with file separator when generating
692 stub file name. Write just the stub class name without package
693 information as class name, and constructor name. Write only
694 interface names for interfaces extending java.rmi.Remote as
696 (generateSkel): Use full class name for generated skel, that puts
697 it in right path. Replace '.' with file separator when generating
698 stub file name. Write just the stub class name without package
699 information as class name.
701 2003-09-18 Michael Koch <konqueror@gmx.de>
703 * Makefile.am (rmi_java_source_files):
704 Added gnu/java/rmi/rmic/Compile_kjc.java,
705 gnu/java/rmi/rmic/Compile_jikes.java and
706 gnu/java/rmi/rmic/RMICException.java
707 * Makefile.in: Regenerated.
709 2003-09-17 Graydon Hoare <graydon@redhat.com>
711 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
712 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
713 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
714 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
717 2003-09-16 Graydon Hoare <graydon@redhat.com>
719 * java/awt/BufferedImage.java (setData): Support non-component
723 2003-09-10 Graydon Hoare <graydon@redhat.com>
725 * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
726 * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
728 2003-09-17 Mohan Embar <gnustuff@thisiscool.com>
730 * configure.in: Standardized help text case of
731 --enable-hash-synchronization
732 New configure switch --enable-libgcj-multifile and corresponding
733 automake conditional ONESTEP.
734 * configure: Rebuilt.
735 * Makefile.am: Use automake conditional ONESTEP to determine
736 whether classfiles should be compiled individually or all
738 * Makefile.in: Rebuilt.
740 2003-09-16 Thomas Fitzsimmons <fitzsim@redhat.com>
742 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
743 Remove method declaration.
744 (create()): Call native create.
745 (create(int)): New method.
746 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
747 (create): Add window_id parameter. Call gtk_plug_new with
749 (construct): Remove method implementation.
751 2003-09-16 Mohan Embar <gnustuff@thisiscool.com>
753 * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
754 (mostlyclean-local): New target patterned after clean-local
755 which recursively deletes all libtool objects using 'libtool rm'.
756 (clean-local): Slightly modified comment to alleviate monotony.
757 (distclean-local): New target patterned after clean-local
758 which recursively deletes all .d files.
759 * Makefile.in: Rebuilt.
761 2003-09-11 Tom Tromey <tromey@redhat.com>
763 * java/net/URLStreamHandler.java (parseURL): If original file
764 ends with "/", so must canonical result.
765 * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
766 with nul-termination and finding previous "/".
768 2003-09-11 Michael Koch <konqueror@gmx.de>
770 * acconfig.h: Removed most items.
771 * configure.in: Added descriptions to AC_DEFINE macros that where in
773 * include/config.h.in: Regenerated.
775 2003-09-11 Sascha Brawer <brawer@dandelis.ch>
777 * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
778 if one is installed. Improve Javadoc.
779 (getSystemEventQueueImpl): Improve Javadoc.
781 2003-09-11 Tom Tromey <tromey@redhat.com>
783 * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
786 2003-09-10 Anthony Green <green@redhat.com>
788 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
789 Specify full name when referencing ::java::net::InetAddress.
790 * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
793 2003-09-10 Michael Koch <konqueror@gmx.de>
795 * acconfig.h (__NO_MATH_INLINES): Removed.
796 * configure.in: Removed check for g++ math inlining bug from 2000.
797 * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
799 * configure: Regenerated.
801 2003-09-10 David Daney <ddaney@avtrex.com>
803 * java/util/Arrays.java (equals(all variants)): Quit using
804 NullPointerException catching to detect null valued parameters.
806 2003-09-10 Michael Koch <konqueror@gmx.de>
808 * java/net/DatagramSocket.java,
809 java/net/MulticastSocket.java,
810 java/net/ServerSocket.java,
811 java/net/Socket.java:
812 Use gnu.java.net.Plain*SocketImpl instead of
813 java.net.PlainSocketImpl.
814 * java/net/PlainDatagramSocketImpl.java,
815 java/net/PlainSocketImpl.java,
816 java/net/SocketInputStream.java,
817 java/net/SocketOutputStream.java,
818 java/net/natPlainDatagramSocketImplNoNet.cc,
819 java/net/natPlainDatagramSocketImplPosix.cc,
820 java/net/natPlainDatagramSocketImplWin32.cc,
821 java/net/natPlainSocketImplNoNet.cc,
822 java/net/natPlainSocketImplPosix.cc,
823 java/net/natPlainSocketImplWin32.cc:
825 * gnu/java/net/PlainDatagramSocketImpl.java,
826 gnu/java/net/PlainSocketImpl.java,
827 gnu/java/net/SocketInputStream.java,
828 gnu/java/net/SocketOutputStream.java,
829 gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
830 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
831 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
832 gnu/java/net/natPlainSocketImplNoNet.cc,
833 gnu/java/net/natPlainSocketImplPosix.cc,
834 gnu/java/net/natPlainSocketImplWin32.cc:
835 New files (moved from java/net).
836 * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
837 instead of java/net/natPlain*SocketImpl.cc.
838 * configure: Regenerated.
839 * Makefile.am: Moved files from java/net to gnu/java/net.
840 * Makefile.in: Regenerated.
842 2003-09-09 Alan Modra <amodra@bigpond.net.au>
844 * configure: Regenerate.
846 2003-09-04 Tom Tromey <tromey@redhat.com>
848 * configure.host: Removed erroneous comment.
850 * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
851 lvalue cast; use correct rvalue cast.
853 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
855 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
856 and height arguments to GtkWindowPeer.create method call.
857 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
858 (create(int,int,int)): New method.
859 (create(int)): Add call to new create method.
860 (create()): Add width and height arguments to create method
862 (GtkWindowPeer): Remove call to setBounds.
863 * java/awt/Frame.java (Frame(String)): Initialize visible field
865 (Frame(GraphicsConfiguration)): Likewise.
866 (Frame(String,GraphicsConfiguration)): Likewise.
867 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
868 Add width and height parameters. Call
869 gtk_window_set_default_size.
870 (connectHooks): Remove unused name variable.
871 (static setBounds): Call gtk_window_resize not
872 gtk_widget_set_usize.
873 (setBounds): Remove unused nchildren variable.
875 2003-08-31 Ingo Proetel <proetel@aicas.com>
877 * java/util/logging/Logger.java: provide class and method information
878 * java/util/logging/LogManager.java: create handlers
879 * java/util/logging/SimpleFormatter.java: print souceClassName and
882 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
884 * win32.cc: fixed tab, indentation and whitespace
886 removed jvm.h include
887 added includes java/lang/UnsupportedOperationException.h,
888 java/io/IOException.h, java/net/SocketException.h
889 (WSAEventWrapper): class implementation
890 (_Jv_WinStrError): implemented both overloads
891 (_Jv_ThrowIOException): implemented both overloads
892 (_Jv_ThrowSocketException): implemented both overloads
893 (_Jv_select): implemented
894 * include/win32.h: fixed tab, indentation and whitespace
896 wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
898 (WSAEventWrapper): added class declaration
899 (_Jv_WinStrError): added both overload declarations
900 (_Jv_ThrowIOException): added both overload declarations
901 (_Jv_ThrowSocketException): added both overload declarations
902 removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
903 (_Jv_select): added declaration
904 (_Jv_socket): removed
905 (_Jv_connect): removed
908 (_Jv_accept): removed
909 (_Jv_listen): removed
912 * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
913 whitespace inconsistencies
914 replaced <windows.h> #include with <platform.h>
915 removed jvm.h include
916 (testCanUseGetHandleInfo): new function which tests whether Win32
917 GetHandleInformation() call can be used with console buffer handles
918 (only supported on >=WinNT 5.0)
919 (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
920 (valid): rewrote implementation using GetHandleInformation()
921 (sync): changed exception throwing to use error string and exception
922 helper methods declared in include/win32.h
925 (setLength): likewise
928 (getFilePointer): likewise
930 * java/io/natFileWin32.cc: fixed tab, indentation and
931 whitespace inconsistencies
932 replaced <windows.h> #include with <platform.h>
933 removed jvm.h include
934 (_access): use JV_TEMP_UTF_STRING
936 (performMkDir): use JV_TEMP_UTF_STRING
937 (performRenameTo): likewise
938 (performDelete): likewise
939 (performCreate): likewise
940 (performSetReadOnly): likewise
941 (performSetLastModified): likewise
942 * java/lang/natWin32Process.cc: fixed tab, indentation and
943 whitespace inconsistencies
944 replaced <windows.h> #include with <platform.h>
945 removed includes gcj/cni.h, jvm.h
946 (new_string): removed
947 (startProcess): use JV_TEMP_UTF_STRING,
948 changed exception throwing to use error string and exception
949 helper methods declared in include/win32.h
950 * java/net/natInetAddressWin32.cc: fixed tab, indentation and
951 whitespace inconsistencies
952 replaced <windows.h> #include with <platform.h>
953 removed jvm.h include
954 removed DISABLE_JAVA_NET conditional code
955 removed POSIX conditional code not relevant to Win32
956 (aton): use JV_TEMP_UTF_STRING
957 removed POSIX conditional code not relevant to Win32
959 (getLocalHostName): likewise
960 * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
961 whitespace inconsistencies
962 removed unnecessary windows.h, winsock.h and gcj/cni.h includes
963 removed DISABLE_JAVA_NET conditional code
964 removed POSIX conditional code not relevant to Win32
965 (winsock2GetRealNetworkInterfaces): new function to compute network
966 interfaces via Winsock2 API
967 (determineGetRealNetworkInterfacesFN): new function for returning
968 a function pointer to the function used to compute network interfaces.
969 (getRealNetworkInterfaces): implemented
970 * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
971 whitespace inconsistencies
972 removed gcj/cni.h include
973 removed DISABLE_JAVA_NET conditional code
974 removed POSIX conditional code not relevant to Win32
975 changed net POSIXisms to Win32isms
976 replaced _Jv socket-related calls with their real Win32 equivalents
977 changed exception throwing to use error string and exception
978 helper methods declared in include/win32.h
979 (peekData): implemented timeout support
981 * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
982 whitespace inconsistencies
983 removed gcj/cni.h and gcj/javaprims.h includes
984 removed DISABLE_JAVA_NET conditional code
985 removed POSIX conditional code not relevant to Win32
986 changed net POSIXisms to Win32isms
987 replaced _Jv socket-related calls with their real Win32
989 changed exception throwing to use error string and exception
990 helper methods declared in include/win32.h
991 (throwConnectException): helper function for connect()
992 (connect): implemented timeout support
994 (doRead): new helper function common to both read() method overloads,
995 includes timeout support
996 (read): implemented both overloads in terms of doRead()
997 (available): implemented using ioctlsocket()
999 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
1001 * java/net/natInetAddressWin32.cc,
1002 java/net/natNetworkInterfaceWin32.cc,
1003 java/net/natPlainDatagramSocketImplWin32.cc,
1004 java/net/natPlainSocketImplWin32.cc:
1005 Readded code enclosed in DISABLE_JAVA_NET defines
1006 in preparation for MinGW cleanup / networking
1009 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
1011 * Makefile.am: Fixed problems with parallel makes.
1012 (all_java_class_files): Readded definition.
1013 (all_java_class_files): New target which depends on
1014 libgcj-@gcc_version@.jar
1015 * Makefile.in: Rebuilt
1017 2003-08-28 Tom Tromey <tromey@redhat.com>
1019 * Makefile.in: Rebuilt.
1020 * Makefile.am (ordinary_java_source_files): Added new files.
1021 * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
1023 * java/net/URLClassLoader.java (findClass): Don't use
1024 findURLResource. Use loader's getClass method.
1025 (URLLoader.getClass): New method.
1026 (addURL): Handle `gcjlib' URLs.
1027 (SoURLLoader): New class.
1028 (SoResource): Likewise.
1029 * gnu/gcj/protocol/gcjlib/Connection.java: New file.
1030 * gnu/gcj/protocol/gcjlib/Handler.java: New file.
1031 * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
1032 (_Jv_RegisterCoreHook): Declare.
1033 (_Jv_FindCore): Declare.
1034 * gnu/gcj/runtime/SharedLibHelper.java: New file.
1035 * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
1037 (core_hook): New function.
1038 (struct SharedLibDummy) [saved_core]: New field.
1039 (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
1040 (register_hook): Set protection domain and class loader on new
1042 (finalize): Free core chain.
1043 * gnu/gcj/Core.java (Core): New constructor.
1044 * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
1046 * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
1047 (_Jv_create_core): New function.
1049 (default_register_resource): New function.
1050 (_Jv_RegisterCoreHook): New global.
1051 (_Jv_RegisterResource): Use it.
1052 (core_chain_struct): Removed.
1053 (_Jv_FindCore): New function.
1054 (_Jv_FreeCoreChain): New function.
1056 2003-08-29 Michael Koch <konqueror@gmx.de>
1058 * java/net/natInetAddressWin32.cc,
1059 java/net/natNetworkInterfaceWin32.cc,
1060 java/net/natPlainDatagramSocketImplWin32.cc,
1061 java/net/natPlainSocketImplWin32.cc:
1062 Removed code enclosed in DISABLE_JAVA_NET defines.
1064 2003-08-26 Mohan Embar <gnustuff@thisiscool.com>
1066 * Makefile.am: (write_entries_to_file) New parameterized
1067 function for writing entries to a file one line at a time.
1068 (all_java_class_files): Removed definition.
1069 (.java.class) Removed.target.
1070 (libgcj-@gcc_version@.jar): Changed dependency to
1071 $(all_java_source_files); added compilation step which compiles
1072 all changed source files in one pass.
1073 (libgcj.la) Refactored to use write_entries_to_file.
1074 (lib-gnu-awt-xlib.la) Likewise.
1075 (install-data-local) Likewise.
1076 (write-entries-to-file-check) New target which tests write_entries_to_file.
1077 (all-recursive): Changed dependency from $(all_java_class_files)
1078 to libgcj-@gcc_version@.jar
1079 * Makefile.in: Rebuilt.
1081 2003-08-26 Tom Tromey <tromey@redhat.com>
1083 * java/lang/StrictMath.java: Typo fix.
1084 * java/lang/Math.java: Typo fix.
1086 2003-08-26 Stephen Crawley <crawley@dstc.edu.au>
1088 * java/lang/ThreadGroup.java (removeThread): null the 'group' field
1089 of the removed Thread.
1091 2003-08-26 Mark Wielaard <mark@klomp.org>
1093 Reported by David Holmes <dholmes@dltech.com.au>.
1094 * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
1095 Collections.synchronizedMap.
1096 * java/lang/ThreadLocal.java (valueMap): Likewise.
1098 2003-08-26 Mark Wielaard <mark@klomp.org>
1100 * java/security/acl/Acl.java: Fix broken p tag.
1101 * java/text/DateFormatSymbols.java: Correctly open and close li tags.
1102 * javax/swing/border/LineBorder.java: Close img tag alt attributes.
1103 * javax/swing/plaf/TreeUI.java: Likewise.
1104 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
1105 * java/util/Properties.java: Use the word umlaut, not ä in api
1107 * java/util/PropertyResourceBundle.java: Likewise and add closing code
1110 2003-08-26 Tom Tromey <tromey@redhat.com>
1112 * Makefile.in: Rebuilt.
1113 * Makefile.am: Removed all GNU-make-specific FIXME comments.
1115 * java/lang/ref/Reference.java (get): Indentation fix.
1116 (clear): Comment fix.
1117 (enqueue): Likewise.
1119 (referent): Likewise.
1121 2003-08-26 Tom Tromey <tromey@redhat.com>
1124 * java/lang/reflect/natArray.cc (set): Allow null as argument.
1126 * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
1127 (ProxyData.getPackage): New method.
1128 (ProxyData.getProxyData): Use package name, not Package.
1129 (ClassFactory.ClassFactory): Updated.
1131 2003-08-25 Scott Gilbertson <scottg@mantatest.com>
1132 * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
1133 * Makefile.in: re-generated.
1134 * gnu/awt/j2d/IntegerGraphicsState.java
1135 (ScreenCoupledImage): new interface.
1136 (drawImage): detect ScreenCoupledImage instances.
1137 * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
1138 * gnu/awt/xlib/XEventLoop.java
1139 (createEvent): re-formatted, and rearranged to avoid null pointer.
1140 * gnu/awt/xlib/XGraphics.java
1141 (drawImage): added XOffScreenImage handling.
1142 * gnu/awt/xlib/XOffScreenImage.java: new file.
1143 * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
1144 * gnu/gcj/xlib/GC.java (copyArea): new native method.
1145 * gnu/gcj/xlib/XAnyEvent.java
1146 (TYPE_KEY_PRESS): new constant.
1147 (TYPE_KEY_RELEASE): new constant.
1148 (TYPE_MOTION_NOTIFY): new constant.
1149 (TYPE_ENTER_NOTIFY): new constant.
1150 (TYPE_LEAVE_NOTIFY): new constant.
1151 (TYPE_FOCUS_IN): new constant.
1152 (TYPE_FOCUS_OUT): new constant.
1153 (TYPE_KEYMAP_NOTIFY): new constant.
1154 (TYPE_GRAPHICS_EXPOSE): new constant.
1155 (TYPE_NO_EXPOSE): new constant.
1156 (TYPE_VISIBILITY_NOTIFY): new constant.
1157 (TYPE_CREATE_NOTIFY): new constant.
1158 (TYPE_DESTROY_NOTIFY): new constant.
1159 (TYPE_MAP_REQUEST): new constant.
1160 (TYPE_CONFIGURE_REQUEST): new constant.
1161 (TYPE_GRAVITY_NOTIFY): new constant.
1162 (TYPE_RESIZE_REQUEST): new constant.
1163 (TYPE_CIRCULATE_NOTIFY): new constant.
1164 (TYPE_CIRCULATE_REQUEST): new constant.
1165 (TYPE_PROPERTY_NOTIFY): new constant.
1166 (TYPE_SELECTION_CLEAR): new constant.
1167 (TYPE_SELECTION_REQUEST): new constant.
1168 (TYPE_SELECTION_NOTIFY): new constant.
1169 (TYPE_COLORMAP_NOTIFY): new constant.
1170 (TYPE_MAPPING_NOTIFY): new constant.
1171 * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
1172 * gnu/gcj/xlib/natGC.cc (copyArea): new method
1173 * java/awt/Component.java (createImage): changed to use peer method.
1175 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1177 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
1178 name, not XLFD, to native drawString.
1179 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1180 Replace XLFD-based implementation with Pango-based
1183 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1185 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
1186 GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
1188 2003-08-21 David Daney <ddaney@avtrex.com>
1190 Fix for PR libgcj/12013:
1191 * java/lang/ref/natReference.cc (finalize_referred_to_object):
1192 Check `cleared' field.
1193 * java/lang/ref/Reference.java (copy): Updated comments.
1194 (cleared): New field.
1197 2003-08-21 Scott Gilbertson <scottg@mantatest.com>
1198 Thomas Fitzsimmons <fitzsim@redhat.com>
1200 * Makefile.am (gtk_awt_peer_sources): Add
1201 gnu/java/awt/peer/GLightweightPeer.java. Remove
1202 gnu/java/awt/GLightweightPeer.java.
1203 * gnu/java/awt/GLightweightPeer.java: Remove file.
1204 * gnu/java/awt/peer/GLightweightPeer.java: New file.
1205 * java/awt/Component.java (getToolkit): Add comment about
1206 lightweight components.
1207 * java/awt/Toolkit.java (createComponent): Return
1208 gnu.java.awt.peer.GLightweightPeer.
1210 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
1212 * configure.in: Fix detection of gcj when building with newlib.
1213 * configure: Regenerated.
1215 2003-08-20 Graydon Hoare <graydon@redhat.com>
1217 * jni.cc: Replace "cheating" pointer-casting code with
1218 extract_from_jvalue<> template.
1220 2003-08-20 Andrew Haley <aph@redhat.com>
1222 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
1223 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
1224 (classAt): Break out class lookup function into getClass().
1225 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
1226 handlers when using -fno-assume-compiled.
1228 2003-08-20 Tom Tromey <tromey@redhat.com>
1230 Fix for PR libgcj/9125:
1231 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
1232 object outside of loop. Respect lib_control setting.
1233 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
1235 (lib_control): New field.
1236 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
1237 (VMClassLoader): Initialize new field.
1239 * java/lang/ref/natReference.cc (finalize_referred_to_object):
1240 Set `list->reference' to DELETED_REFERENCE when removing dead
1242 (find_slot): Added an assert.
1243 (DELETED_REFERENCE): New define.
1244 (add_to_hash): Check for DELETED_REFERENCE.
1245 (remove_from_hash): Just return if found slot isn't ours.
1247 2003-08-19 Andrew Haley <aph@redhat.com>
1249 * prims.cc (unblock_signal): New function.
1250 (catch_segv): Use it.
1251 (catch_fpe): Likewise.
1253 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
1256 * java/io/natFileDescriptorWin32.cc (open): Set create
1257 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
1258 Honor EXCL when openning with WRITE flag.
1260 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
1262 * include/jvm.h: New class _Jv_TempUTFString (helper class for
1263 getting a temporary C string from a jstring)
1264 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
1265 but uses a stack buffer if the string length is less than 256
1268 2003-08-18 Tom Tromey <tromey@redhat.com>
1271 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
1272 void. Throw VirtualMachineError if ffi fails. Initialize return
1273 value. Added is_jni_call argument; only wrap exception if not a
1274 JNI call. Use descriptive message if operation not supported.
1275 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
1277 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
1278 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
1280 (_Jv_JNI_CallAnyMethodA): Likewise.
1281 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
1282 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
1284 2003-08-13 Tom Tromey <tromey@redhat.com>
1286 * gij.cc (help): Document -? and -X.
1288 2003-08-12 Graydon Hoare <graydon@redhat.com>
1290 * java/awt/Font.java:
1291 Stub out more recent API.
1293 2003-08-12 Graydon Hoare <graydon@redhat.com>
1295 * java/awt/Color.java (getAlpha):
1296 Prevent sign-extended alpha values.
1298 2003-08-12 Tom Tromey <tromey@redhat.com>
1300 * gij.cc (main): Handle -? and -X.
1302 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
1304 * java/awt/Container.java
1305 (getPreferredSize): Call preferredSize.
1306 (preferredSize): Moved body of getPreferredSize here.
1307 (getMinimumSize): Call minimumSize.
1308 (minimumSize): Moved body of getMinimumSize here.
1310 2003-08-11 Tom Tromey <tromey@redhat.com>
1312 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
1313 (postEvent): Removed FIXME comment.
1314 (isDispatchThread): Documented.
1315 (getCurrentEvent): New method.
1316 (dispatchEvent): Set currentEvent and lastWhen.
1317 (getMostRecentEventTime): Rewrote.
1318 (invokeLater): Documented.
1320 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
1322 * java/io/PrintStream.java (print): Always flush if auto_flush is
1323 set. Don't check for newline characters.
1324 (write (int)): Implement without using a temporary array.
1325 (write (byte[], int, int): Always flush if auto_flush is set. Don't
1326 check for newline characters.
1327 Fixes PR libgcj/11778.
1329 2003-08-08 Andrew Haley <aph@redhat.com>
1331 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
1332 * Makefile.in: Rebuild.
1333 * java/lang/natRuntime.cc (insertSystemProperties): Add
1334 "sun.boot.class.path".
1336 2003-08-07 Andrew Haley <aph@redhat.com>
1338 * java/io/PrintStream.java: Don't crash on a null string.
1340 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1342 * configure.in: Don't initialize GCINCS to boehm-gc/include.
1343 * configure: Regenerate.
1345 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
1347 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
1348 SocketImpl. Update Javadoc.
1349 (bind): Call close() not impl.close() in event of exception.
1350 (connect): Likewise.
1351 Remove superfluous null checks throughout.
1352 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
1353 Don't create an extra socket. Fix for PR libgcj/10868.
1354 (bind): Clean up exception handling.
1355 Remove superfluous null checks throughout.
1357 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
1358 Bryce McKinlay <bryce@mckinlay.net.nz>
1360 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
1361 ready-to-write argument to _Jv_Select. Reset the socket back to
1362 non-blocking state after connecting.
1363 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
1364 Throw SocketTimeoutException not InterruptedIOException.
1365 (read): Throw SocketTimeoutException not InterruptedIOException.
1367 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
1369 * java/lang/Thread.java (Thread): Check for null "name" from
1370 start of private constructor, not after calling the private
1373 2003-08-06 Tom Tromey <tromey@redhat.com>
1375 * java/io/FilePermission.java (equals): Use correct index for
1376 last character of path.
1378 2003-08-06 Alan Modra <amodra@bigpond.net.au>
1380 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
1381 * configure.in: Compare with_cross_host to build_alias, not build.
1382 * aclocal.m4: Regenerate.
1383 * configure: Regenerate.
1385 2003-08-05 Tom Tromey <tromey@redhat.com>
1387 Fix for PR libgcj/11779:
1388 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
1391 * java/lang/reflect/Method.java: Updated status comment.
1392 Imported javadoc from Classpath and re-ordered methods.
1393 * java/lang/reflect/Constructor.java: Reindented. Updated
1394 status comment. Imported javadoc from Classpath and re-ordered
1397 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
1399 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
1400 Add keyLocation parameter.
1401 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
1403 (paramString): Generate keyChar string according to keyChar, not
1405 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1406 (state_to_awt_mods): Handle ALT key.
1407 (keyevent_state_to_awt_mods): New function.
1408 (get_first_keyval_from_keymap): New function.
1409 (keysym_to_awt_keycode): Get virtual key code from keymap.
1410 Handle missing VK_ values.
1411 (keysym_to_awt_keylocation): New function.
1412 (keyevent_to_awt_keychar): New function.
1413 (generates_key_typed_event): Handle non-text-component case.
1414 Handle GDK_KP_Delete and GDK_KP_Enter.
1415 (awt_event_handler): Call new functions to get postKeyEvent
1417 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
1418 Update postKeyEvent method signature.
1419 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
1422 2003-08-05 Matthias Klose <doko@debian.org>
1424 * aclocal.m4: check for libart-config binary
1425 under the name libart2-config as well.
1426 * configure: regenerated.
1428 2003-08-04 David P Grove <groved@us.ibm.com>
1430 * java/text/DecimalFormat.java (format): avoid ArithmeticException
1431 when groupingSize is 0.
1434 2003-08-04 Matthias Klose <doko@debian.org>
1436 * libart.m4: check for libart-config binary
1437 under the name libart2-config as well.
1438 * configure, aclocal.m4: regenerated.
1440 2003-08-02 Michael Koch <konqueror@gmx.de>
1442 * java/nio/ByteBufferImpl.java
1443 (getChar): Check remaining bytes, fixed comment about endianess.
1444 (putChar): Likewise.
1445 (getShort): Likewise.
1446 (putShort): Likewise.
1447 (getInt): Check remaining bytes, fixed conversion, fixed comment about
1450 (getLong): Likewise.
1451 (putLong): Likewise.
1452 (getFloat): Likewise.
1453 (putFloat): Likewise.
1454 (getDouble): Likewise.
1455 (putDouble): Likewise.
1456 * java/nio/DirectByteBufferImpl.java
1457 (getChar): Wrapped code, fixed comment about endianess.
1458 (putchar): Likewise.
1459 (getShort): Likewise.
1460 (putShort): Likewise.
1461 (getInt): Fixed conversion, fixed comment about endianess.
1463 (getLong): Likewise.
1464 (putLong): Likewise.
1465 (getFloat): Likewise.
1466 (putFloat): Likewise.
1467 (getDouble): Likewise.
1468 (putDouble): Likewise.
1469 * java/nio/MappedByteBufferImpl.java
1470 (compact): Implemented.
1471 (getChar): Implemented.
1472 (putChar): Implemented.
1473 (getDouble): Implemented.
1474 (putdouble): Implemented.
1475 (getFloat): Implemented.
1476 (putFloat): Implemented.
1477 (getInt): Implemented.
1478 (putInt): Implemented.
1479 (getLong): Implemented.
1480 (putLong): Implemented.
1481 (getShort): Implemented.
1482 (putShort): Implemented.
1483 * java/nio/channels/FileChannelImpl.java
1484 (read): Set position where to access file.
1486 (transferTo): Flip buffer after read and before write.
1487 (transferFrom): Likewise.
1489 2003-08-02 Michael Koch <konqueror@gmx.de>
1491 * gnu/java/lang/ArrayHelper.java
1492 (equalsArray): Reformated, added method documentation.
1494 2003-08-02 Michael Koch <konqueror@gmx.de>
1497 (URL): Added paragraph about the
1498 gnu.java.net.nocache_protocol_handlers property.
1499 (ph_cache): Renamed from handlers to match classpath's implementation.
1500 Reordered it with factory and serialVersionUID member variables.
1501 (cache_handlers): New member variable.
1502 (static): New static initializer to initialize cache_handlers from
1503 gnu.java.net.nocache_protocol_handlers property.
1504 (URL): Use ph_cache instead of handlers, reformatted some code to
1505 match classpath's implementation.
1507 2003-08-01 Tom Tromey <tromey@redhat.com>
1509 Fix for PR libgcj/11241:
1510 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
1511 initialCapacity is 0, set it to 1.
1513 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
1515 * java/net/SocketImpl.java (toString): Display the remote address
1516 of an unconnected server socket as "0.0.0.0/0.0.0.0".
1518 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
1520 * javax/swing/border/BevelBorder.java,
1521 javax/swing/border/EtchedBorder.java,
1522 javax/swing/border/LineBorder.java,
1523 javax/swing/border/MatteBorder.java,
1524 javax/swing/border/SoftBevelBorder.java,
1525 javax/swing/plaf/BorderUIResource.java,
1526 javax/swing/plaf/ComponentUI.java,
1527 javax/swing/plaf/TreeUI.java,
1528 javax/swing/plaf/basic/BasicBorders.java,
1529 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1530 javax/swing/plaf/basic/BasicTreeUI.java:
1531 Prepend "doc-files" to all paths to embedded Javadoc images, so
1532 that the generated documentation contains the correct URL.
1534 2003-08-01 Tom Tromey <tromey@redhat.com>
1536 * configure: Rebuilt.
1537 * configure.in (tool_include_dir): Redefine to match gcc.
1539 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
1540 Mark Wielaard <mark@klomp.org>
1542 * java/math/BigDecimal (divide): Correctly handle
1543 ROUND_HALF_EVEN when amount is greater than 0.5.
1544 Simplify and optimize code.
1546 2003-07-31 Tom Tromey <tromey@redhat.com>
1548 More for PR libgcj/11737:
1549 * java/io/ObjectInputStream.java (processResolution): Use
1551 (getMethod): Make method accessible.
1552 (getField): Make field accessible.
1553 (setBooleanField): Don't call setAccessible here.
1554 (setByteField, setCharField, setDoubleField, setFloatField,
1555 setIntField, setLongField, setShortField, setObjectField):
1557 (callReadMethod): Don't check whether method is null. Catch
1558 NoSuchMethodException.
1559 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
1560 cause on thrown exceptions.
1562 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
1564 Fix for PR libgcj/11728:
1565 * java/util/HashMap.java (readObject): Set size.
1567 2003-07-31 Tom Tromey <tromey@redhat.com>
1569 Fix for PR libgcj/11737:
1570 * java/io/ObjectOutputStream.java (getMethod): Make method
1572 (getField): Likewise.
1573 (writeObject): Use getMethod.
1574 Import PrivilegedAction and AccessController.
1575 (callWriteMethod): Don't check whether m is null. Catch
1576 NoSuchMethodException.
1578 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
1579 (containsAngle): Likewise.
1580 (getStartPoint): Rewrote.
1581 (getEndPoint): Likewise.
1582 (setAngleStart(Point2D)): Likewise.
1584 2003-07-31 Roger Sayle <roger@eyesopen.com>
1585 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1587 * configure.in: Add new THREADCXXFLAGS variable.
1588 Handle POSIX threads on alpha*-dec-osf*.
1589 * configure: Regenerate.
1590 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
1591 * Makefile.in: Regenerate.
1593 2003-07-08 Andrew Haley <aph@redhat.com>
1595 * include/i386-signal.h (RESTORE): New.
1596 (INIT_SEGV): Set restorer.
1597 (INIT_FPE): Likewise.
1599 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
1601 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
1603 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1604 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
1605 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1606 (gtkSetFont): Scale size parameter by PANGO_SCALE.
1607 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
1609 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
1612 2003-07-29 Tom Tromey <tromey@redhat.com>
1614 * defineclass.cc (handleField): Throw exception if field name is
1616 (handleMethod): Throw exception for duplicate method.
1618 2003-07-29 Tom Tromey <tromey@redhat.com>
1620 * gnu/gcj/convert/natIconv.cc (write): Handle case where
1621 output buffer is too small.
1623 2003-07-28 Tom Tromey <tromey@redhat.com>
1625 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
1627 Include gnu/gcj/runtime/StringBuffer.h.
1628 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
1630 (String(gnu.gcj.runtime.StringBuffer)): Use it.
1632 2003-07-27 Anthony Green <green@redhat.com>
1634 * configure.in: Fix newlib check.
1635 * configure: Rebuilt.
1637 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
1639 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1640 Create vbox and layout for GtkPlug.
1642 2003-07-27 Michael Koch <konqueror@gmx.de>
1644 * java/awt/Window.java
1645 (Window): Removed now unused constructor. It became oboslete with the
1646 new embedded window patch.
1648 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
1649 Michael Koch <konqueror@gmx.de>
1651 * gnu/java/awt/EmbeddedWindow.java
1652 (EmbeddedWindow): Extends Frame instead of Window.
1653 (window_id): New member variable to store the native window handle.
1655 (EmbeddedWindow): New constructor.
1656 (addNotify): New method.
1657 (getHandler): Likewise.
1658 (setWindowPeer): New native method.
1659 * gnu/java/awt/EmbeddedWindowSupport.java
1660 (EmbeddedWindowSupport): Fixed documentation.
1661 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
1662 WindowPeer, give it an EmbeddedWindow instance instead of the raw
1664 * gnu/java/awt/natEmbeddedWindow.cc
1666 (setWindowPeer): New method.
1667 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
1668 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
1669 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1671 * gnu/java/awt/peer/gtk/GtkToolkit.java
1672 (GtkToolkit): Implements EmbeddedWindowSupport.
1673 (createEmbeddedWindow): New method.
1674 * java/awt/Window.java
1677 (java_source_files): Added EmbeddedWindowPeer.java.
1678 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
1679 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
1680 * Makefile.in: Regenerated.
1682 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
1684 * java/lang/Win32Process.java (ConcreteProcess): Surround
1685 a command line element with quotes if it contains an
1686 embedded space or tab.
1687 * java/lang/natWin32Process.cc (startProcess): Do not
1688 surround command line elements with quotes here.
1690 * configure.host: Use -fcheck-references and
1691 -fuse-divide-subroutine for MinGW until we fix
1692 win32_exception_handler( ) in win32.cc w.r.t. Win32
1693 Structured Exception Handling (SEH).
1695 * win32.cc (_Jv_platform_initProperties): Use generic names
1696 like "x86" for the "os.arch" property to be consistent with
1697 what Sun's JDK produces. Use the wProcessorArchitecture
1698 member of the Win32 SYSTEM_INFO structure, filled in a call
1699 to GetSystemInfo( ), instead of dwProcessorType.
1701 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
1702 Ranjit Mathew <rmathew@hotmail.com>
1704 * Makefile.am: Use cross-compiling gcjh from the path for
1705 a crossed-native build.
1706 * Makefile.in: Rebuilt.
1707 * configure.in: Include libltdl in non-newlib builds.
1708 Moved determination of gcj used to build libraries to
1709 its own section. Fixed cross-compilation issues for
1711 * configure: Rebuilt.
1713 2003-07-25 Tom Tromey <tromey@redhat.com>
1715 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
1720 2003-07-25 Mark Wielaard <mark@klomp.org>
1722 * java/lang/natRuntime.cc (_load): Add library name to
1723 UnsatisfiedLinkError when thrown.
1725 2003-07-25 Mark Wielaard <mark@klomp.org>
1727 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
1729 * Makefile.in: Likewise.
1731 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
1733 * java/awt/Component.java
1734 (getPreferredSize): Call preferredSize.
1735 (preferredSize): Moved body of getPreferredSize here.
1736 (getMinimumSize): Call minimumSize.
1737 (minimumSize): Moved body of getMinimumSize here.
1738 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
1739 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
1741 * java/awt/Container.java
1742 (validate): Don't validate if there is no peer.
1743 (update): Clear background before calling paint.
1744 * java/awt/GridBagLayout.java
1745 Completed the implementation and fixed several bugs.
1746 * java/awt/MediaTracker.java
1747 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
1749 * java/awt/Window.java
1750 (Window): Don't call setVisible(false). Windows are invisible by
1751 default and calling virtual methods from constructor causes
1752 compatibility problems (e.g. subclasses may assume that the peer
1755 2003-07-25 Michael Koch <konqueror@gmx.de>
1757 * java/awt/GridBagLayout.java:
1758 Totally reworked and partly implemented.
1759 * java/awt/GridBagLayoutInfo.java:
1762 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1764 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
1765 Don't pack label in an event box.
1767 2003-07-24 Tom Tromey <tromey@redhat.com>
1770 * verify.cc (ref_intersection): New class.
1771 (type_val): Removed unresolved_reference_type,
1772 uninitialized_unresolved_reference_type.
1773 (is_assignable_from_slow): Rewrote.
1774 (type::data): Removed.
1775 (type::klass): New field.
1776 (type::type): Added verifier argument.
1777 (type::resolve): Removed.
1778 (type::set_uninitialized): Updated for change to type_val.
1779 (type::set_initialized): Likewise.
1780 (type::isinitialized): Likewise.
1781 (type::print): Likewise.
1782 (construct_primitive_array_type): Likewise.
1783 (type::compatible): Updated for change to type_val and to use
1785 (type::isarray): Updated to use ref_intersection.
1786 (type::isinterface): Likewise.
1787 (type::element_type): Likewise.
1788 (type::to_array): Likewise.
1789 (type::verify_dimensions): Rewrote.
1790 (type::merge): Likewise.
1791 (check_class_constant): Updated for type constructor change.
1792 (check_constant): Likewise.
1793 (check_field_constant): Likewise.
1794 (get_one_type): Likewise.
1795 (initialize_stack): Likewise.
1796 (verify_instructions_0): Likewise.
1797 (verify_instructions_0) [op_invokeinterface]: Removed special
1799 (isect_list): New field.
1800 (_Jv_BytecodeVerifier): Initialize it.
1801 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
1803 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
1805 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
1806 unless field size is 2.
1808 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
1810 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1811 (connectHooks): New method.
1812 (handleEvent): Remove.
1813 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
1814 (createHooks): Remove declaration.
1815 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1816 (generates_key_typed_event): Change to handle only certain
1818 (awt_event_handler): Add special handling for GtkTextView.
1819 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1820 (textcomponent_commit_cb): New function.
1821 (textcomponent_changed_cb): Likewise.
1822 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1823 (connectHooks): Remove.
1825 2003-07-23 Tom Tromey <tromey@redhat.com>
1827 * java/lang/natSystem.cc (arraycopy): Check for overflow.
1829 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
1831 2003-07-22 Tom Tromey <tromey@redhat.com>
1833 * boehm.cc (_Jv_BuildGCDescr): Wrote.
1836 2003-07-22 Tom Tromey <tromey@redhat.com>
1838 * java/awt/Window.java (getWarningString): Just return the
1840 (Window): Set warningString; check with security manager.
1842 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
1844 * gnu/awt/xlib/XGraphicsConfiguration.java
1845 (FontMetricsCache): Made static.
1847 2003-07-22 Tom Tromey <tromey@redhat.com>
1849 * java/net/URLEncoder.java (encode(String)): Use platform default
1851 (encode(String,String)): Convert to 2-digit upper-case hex
1855 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
1857 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1858 (create): Remove unused method implementation.
1859 (connectHooks): Remove debug messages.
1861 2003-07-20 Anthony Green <green@redhat.com>
1863 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
1864 CloneNotSupportedException.
1865 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
1866 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
1867 * gnu/gcj/xlib/GC.java (clone): Ditto.
1868 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
1869 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
1871 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
1873 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
1875 2003-07-20 Steve Pribyl <steve@netfuel.com.>
1877 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
1878 String. Put dlerror() message into exception.
1879 Include UnsatisfiedLinkError.
1880 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
1883 2003-07-20 Tom Tromey <tromey@redhat.com>
1885 * java/lang/Runtime.java: Comment fix.
1886 * java/lang/ClassLoader.java (isAncestorOf): New method.
1887 (getParent): Uncommented security check. Use isAncestorOf.
1888 * include/jvm.h (_Jv_CheckAccess): Declare.
1889 * java/lang/reflect/natConstructor.cc (newInstance): Perform
1891 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
1892 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
1893 class loader to _Jv_GetArrayClass.
1894 Include ArrayIndexOutOfBoundsException.h.
1895 * java/lang/reflect/Field.java: Update comment to reflect status.
1896 (equals): Fixed indentation.
1897 * java/lang/Class.h (Class): Declare memberAccessCheck, not
1898 checkMemberAccess. Make _Jv_CheckAccess a friend.
1899 * java/lang/Class.java (memberAccessCheck): New method from
1901 (checkMemberAccess): Removed.
1902 (getDeclaredMethod): Use memberAccessCheck.
1903 (getField): Likewise.
1904 (getMethod): Likewise.
1905 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
1906 (_Jv_SearchMethodInClass): Likewise.
1907 * prims.cc (_Jv_CheckAccess): New function.
1908 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
1909 (_Jv_JNI_GetAnyFieldID): Likewise.
1910 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
1911 (getClassLoader): Added security check.
1912 (getConstructor): Call memberAccessCheck.
1913 (getDeclaredClasses): Likewise.
1914 (getDeclaredField): Likewise.
1915 (getDeclaredFields): Likewise.
1916 (_getConstructors): Likewise.
1917 (getDeclaredConstructor): Likewise.
1918 (getDeclaredMethods): Likewise.
1919 (getFields): Likewise.
1920 (getMethods): Likewise.
1921 (newInstance): Likewise.
1922 (_Jv_MakeVTable): Put method name in exception.
1923 * java/lang/reflect/natMethod.cc (getType): Use
1924 getClassLoaderInternal.
1925 (_Jv_GetTypesFromSignature): Likewise.
1926 (invoke): Perform access check.
1927 (_Jv_CallAnyMethodA): Removed old FIXME comments.
1928 Include ArrayIndexOutOfBoundsException.h.
1929 * java/lang/reflect/natField.cc (getType): Use
1930 getClassLoaderInternal.
1931 (_Jv_CheckFieldAccessibility): Removed.
1932 (getAddr): Use _Jv_CheckAccess; find caller.
1933 Include ArrayIndexOutOfBoundsException.h.
1935 2003-07-20 Michael Koch <konqueror@gmx.de>
1938 (URL): Fixed documentation to name an argument correcty, Reformatted
1939 one method declaration.
1940 (getURLStreamHandler): Added documentation from classpath.
1942 2003-07-19 Tom Tromey <tromey@redhat.com>
1944 * mauve-libgcj: Don't run CollationElementIterator tests.
1946 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
1948 * java/net/URLClassLoader.java (addURL): Moved implementation to
1949 private addURLImpl() to avoid calling addURL from the constructor.
1950 (addURLImpl): Contains the code that was previously in addURL.
1951 (addURLs): Call addURLImpl(), not addURL().
1953 2003-07-18 Graydon Hoare <graydon@redhat.com>
1955 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
1956 Handle missing event cases, connect to "value-changed" signal.
1958 2003-07-18 Graydon Hoare <graydon@redhat.com>
1960 * java/awt/geom/CubicCurve2D.java,
1961 java/awt/geom/Line2D.java,
1962 java/awt/geom/QuadCurve2D.java,
1963 java/awt/geom/Rectangle2D.java:
1964 Fix path some calculations, make path iterators follow
1967 2003-07-18 Mark Wielaard <mark@klomp.org>
1969 * java/util/logging/Handler.java (isLoggable): Check record level
1972 2003-07-17 Michael Koch <konqueror@gmx.de>
1974 * gnu/java/awt/peer/gtk/GtkToolkit.java:
1977 2003-07-14 Michael Koch <konqueror@gmx.de>
1979 * gnu/java/rmi/server/UnicastServerRef.java:
1980 New version from classpath.
1982 2003-07-14 Michael Koch <konqueror@gmx.de>
1984 * java/awt/image/MemoryImageSource.java,
1985 java/beans/PropertyEditorManager.java,
1986 javax/naming/CompoundName.java,
1987 javax/naming/spi/NamingManager.java,
1988 javax/swing/AbstractButton.java,
1989 javax/swing/ButtonModel.java,
1990 javax/swing/SwingUtilities.java,
1991 javax/swing/UIManager.java,
1992 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1993 javax/swing/event/AncestorEvent.java,
1994 javax/swing/event/InternalFrameEvent.java,
1995 java/util/zip/ZipFile.java:
1996 New versions from classpath.
1998 2003-07-13 Michael Koch <konqueror@gmx.de>
2000 * gnu/java/nio/FileChannelImpl.java,
2001 gnu/java/nio/natFileChannelImpl.cc: Removed.
2002 * java/io/FileInputStream.java,
2003 java/io/FileOutputStream.java,
2004 java/io/RandomAccessFile.java,
2005 java/nio/MappedByteBufferImpl.java:
2006 Import java.nio.channels.FileChannelImpl instead of
2007 gnu.java.nio.FileChannelImpl.
2008 * java/nio/channels/FileChannelImpl.java,
2009 java/nio/channels/natFileChannelImpl.cc:
2012 (ordinary_java_source_files):
2013 Removed gnu/java/nio/FileChannelImpl.java and added
2014 java/nio/channels/FileChannelImpl.java.
2016 Removed gnu/java/nio/natFileChannelImpl.cc and added
2017 java/nio/channels/natFileChannelImpl.cc.
2018 * Makefile.in: Regenerated.
2020 2003-07-13 Michael Koch <konqueror@gmx.de>
2022 * javax/swing/plaf/basic/BasicBorders.java,
2023 javax/swing/plaf/basic/BasicLabelUI.java,
2024 javax/swing/plaf/basic/BasicLookAndFeel.java,
2025 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
2026 javax/swing/plaf/basic/BasicTextUI.java,
2027 javax/swing/plaf/metal/MetalLookAndFeel.java:
2028 New versions from classpath.
2030 2003-07-13 Michael Koch <konqueror@gmx.de>
2032 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
2033 * gnu/java/awt/peer/gtk/GdkGraphics.java
2034 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
2035 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
2036 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
2037 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
2038 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
2039 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2040 * gnu/java/awt/peer/gtk/GtkClipboard.java
2041 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
2042 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2043 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2044 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
2045 * gnu/java/awt/peer/gtk/GtkImage.java
2046 * gnu/java/awt/peer/gtk/GtkImagePainter.java
2047 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
2048 * gnu/java/awt/peer/gtk/GtkListPeer.java
2049 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2050 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
2051 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2052 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
2053 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
2054 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
2055 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
2056 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
2057 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
2058 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
2059 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2060 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
2062 2003-07-13 Michael Koch <konqueror@gmx.de>
2064 * gnu/java/locale/LocaleInformation_de.java
2065 * gnu/java/locale/LocaleInformation_en.java
2066 * gnu/java/locale/LocaleInformation_nl.java
2068 2003-07-13 Michael Koch <konqueror@gmx.de>
2070 * gnu/java/awt/EmbeddedWindow.java,
2071 gnu/java/awt/EmbeddedWindowSupport.java,
2072 gnu/java/awt/natEmbeddedWindow.cc:
2074 * java/awt/Window.java
2075 (Window): New constructor to support embedded windows.
2077 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
2078 gnu/java/awt/EmbeddedWindowSupport.java.
2079 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
2080 * Makefile.in: Regenerated.
2082 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
2084 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
2085 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
2086 * java/awt/im/InputContext.java: Remove a redundant
2089 2003-07-09 Tom Tromey <tromey@redhat.com>
2091 * Makefile.in: Rebuilt.
2092 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
2094 2003-07-09 Mark Wielaard <mark@klomp.org>
2096 * java/io/ObjectOutputStream.java (writeObject): break after
2097 calling writeClassDescriptor().
2099 2003-07-09 Mark Mitchell <mark@codesourcery.com>
2101 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
2103 2003-07-09 Michael Koch <konqueror@gmx.de>
2105 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2106 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
2107 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
2108 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
2109 Explicitly import used classes.
2110 * java/awt/Container.java: New version from classpath.
2112 2003-07-09 Michael Koch <konqueror@gmx.de>
2114 * libgcj.pc.in: New file.
2115 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
2116 * Makefile.in: Regenerated.
2117 * configure: Regenrated.
2118 * configure.in: Create libgcj.pc from libgcj.pc.in.
2120 2003-07-08 Mark Wielaard <mark@klomp.org>
2122 * gcj/cni.h: CNI now expands to Compiled Native Interface.
2124 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
2125 * java/lang/fdlibm.h: Likewise.
2127 2003-07-07 Adam Megacz <adam@xwt.org>
2129 * posix.cc: added #include<stdio.h>
2131 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2133 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
2136 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2137 (setCaretPosition, setEditable): Rely entirely on native
2140 (postTextEvent): New method.
2141 (handleEvent): New method.
2142 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
2144 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
2145 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2146 (keysym_to_awt_keycode): Fix range checks.
2147 (generates_key_typed_event): New function.
2148 (awt_event_handler): Post AWT_KEY_RELEASED events to event
2150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2151 (gtkInit): Store TextComponent's postTextEvent method ID.
2152 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2153 (setText): Post TEXT_VALUE_CHANGED event to event queue.
2155 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2157 * configure.in: Check for usleep declaration.
2158 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
2159 * configure: Regenerate.
2160 * include/config.h.in: Likewise.
2161 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
2163 2003-07-01 Michael Koch <konqueror@gmx.de>
2165 * gnu/gcj/convert/natIconv.cc
2166 (iconv_init): Fixed possible memory leak by releasing allocated iconv
2169 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2171 * glib-2.0.m4: New file.
2172 * gtk-2.0.m4: New file.
2175 * configure.in: Update AM_PATH_GTK macro call to
2176 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
2177 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
2178 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
2179 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2180 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
2181 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2182 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2183 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
2184 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
2185 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2186 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
2187 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2188 jni/gtk-peer/gthread-jni.c,
2189 jni/gtk-peer/gthread-jni.h:
2190 New versions from classpath.
2191 * aclocal.m4: Regenerate.
2192 * configure: Regenerate.
2193 * Makefile.in: Regenerate.
2194 * gcj/Makefile.in: Regenerate.
2195 * include/Makefile.in: Regenerate.
2196 * testsuite/Makefile.in: Regenerate.
2198 2003-06-30 Gary Benson <gbenson@redhat.com>
2200 For PR libgcj/11349:
2201 * javax/naming/spi/NamingManager.java (getURLContext): Use
2202 correct name for factory class.
2204 2003-06-28 Michael Koch <konqueror@gmx.de>
2206 * java/io/PrintStream.java
2207 (checkError): Call flush() instead of direct flushing of the Writer
2209 (print): Call print(String) instead of direct print method of the
2211 (println): Call println(String) instead of direct println method of the
2213 (write): Simplified.
2215 2003-06-28 Michael Koch <konqueror@gmx.de>
2217 * java/net/ServerSocket.java
2218 (setChannel): New method.
2219 * java/net/Socket.java
2220 (setChannel): New method.
2222 2003-06-27 Michael Koch <konqueror@gmx.de>
2224 * java/beans/beancontext/BeanContextSupport.java:
2225 New version from classpath.
2227 2003-06-27 Michael Koch <konqueror@gmx.de>
2229 * java/awt/Window.java,
2230 java/awt/font/GraphicAttribute.java,
2231 java/awt/font/ImageGraphicAttribute.java,
2232 java/awt/image/DataBufferByte.java,
2233 java/awt/image/DataBufferInt.java,
2234 java/awt/image/DataBufferUShort.java,
2235 java/awt/image/DirectColorModel.java,
2236 java/awt/image/PixelGrabber.java:
2237 New versions from classpath.
2239 2003-06-27 Michael Koch <konqueror@gmx.de>
2241 * java/security/Certificate.java
2242 (getGuarantor): Removed wrong @deprecated tag.
2243 (getPrincipal): Likewise.
2244 (getPublicKey): Likewise.
2247 (getFormat): Likewise.
2248 (toString): Likewise.
2249 * java/security/cert/PolicyQualifierInfo.java
2250 (PolicyQualifierInfo): Made final.
2251 * javax/security/auth/x500/X500Principal.java
2252 (serialVersionUID): New member variable.
2254 2003-06-27 Michael Koch <konqueror@gmx.de>
2256 * java/text/Format.java
2257 (serialVersionUID): Fixed value.
2259 2003-06-27 Michael Koch <konqueror@gmx.de>
2261 * java/net/Inet4Address.java
2262 (Inet4Address): Made package-private.
2263 * java/net/Inet6Address.java
2264 (Inet4Address): Made package-private.
2266 2003-06-27 Michael Koch <konqueror@gmx.de>
2268 * java/io/RandomAccessFile.java
2269 (readLine): Removed wrong @deprecated tag.
2270 (getChannel): Made final.
2272 2003-06-27 Michael Koch <konqueror@gmx.de>
2274 * gnu/java/nio/FileChannelImpl.java
2277 2003-06-27 Michael Koch <konqueror@gmx.de>
2279 * java/nio/ByteBufferImpl.java
2280 (ByteBufferImpl): Made it a package-private class
2281 * java/nio/CharBufferImpl.java
2282 (CharBufferImpl): Made it a package-private class
2283 * java/nio/DirectByteBufferImpl.java
2284 (DirectByteBufferImpl): Made it a package-private class
2285 * java/nio/DoubleBufferImpl.java
2286 (DoubleBufferImpl): Made it a package-private class
2287 * java/nio/FloatBufferImpl.java
2288 (FloatBufferImpl): Made it a package-private class
2289 * java/nio/IntBufferImpl.java
2290 (IntBufferImpl): Made it a package-private class
2291 * java/nio/LongBufferImpl.java
2292 (LongBufferImpl): Made it a package-private class
2293 * java/nio/ShortBufferImpl.java
2294 (ShortBufferImpl): Made it a package-private class
2295 * java/nio/channels/FileChannel.java
2296 (write): Made final.
2297 * java/nio/channels/ServerSocketChannel.java
2298 (ServerSocketChanne): Made protected.
2300 2003-06-27 Michael Koch <konqueror@gmx.de>
2302 * javax/naming/CompositeName.java
2303 (serialVersionUID): New member variable.
2304 * javax/naming/CompoundName.java
2305 (serialVersionUID): New member variable.
2306 * javax/naming/InitialContext.java
2307 (InitialContext): Throws NamingException.
2309 * javax/naming/LinkRef.java
2310 (serialVersionUID): New member variable.
2311 (gteLinkName): Throws NamingException.
2312 * javax/naming/NamingException.java
2313 (serialVersionUID): New member variable.
2314 * javax/naming/NamingSecurityException.java
2315 (NamingSecurityException): Made abstract.
2316 (serialVersionUID): New member variable.
2317 * javax/naming/ReferralException.java
2318 (serialVersionUID): New member variable.
2319 * javax/naming/StringRefAddr.java
2320 (serialVersionUID): New member variable.
2321 * javax/naming/directory/BasicAttribute.java:
2323 (serialVersionUID): New member variable.
2324 (get): Throws NamingException.
2325 (getAll): Throws NamingException.
2326 * javax/naming/directory/BasicAttributes.java:
2328 (serialVersionUID): New member variable.
2329 * javax/naming/ldap/UnsolicitedNotificationEvent.java
2330 (serialVersionUID): New member variable.
2332 2003-06-27 Michael Koch <konqueror@gmx.de>
2335 (awt_java_source_files): Added new files:
2336 javax/swing/Popup.java,
2337 javax/swing/PopupFactory.java
2338 * Makefile.in: Regenerated.
2340 2003-06-27 Michael Koch <konqueror@gmx.de>
2342 * javax/swing/JWindow.java,
2343 javax/swing/event/AncestorEvent.java,
2344 javax/swing/event/HyperlinkEvent.java,
2345 javax/swing/event/InternalFrameEvent.java,
2346 javax/swing/event/ListDataEvent.java,
2347 javax/swing/event/TableModelEvent.java,
2348 javax/swing/plaf/PopupMenuUI.java,
2349 javax/swing/plaf/SplitPaneUI.java,
2350 javax/swing/plaf/TabbedPaneUI.java,
2351 javax/swing/plaf/TextUI.java,
2352 javax/swing/plaf/TreeUI.java,
2353 javax/swing/plaf/basic/BasicTextUI.java,
2354 javax/swing/plaf/basic/BasicTreeUI.java:
2355 New versions from classpath.
2356 * javax/swing/Popup.java,
2357 javax/swing/PopupFactory.jav:
2358 New source files from classpath.
2359 * javax/swing/plaf/doc-files/TreeUI-1.png:
2360 New binary files from classpath.
2362 2003-06-25 Michael Koch <konqueror@gmx.de>
2365 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
2366 * Makefile.in: Regenerated.
2368 2003-06-25 Michael Koch <konqueror@gmx.de>
2370 * javax/swing/plaf/ActionMapUIResource.java,
2371 javax/swing/plaf/BorderUIResource.java,
2372 javax/swing/plaf/ButtonUI.java,
2373 javax/swing/plaf/ColorChooserUI.java,
2374 javax/swing/plaf/ColorUIResource.java,
2375 javax/swing/plaf/ComboBoxUI.java,
2376 javax/swing/plaf/ComponentInputMapUIResource.java,
2377 javax/swing/plaf/ComponentUI.java,
2378 javax/swing/plaf/DesktopIconUI.java,
2379 javax/swing/plaf/DesktopPaneUI.java,
2380 javax/swing/plaf/DimensionUIResource.java,
2381 javax/swing/plaf/FileChooserUI.java,
2382 javax/swing/plaf/FontUIResource.java,
2383 javax/swing/plaf/IconUIResource.java,
2384 javax/swing/plaf/InputMapUIResource.java,
2385 javax/swing/plaf/InsetsUIResource.java,
2386 javax/swing/plaf/InternalFrameUI.java,
2387 javax/swing/plaf/LabelUI.java,
2388 javax/swing/plaf/ListUI.java,
2389 javax/swing/plaf/MenuBarUI.java,
2390 javax/swing/plaf/MenuItemUI.java,
2391 javax/swing/plaf/OptionPaneUI.java,
2392 javax/swing/plaf/PanelUI.java,
2393 javax/swing/plaf/ProgressBarUI.java,
2394 javax/swing/plaf/RootPaneUI.java,
2395 javax/swing/plaf/ScrollBarUI.java,
2396 javax/swing/plaf/ScrollPaneUI.java,
2397 javax/swing/plaf/SeparatorUI.java,
2398 javax/swing/plaf/SliderUI.java,
2399 javax/swing/plaf/TableHeaderUI.java,
2400 javax/swing/plaf/TableUI.java,
2401 javax/swing/plaf/ToolBarUI.java,
2402 javax/swing/plaf/ToolTipUI.java,
2403 javax/swing/plaf/ViewportUI.java:
2404 New versions from classpath.
2405 * javax/swing/plaf/SpinnerUI.java:
2406 New file from classpath
2408 2003-06-25 Michael Koch <konqueror@gmx.de>
2410 * java/awt/image/ColorModel.java:
2411 New version from classpath.
2413 2003-06-25 Michael Koch <konqueror@gmx.de>
2415 * java/net/PlainDatagramSocketImpl.java:
2416 Partly merged with classpath, this mainly adds documentation.
2418 2003-06-25 Michael Koch <konqueror@gmx.de>
2420 * java/io/ObjectInputStream.java
2421 (readClassDescriptor): New method.
2422 (readObject): Moved functionality to readClassDescriptor().
2423 * java/io/ObjectOutputStream.java
2424 (writeClassDescriptor): New method.
2425 (writeObject): Moved functionality to writeClassDescriptor().
2427 2003-06-25 Michael Koch <konqueror@gmx.de>
2429 * javax/swing/plaf/basic/BasicListUI.java,
2430 javax/swing/plaf/basic/BasicOptionPaneUI.java:
2431 Added missing methods.
2433 2003-06-25 Michael Koch <konqueror@gmx.de>
2435 * javax/swing/event/AncestorEvent.java
2436 javax/swing/event/HyperlinkEvent.java
2437 javax/swing/event/InternalFrameEvent.java
2438 javax/swing/event/ListDataEvent.java
2439 javax/swing/event/TableModelEvent.java:
2442 2003-06-24 Michael Koch <konqueror@gmx.de>
2444 * java/net/URL.java:
2445 Renamed "handler" to "ph" in the whole file to match classpaths
2447 * java/net/URLStreamHandler.java:
2448 (equals): Renamed "handler" to "ph".
2450 2003-06-24 Michael Koch <konqueror@gmx.de>
2452 * javax/swing/event/AncestorEvent.java,
2453 javax/swing/event/HyperlinkEvent.java,
2454 javax/swing/event/InternalFrameEvent.java,
2455 javax/swing/event/ListDataEvent.java,
2456 javax/swing/event/TableModelEvent.java,
2457 javax/swing/event/TreeWillExpandListener.java,
2458 javax/swing/plaf/ComponentUI.java,
2459 javax/swing/plaf/DesktopIconUI.java,
2460 javax/swing/plaf/DesktopPaneUI.java,
2461 javax/swing/plaf/DimensionUIResource.java,
2462 javax/swing/plaf/FileChooserUI.java,
2463 javax/swing/plaf/FontUIResource.java,
2464 javax/swing/plaf/IconUIResource.java,
2465 javax/swing/plaf/InputMapUIResource.java,
2466 javax/swing/plaf/InsetsUIResource.java,
2467 javax/swing/plaf/InternalFrameUI.java,
2468 javax/swing/plaf/LabelUI.java,
2469 javax/swing/plaf/ListUI.java,
2470 javax/swing/plaf/MenuBarUI.java,
2471 javax/swing/plaf/MenuItemUI.java,
2472 javax/swing/plaf/OptionPaneUI.java,
2473 javax/swing/plaf/PanelUI.java,
2474 javax/swing/plaf/ProgressBarUI.java,
2475 javax/swing/plaf/doc-files/ComponentUI-1.dia,
2476 javax/swing/plaf/doc-files/ComponentUI-1.png:
2477 New versions from classpath.
2479 2003-06-24 Michael Koch <konqueror@gmx.de>
2481 * java/nio/Buffer.java
2482 (cap): Made package-private.
2487 2003-06-24 Michael Koch <konqueror@gmx.de>
2489 * java/net/SocketImpl.java
2490 (shutdownInput): Made it non-abstract method throwing an exception
2492 (shutdownOutput): Likewise.
2493 * java/net/SocketInputStream.java,
2494 java/net/SocketOutputStream.java:
2495 New files from classpath.
2497 2003-06-24 Michael Koch <konqueror@gmx.de>
2499 * java/awt/Font.java,
2500 java/awt/Window.java,
2501 java/awt/color/ColorSpace.java,
2502 java/awt/datatransfer/StringSelection.java,
2503 java/awt/image/ColorModel.java:
2504 New versions from classpath.
2506 2003-06-24 Michael Koch <konqueror@gmx.de>
2509 (awt_java_source_files): Added new files:
2510 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
2511 javax/swing/plaf/basic/BasicSplitPaneUI.java
2512 * Makefile.in: Regenerated.
2514 2003-06-24 Michael Koch <konqueror@gmx.de>
2516 * javax/swing/text/JTextComponent.java:
2517 New version from classpath.
2519 2003-06-24 Michael Koch <konqueror@gmx.de>
2521 * javax/swing/Timer.java,
2522 javax/swing/plaf/ActionMapUIResource.java,
2523 javax/swing/plaf/ButtonUI.java,
2524 javax/swing/plaf/ColorChooserUI.java,
2525 javax/swing/plaf/ColorUIResource.java,
2526 javax/swing/plaf/ComboBoxUI.java,
2527 javax/swing/plaf/ComponentInputMapUIResource.java,
2528 javax/swing/plaf/basic/BasicBorders.java:
2529 New versions from classpath.
2530 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
2531 javax/swing/plaf/basic/BasicSplitPaneUI.java:
2532 New file from classpath.
2533 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
2534 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
2535 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
2536 javax/swing/plaf/doc-files/ComponentUI-1.dia,
2537 javax/swing/plaf/doc-files/ComponentUI-1.png:
2538 New binary files from classpath.
2540 2003-06-24 Michael Koch <konqueror@gmx.de>
2542 * java/io/LineNumberReader.java
2543 (skip): Dont do line number accounting here as this is already done in
2546 2003-06-21 Michael Koch <konqueror@gmx.de>
2549 (static): Load javaio lib if existing (only in classpath).
2550 (File): Revised documentation to show the correct argument name.
2551 (createTempFile): Partly merged with classpath.
2552 (compareTo): Simplified.
2553 (lastModified): Throw exception if time < 0.
2554 (deleteOnExit): Revised documentation.
2556 2003-06-21 Michael Koch <konqueror@gmx.de>
2558 * java/net/PlainSocketImpl.java:
2560 (PlainSocketImpl): Merged class documentaion with classpath.
2563 (PlainSocketImpl): New empty constructor.
2565 (setOption): Merged documentation from classpath.
2566 (getOption): Likewise.
2568 (connect): Likewise.
2572 (available): Likewise.
2576 (getInputStream): Made synchronozed to get sure that only one stream
2577 object can be created for this socket, merged documentation from
2579 (getOutputStream): Likewise.
2581 2003-06-21 Michael Koch <konqueror@gmx.de>
2583 * java/net/PlainSocketImpl.java:
2585 (static): New implicit method.
2586 (read): Made package private.
2589 2003-06-21 Michael Koch <konqueror@gmx.de>
2591 * java/util/SimpleTimeZone.java:
2592 Removed unneeded import, reformatting.
2594 2003-06-21 Michael Koch <konqueror@gmx.de>
2596 * java/text/DateFormat.java,
2597 java/text/SimpleDateFormat.java,
2598 java/util/Locale.java:
2599 New versions from classpath.
2601 2003-06-21 Michael Koch <konqueror@gmx.de>
2603 * javax/swing/SpinnerModel.java:
2604 New file from classpath.
2605 * javax/swing/border/LineBorder.java,
2606 javax/swing/border/SoftBevelBorder.java,
2607 javax/swing/plaf/BorderUIResource.java,
2608 javax/swing/plaf/basic/BasicBorders.java:
2609 New versions from classpath.
2610 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
2611 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
2612 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
2613 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
2614 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
2615 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
2616 New binary files from classpath.
2618 2003-06-21 Michael Koch <konqueror@gmx.de>
2620 * java/util/logging/LogRecord.java,
2621 java/util/logging/Logger.java,
2622 java/util/logging/SocketHandler.java,
2623 java/util/logging/SimpleFormatter.java,
2624 java/util/logging/Formatter.java,
2625 java/util/logging/ErrorManager.java,
2626 java/util/logging/Handler.java,
2627 java/util/logging/FileHandler.java,
2628 java/util/logging/LogManager.java,
2629 java/util/logging/Level.java,
2630 java/util/logging/ConsoleHandler.java,
2631 java/util/logging/StreamHandler.java,
2632 java/util/logging/LoggingPermission.java,
2633 java/util/logging/Filter.java,
2634 java/util/logging/MemoryHandler.java,
2635 java/util/logging/XMLFormatter.java:
2636 New files from classpath.
2638 2003-06-20 Michael Koch <konqueror@gmx.de>
2640 * java/io/ObjectStreamField.java
2641 (unshared): new member variable.
2642 (ObjectStreamField): New constructor.
2643 (isUnshared): New method.
2645 2003-06-20 Michael Koch <konqueror@gmx.de>
2647 * java/net/URLStreamHandler.java
2648 (hostsEqual): Rewritten.
2650 2003-06-20 Michael Koch <konqueror@gmx.de>
2652 * gnu/java/nio/MappedByteFileBuffer.java,
2653 gnu/java/nio/natMappedByteFileBuffer.cc:
2655 * java/nio/MappedByteBufferImpl.java:
2657 * gnu/java/nio/FileChannelImpl.java:
2658 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
2660 (ordinary_java_source_files): Removed
2661 gnu/java/nio/MappedByteFileBuffer.java and added
2662 java/nio/MappedByteBufferImpl.java.
2663 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
2664 * Makefile.in: Regenerated.
2666 2003-06-19 Michael Koch <konqueror@gmx.de>
2668 * gnu/java/nio/DatagramChannelImpl.java
2670 (blocking): New member variable.
2672 (DatagramChannelImpl): Throws IOException, initialize socket.
2673 (socket):Implemented.
2674 (implCloseSelectableChannel): Throws IOException, implemented.
2675 (implConfigureBlocking): Likewise.
2676 (connect): Likewise.
2677 (disconnect): Likewise.
2678 (isConnected): Likewise.
2681 (receive): Throws IOException.
2683 * gnu/java/nio/SocketChannelImpl.java
2684 (read): Implemented.
2685 (write): Implemented.
2687 2003-06-19 Michael Koch <konqueror@gmx.de>
2689 * javax/swing/JComponent.java,
2690 javax/swing/JInternalFrame.java,
2691 javax/swing/MenuSelectionManager.java,
2692 javax/swing/SwingUtilities.java,
2693 javax/swing/ToggleButtonModel.java:
2694 New versions from classpath.
2696 2003-06-19 Michael Koch <konqueror@gmx.de>
2698 * java/text/CollationElementIterator.java
2699 (NULLORDER): Initialize with -1 as JDK documentation says.
2701 2003-06-19 Michael Koch <konqueror@gmx.de>
2703 * java/net/HttpURLConnection.java,
2704 java/net/Inet4Address.java,
2705 java/net/Inet6Address.java,
2706 java/net/SocketImpl.java,
2707 java/net/URLClassLoader.java:
2708 Reworked import statements.
2709 * java/net/InetAddress.java
2710 (getByAddress): Simplified.
2711 * java/net/ServerSocket.java
2712 (ServerSocket): Moved special handling during bind operation to
2714 (bind): Handle different cases when trying to bind a socket.
2715 * java/net/URLConnection.java
2716 (getHeaderFieldDate): Merged with classpath.
2717 (getHeaderFieldInt): Likewise.
2719 2003-06-19 Michael Koch <konqueror@gmx.de>
2721 * java/util/zip/InflaterInputStream.java
2722 (InflaterInputStream): Throw NullPointerException if in is null (as
2725 2003-06-19 Michael Koch <konqueror@gmx.de>
2727 * java/awt/Font.java
2728 javax/swing/UIManager.java
2729 javax/swing/border/AbstractBorder.java
2730 javax/swing/border/BevelBorder.java
2731 javax/swing/border/Border.java
2732 javax/swing/border/CompoundBorder.java
2733 javax/swing/border/EmptyBorder.java
2734 javax/swing/border/EtchedBorder.java
2735 javax/swing/border/LineBorder.java
2736 javax/swing/border/MatteBorder.java
2737 javax/swing/border/TitledBorder.java
2738 javax/swing/plaf/BorderUIResource.java
2739 javax/swing/plaf/basic/BasicBorders.java
2740 javax/swing/plaf/basic/BasicButtonUI.java
2741 javax/swing/plaf/basic/BasicCheckBoxUI.java
2742 javax/swing/plaf/basic/BasicGraphicsUtils.java
2743 javax/swing/plaf/basic/BasicLabelUI.java
2744 javax/swing/plaf/basic/BasicRadioButtonUI.java
2745 javax/swing/plaf/basic/BasicToggleButtonUI.java:
2746 New versions from classpath.
2747 * javax/swing/border/SoftBevelBorder.java:
2748 New file from classpath.
2749 * javax/swing/border/doc-files/LineBorder-1.png,
2750 javax/swing/border/doc-files/BevelBorder-1.png,
2751 javax/swing/border/doc-files/BevelBorder-2.png,
2752 javax/swing/border/doc-files/BevelBorder-3.png,
2753 javax/swing/border/doc-files/EmptyBorder-1.png,
2754 javax/swing/border/doc-files/EtchedBorder-1.png,
2755 javax/swing/border/doc-files/EtchedBorder-2.png,
2756 javax/swing/border/doc-files/MatteBorder-1.png,
2757 javax/swing/border/doc-files/MatteBorder-2.png,
2758 javax/swing/border/doc-files/MatteBorder-3.png,
2759 javax/swing/border/doc-files/MatteBorder-4.png,
2760 javax/swing/border/doc-files/MatteBorder-5.png,
2761 javax/swing/border/doc-files/MatteBorder-6.png,
2762 javax/swing/border/doc-files/SoftBevelBorder-1.png,
2763 javax/swing/border/doc-files/SoftBevelBorder-2.png,
2764 javax/swing/border/doc-files/SoftBevelBorder-3.png,
2765 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
2766 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
2767 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
2768 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
2769 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
2770 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
2771 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
2772 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
2773 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
2774 New binary files from classpath.
2776 (awt_java_source_files): Added
2777 javax/swing/border/SoftBevelBorder.java.
2778 * Makefile.in: Regenerated.
2780 2003-06-19 Michael Koch <konqueror@gmx.de>
2782 * gnu/java/security/x509/X509Certificate.java
2783 (writeReplace): Merged from classpath.
2785 2003-06-19 Michael Koch <konqueror@gmx.de>
2787 * gnu/java/nio/FileChannelImpl.java
2788 (map_address): Made public.
2789 (FileChannelImpl): Merged with classpath.
2790 * gnu/java/nio/natFileChannelImpl.cc
2791 (nio_mmap_file): Commented out unused arguments.
2792 (nio_unmmap_file): Likewise.
2793 (niu_msync): Likewise.
2795 2003-06-19 Michael Koch <konqueror@gmx.de>
2797 * java/awt/image/IndexColorModel.java:
2798 New version from classpath.
2800 2003-06-18 Tom Tromey <tromey@redhat.com>
2802 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
2804 (isLoopbackAddress): Likewise.
2805 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
2808 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
2810 * java/lang/natVMSecurityManager.cc (getClassContext):
2811 Use maxlen instead of len for loop bound.
2813 2003-06-18 Michael Koch <konqueror@gmx.de>
2815 * gnu/java/nio/SelectorImpl.java
2816 (register): Use fd with value 0 for now, will be fixed later.
2817 * gnu/java/nio/ServerSocketChannelImpl.java
2819 (local_port): Removed.
2820 (InetSocketAddress): Removed.
2821 (ServerSocketChannelImpl): Just initialize internal socket object.
2822 (implCloseSelectableChannel): Close internal socket object.
2823 (implConfigureBlocking): Added comment.
2824 (accept): Use jaba.net stuff to accept socket.
2825 * gnu/java/nio/SocketChannelImpl.java
2827 (local_port): Removed.
2828 (InetSocketAddress): Removed.
2829 (SocketCreate): Removed.
2830 (SocketConnect): Removed.
2831 (SocketBind): Removed.
2832 (SocketListen): Removed.
2833 (SocketAvailable): Removed.
2834 (SocketClose): Removed.
2835 (SocketRead): Removed.
2836 (SocketWrite): Removed.
2837 (SocketChannelImpl): Just initialize internal socket object.
2838 (implCloseSelectableChannel): Close internal socket object.
2839 (implConfigureBlocking): Fixed implementation, added comment.
2840 (connect): Use internal socket object to connect.
2841 (socket): No need for sanity checks.
2842 (read): Comment out some stuff, this will be reimplemented in the next
2845 * gnu/java/nio/natFileChannelImpl.cc
2846 (nio_mmap_file): Line wrapped.
2847 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
2849 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
2850 * Makefile.in: Regenerated.
2852 2003-06-18 Michael Koch <konqueror@gmx.de>
2854 * java/util/Locale.java
2855 (equals): Merged from classpath.
2857 2003-06-18 Michael Koch <konqueror@gmx.de>
2859 * java/net/InetAddress.java:
2860 Reformatted to better match classpath's version.
2862 (equals): Simplified.
2863 * java/net/URLConnection.java
2864 (setDoInput): Revised documentation.
2865 (getDefaultUseCaches): Likewise.
2866 (setRequestProperty): Added @since tag.
2868 2003-06-17 Michael Koch <konqueror@gmx.de>
2870 * java/net/InetSocketAddress.java
2871 (InetSocketAddress): Use wildcard address if addr is null.
2872 (InetSocketAddress): Dont duplicate implementation.
2873 (InetSocketAddress): Throw exception when hostname is null.
2874 * java/net/Socket.java:
2876 (Socket): Throw exception when raddr is null, handle case when laddr
2879 2003-06-17 Michael Koch <konqueror@gmx.de>
2881 * java/nio/DirectByteBufferImpl.java
2882 (address): Made package private.
2883 (DirectByteBufferImpl): New constructor.
2884 * java/nio/natDirectByteBufferImpl.cc
2885 (allocateImpl): Moved to java.nio namespace, implemented.
2886 (freeImpl): Likewise.
2887 (getImpl): Likewise.
2888 (putImpl): Likewise.
2890 (_Jv_JNI_NewDirectByteBuffer): Implemented.
2891 (_Jv_JNI_GetDirectBufferAddress): Implemented.
2892 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
2894 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2896 * include/powerpc-signal.h: New File.
2897 * configure.in: Use it.
2898 * configure: Regenerated.
2900 2003-06-17 Michael Koch <konqueror@gmx.de>
2902 * java/util/Locale.java
2903 (getDisplayLanguage): Made it final.
2904 (getDisplayCountry): Likewise.
2905 (getDisplayVariant): Likewise.
2906 (getDisplayName): Likewise.
2908 2003-06-17 Michael Koch <konqueror@gmx.de>
2910 * java/util/PropertyResourceBundle.java:
2911 Removed unneeded import.
2913 2003-06-17 Michael Koch <konqueror@gmx.de>
2915 * java/util/prefs/AbstractPreferences.java,
2916 java/util/prefs/PreferencesFactory.java:
2917 Reworked imports, removed unused imports.
2918 * java/util/prefs/Preferences.java
2919 (systemNodeForPackage): Method takes a Class not an Object.
2920 (userNodeForPackage): Likewise.
2921 (nodeForPackage): Likewise.
2923 2003-06-17 Michael Koch <konqueror@gmx.de>
2925 * gnu/java/security/x509/X509Certificate.java:
2926 Explicitely import used classes.
2928 2003-06-17 Michael Koch <konqueror@gmx.de>
2930 * java/util/zip/ZipEntry.java,
2931 java/util/zip/ZipFile.java,
2932 java/util/zip/ZipInputStream.java,
2933 java/util/zip/ZipOutputStream.java:
2934 Reworked imports, only import used classes.
2936 2003-06-17 Michael Koch <konqueror@gmx.de>
2938 * gnu/java/lang/ArrayHelper.java,
2939 gnu/java/lang/ClassHelper.java:
2940 Reformatted to match classpath's versions.
2942 2003-06-14 Michael Koch <konqueror@gmx.de>
2944 * gnu/java/nio/FileChannelImpl.java
2945 (map_address): Removed incorrect comment.
2946 * gnu/java/nio/SelectorImpl.java
2947 (register): Remove code duplication and code for file channel handling.
2948 * gnu/java/nio/ServerSocketChannelImpl.java
2949 (serverSocket): Renamed from sock_object.
2950 (ServerSocketChannel): Initialize serverSocket.
2951 (socket): Return serverSocket.
2952 * gnu/java/nio/SocketChannelImpl.java
2953 (socket): Renamed from sock_object.
2954 (isConnectionPenging): Simplified.
2955 (socket): Return socket.
2956 2003-06-14 Michael Koch <konqueror@gmx.de>
2958 * java/security/BasicPermission.java:
2959 New version from classpath.
2961 2003-06-14 Michael Koch <konqueror@gmx.de>
2963 * javax/naming/directory/Attribute.java:
2964 New version from classpath.
2966 2003-06-14 Michael Koch <konqueror@gmx.de>
2968 * java/io/BufferedReader.java,
2969 java/io/FileOutputStream.java:
2970 New versions from classpath.
2972 2003-06-12 Andrew Haley <aph@redhat.com>
2974 * prims.cc (catch_segv): Create exception in handler.
2975 (catch_fpe): Likewise.
2976 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
2977 (_Jv_ThrowSignal): Remove.
2979 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
2980 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
2981 to nullp and arithexception.
2982 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2983 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2984 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2985 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2986 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2988 2003-06-11 Andrew Haley <aph@redhat.com>
2990 * jni.cc (_Jv_JNI_check_types): New.
2991 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
2992 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
2993 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
2994 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
2996 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
2999 2003-06-11 Tom Tromey <tromey@redhat.com>
3001 * java/lang/ClassLoader.java (loadClass): Not deprecated.
3002 * java/io/PrintStream.java: Not deprecated.
3004 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
3006 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
3007 (fillOval): implemented
3008 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
3009 (fillArc): implemented.
3010 * gnu/gcj/xlib/GC.java (drawArc): added native method.
3011 (fillArc): added native method.
3012 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
3013 (fillArc): added native method.
3015 2003-06-11 Michael Koch <konqueror@gmx.de>
3017 * java/awt/im/InputSubset.java:
3018 New version from classpath.
3020 2003-06-11 Michael Koch <konqueror@gmx.de>
3022 * javax/swing/AbstractAction.java,
3023 javax/swing/AbstractButton.java,
3024 javax/swing/AbstractCellEditor.java,
3025 javax/swing/AbstractListModel.java,
3026 javax/swing/BorderFactory.java,
3027 javax/swing/Box.java,
3028 javax/swing/BoxLayout.java,
3029 javax/swing/ButtonGroup.java,
3030 javax/swing/DefaultButtonModel.java,
3031 javax/swing/DefaultListModel.java,
3032 javax/swing/DefaultListSelectionModel.java,
3033 javax/swing/FocusManager.java,
3034 javax/swing/ImageIcon.java,
3035 javax/swing/InputMap.java,
3036 javax/swing/JApplet.java,
3037 javax/swing/JButton.java,
3038 javax/swing/JCheckBox.java,
3039 javax/swing/JCheckBoxMenuItem.java,
3040 javax/swing/JColorChooser.java,
3041 javax/swing/JComboBox.java,
3042 javax/swing/JComponent.java,
3043 javax/swing/JDesktopPane.java,
3044 javax/swing/JDialog.java,
3045 javax/swing/JEditorPane.java,
3046 javax/swing/JFileChooser.java,
3047 javax/swing/JFormattedTextField.java,
3048 javax/swing/JFrame.java,
3049 javax/swing/JLabel.java,
3050 javax/swing/JLayeredPane.java,
3051 javax/swing/JList.java,
3052 javax/swing/JMenuBar.java,
3053 javax/swing/JMenuItem.java,
3054 javax/swing/JOptionPane.java,
3055 javax/swing/JPanel.java,
3056 javax/swing/JPasswordField.java,
3057 javax/swing/JPopupMenu.java,
3058 javax/swing/JProgressBar.java,
3059 javax/swing/JRadioButton.java,
3060 javax/swing/JRadioButtonMenuItem.java,
3061 javax/swing/JRootPane.java,
3062 javax/swing/JScrollBar.java,
3063 javax/swing/JScrollPane.java,
3064 javax/swing/JSeparator.java,
3065 javax/swing/JSlider.java,
3066 javax/swing/JTabbedPane.java,
3067 javax/swing/JTable.java,
3068 javax/swing/JTextField.java,
3069 javax/swing/JToggleButton.java,
3070 javax/swing/JToolBar.java,
3071 javax/swing/JToolTip.java,
3072 javax/swing/JTree.java,
3073 javax/swing/JViewport.java,
3074 javax/swing/JWindow.java,
3075 javax/swing/KeyStroke.java,
3076 javax/swing/ListSelectionModel.java,
3077 javax/swing/LookAndFeel.java,
3078 javax/swing/RepaintManager.java,
3079 javax/swing/ScrollPaneLayout.java,
3080 javax/swing/SizeRequirements.java,
3081 javax/swing/SwingConstants.java,
3082 javax/swing/Timer.java,
3083 javax/swing/UIDefaults.java,
3084 javax/swing/UIManager.java,
3085 javax/swing/border/AbstractBorder.java,
3086 javax/swing/border/CompoundBorder.java,
3087 javax/swing/colorchooser/AbstractColorChooserPanel.java,
3088 javax/swing/colorchooser/ColorChooserComponentFactory.java,
3089 javax/swing/colorchooser/ColorSelectionModel.java,
3090 javax/swing/colorchooser/DefaultColorSelectionModel.java,
3091 javax/swing/event/AncestorEvent.java,
3092 javax/swing/event/HyperlinkEvent.java,
3093 javax/swing/event/InternalFrameAdapter.java,
3094 javax/swing/event/InternalFrameEvent.java,
3095 javax/swing/event/ListDataEvent.java,
3096 javax/swing/event/MouseInputAdapter.java,
3097 javax/swing/event/SwingPropertyChangeSupport.java,
3098 javax/swing/event/TableModelEvent.java,
3099 javax/swing/event/TreeWillExpandListener.java,
3100 javax/swing/event/UndoableEditEvent.java,
3101 javax/swing/filechooser/FileFilter.java,
3102 javax/swing/filechooser/FileSystemView.java,
3103 javax/swing/filechooser/FileView.java,
3104 javax/swing/plaf/BorderUIResource.java,
3105 javax/swing/plaf/basic/BasicDefaults.java,
3106 javax/swing/table/AbstractTableModel.java,
3107 javax/swing/table/DefaultTableCellRenderer.java,
3108 javax/swing/table/DefaultTableColumnModel.java,
3109 javax/swing/table/DefaultTableModel.java,
3110 javax/swing/table/TableColumn.java,
3111 javax/swing/text/JTextComponent.java,
3112 javax/swing/tree/AbstractLayoutCache.java,
3113 javax/swing/tree/DefaultMutableTreeNode.java,
3114 javax/swing/tree/DefaultTreeCellEditor.java,
3115 javax/swing/tree/DefaultTreeCellRenderer.java,
3116 javax/swing/tree/DefaultTreeModel.java,
3117 javax/swing/tree/DefaultTreeSelectionModel.java,
3118 javax/swing/tree/FixedHeightLayoutCache.java,
3119 javax/swing/tree/TreeCellEditor.java,
3120 javax/swing/tree/TreeModel.java,
3121 javax/swing/tree/TreeNode.java,
3122 javax/swing/tree/TreePath.java,
3123 javax/swing/tree/TreeSelectionModel.java,
3124 javax/swing/tree/VariableHeightLayoutCache.java,
3125 javax/swing/undo/AbstractUndoableEdit.java,
3126 javax/swing/undo/CompoundEdit.java,
3127 javax/swing/undo/StateEdit.java,
3128 javax/swing/undo/UndoManager.java,
3129 javax/swing/undo/UndoableEditSupport.java:
3130 New versions from classpath.
3131 * javax/swing/table/JTableHeader.java:
3132 New file from classpath.
3134 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
3135 * Makefile.in: Regenerated.
3137 2003-06-11 Michael Koch <konqueror@gmx.de>
3139 * java/nio/MappedByteBuffer.java,
3140 java/nio/channels/Channels.java,
3141 java/nio/channels/ServerSocketChannel.java,
3142 java/nio/channels/spi/AbstractSelector.java:
3143 Removed unneeded imports.
3145 2003-06-11 Michael Koch <konqueror@gmx.de>
3147 * java/net/DatagramSocket.java:
3148 Partly merged with classpath.
3150 2003-06-11 Michael Koch <konqueror@gmx.de>
3152 * java/awt/Frame.java,
3153 java/awt/Graphics.java,
3155 java/awt/Robot.java,
3156 java/awt/image/ColorModel.java:
3157 New versions from classpath.
3159 2003-06-10 Michael Koch <konqueror@gmx.de>
3161 * java/io/PrintStream.java:
3162 Merged version from classpath.
3163 (close): Removed sychronized keyword. This class is not garantied to
3167 2003-06-09 Tom Tromey <tromey@redhat.com>
3169 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
3171 (getDescent): Likewise, for "descent".
3173 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
3175 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
3176 (getMaxDescent): adjusted return value.
3177 (getAscent): modified to use metrics for 'O'.
3178 (getDescent): modified to use metrics for 'y'.
3180 2003-06-08 Anthony Green <green@redhat.com>
3182 * java/net/URLStreamHandler.java (sameFile): Fix port value
3184 * java/net/URL.java (handler): Make package private.
3185 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
3187 2003-06-07 Tom Tromey <tromey@redhat.com>
3189 For PR libgcj/11085:
3190 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
3191 Limit number of characters in numeric field when required.
3192 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
3193 Respect maximumIntegerDigits.
3195 2003-06-08 Michael Koch <konqueror@gmx.de>
3197 * java/net/Socket.java
3198 (Socket): Dont initialize inputShutdown and outputShutdown twice,
3199 call bind() and connect() to actually do the bind and connect tasks.
3200 (bind): Connect to canonical address if bindpoint is null, create
3201 socket and bind it to bindpoint.
3202 (connect): Check for exceptions.
3204 2003-06-08 Michael Koch <konqueror@gmx.de>
3206 * java/net/DatagramSocket.java
3207 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
3208 into the Multicast constructors.
3209 * java/net/DatagramSocketImpl.java
3210 (getOption): Removed.
3211 (setOption): Removed.
3212 * java/net/MulticastSocket.java
3213 (MulticastSocket): Call setReuseAddress (true).
3214 * java/net/SocketImpl.java
3215 (getOption): Removed.
3216 (setOption): Removed.
3218 2003-06-07 Jeff Sturm <jsturm@one-point.com>
3221 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
3222 Test for empty vector.
3224 2003-06-06 Mark Wielaard <mark@klomp.org>
3226 * java/security/Security.java (secprops): Initialize.
3227 (loadProviders): Return boolean.
3228 (static): Check result of loadProvider calls. If necessary
3229 display WARNING and fallback to Gnu provider.
3231 2002-06-06 James Clark <jjc@jclark.com>
3233 Fix for PR libgcj/8738:
3234 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
3235 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
3236 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
3237 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
3238 (write): Always decrease avail when count is increased.
3239 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
3240 and whether output buffer is full before increasing size.
3242 2002-06-06 Mark Wielaard <mark@klomp dot org>
3244 * java/io/PrintStream.java (writeChars(char[],int, int)):
3245 Check converter.havePendingBytes().
3246 (writeChars(String,int,int)): Likewise.
3247 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
3248 Check converter.havePendingBytes() and flush buffer when stalled.
3250 2003-06-07 Michael Koch <konqueror@gmx.de>
3253 (O_DSYNC): Define O_DSYNC on platforms not
3254 supporting O_FSYNC (newlib).
3256 2003-06-06 Mark Wielaard <mark@klomp.org>
3258 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
3261 2003-06-06 Michael Koch <konqueror@gmx.de>
3263 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3264 More compile fixes from my stupid work yesterday.
3266 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
3268 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
3269 if _IEEE_LIBM is undefined.
3271 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
3273 * libjava/include/posix.h (O_SYNC): Define if not available
3274 and a reasonable, perhaps more conservative, replacement exists.
3275 (O_DSYNC): Likewise.
3276 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
3278 2003-06-05 Michael Koch <konqueror@gmx.de>
3280 * javax/swing/plaf/BorderUIResource.java,
3281 javax/swing/plaf/basic/BasicDefaults.java,
3282 javax/swing/plaf/basic/BasicOptionPaneUI.java:
3283 More compile fixes for latest Border commit. I should not commit
3284 something in this heat here ...
3286 2003-06-05 Michael Koch <konqueror@gmx.de>
3288 * javax/swing/border/BevelBorder.java
3289 (BevelBorder): Removed.
3290 * javax/swing/border/EmptyBorder.java:
3292 (EmptyBorder): Removed.
3293 (getBorderInsets): Dont use l, r, t and b.
3294 * javax/swing/border/EtchedBorder.java
3295 (EtchedBorder): Removed.
3296 * javax/swing/border/LineBorder.java
3297 (LineBorder): Removed.
3298 * javax/swing/border/MatteBorder.java
3299 (MatteBorder): Removed.
3300 * javax/swing/border/TitledBorder.java
3301 (defaultBorder): Use other default for now.
3302 (defaultFont): Likewise.
3303 (defaultColor): Likewise.
3305 2003-06-05 Michael Koch <konqueror@gmx.de>
3307 * javax/swing/border/Border.java:
3308 New version from classpath.
3310 2003-06-05 Michael Koch <konqueror@gmx.de>
3312 * javax/swing/border/AbstractBorder.java,
3313 javax/swing/border/BevelBorder.java,
3314 javax/swing/border/CompoundBorder.java,
3315 javax/swing/border/EmptyBorder.java,
3316 javax/swing/border/EtchedBorder.java,
3317 javax/swing/border/LineBorder.java,
3318 javax/swing/border/MatteBorder.java,
3319 javax/swing/border/TitledBorder.java:
3320 New versions from Classpath.
3322 2003-06-05 Michael Koch <konqueror@gmx.de>
3324 * java/awt/Button.java,
3325 java/awt/Checkbox.java,
3326 java/awt/CheckboxMenuItem.java,
3327 java/awt/Choice.java,
3328 java/awt/Container.java,
3329 java/awt/Dialog.java,
3330 java/awt/EventQueue.java,
3331 java/awt/FileDialog.java,
3332 java/awt/Frame.java,
3333 java/awt/Label.java,
3336 java/awt/MenuItem.java,
3337 java/awt/Panel.java,
3338 java/awt/PopupMenu.java,
3339 java/awt/Rectangle.java,
3340 java/awt/ScrollPane.java,
3341 java/awt/Scrollbar.java,
3342 java/awt/TextArea.java,
3343 java/awt/TextField.java,
3344 java/awt/Window.java,
3345 java/awt/datatransfer/DataFlavor.java,
3346 java/awt/dnd/DragSource.java,
3347 java/awt/dnd/DragSourceContext.java,
3348 java/awt/event/HierarchyEvent.java,
3349 java/awt/event/MouseWheelEvent.java,
3350 java/awt/im/InputContext.java,
3351 java/awt/image/BufferedImage.java,
3352 java/awt/image/ComponentColorModel.java,
3353 java/awt/image/Raster.java,
3354 java/awt/image/WritableRaster.java,
3355 java/awt/peer/ComponentPeer.java,
3356 java/awt/print/PageFormat.java,
3357 java/awt/print/PrinterJob.java:
3358 New versions from Classpath.
3360 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
3362 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
3363 numberFormat.setParseIntegerOnly(true).
3365 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
3367 * include/posix-threads.h: Include <machine/pal.h> on OSF.
3369 2003-06-03 Andrew Haley <aph@redhat.com>
3371 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
3372 stack volatile to prevent optimization from removing it.
3374 2003-05-27 Michael Koch <konqueror@gmx.de>
3376 * java/util/zip/Deflater.java
3377 (FILTERED): Merged documentation from classpath.
3378 * java/util/zip/DeflaterOutputStream.java
3379 (DeflaterOutputStream): Merged documentation and argument validity
3380 check from classpath.
3381 (deflate): Merged documentation from classpath.
3383 * java/util/zip/Inflater.java
3384 (Inflater): Merged class documentation from classpath.
3385 (zstream): Reordered.
3386 (is_finished): Reordered.
3387 (dict_needed): Reordered.
3388 (Inflater): Reordered, merged documentation from classpath.
3390 (finalize): Merged documentation from classpath.
3391 (finished): Likewise.
3392 (getAdler): Likewise.
3393 (getRemaining): Likewise.
3394 (getTotalIn): Likewise.
3395 (getTotalOut): Likewise.
3396 (inflate): Likewise.
3397 (needsDictionary): Likewise.
3398 (needsInput): Likewise.
3400 (setDictionary): Likewise.
3401 (setInput): Likewise.
3403 2003-05-27 Michael Koch <konqueror@gmx.de>
3405 * java/net/URLConnection.java
3406 (getHeaderFieldInt): Merged with classpath.
3408 2003-05-27 Michael Koch <konqueror@gmx.de>
3410 * java/io/PrintStream.java
3411 (PrintStream): Reformatted.
3412 (PrintStream): New method, merged from classpath.
3413 (write): Reformatted.
3415 2003-05-27 Michael Koch <konqueror@gmx.de>
3417 * java/lang/System.java:
3418 Explicitely import needed classes.
3420 2003-05-26 Michael Koch <konqueror@gmx.de>
3422 * java/net/NetPermission.java,
3423 java/net/NetworkInterface.java,
3424 java/net/PasswordAuthentication.java,
3425 java/net/SocketPermission.java:
3426 New versions from classpath.
3428 2003-05-25 Michael Koch <konqueror@gmx.de>
3430 * java/io/PushbackInputStream.java,
3431 java/net/Authenticator.java,
3432 java/net/ContentHandler.java,
3433 java/net/ContentHandlerFactory.java,
3434 java/net/DatagramSocket.java,
3435 java/net/DatagramSocketImpl.java,
3436 java/net/DatagramSocketImplFactory.java,
3437 java/net/FileNameMap.java,
3438 java/net/SocketImplFactory.java,
3439 java/net/SocketOptions.java,
3440 java/net/URLStreamHandlerFactory.java:
3441 Merged new versions from classpath.
3443 2003-05-25 Michael Koch <konqueror@gmx.de>
3445 * java/awt/Checkbox.java,
3446 java/awt/Dialog.java,
3448 java/awt/Frame.java,
3449 java/awt/ScrollPaneAdjustable.java,
3450 java/awt/Scrollbar.java,
3451 java/awt/Window.java:
3452 New versions from classpath.
3454 2003-05-22 Jeff Sturm <jsturm@one-point.com>
3457 * java/io/ObjectInputStream (enableResolveObject):
3458 Fixed spelling of permission name.
3460 2003-05-20 Michael Koch <konqueror@gmx.de>
3462 * java/io/DataInputStream.java
3463 (convertFromUTF): Merged comment from classpath.
3464 * java/io/PrintStream.java
3465 (error_occured): Renamed from error, merged comment from classpath.
3466 (PrintStream): No need to initialized error.
3467 (checkError): Replace error with error_occurred.
3468 (setError): Likewise.
3470 2003-05-20 Michael Koch <konqueror@gmx.de>
3472 * java/io/DataInputStream.java:
3473 Reformatted, Replaced < and & with html entitites in documentation.
3474 * java/io/File.java:
3476 * java/io/PrintWriter.java:
3477 Moved class documentation.
3479 2003-05-20 Michael Koch <konqueror@gmx.de>
3481 * gnu/java/nio/ByteBufferImpl.java,
3482 gnu/java/nio/CharBufferImpl.java,
3483 gnu/java/nio/CharViewBufferImpl.java,
3484 gnu/java/nio/DirectByteBufferImpl.java,
3485 gnu/java/nio/DoubleBufferImpl.java,
3486 gnu/java/nio/DoubleViewBufferImpl.java,
3487 gnu/java/nio/FloatBufferImpl.java,
3488 gnu/java/nio/FloatViewBufferImpl.java,
3489 gnu/java/nio/IntBufferImpl.java,
3490 gnu/java/nio/IntViewBufferImpl.java,
3491 gnu/java/nio/LongBufferImpl.java,
3492 gnu/java/nio/LongViewBufferImpl.java,
3493 gnu/java/nio/natDirectByteBufferImpl.cc,
3494 gnu/java/nio/ShortBufferImpl.java,
3495 gnu/java/nio/ShortViewBufferImpl.java:
3496 Moved files to java/nio.
3497 * gnu/java/nio/SocketChannelImpl.java
3499 * java/nio/ByteBuffer.java,
3500 java/nio/CharBuffer.java,
3501 java/nio/DoubleBuffer.java,
3502 java/nio/FloatBuffer.java,
3503 java/nio/IntBuffer.java,
3504 java/nio/LongBuffer.java,
3505 java/nio/ShortBuffer.java:
3506 Dont import anything.
3507 * java/nio/ByteBufferImpl.java,
3508 java/nio/CharBufferImpl.java,
3509 java/nio/CharViewBufferImpl.java,
3510 java/nio/DirectByteBufferImpl.java,
3511 java/nio/DoubleBufferImpl.java,
3512 java/nio/DoubleViewBufferImpl.java,
3513 java/nio/FloatBufferImpl.java,
3514 java/nio/FloatViewBufferImpl.java,
3515 java/nio/IntBufferImpl.java,
3516 java/nio/IntViewBufferImpl.java,
3517 java/nio/LongBufferImpl.java,
3518 java/nio/LongViewBufferImpl.java,
3519 java/nio/natDirectByteBufferImpl.cc,
3520 java/nio/ShortBufferImpl.java,
3521 java/nio/ShortViewBufferImpl.java:
3522 Moved from gnu/java/nio.
3524 (ordinary_java_source_files): Moved files from gnu/java/nio to
3526 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
3528 * Makefile.in: Regenerated.
3530 2003-05-19 Michael Koch <konqueror@gmx.de>
3532 * java/util/Calendar.java
3533 (get): Not final anymore since JDK 1.4
3536 2003-05-19 Michael Koch <konqueror@gmx.de>
3538 * java/text/CollationKey.java:
3539 Merged copyright and dat from classpath.
3540 * java/text/RuleBasedCollator.java:
3541 Merged class documentation from classpath.
3543 2003-05-19 Michael Koch <konqueror@gmx.de>
3545 * java/nio/CharBuffer.java
3546 (toString): Compile fix.
3548 2003-05-19 Michael Koch <konqueror@gmx.de>
3550 * gnu/java/nio/ByteBufferImpl.java
3551 (putLong): Fixed conversion to bytes.
3552 (putDouble): Fixed conversion to bytes.
3553 * gnu/java/nio/DirectByteBufferImpl.java
3554 (putLong): Fixed conversion to bytes.
3555 (putDouble): Fixed conversion to bytes.
3556 * gnu/java/nio/FileLockImpl.java
3557 (isValid): Reformatted.
3558 * java/nio/Buffer.java
3559 (Buffer): Fixed off-by-one bug in handling mark.
3560 * java/nio/ByteBuffer.java:
3562 * java/nio/CharBuffer.java
3563 (toString): Don't use relative get to get string data.
3565 2003-05-16 Michael Koch <konqueror@gmx.de>
3567 * java/io/natFileDescriptorPosix.cc
3568 (open): Commented out the O_SYNC and O_DSYNC usage until its better
3571 2003-05-14 Michael Koch <konqueror@gmx.de>
3573 * gnu/java/nio/FileLockImpl.java
3574 (released): New member variable.
3575 (FileLockImpl): Initialize released.
3576 (releaseImpl): New native method.
3577 (release): Implemented.
3578 * gnu/java/nio/SelectorImpl.java: Reformatted.
3579 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
3580 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
3581 (accept): Throws IOException.
3582 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
3583 (implConfigureBlocking): Throws IOException.
3584 (connect): Likewise.
3587 * gnu/java/nio/natFileLockImpl.cc: New file.
3588 * java/nio/channels/FileLock.java: Reformatted.
3590 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
3591 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
3592 * Makefile.in: Regenerated.
3594 2003-05-13 Michael Koch <konqueror@gmx.de>
3596 * gnu/java/nio/CharViewBufferImpl.java
3597 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
3598 (get): Shift bits to the right direction.
3600 * gnu/java/nio/DoubleViewBufferImpl.java
3601 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
3602 (get): Shift bits to the right direction.
3604 * gnu/java/nio/FloatViewBufferImpl.java
3605 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
3606 (get): Shift bits to the right direction.
3608 * gnu/java/nio/IntViewBufferImpl.java
3609 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
3610 (get): Shift bits to the right direction.
3612 * gnu/java/nio/LongViewBufferImpl.java
3613 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
3614 (get): Shift bits to the right direction.
3616 * gnu/java/nio/ShortViewBufferImpl.java
3617 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
3618 (get): Shift bits to the right direction.
3621 2003-05-13 Michael Koch <konqueror@gmx.de>
3623 * gnu/java/nio/natDirectByteBufferImpl.cc
3624 (allocateImpl): jlong -> RawData*.
3625 (freeImpl): Likewise.
3627 2003-05-13 Michael Koch <konqueror@gmx.de>
3629 * java/nio/channels/FileChannel.java
3630 (MapMode.m): Made it package-private to match JDK 1.4.
3631 * java/nio/charset/Charset.java
3632 (decode): Made it final to match JDK 1.4.
3634 2003-05-13 Michael Koch <konqueror@gmx.de>
3636 * java/io/FileDescriptor.java
3637 (SYNC): New constant.
3639 (getLength): Renamed from lenght() to match classpath's
3640 FileDescriptor.java.
3641 * java/io/RandomAccessFile.java
3642 (RandomAccessFile): Removed unneeded mode check, implemented mode
3643 "rws" and "rwd", merged documentation from classpath.
3644 (setLength): Reformatted.
3645 (length): Use new getLength() of FileDescriptor.
3646 * java/io/natFileDescriptorEcos.cc
3647 (getLength): Renamed from length().
3648 * java/io/natFileDescriptorPosix.cc
3649 (open): Implemented support for SYNC and DSYNC.
3650 (seek): Use getLength() instead of length().
3651 (getLength): Renamed from length().
3652 * java/io/natFileDescriptorWin32.cc
3653 (getLength): Renamed from length().
3654 (seek): Use getLength() instead of length().
3655 (available): Likewise.
3656 * gnu/java/nio/natFileChannelImpl.cc
3657 (size): Use getLength() instead of length().
3659 2003-05-13 Michael Koch <konqueror@gmx.de>
3661 * gnu/java/nio/ByteBufferImpl.java
3662 (ByteBufferImpl): All constructors revised.
3663 (slice): Reimplemented.
3664 (duplicate): Reimplemented.
3665 (asReadOnlyBuffer): Reimplemented.
3666 * java/nio/ByteBuffer.java:
3668 (array_offset): Renamed from "offset" to match all other buffer
3670 (ByteBuffer): All constructors revised.
3671 (allocateDirect): Implemented.
3672 (allocate): New implementation, documentation reworked.
3674 (get): Documentation reworked.
3675 (put): New implementation, documentation reworked.
3676 (hasArray): Documentation reworked.
3677 (arrayOffset): Likewise.
3678 (hashCode): Likewise.
3680 (compareTo): Likewise.
3682 (compact): Likewise.
3683 (isDirect): Likewise.
3685 (duplicate): Likewise.
3686 (asReadOnlyBuffer): Likewise.
3688 (ordinary_java_source_files):
3689 Added gnu/java/nio/DirectByteBufferImpl.java.
3691 Added gnu/java/nio/natDirectByteBufferImpl.cc.
3692 * Makefile.in: Regenerated.
3694 2003-05-12 Michael Koch <konqueror@gmx.de>
3696 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
3697 (nio_get_*): Removed.
3698 (nio_put_*): Removed.
3699 (as*Buffer): Implemented.
3700 (compact): Implemented.
3701 (get): Documentation added.
3702 (put): Documentation added.
3703 (get*): Newly implemented.
3704 (put*): Newly implemented.
3705 * gnu/java/nio/CharBufferImpl.java: Reformatted.
3706 (CharBufferImpl): Revised.
3707 (slice): New implementation.
3708 (duplicate): New implementation.
3709 (compact): New implementation.
3710 (asReadOnlyBuffer): New implementation.
3711 (get): Documentation revised.
3712 (order): Return native byte order.
3713 * gnu/java/nio/DirectByteBufferImpl.java
3714 (allocateDirect): objects can be null not 0.
3715 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
3716 (DoubleBufferImpl): Revised.
3717 (slice): New implementation.
3718 (duplicate): New implementation.
3719 (compact): New implementation.
3720 (asReadOnlyBuffer): New implementation.
3721 (get): Documentation revised.
3722 (order): Return native byte order.
3723 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
3724 (FloatBufferImpl): Revised.
3725 (slice): New implementation.
3726 (duplicate): New implementation.
3727 (compact): New implementation.
3728 (asReadOnlyBuffer): New implementation.
3729 (get): Documentation revised.
3730 (order): Return native byte order.
3731 * gnu/java/nio/IntBufferImpl.java: Reformatted.
3732 (IntBufferImpl): Revised.
3733 (slice): New implementation.
3734 (duplicate): New implementation.
3735 (compact): New implementation.
3736 (asReadOnlyBuffer): New implementation.
3737 (get): Documentation revised.
3738 (order): Return native byte order.
3739 * gnu/java/nio/LongBufferImpl.java: Reformatted.
3740 (LongBufferImpl): Revised.
3741 (slice): New implementation.
3742 (duplicate): New implementation.
3743 (compact): New implementation.
3744 (asReadOnlyBuffer): New implementation.
3745 (get): Documentation revised.
3746 (order): Return native byte order.
3747 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
3748 (ShortBufferImpl): Revised.
3749 (slice): New implementation.
3750 (duplicate): New implementation.
3751 (compact): New implementation.
3752 (asReadOnlyBuffer): New implementation.
3753 (get): Documentation revised.
3754 (order): Return native byte order.
3755 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
3756 (CharBuffer): Revised.
3758 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
3759 (DoubleBuffer): Revised.
3760 (allocateDirect): Removed.
3762 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
3763 (FloatBuffer): Revised.
3764 (allocateDirect): Removed.
3766 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
3767 (IntBuffer): Revised.
3768 (allocateDirect): Removed.
3770 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
3771 (LongBuffer): Revised.
3772 (allocateDirect): Removed.
3774 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
3775 (ShortBuffer): Revised.
3776 (allocateDirect): Removed.
3778 * gnu/java/nio/natByteBufferImpl.cc: Removed.
3779 * gnu/java/nio/natCharBufferImpl.cc: Removed.
3781 (ordinary_java_source_files): Added the following files:
3782 gnu/java/nio/CharViewBufferImpl.java,
3783 gnu/java/nio/DoubleViewBufferImpl.java,
3784 gnu/java/nio/FloatViewBufferImpl.java,
3785 gnu/java/nio/IntViewBufferImpl.java,
3786 gnu/java/nio/LongViewBufferImpl.java,
3787 gnu/java/nio/ShortViewBufferImpl.java
3788 (nat_source_files): Removed the following files:
3789 gnu/java/nio/natByteBufferImpl.cc,
3790 gnu/java/nio/natCharBufferImpl.cc
3791 * Makefile.in: Regenerated.
3793 2003-05-12 Michael Koch <konqueror@gmx.de>
3795 * gnu/java/nio/CharViewBufferImpl.java,
3796 gnu/java/nio/DirectByteBufferImpl.java,
3797 gnu/java/nio/DoubleViewBufferImpl.java,
3798 gnu/java/nio/FloatViewBufferImpl.java,
3799 gnu/java/nio/IntViewBufferImpl.java,
3800 gnu/java/nio/LongViewBufferImpl.java,
3801 gnu/java/nio/ShortViewBufferImpl.java,
3802 gnu/java/nio/natDirectByteBufferImpl.cc:
3803 New files, not yet to be compiled.
3805 2003-05-10 Michael Koch <konqueror@gmx.de>
3807 * javax/swing/plaf/ButtonUI.java,
3808 javax/swing/plaf/ColorUIResource.java,
3809 javax/swing/plaf/ComponentUI.java,
3810 javax/swing/plaf/DimensionUIResource.java,
3811 javax/swing/plaf/FontUIResource.java,
3812 javax/swing/plaf/IconUIResource.java,
3813 javax/swing/plaf/InsetsUIResource.java,
3814 javax/swing/plaf/LabelUI.java,
3815 javax/swing/plaf/ListUI.java,
3816 javax/swing/plaf/OptionPaneUI.java,
3817 javax/swing/plaf/PanelUI.java,
3818 javax/swing/plaf/TabbedPaneUI.java,
3819 javax/swing/plaf/TextUI.java,
3820 javax/swing/plaf/TreeUI.java,
3821 javax/swing/plaf/ViewportUI.java,
3822 javax/swing/plaf/basic/BasicBorders.java,
3823 javax/swing/plaf/basic/BasicButtonUI.java,
3824 javax/swing/plaf/basic/BasicCheckBoxUI.java,
3825 javax/swing/plaf/basic/BasicDefaults.java,
3826 javax/swing/plaf/basic/BasicGraphicsUtils.java,
3827 javax/swing/plaf/basic/BasicIconFactory.java,
3828 javax/swing/plaf/basic/BasicLabelUI.java,
3829 javax/swing/plaf/basic/BasicListUI.java,
3830 javax/swing/plaf/basic/BasicOptionPaneUI.java,
3831 javax/swing/plaf/basic/BasicPanelUI.java,
3832 javax/swing/plaf/basic/BasicRadioButtonUI.java,
3833 javax/swing/plaf/basic/BasicScrollPaneUI.java,
3834 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
3835 javax/swing/plaf/basic/BasicTextUI.java,
3836 javax/swing/plaf/basic/BasicToggleButtonUI.java,
3837 javax/swing/plaf/basic/BasicTreeUI.java,
3838 javax/swing/plaf/basic/BasicViewportUI.java,
3839 javax/swing/plaf/metal/MetalLookAndFeel.java:
3840 New versions from classpath. This adds copyrights to all files and
3841 some serialVersionUIDs.
3843 2003-05-10 Michael Koch <konqueror@gmx.de>
3845 * java/nio/CharBuffer.java
3846 (offset): Make it package-private.
3847 (backing_buffer): Likewise.
3848 * java/nio/DoubleBuffer.java
3849 (offset): Make it package-private.
3850 (backing_buffer): Likewise.
3852 * java/nio/FloatBuffer.java
3853 (offset): Make it package-private.
3854 (backing_buffer): Likewise.
3855 * java/nio/IntBuffer.java
3856 (offset): Make it package-private.
3857 (backing_buffer): Likewise.
3858 * java/nio/LongBuffer.java
3859 (offset): Make it package-private.
3860 (backing_buffer): Likewise.
3861 * java/nio/ShortBuffer.java
3862 (offset): Make it package-private.
3863 (backing_buffer): Likewise.
3865 2003-05-10 Michael Koch <konqueror@gmx.de>
3867 * java/nio/CharBuffer.java
3868 (put): Fixed precondtion check.
3869 (toString): Make it work without backing array.
3870 (put): Skip one level of method calling.
3872 2003-05-10 Michael Koch <konqueror@gmx.de>
3874 * java/security/Identity.java,
3875 java/security/IdentityScope.java,
3876 java/security/Key.java,
3877 java/security/KeyPair.java,
3878 java/security/PrivateKey.java,
3879 java/security/Provider.java,
3880 java/security/PublicKey.java,
3881 java/security/SecureRandom.java,
3882 java/security/SecureRandomSpi.java,
3883 java/security/SignedObject.java,
3884 java/security/Signer.java,
3885 java/security/cert/Certificate.java,
3886 java/security/cert/PKIXCertPathBuilderResult.java,
3887 java/security/cert/X509Certificate.java:
3888 New versions from classpath.
3890 2003-05-09 Tom Tromey <tromey@redhat.com>
3892 * Makefile.in: Rebuilt.
3893 * Makefile.am (nat_source_files): Removed old files.
3894 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
3895 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
3896 * gnu/java/nio/natIntBufferImpl.cc: Removed.
3897 * gnu/java/nio/natLongBufferImpl.cc: Removed.
3898 * gnu/java/nio/natShortBufferImpl.cc: Removed.
3900 2003-05-09 Michael Koch <konqueror@gmx.de>
3902 * gnu/java/nio/ByteBufferImpl.java
3903 (nio_cast): Removed.
3904 (ByteBufferImpl): Removed.
3905 (nio_get_Byte): Removed.
3906 (nio_put_Byte): Removed.
3907 (asByteBuffer): Removed.
3908 (asCharBuffer): Removed implementation and throw exception.
3909 (asShortBuffer): Likewise.
3910 (asIntBuffer): Likewise.
3911 (asLongBuffer): Likewise.
3912 (asFloatBuffer): Likewise.
3913 (asDoubleBuffer): Likewise.
3914 * gnu/java/nio/CharBufferImpl.java
3915 (CharBufferImpl): Removed.
3916 (nio_get_Byte): Removed.
3917 (nio_put_Byte): Removed.
3918 (asByteBuffer): Removed.
3919 * gnu/java/nio/DoubleBufferImpl.java
3920 (DoubleBufferImpl): Removed.
3921 (nio_get_Byte): Removed.
3922 (nio_put_Byte): Removed.
3923 (asByteBuffer): Removed.
3924 * gnu/java/nio/FloatBufferImpl.java
3925 (FloatBufferImpl): Removed.
3926 (nio_get_Byte): Removed.
3927 (nio_put_Byte): Removed.
3928 (asByteBuffer): Removed.
3929 * gnu/java/nio/IntBufferImpl.java
3930 (IntBufferImpl): Removed.
3931 (nio_get_Byte): Removed.
3932 (nio_put_Byte): Removed.
3933 (asByteBuffer): Removed.
3934 * gnu/java/nio/LongBufferImpl.java
3935 (LongBufferImpl): Removed.
3936 (nio_get_Byte): Removed.
3937 (nio_put_Byte): Removed.
3938 (asByteBuffer): Removed.
3939 * gnu/java/nio/ShortBufferImpl.java
3940 (ShortBufferImpl): Removed.
3941 (nio_get_Byte): Removed.
3942 (nio_put_Byte): Removed.
3943 (asByteBuffer): Removed.
3944 * gnu/java/nio/natByteBufferImpl.cc
3945 (nio_cast): Removed.
3946 (nio_get_Byte): Removed.
3947 (nio_put_Byte): Removed.
3948 * gnu/java/nio/natCharBufferImpl.cc
3949 (nio_get_Byte): Removed.
3950 (nio_put_Byte): Removed.
3952 2003-05-09 Michael Koch <konqueror@gmx.de>
3954 * java/net/JarURLConnection.java
3955 (getJarEntry): Merged documentation from classpath.
3956 (getJarFile): Likewise.
3957 (getMainAttributes): Likewise.
3958 (getAttributes): Likewise.
3959 (getManifest): Likewise.
3960 (getCertificates): Reformatted.
3961 * java/net/URLConnection.java:
3962 Little classpath merge.
3964 2003-05-09 Michael Koch <konqueror@gmx.de>
3966 * java/io/DataOutputStream.java
3967 (writeShort): Made it synchronized.
3968 (writeChar): Likewise.
3969 (writeInt): Likewise.
3970 (writeLong): Liekwise.
3971 (writeUTF): Made it synchronized, renamed argument to match classpath.
3972 * java/io/InputStreamReader.java
3973 (converter): Added documentation.
3974 (read): Merged documentation from classpath.
3975 * java/io/OutputStreamWriter.java
3976 (OutputStreamWriter): Merged documentation from classpath.
3977 (close): Reformatted.
3978 (getEncoding): Likewise.
3980 (write): Merged documentation from classpath, reformatted.
3982 2003-05-08 Tom Tromey <tromey@redhat.com>
3984 * configure.host <powerpc64*-*>: Set with_libffi_default and
3985 libgcj_interpreter to "yes".
3987 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
3989 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
3991 2003-05-06 Tom Tromey <tromey@redhat.com>
3993 * verify.cc: Reverted previous patch.
3995 2003-05-06 Michael Koch <konqueror@gmx.de>
3997 * java/io/DataOutputStream.java
3998 (write): Renamed argument to "value", merged documentation from
4000 (writeBoolean): Likewise.
4001 (writeByte): Likewise.
4002 (writeShort): Likewise.
4003 (writeChar): Likewise.
4004 (writeInt): Likewise.
4005 (writeLong): Likewise.
4006 (writeFloat): Likewise.
4007 (writeDouble): Likewise.
4008 (writeBytes): Likewise.
4009 (writeChars): Likewise.
4010 (writeUTF): Likewise.
4012 (performDelete): Added documentation.
4013 (performList): Likewise.
4014 (performMkdir): Likewise.
4015 (performSetReadOnly): Likewise.
4016 (performRenameTo): Likewise.
4017 (performSetLastModified): Likewise.
4018 (delete): Made it sychronized.
4019 (renameTo): Made it sychronized.
4020 (equals): Reformatted.
4021 (isHidden): Likewise.
4022 (listFiles): Likewise.
4023 (setReadOnly): Likewise.
4024 (listRoots): Likewise.
4025 (setLastModified): Likewise.
4026 (checkRead): Likewise.
4027 (checkWrite): Likewise.
4028 * java/io/FileInputStream.java
4029 (skip): Made it sychronized, merged from classpath.
4030 * java/io/FileOutputStream.java
4031 (write): Merged from classpath.
4032 * java/io/InputStreamReader.java:
4033 (InputStreamReader): Merged documentation from classpath.
4035 2003-05-05 Michael Koch <konqueror@gmx.de>
4037 * java/net/NetworkInterface.java
4038 (networkInterfaces): Removed.
4039 (getByName): Use getRealNetworkInterfaces() instead of
4041 (getByInetAddress): Likewise.
4042 (getNetworkInterfaces): Likewise.
4043 (toString): Fix output of addresses of an interface.
4045 2003-05-05 Michael Koch <konqueror@gmx.de>
4047 * java/io/DataInputStream.java:
4048 Merged new documentation from classpath.
4050 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
4052 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
4054 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
4055 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
4056 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
4057 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
4058 * gnu/awt/gtk/GtkMainThread.java: Likewise.
4059 * gnu/awt/gtk/GtkToolkit.java: Likewise.
4060 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
4061 * java/security/Key.java: Likewise.
4062 * java/security/PrivateKey.java: Likewise.
4063 * java/security/Provider.java: Likewise.
4064 * java/security/PublicKey.java: Likewise.
4066 2003-05-02 Michael Koch <konqueror@gmx.de>
4069 (create): Doesnt throws any exceptions.
4070 * java/net/URLConnection.java
4071 (URLConnection): Commend added.
4072 (getExpiration): The header field is called "expires" not
4074 (getHeaderField): Merged documentation with classpath.
4075 (getHeaderFieldInt): Likewise.
4076 (getHeaderFieldDate): Likewise.
4077 (getHeaderFieldKey): Likewise.
4078 (getPermission): Likewise.
4079 (setDefaultUseCaches): Likewise.
4080 (setRequestProperty): Likewise.
4081 (addRequestProperty): Likewise.
4082 (getRequestProperty): Likewise.
4083 (getRequestProperties): Likewise.
4084 (setDefaultRequestProperty): Likewise.
4085 (getDefaultRequestProperty): Likewise.
4086 (guessContentTypeFromStream): Likewise.
4087 (getFileNameMap): Likewise.
4088 (setFileNameMap): Likewise.
4089 (setDoInput): Merged implementation and documentation with classpath.
4090 (setDoOutput): Likewise.
4091 (setAllowUserInteraction): Likewise.
4092 (setDefaultAllowUserInteraction): Likewise.
4093 (setContentHandlerFactory): Made it synchronized, merged documentation
4095 (guessContentTypeFromName): Renamed argument fname to filename to
4096 match classpath, merged documentation with classpath.
4098 2003-05-02 Michael Koch <konqueror@gmx.de>
4100 * java/net/JarURLConnection.java
4101 (JarURLConnection): Class documentation merged with classpath.
4102 (getJarFileURL): Moved and documentation merged with classpath.
4103 (getEntryName): Likewise.
4104 (JarURLConnection): Documentation merged with classpath.
4105 (getJarEntry): Likewise.
4106 (getJarFile): Likewise.
4107 * java/net/PlainDatagramSocketImpl.java:
4108 Class documentation moved.
4109 * java/net/URLConnection.java
4110 (fileNameMap): Moved and documentation merged with classpath.
4111 (factory): Likewise.
4112 (defaultAllowUserInteraction): Likewis.
4113 (defaultUseCaches): Likewise.
4114 (allowUserInteraction): Likewise.
4115 (connected): Likewise.
4117 (connect): Documentation merged with classpath.
4119 (getContentLength): Likewise.
4120 (getContentType): Likewise.
4121 (getContentEncoding): Likewise.
4122 (getExpiration): Likewise.
4123 (getDate): Likewise.
4124 (getLastModified): Likewise.
4125 (getHeaderField): Likewise.
4126 (getContent): Likewise.
4127 (getPermission): Likewise.
4128 (getInputStream): Likewise.
4129 (getOutputStream): Likewise.
4130 (toString): Likewise.
4131 (getDoInput): Likewise.
4132 (getDoOutput): Likewise.
4133 (setAllowUserInteraction): Likewise.
4134 (getAllowUserInteraction): Likewise.
4135 (setDefaultAllowUserInteraction): Likewise.
4136 (getDefaultAllowUserInteraction): Likewise.
4137 (setUseCaches): Likewise.
4138 (getUseCaches): Likewise.
4139 (setIfModifiedSince): Likewise.
4140 (getIfModifiedSince): Likewise.
4141 (setDefaultRequestProperty): Likewise.
4142 (getDefaultRequestProperty): Likewise.
4143 (setContentHandlerFactory): Likewise.
4144 (setFileNameMap): Likewise.
4146 2003-05-02 Michael Koch <konqueror@gmx.de>
4148 * java/net/InetAddress.java:
4149 Merged class documentation with classpath.
4150 * java/net/JarURLConnection.java:
4151 Explicitely import all used classes.
4152 * java/net/URL.java:
4154 * java/net/ServerSocket.java,
4155 java/net/Socket.java:
4156 New versions from classpath.
4158 2003-05-02 Michael Koch <konqueror@gmx.de>
4160 * gnu/java/nio/FileChannelImpl.java
4161 (read): New implementation.
4162 (implRead): New methods.
4163 (write): New implementation, call other write insteal of read method.
4164 (implWrite): New methods.
4165 (map): Added comment.
4166 (transferFrom): Implemented.
4167 (transferTo): Implemented.
4168 (lock): Added checks to throw exceptions.
4169 (truncate): Added check to throw exception.
4170 * gnu/java/nio/natFileChannelImpl.cc
4171 (implRead): New method.
4172 (implWrite): New method.
4173 * java/nio/ByteBuffer.java
4174 (hashCode): Fixed comment.
4175 (get): Fixed exception documentation.
4176 (put): Fixed exception documentation.
4177 * java/nio/CharBuffer.java:
4178 Added comment for later optimizations.
4180 2003-04-30 Tom Tromey <tromey@redhat.com>
4183 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
4185 (type::compatible): Use _Jv_IsAssignableFrom.
4186 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
4187 (_Jv_IsAssignableFrom): Work even when source or target class is
4190 2003-04-30 Michael Koch <konqueror@gmx.de>
4192 * java/text/BreakIterator.java
4193 (clone): New method.
4195 2003-04-30 Michael Koch <konqueror@gmx.de>
4197 * java/text/CollationElementIterator.java,
4198 java/text/CollationKey.java,
4199 java/text/RuleBasedCollator.java:
4200 Merged copyright and documentation from classpath and
4201 rearranged some code. No code changes done.
4203 2003-04-30 Michael Koch <konqueror@gmx.de>
4205 * java/util/regex/Matcher.java
4206 (pattern): New member variable.
4207 (appendReplacement): New method.
4208 (appendTail): New method.
4211 (group): New method.
4212 (replaceFirst): Added documentation.
4213 (replaceAll): Added documentation.
4214 (groupCount): New method.
4215 (lookingAt): New method.
4216 (matches): New method.
4217 (reset): New method.
4218 (start): New method.
4219 * java/util/regex/Pattern.java
4220 (serialVersionUID): New constant.
4221 (CANON_EQ): New constant.
4222 (CASE_INSENSITIVE): New constant.
4223 (COMMENTS): New constant.
4224 (DOTALL): New constant.
4225 (MULTILINE): New constant.
4226 (UNICODE_CASE): New constant.
4227 (UNIX_LINES): New constant.
4228 (regex): New member variable.
4229 (flags): New member variable.
4230 (Pattern): New method.
4231 (compile): Documentation added.
4232 (flags): New method.
4233 (matches): Documentation added.
4234 (matcher): Documentation added.
4235 (split): Documentation added.
4236 (pattern): New method.
4238 2003-04-30 Michael Koch <konqueror@gmx.de>
4240 * gnu/java/security/Engine.java,
4241 gnu/java/security/OID.java,
4242 gnu/java/security/der/BitString.java,
4243 gnu/java/security/der/DER.java,
4244 gnu/java/security/der/DERReader.java,
4245 gnu/java/security/der/DERValue.java,
4246 gnu/java/security/der/DERWriter.java,
4247 gnu/java/security/provider/DSAKeyFactory.java,
4248 gnu/java/security/provider/X509CertificateFactory.java,
4249 gnu/java/security/x509/X500DistinguishedName.java,
4250 gnu/java/security/x509/X509CRL.java,
4251 gnu/java/security/x509/X509CRLEntry.java,
4252 gnu/java/security/x509/X509Certificate.java,
4253 java/security/cert/CRLSelector.java,
4254 java/security/cert/CertPathBuilder.java,
4255 java/security/cert/CertPathBuilderResult.java,
4256 java/security/cert/CertPathBuilderSpi.java,
4257 java/security/cert/CertPathParameters.java,
4258 java/security/cert/CertPathValidator.java,
4259 java/security/cert/CertPathValidatorResult.java,
4260 java/security/cert/CertPathValidatorSpi.java,
4261 java/security/cert/CertSelector.java,
4262 java/security/cert/CertStore.java,
4263 java/security/cert/CertStoreParameters.java,
4264 java/security/cert/CertStoreSpi.java,
4265 java/security/cert/CollectionCertStoreParameters.java,
4266 java/security/cert/LDAPCertStoreParameters.java,
4267 java/security/cert/PKIXBuilderParameters.java,
4268 java/security/cert/PKIXCertPathBuilderResult.java,
4269 java/security/cert/PKIXCertPathChecker.java,
4270 java/security/cert/PKIXCertPathValidatorResult.java,
4271 java/security/cert/PKIXParameters.java,
4272 java/security/cert/PolicyNode.java,
4273 java/security/cert/PolicyQualifierInfo.java,
4274 java/security/cert/TrustAnchor.java,
4275 javax/security/auth/x500/X500Principal.java:
4276 New files from classpath.
4277 * gnu/java/io/ASN1ParsingException.java,
4278 gnu/java/io/Base64InputStream.java,
4279 gnu/java/security/der/DEREncodingException.java,
4280 gnu/java/security/provider/DSAParameters.java,
4281 gnu/java/security/provider/DSASignature.java,
4282 gnu/java/security/provider/Gnu.java,
4283 gnu/java/security/provider/GnuDSAPrivateKey.java,
4284 gnu/java/security/provider/GnuDSAPublicKey.java,
4285 java/security/AlgorithmParameterGenerator.java,
4286 java/security/AlgorithmParameters.java,
4287 java/security/KeyFactory.java,
4288 java/security/KeyPairGenerator.java,
4289 java/security/KeyStore.java,
4290 java/security/MessageDigest.java,
4291 java/security/SecureClassLoader.java,
4292 java/security/SecureRandom.java,
4293 java/security/Security.java,
4294 java/security/Signature.java,
4295 java/security/cert/Certificate.java,
4296 java/security/cert/CertificateFactory.java,
4297 java/security/cert/CertificateFactorySpi.java,
4298 java/security/cert/X509CRL.java,
4299 java/security/cert/X509Certificate.java,
4300 java/security/spec/DSAPublicKeySpec.java:
4301 New versions from classpath.
4302 * gnu/java/security/provider/DERReader.java,
4303 gnu/java/security/provider/DERWriter.java,
4304 java/security/Engine.java: Removed.
4306 (java_source_files, javax_source_files): Added new files.
4307 * Makefile.in: Regenerated.
4309 2003-04-29 Michael Koch <konqueror@gmx.de>
4311 * javax/swing/JTable.java
4312 (AUTO_RESIZE_ALL_COLUMNS): New constant.
4313 (AUTO_RESIZE_LAST_COLUMN): New constant.
4314 (AUTO_RESIZE_NEXT_COLUMN): New constant.
4315 (AUTO_RESIZE_OFF): New constant.
4316 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
4317 (JTable): New method.
4318 (columnAdded): New method.
4319 (columnMarginChanged): New method.
4320 (columnMoved): New method.
4321 (columnRemoved): New method.
4322 (columnSelectionChanged): New method.
4323 (editingCanceled): New method.
4324 (editingStopped): New method.
4325 (getColumnModel): New method.
4326 (getPreferredScrollableViewportSize): New method.
4327 (getScrollableBlockIncrement): New method.
4328 (getScrollableTracksViewportHeight): New method.
4329 (getScrollableTracksViewportWidth): New method.
4330 (getScrollableUnitIncrement): New method.
4331 (getSelectedRow): New method.
4332 (getSelectionModel): New method.
4333 (tableChanged): New method.
4334 (setModel): New method.
4335 (setSelectionMode): New method.
4336 (setSelectionModel): New method.
4337 (setShowGrid): New method.
4338 (valueChanged): New method.
4339 * javax/swing/text/DefaultEditorKit.java
4340 (backwardAction): New constant.
4341 (beepAction): New constant.
4342 (beginAction): New constant.
4343 (beginLineAction): New constant.
4344 (beginParagraphAction): New constant.
4345 (beginWordAction): New constant.
4346 (copyAction): New constant.
4347 (cutAction): New constant.
4348 (defaultKeyTypedAction): New constant.
4349 (deleteNextCharAction): New constant.
4350 (deletePrevCharAction): New constant.
4351 (downAction): New constant.
4352 (endAction): New constant.
4353 (endLineAction): New constant.
4354 (endOfLineStringProperty): New constant.
4355 (endParagraphAction): New constant.
4356 (endWordAction): New constant.
4357 (forwardAction): New constant.
4358 (insertBreakAction): New constant.
4359 (insertContentAction): New constant.
4360 (insertTabAction): New constant.
4361 (nextWordAction): New constant.
4362 (pageDownAction): New constant.
4363 (pageUpAction): New constant.
4364 (pasteAction): New constant.
4365 (previousWordAction): New constant.
4366 (readOnlyAction): New constant.
4367 (selectAllAction): New constant.
4368 (selectionBackwardAction): New constant.
4369 (selectionBeginAction): New constant.
4370 (selectionBeginLineAction): New constant.
4371 (selectionBeginParagraphAction): New constant.
4372 (selectionBeginWordAction): New constant.
4373 (selectionDownAction): New constant.
4374 (selectionEndAction): New constant.
4375 (selectionEndLineAction): New constant.
4376 (selectionEndParagraphAction): New constant.
4377 (selectionEndWordAction): New constant.
4378 (selectionForwardAction): New constant.
4379 (selectionNextWordAction): New constant.
4380 (selectionPreviousWordAction): New constant.
4381 (selectionUpAction): New constant.
4382 (selectLineAction): New constant.
4383 (selectParagraphAction): New constant.
4384 (selectWordAction): New constant.
4385 (upAction): New constant.
4386 (writableAction): New constant.
4388 2003-04-29 Michael Koch <konqueror@gmx.de>
4390 * java/util/PropertyPermission.java:
4391 New version from classpath
4392 * java/util/ResourceBundle.java:
4393 Partly merged from classpath
4394 (getObject): Reformated.
4395 (tryBundle): Set foundBundle = null if no bundle found.
4397 2003-04-29 Michael Koch <konqueror@gmx.de>
4399 * javax/swing/AbstractListModel.java,
4400 javax/swing/DefaultBoundedRangeModel.java,
4401 javax/swing/DefaultSingleSelectionModel.java:
4402 New Versions from classpath.
4404 2003-04-29 Michael Koch <konqueror@gmx.de>
4406 * java/awt/Window.java
4407 (show): Call super.show() instead of setVisible() to avoid endless
4409 (hide): Call super.hide() instead of setVisible() to avoid endless
4412 2003-04-29 Michael Koch <konqueror@gmx.de>
4414 * java/util/zip/Deflater.java,
4415 java/util/zip/DeflaterOutputStream.java:
4416 Partly merged with classpath.
4418 2003-04-27 Tom Tromey <tromey@redhat.com>
4420 * java/lang/natString.cc (_Jv_AllocString): Initialize
4423 (_Jv_NewStringUtf8Const): Likewise.
4425 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
4427 * include/jvm.h: (_Jv_GetNbArgs) added
4428 (_Jv_GetSafeArg) added
4430 * prims.cc: (_Jv_GetNbArgs) implemented
4431 (_Jv_GetSafeArg) implemented
4432 (_Jv_SetArgs) implemented
4433 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
4434 setting _Jv_argc and _Jv_argv
4435 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
4437 * java/lang/natRuntime.cc: (insertSystemProperties) use
4438 _Jv_GetSafeArg() instead of _Jv_argv
4440 2003-04-23 Tom Tromey <tromey@redhat.com>
4442 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
4443 required by this object. Search superclasses to find required
4445 (get_alignment_from_class): Use alignment of type as it appears
4447 (ALIGNOF): New macro.
4448 (struct aligner): New helper structure.
4450 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
4452 * java/awt/Container.java (addImpl): Enable paint events if adding
4453 a lightweight to a heavyweight.
4454 (addNotify): Ensure that peer is created before
4455 addNotifyContainerChildren.
4456 (addNotifyContainerChildren): Enable paint events if a heavyweight
4457 container contains a lightweight.
4459 2003-04-20 Tom Tromey <tromey@redhat.com>
4461 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
4462 java/io/DataInput.java, java/io/DataOutput.java: Imports from
4465 2003-04-19 Tom Tromey <tromey@redhat.com>
4467 * java/sql/Date.java, java/sql/DriverManager.java,
4468 java/sql/Time.java, java/sql/Timestamp.java: New versions from
4471 * Makefile.in: Rebuilt.
4472 * Makefile.am (ordinary_java_source_files): Added new files.
4473 * java/security/AlgorithmParameterGenerator.java,
4474 java/security/AlgorithmParameters.java, java/security/Engine.java,
4475 java/security/Identity.java, java/security/IdentityScope.java,
4476 java/security/KeyFactory.java,
4477 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
4478 java/security/MessageDigest.java, java/security/Policy.java,
4479 java/security/ProtectionDomain.java,
4480 java/security/SecureRandom.java, java/security/Security.java,
4481 java/security/Signature.java, java/security/SignatureSpi.java,
4482 java/security/SignedObject.java, java/security/Signer.java,
4483 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
4484 java/security/spec/PSSParameterSpec.java,
4485 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
4486 java/security/spec/RSAOtherPrimeInfo.java: New versions from
4489 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
4491 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
4492 (dispose): Null metrics.
4493 * gnu/awt/xlib/XToolkit.java (sync): Implement.
4494 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
4496 (finalize): Call dispose.
4497 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
4498 (gcCachedCount): New field.
4499 (finalize): New method.
4500 (putGCInCache): New method.
4501 (getGCFromCache): New method.
4502 * gnu/gcj/xlib/GC.java (GC): Make protected.
4503 (clone): Get new GC from cache if possible.
4504 (create): New static method.
4505 (dispose): Save old GC in cache.
4506 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
4508 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
4510 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
4511 * java/awt/Container.java (visitChild): Dispose gfx2 when
4514 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
4516 * java/math/BigInteger.java (probablePrime): New.
4517 * java/math/BigDecimal.java (unscaledValue): New.
4519 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
4521 * java/io/File.java (getAbsolutePath): On Windows, take care
4522 of paths like "C:", "G:foo\bar", etc.
4523 (getName): Make it work correctly on Windows.
4524 (getParent): Make it work correctly on Windows. For UNIX,
4525 fix bug that causes "/" to be returned as the parent of "/",
4526 instead of null as returned by Sun's JRE.
4528 * java/io/natFileWin32.cc: Change copyright owner to FSF.
4530 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
4532 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
4534 (CACHE_SIZE_PER_DISPLAY): New field
4535 (fontMetricsCache): New field
4536 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
4537 loading ISO10646-1 fonts.
4539 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
4541 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
4543 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
4546 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
4548 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
4551 2003-04-15 Jakub Jelinek <jakub@redhat.com>
4553 * configure.host (*-linux*): Don't set slow_pthread_self if primary
4554 installed libpthread is either linuxthreads with floating stacks or
4557 2003-04-14 Tom Tromey <tromey@redhat.com>
4559 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
4562 2003-04-10 Tom Tromey <tromey@redhat.com>
4564 * verify.cc (pop64): Removed.
4565 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
4566 exception if top-of-stack is narrow.
4567 (initialize_stack): Check to ensure that <init> is not static and
4570 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
4572 * java/io/ObjectStreamException
4573 * java/io/FileFilter
4574 * java/io/FilenameFilter
4575 * java/io/ObjectInput
4576 * java/io/ObjectOutput
4577 * java/io/ObjectStreamConstants
4578 Minor doc fixes, format fixes, spelling corrections, etc.
4580 Corrected code samples in Javadocs to match reality
4581 * java/io/DataOutput
4582 * java/io/ObjectInputValidation
4583 Major documentation fixes - all Javadocs re-written or updated
4585 2003-04-06 Michael Koch <konqueror@gmx.de>
4587 * java/net/URLConnection.java:
4588 Import classes directly.
4589 (URLConnection): Merged class documentation with classpath.
4590 (url): Moved, documentation from classpath added.
4591 (doInput): Moved, documentation from classpath added.
4592 (doOutput): Moved, documentation from classpath added.
4593 (allowUserInteraction): Moved.
4594 (useCaches): Moved, documentation from classpath added.
4595 (ifModifiedSince): Moved, documentation from classpath added.
4596 (connected): Moved, documentation from classpath added.
4598 2003-04-06 Michael Koch <konqueror@gmx.de>
4600 * java/io/FileInputStream.java
4601 (skip): Renamed some variables to match classpath, added
4602 checks from classpath.
4604 2003-03-31 Michael Koch <konqueror@gmx.de>
4606 * javax/swing/AbstractAction.java
4607 (AbstractAction): Reformatted.
4608 (serialVersionUID): New private member variable.
4609 * javax/swing/plaf/BorderUIResource.java
4610 (serialVersionUID): New private member variable.
4611 * javax/swing/plaf/basic/BasicLookAndFeel.java
4612 (serialVersionUID): New private member variable.
4614 2003-03-31 Michael Koch <konqueror@gmx.de>
4616 * java/sql/Date.java
4617 (valueOf): Deprecated, reformatted.
4618 (toString): Deprecated, reformatted.
4619 * java/sql/Time.java
4620 (valueOf): Deprecated, reformatted.
4621 (toString): Deprecated, reformatted.
4623 2003-03-31 Michael Koch <konqueror@gmx.de>
4625 * java/rmi/dgc/VMID.java
4626 (isUnique): Deprecated.
4628 2003-03-31 Michael Koch <konqueror@gmx.de>
4631 (separator): Merged documentation from classpath.
4632 (separatorChar): Merged documentation from classpath.
4633 (pathSeparator): Merged documentation from classpath.
4634 (pathSeparatorChar): Merged documentation from classpath.
4635 (path): Merged documentation from classpath.
4636 (canRead): Merged documentation from classpath.
4637 (canWrite): Merged documentation from classpath.
4638 (createNewFile): Merged documentation from classpath.
4639 (delete): Merged documentation from classpath.
4640 (equals): Merged documentation from classpath.
4641 (exists): Merged documentation from classpath.
4642 (File): Renamed p to name to match classpath, merged documentation
4644 (getAbsolutePath): Merged documentation from classpath.
4645 (getCanonicalPath): Merged documentation from classpath.
4646 (getCanonicalFile): Merged documentation from classpath.
4647 (getName): Merged documentation from classpath.
4648 (getParent): Merged documentation from classpath.
4649 (getParentFile): Merged documentation from classpath.
4650 (getPath): Merged documentation from classpath.
4651 (hashCode): Merged documentation from classpath.
4652 (isAbsolute): Merged documentation from classpath.
4653 (isDirectory): Merged documentation from classpath.
4654 (isFile): Merged documentation from classpath.
4655 (isHidden): Merged documentation from classpath.
4656 (lastModified): Merged documentation from classpath.
4657 (length): Merged documentation from classpath.
4658 (list): Merged documentation from classpath.
4659 (listFiles): Merged documentation from classpath.
4660 (toString): Merged documentation from classpath.
4661 (toURL): Merged documentation from classpath.
4662 (mkdir): Merged documentation from classpath.
4663 (mkdirs): Merged documentation from classpath.
4664 (createTempFile): Merged documentation from classpath.
4665 (setReadOnly): Merged documentation from classpath.
4666 (listRoots): Merged documentation from classpath.
4667 (compareTo): Merged documentation from classpath.
4668 (renameTo): Merged documentation from classpath.
4669 (setLastModified): Merged documentation from classpath.
4670 * java/io/PrintStream.java
4671 (auto_flush): Merged documentation from classpath.
4672 (PrintStream): Merged documentation from classpath.
4673 (checkError): Merged documentation from classpath.
4674 (setError): Merged documentation from classpath.
4675 (close): Merged documentation from classpath.
4676 (flush): Merged documentation from classpath.
4677 (print): Merged documentation from classpath.
4678 (println): Merged documentation from classpath.
4679 (write): Renamed count to len to match classpath,
4680 merged documentation from classpath.
4681 * java/io/RandomAccessFile.java
4682 (readShort): Merged documentation from classpath.
4683 (readUnsignedByte): Merged documentation from classpath.
4684 (readUnsignedShort): Merged documentation from classpath.
4685 (readUTF): Merged documentation from classpath.
4686 (seek): Reformatted, merged documentation from classpath.
4687 (skipBytes): Renamed some variables to match classpath, reformatted,
4688 merged documentation from classpath.
4689 (write): Merged documentation from classpath.
4690 (writeBoolean): Merged documentation from classpath.
4691 (writeByte): Merged documentation from classpath.
4692 (writeShort): Merged documentation from classpath.
4693 (writeChar): Merged documentation from classpath.
4694 (writeInt): Merged documentation from classpath.
4695 (writeLong): Merged documentation from classpath.
4696 (writeFloat): Merged documentation from classpath.
4697 (writeDouble): Merged documentation from classpath.
4698 (writeBytes): Merged documentation from classpath.
4699 (writeChars): Merged documentation from classpath.
4700 (writeUTF): Reformatted.
4701 (getChannel): Reformatted.
4703 2003-03-31 Michael Koch <konqueror@gmx.de>
4705 * java/awt/font/TextAttribute.java
4706 (readResolve): Throws java.io.InvalidObjectException.
4708 2003-03-31 Michael Koch <konqueror@gmx.de>
4710 * java/rmi/server/LoaderHandler.java
4711 (loadClass): Deprecated.
4712 (getSecurityContext): Deprecated.
4713 * java/rmi/server/LogStream.java
4714 (getDefaultStream): Deprecated.
4715 (setDefaultStream): Deprecated.
4716 (getOutputStream): Deprecated.
4717 (setOutputStream): Deprecated.
4718 (write): Deprecated.
4719 (toString): Deprecated.
4720 (parseLevel): Deprecated.
4721 * java/rmi/server/Operation.java
4722 (Operation): Deprecated.
4723 (getOperation): Deprecated.
4724 (toString): Deprecated.
4725 * java/rmi/server/RemoteCall.java
4726 (getOutputStream): Deprecated.
4727 (releaseOutputStream): Deprecated.
4728 (getInputStream): Deprecated.
4729 (releaseInputStream): Deprecated.
4730 (getResultStream): Deprecated.
4731 (executeCall): Deprecated.
4733 * java/rmi/server/RemoteRef.java
4734 (invoke): Deprecated.
4735 (newCall): Deprecated.
4737 * java/rmi/server/RemoteStub.java
4738 (setRef): Deprecated.
4739 * java/rmi/server/Skeleton.java:
4740 No need to import java.lang.Exception explicitly.
4741 (dispatch): Deprecated.
4742 (getOperations): Deprecated.
4744 2003-03-31 Michael Koch <konqueror@gmx.de>
4746 * java/rmi/dgc/VMID.java,
4747 java/rmi/registry/RegistryHandler.java,
4748 java/rmi/server/LogStream.java,
4749 java/rmi/server/Operation.java,
4750 java/rmi/server/RemoteCall.java,
4751 java/rmi/server/RemoteRef.java,
4752 java/rmi/server/RemoteStub.java:
4755 2003-03-31 Michael Koch <konqueror@gmx.de>
4757 * javax/swing/AbstractCellEditor.java,
4758 javax/swing/AbstractListModel.java,
4759 javax/swing/ActionMap.java,
4760 javax/swing/BorderFactory.java,
4761 javax/swing/ButtonGroup.java,
4762 javax/swing/DefaultBoundedRangeModel.java,
4763 javax/swing/DefaultButtonModel.java,
4764 javax/swing/DefaultCellEditor.java,
4765 javax/swing/DefaultComboBoxModel.java,
4766 javax/swing/DefaultDesktopManager.java,
4767 javax/swing/DefaultListCellRenderer.java,
4768 javax/swing/DefaultSingleSelectionModel.java,
4769 javax/swing/InputMap.java,
4770 javax/swing/JComponent.java,
4771 javax/swing/JMenu.java,
4772 javax/swing/JSlider.java,
4773 javax/swing/KeyStroke.java,
4774 javax/swing/OverlayLayout.java,
4775 javax/swing/ScrollPaneLayout.java,
4776 javax/swing/SizeRequirements.java,
4777 javax/swing/UIManager.java,
4778 javax/swing/ViewportLayout.java,
4779 javax/swing/border/AbstractBorder.java,
4780 javax/swing/colorchooser/DefaultColorSelectionModel.java,
4781 javax/swing/event/EventListenerList.java,
4782 javax/swing/table/AbstractTableModel.java,
4783 javax/swing/table/DefaultTableCellRenderer.java,
4784 javax/swing/table/DefaultTableColumnModel.java,
4785 javax/swing/table/DefaultTableModel.java,
4786 javax/swing/table/TableColumn.java,
4787 javax/swing/text/StyledEditorKit.java,
4788 javax/swing/tree/DefaultMutableTreeNode.java,
4789 javax/swing/tree/DefaultTreeModel.java,
4790 javax/swing/tree/DefaultTreeSelectionModel.java,
4791 javax/swing/tree/TreePath.java,
4792 javax/swing/undo/AbstractUndoableEdit.java,
4793 javax/swing/undo/StateEdit.java,
4794 javax/swing/undo/StateEditable.java,
4795 javax/swing/undo/UndoableEditSupport.java:
4796 Merges from classpath.
4798 2003-03-30 Tom Tromey <tromey@redhat.com>
4800 * java/lang/String.java (data, boffset, count): Documented.
4801 (String(byte[],String)): Reformatted.
4802 (String(byte[])): Likewise.
4803 (lastIndexOf(int)): Likewise.
4804 (lastIndexOf(String)): Likewise.
4805 (substring(int)): Renamed argument to match Classpath.
4806 (String(StringBuffer)): Don't share buffer if it is nearly empty.
4808 * java/lang/String.java: Miscellaneous minor formatting changes
4809 to match Classpath more closely.
4811 2003-03-29 Eric Blake <ebb9@email.byu.edu>
4812 Tom Tromey <tromey@redhat.com>
4814 * java/lang/natString.cc (hashCode): Use cachedHashCode.
4816 (charAt): Put index in exception.
4817 (contentEquals): New method.
4818 Include StringBuffer.h.
4819 * java/lang/String.java (cachedHashCode): New field.
4820 (String()): Follow classpath implementation.
4822 (contentEquals): Declare.
4823 (subSequence): Don't declare IndexOutIfBoundsException in throws
4825 (matches, replaceFirst, replaceAll, split): New methods from
4828 2003-03-29 Tom Tromey <tromey@redhat.com>
4830 * java/lang/String.java: Reordered to follow Classpath; merged in
4833 * java/text/MessageFormat.java: Removed some whitespace.
4835 * Makefile.in: Rebuilt.
4836 * Makefile.am (awt_java_source_files): Added new files.
4837 * gnu/javax/rmi/PortableServer.java,
4838 gnu/javax/rmi/CORBA/DelegateFactory.java,
4839 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
4840 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
4841 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
4842 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
4843 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
4844 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
4845 javax/rmi/PortableRemoteObject.java,
4846 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
4847 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
4848 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
4849 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
4850 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
4851 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
4853 * java/lang/natClass.cc (newInstance): Put method name in
4855 (getConstructor): Likewise.
4856 (getDeclaredConstructor): Likewise.
4857 (getPrivateMethod): Likewise.
4859 2003-03-28 Tom Tromey <tromey@redhat.com>
4861 * java/lang/reflect/Proxy.java: New version from Classpath.
4862 * java/lang/Package.java: New version from Classpath.
4864 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
4866 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
4867 * configure: Regenerate.
4869 2003-03-28 Michael Koch <konqueror@gmx.de>
4871 * java/io/File.java:
4872 Import needed classes instead of whole packages, merged class
4873 documentation with classpath, moved constants and variables to top of
4875 * java/io/PrintStream.java:
4876 Merged class documentation with classpath, moved constants and
4877 variables to top of class.
4878 * java/io/RandomAccessFile.java
4879 (RandomAccessFile): Merged with classpath.
4880 (read): Merged with classpath).
4881 (read*): Reformatted.
4883 2003-03-28 Michael Koch <konqueror@gmx.de>
4885 * java/io/FileDescriptor.java
4886 (finalize): Throws Throwable, not IOException.
4887 * java/io/ObjectOutputStream.java
4888 (PutField.put): Doesnt throws anything.
4890 2003Â03-28 Michael Koch <konqueror@gmx.de>
4892 * java/io/FileOutputStream.java:
4893 Merged class documentation and authors with classpath.
4894 (FileOutputStream): Partly merged with classpath.
4895 (write): Merged with classpath.
4896 (getChannel): Make it synchronized instead of explicit block in this
4898 * java/io/RandomAccessFile.java:
4899 Merged class documentation and authors with classpath.
4901 2003-03-26 Tom Tromey <tromey@redhat.com>
4903 * java/lang/natRuntime.cc (insertSystemProperties): Set
4904 gnu.classpath.home.url.
4905 * Makefile.in: Rebuilt.
4906 * Makefile.am: Define LIBDIR.
4908 2003-03-25 Michael Koch <konqueror@gmx.de>
4910 * java/io/FileInputStream.java
4911 (read): Renamed b to buf and off to offset.
4912 * java/io/FileOutputStream.java
4913 (ch): Documentation added.
4914 (FileOutputStream): Documentation added.
4915 (getFD): Documentation added.
4916 (write): Documentation added.
4917 (close): Documentation added.
4918 (getChannel): Documentation added.
4920 2003-03-24 Michael Koch <konqueror@gmx.de>
4922 * java/io/DataOutputStream.java
4923 (write): Merged from classpath.
4924 * java/io/File.java:
4925 Merged copyrigth with classpath.
4926 * java/io/FileInputStream.java
4927 (getChannel): Made it synchronized instead of using a synchronized
4929 * java/io/FileOutputStream.java: Reformatted.
4930 * java/io/InputStreamReader.java
4931 (InputStreamReader): Renamed enc to encoding_name.
4932 (close): Merged documentation from classpath.
4933 (getEncoding): Merged documentation from classpath.
4934 (ready): Merged documentation from classpath.
4935 (read): Merged documentation from classpath.
4936 * java/io/LineNumberReader.java
4937 (lineNumber): Made it private.
4938 (LineNumberReader): Use Constant instead of a direct value.
4939 * java/io/OutputStreamWriter.java
4940 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
4941 documentation from classpath.
4942 (close): Merged documentation from classpath.
4943 (flush): Merged documentation from classpath.
4944 (write): Merged documentation from classpath.
4945 * java/io/PrintStream.java: Reformatted.
4947 2003-03-24 Michael Koch <konqueror@gmx.de>
4949 * javax/swing/text/ComponentView.java
4950 (getComponent): Must be final.
4951 * javax/swing/tree/DefaultTreeCellRenderer.java:
4953 * javax/swing/undo/StateEditable.java:
4956 2003-03-24 Michael Koch <konqueror@gmx.de>
4958 * java/rmi/activation/ActivationInstantiator.java:
4960 * java/rmi/activation/Activator.java:
4962 * java/rmi/registry/RegistryHandler.java:
4963 Remerged from classpath.
4965 2003-03-24 Michael Koch <konqueror@gmx.de>
4967 * java/util/Date.java:
4968 Fixed documentation starting tag to make javadoc happy.
4969 * java/util/regex/Pattern.java
4970 (Pattern): Implements Serializable.
4971 * java/util/PatternSyntaxException.java
4972 (serialVersionUID): New member variable.
4974 2003-03-24 Michael Koch <koqnueror@gmx.de>
4976 * java/awt/ContainerOrderFocusTraversalPolicy.java
4977 (getFirstComponent): Implemented.
4978 (getLastComponent): Implemented.
4979 (getDefaultComponent): Implemented.
4980 (setImplicitDownCycleTraversal): Fixed implementation.
4981 * java/awt/Robot.java
4982 (Robot): Added documentation.
4983 * java/awt/Toolkit.java
4984 (getFontList): Deprecated.
4985 (getFontMetrics): Deprecated.
4986 (getPrintJob): Added documentation.
4987 (getSystemSelection): Added documentation.
4988 (getLockingKeyState): Added documentation.
4989 (setLockingKeyState): Added documentation.
4990 (createCustomCursor): Added documentation.
4991 (getBestCursorSize): Added documentation.
4992 (getMaximumCursorColors): Added documentation.
4993 (isFrameStateSupported): Added documentation.
4995 2003-03-24 Michael Koch <konqueror@gmx.de>
4997 * java/io/RandomAccessFile.java:
4998 More little merges with classpath. No code changes.
5000 2003-03-24 Michael Koch <konqueror@gmx.de>
5002 * java/net/natInetAddressNoNet.cc:
5004 * java/net/natPlainDatagramSocketImplNoNet.cc:
5005 Fixed inlcude of java/net/DatagramPacket.h.
5006 * java/net/natPlainSocketImplNoNet.cc:
5007 Include some missing classes.
5009 2003-03-24 Michael Koch <konqueror@gmx.de>
5011 * java/awt/dnd/DropTarget.java
5012 (DropTargetAutoScroller): According to the online documentation, this
5013 is protected, but in reality it is public.
5014 * java/awt/dnd/DropTargetContext.java
5015 (TransferableProxy): According to the online documentation, this
5016 is protected, but in reality it is public.
5018 2003-03-24 Michael Koch <konqueror@gmx.de>
5020 * java/io/DataInputStream.java
5021 (): Wrapped documentation line.
5022 (): Fixed @return tag.
5023 * java/io/DataOutputStream.java
5024 (written): Moved to top of class.
5025 (all methods): Merged documentation from classpath.
5026 * java/io/File.java:
5027 Merged copyright year with classpath.
5028 * java/io/FileInputStream.java
5029 (all methods): Merged documentation from classpath.
5030 * java/io/LineNumberReader.java
5031 (getLineNumber): Fixed @return tag.
5032 * java/io/ObjectInputStream.java.
5034 * java/io/ObjectOutputStream.java:
5035 Reformatted, fixed some @see tags.
5036 * java/io/OutputStreamWriter.java:
5038 * java/io/Writer.java:
5041 2003-03-24 Michael Koch <konqueror@gmx.de>
5043 * java/awt/Frame.java
5044 (DEFAULT_CURSOR): Fixed @deprecated tag.
5045 (setCursor): Fixed @deprecated tag.
5047 2003-03-24 Michael Koch <konqueror@gmx.de>
5049 * java/beans/beancontext/BeanContextEvent.java:
5052 2003-03-23 Eric Blake <ebb9@email.byu.edu>
5054 * java/lang/natStringBuffer.cc (regionMatches): New function.
5055 * java/lang/String.java (count): Now package-private.
5056 * java/lang/StringBuffer.java: Merged with Classpath.
5058 2003-03-23 Michael Koch <konqueror@gmx.de>
5060 * java/io/BufferedOutputStream.java:
5062 * java/io/BufferedReader.java:
5064 * java/io/ByteArrayOutputStream.java
5065 (size): Fixed @see tag.
5066 * java/io/CharArrayWriter.java
5067 (size): Fixed @see tag.
5068 * java/io/DataInput.java:
5070 * java/io/DataOutput.java:
5072 * java/io/DataOutputStream.java:
5073 Merged copyright years with classpath.
5074 * java/io/Externalizable.java:
5076 * java/io/FileFilter.java:
5078 * java/io/FileInputStream.java:
5079 Merged copyright years with classpath.
5080 * java/io/FileOutputStream.java:
5081 Merged copyright years with classpath.
5082 * java/io/FilePermission.java
5083 (FilePermission): Replaced @XXX with FIXME:.
5084 * java/io/FileWriter.java:
5086 * java/io/FilenameFilter.java:
5088 * java/io/FilterInputStream.java:
5090 * java/io/FilterOutputStream.java:
5092 * java/io/FilterReader.java:
5094 * java/io/FilterWriter.java:
5096 * java/io/LineNumberInputStream.java
5097 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
5099 (getLineNumber): Fixed @return tag.
5100 * java/io/ObjectInput.java:
5102 * java/io/ObjectOutput.java:
5104 * java/io/ObjectStreamClass.java:
5106 * java/io/PrintStream.java:
5107 Merged copyright years with classpath.
5108 * java/io/PushbackReader.java
5109 (PushbackReader): Replaced @code with @param.
5110 * java/io/SerializablePermission.java:
5112 * java/io/StreamTokenizer.java
5113 (resetSyntax): Fixed @see tag.
5115 2003-03-22 Richard Henderson <rth@redhat.com>
5117 * sysdep/ia64/locks.h: Include ia64intrin.h.
5118 (compare_and_swap): Use __sync_bool_compare_and_swap.
5119 (compare_and_swap_release): Expose ar.ccv assignment.
5121 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
5123 * include/posix.h: Add suffix for darwin dynamic libraries.
5125 2003-03-21 Michael Koch <konqueror@gmx.de>
5127 * javax/swing/Action.java
5128 (ACCELERATOR_KEY): New constant.
5129 (ACTION_COMMAND_KEY): Likewise.
5130 (MNEMONIC_KEY): Likewise.
5131 * javax/swing/UnsupportedLookAndFeelException.java
5132 (UnsupportedLookAndFeelException): Must be public.
5133 * javax/swing/WindowConstants.java
5134 (EXIT_ON_CLOSE): New constant.
5135 * javax/swing/text/BadLocationException.java
5136 (offset): New member variable.
5137 (BadLocationException): New implementation, documentation added.
5138 (offsetRequested): New method.
5139 * javax/swing/text/Caret.java:
5141 * javax/swing/text/Document.java:
5144 2003-03-21 Michael Koch <konqueror@gmx.de>
5146 * java/rmi/activation/Activatable.java
5147 (serialVersionUID): New member variable.
5148 * java/rmi/activation/ActivationGroup.java
5149 (serialVersionUID): New member variable.
5150 * java/rmi/activation/ActivationGroupDesc.java
5151 (serialVersionUID): New member variable.
5152 * java/rmi/registry/Registry.java:
5154 (Registry): Deprecated.
5155 * java/rmi/server/LoaderHandler.java
5157 (LoaderHandler): Deprecated.
5158 * java/rmi/server/LogStream.java
5160 (LogStream): Deprecated.
5161 * java/rmi/server/Operation.java
5162 (Operation): Deprecated.
5163 * java/rmi/server/RMIFailureHandler.java:
5165 * java/rmi/server/RMISocketFactory.java:
5167 * java/rmi/server/RemoteCall.java
5168 (RemoteCall): Deprecated.
5169 * java/rmi/server/RemoteStub.java:
5171 * java/rmi/server/Skeleton.java
5173 (Skeleton): Deprecated.
5175 2003-03-21 Michael Koch <konqueror@gmx.de>
5177 * java/io/LineNumberReader.java
5178 (LineNumberReader): Merged documentation with classpath.
5179 (getLineNumber): Likewise.
5180 (setLineNumber): Likewise.
5184 (readLine): Likewise.
5187 2003-03-21 Michael Koch <konqueror@gmx.de>
5189 * java/rmi/RMISecurityManager.java
5190 (checkAccept): Removed.
5191 (checkAccess): Likewise.
5192 (checkAccess): Likewise.
5193 (checkAwtEventQueueAccess): Likewise.
5194 (checkConnect): Likewise.
5195 (checkCreateClassLoader): Likewise.
5196 (checkDelete): Likewise.
5197 (checkExec): Likewise.
5198 (checkExit): Likewise.
5199 (checkLink): Likewise.
5200 (checkListen): Likewise.
5201 (checkMemberAccess): Likewise.
5202 (checkMulticast): Likewise.
5203 (checkPackageAccess): Likewise.
5204 (checkPackageDefinition): Likewise.
5205 (checkPermission): Likewise.
5206 (checkPrintJobAccess): Likewise.
5207 (checkPropertiesAccess): Likewise.
5208 (checkPropertyAccess): Likewise.
5209 (checkRead): Likewise.
5210 (checkSecurityAccess): Likewise.
5211 (checkSetFactory): Likewise.
5212 (checkSystemClipboardAccess): Likewise.
5213 (checkTopLevelWindow): Likewise.
5214 (checkWrite): Likewise.
5216 2003-03-20 Michael Koch <konqueror@gmx.de>
5218 * gnu/java/nio/FileChannelImpl.java
5220 (map_address): New member variable.
5221 (length): Make it package private.
5222 (fd): Make it package private.
5223 (buf): Make it package private.
5224 (file_obj): Make it package private.
5225 (FileChannelImpl): New constructor.
5226 (nio_mmap_file): Use RawData instead of long.
5227 (nio_munmap_file): Use RawData instead of long.
5228 (nio_msync): Use RawData instead of long.
5229 (implCloseChannel): New implementation using map_address.
5232 (create_direct_mapped_buffer): Implemented, use RawData, throws
5234 (force): Use map_address instead of address.
5235 * gnu/java/nio/MappedByteFileBuffer.java
5237 (map_address): New member variable.
5238 (MappedByteFileBuffer): Use map_address instead of address, reformated.
5239 (several methods): Use map_address instead of address, replaced long
5240 with RawData where appropriate.
5241 * gnu/java/nio/natFileChannelImpl.cc
5242 (nio_mmap_file): Replaced long with RawData.
5243 (nio_munmap_file): Replaced long with RawData.
5244 (nio_msync): Replaced long with RawData.
5245 * gnu/java/nio/natMappedByteFileBuffer.cc
5246 (several methods): Replaced long with RawData where appropriate.
5248 2003-03-20 Michael Koch <konqueror@gmx.de>
5250 * java/net/InetAddress.java,
5251 java/net/JarURLConnection.java,
5252 java/net/PlainDatagramSocketImpl.java,
5253 java/net/PlainSocketImpl.java,
5254 java/net/URLConnection.java:
5255 Merged copyright statements with classpath for easier merging.
5257 2003-03-20 Michael Koch <konqueror@gmx.de>
5259 * java/io/FileInputStream.java
5260 (getChannel): New implementation.
5261 * java/io/FileOutputStream.java
5262 (ch): New member variable.
5263 (getChannel): Implemented.
5264 * java/io/RandomAccessFile.java
5265 (RandomAccessFile): Throws FileNotFoundException instead of
5267 (getChannel): New method.
5268 (ch): New member variable.
5270 2003-03-20 Michael Koch <konqueror@gmx.de>
5272 * java/io/DataOutputStream.java,
5274 java/io/FileInputStream.java,
5275 java/io/FileOutputStream.java,
5276 java/io/InputStreamReader.java,
5277 java/io/LineNumberReader.java,
5278 java/io/OutputStreamWriter.java,
5279 java/io/PrintStream.java,
5280 java/io/RandomAccessFile.java:
5281 Merged copyright statements with classpath for easier merging.
5283 2003-03-19 Michael Koch <konqueror@gmx.de>
5285 * java/lang/Process.java:
5286 Merged from classpath.
5288 2003-03-19 Michael Koch <konqueror@gmx.de>
5290 * java/io/FileOutputStream.java
5291 (FileOutputStream): New constructor, merged from classpath.
5292 * java/io/FileWriter.java
5293 (FileWriter): New constructor, merged from classpath.
5295 2003-03-18 Michael Koch <konqueror@gmx.de>
5297 * java/awt/ScrollPane.java
5298 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
5299 (getViewportSize): Likewise.
5300 (addNotify): Likewise.
5301 (removeNotify): Likewise.
5302 * java/awt/ScrollPaneAdjustable.java
5303 (ScrollPaneAdjustable): No longer extends Scrollbar.
5304 * java/beans/beancontext/BeanContextServices.java:
5306 (getService): Added throws TooManyListenersException;
5307 * java/beans/beancontext/BeanContextServicesSupport.java:
5310 2003-03-18 Michael Koch <konqueror@gmx.de>
5312 * java/io/BufferedOutputStream.java,
5313 java/io/DataInput.java,
5314 java/io/DataInputStream.java,
5315 java/io/DataOutput.java,
5316 java/io/Externalizable.java:
5317 More merges from classpath.
5319 2003-03-18 Michael Koch <konqueror@gmx.de>
5321 * configure.in: Fixed links to platform dependant java.net files.
5322 * configure: Regenerated.
5323 * java/net/natInetAddress.cc,
5324 java/net/natNetworkInterface.cc,
5325 java/net/natPlainDatagramSocketImpl.cc,
5326 java/net/natPlainSocketImpl.cc:
5329 2003-03-18 Michael Koch <konqueror@gmx.de>
5331 * configure.in: Create links to architecture dependent files,
5332 introduced PLATFORMNET variable (set to NoNet for newlib usage).
5333 * configure: Regenerated.
5334 * java/net/natInetAddressNoNet.cc,
5335 java/net/natInetAddressPosix.cc,
5336 java/net/natInetAddressWin32.cc,
5337 java/net/natNetworkInterfaceNoNet.cc,
5338 java/net/natNetworkInterfacePosix.cc,
5339 java/net/natNetworkInterfaceWin32.cc,
5340 java/net/natPlainDatagramSocketImplNoNet.cc,
5341 java/net/natPlainDatagramSocketImplPosix.cc,
5342 java/net/natPlainDatagramSocketImplWin32.cc,
5343 java/net/natPlainSocketImplNoNet.cc,
5344 java/net/natPlainSocketImplPosix.cc,
5345 java/net/natPlainSocketImplWin32.cc: New files.
5347 2003-03-18 Michael Koch <konqueror@gmx.de>
5349 * java/io/BufferedReader.java,
5350 java/io/BufferedWriter.java,
5351 java/io/ByteArrayOutputStream.java,
5352 java/io/FileFilter.java,
5353 java/io/FilePermission.java,
5354 java/io/FileReader.java,
5355 java/io/FileWriter.java,
5356 java/io/FilenameFilter.java,
5357 java/io/FilterInputStream.java,
5358 java/io/FilterOutputStream.java,
5359 java/io/FilterReader.java,
5360 java/io/FilterWriter.java,
5361 java/io/ObjectInput.java,
5362 java/io/ObjectInputValidation.java,
5363 java/io/ObjectOutput.java,
5364 java/io/ObjectStreamField.java,
5365 java/io/PipedInputStream.java,
5366 java/io/PipedReader.java,
5367 java/io/PrintWriter.java,
5368 java/io/PushbackReader.java,
5369 java/io/Reader.java,
5370 java/io/SerializablePermission.java,
5371 java/io/StringReader.java,
5372 java/io/Writer.java:
5373 Merged from classpath.
5375 2003-03-17 Michael Koch <konqueror@gmx.de>
5377 * java/awt/ScrollPaneAdjustable.java:
5380 2003-03-17 Michael Koch <konqueror@gmx.de>
5382 * java/net/DatagramSocket.java
5383 (connect): Fixed comment.
5384 * java/nio/ByteBuffer.java
5385 (hasArray): Fixed comment.
5387 2003-03-17 Michael Koch <konqueror@gmx.de>
5389 * java/beans/Beans.java:
5390 Explicitely import classes not packages.
5391 * java/beans/FeatureDescriptor.java
5392 (preferred): New member variable.
5393 (isPreferred): New method.
5394 (setPreferred): New method.
5395 * java/beans/PropertyEditorManager.java:
5396 Explicitely import used classes.
5397 * java/beans/beancontext/BeanContextChild.java:
5398 Added line wrapping.
5399 * java/beans/beancontext/BeanContextChildSupport.java:
5401 * java/beans/beancontext/BeanContextEvent.java:
5404 2003-03-17 Michael Koch <konqueror@gmx.de>
5406 * java/awt/Dialog.java
5407 (Dialog): New constructor, changed implementations, added
5409 * java/awt/ScrollPaneAdjustable.java
5410 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
5412 (serialVersionUID): New member variable.
5413 (sp): New member variable.
5414 (orientation): New member variable.
5415 (value): New member variable.
5416 (minimum): New member variable.
5417 (maximum): New member variable.
5418 (visibleAmount): New member variable.
5419 (unitIncrement): New member variable.
5420 (blockIncrement): New member variable.
5421 (AdjustmentListener): New member variable.
5422 (ScrollPaneAdjustable): New implementation.
5423 (addAdjustmentListener): New method.
5424 (removeAdjustmentListener): New method.
5425 (getAdjustmentListeners): New method.
5426 (getBlockIncrement): New method.
5427 (getMaximum): New method.
5428 (getMinimum): New method.
5429 (getOrientation): New method.
5430 (getUnitIncrement): New method.
5431 (getValue): New method.
5432 (getVisibleAmount): New method.
5433 (setBlockIncrement): New method.
5434 (setMaximum): Implemented.
5435 (setMinimum): Implemented.
5436 (setUnitIncrement): New method.
5437 (setValue): New method.
5438 (setVisibleAmount): Implemented.
5439 (paramString): New stubbed method.
5440 * java/awt/Window.java
5441 (show): Call setVisible().
5442 (hide): Call setVisible().
5443 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
5444 and WINDOW_STATE_CHANGED.
5445 (processWindowFocusEvent): New method.
5446 (processWindowStateEvent): New method.
5447 (postEvent): Deprecated.
5448 (applyResourceBundle): Deprecated.
5449 * java/awt/datatransfer/DataFlavor.java
5450 (DataFlavor): Doesn't thow ClassNotFoundException.
5452 2003-03-17 Michael Koch
5454 * javax/print/attribute/Attribute.java,
5455 javax/print/attribute/AttributeSet.java,
5456 javax/print/attribute/PrintRequestAttributeSet.java:
5459 (javax_source_files): Added new files:
5460 javax/print/attribute/Attribute.java
5461 javax/print/attribute/AttributeSet.java
5462 javax/print/attribute/PrintRequestAttributeSet.java
5463 * Makefile.in: Regenerated.
5465 2003-03-17 Michael Koch
5467 * javax/print/attribute/Attribute.java,
5468 javax/print/attribute/AttributeSet.java,
5469 javax/print/attribute/PrintRequestAttributeSet.java:
5472 (awt_java_source_files): Added new files:
5473 javax/print/attribute/Attribute.java
5474 javax/print/attribute/AttributeSet.java
5475 javax/print/attribute/PrintRequestAttributeSet.java
5476 * Makefile.in: Regenerated.
5478 2003-03-16 Tom Tromey <tromey@redhat.com>
5480 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
5482 * java/lang/natRuntime.cc (insertSystemProperties): Use
5483 _Jv_platform_path_separator.
5484 (nativeGetLibname): Use _Jv_platform_file_separator.
5485 (_load): Use _Jv_platform_onload_names.
5486 (onload_names): New global.
5487 * include/win32.h (_Jv_platform_file_separator): New define.
5488 (_Jv_platform_path_separator): Likewise.
5489 (_Jv_platform_onload_names): Likewise.
5490 (_Jv_platform_ffi_abi): Likewise.
5491 * include/posix.h (_Jv_platform_file_separator): New define.
5492 (_Jv_platform_path_separator): Likewise.
5493 (_Jv_platform_onload_names): Likewise.
5494 (_Jv_platform_ffi_abi): Likewise.
5496 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
5498 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
5500 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
5502 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
5504 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
5505 list to Object,ObjectStreamClass, moved callReadMethod code up into
5506 readObject and added Class argument to all setXxxField calls.
5507 (callReadMethod): Changed Class argument to ObjectStreamClass to be
5508 consistent with ObjectOutputStream and to facilitate caching the
5509 Method in the future.
5510 (setBooleanField): Added Class argument.
5511 (setByteField): Likewise.
5512 (setCharField): Likewise.
5513 (setDoubleField): Likewise.
5514 (setFloatField): Likewise.
5515 (setIntField): Likewise.
5516 (setLongField): Likewise.
5517 (setShortField): Likewise.
5518 (setObjectField): Likewise.
5519 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
5520 class hierarchy loop.
5521 (defaultWriteObject): Call writeFields with new argument list.
5522 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
5523 list to Object,ObjectStreamClass, moved callWriteMethod up into
5524 writeObject and added Class argument to all getXxxField calls.
5525 (callWriteMethod): Added ObjectStreamClass argument to be able to
5526 get the proper class to call getMethod on (each class can have (or
5527 not have) its own writeObject method).
5528 (getBooleanField): Added Class argument.
5529 (getByteField): Likewise.
5530 (getCharField): Likewise.
5531 (getDoubleField): Likewise.
5532 (getFloatField): Likewise.
5533 (getIntField): Likewise.
5534 (getLongField): Likewise.
5535 (getShortField): Likewise.
5536 (getObjectField): Likewise.
5537 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
5538 facilitate caching the Method object in the future.
5540 2003-03-12 Andreas Schwab <schwab@suse.de>
5542 * configure.in: Avoid trailing /. in toolexeclibdir.
5543 * configure: Rebuilt.
5545 2003-03-11 Michael Koch <konqueror@gmx.de>
5547 * gnu/java/nio/ByteBufferImpl.java
5548 (putInt): Use limit() instead of limit.
5549 * gnu/java/nio/CharBufferImpl.java
5550 (slice): Fixed implementation.
5551 (subSequence): Better bounds checking.
5552 * gnu/java/nio/MappedByteFileBuffer.java:
5553 Import all needed classes directly.
5554 * java/nio/ByteBuffer.java
5555 (hashCode): New dummy method.
5556 * java/nio/CharBuffer.java
5557 (array_offset): New member variable.
5558 (hasArray): Fixed documentation.
5559 (arrayOffset): Return array_offset.
5561 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
5563 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
5564 setter; made return value of getter const char* instead of char*
5565 * prims.cc: removed all references to _Jv_ThisExecutable().
5566 These are in the platform-specific sections now.
5567 * posix.cc: define platform-specific _Jv_ThisExecutable().
5568 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
5569 * win32.cc: define platform-specific _Jv_ThisExecutable()
5570 using GetModuleFilename()
5571 * java/lang/natRuntime.cc: set gnu.gcj.progname property
5572 to argv[0] instead of _Jv_ThisExecutable()
5574 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
5576 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
5577 that is set if we are using addr2name.awk instead of addr2line.
5578 (NameFinder): Set usingAddr2name if using addr2name.awk.
5579 (getExternalLabel): New native method to convert a method
5580 name to an external label.
5581 (lookup): Convert name given by addr2line to an external label
5584 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
5585 constant representing the prefix attached to method names to
5586 convert them to an external label.
5587 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
5590 2003-03-10 Tom Tromey <tromey@redhat.com>
5592 * Makefile.in: Rebuilt.
5593 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
5594 (JC1FLAGS): Removed -Wno-deprecated.
5596 2003-03-10 Michael Koch <konqueror@gmx.de>
5598 * java/nio/ByteOrder.java
5599 (nativeOrder): Working implementation, added documentation.
5600 (toString): Added documentation.
5602 2003-03-10 Michael Koch <konqueror@gmx.de>
5604 * java/net/DatagramSocket.java,
5605 java/net/MulticastSocket.java,
5606 java/net/Socket.java,
5608 java/net/URLConnection.java:
5609 Fixed some documentation tags to make javadoc and friends happy.
5611 2003-03-10 Michael Koch <koqnueror@gmx.de>
5613 * java/beans/beancontext/BeanContextServicesSupport.java,
5614 java/beans/beancontext/BeanContextSupport.java: New files.
5616 (awt_source_files): Added new files.
5617 * Makefile.in: Regenerated.
5619 2003-03-10 Michael Koch <konqueror@gmx.de>
5621 * java/awt/FocusTraversalPolicy.java
5622 (FocusTraversalPolicy): Documentation added.
5623 (getComponentAfter): Documentation added.
5624 (getComponentBefore): Documentation added.
5625 (getFirstComponent): Documentation added.
5626 (getLastComponent): Documentation added.
5627 (getDefaultComponent): Documentation added.
5628 (getInitialComponent): Documentation added.
5629 * java/awt/ScrollPaneAdjustable.java
5630 (sp): New member variable.
5631 (orientation): New member variable.
5632 (value): New member variable.
5633 (minimum): New member variable.
5634 (maximum): New member variable.
5635 (visibleAmount): New member variable.
5636 (unitIncrement): New member variable.
5637 (blockIncrement): New member variable.
5638 (adjustmentListener): New member variable.
5639 (ScrollPaneAdjustable): Rewrote.
5640 (addAdjustmentListener): New method.
5641 (removeAdjustmentListener): New method.
5642 (getAdjustmentListeners): New method.
5643 (getBlockIncrement): New method.
5644 (getMaximum): New method.
5645 (getMinimum): New method.
5646 (getOrientation): New method.
5647 (getUnitIncrement): New method.
5648 (getValue): New method.
5649 (getVisibleAmount): New method.
5650 (setBlockIncrement): New method.
5651 (setUnitIncrement): New method.
5652 (setMaximum): Implemented.
5653 (setMinimum): Implemented.
5654 (setValue): New method.
5655 (setVisibleAmount): Implemented.
5656 (paramString): New method.
5657 * java/awt/Window.java
5658 (show): Use setVisible(true) instead of super.show().
5659 (hide): Use sevVisible(false) instead of super.hide().
5660 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
5661 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
5662 (postEvent): Deprecated.
5663 (applyResourceBundle): Deprecated.
5664 (processWindowFocusEvent): New method.
5665 (processWindowStateEvent): New method.
5666 * java/awt/datatransfer/DataFlavor.java: Reindented.
5667 * java/awt/font/TextHitInfo.java
5668 (charIndex): New member variable.
5669 (leadingEdge): New member variable.
5670 (TextHitInfo): New constructor.
5671 (getCharIndex): Implemented.
5672 (isLeadingEdge): Implemented.
5673 (getInsertionIndex): Implemented.
5674 (hashCode): Access charIndex directly.
5675 (equals): Reformated.
5676 (leading): Implemented.
5677 (trailing): Implemented.
5678 (beforeOffset): Implemented.
5679 (afterOffset): Implemented.
5680 (getOtherHit): Implemented.
5681 (getOffsetHit): Implemented.
5682 (toString): Implemented.
5683 * java/awt/image/BufferedImage.java
5684 (BufferedImage): Implements WritableRenderedImage.
5685 (observers): New member variable.
5686 (addTileObserver): New method.
5687 (removeTileObserver): New method.
5689 2003-03-09 Tom Tromey <tromey@redhat.com>
5692 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
5693 to lseek. Return 0 if we can't compute the value.
5695 2003-03-03 Michael Koch <konqueror@gmx.de>
5697 * java/net/NetworkInterface.java: Merged with classpath.
5699 2003-03-03 Tom Tromey <tromey@redhat.com>
5701 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
5703 (handle_ret_insn): Fail if returning to jsr that appears at end of
5706 2003-03-03 Michael Koch <konqueror@gmx.de>
5709 (ordinary_java_source_files):
5710 Added gnu/java/nio/MappedByteFileBuffer.java.
5712 Added gnu/java/nio/natMappedByteFileBuffer.cc.
5713 * Makefile.in: Regenerated.
5715 2003-03-03 Michael Koch <konqueror@gmx.de>
5717 * java/net/DatagramSocket.java
5718 (connect): Merged comment from classpath.
5719 (receive): Merged documentation from classpath.
5720 * java/net/Socket.java
5721 (setSoTimeout): Clarified documentation.
5723 (getPath): Merged from classpath.
5724 (getUserInfo): Merged from classpath.
5725 (getQuery): Merged from classpath.
5726 * java/net/URLStreamHandler.java
5727 (toExternalForm): Merged from classpath.
5729 2003-03-02 Mark Wielaard <mark@klomp.org>
5731 * java/util/Properties.java (load): Only skip line if the first
5732 character is a comment, whitespaces don't count.
5734 2003-03-02 Michael Koch <konqueror@gmx.de>
5736 * java/net/NetPermission.java:
5737 Merged copyright with classpath.
5739 2003-03-02 Michael Koch <konqueror@gmx.de>
5741 * java/lang/Package.java:
5742 Remerged from classpath.
5744 2003-03-02 Michael Koch <konqueror@gmx.de>
5746 * java/net/HttpURLConnection.java
5747 (HTTP_SERVER_ERROR): Deprecated.
5748 * java/net/MulticastSocket.java
5749 (send): Replaced checkMulticast with appropriate checkPermission call,
5751 * java/net/URLDecoder.java
5752 (decode): Deprecated.
5753 * java/net/URLEncoder.java
5754 (encode): Deprecated.
5756 2003-03-02 Michael Koch <konqueror@gmx.de>
5758 * javax/swing/text/Caret.java
5759 (getMagicCaretPosition): Fixed typo in method name.
5760 * javax/swing/text/DefaultCaret.java
5761 (getMagicCaretPosition): Fixed typo in method name.
5763 2003-03-02 Michael Koch <konqueror@gmx.de>
5765 * java/awt/List.java
5766 (setMultipleSelections): Deprecated.
5767 (delItem): Deprecated.
5768 * java/awt/MenuComponent.java
5769 (getPeer): Deprecated.
5770 * java/awt/ScrollPane.java
5771 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
5772 * java/awt/dnd/MouseDragGestureRecognizer.java
5773 (mouseClicked): Added comment.
5774 (mousePressed): Added comment.
5775 (mouseReleased): Added comment.
5776 (mouseEntered): Added comment.
5777 (mouseExited): Added comment.
5778 (mouseDragged): Added comment.
5779 (mouseMoved): Added comment.
5780 * java/awt/event/KeyEvent.java
5781 (KeyEvent): Deprecated.
5782 (setModifiers): Deprecated.
5784 2003-03-02 Michael Koch <konqueror@gmx.de>
5786 * gnu/java/nio/FileChannelImpl.java
5787 (fd): Type FileDescriptor instead of int.
5788 (lengthInternal): Removed.
5789 (FileChannelImpl): Fixed arguments, check type of file object.
5790 (size): Made it native.
5791 (implPosition): New native method.
5792 (implTruncate): New native method.
5793 (position): Implemented.
5794 (truncate): Implemented.
5795 (nio_mmap_file): Changed arguments.
5796 (nio_munmap_file): Changed arguments.
5797 (nio_msync): Changed arguments.
5798 * gnu/java/nio/natFileChannelImpl.cc
5799 (lengthInternal): Removed.
5801 (implPosition): New method.
5802 (implTruncate): New method.
5803 (nio_mmap_file): Changed arguments.
5804 (nio_munmap_file): Changed arguments.
5805 (nio_msync): Changed arguments.
5807 2003-03-02 Michael Koch <konqueror@gmx.de>
5809 * java/awt/dnd/DropTargetContext.java:
5810 Compile fix: Forgot to commit import.
5812 2003-03-02 Michael Koch <konqueror@gmx.de>
5814 * java/awt/Component.java,
5815 java/awt/ScrollPane.java:
5818 2003-03-02 Michael Koch <konqueror@gmx.de>
5820 * java/awt/dnd/DnDEventMulticaster.java: New file.
5821 * java/awt/dnd/DragSource.java
5822 (flavorMap): New member variable.
5823 (dragSourceListener): New member variable.
5824 (dragSourceMotionListener): New member variable.
5825 (getFlavorMap): Implemented.
5826 (createDragGestureRecognizer): Implemented.
5827 (addDragSourceListener): Implemented.
5828 (removeDragSourceListener): Implemented.
5829 (getDragSourceListeners): Implemented.
5830 (addDragSourceMotionListener): Implemented.
5831 (removeDragSourceMotionListener): Implemented.
5832 (getDragSourceMotionListeners): Implemented.
5833 (getListeners): Implemented.
5834 * java/awt/dnd/DragSourceContext.java
5835 (peer): New member variable.
5836 (cursor): New member variable.
5837 (transferable): New member variable.
5838 (trigger): New member variable.
5839 (dragSourceListener): New member variable.
5840 (image): New member variable.
5841 (offset): New member variable.
5842 (DragSourceContext): Implemented.
5843 (getDragSource): Implemented.
5844 (getComponent): Implemented.
5845 (getTrigger): Implemented.
5846 (getSourceActions): Implemented.
5847 (setCursor): Implemented.
5848 (getCursor): Implemented.
5849 (addDragSourceListener): Implemented.
5850 (removeDragSourceListener): Implemented.
5851 (getTransferable): Implemented.
5852 * java/awt/dnd/DropTarget.java
5853 (DropTargetAutoScroller.component): New member variable.
5854 (DropTargetAutoScroller.point): New member variable.
5855 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
5856 (DropTargetAutoScroller.updateLocation): Implemented.
5857 (active): Renamed from isActive, defaults to true now.
5858 (component): New member variable.
5859 (flavorMap): New member variable.
5860 (actions): New member variable.
5861 (dropTargetContext): New member variable.
5862 (dropTargetListener): New member variable.
5863 (DropTarget): Implemented.
5864 (getComponent): Implemented.
5865 (setComponent): Implemented.
5866 (setDefaultActions): Implemented.
5867 (getDefaultActions): Implemented.
5868 (setActive): Use active instead of isActive.
5869 (isActive): Use active instead of isActive.
5870 (addDropTargetListener): Implemented.
5871 (removeDropTargetListener): Implemented.
5872 (getFlavorMap): Implemented.
5873 (setFlavorMap): Implemented.
5874 (getDropTargetContext): Implemented.
5875 (createDropTargetContext): Implemented.
5876 (createDropTargetAutoScroller): Implemented.
5877 * java/awt/dnd/DropTargetContext.java
5878 (TransferableProxy.getTransferDataFlavors): Implemented.
5879 (TransferableProxy.isDataFlavorSupported): Implemented.
5880 (TransferableProxy.getTransferData): Implemented.
5881 (dropTarget): New member variable.
5882 (dtcp): New member variable.
5883 (DropTargetContext): New package private constructor.
5884 (getDropTarget): Implemented.
5885 (getComponent): Implemented.
5886 (addNotify): Implemented.
5887 (removeNotify): Implemented.
5888 (getCurrentDataFlavorsAsList): Implemented.
5889 (isDataFlavorSupported): Implemented.
5890 * java/awt/dnd/MouseDragGestureRecognizer.java
5891 (registerListeners): Implemented.
5892 (unregisterListeners): Implemented.
5894 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
5895 * Makefile.in: Regenerated.
5897 2003-03-02 Michael Koch <konqueror@gmx.de>
5899 * java/awt/Component.java
5900 (eventTypeEnabled): New method.
5901 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
5902 * java/awt/Container.java
5903 (changeSupport): New member variable.
5904 (addPropertyChangeListener): New methods.
5905 * java/awt/ContainerOrderFocusTraversalPolicy.java
5906 (ContainerOrderFocusTraversalPolicy): Added comment.
5907 (getComponentAfter): Throw exception, documentation added.
5908 (getComponentBefore): Throw exception, documentation added.
5909 (getFirstComponent): Throw exception, documentation added.
5910 (getLastComponent): Throw exception, documentation added.
5911 (getDefaultComponent): Throw exception, documentation added.
5912 * java/awt/EventQueue.java: Reindented.
5913 * java/awt/FocusTraversalPolicy.java:
5914 (FocusTraversalPolicy): Added comment.
5915 (getComponentAfter): Documentation added.
5916 (getComponentBefore): Documentation added.
5917 (getFirstComponent): Documentation added.
5918 (getLastComponent): Documentation added.
5919 (getDefaultComponent): Documentation added.
5920 (getInitialComponent): Documentation added.
5921 * java/awt/ScrollPane.java
5922 (wheelScrollingEnabled): New member variable.
5923 (ScrollPane): Initialize wheelScollingEnabled.
5924 (eventTypeEnabled): New method.
5925 (isWheelScrollingEnabled): New method.
5926 (setWheelScrollingEnabled): New method.
5928 2003-03-02 Michael Koch <konqueror@gmx.de>
5930 * java/net/DatagramSocket.java
5931 (closed): New member variable.
5932 (close): Use closed variable.
5933 (getInetAddress): No need to call isConnected().
5934 (getPort): No need to call isConnected().
5935 (disconnect): Reset remoteAddress and remotePort, fixed typo.
5936 (isClosed): Reimplemented.
5938 2003-03-02 Michael Koch <konqueror@gmx.de>
5940 * configure.in: Added check for memory mapping of files.
5941 * configure: Regenerated.
5942 * config.h.in: Regenerated.
5944 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
5946 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
5947 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
5949 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
5951 * java/io/File.java (normalizePath): Remove trailing separator
5952 on Windows only if path is not of the form "x:\".
5954 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
5955 (java::io::File::attr): Change formatting a bit and use
5956 WIN32_EPOCH_MILLIS instead of magic numbers.
5957 (java::io::File::isAbsolute): Path must have at least 3
5958 characters for a UNC network path.
5959 (java::io::File::init_native): Define.
5960 (java::io::File::performCreate): Likewise.
5961 (java::io::File::performSetReadOnly): Likewise.
5962 (java::io::File::performSetLastModified): Likewise.
5963 (java::io::File::performListRoots): Likewise.
5965 2003-03-01 Tom Tromey <tromey@redhat.com>
5967 * java/lang/natObject.cc: Don't include assert.h.
5968 (heavy_lock_obj_finalization_proc): Use JvAssert.
5969 (remove_all_heavy): Likewise.
5970 (_Jv_MonitorEnter): Likewise.
5971 (_Jv_MonitorExit): Likewise.
5974 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
5976 * java/io/File (getAbsolutePath): Prefix drive specifier on
5977 Windows for paths starting with a '\'.
5978 (toURL): Make URL more consistent with what Sun's JDK returns.
5980 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
5981 true only if the path is a UNC network path or it starts with a
5984 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
5985 Be prepared to handle either '/' or '\\' in the file path for
5986 Windows if using the "file" protocol.
5987 Canonicalise the file path if using a relative path in the given
5988 context and the "file" protocol.
5990 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
5992 * java/lang/natWin32Process.cc (startProcess): Double-quote each
5993 program array element passed to CreateProcess.
5995 2003-03-01 Tom Tromey <tromey@redhat.com>
5997 * java/rmi/registry/RegistryHandler.java: Deprecate.
5999 2003-03-01 Tom Tromey <tromey@redhat.com>
6001 * javax/accessibility/AccessibleEditableText.java,
6002 javax/accessibility/AccessibleHyperlink.java: New versions from
6005 * gnu/java/locale/LocaleInformation_af_ZA.java,
6006 gnu/java/locale/LocaleInformation_ar_AE.java,
6007 gnu/java/locale/LocaleInformation_ar_BH.java,
6008 gnu/java/locale/LocaleInformation_ar_DZ.java,
6009 gnu/java/locale/LocaleInformation_ar_EG.java,
6010 gnu/java/locale/LocaleInformation_ar_IN.java,
6011 gnu/java/locale/LocaleInformation_ar_IQ.java,
6012 gnu/java/locale/LocaleInformation_ar_JO.java,
6013 gnu/java/locale/LocaleInformation_ar_KW.java,
6014 gnu/java/locale/LocaleInformation_ar_LB.java,
6015 gnu/java/locale/LocaleInformation_ar_LY.java,
6016 gnu/java/locale/LocaleInformation_ar_MA.java,
6017 gnu/java/locale/LocaleInformation_ar_OM.java,
6018 gnu/java/locale/LocaleInformation_ar_QA.java,
6019 gnu/java/locale/LocaleInformation_ar_SD.java,
6020 gnu/java/locale/LocaleInformation_ar_SY.java,
6021 gnu/java/locale/LocaleInformation_ar_TN.java,
6022 gnu/java/locale/LocaleInformation_ar_YE.java,
6023 gnu/java/locale/LocaleInformation_be_BY.java,
6024 gnu/java/locale/LocaleInformation_bn_IN.java,
6025 gnu/java/locale/LocaleInformation_br_FR.java,
6026 gnu/java/locale/LocaleInformation_bs_BA.java,
6027 gnu/java/locale/LocaleInformation_ca_ES.java,
6028 gnu/java/locale/LocaleInformation_cs_CZ.java,
6029 gnu/java/locale/LocaleInformation_cy_GB.java,
6030 gnu/java/locale/LocaleInformation_da_DK.java,
6031 gnu/java/locale/LocaleInformation_de_AT.java,
6032 gnu/java/locale/LocaleInformation_de_BE.java,
6033 gnu/java/locale/LocaleInformation_de_CH.java,
6034 gnu/java/locale/LocaleInformation_de_DE.java,
6035 gnu/java/locale/LocaleInformation_de_LU.java,
6036 gnu/java/locale/LocaleInformation_el_GR.java,
6037 gnu/java/locale/LocaleInformation_en_AU.java,
6038 gnu/java/locale/LocaleInformation_en_BW.java,
6039 gnu/java/locale/LocaleInformation_en_CA.java,
6040 gnu/java/locale/LocaleInformation_en_DK.java,
6041 gnu/java/locale/LocaleInformation_en_GB.java,
6042 gnu/java/locale/LocaleInformation_en_HK.java,
6043 gnu/java/locale/LocaleInformation_en_IE.java,
6044 gnu/java/locale/LocaleInformation_en_IN.java,
6045 gnu/java/locale/LocaleInformation_en_NZ.java,
6046 gnu/java/locale/LocaleInformation_en_PH.java,
6047 gnu/java/locale/LocaleInformation_en_SG.java,
6048 gnu/java/locale/LocaleInformation_en_US.java,
6049 gnu/java/locale/LocaleInformation_en_ZA.java,
6050 gnu/java/locale/LocaleInformation_en_ZW.java,
6051 gnu/java/locale/LocaleInformation_es_AR.java,
6052 gnu/java/locale/LocaleInformation_es_BO.java,
6053 gnu/java/locale/LocaleInformation_es_CL.java,
6054 gnu/java/locale/LocaleInformation_es_CO.java,
6055 gnu/java/locale/LocaleInformation_es_CR.java,
6056 gnu/java/locale/LocaleInformation_es_DO.java,
6057 gnu/java/locale/LocaleInformation_es_EC.java,
6058 gnu/java/locale/LocaleInformation_es_ES.java,
6059 gnu/java/locale/LocaleInformation_es_GT.java,
6060 gnu/java/locale/LocaleInformation_es_HN.java,
6061 gnu/java/locale/LocaleInformation_es_MX.java,
6062 gnu/java/locale/LocaleInformation_es_NI.java,
6063 gnu/java/locale/LocaleInformation_es_PA.java,
6064 gnu/java/locale/LocaleInformation_es_PE.java,
6065 gnu/java/locale/LocaleInformation_es_PR.java,
6066 gnu/java/locale/LocaleInformation_es_PY.java,
6067 gnu/java/locale/LocaleInformation_es_SV.java,
6068 gnu/java/locale/LocaleInformation_es_US.java,
6069 gnu/java/locale/LocaleInformation_es_UY.java,
6070 gnu/java/locale/LocaleInformation_es_VE.java,
6071 gnu/java/locale/LocaleInformation_et_EE.java,
6072 gnu/java/locale/LocaleInformation_eu_ES.java,
6073 gnu/java/locale/LocaleInformation_fa_IR.java,
6074 gnu/java/locale/LocaleInformation_fi_FI.java,
6075 gnu/java/locale/LocaleInformation_fo_FO.java,
6076 gnu/java/locale/LocaleInformation_fr_BE.java,
6077 gnu/java/locale/LocaleInformation_fr_CA.java,
6078 gnu/java/locale/LocaleInformation_fr_CH.java,
6079 gnu/java/locale/LocaleInformation_fr_FR.java,
6080 gnu/java/locale/LocaleInformation_fr_LU.java,
6081 gnu/java/locale/LocaleInformation_ga_IE.java,
6082 gnu/java/locale/LocaleInformation_gd_GB.java,
6083 gnu/java/locale/LocaleInformation_gl_ES.java,
6084 gnu/java/locale/LocaleInformation_gv_GB.java,
6085 gnu/java/locale/LocaleInformation_he_IL.java,
6086 gnu/java/locale/LocaleInformation_hi_IN.java,
6087 gnu/java/locale/LocaleInformation_hr_HR.java,
6088 gnu/java/locale/LocaleInformation_hu_HU.java,
6089 gnu/java/locale/LocaleInformation_id_ID.java,
6090 gnu/java/locale/LocaleInformation_it_CH.java,
6091 gnu/java/locale/LocaleInformation_it_IT.java,
6092 gnu/java/locale/LocaleInformation_iw_IL.java,
6093 gnu/java/locale/LocaleInformation_ja_JP.java,
6094 gnu/java/locale/LocaleInformation_ka_GE.java,
6095 gnu/java/locale/LocaleInformation_kl_GL.java,
6096 gnu/java/locale/LocaleInformation_ko_KR.java,
6097 gnu/java/locale/LocaleInformation_kw_GB.java,
6098 gnu/java/locale/LocaleInformation_lt_LT.java,
6099 gnu/java/locale/LocaleInformation_lv_LV.java,
6100 gnu/java/locale/LocaleInformation_mi_NZ.java,
6101 gnu/java/locale/LocaleInformation_mk_MK.java,
6102 gnu/java/locale/LocaleInformation_mr_IN.java,
6103 gnu/java/locale/LocaleInformation_mt_MT.java,
6104 gnu/java/locale/LocaleInformation_nl_BE.java,
6105 gnu/java/locale/LocaleInformation_nl_NL.java,
6106 gnu/java/locale/LocaleInformation_nn_NO.java,
6107 gnu/java/locale/LocaleInformation_no_NO.java,
6108 gnu/java/locale/LocaleInformation_oc_FR.java,
6109 gnu/java/locale/LocaleInformation_pl_PL.java,
6110 gnu/java/locale/LocaleInformation_pt_BR.java,
6111 gnu/java/locale/LocaleInformation_pt_PT.java,
6112 gnu/java/locale/LocaleInformation_ro_RO.java,
6113 gnu/java/locale/LocaleInformation_ru_RU.java,
6114 gnu/java/locale/LocaleInformation_ru_UA.java,
6115 gnu/java/locale/LocaleInformation_se_NO.java,
6116 gnu/java/locale/LocaleInformation_sk_SK.java,
6117 gnu/java/locale/LocaleInformation_sl_SI.java,
6118 gnu/java/locale/LocaleInformation_sq_AL.java,
6119 gnu/java/locale/LocaleInformation_sr_YU.java,
6120 gnu/java/locale/LocaleInformation_sv_FI.java,
6121 gnu/java/locale/LocaleInformation_sv_SE.java,
6122 gnu/java/locale/LocaleInformation_ta_IN.java,
6123 gnu/java/locale/LocaleInformation_te_IN.java,
6124 gnu/java/locale/LocaleInformation_tg_TJ.java,
6125 gnu/java/locale/LocaleInformation_tl_PH.java,
6126 gnu/java/locale/LocaleInformation_tr_TR.java,
6127 gnu/java/locale/LocaleInformation_uk_UA.java,
6128 gnu/java/locale/LocaleInformation_ur_PK.java,
6129 gnu/java/locale/LocaleInformation_uz_UZ.java,
6130 gnu/java/locale/LocaleInformation_vi_VN.java,
6131 gnu/java/locale/LocaleInformation_yi_US.java,
6132 gnu/java/locale/LocaleInformation_zh_CN.java,
6133 gnu/java/locale/LocaleInformation_zh_HK.java,
6134 gnu/java/locale/LocaleInformation_zh_SG.java,
6135 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
6136 info; from Classpath.
6138 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
6139 isPaintPending): New methods.
6140 * gnu/awt/xlib/XFramePeer.java (getState, setState,
6141 setMaximizedBounds): New methods.
6142 (beginLayout, endLayout, isPaintPending): Likewise.
6143 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
6144 (requestFocus): Likewise.
6145 (isObscured): Likewise.
6146 (canDetermineObscurity): Likewise.
6147 (coalescePaintEvent): Likewise.
6148 (updateCursorImmediately): Likewise.
6149 (createVolatileImage): Likewise.
6150 (handlesWheelScrolling): Likewise.
6151 (createBuffers): Likewise.
6152 (getBackBuffer): Likewise.
6154 (destroyBuffers): Likewise.
6156 * Makefile.in: Rebuilt.
6157 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
6159 * gnu/java/awt/GLightweightPeer.java,
6160 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6161 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6162 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6163 gnu/java/awt/peer/gtk/GtkFramePeer.java,
6164 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6165 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6166 java/awt/dnd/peer/DragSourceContextPeer.java,
6167 java/awt/dnd/peer/DropTargetContextPeer.java,
6168 java/awt/peer/ButtonPeer.java,
6169 java/awt/peer/CheckboxMenuItemPeer.java,
6170 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
6171 java/awt/peer/ComponentPeer.java,
6172 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
6173 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
6174 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
6175 java/awt/peer/MenuBarPeer.java,
6176 java/awt/peer/MenuComponentPeer.java,
6177 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
6178 java/awt/peer/PopupMenuPeer.java,
6179 java/awt/peer/ScrollPanePeer.java,
6180 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
6181 java/awt/peer/TextComponentPeer.java,
6182 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
6183 New versions from Classpath.
6184 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
6185 * java/awt/peer/RobotPeer.java: Likewise.
6187 2003-03-01 Mark Wielaard <mark@klomp.org>
6189 * java/io/ObjectInputStream.java: Reindent.
6190 * java/io/ObjectOutputStream.java: Likewise.
6192 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
6194 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
6195 jvalue for each argument. Simplify.
6196 * testsuite/libjava.jni/calls.c (docall),
6197 testsuite/libjava.jni/calls.java (longpb_f): check for argument
6200 2003-02-28 Mark Wielaard <mark@klomp.org>
6202 * Makefile.am (nat_source_files): Remove
6203 java/io/natObjectOutputStream.cc.
6204 * Makefile.in: Regenerated.
6205 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
6206 * java/io/ObjectStreamField.java (typename): New field.
6207 (ObjectStreamField(String, Class)): Initialize new field.
6208 (ObjectStreamField(String, String)): New Constructor.
6209 (getTypeCode): Use new field.
6210 (getTypeString): Use new field.
6211 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
6212 ObjectStreamExceptions. Remember and reset old BlockDataMode.
6213 Handle reading of Proxy classes. Never drain(), just write
6214 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
6215 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
6216 (flush): Call flush(), not just drain().
6217 (writeBoolean): Always use blockDataOutput.
6218 (writeByte): Likewise.
6219 (writeShort): Likewise.
6220 (writeChar): Likewise.
6221 (writeInt): Likewise.
6222 (writeLong): Likewise.
6223 (writeFloat): Likewise.
6224 (writeDouble): Likewise.
6225 (writeBytes): Likewise.
6226 (putfield (put(String,Object))): Throw IllegalArgumentException if
6227 field cannot be found.
6228 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
6229 (writeArraySizeAndElements): Write byte[] in one go.
6230 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
6231 set BlockDataMode to false.
6232 (annotateProxyClass): New method.
6233 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
6234 (getField): No longer native.
6235 (getMethod): Likewise.
6236 (setBlockDataMode): Always drain() on switch, return old mode.
6237 (static): New static code block.
6238 * java/io/natObjectOutputStream.cc: Removed.
6239 * java/io/ObjectInputStream.java (getField): No longer native.
6240 (getMethod): Likewise.
6241 (readObject): Remember and reset old BlockDataMode. Track whether
6242 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
6244 (defaultReadObject): Set BlockDataMode to false during readFields.
6245 (resolveClass): Create new SecurityManager if necessary.
6246 Use Class.forName() if null ClassLoader found.
6247 (read(byte[],int,int): Copy remaining bytes to data before calling
6249 (readFields): Set and reset BlockDataMode on call_read_method.
6250 Catch NoSuchFieldErrors.
6251 (setBlockDataMode): Return old mode.
6252 (static): New static code block.
6253 * java/io/natObjectInputStream.cc (getField): Removed.
6254 (getMethod): Likewise.
6256 2003-02-27 Michael Koch <konqueror@gmx.de>
6258 * java/beans/Beans.java,
6259 java/beans/FeatureDescriptor.java
6260 java/beans/PropertyEditorManager.java:
6261 Reformated to GNU style.
6263 2003-02-25 Michael Koch <konqueror@gmx.de>
6265 * gnu/java/nio/MappedByteFileBuffer.java,
6266 gnu/java/nio/natMappedByteFileBuffer.cc:
6267 New files, both are not compiled yet to get not noncompiling CVS.
6269 2003-02-24 Tom Tromey <tromey@redhat.com>
6271 * java/util/prefs/AbstractPreferences.java (isUserNode):
6274 2003-02-24 Tom Tromey <tromey@redhat.com>
6276 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
6278 * java/lang/Thread.java (resume): Deprecate.
6279 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
6282 2003-02-23 Tom Tromey <tromey@redhat.com>
6284 * Makefile.in: Rebuilt.
6285 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
6287 2003-02-23 Tom Tromey <tromey@redhat.com>
6289 * java/lang/natRuntime.cc (libraries_size, libraries_count,
6290 libraries): Removed.
6291 (add_library): Removed.
6292 (_load): Don't call add_library.
6293 (loadLibraryInternal): Likewise.
6295 (lookup_data): New struct.
6296 (find_symbol): New function.
6297 (_Jv_FindSymbolInExecutable): Use it.
6299 2002-02-21 Anthony Green <green@redhat.com>
6301 * java/lang/Thread.java (Thread): New constructor taking stack
6302 size parameter (ignored for now).
6303 * Many methods: Merged GNU Classpath documentation.
6305 * java/lang/Class.java (finalize): throws a Throwable.
6307 2003-02-21 Mark Wielaard <mark@klomp.org>
6309 * java/util/zip/ZipEntry.java (setComment): Don't check length when
6312 2003-02-21 Mark Wielaard <mark@klomp.org>
6314 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
6315 then 65535 chars throw IllegalArgumentException.
6317 2003-02-21 Mark Wielaard <mark@klomp.org>
6319 * java/util/zip/ZipFile.java (finalize): New method.
6321 2003-02-21 Michael Koch <konqueror@gmx.de>
6323 * gnu/java/nio/natSocketChannelImpl.cc:
6324 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
6325 <cato@df.lth.se> for pointing to it.
6327 2003-02-20 Raif S. Naffah <raif@fl.net.au>
6329 * java/math/BigInteger.java (euclidInv): Take result array as an
6330 argument. Updated all callers.
6331 (modInverse): Removed unused variables.
6333 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
6335 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
6337 * configure: Rebuilt.
6339 2003-02-19 Michael Koch <konqueror@gmx.de>
6341 * gnu/java/nio/natSocketChannelImpl.cc:
6342 Added support for platforms without network support.
6344 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6346 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
6347 after config.h. Use <> for consistency.
6348 * java/lang/natObject.cc: Likewise.
6349 * java/lang/natRuntime.cc: Likewise.
6350 * java/lang/natSystem.cc: Likewise.
6351 * java/util/natTimeZone.cc: Likewise.
6352 * win32.cc: Likewise.
6353 * include/posix.h (fcntl, socket, connect, close, bind, accept,
6354 listen, write, read): Undef to avoid interference from OS macros.
6356 2003-02-19 Michael Koch <konqueror@gmx.de>
6358 * gnu/java/nio/ByteBufferImpl.java
6359 (ByteBufferImpl): Renamed two variables.
6360 * gnu/java/nio/CharBufferImpl.java
6361 (CharBufferImpl): Renamed two variables.
6362 * gnu/java/nio/DoubleBufferImpl.java
6363 (DoubleBufferImpl): Renamed two variables.
6364 * gnu/java/nio/FloatBufferImpl.java
6365 (FloatBufferImpl): Renamed two variables.
6366 * gnu/java/nio/IntBufferImpl.java
6367 (IntBufferImpl): Renamed two variables.
6368 * gnu/java/nio/LongBufferImpl.java
6369 (LongBufferImpl): Renamed two variables.
6370 * gnu/java/nio/ShortBufferImpl.java
6371 (ShortBufferImpl): Renamed two variables.
6372 * java/nio/CharBuffer.java
6373 (wrap): Fixed arguments to CharBufferImpl constructor.
6374 (hasArray): Only not read-only buffers have backing arrays.
6375 (length): Documentation added.
6376 (subSequence): Documentation added.
6377 * java/nio/DoubleBuffer.java
6378 (hasArray): Only not read-only buffers have backing arrays.
6379 * java/nio/FloatBuffer.java
6380 (hasArray): Only not read-only buffers have backing arrays.
6381 * java/nio/IntBuffer.java
6382 (hasArray): Only not read-only buffers have backing arrays.
6383 * java/nio/LongBuffer.java
6384 (hasArray): Only not read-only buffers have backing arrays.
6385 * java/nio/ShortBuffer.java
6386 (hasArray): Only not read-only buffers have backing arrays.
6388 2003-02-19 Michael Koch <konqueror@gmx.de>
6390 * javax/accessibility/AccessibleContext.java
6391 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
6393 2003-02-19 Michael Koch <konqueror@gmx.de>
6395 * java/awt/ScrollPaneAdjustable.java: Reformated.
6397 2003-02-19 Michael Koch <konqueror@gmx.de>
6399 * gnu/awt/j2d/Graphics2DImpl.java
6400 (getFontRenderContext): New method.
6401 (drawGlyphVector): New method.
6402 * java/awt/Graphics2D.java
6403 (getFontRenderContext): New abstract method.
6404 (drawGlyphVector): New abstract method.
6406 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
6408 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
6411 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6412 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6413 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6414 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6415 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6416 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6417 (setFont, gtkSetFont): add.
6418 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
6419 Propagate font to peer. (setFont): add FIXME comment.
6421 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6422 (gtkTextGetSize): fix height, width computation.
6424 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
6425 Make X font name a bit less bogus.
6427 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
6428 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
6430 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
6431 (processAdjustmentEvent): Adjust value.
6433 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
6436 * java/awt/Component.java (setVisible, show, hide): Call show and
6437 hide methods in subclasses.
6438 (getPreferredSize): don't set prefSize before we have peer.
6440 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
6441 Guess (0,0) if we don't have peer.
6444 2003-02-18 Michael Koch <konqueror@gmx.de>
6446 * java/nio/channels/FileChannel.java
6447 (toString): New implementation, added documentation.
6448 (map): Added exception documentation.
6449 (size): Added exception documentation.
6450 (write): New methods, documentation work.
6451 (read): New methods, documentation work.
6452 (implCloseChannel): Rewrote exception documentation.
6453 (force): Throws IOException, added documentation.
6454 (lock): New methods.
6455 (tryLock): New methods.
6456 (position): New methods.
6457 (transferTo): New method.
6458 (transferFrom): New method.
6459 (truncate): New method.
6460 * java/nio/channels/spi/SelectorProvider.java
6461 (provider): Implemented.
6463 (ordinary_java_source_files): Added the following files:
6464 gnu/java/nio/DatagramChannelImpl.java
6465 gnu/java/nio/FileChannelImpl.java
6466 gnu/java/nio/PipeImpl.java
6467 gnu/java/nio/SelectionKeyImpl.java
6468 gnu/java/nio/SelectorImpl.java
6469 gnu/java/nio/SelectorProviderImpl.java
6470 gnu/java/nio/ServerSocketChannelImpl.java
6471 gnu/java/nio/SocketChannelImpl.java
6472 java/nio/channels/FileLock.java
6473 (nat_java_source_files): Added the following files:
6474 gnu/java/nio/natFileChannelImpl.cc
6475 gnu/java/nio/natSelectorImpl.cc
6476 gnu/java/nio/natSocketChannelImpl.cc
6477 * Makefile.in: Regenerated.
6479 2003-02-17 Tom Tromey <tromey@redhat.com>
6481 * java/awt/image/ColorModel.java: Re-merged with Classpath.
6482 * java/awt/image/ImageFilter.java: Likewise.
6484 2003-02-17 Raif S. Naffah <raif@fl.net.au>
6486 * java/math/BigInteger.java (euclidInv): Return array of
6487 `BigInteger's. Changed all callers.
6489 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
6491 * java/util/Properties.java (store): Move the code formerly in
6492 list(), into this method.
6493 (list (PrintStream)): Just call list (PrintWriter) with a
6494 PrintWriter object constructed from the given PrintStream object.
6495 (list (PrintWriter)): Emulate the output of Properties.list()
6496 as found in JDK 1.3/1.4.
6498 2003-02-17 Michael Koch <konqueror@gmx.de>
6500 * java/net/DatagramSocket.java
6501 (connect): Merged with classpath.
6502 (disconnect): Merged documentation with classpath.
6503 (receice): Merged documentation with classpath.
6504 (send): Merged documentation with classpath.
6506 2003-02-17 Michael Koch <konqueror@gmx.de>
6508 * java/awt/dnd/DragSourceContext.java
6509 (addDragSourceListener): Added documentation.
6510 * java/awt/dnd/DragSourceDragEvent.java
6511 (serialVersionUID): New member variable.
6512 (getDropAction): Reformated.
6513 * java/awt/dnd/DragSourceDropEvent.java
6514 (serialVersionUID): New member variable.
6515 (dropSuccess): Renamed from success for serialization issues.
6516 * java/awt/dnd/DragSourceEvent.java
6517 (serialVersionUID): New member variable.
6518 * java/awt/dnd/DropTarget.java
6519 (serialVersionUID): New member variable.
6520 (DropTarget): Implemented, documentation reworked.
6521 (setComponent): Documentation added.
6522 (getComponent): Documentation added.
6523 (setDefaultActions): Documentation added.
6524 (getDefaultActions): Documentation added.
6525 (addDropTargetListener): Documentation added.
6526 * java/awt/dnd/DropTargetContext.java
6527 (DropTargetContext): Documentation added.
6528 (TransferableProxy.TransferableProxy): New method.
6529 (dropComplete): Fixed documentation.
6530 (getTransferable): Fixed documentation.
6531 (createTransferableProxy): Implemented.
6532 * java/awt/dnd/DropTargetDragEvent.java
6533 (DropTargetDragEvent): Documentation added.
6534 (serialVersionUID): New member variable.
6535 (DropTargetDragEvent): Throw exceptions, documentation added.
6536 (acceptDrag): Implemented.
6537 (getCurrentDataFlavors): Implemented.3yy
6538 (getCurrentDataFlavorsAsList): Implemented.
6539 (isDataFlavorSupported): Implemented.
6540 (rejectDrag): Implemented.
6541 * java/awt/dnd/DropTargetDropEvent.java
6542 (DropTargetDropEvent): Documentation added.
6543 (serialVersionUID): New member variable.
6544 (actions): Renamed from srcActions for serialization issues.
6545 (isLocalTx): Renamed from isLocalTx for serialization issues.
6546 (DropTargetDropEvent): New implementation, throw exceptions,
6547 documentation added.
6548 (getCurrentDataFlavors): Implemented.
6549 (getCurrentDataFlavorsAsList): Implemented.
6550 (isDataFlavorSupported): Implemented.
6551 (getSourceActions): Implemented.
6552 (getDropAction): Implemented.
6553 (getTransferable): Implemented.
6554 (acceptDrop): Implemented.
6555 (rejectDrop): Implemented.
6556 * java/awt/dnd/DropTargetListener.java
6557 (drop): Fixed documentation.
6558 * java/awt/dnd/MouseDragGestureRecognizer.java
6559 (MouseDragGestureRecognizer): Documentation added.
6561 2003-02-17 Michael Koch <konqueror@gmx.de>
6563 * java/awt/font/FontRenderContext.java,
6564 java/awt/font/ShapeGraphicAttribute.java,
6565 java/awt/font/MultipleMaster.java,
6566 java/awt/font/TransformAttribute.java,
6567 java/awt/font/GlyphJustificationInfo.java,
6568 java/awt/font/LineBreakMeasurer.java,
6569 java/awt/font/TextMeasurer.java,
6570 java/awt/font/TextLayout.java,
6571 java/awt/font/LineMetrics.java,
6572 java/awt/font/TextAttribute.java,
6573 java/awt/font/GlyphMetrics.java,
6574 java/awt/font/OpenType.java,
6575 java/awt/font/GlyphVector.java,
6576 java/awt/font/GraphicAttribute.java,
6577 java/awt/font/ImageGraphicAttribute.java,
6578 java/awt/font/NumericShaper.java: New files.
6580 (awt_java_source_files): Added the following files:
6581 java/awt/font/FontRenderContext.java
6582 java/awt/font/ShapeGraphicAttribute.java
6583 java/awt/font/MultipleMaster.java
6584 java/awt/font/TransformAttribute.java
6585 java/awt/font/GlyphJustificationInfo.java
6586 java/awt/font/LineBreakMeasurer.java
6587 java/awt/font/TextMeasurer.java
6588 java/awt/font/TextLayout.java
6589 java/awt/font/LineMetrics.java
6590 java/awt/font/TextAttribute.java
6591 java/awt/font/GlyphMetrics.java
6592 java/awt/font/OpenType.java
6593 java/awt/font/GlyphVector.java
6594 java/awt/font/GraphicAttribute.java
6595 java/awt/font/ImageGraphicAttribute.java
6596 java/awt/font/NumericShaper.java
6597 * Makefile.in: Regenerated.
6599 2003-02-17 Michael Koch <konqueror@gmx.de>
6601 * java/awt/print/Paper.java
6602 (Paper): Implements Cloneable.
6603 * java/awt/print/PrinterJob.java
6604 (setJobName): Return value must be void.
6605 (print): Throws PrinterException.
6607 2003-02-16 Tom Tromey <tromey@redhat.com>
6609 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
6612 2003-02-15 Michael Koch <konqueror@gmx.de>
6614 * java/awt/datatransfer/DataFlavor.java
6615 (isRepresentationClassByteBuffer): Removed try-catch block.
6616 (isRepresentationClassCharBuffer): Removed try-catch block.
6617 (isRepresentationClassReader): Removed try-catch block.
6619 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6621 * java/nio/charset/Charset.java
6622 (isRegistered): Fixed method args and implementation.
6623 * java/nio/charset/CharsetEncoder.java
6624 (unmappableCharacterAction): New method.
6626 2003-02-15 Michael Koch <konqueror@gmx.de>
6628 * java/awt/CheckboxMenuItem.java
6629 (CheckBoxMenuItem): Dont implement Serializable.
6630 (getListeners): New method,
6631 (getItemListeners): New method.
6632 * java/awt/Choice.java
6633 (getListeners): New method,
6634 (getItemListeners): New method.
6635 * java/awt/Container.java
6636 (getListeners): Added exception documentation.
6637 (setFocusTraversalKeys): Throw exceptions, added documentattion.
6638 (getFocusTraversalKeys): Added documentation.
6639 (areFocusTraversalKeysSet): Added documentation.
6640 (applyComponentOrientation): Added documentation.
6641 * java/awt/ContainerOrderFocusTraversalPolicy.java
6642 (implicitDownCycleTraversal): Renamed from downCycle for
6644 (ContainerOrderFocusTraversalPolicy): Added documentation.
6645 (accept): Reformated.
6646 * java/awt/Dialog.java
6647 (Dialog): Dont implement Serializable.
6648 (Dialog): Added documentation.
6649 * java/awt/Font.java
6650 (Font): Dont use absolute class name.
6651 * java/awt/Frame.java
6652 (Frame): Font implement Serializable.
6653 * java/awt/List.java
6654 (getListeners): New method,
6655 (getActionListeners): New method.
6656 (getItemListeners): New method.
6657 * java/awt/Menu.java
6658 (countItems): New deprecated method.
6659 * java/awt/Scrollbar.java
6660 (getListeners): New method,
6661 (getAdjustmentListeners): New method,
6662 * java/awt/TextComponent.java
6663 (getListeners): New method,
6664 (getTextListeners): New method,
6665 * java/awt/TextField.java
6666 (getListeners): New method,
6667 (getActionListeners): New method.
6668 * java/awt/Window.java
6669 (windowFocusListener): New member variable.
6670 (windowStateListener): New member variable.
6671 (getWindowFocusListeners): New method.
6672 (getWindowStateListeners): New method.
6673 (addWindowFocusListener): New method.
6674 (addWindowStateListener): New method.
6675 (removeWindowFocusListener): New method.
6676 (removeWindowStateListener): New method.
6677 * java/awt/datatransfer/DataFlavor.java
6678 (isRepresentationClassByteBuffer): New method.
6679 (isRepresentationClassCharBuffer): New method.
6680 (isRepresentationClassReader): New method.
6682 2003-02-14 Mark Wielaard <mark@klomp.org>
6684 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
6685 zero when there is an exponent and the significant is zero.
6686 (divide): Always set scale to newScale even in special ZERO case.
6688 2003-02-14 Tom Tromey <tromey@redhat.com>
6690 * java/lang/System.java (properties): Use Properties.clone.
6691 (setProperties): Likewise.
6693 2003-02-14 Michael Koch <konqueror@gmx.de>
6695 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
6696 * gnu/java/nio/ServerSocketChannelImpl.java
6697 (SocketAccept): Removed.
6698 (accept): Commented out use of SocketAccept.
6700 2003-02-13 Tom Tromey <tromey@redhat.com>
6702 * verify.cc (state::seen_subrs): New field.
6703 (state::state): Initialize it.
6704 (state::clean_subrs): New method.
6705 (state::~state): Call it.
6706 (state::copy): Copy subroutine list.
6707 (state::add_subr): New method.
6708 (state::merge): Only register a change if the current subroutine
6709 hasn't yet been noted.
6711 2003-02-13 Mark Wielaard <mark@klomp.org>
6713 * java/io/InputStreamReader.java (getEncoding): Return null when
6715 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
6717 2003-02-13 Mark Wielaard <mark@klomp.org>
6719 * java/util/zip/InflaterInputStream.java (read): Return zero when len
6722 2003-02-13 Mark Wielaard <mark@klomp.org>
6724 * java/io/BufferedOutputStream.java (write(int)): Only flush when
6725 next byte cannot be buffered.
6727 2003-02-13 Michael Koch <konqueror@gmx.de>
6729 * java/awt/Label.java
6730 (Label): Don't implement Serializable directly.
6731 (addNotify): Fixed typo in documentation.
6732 * java/awt/List.java
6733 (List): Don't implement Serializable directly.
6734 * java/awt/PopupMenu.java
6735 (PopupMenu): Don't implement Serializable directly.
6736 * java/awt/ScrollPane.java
6737 (ScrollPane): Don't implement Serializable directly.
6738 * java/awt/Scrollbar.java
6739 (Scrollbar): Don't implement Serializable directly.
6740 * java/awt/TextArea.java
6741 (preferredSize): Fixed method arguments.
6742 * java/awt/TextField.java
6743 (TextField): Don't implement Serializable directly.
6744 * java/awt/color/ICC_ColorSpace.java
6745 (fromCIOXYZ): Documentation added.
6746 (getMinValue): Documentation added.
6747 (getMaxValue): Documentation added.
6748 * java/awt/datatransfer/DataFlavor.java
6749 (isMimeTypeEqual): May not be final.
6750 (clone): Throws CloneNotSupportedException.
6751 (getReaderForText): Don't throws UnsupportedEncodingException.
6753 2003-02-13 Michael Koch <konqueror@gmx.de>
6755 * gnu/java/awt/peer/gtk/GdkGraphics.java
6756 (drawString): New stubbed method.
6757 * java/awt/Graphics.java
6758 (drawString): New method.
6760 2003-02-13 Casey Marshall <rsdio@metastatic.org>
6763 * java/security/SecureRandom.java (next): Avoid bias in results.
6765 2003-02-13 Michael <konqueror@gmx.de>
6767 * gnu/java/nio/FileChannelImpl.java
6768 (lengthInternal): Must be native.
6769 (size): Check if channel is already closed.
6770 (implCloseChannel): Reformated.
6771 (read): w was unused, removed it.
6774 (write): New method.
6775 (map): Check arguments.
6776 (force): Throws IOException, check if channel is closed.
6777 (transferTo): New method.
6778 (transferFrom): New method.
6780 (tryLock): New method.
6781 (position): New method.
6782 (truncate): New method.
6783 (nio_mmap_file): Uncommented.
6784 (nio_munmap_file): Uncommented.
6785 (nio_msync): Uncommented.
6786 * gnu/java/nio/natFileChannelImpl.cc: New file.
6788 2003-02-13 Michael Koch <konqueror@gmx.de>
6790 * java/nio/ByteBuffer.java
6791 (endian): New member variable.
6793 (equals): New method.
6794 (compareTo): New method.
6795 (order): New methods.
6796 (compact): New method.
6797 (isDirect): New method.
6798 (slice): New method.
6799 (duplicate): New method.
6800 (asReadOnlyBuffer): New method.
6801 (asCharBuffer): New method.
6802 (asDoubleBuffer): New method.
6803 (asFloatBuffer): New method.
6804 (asIntBuffer): New method.
6805 (asLongBuffer): New method.
6806 (asShortBuffer): New method.
6807 (get*): New methods.
6808 (put*): New methods.
6809 (toString): New method.
6810 * java/nio/CharBuffer.java
6811 (CharBuffer): Implement Comparable instead of Cloneable.
6812 (get): May not be final.
6813 (put): May not be final.
6815 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
6817 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
6818 lastIndexOf( ) instead of indexOf( ) to find the colon before
6819 the line number, because Win32 file names might contain a
6820 drive letter and a colon at the start of an absolute path.
6822 2003-02-13 Michael Koch <konqueror@gmx.de>
6824 * gnu/java/nio/natSocketChannelImpl.cc
6825 (SocketConnect): This is not implemented yet.
6826 (SocketBind): This is not implemented yet.
6828 2003-02-13 Michael Koch <konqueror@gmx.de>
6830 * gnu/java/nio/natByteBufferImpl.cc,
6831 gnu/java/nio/natCharBufferImpl.cc,
6832 gnu/java/nio/natDoubleBufferImpl.cc,
6833 gnu/java/nio/natFloatBufferImpl.cc,
6834 gnu/java/nio/natIntBufferImpl.cc,
6835 gnu/java/nio/natLongBufferImpl.cc,
6836 gnu/java/nio/natShortBufferImpl.cc:
6837 Added copyright and license.
6838 * java/nio/DoubleBuffer.java,
6839 java/nio/FloatBuffer.java,
6840 java/nio/IntBuffer.java,
6841 java/nio/LongBuffer.java,
6842 java/nio/ShortBuffer.java
6843 (array): Throw exceptions.
6844 (arrayOffset): Throw exceptions.
6846 2003-02-13 Michael Koch <konqueror@gmx.de>
6848 * gnu/java/util/prefs/FileBasedFactory.java,
6849 gnu/java/util/prefs/MemmoryBasedFactory.java,
6850 gnu/java/util/prefs/MemoryBasedPreferences.java,
6851 gnu/java/util/prefs/NodeReader.java,
6852 gnu/java/util/prefs/NodeWriter.java,
6853 java/util/prefs/AbstractPreferences.java,
6854 java/util/prefs/BackingStoreException.java,
6855 java/util/prefs/InvalidPreferencesFormatException.java,
6856 java/util/prefs/NodeChangeEvent.java,
6857 java/util/prefs/NodeChangeListener.java,
6858 java/util/prefs/PreferenceChangeEvent.java,
6859 java/util/prefs/PreferenceChangeListener.java,
6860 java/util/prefs/Preferences.java,
6861 java/util/prefs/PreferencesFactory.java:
6862 New files, all merged from classpath.
6864 (ordinary_java_source_files): Added the following files:
6865 gnu/java/util/prefs/FileBasedFactory.java,
6866 gnu/java/util/prefs/MemmoryBasedFactory.java,
6867 gnu/java/util/prefs/MemoryBasedPreferences.java,
6868 gnu/java/util/prefs/NodeReader.java,
6869 gnu/java/util/prefs/NodeWriter.java,
6870 (core_java_source_files): Added the following files:
6871 java/util/prefs/AbstractPreferences.java,
6872 java/util/prefs/BackingStoreException.java,
6873 java/util/prefs/InvalidPreferencesFormatException.java,
6874 java/util/prefs/NodeChangeEvent.java,
6875 java/util/prefs/NodeChangeListener.java,
6876 java/util/prefs/PreferenceChangeEvent.java,
6877 java/util/prefs/PreferenceChangeListener.java,
6878 java/util/prefs/Preferences.java,
6879 java/util/prefs/PreferencesFactory.java
6880 * Makefile.in: Regenerated.
6882 2003-02-13 Michael Koch <konqueror@gmx.de>
6884 * java/net/NetPermission.java
6885 (NetPermission): Make doucmentation match the method declaration.
6886 * java/net/NetworkInterface.java
6887 (equals): Reformated for GNU coding style.
6888 * java/net/ServerSocket.java: Merged with classpath.
6889 * java/net/Socket.java: Partly merged with classpath (Added some @since).
6890 * java/net/SocketImpl.java
6891 (localPort): Merged with classpath (initialize with -1).
6892 * java/net/SocketPermission.java: Merged with classpath (reindented).
6893 * java/net/URLDecoder.java: Merged with classpath (reindented).
6895 2003-02-13 Michael Koch <konqueror@gmx.de>
6897 * java/awt/GridBagConstraints.java
6898 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
6899 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
6900 * java/awt/KeyboardFocusManager.java
6901 (setGlobalCurrentFocusCycleRoot): Must be public.
6902 * java/awt/MenuComponent.java
6903 (MenuComponent): Must be public.
6904 * java/awt/Toolkit.java:
6905 Added some empty lines to make documentation more readable.
6906 (getFontPeer): Added @deprecated.
6907 (getColorModel): Added exception documentation.
6908 (getProperty): Fixed documentation.
6910 2003-02-12 Jeff Sturm <jsturm@one-point.com>
6912 * configure.host (alpha*-*): Default to -mieee.
6913 * configure.in (IEEESPEC): New.
6914 * libgcj.spec.in (jc1): Add IEEESPEC.
6915 * configure: Rebuild.
6917 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
6919 * include/win32.h: Include ws2tcpip.h instead of
6920 winsock.h to obtain definition of the socklen_t type.
6921 Remove IP_TOS definition - not needed with ws2tcpip.h
6922 (_Jv_connect): Correct slight formatting error.
6924 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
6926 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
6927 size of the arguments for a JNI function. For Win32,
6928 modify to search for all forms of possible exported
6929 names of an stdcall JNI function.
6930 (_Jv_JNIMethod::call): Modify to calculate the size
6931 of the arguments passed to a JNI function and pass
6932 it to _Jv_LookupJNIMethod.
6934 2003-02-12 Michael Koch <konqueror@gmx.de>
6936 * java/nio/channels/Channels.java: New file.
6938 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
6939 * Makefile.in: Regenerated.
6941 2003-02-12 Michael Koch <konqueror@gmx.de>
6943 * java/nio/ByteBuffer.java
6944 (allocate): Implemented.
6945 (wrap): Implemented.
6946 * java/nio/CharBuffer.java:
6947 Some documentation added and reworked.
6949 (allocate): Implemented.
6950 (wrap): Implemented.
6951 (array): Throw exceptions.
6952 (arrayOffset): Throw exceptions.
6953 (toString): Implemented.
6954 (length): Implemented.
6956 (charAt): Implemented.
6958 2003-02-11 John Leuner <jewel@debian.org>
6960 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
6961 reads from end of file.
6963 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
6965 * java/io/natFileDescriptorWin32.cc
6966 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
6967 returns with Win32 error code ERROR_BROKEN_PIPE.
6969 2003-02-11 Michael Koch <konqueror@gmx.de>
6972 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
6974 2003-02-11 Michael Koch <konqueror@gmx.de>
6976 * gnu/java/nio/ByteBufferImpl.java:
6977 Reformated and removed some code.
6978 (backing_buffer): Removed.
6979 (array_offset): Removed.
6980 (ro): Renamed to readOnly.
6981 (ByteBufferImpl): Use parent constructor, initialize readOnly.
6982 * gnu/java/nio/CharBufferImpl.java:
6983 Reformated and removed some code.
6984 (array_offset): Removed.
6985 (ro): Renamed to readOnly.
6986 (CharBufferImpl): Use parent constructor, initialize readOnly.
6988 (order): New method.
6989 * gnu/java/nio/DoubleBufferImpl.java:
6990 Reformated and removed some code.
6991 (array_offset): Removed.
6992 (ro): Renamed to readOnly.
6993 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
6995 (order): New method.
6996 * gnu/java/nio/FloatBufferImpl.java:
6997 Reformated and removed some code.
6998 (array_offset): Removed.
6999 (ro): Renamed to readOnly.
7000 (FloatBufferImpl): Use parent constructor, initialize readOnly.
7002 (order): New method.
7003 * gnu/java/nio/IntBufferImpl.java:
7004 Reformated and removed some code.
7005 (array_offset): Removed.
7006 (ro): Renamed to readOnly.
7007 (IntBufferImpl): Use parent constructor, initialize readOnly.
7009 (order): New method.
7010 * gnu/java/nio/LongBufferImpl.java:
7011 Reformated and removed some code.
7012 (array_offset): Removed.
7013 (ro): Renamed to readOnly.
7014 (LongBufferImpl): Use parent constructor, initialize readOnly.
7016 (order): New method.
7017 * gnu/java/nio/ShortBufferImpl.java:
7018 Reformated and removed some code.
7019 (array_offset): Removed.
7020 (ro): Renamed to readOnly.
7021 (ShortBufferImpl): Use parent constructor, initialize readOnly.
7023 (order): New method.
7025 (ordinary_java_source_files): Added the following files:
7026 gnu/java/nio/ByteBufferImpl.java
7027 gnu/java/nio/CharBufferImpl.java
7028 gnu/java/nio/DoubleBufferImpl.java
7029 gnu/java/nio/FloatBufferImpl.java
7030 gnu/java/nio/IntBufferImpl.java
7031 gnu/java/nio/LongBufferImpl.java
7032 gnu/java/nio/ShortBufferImpl.java
7033 java/nio/DoubleBuffer.java
7034 java/nio/FloatBuffer.java
7035 java/nio/IntBuffer.java
7036 java/nio/LongBuffer.java
7037 java/nio/ShortBuffer.java
7038 (nat_source_files): Added the following files:
7039 gnu/java/nio/natByteBufferImpl.cc
7040 gnu/java/nio/natCharBufferImpl.cc
7041 gnu/java/nio/natDoubleBufferImpl.cc
7042 gnu/java/nio/natFloatBufferImpl.cc
7043 gnu/java/nio/natIntBufferImpl.cc
7044 gnu/java/nio/natLongBufferImpl.cc
7045 gnu/java/nio/natShortBufferImpl.cc
7046 * Makefile.in: Regenerated.
7048 2003-02-11 Michael Koch <konqueror@gmx.de>
7050 * gnu/java/nio/natCharBufferImpl.cc
7051 (nio_cast): Removed.
7052 (nio_put_*): Removed.
7053 (nio_get_*): Removed.
7054 * gnu/java/nio/natDoubleBufferImpl.cc
7055 (nio_cast): Removed.
7056 (nio_put_*): Removed.
7057 (nio_get_*): Removed.
7058 * gnu/java/nio/natFloatBufferImpl.cc
7059 (nio_cast): Removed.
7060 (nio_put_*): Removed.
7061 (nio_get_*): Removed.
7062 * gnu/java/nio/natIntBufferImpl.cc
7063 (nio_cast): Removed.
7064 (nio_put_*): Removed.
7065 (nio_get_*): Removed.
7066 * gnu/java/nio/natLongBufferImpl.cc
7067 (nio_cast): Removed.
7068 (nio_put_*): Removed.
7069 (nio_get_*): Removed.
7070 * gnu/java/nio/natShortBufferImpl.cc
7071 (nio_cast): Removed.
7072 (nio_put_*): Removed.
7073 (nio_get_*): Removed.
7074 * gnu/java/nio/SelectorProviderImpl.java
7075 (openDatagramChannel): Throws IOException.
7076 (openPipe): Throws IOException.
7077 (openSelector): Throws IOException.
7078 (openServerSocketChannel): Throws IOException.
7079 (openSocketChannel): Throws IOException.
7080 * gnu/java/nio/ServerSocketChannelImpl.java
7081 (ServerSocketChannelImpl): Throws IOException.
7082 (implCloseSelectableChannel): Throws IOException.
7083 (implConfigureBlocking): Throws IOException.
7084 * java/nio/ByteBuffer.java
7085 (readOnly): Removed.
7086 (hasArray): Use isReadOnly() instead of readOnly.
7087 (array): Use isReadOnly() instead of readOnly.
7088 (arrayOffset): Use isReadOnly() instead of readOnly.
7089 * java/nio/CharBuffer.java
7090 (CharBuffer): Implements Cloneable and CharSequence.
7092 2003-02-11 Michael Koch <konqueror@gmx.de>
7094 * java/nio/DoubleBuffer.java
7095 (DoubleBuffer): Implements Comparable.
7097 (array_offset): New member variable.
7098 (DoubleBuffer): New constuctor.
7099 (get): May not be final.
7100 (put): May not be final.
7101 (arrayOffset): Implemented.
7102 (order): Made abstract.
7104 (as*Buffer): Removed.
7107 * java/nio/FloatBuffer.java
7108 (FloatBuffer): Implements Comparable.
7110 (array_offset): New member variable.
7111 (FloatBuffer): New constuctor.
7112 (get): May not be final.
7113 (put): May not be final.
7114 (arrayOffset): Implemented.
7115 (order): Made abstract.
7117 (as*Buffer): Removed.
7120 * java/nio/IntBuffer.java
7121 (IntBuffer): Implements Comparable.
7123 (array_offset): New member variable.
7124 (IntBuffer): New constuctor.
7125 (get): May not be final.
7126 (put): May not be final.
7127 (arrayOffset): Implemented.
7128 (order): Made abstract.
7130 (as*Buffer): Removed.
7133 * java/nio/LongBuffer.java
7134 (LongBuffer): Implements Comparable.
7136 (array_offset): New member variable.
7137 (LongBuffer): New constuctor.
7138 (get): May not be final.
7139 (put): May not be final.
7140 (arrayOffset): Implemented.
7141 (order): Made abstract.
7143 (as*Buffer): Removed.
7146 * java/nio/ShortBuffer.java
7147 (ShortBuffer): Implements Comparable.
7149 (array_offset): New member variable.
7150 (ShortBuffer): New constuctor.
7151 (get): May not be final.
7152 (put): May not be final.
7153 (arrayOffset): Implemented.
7154 (order): Made abstract.
7156 (as*Buffer): Removed.
7160 2003-02-11 Michael Koch <konqueror@gmx.de>
7162 * java/nio/channels/SelectionKey.java
7163 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
7166 2003-02-11 Michael Koch <konqueror@gmx.de>
7168 * java/nio/channels/DatagramChannel.java
7169 (write): Throws IOException.
7170 (connect): Throws IOException.
7171 (disconnect): Throws IOException.
7172 (read): Throws IOException.
7173 (receive): Throws IOException.
7174 (send): Throws IOException.
7175 * java/nio/channels/Pipe.java
7176 (open): Throws IOException.
7177 * java/nio/channels/SelectableChannel.java
7178 (configureBlocking): Throws IOException.
7179 * java/nio/channels/ServerSocketChannel.java
7180 (accept): Throws IOException.
7181 * java/nio/channels/SocketChannel.java
7182 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
7183 GatheringByteChannel.
7184 (read): Throws IOException.
7185 (write): Throws IOException.
7186 (finishConnect): Throws IOException.
7187 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7188 (end): Throws AsynchronousCloseException.
7189 * java/nio/channels/spi/AbstractSelectableChannel.java
7190 (configureBlocking): Throws IOException.
7191 (implCloseChannel): Throws IOException.
7192 (implCloseSelectableChannel): Throws IOException.
7193 (implConfigureBlocking): Throws IOException.
7194 * java/nio/channels/spi/SelectorProvider.java
7195 (openDatagramChannel): Throws IOException.
7196 (openPipe): Throws IOException.
7197 (openSelector): Throws IOException.
7198 (openServerSocketChannel): Throws IOException.
7199 (openSocketChannel): Throws IOException.
7201 2003-02-11 Michael Koch <konqueror@gmx.de>
7203 * gnu/java/nio/FileLockImpl.java,
7204 java/nio/channels/FileLock.java: New files.
7206 2003-02-11 Michael Koch <konqueror@gmx.de>
7208 * java/nio/charset/IllegalCharsetNameException.java
7209 (serialVersionUID): New member variable.
7210 (charsetName): New member variable.
7211 (IllegalCharsetException): New implementation.
7212 (getCharsetName): New implementation.
7213 * java/nio/charset/UnsupportedCharsetException.java
7214 (serialVersionUID): New member variable.
7215 (charsetName): New member variable.
7216 (UnsupportedCharsetException): New implementation.
7217 (getCharsetName): New implementation.
7219 2003-02-10 Tom Tromey <tromey@redhat.com>
7221 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
7222 (ex): Renamed from sqlException.
7224 2003-02-10 Raif S. Naffah <raif@fl.net.au>
7226 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
7227 method used to ensure seeding has occurred and that a specific
7228 seed can be set and used.
7230 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
7232 * java/lang/Win32Process.java (destroy): Declare as native.
7233 (hasExited): New native method.
7234 (exitValue): Define.
7235 (getErrorStream): Likewise.
7236 (getInputStream): Likewise.
7237 (getOutputStream): Likewise.
7238 (waitFor): Declare as native.
7239 (startProcess): New native method.
7240 (cleanup): Likewise.
7241 (ConcreteProcess): Define.
7242 (outputStream, inputStream, errorStream): New members.
7243 (procHandle, exitCode): Likewise.
7245 * java/lang/natWin32Process.cc
7246 (java::lang::ConcreteProcess::cleanup): Define.
7247 (java::lang::ConcreteProcess::destroy): Likewise.
7248 (java::lang::ConcreteProcess::hasExited): Likewise.
7249 (java::lang::ConcreteProcess::waitFor): Likewise.
7250 (new_string): Likewise.
7251 (java::lang::ConcreteProcess::startProcess): Likewise.
7253 2003-02-10 Raif S. Naffah <raif@fl.net.au>
7255 * java/math/BigInteger.java:
7256 Updated notice to include years 2002 and 3.
7257 Added 2 private (int) arrays with values from the HAC (Handbook of
7258 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
7259 and t[] that contains nbr. of tests --used in isProbablePrime().
7261 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
7263 * java/math/BigInteger.java (make(int[],int), add(int,int),
7264 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
7265 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
7266 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
7269 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
7270 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
7271 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
7272 BIs and returns void.
7273 (modInverse(BI)): Use new signatures of euclidInv().
7275 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
7276 static small primes instead of remainder().
7277 Use pre-computed max nbr of trials based on bitlength of BI to test.
7278 Use pre-computed small primes for the trial tests instead of random
7281 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
7284 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
7285 invoacation of MPN.chars_per_word(). not used.
7287 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
7288 local var and used where needed.
7290 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
7291 Combined declaration with initialisation of locals.
7294 * java/math/BigInteger.java: Style changes
7295 (pow(int)): Removed 'else' keyword.
7296 (toString(int)): idem.
7297 (doubleValue()): idem.
7298 (bitLength()): idem.
7299 (equals(Object)): Use static methods name in same class w/o prepending
7301 (doubleValue()): idem.
7302 (setNegative(BI)): idem.
7304 (and(BI,int)): idem.
7307 (byteArrayToIntArray()): Removed casting to (int). this is
7309 (canonicalize()): idem.
7310 (alloc(int)): Always instantiate a new BI.
7312 2003-02-10 Tom Tromey <tromey@redhat.com>
7314 * java/sql/Timestamp.java (compareTo(Object)): New method.
7315 (compareTo(Timestamp)): Likewise.
7316 (serialVersionUID): Updated.
7318 2003-02-07 Mark Wielaard <mark@klomp.org>
7320 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
7321 when verify is true.
7322 (JarFile(File, boolean)): Likewise.
7323 (manifestRead): Set manifestRead field correctly.
7325 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
7327 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
7328 tests; see patch #1016 on Savannah.
7330 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
7332 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
7333 (toString): do not return Strings starting with . and - erroneously.
7334 Improves Mauve results to 12 of 600 instead of 16 of 338 on
7337 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
7339 * java/beans/PropertyDescriptor.java
7340 (PropertyDescriptor(String, Class)): Sanity check getter and setter
7342 (PropertyDescriptor(String, Class, String, String)): Likewise.
7343 (PropertyDescriptor(String, Method, Method): Factor out getter and
7344 setter method sanity checks into new method.
7345 (findMethods): Don't do parameter sanity checking of get method here.
7346 (checkMethods): New method.
7348 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
7350 * java/beans/PropertyDescriptor.java: Reformat.
7352 2003-02-04 Tom Tromey <tromey@redhat.com>
7354 * java/io/PipedOutputStream.java (flush): Declare as throwing
7357 * java/io/PipedWriter.java (close): Declare as throwing
7359 * java/io/StringWriter.java (close): Declare as throwing
7362 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
7364 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
7365 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
7366 could also have been exported as "JNI_OnLoad@8" (MinGW) or
7367 "_JNI_OnLoad@8" (MSVC).
7369 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
7371 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
7372 convention on Win32 to invoke native JNI methods.
7374 2003-02-03 Andrew Haley <aph@redhat.com>
7376 * configure.host (x86_64): Enable interpreter.
7378 2003-02-03 Andrew Haley <aph@redhat.com>
7380 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
7381 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
7382 * configure.in (BACKTRACESPEC): New.
7383 * configure: Regenerate.
7385 2003-02-02 Tom Tromey <tromey@redhat.com>
7387 * configure: Rebuilt.
7388 * configure.in (TOOLKIT) [xlib]: Set correctly.
7390 * Makefile.in: Rebuilt.
7391 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
7394 2003-01-31 Mark WIelaard <mark@klomp.org>
7396 * Makefile.in: Rebuilt.
7397 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
7399 2003-01-31 Tom Tromey <tromey@redhat.com>
7401 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
7402 cast to element type.
7403 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
7404 (_Jv_JNI_GetObjectArrayElement): Likewise.
7406 * Makefile.in: Rebuilt.
7407 * Makefile.am (cond_x_ltlibrary): Renamed library to
7408 lib-gnu-awt-xlib.la.
7409 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
7410 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
7411 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
7412 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
7413 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
7414 (lib_gnu_awt_xlib_la_LINK): Likewise.
7415 (install-exec-hook): Removed.
7416 (lib-gnu-awt-xlib.la): Renamed.
7418 2003-01-31 Tom Tromey <tromey@redhat.com>
7420 * aclocal.m4, configure, include/config.h.in: Rebuilt.
7421 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
7422 aclocal.m4 and lost in some merge.
7424 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
7425 Don't try to find graphics configuration.
7426 * java/awt/Toolkit.java (default_toolkit_name): Use new
7427 Configuration entry.
7428 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
7430 * configure: Rebuilt.
7431 * configure.in (TOOLKIT): New subst.
7432 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
7433 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
7434 directory. Make output directories for .c files.
7435 * Makefile.in: Rebuilt.
7436 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
7437 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
7438 (all_java_source_files): Added new sources.
7439 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
7440 (gtk_c_files): New macro.
7441 (gtk_c_source_files): New macro.
7442 (cond_gtk_ltlibrary): New macro.
7443 ($(gtk_c_files)): New target.
7444 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
7445 (gtk_awt_peer_sources): New macro.
7446 (gtk_c_headers): New macro.
7447 ($(gtk_c_headers)): New target.
7448 (ACLOCAL_AMFLAGS): New macro.
7449 * gtk.m4, glib.m4, libart.m4: New files.
7450 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
7451 gnu/java/awt/peer/gtk/GdkGraphics.java,
7452 gnu/java/awt/peer/gtk/GtkArg.java,
7453 gnu/java/awt/peer/gtk/GtkArgList.java,
7454 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7455 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
7456 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
7457 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
7458 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
7459 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
7460 gnu/java/awt/peer/gtk/GtkClipboard.java,
7461 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7462 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
7463 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
7464 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
7465 gnu/java/awt/peer/gtk/GtkFontPeer.java,
7466 gnu/java/awt/peer/gtk/GtkFramePeer.java,
7467 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
7468 gnu/java/awt/peer/gtk/GtkImage.java,
7469 gnu/java/awt/peer/gtk/GtkImagePainter.java,
7470 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
7471 gnu/java/awt/peer/gtk/GtkListPeer.java,
7472 gnu/java/awt/peer/gtk/GtkMainThread.java,
7473 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
7474 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
7475 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
7476 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
7477 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
7478 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
7479 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
7480 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
7481 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
7482 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7483 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
7484 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7485 gnu/java/awt/peer/gtk/GtkToolkit.java,
7486 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
7487 gnu/java/awt/peer/gtk/TestAWT.java,
7488 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
7489 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
7490 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
7491 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
7492 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
7493 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
7494 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
7495 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
7496 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
7497 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
7498 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
7499 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
7500 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
7501 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
7502 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
7503 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
7504 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
7505 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
7506 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
7507 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
7508 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
7509 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
7510 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
7511 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
7512 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
7513 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
7514 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
7515 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
7516 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
7517 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
7518 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
7519 jni/classpath/native_state.c, jni/classpath/native_state.h,
7520 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
7522 2003-01-31 Julian Dolby <dolby@us.ibm.com>
7524 * java/util/Properties.java (load): Ignore backslash before EOF.
7526 2003-01-30 Jeff Sturm <jsturm@one-point.com>
7528 * java/lang/natClass.cc (initializeClass): Check tables when
7529 (state == JV_STATE_IN_PROGRESS).
7530 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
7531 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
7532 interpreted classes.
7533 (linkClass0): Use _Jv_WaitForState.
7535 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
7537 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
7538 object when finished.
7540 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
7542 * libjava/configure.host: Disable can_unwind_signal on darwin.
7544 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
7547 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
7548 additionally containing id of the owner thread as well as
7549 the number of nested times the thread has acquired the mutex.
7550 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
7551 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
7552 (_Jv_MutexUnlock): Check if really the owner thread, reset
7553 owner thread id to 0 before leaving, if leaving for the last
7555 (_Jv_MutexLock): Set owner thread id in the mutex and increment
7557 (_Jv_ThreadYield): Yield using a call to Sleep(0).
7558 * win32-threads.cc (_Jv_CondWait): Check if really owner of
7560 Pass handle of the broadcast event, instead of a pointer to it
7561 in Win32 ResetEvent( ) call.
7562 Remove incorrect return values.
7563 (_Jv_CondDestroy): Close both event handles and delete
7565 (_Jv_CondNotify): Check if really the owner thread.
7566 (_Jv_CondNotifyAll): Check if really the owner thread.
7567 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
7568 (really_start): Use SetEvent( ) to signal daemon_cond.
7569 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
7570 WaitForSingleObject( ) instead to wait for daemon_cond to be
7573 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
7575 * configure.in: Specifically define HAVE_BACKTRACE if building
7577 * include/win32.h: Remove HAVE_BACKTRACE definition.
7578 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
7579 * configure: Rebuilt.
7581 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
7583 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
7584 Set and AC_SUBST. Remove USE_LIBDIR conditional.
7585 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
7586 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
7587 * Makefile.in, configure: Rebuilt.
7589 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
7592 * java/io/natFileWin32.cc (performList): Append only "*.*"
7593 if the canonical file path already has a "\" at the end.
7595 2003-01-24 Tom Tromey <tromey@redhat.com>
7597 * defineclass.cc (handleMethodsEnd): Precompute code for static
7599 (handleCodeAttribute): Likewise.
7600 * resolve.cc (ncode): Use run_class for unsynchronized static
7602 * include/java-interp.h (class _Jv_InterpMethod): Declare
7604 * interpret.cc (run_synch_class): Initialize class.
7605 (run) [insn_invokestatic]: Don't initialize class.
7606 [insn_anewarray]: Likewise.
7607 [insn_multianewarray]: Likewise.
7608 (run_class): New function.
7610 2003-01-24 Tom Tromey <tromey@redhat.com>
7612 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
7615 2003-01-22 Andrew Haley <aph@redhat.com>
7617 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
7618 * configure.host (CHECKREFSPEC): Define for x86_64.
7620 2003-01-21 Tom Tromey <tromey@redhat.com>
7622 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
7625 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
7627 * java/io/natFileWin32.cc (isAbsolute): Check path length before
7628 looking at any characters.
7629 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
7631 (isAbsolute): Check path's length as well.
7633 2003-01-17 Mark Wielaard <mark@klomp.org>
7635 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
7636 (nat_source_files): Add natVMObjectStreamClass.cc.
7637 * Makefile.in: Regenerated.
7638 * gcj/javaprims.h (namespace java): Regenerated.
7639 * java/io/ObjectStreamClass.java (getClassUID): Call
7640 VMObjectStreamClass.hasClassInitializer().
7641 (hasClassInitializer): Removed.
7642 * java/io/VMObjectStreamClass.java: New class.
7643 * java/io/natVMObjectStreamClass.cc: New file.
7644 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
7646 2003-01-16 Mark Wielaard <mark@klomp.org>
7648 * java/net/SocketImpl.java (toString): Don't explicitly call
7649 toString() on possible null address.
7651 2003-01-16 Michael Koch <konqueror@gmx.de>
7653 * java/net/MulticastSocket.java
7654 (setInterface): Reindented.
7656 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
7658 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
7659 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
7660 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
7661 translateY arguments. Implement.
7662 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
7663 down translation arguments.
7664 (drawPolyline, drawPolygon): Fix incorrect tests.
7665 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
7666 translateX and translateY arguments.
7668 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
7670 * Makefile.in: Rebuilt.
7671 * Makefile.am (xlib_includes): New macro.
7674 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
7676 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
7677 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
7678 16-bit display mode.
7680 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
7682 * java/awt/CardLayout.java (show): Rewrote.
7683 (gotoComponent): Removed `target' argument. Simplified code.
7684 Don't pre-compute `choice' unless `what' is FIRST or LAST.
7685 Changed all callers.
7688 2003-01-14 Michael Koch <konqueror@gmx.de>
7690 * java/net/InetSocketAddress.java
7691 (serialVersionUID): New member variable.
7692 * java/net/NetPermission.java
7693 (NetPermission): Dont implement java.io.Serialization directly.
7694 * java/net/SocketAddress.java:
7695 (serialVersionUID): Documentation added.
7697 2003-01-14 Michael Koch <konqueror@gmx.de>
7699 * java/awt/Label.java
7700 (Label): Implements javax.accessibility.Accessible;
7701 * java/awt/List.java
7702 (List): Implements javax.accessibility.Accessible;
7703 * java/awt/ScrollPane.java
7704 (ScrollPane): Implements javax.accessibility.Accessible;
7705 * java/awt/Scrollbar.java
7706 (Scrollbar): Implements javax.accessibility.Accessible;
7707 * java/awt/TextComponent.java
7708 (setCaretPosition): Throw exception, documentation added.
7709 * java/awt/Toolkit.java:
7710 Added some newlines in method documentations.
7711 (createButton): Exception documentation added.
7712 (createTextField): Exception documentation added.
7713 (createLabel): Exception documentation added.
7714 (createList): Exception documentation added.
7715 (createCheckbox): Exception documentation added.
7716 (createScrollbar): Exception documentation added.
7717 (createScrollPane): Exception documentation added.
7718 (createTextArea): Exception documentation added.
7719 (createChoice): Exception documentation added.
7720 (createFrame): Exception documentation added.
7721 (createWindow): Exception documentation added.
7722 (createDialog): Exception documentation added.
7723 (createMenuBar): Exception documentation added.
7724 (createMenu): Exception documentation added.
7725 (createMenuItem): Exception documentation added.
7726 (createFileDialog): Exception documentation added.
7727 (createCheckboxMenuItem): Exception documentation added.
7728 (loadSystemColors): Exception documentation added.
7729 (setDynamicLayout): Exception documentation added.
7730 (isDynamicLayoutSet): Exception documentation added.
7731 (isDynamicLayoutActive): Exception documentation added.
7732 (getScreenSize): Exception documentation added.
7733 (getScreenResolution): Exception documentation added.
7734 (getScreenInsets): Exception documentation added.
7735 (getColorModel): Exception documentation added.
7736 (getSystemClipboard): Exception documentation added.
7737 (getSystemSelection): Exception documentation added.
7738 (getMenuShortcutKeyMask): Exception documentation added.
7739 (getSystemEventQueue): Exception documentation added.
7740 * java/awt/Window.java:
7741 Reindented some code.
7742 (Window): Centralized implementation, documentation added.
7743 (finalize): Documentation added.
7744 (hide): Fixed typo in comment.
7745 (getWindowListeners): Documentation added.
7746 * java/awt/color/ColorSpace.java
7747 (toRGB): Documentation added.
7748 * java/awt/color/ICC_ColorSpace.java
7749 (ICC_ColorSpace): Documentation added.
7750 (toRGB): Throw exception, documentation added.
7751 (fromRGB): Throw exception, documentation added.
7752 (toCIEXYZ): Documentation added.
7753 (fromCIEXYZ): Documentation added.
7754 (getMinValue): Documentation added.
7755 (getMaxValue): Documentation added.
7756 * java/awt/geom/Dimension2D.java
7757 (clone): Documentation added.
7758 * java/awt/geom/GeneralPath.java
7759 (clone): Documentation added.
7760 * java/awt/geom/Line2D.java
7761 (clone): Documentation added.
7762 * java/awt/geom/QuadCurve2D.java
7763 (clone): Documentation added.
7764 * java/awt/image/ColorModel.java
7765 (ColorModel): Throw exception, documentation added.
7766 * java/awt/image/ImageFilter.java
7767 (clone): Doesnt throw CloneNotSupportedException.
7769 2003-01-14 Andrew Haley <aph@redhat.com>
7771 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
7774 2003-01-10 Andrew Haley <aph@redhat.com>
7776 * include/dwarf2-signal.h: Remove x86_64.
7777 * configure.host (x86_64 DIVIDESPEC): Remove.
7778 * include/x86_64-signal.h: New file.
7779 * configure.in: Regenerate.
7781 2003-01-10 Michael Koch <konqueror@gmx.de>
7783 * java/net/DatagramSocket.java
7784 (ch): Description added.
7785 (remotePort): Initialize with -1.
7786 (connect): Doesnt throws SocketException.
7787 * java/net/MulticastSocket.java
7788 (setInterface): Merge with Classpath.
7789 * java/net/ServerSocket.java
7790 (closed): New member variable.
7791 (bind): Check if socket is closed.
7792 (close): Close an associated channel too, set new value to closed.
7793 (isBound): Reindented.
7794 (isClosed): Implemented.
7795 * java/net/Socket.java
7796 (closed): New member variable.
7797 (bind): Check if socket is closed.
7798 (connect): Check if socket is closed.
7799 (close): Close an associated channel too, set new value to closed.
7800 (isClosed): Implemented.
7802 2003-01-10 Michael Koch <konqueror@gmx.de>
7804 * java/awt/DisplayMode.java
7805 (equals): Fixed argument type and implementation.
7807 2003-01-07 Tom Tromey <tromey@redhat.com>
7809 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
7810 JV_HASH_SYNCHRONIZATION.
7811 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
7812 JV_HASH_SYNCHRONIZATION.
7814 2003-01-07 Michael Koch <konqueror@gmx.de>
7816 * java/net/DatagramSocket.java:
7817 Added classpath license info.
7818 (DatagramSocket): Merged description with classpath.
7819 (close): Merged description with classpath.
7820 (getChannel): Merged description with classpath.
7821 (getInetAddress): Merged description with classpath.
7822 (getPort): Merged description with classpath.
7823 (getLocalAddress): Merged description with classpath.
7824 (getLocalPort): Merged description with classpath.
7825 (getSoTimeout): Merged description with classpath.
7826 (setSoTimeout): Merged description with classpath.
7827 (getSendBufferSize): Merged description with classpath.
7828 (setSendBufferSize): Merged description with classpath.
7829 (getReceiveBufferSize): Merged description with classpath.
7830 (setReceiveBufferSize): Merged description with classpath.
7832 2003-01-04 Tom Tromey <tromey@redhat.com>
7834 * java/awt/List.java: Merged with Classpath.
7836 2003-01-03 Mark Wielaard <mark@klomp.org>
7838 * java/io/FileDescriptor.java (position): New private field.
7839 * java/io/natFileDescriptorPosix.cc (write): Up position.
7840 (setLength): Use and set position.
7841 (seek): Set position.
7842 (getFilePointer): Return position.
7843 (read): Up position.
7845 2003-01-03 Mark Wielaard <mark@klomp.org>
7847 Merge with Classpath:
7848 * java/io/ObjectStreamClass.java (lookup): Split method and call
7849 lookupForClassObject().
7850 (lookupForClassObject): New method.
7851 (isProxyClass): New field.
7852 (setClass): Set isProxyClass, add object to classLookupTable, set
7853 superClass and calculateOffsets.
7854 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
7855 and not a proxy class.
7856 (setFields): Set accessible true for serialPersistentFields.
7857 (getClassUID): Same for suid. And check if suid is of type long.
7858 (hasClassInitializer): Don't throw NoSuchMethodError.
7860 2003-01-03 Mark Wielaard <mark@klomp.org>
7862 * java/io/FileInputStream.java (finalize): Don't explicitly
7863 finalize FileDescriptor.
7865 2003-01-03 Jeff Sturm <jsturm@one-point.com>
7867 * configure.host (sparc*-*): Enable bytecode interpreter.
7869 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
7871 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
7872 Don't throw RemoteException.
7873 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
7874 throw RemoteException.
7876 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7878 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
7879 proxyHost): New static fields.
7880 (<clinit>): Initialize new fields.
7881 (connect): Use proxy if necessary.
7882 (usingProxy): Implement.
7884 2003-01-03 Eric Blake <ebb9@email.byu.edu>
7886 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
7887 (TreeIterator.remove): Prefer IllegalStateException over
7888 ConcurrentModificationException, to match Sun.
7890 2002-12-22 Anthony Green <green@redhat.com>
7892 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
7894 2003-01-02 Mark Wielaard <mark@klomp.org>
7896 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
7898 (HTTP_USE_PROXY): Add field.
7899 (getResponseVals): Only set responseCode when not yet explicitly
7902 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
7903 Mark Wielaard <mark@klomp.org>
7905 * java/util/zip/ZipFile.java (entries): Now HashMap.
7906 (readLeShort(DataInput, byte[])): Read from given byte array.
7907 (readLeInt(DataInput, byte[]): Likewise.
7908 (readLeShort(byte[] b, int off)): New method.
7909 (readLeInt(byte[] b, int off)): Likewise.
7910 (readEntries): Use byte arrays to read info in bigger chunks.
7911 (getEntries): Return HashMap.
7912 (getEntry): Use HashMap.
7913 (locBuf): New private field.
7914 (checkLocalHeader): Use locBuf to read info in one chunk.
7915 (getInputStream): Use entries HashMap, wrap PartialInputStream
7916 in BufferedInputStream.
7917 (ZipEntryEnumeration): Use HashMap and Interator.
7919 2003-01-02 Mark Wielaard <mark@klomp.org>
7920 Jeroen Frijters <jeroen@sumatra.nl>
7922 * java/net/URLClassLoader.java (Resource.getCodeSource):
7923 Fix check certs == null.
7924 (getCanonicalFileURL): Removed method.
7925 (JarURLLoader): Don't call removed method.
7926 (FileURLLoader): Likewise.
7927 (FileURLLoader.getResource): Don't canonicalize file name.
7929 2003-01-01 Tom Tromey <tromey@redhat.com>
7931 * Makefile.in: Rebuilt.
7932 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
7933 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
7934 java/awt/BufferCapabilities.java, java/awt/Button.java,
7935 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
7936 java/awt/Container.java, java/awt/Cursor.java,
7937 java/awt/EventQueue.java, java/awt/FileDialog.java,
7938 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
7939 java/awt/MenuBar.java, java/awt/MenuComponent.java,
7940 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
7941 java/awt/Scrollbar.java, java/awt/TextArea.java,
7942 java/awt/TextField.java, java/awt/color/CMMException.java,
7943 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
7944 java/awt/color/ProfileDataException.java,
7945 java/awt/datatransfer/Clipboard.java,
7946 java/awt/datatransfer/DataFlavor.java,
7947 java/awt/datatransfer/FlavorMap.java,
7948 java/awt/datatransfer/SystemFlavorMap.java,
7949 java/awt/dnd/DragGestureEvent.java,
7950 java/awt/dnd/DragGestureRecognizer.java,
7951 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
7952 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
7953 java/awt/im/InputMethodHighlight.java,
7954 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
7955 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
7957 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
7958 `op' to BufferedImageOp.
7960 2002-12-31 Tom Tromey <tromey@redhat.com>
7962 Fix for PR libgcj/7416:
7963 * javax/naming/InitialContext.java (init): Use
7964 gnu.classpath.home.url.
7965 * java/security/Security.java: Use new properties.
7966 (loadProviders): Accept base url; use it.
7967 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
7968 gnu.classpath.home.url.
7969 (gnu.classpath.home.url): Define.
7970 (gnu.classpath.vm.shortname): Likewise.
7972 2002-12-31 Tom Tromey <tromey@redhat.com>
7973 Ranjit Mathew <rmathew@hotmail.com>
7975 Fix for PR libgcj/8997:
7976 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
7978 * include/posix.h (_Jv_platform_usleep): New function.
7979 * include/win32.h (_Jv_platform_usleep): New function.
7981 2002-12-29 Tom Tromey <tromey@redhat.com>
7983 * gcj/javaprims.h: Updated.
7984 * scripts/classes.pl (scan): Removed stray semicolon.
7986 2002-12-30 Mark Wielaard <mark@klomp.org>
7988 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
7991 2002-12-30 Mark Wielaard <mark@klomp.org>
7993 * java/util/Properties (formatForOutput): Don't fall through to
7994 default case after escaping character.
7996 2002-12-30 Mark Wielaard <mark@klomp.org>
7998 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
8001 2002-12-27 Mark Mitchell <mark@codesourcery.com>
8003 * boehm.cc: Remove stray semicolon.
8004 * interpret.cc: Likewise.
8005 * prims.cc: Likewise.
8006 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
8007 earlier to ensure default arguments are processed.
8008 * gcj/array.h (JArray): Add forward declaration.
8009 (elements): Likewise.
8010 * gcj/javaprim.h: Remove stray semicolons.
8011 * include/bohm-gc.h: Likewise.
8012 * include/jni.h: Likewise.
8013 * include/jvm.h: Likewise.
8014 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
8016 2002-12-23 Jeff Sturm <jsturm@one-point.com>
8018 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
8020 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
8021 idt tables after initializing superclass.
8022 * java/lang/natClassLoader.cc (uaddr): New typedef.
8023 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
8024 if they are constant pool indicies. Don't link vtable, otable yet.
8026 2002-12-21 Anthony Green <green@redhat.com>
8028 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
8030 * Makefile.in: Rebuilt.
8032 2002-12-19 Anthony Green <green@redhat.com>
8034 * Makefile.am (ordinary_java_source_files): Add
8035 org/xml/sax/helpers/NewInstance.java.
8036 * Makefile.in: Rebuilt.
8037 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
8038 org/xml/sax/helpers/package.html: New files.
8039 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
8040 http://www.saxproject.org.
8042 2002-12-19 Andrew Haley <aph@redhat.com>
8044 * java/util/natResourceBundle.cc: Include
8045 ArrayIndexOutOfBoundsException.h.
8046 (getCallingClassLoader): Don't put upper bound on stack search.
8047 Catch ArrayIndexOutOfBoundsException.
8049 2002-12-19 Tom Tromey <tromey@redhat.com>
8051 * libtool-version: Increased `current'.
8053 2002-12-19 Tom Tromey <tromey@redhat.com>
8055 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
8057 * java/lang/ClassLoader.java (defineClass): Use chained
8058 exception when rethrowing.
8059 * defineclass.cc (handleClassBegin): Mark class as interpreted.
8060 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
8062 * resolve.cc (_Jv_PrepareMissingMethods): New function.
8063 (_Jv_PrepareClass): Use it.
8064 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
8065 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
8066 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
8067 (Class): _Jv_PrepareMissingMethods now friend.
8068 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
8069 Record `NULL' for system class loader.
8070 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
8071 system class loader.
8072 (_Jv_FindClassInCache): Likewise.
8073 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
8074 (_Jv_FindClass): Special case system class loader.
8075 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
8076 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
8078 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
8080 (_getDeclaredMethod): Don't return synthetic methods.
8081 (getDeclaredMethods): Likewise.
8082 (_getMethod): Likewise.
8083 (_getMethods): Likewise.
8085 2002-12-18 Raif Naffah <raif@fl.net.au>
8087 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
8088 canonical form after divide().
8089 (modInverse): Likewise.
8091 2002-12-13 Casey Marshall <rsdio@metastatic.org>
8092 Mark Wielaard <mark@klomp.org>
8094 * java/security/SecurityRandom (digest): Removed field.
8095 (SecureRandom): Check all providers for case-insensitive SecureRandom
8096 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
8098 (getInstance(String,Provider,boolean): New method.
8099 (getInstance(String)): Use new method.
8100 (getInstance(String,String)): Likewise.
8101 (getInstance(String,Provider)): Likewise.
8103 2002-12-13 Casey Marshall <rsdio@metastatic.org>
8105 * java/security/Security.java (loadProviders): Increment i only once.
8107 2002-12-12 Mark Wielaard <mark@klomp.org>
8109 * java/lang/ClassLoader.java (resolveClass0): Transform
8110 ClassNotFoundException to NoClassDefFoundError. Transform all other
8111 throwables to LinkageError.
8113 2002-12-11 Tom Tromey <tromey@redhat.com>
8115 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
8117 * java/lang/ClassLoader.java (loadedClasses): New field.
8118 (defineClass): Fixed indentation. Put new class in
8120 (findLoadedClass): Implement here.
8121 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
8123 2002-12-10 Tom Tromey <tromey@redhat.com>
8125 * Makefile.in: Rebuilt.
8126 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
8127 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
8128 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
8129 * java/lang/natClassLoader.cc
8130 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
8132 2002-12-10 Mark Wielaard <mark@klomp.org>
8133 Tom Tromey <tromey@redhat.com>
8135 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
8136 (JarURLLoader): Use it.
8137 (FileURLLoader): Likewise.
8138 (JarURLResource.getURL): Use chained exception.
8139 (FileResource.getURL): Likewise.
8140 (FileURLLoader.getResource): Use canonical file name.
8141 (addURL): Indentation fix.
8143 2002-12-10 Tom Tromey <tromey@redhat.com>
8145 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
8146 From Laurent Bardet <l.bardet@magic.fr>.
8148 2002-12-09 Tom Tromey <tromey@redhat.com>
8150 * include/win32.h (_Jv_platform_solib_prefix): New define.
8151 (_Jv_platform_solib_suffix): Likewise.
8152 * include/posix.h (_Jv_platform_solib_prefix): New define.
8153 (_Jv_platform_solib_suffix): Likewise.
8154 * java/lang/natRuntime.cc: Include StackTrace.h.
8155 (_load): Use findLibrary and new platform defines.
8156 (nativeGetLibname): Use new platform defines.
8158 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
8161 2002-12-08 Mark Wielaard <mark@klomp.org>
8163 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
8164 cache remote jar files.
8165 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
8166 add File.separator to URL when it is a directory.
8167 * java/lang/ClassLoader.java: Add Classpath javadoc.
8169 (getParent): Add (disabled) security check.
8170 (findLibrary): New default method.
8171 * java/net/JarURLConnection.java (getManifest): Implement.
8172 (getInputStream): Only create InputStream when entry exists.
8173 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
8175 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
8177 2002-12-08 Mark Wielaard <mark@klomp.org>
8179 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
8180 (lastDefaultLocale): New field.
8181 (getBundle): When Locale.getDefault != lastDefaultLocale reset
8182 resourceBundleCache.
8184 2002-12-06 Mark Wielaard <mark@klomp.org>
8186 * java/net/InetAddress.java (toString): Use hostname when not null,
8187 don't do an explicit reverse getHostName() lookup.
8188 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
8189 NullPointerException.
8191 2002-12-06 Tom Tromey <tromey@redhat.com>
8193 * include/java-interp.h (class _Jv_InterpMethod): Added
8195 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
8196 mark `prepared' field of interpreted method.
8197 * interpret.cc (compile): Use _Jv_AllocBytes.
8199 2002-12-05 Andrew Haley <aph@redhat.com>
8201 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
8202 #ifdef (HAVE_BACKTRACE) around the whole function body.
8204 2002-12-05 Tom Tromey <tromey@redhat.com>
8206 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
8207 * resolve.cc: Don't include AbstractMethodError.h.
8208 (_Jv_abstractMethodError): Removed.
8209 * defineclass.cc (handleMethodsBegin): Initialize method index to
8211 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
8212 method index for "new" final method.
8213 (_Jv_SetVTableEntries): Compare index against -1 instead of using
8214 isVirtualMethod. Added `flags' argument.
8215 (_Jv_MakeVTable): Throw exception for abstract method in concrete
8218 2002-12-04 Tom Tromey <tromey@redhat.com>
8220 * java/net/SocketPermission.java (hashCode): Rewrote.
8222 2002-12-04 Tom Tromey <tromey@redhat.com>
8224 * Makefile.in: Rebuilt.
8225 * Makefile.am (nat_source_files): Added natVMSecurityManager,
8227 * java/util/ResourceBundle.java (Security): Removed.
8228 (getCallingClassLoader): Now native.
8229 * java/util/natResourceBundle.cc: New file.
8230 * java/lang/natVMSecurityManager.cc: New file.
8231 * java/lang/VMSecurityManager.java (getClassContext): Now native.
8233 2002-12-03 Mark Wielaard <mark@klomp.org>
8235 * java/util/jar/JarFile.java (manifest): Not final.
8236 (manifestRead): New field.
8237 (JarFile): Don't read Manifest in constructor.
8238 (getManifest): New method.
8239 (JarEnumeration.nextElement): Use new method.
8240 (getEntry): Likewise.
8241 * java/util/zip/ZipFile.java (name): Final.
8243 (entries): Change type to Hashtable.
8244 (closed): New field.
8245 (ZipFile): Don't read enties in constructor.
8246 (readEntries): Use Hashtable.
8247 (close): Set new close flag and set entries to null inside
8249 (entries): Contruct enumeration using new getEntries() method and
8251 (getEntryIndex): Removed.
8252 (getEntries): New method.
8253 (getEntry): Use new getEntries() method and entries Hastable.
8254 (getInputStream): Likewise.
8255 (size): Return getEntries().size().
8256 (ZipEntryEnumeration): Wrap entries Hashtable elements.
8257 * java/util/zip/ZipEntry.java (cal): Don't initialize.
8259 (dostime): New field.
8260 (zipFileIndex): Removed.
8261 (ZipEntry(ZipEntry)): Copy dostime.
8262 (setDOSTime): Now final and doesn't convert dos time.
8263 (getDOSTime): Likewise.
8264 (setTime): Convert dos time.
8265 (getTime): Likewise.
8266 (getCalendar): New method.
8267 (setExtra): Use setTime().
8268 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
8270 2002-12-03 Tom Tromey <tromey@redhat.com>
8272 * java/lang/Character.java (forDigit): Formatting fix.
8274 2002-12-03 Raif Naffah <raif@fl.net.au>
8276 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
8277 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
8278 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
8280 2002-12-03 Andrew Haley <aph@redhat.com>
8282 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
8284 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
8285 (_Jv_PopClass): New.
8286 (_Jv_PushClass): New.
8287 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
8288 discover the ClassLoader of our caller.
8289 (_Jv_CheckArrayStore): Don't check that a class is assignment
8290 compatible with Object.
8291 * java/lang/natVMTHrowable.cc: Delete.
8292 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
8293 java.lang.VMThrowable.
8294 (StackTrace(), StackTrace(int)): New constructors.
8295 (classAt, methodAt, update, methodAtAddress): New methods.
8297 * java/lang/VMThrowable.java: Use StackTrace instead of
8299 * java/lang/Class.h (getClassLoaderInternal): New.
8300 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
8301 Be friendly with gnu::gcj::runtime::StackTrace.
8302 (Object.chain): New field.
8303 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
8304 gnu::gcj::runtime::StackTrace.
8305 * gnu/gcj/runtime/natStackTrace.cc: New file.
8306 * gnu/gcj/runtime/MethodRef.java: New file.
8307 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
8308 instead of getClassLoader().
8309 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
8310 java::lang::VMThrowable.
8311 * Makefile.am (core_java_source_files): Add MethodRef.java,
8313 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
8314 * Makefile.in: Rebuild.
8316 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
8318 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
8319 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
8320 yes also for sh-linux* and sh[34]*-linux*.
8321 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
8322 set SIGNAL_HANDLER to use DWARF2 exception for them.
8323 * configure: Regenerate.
8325 2002-12-02 Tom Tromey <tromey@redhat.com>
8327 * jni.cc: Added `name' argument.
8328 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
8329 `const char *' argument.
8330 (class _Jv_JNIEnv) [DefineClass]: Likewise.
8332 2002-12-01 Tom Tromey <tromey@redhat.com>
8334 Bug compatibility, for PR libgcj/8738:
8335 * java/io/CharArrayWriter.java (close): Do nothing.
8337 (reset): Don't touch `closed'.
8338 (write(int)): Don't throw IOException.
8339 (write(char[],int,int)): Likewise.
8340 (write(String,int,int)): Likewise.
8343 2002-12-01 Mark Wielaard <mark@klomp.org>
8345 * java/lang/SecurityManager.java: Remerge comments, indenting and
8346 checkXXX methods with Classpath.
8348 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
8350 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
8351 getNormalizedComponents): Fix calculation which was using one too
8352 many bits in the unnormalized format.
8354 2002-11-29 Gary Benson <gbenson@redhat.com>
8357 * java/beans/Introspector.java (flushCaches): New method.
8358 (flushFromCaches): Likewise.
8360 2002-11-29 Michael Koch <konqueror@gmx.de>
8362 * java/nio/channels/DatagramChannel.java
8363 (open): Added exception documentation.
8364 (write): Added exception documentation.
8365 (connect): Added exception documentation.
8366 (disconnect): Added exception documentation.
8367 (isConnected): Added exception documentation.
8368 (read): Added exception documentation.
8369 (receive): Added exception documentation.
8370 (send): Added exception documentation.
8371 (validOps): Added exception documentation.
8372 * java/nio/channels/SocketChannel.java
8373 (open): Added exception documentation.
8374 (read): Added exception documentation.
8375 (write): Added exception documentation.
8376 (connect): Added exception documentation.
8377 (finishConnect): Added exception documentation.
8379 2002-11-29 Michael Koch <konqueror@gmx.de>
8381 * gnu/java/nio/DatagramChannelImpl:
8382 (fd): New member variable to store file descriptor of socket.
8383 * gnu/java/nio/SelectionKeyImpl.java:
8385 (readyOps): New member variable.
8386 (interestOps): New member variable.
8387 (readyOps): Implemented.
8388 (readyOps): New method to set member variable readyOps.
8389 (interestOps): Replaced ops by interestOps.
8390 * gnu/java/nio/SelectorImpl.java:
8391 (SelectorImpl): Initialize key sets.
8392 (select): Call select with -1 instead of Long.MAX_VALUE).
8393 (java_do_select): Make it a native method.
8394 (getFDsAsArray): New helper method.
8395 (select): Remove canceled keys, give only interested file discriptors
8396 to java_do_select, set ready ops.
8397 (add): No need to initialize keys set here.
8398 (add_selected): No need to initialize selected set here.
8399 (deregisterCanceledKeys): New helper method.
8400 (register): Set interest ops, set attachments, added handling of datagram
8402 * gnu/java/nio/ServerSocketChannelImpl:
8403 (SocketAccept): Renamed from NioSocketAccept.
8404 (implConfigureBlocking): Implemented.
8405 (accept): Use SocketAccept instead of NioSocketAccept.
8406 * gnu/java/nio/SocketChannelImpl:
8407 Reactivate native methods.
8409 2002-11-29 Michael Koch <konqueror@gmx.de>
8411 * gnu/java/nio/natByteBufferImpl.cc,
8412 gnu/java/nio/natCharBufferImpl.cc,
8413 gnu/java/nio/natDoubleBufferImpl.cc,
8414 gnu/java/nio/natFloatBufferImpl.cc,
8415 gnu/java/nio/natIntBufferImpl.cc,
8416 gnu/java/nio/natLongBufferImpl.cc,
8417 gnu/java/nio/natSelectorImpl.cc,
8418 gnu/java/nio/natServerSocketChannelImpl.cc,
8419 gnu/java/nio/natShortBufferImpl.cc,
8420 gnu/java/nio/natSocketChannelImpl.cc:
8421 New files that implement native functionalities.
8423 2002-11-29 Michael Koch <konqueror@gmx.de>
8425 * gnu/java/nio/ByteBufferImpl.java
8426 (ByteBufferImpl): Moved position() after limit.
8427 (nio_*): Use native implementation.
8428 * gnu/java/nio/CharBufferImpl.java:
8430 (endian): New member variable string endianess of buffer.
8431 (CharBufferImpl): Moved position() after limit.
8432 (nio_*): Use native implementation.
8433 (subSequence): Implemented.
8434 * gnu/java/nio/DoubleBufferImpl.java
8435 (DoubleBufferImpl): Moved position() after limit.
8436 (nio_*): Use native implementation.
8437 * gnu/java/nio/FloatBufferImpl.java
8439 (FloatBufferImpl): Moved position() after limit.
8440 (nio_*): Use native implementation.
8441 * gnu/java/nio/IntBufferImpl.java
8442 Added needed imports, Reformated.
8443 (IntBufferImpl): Moved position() after limit.
8444 (nio_*): Use native implementation.
8445 * gnu/java/nio/LongBufferImpl.java
8447 (LongBufferImpl): Moved position() after limit.
8448 (nio_*): Use native implementation.
8449 * gnu/java/nio/ShortBufferImpl.java
8451 (ShortBufferImpl): Moved position() after limit.
8452 (nio_*): Use native implementation.
8454 2002-11-27 Julian Dolby <dolby@us.ibm.com>
8456 * java/util/Locale.java (toString): Improve efficiency if country
8457 and variant are both empty.
8459 2002-11-26 Tom Tromey <tromey@redhat.com>
8461 * verify.cc (pop_init_ref): New method.
8462 (verify_instructions_0) [op_iaload, op_laload, op_faload,
8463 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
8464 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
8465 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
8466 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
8467 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
8468 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
8469 let `this' argument be uninitialized. Don't let `null' be passed
8470 as `this' to construtor.
8472 2002-11-26 Mark Wielaard <mark@klomp.org>
8474 * javax/transaction/HeuristicCommitException.java: Classpath merge.
8475 * javax/transaction/HeuristicMixedException.java: Likewise.
8476 * javax/transaction/HeuristicRollbackException.java: Likewise.
8477 * javax/transaction/InvalidTransactionException.java: Likewise.
8478 * javax/transaction/NotSupportedException.java: Likewise.
8479 * javax/transaction/RollbackException.java: Likewise.
8480 * javax/transaction/Status.java: Likewise.
8481 * javax/transaction/Synchronization.java: Likewise.
8482 * javax/transaction/SystemException.java: Likewise.
8483 * javax/transaction/Transaction.java: Likewise.
8484 * javax/transaction/TransactionManager.java: Likewise.
8485 * javax/transaction/TransactionRequiredException.java: Likewise.
8486 * javax/transaction/TransactionRolledbackException.java: Likewise.
8487 * javax/transaction/UserTransaction.java: Likewise.
8488 * javax/transaction/xa/XAException.java: Likewise.
8489 * javax/transaction/xa/XAResource.java: Likewise.
8490 * javax/transaction/xa/Xid.java: Likewise.
8492 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
8494 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
8496 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
8497 * include/posix.h (socklen_t): Define if not already defined.
8499 2002-11-25 Tom Tromey <tromey@redhat.com>
8501 * verify.cc (type::compatible): Backed out broken change.
8503 * verify.cc (type::compatible): Check initialization status
8505 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
8506 Don't use NULLCHECK.
8508 2002-11-23 H.J. Lu <hjl@gnu.org>
8510 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
8511 Include ../config/accross.m4.
8512 * aclocal.m4; Rebuild.
8513 * configure: Likewise.
8515 2002-11-23 Mark Wielaard <mark@klomp.org>
8517 * javax/naming/AuthenticationException.java: Update copyright header.
8518 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
8519 * javax/naming/Binding.java: Likewise.
8520 * javax/naming/CannotProceedException.java: Likewise.
8521 * javax/naming/CommunicationException.java: Likewise.
8522 * javax/naming/CompositeName.java: Likewise.
8523 * javax/naming/CompoundName.java: Likewise.
8524 * javax/naming/ConfigurationException.java: Likewise.
8525 * javax/naming/Context.java: Likewise.
8526 * javax/naming/ContextNotEmptyException.java: Likewise.
8527 * javax/naming/InitialContext.java: Likewise.
8528 * javax/naming/InsufficientResourcesException.java: Likewise.
8529 * javax/naming/InterruptedNamingException.java: Likewise.
8530 * javax/naming/LimitExceededException.java: Likewise.
8531 * javax/naming/LinkException.java: Likewise.
8532 * javax/naming/LinkLoopException.java: Likewise.
8533 * javax/naming/LinkRef.java: Likewise.
8534 * javax/naming/MalformedLinkException.java: Likewise.
8535 * javax/naming/NameAlreadyBoundException.java: Likewise.
8536 * javax/naming/NameClassPair.java: Likewise.
8537 * javax/naming/NameNotFoundException.java: Likewise.
8538 * javax/naming/NameParser.java: Likewise.
8539 * javax/naming/NamingEnumeration.java: Likewise.
8540 * javax/naming/NamingSecurityException.java: Likewise.
8541 * javax/naming/NoInitialContextException.java: Likewise.
8542 * javax/naming/NoPermissionException.java: Likewise.
8543 * javax/naming/NotContextException.java: Likewise.
8544 * javax/naming/OperationNotSupportedException.java: Likewise.
8545 * javax/naming/PartialResultException.java: Likewise.
8546 * javax/naming/Reference.java: Likewise.
8547 * javax/naming/Referenceable.java: Likewise.
8548 * javax/naming/ReferralException.java: Likewise.
8549 * javax/naming/ServiceUnavailableException.java: Likewise.
8550 * javax/naming/SizeLimitExceededException.java: Likewise.
8551 * javax/naming/TimeLimitExceededException.java: Likewise.
8552 * javax/naming/directory/Attribute.java: Likewise.
8553 * javax/naming/directory/AttributeInUseException.java: Likewise.
8554 * javax/naming/directory/AttributeModificationException.java: Likewise.
8555 * javax/naming/directory/Attributes.java: Likewise.
8556 * javax/naming/directory/BasicAttribute.java: Likewise.
8557 * javax/naming/directory/BasicAttributes.java: Likewise.
8558 * javax/naming/directory/DirContext.java: Likewise.
8559 * javax/naming/directory/InitialDirContext.java: Likewise.
8560 * javax/naming/directory/InvalidAttributeIdentifierException.java:
8562 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
8563 * javax/naming/directory/InvalidAttributesException.java: Likewise.
8564 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
8565 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
8566 * javax/naming/directory/ModificationItem.java: Likewise.
8567 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
8568 * javax/naming/directory/SchemaViolationException.java: Likewise.
8569 * javax/naming/directory/SearchControls.java: Likewise.
8570 * javax/naming/directory/SearchResult.java: Likewise.
8571 * javax/naming/event/EventContext.java: Likewise.
8572 * javax/naming/event/EventDirContext.java: Likewise.
8573 * javax/naming/event/NamespaceChangeListener.java: Likewise.
8574 * javax/naming/event/NamingEvent.java: Likewise.
8575 * javax/naming/event/NamingExceptionEvent.java: Likewise.
8576 * javax/naming/event/NamingListener.java: Likewise.
8577 * javax/naming/event/ObjectChangeListener.java: Likewise.
8578 * javax/naming/ldap/Control.java: Likewise.
8579 * javax/naming/ldap/ControlFactory.java: Likewise.
8580 * javax/naming/ldap/ExtendedRequest.java: Likewise.
8581 * javax/naming/ldap/ExtendedResponse.java: Likewise.
8582 * javax/naming/ldap/HasControls.java: Likewise.
8583 * javax/naming/ldap/InitialLdapContext.java: Likewise.
8584 * javax/naming/ldap/LdapContext.java: Likewise.
8585 * javax/naming/ldap/LdapReferralException.java: Likewise.
8586 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
8587 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
8588 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
8589 * javax/naming/spi/DirObjectFactory.java: Likewise.
8590 * javax/naming/spi/DirStateFactory.java: Likewise.
8591 * javax/naming/spi/DirectoryManager.java: Likewise.
8592 * javax/naming/spi/InitialContextFactory.java: Likewise.
8593 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
8594 * javax/naming/spi/NamingManager.java: Likewise.
8595 * javax/naming/spi/ObjectFactory.java: Likewise.
8596 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
8597 * javax/naming/spi/ResolveResult.java: Likewise.
8598 * javax/naming/spi/Resolver.java: Likewise.
8599 * javax/naming/spi/StateFactory.java: Likewise.
8601 * javax/naming/spi/NamingManager.java (ofb): Package private.
8603 2002-11-21 Mark Wielaard <mark@klomp.org>
8605 * java/net/URL.java: Merge with Classpath (partly).
8606 * java/net/URLStreamHandler: Merge with Classpath.
8608 2002-11-22 Michael Koch <konqueror@gmx.de>
8611 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
8613 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
8614 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
8616 2002-11-21 Michael Koch <konqueror@gmx.de>
8618 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
8619 Only the new network functions should be in it.
8621 2002-11-21 Michael Koch <konqueror@gmx.de>
8623 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
8624 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
8626 2002-11-21 Michael Koch <konqueror@gmx.de>
8628 * java/nio/channels/AsynchronousCloseException.java,
8629 java/nio/channels/CancelledKeyException.java,
8630 java/nio/channels/ClosedByInterruptException.java,
8631 java/nio/channels/ConnectionPendingException.java,
8632 java/nio/channels/FileLockInterruptionException.java,
8633 java/nio/channels/IllegalSelectorException.java,
8634 java/nio/channels/NoConnectionPendingException.java,
8635 java/nio/channels/NonReadableChannelException.java,
8636 java/nio/channels/NonWritableChannelException.java,
8637 java/nio/channels/NotYetBoundException.java,
8638 java/nio/channels/NotYetConnectedException.java,
8639 java/nio/channels/OverlappingFileLockException.java,
8640 java/nio/channels/UnresolvedAddressException.java,
8641 java/nio/channels/UnsupportedAddressTypeException.java:
8643 * Makefile.am (ordinary_java_source_files): Added new files.
8644 * Makefile.in: Regenerated.
8646 2002-11-21 Michael Koch <konqueror@gmx.de>
8649 (_Jv_socket): New method.
8650 (_Jv_connect): New method.
8651 (_Jv_close): New method.
8652 (_Jv_platform_close_on_exec): Prefixed system function with "::".
8653 (_Jv_bind): New method.
8654 (_Jv_listen): New method.
8655 (_Jv_write): New method.
8656 (_Jv_read): New method.
8658 (_Jv_socket): New method.
8659 (_Jv_connect): New method.
8660 (_Jv_close): New method.
8661 (_Jv_bind): New method.
8662 (_Jv_listen): New method.
8663 (_Jv_write): New method.
8664 (_Jv_read): New method.
8665 * java/net/natNetworkInterface.cc:
8666 Include platform.h, removed inclusion of socket.h
8667 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
8668 ::close() by _Jv_close().
8669 * java/net/natPlainDatagramSocketImpl.cc:
8670 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
8671 added some new lines to make code more readable.
8672 (create): Replaced ::socket() by _Jv_socket().
8673 (close): Replaced NATIVE_CLOSE() by _Jv_close().
8674 * java/net/natPlainSocketImpl.cc:
8675 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
8676 removed include of socket.h, removed some windows defines
8677 (now in include/win32.h).
8678 (create): Replaced ::socket() by _Jv_socket().
8679 (close): Replaced NATIVE_CLOSE() by _Jv_close().
8680 (write): Replaced ::read by _Jv_write().
8681 (read): Replaced ::read by _Jv_read().
8683 2002-11-20 Michael Koch <konqueror@gmx.de>
8685 * Makefile.am (ordinary_java_source_files):
8686 Added java/nio/channels/FileChannel.java.
8687 * Makefile.in: Regenerated.
8689 2002-11-20 Michael Koch <konqueror@gmx.de>
8691 * java/io/FileInputStream.java
8692 (getChannel): New method.
8693 * java/io/FileOutputStream.java
8694 (getChannel): New method.
8695 * java/net/ServerSocket.java
8696 (bind): Removed duplicate code and called another bind method instead.
8697 * java/nio/channels/SelectionKey.java
8698 (isValid): Removed wrong exception documentation.
8699 * java/nio/channels/ServerSocketChannel.java
8700 (accept): Added exception documentation.
8701 (open): Fixed typo, added exception documentation.
8702 * java/nio/channels/spi/AbstractSelectableChannel.java
8703 (implCloseChannel): Added exception documentation.
8705 (register): Added exception documentation.
8707 2002-11-20 Andreas Jaeger <aj@suse.de>
8709 * configure: Regenerated with new libtool.m4.
8711 2002-11-19 Tom Tromey <tromey@redhat.com>
8713 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
8715 (finalize_referred_to_object): Don't modify `referent' or `copy'
8717 (add_to_hash): Correctly set `n->next' when updating list.
8718 * java/lang/ref/Reference.java (enqueue): Return false if already
8721 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
8723 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
8724 to function and function pointer declarations in accordance with
8725 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
8726 based on whether __GCJ_JNI_IMPL__ has been defined or not.
8727 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
8728 JNI function definitions.
8730 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8732 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
8733 that was causing CoderResults to be cached, not WeakReferences
8736 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
8738 * java/security/KeyStore.java (getInstance): Fix
8739 comment and throw IllegalArgumentException if
8740 given provider is null.
8741 (getInstance): New method for jdk1.4 compatibility.
8743 2002-11-18 Michael Koch <konqueror@gmx.de>
8745 * java/net/PlainSocketImpl.java: Fix imports.
8747 2002-11-18 Michael Koch <konqueror@gmx.de>
8749 * java/nio/channels/SelectionKey.java
8750 (isValid): Added exception documentation.
8751 * java/nio/channels/Selector.java
8752 (open): Declare "throws IOException".
8754 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8756 * java/nio/charset/Charset.java
8757 (<clinit>): New method.
8758 (encode): Synchronize use of cached encoder object.
8759 (decode): Synchronize use of cached encoder object.
8761 2002-11-18 Michael Koch <konqueror@gmx.de>
8763 * gnu/java/nio/ByteBufferImpl.java,
8764 gnu/java/nio/CharBufferImpl.java,
8765 gnu/java/nio/DatagramChannelImpl.java,
8766 gnu/java/nio/DoubleBufferImpl.java,
8767 gnu/java/nio/FileChannelImpl.java,
8768 gnu/java/nio/FloatBufferImpl.java,
8769 gnu/java/nio/IntBufferImpl.java,
8770 gnu/java/nio/LongBufferImpl.java,
8771 gnu/java/nio/PipeImpl.java,
8772 gnu/java/nio/SelectionKeyImpl.java,
8773 gnu/java/nio/SelectorImpl.java,
8774 gnu/java/nio/SelectorProviderImpl.java,
8775 gnu/java/nio/ServerSocketChannelImpl.java,
8776 gnu/java/nio/ShortBufferImpl.java,
8777 gnu/java/nio/SocketChannelImpl.java,
8778 java/nio/DoubleBuffer.java,
8779 java/nio/FloatBuffer.java,
8780 java/nio/IntBuffer.java,
8781 java/nio/LongBuffer.java,
8782 java/nio/ShortBuffer.java,
8783 java/nio/channels/FileChannel.java: New files.
8785 2002-11-18 Michael Koch <konqueror@gmx.de>
8787 * Makefile.am (ordinary_java_source_files):
8788 Added java/nio/ReadOnlyBufferException.java and
8789 java/nio/channels/ClosedSelectorException.java.
8790 * Makefile.in: Regenerated.
8792 2002-11-18 Michael Koch <konqueror@gmx.de>
8794 * java/net/PlainSocketImpl.java: Reworked imports.
8795 * java/net/ServerSocket.java
8796 (ServerSocket): Create socket.
8797 * java/net/SocketAddress.java: Documentation added.
8798 * java/net/natPlainSocketImpl.cc: Reindented.
8799 * java/nio/ReadOnlyBufferException.java: New file
8800 * java/nio/channels/ClosedChannelException.java: Documentation added.
8801 * java/nio/channels/ClosedSelectorException.java: New file.
8803 2002-11-17 Mark Wielaard <mark@klomp.org>
8805 * java/net/HttpURLConnection.java ((getPermission): Take port
8807 (getErrorStream): Implement.
8809 2002-11-17 Mark Wielaard <mark@klomp.org>
8811 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
8813 2002-11-16 Mark Wielaard <mark@klomp.org>
8815 Integrate work by Raif S. Naffah (raif@fl.net.au)
8816 * java/security/DummyKeyPairGenerator.java (clone): New method.
8817 * java/security/DummyMessageDigest.java (clone): New method.
8818 (engineUpdate): Now public.
8819 (engineReset): Likewise.
8820 (engineDigest): Likewise.
8821 (engineGetDigestLength): New method.
8822 * java/security/DummySignature.java (clone): New method.
8823 * java/security/KeyPairGenerator.java (provider): Now package private.
8824 (getInstance(String)): Use getInstance(String,Provider).
8825 (getInstance(String,String): Use getInstance(String,Provider)
8826 (getInstance(String,Provider): New method.
8827 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
8828 * java/security/KeyPairGeneratorSpi.java (clone): New method.
8829 * java/security/MessageDigest.java (provider): Now package private.
8830 (getInstance(String): Use getInstance(String,Provider).
8831 (getInstance(String,String): Use getInstance(String,Provider)
8832 (getInstance(String,Provider): New method.
8833 * java/security/Provider.java (toCanonicalKey): New method.
8834 (get): New method that uses toCanonicalKey().
8835 (put): Use toCanonicalKey().
8837 * java/security/Security.java (insertProviderAt): Provider index is one
8838 based, not zero based.
8839 (addProvider): Likewise.
8840 (removeProvider): Likewise.
8841 * java/security/Signature.java (provider): Now package private.
8842 (getInstance(String)): Use getInstance(String,Provider).
8843 (getInstance(String,String): Use getInstance(String,Provider)
8844 (getInstance(String,Provider): New method.
8845 (getInstance(String,String,Provider): Don't cast DummySignature.
8847 2002-11-15 Tom Tromey <tromey@redhat.com>
8850 * java/util/zip/GZIPInputStream.java (read): Check file size.
8851 Look in inflater for remaining input bytes.
8852 (read4): Added buf and offset arguments.
8854 2002-11-12 Eric Blake <ebb9@email.byu.edu>
8856 * java/applet/AppletContext.java: Fix typo and remove redundant
8859 2002-11-14 Tom Tromey <tromey@redhat.com>
8861 * java/lang/natRuntime.cc (insertSystemProperties): Set
8864 2002-11-13 Michael Koch <konqueror@gmx.de>
8866 * java/nio/ByteBuffer.java
8867 (allocate): New method.
8872 2002-11-13 Michael Koch <konqueror@gmx.de>
8874 * java/nio/channels/AlreadyConnectedException.java:
8875 Removed unneeded import.
8876 (AlreadyConnectedException): Documentation added.
8877 * java/nio/channels/Pipe.java
8878 (SinkChannel.SinkChannel): Documentation added.
8879 (SinkChannel.validOps): New method.
8880 (SourceChannel.SourceChannel): Documentation added.
8881 (SourceChannel.validOps): New method.
8882 (Pipe): Documentation added.
8883 (open): Documentation added.
8884 (SinkChannel.channel): Documentation added.
8885 (SourceChannel.channel): Documentation added.
8886 * java/nio/channel/SelectableChannel.java
8887 (SelectableChannel): Documentation added.
8888 (blockingLock): Documentation added.
8889 (configureBlocking):Documentation added.
8890 (isBlocking):Documentation added.
8891 (isRegistered):Documentation added.
8892 (keyFor):Documentation added.
8893 (provider):Documentation added.
8894 (register): Documentation added.
8895 (validOps): Documentation added.
8896 * jaba/nio/channels/SelectionKey.java
8897 (SelectionKey): Documentation added.
8898 (attach): Documentation added.
8899 (attachment): Documentation added.
8900 (isAcceptable): Documentation added.
8901 (isConnetable): Documentation added.
8902 (isReadable): Documentation added.
8903 (isWritable): Documentation added.
8904 (cancel): Documentation added.
8905 (channel): Documentation added.
8906 (interestOps): Documentation added.
8907 (isValid): Documentation added.
8908 (readyOps): Documentation added.
8909 (selector): Documentation added.
8910 * jaba/nio/channels/Selector.java
8911 (Selector): Documentation added.
8912 (open): Documentation added.
8913 (close): Documentation added.
8914 (isOpen): Documentation added.
8915 (keys): Documentation added.
8916 (provider): Documentation added.
8917 (select): Documentation added.
8918 (selectedKeys): Documentation added.
8919 (selectNow): Documentation added.
8920 (wakeup): Documentation added.
8921 * java/nio/channels/spi/AbstractInterruptibleChannel.java
8922 (AbstractInterruptibleChannel): Documentation added.
8923 (opened): Default to true;
8924 (begin): Documentation added.
8925 (close): Set opened to false, documentation added.
8926 (isOpen): Documentation added.
8927 * java/nio/channels/spi/AbstractSelectionKey.java
8928 (AbstractSelectionKey): Documentation added.
8929 (cancel): Documentation added.
8930 (isValid): Documentation added.
8931 * java/nio/channels/spi/AbstractSelector.java
8932 (AbstractSelector): Documentation added.
8933 (begin): Documentation added.
8934 (close): Documentation added.
8935 (isOpen): Documentation added.
8936 (deregister): Documentation added.
8937 (end): Documentation added.
8938 (provider): Documentation added.
8939 (implCloseSelector): Documentation added.
8940 (register): Documentation added.
8941 * java/nio/channels/spi/SelectorProvider.java
8942 (SelectorProvider): Documentation added.
8943 (openDatagramChannel): Documentation added.
8944 (openPipe): Documentation added.
8945 (openSelector): Documentation added.
8946 (openServerSocketChannel): Documentation added.
8947 (openSocketChannel): Documentation added.
8948 (provider): Documentation added.
8950 2002-11-12 Michael Koch <konqueror@gmx.de>
8952 * java/nio/Buffer.java: Implemented.
8953 * java/nio/CharBuffer.java: New file.
8954 * java/nio/InvalidMarkException.java: New file.
8955 * java/nio/channels/DatagramChannel.java: Implemented.
8956 * java/nio/channels/ServerSocketChannel.java: Implemented.
8957 * java/nio/channels/SocketChannel.java: Implemented.
8958 * java/nio/channels/spi/AbstractChannel.java: Removed.
8959 * java/nio/channels/spi/AbstractSelectableChannel.java:
8961 * java/nio/charset/Charset.java:
8962 Merge from Classpath.
8963 * java/nio/charset/CharsetDecoder.java: New file.
8964 * java/nio/charset/CharsetEncoder.java: New file.
8965 * java/nio/charset/CoderResult.java: New file.
8966 * Makefile.am (ordinary_java_source_files): Added new files.
8967 * Makefile.in: Regenerated.
8969 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8971 * gnu/java/nio/charset/ISO_8859_1.java,
8972 gnu/java/nio/charset/Provider.java,
8973 gnu/java/nio/charset/US_ASCII.java,
8974 gnu/java/nio/charset/UTF_16.java,
8975 gnu/java/nio/charset/UTF_16BE.java,
8976 gnu/java/nio/charset/UTF_16Decoder.java,
8977 gnu/java/nio/charset/UTF_16Encoder.java,
8978 gnu/java/nio/charset/UTF_16LE.java,
8979 gnu/java/nio/charset/UTF_8.java: New files.
8981 2002-11-11 Michael Koch <konqueror@gmx.de>
8983 * java/nio/charset/CharacterCodingException.java:
8984 This class must be public.
8985 * java/nio/charset/CoderMalfunctionError.java:
8986 This class must be public.
8987 * java/nio/charset/CodingErrorAction.java:
8988 This class must be public.
8989 * java/nio/charset/IllegalCharsetNameException.java:
8990 This class must be public, better implementation.
8991 * java/nio/charset/MalformedInputException.java:
8992 This class must be public, better implementation.
8993 * java/nio/charset/UnmappableCharacterException.java:
8994 This class must be public, better implementation.
8995 * java/nio/charset/UnsupportedCharsetException.java:
8996 This class must be public, better implementation.
8998 2002-11-11 Michael Koch <konqueror@gmx.de>
9000 * java/nio/BufferOverflowException.java,
9001 java/nio/BufferUnderflowException.java: New file.
9002 * Makefile.am (ordinary_java_source_files):
9004 * Makefile.in: Regenerated.
9006 2002-11-10 Tom Tromey <tromey@redhat.com>
9008 * java/awt/Container.java (validate): Use tree lock.
9009 (getComponent): Likewise.
9010 (getComponents): Likewise.
9011 (addImpl): Likewise.
9013 (removeAll): Likewise.
9014 (processEvent): Fixed indentation.
9015 (getComponentAt): Use tree lock.
9016 (findComponentAt): Likewise.
9017 (removeNotify): Likewise.
9018 (isAncestorOf): Likewise.
9020 (visitChildren): Likewise.
9021 (findNextFocusComponent): Likewise.
9022 (addNotifyContainerChildren): Likewise.
9023 (getAccessibleChildrenCount): Likewise.
9024 (getAccessibleChild): Likewise.
9026 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
9027 (getSize): Likewise.
9028 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
9029 (getSize): Likewise.
9030 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
9031 (calcSize): Likewise.
9032 * java/awt/CardLayout.java (getSize): Use tree lock.
9033 (gotoComponent): Likewise.
9034 (layoutContainer): Likewise.
9036 * java/io/natFileDescriptorWin32.cc (read): Handle case where
9038 * java/io/natFileDescriptorPosix.cc (read): Handle case where
9041 * java/io/Externalizable.java, java/io/FilePermission.java,
9042 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
9043 java/io/SerializablePermission.java, java/text/Format.java,
9044 java/util/AbstractMap.java, java/util/HashMap.java,
9045 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
9046 versions from Classpath.
9048 2002-11-10 Anthony Green <green@redhat.com>
9050 * java/util/jar/Attributes.java (Name): Fix name check.
9052 2002-11-10 Mark Wielaard <mark@klomp.org>
9054 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
9055 with getName() as message.
9056 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
9059 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
9062 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
9064 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
9065 for Win32. JNICALL has been defined to __stdcall to be compatible
9068 2002-11-10 Tom Tromey <tromey@redhat.com>
9070 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
9071 (setRows): Check newRows, not rows.
9073 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
9075 2002-11-09 Tom Tromey <tromey@redhat.com>
9077 * java/applet/Applet.java, java/applet/AppletContext.java,
9078 java/applet/AppletStub.java, java/applet/AudioClip.java,
9079 java/awt/CardLayout.java,
9080 java/awt/ContainerOrderFocusTraversalPolicy.java,
9081 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
9082 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
9083 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
9084 java/awt/color/ICC_ColorSpace.java,
9085 java/awt/color/ICC_Profile.java,
9086 java/awt/color/ICC_ProfileGray.java,
9087 java/awt/color/ICC_ProfileRGB.java,
9088 java/awt/datatransfer/DataFlavor.java,
9089 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
9090 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
9091 New versions from Classpath.
9092 * Makefile.in: Rebuilt.
9093 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
9096 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
9099 * java/awt/List.java (processEvent): Added missing `else's.
9101 * java/awt/Window.java (show): validate() before showing. Make
9103 (isDisplayable): New method.
9105 2002-11-07 Mark Wielaard <mark@klomp.org>
9107 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
9108 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
9110 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
9112 (loadClass): Take String as codebases.
9113 (getClassAnnotation): Use MyClassLoader annotations.
9114 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
9115 call exportObject(this).
9117 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
9118 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
9119 (setAnnotation): Don't set locBytesStream and locStream.
9120 (replaceObject): Removed.
9121 (flush): Don't test locStream.
9122 (getLocBytes): LikeWise.
9123 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
9124 (leaseCache): New field.
9125 (dirty): Use leaseCache.
9126 (LeaseRecord): New inner class.
9127 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
9128 explicitly call exportObject().
9129 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
9130 false to communicate with Sun JDK130.
9131 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
9132 * gnu/java/rmi/server/RMIObjectInputStream.java
9133 (UnicastConnectionManager): Removed field.
9134 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
9135 Use UnicastServer.getExportedRef().
9136 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
9137 (expireTime): Likewise.
9138 (CONNECTION_TIMEOUT): Likewise.
9139 (disconnect): Call sock.close().
9140 (isExpired): New method.
9141 (resetTime): Likewise.
9142 (run): Use do while loop and catch Exception for discardConnection().
9143 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
9144 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
9145 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
9146 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
9147 (exportObject): Use refcache.
9148 (unexportObject): Likewise.
9149 (getExportedRef): New method.
9150 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
9152 (exportObject): Save manager.serverobj.
9153 (getStub): New method.
9155 2002-11-07 Mark Wielaard <mark@klomp.org>
9157 * java/lang/reflect/natField.cc (getBoolean): Use getType().
9158 (getByte): Likewise.
9159 (getShort): Likewise.
9161 (getLong): Likewise.
9162 (getFloat): Likewise.
9163 (getDouble): Likewise.
9165 (setChar): Likewise.
9166 (setByte): Likewise.
9167 (setShort): Likewise.
9169 (setLong): Likewise.
9170 (setFloat): Likewise.
9171 (setDouble): Likewise.
9173 2002-11-07 Michael Koch <konqueror@gmx.de>
9175 * java/awt/Choice.java,
9176 java/awt/Container.java,
9177 java/awt/GridBagLayout.java:
9178 Fixed documentation.
9179 * java/awt/peer/ContainerPeer.java:
9182 2002-11-07 Michael Koch <konqueror@gmx.de>
9184 * java/awt/color/ICC_Profile.java:
9185 Added missing constants.
9186 * java/awt/color/ICC_ColorSpace.java
9187 (getMinValue): Added dummy implementation.
9188 (getMaxValue): Added dummy implementation.
9189 * java/awt/datatransfer/DataFlavor.java
9190 (imageFlavor): Added.
9191 (isMimeTypeEqual): Must be final.
9192 (getDefaultRepresentationClass): Must be non-static.
9193 (getDefaultRepresentationClassAsString): Must be non-static.
9194 * java/awt/dnd/DragSourceContext.java
9195 (dragExit): Corrected argument.
9196 (dragDropEnd): Corrected argument.
9197 * java/awt/dnd/DragSourceListener.java.java
9198 (dragExit): Corrected argument.
9199 (dragDropEnd): Corrected argument.
9200 * java/awt/font/TextHitInfo.java
9201 (toString): Added stubbed implementation.
9202 * java/awt/geom/PathIterator.java:
9203 The constants must be static.
9204 * java/awt/image/VolatileImage.java
9205 (IMAGE_INCOMPATIBLE): Fixed typo.
9206 * java/awt/image/renderable/RenderableImage.java
9207 (HINTS_OBSERVED): Must be static.
9208 * java/beans/BeanInfo.java:
9209 Constants must be final.
9211 2002-11-06 Tom Tromey <tromey@redhat.com>
9213 From svens@it.uu.se. For PR libgcj/8481.
9214 * java/util/Random.java (nextInt(int)): Only use 31 bits.
9216 2002-11-06 Tom Tromey <tromey@redhat.com>
9218 * jni.cc (array_from_valist): Assume that jlong won't be
9221 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
9223 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
9225 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
9228 2002-11-03 Tom Tromey <tromey@redhat.com>
9230 * java/lang/ClassLoader.java (loadClass): Call loadClass on
9231 VMClassLoader, not findClass.
9233 2002-11-03 Jeff Sturm <jsturm@one-point.com>
9235 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
9236 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
9237 _Jv_DetermineVTableIndex, to determine vtable offset.
9238 (_Jv_DetermineVTableIndex): Remove.
9239 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
9241 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
9243 2002-11-03 Tom Tromey <tromey@redhat.com>
9245 * java/nio/channels/AlreadyConnectedException.java: Extend
9246 IllegalStateException, per spec.
9248 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
9250 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
9252 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
9254 * java/util/ArrayList.java (readObject, writeObject): Only read/write
9257 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
9259 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
9260 initial estimated size to avoid enlarge buffer frequently.
9262 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
9264 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
9265 ClassLoader when null.
9266 (ProxyType.hashCode): Loader null check no longer needed.
9267 (ProxyType.sameTypes): New method.
9268 (ProxyType.equals): Use new method.
9270 2002-10-31 Mark Wielaard <mark@klomp.org>
9272 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
9274 * java/net/URLEncoder.java (encode): Likewise.
9276 2002-10-31 Mark Wielaard <mark@klomp.org>
9278 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
9279 when stream is closed.
9280 (closeEntry): Likewise.
9282 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
9283 ZipException when no entry active.
9284 (closeEntry): Likewise.
9287 2002-11-02 Tom Tromey <tromey@redhat.com>
9289 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
9290 * java/lang/natClass.cc (initializeClass): Don't return just
9291 because self==thread.
9294 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
9295 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
9297 2002-11-02 Andreas Schwab <schwab@suse.de>
9299 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
9301 (FLAGS_TO_PASS): Define.
9302 * Makefile.in: Regenerated.
9304 2002-11-01 Michael Koch <konqueror@gmx.de>
9306 * java/nio/ByteOrder.java: New file.
9307 * java/nio/channels/DatagramChannel.java:
9308 (DatagramChannel): New constructor.
9309 * java/nio/channels/Pipe.java: New file.
9310 * java/nio/channels/SelectableChannel.java: New file.
9311 * java/nio/channels/SelectionKey.java: New file.
9312 * java/nio/channels/Selector.java: New file.
9313 * java/nio/channels/ServerSocketChannel.java
9314 (ServerSocketChannel): New constructor.
9315 * java/nio/channels/SocketChannel.java
9316 (SocketChannel): New constructor.
9317 * java/nio/channels/Pipe.java: New file.
9318 * java/nio/channels/spi/AbstractChannel.java: New file.
9319 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
9320 * java/nio/channels/spi/AbstractSelectableChannel.java:
9322 (AbstractSelectableChannel): New stubbed method.
9323 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
9324 * java/nio/channels/spi/AbstractSelector.java: New file.
9325 * java/nio/channels/spi/SelectorProvider.java: New file.
9326 * java/nio/charset/Charset.java: New file.
9327 * java/nio/charset/CoderMalfunctionError.java: New file.
9328 * java/nio/charset/CodingErrorAction.java: New file.
9329 * java/nio/charset/spi/CharsetProvider.java
9330 (charsetForName): Uncommented.
9331 * Makefile.am (java_native_source_files): Added new files.
9332 * Makefile.in: Regenerated.
9334 2002-11-01 Michael Koch <konqueror@gmx.de>
9336 * java/net/InetAddress.java:
9337 (isAnyLocalAddress): Implemented.
9338 (isLoopbackAddress): Implemented, comment added.
9339 (isLinkLocalAddress): Implemented, documentation added.
9340 (isSiteLocalAddress): Implemented, documentation added.
9341 (isMCGlobal): Implemented, documentation added.
9342 (isMCNodeLocal): Implemented, documentation added.
9343 (isMCLinkLocal): Implemented, documentation added.
9344 (isMCSiteLocal): Implemented, documentation added.
9345 (isMCOrgLocal): Implemented, documentation added.
9346 (getHostName): Documentation added.
9347 (getCanonicalHostName): Implemented, documentation added.
9348 (getAddress): Documentation added.
9349 (hashCode): Documentation added.
9350 (equals): Documentation added.
9351 (toString): Fixed implementation.
9352 (getByAddress): Use Inet4Address and Inet6Address.
9353 (lookup): New linewrap.
9354 (getByName): SecurityManager check added, support Inet4Address and
9355 Inet6address, comments added.
9356 (getAllByName): SecurityManager check added, comments added.
9357 * java/net/Inet6Address.java:
9358 (Inet6Address): Initialize parent class with addr instead of null.
9360 (equals): Documentation added.
9361 (getFile): Documentation added.
9362 (hashCode): Documentation added.
9363 * java/net/natInetAddress.cc:
9364 (aton): Fix IPv6 support.
9365 * java/net/natPlainDatagramSocketImpl.cc:
9366 (peek): Throw PortUnreachableException when suitable.
9367 (peekData): Throw PortUnreachableException when suitable.
9368 (send): Throw PortUnreachableException when suitable.
9369 (receive): Throw PortUnreachableException when suitable.
9371 2002-10-27 Mark Wielaard <mark@klomp.org>
9373 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
9375 (readLeShort): Likewise and use byte[].
9376 (readLeInt): Likewise.
9377 (readEntries): Use new versions of methods and use byte[] for reading
9378 a complete zip entry. Add ZipFile name to exceptions.
9379 (entries): Add ZipFile name to exceptions.
9380 (getEntry): Likewise.
9381 (checkLocalHeader): Use new versions of methods and add ZipFile name
9384 2002-10-31 Mark Anderson <mark@panonet.net>
9386 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
9389 2002-10-25 Krister Walfridsson <cato@df.lth.se>
9391 * configure.in: Disable hash sync when not using threads.
9392 * configure: Regenerated.
9394 2002-10-24 Tom Tromey <tromey@redhat.com>
9396 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
9397 (_Jv_FindSymbolInExecutable): Removed argument name.
9398 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
9399 java.library.path is set.
9401 * gij.cc (help): Document --showversion.
9402 (version): Don't exit.
9403 (main): Handle --showversion. Exit if --version given.
9405 2002-10-23 Tom Tromey <tromey@redhat.com>
9407 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
9408 (array_from_valist): Correctly handle promotion for jint, jlong,
9409 jfloat, and jdouble.
9411 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
9413 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
9414 GetFileAttributesEx( ) to find file length and modification times,
9415 as the latter is not present on Windows 95.
9417 2002-10-21 Michael Koch <konqueror@gmx.de>
9420 (URL): Activate SecurityManager checks.
9421 (equals): Use URLStreamHandler implementation instead of doing it
9422 alone. This allows special protocol stream handlers to change default
9424 (hashCode): Use URLStreamHandler implementation instead of doing it
9425 alone. This allows special protocol stream handlers to change default
9427 * java/net/URLStreamHandler.java
9428 (equals): Implemented default URL equality check.
9429 (hostsEqual): Implemented default URL equality check.
9430 (hashCode): Implemented default URL hashCode algorithm.
9431 * java/net/natPlainDatagramSocketImpl.cc:
9432 No lines longer then 80 characters.
9434 2002-10-20 Adam Megacz <adam@xwt.org>
9436 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
9437 * configure.in: enabled hash sync on Win32
9438 * include/win32-threads.h (_Jv_ThreadId_t): added.
9439 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
9440 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
9441 removed some posix-isms, use Thread::sleep() instead of usleep,
9442 added code to clear bottom three bits if platform has a broken
9444 * include/win32-threads.h (_Jv_ThreadId_t): added.
9446 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
9448 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
9449 runtime property "gnu.gcj.progname" containing the name used to
9450 invoke the current Java program (similar to argv[0] for C
9453 2002-10-15 Tom Tromey <tromey@redhat.com>
9455 Fix for PR libgcj/8234:
9456 * java/util/zip/natInflater.cc (reset): Reset avail_in.
9457 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
9459 2002-10-13 Mark Wielaard <mark@klomp.org>
9461 * mauve-libgcj: Enable Mauve tests that compile now.
9463 2002-10-11 Mark Wielaard <mark@klomp.org>
9465 Fix for PR libgcj/8142
9466 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
9467 loading native modules.
9469 2002-10-10 Michael Koch <konqueror@gmx.de>
9471 * javax/swing/AbstractListModel.java
9472 (getListDataListeners): New stubbed method.
9473 javax/swing/DefaultBoundedRangeModel.java
9474 (getChangeListeners): New stubbed method.
9475 javax/swing/DefaultSingleSelectionModel.java
9476 (getChangeListeners): New stubbed method.
9478 2002-10-10 Michael Koch <konqueror@gmx.de>
9480 * gcj/.cvsignore: New file to ignore files generated during build.
9481 * include/.cvsignore: New file to ignore files generated during build.
9483 2002-10-10 Michael Koch <konqueror@gmx.de>
9485 * java/net/HttpURLConnection.java
9486 (getPermission): New method.
9487 (getErrorStream): New stub method.
9488 (getHeaderFieldDate): New stub method.
9489 * java/net/Inet4Address.java:
9490 (isLinkLocalAddress): Typo fixed.
9491 * java/net/InetAddress.java:
9492 (readResolve): New stubbed method (for serialization).
9493 (isAnyLocalAddress): New stubbed method.
9494 (isLoopbackAddress): New stubbed method.
9495 (isLinkLocalAddress): New stubbed method.
9496 (isSiteLocalAddress): New stubbed method.
9497 (isMCGlobal): New stubbed method.
9498 (isMCNodeGlobal): New stubbed method.
9499 (isMCLinkLocal): New stubbed method.
9500 (isMCSiteLocal): New stubbed method.
9501 (isMCOrgLocal): New stubbed method.
9502 (getCanonicalHostName): New stubbed method.
9503 (getByAddress): Create instances of Inet4Address/Inet6Address,
9504 instead of InetAddress, documentation added.
9505 * java/net/MulticastSocket.java
9506 (getInterface): Removed FIXME.
9507 (getNetworkInterface): New method.
9508 (setNetworkInterface): New method.
9509 * java/net/NetworkInterface.java:
9510 (toString): Use property "line.separator" instead of "\n".
9511 * java/net/URLConnection.java
9512 (getContent): New stubbed method.
9513 * java/net/URLStreamHandler.java:
9514 (equals): New stubbed method.
9515 (hostsEqual): New stubbed method.
9516 (hashCode): New stubbed method.
9517 * java/net/natNetworkInterface.cc:
9518 (getRealNetworkInterfaces): Create Inet4Address object
9519 instead of InetAddress.
9521 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
9523 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
9524 unsigned long temporary to implement insn_iushr shifts.
9526 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
9528 * configure.host [s390*-*]: Enable Java interpreter.
9529 Enable hash synchronization. Add sysdeps dir.
9530 * sysdep/s390/locks.h: New file.
9532 2002-10-06 Mark Wielaard <mark@klomp.org>
9534 * java/lang/Thread.java (setDaemon): Check startable_flag,
9537 2002-10-07 Michael Koch <konqueror@gmx.de>
9539 * java/nio/Buffer.java: New stub file.
9540 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
9542 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
9543 * Makefile.in: Regenerated.
9545 2002-10-07 Michael Koch <konqueror@gmx.de>
9547 * java/nio/ByteBuffer.java:
9548 removed import of not commited class.
9550 2002-10-07 Michael Koch <konqueror@gmx.de>
9552 * java/nio/ByteBuffer.java,
9553 java/nio/MappedByteBuffer.java:
9554 New files, forgot to add these dummies.
9555 * Makefile.am (java_native_source_files): Added new files.
9556 * Makefile.in: Regenerated.
9558 2002-10-07 Michael Koch <konqueror@gmx.de>
9560 * java/nio/channels/AlreadyConnectedException.java,
9561 java/nio/channels/ClosedChannelException.java,
9562 java/nio/channels/ReadableByteChannel.java,
9563 java/nio/channels/InterruptibleChannel.java,
9564 java/nio/channels/Channel.java,
9565 java/nio/channels/ByteChannel.java,
9566 java/nio/channels/GatheringByteChannel.java,
9567 java/nio/channels/ScatteringByteChannel.java,
9568 java/nio/channels/WritableByteChannel.java,
9569 java/nio/charset/CharacterCodingException.java,
9570 java/nio/charset/IllegalCharsetNameException.java,
9571 java/nio/charset/MalformedInputException.java,
9572 java/nio/charset/UnmappableCharacterException.java,
9573 java/nio/charset/UnsupportedCharsetException.java,
9574 java/nio/charset/spi/CharsetProvider.java: New file.
9575 These files are exceptions or interfaces,
9576 no real or abstract classes.
9577 * Makefile.am (java_native_source_files): Added new files.
9578 * Makefile.in: Regenerated.
9580 2002-10-05 Michael Koch <konqueror@gmx.de>
9582 * java/net/InetAddress.java
9583 (getByAddress): Fixed documentation.
9584 (getByAddress): New method.
9585 * java/net/Inet4Address.java: New file.
9587 (URL): Documentation added.
9588 (getContent): Documentation added.
9589 (getContent): New stubbed method.
9590 (getQuery): New method.
9591 (openConnection): Documentation added.
9592 (openStream): Documentation added.
9593 (setURLStreamHandlerFactory): Documentation added.
9594 * java/net/URI.java: New stub file.
9596 (java_native_source_files): Added java/net/Inet4Address.java,
9597 java/net/Inet6Address.java and java/net/URI.java.
9598 * Makefile.in: Regenerated.
9600 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
9602 * java/lang/ProtectionDomain.java (linesep): Remove field.
9603 (toString): Use System.getProperty("line.separator").
9605 2002-10-04 Michael Koch <konqueror@gmx.de>
9607 * java/security/Identity.java: Added serialVersionUID.
9608 * java/security/KeyPair.java: Added serialVersionUID.
9609 * java/security/Provider.java: Added serialVersionUID.
9610 * java/security/SecureRandom.java: Added serialVersionUID.
9611 * java/security/SecureRandomSpi.java: Added serialVersionUID.
9612 * java/security/SignedObject.java: Added serialVersionUID.
9613 * java/security/cert/Certificate.java: Added serialVersionUID.
9615 2002-10-04 Mark Wielaard <mark@klomp.org>
9617 * java/security/Security.java: Use java.home or gnu.classpath.home
9619 (loadProviders): Extra dir argument.
9620 (getProvider): Return null when not found.
9622 2002-10-04 Mark Wielaard <mark@klomp.org>
9624 * java/lang/Throwable.java: Remerge with Classpath.
9626 2002-10-04 Michael Koch <konqueror@gmx.de>
9628 * java/net/InetAddress.java:
9629 (isMulticastAddress): Added documentation.
9630 (getHostAddress): Added documentation.
9631 (toString): Added documentation.
9632 (getByAddress): Fixed documentation.
9633 (getByName): Added documentation.
9634 (getAllByName): Added documentation.
9635 (getLocalHost): Added documentation.
9637 2002-10-04 Michael Koch <konqueror@gmx.de>
9639 * java/beans/beancontext/BeanContextChildSupport.java:
9640 Added serialVersionUID.
9641 * java/text/Collator.java: (compare): Made documentation HTML-aware.
9642 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
9643 * javax/naming/Name.java: Added serialVersionUID.
9645 2002-10-03 Adam Megacz <adam@xwt.org>
9647 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
9648 some functionality that isn't supported yet on WIN32.
9650 2002-10-03 Tom Tromey <tromey@redhat.com>
9652 * Makefile.in: Rebuilt.
9653 * Makefile.am (awt_java_source_files): Added new files.
9655 2002-10-03 Michael Koch <konqueror@gmx.de>
9657 * java/net/InetAddress.java
9658 (class InetAddress): Removed final keyword.
9659 (equals): Fixed typo.
9660 (getByAddress): New method.
9662 2002-10-03 Michael Koch <konqueror@gmx.de>
9664 * java/awt/dnd/Autoscroll.java:
9665 New file, merge from Classpath.
9666 * java/awt/dnd/DragSourceAdapter.java:
9667 (dragExit): Fixed typos in argument type.
9668 (dragDropEnd): Fixed typos in argument type.
9669 * java/awt/dnd/DragSourceDropEvent.java:
9670 New file, merge from Classpath.
9671 * java/awt/dnd/DropTarget.java:
9672 Added stubs, merge from Classpath.
9673 * java/awt/dnd/DropTargetAdapter.java:
9674 New file, merge from Classpath.
9675 * java/awt/dnd/DropTargetContext.java:
9676 New file, merge from Classpath.
9677 * java/awt/dnd/DropTargetDragEvent.java:
9678 New file, merge from Classpath.
9679 * java/awt/dnd/DropTargetDropEvent.java:
9680 New file, merge from Classpath.
9681 * java/awt/dnd/DropTargetEvent.java:
9682 New file, merge from Classpath.
9683 * java/awt/dnd/DropTargetListener.java:
9684 New file, merge from Classpath.
9685 * java/awt/dnd/MouseDragGestureRecognizer.java:
9686 New file, merge from Classpath.
9687 * java/awt/dnd/peer/DropTargetContextPeer.java:
9688 New file, merge from Classpath.
9690 2002-10-03 Michael Koch <konqueror@gmx.de>
9692 * java/net/DatagramPacket.java
9693 (setLength): Fixed typo and be HTML-aware.
9694 * java/net/InetSocketAddress.java
9695 (InetSocketAddress): Correct initialization of hostname, fixed typo.
9696 (equals): Added comment about equality of InetSocketAddress objects.
9697 * java/net/ServerSocket.java
9698 (accept): Added checks.
9699 (isClosed): New stubbed method.
9700 * java/net/SocketOptions.java: Reindention.
9701 * java/net/SocketPermission
9702 (SocketPermission): Documentation fixed.
9704 2002-10-03 Michael Koch <konqueror@gmx.de>
9706 * java/net/DatagramSocket.java
9707 (receive): Check with SecurityManager AFTER the packet is received,
9708 check if connected to multicast address, documentation added.
9709 (send): Only check SecurityManager if connected, check address of
9711 (connect): Implemented, documentation added.
9712 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
9713 * java/net/InetSocketAddress.java
9714 (whole file): Reindented.
9715 (hostname): New attribute.
9716 (InetSocketAddress): Initialize new attribute.
9717 (getAddress): Documentation added.
9718 (getHostName): Documentation added.
9719 (getPort): Documentation added.
9720 (hashCode): Documentation added.
9721 (isUnresolved): Documentation added.
9722 (toString): Conform to output of JDK 1.4.1, documentation added.
9723 * java/net/MulticastSocket.java
9724 (joinGroup): Removed FIXME, documentation added.
9725 (leaveGroup): Removed FIXME, documentation added.
9726 (send): Documentation added.
9727 * java/net/Socket.java
9728 (inputShutdown): New variable.
9729 (outputShutdown): New variable.
9730 (Socket): Initialize new variables.
9731 (getRemoteSocketAddress): Check if connected.
9732 (shutdownInput): Set new variable.
9733 (shutdownOutput): Set new variable.
9734 (isConnected): New method.
9735 (isClosed): New method.
9736 (isInputShutdown): New method.
9737 (isOutputShutdown): New method.
9738 * java/net/URLStreamHandler.java
9739 (URLStreamHandler): New method.
9740 (openConnection): Added documentation.
9741 (parseURL): Added documentation.
9742 (getHostAddress): New method.
9743 (getDefaultPort): New method.
9745 2002-10-02 Tom Tromey <tromey@redhat.com>
9747 * java/rmi/activation/ActivationDesc.java,
9748 java/rmi/activation/ActivationGroupDesc.java,
9749 java/rmi/activation/ActivationGroupID.java,
9750 java/rmi/activation/ActivationID.java: New versions from
9753 2002-09-30 Bo Thorsen <bo@suse.de>
9755 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
9757 2002-09-30 Tom Tromey <tromey@redhat.com>
9759 * java/io/ObjectInputStream.java (resolveProxyClass): New method
9761 * Makefile.in: Rebuilt.
9762 * Makefile.am (rmi_java_source_files): Added new files.
9763 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
9764 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
9765 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
9767 * gnu/java/rmi/dgc/DGCImpl.java,
9768 gnu/java/rmi/dgc/DGCImpl_Skel.java,
9769 gnu/java/rmi/dgc/DGCImpl_Stub.java,
9770 gnu/java/rmi/registry/RegistryImpl_Skel.java,
9771 gnu/java/rmi/registry/RegistryImpl_Stub.java,
9772 gnu/java/rmi/server/RMIHashes.java,
9773 gnu/java/rmi/server/RMIObjectInputStream.java,
9774 gnu/java/rmi/server/RMIObjectOutputStream.java,
9775 gnu/java/rmi/server/UnicastConnection.java,
9776 gnu/java/rmi/server/UnicastConnectionManager.java,
9777 gnu/java/rmi/server/UnicastRef.java,
9778 gnu/java/rmi/server/UnicastServer.java,
9779 gnu/java/rmi/server/UnicastServerRef.java,
9780 java/rmi/MarshalledObject.java,
9781 java/rmi/server/RMIClassLoader.java,
9782 java/rmi/server/RemoteObject.java,
9783 java/rmi/server/UnicastRemoteObject.java,
9784 java/security/SecureClassLoader.java: Merged from Classpath.
9786 2002-09-29 Anthony Green <green@redhat.com>
9788 * java/lang/reflect/UndeclaredThrowableException.java: New file.
9789 Imported from GNU Classpath.
9790 * java/lang/reflect/natProxy.cc: New file.
9791 * java/lang/reflect/InvocationHandler.java: New file. Imported
9793 * java/lang/reflect/Proxy.java: New file. Imported from GNU
9795 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
9797 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
9798 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
9800 * gcj/javaprims.h ("Java"): Add new classes.
9801 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
9802 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
9803 java/lang/reflect/Proxy$$ProxyType.h): And this.
9804 (inner_nat_headers): Add these new headers.
9805 (ordinary_java_source_files): Add new files.
9806 (nat_source_files): Add new file.
9807 * Makefile.in: Rebuilt.
9809 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
9811 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
9812 a single configuration.
9814 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9816 * java/util/TimeZone.java (getDSTSavings): New method.
9817 Fixes PR libgcj/7786.
9819 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9821 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
9822 to see if `the_method == 0' before looking up vtable index.
9823 Fixes PR libgcj/7709.
9825 2002-09-25 Tom Tromey <tromey@redhat.com>
9827 * java/lang/natClassLoader.cc:
9828 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
9829 * resolve.cc: Include NoClassDefFoundError.h, not
9830 ClassNotFoundException.h.
9831 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
9833 * defineclass.cc: Don't include ClassNotFoundException.h.
9835 * resolve.cc: Include StringBuffer.
9836 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
9838 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
9839 allocated but not initialized.
9841 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9843 Fix for PR libgcj/7766:
9844 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
9845 (getNextEntry): Set it.
9846 (closeEntry): Likewise.
9849 (available): Use it.
9851 2002-09-25 Michael Koch <konqueror@gmx.de>
9853 * java/net/DatagramSocket.java
9854 (DatagramSocket): Initialize new instance variables.
9855 (close): Reset new instance variables.
9856 (getLocalAddress): Remove unneeded SecurityManager usage.
9857 (getLocalPort): Check if socket is already bound.
9858 (isConnected): New method.
9859 (getInetAddress): Implemented.
9860 (getPort): Better Implementation, documentation fixed.
9861 (getRemoteSocketAddress): New method.
9862 * java/net/JarURLConnection.java
9863 (element): Typo fixed.
9864 (getMainAttributes): New method.
9865 (getAttributes): New method (stub only).
9866 (getManifest): New method (stub only).
9867 * java/net/NetPermission.java: Added serialVersionsUID.
9868 * java/net/Socket.java
9869 (connect): Check blocking mode of associated channel,
9870 documentation added.
9871 (getLocalSocketAddress): Better implementation.
9872 (getRemoteSocketAddress): Implemented.
9873 (isBound): New method.
9874 (setSendBufferSize): Documentation added.
9875 * java/net/SocketAddress.java: Added serialVersionsUID.
9876 * java/net/SocketPermission.java: Added serialVersionsUID.
9878 (URL): Wrap for shorter lines, initialize new instance variables,
9879 documentation added.
9880 (equals): Check new instance variables too.
9881 (getContent): Documentation added.
9882 (getPath): Documentation added.
9883 (getAuthority): New method.
9884 (getHost): Documentation added.
9885 (getPort): Documentation added.
9886 (getDefaultPort): New method.
9887 (getProtocol): Documentation added.
9888 (getUserInfo): Documentation added.
9889 (set): Initialize new instance variables, documentation added.
9890 * java/net/URLStreamHandler.java
9891 (setURL): New method.
9892 * java/net/natPlainDatagramSocketImpl.cc
9893 (connect): Fix exception name.
9894 (disconnect): Fix exception name.
9896 2002-09-25 Michael Koch <konqueror@gmx.de>
9898 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
9899 * java/nio/channels/DatagramChannel.java:
9900 extends AbstractSelectableChannel
9901 * java/nio/channels/ServerSocketChannel.java:
9902 extends AbstractSelectableChannel
9903 * java/nio/channels/SocketChannel.java:
9904 extends AbstractSelectableChannel
9905 * Makefile.am (ordinary_java_source_files):
9906 java/nio/channels/spi/AbstractSelectableChannel.java added.
9907 * Makefile.in: Regenerated.
9909 2002-09-25 Michael Koch <konqueror@gmx.de>
9911 * java/net/DatagramSocket.java
9912 (DatagramSocket): Exception documentation added.
9913 (bind): Exception documentation added, addded SecurityManager check,
9914 added SocketAddress type check.
9915 (getSoTimeout): Check impl.
9916 (receive): Fix SecurityManager check, check impl, documentation added.
9917 (send): Check channel mode, documentation added.
9918 (connect): New method.
9919 (disconnect): Implemented.
9920 (getLocalSocketAddress): New method.
9921 (getReceiveBufferSize): Check impl.
9922 (setReuseAddress): Check impl.
9923 (getReuseAddress): Check impl.
9924 (setBroadcast): Check impl.
9925 (getBroadcast): Check impl.
9926 (setTrafficClass): Check impl, Documentation cleared.
9927 (getTrafficClass): Check impl.
9928 (getSendBufferSize): Check impl.
9929 (setReceiveBufferSize): Check impl, documentation added.
9930 (setSendBufferSize): Documentation added.
9931 (setDatagramSocketImplFactory): New method.
9932 * java/net/HttpURLConnection.java
9933 (HTTP_INTERNAL_ERROR): The correct code is 500.
9934 (HTTP_NOT_IMPLEMENTED): Added new constant.
9935 (setFollowRedirects): Documentation added.
9936 (getInstanceFollowRedirects): New method.
9937 (setInstanceFollowRedirects): New method.
9938 (setRequestMethod): Documentation added.
9939 (getResponseCode): Documentation added.
9940 (getResponseMessage): Documentation added.
9941 * java/net/JarURLConnection.java
9942 (JarURLConnection): protected since JDK 1.4.
9943 (getJarEntry): java.io.IOException to IOException, documentation added.
9944 (getJarFile): Documentation added.
9945 * java/net/ServerSocket.java
9946 (ServerSocket): Private to public, exception added.
9947 (ServerSocket): java.io.IOException to IOException, documentation added.
9948 (bind): Check socket address type, documentation added.
9949 (bind): java.io.IOException to IOException, documentation added.
9950 (accept): Documentation added.
9951 (implAccept): Check ch is not non-blocking, documentation added.
9952 (setSoTimeout): Documentation fixed.
9953 (setReceiveBufferSize): Documentation added.
9954 * java/net/Socket.java
9955 (Socket): Documentation added.
9956 (bind): Documentation added.
9957 (connect): Check socket address type, documentation added.
9958 (getRemoteSocketAddress): New method.
9959 (getLocalSocketAddress): New method.
9960 (setSoLinger): Documentation added.
9961 (getReuseAddress): New method.
9962 (setReuseAddress): New method.
9963 (getTrafficClass): New method.
9964 (setTrafficClass): New method.
9965 * java/net/URLStreamHandler.java
9966 (openConnection): java.io.IOException to IOException.
9967 (parseURL): Documentation added.
9968 (sameFile): public to protected, documentation added.
9969 (setURL): Documentation added.
9970 * java/nio/IllegalBlockingModeException.java: New file.
9971 * Makefile.am (ordinary_java_source_files):
9972 added java/nio/IllegalBlockingModeException.java
9973 * Makefile.in: Regenerated.
9975 2002-09-25 Michael Koch <konqueror@gmx.de>
9977 * java/net/DatagramPacket
9978 (DatagramPacket): Exception documentation added.
9979 (setData): Likewise.
9980 (setSocketAddress): Likewise.
9981 * java/net/DatagramSocketImpl.java
9982 (peek): Documentation addded.
9983 (peekData): Documentation addded.
9984 (send): Documentation addded.
9985 (receive): Documentation addded.
9986 (connect): New method.
9987 (disconnect): New method.
9988 (joinGroup): New abstract method.
9989 (leaveGroup): New abstract method.
9990 * java/net/InetSocketAddress.java
9991 (InetSocketAddress): Documentation added.
9992 (equals): final keyword added.
9993 (getAddress): final keyword added.
9994 (getHostName): final keyword added.
9995 (getPort): final keyword added.
9996 (hashCode): final keyword added.
9997 (isUnresolved): final keyword added.
9998 * java/net/MulticastSocket.java
9999 (MulticastSocket): Documentation added.
10000 (MulticastSocket): New method.
10001 (joinGroup): Documentation added.
10002 (joinGroup): New method.
10003 (leaveGroup): Documentation added.
10004 (leaveGroup): New method.
10005 (send): Documentation added.
10006 * java/net/NetworkInterface.java
10007 (getByName): Documentation added.
10008 (getByInetAddress): Documentation added.
10009 (getNetworkInterfaces): Documentation added.
10010 * java/net/PlainDatagramSocketImpl.java
10011 (connect): New method.
10012 (disconnect): New method.
10013 * java/net/SocketImpl.java
10014 (create): Documentation added.
10015 (shutdownInput): Convert public to protected, as it always was.
10016 (shutdownOutput): Convert public to protected, as it always was.
10017 * java/net/SocketOptions.java
10018 (whole file): Reintented.
10019 * java/net/URLClassLoader.java
10020 (URLClassLoader): SecurityManager check added, documentation added.
10021 (findResources): Documentation added.
10022 (findClass): Documentation added.
10023 (newInstance): More correct method arguments.
10024 * java/net/URLConnection.java
10025 (connect): Documentation added.
10026 (getContent): Documentation added.
10027 (getPermission): Documentation added.
10028 (getInputStream): Documentation added.
10029 (getOutputStream): Documentation added.
10030 (setDoInput): Throw correct exception, documentation added.
10031 (setDoOutput): Throw correct exception, documentation added.
10032 (setAllowUserInteraction): Throw correct exception, documentation added.
10033 (setUseCaches): Throw correct exception, documentation added.
10034 (setIfModifiedSince): Throw correct exception, documentation added.
10035 (setRequestProperty): Throw exception, documentation added.
10036 (addRequestProperty): Throw exception, documentation added.
10037 (getRequestProperty): Throw exception, documentation added.
10038 (getRequestProperties): Documentation added.
10039 (setContentHandlerFactory): Documentation added.
10040 (guessContentTypeFromName): protected to public.
10041 (setFileNameMap): Documentation added.
10042 * java/net/URLDecoder.java
10043 (URLDecoder): New method.
10044 (decode): Documentation added.
10045 (whole file): Reindented.
10046 * java/net/URLEncoder.java
10047 (encode): Documentation added.
10048 * java/net/natPlainDatagramSocketImpl.cc
10049 (connect): New method.
10050 (disconnect): New method.
10051 * javax/naming/RefAddr:
10052 (addrType): addrType was never final.
10053 (equals): Fix typo in method name.
10054 * javax/naming/BinaryRefAddr:
10055 (equals): Fix typo in method name.
10057 2002-09-22 Tom Tromey <tromey@redhat.com>
10059 Fix for PR libgcj/6576:
10060 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
10061 didn't find a given bundle.
10062 (getBundle): Don't require base bundle.
10063 (setParent): Removed old comment.
10064 (tryLocalBundle): Try components even if preceding components were
10067 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10069 * Makefile.am (all-multi): Fix multilib parallel build.
10071 2002-09-21 Michael Koch <konqueror@gmx.de>
10073 * java/net/Socket.java
10074 (sendUrgentData): New method.
10075 (getChannel): New method.
10076 * java/net/ServerSocket.java
10077 (getChannel): New method.
10078 (isBound): New method.
10079 * java/net/DatagramSocket.java
10080 (DatagramSocket): Two new methods.
10081 (bind): New method.
10082 (getChannel): New method.
10083 (isBound): New method.
10084 (send): Added newline to to make shorter lines.
10085 * java/net/PlainDatagramSocketImpl.java
10086 (mcastGrp): Added argument.
10087 (join): Use new mcastGrp.
10088 (leave): Use new mcastGrp.
10089 (joinGroup): New method.
10090 (leaveGroup): New method.
10091 * java/net/natPlainDatagramSocketImpl.cc
10092 (mcastGrp): Added argument, no yet really implemented.
10093 (getOption): Added newline for shorter lines.
10094 * java/net/natPlainSocketImpl.cc
10095 (read, setOption, getOption): Added newline for shorter lines.
10097 2002-09-19 Tom Tromey <tromey@redhat.com>
10099 * java/lang/ClassLoader.java (resolveClass0): Set cause for
10100 newly-created exception.
10102 2002-09-18 Michael Koch <konqueror@gmx.de>
10104 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10105 java/util/regex/PatternSyntaxException.java:
10106 Merge with classpath, new files.
10107 * Makefile.am (core_java_source_files):
10108 Added java/util/regex/Matcher.java,
10109 java/util/regex/Pattern.java,
10110 java/util/regex/PatternSyntaxException.java
10111 * Makefile.in: Regenerated.
10112 * include/config.h.in: Added HAVE_NET_IF_H.
10113 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
10114 Removed #if 0 ... #endif.
10116 2002-09-17 Michael Koch <konqueror@gmx.de>
10118 * java/net/natNetworkInterface.cc:
10119 Removed unneed and yet wrong includes.
10121 2002-09-17 Michael Koch <konqueror@gmx.de>
10123 * java/net/NetworkInterface.java: New file.
10124 * java/net/natNetworkInterface.java: New file.
10125 * configure.in: Added check for net/if.h.
10126 * configure: Regenerated.
10128 (ordinary_java_source_files): Added NetworkInterface.java.
10129 (nat_source_files): Added natNetworkInterface.cc.
10130 * Makefile.in: Regenerated.
10132 2002-09-16 Tom Tromey <tromey@redhat.com>
10134 * java/net/URLClassLoader.java (findClass): Code source for a
10135 class from a jar is not necessarily a jar: URL.
10137 2002-09-16 Michael Koch <konqueror@gmx.de>
10139 * java/lang/AssertionError.java:
10140 Merge with classpath, fixes HTML.
10141 * java/rmi/server/LogStream.java:
10142 Merge with classpath, fixes some constants.
10143 * java/net/server/RemoteServer.java:
10144 Merge with classpath, adds serialVersionUID.
10145 * javax/naming/BinaryRefAddr.java:
10146 Merge with classpath, s/equal/equals/.
10147 * javax/naming/NamingException.java:
10148 Merge with classpath, fixed typo.
10149 * javax/naming/RefAddr.java:
10150 Merge with classpath, s/equal/equals/.
10151 * java/awt/Toolkit.java:
10152 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
10155 2002-09-15 Adam Megacz <adam@xwt.org>
10157 * java/net/natPlainSocketImpl.cc: fixed typo.
10159 2002-09-15 Adam Megacz <adam@xwt.org>
10161 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
10162 which don't work on Win32 (yet).
10164 2002-09-14 Adam Megacz <adam@xwt.org>
10166 * java/net/natPlainDatagramSocket.cc: removed #include
10167 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
10168 * include/win32.h: included definition for IP_TOS to satisfy
10169 natPlainDatagramSocket.cc
10171 2002-09-13 Michael Koch <konqueror@gmx.de>
10173 * java/net/DatagramPacket.java (DatagramPacket):
10174 Added linebreak for 80 chars per line.
10175 * java/net/JarURLConection.java
10176 (getInputStreami, getJarEntry): Likewise.
10177 * java/net/SocketPErmission.java
10178 (SocketPermission class docu, implies): Likewise.
10179 * java/net/URLClassLoader.java (findResources): Likewise.
10180 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
10182 2002-09-13 Michael Koch <konqueror@gmx.de>
10184 * java/nio/channels/DatagramChannel.java,
10185 java/nio/channels/ServerSocketChannel.java
10186 java/nio/channels/SocketChannel.java:
10187 New dummy files to make java.net fully JDK 1.4 compatible
10188 * Makefile.am (ordinary_java_source_files): Added
10189 java/net/DatagramSocketImplFactory.java (long forgotten),
10190 java/nio/SocketChannel.java,
10191 java/nio/ServerSocketChannel.java,
10192 java/nio/DatagramChannel.java
10193 * Makefile.in: Regenrated.
10195 2002-09-12 Michael Koch <konqueror@gmx.de>
10197 * java/net/DatagramSocketImpl.java
10198 (peekData): New method.
10199 * java/net/PlainDatagramSocketImpl.java
10200 (peekData): New method.
10201 * java/net/natPlainDatagramSocketImpl.cc
10202 (peekData): New method.
10203 * java/net/URLConnection
10204 (getPermission): New method.
10205 (addRequestProperty): New method.
10206 (getRequestProperties): New method.
10207 (guessContentTypeFromStream): New method, not really implemented.
10208 (URLConnection): Added/updated documentation.
10209 (connect): Added/updated documentation.
10210 (getURL): Added/updated documentation.
10211 (getContentLength): Added/updated documentation.
10212 (getContentType: Added/updated documentation.
10213 (getContentEncoding): Added/updated documentation.
10214 (getExpiration): Added/updated documentation.
10215 (getDate): Added/updated documentation.
10216 (getLastModified): Added/updated documentation.
10217 (getHeaderField): Added/updated documentation.
10218 (getHeaderFields): Added/updated documentation.
10219 (getHeaderFieldInt): Added/updated documentation.
10220 (getHeaderFieldDate): Added/updated documentation.
10221 (getHeaderFieldKey): Added/updated documentation.
10222 (getContent): Added/updated documentation.
10223 (getInputStream): Added/updated documentation.
10224 (getOutputStream): Added/updated documentation.
10225 (toString): Added/updated documentation.
10226 (setDoInput): Added/updated documentation.
10227 (getDoInput): Added/updated documentation.
10228 (setDoOutput): Added/updated documentation.
10229 (getDoOutput): Added/updated documentation.
10230 (setAllowUserInteraction): Added/updated documentation.
10231 (getAllowUserInteraction): Added/updated documentation.
10232 (setDefaultAllowUserInteraction): Added/updated documentation.
10233 (getDefaultAllowUserInteraction): Added/updated documentation.
10234 (setUseCaches): Added/updated documentation.
10235 (getUseCaches): Added/updated documentation.
10236 (setIfModifiedSince): Added/updated documentation.
10237 (getIfModifiedSince): Added/updated documentation.
10238 (getDefaultUseCaches): Added/updated documentation.
10239 (setDefaultUseCaches): Added/updated documentation.
10240 (setRequestProperty): Added/updated documentation.
10241 (getRequestProperty): Added/updated documentation.
10242 (setDefaultRequestProperty): Added/updated documentation.
10243 (getDefaultRequestProperty): Added/updated documentation.
10244 (setContentHandlerFactory): Added/updated documentation.
10245 (guessContentTypeFromName): Added/updated documentation.
10246 (getFileNameMap): Added/updated documentation.
10247 (setFileNameMap): Added/updated documentation.
10249 2002-09-11 Michael Koch <konqueror@gmx.de>
10251 * java/net/Socket.java
10252 (Socket): protected to public (since JDK 1.4). Added @specnote.
10253 (bind): New method.
10254 (connect): Two new methods.
10255 (getKeepalive): Get correct socket option.
10256 (setKeepalive): Set correct socket option.
10257 (getOOBInline): New method.
10258 (setOOBInline): New method.
10259 * java/net/ServerSocket.java
10260 (bind): Two new methods.
10261 (getInetAddress): Reimplemented, catch exception.
10262 (getLocalSocketAddress): New method.
10263 (setReuseAddress): New method.
10264 (getReuseAdress): New method.
10265 (setReceiveBufferSize): New method.
10266 (getReceiveBufferSize): New method.
10267 (toString): Made string JDK 1.4 compliant.
10269 2002-09-10 Michael Koch <konqueror@gmx.de>
10271 * java/net/SocketImpl.java
10272 (connect): New method.
10273 (supportsUrgentData): New method.
10274 (sendUrgentData): New method.
10275 * java/net/PlainSocketImpl.java
10276 (connect): One new method and two new implementation.
10277 (sendUrgentData): New method.
10278 * java/natPlainSocketImpl.cc
10279 (connect): Arguments changed, added support for timeouts.
10280 (getOption): Another __java_boolean to jboolean.
10282 2002-09-07 Adam Megacz <adam@xwt.org>
10284 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
10285 definition of IP_TOS.
10287 2002-09-04 Michael Koch <konqueror@gmx.de>
10289 * java/net/DatagramSocket.java
10290 (DatagramSocket): Added documentation.
10292 (getLocalAddress): Likewise.
10293 (getLocalPort): Likewise.
10294 (receive): Likewise.
10296 (setSoTimeout): Likewise.
10297 (connect): New method.
10298 (disconnect): New method.
10299 (getInetAddress): New method (FIXME)
10300 (getPort): New method.
10301 (setReuseAddress): New method.
10302 (getReuseAddress): New method.
10303 (setBroadcast): New method.
10304 (getBroadcast): New method.
10305 (setTrafficClass): New method.
10306 (getTrafficClass): New method.
10307 * java/net/MulticastSocket.java):
10308 (getTTL): Added @see in documentation.
10309 (setTTL): Added @see in documentation.
10310 (setLoopbackMode): New method.
10311 (getLoopbackMode): New method.
10312 * java/net/PlainSocketImpl.java:
10313 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
10314 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10315 * java/net/PlainDatagramSocketImpl.java
10316 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
10317 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10318 * java/net/natPlainSocketImpl.cc
10319 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10320 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10321 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10322 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10323 This should also fix SO_KEEPALIVE
10324 * java/net/natPlainDatagramSocketImpl.cc
10325 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10326 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10327 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10328 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10330 2002-09-04 Michael Koch <konqueror@gmx.de>
10332 * java/net/SocketOptions.java: added static variables to be JDK 1.4
10333 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
10334 IP_MULTICAST_LOOP, IP_TOS
10336 2002-09-03 Tom Tromey <tromey@redhat.com>
10338 * java/lang/Class.h (_getDeclaredMethod): Declare.
10339 (_getMethod): Now private.
10340 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
10341 getDeclaredMethod. Now returns NULL on failure.
10342 * java/lang/Class.java (_getDeclaredMethod): Declare.
10343 (getDeclaredMethod): No longer native; implements access checks.
10345 2002-09-01 Mark Wielaard <mark@klomp.org>
10347 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
10348 (sanitizeStack): Correctly reset unknown and interpreter counters,
10349 detect interpreter runtime frames.
10350 (demangleInterpreterMethod): New method.
10351 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
10352 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
10353 filling in addrs[].
10355 2002-09-02 Michael Koch <konqueror@gmx.de>
10357 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
10358 re-indented documentation.
10360 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10362 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
10363 public, per 1.4 spec. Fixes PR libgcj/7785.
10365 2002-08-30 Jeff Sturm <jsturm@one-point.com>
10367 * Makefile.in: Rebuilt.
10368 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
10370 2002-08-29 Tom Tromey <tromey@redhat.com>
10372 * java/net/JarURLConnection.java (getCertificates): New method
10374 * java/net/URLClassLoader.java (URLClassLoader): Extends
10376 (definePackage): New method from Classpath.
10377 (getPermissions): Likewise.
10378 (newInstance): Likewise.
10379 (findClass): Construct CodeSource for new class (from Classpath).
10380 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
10382 * java/net/URL.java (getUserInfo): New method.
10383 (set(String,String,int,String,String,String,String,String)): New
10385 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
10386 (shutdownInput, shutdownOutput): Declare.
10387 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
10389 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
10390 (getOption): Likewise.
10391 (shutdownInput): New method.
10392 (shutdownOutput): Likewise.
10393 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
10395 (getOption): Likewise.
10396 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
10397 * java/net/Socket.java (setKeepAlive): New method.
10398 (getKeepAlive): Likewise.
10399 (shutdownInput, shutdownOutput): New methods.
10401 2002-08-29 Michael Koch <konqueror@gmx.de>
10403 * java/net/DatagramPacket.java: updated to JDK 1.4 API
10405 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
10407 DatagramPacket(byte[] buf, int length, SocketAddress address),
10408 void setSocketAddress(SocketAddress address)
10409 public SocketAddress getSocketAddress()
10411 2002-08-29 Tom Tromey <tromey@redhat.com>
10413 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
10414 ftruncate is missing.
10415 * configure, include/config.h.in: Rebuilt.
10416 * acconfig.h (HAVE_FTRUNCATE): Mention.
10417 * configure.in: Check for ftruncate.
10419 2002-08-29 Tom Tromey <tromey@redhat.com>
10421 * include/jvm.h (struct _Jv_frame_info): New structure.
10422 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
10424 (lookupInterp): New method.
10425 (getAddrAsString): Use _Jv_frame_info.
10426 (dladdrLookup): Likewise.
10427 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
10429 (lookupInterp): Declare.
10430 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
10431 (fillInStackTrace): Collect information on interpreted frames.
10432 Use _Jv_frame_info.
10433 * interpret.cc: Include Thread.h.
10434 (run): Create and push _Jv_MethodChain object.
10435 (_Jv_EndOfInterpreter): New global.
10436 * java/lang/Thread.java (interp_frame): New field.
10437 * include/java-interp.h (struct _Jv_MethodChain): New structure.
10438 Include NameFinder.h.
10440 2002-08-28 Tom Tromey <tromey@redhat.com>
10442 * java/lang/Class.h: Include Package.h.
10443 (Class::getProtectionDomain): Declare.
10444 (Class::getPackage): Declare.
10446 2002-08-28 Michael Koch <konqueror@gmx.de>
10448 * java/net/InetSocketAddress.java: Added some documentation and argument
10449 checks for the port numbers.
10450 * java/net/DatagramSocketImplFactory.java: New file.
10452 2002-08-28 Michael Koch <konqueror@gmx.de>
10454 * java/net/Authenticator.java: added some documentation.
10456 2002-08-27 Tom Tromey <tromey@redhat.com>
10458 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
10460 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
10462 2002-08-27 Michael Koch <konqueror@gmx.de>
10464 * java/net/BindException.java,
10465 java/net/JarURLConnection.java,
10466 java/net/FileNameMap.java,
10467 java/net/HttpURLConnection.java,
10468 java/net/InetSocketAddress.java,
10469 java/net/DatagramPacket.java,
10470 java/net/DatagramSocket.java,
10471 java/net/DatagramSocketImpl.java,
10472 java/net/MulticastSocket.java,
10473 java/net/PasswordAuthentication.java,
10474 java/net/ServerSocket.java,
10475 java/net/Socket.java,
10476 java/net/URLClassLoader.java,
10477 java/net/URLConnection.java: add/update of some @since/@deprecated
10479 2002-08-27 Tony Kimball <alk@pobox.com>
10480 Tom Tromey <tromey@redhat.com>
10482 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
10484 (::close): Removed.
10485 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
10486 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
10487 (::close): Removed.
10488 (PlainSocketImpl::close): Use NATIVE_CLOSE.
10489 * include/win32.h (getcwd): Removed declaration. Include io.h.
10491 2002-08-25 Adam Megacz <adam@xwt.org>
10493 * include/win32.h (getcwd): copied function declaration as
10494 temporary fix for header confusion.
10496 2002-08-24 Mark Wielaard <mark@klomp.org>
10498 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
10499 (core_java_source_files): Add VMThrowable.java and NameFinder.java
10500 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
10501 and natNameFinder.cc.
10502 * Makefile.in: Regenerate.
10503 * prims.cc: Use trace_enabled from VMThrowable.
10504 * name-finder.cc: Removed.
10505 * gcj/javaprims.h: Add class VMThrowable.
10506 * gnu/gcj/runtime/NameFinder.java: New file.
10507 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
10508 * include/name-finder.h: Removed.
10509 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
10510 method stackTraceString().
10511 (printStackTrace (PrintWriter)): Likewise.
10512 (stackTraceString): Complete rewrite of old printStackTrace using
10514 (stackTraceStringBuffer): New helper method for stackTraceString().
10515 (fillInStackTrace): Delegate to VMTrowable.
10516 (getStackTrace): Likewise.
10517 (getStackTrace0): Removed.
10518 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
10519 (setStackTrace): Copy given array.
10520 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
10521 * java/lang/VMThrowable.java: New class.
10522 * java/lang/natVMThrowable.cc: New file.
10524 2003-08-23 Michael Koch <konqueror@gmx.de>
10526 * java/net/URLConnection.java,
10527 java/netJarURLConnection.java,
10528 gnu/gcj/protocol/core/Connection.java,
10529 gnu/gcj/protocol/file/Connection.java,
10530 gnu/gcj/protocol/http/Connection.java: Added implementation of
10533 2002-08-22 Tom Tromey <tromey@redhat.com>
10535 * gij.cc (help): Document -cp and -classpath.
10536 (main): Handle -classpath.
10538 2002-08-21 Tom Tromey <tromey@redhat.com>
10540 * Makefile.in: Rebuilt.
10541 * Makefile.am (ordinary_java_source_files): Added
10542 SocketAddress.java, InetSocketAddress.java.
10543 * java/net/PortUnreachableException.java: Merged with Classpath.
10544 * java/net/SocketTimeoutException.java: Likewise.
10545 * java/net/URISyntaxException.java: Likewise.
10546 * java/net/SocketAddress.java: New class from Classpath.
10547 * java/net/InetSocketAddress.java: Likewise.
10549 2003-08-21 Michael Koch <konqueror@gmx.de>
10551 * java/net/Authenticator.java: updated JDK 1.4
10552 * java/net/ContentHandler.java: updated JDK 1.4
10554 2002-08-20 Michael Koch <konqueror@gmx.de>
10556 * java/net/URISyntaxException.java: New file.
10557 * java/net/SocketTimeoutException.java: New file.
10558 * java/net/PortUnreachableException.java: New file.
10559 * Makefile.am: Updated.
10560 * Makefile.in: Rebuilt.
10562 2002-08-18 Mark Wielaard <mark@klomp.org>
10564 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
10565 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
10566 MessageDigestSpi (fixes Classpath bug #783).
10568 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10570 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
10571 (startProcess): Allocate path for chdir in async-signal-safe way.
10573 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10575 Fix for PR libgcj/7570 and PR libgcj/7578:
10576 * java/lang/natPosixProcess.cc: Include java/io/File.h.
10577 (startProcess): Handle new `dir' argument.
10578 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
10580 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
10582 (startProcess): Likewise.
10583 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
10585 * java/lang/Runtime.java (execInternal): Added `dir' argument.
10586 (exec): Don't create new environment if ENV==null. Pass DIR to
10588 * java/lang/natRuntime.cc: Include java/io/File.h.
10589 (execInternal): Added `dir' argument.
10591 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
10593 * java/io/RandomAccessFile.java (skipBytes): Return number of
10596 2002-08-01 Mark Wielaard <mark@klomp.org>
10598 Reenable patch since shared library troubles on powerpc are solved:
10599 * gnu/java/security/provider/Gnu.java: Reference all implementation
10600 classes by using Class.getName().
10601 * gnu/java/security/der/DEREncodingException.java,
10602 gnu/java/security/provider/DERReader.java,
10603 gnu/java/security/provider/DERWriter.java,
10604 gnu/java/security/provider/DSAKeyPairGenerator.java,
10605 gnu/java/security/provider/DSAParameterGenerator.java,
10606 gnu/java/security/provider/DSAParameters.java,
10607 gnu/java/security/provider/DSASignature.java,
10608 gnu/java/security/provider/GnuDSAPrivateKey.java,
10609 gnu/java/security/provider/GnuDSAPublicKey.java,
10610 gnu/java/security/provider/MD5.java,
10611 gnu/java/security/util/Prime.java: New classes
10612 * Makefile.am (ordinary_java_source_files): Add above files.
10613 * Makefile.in: Regenerate.
10614 * gnu/java/security/provider/DefaultPolicy.java
10615 (getPermissions): Don't maintain static class variable of Permissions.
10616 * gnu/java/security/provider/SHA.java
10617 (engineUpdate): algorithm change.
10618 (engineDigest): algorithm change.
10620 2002-08-09 Mark Wielaard <mark@klomp.org>
10622 * java/awt/image/MemoryImageSource.java: Change constructor to take
10624 * java/awt/Graphics2D.java: Uncomment methods that can now be
10626 * java/awt/GridBagLayout.java: New stub implementation.
10627 * javax/swing/text/html/HTML.java: Stub implementation.
10628 * javax/swing/text/html/parser/ParserDelegator.java: New stub
10631 * Makefile.am: Add new files.
10632 * Makefile.in: Rebuilt.
10634 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10636 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
10637 methods in Graphics2D.
10639 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10641 AWT/Swing merge from GNU Classpath.
10643 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
10644 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
10645 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
10646 java/awt/color/ProfileDataException.java,
10647 java/awt/CompositeContext.java, java/awt/Composite.java,
10648 java/awt/ContainerOrderFocusTraversalPolicy.java,
10649 java/awt/datatransfer/FlavorTable.java,
10650 java/awt/DefaultFocusTraversalPolicy.java,
10651 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
10652 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
10653 java/awt/dnd/DragGestureListener.java,
10654 java/awt/dnd/DragGestureRecognizer.java,
10655 java/awt/dnd/DragSourceAdapter.java,
10656 java/awt/dnd/DragSourceContext.java,
10657 java/awt/dnd/DragSourceDragEvent.java,
10658 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
10659 java/awt/dnd/DragSourceListener.java,
10660 java/awt/dnd/DragSourceMotionListener.java,
10661 java/awt/dnd/DropTarget.java,
10662 java/awt/dnd/InvalidDnDOperationException.java,
10663 java/awt/dnd/peer/DragSourceContextPeer.java,
10664 java/awt/event/AWTEventListenerProxy.java,
10665 java/awt/event/MouseWheelEvent.java,
10666 java/awt/event/MouseWheelListener.java,
10667 java/awt/event/WindowFocusListener.java,
10668 java/awt/event/WindowStateListener.java,
10669 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
10670 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
10671 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
10672 java/awt/geom/FlatteningPathIterator.java,
10673 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
10674 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
10675 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
10676 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
10677 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
10678 java/awt/image/ImagingOpException.java,
10679 java/awt/image/RasterFormatException.java,
10680 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
10681 java/awt/image/VolatileImage.java,
10682 java/awt/image/WritableRenderedImage.java,
10683 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
10684 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
10685 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
10686 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
10687 java/awt/PageAttributes.java, java/awt/print/Book.java,
10688 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
10689 java/awt/print/Paper.java, java/awt/print/Printable.java,
10690 java/awt/print/PrinterAbortException.java,
10691 java/awt/print/PrinterException.java,
10692 java/awt/print/PrinterGraphics.java,
10693 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
10694 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
10695 java/awt/Stroke.java, java/awt/TexturePaint.java,
10696 javax/accessibility/AccessibleAction.java,
10697 javax/accessibility/AccessibleBundle.java,
10698 javax/accessibility/AccessibleComponent.java,
10699 javax/accessibility/AccessibleContext.java,
10700 javax/accessibility/AccessibleEditableText.java,
10701 javax/accessibility/AccessibleExtendedComponent.java,
10702 javax/accessibility/AccessibleExtendedTable.java,
10703 javax/accessibility/AccessibleHyperlink.java,
10704 javax/accessibility/AccessibleHypertext.java,
10705 javax/accessibility/AccessibleIcon.java,
10706 javax/accessibility/Accessible.java,
10707 javax/accessibility/AccessibleKeyBinding.java,
10708 javax/accessibility/AccessibleRelation.java,
10709 javax/accessibility/AccessibleRelationSet.java,
10710 javax/accessibility/AccessibleResourceBundle.java,
10711 javax/accessibility/AccessibleRole.java,
10712 javax/accessibility/AccessibleSelection.java,
10713 javax/accessibility/AccessibleState.java,
10714 javax/accessibility/AccessibleStateSet.java,
10715 javax/accessibility/AccessibleTable.java,
10716 javax/accessibility/AccessibleTableModelChange.java,
10717 javax/accessibility/AccessibleText.java,
10718 javax/accessibility/AccessibleValue.java,
10719 javax/swing/AbstractAction.java,
10720 javax/swing/AbstractButton.java,
10721 javax/swing/AbstractCellEditor.java,
10722 javax/swing/AbstractListModel.java,
10723 javax/swing/AbstractSet.java, javax/swing/Action.java,
10724 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
10725 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
10726 javax/swing/border/CompoundBorder.java,
10727 javax/swing/border/EmptyBorder.java,
10728 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
10729 javax/swing/border/LineBorder.java,
10730 javax/swing/border/MatteBorder.java,
10731 javax/swing/border/TitledBorder.java,
10732 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
10733 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
10734 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
10735 javax/swing/CellRendererPane.java,
10736 javax/swing/colorchooser/AbstractColorChooserPanel.java,
10737 javax/swing/colorchooser/ColorChooserComponentFactory.java,
10738 javax/swing/colorchooser/ColorSelectionModel.java,
10739 javax/swing/colorchooser/DefaultColorSelectionModel.java,
10740 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
10741 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
10742 javax/swing/DefaultBoundedRangeModel.java,
10743 javax/swing/DefaultButtonModel.java,
10744 javax/swing/DefaultCellEditor.java,
10745 javax/swing/DefaultCellRenderer.java,
10746 javax/swing/DefaultComboBoxModel.java,
10747 javax/swing/DefaultDesktopManager.java,
10748 javax/swing/DefaultFocusManager.java,
10749 javax/swing/DefaultListCellRenderer.java,
10750 javax/swing/DefaultListModel.java,
10751 javax/swing/DefaultListSelectionModel.java,
10752 javax/swing/DefaultSingleSelectionModel.java,
10753 javax/swing/DesktopManager.java,
10754 javax/swing/event/AncestorEvent.java,
10755 javax/swing/event/AncestorListener.java,
10756 javax/swing/event/CaretEvent.java,
10757 javax/swing/event/CaretListener.java,
10758 javax/swing/event/CellEditorListener.java,
10759 javax/swing/event/ChangeEvent.java,
10760 javax/swing/event/ChangeListener.java,
10761 javax/swing/event/DocumentEvent.java,
10762 javax/swing/event/DocumentListener.java,
10763 javax/swing/event/EventListenerList.java,
10764 javax/swing/event/HyperlinkEvent.java,
10765 javax/swing/event/HyperlinkListener.java,
10766 javax/swing/event/InternalFrameAdapter.java,
10767 javax/swing/event/InternalFrameEvent.java,
10768 javax/swing/event/InternalFrameListener.java,
10769 javax/swing/event/ListDataEvent.java,
10770 javax/swing/event/ListDataListener.java,
10771 javax/swing/event/ListSelectionEvent.java,
10772 javax/swing/event/ListSelectionListener.java,
10773 javax/swing/event/MenuDragMouseEvent.java,
10774 javax/swing/event/MenuDragMouseListener.java,
10775 javax/swing/event/MenuEvent.java,
10776 javax/swing/event/MenuKeyEvent.java,
10777 javax/swing/event/MenuKeyListener.java,
10778 javax/swing/event/MenuListener.java,
10779 javax/swing/event/MouseInputAdapter.java,
10780 javax/swing/event/MouseInputListener.java,
10781 javax/swing/event/PopupMenuEvent.java,
10782 javax/swing/event/PopupMenuListener.java,
10783 javax/swing/event/SwingPropertyChangeSupport.java,
10784 javax/swing/event/TableColumnModelEvent.java,
10785 javax/swing/event/TableColumnModelListener.java,
10786 javax/swing/event/TableModelEvent.java,
10787 javax/swing/event/TableModelListener.java,
10788 javax/swing/event/TreeExpansionEvent.java,
10789 javax/swing/event/TreeExpansionListener.java,
10790 javax/swing/event/TreeModelEvent.java,
10791 javax/swing/event/TreeModelListener.java,
10792 javax/swing/event/TreeSelectionEvent.java,
10793 javax/swing/event/TreeSelectionListener.java,
10794 javax/swing/event/TreeWillExpandListener.java,
10795 javax/swing/event/UndoableEditEvent.java,
10796 javax/swing/event/UndoableEditListener.java,
10797 javax/swing/filechooser/FileFilter.java,
10798 javax/swing/filechooser/FileSystemView.java,
10799 javax/swing/filechooser/FileView.java,
10800 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
10801 javax/swing/Icon.java, javax/swing/ImageIcon.java,
10802 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
10803 javax/swing/JApplet.java, javax/swing/JButton.java,
10804 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
10805 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
10806 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
10807 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
10808 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
10809 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
10810 javax/swing/JLayeredPane.java, javax/swing/JList.java,
10811 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
10812 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
10813 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
10814 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
10815 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
10816 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
10817 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
10818 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
10819 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
10820 javax/swing/JTextField.java, javax/swing/JTextPane.java,
10821 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
10822 javax/swing/JToolTip.java, javax/swing/JTree.java,
10823 javax/swing/JViewport.java, javax/swing/JWindow.java,
10824 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
10825 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
10826 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
10827 javax/swing/MenuSelectionManager.java,
10828 javax/swing/MutableComboBoxModel.java,
10829 javax/swing/OverlayLayout.java,
10830 javax/swing/plaf/ActionMapUIResource.java,
10831 javax/swing/plaf/basic/BasicBorders.java,
10832 javax/swing/plaf/basic/BasicButtonUI.java,
10833 javax/swing/plaf/basic/BasicCheckBoxUI.java,
10834 javax/swing/plaf/basic/BasicDefaults.java,
10835 javax/swing/plaf/basic/BasicGraphicsUtils.java,
10836 javax/swing/plaf/basic/BasicIconFactory.java,
10837 javax/swing/plaf/basic/BasicLabelUI.java,
10838 javax/swing/plaf/basic/BasicListUI.java,
10839 javax/swing/plaf/basic/BasicLookAndFeel.java,
10840 javax/swing/plaf/basic/BasicOptionPaneUI.java,
10841 javax/swing/plaf/basic/BasicPanelUI.java,
10842 javax/swing/plaf/basic/BasicRadioButtonUI.java,
10843 javax/swing/plaf/basic/BasicScrollPaneUI.java,
10844 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
10845 javax/swing/plaf/basic/BasicTextUI.java,
10846 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10847 javax/swing/plaf/basic/BasicTreeUI.java,
10848 javax/swing/plaf/basic/BasicViewportUI.java,
10849 javax/swing/plaf/BorderUIResource.java,
10850 javax/swing/plaf/ButtonUI.java,
10851 javax/swing/plaf/ColorChooserUI.java,
10852 javax/swing/plaf/ColorUIResource.java,
10853 javax/swing/plaf/ComboBoxUI.java,
10854 javax/swing/plaf/ComponentInputMapUIResource.java,
10855 javax/swing/plaf/ComponentUI.java,
10856 javax/swing/plaf/DesktopIconUI.java,
10857 javax/swing/plaf/DesktopPaneUI.java,
10858 javax/swing/plaf/DimensionUIResource.java,
10859 javax/swing/plaf/FileChooserUI.java,
10860 javax/swing/plaf/FontUIResource.java,
10861 javax/swing/plaf/IconUIResource.java,
10862 javax/swing/plaf/InputMapUIResource.java,
10863 javax/swing/plaf/InsetsUIResource.java,
10864 javax/swing/plaf/InternalFrameUI.java,
10865 javax/swing/plaf/LabelUI.java,
10866 javax/swing/plaf/ListUI.java,
10867 javax/swing/plaf/MenuBarUI.java,
10868 javax/swing/plaf/MenuItemUI.java,
10869 javax/swing/plaf/OptionPaneUI.java,
10870 javax/swing/plaf/PanelUI.java,
10871 javax/swing/plaf/PopupMenuUI.java,
10872 javax/swing/plaf/ProgressBarUI.java,
10873 javax/swing/plaf/RootPaneUI.java,
10874 javax/swing/plaf/ScrollBarUI.java,
10875 javax/swing/plaf/ScrollPaneUI.java,
10876 javax/swing/plaf/SeparatorUI.java,
10877 javax/swing/plaf/SliderUI.java,
10878 javax/swing/plaf/SplitPaneUI.java,
10879 javax/swing/plaf/TabbedPaneUI.java,
10880 javax/swing/plaf/TableHeaderUI.java,
10881 javax/swing/plaf/TableUI.java,
10882 javax/swing/plaf/TextUI.java,
10883 javax/swing/plaf/ToolBarUI.java,
10884 javax/swing/plaf/ToolTipUI.java,
10885 javax/swing/plaf/TreeUI.java,
10886 javax/swing/plaf/UIResource.java,
10887 javax/swing/plaf/ViewportUI.java,
10888 javax/swing/ProgressMonitorInputStream.java,
10889 javax/swing/ProgressMonitor.java,
10890 javax/swing/Renderer.java,
10891 javax/swing/RepaintManager.java,
10892 javax/swing/RootPaneContainer.java,
10893 javax/swing/Scrollable.java,
10894 javax/swing/ScrollPaneConstants.java,
10895 javax/swing/ScrollPaneLayout.java,
10896 javax/swing/SingleSelectionModel.java,
10897 javax/swing/SizeRequirements.java,
10898 javax/swing/SizeSequence.java,
10899 javax/swing/SwingConstants.java,
10900 javax/swing/SwingUtilities.java,
10901 javax/swing/table/AbstractTableModel.java,
10902 javax/swing/table/DefaultTableCellRenderer.java,
10903 javax/swing/table/DefaultTableColumnModel.java,
10904 javax/swing/table/DefaultTableModel.java,
10905 javax/swing/table/TableCellEditor.java,
10906 javax/swing/table/TableCellRenderer.java,
10907 javax/swing/table/TableColumn.java,
10908 javax/swing/table/TableColumnModel.java,
10909 javax/swing/table/TableModel.java,
10910 javax/swing/text/AbstractDocument.java,
10911 javax/swing/text/AttributeSet.java,
10912 javax/swing/text/BadLocationException.java,
10913 javax/swing/text/Caret.java,
10914 javax/swing/text/CharacterIterator.java,
10915 javax/swing/text/ComponentView.java,
10916 javax/swing/text/DefaultCaret.java,
10917 javax/swing/text/DefaultEditorKit.java,
10918 javax/swing/text/Document.java,
10919 javax/swing/text/EditorKit.java,
10920 javax/swing/text/Element.java,
10921 javax/swing/text/GapContent.java,
10922 javax/swing/text/JTextComponent.java,
10923 javax/swing/text/Keymap.java,
10924 javax/swing/text/MutableAttributeSet.java,
10925 javax/swing/text/PlainDocument.java,
10926 javax/swing/text/PlainEditorKit.java,
10927 javax/swing/text/Position.java,
10928 javax/swing/text/Segment.java,
10929 javax/swing/text/StyledDocument.java,
10930 javax/swing/text/StyledEditorKit.java,
10931 javax/swing/text/Style.java,
10932 javax/swing/text/TextAction.java,
10933 javax/swing/text/ViewFactory.java,
10934 javax/swing/text/View.java,
10935 javax/swing/Timer.java,
10936 javax/swing/ToggleButtonModel.java,
10937 javax/swing/ToolTipManager.java,
10938 javax/swing/tree/AbstractLayoutCache.java,
10939 javax/swing/tree/DefaultMutableTreeNode.java,
10940 javax/swing/tree/DefaultTreeCellEditor.java,
10941 javax/swing/tree/DefaultTreeCellRenderer.java,
10942 javax/swing/tree/DefaultTreeModel.java,
10943 javax/swing/tree/DefaultTreeSelectionModel.java,
10944 javax/swing/tree/ExpandVetoException.java,
10945 javax/swing/tree/FixedHeightLayoutCache.java,
10946 javax/swing/tree/MutableTreeNode.java,
10947 javax/swing/tree/RowMapper.java,
10948 javax/swing/tree/TreeCellEditor.java,
10949 javax/swing/tree/TreeCellRenderer.java,
10950 javax/swing/tree/TreeModel.java,
10951 javax/swing/tree/TreeNode.java,
10952 javax/swing/tree/TreePath.java,
10953 javax/swing/tree/TreeSelectionModel.java,
10954 javax/swing/tree/VariableHeightLayoutCache.java,
10955 javax/swing/UIDefaults.java,
10956 javax/swing/UIManager.java,
10957 javax/swing/undo/AbstractUndoableEdit.java,
10958 javax/swing/undo/CannotRedoException.java,
10959 javax/swing/undo/CannotUndoException.java,
10960 javax/swing/undo/CompoundEdit.java,
10961 javax/swing/undo/StateEditable.java,
10962 javax/swing/undo/StateEdit.java,
10963 javax/swing/undo/UndoableEdit.java,
10964 javax/swing/undo/UndoableEditSupport.java,
10965 javax/swing/undo/UndoManager.java,
10966 javax/swing/UnsupportedLookAndFeelException.java,
10967 javax/swing/ViewportLayout.java,
10968 javax/swing/WindowConstants.java: New files, from GNU Classpath.
10970 * java/awt/ActiveEvent.java,
10971 java/awt/Adjustable.java, java/awt/AWTError.java,
10972 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
10973 java/awt/AWTException.java, java/awt/AWTPermission.java,
10974 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
10975 java/awt/Color.java, java/awt/Component.java,
10976 java/awt/ComponentOrientation.java, java/awt/Container.java,
10977 java/awt/datatransfer/MimeTypeParseException.java,
10978 java/awt/datatransfer/Transferable.java,
10979 java/awt/datatransfer/UnsupportedFlavorException.java,
10980 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
10981 java/awt/event/ActionListener.java,
10982 java/awt/event/AdjustmentEvent.java,
10983 java/awt/event/AdjustmentListener.java,
10984 java/awt/event/AWTEventListener.java,
10985 java/awt/event/ComponentAdapter.java,
10986 java/awt/event/ComponentEvent.java,
10987 java/awt/event/ComponentListener.java,
10988 java/awt/event/ContainerAdapter.java,
10989 java/awt/event/ContainerEvent.java,
10990 java/awt/event/ContainerListener.java,
10991 java/awt/event/FocusAdapter.java,
10992 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
10993 java/awt/event/HierarchyBoundsAdapter.java,
10994 java/awt/event/HierarchyBoundsListener.java,
10995 java/awt/event/HierarchyEvent.java,
10996 java/awt/event/HierarchyListener.java,
10997 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
10998 java/awt/event/InputMethodListener.java,
10999 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
11000 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
11001 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
11002 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
11003 java/awt/event/MouseListener.java,
11004 java/awt/event/MouseMotionAdapter.java,
11005 java/awt/event/MouseMotionListener.java,
11006 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
11007 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
11008 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
11009 java/awt/event/WindowListener.java, java/awt/Font.java,
11010 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
11011 java/awt/geom/Ellipse2D.java,
11012 java/awt/geom/IllegalPathStateException.java,
11013 java/awt/geom/Line2D.java,
11014 java/awt/geom/NoninvertibleTransformException.java,
11015 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
11016 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
11017 java/awt/geom/RoundRectangle2D.java,
11018 java/awt/GraphicsConfiguration.java,
11019 java/awt/IllegalComponentStateException.java,
11020 java/awt/image/IndexColorModel.java,
11021 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
11022 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
11023 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
11024 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
11025 java/awt/MenuItem.java, java/awt/PaintContext.java,
11026 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
11027 java/awt/Polygon.java, java/awt/PrintGraphics.java,
11028 java/awt/PrintJob.java, java/awt/Rectangle.java,
11029 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
11030 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
11031 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
11033 * java/awt/im/spi/InputMethod.java,
11034 java/awt/im/spi/InputMethodContext.java,
11035 java/awt/im/spi/InputMethodDescriptor.java,
11036 java/awt/image/renderable/ContextualRenderedImageFactory.java,
11037 java/awt/image/renderable/ParameterBlock.java,
11038 java/awt/image/renderable/RenderContext.java,
11039 java/awt/image/renderable/RenderableImage.java,
11040 java/awt/image/renderable/RenderableImageOp.java,
11041 java/awt/image/renderable/RenderableImageProducer.java,
11042 java/awt/image/renderable/RenderedImageFactory.java: New files from
11045 * gnu/java/awt/EventModifier.java,
11046 gnu/java/awt/image/ImageDecoder.java,
11047 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
11049 * gnu/awt/xlib/XGraphicsConfiguration.java,
11050 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
11053 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
11056 * Makefile.am: Add new files.
11057 * Makefile.in: Rebuilt.
11059 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11061 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
11062 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
11063 findResource, getResources, findResources): Add javadoc from classpath.
11064 (getSystemResources): Implemented.
11066 2002-08-01 Mark Wielaard <mark@klomp.org>
11068 Revert patch that breaks libgcj shared library on powerpc:
11069 * gnu/java/security/provider/Gnu.java: Reverse referencing all
11070 implementation classes by using Class.getName(). Uses Strings again.
11071 * gnu/java/security/der/DEREncodingException.java,
11072 gnu/java/security/provider/DERReader.java,
11073 gnu/java/security/provider/DERWriter.java,
11074 gnu/java/security/provider/DSAKeyPairGenerator.java,
11075 gnu/java/security/provider/DSAParameterGenerator.java,
11076 gnu/java/security/provider/DSAParameters.java,
11077 gnu/java/security/provider/DSASignature.java,
11078 gnu/java/security/provider/GnuDSAPrivateKey.java,
11079 gnu/java/security/provider/GnuDSAPublicKey.java,
11080 gnu/java/security/provider/MD5.java,
11081 gnu/java/security/util/Prime.java: Removed.
11082 * Makefile.am (ordinary_java_source_files): Remove above files.
11083 * Makefile.in: Regenerate.
11084 * gnu/java/security/provider/DefaultPolicy.java
11085 (getPermissions): Revert to maintaining static class variable of
11087 * gnu/java/security/provider/SHA.java
11088 (engineUpdate): Revert algorithm change.
11089 (engineDigest): Revert algorithm change.
11091 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
11093 * configure.host: Add SH support.
11094 * sysdep/sh/locks.h: New file.
11096 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11098 * java/awt/Frame.java (Frame): Remove println calls.
11100 2002-07-30 Jeff Sturm <jsturm@one-point.com>
11102 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
11103 * configure: Rebuilt.
11105 2002-07-27 Alan Modra <amodra@bigpond.net.au>
11107 * sysdep/powerpc/locks.h: Formatting.
11110 (compare_and_swap): Use _LARX and _STCX.
11111 (compare_and_swap_release): Likewise.
11113 2002-07-26 Tom Tromey <tromey@redhat.com>
11115 * java/net/Authenticator.java: New version from Classpath.
11116 * java/net/DatagramSocketImpl.java: New version from Classpath.
11118 2002-07-27 Alan Modra <amodra@bigpond.net.au>
11120 * configure.host: Add powerpc64*-* entry.
11122 2002-07-26 Tom Tromey <tromey@redhat.com>
11124 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
11127 2002-07-24 Tom Tromey <tromey@redhat.com>
11129 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
11132 2002-07-24 Tom Tromey <tromey@redhat.com>
11133 Tony Kimball <alk@pobox.com>
11135 * java/io/natFileDescriptorWin32.cc (setLength): New method.
11136 * java/io/natFileDescriptorPosix.cc (setLength): New method.
11137 * java/io/RandomAccessFile.java (setLength): New method.
11138 * java/io/natFileDescriptorEcos.cc (setLength): New method.
11139 * java/io/FileDescriptor.java (setLength): New method.
11141 2002-07-24 Mark Wielaard <mark@klomp.org>
11143 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
11144 * java/io/ObjectInputStream.java (setBooleanField): Before setting
11145 field call setAccessible(true).
11146 (setByteField): Likewise.
11147 (setCharField): Likewise.
11148 (setDoubleField): Likewise.
11149 (setFloatField): Likewise.
11150 (setIntField): Likewise.
11151 (setLongField): Likewise.
11152 (setShortField): Likewise.
11153 (setObjectField): Likewise.
11155 2002-07-24 Tom Tromey <tromey@redhat.com>
11157 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
11158 use toString() to format array element.
11160 2002-07-23 Mark Wielaard <mark@klomp.org>
11162 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
11163 MessageDigestSpi (fixes Classpath bug #783).
11165 2002-07-21 Mark Wielaard <mark@klomp.org>
11167 * gnu/java/security/provider/Gnu.java: Reference all implementation
11168 classes by using Class.getName().
11170 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
11172 * java/lang/ieeefp.h: Add x86-64 support.
11173 * configure.in: Likewise.
11174 * configure.host: Likewise.
11175 * configure: Regenerated.
11176 * sysdep/x86-64/locks.h: New file with x86-64 locks.
11178 2002-07-16 Mark Wielaard <mark@klomp.org>
11180 * java/io/StreamTokenizer.java (pushBack): Update documentation.
11181 (whitespaceChars): call resetChar().
11183 2002-07-15 Tom Tromey <tromey@redhat.com>
11185 * Makefile.in: Rebuilt.
11186 * Makefile.am (awt_java_source_files): Added new files.
11187 * java/beans/ExceptionListener.java: Merged with Classpath.
11188 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
11189 * java/beans/PropertyChangeListener.java: Merged with Classpath.
11190 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
11191 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
11192 * java/beans/VetoableChangeListener.java: Merged with Classpath.
11193 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
11194 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
11196 2002-07-14 Mark Wielaard <mark@klomp.org>
11198 * gnu/java/security/der/DEREncodingException.java,
11199 gnu/java/security/provider/DERReader.java,
11200 gnu/java/security/provider/DERWriter.java,
11201 gnu/java/security/provider/DSAKeyPairGenerator.java,
11202 gnu/java/security/provider/DSAParameterGenerator.java,
11203 gnu/java/security/provider/DSAParameters.java,
11204 gnu/java/security/provider/DSASignature.java,
11205 gnu/java/security/provider/GnuDSAPrivateKey.java,
11206 gnu/java/security/provider/GnuDSAPublicKey.java,
11207 gnu/java/security/provider/MD5.java,
11208 gnu/java/security/util/Prime.java: New files from Classpath.
11209 * Makefile.am (ordinary_java_source_files): Add new files.
11210 * Makefile.in: Regenerate.
11212 2002-07-14 C. Brian Jones <cbj@gnu.org>
11214 * gnu/java/security/provider/DefaultPolicy.java
11215 (getPermissions): do not maintain static class variable of
11217 * gnu/java/security/provider/SHA.java
11218 (engineUpdate): algorithm change
11219 (engineDigest): algorithm change
11221 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
11223 For PR libgcj/7292:
11224 * java/lang/Character.java (toString(char)): Now static.
11226 2002-07-12 Mark Wielaard <mark@klomp.org>
11228 * java/lang/natThrowable.cc (printRawStackTrace): removed.
11229 (getStackTrace0): new method.
11230 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
11231 (printStackTrace(PrintWriter)): replace with pure java implementation.
11232 (printRawStackTrace): removed.
11233 (getStackTrace0): new method.
11234 * java/lang/StackTraceElement.java (toString): add extra whitespace.
11235 * gcj/javaprims.h: regenerate class list.
11236 * include/name-finder.h (lookup): new returns StackTraceElement*.
11237 (method_name, file_name): fields removed.
11238 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
11239 (~_Jv_name_finder): close new descriptors.
11240 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
11241 (createStackTraceElement): new method.
11242 (lookup): returns StackTraceElement*, uses createStackTraceElement().
11244 2002-07-10 Tom Tromey <tromey@redhat.com>
11246 * configure: Rebuilt.
11247 * configure.in: Use `test' after `&&'. From Chris Faylor.
11249 2002-07-08 Mark Wielaard <mark@klomp.org>
11251 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
11252 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
11253 java.sql.DatabaseMetaData.TestJdbc20
11255 2002-07-05 Tony Kimball <alk@pobox.com>
11257 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
11259 2002-07-04 Tom Tromey <tromey@redhat.com>
11260 Jeff Sturm <jsturm@one-point.com>
11262 Fix for PR libgcj/7060:
11263 * java/lang/Class.h (_getMethod): Renamed from getMethod.
11264 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
11265 Recurse into superinterfaces. Don't throw NoSuchMethodException.
11266 * java/lang/Class.java (getMethod): New Java implementation;
11267 complies with spec.
11268 (_getMethod): New native method.
11270 2002-07-02 Tom Tromey <tromey@redhat.com>
11271 David Hovemeyer <daveho@cs.umd.edu>
11273 * java/text/ChoiceFormat.java
11274 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
11276 * java/text/MessageFormat.java
11277 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
11280 2002-07-01 Tom Tromey <tromey@redhat.com>
11282 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
11283 StringTokenizer on null string. For PR libgcj/7180.
11284 From daveho@cs.umd.edu.
11286 2002-06-24 Tom Tromey <tromey@redhat.com>
11288 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
11289 (IntegerClass): Likewise.
11290 * java/lang/natClass.cc (CloneableClass): Removed.
11291 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
11292 ConstructorClass): Likewise.
11293 * java/lang/natClassLoader.cc (CloneableClass): Removed.
11294 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
11295 SerializableClass): Likewise.
11296 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
11297 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
11298 LongClass, FloatClass, DoubleClass): Likewise.
11300 * verify.cc (branch_prepass): Updated for change to exception
11302 (verify_instructions_0): Likewise.
11303 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
11304 (handleExceptionTableEntry): Updated for change to exception
11306 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
11307 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
11308 (union _Jv_InterpPC): New.
11309 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
11310 (class _Jv_InterpMethod): Added new `prepared' field.
11311 (class _Jv_InterpMethod): Added `compile' method. Removed
11312 `continue1' and `find_exception'. Changed arguments to `run'.
11313 * interpret.cc (union insn_slot): New.
11314 (find_exception): Removed.
11315 (run_normal): Removed most logic.
11316 (run_synch_object): Likewise; also, use JvSynchronize.
11317 (run_synch_class): Likewise.
11319 (continue1): Renamed as `run'. Compile bytecode if required.
11320 Add new code to allow refinement of direct-threaded code at
11321 runtime. Handle exceptions.
11322 (SAVE_PC): Removed.
11323 (compile): New method.
11324 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
11325 (NULLARRAYCHECK): Don't use SAVE_PC.
11326 (pc_t): New typedef.
11327 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
11328 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
11330 2002-06-23 Tom Tromey <tromey@redhat.com>
11332 * configure: Rebuilt.
11333 * configure.in (INTERPRETER): New subst.
11334 (AM_RUNTESTFLAGS): Don't subst.
11336 * Makefile.in: Rebuilt.
11337 * Makefile.am ($(srcdir)/java/lang/Object.h,
11338 $(srcdir)/java/lang/Class.h): Added dummy targets.
11340 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11342 Reformat JDBC classes and add new JDK 1.4 classes and methods.
11344 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
11345 java/sql/Savepoint.java: New files.
11346 * java/sql/Array.java, java/sql/BatchUpdateException.java,
11347 java/sql/Blob.java, java/sql/CallableStatement.java,
11348 java/sql/Clob.java, java/sql/Connection.java,
11349 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
11350 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
11351 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
11352 java/sql/Ref.java, java/sql/ResultSet.java,
11353 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
11354 java/sql/SQLException.java, java/sql/SQLInput.java,
11355 java/sql/SQLOutput.java, java/sql/SQLWarning.java
11356 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
11357 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
11358 (JDK 1.4) specification.
11359 * javax/sql/ConnectionEvent.java,
11360 javax/sql/ConnectionEventListener.java,
11361 javax/sql/ConnectionPoolDataSource.java,
11362 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
11363 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
11364 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
11365 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
11366 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
11367 javax/sql/XADataSource.java: New files.
11368 * Makefile.am: Add new files.
11369 * Makefile.in: Rebuilt.
11371 2002-06-20 Tom Tromey <tromey@redhat.com>
11373 For PR libgcj/7073:
11374 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
11376 * defineclass.cc (handleClassBegin): Superclass for interface is
11379 2002-06-18 Tom Tromey <tromey@redhat.com>
11381 * gcj/javaprims.h: Updated class declaration list.
11382 * Makefile.in: Rebuilt.
11383 * Makefile.am (core_java_source_files): Removed
11384 BasicMapEntry.java.
11385 * java/util/BasicMapEntry.java: Removed.
11387 2002-06-18 Jeff Sturm <jsturm@one-point.com>
11389 * java/net/natPlainDatagramSocketImpl.cc (receive):
11390 Check bounds of argument to FD_SET.
11391 (setOption): Throw exception if socket is closed.
11393 * java/net/natPlainSocketImpl.cc (accept, read):
11394 Check bounds of argument to FD_SET.
11395 (setOption): Throw exception if socket is closed.
11397 2002-06-18 Tom Tromey <tromey@redhat.com>
11399 * gcj/javaprims.h: Updated class declaration list.
11400 * Makefile.in: Rebuilt.
11401 * Makefile.am (core_java_source_files): Added
11402 PropertyPermissionCollection.java.
11403 * java/lang/Thread.java (group, name): Now package-private.
11404 * java/lang/ThreadGroup.java: Re-merge with Classpath.
11405 * java/util/AbstractList.java: Likewise.
11406 * java/util/AbstractMap.java: Likewise.
11407 * java/util/Calendar.java: Likewise.
11408 * java/util/Collections.java: Likewise.
11409 * java/util/HashMap.java: Likewise.
11410 * java/util/Hashtable.java: Likewise.
11411 * java/util/LinkedHashMap.java: Likewise.
11412 * java/util/LinkedList.java: Likewise.
11413 * java/util/List.java: Likewise.
11414 * java/util/ListResourceBundle.java: Likewise.
11415 * java/util/Map.java: Likewise.
11416 * java/util/Observable.java: Likewise.
11417 * java/util/Properties.java: Likewise.
11418 * java/util/PropertyPermission.java: Likewise.
11419 * java/util/PropertyPermissionCollection.java: Likewise.
11420 * java/util/PropertyResourceBundle.java: Likewise.
11421 * java/util/Random.java: Likewise.
11422 * java/util/SimpleTimeZone.java: Likewise.
11423 * java/util/StringTokenizer.java: Likewise.
11424 * java/util/TimerTask.java: Likewise.
11425 * java/util/TreeMap.java: Likewise.
11426 * java/util/WeakHashMap.java: Likewise.
11427 * java/util/jar/Attributes.java: Likewise.
11428 * java/util/jar/JarException.java: Likewise.
11429 * java/util/jar/Manifest.java: Likewise.
11431 2002-06-17 Tom Tromey <tromey@redhat.com>
11433 * gcj/javaprims.h: Updated class declaration list.
11434 * Makefile.in: Rebuilt.
11435 * Makefile.am (core_java_source_files): Added new file.
11436 * java/util/EventListenerProxy.java: New file.
11437 * java/util/EventListener.java: Re-merge with Classpath.
11438 * java/util/EventObject.java: Re-merge with Classpath.
11440 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
11442 * java/lang/ClassNotFoundException.java: New Classpath version.
11444 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
11446 * java/rmi/activation/ActivateFailedException.java: Remerge from
11448 * java/rmi/activation/ActivationException.java: Ditto.
11449 * java/rmi/activation/UnknownGroupException.java: Ditto.
11450 * java/rmi/activation/UnknownObjectException.java: Ditto.
11451 * java/rmi/server/ExportException: Ditto.
11452 * java/rmi/server/ServerCloneException: Ditto.
11453 * java/rmi/server/ServerNotActiveException: Ditto.
11454 * java/rmi/server/SkeletonMismatchException: Ditto.
11455 * java/rmi/server/SkeletonNotFoundException: Ditto.
11456 * java/rmi/server/SocketSecurityException: Ditto.
11458 2002-06-16 Tom Tromey <tromey@redhat.com>
11460 * gcj/javaprims.h: Updated class declaration list.
11462 * java/io/LineNumberInputStream.java: Merged with Classpath.
11464 * java/lang/RuntimeException.java: Re-merge with Classpath.
11465 * java/util/ArrayList.java: Likewise.
11466 * java/util/Arrays.java: Likewise.
11467 * java/util/BitSet.java: Likewise.
11468 * java/util/Dictionary.java: Likewise.
11469 * java/util/IdentityHashMap.java: Likewise.
11470 * java/util/MissingResourceException.java: Likewise.
11471 * java/util/Observer.java: Likewise.
11472 * java/util/TooManyListenersException.java: Likewise.
11473 * java/util/zip/DataFormatException.java: Likewise.
11474 * java/util/zip/ZipException.java: Likewise.
11476 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
11478 * java/rmi/AccessException.java: Remerge from Classpath.
11479 * java/rmi/AlreadyBoundException.java: Ditto.
11480 * java/rmi/ConnectException.java: Ditto.
11481 * java/rmi/ConnectIOException.java: Ditto.
11482 * java/rmi/MarshalException.java: Ditto.
11483 * java/rmi/NoSuchObjectException.java: Ditto.
11484 * java/rmi/NotBoundException.java: Ditto.
11485 * java/rmi/RemoteException.java: Ditto.
11486 * java/rmi/RMISecurityException.java: Ditto.
11487 * java/rmi/ServerError.java: Ditto.
11488 * java/rmi/ServerException.java: Ditto.
11489 * java/rmi/ServerRuntimeException.java: Ditto.
11490 * java/rmi/StubNotFoundException.java: Ditto.
11491 * java/rmi/UnexpectedExcpetion.java: Ditto.
11492 * java/rmi/UnknownHostException.java: Ditto.
11493 * java/rmi/UnmarshalException.java: Ditto.
11495 2002-06-15 Tom Tromey <tromey@redhat.com>
11497 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
11498 * java/lang/ArithmeticException.java: Likewise.
11499 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
11500 * java/lang/ArrayStoreException.java: Likewise.
11501 * java/lang/Byte.java: Likewise.
11502 * java/lang/CharSequence.java: Likewise.
11503 * java/lang/ClassCastException.java: Likewise.
11504 * java/lang/ClassCircularityError.java: Likewise.
11505 * java/lang/ClassFormatError.java: Likewise.
11506 * java/lang/CloneNotSupportedException.java: Likewise.
11507 * java/lang/Cloneable.java: Likewise.
11508 * java/lang/Comparable.java: Likewise.
11509 * java/lang/Compiler.java: Likewise.
11510 * java/lang/Error.java: Likewise.
11511 * java/lang/ExceptionInInitializerError.java: Likewise.
11512 * java/lang/IllegalAccessError.java: Likewise.
11513 * java/lang/IllegalAccessException.java: Likewise.
11514 * java/lang/IllegalArgumentException.java: Likewise.
11515 * java/lang/IllegalMonitorStateException.java: Likewise.
11516 * java/lang/IllegalStateException.java: Likewise.
11517 * java/lang/IllegalThreadStateException.java: Likewise.
11518 * java/lang/IncompatibleClassChangeError.java: Likewise.
11519 * java/lang/IndexOutOfBoundsException.java: Likewise.
11520 * java/lang/InheritableThreadLocal.java: Likewise.
11521 * java/lang/InstantiationError.java: Likewise.
11522 * java/lang/InstantiationException.java: Likewise.
11523 * java/lang/InternalError.java: Likewise.
11524 * java/lang/InterruptedException.java: Likewise.
11525 * java/lang/LinkageError.java: Likewise.
11526 * java/lang/NegativeArraySizeException.java: Likewise.
11527 * java/lang/NoClassDefFoundError.java: Likewise.
11528 * java/lang/NoSuchFieldError.java: Likewise.
11529 * java/lang/NoSuchFieldException.java: Likewise.
11530 * java/lang/NoSuchMethodError.java: Likewise.
11531 * java/lang/NoSuchMethodException.java: Likewise.
11532 * java/lang/NullPointerException.java: Likewise.
11533 * java/lang/NumberFormatException.java: Likewise.
11534 * java/lang/OutOfMemoryError.java: Likewise.
11535 * java/lang/Process.java: Likewise.
11536 * java/lang/Runnable.java: Likewise.
11537 * java/lang/RuntimePermission.java: Likewise.
11538 * java/lang/SecurityException.java: Likewise.
11539 * java/lang/Short.java: Likewise.
11540 * java/lang/StackOverflowError.java: Likewise.
11541 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
11542 * java/lang/ThreadDeath.java: Likewise.
11543 * java/lang/ThreadLocal.java: Likewise.
11544 * java/lang/UnknownError.java: Likewise.
11545 * java/lang/UnsatisfiedLinkError.java: Likewise.
11546 * java/lang/UnsupportedClassVersionError.java: Likewise.
11547 * java/lang/UnsupportedOperationException.java: Likewise.
11548 * java/lang/VerifyError.java: Likewise.
11549 * java/lang/VirtualMachineError.java: Likewise.
11550 * java/lang/reflect/InvocationTargetException.java: Likewise.
11551 * java/net/BindException.java: Likewise.
11552 * java/net/ConnectException.java: Likewise.
11553 * java/net/MalformedURLException.java: Likewise.
11554 * java/net/NoRouteToHostException.java: Likewise.
11555 * java/net/ProtocolException.java: Likewise.
11556 * java/net/SocketException.java: Likewise.
11557 * java/net/UnknownHostException.java: Likewise.
11558 * java/net/UnknownServiceException.java: Likewise.
11560 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
11561 * java/io/CharConversionException.java: Likewise.
11562 * java/io/EOFException.java: Likewise.
11563 * java/io/FileNotFoundException.java: Likewise.
11564 * java/io/IOException.java: Likewise.
11565 * java/io/InterruptedIOException.java: Likewise.
11566 * java/io/InvalidClassException.java: Likewise.
11567 * java/io/InvalidObjectException.java: Likewise.
11568 * java/io/NotActiveException.java: Likewise.
11569 * java/io/NotSerializableException.java: Likewise.
11570 * java/io/ObjectStreamException.java: Likewise.
11571 * java/io/ObjectStreamConstants.java: Likewise.
11572 * java/io/OptionalDataException.java: Likewise.
11573 * java/io/PipedInputStream.java: Likewise.
11574 * java/io/PushbackInputStream.java: Likewise.
11575 * java/io/StreamCorruptedException.java: Likewise.
11576 * java/io/SyncFailedException.java: Likewise.
11577 * java/io/UTFDataFormatException.java: Likewise.
11578 * java/io/UnsupportedEncodingException.java: Likewise.
11579 * java/io/WriteAbortedException.java: Likewise.
11581 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
11583 * java/text/ChoiceFormat.java: Update comments from Classpath.
11584 * java/text/ParseException.java (serialVersionUID): New
11585 field from Classpath.
11586 * java/text/ParseException.java: Update formatting & comments
11589 2002-06-15 Tom Tromey <tromey@redhat.com>
11591 * java/util/zip/InflaterInputStream.java (read): Loop if data has
11592 been read but none output by inflater.
11593 * java/util/zip/natDeflater.cc (reset): Set is_finished.
11594 * java/util/zip/natInflater.cc (reset): Set dist_needed and
11596 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
11598 * java/util/zip/ZipFile.java: Replaced with Classpath version.
11599 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
11600 * java/util/zip/ZipInputStream.java: Replaced with Classpath
11602 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
11604 2002-06-13 Tom Tromey <tromey@redhat.com>
11606 * java/lang/natString.cc (init): Handle case where DONT_COPY is
11607 true and OFFSET!=0.
11608 * java/lang/String.java (String(char[],int,int,boolean): New
11610 * java/lang/Long.java: Imported new version from Classpath.
11611 * java/lang/Number.java: Likewise.
11612 * java/lang/Integer.java: Likewise.
11613 * java/lang/Long.java: Likewise.
11614 * java/lang/Float.java: Likewise.
11615 * java/lang/Boolean.java: Likewise.
11616 * java/lang/Double.java: Likewise.
11617 * java/lang/Void.java: Likewise.
11619 2002-06-12 Tom Tromey <tromey@redhat.com>
11621 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
11622 Fixes PR libgcj/6652.
11624 2002-06-10 Tom Tromey <tromey@redhat.com>
11626 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
11627 (Class::getPackagePortion): Likewise.
11628 * java/lang/Class.java (desiredAssertionStatus): New method from
11630 (getPackagePortion): Likewise.
11631 * java/lang/VMClassLoader.java (defaultAssertionStatus,
11632 packageAssertionStatus, classAssertionStatus): New methods from
11634 * java/lang/ClassLoader.java (defaultAssertionStatus,
11635 systemPackageAssertionStatus, packageAssertionStatus,
11636 systemClassAssertionStatus, classAssertionStatus): New fields from
11638 (setDefaultAssertionStatus, setPackageAssertionStatus,
11639 setClassAssertionStatus, clearAssertionStatus): New methods from
11641 * Makefile.in: Rebuilt.
11642 * Makefile.am (core_java_source_files): Added AssertionError.java.
11643 * java/lang/AssertionError.java: New from Classpath.
11645 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11647 * configure.host: Disable hash synchronization and slow_pthread_self
11650 2002-06-06 Adam Megacz <adam@xwt.org>
11652 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
11653 locking, just like the Sun JVM does.
11655 2002-06-05 H.J. Lu (hjl@gnu.org)
11657 * Makefile.am (libgcj_convenience.la): Revert the last change.
11658 (libgcj.la): Likewise.
11659 * Makefile.in: Regenerated.
11661 2002-06-04 H.J. Lu (hjl@gnu.org)
11663 * Makefile.am (libgcj_convenience.la): New target.
11664 (libgcj.la): Depend on libgcj_convenience.la.
11665 * Makefile.in: Regenerated.
11667 2002-06-04 H.J. Lu (hjl@gnu.org)
11669 * configure.in (--with-newlib): New option:
11670 Check ${with_newlib} instead of ${with_cross_host} for newlib.
11671 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
11673 * configure: Regenerated.
11675 2002-06-04 Tom Tromey <tromey@redhat.com>
11677 * java/util/natTimeZone.cc: Include <stdio.h>.
11679 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
11681 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
11682 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
11683 Set SIGNAL_HANDLER=include/s390-linux.h.
11684 * configure: Regenerate.
11685 * include/s390-linux.h: New file.
11687 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11689 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
11692 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11694 Merge JDK 1.4 java.security changes from classpath.
11696 * java/security/AccessControlException.java: Merge from Classpath.
11697 * java/security/AccessController.java: Likewise.
11698 * java/security/AllPermission.java: Likewise.
11699 * java/security/BasicPermission.java: Likewise.
11700 * java/security/Certificate.java: Likewise.
11701 * java/security/CodeSource.java: Likewise.
11702 * java/security/DigestException.java: Likewise.
11703 * java/security/DigestOutputStream.java: Likewise.
11704 * java/security/DomainCombiner.java: Likewise.
11705 * java/security/GeneralSecurityException.java: Likewise.
11706 * java/security/Guard.java: Likewise.
11707 * java/security/GuardedObject.java: Likewise.
11708 * java/security/InvalidAlgorithmParameterException.java: Likewise.
11709 * java/security/InvalidKeyException.java: Likewise.
11710 * java/security/InvalidParameterException.java: Likewise.
11711 * java/security/Key.java: Likewise.
11712 * java/security/KeyException.java: Likewise.
11713 * java/security/KeyManagementException.java: Likewise.
11714 * java/security/KeyStoreException.java: Likewise.
11715 * java/security/MessageDigest.java: Likewise.
11716 * java/security/NoSuchAlgorithmException.java: Likewise.
11717 * java/security/NoSuchProviderException.java: Likewise.
11718 * java/security/Permission.java: Likewise.
11719 * java/security/PermissionCollection.java: Likewise.
11720 * java/security/Permissions.java: Likewise.
11721 * java/security/Policy.java: Likewise.
11722 * java/security/Principal.java: Likewise.
11723 * java/security/PrivateKey.java: Likewise.
11724 * java/security/PrivilegedAction.java: Likewise.
11725 * java/security/PrivilegedActionException.java: Likewise.
11726 * java/security/PrivilegedExceptionAction.java: Likewise.
11727 * java/security/ProtectionDomain.java: Likewise.
11728 * java/security/ProviderException.java: Likewise.
11729 * java/security/PublicKey.java: Likewise.
11730 * java/security/SecureClassLoader.java: Likewise.
11731 * java/security/SecurityPermission.java: Likewise.
11732 * java/security/SignatureException.java: Likewise.
11733 * java/security/UnrecoverableKeyException.java: Likewise.
11734 * java/security/UnresolvedPermission.java: Likewise.
11735 * java/security/acl/AclNotFoundException.java: Likewise.
11736 * java/security/acl/LastOwnerException.java: Likewise.
11737 * java/security/acl/NotOwnerException.java: Likewise.
11738 * java/security/cert/CRLException.java: Likewise.
11739 * java/security/cert/CertificateEncodingException.java: Likewise.
11740 * java/security/cert/CertificateException.java: Likewise.
11741 * java/security/cert/CertificateExpiredException.java: Likewise.
11742 * java/security/cert/CertificateFactory.java: Likewise.
11743 * java/security/cert/CertificateNotYetValidException.java: Likewise.
11744 * java/security/cert/CertificateParsingException.java: Likewise.
11745 * java/security/spec/InvalidKeySpecException.java: Likewise.
11746 * java/security/spec/InvalidParameterSpecException.java: Likewise.
11748 * java/security/cert/CertPath.java: New file.
11749 * java/security/cert/CertPathBuilderException.java: New file.
11750 * java/security/cert/CertPathValidatorException.java: New file.
11751 * java/security/cert/CertStoreException.java: New file.
11753 * Makefile.am: Add new CertPath classes.
11754 * Makefile.in: Rebuilt.
11756 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
11758 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11760 Merge JDK 1.4 exception chaining support from classpath.
11762 * java/lang/Throwable.java: Merge 1.4 support from classpath.
11763 (stackTraceBytes): Rename from stackTrace.
11764 * java/lang/Exception.java: Merge from classpath.
11765 * java/lang/StackTraceElement: New file from classpath.
11766 * gcj/javaprims.h: Rebuild CNI namespace declarations.
11767 * Makefile.am: Add StackTraceElement.
11768 * Makefile.in: Rebuilt.
11770 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11772 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
11774 * Makefile.in: Rebuilt.
11776 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11778 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
11779 * configure.in: Likewise.
11780 * aclocal.m4: Regenerate.
11781 * configure: Regenerate.
11783 2002-05-13 Tom Tromey <tromey@redhat.com>
11785 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
11786 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
11787 Include platform.h.
11789 Fixes PR libgcj/6389:
11790 * Makefile.in: Rebuilt.
11791 * Makefile.am (nat_source_files): Added natTimeZone.cc.
11792 * java/util/natTimeZone.cc: New file.
11793 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
11794 * java/lang/System.java: Merged with Classpath.
11795 * java/lang/Runtime.java: Merged with Classpath.
11796 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
11798 (setIn0): Renamed from setIn; don't run security check.
11799 (setOut0): Renamed from setOut; don't run security check.
11800 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
11801 init_properties): Moved to natRuntime.cc.
11802 Moved many includes to natRuntime.cc.
11803 (isWordsBigEndian): New method.
11804 * java/lang/natRuntime.cc: Include Long.h, also other includes
11805 previously in natSystem.cc.
11806 (maxMemory): New function.
11807 (exitInternal): Renamed from `_exit'.
11809 (init): Don't set finalize_on_exit.
11810 (exitInternal): Use `finalizeOnExit'.
11811 (file_encoding, getpwuid_adaptor): New functions from
11813 (insertSystemProperties): New method, renamed from
11814 System::init_properties. Don't set user.timezone.
11815 (_load): Don't call checkLink.
11816 (execInternal): New method.
11817 (availableProcessors): Likewise.
11818 (nativeGetLibname): Likewise.
11820 2002-05-11 Mark Wielaard <mark@klomp.org>
11822 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
11824 (previous_internal): Likewise.
11826 2002-05-09 Tom Tromey <tromey@redhat.com>
11828 * jni.cc (_Jv_JNIFunctions): Fixed typo.
11830 * java/util/ResourceBundle.java: New version from Classpath.
11831 * java/util/Locale.java: Likewise.
11833 2002-05-09 Jakub Jelinek <jakub@redhat.com>
11835 * testsuite/lib/libjava.exp (libjava_arguments): Append all
11836 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
11839 2002-05-08 Mark Mitchell <mark@codesourcery.com>
11841 * libjava/Makefile.am (all_java_source_files): New variable.
11842 (all_java_class_files): Likewise.
11843 .java.class: New rule.
11844 (CLEANFILES): Remove tmp-list.
11845 * libjava/Makefile.in: Regenerated.
11847 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
11849 * testsuite/lib/libjava.exp (test_libjava_from_javac):
11850 Append .exe to executable names. Fix for cygwin.
11852 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
11854 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
11855 script entry, and set LD to it when configuring multilibs.
11856 * configure: Rebuilt.
11858 2002-05-07 Tom Tromey <tromey@redhat.com>
11860 * java/lang/natString.cc (unintern): Fixed typo.
11862 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
11864 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
11865 with -no-install on *-*-cygwin*.
11867 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
11869 * testsuite/lib/libjava.exp (test_libjava_from_source):
11870 Add comment explaining last patch
11872 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
11874 * testsuite/lib/libjava.exp (test_libjava_from_source):
11875 Append .exe to executable names. If no suffix is present,
11876 then ".exe" is added by default on win32. Harmless
11877 elsewhere so always do it.
11879 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
11880 Tom Tromey <tromey@redhat.com>
11882 * java/lang/natSystem.cc (getSystemTimeZone): Use
11883 HAVE_UNDERSCORE_TIMEZONE.
11884 * include/config.h.in: Rebuilt.
11885 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
11886 * aclocal.m4, configure: Rebuilt.
11887 * acinclude.m4: Run AC_EXEEXT.
11888 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
11889 Add test for `_timezone'.
11891 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
11893 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11894 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
11895 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11896 * Makefile.in: Rebuilt.
11898 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
11900 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
11901 use sigaction instead of __libc_sigaction.
11903 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11905 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
11906 (libjava_init): Use it to find libgcj.spec.
11907 (libjava_arguments): Likewise.
11909 2002-05-02 David S. Miller <davem@redhat.com>
11912 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
11913 __libc_sigaction on Sparc.
11915 2002-05-02 Jerome Marc <marcjero@yahoo.com>
11917 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
11918 sys/filio.h, if present.
11920 2002-04-30 Tom Tromey <tromey@redhat.com>
11922 * java/io/BufferedReader.java (fill): Handle case where markPos
11923 point to ignored \n. Fixes PR libgcj/6301.
11925 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
11927 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
11929 2002-04-29 Adam King <aking@dreammechanics.com>
11931 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
11932 of file in APPEND mode.
11934 2002-04-25 David S. Miller <davem@redhat.com>
11937 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
11938 program counter to next program counter minus 8. Update
11939 comments in this macro to explain why.
11941 2002-04-26 Tom Tromey <tromey@redhat.com>
11943 * verify.cc (construct_primitive_array_type) [void_type]: New
11945 (branch_prepass): Added dummy entries for unused instruction
11947 (verify_instructions_0): Likewise.
11948 * interpret.cc (continue1): Comment fix.
11949 * include/java-insns.h (op_xxxunusedxxx1): Removed.
11950 * Makefile.in: Rebuilt.
11951 * Makefile.am: Added -Wswitch-enum.
11953 2002-04-24 Tom Tromey <tromey@redhat.com>
11955 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
11956 correct length of UTF-8 encoded name. Strip leading `/'.
11957 (_Jv_RegisterResource): Use _Jv_Malloc.
11959 2002-04-23 Adam Megacz <adam@xwt.org>
11961 * win32.cc, include/win32.cc (backtrace): Added this function
11962 because Win32 does not supply it.
11964 2002-04-21 David S. Miller <davem@redhat.com>
11966 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
11967 magic instruction reading sequence.
11969 2002-04-21 Mark Wielaard <mark@klomp.org>
11971 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
11973 2002-04-19 David S. Miller <davem@redhat.com>
11975 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
11977 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
11978 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
11980 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
11982 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
11983 * sysdeps/sparc/locks.h: New file.
11984 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
11985 on all sparc Solaris configurations. Set to
11986 include/dwarf2-signal.h on sparc Linux.
11987 * configure: Regenerate
11988 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
11990 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
11992 * configure: Rebuilt.
11993 * configure.in (backtrace): Function doesn't work on IA-64.
11995 2002-04-17 Adam King <aking@dreammechanics.com>
11997 * java/io/File.java (normalizePath): Add Win32 support for auto
11998 conversion of a '/' path separator to Win32's '\' separator.
12000 2002-04-16 Tom Tromey <tromey@redhat.com>
12002 Fix for PR libgcj/6081:
12003 * Makefile.in: Rebuilt.
12004 * Makefile.am (install-data-local): Use GNU make trick to avoid
12007 2002-04-16 Adam King <aking@dreammechanics.com>
12008 Tom Tromey <tromey@redhat.com>
12010 * java/io/natFileWin32.cc (performList): Return the correct array
12011 type. Don't duplicate the creation of a File since it's already
12012 done earlier in the method and the existing code would cause a
12013 ArrayStoreException. Don't use fixed-size array.
12014 (_access, _stat, attr, getCanonicalPath, performMkdir,
12015 performRenameTo): Don't use fixed-size array.
12016 (getCanonicalPath): Use throw, not _Jv_Throw.
12018 2002-04-15 DJ Delorie <dj@redhat.com>
12020 * configure.in: Allow building in $srcdir.
12021 * configure: Regenerated.
12023 2002-04-14 Mark Wielaard <mark@klomp.org>
12025 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
12026 * java/net/natSocketImpl.cc (close): Likewise.
12028 2002-04-14 Mark Wielaard <mark@klomp.org>
12030 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
12032 2002-04-13 Adam King <aking@dreammechanics.com>
12034 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
12035 the f/F/d/D modifiers.
12037 2002-04-12 Anthony Green <green@redhat.com>
12039 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
12040 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
12041 * Makefile.in: Rebuilt.
12042 * configure.in: Substitute gcc_version.
12043 * configure: Rebuilt.
12045 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12047 * configure.host: Set can_unwind_signal on hosts which support it.
12048 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
12049 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
12050 exceptions and can_unwind_signal isn't set.
12051 * configure: Rebuilt.
12053 2002-04-11 Tom Tromey <tromey@redhat.com>
12055 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
12057 2002-04-11 Adam King <aking@dreammechanics.com>
12058 Tom Tromey <tromey@redhat.com>
12060 * include/jvm.h (_Jv_ThrowBadArrayIndex,
12061 _Jv_ThrowNullPointerException): Mark as noreturn.
12062 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
12063 and _Jv_free. Correctly invoke GetTempPath(). Indentation
12066 2002-04-10 Tom Tromey <tromey@redhat.com>
12068 * Makefile.in: Rebuilt.
12069 * Makefile.am (java/lang/Thread.h): Mark
12070 _Jv_AttachCurrentThreadAsDaemon as friend.
12071 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
12072 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
12073 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
12075 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
12076 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
12077 (_Jv_JNI_InvokeFunctions): Added
12078 _Jv_JNI_AttachCurrentThreadAsDaemon.
12079 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
12080 (JNI_GetDefaultJavaVMInitArgs): Likewise.
12081 (JNI_CreateJavaVM): Likewise.
12082 (_Jv_JNI_AttachCurrentThread): Likewise.
12083 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
12084 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
12085 (_Jv_JNIFunctions): Initialize new fields.
12086 (_Jv_JNI_NewDirectByteBuffer): New function.
12087 (_Jv_JNI_GetDirectBufferAddress): Likewise.
12088 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
12089 * include/jni.h (JNI_VERSION_1_4): New macro.
12090 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
12091 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
12092 (JNINativeInterface::NewDirectByteBuffer): New field.
12093 (JNINativeInterface::GetDirectBufferAddress): New field.
12094 (JNINativeInterface::GetDirectBufferCapacity): New field.
12095 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
12096 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
12097 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
12099 2002-04-09 Tom Tromey <tromey@redhat.com>
12101 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
12103 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
12105 Fix for PR libgcj/6187:
12106 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
12109 2002-04-07 Mark Wielaard <mark@klomp.org>
12111 * java/util/AbstractMap.java (putAll): Use entrySet size.
12112 (toString): Explicitly use getKey() and getValue().
12114 2002-04-07 Mark Wielaard <mark@klomp.org>
12116 * java/util/Hashtable.java (contains): Remove NullPointer check.
12117 (containsValue): Add NullPointer check.
12118 (remove): Always throw NullPointerException when key
12121 2002-04-07 Adam King <aking@dreammechanics.com>
12123 * java/lang/natSystem.cc (init_properties): Call new function
12124 _Jv_platform_initProperties.
12125 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
12126 support for the System properties os.name, os.arch, os.version,
12127 user.name, user.home, and user.dir.
12128 * include/posix.h, include/win32.h, posix.cc: New function
12129 _Jv_platform_initProperties.
12131 2002-04-06 Mark Wielaard <mark@klomp.org>
12133 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
12135 2002-04-06 Mark Wielaard <mark@klomp.org>
12137 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
12138 all of the remaining elements.
12139 * java/util/Vector.java (addAll(int,Collection)): Likewise.
12140 (removeRange): If toIndex == fromIndex do
12141 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12142 (removeAll): Always throw NullPointerException when collection is
12144 (retrainAll): Likewise.
12146 2002-04-05 Mark Wielaard <mark@klomp.org>
12148 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
12149 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12151 2002-04-05 Adam Megacz <adam@xwt.org>
12153 * exception.cc (abort): added static modifier
12155 2002-04-04 Adam Megacz <adam@xwt.org>
12157 * include/win32.h (_Jv_platform_close_on_exec): added inline
12160 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
12162 * configure.host: Add case statement to support generic port
12163 properties. Add *-*-freebsd* section.
12165 2002-04-04 Mark Wielaard <mark@klomp.org>
12167 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
12169 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
12170 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
12171 that depend on awt code and BufferedByteOutputStream.interrupt.
12173 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12175 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
12176 incorrect "hi" value when count > 40.
12178 2002-04-03 Mark Wielaard <mark@klomp.org>
12180 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
12183 2002-04-02 Tom Tromey <tromey@redhat.com>
12185 * java/lang/natClassLoader.cc (findClass): Compare against `3',
12188 2002-04-02 Mark Wielaard <mark@klomp.org>
12190 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
12191 list of testsuite crashers.
12193 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12195 * java/util/IdentityHashMap.java (put): Set new threshold correctly
12196 when resizing table.
12198 2002-04-01 Mark Wielaard <mark@klomp.org>
12200 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
12201 NegativeArraySizeException
12202 (clear(int)): Use sign extended shift.
12203 (flip(int)): Likewise.
12204 (get(int)): Likewise.
12205 (nextClearBit(int)): Likewise.
12206 (nextSetBit(int)): Likewise.
12207 (set(int)): Likewise.
12209 2002-04-01 Mark Wielaard <mark@klomp.org>
12211 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
12212 that can be compiled now and add testsuite crashers to ignore list.
12214 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
12216 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
12218 * libgcj.spec.in: Override libgcc, not lib.
12219 * libgcj-test.spec.in: Likewise.
12221 2002-03-29 Tom Tromey <tromey@redhat.com>
12223 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
12224 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
12226 2002-03-27 Jeff Sturm <jsturm@one-point.com>
12228 * java/net/PlainDatagramSocketImpl.java
12229 (close): Use native implementation.
12230 (finalize): New method.
12232 * java/net/PlainSocketImpl.java (finalize): New method.
12234 * java/net/natPlainDatagramSocketImpl.cc
12235 (java/io/FileDescriptor.h): Don't include.
12236 (close): Implement method here.
12237 (create): Don't assign fd.
12239 * java/net/natPlainSocketImpl.cc
12240 (java/io/FileDescriptor.h): Don't include.
12241 (create): Don't assign fd.
12242 (accept): Likewise.
12243 (close): Synchronize.
12245 2002-03-27 Richard Henderson <rth@redhat.com>
12247 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
12249 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
12251 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
12252 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
12253 instead of syscall on IA-64.
12256 2002-03-27 Anthony Green <green@redhat.com>
12258 * libgcj.spec.in: Add CHECKREFSPEC.
12259 * configure.in: Ditto.
12260 * configure.host: Ditto. Check references for xscale-elf.
12261 * configure: Rebuilt.
12263 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
12265 * include/dwarf2-signal.h: Temporarily back out last change.
12267 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
12269 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
12271 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
12273 * configure.in, configure: enable dwarf2-exception-style
12274 exception handling on IA-64.
12275 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
12276 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
12279 2002-03-25 Tom Tromey <tromey@redhat.com>
12281 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
12282 (jv_convert_LDFLAGS): Likewise.
12283 (gij_LDFLAGS): Likewise.
12284 (rmic_LDFLAGS): Likewise.
12285 (rmiregistry_LDFLAGS): Likewise.
12286 * configure.in (THREADLDFLAGS): New subst; set correctly for
12289 2002-03-25 Tom Tromey <tromey@redhat.com>
12291 For PR libgcj/5303:
12292 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
12294 (help): New method.
12295 (version): Likewise.
12296 * gnu/gcj/convert/Convert.java (version): Removed extraneous
12298 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
12301 2002-03-25 Tom Tromey <tromey@redhat.com>
12303 * java/awt/Component.java (processEvent): Check ComponentEvent
12306 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12308 * java/io/PushbackReader.java: Reformat.
12310 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
12311 calculate correct number of bytes skipped.
12313 Based on patch from Intel's ORP team:
12314 * java/io/PushbackInputStream.java (available): Calculate correct
12315 number of bytes in buffer.
12316 (read): Remove redundant bound check. Return bytes from both the
12317 buffer and the stream.
12319 2002-03-24 Tom Tromey <tromey@redhat.com>
12321 * java/awt/TextComponent.java (TextComponent): Editable by
12324 * java/awt/MenuItem.java (eventMask): No longer private.
12325 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
12326 superclass if we didn't handle event.
12327 * java/awt/Checkbox.java (dispatchEventImpl): New method.
12328 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
12329 * java/awt/Choice.java (dispatchEventImpl): New method.
12330 * java/awt/List.java (dispatchEventImpl): New method.
12331 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
12332 * java/awt/TextComponent.java (dispatchEventImpl): New method.
12333 * java/awt/TextField.java (dispatchEventImpl): New method.
12335 2002-03-24 Eric Blake <ebb9@email.byu.edu>
12337 * java/beans/IntrospectionException.java: Update to 1.4.
12338 * java/beans/PropertyVetoException.java: Ditto.
12340 2002-03-24 Eric Blake <ebb9@email.byu.edu>
12342 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
12343 Arrays.equals instead of ArrayHelper.equalsArray.
12345 2002-03-24 C. Brian Jones <cbj@gnu.org>
12347 * java/beans/Introspector.java: added new static final fields
12348 introduced in 1.2, lots of other updates remain to be done
12350 2002-03-24 C. Brian Jones <cbj@gnu.org>
12352 * java/beans/Introspector.java: reformatting
12354 2002-03-24 C. Brian Jones <cbj@gnu.org>
12356 * java/beans/Introspector.java: default beanInfoSearchPath will
12357 not include sun.beans.infos given we provide no such package and
12358 the API doesn't really require it; gnu.java.beans.info is the
12361 2002-03-24 Mark Wielaard <mark@klomp.org>
12363 Thanks to Orp developers
12364 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
12365 switch TRUE and FALSE return values.
12367 2002-03-23 Tom Tromey <tromey@redhat.com>
12369 * include/name-finder.h (_Jv_name_finder::myclose): New method.
12370 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
12372 2002-03-23 Michael Smith <msmith@spinnakernet.com>
12374 * java/util/GregorianCalendar.java (minimums, maximums): Correct
12375 MONTH entry. Fixes PR libgcj/6045.
12377 2002-03-23 Jeff Sturm <jsturm@one-point.com>
12379 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
12381 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12383 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
12385 * sysdep/powerpc/locks.h (write_barrier): New function.
12386 * sysdep/i386/locks.h (write_barrier): New function.
12388 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
12390 * include/jni.h Use correct C comments.
12392 2002-03-18 Tom Tromey <tromey@redhat.com>
12394 * include/jni.h (JNIIMPORT): New macro.
12395 (JNIEXPORT): Likewise.
12396 (JNICALL): Likewise.
12398 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12400 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
12403 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
12405 * include/i386-signal.h (old_i386_kernel_sigaction): New.
12406 INIT_SEGV: Use old_i386_kernel_sigaction.
12409 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12411 * java/lang/natSystem.cc (init_properties): Update VM version
12413 * configure.in: Set GCJVERSION.
12414 * acconfig.h: Add GCJVERSION.
12415 * configure: Rebuilt.
12416 * include/config.h.in: Rebuilt.
12418 2002-03-17 Anthony Green <green@redhat.com>
12420 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
12422 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12424 Build a single libgcj.so, without separate gc and zlib libraries.
12425 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
12426 SYS_ZLIBS if system zlib is used.
12427 * configure: Rebuilt.
12428 * Makefile.am: Use boehm-gc and zlib convenience libraries.
12429 * Makefile.in: Rebuilt.
12430 * libtool-version: Increment .so version number.
12432 * Makefile.am: Escape quotes in echo.
12433 * Makefile.in: Rebuilt.
12435 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12437 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
12438 * Makefile.in: Rebuilt.
12440 2002-03-15 Anthony Green <green@redhat.com>
12442 * configure.host (FILE): New macro for specifing File
12444 * configure: Rebuilt.
12445 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
12447 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
12449 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
12450 already implicitly brought in from libgcj.la.
12451 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
12452 * Makefile.in: Rebuilt.
12454 2002-03-15 Eric Blake <ebb9@email.byu.edu>
12456 * THANKS: Fix punctuation, alphabetization.
12458 2002-03-15 Tom Tromey <tromey@redhat.com>
12459 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12461 Fix for PR libgcj/5944.
12462 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
12464 2002-03-15 Anthony Green <green@redhat.com>
12466 * configure.in (tool_include_dir): Define.
12467 * configure: Rebuilt.
12468 * gcj/Makefile.am: Install libgcj-config.h relative to
12470 * gcj/Makefile: Rebuilt.
12471 * gcj/libgcj-config.h: Add warning comment.
12473 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
12475 * configure.host (powerpc*-darwin*): Enable interpreter.
12477 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12479 * include/posix.h: Add multiple include header protection.
12480 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
12482 2002-03-10 Adam Megacz <adam@xwt.org>
12484 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
12486 2002-03-10 Tom Tromey <tromey@redhat.com>
12488 * java/awt/GridLayout.java (layoutContainer): Handle case where
12489 there are no items in container.
12491 * java/lang/Win32Process.java: Added comment.
12492 * include/posix.h (_Jv_platform_close_on_exec): New function.
12494 * include/win32.h (_Jv_platform_close_on_exec): New function.
12495 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
12497 (accept): Likewise.
12498 * java/net/natPlainDatagramSocketImpl.cc (create): Set
12499 close-on-exec flag.
12500 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
12503 2002-03-09 Tom Tromey <tromey@redhat.com>
12505 * verify.cc (state::NO_STACK): New constant.
12506 (state::is_unmerged_ret_state): Handle case where stacktop is
12508 (state::merge): Handle NO_STACK merges.
12509 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
12510 for instruction following jsr.
12511 (stacktop, stackdepth): Removed unused variables.
12512 (pop_jump): Ignore case where all remaining states are skipped.
12514 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12516 * java/awt/ImageMediaEntry: Removed.
12517 * java/awt/MediaEntry: Removed.
12519 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12521 Hashtable synchronization for PowerPC.
12522 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
12523 slow_pthread_self. Set up symlink for sysdeps directory.
12524 * configure: Rebuild.
12525 * configure.host: Document more shell variables. Set sysdeps_dir
12526 for most platforms. Set slow_pthread_self for i686. Set
12527 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
12528 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
12529 that memory barrier is emitted where required.
12530 * prims.cc: 64-bit align static primitive class instances.
12531 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
12532 read_barrier() to enforce ordering of reads.
12533 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
12534 primitives for PowerPC.
12535 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
12536 moved from natObject.cc.
12537 * sysdep/alpha/locks.h: Likewise.
12538 * sysdep/ia64/locks.h: Likewise.
12539 * sysdep/generic/locks.h: Likewise.
12540 * java/lang/natObject.cc: Move thread synchronization primitives to
12541 system-dependent headers.
12543 2002-03-09 Adam Megacz <adam@xwt.org>
12545 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
12546 bytes read and no failure code returned.
12548 2002-03-09 Adam Megacz <adam@xwt.org>
12550 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
12551 definitions to simulate -mthreads.
12553 2002-03-09 Adam Megacz <adam@xwt.org>
12555 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
12556 avoid precision loss.
12558 2002-03-09 Per Bothner <per@bothner.com>
12560 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
12561 * gnu/gcj/xlib/XImage.java: Likewise.
12562 * gnu/gcj/xlib/XColor.java: Likewise.
12564 2002-03-09 Adam Megacz <adam@xwt.org>
12566 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
12567 IOException so that Throwable.printStackTrace fails correctly.
12569 2002-03-08 Adam Megacz <adam@xwt.org>
12571 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
12574 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12576 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
12579 2002-03-08 Tom Tromey <tromey@redhat.com>
12581 * include/jni.h: Include stdio.h.
12583 2002-03-08 Tom Tromey <tromey@redhat.com>
12585 * posix.cc (internal_gettimeofday): New function.
12586 (_Jv_select): Use it.
12588 2002-03-07 Adam Megacz <adam@xwt.org>
12590 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
12591 WIN32, and added thunks for read(), write(), and close().
12592 * java/net/natPlainSocketImpl.cc (accept, read, read):
12593 Disabled timeouts on WIN32 pending discussion.
12595 2002-03-07 Adam Megacz <adam@xwt.org>
12597 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
12598 returns jlong. Added implementation
12599 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
12601 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
12603 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
12605 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
12606 _Jv_platform_gettimeofday signature.
12608 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12610 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
12611 (read): Call recv() directly, not _Jv_recv().
12613 2002-03-06 Tom Tromey <tromey@redhat.com>
12615 * java/io/natFileDescriptorEcos.cc (init): Don't use
12617 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
12619 (init): Don't use GetStdHandle.
12621 * include/config.h.in: Rebuilt.
12622 * configure: Rebuilt.
12623 * Makefile.in: Rebuilt.
12625 2002-03-06 Adam Megacz <adam@xwt.org>
12627 * java/io/FileDescriptor.java: Initialize in/out/err in init().
12628 * java/io/natFileDescriptorWin32.cc (init()): Added function.
12629 * java/io/natFileDescriptorPosix.cc (init()): Added function.
12630 * java/io/natFileDescriptorEcos.cc (init()): Added function.
12632 2002-03-06 Eric Blake <ebb9@email.byu.edu>
12634 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
12635 the code for generating include/java-chartables.h.
12636 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
12637 merge with Classpath.
12638 * scripts/unicode-muncher.pl: Copy from Classpath.
12639 * scritps/MakeCharTables.java: New file.
12640 * gnu/gcj/convert/Blocks-3.txt: New file.
12641 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
12642 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
12643 * gnu/java/lang/CharData.java: Copy from Classpath.
12644 * Makefile.am (ordinary_java_source_files): Add
12645 gnu/java/lang/CharData.java.
12646 * configure.in: Remove --enable-fast-character option.
12647 * java/lang/Character.java: Merge algorithms and Javadoc with
12649 * java/lang/natCharacter.cc: Implement Unicode lookup table more
12651 * include/java-chardecomp.h: Regenerate.
12652 * include/java-chartables.h: Regenerate.
12654 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12656 * java/awt/MediaTracker.java: Implemented.
12657 * Makefile.am: Add MediaTracker.
12658 * Makefile.in: Rebuilt.
12660 2002-03-05 Tom Tromey <tromey@redhat.com>
12662 * java/lang/natPosixProcess.cc (fail): Removed.
12663 (startProcess): Simplified error-handling. Preserve
12664 LD_LIBRARY_PATH across exec.
12666 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
12667 AbstractMethodError.
12669 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12671 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
12672 * Makefile.in: Rebuilt.
12674 2002-03-03 Mark Wielaard <mark@klomp.org>
12676 * java/util/Timer (TaskQueue.stop): set elements to zero.
12678 2002-02-28 Anthony Green <green@redhat.com>
12680 * java/lang/reflect/natMethod.cc (result): Add void* element.
12681 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
12684 2002-02-27 Adam Megacz <adam@xwt.org>
12686 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
12689 2002-02-26 Tom Tromey <tromey@redhat.com>
12691 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
12692 * gij.cc (version): Use __VERSION__.
12693 * include/config.h.in: Rebuilt.
12694 * acconfig.h (GCJVERSION): Removed.
12695 * configure: Rebuilt.
12696 * configure.in (GCJVERSION): Removed.
12698 2002-02-26 Andreas Schwab <schwab@suse.de>
12700 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
12701 glibcpp_CXX, since libjava uses even another CXX.
12702 * aclocal.m4, configure: Regenerated.
12704 2002-02-26 Tom Tromey <tromey@redhat.com>
12706 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
12709 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12711 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
12712 dependency tracking for .java files.
12713 * Makefile.in: Rebuilt.
12715 2002-02-24 Adam Megacz <adam@xwt.org>
12717 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
12720 2002-02-24 Adam Megacz <adam@xwt.org>
12722 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
12723 for Win32, changed #ifdefs to check WIN32 instead of the
12724 (now-obsolete) USE_WINSOCK, and removed support for socket
12725 timeouts on Win32 pending further discussion.
12727 2002-02-24 Adam Megacz <adam@xwt.org>
12729 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
12730 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
12733 2002-02-24 Adam Megacz <adam@xwt.org>
12735 * java/lang/Win32Process.java: Created a dummy class to allow
12736 build process to run to completion.
12738 2002-02-24 Jeff Sturm <jsturm@one-point.com>
12740 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
12741 Define ffi_result union for ffi_call result. Cast
12742 ffi_result members to jvalue.
12744 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
12746 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
12747 * testsuite/Makefile.in: Likewise.
12749 2002-02-20 Per Bothner <per@bothner.com>
12751 * java/net/URL.java (getPath): New JDK 1.3 method.
12753 * java/net/URLStreamHandler.java (parseURL):
12754 It is wrong to prepend '/' to the file part of a relative url.
12756 * java/net/URLStreamHandler.java (parseURL):
12757 Minor optizations - append '/' rather than "/".
12759 * java/net/URLStreamHandler.java (parseURL):
12760 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
12761 We probably should canonicalize for a context-relative url, though.
12762 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
12763 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
12764 (sameFile): New method. Uses canonicalizeFilename.
12766 2002-02-22 Tom Tromey <tromey@redhat.com>
12768 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
12769 java.vendor and java.vm.vendor.
12770 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
12771 recent copyright date.
12772 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
12773 * gij.cc (version): Print `Inc'.
12775 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
12777 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
12778 * aclocal.m4, configure: Rebuilt.
12780 2002-02-20 Per Bothner <per@bothner.com>
12782 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
12783 and/or output streams immediately here, instead of using File.exists.
12784 (inputStream, outputStream): New fields to save open streams.
12785 (getInputStream, getOutputStream): Use already-opened streams.
12787 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
12789 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
12791 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
12792 * aclocal.m4, configure, Makefile.in: Rebuilt.
12794 2002-02-19 Tom Tromey <tromey@redhat.com>
12796 Fix for PR libgcj/5696:
12797 * verify.cc (is_assignable_from_slow): Never call
12798 _Jv_IsAssignableFrom.
12799 (verify_instructions_0): Added new debug statement.
12800 (state::print): Print information about whether local has
12802 (state::merge): Don't call note_variable when merging locals.
12803 (state::set_exception): Removed old FIXME comment.
12805 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12807 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
12808 enable SO_BROADCAST.
12810 2002-02-18 Jason Merrill <jason@redhat.com>
12812 * name-finder.cc (toHex): Use word mode, not long long.
12814 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
12816 2002-02-15 Tom Tromey <tromey@redhat.com>
12818 Fix for PR libgcj/5695:
12819 * verify.cc (is_assignable_from_slow): Check to see if target is
12820 an Object before checking to see if source is an interface.
12821 (verify_instructions_0) [op_invokeinterface]: Handle case where
12822 we're making an interface call on Object.
12824 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12826 * Makefile.in: Rebuilt with Eric's change below.
12828 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
12829 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
12830 Removed functions which are now implemented in Math.java.
12832 2002-02-14 Eric Blake <ebb9@email.byu.edu>
12834 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
12835 * Makefile.am (core_java_source_files): Add
12836 java/lang/StrictMath.java.
12837 * java/lang/Math.java: Merge with Classpath.
12838 * java/lang/StrictMath.java: New file - merge with Classpath.
12840 2002-02-14 Mark Wielaard <mark@klomp.org>
12842 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
12843 package as a workaround for gcj 3.0.x
12845 2002-02-14 Mark Wielaard <mark@klomp.org>
12847 * java/security/BasicPermission.java: extends with fully qualified
12848 classname as workaround for gcj 3.0.4.
12850 2002-02-14 Eric Blake <ebb9@email.byu.edu>
12852 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
12853 around gcj bug of wrong emitted qualifier for inherited method.
12854 * java/net/SocketImpl.java (setOption, getOption): Ditto.
12855 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
12856 constructor to reduce amount of emitted bytecode. While this
12857 happens to work around a jikes 1.15 bug, it is still a useful
12858 patch even for correct compilers.
12859 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
12860 * gnu/java/rmi/server/UnicastRemoteCall.java
12861 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
12863 2002-02-14 Eric Blake <ebb9@email.byu.edu>
12865 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
12866 * java/net/SocketImpl.java: Ditto.
12867 * java/rmi/server/RMIClassLoader.java: Ditto.
12868 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
12870 2002-02-14 Mark Wielaard <mark@klomp.org>
12872 Thanks to Takashi Okamoto
12873 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
12874 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
12875 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
12877 2002-02-13 Todd Stock <toddastock@yahoo.com>
12879 Fix for PR libgcj/5670:
12880 * verify.cc (is_assignable_from_slow): If `source' is interface,
12881 recursively look for merge with `target'.
12883 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
12885 * include/jni.h: Fix typo.
12887 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
12889 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
12892 2002-02-13 Todd Stock <toddastock@yahoo.com>
12894 Fix for PR libgcj/5671:
12895 * verify.cc (state::merge): Handle case where we're merging
12896 against an interface.
12898 2002-02-12 Tom Tromey <tromey@redhat.com>
12900 * exception.cc (std::abort): Mark as noreturn.
12902 2002-02-12 Adam Megacz <adam@xwt.org>
12904 * java/lang/Win32Process.java: Filled in a placeholder
12905 implementation so Win32 will build.
12907 2002-02-12 Adam Megacz <adam@xwt.org>
12909 * java/io/natFilePosix.cc: Copied this from natFile.cc.
12910 * java/io/natFile.cc: Removed from repository.
12911 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
12913 2002-02-12 Adam Megacz <adam@xwt.org>
12915 * win32.cc: Added two #includes to make win32.cc compile.
12917 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12919 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
12921 (_Jv_InitGC): Don't bother locking, as this is always called from a
12922 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
12924 2002-02-11 Adam Megacz <adam@xwt.org>
12926 * include/win32.h: Added _Jv_platform_gettimeofday.
12927 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
12929 2002-02-11 Adam Megacz <adam@xwt.org>
12931 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
12932 Added #undef STRICT to make windows.h and
12933 java/lang/reflect/Modifier.h cooperate.
12935 2002-02-11 Adam Megacz <adam@xwt.org>
12937 * java/io/natFileWin32.cc: Created a placeholder class with lots
12940 2002-02-11 Adam Megacz <adam@xwt.org>
12942 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
12943 std::abort() to simply abort(). Also added "fake" std::abort() so
12944 we can #include unwind-pe.h without having to link against
12947 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
12949 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
12951 2002-02-08 Tom Tromey <tromey@redhat.com>
12953 * interpret.cc (convert): New function.
12954 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
12958 2002-02-08 Anthony Green <green@redhat.com>
12960 * configure.host: Add support for xscale-elf embedded target.
12962 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
12964 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
12966 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
12969 2002-02-07 Tom Tromey <tromey@redhat.com>
12971 * java/io/natFile.cc (_access): Use __builtin_alloca.
12974 (getCanonicalPath): Likewise.
12975 (performList): Likewise.
12976 (performMkdir): Likewise.
12977 (performSetReadOnly): Likewise.
12978 (performRenameTo): Likewise.
12979 (performSetLastModified): Likewise.
12980 (performCreate): Likewise.
12981 (performDelete): Likewise.
12983 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12985 * HACKING: Fix URL for the automake-gcj.
12987 2002-02-07 Tom Tromey <tromey@redhat.com>
12989 * java/lang/natThrowable.cc: Updated copyright.
12990 * java/io/natFileWin32.cc: Updated copyright.
12991 * java/io/natFileDescriptorWin32.cc: Updated copyright.
12992 * win32-threads.cc: Updated copyright.
12993 * name-finder.cc: Updated copyright.
12994 * include/name-finder.h: Updated copyright.
12996 * include/name-finder.h: Conditionally include sys/wait.h.
12997 * include/config.h.in: Rebuilt.
12999 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
13000 Size buffer based on real size of string.
13003 (getCanonicalPath): Likewise.
13004 (performList): Likewise.
13005 (performMkdir): Likewise.
13006 (performSetReadOnly): Likewise.
13007 (unixroot): Removed.
13008 (performRenameTo): Likewise.
13009 (performSetLastModified): Likewise.
13010 (performCreate): Likewise.
13011 (performDelete): Likewise.
13012 (performListRoots): Always return new array.
13014 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
13015 * win32.cc (win32_exception_handler): Now static.
13016 * include/win32.h (_Jv_platform_initialize): Declare.
13017 (win32_exception_handler): Don't declare.
13018 * java/lang/natSystem.cc (currentTimeMillis): Use
13019 _Jv_platform_gettimeofday.
13020 * posix.cc (_Jv_platform_gettimeofday): Renamed.
13021 (_Jv_select): Use new name.
13022 (_Jv_platform_initialize): New function.
13023 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
13025 (_Jv_platform_initialize): Declare.
13027 * configure: Rebuilt.
13028 * configure.in: Removed unnecessary parens.
13030 2002-02-06 Adam Megacz <adam@xwt.org>
13032 * configure.in: Changed mingw) to *mingw*).
13033 * win32.cc: Created this file.
13034 * win32.h: Created this file.
13035 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
13036 win32_exception_handler from prims.cc to win32.cc, added
13038 * prims.cc: removed some #ifdef-WIN32'd headers which are no
13039 longer needed now that we have platform.h
13041 2002-02-06 Adam Megacz <adam@xwt.org>
13043 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
13044 use uint<n>_t instead of LONG and BYTE
13046 2002-02-06 Adam Megacz <adam@xwt.org>
13048 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
13050 2002-02-06 Anthony Green <green@redhat.com>
13052 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
13053 Implement missing method stubs.
13054 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
13056 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
13057 concept of timezones.
13058 (init_properties): Don't refer to _Jv_Environment_Properties
13059 when this feature is not available.
13060 * include/config.h.in: Rebuilt.
13061 * acconfig.h: Add DISABLE_MAIN_ARGS.
13062 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
13063 * configure: Rebuilt.
13064 * configure.in: Add --disable-main-args option. Test for
13065 opendir function. Replace AC_CHECK_SIZEOF with
13066 AC_COMPILE_CHECK_SIZEOF.
13067 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
13068 * aclocal.m4: Rebuilt.
13069 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
13071 2002-02-06 Tom Tromey <tromey@redhat.com>
13073 * verify.cc (require_array_type): If argument is a null array of
13074 references, return null as the element type.
13076 2002-02-06 Mark Wielaard <mark@klomp.org>
13078 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
13079 duplicate of a wide type.
13081 2002-02-06 Tom Tromey <tromey@redhat.com>
13083 * verify.cc (type::isnull): New method.
13084 (require_array_type): Handle case where array is null.
13085 (verify_instructions_0) [op_arraylength]: Likewise.
13087 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13089 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
13090 Symlink PLATFORMH to platform.h.
13091 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
13093 * java/lang/natSystem.cc: #include platform.h not posix.h.
13094 * Makefile.in: Rebuilt with libgcj automake.
13095 * configure: Rebuilt.
13097 2002-02-05 Richard Henderson <rth@redhat.com>
13099 * Makefile.in: Undo munging last change.
13101 2002-02-04 Adam Megacz <adam@xwt.org>
13103 * win32.cc: Created it.
13104 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
13105 which is set to posix.cc or win32.cc.
13106 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
13108 2002-02-04 Adam Megacz <adam@xwt.org>
13110 * configure.in: Corrected mingw case branches; added * before
13113 2002-02-04 Adam Megacz <adam@xwt.org>
13115 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
13116 if compiling for win32
13118 2002-02-04 Adam Megacz <adam@xwt.org>
13120 * win32-threads.cc: #undef STRICT after gc.h inclusion
13122 2002-02-02 Tom Tromey <tromey@redhat.com>
13124 * Makefile.in: Rebuilt.
13126 2002-02-02 Jason Merrill <jason@redhat.com>
13128 * Makefile.am (clean-nat): New target.
13130 2002-02-02 Tom Tromey <tromey@redhat.com>
13132 * java/io/natFile.cc: Removed old "FIXME" comments.
13134 2002-02-01 Tom Tromey <tromey@redhat.com>
13136 * java/lang/natPosixProcess.cc (myclose): New function.
13138 (startProcess): Likewise.
13140 2002-02-01 Adam Megacz <adam@xwt.org>
13142 * prims.cc: Added #undef STRICT after #include<windows.h>.
13144 2002-02-01 Adam Megacz <adam@xwt.org>
13147 (_Jv_CreateJavaVM): We now use WIN32 instead of
13148 USE_WIN32_SIGNALLING and USE_WINSOCK.
13149 (win32_exception_handler): Now throws an exception out of
13150 the signal handler; assumes SJLJ.
13152 2002-02-01 Adam Megacz <adam@xwt.org>
13154 * win32-threads.cc:
13155 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
13156 wait() algorithm to make it safe.
13157 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
13158 Added lazy creation of Win32 Events for better performance
13159 (really_start): This now uses GC_CreateThread so boehm-gc
13160 knows about new threads even when statically linked.
13162 2002-02-01 Adam Megacz <adam@xwt.org>
13164 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
13165 enable safer wait() algorithm.
13166 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
13167 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
13168 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
13169 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
13171 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
13173 2002-02-01 Adam Megacz <adam@xwt.org>
13175 * configure.in: Added support for mingw.
13176 * java/lang/Win32Process.java: Created as empty file.
13177 * java/lang/natWin32Process.cc: Created as empty file.
13179 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
13182 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
13183 for libiconv in LIBICONV variable.
13184 * configure: Regenerated.
13186 2002-01-31 Tom Tromey <tromey@redhat.com>
13188 * verify.cc (state::enter_subroutine): New method.
13189 (handle_jsr_insn): Use it.
13190 (state::merge): When processing a `ret', correctly use
13191 subroutine's state to determine which local variables have
13193 (push_exception_jump): Don't let stack overflow.
13195 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
13197 * gnu/gcj/convert/Convert.java: Only include one copyright year in
13200 2002-01-30 Tom Tromey <tromey@redhat.com>
13202 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
13203 parameter for `recv' return type.
13205 * verify.cc (handle_ret_insn): Check for subroutine merge here...
13206 (state::merge): ... not here.
13207 (subr_entry_info): New structure.
13208 (entry_points): New field.
13209 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
13212 2002-01-29 Tom Tromey <tromey@redhat.com>
13214 * java/awt/List.java (addNotify): Correctly check to see if peer
13217 * java/awt/GridLayout.java (layoutContainer): Use number of rows
13218 to compute height of each cell, and number of columns to compute
13219 width of each cell.
13220 * java/awt/Window.java (getOwnedWindows): Don't return null.
13221 * java/awt/FlowLayout.java (layoutContainer): Set width and height
13222 of component. Increment x using horizontal gap, not vertical
13225 2002-01-28 Tom Tromey <tromey@redhat.com>
13227 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
13228 `nargs' byte is number of words, not number of arguments.
13230 2002-01-27 Tom Tromey <tromey@redhat.com>
13232 * java/awt/event/MouseEvent.java (modifiers): Removed field.
13234 * java/awt/event/InputEvent.java (modifiers, when): Now
13237 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
13239 (state::merge): Use current class' class loader.
13240 (state::print): Print subroutine.
13241 (state::merge): Don't look at subroutine of unmerged `ret'.
13243 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
13245 * nogc.cc: Remove warnings.
13246 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
13249 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13251 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
13252 int, int): Remove empty "if" statement to work around compiler bug.
13253 (newPixels(int[], ColorModel, int, int): Likewise.
13255 2002-01-25 Per Bothner <per@bothner.com>
13257 * verify.cc (verify_fail): Change from being a top-level function
13258 to e method of _Jv_BytecodeVerifier. Emit current method name.
13259 Pass the current verifier to type: and state: methods as needed,
13260 for better error messages, and for resolve.
13261 (resolve): Pass current class's loader for Class.forName and
13262 _Jv_FindClassFromSignature, rather than using the default loader.
13263 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
13264 (get_type_val_for_signature): Make non-static.
13265 (various methods): Pass start_PC implicitly, not explicitly.
13267 2002-01-25 Tom Tromey <tromey@redhat.com>
13269 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
13270 loop termination condition.
13271 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
13274 2002-01-24 Tom Tromey <tromey@redhat.com>
13276 * java/awt/Shape.java: Merged with Classpath.
13277 * java/awt/Scrollbar.java: Merged with Classpath.
13279 * java/awt/Container.java (addNotify): Unconditionally call
13280 addNotifyContainerChildren and superclass addNotify.
13282 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
13283 getAlpha, not getBlue.
13285 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13287 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
13289 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
13290 (grabPixels(long)): Wait to be notified that the ImageProducer has
13293 2002-01-24 Per Bothner <per@bothner.com>
13295 * verify.cc (is_assignable_from_slow): If target is an interface,
13296 we must still check the source's superclass before giving up.
13298 2002-01-24 Tom Tromey <tromey@redhat.com>
13300 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
13302 2002-01-23 Tom Tromey <tromey@redhat.com>
13304 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
13307 * Makefile.in: Rebuilt.
13308 * Makefile.am (awt_java_source_files): Added new files.
13309 * java/awt/Toolkit.java: Merged with Classpath.
13310 * java/awt/PrintGraphics.java: New file from Classpath.
13311 * java/awt/PrintJob.java: New file from Classpath.
13312 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
13313 * java/awt/datatransfer/ClipboardOwner.java: New file from
13315 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
13316 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
13317 * java/awt/datatransfer/MimeTypeParseException.java: New file from
13319 * java/awt/datatransfer/StringSelection.java: New file from
13321 * java/awt/datatransfer/SystemFlavorMap.java: New file from
13323 * java/awt/datatransfer/Transferable.java: New file from
13325 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
13328 * Makefile.in: Rebuilt.
13329 * Makefile.am (awt_java_source_files): Added new files.
13330 * java/awt/image/AreaAveragingScaleFilter.java: New file from
13332 * java/awt/image/CropImageFilter.java: New file from Classpath.
13333 * java/awt/image/FilteredImageSource.java: New file from
13335 * java/awt/image/ImageFilter.java: New file from Classpath.
13336 * java/awt/image/MemoryImageSource.java: New file from Classpath.
13337 * java/awt/image/PixelGrabber.java: New file from Classpath.
13338 * java/awt/image/RGBImageFilter.java: New file from Classpath.
13339 * java/awt/image/ReplicateScaleFilter.java: New file from
13341 * java/awt/image/ImageProducer.java: Replaced with Classpath
13343 * java/awt/image/ImageObserver.java: Replaced with Classpath
13345 * java/awt/image/ImageConsumer.java: Replaced with Classpath
13347 * java/awt/GridBagConstraints.java (clone): Catch
13348 CloneNotSupportedException.
13350 2002-01-23 Per Bothner <per@bothner.com>
13352 * java/lang/reflect/natField.cc (setAddr): New function.
13353 Calls getAddr and then checks that the field isn't final.
13354 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
13355 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
13356 (set): Call setAddr before check that new value has right type,
13357 to better match specified semantics.
13359 2002-01-22 Tom Tromey <tromey@redhat.com>
13361 * java/awt/TextField.java: Replaced with Classpath version.
13362 * java/awt/TextArea.java: Replaced with Classpath version.
13363 * java/awt/TextComponent.java: Replaced with Classpath version.
13365 * java/awt/GridBagConstraints.java: Updated copyright.
13367 2002-01-22 Mark Wielaard <mark@klomp.org>
13369 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
13370 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
13371 java/awt/Dialog.java java/awt/FileDialog.java
13372 java/awt/Font.java java/awt/FontMetrics.java
13373 java/awt/Image.java java/awt/ImageMediaEntry.java
13374 java/awt/Insets.java java/awt/List.java
13375 java/awt/MediaEntry.java java/awt/MediaTracker.java
13376 java/awt/Menu.java java/awt/MenuBar.java
13377 java/awt/MenuContainer.java java/awt/MenuShortcut.java
13378 java/awt/PaintContext.java java/awt/Panel.java
13379 java/awt/PopupMenu.java java/awt/SystemColor.java
13380 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
13381 java/awt/peer/CheckboxMenuItemPeer.java
13382 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
13383 java/awt/peer/ComponentPeer.java
13384 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
13385 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
13386 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
13387 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
13388 java/awt/peer/MenuBarPeer.java
13389 java/awt/peer/MenuComponentPeer.java
13390 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
13391 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
13392 java/awt/peer/ScrollPanePeer.java
13393 java/awt/peer/ScrollbarPeer.java
13394 java/awt/peer/TextAreaPeer.java
13395 java/awt/peer/TextComponentPeer.java
13396 java/awt/peer/TextFieldPeer.java
13397 java/awt/peer/WindowPeer.java: Add license clarification.
13399 2002-01-22 Mark Wielaard <mark@klomp.org>
13401 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
13402 gnu/gcj/runtime/StringBuffer.java
13403 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
13404 gnu/java/awt/ComponentDataBlitOp.java
13405 gnu/java/awt/GLightweightPeer.java
13406 gnu/java/beans/BeanInfoEmbryo.java
13407 gnu/java/beans/EmptyBeanInfo.java
13408 gnu/java/beans/ExplicitBeanInfo.java
13409 gnu/java/beans/IntrospectionIncubator.java
13410 gnu/java/beans/editors/ColorEditor.java
13411 gnu/java/beans/editors/FontEditor.java
13412 gnu/java/beans/editors/NativeBooleanEditor.java
13413 gnu/java/beans/editors/NativeByteEditor.java
13414 gnu/java/beans/editors/NativeDoubleEditor.java
13415 gnu/java/beans/editors/NativeFloatEditor.java
13416 gnu/java/beans/editors/NativeIntEditor.java
13417 gnu/java/beans/editors/NativeLongEditor.java
13418 gnu/java/beans/editors/NativeShortEditor.java
13419 gnu/java/beans/editors/StringEditor.java
13420 gnu/java/beans/info/ComponentBeanInfo.java
13421 gnu/java/io/ClassLoaderObjectInputStream.java
13422 gnu/java/io/NullOutputStream.java
13423 gnu/java/io/ObjectIdentityWrapper.java
13424 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
13425 gnu/java/lang/reflect/TypeSignature.java
13426 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
13427 gnu/java/locale/Calendar_en.java
13428 gnu/java/locale/Calendar_nl.java
13429 gnu/java/locale/LocaleInformation.java
13430 gnu/java/locale/LocaleInformation_de.java
13431 gnu/java/locale/LocaleInformation_en.java
13432 gnu/java/locale/LocaleInformation_nl.java
13433 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
13434 gnu/java/rmi/registry/RegistryImpl.java
13435 gnu/java/rmi/rmic/Compile_gcj.java
13436 gnu/java/rmi/rmic/Compiler.java
13437 gnu/java/rmi/rmic/CompilerProcess.java
13438 gnu/java/rmi/rmic/RMIC.java
13439 gnu/java/rmi/rmic/TabbedWriter.java
13440 gnu/java/rmi/server/ProtocolConstants.java
13441 gnu/java/rmi/server/RMIDefaultSocketFactory.java
13442 gnu/java/rmi/server/RMIHashes.java
13443 gnu/java/rmi/server/RMIObjectInputStream.java
13444 gnu/java/rmi/server/RMIObjectOutputStream.java
13445 gnu/java/rmi/server/UnicastConnection.java
13446 gnu/java/rmi/server/UnicastConnectionManager.java
13447 gnu/java/rmi/server/UnicastRef.java
13448 gnu/java/rmi/server/UnicastRemoteCall.java
13449 gnu/java/rmi/server/UnicastRemoteStub.java
13450 gnu/java/rmi/server/UnicastServer.java
13451 gnu/java/rmi/server/UnicastServerRef.java
13452 gnu/java/security/provider/DefaultPolicy.java
13453 gnu/java/security/provider/Gnu.java
13454 gnu/java/security/provider/SHA.java
13455 gnu/java/security/provider/SHA1PRNG.java
13456 gnu/java/text/BaseBreakIterator.java
13457 gnu/java/text/CharacterBreakIterator.java
13458 gnu/java/text/LineBreakIterator.java
13459 gnu/java/text/SentenceBreakIterator.java
13460 gnu/java/text/WordBreakIterator.java
13461 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
13462 java/applet/AppletContext.java java/applet/AppletStub.java
13463 java/applet/AudioClip.java java/awt/AWTError.java
13464 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
13465 java/awt/AWTException.java java/awt/AWTPermission.java
13466 java/awt/ActiveEvent.java java/awt/BorderLayout.java
13467 java/awt/Button.java java/awt/Canvas.java
13468 java/awt/CardLayout.java java/awt/Checkbox.java
13469 java/awt/CheckboxGroup.java java/awt/Component.java
13470 java/awt/ComponentOrientation.java java/awt/Container.java
13471 java/awt/Dimension.java java/awt/Event.java
13472 java/awt/EventDispatchThread.java java/awt/EventQueue.java
13473 java/awt/FlowLayout.java java/awt/Frame.java
13474 java/awt/Graphics.java java/awt/Graphics2D.java
13475 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
13476 java/awt/IllegalComponentStateException.java
13477 java/awt/ItemSelectable.java java/awt/Label.java
13478 java/awt/LayoutManager.java java/awt/LayoutManager2.java
13479 java/awt/MenuComponent.java java/awt/MenuItem.java
13480 java/awt/Paint.java java/awt/Point.java
13481 java/awt/Rectangle.java java/awt/RenderingHints.java
13482 java/awt/Transparency.java java/awt/Window.java
13483 java/awt/color/ColorSpace.java
13484 java/awt/color/ICC_ColorSpace.java
13485 java/awt/color/ICC_Profile.java
13486 java/awt/event/HierarchyBoundsAdapter.java
13487 java/awt/event/HierarchyBoundsListener.java
13488 java/awt/event/HierarchyEvent.java
13489 java/awt/event/HierarchyListener.java
13490 java/awt/geom/AffineTransform.java
13491 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
13492 java/awt/geom/IllegalPathStateException.java
13493 java/awt/geom/Line2D.java
13494 java/awt/geom/NoninvertibleTransformException.java
13495 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
13496 java/awt/geom/Rectangle2D.java
13497 java/awt/geom/RectangularShape.java
13498 java/awt/geom/RoundRectangle2D.java
13499 java/awt/image/BufferedImage.java
13500 java/awt/image/ColorModel.java
13501 java/awt/image/ComponentColorModel.java
13502 java/awt/image/ComponentSampleModel.java
13503 java/awt/image/DataBuffer.java
13504 java/awt/image/DataBufferByte.java
13505 java/awt/image/DataBufferInt.java
13506 java/awt/image/DataBufferUShort.java
13507 java/awt/image/DirectColorModel.java
13508 java/awt/image/PackedColorModel.java
13509 java/awt/image/Raster.java java/awt/image/RasterOp.java
13510 java/awt/image/SampleModel.java
13511 java/awt/image/SinglePixelPackedSampleModel.java
13512 java/awt/image/WritableRaster.java
13513 java/beans/AppletInitializer.java
13514 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
13515 java/beans/Beans.java java/beans/Customizer.java
13516 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
13517 java/beans/FeatureDescriptor.java
13518 java/beans/IndexedPropertyDescriptor.java
13519 java/beans/IntrospectionException.java
13520 java/beans/Introspector.java java/beans/MethodDescriptor.java
13521 java/beans/ParameterDescriptor.java
13522 java/beans/PropertyChangeEvent.java
13523 java/beans/PropertyChangeListener.java
13524 java/beans/PropertyChangeSupport.java
13525 java/beans/PropertyDescriptor.java
13526 java/beans/PropertyEditor.java
13527 java/beans/PropertyEditorManager.java
13528 java/beans/PropertyEditorSupport.java
13529 java/beans/PropertyVetoException.java
13530 java/beans/SimpleBeanInfo.java
13531 java/beans/VetoableChangeListener.java
13532 java/beans/VetoableChangeSupport.java
13533 java/beans/Visibility.java
13534 java/beans/beancontext/BeanContext.java
13535 java/beans/beancontext/BeanContextChild.java
13536 java/beans/beancontext/BeanContextChildComponentProxy.java
13537 java/beans/beancontext/BeanContextChildSupport.java
13538 java/beans/beancontext/BeanContextContainerProxy.java
13539 java/beans/beancontext/BeanContextEvent.java
13540 java/beans/beancontext/BeanContextMembershipEvent.java
13541 java/beans/beancontext/BeanContextMembershipListener.java
13542 java/beans/beancontext/BeanContextProxy.java
13543 java/beans/beancontext/BeanContextServiceAvailableEvent.java
13544 java/beans/beancontext/BeanContextServiceProvider.java
13545 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
13546 java/beans/beancontext/BeanContextServiceRevokedEvent.java
13547 java/beans/beancontext/BeanContextServiceRevokedListener.java
13548 java/beans/beancontext/BeanContextServices.java
13549 java/beans/beancontext/BeanContextServicesListener.java
13550 java/io/BufferedInputStream.java
13551 java/io/BufferedOutputStream.java java/io/BufferedReader.java
13552 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
13553 java/io/ByteArrayOutputStream.java
13554 java/io/CharArrayReader.java java/io/CharArrayWriter.java
13555 java/io/CharConversionException.java java/io/DataInput.java
13556 java/io/DataInputStream.java java/io/DataOutput.java
13557 java/io/EOFException.java java/io/Externalizable.java
13558 java/io/FileFilter.java java/io/FileNotFoundException.java
13559 java/io/FilePermission.java java/io/FileReader.java
13560 java/io/FileWriter.java java/io/FilenameFilter.java
13561 java/io/FilterInputStream.java java/io/FilterOutputStream.java
13562 java/io/FilterReader.java java/io/FilterWriter.java
13563 java/io/IOException.java java/io/InputStream.java
13564 java/io/InterruptedIOException.java
13565 java/io/InvalidClassException.java
13566 java/io/InvalidObjectException.java
13567 java/io/NotActiveException.java
13568 java/io/NotSerializableException.java java/io/ObjectInput.java
13569 java/io/ObjectInputStream.java
13570 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
13571 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
13572 java/io/ObjectStreamConstants.java
13573 java/io/ObjectStreamException.java
13574 java/io/ObjectStreamField.java
13575 java/io/OptionalDataException.java java/io/OutputStream.java
13576 java/io/PipedInputStream.java java/io/PipedOutputStream.java
13577 java/io/PipedReader.java java/io/PipedWriter.java
13578 java/io/PrintWriter.java java/io/PushbackInputStream.java
13579 java/io/PushbackReader.java java/io/Reader.java
13580 java/io/SequenceInputStream.java java/io/Serializable.java
13581 java/io/SerializablePermission.java
13582 java/io/StreamCorruptedException.java
13583 java/io/StreamTokenizer.java
13584 java/io/StringBufferInputStream.java java/io/StringReader.java
13585 java/io/StringWriter.java java/io/SyncFailedException.java
13586 java/io/UTFDataFormatException.java
13587 java/io/UnsupportedEncodingException.java
13588 java/io/WriteAbortedException.java java/io/Writer.java
13589 java/lang/AbstractMethodError.java
13590 java/lang/ArithmeticException.java
13591 java/lang/ArrayIndexOutOfBoundsException.java
13592 java/lang/ArrayStoreException.java java/lang/Boolean.java
13593 java/lang/Byte.java java/lang/CharSequence.java
13594 java/lang/ClassCastException.java
13595 java/lang/ClassCircularityError.java
13596 java/lang/ClassFormatError.java
13597 java/lang/ClassNotFoundException.java
13598 java/lang/CloneNotSupportedException.java
13599 java/lang/Cloneable.java java/lang/Comparable.java
13600 java/lang/Compiler.java java/lang/Double.java
13601 java/lang/Error.java java/lang/Exception.java
13602 java/lang/ExceptionInInitializerError.java
13603 java/lang/Float.java java/lang/IllegalAccessError.java
13604 java/lang/IllegalAccessException.java
13605 java/lang/IllegalArgumentException.java
13606 java/lang/IllegalMonitorStateException.java
13607 java/lang/IllegalStateException.java
13608 java/lang/IllegalThreadStateException.java
13609 java/lang/IncompatibleClassChangeError.java
13610 java/lang/IndexOutOfBoundsException.java
13611 java/lang/InheritableThreadLocal.java
13612 java/lang/InstantiationError.java
13613 java/lang/InstantiationException.java java/lang/Integer.java
13614 java/lang/InternalError.java
13615 java/lang/InterruptedException.java
13616 java/lang/LinkageError.java java/lang/Long.java
13617 java/lang/NegativeArraySizeException.java
13618 java/lang/NoClassDefFoundError.java
13619 java/lang/NoSuchFieldError.java
13620 java/lang/NoSuchFieldException.java
13621 java/lang/NoSuchMethodError.java
13622 java/lang/NoSuchMethodException.java
13623 java/lang/NullPointerException.java java/lang/Number.java
13624 java/lang/NumberFormatException.java
13625 java/lang/OutOfMemoryError.java java/lang/Package.java
13626 java/lang/Process.java java/lang/Runnable.java
13627 java/lang/RuntimeException.java
13628 java/lang/RuntimePermission.java
13629 java/lang/SecurityException.java
13630 java/lang/SecurityManager.java java/lang/Short.java
13631 java/lang/StackOverflowError.java java/lang/StringBuffer.java
13632 java/lang/StringIndexOutOfBoundsException.java
13633 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
13634 java/lang/ThreadLocal.java java/lang/UnknownError.java
13635 java/lang/UnsatisfiedLinkError.java
13636 java/lang/UnsupportedClassVersionError.java
13637 java/lang/UnsupportedOperationException.java
13638 java/lang/VerifyError.java java/lang/VirtualMachineError.java
13639 java/lang/Void.java java/lang/ref/PhantomReference.java
13640 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
13641 java/lang/ref/SoftReference.java
13642 java/lang/ref/WeakReference.java
13643 java/lang/reflect/AccessibleObject.java
13644 java/lang/reflect/InvocationTargetException.java
13645 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
13646 java/lang/reflect/ReflectPermission.java
13647 java/math/BigDecimal.java java/math/BigInteger.java
13648 java/net/Authenticator.java java/net/BindException.java
13649 java/net/ConnectException.java java/net/ContentHandler.java
13650 java/net/ContentHandlerFactory.java
13651 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
13652 java/net/FileNameMap.java java/net/MalformedURLException.java
13653 java/net/MulticastSocket.java java/net/NetPermission.java
13654 java/net/NoRouteToHostException.java
13655 java/net/PasswordAuthentication.java
13656 java/net/ProtocolException.java java/net/ServerSocket.java
13657 java/net/Socket.java java/net/SocketException.java
13658 java/net/SocketImpl.java java/net/SocketImplFactory.java
13659 java/net/SocketOptions.java java/net/SocketPermission.java
13660 java/net/URLDecoder.java java/net/URLEncoder.java
13661 java/net/URLStreamHandlerFactory.java
13662 java/net/UnknownHostException.java
13663 java/net/UnknownServiceException.java
13664 java/rmi/AccessException.java
13665 java/rmi/AlreadyBoundException.java
13666 java/rmi/ConnectException.java
13667 java/rmi/ConnectIOException.java
13668 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
13669 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
13670 java/rmi/NotBoundException.java
13671 java/rmi/RMISecurityException.java
13672 java/rmi/RMISecurityManager.java java/rmi/Remote.java
13673 java/rmi/RemoteException.java java/rmi/ServerError.java
13674 java/rmi/ServerException.java
13675 java/rmi/ServerRuntimeException.java
13676 java/rmi/StubNotFoundException.java
13677 java/rmi/UnexpectedException.java
13678 java/rmi/UnknownHostException.java
13679 java/rmi/UnmarshalException.java
13680 java/rmi/activation/Activatable.java
13681 java/rmi/activation/ActivateFailedException.java
13682 java/rmi/activation/ActivationDesc.java
13683 java/rmi/activation/ActivationException.java
13684 java/rmi/activation/ActivationGroup.java
13685 java/rmi/activation/ActivationGroupDesc.java
13686 java/rmi/activation/ActivationGroupID.java
13687 java/rmi/activation/ActivationID.java
13688 java/rmi/activation/ActivationInstantiator.java
13689 java/rmi/activation/ActivationMonitor.java
13690 java/rmi/activation/ActivationSystem.java
13691 java/rmi/activation/Activator.java
13692 java/rmi/activation/UnknownGroupException.java
13693 java/rmi/activation/UnknownObjectException.java
13694 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
13695 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
13696 java/rmi/registry/Registry.java
13697 java/rmi/registry/RegistryHandler.java
13698 java/rmi/server/ExportException.java
13699 java/rmi/server/LoaderHandler.java
13700 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
13701 java/rmi/server/Operation.java
13702 java/rmi/server/RMIClassLoader.java
13703 java/rmi/server/RMIClientSocketFactory.java
13704 java/rmi/server/RMIFailureHandler.java
13705 java/rmi/server/RMIServerSocketFactory.java
13706 java/rmi/server/RMISocketFactory.java
13707 java/rmi/server/RemoteCall.java
13708 java/rmi/server/RemoteObject.java
13709 java/rmi/server/RemoteRef.java
13710 java/rmi/server/RemoteServer.java
13711 java/rmi/server/RemoteStub.java
13712 java/rmi/server/ServerCloneException.java
13713 java/rmi/server/ServerNotActiveException.java
13714 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
13715 java/rmi/server/SkeletonMismatchException.java
13716 java/rmi/server/SkeletonNotFoundException.java
13717 java/rmi/server/SocketSecurityException.java
13718 java/rmi/server/UID.java
13719 java/rmi/server/UnicastRemoteObject.java
13720 java/rmi/server/Unreferenced.java
13721 java/security/AccessControlContext.java
13722 java/security/AccessControlException.java
13723 java/security/AccessController.java
13724 java/security/AlgorithmParameterGenerator.java
13725 java/security/AlgorithmParameterGeneratorSpi.java
13726 java/security/AlgorithmParameters.java
13727 java/security/AlgorithmParametersSpi.java
13728 java/security/AllPermission.java
13729 java/security/BasicPermission.java
13730 java/security/Certificate.java java/security/CodeSource.java
13731 java/security/DigestException.java
13732 java/security/DigestInputStream.java
13733 java/security/DigestOutputStream.java
13734 java/security/DomainCombiner.java
13735 java/security/DummyKeyPairGenerator.java
13736 java/security/DummyMessageDigest.java
13737 java/security/DummySignature.java
13738 java/security/GeneralSecurityException.java
13739 java/security/Guard.java java/security/GuardedObject.java
13740 java/security/Identity.java java/security/IdentityScope.java
13741 java/security/InvalidAlgorithmParameterException.java
13742 java/security/InvalidKeyException.java
13743 java/security/InvalidParameterException.java
13744 java/security/Key.java java/security/KeyException.java
13745 java/security/KeyFactory.java java/security/KeyFactorySpi.java
13746 java/security/KeyManagementException.java
13747 java/security/KeyPair.java java/security/KeyPairGenerator.java
13748 java/security/KeyPairGeneratorSpi.java
13749 java/security/KeyStore.java
13750 java/security/KeyStoreException.java
13751 java/security/KeyStoreSpi.java
13752 java/security/MessageDigest.java
13753 java/security/MessageDigestSpi.java
13754 java/security/NoSuchAlgorithmException.java
13755 java/security/NoSuchProviderException.java
13756 java/security/Permission.java
13757 java/security/PermissionCollection.java
13758 java/security/Permissions.java java/security/Policy.java
13759 java/security/Principal.java java/security/PrivateKey.java
13760 java/security/PrivilegedAction.java
13761 java/security/PrivilegedActionException.java
13762 java/security/PrivilegedExceptionAction.java
13763 java/security/ProtectionDomain.java
13764 java/security/Provider.java
13765 java/security/ProviderException.java
13766 java/security/PublicKey.java
13767 java/security/SecureClassLoader.java
13768 java/security/SecureRandom.java
13769 java/security/SecureRandomSpi.java java/security/Security.java
13770 java/security/SecurityPermission.java
13771 java/security/Signature.java
13772 java/security/SignatureException.java
13773 java/security/SignatureSpi.java
13774 java/security/SignedObject.java java/security/Signer.java
13775 java/security/UnrecoverableKeyException.java
13776 java/security/UnresolvedPermission.java
13777 java/security/acl/Acl.java java/security/acl/AclEntry.java
13778 java/security/acl/AclNotFoundException.java
13779 java/security/acl/Group.java
13780 java/security/acl/LastOwnerException.java
13781 java/security/acl/NotOwnerException.java
13782 java/security/acl/Owner.java java/security/acl/Permission.java
13783 java/security/cert/CRL.java
13784 java/security/cert/CRLException.java
13785 java/security/cert/Certificate.java
13786 java/security/cert/CertificateEncodingException.java
13787 java/security/cert/CertificateException.java
13788 java/security/cert/CertificateExpiredException.java
13789 java/security/cert/CertificateFactory.java
13790 java/security/cert/CertificateFactorySpi.java
13791 java/security/cert/CertificateNotYetValidException.java
13792 java/security/cert/CertificateParsingException.java
13793 java/security/cert/X509CRL.java
13794 java/security/cert/X509CRLEntry.java
13795 java/security/cert/X509Certificate.java
13796 java/security/cert/X509Extension.java
13797 java/security/interfaces/DSAKey.java
13798 java/security/interfaces/DSAKeyPairGenerator.java
13799 java/security/interfaces/DSAParams.java
13800 java/security/interfaces/DSAPrivateKey.java
13801 java/security/interfaces/DSAPublicKey.java
13802 java/security/interfaces/RSAKey.java
13803 java/security/interfaces/RSAPrivateCrtKey.java
13804 java/security/interfaces/RSAPrivateKey.java
13805 java/security/interfaces/RSAPublicKey.java
13806 java/security/spec/AlgorithmParameterSpec.java
13807 java/security/spec/DSAParameterSpec.java
13808 java/security/spec/DSAPrivateKeySpec.java
13809 java/security/spec/DSAPublicKeySpec.java
13810 java/security/spec/EncodedKeySpec.java
13811 java/security/spec/InvalidKeySpecException.java
13812 java/security/spec/InvalidParameterSpecException.java
13813 java/security/spec/KeySpec.java
13814 java/security/spec/PKCS8EncodedKeySpec.java
13815 java/security/spec/RSAKeyGenParameterSpec.java
13816 java/security/spec/RSAPrivateCrtKeySpec.java
13817 java/security/spec/RSAPrivateKeySpec.java
13818 java/security/spec/RSAPublicKeySpec.java
13819 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
13820 java/sql/BatchUpdateException.java java/sql/Blob.java
13821 java/sql/CallableStatement.java java/sql/Clob.java
13822 java/sql/Connection.java java/sql/DataTruncation.java
13823 java/sql/DatabaseMetaData.java java/sql/Date.java
13824 java/sql/Driver.java java/sql/DriverManager.java
13825 java/sql/DriverPropertyInfo.java
13826 java/sql/PreparedStatement.java java/sql/Ref.java
13827 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
13828 java/sql/SQLData.java java/sql/SQLException.java
13829 java/sql/SQLInput.java java/sql/SQLOutput.java
13830 java/sql/SQLWarning.java java/sql/Statement.java
13831 java/sql/Struct.java java/sql/Time.java
13832 java/sql/Timestamp.java java/sql/Types.java
13833 java/text/Annotation.java
13834 java/text/AttributedCharacterIterator.java
13835 java/text/AttributedString.java
13836 java/text/AttributedStringIterator.java
13837 java/text/BreakIterator.java java/text/CharacterIterator.java
13838 java/text/ChoiceFormat.java java/text/Collator.java
13839 java/text/DateFormat.java java/text/DateFormatSymbols.java
13840 java/text/DecimalFormat.java
13841 java/text/DecimalFormatSymbols.java
13842 java/text/FieldPosition.java java/text/Format.java
13843 java/text/MessageFormat.java java/text/NumberFormat.java
13844 java/text/ParseException.java java/text/ParsePosition.java
13845 java/text/SimpleDateFormat.java
13846 java/text/StringCharacterIterator.java
13847 java/util/AbstractCollection.java java/util/AbstractList.java
13848 java/util/AbstractMap.java
13849 java/util/AbstractSequentialList.java
13850 java/util/AbstractSet.java java/util/ArrayList.java
13851 java/util/Arrays.java java/util/BasicMapEntry.java
13852 java/util/BitSet.java java/util/Calendar.java
13853 java/util/Collection.java java/util/Collections.java
13854 java/util/Comparator.java
13855 java/util/ConcurrentModificationException.java
13856 java/util/Date.java java/util/Dictionary.java
13857 java/util/EmptyStackException.java java/util/Enumeration.java
13858 java/util/EventListener.java java/util/EventObject.java
13859 java/util/GregorianCalendar.java java/util/HashMap.java
13860 java/util/HashSet.java java/util/Hashtable.java
13861 java/util/IdentityHashMap.java java/util/Iterator.java
13862 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
13863 java/util/LinkedList.java java/util/List.java
13864 java/util/ListIterator.java java/util/ListResourceBundle.java
13865 java/util/Locale.java java/util/Map.java
13866 java/util/MissingResourceException.java
13867 java/util/NoSuchElementException.java
13868 java/util/Observable.java java/util/Observer.java
13869 java/util/Properties.java java/util/PropertyPermission.java
13870 java/util/PropertyResourceBundle.java java/util/Random.java
13871 java/util/RandomAccess.java java/util/ResourceBundle.java
13872 java/util/Set.java java/util/SimpleTimeZone.java
13873 java/util/SortedMap.java java/util/SortedSet.java
13874 java/util/Stack.java java/util/StringTokenizer.java
13875 java/util/TimeZone.java java/util/Timer.java
13876 java/util/TimerTask.java
13877 java/util/TooManyListenersException.java
13878 java/util/TreeMap.java java/util/TreeSet.java
13879 java/util/Vector.java java/util/WeakHashMap.java
13880 java/util/jar/Attributes.java java/util/jar/JarEntry.java
13881 java/util/jar/JarException.java java/util/jar/JarFile.java
13882 java/util/jar/JarInputStream.java
13883 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
13884 java/util/zip/Adler32.java java/util/zip/CRC32.java
13885 java/util/zip/CheckedInputStream.java
13886 java/util/zip/CheckedOutputStream.java
13887 java/util/zip/Checksum.java
13888 java/util/zip/DataFormatException.java
13889 java/util/zip/Deflater.java
13890 java/util/zip/DeflaterOutputStream.java
13891 java/util/zip/GZIPInputStream.java
13892 java/util/zip/GZIPOutputStream.java
13893 java/util/zip/Inflater.java
13894 java/util/zip/InflaterInputStream.java
13895 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
13896 java/util/zip/ZipException.java java/util/zip/ZipFile.java
13897 java/util/zip/ZipInputStream.java
13898 java/util/zip/ZipOutputStream.java
13899 javax/naming/BinaryRefAddr.java
13900 javax/naming/InvalidNameException.java javax/naming/Name.java
13901 javax/naming/NamingException.java javax/naming/RefAddr.java
13902 javax/naming/StringRefAddr.java: Add license clarification.
13904 2002-01-22 Tom Tromey <tromey@redhat.com>
13906 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
13907 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
13908 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
13910 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
13911 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
13912 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
13913 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
13914 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
13915 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
13916 * java/awt/peer/FontPeer.java: Replace with Classpath version.
13917 * java/awt/peer/FramePeer.java: Replace with Classpath version.
13918 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
13919 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
13920 * java/awt/peer/ListPeer.java: Replace with Classpath version.
13921 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
13922 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
13923 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
13924 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
13925 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
13926 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
13927 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
13928 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
13929 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
13930 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
13931 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
13932 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
13933 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
13934 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
13935 (minimumSize, preferredSize, reshape): Likewise.
13936 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
13937 getColorModel): New methods.
13938 * java/awt/PopupMenu.java: Merged with Classpath.
13939 * java/awt/MenuBar.java: Merged with Classpath.
13940 * java/awt/SystemColor.java: Replace with Classpath version.
13941 * java/awt/Panel.java: Merged with Classpath.
13942 * java/awt/PaintContext.java: Updated copyright.
13943 * java/awt/MenuShortcut.java: Merged with Classpath.
13944 * java/awt/MenuContainer.java: Merged with Classpath.
13945 * java/awt/Menu.java: Merged with Classpath.
13946 * java/awt/MediaEntry.java: New file from Classpath.
13947 * java/awt/MediaTracker.java: New file from Classpath.
13948 * java/awt/List.java: Merged with Classpath version.
13949 * java/awt/Insets.java: Merged with Classpath version.
13950 * java/awt/ImageMediaEntry.java: New file from Classpath.
13951 * java/awt/Image.java: Replaced with Classpath version.
13952 * java/awt/FontMetrics.java: Merged with Classpath version.
13953 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
13955 * java/awt/Font.java: Merged with Classpath version.
13956 * java/awt/Dialog.java: Merged with Classpath version.
13957 * java/awt/Color.java: Merged with Classpath version.
13958 * java/awt/Choice.java: Merged with Classpath version.
13959 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
13960 * java/awt/Adjustable.java: Replace with Classpath version.
13961 * java/awt/MenuItem.java (paramString): Don't include class name
13962 or brackets. Call superclass paramString.
13963 * java/awt/MenuComponent.java (toString): Call paramString.
13964 (paramString): Compute string; don't call toString.
13965 * java/awt/Label.java (paramString): Don't include class name
13966 or brackets. Call superclass paramString.
13967 * java/awt/Checkbox.java (paramString): Don't include class name
13968 or brackets. Call superclass paramString.
13969 * java/awt/Button.java (paramString): Don't include class name or
13970 brackets. Call superclass paramString.
13971 * java/awt/MenuComponent.java (getTreeLock): Now protected.
13973 2002-01-20 Andreas Schwab <schwab@suse.de>
13975 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
13976 function and of parameter recv_func to ssize_t, as specified by
13979 2002-01-19 Per Bothner <per@bothner.com>
13981 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
13982 uncompressed_size in readiness for next entry.
13984 2002-01-18 Tom Tromey <tromey@redhat.com>
13986 * java/net/natPlainSocketImpl.cc: Include
13987 IllegalArgumentException.h.
13988 (_Jv_recv): New template function.
13989 (BooleanClass): Removed.
13990 (read): Use _Jv_recv.
13991 (setOption): Use Boolean::class$. Throw exception if object is
13992 not Boolean or Integer.
13994 2002-01-17 Tom Tromey <tromey@redhat.com>
13996 * java/awt/MenuComponent.java: Merged with Classpath.
13997 * java/awt/MenuItem.java: Merged with Classpath.
13998 * java/awt/Button.java: Merged with Classpath.
14000 * java/awt/ActiveEvent.java: Updated copyright.
14002 * java/awt/AWTError.java: Replaced with Classpath version.
14003 * java/awt/AWTException.java: Replaced with Classpath version.
14004 * java/awt/IllegalComponentStateException.java: Replaced with
14007 2002-01-16 Tom Tromey <tromey@redhat.com>
14009 * java/awt/Canvas.java (serialVersionUID): New constant.
14010 Updated copyright. Added javadoc from Classpath.
14011 * java/awt/ItemSelectable.java: Replaced with Classpath version.
14013 * java/awt/CheckboxGroup.java: Merged with Classpath.
14014 * java/awt/Checkbox.java: Merged with Classpath.
14016 * java/awt/Dimension.java: Updated copyright. Added javadoc from
14018 * java/awt/Point.java: Updated copyright.
14020 * java/awt/Point.java (toString): Use getClass().getName().
14023 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
14025 (hash): Correctly compute initial value for `h'.
14027 * java/awt/Label.java: Merged with Classpath.
14029 2002-01-15 Tom Tromey <tromey@redhat.com>
14031 * java/awt/AWTPermission.java: Updated copyright.
14033 * java/awt/LayoutManager2.java: Merged with Classpath.
14034 * java/awt/LayoutManager.java: Merged with Classpath.
14035 * java/awt/GridLayout.java: Updated copyright and javadoc.
14036 (getSize): Use `parent.ncomponents'. Handle insets.
14037 (layoutContainer): Use `parent.ncomponents'. Handle case where
14038 there are fewer children than columns. Correctly compute size of
14039 each cell in the grid. Handle case where there isn't enough
14041 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
14043 (gotoComponent): Use parent.ncomponents. Ensure child exists
14044 before calling setVisible() on it. Last item is `num - 1', not
14046 (layoutContainer): Hoist invariants out of loop.
14048 Start of AWT merge with Classpath:
14049 * Makefile.in: Rebuilt.
14050 * Makefile.am (awt_java_source_files): Reference files in
14051 gnu/java/awt, not gnu/gcj/awt.
14052 * java/awt/image/BufferedImage.java: Updated copyright.
14053 * java/awt/image/ComponentColorModel.java: Updated copyright.
14054 * java/awt/image/ComponentSampleModel.java: Updated copyright.
14055 * java/awt/image/DataBuffer.java: Updated copyright.
14056 * java/awt/image/DataBufferByte.java: Updated copyright.
14057 * java/awt/image/DataBufferInt.java: Updated copyright.
14058 * java/awt/image/DataBufferUShort.java: Updated copyright.
14059 * java/awt/image/IndexColorModel.java: Updated copyright.
14060 * java/awt/image/PackedColorModel.java: Updated copyright.
14061 * java/awt/image/Raster.java: Updated copyright.
14062 * java/awt/image/RasterOp.java: Updated copyright.
14063 * java/awt/image/SampleModel.java: Updated copyright.
14064 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
14065 * java/awt/image/WritableRaster.java: Updated copyright.
14066 * java/awt/color/ColorSpace.java: Updated copyright.
14067 * java/awt/color/ICC_ColorSpace.java: Updated copyright
14068 * java/awt/color/ICC_Profile.java: Updated copyright.
14069 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
14070 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
14071 * java/awt/event/HierarchyEvent.java: Updated copyright.
14072 * java/awt/event/HierarchyListener.java: Updated copyright.
14073 * java/awt/geom/AffineTransform.java: Updated copyright.
14074 * java/awt/geom/Dimension2D.java: Updated copyright.
14075 * java/awt/geom/Ellipse2D.java: Updated copyright.
14076 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
14077 * java/awt/geom/Line2D.java: Updated copyright.
14078 * java/awt/geom/NoninvertibleTransformException.java: Updated
14080 * java/awt/geom/PathIterator.java: Updated copyright.
14081 * java/awt/geom/Point2D.java: Updated copyright.
14082 * java/awt/geom/Rectangle2D.java: Updated copyright.
14083 * java/awt/geom/RectangularShape.java: Updated copyright.
14084 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
14085 * java/awt/Toolkit.java: Updated import for file moves.
14086 * java/awt/Rectangle.java: Updated copyright; added javadoc from
14088 (hashCode): New method from Classpath.
14089 * java/awt/Graphics2D.java: Updated copyright.
14090 * java/awt/Transparency.java: Updated copyright.
14091 * java/awt/Paint.java: Updated copyright.
14092 * java/awt/Graphics.java: New version from Classpath.
14093 * java/awt/EventDispatchThread.java: Updated copyright.
14094 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
14096 (gotoComponent): Wrap around on next/previous.
14097 * gnu/gcj/awt/BitMaskExtent.java: Removed.
14098 * gnu/gcj/awt/Buffers.java: Removed.
14099 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
14100 * gnu/gcj/awt/GLightweightPeer.java: Removed.
14101 * gnu/java/awt/BitMaskExtent.java: Added.
14102 * gnu/java/awt/Buffers.java: Added.
14103 * gnu/java/awt/ComponentDataBlitOp.java: Added.
14104 * gnu/java/awt/GLightweightPeer.java: Added.
14105 * java/awt/geom/Line2D.java (clone): Ignore
14106 CloneNotSupportedException.
14107 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
14108 * java/awt/Frame.java: Merged with Classpath.
14109 * java/awt/RenderingHints.java: Copyright update.
14110 * java/awt/Paint.java: Copyright update.
14111 * java/awt/image/DirectColorModel.java: Merged with Classpath.
14112 * java/awt/image/ColorModel.java: Merged with Classpath.
14113 * java/awt/Window.java (show): New Implementation from Classpath.
14114 (isShowing): Use super.isShowing().
14115 * java/awt/EventQueue.java: Merged with Classpath.
14116 * java/awt/AWTEventMulticaster.java (save): Throw
14118 (saveInternal): Likewise.
14119 * java/awt/AWTEvent.java: Now implements Serializable.
14120 * java/awt/Event.java: Copyright update.
14121 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
14122 * java/awt/image/BufferedImage.java: Copyright update.
14123 * java/awt/GraphicsConfiguration.java: Copyright update.
14124 * java/awt/Component.java: (addNotify): Don't call
14125 addNotifyContainerChildren().
14126 (addNotifyContainerChildren): Removed.
14127 (setPeer): New method from Classpath.
14128 (setTreeLock): Likewise.
14129 (setVisible): Rewrote.
14132 (validate): Set `valid'.
14133 (checkImage(Image,ImageObserver)): Implementation from Classpath.
14134 (createImage(ImageProducer)): Likewise.
14135 (prepareImage): Likewise.
14136 * java/awt/Container.java (addImpl): Handle case where constraint
14137 is not a String. Post event via system event queue.
14138 (remove): Post event via system event queue.
14139 (validateTree): Only validate child if it is invalid.
14140 (getAlignmentX): Call super method as default.
14141 (getAlignmentY): Likewise.
14142 (addContainerListener): Now synchronized.
14143 (removeContainerListener): Likewise.
14144 (addNotifyContainerChildren): Now private.
14145 * java/awt/ComponentOrientation.java: Updated copyright. Added
14147 * java/awt/FlowLayout.java (serialVersionUID): New field.
14148 (setAlignment): Better exception message.
14149 (layoutContainer): Don't compute component's preferred size unless
14150 we're going to use it.
14151 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
14152 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
14153 (firstLine, lastLine, firstItem, lastItem): New fields.
14154 (addLayoutComponent): Handle case where constraints is null.
14155 Also, handle relative locations.
14156 (removeLayoutComponent): Handle relative locations.
14157 (MIN, MAX, PREF): New constants.
14158 (calcCompSize): New method.
14159 (calcSize): New method.
14160 (minimumLayoutSize): Use it.
14161 (preferredLayoutSize): Likewise.
14162 (maximumLayoutSize): Likewise.
14163 (toString): Include more information.
14164 (setBounds): New method.
14165 (layoutContainer): Use libgcj implementation; extended to handle
14166 relative locations.
14168 2002-01-15 Tom Tromey <tromey@redhat.com>
14170 * java/lang/Float.java (equals): Preserve old code.
14171 * java/lang/Double.java (equals): Preserve old code.
14173 2002-01-15 Eric Blake <ebb9@email.byu.edu>
14175 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
14176 * java/lang/Float.java (equals, compare): Ditto.
14178 2002-01-13 Mark Wielaard <mark@klomp.org>
14180 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
14181 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
14182 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
14183 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
14185 2002-01-11 Mark Wielaard <mark@klomp.org>
14187 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
14188 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
14190 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
14191 * java/net/Socket.java: Merge with Classpath.
14192 * java/net/ServerSocket.java: Likewise.
14194 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
14196 * interpret.cc (NULLARRAYCHECK): New macro.
14197 (SAVE_PC): Just store `pc'.
14198 (find_exception): Subtract one from `pc' here.
14199 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
14200 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
14201 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
14202 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
14203 don't call SAVE_PC.
14204 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
14207 2002-01-11 Tom Tromey <tromey@redhat.com>
14209 * java/lang/natSystem.cc (init_properties): Only look for default
14210 locale if LC_MESSAGES is defined.
14211 * aclocal.m4, configure, include/config.h.in: Rebuilt.
14212 * configure.in: Call AM_LC_MESSAGES.
14213 * acinclude.m4 (AM_LC_MESSAGES): New macro.
14215 2002-01-10 Tom Tromey <tromey@redhat.com>
14217 For PR libgcj/5303:
14218 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
14219 --version. Recognize GNU-style long options. Print GNU-style
14221 (usage): Print GNU-style help. Exit with status 0.
14222 (error): New method.
14223 (run): Print error message if no class names found.
14224 (main): Don't print usage on error.
14226 2002-01-09 Tom Tromey <tromey@redhat.com>
14228 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
14230 (help, version): Use println(), not println("").
14232 For PR libgcj/5303:
14233 * gnu/gcj/convert/Convert.java (error): Program is called
14234 `jv-convert'. Print GNU-style message. Exit with status 1, not
14236 (main): Handle --help and --version.
14237 (help): New method.
14238 (version): Likewise.
14240 2002-01-08 Tom Tromey <tromey@redhat.com>
14242 * Makefile.in: Rebuilt.
14243 * Makefile.am (ordinary_java_source_files): Added new files.
14244 * gnu/java/locale/LocaleInformation.java: Extend
14245 LocaleInformation_en.
14246 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
14247 and time/date formats.
14248 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
14250 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
14251 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
14252 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
14253 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
14254 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
14255 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
14256 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
14257 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
14258 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
14259 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
14260 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
14261 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
14262 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
14263 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
14264 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
14265 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
14266 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
14267 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
14268 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
14269 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
14270 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
14271 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
14272 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
14273 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
14274 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
14275 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
14276 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
14277 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
14278 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
14279 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
14280 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
14281 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
14282 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
14283 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
14284 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
14285 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
14286 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
14287 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
14288 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
14289 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
14290 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
14291 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
14292 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
14293 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
14294 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
14295 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
14296 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
14297 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
14298 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
14299 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
14300 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
14301 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
14302 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
14303 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
14304 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
14305 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
14306 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
14307 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
14308 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
14309 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
14310 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
14311 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
14312 * gnu/java/locale/LocaleInformation_es_US.java: New file.
14313 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
14314 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
14315 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
14316 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
14317 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
14318 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
14319 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
14320 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
14321 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
14322 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
14323 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
14324 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
14325 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
14326 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
14327 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
14328 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
14329 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
14330 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
14331 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
14332 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
14333 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
14334 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
14335 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
14336 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
14337 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
14338 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
14339 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
14340 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
14341 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
14342 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
14343 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
14344 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
14345 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
14346 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
14347 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
14348 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
14349 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
14350 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
14351 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
14352 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
14353 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
14354 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
14355 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
14356 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
14357 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
14358 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
14359 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
14360 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
14361 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
14362 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
14363 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
14364 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
14365 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
14366 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
14367 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
14368 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
14369 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
14370 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
14371 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
14372 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
14373 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
14374 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
14375 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
14376 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
14377 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
14378 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
14379 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
14381 For PR libgcj/5031:
14382 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
14383 choose default locale.
14385 * Makefile.in: Rebuilt.
14386 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
14388 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
14390 * java/net/natPlainSocketImpl.cc: Added timeout handling for
14392 (close): New function closes the socket.
14393 (write): New functions for output to socket.
14394 (read): New functions for reading from socket.
14395 * java/net/PlainSocketImpl.java: Glue for new timeout
14397 (write): Call the native impl.
14399 (getInputStream): Get a stream to read from the socket.
14400 (getOutputStream): Get a stream to write to the socket.
14402 2002-01-08 Tom Tromey <tromey@redhat.com>
14404 * resolve.cc (_Jv_PrepareClass): Enable verifier.
14406 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
14408 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
14409 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
14411 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
14413 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
14414 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
14415 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
14416 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
14417 insn_bastore, insn_castore, insn_sastore]: Use it.
14418 (continue1) [insn_arraylength]: Check for null array.
14420 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
14422 * configure, include/config.h.in: Rebuilt.
14423 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
14424 * configure.in: Call AC_STRUCT_TIMEZONE.
14426 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
14428 * configure.host: Disable the interpreter for Darwin.
14430 2002-01-04 Tom Tromey <tromey@redhat.com>
14432 * java/lang/Thread.java (stop): No longer synchronized.
14435 2002-01-02 Tom Tromey <tromey@redhat.com>
14437 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
14440 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
14442 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
14443 PPC Darwin, not for all of Darwin.