1 2003-10-01 Bryce McKinlay <bryce@mckinlay.net.nz>
4 * gnu/gcj/runtime/StackTrace.java (finalize): Declare.
5 * gnu/gcj/runtime/natStackTrace.cc (finalize): New. Free "addrs".
7 2003-10-01 Tom Tromey <tromey@redhat.com>
9 * gnu/gcj/runtime/FirstThread.java (getMain): Fixed indentation.
11 2003-10-01 Andrew Haley <aph@redhat.com>
13 * java/lang/natClass.cc (initializeClass): Check for otable and
15 (_Jv_LinkOffsetTable): Check for existence of atable. Rewrite
16 loops using for(). Search superinterfaces. Check for fields as
17 well as methods. Initialize atable as well as otable: check for
18 static methods as well as virtual methods.
19 * java/lang/Class.h (struct _Jv_AddressTable): New.
22 * include/jvm.h (_Jv_equalUtf8Consts): constify.
23 * prims.cc (_Jv_equalUtf8Consts): constify.
25 2003-09-29 Tom Tromey <tromey@redhat.com>
28 * include/jvm.h (_Jv_FinalizeString,
29 _Jv_RegisterStringFinalizer): Declare.
30 * java/lang/natString.cc (_Jv_FinalizeString): Renamed from
33 (_Jv_NewStringUtf8Const): Likewise.
34 * java/lang/ref/natReference.cc (finalize_referred_to_object):
35 Add special case when finalizing a String.
36 (in_hash): New function.
37 (_Jv_RegisterStringFinalizer): Likewise.
38 (maybe_add_finalize): Likewise.
40 2003-09-29 Michael Koch <konqueror@gmx.de>
42 * java/net/InetAddress.java:
43 (isMulticastAddress): Dont use local variable to store address length.
44 Let the compiler optimize this.
45 (getHostName): Merged dcoumentation from classpath.
46 (getAddress): Likewise.
47 (getHostAddress): Likewise.
51 (getByName): Likewise.
52 (getAllByName): Likewise.
54 2003-09-29 Michael Koch <konqueror@gmx.de>
56 * java/awt/image/IndexColorModel.java: Reformated.
58 2003-09-29 Michael Koch <konqueror@gmx.de>
60 * java/net/InetAddress.java,
61 java/net/URL.java: Reformated.
63 2003-09-29 Bryce McKinlay <bryce@mckinlay.net.nz>
65 * boehm.cc (_Jv_BuildGCDescr): Put first word of object in most
66 significant bit of descriptor. Include the vtable and sync_info
69 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
71 * java/text/DateFormat.java (format): Throw IllegalArgumentException
72 if `obj' is not a Number or Date instance.
73 * java/text/SimpleDateFormat.java (tokens): Make it an ArrayList
76 2003-09-28 Bryce McKinlay <bryce@mckinlay.net.nz>
78 * java/text/SimpleDateFormat.java (parse): Revert patch of 2003-09-25.
79 Don't call setTimeZone on calendar.
81 2003-09-27 Michael Koch <konqueror@gmx.de>
83 * java/net/URL.java (getURLStreamHandler): Compile fixes.
85 2003-09-27 Michael Koch <konqueror@gmx.de>
87 * java/net/URL.java (getURLStreamHandler):
88 Check if we have to use cache before trying to retrieve handler from
89 cache. Rename facName to clsName to match classpath more. Reformated
92 2003-09-27 Michael Koch <konqueror@gmx.de>
94 * gnu/java/nio/SelectionKeyImpl.java
95 (ch): Make package-private again. Jikes found this bug.
96 Jeff Sturm submitted PR12426 for this to bugzilla
97 to fix this bug in gcj.
99 2003-09-26 Michael Koch <konqueror@gmx.de>
101 * java/rmi/server/RMIClassLoader.java:
102 Reformatted file, no functional code changes.
104 2003-09-26 Sascha Brawer <brawer@dandelis.ch>
106 * java/awt/image/SinglePixelPackedSampleModel.java (createDataBuffer):
107 Save space for some pixels at the buffer end. Added Javadoc.
109 2003-09-26 Tom Tromey <tromey@redhat.com>
111 * java/io/ObjectOutputStream.java (writeFields): Fixed
113 (putFields): Likewise.
115 2003-09-26 Michael Koch <konqueror@gmx.de>
117 * java/nio/ByteBufferHelper.java:
118 Totally reworked with help from Eric Blake.
120 2003-09-26 Tom Tromey <tromey@redhat.com>
122 * java/awt/geom/RoundRectangle2D.java (getPathIterator): Wrote.
123 * java/awt/geom/PathIterator.java: Documentation fixes.
125 2003-09-25 Jeff Sturm <jsturm@one-point.com>
127 * gnu/java/nio/SelectorImpl.java (getFDsAsArray): Use getNativeFD().
129 (register): Use DatagramChannelSelectionKey, SocketChannelSelectionKey.
131 2003-09-25 Michael Koch <konqueror@gmx.de>
133 * gnu/java/nio/DatagramChannelImpl.java
134 (getNativeFD): New method.
135 * gnu/java/nio/SelectionKeyImpl.java
136 (SelectionKeyImpl): Class made abstract.
138 (SelectionKeyImpl): Remove fd argument.
139 (getNativeFD): New method.
140 * gnu/java/nio/SocketChannelImpl.java
141 (getNativeFD): New method.
142 gnu/java/nio/DatagramChannelSelectionKey.java,
143 * gnu/java/nio/SocketChannelSelectionKey.java:
145 * Makefile.am (ordinary_java_source_files):
146 Added new files gnu/java/nio/DatagramChannelSelectionKey.java and
147 gnu/java/nio/SocketChannelSelectionKey.java.
148 * Makefile.in: Regenerated.
150 2003-09-25 Michael Koch <konqueror@gmx.de>
152 * java/lang/reflect/Proxy.java
153 (getProxyClass): Remove workaround for gcj 3.0.x.
155 2003-09-25 Michael Koch <konqueror@gmx.de>
157 * gnu/java/net/PlainDatagramSocketImpl.java
158 (finalize): Moved to directly after constructor.
159 (getNativeFD): New method.
160 * gnu/java/net/PlainSocketImpl.java
161 (getNativeFD): New method.
163 2003-09-25 Ingo Proetel <proetel@aicas.com>
165 * java/io/ObjectOutputStream.java:
166 Allow putFields be called more than once.
168 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
170 * java/awt/image/Raster.java(Raster): Interpret null origin as (0,0).
171 * java/awt/image/WritableRaster.java(WritableRaster): Likewise.
172 * java/awt/image/BufferedImage.java (toString): Implement.
174 2003-09-25 Jeff Sturm <jsturm@one-point.com>
176 * aclocal.m4: Rebuilt.
177 * configure: Rebuilt.
179 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
181 * java/text/SimpleDateFormat.java (parse): Don't use class calendar
184 2003-09-25 Michael Koch <konqueror@gmx.de>
186 * gnu/java/nio/SelectorImpl.java
187 (implSelect): Renamed from java_do_select.
188 (select): Call native implSelect() and add support for Thread
190 * gnu/java/nio/natSelectorImpl.cc
191 (implSelect): Renamed from java_do_select.
193 2003-09-25 Michael Koch <konqueror@gmx.de>
195 * gnu/java/nio/SelectorImpl.java
196 (selectNow): Made final, throws IOException.
198 (getFDsAsArray): Made final.
199 (selectedKeys): Likewise.
201 (deregisterCancelledKeys): Likewise.
202 (register): Likewise.
204 (add_selected): Removed.
205 * gnu/java/nio/natSelectorImpl.cc:
206 No need to include bstring.h or gcj/cni.h.
207 (helper_put_filedescriptors): Rewritten.
208 (helper_get_filedescriptors): Rewritten.
210 2003-09-25 Sascha Brawer <brawer@dandelis.ch>
212 * java/awt/font/FontRenderContext.java (getTransform): Return
213 copy of internal transform object. Add Javadoc.
214 * java/awt/geom/Rectangle2D.java (getPathIterator): Use the same
215 winding rule as Sun J2SE.
216 * javax/swing/border/MatteBorder.java (MatteBorder(Icon)): Docfix.
218 2003-09-25 Ingo Proetel <proetel@aicas.com>
220 * java/rmi/Naming.java:
221 Added comments, now accepts pseudo protocol "rmi".
223 2003-09-25 Guilhem Lavaux <guilhem@kaffe.org>
225 * java/text/DecimalFormat.java (format): Don't immediatly round
227 (setMinimumIntegerDigits): Call super.
228 (setMinimumFractionDigits): Likewise.
229 (setMaximumIntegerDigits): Likewise.
230 (setMaximumFractionDigits): Likewise.
232 2003-09-25 Michael Koch <konqueror@gmx.de>
234 * gnu/java/nio/DatagramChannelImpl.java
235 (DatagramChannelImpl): Made class final.
236 (blocking): Made private.
237 (socket): Made it a NIODatagramSocket and private.
238 (DatagramChannelImpl): create NIODatagramSocket instead of
240 (implConfigureBlocking): Set socket timeout.
241 (connect): Check that channel is not closed.
242 (write): Implemented.
246 (receive): Implemented.
248 * gnu/java/nio/SelectionKeyImpl.java
249 (readyOps): Made private.
250 (interestOps): Made private.
251 (impl): Made private.
253 (readyOps): Check if selection key is valid.
254 (interestOps): Likewise.
255 * gnu/java/nio/SelectorImpl.java
257 (keys): Made private.
258 (selected): Made private.
259 (finalize): New method.
260 (implCloseSelector): Rewritten.
261 (keys): Return unmodifiable Set.
262 (deregisterCancelledKeys): Fixed typo in method name.
263 * gnu/java/nio/SocketChannelImpl.java
264 (SocketChannelImpl): Made class final.
265 (socket): Made it a NIOSocket and private.
266 (blocking): Made private.
267 (connected): Made private.
268 (connectionPending): New member variable.
269 (SocketChannelImpl): New implementation.
270 (finalizer): Use isConnected().
271 (connect): Rewritten.
272 (finishConnect): Throws IOException, implemented.
273 (isConnectionPending): Return connectionPending.
276 * gnu/java/nio/NIOConstants.java: New file.
277 * Makefile.am (ordinary_java_source_files):
278 Added gnu/java/nio/NIOConstants.java.
279 * Makefile.in: Regenerated.
281 2003-09-25 Michael Koch <konqueror@gmx.de>
283 * java/net/InetAddress.java:
284 Reorder imports, remove implementation comment.
285 (isMulticastAddress): Merged documentation from classpath.
286 * java/net/URLConnection.java
287 (setRequestProperty): Check key for null, fix documentation.
288 (adREquestProperty): Check key for null, remove wrong implementation
289 and replace it with comment to overwrite this method in subclasses,
292 2003-09-25 Tom Tromey <tromey@redhat.com>
294 * java/lang/reflect/Proxy.java (generate): Uncomment protection
296 * java/lang/natClassLoader.cc (defineClass): Added `loader'
298 (linkClass0): Now in VMClassLoader.
299 (markClassErrorState0): Likewise.
300 (getSystemClassLoaderInternal): New method.
301 * java/lang/natClass.cc (initializeClass): Use
302 VMClassLoader::resolveClass.
303 * java/lang/ClassLoader.java: New version, from Classpath.
304 * java/lang/Class.java (getProtectionDomain):
305 protectionDomainPermission and unknownProtectionDomain now in
307 * java/lang/Class.h: VMClassLoader now a friend class.
308 * gnu/gcj/runtime/VMClassLoader.java (instance): Now
310 * gcj/javaprims.h: Regenerated class list.
311 * resolve.cc (_Jv_PrepareClass): Use VMClassLoader::resolveClass.
312 * java/lang/VMClassLoader.java: New version from Classpath;
313 modified for libgcj use.
315 2003-09-25 Michael Koch <konqueror@gmx.de>
317 * java/nio/ByteBufferHelper.java:
319 * java/nio/ByteBufferImpl.java,
320 java/nio/DirectByteBufferImpl.java,
321 java/nio/MappedByteBufferImpl.java
322 (getType,putType): Use new helper class ByteBufferHelper.
323 * Makefile.am (ordinary_java_source_files):
324 Added java/nio/ByteBufferHelper.java.
325 * Makefile.in: Regenerated.
327 2003-09-25 Bryce McKinlay <bryce@mckinlay.net.nz>
329 * gnu/java/net/natPlainSocketImplWin32.cc: Add missing #includes.
332 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
334 * java/lang/StringBuffer.java (substring): Don't set `shared' on small
335 Strings, even if buffer is already shared.
337 2003-09-24 Michael Koch <konqueror@gmx.de>
339 * acinclude.m4 (AM_LC_LOCALES): Added check for locale.h.
341 2003-09-24 Bryce McKinlay <bryce@mckinlay.net.nz>
343 * gnu/java/net/PlainSocketImpl.java (read): Remove declaration.
345 (SocketInputStream): Declare `read' and `write' methods native.
346 Remove implementations which called back into PlainSocketImpl.
347 Remove unneccessary overridden methods.
348 * gnu/java/net/natPlainSocketImplNoNet.cc (read): Move implementation
349 to inner class PlainSocketImpl.SocketInputStream.
351 * gnu/java/net/natPlainSocketImplPosix.cc: As above.
352 * gnu/java/net/natPlainSocketImplWin32.cc: As above.
353 * gnu/java/net/SocketInputStream.java: Remove unused file.
354 * gnu/java/net/SocketOutputStream.java: Likewise.
355 * Makefile.am: Build CNI headers for PlainSocketImpl.SocketInputStream
356 and SocketOutputStream.
357 * Makefile.in: Rebuilt.
359 2003-09-23 Nathanael Nerode <neroden@gcc.gnu.org>
361 * java/lang/System.java: Add GCJ LOCAL note about encoding aliases.
363 * java/lang/Float.java, java/lang/Double.java: Add GCJ LOCAL
366 2003-09-22 Anthony Green <green@redhat.com>
368 * configure.in (HAVE_USLEEP_DECL): Define for newlib build.
369 * configure: Rebuilt.
371 2003-09-21 Ralph Loader <suckfish@ihug.co.nz>
374 * java/lang/StringBuffer.java (substring): Fix handling of shared flag.
376 2003-09-22 Michael Koch <konqueror@gmx.de>
378 * jni.cc (_Jv_LookupJNIMethod): Remove workaround that should hide a
379 compiler warning but produces a different one now.
381 2003-09-22 Michael Koch <konqueror@gmx.de>
383 * java/net/InetAddress.java:
384 Moves around some code, reformats and adds documentation.
385 No functional changes.
387 2003-09-22 Michael Koch <konqueror@gmx.de>
389 * java/net/JarURLConnection.java
390 (JarURLConnection): Modifed code to match classpath more, fixed comment.
391 (getCertificates): Made it more error prone.
392 (getMainAttributes): Likewise.
393 (getAttributes): Implemented.
394 (getManifest): Reformatted code.
396 2003-09-20 Tom Tromey <tromey@redhat.com>
398 * java/awt/Component.java: Indentation cleanup from Classpath.
400 2003-09-20 Dalibor Topic <robilad@kaffe.org>
402 * java/awt/BasicStroke.java (BasicStroke): Fixed illegal argument
403 checking to follow 1.4.2 spec.
405 2003-08-11 Ingo Proetel <proetel@aicas.com>
407 * gnu/java/rmi/server/UnicastRef.java: make constructor public and check if serverobject
408 is compatible in case client and server are running in the same VM
409 (remerged from Classpath on 2003-09-20)
411 2003-09-19 David Daney <ddaney@avtrex.com>
413 * java/lang/ref/Reference.java (clear): Set referent to null and
416 2003-09-19 Michael Koch <konqueror@gmx.de>
418 * gnu/java/nio/NIODatagramSocket.java,
419 gnu/java/nio/NIOSocket.java: New files.
420 * Makefile.am (ordinary_java_source_files):
421 Added gnu/java/nio/NIODatagramSocket.java and
422 gnu/java/nio/NIOSocket.java.
423 * Makefile.in: Regenerated.
425 2003-09-19 Thomas Fitzsimmons <fitzsim@redhat.com>
427 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create()): Create a
428 top-level GTK window.
429 (getArgs): Add "title" property.
430 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (setResizable): Use
431 "allow_shrink" and "allow_grow" properties.
432 * java/awt/Dialog.java: Initialize resizable to true and change
433 comments accordingly. Initialize visible to false in
435 * java/awt/Frame.java (dispose): Remove method.
436 * java/awt/Window.java (ownedWindows): New field.
437 (Window(Window,GraphicsConfiguration)): Add a weak reference to
438 owner's ownedWindows vector.
439 (finalize): Remove method.
440 (hide): Hide owned windows.
441 (dispose): Dispose of owned windows.
442 (getOwnedWindows): Implement.
443 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Remove
445 (set(String,boolean)): Clamp gboolean parameter to g_object_set
447 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
448 (create): Set window's size requisition.
449 (connectHooks): Fix indentation.
450 (setResizable): Remove function.
451 (static setBounds): Likewise.
452 (setBounds): Replace call to setBounds with GTK size requisition
455 2003-09-19 Mohan Embar <gnustuff@thisiscool.com>
457 * win32-threads.cc: (ensure_interrupt_event_initialized) New
458 function for lazy initialization of an auto-reset event.
459 (_Jv_CondWait) Added thread interrupt support.
460 (_Jv_ThreadInitData) Added initialization of interrupt support
462 (_Jv_ThreadDestroyData) Added cleanup of interrupt support members.
463 (_Jv_ThreadStart) Removed unused code.
464 (_Jv_Win32GetInterruptEvent) New method for returning interrupt event
465 to an external caller.
466 (_Jv_ThreadInterrupt) Implemented.
467 * include/win32-threads.h: (_Jv_Thread_t) Added a Win32 auto-reset
468 event for interrupt support as well as a mutex which regulates
470 (_Jv_Win32GetInterruptEvent) Declared new method for returning interrupt
471 event to an external caller.
472 * java/lang/natWin32Process.cc: (cleanup) Close handle to spawned
474 (waitFor) Added interrupt support.
476 2003-09-19 Michael Koch <konqueror@gmx.de>
478 * java/net/DatagramSocket.java (getLocalAddress):
479 Renamed result variable to localAddr.
480 * java/net/MulticastSocket.java:
481 No need to import gnu.java.net.PlainDatagramSocketImpl.
483 2003-09-18 Sascha Brawer <brawer@dandelis.ch>
485 * java/awt/Toolkit.java (getSystemEventQueue, getSystemEventQueueImpl):
486 Replace UTF-8 characters in Javadoc by XML/HTML escape sequence.
488 2003-09-18 Tom Tromey <tromey@redhat.com>
490 * javax/naming/InitialContext.java: Reindented.
492 2003-09-18 Dalibor Topic <robilad@kaffe.org>,
493 Helmer Kraemer <hkraemer@freenet.de>
495 * javax/naming/spi/NamingManager.java (getURLContext,
496 getObjectInstance, getStateToBind): Always use current thread's
497 context class loader when calling Class.forName.
499 2003-09-18 Michael Koch <konqueror@gmx.de>
501 * java/util/Timer.java (finalize): Added "throws Throwable".
503 2003-09-18 Michael Koch <konqueror@gmx.de>
505 * java/net/DatagramSocket.java
507 (receive): Use getChannel() instead of ch.
509 (getChannel): Return null.
510 * java/net/ServerSocket.java
512 (setChannel): Removed.
513 (implAccept): Use getChannel() instead of ch.
515 (getChannel): Return null.
516 * java/net/Socket.java
518 (connect): Use getChannel() instead of ch.
519 (setChannel): Removed.
520 (getChannel): Return null.
522 2003-09-18 Mark Wielaard <mark@klomp.org>
524 Reported by Guilhem Lavaux and Julian Dolby
525 * java/io/ObjectStreamClass.java (getSerialPersistentFields): Get the
526 field "serialPersistentFields", not "getSerialPersistentFields".
528 2003-09-18 Ingo Proetel <proetel@aicas.com>
530 * java/util/TimeZone.java: Initialize lazily.
531 * java/util/Locale.java (readManifest): Fix check for country.
532 * java/util/GregorianCalendar.java: Make use of ResourceBundle better
534 * java/util/Calendar.java: Make use of ResourceBundle better
537 2003-09-18 Jeroen Frijters <jeroen@frijters.net>
539 * java/sql/Timestamp.java
540 (valueOf): Fixed confusion of java.sql.Date and java.util.Date
542 2003-09-18 David P Grove <groved@us.ibm.com>
544 * java/io/LineNumberReader (read): Don't reset pos & limit when
547 2003-09-18 Dalibor Topic <robilad@kaffe.org>
549 * gnu/java/rmi/rmic/Compile_gcj.java (COMPILER_ARGS): New private
551 (computeArguments): use computeTypicalArguments.
553 * gnu/java/rmi/rmic/Makefile.am (EXTRA_DIST): Add Compile_kjc.java,
554 Compile_jikes.java and RMICException.java.
555 * gnu/java/rmi/rmic/Compile_kjc.java: New file.
556 * gnu/java/rmi/rmic/Compile_jikes.java: Likewise.
557 * gnu/java/rmi/rmic/RMICException.java: Likewise.
559 * gnu/java/rmi/rmic/Compiler.java (getDestination): New method.
561 * gnu/java/rmi/rmic/CompilerProcess.java: Import java.io.InputStream.
562 (computeTypicalArguments): New method.
563 (compile): Print compiler output to System.out. Collect compiler
564 error output and use it in exception message.
566 * gnu/java/rmi/rmic/RMIC.java: Import java.util.Set.
567 (destination): Initialize to null.
568 (run): Replace file separator with '.' when processing class.
569 (processClass): Replace '.' with file separator when compiling
571 (findClass): Use SystemClassLoader to load class.
572 (generateStub): Use full class name for generated stub, that puts
573 it in right path. Replace '.' with file separator when generating
574 stub file name. Write just the stub class name without package
575 information as class name, and constructor name. Write only
576 interface names for interfaces extending java.rmi.Remote as
578 (generateSkel): Use full class name for generated skel, that puts
579 it in right path. Replace '.' with file separator when generating
580 stub file name. Write just the stub class name without package
581 information as class name.
583 2003-09-18 Michael Koch <konqueror@gmx.de>
585 * Makefile.am (rmi_java_source_files):
586 Added gnu/java/rmi/rmic/Compile_kjc.java,
587 gnu/java/rmi/rmic/Compile_jikes.java and
588 gnu/java/rmi/rmic/RMICException.java
589 * Makefile.in: Regenerated.
591 2003-09-17 Graydon Hoare <graydon@redhat.com>
593 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
594 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
595 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
596 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
599 2003-09-16 Graydon Hoare <graydon@redhat.com>
601 * java/awt/BufferedImage.java (setData): Support non-component
605 2003-09-10 Graydon Hoare <graydon@redhat.com>
607 * java/awt/geom/AffineTransform.java(transform): Fix airthmetic bugs.
608 * java/awt/geom/Arc2D.java: Approximate arc segments with cubics.
610 2003-09-17 Mohan Embar <gnustuff@thisiscool.com>
612 * configure.in: Standardized help text case of
613 --enable-hash-synchronization
614 New configure switch --enable-libgcj-multifile and corresponding
615 automake conditional ONESTEP.
616 * configure: Rebuilt.
617 * Makefile.am: Use automake conditional ONESTEP to determine
618 whether classfiles should be compiled individually or all
620 * Makefile.in: Rebuilt.
622 2003-09-16 Thomas Fitzsimmons <fitzsim@redhat.com>
624 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java (construct):
625 Remove method declaration.
626 (create()): Call native create.
627 (create(int)): New method.
628 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
629 (create): Add window_id parameter. Call gtk_plug_new with
631 (construct): Remove method implementation.
633 2003-09-16 Mohan Embar <gnustuff@thisiscool.com>
635 * Makefile.am: (MOSTLYCLEANFILES) Removed libtool objects.
636 (mostlyclean-local): New target patterned after clean-local
637 which recursively deletes all libtool objects using 'libtool rm'.
638 (clean-local): Slightly modified comment to alleviate monotony.
639 (distclean-local): New target patterned after clean-local
640 which recursively deletes all .d files.
641 * Makefile.in: Rebuilt.
643 2003-09-11 Tom Tromey <tromey@redhat.com>
645 * java/net/URLStreamHandler.java (parseURL): If original file
646 ends with "/", so must canonical result.
647 * java/io/natFilePosix.cc (getCanonicalPath): Clean up snafus
648 with nul-termination and finding previous "/".
650 2003-09-11 Michael Koch <konqueror@gmx.de>
652 * acconfig.h: Removed most items.
653 * configure.in: Added descriptions to AC_DEFINE macros that where in
655 * include/config.h.in: Regenerated.
657 2003-09-11 Sascha Brawer <brawer@dandelis.ch>
659 * java/awt/Toolkit.java (getSystemEventQueue): Call SecurityManager
660 if one is installed. Improve Javadoc.
661 (getSystemEventQueueImpl): Improve Javadoc.
663 2003-09-11 Tom Tromey <tromey@redhat.com>
665 * java/io/natFilePosix.cc (getCanonicalPath): Handle case where
668 2003-09-10 Anthony Green <green@redhat.com>
670 * gnu/java/net/natPlainDatagramSocketImplWin32.cc (peekData):
671 Specify full name when referencing ::java::net::InetAddress.
672 * gnu/java/net/natPlainSocketImplWin32.cc (accept): Ditto.
675 2003-09-10 Michael Koch <konqueror@gmx.de>
677 * acconfig.h (__NO_MATH_INLINES): Removed.
678 * configure.in: Removed check for g++ math inlining bug from 2000.
679 * configure.host: Removed -D__NO_MATH_INLINES in libgcj_cflags and
681 * configure: Regenerated.
683 2003-09-10 David Daney <ddaney@avtrex.com>
685 * java/util/Arrays.java (equals(all variants)): Quit using
686 NullPointerException catching to detect null valued parameters.
688 2003-09-10 Michael Koch <konqueror@gmx.de>
690 * java/net/DatagramSocket.java,
691 java/net/MulticastSocket.java,
692 java/net/ServerSocket.java,
693 java/net/Socket.java:
694 Use gnu.java.net.Plain*SocketImpl instead of
695 java.net.PlainSocketImpl.
696 * java/net/PlainDatagramSocketImpl.java,
697 java/net/PlainSocketImpl.java,
698 java/net/SocketInputStream.java,
699 java/net/SocketOutputStream.java,
700 java/net/natPlainDatagramSocketImplNoNet.cc,
701 java/net/natPlainDatagramSocketImplPosix.cc,
702 java/net/natPlainDatagramSocketImplWin32.cc,
703 java/net/natPlainSocketImplNoNet.cc,
704 java/net/natPlainSocketImplPosix.cc,
705 java/net/natPlainSocketImplWin32.cc:
707 * gnu/java/net/PlainDatagramSocketImpl.java,
708 gnu/java/net/PlainSocketImpl.java,
709 gnu/java/net/SocketInputStream.java,
710 gnu/java/net/SocketOutputStream.java,
711 gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
712 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
713 gnu/java/net/natPlainDatagramSocketImplWin32.cc,
714 gnu/java/net/natPlainSocketImplNoNet.cc,
715 gnu/java/net/natPlainSocketImplPosix.cc,
716 gnu/java/net/natPlainSocketImplWin32.cc:
717 New files (moved from java/net).
718 * configure.in: Create links for gnu/java/net/natPlain*SocketImpl.cc
719 instead of java/net/natPlain*SocketImpl.cc.
720 * configure: Regenerated.
721 * Makefile.am: Moved files from java/net to gnu/java/net.
722 * Makefile.in: Regenerated.
724 2003-09-09 Alan Modra <amodra@bigpond.net.au>
726 * configure: Regenerate.
728 2003-09-04 Tom Tromey <tromey@redhat.com>
730 * configure.host: Removed erroneous comment.
732 * gnu/java/awt/natEmbeddedWindow.cc (setWindowPeer): Removed
733 lvalue cast; use correct rvalue cast.
735 2003-09-02 Thomas Fitzsimmons <fitzsim@redhat.com>
737 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Add width
738 and height arguments to GtkWindowPeer.create method call.
739 * gnu/java/awt/peer/gtk/GtkWindowPeer.java
740 (create(int,int,int)): New method.
741 (create(int)): Add call to new create method.
742 (create()): Add width and height arguments to create method
744 (GtkWindowPeer): Remove call to setBounds.
745 * java/awt/Frame.java (Frame(String)): Initialize visible field
747 (Frame(GraphicsConfiguration)): Likewise.
748 (Frame(String,GraphicsConfiguration)): Likewise.
749 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c (create):
750 Add width and height parameters. Call
751 gtk_window_set_default_size.
752 (connectHooks): Remove unused name variable.
753 (static setBounds): Call gtk_window_resize not
754 gtk_widget_set_usize.
755 (setBounds): Remove unused nchildren variable.
757 2003-08-31 Ingo Proetel <proetel@aicas.com>
759 * java/util/logging/Logger.java: provide class and method information
760 * java/util/logging/LogManager.java: create handlers
761 * java/util/logging/SimpleFormatter.java: print souceClassName and
764 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
766 * win32.cc: fixed tab, indentation and whitespace
768 removed jvm.h include
769 added includes java/lang/UnsupportedOperationException.h,
770 java/io/IOException.h, java/net/SocketException.h
771 (WSAEventWrapper): class implementation
772 (_Jv_WinStrError): implemented both overloads
773 (_Jv_ThrowIOException): implemented both overloads
774 (_Jv_ThrowSocketException): implemented both overloads
775 (_Jv_select): implemented
776 * include/win32.h: fixed tab, indentation and whitespace
778 wrapped <windows.h> include with #define WIN32_LEAN_AND_MEAN
780 (WSAEventWrapper): added class declaration
781 (_Jv_WinStrError): added both overload declarations
782 (_Jv_ThrowIOException): added both overload declarations
783 (_Jv_ThrowSocketException): added both overload declarations
784 removed ENOTCONN, ECONNRESET and ENOPROTOOPT defines
785 (_Jv_select): added declaration
786 (_Jv_socket): removed
787 (_Jv_connect): removed
790 (_Jv_accept): removed
791 (_Jv_listen): removed
794 * java/io/natFileDescriptorWin32.cc: fixed tab, indentation and
795 whitespace inconsistencies
796 replaced <windows.h> #include with <platform.h>
797 removed jvm.h include
798 (testCanUseGetHandleInfo): new function which tests whether Win32
799 GetHandleInformation() call can be used with console buffer handles
800 (only supported on >=WinNT 5.0)
801 (winerr): removed (superseded by _Jv_WinStrError in include/win32.h)
802 (valid): rewrote implementation using GetHandleInformation()
803 (sync): changed exception throwing to use error string and exception
804 helper methods declared in include/win32.h
807 (setLength): likewise
810 (getFilePointer): likewise
812 * java/io/natFileWin32.cc: fixed tab, indentation and
813 whitespace inconsistencies
814 replaced <windows.h> #include with <platform.h>
815 removed jvm.h include
816 (_access): use JV_TEMP_UTF_STRING
818 (performMkDir): use JV_TEMP_UTF_STRING
819 (performRenameTo): likewise
820 (performDelete): likewise
821 (performCreate): likewise
822 (performSetReadOnly): likewise
823 (performSetLastModified): likewise
824 * java/lang/natWin32Process.cc: fixed tab, indentation and
825 whitespace inconsistencies
826 replaced <windows.h> #include with <platform.h>
827 removed includes gcj/cni.h, jvm.h
828 (new_string): removed
829 (startProcess): use JV_TEMP_UTF_STRING,
830 changed exception throwing to use error string and exception
831 helper methods declared in include/win32.h
832 * java/net/natInetAddressWin32.cc: fixed tab, indentation and
833 whitespace inconsistencies
834 replaced <windows.h> #include with <platform.h>
835 removed jvm.h include
836 removed DISABLE_JAVA_NET conditional code
837 removed POSIX conditional code not relevant to Win32
838 (aton): use JV_TEMP_UTF_STRING
839 removed POSIX conditional code not relevant to Win32
841 (getLocalHostName): likewise
842 * java/net/natNetworkInterfaceWin32.cc: fixed tab, indentation and
843 whitespace inconsistencies
844 removed unnecessary windows.h, winsock.h and gcj/cni.h includes
845 removed DISABLE_JAVA_NET conditional code
846 removed POSIX conditional code not relevant to Win32
847 (winsock2GetRealNetworkInterfaces): new function to compute network
848 interfaces via Winsock2 API
849 (determineGetRealNetworkInterfacesFN): new function for returning
850 a function pointer to the function used to compute network interfaces.
851 (getRealNetworkInterfaces): implemented
852 * java/net/natPlainDatagramSocketImplWin32.cc: fixed tab, indentation and
853 whitespace inconsistencies
854 removed gcj/cni.h include
855 removed DISABLE_JAVA_NET conditional code
856 removed POSIX conditional code not relevant to Win32
857 changed net POSIXisms to Win32isms
858 replaced _Jv socket-related calls with their real Win32 equivalents
859 changed exception throwing to use error string and exception
860 helper methods declared in include/win32.h
861 (peekData): implemented timeout support
863 * java/net/natPlainSocketImplWin32.cc: fixed tab, indentation and
864 whitespace inconsistencies
865 removed gcj/cni.h and gcj/javaprims.h includes
866 removed DISABLE_JAVA_NET conditional code
867 removed POSIX conditional code not relevant to Win32
868 changed net POSIXisms to Win32isms
869 replaced _Jv socket-related calls with their real Win32
871 changed exception throwing to use error string and exception
872 helper methods declared in include/win32.h
873 (throwConnectException): helper function for connect()
874 (connect): implemented timeout support
876 (doRead): new helper function common to both read() method overloads,
877 includes timeout support
878 (read): implemented both overloads in terms of doRead()
879 (available): implemented using ioctlsocket()
881 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
883 * java/net/natInetAddressWin32.cc,
884 java/net/natNetworkInterfaceWin32.cc,
885 java/net/natPlainDatagramSocketImplWin32.cc,
886 java/net/natPlainSocketImplWin32.cc:
887 Readded code enclosed in DISABLE_JAVA_NET defines
888 in preparation for MinGW cleanup / networking
891 2003-08-28 Mohan Embar <gnustuff@thisiscool.com>
893 * Makefile.am: Fixed problems with parallel makes.
894 (all_java_class_files): Readded definition.
895 (all_java_class_files): New target which depends on
896 libgcj-@gcc_version@.jar
897 * Makefile.in: Rebuilt
899 2003-08-28 Tom Tromey <tromey@redhat.com>
901 * Makefile.in: Rebuilt.
902 * Makefile.am (ordinary_java_source_files): Added new files.
903 * java/lang/Class.h (_Jv_sharedlib_register_hook): Declare as
905 * java/net/URLClassLoader.java (findClass): Don't use
906 findURLResource. Use loader's getClass method.
907 (URLLoader.getClass): New method.
908 (addURL): Handle `gcjlib' URLs.
909 (SoURLLoader): New class.
910 (SoResource): Likewise.
911 * gnu/gcj/protocol/gcjlib/Connection.java: New file.
912 * gnu/gcj/protocol/gcjlib/Handler.java: New file.
913 * include/jvm.h (struct _Jv_core_chain): Moved from natCore.cc.
914 (_Jv_RegisterCoreHook): Declare.
915 (_Jv_FindCore): Declare.
916 * gnu/gcj/runtime/SharedLibHelper.java: New file.
917 * gnu/gcj/runtime/natSharedLibLoader.cc (CoreHookFunc): New
919 (core_hook): New function.
920 (struct SharedLibDummy) [saved_core]: New field.
921 (init): Set _Jv_RegisterCoreHook. Throw exception on failure.
922 (register_hook): Set protection domain and class loader on new
924 (finalize): Free core chain.
925 * gnu/gcj/Core.java (Core): New constructor.
926 * gnu/gcj/runtime/SharedLibLoader.java: Rewrote to use
928 * gnu/gcj/natCore.cc (_Jv_RegisterResource): Indentation fixlet.
929 (_Jv_create_core): New function.
931 (default_register_resource): New function.
932 (_Jv_RegisterCoreHook): New global.
933 (_Jv_RegisterResource): Use it.
934 (core_chain_struct): Removed.
935 (_Jv_FindCore): New function.
936 (_Jv_FreeCoreChain): New function.
938 2003-08-29 Michael Koch <konqueror@gmx.de>
940 * java/net/natInetAddressWin32.cc,
941 java/net/natNetworkInterfaceWin32.cc,
942 java/net/natPlainDatagramSocketImplWin32.cc,
943 java/net/natPlainSocketImplWin32.cc:
944 Removed code enclosed in DISABLE_JAVA_NET defines.
946 2003-08-26 Mohan Embar <gnustuff@thisiscool.com>
948 * Makefile.am: (write_entries_to_file) New parameterized
949 function for writing entries to a file one line at a time.
950 (all_java_class_files): Removed definition.
951 (.java.class) Removed.target.
952 (libgcj-@gcc_version@.jar): Changed dependency to
953 $(all_java_source_files); added compilation step which compiles
954 all changed source files in one pass.
955 (libgcj.la) Refactored to use write_entries_to_file.
956 (lib-gnu-awt-xlib.la) Likewise.
957 (install-data-local) Likewise.
958 (write-entries-to-file-check) New target which tests write_entries_to_file.
959 (all-recursive): Changed dependency from $(all_java_class_files)
960 to libgcj-@gcc_version@.jar
961 * Makefile.in: Rebuilt.
963 2003-08-26 Tom Tromey <tromey@redhat.com>
965 * java/lang/StrictMath.java: Typo fix.
966 * java/lang/Math.java: Typo fix.
968 2003-08-26 Stephen Crawley <crawley@dstc.edu.au>
970 * java/lang/ThreadGroup.java (removeThread): null the 'group' field
971 of the removed Thread.
973 2003-08-26 Mark Wielaard <mark@klomp.org>
975 Reported by David Holmes <dholmes@dltech.com.au>.
976 * java/lang/InheritableThreadLocal.java (threadMap): Wrap inside
977 Collections.synchronizedMap.
978 * java/lang/ThreadLocal.java (valueMap): Likewise.
980 2003-08-26 Mark Wielaard <mark@klomp.org>
982 * java/security/acl/Acl.java: Fix broken p tag.
983 * java/text/DateFormatSymbols.java: Correctly open and close li tags.
984 * javax/swing/border/LineBorder.java: Close img tag alt attributes.
985 * javax/swing/plaf/TreeUI.java: Likewise.
986 * javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
987 * java/util/Properties.java: Use the word umlaut, not ä in api
989 * java/util/PropertyResourceBundle.java: Likewise and add closing code
992 2003-08-26 Tom Tromey <tromey@redhat.com>
994 * Makefile.in: Rebuilt.
995 * Makefile.am: Removed all GNU-make-specific FIXME comments.
997 * java/lang/ref/Reference.java (get): Indentation fix.
998 (clear): Comment fix.
1001 (referent): Likewise.
1003 2003-08-26 Tom Tromey <tromey@redhat.com>
1006 * java/lang/reflect/natArray.cc (set): Allow null as argument.
1008 * java/lang/reflect/Proxy.java (ProxyData): `pack' now a String.
1009 (ProxyData.getPackage): New method.
1010 (ProxyData.getProxyData): Use package name, not Package.
1011 (ClassFactory.ClassFactory): Updated.
1013 2003-08-25 Scott Gilbertson <scottg@mantatest.com>
1014 * Makefile.am: added gnu/awt/xlib/XOffScreenImage.java.
1015 * Makefile.in: re-generated.
1016 * gnu/awt/j2d/IntegerGraphicsState.java
1017 (ScreenCoupledImage): new interface.
1018 (drawImage): detect ScreenCoupledImage instances.
1019 * gnu/awt/xlib/XCanvasPeer.java (createImage) implemented.
1020 * gnu/awt/xlib/XEventLoop.java
1021 (createEvent): re-formatted, and rearranged to avoid null pointer.
1022 * gnu/awt/xlib/XGraphics.java
1023 (drawImage): added XOffScreenImage handling.
1024 * gnu/awt/xlib/XOffScreenImage.java: new file.
1025 * gnu/gcj/xlib/Drawable.java (getDepth): new native method.
1026 * gnu/gcj/xlib/GC.java (copyArea): new native method.
1027 * gnu/gcj/xlib/XAnyEvent.java
1028 (TYPE_KEY_PRESS): new constant.
1029 (TYPE_KEY_RELEASE): new constant.
1030 (TYPE_MOTION_NOTIFY): new constant.
1031 (TYPE_ENTER_NOTIFY): new constant.
1032 (TYPE_LEAVE_NOTIFY): new constant.
1033 (TYPE_FOCUS_IN): new constant.
1034 (TYPE_FOCUS_OUT): new constant.
1035 (TYPE_KEYMAP_NOTIFY): new constant.
1036 (TYPE_GRAPHICS_EXPOSE): new constant.
1037 (TYPE_NO_EXPOSE): new constant.
1038 (TYPE_VISIBILITY_NOTIFY): new constant.
1039 (TYPE_CREATE_NOTIFY): new constant.
1040 (TYPE_DESTROY_NOTIFY): new constant.
1041 (TYPE_MAP_REQUEST): new constant.
1042 (TYPE_CONFIGURE_REQUEST): new constant.
1043 (TYPE_GRAVITY_NOTIFY): new constant.
1044 (TYPE_RESIZE_REQUEST): new constant.
1045 (TYPE_CIRCULATE_NOTIFY): new constant.
1046 (TYPE_CIRCULATE_REQUEST): new constant.
1047 (TYPE_PROPERTY_NOTIFY): new constant.
1048 (TYPE_SELECTION_CLEAR): new constant.
1049 (TYPE_SELECTION_REQUEST): new constant.
1050 (TYPE_SELECTION_NOTIFY): new constant.
1051 (TYPE_COLORMAP_NOTIFY): new constant.
1052 (TYPE_MAPPING_NOTIFY): new constant.
1053 * gnu/gcj/xlib/natDrawable.cc (getDepth): new method.
1054 * gnu/gcj/xlib/natGC.cc (copyArea): new method
1055 * java/awt/Component.java (createImage): changed to use peer method.
1057 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1059 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawString): Pass font
1060 name, not XLFD, to native drawString.
1061 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
1062 Replace XLFD-based implementation with Pango-based
1065 2003-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
1067 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Remove
1068 GTK_WINDOW_DIALOG. Set GTK_WINDOW_POPUP to 1.
1070 2003-08-21 David Daney <ddaney@avtrex.com>
1072 Fix for PR libgcj/12013:
1073 * java/lang/ref/natReference.cc (finalize_referred_to_object):
1074 Check `cleared' field.
1075 * java/lang/ref/Reference.java (copy): Updated comments.
1076 (cleared): New field.
1079 2003-08-21 Scott Gilbertson <scottg@mantatest.com>
1080 Thomas Fitzsimmons <fitzsim@redhat.com>
1082 * Makefile.am (gtk_awt_peer_sources): Add
1083 gnu/java/awt/peer/GLightweightPeer.java. Remove
1084 gnu/java/awt/GLightweightPeer.java.
1085 * gnu/java/awt/GLightweightPeer.java: Remove file.
1086 * gnu/java/awt/peer/GLightweightPeer.java: New file.
1087 * java/awt/Component.java (getToolkit): Add comment about
1088 lightweight components.
1089 * java/awt/Toolkit.java (createComponent): Return
1090 gnu.java.awt.peer.GLightweightPeer.
1092 2003-08-21 Richard Earnshaw <rearnsha@arm.com>
1094 * configure.in: Fix detection of gcj when building with newlib.
1095 * configure: Regenerated.
1097 2003-08-20 Graydon Hoare <graydon@redhat.com>
1099 * jni.cc: Replace "cheating" pointer-casting code with
1100 extract_from_jvalue<> template.
1102 2003-08-20 Andrew Haley <aph@redhat.com>
1104 * gnu/gcj/runtime/StackTrace.java (getClass): New method.
1105 * gnu/gcj/runtime/natStackTrace.cc (getClass): New method.
1106 (classAt): Break out class lookup function into getClass().
1107 * exception.cc (PERSONALITY_FUNCTION): Use new encoding for exception
1108 handlers when using -fno-assume-compiled.
1110 2003-08-20 Tom Tromey <tromey@redhat.com>
1112 Fix for PR libgcj/9125:
1113 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Find Runtime
1114 object outside of loop. Respect lib_control setting.
1115 * gnu/gcj/runtime/VMClassLoader.java (tried_libraries): New
1117 (lib_control): New field.
1118 (LIB_FULL, LIB_CACHE, LIB_NEVER): New constants.
1119 (VMClassLoader): Initialize new field.
1121 * java/lang/ref/natReference.cc (finalize_referred_to_object):
1122 Set `list->reference' to DELETED_REFERENCE when removing dead
1124 (find_slot): Added an assert.
1125 (DELETED_REFERENCE): New define.
1126 (add_to_hash): Check for DELETED_REFERENCE.
1127 (remove_from_hash): Just return if found slot isn't ours.
1129 2003-08-19 Andrew Haley <aph@redhat.com>
1131 * prims.cc (unblock_signal): New function.
1132 (catch_segv): Use it.
1133 (catch_fpe): Likewise.
1135 2003-08-19 Danny Smith <dannysmith@users.sourceforge.net>
1138 * java/io/natFileDescriptorWin32.cc (open): Set create
1139 flag to OPEN_AWAYS when READ & WRITE regardless of APPEND flag.
1140 Honor EXCL when openning with WRITE flag.
1142 2003-08-19 Mohan Embar <gnustuff@thisiscool.com>
1144 * include/jvm.h: New class _Jv_TempUTFString (helper class for
1145 getting a temporary C string from a jstring)
1146 New macro JV_TEMP_UTF_STRING, which leverages _Jv_TempUTFString
1147 but uses a stack buffer if the string length is less than 256
1150 2003-08-18 Tom Tromey <tromey@redhat.com>
1153 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Returns
1154 void. Throw VirtualMachineError if ffi fails. Initialize return
1155 value. Added is_jni_call argument; only wrap exception if not a
1156 JNI call. Use descriptive message if operation not supported.
1157 (_Jv_GetTypesFromSignature): Use declaring class' loader to find
1159 * include/jvm.h (_Jv_CallAnyMethodA): Updated declaration.
1160 * jni.cc (_Jv_JNI_CallAnyMethodV): Updated for new form of
1162 (_Jv_JNI_CallAnyMethodA): Likewise.
1163 (_Jv_JNI_CallAnyVoidMethodV): Likewise.
1164 (_Jv_JNI_CallAnyVoidMethodA): Likewise.
1166 2003-08-13 Tom Tromey <tromey@redhat.com>
1168 * gij.cc (help): Document -? and -X.
1170 2003-08-12 Graydon Hoare <graydon@redhat.com>
1172 * java/awt/Font.java:
1173 Stub out more recent API.
1175 2003-08-12 Graydon Hoare <graydon@redhat.com>
1177 * java/awt/Color.java (getAlpha):
1178 Prevent sign-extended alpha values.
1180 2003-08-12 Tom Tromey <tromey@redhat.com>
1182 * gij.cc (main): Handle -? and -X.
1184 2003-08-10 Jeroen Frijters <jeroen@frijters.net>
1186 * java/awt/Container.java
1187 (getPreferredSize): Call preferredSize.
1188 (preferredSize): Moved body of getPreferredSize here.
1189 (getMinimumSize): Call minimumSize.
1190 (minimumSize): Moved body of getMinimumSize here.
1192 2003-08-11 Tom Tromey <tromey@redhat.com>
1194 * java/awt/EventQueue.java (currentEvent, lastWhen): New fields.
1195 (postEvent): Removed FIXME comment.
1196 (isDispatchThread): Documented.
1197 (getCurrentEvent): New method.
1198 (dispatchEvent): Set currentEvent and lastWhen.
1199 (getMostRecentEventTime): Rewrote.
1200 (invokeLater): Documented.
1202 2003-08-10 Bryce McKinlay <bryce@mckinlay.net.nz>
1204 * java/io/PrintStream.java (print): Always flush if auto_flush is
1205 set. Don't check for newline characters.
1206 (write (int)): Implement without using a temporary array.
1207 (write (byte[], int, int): Always flush if auto_flush is set. Don't
1208 check for newline characters.
1209 Fixes PR libgcj/11778.
1211 2003-08-08 Andrew Haley <aph@redhat.com>
1213 * Makefile.am (AM_CXXFLAGS): Define BOOT_CLASS_PATH.
1214 * Makefile.in: Rebuild.
1215 * java/lang/natRuntime.cc (insertSystemProperties): Add
1216 "sun.boot.class.path".
1218 2003-08-07 Andrew Haley <aph@redhat.com>
1220 * java/io/PrintStream.java: Don't crash on a null string.
1222 2003-08-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1224 * configure.in: Don't initialize GCINCS to boehm-gc/include.
1225 * configure: Regenerate.
1227 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
1229 * java/net/Socket.java (Socket (SocketImpl)): Don't allow null
1230 SocketImpl. Update Javadoc.
1231 (bind): Call close() not impl.close() in event of exception.
1232 (connect): Likewise.
1233 Remove superfluous null checks throughout.
1234 * java/net/ServerSocket.java (ServerSocket (int, int, InetAddress)):
1235 Don't create an extra socket. Fix for PR libgcj/10868.
1236 (bind): Clean up exception handling.
1237 Remove superfluous null checks throughout.
1239 2003-08-07 Jacob Gladish <gladish@spinnakernet.com>
1240 Bryce McKinlay <bryce@mckinlay.net.nz>
1242 * java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
1243 ready-to-write argument to _Jv_Select. Reset the socket back to
1244 non-blocking state after connecting.
1245 (accept): Pass the FD as a ready-to-write argument to _Jv_Select.
1246 Throw SocketTimeoutException not InterruptedIOException.
1247 (read): Throw SocketTimeoutException not InterruptedIOException.
1249 2003-08-07 Bryce McKinlay <bryce@mckinlay.net.nz>
1251 * java/lang/Thread.java (Thread): Check for null "name" from
1252 start of private constructor, not after calling the private
1255 2003-08-06 Tom Tromey <tromey@redhat.com>
1257 * java/io/FilePermission.java (equals): Use correct index for
1258 last character of path.
1260 2003-08-06 Alan Modra <amodra@bigpond.net.au>
1262 * acinclude.m4 (LIBGCJ_CONFIGURE): Remove AC_CANONICAL_BUILD.
1263 * configure.in: Compare with_cross_host to build_alias, not build.
1264 * aclocal.m4: Regenerate.
1265 * configure: Regenerate.
1267 2003-08-05 Tom Tromey <tromey@redhat.com>
1269 Fix for PR libgcj/11779:
1270 * java/lang/reflect/natField.cc (getAddr): Skip frames in Field
1273 * java/lang/reflect/Method.java: Updated status comment.
1274 Imported javadoc from Classpath and re-ordered methods.
1275 * java/lang/reflect/Constructor.java: Reindented. Updated
1276 status comment. Imported javadoc from Classpath and re-ordered
1279 2003-08-05 Thomas Fitzsimmons <fitzsim@redhat.com>
1281 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
1282 Add keyLocation parameter.
1283 * java/awt/event/KeyEvent.java (getKeyText): Fix "NumPad-"
1285 (paramString): Generate keyChar string according to keyChar, not
1287 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1288 (state_to_awt_mods): Handle ALT key.
1289 (keyevent_state_to_awt_mods): New function.
1290 (get_first_keyval_from_keymap): New function.
1291 (keysym_to_awt_keycode): Get virtual key code from keymap.
1292 Handle missing VK_ values.
1293 (keysym_to_awt_keylocation): New function.
1294 (keyevent_to_awt_keychar): New function.
1295 (generates_key_typed_event): Handle non-text-component case.
1296 Handle GDK_KP_Delete and GDK_KP_Enter.
1297 (awt_event_handler): Call new functions to get postKeyEvent
1299 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
1300 Update postKeyEvent method signature.
1301 * jni/gtk-peer/gtkpeer.h: Add KEY_LOCATION defines. Add missing
1304 2003-08-05 Matthias Klose <doko@debian.org>
1306 * aclocal.m4: check for libart-config binary
1307 under the name libart2-config as well.
1308 * configure: regenerated.
1310 2003-08-04 David P Grove <groved@us.ibm.com>
1312 * java/text/DecimalFormat.java (format): avoid ArithmeticException
1313 when groupingSize is 0.
1316 2003-08-04 Matthias Klose <doko@debian.org>
1318 * libart.m4: check for libart-config binary
1319 under the name libart2-config as well.
1320 * configure, aclocal.m4: regenerated.
1322 2003-08-02 Michael Koch <konqueror@gmx.de>
1324 * java/nio/ByteBufferImpl.java
1325 (getChar): Check remaining bytes, fixed comment about endianess.
1326 (putChar): Likewise.
1327 (getShort): Likewise.
1328 (putShort): Likewise.
1329 (getInt): Check remaining bytes, fixed conversion, fixed comment about
1332 (getLong): Likewise.
1333 (putLong): Likewise.
1334 (getFloat): Likewise.
1335 (putFloat): Likewise.
1336 (getDouble): Likewise.
1337 (putDouble): Likewise.
1338 * java/nio/DirectByteBufferImpl.java
1339 (getChar): Wrapped code, fixed comment about endianess.
1340 (putchar): Likewise.
1341 (getShort): Likewise.
1342 (putShort): Likewise.
1343 (getInt): Fixed conversion, fixed comment about endianess.
1345 (getLong): Likewise.
1346 (putLong): Likewise.
1347 (getFloat): Likewise.
1348 (putFloat): Likewise.
1349 (getDouble): Likewise.
1350 (putDouble): Likewise.
1351 * java/nio/MappedByteBufferImpl.java
1352 (compact): Implemented.
1353 (getChar): Implemented.
1354 (putChar): Implemented.
1355 (getDouble): Implemented.
1356 (putdouble): Implemented.
1357 (getFloat): Implemented.
1358 (putFloat): Implemented.
1359 (getInt): Implemented.
1360 (putInt): Implemented.
1361 (getLong): Implemented.
1362 (putLong): Implemented.
1363 (getShort): Implemented.
1364 (putShort): Implemented.
1365 * java/nio/channels/FileChannelImpl.java
1366 (read): Set position where to access file.
1368 (transferTo): Flip buffer after read and before write.
1369 (transferFrom): Likewise.
1371 2003-08-02 Michael Koch <konqueror@gmx.de>
1373 * gnu/java/lang/ArrayHelper.java
1374 (equalsArray): Reformated, added method documentation.
1376 2003-08-02 Michael Koch <konqueror@gmx.de>
1379 (URL): Added paragraph about the
1380 gnu.java.net.nocache_protocol_handlers property.
1381 (ph_cache): Renamed from handlers to match classpath's implementation.
1382 Reordered it with factory and serialVersionUID member variables.
1383 (cache_handlers): New member variable.
1384 (static): New static initializer to initialize cache_handlers from
1385 gnu.java.net.nocache_protocol_handlers property.
1386 (URL): Use ph_cache instead of handlers, reformatted some code to
1387 match classpath's implementation.
1389 2003-08-01 Tom Tromey <tromey@redhat.com>
1391 Fix for PR libgcj/11241:
1392 * java/util/WeakHashMap.java (WeakHashMap(int,float)): If
1393 initialCapacity is 0, set it to 1.
1395 2003-08-01 Stephen Crawley <crawley@dstc.edu.au>
1397 * java/net/SocketImpl.java (toString): Display the remote address
1398 of an unconnected server socket as "0.0.0.0/0.0.0.0".
1400 2003-08-01 Sascha Brawer <brawer@dandelis.ch>
1402 * javax/swing/border/BevelBorder.java,
1403 javax/swing/border/EtchedBorder.java,
1404 javax/swing/border/LineBorder.java,
1405 javax/swing/border/MatteBorder.java,
1406 javax/swing/border/SoftBevelBorder.java,
1407 javax/swing/plaf/BorderUIResource.java,
1408 javax/swing/plaf/ComponentUI.java,
1409 javax/swing/plaf/TreeUI.java,
1410 javax/swing/plaf/basic/BasicBorders.java,
1411 javax/swing/plaf/basic/BasicGraphicsUtils.java,
1412 javax/swing/plaf/basic/BasicTreeUI.java:
1413 Prepend "doc-files" to all paths to embedded Javadoc images, so
1414 that the generated documentation contains the correct URL.
1416 2003-08-01 Tom Tromey <tromey@redhat.com>
1418 * configure: Rebuilt.
1419 * configure.in (tool_include_dir): Redefine to match gcc.
1421 2003-08-01 Jerry Quinn <jlquinn@optonline.net>
1422 Mark Wielaard <mark@klomp.org>
1424 * java/math/BigDecimal (divide): Correctly handle
1425 ROUND_HALF_EVEN when amount is greater than 0.5.
1426 Simplify and optimize code.
1428 2003-07-31 Tom Tromey <tromey@redhat.com>
1430 More for PR libgcj/11737:
1431 * java/io/ObjectInputStream.java (processResolution): Use
1433 (getMethod): Make method accessible.
1434 (getField): Make field accessible.
1435 (setBooleanField): Don't call setAccessible here.
1436 (setByteField, setCharField, setDoubleField, setFloatField,
1437 setIntField, setLongField, setShortField, setObjectField):
1439 (callReadMethod): Don't check whether method is null. Catch
1440 NoSuchMethodException.
1441 * java/io/ObjectOutputStream.java (callWriteMethod): Initialize
1442 cause on thrown exceptions.
1444 2003-07-31 Stepan Koltsov <yozh@mx1.ru>
1446 Fix for PR libgcj/11728:
1447 * java/util/HashMap.java (readObject): Set size.
1449 2003-07-31 Tom Tromey <tromey@redhat.com>
1451 Fix for PR libgcj/11737:
1452 * java/io/ObjectOutputStream.java (getMethod): Make method
1454 (getField): Likewise.
1455 (writeObject): Use getMethod.
1456 Import PrivilegedAction and AccessController.
1457 (callWriteMethod): Don't check whether m is null. Catch
1458 NoSuchMethodException.
1460 * java/awt/geom/Arc2D.java (getBounds2D): Implement.
1461 (containsAngle): Likewise.
1462 (getStartPoint): Rewrote.
1463 (getEndPoint): Likewise.
1464 (setAngleStart(Point2D)): Likewise.
1466 2003-07-31 Roger Sayle <roger@eyesopen.com>
1467 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1469 * configure.in: Add new THREADCXXFLAGS variable.
1470 Handle POSIX threads on alpha*-dec-osf*.
1471 * configure: Regenerate.
1472 * Makefile.am: Add THREADCXXFLAGS to AM_CXXFLAGS.
1473 * Makefile.in: Regenerate.
1475 2003-07-08 Andrew Haley <aph@redhat.com>
1477 * include/i386-signal.h (RESTORE): New.
1478 (INIT_SEGV): Set restorer.
1479 (INIT_FPE): Likewise.
1481 2003-07-29 Thomas Fitzsimmons <fitzsim@redhat.com>
1483 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Call getName rather
1485 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1486 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Likewise.
1487 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1488 (gtkSetFont): Scale size parameter by PANGO_SCALE.
1489 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c:
1491 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c:
1494 2003-07-29 Tom Tromey <tromey@redhat.com>
1496 * defineclass.cc (handleField): Throw exception if field name is
1498 (handleMethod): Throw exception for duplicate method.
1500 2003-07-29 Tom Tromey <tromey@redhat.com>
1502 * gnu/gcj/convert/natIconv.cc (write): Handle case where
1503 output buffer is too small.
1505 2003-07-28 Tom Tromey <tromey@redhat.com>
1507 * java/lang/natString.cc (init(gnu.gcj.runtime.StringBuffer)):
1509 Include gnu/gcj/runtime/StringBuffer.h.
1510 * java/lang/String.java (init(gnu.gcj.runtime.StringBuffer)): New
1512 (String(gnu.gcj.runtime.StringBuffer)): Use it.
1514 2003-07-27 Anthony Green <green@redhat.com>
1516 * configure.in: Fix newlib check.
1517 * configure: Rebuilt.
1519 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com>
1521 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1522 Create vbox and layout for GtkPlug.
1524 2003-07-27 Michael Koch <konqueror@gmx.de>
1526 * java/awt/Window.java
1527 (Window): Removed now unused constructor. It became oboslete with the
1528 new embedded window patch.
1530 2003-07-27 Thomas Fitzsimmons <fitzsim@redhat.com.h>
1531 Michael Koch <konqueror@gmx.de>
1533 * gnu/java/awt/EmbeddedWindow.java
1534 (EmbeddedWindow): Extends Frame instead of Window.
1535 (window_id): New member variable to store the native window handle.
1537 (EmbeddedWindow): New constructor.
1538 (addNotify): New method.
1539 (getHandler): Likewise.
1540 (setWindowPeer): New native method.
1541 * gnu/java/awt/EmbeddedWindowSupport.java
1542 (EmbeddedWindowSupport): Fixed documentation.
1543 (createEmbeddedWindow): Return EmbeddedWindowPeer instead of
1544 WindowPeer, give it an EmbeddedWindow instance instead of the raw
1546 * gnu/java/awt/natEmbeddedWindow.cc
1548 (setWindowPeer): New method.
1549 * gnu/java/awt/peer/EmbeddedWindowPeer.java,
1550 gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
1551 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
1553 * gnu/java/awt/peer/gtk/GtkToolkit.java
1554 (GtkToolkit): Implements EmbeddedWindowSupport.
1555 (createEmbeddedWindow): New method.
1556 * java/awt/Window.java
1559 (java_source_files): Added EmbeddedWindowPeer.java.
1560 (gtk_awt_peer_sources): Added GtkEmbeddedWindowPeer.java.
1561 (gtk_c_source_files): Added gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c.
1562 * Makefile.in: Regenerated.
1564 2003-07-26 Ranjit Mathew <rmathew@hotmail.com>
1566 * java/lang/Win32Process.java (ConcreteProcess): Surround
1567 a command line element with quotes if it contains an
1568 embedded space or tab.
1569 * java/lang/natWin32Process.cc (startProcess): Do not
1570 surround command line elements with quotes here.
1572 * configure.host: Use -fcheck-references and
1573 -fuse-divide-subroutine for MinGW until we fix
1574 win32_exception_handler( ) in win32.cc w.r.t. Win32
1575 Structured Exception Handling (SEH).
1577 * win32.cc (_Jv_platform_initProperties): Use generic names
1578 like "x86" for the "os.arch" property to be consistent with
1579 what Sun's JDK produces. Use the wProcessorArchitecture
1580 member of the Win32 SYSTEM_INFO structure, filled in a call
1581 to GetSystemInfo( ), instead of dwProcessorType.
1583 2003-07-26 Mohan Embar <gnustuff@thisiscool.com>
1584 Ranjit Mathew <rmathew@hotmail.com>
1586 * Makefile.am: Use cross-compiling gcjh from the path for
1587 a crossed-native build.
1588 * Makefile.in: Rebuilt.
1589 * configure.in: Include libltdl in non-newlib builds.
1590 Moved determination of gcj used to build libraries to
1591 its own section. Fixed cross-compilation issues for
1593 * configure: Rebuilt.
1595 2003-07-25 Tom Tromey <tromey@redhat.com>
1597 * java/io/natFileDescriptorPosix.cc (write): Try again on EINTR.
1602 2003-07-25 Mark Wielaard <mark@klomp.org>
1604 * java/lang/natRuntime.cc (_load): Add library name to
1605 UnsatisfiedLinkError when thrown.
1607 2003-07-25 Mark Wielaard <mark@klomp.org>
1609 * Makefile.am (awt_java_source_files): java/awt/GridBagLayoutInfo.java
1611 * Makefile.in: Likewise.
1613 2003-07-25 Jeroen Frijters <jeroen@frijters.net>
1615 * java/awt/Component.java
1616 (getPreferredSize): Call preferredSize.
1617 (preferredSize): Moved body of getPreferredSize here.
1618 (getMinimumSize): Call minimumSize.
1619 (minimumSize): Moved body of getMinimumSize here.
1620 (prepareImage): Fall back on Toolkit.prepareImage if there is no peer
1621 (checkImage(Image,ImageObserver)): Don't call getWidth/getHeight, but
1623 * java/awt/Container.java
1624 (validate): Don't validate if there is no peer.
1625 (update): Clear background before calling paint.
1626 * java/awt/GridBagLayout.java
1627 Completed the implementation and fixed several bugs.
1628 * java/awt/MediaTracker.java
1629 (MediaEntry.imageUpdate): Fixed typo. & instead of | was used to
1631 * java/awt/Window.java
1632 (Window): Don't call setVisible(false). Windows are invisible by
1633 default and calling virtual methods from constructor causes
1634 compatibility problems (e.g. subclasses may assume that the peer
1637 2003-07-25 Michael Koch <konqueror@gmx.de>
1639 * java/awt/GridBagLayout.java:
1640 Totally reworked and partly implemented.
1641 * java/awt/GridBagLayoutInfo.java:
1644 2003-07-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1646 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (create):
1647 Don't pack label in an event box.
1649 2003-07-24 Tom Tromey <tromey@redhat.com>
1652 * verify.cc (ref_intersection): New class.
1653 (type_val): Removed unresolved_reference_type,
1654 uninitialized_unresolved_reference_type.
1655 (is_assignable_from_slow): Rewrote.
1656 (type::data): Removed.
1657 (type::klass): New field.
1658 (type::type): Added verifier argument.
1659 (type::resolve): Removed.
1660 (type::set_uninitialized): Updated for change to type_val.
1661 (type::set_initialized): Likewise.
1662 (type::isinitialized): Likewise.
1663 (type::print): Likewise.
1664 (construct_primitive_array_type): Likewise.
1665 (type::compatible): Updated for change to type_val and to use
1667 (type::isarray): Updated to use ref_intersection.
1668 (type::isinterface): Likewise.
1669 (type::element_type): Likewise.
1670 (type::to_array): Likewise.
1671 (type::verify_dimensions): Rewrote.
1672 (type::merge): Likewise.
1673 (check_class_constant): Updated for type constructor change.
1674 (check_constant): Likewise.
1675 (check_field_constant): Likewise.
1676 (get_one_type): Likewise.
1677 (initialize_stack): Likewise.
1678 (verify_instructions_0): Likewise.
1679 (verify_instructions_0) [op_invokeinterface]: Removed special
1681 (isect_list): New field.
1682 (_Jv_BytecodeVerifier): Initialize it.
1683 (~_Jv_BytecodeVerifier): Destroy ref_intersection objects.
1685 2003-07-24 H. Väisänen <hvaisane@joyx.joensuu.fi>
1687 * java/text/SimpleDateFormat.java (format) [YEAR_FIELD]: Zero pad
1688 unless field size is 2.
1690 2003-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
1692 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1693 (connectHooks): New method.
1694 (handleEvent): Remove.
1695 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
1696 (createHooks): Remove declaration.
1697 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
1698 (generates_key_typed_event): Change to handle only certain
1700 (awt_event_handler): Add special handling for GtkTextView.
1701 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
1702 (textcomponent_commit_cb): New function.
1703 (textcomponent_changed_cb): Likewise.
1704 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1705 (connectHooks): Remove.
1707 2003-07-23 Tom Tromey <tromey@redhat.com>
1709 * java/lang/natSystem.cc (arraycopy): Check for overflow.
1711 * boehm.cc (_Jv_BuildGCDescr): Use `1ULL'.
1713 2003-07-22 Tom Tromey <tromey@redhat.com>
1715 * boehm.cc (_Jv_BuildGCDescr): Wrote.
1718 2003-07-22 Tom Tromey <tromey@redhat.com>
1720 * java/awt/Window.java (getWarningString): Just return the
1722 (Window): Set warningString; check with security manager.
1724 2003-07-22 Scott Gilbertson <scottg@mantatest.com>
1726 * gnu/awt/xlib/XGraphicsConfiguration.java
1727 (FontMetricsCache): Made static.
1729 2003-07-22 Tom Tromey <tromey@redhat.com>
1731 * java/net/URLEncoder.java (encode(String)): Use platform default
1733 (encode(String,String)): Convert to 2-digit upper-case hex
1737 2003-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
1739 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1740 (create): Remove unused method implementation.
1741 (connectHooks): Remove debug messages.
1743 2003-07-20 Anthony Green <green@redhat.com>
1745 * gnu/awt/j2d/AbstractGraphicsState.java (clone): Handle
1746 CloneNotSupportedException.
1747 * gnu/gcj/xlib/WindowAttributes.java (clone): Ditto.
1748 * gnu/gcj/xlib/WMSizeHints.java (clone): Ditto.
1749 * gnu/gcj/xlib/GC.java (clone): Ditto.
1750 * gnu/awt/xlib/XGraphics.java (clone): Ditto.
1751 * gnu/awt/j2d/Graphics2DImpl.java (clone): Ditto.
1753 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Remove unreachable
1755 * gnu/gcj/runtime/NameFinder.java (NameFinder): Ditto.
1757 2003-07-20 Steve Pribyl <steve@netfuel.com.>
1759 * gnu/gcj/runtime/natSharedLibLoader.cc (init): `libname' now a
1760 String. Put dlerror() message into exception.
1761 Include UnsatisfiedLinkError.
1762 * gnu/gcj/runtime/SharedLibLoader.java (init): `libname' now a
1765 2003-07-20 Tom Tromey <tromey@redhat.com>
1767 * java/lang/Runtime.java: Comment fix.
1768 * java/lang/ClassLoader.java (isAncestorOf): New method.
1769 (getParent): Uncommented security check. Use isAncestorOf.
1770 * include/jvm.h (_Jv_CheckAccess): Declare.
1771 * java/lang/reflect/natConstructor.cc (newInstance): Perform
1773 Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
1774 * java/lang/reflect/natArray.cc (newInstance): Pass caller's
1775 class loader to _Jv_GetArrayClass.
1776 Include ArrayIndexOutOfBoundsException.h.
1777 * java/lang/reflect/Field.java: Update comment to reflect status.
1778 (equals): Fixed indentation.
1779 * java/lang/Class.h (Class): Declare memberAccessCheck, not
1780 checkMemberAccess. Make _Jv_CheckAccess a friend.
1781 * java/lang/Class.java (memberAccessCheck): New method from
1783 (checkMemberAccess): Removed.
1784 (getDeclaredMethod): Use memberAccessCheck.
1785 (getField): Likewise.
1786 (getMethod): Likewise.
1787 * resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
1788 (_Jv_SearchMethodInClass): Likewise.
1789 * prims.cc (_Jv_CheckAccess): New function.
1790 * jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
1791 (_Jv_JNI_GetAnyFieldID): Likewise.
1792 * java/lang/natClass.cc (forName): Use getClassLoaderInternal.
1793 (getClassLoader): Added security check.
1794 (getConstructor): Call memberAccessCheck.
1795 (getDeclaredClasses): Likewise.
1796 (getDeclaredField): Likewise.
1797 (getDeclaredFields): Likewise.
1798 (_getConstructors): Likewise.
1799 (getDeclaredConstructor): Likewise.
1800 (getDeclaredMethods): Likewise.
1801 (getFields): Likewise.
1802 (getMethods): Likewise.
1803 (newInstance): Likewise.
1804 (_Jv_MakeVTable): Put method name in exception.
1805 * java/lang/reflect/natMethod.cc (getType): Use
1806 getClassLoaderInternal.
1807 (_Jv_GetTypesFromSignature): Likewise.
1808 (invoke): Perform access check.
1809 (_Jv_CallAnyMethodA): Removed old FIXME comments.
1810 Include ArrayIndexOutOfBoundsException.h.
1811 * java/lang/reflect/natField.cc (getType): Use
1812 getClassLoaderInternal.
1813 (_Jv_CheckFieldAccessibility): Removed.
1814 (getAddr): Use _Jv_CheckAccess; find caller.
1815 Include ArrayIndexOutOfBoundsException.h.
1817 2003-07-20 Michael Koch <konqueror@gmx.de>
1820 (URL): Fixed documentation to name an argument correcty, Reformatted
1821 one method declaration.
1822 (getURLStreamHandler): Added documentation from classpath.
1824 2003-07-19 Tom Tromey <tromey@redhat.com>
1826 * mauve-libgcj: Don't run CollationElementIterator tests.
1828 2003-07-19 Jeroen Frijters <jeroen@sumatra.nl>
1830 * java/net/URLClassLoader.java (addURL): Moved implementation to
1831 private addURLImpl() to avoid calling addURL from the constructor.
1832 (addURLImpl): Contains the code that was previously in addURL.
1833 (addURLs): Call addURLImpl(), not addURL().
1835 2003-07-18 Graydon Hoare <graydon@redhat.com>
1837 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
1838 Handle missing event cases, connect to "value-changed" signal.
1840 2003-07-18 Graydon Hoare <graydon@redhat.com>
1842 * java/awt/geom/CubicCurve2D.java,
1843 java/awt/geom/Line2D.java,
1844 java/awt/geom/QuadCurve2D.java,
1845 java/awt/geom/Rectangle2D.java:
1846 Fix path some calculations, make path iterators follow
1849 2003-07-18 Mark Wielaard <mark@klomp.org>
1851 * java/util/logging/Handler.java (isLoggable): Check record level
1854 2003-07-17 Michael Koch <konqueror@gmx.de>
1856 * gnu/java/awt/peer/gtk/GtkToolkit.java:
1859 2003-07-14 Michael Koch <konqueror@gmx.de>
1861 * gnu/java/rmi/server/UnicastServerRef.java:
1862 New version from classpath.
1864 2003-07-14 Michael Koch <konqueror@gmx.de>
1866 * java/awt/image/MemoryImageSource.java,
1867 java/beans/PropertyEditorManager.java,
1868 javax/naming/CompoundName.java,
1869 javax/naming/spi/NamingManager.java,
1870 javax/swing/AbstractButton.java,
1871 javax/swing/ButtonModel.java,
1872 javax/swing/SwingUtilities.java,
1873 javax/swing/UIManager.java,
1874 javax/swing/colorchooser/DefaultColorSelectionModel.java,
1875 javax/swing/event/AncestorEvent.java,
1876 javax/swing/event/InternalFrameEvent.java,
1877 java/util/zip/ZipFile.java:
1878 New versions from classpath.
1880 2003-07-13 Michael Koch <konqueror@gmx.de>
1882 * gnu/java/nio/FileChannelImpl.java,
1883 gnu/java/nio/natFileChannelImpl.cc: Removed.
1884 * java/io/FileInputStream.java,
1885 java/io/FileOutputStream.java,
1886 java/io/RandomAccessFile.java,
1887 java/nio/MappedByteBufferImpl.java:
1888 Import java.nio.channels.FileChannelImpl instead of
1889 gnu.java.nio.FileChannelImpl.
1890 * java/nio/channels/FileChannelImpl.java,
1891 java/nio/channels/natFileChannelImpl.cc:
1894 (ordinary_java_source_files):
1895 Removed gnu/java/nio/FileChannelImpl.java and added
1896 java/nio/channels/FileChannelImpl.java.
1898 Removed gnu/java/nio/natFileChannelImpl.cc and added
1899 java/nio/channels/natFileChannelImpl.cc.
1900 * Makefile.in: Regenerated.
1902 2003-07-13 Michael Koch <konqueror@gmx.de>
1904 * javax/swing/plaf/basic/BasicBorders.java,
1905 javax/swing/plaf/basic/BasicLabelUI.java,
1906 javax/swing/plaf/basic/BasicLookAndFeel.java,
1907 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
1908 javax/swing/plaf/basic/BasicTextUI.java,
1909 javax/swing/plaf/metal/MetalLookAndFeel.java:
1910 New versions from classpath.
1912 2003-07-13 Michael Koch <konqueror@gmx.de>
1914 * gnu/java/awt/peer/gtk/GdkFontMetrics.java
1915 * gnu/java/awt/peer/gtk/GdkGraphics.java
1916 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
1917 * gnu/java/awt/peer/gtk/GtkCanvasPeer.java
1918 * gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java
1919 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java
1920 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
1921 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1922 * gnu/java/awt/peer/gtk/GtkClipboard.java
1923 * gnu/java/awt/peer/gtk/GtkDialogPeer.java
1924 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1925 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1926 * gnu/java/awt/peer/gtk/GtkGenericPeer.java
1927 * gnu/java/awt/peer/gtk/GtkImage.java
1928 * gnu/java/awt/peer/gtk/GtkImagePainter.java
1929 * gnu/java/awt/peer/gtk/GtkLabelPeer.java
1930 * gnu/java/awt/peer/gtk/GtkListPeer.java
1931 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1932 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
1933 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1934 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
1935 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java
1936 * gnu/java/awt/peer/gtk/GtkPanelPeer.java
1937 * gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java
1938 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
1939 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java
1940 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
1941 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
1942 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java
1944 2003-07-13 Michael Koch <konqueror@gmx.de>
1946 * gnu/java/locale/LocaleInformation_de.java
1947 * gnu/java/locale/LocaleInformation_en.java
1948 * gnu/java/locale/LocaleInformation_nl.java
1950 2003-07-13 Michael Koch <konqueror@gmx.de>
1952 * gnu/java/awt/EmbeddedWindow.java,
1953 gnu/java/awt/EmbeddedWindowSupport.java,
1954 gnu/java/awt/natEmbeddedWindow.cc:
1956 * java/awt/Window.java
1957 (Window): New constructor to support embedded windows.
1959 (awt_java_source_files): Added gnu/java/awt/EmbeddedWindow.java and
1960 gnu/java/awt/EmbeddedWindowSupport.java.
1961 (nat_source_files): Added gnu/java/awt/natEmbeddedWindow.cc.
1962 * Makefile.in: Regenerated.
1964 2003-07-11 Matt Kraai <kraii@alumni.cmu.edu>
1966 * gnu/gcj/runtime/SharedLibLoader.java: Fix misspelling.
1967 * gnu/gcj/runtime/natSharedLibLoader.cc: Likewise.
1968 * java/awt/im/InputContext.java: Remove a redundant
1971 2003-07-09 Tom Tromey <tromey@redhat.com>
1973 * Makefile.in: Rebuilt.
1974 * Makefile.am (AM_MAKEFLAGS): Added CPPFLAGS.
1976 2003-07-09 Mark Wielaard <mark@klomp.org>
1978 * java/io/ObjectOutputStream.java (writeObject): break after
1979 calling writeClassDescriptor().
1981 2003-07-09 Mark Mitchell <mark@codesourcery.com>
1983 * gcj/array.h (JvPrimClass): Don't parenthesize the output.
1985 2003-07-09 Michael Koch <konqueror@gmx.de>
1987 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1988 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
1989 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1990 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
1991 Explicitly import used classes.
1992 * java/awt/Container.java: New version from classpath.
1994 2003-07-09 Michael Koch <konqueror@gmx.de>
1996 * libgcj.pc.in: New file.
1997 * Makefile.am: Install libgcj.pc in $libdir/pkgconfig.
1998 * Makefile.in: Regenerated.
1999 * configure: Regenrated.
2000 * configure.in: Create libgcj.pc from libgcj.pc.in.
2002 2003-07-08 Mark Wielaard <mark@klomp.org>
2004 * gcj/cni.h: CNI now expands to Compiled Native Interface.
2006 * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL.
2007 * java/lang/fdlibm.h: Likewise.
2009 2003-07-07 Adam Megacz <adam@xwt.org>
2011 * posix.cc: added #include<stdio.h>
2013 2003-07-07 Thomas Fitzsimmons <fitzsim@redhat.com>
2015 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c: Fix
2018 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
2019 (setCaretPosition, setEditable): Rely entirely on native
2022 (postTextEvent): New method.
2023 (handleEvent): New method.
2024 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (handleEvent): New
2026 * java/awt/event/ActionEvent.java (paramString): Fix formatting.
2027 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
2028 (keysym_to_awt_keycode): Fix range checks.
2029 (generates_key_typed_event): New function.
2030 (awt_event_handler): Post AWT_KEY_RELEASED events to event
2032 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2033 (gtkInit): Store TextComponent's postTextEvent method ID.
2034 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
2035 (setText): Post TEXT_VALUE_CHANGED event to event queue.
2037 2003-07-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2039 * configure.in: Check for usleep declaration.
2040 * acconfig.h (HAVE_USLEEP_DECL): Provide template.
2041 * configure: Regenerate.
2042 * include/config.h.in: Likewise.
2043 * include/posix.h [!HAVE_USLEEP_DECL]: Declare usleep.
2045 2003-07-01 Michael Koch <konqueror@gmx.de>
2047 * gnu/gcj/convert/natIconv.cc
2048 (iconv_init): Fixed possible memory leak by releasing allocated iconv
2051 2003-06-30 Thomas Fitzsimmons <fitzsim@redhat.com>
2053 * glib-2.0.m4: New file.
2054 * gtk-2.0.m4: New file.
2057 * configure.in: Update AM_PATH_GTK macro call to
2058 AM_PATH_GTK_2_0. Likewise for AM_PATH_GLIB.
2059 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
2060 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
2061 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
2062 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
2063 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
2064 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2065 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
2066 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
2067 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
2068 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
2069 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
2070 jni/gtk-peer/gthread-jni.c,
2071 jni/gtk-peer/gthread-jni.h:
2072 New versions from classpath.
2073 * aclocal.m4: Regenerate.
2074 * configure: Regenerate.
2075 * Makefile.in: Regenerate.
2076 * gcj/Makefile.in: Regenerate.
2077 * include/Makefile.in: Regenerate.
2078 * testsuite/Makefile.in: Regenerate.
2080 2003-06-30 Gary Benson <gbenson@redhat.com>
2082 For PR libgcj/11349:
2083 * javax/naming/spi/NamingManager.java (getURLContext): Use
2084 correct name for factory class.
2086 2003-06-28 Michael Koch <konqueror@gmx.de>
2088 * java/io/PrintStream.java
2089 (checkError): Call flush() instead of direct flushing of the Writer
2091 (print): Call print(String) instead of direct print method of the
2093 (println): Call println(String) instead of direct println method of the
2095 (write): Simplified.
2097 2003-06-28 Michael Koch <konqueror@gmx.de>
2099 * java/net/ServerSocket.java
2100 (setChannel): New method.
2101 * java/net/Socket.java
2102 (setChannel): New method.
2104 2003-06-27 Michael Koch <konqueror@gmx.de>
2106 * java/beans/beancontext/BeanContextSupport.java:
2107 New version from classpath.
2109 2003-06-27 Michael Koch <konqueror@gmx.de>
2111 * java/awt/Window.java,
2112 java/awt/font/GraphicAttribute.java,
2113 java/awt/font/ImageGraphicAttribute.java,
2114 java/awt/image/DataBufferByte.java,
2115 java/awt/image/DataBufferInt.java,
2116 java/awt/image/DataBufferUShort.java,
2117 java/awt/image/DirectColorModel.java,
2118 java/awt/image/PixelGrabber.java:
2119 New versions from classpath.
2121 2003-06-27 Michael Koch <konqueror@gmx.de>
2123 * java/security/Certificate.java
2124 (getGuarantor): Removed wrong @deprecated tag.
2125 (getPrincipal): Likewise.
2126 (getPublicKey): Likewise.
2129 (getFormat): Likewise.
2130 (toString): Likewise.
2131 * java/security/cert/PolicyQualifierInfo.java
2132 (PolicyQualifierInfo): Made final.
2133 * javax/security/auth/x500/X500Principal.java
2134 (serialVersionUID): New member variable.
2136 2003-06-27 Michael Koch <konqueror@gmx.de>
2138 * java/text/Format.java
2139 (serialVersionUID): Fixed value.
2141 2003-06-27 Michael Koch <konqueror@gmx.de>
2143 * java/net/Inet4Address.java
2144 (Inet4Address): Made package-private.
2145 * java/net/Inet6Address.java
2146 (Inet4Address): Made package-private.
2148 2003-06-27 Michael Koch <konqueror@gmx.de>
2150 * java/io/RandomAccessFile.java
2151 (readLine): Removed wrong @deprecated tag.
2152 (getChannel): Made final.
2154 2003-06-27 Michael Koch <konqueror@gmx.de>
2156 * gnu/java/nio/FileChannelImpl.java
2159 2003-06-27 Michael Koch <konqueror@gmx.de>
2161 * java/nio/ByteBufferImpl.java
2162 (ByteBufferImpl): Made it a package-private class
2163 * java/nio/CharBufferImpl.java
2164 (CharBufferImpl): Made it a package-private class
2165 * java/nio/DirectByteBufferImpl.java
2166 (DirectByteBufferImpl): Made it a package-private class
2167 * java/nio/DoubleBufferImpl.java
2168 (DoubleBufferImpl): Made it a package-private class
2169 * java/nio/FloatBufferImpl.java
2170 (FloatBufferImpl): Made it a package-private class
2171 * java/nio/IntBufferImpl.java
2172 (IntBufferImpl): Made it a package-private class
2173 * java/nio/LongBufferImpl.java
2174 (LongBufferImpl): Made it a package-private class
2175 * java/nio/ShortBufferImpl.java
2176 (ShortBufferImpl): Made it a package-private class
2177 * java/nio/channels/FileChannel.java
2178 (write): Made final.
2179 * java/nio/channels/ServerSocketChannel.java
2180 (ServerSocketChanne): Made protected.
2182 2003-06-27 Michael Koch <konqueror@gmx.de>
2184 * javax/naming/CompositeName.java
2185 (serialVersionUID): New member variable.
2186 * javax/naming/CompoundName.java
2187 (serialVersionUID): New member variable.
2188 * javax/naming/InitialContext.java
2189 (InitialContext): Throws NamingException.
2191 * javax/naming/LinkRef.java
2192 (serialVersionUID): New member variable.
2193 (gteLinkName): Throws NamingException.
2194 * javax/naming/NamingException.java
2195 (serialVersionUID): New member variable.
2196 * javax/naming/NamingSecurityException.java
2197 (NamingSecurityException): Made abstract.
2198 (serialVersionUID): New member variable.
2199 * javax/naming/ReferralException.java
2200 (serialVersionUID): New member variable.
2201 * javax/naming/StringRefAddr.java
2202 (serialVersionUID): New member variable.
2203 * javax/naming/directory/BasicAttribute.java:
2205 (serialVersionUID): New member variable.
2206 (get): Throws NamingException.
2207 (getAll): Throws NamingException.
2208 * javax/naming/directory/BasicAttributes.java:
2210 (serialVersionUID): New member variable.
2211 * javax/naming/ldap/UnsolicitedNotificationEvent.java
2212 (serialVersionUID): New member variable.
2214 2003-06-27 Michael Koch <konqueror@gmx.de>
2217 (awt_java_source_files): Added new files:
2218 javax/swing/Popup.java,
2219 javax/swing/PopupFactory.java
2220 * Makefile.in: Regenerated.
2222 2003-06-27 Michael Koch <konqueror@gmx.de>
2224 * javax/swing/JWindow.java,
2225 javax/swing/event/AncestorEvent.java,
2226 javax/swing/event/HyperlinkEvent.java,
2227 javax/swing/event/InternalFrameEvent.java,
2228 javax/swing/event/ListDataEvent.java,
2229 javax/swing/event/TableModelEvent.java,
2230 javax/swing/plaf/PopupMenuUI.java,
2231 javax/swing/plaf/SplitPaneUI.java,
2232 javax/swing/plaf/TabbedPaneUI.java,
2233 javax/swing/plaf/TextUI.java,
2234 javax/swing/plaf/TreeUI.java,
2235 javax/swing/plaf/basic/BasicTextUI.java,
2236 javax/swing/plaf/basic/BasicTreeUI.java:
2237 New versions from classpath.
2238 * javax/swing/Popup.java,
2239 javax/swing/PopupFactory.jav:
2240 New source files from classpath.
2241 * javax/swing/plaf/doc-files/TreeUI-1.png:
2242 New binary files from classpath.
2244 2003-06-25 Michael Koch <konqueror@gmx.de>
2247 (awt_java_source_files): Added javax/swing/plaf/SpinnerUI.java.
2248 * Makefile.in: Regenerated.
2250 2003-06-25 Michael Koch <konqueror@gmx.de>
2252 * javax/swing/plaf/ActionMapUIResource.java,
2253 javax/swing/plaf/BorderUIResource.java,
2254 javax/swing/plaf/ButtonUI.java,
2255 javax/swing/plaf/ColorChooserUI.java,
2256 javax/swing/plaf/ColorUIResource.java,
2257 javax/swing/plaf/ComboBoxUI.java,
2258 javax/swing/plaf/ComponentInputMapUIResource.java,
2259 javax/swing/plaf/ComponentUI.java,
2260 javax/swing/plaf/DesktopIconUI.java,
2261 javax/swing/plaf/DesktopPaneUI.java,
2262 javax/swing/plaf/DimensionUIResource.java,
2263 javax/swing/plaf/FileChooserUI.java,
2264 javax/swing/plaf/FontUIResource.java,
2265 javax/swing/plaf/IconUIResource.java,
2266 javax/swing/plaf/InputMapUIResource.java,
2267 javax/swing/plaf/InsetsUIResource.java,
2268 javax/swing/plaf/InternalFrameUI.java,
2269 javax/swing/plaf/LabelUI.java,
2270 javax/swing/plaf/ListUI.java,
2271 javax/swing/plaf/MenuBarUI.java,
2272 javax/swing/plaf/MenuItemUI.java,
2273 javax/swing/plaf/OptionPaneUI.java,
2274 javax/swing/plaf/PanelUI.java,
2275 javax/swing/plaf/ProgressBarUI.java,
2276 javax/swing/plaf/RootPaneUI.java,
2277 javax/swing/plaf/ScrollBarUI.java,
2278 javax/swing/plaf/ScrollPaneUI.java,
2279 javax/swing/plaf/SeparatorUI.java,
2280 javax/swing/plaf/SliderUI.java,
2281 javax/swing/plaf/TableHeaderUI.java,
2282 javax/swing/plaf/TableUI.java,
2283 javax/swing/plaf/ToolBarUI.java,
2284 javax/swing/plaf/ToolTipUI.java,
2285 javax/swing/plaf/ViewportUI.java:
2286 New versions from classpath.
2287 * javax/swing/plaf/SpinnerUI.java:
2288 New file from classpath
2290 2003-06-25 Michael Koch <konqueror@gmx.de>
2292 * java/awt/image/ColorModel.java:
2293 New version from classpath.
2295 2003-06-25 Michael Koch <konqueror@gmx.de>
2297 * java/net/PlainDatagramSocketImpl.java:
2298 Partly merged with classpath, this mainly adds documentation.
2300 2003-06-25 Michael Koch <konqueror@gmx.de>
2302 * java/io/ObjectInputStream.java
2303 (readClassDescriptor): New method.
2304 (readObject): Moved functionality to readClassDescriptor().
2305 * java/io/ObjectOutputStream.java
2306 (writeClassDescriptor): New method.
2307 (writeObject): Moved functionality to writeClassDescriptor().
2309 2003-06-25 Michael Koch <konqueror@gmx.de>
2311 * javax/swing/plaf/basic/BasicListUI.java,
2312 javax/swing/plaf/basic/BasicOptionPaneUI.java:
2313 Added missing methods.
2315 2003-06-25 Michael Koch <konqueror@gmx.de>
2317 * javax/swing/event/AncestorEvent.java
2318 javax/swing/event/HyperlinkEvent.java
2319 javax/swing/event/InternalFrameEvent.java
2320 javax/swing/event/ListDataEvent.java
2321 javax/swing/event/TableModelEvent.java:
2324 2003-06-24 Michael Koch <konqueror@gmx.de>
2326 * java/net/URL.java:
2327 Renamed "handler" to "ph" in the whole file to match classpaths
2329 * java/net/URLStreamHandler.java:
2330 (equals): Renamed "handler" to "ph".
2332 2003-06-24 Michael Koch <konqueror@gmx.de>
2334 * javax/swing/event/AncestorEvent.java,
2335 javax/swing/event/HyperlinkEvent.java,
2336 javax/swing/event/InternalFrameEvent.java,
2337 javax/swing/event/ListDataEvent.java,
2338 javax/swing/event/TableModelEvent.java,
2339 javax/swing/event/TreeWillExpandListener.java,
2340 javax/swing/plaf/ComponentUI.java,
2341 javax/swing/plaf/DesktopIconUI.java,
2342 javax/swing/plaf/DesktopPaneUI.java,
2343 javax/swing/plaf/DimensionUIResource.java,
2344 javax/swing/plaf/FileChooserUI.java,
2345 javax/swing/plaf/FontUIResource.java,
2346 javax/swing/plaf/IconUIResource.java,
2347 javax/swing/plaf/InputMapUIResource.java,
2348 javax/swing/plaf/InsetsUIResource.java,
2349 javax/swing/plaf/InternalFrameUI.java,
2350 javax/swing/plaf/LabelUI.java,
2351 javax/swing/plaf/ListUI.java,
2352 javax/swing/plaf/MenuBarUI.java,
2353 javax/swing/plaf/MenuItemUI.java,
2354 javax/swing/plaf/OptionPaneUI.java,
2355 javax/swing/plaf/PanelUI.java,
2356 javax/swing/plaf/ProgressBarUI.java,
2357 javax/swing/plaf/doc-files/ComponentUI-1.dia,
2358 javax/swing/plaf/doc-files/ComponentUI-1.png:
2359 New versions from classpath.
2361 2003-06-24 Michael Koch <konqueror@gmx.de>
2363 * java/nio/Buffer.java
2364 (cap): Made package-private.
2369 2003-06-24 Michael Koch <konqueror@gmx.de>
2371 * java/net/SocketImpl.java
2372 (shutdownInput): Made it non-abstract method throwing an exception
2374 (shutdownOutput): Likewise.
2375 * java/net/SocketInputStream.java,
2376 java/net/SocketOutputStream.java:
2377 New files from classpath.
2379 2003-06-24 Michael Koch <konqueror@gmx.de>
2381 * java/awt/Font.java,
2382 java/awt/Window.java,
2383 java/awt/color/ColorSpace.java,
2384 java/awt/datatransfer/StringSelection.java,
2385 java/awt/image/ColorModel.java:
2386 New versions from classpath.
2388 2003-06-24 Michael Koch <konqueror@gmx.de>
2391 (awt_java_source_files): Added new files:
2392 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
2393 javax/swing/plaf/basic/BasicSplitPaneUI.java
2394 * Makefile.in: Regenerated.
2396 2003-06-24 Michael Koch <konqueror@gmx.de>
2398 * javax/swing/text/JTextComponent.java:
2399 New version from classpath.
2401 2003-06-24 Michael Koch <konqueror@gmx.de>
2403 * javax/swing/Timer.java,
2404 javax/swing/plaf/ActionMapUIResource.java,
2405 javax/swing/plaf/ButtonUI.java,
2406 javax/swing/plaf/ColorChooserUI.java,
2407 javax/swing/plaf/ColorUIResource.java,
2408 javax/swing/plaf/ComboBoxUI.java,
2409 javax/swing/plaf/ComponentInputMapUIResource.java,
2410 javax/swing/plaf/basic/BasicBorders.java:
2411 New versions from classpath.
2412 * javax/swing/plaf/basic/BasicSplitPaneDivider.java.
2413 javax/swing/plaf/basic/BasicSplitPaneUI.java:
2414 New file from classpath.
2415 * javax/swing/plaf/basic/doc-files/BasicBorders-1.png,
2416 javax/swing/plaf/basic/doc-files/BasicBorders-2.png,
2417 javax/swing/plaf/basic/doc-files/BasicBorders.FieldBorder-1.png,
2418 javax/swing/plaf/doc-files/ComponentUI-1.dia,
2419 javax/swing/plaf/doc-files/ComponentUI-1.png:
2420 New binary files from classpath.
2422 2003-06-24 Michael Koch <konqueror@gmx.de>
2424 * java/io/LineNumberReader.java
2425 (skip): Dont do line number accounting here as this is already done in
2428 2003-06-21 Michael Koch <konqueror@gmx.de>
2431 (static): Load javaio lib if existing (only in classpath).
2432 (File): Revised documentation to show the correct argument name.
2433 (createTempFile): Partly merged with classpath.
2434 (compareTo): Simplified.
2435 (lastModified): Throw exception if time < 0.
2436 (deleteOnExit): Revised documentation.
2438 2003-06-21 Michael Koch <konqueror@gmx.de>
2440 * java/net/PlainSocketImpl.java:
2442 (PlainSocketImpl): Merged class documentaion with classpath.
2445 (PlainSocketImpl): New empty constructor.
2447 (setOption): Merged documentation from classpath.
2448 (getOption): Likewise.
2450 (connect): Likewise.
2454 (available): Likewise.
2458 (getInputStream): Made synchronozed to get sure that only one stream
2459 object can be created for this socket, merged documentation from
2461 (getOutputStream): Likewise.
2463 2003-06-21 Michael Koch <konqueror@gmx.de>
2465 * java/net/PlainSocketImpl.java:
2467 (static): New implicit method.
2468 (read): Made package private.
2471 2003-06-21 Michael Koch <konqueror@gmx.de>
2473 * java/util/SimpleTimeZone.java:
2474 Removed unneeded import, reformatting.
2476 2003-06-21 Michael Koch <konqueror@gmx.de>
2478 * java/text/DateFormat.java,
2479 java/text/SimpleDateFormat.java,
2480 java/util/Locale.java:
2481 New versions from classpath.
2483 2003-06-21 Michael Koch <konqueror@gmx.de>
2485 * javax/swing/SpinnerModel.java:
2486 New file from classpath.
2487 * javax/swing/border/LineBorder.java,
2488 javax/swing/border/SoftBevelBorder.java,
2489 javax/swing/plaf/BorderUIResource.java,
2490 javax/swing/plaf/basic/BasicBorders.java:
2491 New versions from classpath.
2492 * javax/swing/plaf/basic/doc-files/BasicBorders.MenuBarBorder-1.png,
2493 javax/swing/plaf/basic/doc-files/BasicBorders.RadioButtonBorder-1.png,
2494 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-1.png,
2495 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneBorder-2.png,
2496 javax/swing/plaf/basic/doc-files/BasicBorders.SplitPaneDividerBorder-1.png,
2497 javax/swing/plaf/basic/doc-files/BasicBorders.ToggleButtonBorder-1.png:
2498 New binary files from classpath.
2500 2003-06-21 Michael Koch <konqueror@gmx.de>
2502 * java/util/logging/LogRecord.java,
2503 java/util/logging/Logger.java,
2504 java/util/logging/SocketHandler.java,
2505 java/util/logging/SimpleFormatter.java,
2506 java/util/logging/Formatter.java,
2507 java/util/logging/ErrorManager.java,
2508 java/util/logging/Handler.java,
2509 java/util/logging/FileHandler.java,
2510 java/util/logging/LogManager.java,
2511 java/util/logging/Level.java,
2512 java/util/logging/ConsoleHandler.java,
2513 java/util/logging/StreamHandler.java,
2514 java/util/logging/LoggingPermission.java,
2515 java/util/logging/Filter.java,
2516 java/util/logging/MemoryHandler.java,
2517 java/util/logging/XMLFormatter.java:
2518 New files from classpath.
2520 2003-06-20 Michael Koch <konqueror@gmx.de>
2522 * java/io/ObjectStreamField.java
2523 (unshared): new member variable.
2524 (ObjectStreamField): New constructor.
2525 (isUnshared): New method.
2527 2003-06-20 Michael Koch <konqueror@gmx.de>
2529 * java/net/URLStreamHandler.java
2530 (hostsEqual): Rewritten.
2532 2003-06-20 Michael Koch <konqueror@gmx.de>
2534 * gnu/java/nio/MappedByteFileBuffer.java,
2535 gnu/java/nio/natMappedByteFileBuffer.cc:
2537 * java/nio/MappedByteBufferImpl.java:
2539 * gnu/java/nio/FileChannelImpl.java:
2540 Use MappedByteBufferImpl instead of MappedByteFileBuffer.
2542 (ordinary_java_source_files): Removed
2543 gnu/java/nio/MappedByteFileBuffer.java and added
2544 java/nio/MappedByteBufferImpl.java.
2545 (nat_source_files): Removed gnu/java/nio/natMappedByteFileBuffer.cc
2546 * Makefile.in: Regenerated.
2548 2003-06-19 Michael Koch <konqueror@gmx.de>
2550 * gnu/java/nio/DatagramChannelImpl.java
2552 (blocking): New member variable.
2554 (DatagramChannelImpl): Throws IOException, initialize socket.
2555 (socket):Implemented.
2556 (implCloseSelectableChannel): Throws IOException, implemented.
2557 (implConfigureBlocking): Likewise.
2558 (connect): Likewise.
2559 (disconnect): Likewise.
2560 (isConnected): Likewise.
2563 (receive): Throws IOException.
2565 * gnu/java/nio/SocketChannelImpl.java
2566 (read): Implemented.
2567 (write): Implemented.
2569 2003-06-19 Michael Koch <konqueror@gmx.de>
2571 * javax/swing/JComponent.java,
2572 javax/swing/JInternalFrame.java,
2573 javax/swing/MenuSelectionManager.java,
2574 javax/swing/SwingUtilities.java,
2575 javax/swing/ToggleButtonModel.java:
2576 New versions from classpath.
2578 2003-06-19 Michael Koch <konqueror@gmx.de>
2580 * java/text/CollationElementIterator.java
2581 (NULLORDER): Initialize with -1 as JDK documentation says.
2583 2003-06-19 Michael Koch <konqueror@gmx.de>
2585 * java/net/HttpURLConnection.java,
2586 java/net/Inet4Address.java,
2587 java/net/Inet6Address.java,
2588 java/net/SocketImpl.java,
2589 java/net/URLClassLoader.java:
2590 Reworked import statements.
2591 * java/net/InetAddress.java
2592 (getByAddress): Simplified.
2593 * java/net/ServerSocket.java
2594 (ServerSocket): Moved special handling during bind operation to
2596 (bind): Handle different cases when trying to bind a socket.
2597 * java/net/URLConnection.java
2598 (getHeaderFieldDate): Merged with classpath.
2599 (getHeaderFieldInt): Likewise.
2601 2003-06-19 Michael Koch <konqueror@gmx.de>
2603 * java/util/zip/InflaterInputStream.java
2604 (InflaterInputStream): Throw NullPointerException if in is null (as
2607 2003-06-19 Michael Koch <konqueror@gmx.de>
2609 * java/awt/Font.java
2610 javax/swing/UIManager.java
2611 javax/swing/border/AbstractBorder.java
2612 javax/swing/border/BevelBorder.java
2613 javax/swing/border/Border.java
2614 javax/swing/border/CompoundBorder.java
2615 javax/swing/border/EmptyBorder.java
2616 javax/swing/border/EtchedBorder.java
2617 javax/swing/border/LineBorder.java
2618 javax/swing/border/MatteBorder.java
2619 javax/swing/border/TitledBorder.java
2620 javax/swing/plaf/BorderUIResource.java
2621 javax/swing/plaf/basic/BasicBorders.java
2622 javax/swing/plaf/basic/BasicButtonUI.java
2623 javax/swing/plaf/basic/BasicCheckBoxUI.java
2624 javax/swing/plaf/basic/BasicGraphicsUtils.java
2625 javax/swing/plaf/basic/BasicLabelUI.java
2626 javax/swing/plaf/basic/BasicRadioButtonUI.java
2627 javax/swing/plaf/basic/BasicToggleButtonUI.java:
2628 New versions from classpath.
2629 * javax/swing/border/SoftBevelBorder.java:
2630 New file from classpath.
2631 * javax/swing/border/doc-files/LineBorder-1.png,
2632 javax/swing/border/doc-files/BevelBorder-1.png,
2633 javax/swing/border/doc-files/BevelBorder-2.png,
2634 javax/swing/border/doc-files/BevelBorder-3.png,
2635 javax/swing/border/doc-files/EmptyBorder-1.png,
2636 javax/swing/border/doc-files/EtchedBorder-1.png,
2637 javax/swing/border/doc-files/EtchedBorder-2.png,
2638 javax/swing/border/doc-files/MatteBorder-1.png,
2639 javax/swing/border/doc-files/MatteBorder-2.png,
2640 javax/swing/border/doc-files/MatteBorder-3.png,
2641 javax/swing/border/doc-files/MatteBorder-4.png,
2642 javax/swing/border/doc-files/MatteBorder-5.png,
2643 javax/swing/border/doc-files/MatteBorder-6.png,
2644 javax/swing/border/doc-files/SoftBevelBorder-1.png,
2645 javax/swing/border/doc-files/SoftBevelBorder-2.png,
2646 javax/swing/border/doc-files/SoftBevelBorder-3.png,
2647 javax/swing/plaf/basic/doc-files/BasicBorders.MarginBorder-1.png,
2648 javax/swing/plaf/basic/doc-files/BasicBorders.ButtonBorder-1.png,
2649 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-1.png,
2650 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-2.png,
2651 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-3.png,
2652 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-4.png,
2653 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-5.png,
2654 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-6.png,
2655 javax/swing/plaf/basic/doc-files/BasicGraphicsUtils-7.png:
2656 New binary files from classpath.
2658 (awt_java_source_files): Added
2659 javax/swing/border/SoftBevelBorder.java.
2660 * Makefile.in: Regenerated.
2662 2003-06-19 Michael Koch <konqueror@gmx.de>
2664 * gnu/java/security/x509/X509Certificate.java
2665 (writeReplace): Merged from classpath.
2667 2003-06-19 Michael Koch <konqueror@gmx.de>
2669 * gnu/java/nio/FileChannelImpl.java
2670 (map_address): Made public.
2671 (FileChannelImpl): Merged with classpath.
2672 * gnu/java/nio/natFileChannelImpl.cc
2673 (nio_mmap_file): Commented out unused arguments.
2674 (nio_unmmap_file): Likewise.
2675 (niu_msync): Likewise.
2677 2003-06-19 Michael Koch <konqueror@gmx.de>
2679 * java/awt/image/IndexColorModel.java:
2680 New version from classpath.
2682 2003-06-18 Tom Tromey <tromey@redhat.com>
2684 * java/net/Inet6Address.java (isAnyLocalAddress): Don't use "=="
2686 (isLoopbackAddress): Likewise.
2687 * java/net/Inet4Address.java (isAnyLocalAddress): Don't use "=="
2690 2003-06-18 Matt Kraai <kraai@alumni.cmu.edu>
2692 * java/lang/natVMSecurityManager.cc (getClassContext):
2693 Use maxlen instead of len for loop bound.
2695 2003-06-18 Michael Koch <konqueror@gmx.de>
2697 * gnu/java/nio/SelectorImpl.java
2698 (register): Use fd with value 0 for now, will be fixed later.
2699 * gnu/java/nio/ServerSocketChannelImpl.java
2701 (local_port): Removed.
2702 (InetSocketAddress): Removed.
2703 (ServerSocketChannelImpl): Just initialize internal socket object.
2704 (implCloseSelectableChannel): Close internal socket object.
2705 (implConfigureBlocking): Added comment.
2706 (accept): Use jaba.net stuff to accept socket.
2707 * gnu/java/nio/SocketChannelImpl.java
2709 (local_port): Removed.
2710 (InetSocketAddress): Removed.
2711 (SocketCreate): Removed.
2712 (SocketConnect): Removed.
2713 (SocketBind): Removed.
2714 (SocketListen): Removed.
2715 (SocketAvailable): Removed.
2716 (SocketClose): Removed.
2717 (SocketRead): Removed.
2718 (SocketWrite): Removed.
2719 (SocketChannelImpl): Just initialize internal socket object.
2720 (implCloseSelectableChannel): Close internal socket object.
2721 (implConfigureBlocking): Fixed implementation, added comment.
2722 (connect): Use internal socket object to connect.
2723 (socket): No need for sanity checks.
2724 (read): Comment out some stuff, this will be reimplemented in the next
2727 * gnu/java/nio/natFileChannelImpl.cc
2728 (nio_mmap_file): Line wrapped.
2729 * gnu/java/nio/natSocketChannelImpl.cc: Removed.
2731 (nat_source_files): Removeded gnu/java/nio/natSocketChannelImpl.cc.
2732 * Makefile.in: Regenerated.
2734 2003-06-18 Michael Koch <konqueror@gmx.de>
2736 * java/util/Locale.java
2737 (equals): Merged from classpath.
2739 2003-06-18 Michael Koch <konqueror@gmx.de>
2741 * java/net/InetAddress.java:
2742 Reformatted to better match classpath's version.
2744 (equals): Simplified.
2745 * java/net/URLConnection.java
2746 (setDoInput): Revised documentation.
2747 (getDefaultUseCaches): Likewise.
2748 (setRequestProperty): Added @since tag.
2750 2003-06-17 Michael Koch <konqueror@gmx.de>
2752 * java/net/InetSocketAddress.java
2753 (InetSocketAddress): Use wildcard address if addr is null.
2754 (InetSocketAddress): Dont duplicate implementation.
2755 (InetSocketAddress): Throw exception when hostname is null.
2756 * java/net/Socket.java:
2758 (Socket): Throw exception when raddr is null, handle case when laddr
2761 2003-06-17 Michael Koch <konqueror@gmx.de>
2763 * java/nio/DirectByteBufferImpl.java
2764 (address): Made package private.
2765 (DirectByteBufferImpl): New constructor.
2766 * java/nio/natDirectByteBufferImpl.cc
2767 (allocateImpl): Moved to java.nio namespace, implemented.
2768 (freeImpl): Likewise.
2769 (getImpl): Likewise.
2770 (putImpl): Likewise.
2772 (_Jv_JNI_NewDirectByteBuffer): Implemented.
2773 (_Jv_JNI_GetDirectBufferAddress): Implemented.
2774 (_Jv_JNI_GetDirectBufferCapacity): Implemented.
2776 2003-06-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2778 * include/powerpc-signal.h: New File.
2779 * configure.in: Use it.
2780 * configure: Regenerated.
2782 2003-06-17 Michael Koch <konqueror@gmx.de>
2784 * java/util/Locale.java
2785 (getDisplayLanguage): Made it final.
2786 (getDisplayCountry): Likewise.
2787 (getDisplayVariant): Likewise.
2788 (getDisplayName): Likewise.
2790 2003-06-17 Michael Koch <konqueror@gmx.de>
2792 * java/util/PropertyResourceBundle.java:
2793 Removed unneeded import.
2795 2003-06-17 Michael Koch <konqueror@gmx.de>
2797 * java/util/prefs/AbstractPreferences.java,
2798 java/util/prefs/PreferencesFactory.java:
2799 Reworked imports, removed unused imports.
2800 * java/util/prefs/Preferences.java
2801 (systemNodeForPackage): Method takes a Class not an Object.
2802 (userNodeForPackage): Likewise.
2803 (nodeForPackage): Likewise.
2805 2003-06-17 Michael Koch <konqueror@gmx.de>
2807 * gnu/java/security/x509/X509Certificate.java:
2808 Explicitely import used classes.
2810 2003-06-17 Michael Koch <konqueror@gmx.de>
2812 * java/util/zip/ZipEntry.java,
2813 java/util/zip/ZipFile.java,
2814 java/util/zip/ZipInputStream.java,
2815 java/util/zip/ZipOutputStream.java:
2816 Reworked imports, only import used classes.
2818 2003-06-17 Michael Koch <konqueror@gmx.de>
2820 * gnu/java/lang/ArrayHelper.java,
2821 gnu/java/lang/ClassHelper.java:
2822 Reformatted to match classpath's versions.
2824 2003-06-14 Michael Koch <konqueror@gmx.de>
2826 * gnu/java/nio/FileChannelImpl.java
2827 (map_address): Removed incorrect comment.
2828 * gnu/java/nio/SelectorImpl.java
2829 (register): Remove code duplication and code for file channel handling.
2830 * gnu/java/nio/ServerSocketChannelImpl.java
2831 (serverSocket): Renamed from sock_object.
2832 (ServerSocketChannel): Initialize serverSocket.
2833 (socket): Return serverSocket.
2834 * gnu/java/nio/SocketChannelImpl.java
2835 (socket): Renamed from sock_object.
2836 (isConnectionPenging): Simplified.
2837 (socket): Return socket.
2838 2003-06-14 Michael Koch <konqueror@gmx.de>
2840 * java/security/BasicPermission.java:
2841 New version from classpath.
2843 2003-06-14 Michael Koch <konqueror@gmx.de>
2845 * javax/naming/directory/Attribute.java:
2846 New version from classpath.
2848 2003-06-14 Michael Koch <konqueror@gmx.de>
2850 * java/io/BufferedReader.java,
2851 java/io/FileOutputStream.java:
2852 New versions from classpath.
2854 2003-06-12 Andrew Haley <aph@redhat.com>
2856 * prims.cc (catch_segv): Create exception in handler.
2857 (catch_fpe): Likewise.
2858 (_Jv_divI, _Jv_remI, _Jv_divJ, _Jv_remJ): Likewise.
2859 (_Jv_ThrowSignal): Remove.
2861 * include/x86_64-signal.h (INIT_SEGV): Delete reference to nullp.
2862 * include/default-signal.h (INIT_SEGV, INIT_FPE): Delete reference
2863 to nullp and arithexception.
2864 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2865 * include/i386-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2866 * include/s390-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2867 * include/sparc-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2868 * include/win32-signal.h (INIT_SEGV, INIT_FPE): Likewise.
2870 2003-06-11 Andrew Haley <aph@redhat.com>
2872 * jni.cc (_Jv_JNI_check_types): New.
2873 (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type.
2874 (_Jv_JNI_GetPrimitiveArrayRegion): Ditto.
2875 (_Jv_JNI_GetPrimitiveArrayElements): Ditto.
2876 (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto.
2878 * java/lang/natVMSecurityManager.cc (getClassContext): Fix
2881 2003-06-11 Tom Tromey <tromey@redhat.com>
2883 * java/lang/ClassLoader.java (loadClass): Not deprecated.
2884 * java/io/PrintStream.java: Not deprecated.
2886 2003-06-11 Scott Gilbertson <scottg@mantatest.com>
2888 * gnu/awt/j2d/IntegerGraphicsState.java (drawOval): implemented.
2889 (fillOval): implemented
2890 * gnu/awt/xlib/XGraphics.java (drawArc): implemented.
2891 (fillArc): implemented.
2892 * gnu/gcj/xlib/GC.java (drawArc): added native method.
2893 (fillArc): added native method.
2894 * gnu/gcj/xlib/natGC.cc (drawArc): added native method.
2895 (fillArc): added native method.
2897 2003-06-11 Michael Koch <konqueror@gmx.de>
2899 * java/awt/im/InputSubset.java:
2900 New version from classpath.
2902 2003-06-11 Michael Koch <konqueror@gmx.de>
2904 * javax/swing/AbstractAction.java,
2905 javax/swing/AbstractButton.java,
2906 javax/swing/AbstractCellEditor.java,
2907 javax/swing/AbstractListModel.java,
2908 javax/swing/BorderFactory.java,
2909 javax/swing/Box.java,
2910 javax/swing/BoxLayout.java,
2911 javax/swing/ButtonGroup.java,
2912 javax/swing/DefaultButtonModel.java,
2913 javax/swing/DefaultListModel.java,
2914 javax/swing/DefaultListSelectionModel.java,
2915 javax/swing/FocusManager.java,
2916 javax/swing/ImageIcon.java,
2917 javax/swing/InputMap.java,
2918 javax/swing/JApplet.java,
2919 javax/swing/JButton.java,
2920 javax/swing/JCheckBox.java,
2921 javax/swing/JCheckBoxMenuItem.java,
2922 javax/swing/JColorChooser.java,
2923 javax/swing/JComboBox.java,
2924 javax/swing/JComponent.java,
2925 javax/swing/JDesktopPane.java,
2926 javax/swing/JDialog.java,
2927 javax/swing/JEditorPane.java,
2928 javax/swing/JFileChooser.java,
2929 javax/swing/JFormattedTextField.java,
2930 javax/swing/JFrame.java,
2931 javax/swing/JLabel.java,
2932 javax/swing/JLayeredPane.java,
2933 javax/swing/JList.java,
2934 javax/swing/JMenuBar.java,
2935 javax/swing/JMenuItem.java,
2936 javax/swing/JOptionPane.java,
2937 javax/swing/JPanel.java,
2938 javax/swing/JPasswordField.java,
2939 javax/swing/JPopupMenu.java,
2940 javax/swing/JProgressBar.java,
2941 javax/swing/JRadioButton.java,
2942 javax/swing/JRadioButtonMenuItem.java,
2943 javax/swing/JRootPane.java,
2944 javax/swing/JScrollBar.java,
2945 javax/swing/JScrollPane.java,
2946 javax/swing/JSeparator.java,
2947 javax/swing/JSlider.java,
2948 javax/swing/JTabbedPane.java,
2949 javax/swing/JTable.java,
2950 javax/swing/JTextField.java,
2951 javax/swing/JToggleButton.java,
2952 javax/swing/JToolBar.java,
2953 javax/swing/JToolTip.java,
2954 javax/swing/JTree.java,
2955 javax/swing/JViewport.java,
2956 javax/swing/JWindow.java,
2957 javax/swing/KeyStroke.java,
2958 javax/swing/ListSelectionModel.java,
2959 javax/swing/LookAndFeel.java,
2960 javax/swing/RepaintManager.java,
2961 javax/swing/ScrollPaneLayout.java,
2962 javax/swing/SizeRequirements.java,
2963 javax/swing/SwingConstants.java,
2964 javax/swing/Timer.java,
2965 javax/swing/UIDefaults.java,
2966 javax/swing/UIManager.java,
2967 javax/swing/border/AbstractBorder.java,
2968 javax/swing/border/CompoundBorder.java,
2969 javax/swing/colorchooser/AbstractColorChooserPanel.java,
2970 javax/swing/colorchooser/ColorChooserComponentFactory.java,
2971 javax/swing/colorchooser/ColorSelectionModel.java,
2972 javax/swing/colorchooser/DefaultColorSelectionModel.java,
2973 javax/swing/event/AncestorEvent.java,
2974 javax/swing/event/HyperlinkEvent.java,
2975 javax/swing/event/InternalFrameAdapter.java,
2976 javax/swing/event/InternalFrameEvent.java,
2977 javax/swing/event/ListDataEvent.java,
2978 javax/swing/event/MouseInputAdapter.java,
2979 javax/swing/event/SwingPropertyChangeSupport.java,
2980 javax/swing/event/TableModelEvent.java,
2981 javax/swing/event/TreeWillExpandListener.java,
2982 javax/swing/event/UndoableEditEvent.java,
2983 javax/swing/filechooser/FileFilter.java,
2984 javax/swing/filechooser/FileSystemView.java,
2985 javax/swing/filechooser/FileView.java,
2986 javax/swing/plaf/BorderUIResource.java,
2987 javax/swing/plaf/basic/BasicDefaults.java,
2988 javax/swing/table/AbstractTableModel.java,
2989 javax/swing/table/DefaultTableCellRenderer.java,
2990 javax/swing/table/DefaultTableColumnModel.java,
2991 javax/swing/table/DefaultTableModel.java,
2992 javax/swing/table/TableColumn.java,
2993 javax/swing/text/JTextComponent.java,
2994 javax/swing/tree/AbstractLayoutCache.java,
2995 javax/swing/tree/DefaultMutableTreeNode.java,
2996 javax/swing/tree/DefaultTreeCellEditor.java,
2997 javax/swing/tree/DefaultTreeCellRenderer.java,
2998 javax/swing/tree/DefaultTreeModel.java,
2999 javax/swing/tree/DefaultTreeSelectionModel.java,
3000 javax/swing/tree/FixedHeightLayoutCache.java,
3001 javax/swing/tree/TreeCellEditor.java,
3002 javax/swing/tree/TreeModel.java,
3003 javax/swing/tree/TreeNode.java,
3004 javax/swing/tree/TreePath.java,
3005 javax/swing/tree/TreeSelectionModel.java,
3006 javax/swing/tree/VariableHeightLayoutCache.java,
3007 javax/swing/undo/AbstractUndoableEdit.java,
3008 javax/swing/undo/CompoundEdit.java,
3009 javax/swing/undo/StateEdit.java,
3010 javax/swing/undo/UndoManager.java,
3011 javax/swing/undo/UndoableEditSupport.java:
3012 New versions from classpath.
3013 * javax/swing/table/JTableHeader.java:
3014 New file from classpath.
3016 (java_awt_sources): Added javax/swing/table/JTableHeader.java.
3017 * Makefile.in: Regenerated.
3019 2003-06-11 Michael Koch <konqueror@gmx.de>
3021 * java/nio/MappedByteBuffer.java,
3022 java/nio/channels/Channels.java,
3023 java/nio/channels/ServerSocketChannel.java,
3024 java/nio/channels/spi/AbstractSelector.java:
3025 Removed unneeded imports.
3027 2003-06-11 Michael Koch <konqueror@gmx.de>
3029 * java/net/DatagramSocket.java:
3030 Partly merged with classpath.
3032 2003-06-11 Michael Koch <konqueror@gmx.de>
3034 * java/awt/Frame.java,
3035 java/awt/Graphics.java,
3037 java/awt/Robot.java,
3038 java/awt/image/ColorModel.java:
3039 New versions from classpath.
3041 2003-06-10 Michael Koch <konqueror@gmx.de>
3043 * java/io/PrintStream.java:
3044 Merged version from classpath.
3045 (close): Removed sychronized keyword. This class is not garantied to
3049 2003-06-09 Tom Tromey <tromey@redhat.com>
3051 * gnu/gcj/xlib/natFont.cc (getAscent): Correctly access "ascent"
3053 (getDescent): Likewise, for "descent".
3055 2003-06-09 Scott Gilbertson <scottg@mantatest.com>
3057 * gnu/gcj/xlib/natFont.cc (getMaxAscent): adjusted return value.
3058 (getMaxDescent): adjusted return value.
3059 (getAscent): modified to use metrics for 'O'.
3060 (getDescent): modified to use metrics for 'y'.
3062 2003-06-08 Anthony Green <green@redhat.com>
3064 * java/net/URLStreamHandler.java (sameFile): Fix port value
3066 * java/net/URL.java (handler): Make package private.
3067 * gnu/gcj/protocol/http/Handler.java (getDefaultPort): New method.
3069 2003-06-07 Tom Tromey <tromey@redhat.com>
3071 For PR libgcj/11085:
3072 * java/text/SimpleDateFormat.java (parse(String,ParsePosition)):
3073 Limit number of characters in numeric field when required.
3074 * java/text/DecimalFormat.java (parse(String,ParsePosition)):
3075 Respect maximumIntegerDigits.
3077 2003-06-08 Michael Koch <konqueror@gmx.de>
3079 * java/net/Socket.java
3080 (Socket): Dont initialize inputShutdown and outputShutdown twice,
3081 call bind() and connect() to actually do the bind and connect tasks.
3082 (bind): Connect to canonical address if bindpoint is null, create
3083 socket and bind it to bindpoint.
3084 (connect): Check for exceptions.
3086 2003-06-08 Michael Koch <konqueror@gmx.de>
3088 * java/net/DatagramSocket.java
3089 (DatagramSocket): No need to set SO_REUSEADDRESS here. This belongs
3090 into the Multicast constructors.
3091 * java/net/DatagramSocketImpl.java
3092 (getOption): Removed.
3093 (setOption): Removed.
3094 * java/net/MulticastSocket.java
3095 (MulticastSocket): Call setReuseAddress (true).
3096 * java/net/SocketImpl.java
3097 (getOption): Removed.
3098 (setOption): Removed.
3100 2003-06-07 Jeff Sturm <jsturm@one-point.com>
3103 * gnu/java/rmi/server/UnicastRemoteCall.java (returnValue):
3104 Test for empty vector.
3106 2003-06-06 Mark Wielaard <mark@klomp.org>
3108 * java/security/Security.java (secprops): Initialize.
3109 (loadProviders): Return boolean.
3110 (static): Check result of loadProvider calls. If necessary
3111 display WARNING and fallback to Gnu provider.
3113 2002-06-06 James Clark <jjc@jclark.com>
3115 Fix for PR libgcj/8738:
3116 * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method.
3117 * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise.
3118 * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise.
3119 * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise.
3120 (write): Always decrease avail when count is increased.
3121 * java/lang/natString.cc (getBytes): Check converter havePendingBytes()
3122 and whether output buffer is full before increasing size.
3124 2002-06-06 Mark Wielaard <mark@klomp dot org>
3126 * java/io/PrintStream.java (writeChars(char[],int, int)):
3127 Check converter.havePendingBytes().
3128 (writeChars(String,int,int)): Likewise.
3129 * java/io/OutputStreamWriter.java (writeChars(char[], int, int)):
3130 Check converter.havePendingBytes() and flush buffer when stalled.
3132 2003-06-07 Michael Koch <konqueror@gmx.de>
3135 (O_DSYNC): Define O_DSYNC on platforms not
3136 supporting O_FSYNC (newlib).
3138 2003-06-06 Mark Wielaard <mark@klomp.org>
3140 * java/awt/Toolkit.java (getDefaultToolkit): Add exception cause to
3143 2003-06-06 Michael Koch <konqueror@gmx.de>
3145 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3146 More compile fixes from my stupid work yesterday.
3148 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu>
3150 * java/lang/w_exp.c (o_threshold, u_threshold): Define only
3151 if _IEEE_LIBM is undefined.
3153 2002-06-05 Loren J. Rittle <ljrittle@acm.org>
3155 * libjava/include/posix.h (O_SYNC): Define if not available
3156 and a reasonable, perhaps more conservative, replacement exists.
3157 (O_DSYNC): Likewise.
3158 * java/io/natFileDescriptorPosix.cc (open): Revert last patch.
3160 2003-06-05 Michael Koch <konqueror@gmx.de>
3162 * javax/swing/plaf/BorderUIResource.java,
3163 javax/swing/plaf/basic/BasicDefaults.java,
3164 javax/swing/plaf/basic/BasicOptionPaneUI.java:
3165 More compile fixes for latest Border commit. I should not commit
3166 something in this heat here ...
3168 2003-06-05 Michael Koch <konqueror@gmx.de>
3170 * javax/swing/border/BevelBorder.java
3171 (BevelBorder): Removed.
3172 * javax/swing/border/EmptyBorder.java:
3174 (EmptyBorder): Removed.
3175 (getBorderInsets): Dont use l, r, t and b.
3176 * javax/swing/border/EtchedBorder.java
3177 (EtchedBorder): Removed.
3178 * javax/swing/border/LineBorder.java
3179 (LineBorder): Removed.
3180 * javax/swing/border/MatteBorder.java
3181 (MatteBorder): Removed.
3182 * javax/swing/border/TitledBorder.java
3183 (defaultBorder): Use other default for now.
3184 (defaultFont): Likewise.
3185 (defaultColor): Likewise.
3187 2003-06-05 Michael Koch <konqueror@gmx.de>
3189 * javax/swing/border/Border.java:
3190 New version from classpath.
3192 2003-06-05 Michael Koch <konqueror@gmx.de>
3194 * javax/swing/border/AbstractBorder.java,
3195 javax/swing/border/BevelBorder.java,
3196 javax/swing/border/CompoundBorder.java,
3197 javax/swing/border/EmptyBorder.java,
3198 javax/swing/border/EtchedBorder.java,
3199 javax/swing/border/LineBorder.java,
3200 javax/swing/border/MatteBorder.java,
3201 javax/swing/border/TitledBorder.java:
3202 New versions from Classpath.
3204 2003-06-05 Michael Koch <konqueror@gmx.de>
3206 * java/awt/Button.java,
3207 java/awt/Checkbox.java,
3208 java/awt/CheckboxMenuItem.java,
3209 java/awt/Choice.java,
3210 java/awt/Container.java,
3211 java/awt/Dialog.java,
3212 java/awt/EventQueue.java,
3213 java/awt/FileDialog.java,
3214 java/awt/Frame.java,
3215 java/awt/Label.java,
3218 java/awt/MenuItem.java,
3219 java/awt/Panel.java,
3220 java/awt/PopupMenu.java,
3221 java/awt/Rectangle.java,
3222 java/awt/ScrollPane.java,
3223 java/awt/Scrollbar.java,
3224 java/awt/TextArea.java,
3225 java/awt/TextField.java,
3226 java/awt/Window.java,
3227 java/awt/datatransfer/DataFlavor.java,
3228 java/awt/dnd/DragSource.java,
3229 java/awt/dnd/DragSourceContext.java,
3230 java/awt/event/HierarchyEvent.java,
3231 java/awt/event/MouseWheelEvent.java,
3232 java/awt/im/InputContext.java,
3233 java/awt/image/BufferedImage.java,
3234 java/awt/image/ComponentColorModel.java,
3235 java/awt/image/Raster.java,
3236 java/awt/image/WritableRaster.java,
3237 java/awt/peer/ComponentPeer.java,
3238 java/awt/print/PageFormat.java,
3239 java/awt/print/PrinterJob.java:
3240 New versions from Classpath.
3242 2003-06-05 Scott Gilbertson <scottg@mantatest.com>
3244 * java/text/SimpleDateFormat.java (SimpleDateFormat): Added
3245 numberFormat.setParseIntegerOnly(true).
3247 2003-06-05 Bert Deknuydt <Bert.Deknuydt@esat.kuleuven.ac.be>
3249 * include/posix-threads.h: Include <machine/pal.h> on OSF.
3251 2003-06-03 Andrew Haley <aph@redhat.com>
3253 * include/x86_64-signal.h (MAKE_THROW_FRAME): Mark sigcontext on
3254 stack volatile to prevent optimization from removing it.
3256 2003-05-27 Michael Koch <konqueror@gmx.de>
3258 * java/util/zip/Deflater.java
3259 (FILTERED): Merged documentation from classpath.
3260 * java/util/zip/DeflaterOutputStream.java
3261 (DeflaterOutputStream): Merged documentation and argument validity
3262 check from classpath.
3263 (deflate): Merged documentation from classpath.
3265 * java/util/zip/Inflater.java
3266 (Inflater): Merged class documentation from classpath.
3267 (zstream): Reordered.
3268 (is_finished): Reordered.
3269 (dict_needed): Reordered.
3270 (Inflater): Reordered, merged documentation from classpath.
3272 (finalize): Merged documentation from classpath.
3273 (finished): Likewise.
3274 (getAdler): Likewise.
3275 (getRemaining): Likewise.
3276 (getTotalIn): Likewise.
3277 (getTotalOut): Likewise.
3278 (inflate): Likewise.
3279 (needsDictionary): Likewise.
3280 (needsInput): Likewise.
3282 (setDictionary): Likewise.
3283 (setInput): Likewise.
3285 2003-05-27 Michael Koch <konqueror@gmx.de>
3287 * java/net/URLConnection.java
3288 (getHeaderFieldInt): Merged with classpath.
3290 2003-05-27 Michael Koch <konqueror@gmx.de>
3292 * java/io/PrintStream.java
3293 (PrintStream): Reformatted.
3294 (PrintStream): New method, merged from classpath.
3295 (write): Reformatted.
3297 2003-05-27 Michael Koch <konqueror@gmx.de>
3299 * java/lang/System.java:
3300 Explicitely import needed classes.
3302 2003-05-26 Michael Koch <konqueror@gmx.de>
3304 * java/net/NetPermission.java,
3305 java/net/NetworkInterface.java,
3306 java/net/PasswordAuthentication.java,
3307 java/net/SocketPermission.java:
3308 New versions from classpath.
3310 2003-05-25 Michael Koch <konqueror@gmx.de>
3312 * java/io/PushbackInputStream.java,
3313 java/net/Authenticator.java,
3314 java/net/ContentHandler.java,
3315 java/net/ContentHandlerFactory.java,
3316 java/net/DatagramSocket.java,
3317 java/net/DatagramSocketImpl.java,
3318 java/net/DatagramSocketImplFactory.java,
3319 java/net/FileNameMap.java,
3320 java/net/SocketImplFactory.java,
3321 java/net/SocketOptions.java,
3322 java/net/URLStreamHandlerFactory.java:
3323 Merged new versions from classpath.
3325 2003-05-25 Michael Koch <konqueror@gmx.de>
3327 * java/awt/Checkbox.java,
3328 java/awt/Dialog.java,
3330 java/awt/Frame.java,
3331 java/awt/ScrollPaneAdjustable.java,
3332 java/awt/Scrollbar.java,
3333 java/awt/Window.java:
3334 New versions from classpath.
3336 2003-05-22 Jeff Sturm <jsturm@one-point.com>
3339 * java/io/ObjectInputStream (enableResolveObject):
3340 Fixed spelling of permission name.
3342 2003-05-20 Michael Koch <konqueror@gmx.de>
3344 * java/io/DataInputStream.java
3345 (convertFromUTF): Merged comment from classpath.
3346 * java/io/PrintStream.java
3347 (error_occured): Renamed from error, merged comment from classpath.
3348 (PrintStream): No need to initialized error.
3349 (checkError): Replace error with error_occurred.
3350 (setError): Likewise.
3352 2003-05-20 Michael Koch <konqueror@gmx.de>
3354 * java/io/DataInputStream.java:
3355 Reformatted, Replaced < and & with html entitites in documentation.
3356 * java/io/File.java:
3358 * java/io/PrintWriter.java:
3359 Moved class documentation.
3361 2003-05-20 Michael Koch <konqueror@gmx.de>
3363 * gnu/java/nio/ByteBufferImpl.java,
3364 gnu/java/nio/CharBufferImpl.java,
3365 gnu/java/nio/CharViewBufferImpl.java,
3366 gnu/java/nio/DirectByteBufferImpl.java,
3367 gnu/java/nio/DoubleBufferImpl.java,
3368 gnu/java/nio/DoubleViewBufferImpl.java,
3369 gnu/java/nio/FloatBufferImpl.java,
3370 gnu/java/nio/FloatViewBufferImpl.java,
3371 gnu/java/nio/IntBufferImpl.java,
3372 gnu/java/nio/IntViewBufferImpl.java,
3373 gnu/java/nio/LongBufferImpl.java,
3374 gnu/java/nio/LongViewBufferImpl.java,
3375 gnu/java/nio/natDirectByteBufferImpl.cc,
3376 gnu/java/nio/ShortBufferImpl.java,
3377 gnu/java/nio/ShortViewBufferImpl.java:
3378 Moved files to java/nio.
3379 * gnu/java/nio/SocketChannelImpl.java
3381 * java/nio/ByteBuffer.java,
3382 java/nio/CharBuffer.java,
3383 java/nio/DoubleBuffer.java,
3384 java/nio/FloatBuffer.java,
3385 java/nio/IntBuffer.java,
3386 java/nio/LongBuffer.java,
3387 java/nio/ShortBuffer.java:
3388 Dont import anything.
3389 * java/nio/ByteBufferImpl.java,
3390 java/nio/CharBufferImpl.java,
3391 java/nio/CharViewBufferImpl.java,
3392 java/nio/DirectByteBufferImpl.java,
3393 java/nio/DoubleBufferImpl.java,
3394 java/nio/DoubleViewBufferImpl.java,
3395 java/nio/FloatBufferImpl.java,
3396 java/nio/FloatViewBufferImpl.java,
3397 java/nio/IntBufferImpl.java,
3398 java/nio/IntViewBufferImpl.java,
3399 java/nio/LongBufferImpl.java,
3400 java/nio/LongViewBufferImpl.java,
3401 java/nio/natDirectByteBufferImpl.cc,
3402 java/nio/ShortBufferImpl.java,
3403 java/nio/ShortViewBufferImpl.java:
3404 Moved from gnu/java/nio.
3406 (ordinary_java_source_files): Moved files from gnu/java/nio to
3408 (nat_source_files): Moved natDirectByteBufferImpl.cc from gnu/java/nio
3410 * Makefile.in: Regenerated.
3412 2003-05-19 Michael Koch <konqueror@gmx.de>
3414 * java/util/Calendar.java
3415 (get): Not final anymore since JDK 1.4
3418 2003-05-19 Michael Koch <konqueror@gmx.de>
3420 * java/text/CollationKey.java:
3421 Merged copyright and dat from classpath.
3422 * java/text/RuleBasedCollator.java:
3423 Merged class documentation from classpath.
3425 2003-05-19 Michael Koch <konqueror@gmx.de>
3427 * java/nio/CharBuffer.java
3428 (toString): Compile fix.
3430 2003-05-19 Michael Koch <konqueror@gmx.de>
3432 * gnu/java/nio/ByteBufferImpl.java
3433 (putLong): Fixed conversion to bytes.
3434 (putDouble): Fixed conversion to bytes.
3435 * gnu/java/nio/DirectByteBufferImpl.java
3436 (putLong): Fixed conversion to bytes.
3437 (putDouble): Fixed conversion to bytes.
3438 * gnu/java/nio/FileLockImpl.java
3439 (isValid): Reformatted.
3440 * java/nio/Buffer.java
3441 (Buffer): Fixed off-by-one bug in handling mark.
3442 * java/nio/ByteBuffer.java:
3444 * java/nio/CharBuffer.java
3445 (toString): Don't use relative get to get string data.
3447 2003-05-16 Michael Koch <konqueror@gmx.de>
3449 * java/io/natFileDescriptorPosix.cc
3450 (open): Commented out the O_SYNC and O_DSYNC usage until its better
3453 2003-05-14 Michael Koch <konqueror@gmx.de>
3455 * gnu/java/nio/FileLockImpl.java
3456 (released): New member variable.
3457 (FileLockImpl): Initialize released.
3458 (releaseImpl): New native method.
3459 (release): Implemented.
3460 * gnu/java/nio/SelectorImpl.java: Reformatted.
3461 * gnu/java/nio/SelectionKeyImpl.java: Reformatted.
3462 * gnu/java/nio/ServerSocketChannelImpl.java: Reformatted.
3463 (accept): Throws IOException.
3464 * gnu/java/nio/SocketChannelImpl.java: Reformatted.
3465 (implConfigureBlocking): Throws IOException.
3466 (connect): Likewise.
3469 * gnu/java/nio/natFileLockImpl.cc: New file.
3470 * java/nio/channels/FileLock.java: Reformatted.
3472 (ordinary_java_source_files): Added gnu/java/nio/FileLockImpl.java.
3473 (nat_source_files): Added gnu/java/nio/natFileLockImpl.cc.
3474 * Makefile.in: Regenerated.
3476 2003-05-13 Michael Koch <konqueror@gmx.de>
3478 * gnu/java/nio/CharViewBufferImpl.java
3479 (CharViewBufferImpl): Fixed super constructor call, initialize offset.
3480 (get): Shift bits to the right direction.
3482 * gnu/java/nio/DoubleViewBufferImpl.java
3483 (DoubleViewBufferImpl): Fixed super constructor call, initialize offset.
3484 (get): Shift bits to the right direction.
3486 * gnu/java/nio/FloatViewBufferImpl.java
3487 (FloatViewBufferImpl): Fixed super constructor call, initialize offset.
3488 (get): Shift bits to the right direction.
3490 * gnu/java/nio/IntViewBufferImpl.java
3491 (IntViewBufferImpl): Fixed super constructor call, initialize offset.
3492 (get): Shift bits to the right direction.
3494 * gnu/java/nio/LongViewBufferImpl.java
3495 (LongViewBufferImpl): Fixed super constructor call, initialize offset.
3496 (get): Shift bits to the right direction.
3498 * gnu/java/nio/ShortViewBufferImpl.java
3499 (ShortViewBufferImpl): Fixed super constructor call, initialize offset.
3500 (get): Shift bits to the right direction.
3503 2003-05-13 Michael Koch <konqueror@gmx.de>
3505 * gnu/java/nio/natDirectByteBufferImpl.cc
3506 (allocateImpl): jlong -> RawData*.
3507 (freeImpl): Likewise.
3509 2003-05-13 Michael Koch <konqueror@gmx.de>
3511 * java/nio/channels/FileChannel.java
3512 (MapMode.m): Made it package-private to match JDK 1.4.
3513 * java/nio/charset/Charset.java
3514 (decode): Made it final to match JDK 1.4.
3516 2003-05-13 Michael Koch <konqueror@gmx.de>
3518 * java/io/FileDescriptor.java
3519 (SYNC): New constant.
3521 (getLength): Renamed from lenght() to match classpath's
3522 FileDescriptor.java.
3523 * java/io/RandomAccessFile.java
3524 (RandomAccessFile): Removed unneeded mode check, implemented mode
3525 "rws" and "rwd", merged documentation from classpath.
3526 (setLength): Reformatted.
3527 (length): Use new getLength() of FileDescriptor.
3528 * java/io/natFileDescriptorEcos.cc
3529 (getLength): Renamed from length().
3530 * java/io/natFileDescriptorPosix.cc
3531 (open): Implemented support for SYNC and DSYNC.
3532 (seek): Use getLength() instead of length().
3533 (getLength): Renamed from length().
3534 * java/io/natFileDescriptorWin32.cc
3535 (getLength): Renamed from length().
3536 (seek): Use getLength() instead of length().
3537 (available): Likewise.
3538 * gnu/java/nio/natFileChannelImpl.cc
3539 (size): Use getLength() instead of length().
3541 2003-05-13 Michael Koch <konqueror@gmx.de>
3543 * gnu/java/nio/ByteBufferImpl.java
3544 (ByteBufferImpl): All constructors revised.
3545 (slice): Reimplemented.
3546 (duplicate): Reimplemented.
3547 (asReadOnlyBuffer): Reimplemented.
3548 * java/nio/ByteBuffer.java:
3550 (array_offset): Renamed from "offset" to match all other buffer
3552 (ByteBuffer): All constructors revised.
3553 (allocateDirect): Implemented.
3554 (allocate): New implementation, documentation reworked.
3556 (get): Documentation reworked.
3557 (put): New implementation, documentation reworked.
3558 (hasArray): Documentation reworked.
3559 (arrayOffset): Likewise.
3560 (hashCode): Likewise.
3562 (compareTo): Likewise.
3564 (compact): Likewise.
3565 (isDirect): Likewise.
3567 (duplicate): Likewise.
3568 (asReadOnlyBuffer): Likewise.
3570 (ordinary_java_source_files):
3571 Added gnu/java/nio/DirectByteBufferImpl.java.
3573 Added gnu/java/nio/natDirectByteBufferImpl.cc.
3574 * Makefile.in: Regenerated.
3576 2003-05-12 Michael Koch <konqueror@gmx.de>
3578 * gnu/java/nio/ByteBufferImpl.java: Reformatted.
3579 (nio_get_*): Removed.
3580 (nio_put_*): Removed.
3581 (as*Buffer): Implemented.
3582 (compact): Implemented.
3583 (get): Documentation added.
3584 (put): Documentation added.
3585 (get*): Newly implemented.
3586 (put*): Newly implemented.
3587 * gnu/java/nio/CharBufferImpl.java: Reformatted.
3588 (CharBufferImpl): Revised.
3589 (slice): New implementation.
3590 (duplicate): New implementation.
3591 (compact): New implementation.
3592 (asReadOnlyBuffer): New implementation.
3593 (get): Documentation revised.
3594 (order): Return native byte order.
3595 * gnu/java/nio/DirectByteBufferImpl.java
3596 (allocateDirect): objects can be null not 0.
3597 * gnu/java/nio/DoubleBufferImpl.java: Reformatted.
3598 (DoubleBufferImpl): Revised.
3599 (slice): New implementation.
3600 (duplicate): New implementation.
3601 (compact): New implementation.
3602 (asReadOnlyBuffer): New implementation.
3603 (get): Documentation revised.
3604 (order): Return native byte order.
3605 * gnu/java/nio/FloatBufferImpl.java: Reformatted.
3606 (FloatBufferImpl): Revised.
3607 (slice): New implementation.
3608 (duplicate): New implementation.
3609 (compact): New implementation.
3610 (asReadOnlyBuffer): New implementation.
3611 (get): Documentation revised.
3612 (order): Return native byte order.
3613 * gnu/java/nio/IntBufferImpl.java: Reformatted.
3614 (IntBufferImpl): Revised.
3615 (slice): New implementation.
3616 (duplicate): New implementation.
3617 (compact): New implementation.
3618 (asReadOnlyBuffer): New implementation.
3619 (get): Documentation revised.
3620 (order): Return native byte order.
3621 * gnu/java/nio/LongBufferImpl.java: Reformatted.
3622 (LongBufferImpl): Revised.
3623 (slice): New implementation.
3624 (duplicate): New implementation.
3625 (compact): New implementation.
3626 (asReadOnlyBuffer): New implementation.
3627 (get): Documentation revised.
3628 (order): Return native byte order.
3629 * gnu/java/nio/ShortBufferImpl.java: Reformatted.
3630 (ShortBufferImpl): Revised.
3631 (slice): New implementation.
3632 (duplicate): New implementation.
3633 (compact): New implementation.
3634 (asReadOnlyBuffer): New implementation.
3635 (get): Documentation revised.
3636 (order): Return native byte order.
3637 * java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
3638 (CharBuffer): Revised.
3640 * java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
3641 (DoubleBuffer): Revised.
3642 (allocateDirect): Removed.
3644 * java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
3645 (FloatBuffer): Revised.
3646 (allocateDirect): Removed.
3648 * java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
3649 (IntBuffer): Revised.
3650 (allocateDirect): Removed.
3652 * java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
3653 (LongBuffer): Revised.
3654 (allocateDirect): Removed.
3656 * java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
3657 (ShortBuffer): Revised.
3658 (allocateDirect): Removed.
3660 * gnu/java/nio/natByteBufferImpl.cc: Removed.
3661 * gnu/java/nio/natCharBufferImpl.cc: Removed.
3663 (ordinary_java_source_files): Added the following files:
3664 gnu/java/nio/CharViewBufferImpl.java,
3665 gnu/java/nio/DoubleViewBufferImpl.java,
3666 gnu/java/nio/FloatViewBufferImpl.java,
3667 gnu/java/nio/IntViewBufferImpl.java,
3668 gnu/java/nio/LongViewBufferImpl.java,
3669 gnu/java/nio/ShortViewBufferImpl.java
3670 (nat_source_files): Removed the following files:
3671 gnu/java/nio/natByteBufferImpl.cc,
3672 gnu/java/nio/natCharBufferImpl.cc
3673 * Makefile.in: Regenerated.
3675 2003-05-12 Michael Koch <konqueror@gmx.de>
3677 * gnu/java/nio/CharViewBufferImpl.java,
3678 gnu/java/nio/DirectByteBufferImpl.java,
3679 gnu/java/nio/DoubleViewBufferImpl.java,
3680 gnu/java/nio/FloatViewBufferImpl.java,
3681 gnu/java/nio/IntViewBufferImpl.java,
3682 gnu/java/nio/LongViewBufferImpl.java,
3683 gnu/java/nio/ShortViewBufferImpl.java,
3684 gnu/java/nio/natDirectByteBufferImpl.cc:
3685 New files, not yet to be compiled.
3687 2003-05-10 Michael Koch <konqueror@gmx.de>
3689 * javax/swing/plaf/ButtonUI.java,
3690 javax/swing/plaf/ColorUIResource.java,
3691 javax/swing/plaf/ComponentUI.java,
3692 javax/swing/plaf/DimensionUIResource.java,
3693 javax/swing/plaf/FontUIResource.java,
3694 javax/swing/plaf/IconUIResource.java,
3695 javax/swing/plaf/InsetsUIResource.java,
3696 javax/swing/plaf/LabelUI.java,
3697 javax/swing/plaf/ListUI.java,
3698 javax/swing/plaf/OptionPaneUI.java,
3699 javax/swing/plaf/PanelUI.java,
3700 javax/swing/plaf/TabbedPaneUI.java,
3701 javax/swing/plaf/TextUI.java,
3702 javax/swing/plaf/TreeUI.java,
3703 javax/swing/plaf/ViewportUI.java,
3704 javax/swing/plaf/basic/BasicBorders.java,
3705 javax/swing/plaf/basic/BasicButtonUI.java,
3706 javax/swing/plaf/basic/BasicCheckBoxUI.java,
3707 javax/swing/plaf/basic/BasicDefaults.java,
3708 javax/swing/plaf/basic/BasicGraphicsUtils.java,
3709 javax/swing/plaf/basic/BasicIconFactory.java,
3710 javax/swing/plaf/basic/BasicLabelUI.java,
3711 javax/swing/plaf/basic/BasicListUI.java,
3712 javax/swing/plaf/basic/BasicOptionPaneUI.java,
3713 javax/swing/plaf/basic/BasicPanelUI.java,
3714 javax/swing/plaf/basic/BasicRadioButtonUI.java,
3715 javax/swing/plaf/basic/BasicScrollPaneUI.java,
3716 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
3717 javax/swing/plaf/basic/BasicTextUI.java,
3718 javax/swing/plaf/basic/BasicToggleButtonUI.java,
3719 javax/swing/plaf/basic/BasicTreeUI.java,
3720 javax/swing/plaf/basic/BasicViewportUI.java,
3721 javax/swing/plaf/metal/MetalLookAndFeel.java:
3722 New versions from classpath. This adds copyrights to all files and
3723 some serialVersionUIDs.
3725 2003-05-10 Michael Koch <konqueror@gmx.de>
3727 * java/nio/CharBuffer.java
3728 (offset): Make it package-private.
3729 (backing_buffer): Likewise.
3730 * java/nio/DoubleBuffer.java
3731 (offset): Make it package-private.
3732 (backing_buffer): Likewise.
3734 * java/nio/FloatBuffer.java
3735 (offset): Make it package-private.
3736 (backing_buffer): Likewise.
3737 * java/nio/IntBuffer.java
3738 (offset): Make it package-private.
3739 (backing_buffer): Likewise.
3740 * java/nio/LongBuffer.java
3741 (offset): Make it package-private.
3742 (backing_buffer): Likewise.
3743 * java/nio/ShortBuffer.java
3744 (offset): Make it package-private.
3745 (backing_buffer): Likewise.
3747 2003-05-10 Michael Koch <konqueror@gmx.de>
3749 * java/nio/CharBuffer.java
3750 (put): Fixed precondtion check.
3751 (toString): Make it work without backing array.
3752 (put): Skip one level of method calling.
3754 2003-05-10 Michael Koch <konqueror@gmx.de>
3756 * java/security/Identity.java,
3757 java/security/IdentityScope.java,
3758 java/security/Key.java,
3759 java/security/KeyPair.java,
3760 java/security/PrivateKey.java,
3761 java/security/Provider.java,
3762 java/security/PublicKey.java,
3763 java/security/SecureRandom.java,
3764 java/security/SecureRandomSpi.java,
3765 java/security/SignedObject.java,
3766 java/security/Signer.java,
3767 java/security/cert/Certificate.java,
3768 java/security/cert/PKIXCertPathBuilderResult.java,
3769 java/security/cert/X509Certificate.java:
3770 New versions from classpath.
3772 2003-05-09 Tom Tromey <tromey@redhat.com>
3774 * Makefile.in: Rebuilt.
3775 * Makefile.am (nat_source_files): Removed old files.
3776 * gnu/java/nio/natDoubleBufferImpl.cc: Removed.
3777 * gnu/java/nio/natFloatBufferImpl.cc: Removed.
3778 * gnu/java/nio/natIntBufferImpl.cc: Removed.
3779 * gnu/java/nio/natLongBufferImpl.cc: Removed.
3780 * gnu/java/nio/natShortBufferImpl.cc: Removed.
3782 2003-05-09 Michael Koch <konqueror@gmx.de>
3784 * gnu/java/nio/ByteBufferImpl.java
3785 (nio_cast): Removed.
3786 (ByteBufferImpl): Removed.
3787 (nio_get_Byte): Removed.
3788 (nio_put_Byte): Removed.
3789 (asByteBuffer): Removed.
3790 (asCharBuffer): Removed implementation and throw exception.
3791 (asShortBuffer): Likewise.
3792 (asIntBuffer): Likewise.
3793 (asLongBuffer): Likewise.
3794 (asFloatBuffer): Likewise.
3795 (asDoubleBuffer): Likewise.
3796 * gnu/java/nio/CharBufferImpl.java
3797 (CharBufferImpl): Removed.
3798 (nio_get_Byte): Removed.
3799 (nio_put_Byte): Removed.
3800 (asByteBuffer): Removed.
3801 * gnu/java/nio/DoubleBufferImpl.java
3802 (DoubleBufferImpl): Removed.
3803 (nio_get_Byte): Removed.
3804 (nio_put_Byte): Removed.
3805 (asByteBuffer): Removed.
3806 * gnu/java/nio/FloatBufferImpl.java
3807 (FloatBufferImpl): Removed.
3808 (nio_get_Byte): Removed.
3809 (nio_put_Byte): Removed.
3810 (asByteBuffer): Removed.
3811 * gnu/java/nio/IntBufferImpl.java
3812 (IntBufferImpl): Removed.
3813 (nio_get_Byte): Removed.
3814 (nio_put_Byte): Removed.
3815 (asByteBuffer): Removed.
3816 * gnu/java/nio/LongBufferImpl.java
3817 (LongBufferImpl): Removed.
3818 (nio_get_Byte): Removed.
3819 (nio_put_Byte): Removed.
3820 (asByteBuffer): Removed.
3821 * gnu/java/nio/ShortBufferImpl.java
3822 (ShortBufferImpl): Removed.
3823 (nio_get_Byte): Removed.
3824 (nio_put_Byte): Removed.
3825 (asByteBuffer): Removed.
3826 * gnu/java/nio/natByteBufferImpl.cc
3827 (nio_cast): Removed.
3828 (nio_get_Byte): Removed.
3829 (nio_put_Byte): Removed.
3830 * gnu/java/nio/natCharBufferImpl.cc
3831 (nio_get_Byte): Removed.
3832 (nio_put_Byte): Removed.
3834 2003-05-09 Michael Koch <konqueror@gmx.de>
3836 * java/net/JarURLConnection.java
3837 (getJarEntry): Merged documentation from classpath.
3838 (getJarFile): Likewise.
3839 (getMainAttributes): Likewise.
3840 (getAttributes): Likewise.
3841 (getManifest): Likewise.
3842 (getCertificates): Reformatted.
3843 * java/net/URLConnection.java:
3844 Little classpath merge.
3846 2003-05-09 Michael Koch <konqueror@gmx.de>
3848 * java/io/DataOutputStream.java
3849 (writeShort): Made it synchronized.
3850 (writeChar): Likewise.
3851 (writeInt): Likewise.
3852 (writeLong): Liekwise.
3853 (writeUTF): Made it synchronized, renamed argument to match classpath.
3854 * java/io/InputStreamReader.java
3855 (converter): Added documentation.
3856 (read): Merged documentation from classpath.
3857 * java/io/OutputStreamWriter.java
3858 (OutputStreamWriter): Merged documentation from classpath.
3859 (close): Reformatted.
3860 (getEncoding): Likewise.
3862 (write): Merged documentation from classpath, reformatted.
3864 2003-05-08 Tom Tromey <tromey@redhat.com>
3866 * configure.host <powerpc64*-*>: Set with_libffi_default and
3867 libgcj_interpreter to "yes".
3869 2003-05-08 Scott Gilbertson <scottg@mantatest.com>
3871 * gnu/gcj/xlib/natGC.cc (drawString): Removed obsolete code.
3873 2003-05-06 Tom Tromey <tromey@redhat.com>
3875 * verify.cc: Reverted previous patch.
3877 2003-05-06 Michael Koch <konqueror@gmx.de>
3879 * java/io/DataOutputStream.java
3880 (write): Renamed argument to "value", merged documentation from
3882 (writeBoolean): Likewise.
3883 (writeByte): Likewise.
3884 (writeShort): Likewise.
3885 (writeChar): Likewise.
3886 (writeInt): Likewise.
3887 (writeLong): Likewise.
3888 (writeFloat): Likewise.
3889 (writeDouble): Likewise.
3890 (writeBytes): Likewise.
3891 (writeChars): Likewise.
3892 (writeUTF): Likewise.
3894 (performDelete): Added documentation.
3895 (performList): Likewise.
3896 (performMkdir): Likewise.
3897 (performSetReadOnly): Likewise.
3898 (performRenameTo): Likewise.
3899 (performSetLastModified): Likewise.
3900 (delete): Made it sychronized.
3901 (renameTo): Made it sychronized.
3902 (equals): Reformatted.
3903 (isHidden): Likewise.
3904 (listFiles): Likewise.
3905 (setReadOnly): Likewise.
3906 (listRoots): Likewise.
3907 (setLastModified): Likewise.
3908 (checkRead): Likewise.
3909 (checkWrite): Likewise.
3910 * java/io/FileInputStream.java
3911 (skip): Made it sychronized, merged from classpath.
3912 * java/io/FileOutputStream.java
3913 (write): Merged from classpath.
3914 * java/io/InputStreamReader.java:
3915 (InputStreamReader): Merged documentation from classpath.
3917 2003-05-05 Michael Koch <konqueror@gmx.de>
3919 * java/net/NetworkInterface.java
3920 (networkInterfaces): Removed.
3921 (getByName): Use getRealNetworkInterfaces() instead of
3923 (getByInetAddress): Likewise.
3924 (getNetworkInterfaces): Likewise.
3925 (toString): Fix output of addresses of an interface.
3927 2003-05-05 Michael Koch <konqueror@gmx.de>
3929 * java/io/DataInputStream.java:
3930 Merged new documentation from classpath.
3932 2003-05-03 Matt Kraai <kraai@alumni.cmu.edu>
3934 * gnu/awt/gtk/GtkButtonPeer.java: Fix misspelling of
3936 * gnu/awt/gtk/GtkComponentPeer.java: Likewise.
3937 * gnu/awt/gtk/GtkContainerPeer.java: Likewise.
3938 * gnu/awt/gtk/GtkFramePeer.java: Likewise.
3939 * gnu/awt/gtk/GtkLabelPeer.java: Likewise.
3940 * gnu/awt/gtk/GtkMainThread.java: Likewise.
3941 * gnu/awt/gtk/GtkToolkit.java: Likewise.
3942 * gnu/awt/gtk/GtkWindowPeer.java: Likewise.
3943 * java/security/Key.java: Likewise.
3944 * java/security/PrivateKey.java: Likewise.
3945 * java/security/Provider.java: Likewise.
3946 * java/security/PublicKey.java: Likewise.
3948 2003-05-02 Michael Koch <konqueror@gmx.de>
3951 (create): Doesnt throws any exceptions.
3952 * java/net/URLConnection.java
3953 (URLConnection): Commend added.
3954 (getExpiration): The header field is called "expires" not
3956 (getHeaderField): Merged documentation with classpath.
3957 (getHeaderFieldInt): Likewise.
3958 (getHeaderFieldDate): Likewise.
3959 (getHeaderFieldKey): Likewise.
3960 (getPermission): Likewise.
3961 (setDefaultUseCaches): Likewise.
3962 (setRequestProperty): Likewise.
3963 (addRequestProperty): Likewise.
3964 (getRequestProperty): Likewise.
3965 (getRequestProperties): Likewise.
3966 (setDefaultRequestProperty): Likewise.
3967 (getDefaultRequestProperty): Likewise.
3968 (guessContentTypeFromStream): Likewise.
3969 (getFileNameMap): Likewise.
3970 (setFileNameMap): Likewise.
3971 (setDoInput): Merged implementation and documentation with classpath.
3972 (setDoOutput): Likewise.
3973 (setAllowUserInteraction): Likewise.
3974 (setDefaultAllowUserInteraction): Likewise.
3975 (setContentHandlerFactory): Made it synchronized, merged documentation
3977 (guessContentTypeFromName): Renamed argument fname to filename to
3978 match classpath, merged documentation with classpath.
3980 2003-05-02 Michael Koch <konqueror@gmx.de>
3982 * java/net/JarURLConnection.java
3983 (JarURLConnection): Class documentation merged with classpath.
3984 (getJarFileURL): Moved and documentation merged with classpath.
3985 (getEntryName): Likewise.
3986 (JarURLConnection): Documentation merged with classpath.
3987 (getJarEntry): Likewise.
3988 (getJarFile): Likewise.
3989 * java/net/PlainDatagramSocketImpl.java:
3990 Class documentation moved.
3991 * java/net/URLConnection.java
3992 (fileNameMap): Moved and documentation merged with classpath.
3993 (factory): Likewise.
3994 (defaultAllowUserInteraction): Likewis.
3995 (defaultUseCaches): Likewise.
3996 (allowUserInteraction): Likewise.
3997 (connected): Likewise.
3999 (connect): Documentation merged with classpath.
4001 (getContentLength): Likewise.
4002 (getContentType): Likewise.
4003 (getContentEncoding): Likewise.
4004 (getExpiration): Likewise.
4005 (getDate): Likewise.
4006 (getLastModified): Likewise.
4007 (getHeaderField): Likewise.
4008 (getContent): Likewise.
4009 (getPermission): Likewise.
4010 (getInputStream): Likewise.
4011 (getOutputStream): Likewise.
4012 (toString): Likewise.
4013 (getDoInput): Likewise.
4014 (getDoOutput): Likewise.
4015 (setAllowUserInteraction): Likewise.
4016 (getAllowUserInteraction): Likewise.
4017 (setDefaultAllowUserInteraction): Likewise.
4018 (getDefaultAllowUserInteraction): Likewise.
4019 (setUseCaches): Likewise.
4020 (getUseCaches): Likewise.
4021 (setIfModifiedSince): Likewise.
4022 (getIfModifiedSince): Likewise.
4023 (setDefaultRequestProperty): Likewise.
4024 (getDefaultRequestProperty): Likewise.
4025 (setContentHandlerFactory): Likewise.
4026 (setFileNameMap): Likewise.
4028 2003-05-02 Michael Koch <konqueror@gmx.de>
4030 * java/net/InetAddress.java:
4031 Merged class documentation with classpath.
4032 * java/net/JarURLConnection.java:
4033 Explicitely import all used classes.
4034 * java/net/URL.java:
4036 * java/net/ServerSocket.java,
4037 java/net/Socket.java:
4038 New versions from classpath.
4040 2003-05-02 Michael Koch <konqueror@gmx.de>
4042 * gnu/java/nio/FileChannelImpl.java
4043 (read): New implementation.
4044 (implRead): New methods.
4045 (write): New implementation, call other write insteal of read method.
4046 (implWrite): New methods.
4047 (map): Added comment.
4048 (transferFrom): Implemented.
4049 (transferTo): Implemented.
4050 (lock): Added checks to throw exceptions.
4051 (truncate): Added check to throw exception.
4052 * gnu/java/nio/natFileChannelImpl.cc
4053 (implRead): New method.
4054 (implWrite): New method.
4055 * java/nio/ByteBuffer.java
4056 (hashCode): Fixed comment.
4057 (get): Fixed exception documentation.
4058 (put): Fixed exception documentation.
4059 * java/nio/CharBuffer.java:
4060 Added comment for later optimizations.
4062 2003-04-30 Tom Tromey <tromey@redhat.com>
4065 * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow):
4067 (type::compatible): Use _Jv_IsAssignableFrom.
4068 * java/lang/natClass.cc (iindex_mutex_initialized): Now static.
4069 (_Jv_IsAssignableFrom): Work even when source or target class is
4072 2003-04-30 Michael Koch <konqueror@gmx.de>
4074 * java/text/BreakIterator.java
4075 (clone): New method.
4077 2003-04-30 Michael Koch <konqueror@gmx.de>
4079 * java/text/CollationElementIterator.java,
4080 java/text/CollationKey.java,
4081 java/text/RuleBasedCollator.java:
4082 Merged copyright and documentation from classpath and
4083 rearranged some code. No code changes done.
4085 2003-04-30 Michael Koch <konqueror@gmx.de>
4087 * java/util/regex/Matcher.java
4088 (pattern): New member variable.
4089 (appendReplacement): New method.
4090 (appendTail): New method.
4093 (group): New method.
4094 (replaceFirst): Added documentation.
4095 (replaceAll): Added documentation.
4096 (groupCount): New method.
4097 (lookingAt): New method.
4098 (matches): New method.
4099 (reset): New method.
4100 (start): New method.
4101 * java/util/regex/Pattern.java
4102 (serialVersionUID): New constant.
4103 (CANON_EQ): New constant.
4104 (CASE_INSENSITIVE): New constant.
4105 (COMMENTS): New constant.
4106 (DOTALL): New constant.
4107 (MULTILINE): New constant.
4108 (UNICODE_CASE): New constant.
4109 (UNIX_LINES): New constant.
4110 (regex): New member variable.
4111 (flags): New member variable.
4112 (Pattern): New method.
4113 (compile): Documentation added.
4114 (flags): New method.
4115 (matches): Documentation added.
4116 (matcher): Documentation added.
4117 (split): Documentation added.
4118 (pattern): New method.
4120 2003-04-30 Michael Koch <konqueror@gmx.de>
4122 * gnu/java/security/Engine.java,
4123 gnu/java/security/OID.java,
4124 gnu/java/security/der/BitString.java,
4125 gnu/java/security/der/DER.java,
4126 gnu/java/security/der/DERReader.java,
4127 gnu/java/security/der/DERValue.java,
4128 gnu/java/security/der/DERWriter.java,
4129 gnu/java/security/provider/DSAKeyFactory.java,
4130 gnu/java/security/provider/X509CertificateFactory.java,
4131 gnu/java/security/x509/X500DistinguishedName.java,
4132 gnu/java/security/x509/X509CRL.java,
4133 gnu/java/security/x509/X509CRLEntry.java,
4134 gnu/java/security/x509/X509Certificate.java,
4135 java/security/cert/CRLSelector.java,
4136 java/security/cert/CertPathBuilder.java,
4137 java/security/cert/CertPathBuilderResult.java,
4138 java/security/cert/CertPathBuilderSpi.java,
4139 java/security/cert/CertPathParameters.java,
4140 java/security/cert/CertPathValidator.java,
4141 java/security/cert/CertPathValidatorResult.java,
4142 java/security/cert/CertPathValidatorSpi.java,
4143 java/security/cert/CertSelector.java,
4144 java/security/cert/CertStore.java,
4145 java/security/cert/CertStoreParameters.java,
4146 java/security/cert/CertStoreSpi.java,
4147 java/security/cert/CollectionCertStoreParameters.java,
4148 java/security/cert/LDAPCertStoreParameters.java,
4149 java/security/cert/PKIXBuilderParameters.java,
4150 java/security/cert/PKIXCertPathBuilderResult.java,
4151 java/security/cert/PKIXCertPathChecker.java,
4152 java/security/cert/PKIXCertPathValidatorResult.java,
4153 java/security/cert/PKIXParameters.java,
4154 java/security/cert/PolicyNode.java,
4155 java/security/cert/PolicyQualifierInfo.java,
4156 java/security/cert/TrustAnchor.java,
4157 javax/security/auth/x500/X500Principal.java:
4158 New files from classpath.
4159 * gnu/java/io/ASN1ParsingException.java,
4160 gnu/java/io/Base64InputStream.java,
4161 gnu/java/security/der/DEREncodingException.java,
4162 gnu/java/security/provider/DSAParameters.java,
4163 gnu/java/security/provider/DSASignature.java,
4164 gnu/java/security/provider/Gnu.java,
4165 gnu/java/security/provider/GnuDSAPrivateKey.java,
4166 gnu/java/security/provider/GnuDSAPublicKey.java,
4167 java/security/AlgorithmParameterGenerator.java,
4168 java/security/AlgorithmParameters.java,
4169 java/security/KeyFactory.java,
4170 java/security/KeyPairGenerator.java,
4171 java/security/KeyStore.java,
4172 java/security/MessageDigest.java,
4173 java/security/SecureClassLoader.java,
4174 java/security/SecureRandom.java,
4175 java/security/Security.java,
4176 java/security/Signature.java,
4177 java/security/cert/Certificate.java,
4178 java/security/cert/CertificateFactory.java,
4179 java/security/cert/CertificateFactorySpi.java,
4180 java/security/cert/X509CRL.java,
4181 java/security/cert/X509Certificate.java,
4182 java/security/spec/DSAPublicKeySpec.java:
4183 New versions from classpath.
4184 * gnu/java/security/provider/DERReader.java,
4185 gnu/java/security/provider/DERWriter.java,
4186 java/security/Engine.java: Removed.
4188 (java_source_files, javax_source_files): Added new files.
4189 * Makefile.in: Regenerated.
4191 2003-04-29 Michael Koch <konqueror@gmx.de>
4193 * javax/swing/JTable.java
4194 (AUTO_RESIZE_ALL_COLUMNS): New constant.
4195 (AUTO_RESIZE_LAST_COLUMN): New constant.
4196 (AUTO_RESIZE_NEXT_COLUMN): New constant.
4197 (AUTO_RESIZE_OFF): New constant.
4198 (AUTO_RESIZE_SUBSEQUENT_COLUMNS): New constant.
4199 (JTable): New method.
4200 (columnAdded): New method.
4201 (columnMarginChanged): New method.
4202 (columnMoved): New method.
4203 (columnRemoved): New method.
4204 (columnSelectionChanged): New method.
4205 (editingCanceled): New method.
4206 (editingStopped): New method.
4207 (getColumnModel): New method.
4208 (getPreferredScrollableViewportSize): New method.
4209 (getScrollableBlockIncrement): New method.
4210 (getScrollableTracksViewportHeight): New method.
4211 (getScrollableTracksViewportWidth): New method.
4212 (getScrollableUnitIncrement): New method.
4213 (getSelectedRow): New method.
4214 (getSelectionModel): New method.
4215 (tableChanged): New method.
4216 (setModel): New method.
4217 (setSelectionMode): New method.
4218 (setSelectionModel): New method.
4219 (setShowGrid): New method.
4220 (valueChanged): New method.
4221 * javax/swing/text/DefaultEditorKit.java
4222 (backwardAction): New constant.
4223 (beepAction): New constant.
4224 (beginAction): New constant.
4225 (beginLineAction): New constant.
4226 (beginParagraphAction): New constant.
4227 (beginWordAction): New constant.
4228 (copyAction): New constant.
4229 (cutAction): New constant.
4230 (defaultKeyTypedAction): New constant.
4231 (deleteNextCharAction): New constant.
4232 (deletePrevCharAction): New constant.
4233 (downAction): New constant.
4234 (endAction): New constant.
4235 (endLineAction): New constant.
4236 (endOfLineStringProperty): New constant.
4237 (endParagraphAction): New constant.
4238 (endWordAction): New constant.
4239 (forwardAction): New constant.
4240 (insertBreakAction): New constant.
4241 (insertContentAction): New constant.
4242 (insertTabAction): New constant.
4243 (nextWordAction): New constant.
4244 (pageDownAction): New constant.
4245 (pageUpAction): New constant.
4246 (pasteAction): New constant.
4247 (previousWordAction): New constant.
4248 (readOnlyAction): New constant.
4249 (selectAllAction): New constant.
4250 (selectionBackwardAction): New constant.
4251 (selectionBeginAction): New constant.
4252 (selectionBeginLineAction): New constant.
4253 (selectionBeginParagraphAction): New constant.
4254 (selectionBeginWordAction): New constant.
4255 (selectionDownAction): New constant.
4256 (selectionEndAction): New constant.
4257 (selectionEndLineAction): New constant.
4258 (selectionEndParagraphAction): New constant.
4259 (selectionEndWordAction): New constant.
4260 (selectionForwardAction): New constant.
4261 (selectionNextWordAction): New constant.
4262 (selectionPreviousWordAction): New constant.
4263 (selectionUpAction): New constant.
4264 (selectLineAction): New constant.
4265 (selectParagraphAction): New constant.
4266 (selectWordAction): New constant.
4267 (upAction): New constant.
4268 (writableAction): New constant.
4270 2003-04-29 Michael Koch <konqueror@gmx.de>
4272 * java/util/PropertyPermission.java:
4273 New version from classpath
4274 * java/util/ResourceBundle.java:
4275 Partly merged from classpath
4276 (getObject): Reformated.
4277 (tryBundle): Set foundBundle = null if no bundle found.
4279 2003-04-29 Michael Koch <konqueror@gmx.de>
4281 * javax/swing/AbstractListModel.java,
4282 javax/swing/DefaultBoundedRangeModel.java,
4283 javax/swing/DefaultSingleSelectionModel.java:
4284 New Versions from classpath.
4286 2003-04-29 Michael Koch <konqueror@gmx.de>
4288 * java/awt/Window.java
4289 (show): Call super.show() instead of setVisible() to avoid endless
4291 (hide): Call super.hide() instead of setVisible() to avoid endless
4294 2003-04-29 Michael Koch <konqueror@gmx.de>
4296 * java/util/zip/Deflater.java,
4297 java/util/zip/DeflaterOutputStream.java:
4298 Partly merged with classpath.
4300 2003-04-27 Tom Tromey <tromey@redhat.com>
4302 * java/lang/natString.cc (_Jv_AllocString): Initialize
4305 (_Jv_NewStringUtf8Const): Likewise.
4307 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>
4309 * include/jvm.h: (_Jv_GetNbArgs) added
4310 (_Jv_GetSafeArg) added
4312 * prims.cc: (_Jv_GetNbArgs) implemented
4313 (_Jv_GetSafeArg) implemented
4314 (_Jv_SetArgs) implemented
4315 (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly
4316 setting _Jv_argc and _Jv_argv
4317 * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg()
4319 * java/lang/natRuntime.cc: (insertSystemProperties) use
4320 _Jv_GetSafeArg() instead of _Jv_argv
4322 2003-04-23 Tom Tromey <tromey@redhat.com>
4324 * resolve.cc (_Jv_PrepareClass): Round size up to alignment
4325 required by this object. Search superclasses to find required
4327 (get_alignment_from_class): Use alignment of type as it appears
4329 (ALIGNOF): New macro.
4330 (struct aligner): New helper structure.
4332 2003-04-20 Scott Gilbertson <scottg@mantatest.com>
4334 * java/awt/Container.java (addImpl): Enable paint events if adding
4335 a lightweight to a heavyweight.
4336 (addNotify): Ensure that peer is created before
4337 addNotifyContainerChildren.
4338 (addNotifyContainerChildren): Enable paint events if a heavyweight
4339 container contains a lightweight.
4341 2003-04-20 Tom Tromey <tromey@redhat.com>
4343 * java/io/BufferedReader.java, java/io/BufferedWriter.java,
4344 java/io/DataInput.java, java/io/DataOutput.java: Imports from
4347 2003-04-19 Tom Tromey <tromey@redhat.com>
4349 * java/sql/Date.java, java/sql/DriverManager.java,
4350 java/sql/Time.java, java/sql/Timestamp.java: New versions from
4353 * Makefile.in: Rebuilt.
4354 * Makefile.am (ordinary_java_source_files): Added new files.
4355 * java/security/AlgorithmParameterGenerator.java,
4356 java/security/AlgorithmParameters.java, java/security/Engine.java,
4357 java/security/Identity.java, java/security/IdentityScope.java,
4358 java/security/KeyFactory.java,
4359 java/security/KeyPairGenerator.java, java/security/KeyStore.java,
4360 java/security/MessageDigest.java, java/security/Policy.java,
4361 java/security/ProtectionDomain.java,
4362 java/security/SecureRandom.java, java/security/Security.java,
4363 java/security/Signature.java, java/security/SignatureSpi.java,
4364 java/security/SignedObject.java, java/security/Signer.java,
4365 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
4366 java/security/spec/PSSParameterSpec.java,
4367 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java,
4368 java/security/spec/RSAOtherPrimeInfo.java: New versions from
4371 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
4373 * gnu/awt/xlib/XGraphics.java (XGraphics): Use new GC.create.
4374 (dispose): Null metrics.
4375 * gnu/awt/xlib/XToolkit.java (sync): Implement.
4376 * gnu/gcj/xlib/Clip.java (dispose): Change name of native from
4378 (finalize): Call dispose.
4379 * gnu/gcj/xlib/Drawable.java (gcCache): New field.
4380 (gcCachedCount): New field.
4381 (finalize): New method.
4382 (putGCInCache): New method.
4383 (getGCFromCache): New method.
4384 * gnu/gcj/xlib/GC.java (GC): Make protected.
4385 (clone): Get new GC from cache if possible.
4386 (create): New static method.
4387 (dispose): Save old GC in cache.
4388 * gnu/gcj/xlib/natClip.cc (dispose): Check for null before
4390 * gnu/gcj/xlib/natGC.cc (initStructure): Call XCreateGC only if gc
4392 * gnu/gcj/xlib/Pixmap.java (Pixmap): Use new GC.create.
4393 * java/awt/Container.java (visitChild): Dispose gfx2 when
4396 2003-04-19 Jerry Quinn <jlquinn@optonline.net>
4398 * java/math/BigInteger.java (probablePrime): New.
4399 * java/math/BigDecimal.java (unscaledValue): New.
4401 2003-04-19 Ranjit Mathew <rmathew@hotmail.com>
4403 * java/io/File.java (getAbsolutePath): On Windows, take care
4404 of paths like "C:", "G:foo\bar", etc.
4405 (getName): Make it work correctly on Windows.
4406 (getParent): Make it work correctly on Windows. For UNIX,
4407 fix bug that causes "/" to be returned as the parent of "/",
4408 instead of null as returned by Sun's JRE.
4410 * java/io/natFileWin32.cc: Change copyright owner to FSF.
4412 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
4414 * gnu/awt/xlib/XGraphicsConfiguration.java (FontMetricsCache): New
4416 (CACHE_SIZE_PER_DISPLAY): New field
4417 (fontMetricsCache): New field
4418 (getXFontMetrics): Use fontMetricsCache to cache fonts. Prefer
4419 loading ISO10646-1 fonts.
4421 2003-04-19 Scott Gilbertson <scottg@mantatest.com>
4423 * libjava/gnu/gcj/xlib/natFont.cc (getStringWidth): Support 16-bit
4425 * libjava/gnu/gcj/xlib/natGC.cc (drawString): Support 16-bit
4428 2003-04-16 Richard Earnshaw <rearnsha@arm.com>
4430 * java/lang/ieeefp.h: Handle ARM platforms that have pure-endian
4433 2003-04-15 Jakub Jelinek <jakub@redhat.com>
4435 * configure.host (*-linux*): Don't set slow_pthread_self if primary
4436 installed libpthread is either linuxthreads with floating stacks or
4439 2003-04-14 Tom Tromey <tromey@redhat.com>
4441 * resolve.cc (_Jv_PrepareClass): Round up class size to multiple
4444 2003-04-10 Tom Tromey <tromey@redhat.com>
4446 * verify.cc (pop64): Removed.
4447 (verify_instructions_0) <op_pop2>: Inline code. Don't throw
4448 exception if top-of-stack is narrow.
4449 (initialize_stack): Check to ensure that <init> is not static and
4452 2003-04-07 Aaron M. Renn (arenn@urbanophile.com)
4454 * java/io/ObjectStreamException
4455 * java/io/FileFilter
4456 * java/io/FilenameFilter
4457 * java/io/ObjectInput
4458 * java/io/ObjectOutput
4459 * java/io/ObjectStreamConstants
4460 Minor doc fixes, format fixes, spelling corrections, etc.
4462 Corrected code samples in Javadocs to match reality
4463 * java/io/DataOutput
4464 * java/io/ObjectInputValidation
4465 Major documentation fixes - all Javadocs re-written or updated
4467 2003-04-06 Michael Koch <konqueror@gmx.de>
4469 * java/net/URLConnection.java:
4470 Import classes directly.
4471 (URLConnection): Merged class documentation with classpath.
4472 (url): Moved, documentation from classpath added.
4473 (doInput): Moved, documentation from classpath added.
4474 (doOutput): Moved, documentation from classpath added.
4475 (allowUserInteraction): Moved.
4476 (useCaches): Moved, documentation from classpath added.
4477 (ifModifiedSince): Moved, documentation from classpath added.
4478 (connected): Moved, documentation from classpath added.
4480 2003-04-06 Michael Koch <konqueror@gmx.de>
4482 * java/io/FileInputStream.java
4483 (skip): Renamed some variables to match classpath, added
4484 checks from classpath.
4486 2003-03-31 Michael Koch <konqueror@gmx.de>
4488 * javax/swing/AbstractAction.java
4489 (AbstractAction): Reformatted.
4490 (serialVersionUID): New private member variable.
4491 * javax/swing/plaf/BorderUIResource.java
4492 (serialVersionUID): New private member variable.
4493 * javax/swing/plaf/basic/BasicLookAndFeel.java
4494 (serialVersionUID): New private member variable.
4496 2003-03-31 Michael Koch <konqueror@gmx.de>
4498 * java/sql/Date.java
4499 (valueOf): Deprecated, reformatted.
4500 (toString): Deprecated, reformatted.
4501 * java/sql/Time.java
4502 (valueOf): Deprecated, reformatted.
4503 (toString): Deprecated, reformatted.
4505 2003-03-31 Michael Koch <konqueror@gmx.de>
4507 * java/rmi/dgc/VMID.java
4508 (isUnique): Deprecated.
4510 2003-03-31 Michael Koch <konqueror@gmx.de>
4513 (separator): Merged documentation from classpath.
4514 (separatorChar): Merged documentation from classpath.
4515 (pathSeparator): Merged documentation from classpath.
4516 (pathSeparatorChar): Merged documentation from classpath.
4517 (path): Merged documentation from classpath.
4518 (canRead): Merged documentation from classpath.
4519 (canWrite): Merged documentation from classpath.
4520 (createNewFile): Merged documentation from classpath.
4521 (delete): Merged documentation from classpath.
4522 (equals): Merged documentation from classpath.
4523 (exists): Merged documentation from classpath.
4524 (File): Renamed p to name to match classpath, merged documentation
4526 (getAbsolutePath): Merged documentation from classpath.
4527 (getCanonicalPath): Merged documentation from classpath.
4528 (getCanonicalFile): Merged documentation from classpath.
4529 (getName): Merged documentation from classpath.
4530 (getParent): Merged documentation from classpath.
4531 (getParentFile): Merged documentation from classpath.
4532 (getPath): Merged documentation from classpath.
4533 (hashCode): Merged documentation from classpath.
4534 (isAbsolute): Merged documentation from classpath.
4535 (isDirectory): Merged documentation from classpath.
4536 (isFile): Merged documentation from classpath.
4537 (isHidden): Merged documentation from classpath.
4538 (lastModified): Merged documentation from classpath.
4539 (length): Merged documentation from classpath.
4540 (list): Merged documentation from classpath.
4541 (listFiles): Merged documentation from classpath.
4542 (toString): Merged documentation from classpath.
4543 (toURL): Merged documentation from classpath.
4544 (mkdir): Merged documentation from classpath.
4545 (mkdirs): Merged documentation from classpath.
4546 (createTempFile): Merged documentation from classpath.
4547 (setReadOnly): Merged documentation from classpath.
4548 (listRoots): Merged documentation from classpath.
4549 (compareTo): Merged documentation from classpath.
4550 (renameTo): Merged documentation from classpath.
4551 (setLastModified): Merged documentation from classpath.
4552 * java/io/PrintStream.java
4553 (auto_flush): Merged documentation from classpath.
4554 (PrintStream): Merged documentation from classpath.
4555 (checkError): Merged documentation from classpath.
4556 (setError): Merged documentation from classpath.
4557 (close): Merged documentation from classpath.
4558 (flush): Merged documentation from classpath.
4559 (print): Merged documentation from classpath.
4560 (println): Merged documentation from classpath.
4561 (write): Renamed count to len to match classpath,
4562 merged documentation from classpath.
4563 * java/io/RandomAccessFile.java
4564 (readShort): Merged documentation from classpath.
4565 (readUnsignedByte): Merged documentation from classpath.
4566 (readUnsignedShort): Merged documentation from classpath.
4567 (readUTF): Merged documentation from classpath.
4568 (seek): Reformatted, merged documentation from classpath.
4569 (skipBytes): Renamed some variables to match classpath, reformatted,
4570 merged documentation from classpath.
4571 (write): Merged documentation from classpath.
4572 (writeBoolean): Merged documentation from classpath.
4573 (writeByte): Merged documentation from classpath.
4574 (writeShort): Merged documentation from classpath.
4575 (writeChar): Merged documentation from classpath.
4576 (writeInt): Merged documentation from classpath.
4577 (writeLong): Merged documentation from classpath.
4578 (writeFloat): Merged documentation from classpath.
4579 (writeDouble): Merged documentation from classpath.
4580 (writeBytes): Merged documentation from classpath.
4581 (writeChars): Merged documentation from classpath.
4582 (writeUTF): Reformatted.
4583 (getChannel): Reformatted.
4585 2003-03-31 Michael Koch <konqueror@gmx.de>
4587 * java/awt/font/TextAttribute.java
4588 (readResolve): Throws java.io.InvalidObjectException.
4590 2003-03-31 Michael Koch <konqueror@gmx.de>
4592 * java/rmi/server/LoaderHandler.java
4593 (loadClass): Deprecated.
4594 (getSecurityContext): Deprecated.
4595 * java/rmi/server/LogStream.java
4596 (getDefaultStream): Deprecated.
4597 (setDefaultStream): Deprecated.
4598 (getOutputStream): Deprecated.
4599 (setOutputStream): Deprecated.
4600 (write): Deprecated.
4601 (toString): Deprecated.
4602 (parseLevel): Deprecated.
4603 * java/rmi/server/Operation.java
4604 (Operation): Deprecated.
4605 (getOperation): Deprecated.
4606 (toString): Deprecated.
4607 * java/rmi/server/RemoteCall.java
4608 (getOutputStream): Deprecated.
4609 (releaseOutputStream): Deprecated.
4610 (getInputStream): Deprecated.
4611 (releaseInputStream): Deprecated.
4612 (getResultStream): Deprecated.
4613 (executeCall): Deprecated.
4615 * java/rmi/server/RemoteRef.java
4616 (invoke): Deprecated.
4617 (newCall): Deprecated.
4619 * java/rmi/server/RemoteStub.java
4620 (setRef): Deprecated.
4621 * java/rmi/server/Skeleton.java:
4622 No need to import java.lang.Exception explicitly.
4623 (dispatch): Deprecated.
4624 (getOperations): Deprecated.
4626 2003-03-31 Michael Koch <konqueror@gmx.de>
4628 * java/rmi/dgc/VMID.java,
4629 java/rmi/registry/RegistryHandler.java,
4630 java/rmi/server/LogStream.java,
4631 java/rmi/server/Operation.java,
4632 java/rmi/server/RemoteCall.java,
4633 java/rmi/server/RemoteRef.java,
4634 java/rmi/server/RemoteStub.java:
4637 2003-03-31 Michael Koch <konqueror@gmx.de>
4639 * javax/swing/AbstractCellEditor.java,
4640 javax/swing/AbstractListModel.java,
4641 javax/swing/ActionMap.java,
4642 javax/swing/BorderFactory.java,
4643 javax/swing/ButtonGroup.java,
4644 javax/swing/DefaultBoundedRangeModel.java,
4645 javax/swing/DefaultButtonModel.java,
4646 javax/swing/DefaultCellEditor.java,
4647 javax/swing/DefaultComboBoxModel.java,
4648 javax/swing/DefaultDesktopManager.java,
4649 javax/swing/DefaultListCellRenderer.java,
4650 javax/swing/DefaultSingleSelectionModel.java,
4651 javax/swing/InputMap.java,
4652 javax/swing/JComponent.java,
4653 javax/swing/JMenu.java,
4654 javax/swing/JSlider.java,
4655 javax/swing/KeyStroke.java,
4656 javax/swing/OverlayLayout.java,
4657 javax/swing/ScrollPaneLayout.java,
4658 javax/swing/SizeRequirements.java,
4659 javax/swing/UIManager.java,
4660 javax/swing/ViewportLayout.java,
4661 javax/swing/border/AbstractBorder.java,
4662 javax/swing/colorchooser/DefaultColorSelectionModel.java,
4663 javax/swing/event/EventListenerList.java,
4664 javax/swing/table/AbstractTableModel.java,
4665 javax/swing/table/DefaultTableCellRenderer.java,
4666 javax/swing/table/DefaultTableColumnModel.java,
4667 javax/swing/table/DefaultTableModel.java,
4668 javax/swing/table/TableColumn.java,
4669 javax/swing/text/StyledEditorKit.java,
4670 javax/swing/tree/DefaultMutableTreeNode.java,
4671 javax/swing/tree/DefaultTreeModel.java,
4672 javax/swing/tree/DefaultTreeSelectionModel.java,
4673 javax/swing/tree/TreePath.java,
4674 javax/swing/undo/AbstractUndoableEdit.java,
4675 javax/swing/undo/StateEdit.java,
4676 javax/swing/undo/StateEditable.java,
4677 javax/swing/undo/UndoableEditSupport.java:
4678 Merges from classpath.
4680 2003-03-30 Tom Tromey <tromey@redhat.com>
4682 * java/lang/String.java (data, boffset, count): Documented.
4683 (String(byte[],String)): Reformatted.
4684 (String(byte[])): Likewise.
4685 (lastIndexOf(int)): Likewise.
4686 (lastIndexOf(String)): Likewise.
4687 (substring(int)): Renamed argument to match Classpath.
4688 (String(StringBuffer)): Don't share buffer if it is nearly empty.
4690 * java/lang/String.java: Miscellaneous minor formatting changes
4691 to match Classpath more closely.
4693 2003-03-29 Eric Blake <ebb9@email.byu.edu>
4694 Tom Tromey <tromey@redhat.com>
4696 * java/lang/natString.cc (hashCode): Use cachedHashCode.
4698 (charAt): Put index in exception.
4699 (contentEquals): New method.
4700 Include StringBuffer.h.
4701 * java/lang/String.java (cachedHashCode): New field.
4702 (String()): Follow classpath implementation.
4704 (contentEquals): Declare.
4705 (subSequence): Don't declare IndexOutIfBoundsException in throws
4707 (matches, replaceFirst, replaceAll, split): New methods from
4710 2003-03-29 Tom Tromey <tromey@redhat.com>
4712 * java/lang/String.java: Reordered to follow Classpath; merged in
4715 * java/text/MessageFormat.java: Removed some whitespace.
4717 * Makefile.in: Rebuilt.
4718 * Makefile.am (awt_java_source_files): Added new files.
4719 * gnu/javax/rmi/PortableServer.java,
4720 gnu/javax/rmi/CORBA/DelegateFactory.java,
4721 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
4722 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
4723 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
4724 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
4725 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
4726 javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java,
4727 javax/rmi/PortableRemoteObject.java,
4728 javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java,
4729 javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
4730 javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java,
4731 javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java,
4732 javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java,
4733 javax/rmi/CORBA/ValueHandler.java: New files from Classpath.
4735 * java/lang/natClass.cc (newInstance): Put method name in
4737 (getConstructor): Likewise.
4738 (getDeclaredConstructor): Likewise.
4739 (getPrivateMethod): Likewise.
4741 2003-03-28 Tom Tromey <tromey@redhat.com>
4743 * java/lang/reflect/Proxy.java: New version from Classpath.
4744 * java/lang/Package.java: New version from Classpath.
4746 2003-03-29 Ulrich Weigand <uweigand@de.ibm.com>
4748 * configure.in (HAVE_BACKTRACE) [s390*-*-linux*]: Define.
4749 * configure: Regenerate.
4751 2003-03-28 Michael Koch <konqueror@gmx.de>
4753 * java/io/File.java:
4754 Import needed classes instead of whole packages, merged class
4755 documentation with classpath, moved constants and variables to top of
4757 * java/io/PrintStream.java:
4758 Merged class documentation with classpath, moved constants and
4759 variables to top of class.
4760 * java/io/RandomAccessFile.java
4761 (RandomAccessFile): Merged with classpath.
4762 (read): Merged with classpath).
4763 (read*): Reformatted.
4765 2003-03-28 Michael Koch <konqueror@gmx.de>
4767 * java/io/FileDescriptor.java
4768 (finalize): Throws Throwable, not IOException.
4769 * java/io/ObjectOutputStream.java
4770 (PutField.put): Doesnt throws anything.
4772 2003Â03-28 Michael Koch <konqueror@gmx.de>
4774 * java/io/FileOutputStream.java:
4775 Merged class documentation and authors with classpath.
4776 (FileOutputStream): Partly merged with classpath.
4777 (write): Merged with classpath.
4778 (getChannel): Make it synchronized instead of explicit block in this
4780 * java/io/RandomAccessFile.java:
4781 Merged class documentation and authors with classpath.
4783 2003-03-26 Tom Tromey <tromey@redhat.com>
4785 * java/lang/natRuntime.cc (insertSystemProperties): Set
4786 gnu.classpath.home.url.
4787 * Makefile.in: Rebuilt.
4788 * Makefile.am: Define LIBDIR.
4790 2003-03-25 Michael Koch <konqueror@gmx.de>
4792 * java/io/FileInputStream.java
4793 (read): Renamed b to buf and off to offset.
4794 * java/io/FileOutputStream.java
4795 (ch): Documentation added.
4796 (FileOutputStream): Documentation added.
4797 (getFD): Documentation added.
4798 (write): Documentation added.
4799 (close): Documentation added.
4800 (getChannel): Documentation added.
4802 2003-03-24 Michael Koch <konqueror@gmx.de>
4804 * java/io/DataOutputStream.java
4805 (write): Merged from classpath.
4806 * java/io/File.java:
4807 Merged copyrigth with classpath.
4808 * java/io/FileInputStream.java
4809 (getChannel): Made it synchronized instead of using a synchronized
4811 * java/io/FileOutputStream.java: Reformatted.
4812 * java/io/InputStreamReader.java
4813 (InputStreamReader): Renamed enc to encoding_name.
4814 (close): Merged documentation from classpath.
4815 (getEncoding): Merged documentation from classpath.
4816 (ready): Merged documentation from classpath.
4817 (read): Merged documentation from classpath.
4818 * java/io/LineNumberReader.java
4819 (lineNumber): Made it private.
4820 (LineNumberReader): Use Constant instead of a direct value.
4821 * java/io/OutputStreamWriter.java
4822 (OutputStreamWriter): Renamed enc to encoding_scheme, merged
4823 documentation from classpath.
4824 (close): Merged documentation from classpath.
4825 (flush): Merged documentation from classpath.
4826 (write): Merged documentation from classpath.
4827 * java/io/PrintStream.java: Reformatted.
4829 2003-03-24 Michael Koch <konqueror@gmx.de>
4831 * javax/swing/text/ComponentView.java
4832 (getComponent): Must be final.
4833 * javax/swing/tree/DefaultTreeCellRenderer.java:
4835 * javax/swing/undo/StateEditable.java:
4838 2003-03-24 Michael Koch <konqueror@gmx.de>
4840 * java/rmi/activation/ActivationInstantiator.java:
4842 * java/rmi/activation/Activator.java:
4844 * java/rmi/registry/RegistryHandler.java:
4845 Remerged from classpath.
4847 2003-03-24 Michael Koch <konqueror@gmx.de>
4849 * java/util/Date.java:
4850 Fixed documentation starting tag to make javadoc happy.
4851 * java/util/regex/Pattern.java
4852 (Pattern): Implements Serializable.
4853 * java/util/PatternSyntaxException.java
4854 (serialVersionUID): New member variable.
4856 2003-03-24 Michael Koch <koqnueror@gmx.de>
4858 * java/awt/ContainerOrderFocusTraversalPolicy.java
4859 (getFirstComponent): Implemented.
4860 (getLastComponent): Implemented.
4861 (getDefaultComponent): Implemented.
4862 (setImplicitDownCycleTraversal): Fixed implementation.
4863 * java/awt/Robot.java
4864 (Robot): Added documentation.
4865 * java/awt/Toolkit.java
4866 (getFontList): Deprecated.
4867 (getFontMetrics): Deprecated.
4868 (getPrintJob): Added documentation.
4869 (getSystemSelection): Added documentation.
4870 (getLockingKeyState): Added documentation.
4871 (setLockingKeyState): Added documentation.
4872 (createCustomCursor): Added documentation.
4873 (getBestCursorSize): Added documentation.
4874 (getMaximumCursorColors): Added documentation.
4875 (isFrameStateSupported): Added documentation.
4877 2003-03-24 Michael Koch <konqueror@gmx.de>
4879 * java/io/RandomAccessFile.java:
4880 More little merges with classpath. No code changes.
4882 2003-03-24 Michael Koch <konqueror@gmx.de>
4884 * java/net/natInetAddressNoNet.cc:
4886 * java/net/natPlainDatagramSocketImplNoNet.cc:
4887 Fixed inlcude of java/net/DatagramPacket.h.
4888 * java/net/natPlainSocketImplNoNet.cc:
4889 Include some missing classes.
4891 2003-03-24 Michael Koch <konqueror@gmx.de>
4893 * java/awt/dnd/DropTarget.java
4894 (DropTargetAutoScroller): According to the online documentation, this
4895 is protected, but in reality it is public.
4896 * java/awt/dnd/DropTargetContext.java
4897 (TransferableProxy): According to the online documentation, this
4898 is protected, but in reality it is public.
4900 2003-03-24 Michael Koch <konqueror@gmx.de>
4902 * java/io/DataInputStream.java
4903 (): Wrapped documentation line.
4904 (): Fixed @return tag.
4905 * java/io/DataOutputStream.java
4906 (written): Moved to top of class.
4907 (all methods): Merged documentation from classpath.
4908 * java/io/File.java:
4909 Merged copyright year with classpath.
4910 * java/io/FileInputStream.java
4911 (all methods): Merged documentation from classpath.
4912 * java/io/LineNumberReader.java
4913 (getLineNumber): Fixed @return tag.
4914 * java/io/ObjectInputStream.java.
4916 * java/io/ObjectOutputStream.java:
4917 Reformatted, fixed some @see tags.
4918 * java/io/OutputStreamWriter.java:
4920 * java/io/Writer.java:
4923 2003-03-24 Michael Koch <konqueror@gmx.de>
4925 * java/awt/Frame.java
4926 (DEFAULT_CURSOR): Fixed @deprecated tag.
4927 (setCursor): Fixed @deprecated tag.
4929 2003-03-24 Michael Koch <konqueror@gmx.de>
4931 * java/beans/beancontext/BeanContextEvent.java:
4934 2003-03-23 Eric Blake <ebb9@email.byu.edu>
4936 * java/lang/natStringBuffer.cc (regionMatches): New function.
4937 * java/lang/String.java (count): Now package-private.
4938 * java/lang/StringBuffer.java: Merged with Classpath.
4940 2003-03-23 Michael Koch <konqueror@gmx.de>
4942 * java/io/BufferedOutputStream.java:
4944 * java/io/BufferedReader.java:
4946 * java/io/ByteArrayOutputStream.java
4947 (size): Fixed @see tag.
4948 * java/io/CharArrayWriter.java
4949 (size): Fixed @see tag.
4950 * java/io/DataInput.java:
4952 * java/io/DataOutput.java:
4954 * java/io/DataOutputStream.java:
4955 Merged copyright years with classpath.
4956 * java/io/Externalizable.java:
4958 * java/io/FileFilter.java:
4960 * java/io/FileInputStream.java:
4961 Merged copyright years with classpath.
4962 * java/io/FileOutputStream.java:
4963 Merged copyright years with classpath.
4964 * java/io/FilePermission.java
4965 (FilePermission): Replaced @XXX with FIXME:.
4966 * java/io/FileWriter.java:
4968 * java/io/FilenameFilter.java:
4970 * java/io/FilterInputStream.java:
4972 * java/io/FilterOutputStream.java:
4974 * java/io/FilterReader.java:
4976 * java/io/FilterWriter.java:
4978 * java/io/LineNumberInputStream.java
4979 (LineNumberInputStream): Replaced @code with HTML tags to make javadoc
4981 (getLineNumber): Fixed @return tag.
4982 * java/io/ObjectInput.java:
4984 * java/io/ObjectOutput.java:
4986 * java/io/ObjectStreamClass.java:
4988 * java/io/PrintStream.java:
4989 Merged copyright years with classpath.
4990 * java/io/PushbackReader.java
4991 (PushbackReader): Replaced @code with @param.
4992 * java/io/SerializablePermission.java:
4994 * java/io/StreamTokenizer.java
4995 (resetSyntax): Fixed @see tag.
4997 2003-03-22 Richard Henderson <rth@redhat.com>
4999 * sysdep/ia64/locks.h: Include ia64intrin.h.
5000 (compare_and_swap): Use __sync_bool_compare_and_swap.
5001 (compare_and_swap_release): Expose ar.ccv assignment.
5003 2003-03-22 Andreas Tobler <a.tobler@schweiz.ch>
5005 * include/posix.h: Add suffix for darwin dynamic libraries.
5007 2003-03-21 Michael Koch <konqueror@gmx.de>
5009 * javax/swing/Action.java
5010 (ACCELERATOR_KEY): New constant.
5011 (ACTION_COMMAND_KEY): Likewise.
5012 (MNEMONIC_KEY): Likewise.
5013 * javax/swing/UnsupportedLookAndFeelException.java
5014 (UnsupportedLookAndFeelException): Must be public.
5015 * javax/swing/WindowConstants.java
5016 (EXIT_ON_CLOSE): New constant.
5017 * javax/swing/text/BadLocationException.java
5018 (offset): New member variable.
5019 (BadLocationException): New implementation, documentation added.
5020 (offsetRequested): New method.
5021 * javax/swing/text/Caret.java:
5023 * javax/swing/text/Document.java:
5026 2003-03-21 Michael Koch <konqueror@gmx.de>
5028 * java/rmi/activation/Activatable.java
5029 (serialVersionUID): New member variable.
5030 * java/rmi/activation/ActivationGroup.java
5031 (serialVersionUID): New member variable.
5032 * java/rmi/activation/ActivationGroupDesc.java
5033 (serialVersionUID): New member variable.
5034 * java/rmi/registry/Registry.java:
5036 (Registry): Deprecated.
5037 * java/rmi/server/LoaderHandler.java
5039 (LoaderHandler): Deprecated.
5040 * java/rmi/server/LogStream.java
5042 (LogStream): Deprecated.
5043 * java/rmi/server/Operation.java
5044 (Operation): Deprecated.
5045 * java/rmi/server/RMIFailureHandler.java:
5047 * java/rmi/server/RMISocketFactory.java:
5049 * java/rmi/server/RemoteCall.java
5050 (RemoteCall): Deprecated.
5051 * java/rmi/server/RemoteStub.java:
5053 * java/rmi/server/Skeleton.java
5055 (Skeleton): Deprecated.
5057 2003-03-21 Michael Koch <konqueror@gmx.de>
5059 * java/io/LineNumberReader.java
5060 (LineNumberReader): Merged documentation with classpath.
5061 (getLineNumber): Likewise.
5062 (setLineNumber): Likewise.
5066 (readLine): Likewise.
5069 2003-03-21 Michael Koch <konqueror@gmx.de>
5071 * java/rmi/RMISecurityManager.java
5072 (checkAccept): Removed.
5073 (checkAccess): Likewise.
5074 (checkAccess): Likewise.
5075 (checkAwtEventQueueAccess): Likewise.
5076 (checkConnect): Likewise.
5077 (checkCreateClassLoader): Likewise.
5078 (checkDelete): Likewise.
5079 (checkExec): Likewise.
5080 (checkExit): Likewise.
5081 (checkLink): Likewise.
5082 (checkListen): Likewise.
5083 (checkMemberAccess): Likewise.
5084 (checkMulticast): Likewise.
5085 (checkPackageAccess): Likewise.
5086 (checkPackageDefinition): Likewise.
5087 (checkPermission): Likewise.
5088 (checkPrintJobAccess): Likewise.
5089 (checkPropertiesAccess): Likewise.
5090 (checkPropertyAccess): Likewise.
5091 (checkRead): Likewise.
5092 (checkSecurityAccess): Likewise.
5093 (checkSetFactory): Likewise.
5094 (checkSystemClipboardAccess): Likewise.
5095 (checkTopLevelWindow): Likewise.
5096 (checkWrite): Likewise.
5098 2003-03-20 Michael Koch <konqueror@gmx.de>
5100 * gnu/java/nio/FileChannelImpl.java
5102 (map_address): New member variable.
5103 (length): Make it package private.
5104 (fd): Make it package private.
5105 (buf): Make it package private.
5106 (file_obj): Make it package private.
5107 (FileChannelImpl): New constructor.
5108 (nio_mmap_file): Use RawData instead of long.
5109 (nio_munmap_file): Use RawData instead of long.
5110 (nio_msync): Use RawData instead of long.
5111 (implCloseChannel): New implementation using map_address.
5114 (create_direct_mapped_buffer): Implemented, use RawData, throws
5116 (force): Use map_address instead of address.
5117 * gnu/java/nio/MappedByteFileBuffer.java
5119 (map_address): New member variable.
5120 (MappedByteFileBuffer): Use map_address instead of address, reformated.
5121 (several methods): Use map_address instead of address, replaced long
5122 with RawData where appropriate.
5123 * gnu/java/nio/natFileChannelImpl.cc
5124 (nio_mmap_file): Replaced long with RawData.
5125 (nio_munmap_file): Replaced long with RawData.
5126 (nio_msync): Replaced long with RawData.
5127 * gnu/java/nio/natMappedByteFileBuffer.cc
5128 (several methods): Replaced long with RawData where appropriate.
5130 2003-03-20 Michael Koch <konqueror@gmx.de>
5132 * java/net/InetAddress.java,
5133 java/net/JarURLConnection.java,
5134 java/net/PlainDatagramSocketImpl.java,
5135 java/net/PlainSocketImpl.java,
5136 java/net/URLConnection.java:
5137 Merged copyright statements with classpath for easier merging.
5139 2003-03-20 Michael Koch <konqueror@gmx.de>
5141 * java/io/FileInputStream.java
5142 (getChannel): New implementation.
5143 * java/io/FileOutputStream.java
5144 (ch): New member variable.
5145 (getChannel): Implemented.
5146 * java/io/RandomAccessFile.java
5147 (RandomAccessFile): Throws FileNotFoundException instead of
5149 (getChannel): New method.
5150 (ch): New member variable.
5152 2003-03-20 Michael Koch <konqueror@gmx.de>
5154 * java/io/DataOutputStream.java,
5156 java/io/FileInputStream.java,
5157 java/io/FileOutputStream.java,
5158 java/io/InputStreamReader.java,
5159 java/io/LineNumberReader.java,
5160 java/io/OutputStreamWriter.java,
5161 java/io/PrintStream.java,
5162 java/io/RandomAccessFile.java:
5163 Merged copyright statements with classpath for easier merging.
5165 2003-03-19 Michael Koch <konqueror@gmx.de>
5167 * java/lang/Process.java:
5168 Merged from classpath.
5170 2003-03-19 Michael Koch <konqueror@gmx.de>
5172 * java/io/FileOutputStream.java
5173 (FileOutputStream): New constructor, merged from classpath.
5174 * java/io/FileWriter.java
5175 (FileWriter): New constructor, merged from classpath.
5177 2003-03-18 Michael Koch <konqueror@gmx.de>
5179 * java/awt/ScrollPane.java
5180 (ScrollPane): Rewrote for new ScrollPaneAdjustable.
5181 (getViewportSize): Likewise.
5182 (addNotify): Likewise.
5183 (removeNotify): Likewise.
5184 * java/awt/ScrollPaneAdjustable.java
5185 (ScrollPaneAdjustable): No longer extends Scrollbar.
5186 * java/beans/beancontext/BeanContextServices.java:
5188 (getService): Added throws TooManyListenersException;
5189 * java/beans/beancontext/BeanContextServicesSupport.java:
5192 2003-03-18 Michael Koch <konqueror@gmx.de>
5194 * java/io/BufferedOutputStream.java,
5195 java/io/DataInput.java,
5196 java/io/DataInputStream.java,
5197 java/io/DataOutput.java,
5198 java/io/Externalizable.java:
5199 More merges from classpath.
5201 2003-03-18 Michael Koch <konqueror@gmx.de>
5203 * configure.in: Fixed links to platform dependant java.net files.
5204 * configure: Regenerated.
5205 * java/net/natInetAddress.cc,
5206 java/net/natNetworkInterface.cc,
5207 java/net/natPlainDatagramSocketImpl.cc,
5208 java/net/natPlainSocketImpl.cc:
5211 2003-03-18 Michael Koch <konqueror@gmx.de>
5213 * configure.in: Create links to architecture dependent files,
5214 introduced PLATFORMNET variable (set to NoNet for newlib usage).
5215 * configure: Regenerated.
5216 * java/net/natInetAddressNoNet.cc,
5217 java/net/natInetAddressPosix.cc,
5218 java/net/natInetAddressWin32.cc,
5219 java/net/natNetworkInterfaceNoNet.cc,
5220 java/net/natNetworkInterfacePosix.cc,
5221 java/net/natNetworkInterfaceWin32.cc,
5222 java/net/natPlainDatagramSocketImplNoNet.cc,
5223 java/net/natPlainDatagramSocketImplPosix.cc,
5224 java/net/natPlainDatagramSocketImplWin32.cc,
5225 java/net/natPlainSocketImplNoNet.cc,
5226 java/net/natPlainSocketImplPosix.cc,
5227 java/net/natPlainSocketImplWin32.cc: New files.
5229 2003-03-18 Michael Koch <konqueror@gmx.de>
5231 * java/io/BufferedReader.java,
5232 java/io/BufferedWriter.java,
5233 java/io/ByteArrayOutputStream.java,
5234 java/io/FileFilter.java,
5235 java/io/FilePermission.java,
5236 java/io/FileReader.java,
5237 java/io/FileWriter.java,
5238 java/io/FilenameFilter.java,
5239 java/io/FilterInputStream.java,
5240 java/io/FilterOutputStream.java,
5241 java/io/FilterReader.java,
5242 java/io/FilterWriter.java,
5243 java/io/ObjectInput.java,
5244 java/io/ObjectInputValidation.java,
5245 java/io/ObjectOutput.java,
5246 java/io/ObjectStreamField.java,
5247 java/io/PipedInputStream.java,
5248 java/io/PipedReader.java,
5249 java/io/PrintWriter.java,
5250 java/io/PushbackReader.java,
5251 java/io/Reader.java,
5252 java/io/SerializablePermission.java,
5253 java/io/StringReader.java,
5254 java/io/Writer.java:
5255 Merged from classpath.
5257 2003-03-17 Michael Koch <konqueror@gmx.de>
5259 * java/awt/ScrollPaneAdjustable.java:
5262 2003-03-17 Michael Koch <konqueror@gmx.de>
5264 * java/net/DatagramSocket.java
5265 (connect): Fixed comment.
5266 * java/nio/ByteBuffer.java
5267 (hasArray): Fixed comment.
5269 2003-03-17 Michael Koch <konqueror@gmx.de>
5271 * java/beans/Beans.java:
5272 Explicitely import classes not packages.
5273 * java/beans/FeatureDescriptor.java
5274 (preferred): New member variable.
5275 (isPreferred): New method.
5276 (setPreferred): New method.
5277 * java/beans/PropertyEditorManager.java:
5278 Explicitely import used classes.
5279 * java/beans/beancontext/BeanContextChild.java:
5280 Added line wrapping.
5281 * java/beans/beancontext/BeanContextChildSupport.java:
5283 * java/beans/beancontext/BeanContextEvent.java:
5286 2003-03-17 Michael Koch <konqueror@gmx.de>
5288 * java/awt/Dialog.java
5289 (Dialog): New constructor, changed implementations, added
5291 * java/awt/ScrollPaneAdjustable.java
5292 (ScrollPaneAdjustable): Extends Object, implements Adjustable and
5294 (serialVersionUID): New member variable.
5295 (sp): New member variable.
5296 (orientation): New member variable.
5297 (value): New member variable.
5298 (minimum): New member variable.
5299 (maximum): New member variable.
5300 (visibleAmount): New member variable.
5301 (unitIncrement): New member variable.
5302 (blockIncrement): New member variable.
5303 (AdjustmentListener): New member variable.
5304 (ScrollPaneAdjustable): New implementation.
5305 (addAdjustmentListener): New method.
5306 (removeAdjustmentListener): New method.
5307 (getAdjustmentListeners): New method.
5308 (getBlockIncrement): New method.
5309 (getMaximum): New method.
5310 (getMinimum): New method.
5311 (getOrientation): New method.
5312 (getUnitIncrement): New method.
5313 (getValue): New method.
5314 (getVisibleAmount): New method.
5315 (setBlockIncrement): New method.
5316 (setMaximum): Implemented.
5317 (setMinimum): Implemented.
5318 (setUnitIncrement): New method.
5319 (setValue): New method.
5320 (setVisibleAmount): Implemented.
5321 (paramString): New stubbed method.
5322 * java/awt/Window.java
5323 (show): Call setVisible().
5324 (hide): Call setVisible().
5325 (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS
5326 and WINDOW_STATE_CHANGED.
5327 (processWindowFocusEvent): New method.
5328 (processWindowStateEvent): New method.
5329 (postEvent): Deprecated.
5330 (applyResourceBundle): Deprecated.
5331 * java/awt/datatransfer/DataFlavor.java
5332 (DataFlavor): Doesn't thow ClassNotFoundException.
5334 2003-03-17 Michael Koch
5336 * javax/print/attribute/Attribute.java,
5337 javax/print/attribute/AttributeSet.java,
5338 javax/print/attribute/PrintRequestAttributeSet.java:
5341 (javax_source_files): Added new files:
5342 javax/print/attribute/Attribute.java
5343 javax/print/attribute/AttributeSet.java
5344 javax/print/attribute/PrintRequestAttributeSet.java
5345 * Makefile.in: Regenerated.
5347 2003-03-17 Michael Koch
5349 * javax/print/attribute/Attribute.java,
5350 javax/print/attribute/AttributeSet.java,
5351 javax/print/attribute/PrintRequestAttributeSet.java:
5354 (awt_java_source_files): Added new files:
5355 javax/print/attribute/Attribute.java
5356 javax/print/attribute/AttributeSet.java
5357 javax/print/attribute/PrintRequestAttributeSet.java
5358 * Makefile.in: Regenerated.
5360 2003-03-16 Tom Tromey <tromey@redhat.com>
5362 * resolve.cc (ncode): Use _Jv_platform_ffi_abi.
5364 * java/lang/natRuntime.cc (insertSystemProperties): Use
5365 _Jv_platform_path_separator.
5366 (nativeGetLibname): Use _Jv_platform_file_separator.
5367 (_load): Use _Jv_platform_onload_names.
5368 (onload_names): New global.
5369 * include/win32.h (_Jv_platform_file_separator): New define.
5370 (_Jv_platform_path_separator): Likewise.
5371 (_Jv_platform_onload_names): Likewise.
5372 (_Jv_platform_ffi_abi): Likewise.
5373 * include/posix.h (_Jv_platform_file_separator): New define.
5374 (_Jv_platform_path_separator): Likewise.
5375 (_Jv_platform_onload_names): Likewise.
5376 (_Jv_platform_ffi_abi): Likewise.
5378 2003-03-14 Hans Boehm <Hans.Boehm@hp.com>
5380 * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.
5382 2003-02-14 Jeroen Frijters <jeroen@sumatra.nl>
5384 * java/io/ObjectInputStream.java (readObject): Cleaned up the class
5386 (readFields(Object,ObjectStreamField[],boolean)): Changed argument
5387 list to Object,ObjectStreamClass, moved callReadMethod code up into
5388 readObject and added Class argument to all setXxxField calls.
5389 (callReadMethod): Changed Class argument to ObjectStreamClass to be
5390 consistent with ObjectOutputStream and to facilitate caching the
5391 Method in the future.
5392 (setBooleanField): Added Class argument.
5393 (setByteField): Likewise.
5394 (setCharField): Likewise.
5395 (setDoubleField): Likewise.
5396 (setFloatField): Likewise.
5397 (setIntField): Likewise.
5398 (setLongField): Likewise.
5399 (setShortField): Likewise.
5400 (setObjectField): Likewise.
5401 * java/io/ObjectOutputStream.java (writeObject): Cleaned up the
5402 class hierarchy loop.
5403 (defaultWriteObject): Call writeFields with new argument list.
5404 (writeFields(Object,ObjectStreamField[],boolean): Changed argument
5405 list to Object,ObjectStreamClass, moved callWriteMethod up into
5406 writeObject and added Class argument to all getXxxField calls.
5407 (callWriteMethod): Added ObjectStreamClass argument to be able to
5408 get the proper class to call getMethod on (each class can have (or
5409 not have) its own writeObject method).
5410 (getBooleanField): Added Class argument.
5411 (getByteField): Likewise.
5412 (getCharField): Likewise.
5413 (getDoubleField): Likewise.
5414 (getFloatField): Likewise.
5415 (getIntField): Likewise.
5416 (getLongField): Likewise.
5417 (getShortField): Likewise.
5418 (getObjectField): Likewise.
5419 * java/io/ObjectStreamClass.java (hasReadMethod): Added method to
5420 facilitate caching the Method object in the future.
5422 2003-03-12 Andreas Schwab <schwab@suse.de>
5424 * configure.in: Avoid trailing /. in toolexeclibdir.
5425 * configure: Rebuilt.
5427 2003-03-11 Michael Koch <konqueror@gmx.de>
5429 * gnu/java/nio/ByteBufferImpl.java
5430 (putInt): Use limit() instead of limit.
5431 * gnu/java/nio/CharBufferImpl.java
5432 (slice): Fixed implementation.
5433 (subSequence): Better bounds checking.
5434 * gnu/java/nio/MappedByteFileBuffer.java:
5435 Import all needed classes directly.
5436 * java/nio/ByteBuffer.java
5437 (hashCode): New dummy method.
5438 * java/nio/CharBuffer.java
5439 (array_offset): New member variable.
5440 (hasArray): Fixed documentation.
5441 (arrayOffset): Return array_offset.
5443 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>
5445 * include/jvm.h: removed declaration of _Jv_ThisExecutable()
5446 setter; made return value of getter const char* instead of char*
5447 * prims.cc: removed all references to _Jv_ThisExecutable().
5448 These are in the platform-specific sections now.
5449 * posix.cc: define platform-specific _Jv_ThisExecutable().
5450 Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases
5451 * win32.cc: define platform-specific _Jv_ThisExecutable()
5452 using GetModuleFilename()
5453 * java/lang/natRuntime.cc: set gnu.gcj.progname property
5454 to argv[0] instead of _Jv_ThisExecutable()
5456 2003-03-10 Ranjit Mathew <rmathew@hotmail.com>
5458 * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag
5459 that is set if we are using addr2name.awk instead of addr2line.
5460 (NameFinder): Set usingAddr2name if using addr2name.awk.
5461 (getExternalLabel): New native method to convert a method
5462 name to an external label.
5463 (lookup): Convert name given by addr2line to an external label
5466 * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string
5467 constant representing the prefix attached to method names to
5468 convert them to an external label.
5469 (gnu::gcj::runtime::NameFinder::getExternalLabel): Define
5472 2003-03-10 Tom Tromey <tromey@redhat.com>
5474 * Makefile.in: Rebuilt.
5475 * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
5476 (JC1FLAGS): Removed -Wno-deprecated.
5478 2003-03-10 Michael Koch <konqueror@gmx.de>
5480 * java/nio/ByteOrder.java
5481 (nativeOrder): Working implementation, added documentation.
5482 (toString): Added documentation.
5484 2003-03-10 Michael Koch <konqueror@gmx.de>
5486 * java/net/DatagramSocket.java,
5487 java/net/MulticastSocket.java,
5488 java/net/Socket.java,
5490 java/net/URLConnection.java:
5491 Fixed some documentation tags to make javadoc and friends happy.
5493 2003-03-10 Michael Koch <koqnueror@gmx.de>
5495 * java/beans/beancontext/BeanContextServicesSupport.java,
5496 java/beans/beancontext/BeanContextSupport.java: New files.
5498 (awt_source_files): Added new files.
5499 * Makefile.in: Regenerated.
5501 2003-03-10 Michael Koch <konqueror@gmx.de>
5503 * java/awt/FocusTraversalPolicy.java
5504 (FocusTraversalPolicy): Documentation added.
5505 (getComponentAfter): Documentation added.
5506 (getComponentBefore): Documentation added.
5507 (getFirstComponent): Documentation added.
5508 (getLastComponent): Documentation added.
5509 (getDefaultComponent): Documentation added.
5510 (getInitialComponent): Documentation added.
5511 * java/awt/ScrollPaneAdjustable.java
5512 (sp): New member variable.
5513 (orientation): New member variable.
5514 (value): New member variable.
5515 (minimum): New member variable.
5516 (maximum): New member variable.
5517 (visibleAmount): New member variable.
5518 (unitIncrement): New member variable.
5519 (blockIncrement): New member variable.
5520 (adjustmentListener): New member variable.
5521 (ScrollPaneAdjustable): Rewrote.
5522 (addAdjustmentListener): New method.
5523 (removeAdjustmentListener): New method.
5524 (getAdjustmentListeners): New method.
5525 (getBlockIncrement): New method.
5526 (getMaximum): New method.
5527 (getMinimum): New method.
5528 (getOrientation): New method.
5529 (getUnitIncrement): New method.
5530 (getValue): New method.
5531 (getVisibleAmount): New method.
5532 (setBlockIncrement): New method.
5533 (setUnitIncrement): New method.
5534 (setMaximum): Implemented.
5535 (setMinimum): Implemented.
5536 (setValue): New method.
5537 (setVisibleAmount): Implemented.
5538 (paramString): New method.
5539 * java/awt/Window.java
5540 (show): Use setVisible(true) instead of super.show().
5541 (hide): Use sevVisible(false) instead of super.hide().
5542 (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS,
5543 WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED.
5544 (postEvent): Deprecated.
5545 (applyResourceBundle): Deprecated.
5546 (processWindowFocusEvent): New method.
5547 (processWindowStateEvent): New method.
5548 * java/awt/datatransfer/DataFlavor.java: Reindented.
5549 * java/awt/font/TextHitInfo.java
5550 (charIndex): New member variable.
5551 (leadingEdge): New member variable.
5552 (TextHitInfo): New constructor.
5553 (getCharIndex): Implemented.
5554 (isLeadingEdge): Implemented.
5555 (getInsertionIndex): Implemented.
5556 (hashCode): Access charIndex directly.
5557 (equals): Reformated.
5558 (leading): Implemented.
5559 (trailing): Implemented.
5560 (beforeOffset): Implemented.
5561 (afterOffset): Implemented.
5562 (getOtherHit): Implemented.
5563 (getOffsetHit): Implemented.
5564 (toString): Implemented.
5565 * java/awt/image/BufferedImage.java
5566 (BufferedImage): Implements WritableRenderedImage.
5567 (observers): New member variable.
5568 (addTileObserver): New method.
5569 (removeTileObserver): New method.
5571 2003-03-09 Tom Tromey <tromey@redhat.com>
5574 * java/io/natFileDescriptorPosix.cc (available): Fixed arguments
5575 to lseek. Return 0 if we can't compute the value.
5577 2003-03-03 Michael Koch <konqueror@gmx.de>
5579 * java/net/NetworkInterface.java: Merged with classpath.
5581 2003-03-03 Tom Tromey <tromey@redhat.com>
5583 * verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end
5585 (handle_ret_insn): Fail if returning to jsr that appears at end of
5588 2003-03-03 Michael Koch <konqueror@gmx.de>
5591 (ordinary_java_source_files):
5592 Added gnu/java/nio/MappedByteFileBuffer.java.
5594 Added gnu/java/nio/natMappedByteFileBuffer.cc.
5595 * Makefile.in: Regenerated.
5597 2003-03-03 Michael Koch <konqueror@gmx.de>
5599 * java/net/DatagramSocket.java
5600 (connect): Merged comment from classpath.
5601 (receive): Merged documentation from classpath.
5602 * java/net/Socket.java
5603 (setSoTimeout): Clarified documentation.
5605 (getPath): Merged from classpath.
5606 (getUserInfo): Merged from classpath.
5607 (getQuery): Merged from classpath.
5608 * java/net/URLStreamHandler.java
5609 (toExternalForm): Merged from classpath.
5611 2003-03-02 Mark Wielaard <mark@klomp.org>
5613 * java/util/Properties.java (load): Only skip line if the first
5614 character is a comment, whitespaces don't count.
5616 2003-03-02 Michael Koch <konqueror@gmx.de>
5618 * java/net/NetPermission.java:
5619 Merged copyright with classpath.
5621 2003-03-02 Michael Koch <konqueror@gmx.de>
5623 * java/lang/Package.java:
5624 Remerged from classpath.
5626 2003-03-02 Michael Koch <konqueror@gmx.de>
5628 * java/net/HttpURLConnection.java
5629 (HTTP_SERVER_ERROR): Deprecated.
5630 * java/net/MulticastSocket.java
5631 (send): Replaced checkMulticast with appropriate checkPermission call,
5633 * java/net/URLDecoder.java
5634 (decode): Deprecated.
5635 * java/net/URLEncoder.java
5636 (encode): Deprecated.
5638 2003-03-02 Michael Koch <konqueror@gmx.de>
5640 * javax/swing/text/Caret.java
5641 (getMagicCaretPosition): Fixed typo in method name.
5642 * javax/swing/text/DefaultCaret.java
5643 (getMagicCaretPosition): Fixed typo in method name.
5645 2003-03-02 Michael Koch <konqueror@gmx.de>
5647 * java/awt/List.java
5648 (setMultipleSelections): Deprecated.
5649 (delItem): Deprecated.
5650 * java/awt/MenuComponent.java
5651 (getPeer): Deprecated.
5652 * java/awt/ScrollPane.java
5653 (addNotify): getPeer() is deprecated. Use isDisplayable() instead.
5654 * java/awt/dnd/MouseDragGestureRecognizer.java
5655 (mouseClicked): Added comment.
5656 (mousePressed): Added comment.
5657 (mouseReleased): Added comment.
5658 (mouseEntered): Added comment.
5659 (mouseExited): Added comment.
5660 (mouseDragged): Added comment.
5661 (mouseMoved): Added comment.
5662 * java/awt/event/KeyEvent.java
5663 (KeyEvent): Deprecated.
5664 (setModifiers): Deprecated.
5666 2003-03-02 Michael Koch <konqueror@gmx.de>
5668 * gnu/java/nio/FileChannelImpl.java
5669 (fd): Type FileDescriptor instead of int.
5670 (lengthInternal): Removed.
5671 (FileChannelImpl): Fixed arguments, check type of file object.
5672 (size): Made it native.
5673 (implPosition): New native method.
5674 (implTruncate): New native method.
5675 (position): Implemented.
5676 (truncate): Implemented.
5677 (nio_mmap_file): Changed arguments.
5678 (nio_munmap_file): Changed arguments.
5679 (nio_msync): Changed arguments.
5680 * gnu/java/nio/natFileChannelImpl.cc
5681 (lengthInternal): Removed.
5683 (implPosition): New method.
5684 (implTruncate): New method.
5685 (nio_mmap_file): Changed arguments.
5686 (nio_munmap_file): Changed arguments.
5687 (nio_msync): Changed arguments.
5689 2003-03-02 Michael Koch <konqueror@gmx.de>
5691 * java/awt/dnd/DropTargetContext.java:
5692 Compile fix: Forgot to commit import.
5694 2003-03-02 Michael Koch <konqueror@gmx.de>
5696 * java/awt/Component.java,
5697 java/awt/ScrollPane.java:
5700 2003-03-02 Michael Koch <konqueror@gmx.de>
5702 * java/awt/dnd/DnDEventMulticaster.java: New file.
5703 * java/awt/dnd/DragSource.java
5704 (flavorMap): New member variable.
5705 (dragSourceListener): New member variable.
5706 (dragSourceMotionListener): New member variable.
5707 (getFlavorMap): Implemented.
5708 (createDragGestureRecognizer): Implemented.
5709 (addDragSourceListener): Implemented.
5710 (removeDragSourceListener): Implemented.
5711 (getDragSourceListeners): Implemented.
5712 (addDragSourceMotionListener): Implemented.
5713 (removeDragSourceMotionListener): Implemented.
5714 (getDragSourceMotionListeners): Implemented.
5715 (getListeners): Implemented.
5716 * java/awt/dnd/DragSourceContext.java
5717 (peer): New member variable.
5718 (cursor): New member variable.
5719 (transferable): New member variable.
5720 (trigger): New member variable.
5721 (dragSourceListener): New member variable.
5722 (image): New member variable.
5723 (offset): New member variable.
5724 (DragSourceContext): Implemented.
5725 (getDragSource): Implemented.
5726 (getComponent): Implemented.
5727 (getTrigger): Implemented.
5728 (getSourceActions): Implemented.
5729 (setCursor): Implemented.
5730 (getCursor): Implemented.
5731 (addDragSourceListener): Implemented.
5732 (removeDragSourceListener): Implemented.
5733 (getTransferable): Implemented.
5734 * java/awt/dnd/DropTarget.java
5735 (DropTargetAutoScroller.component): New member variable.
5736 (DropTargetAutoScroller.point): New member variable.
5737 (DropTargetAutoScroller.DropTargetAutoScroller): Implemented.
5738 (DropTargetAutoScroller.updateLocation): Implemented.
5739 (active): Renamed from isActive, defaults to true now.
5740 (component): New member variable.
5741 (flavorMap): New member variable.
5742 (actions): New member variable.
5743 (dropTargetContext): New member variable.
5744 (dropTargetListener): New member variable.
5745 (DropTarget): Implemented.
5746 (getComponent): Implemented.
5747 (setComponent): Implemented.
5748 (setDefaultActions): Implemented.
5749 (getDefaultActions): Implemented.
5750 (setActive): Use active instead of isActive.
5751 (isActive): Use active instead of isActive.
5752 (addDropTargetListener): Implemented.
5753 (removeDropTargetListener): Implemented.
5754 (getFlavorMap): Implemented.
5755 (setFlavorMap): Implemented.
5756 (getDropTargetContext): Implemented.
5757 (createDropTargetContext): Implemented.
5758 (createDropTargetAutoScroller): Implemented.
5759 * java/awt/dnd/DropTargetContext.java
5760 (TransferableProxy.getTransferDataFlavors): Implemented.
5761 (TransferableProxy.isDataFlavorSupported): Implemented.
5762 (TransferableProxy.getTransferData): Implemented.
5763 (dropTarget): New member variable.
5764 (dtcp): New member variable.
5765 (DropTargetContext): New package private constructor.
5766 (getDropTarget): Implemented.
5767 (getComponent): Implemented.
5768 (addNotify): Implemented.
5769 (removeNotify): Implemented.
5770 (getCurrentDataFlavorsAsList): Implemented.
5771 (isDataFlavorSupported): Implemented.
5772 * java/awt/dnd/MouseDragGestureRecognizer.java
5773 (registerListeners): Implemented.
5774 (unregisterListeners): Implemented.
5776 (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java.
5777 * Makefile.in: Regenerated.
5779 2003-03-02 Michael Koch <konqueror@gmx.de>
5781 * java/awt/Component.java
5782 (eventTypeEnabled): New method.
5783 (dispatchEventImpl): Moved checks for event to eventTypeEnabled.
5784 * java/awt/Container.java
5785 (changeSupport): New member variable.
5786 (addPropertyChangeListener): New methods.
5787 * java/awt/ContainerOrderFocusTraversalPolicy.java
5788 (ContainerOrderFocusTraversalPolicy): Added comment.
5789 (getComponentAfter): Throw exception, documentation added.
5790 (getComponentBefore): Throw exception, documentation added.
5791 (getFirstComponent): Throw exception, documentation added.
5792 (getLastComponent): Throw exception, documentation added.
5793 (getDefaultComponent): Throw exception, documentation added.
5794 * java/awt/EventQueue.java: Reindented.
5795 * java/awt/FocusTraversalPolicy.java:
5796 (FocusTraversalPolicy): Added comment.
5797 (getComponentAfter): Documentation added.
5798 (getComponentBefore): Documentation added.
5799 (getFirstComponent): Documentation added.
5800 (getLastComponent): Documentation added.
5801 (getDefaultComponent): Documentation added.
5802 (getInitialComponent): Documentation added.
5803 * java/awt/ScrollPane.java
5804 (wheelScrollingEnabled): New member variable.
5805 (ScrollPane): Initialize wheelScollingEnabled.
5806 (eventTypeEnabled): New method.
5807 (isWheelScrollingEnabled): New method.
5808 (setWheelScrollingEnabled): New method.
5810 2003-03-02 Michael Koch <konqueror@gmx.de>
5812 * java/net/DatagramSocket.java
5813 (closed): New member variable.
5814 (close): Use closed variable.
5815 (getInetAddress): No need to call isConnected().
5816 (getPort): No need to call isConnected().
5817 (disconnect): Reset remoteAddress and remotePort, fixed typo.
5818 (isClosed): Reimplemented.
5820 2003-03-02 Michael Koch <konqueror@gmx.de>
5822 * configure.in: Added check for memory mapping of files.
5823 * configure: Regenerated.
5824 * config.h.in: Regenerated.
5826 2003-03-01 Jason Thorpe <thorpej@wasabisystems.com>
5828 * posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.
5829 (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING.
5831 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
5833 * java/io/File.java (normalizePath): Remove trailing separator
5834 on Windows only if path is not of the form "x:\".
5836 * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant.
5837 (java::io::File::attr): Change formatting a bit and use
5838 WIN32_EPOCH_MILLIS instead of magic numbers.
5839 (java::io::File::isAbsolute): Path must have at least 3
5840 characters for a UNC network path.
5841 (java::io::File::init_native): Define.
5842 (java::io::File::performCreate): Likewise.
5843 (java::io::File::performSetReadOnly): Likewise.
5844 (java::io::File::performSetLastModified): Likewise.
5845 (java::io::File::performListRoots): Likewise.
5847 2003-03-01 Tom Tromey <tromey@redhat.com>
5849 * java/lang/natObject.cc: Don't include assert.h.
5850 (heavy_lock_obj_finalization_proc): Use JvAssert.
5851 (remove_all_heavy): Likewise.
5852 (_Jv_MonitorEnter): Likewise.
5853 (_Jv_MonitorExit): Likewise.
5856 2003-03-01 Ranjit Mathew <rmathew@hotmail.com>
5858 * java/io/File (getAbsolutePath): Prefix drive specifier on
5859 Windows for paths starting with a '\'.
5860 (toURL): Make URL more consistent with what Sun's JDK returns.
5862 * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return
5863 true only if the path is a UNC network path or it starts with a
5866 * java/net/URLStreamHandler.java (parseURL): Correct minor typo.
5867 Be prepared to handle either '/' or '\\' in the file path for
5868 Windows if using the "file" protocol.
5869 Canonicalise the file path if using a relative path in the given
5870 context and the "file" protocol.
5872 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>
5874 * java/lang/natWin32Process.cc (startProcess): Double-quote each
5875 program array element passed to CreateProcess.
5877 2003-03-01 Tom Tromey <tromey@redhat.com>
5879 * java/rmi/registry/RegistryHandler.java: Deprecate.
5881 2003-03-01 Tom Tromey <tromey@redhat.com>
5883 * javax/accessibility/AccessibleEditableText.java,
5884 javax/accessibility/AccessibleHyperlink.java: New versions from
5887 * gnu/java/locale/LocaleInformation_af_ZA.java,
5888 gnu/java/locale/LocaleInformation_ar_AE.java,
5889 gnu/java/locale/LocaleInformation_ar_BH.java,
5890 gnu/java/locale/LocaleInformation_ar_DZ.java,
5891 gnu/java/locale/LocaleInformation_ar_EG.java,
5892 gnu/java/locale/LocaleInformation_ar_IN.java,
5893 gnu/java/locale/LocaleInformation_ar_IQ.java,
5894 gnu/java/locale/LocaleInformation_ar_JO.java,
5895 gnu/java/locale/LocaleInformation_ar_KW.java,
5896 gnu/java/locale/LocaleInformation_ar_LB.java,
5897 gnu/java/locale/LocaleInformation_ar_LY.java,
5898 gnu/java/locale/LocaleInformation_ar_MA.java,
5899 gnu/java/locale/LocaleInformation_ar_OM.java,
5900 gnu/java/locale/LocaleInformation_ar_QA.java,
5901 gnu/java/locale/LocaleInformation_ar_SD.java,
5902 gnu/java/locale/LocaleInformation_ar_SY.java,
5903 gnu/java/locale/LocaleInformation_ar_TN.java,
5904 gnu/java/locale/LocaleInformation_ar_YE.java,
5905 gnu/java/locale/LocaleInformation_be_BY.java,
5906 gnu/java/locale/LocaleInformation_bn_IN.java,
5907 gnu/java/locale/LocaleInformation_br_FR.java,
5908 gnu/java/locale/LocaleInformation_bs_BA.java,
5909 gnu/java/locale/LocaleInformation_ca_ES.java,
5910 gnu/java/locale/LocaleInformation_cs_CZ.java,
5911 gnu/java/locale/LocaleInformation_cy_GB.java,
5912 gnu/java/locale/LocaleInformation_da_DK.java,
5913 gnu/java/locale/LocaleInformation_de_AT.java,
5914 gnu/java/locale/LocaleInformation_de_BE.java,
5915 gnu/java/locale/LocaleInformation_de_CH.java,
5916 gnu/java/locale/LocaleInformation_de_DE.java,
5917 gnu/java/locale/LocaleInformation_de_LU.java,
5918 gnu/java/locale/LocaleInformation_el_GR.java,
5919 gnu/java/locale/LocaleInformation_en_AU.java,
5920 gnu/java/locale/LocaleInformation_en_BW.java,
5921 gnu/java/locale/LocaleInformation_en_CA.java,
5922 gnu/java/locale/LocaleInformation_en_DK.java,
5923 gnu/java/locale/LocaleInformation_en_GB.java,
5924 gnu/java/locale/LocaleInformation_en_HK.java,
5925 gnu/java/locale/LocaleInformation_en_IE.java,
5926 gnu/java/locale/LocaleInformation_en_IN.java,
5927 gnu/java/locale/LocaleInformation_en_NZ.java,
5928 gnu/java/locale/LocaleInformation_en_PH.java,
5929 gnu/java/locale/LocaleInformation_en_SG.java,
5930 gnu/java/locale/LocaleInformation_en_US.java,
5931 gnu/java/locale/LocaleInformation_en_ZA.java,
5932 gnu/java/locale/LocaleInformation_en_ZW.java,
5933 gnu/java/locale/LocaleInformation_es_AR.java,
5934 gnu/java/locale/LocaleInformation_es_BO.java,
5935 gnu/java/locale/LocaleInformation_es_CL.java,
5936 gnu/java/locale/LocaleInformation_es_CO.java,
5937 gnu/java/locale/LocaleInformation_es_CR.java,
5938 gnu/java/locale/LocaleInformation_es_DO.java,
5939 gnu/java/locale/LocaleInformation_es_EC.java,
5940 gnu/java/locale/LocaleInformation_es_ES.java,
5941 gnu/java/locale/LocaleInformation_es_GT.java,
5942 gnu/java/locale/LocaleInformation_es_HN.java,
5943 gnu/java/locale/LocaleInformation_es_MX.java,
5944 gnu/java/locale/LocaleInformation_es_NI.java,
5945 gnu/java/locale/LocaleInformation_es_PA.java,
5946 gnu/java/locale/LocaleInformation_es_PE.java,
5947 gnu/java/locale/LocaleInformation_es_PR.java,
5948 gnu/java/locale/LocaleInformation_es_PY.java,
5949 gnu/java/locale/LocaleInformation_es_SV.java,
5950 gnu/java/locale/LocaleInformation_es_US.java,
5951 gnu/java/locale/LocaleInformation_es_UY.java,
5952 gnu/java/locale/LocaleInformation_es_VE.java,
5953 gnu/java/locale/LocaleInformation_et_EE.java,
5954 gnu/java/locale/LocaleInformation_eu_ES.java,
5955 gnu/java/locale/LocaleInformation_fa_IR.java,
5956 gnu/java/locale/LocaleInformation_fi_FI.java,
5957 gnu/java/locale/LocaleInformation_fo_FO.java,
5958 gnu/java/locale/LocaleInformation_fr_BE.java,
5959 gnu/java/locale/LocaleInformation_fr_CA.java,
5960 gnu/java/locale/LocaleInformation_fr_CH.java,
5961 gnu/java/locale/LocaleInformation_fr_FR.java,
5962 gnu/java/locale/LocaleInformation_fr_LU.java,
5963 gnu/java/locale/LocaleInformation_ga_IE.java,
5964 gnu/java/locale/LocaleInformation_gd_GB.java,
5965 gnu/java/locale/LocaleInformation_gl_ES.java,
5966 gnu/java/locale/LocaleInformation_gv_GB.java,
5967 gnu/java/locale/LocaleInformation_he_IL.java,
5968 gnu/java/locale/LocaleInformation_hi_IN.java,
5969 gnu/java/locale/LocaleInformation_hr_HR.java,
5970 gnu/java/locale/LocaleInformation_hu_HU.java,
5971 gnu/java/locale/LocaleInformation_id_ID.java,
5972 gnu/java/locale/LocaleInformation_it_CH.java,
5973 gnu/java/locale/LocaleInformation_it_IT.java,
5974 gnu/java/locale/LocaleInformation_iw_IL.java,
5975 gnu/java/locale/LocaleInformation_ja_JP.java,
5976 gnu/java/locale/LocaleInformation_ka_GE.java,
5977 gnu/java/locale/LocaleInformation_kl_GL.java,
5978 gnu/java/locale/LocaleInformation_ko_KR.java,
5979 gnu/java/locale/LocaleInformation_kw_GB.java,
5980 gnu/java/locale/LocaleInformation_lt_LT.java,
5981 gnu/java/locale/LocaleInformation_lv_LV.java,
5982 gnu/java/locale/LocaleInformation_mi_NZ.java,
5983 gnu/java/locale/LocaleInformation_mk_MK.java,
5984 gnu/java/locale/LocaleInformation_mr_IN.java,
5985 gnu/java/locale/LocaleInformation_mt_MT.java,
5986 gnu/java/locale/LocaleInformation_nl_BE.java,
5987 gnu/java/locale/LocaleInformation_nl_NL.java,
5988 gnu/java/locale/LocaleInformation_nn_NO.java,
5989 gnu/java/locale/LocaleInformation_no_NO.java,
5990 gnu/java/locale/LocaleInformation_oc_FR.java,
5991 gnu/java/locale/LocaleInformation_pl_PL.java,
5992 gnu/java/locale/LocaleInformation_pt_BR.java,
5993 gnu/java/locale/LocaleInformation_pt_PT.java,
5994 gnu/java/locale/LocaleInformation_ro_RO.java,
5995 gnu/java/locale/LocaleInformation_ru_RU.java,
5996 gnu/java/locale/LocaleInformation_ru_UA.java,
5997 gnu/java/locale/LocaleInformation_se_NO.java,
5998 gnu/java/locale/LocaleInformation_sk_SK.java,
5999 gnu/java/locale/LocaleInformation_sl_SI.java,
6000 gnu/java/locale/LocaleInformation_sq_AL.java,
6001 gnu/java/locale/LocaleInformation_sr_YU.java,
6002 gnu/java/locale/LocaleInformation_sv_FI.java,
6003 gnu/java/locale/LocaleInformation_sv_SE.java,
6004 gnu/java/locale/LocaleInformation_ta_IN.java,
6005 gnu/java/locale/LocaleInformation_te_IN.java,
6006 gnu/java/locale/LocaleInformation_tg_TJ.java,
6007 gnu/java/locale/LocaleInformation_tl_PH.java,
6008 gnu/java/locale/LocaleInformation_tr_TR.java,
6009 gnu/java/locale/LocaleInformation_uk_UA.java,
6010 gnu/java/locale/LocaleInformation_ur_PK.java,
6011 gnu/java/locale/LocaleInformation_uz_UZ.java,
6012 gnu/java/locale/LocaleInformation_vi_VN.java,
6013 gnu/java/locale/LocaleInformation_yi_US.java,
6014 gnu/java/locale/LocaleInformation_zh_CN.java,
6015 gnu/java/locale/LocaleInformation_zh_HK.java,
6016 gnu/java/locale/LocaleInformation_zh_SG.java,
6017 gnu/java/locale/LocaleInformation_zh_TW.java: Updated copyright
6018 info; from Classpath.
6020 * gnu/awt/xlib/XPanelPeer.java (beginLayout, endLayout,
6021 isPaintPending): New methods.
6022 * gnu/awt/xlib/XFramePeer.java (getState, setState,
6023 setMaximizedBounds): New methods.
6024 (beginLayout, endLayout, isPaintPending): Likewise.
6025 * gnu/awt/xlib/XCanvasPeer.java (isFocusable): New method.
6026 (requestFocus): Likewise.
6027 (isObscured): Likewise.
6028 (canDetermineObscurity): Likewise.
6029 (coalescePaintEvent): Likewise.
6030 (updateCursorImmediately): Likewise.
6031 (createVolatileImage): Likewise.
6032 (handlesWheelScrolling): Likewise.
6033 (createBuffers): Likewise.
6034 (getBackBuffer): Likewise.
6036 (destroyBuffers): Likewise.
6038 * Makefile.in: Rebuilt.
6039 * Makefile.am (awt_java_source_files): Added DropTargetPeer.java,
6041 * gnu/java/awt/GLightweightPeer.java,
6042 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
6043 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6044 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
6045 gnu/java/awt/peer/gtk/GtkFramePeer.java,
6046 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
6047 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
6048 java/awt/dnd/peer/DragSourceContextPeer.java,
6049 java/awt/dnd/peer/DropTargetContextPeer.java,
6050 java/awt/peer/ButtonPeer.java,
6051 java/awt/peer/CheckboxMenuItemPeer.java,
6052 java/awt/peer/CheckboxPeer.java, java/awt/peer/ChoicePeer.java,
6053 java/awt/peer/ComponentPeer.java,
6054 java/awt/peer/ContainerPeer.java, java/awt/peer/DialogPeer.java,
6055 java/awt/peer/FileDialogPeer.java, java/awt/peer/FramePeer.java,
6056 java/awt/peer/LabelPeer.java, java/awt/peer/ListPeer.java,
6057 java/awt/peer/MenuBarPeer.java,
6058 java/awt/peer/MenuComponentPeer.java,
6059 java/awt/peer/MenuItemPeer.java, java/awt/peer/MenuPeer.java,
6060 java/awt/peer/PopupMenuPeer.java,
6061 java/awt/peer/ScrollPanePeer.java,
6062 java/awt/peer/ScrollbarPeer.java, java/awt/peer/TextAreaPeer.java,
6063 java/awt/peer/TextComponentPeer.java,
6064 java/awt/peer/TextFieldPeer.java, java/awt/peer/WindowPeer.java:
6065 New versions from Classpath.
6066 * java/awt/dnd/peer/DropTargetPeer.java: New file from Classpath.
6067 * java/awt/peer/RobotPeer.java: Likewise.
6069 2003-03-01 Mark Wielaard <mark@klomp.org>
6071 * java/io/ObjectInputStream.java: Reindent.
6072 * java/io/ObjectOutputStream.java: Likewise.
6074 2003-02-28 Hans Boehm <Hans.Boehm@hp.com>
6076 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a full
6077 jvalue for each argument. Simplify.
6078 * testsuite/libjava.jni/calls.c (docall),
6079 testsuite/libjava.jni/calls.java (longpb_f): check for argument
6082 2003-02-28 Mark Wielaard <mark@klomp.org>
6084 * Makefile.am (nat_source_files): Remove
6085 java/io/natObjectOutputStream.cc.
6086 * Makefile.in: Regenerated.
6087 * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
6088 * java/io/ObjectStreamField.java (typename): New field.
6089 (ObjectStreamField(String, Class)): Initialize new field.
6090 (ObjectStreamField(String, String)): New Constructor.
6091 (getTypeCode): Use new field.
6092 (getTypeString): Use new field.
6093 * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
6094 ObjectStreamExceptions. Remember and reset old BlockDataMode.
6095 Handle reading of Proxy classes. Never drain(), just write
6096 TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
6097 (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
6098 (flush): Call flush(), not just drain().
6099 (writeBoolean): Always use blockDataOutput.
6100 (writeByte): Likewise.
6101 (writeShort): Likewise.
6102 (writeChar): Likewise.
6103 (writeInt): Likewise.
6104 (writeLong): Likewise.
6105 (writeFloat): Likewise.
6106 (writeDouble): Likewise.
6107 (writeBytes): Likewise.
6108 (putfield (put(String,Object))): Throw IllegalArgumentException if
6109 field cannot be found.
6110 (putfield (write(ObjectOutput))): Remember old BlockDataMode.
6111 (writeArraySizeAndElements): Write byte[] in one go.
6112 (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
6113 set BlockDataMode to false.
6114 (annotateProxyClass): New method.
6115 (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
6116 (getField): No longer native.
6117 (getMethod): Likewise.
6118 (setBlockDataMode): Always drain() on switch, return old mode.
6119 (static): New static code block.
6120 * java/io/natObjectOutputStream.cc: Removed.
6121 * java/io/ObjectInputStream.java (getField): No longer native.
6122 (getMethod): Likewise.
6123 (readObject): Remember and reset old BlockDataMode. Track whether
6124 object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
6126 (defaultReadObject): Set BlockDataMode to false during readFields.
6127 (resolveClass): Create new SecurityManager if necessary.
6128 Use Class.forName() if null ClassLoader found.
6129 (read(byte[],int,int): Copy remaining bytes to data before calling
6131 (readFields): Set and reset BlockDataMode on call_read_method.
6132 Catch NoSuchFieldErrors.
6133 (setBlockDataMode): Return old mode.
6134 (static): New static code block.
6135 * java/io/natObjectInputStream.cc (getField): Removed.
6136 (getMethod): Likewise.
6138 2003-02-27 Michael Koch <konqueror@gmx.de>
6140 * java/beans/Beans.java,
6141 java/beans/FeatureDescriptor.java
6142 java/beans/PropertyEditorManager.java:
6143 Reformated to GNU style.
6145 2003-02-25 Michael Koch <konqueror@gmx.de>
6147 * gnu/java/nio/MappedByteFileBuffer.java,
6148 gnu/java/nio/natMappedByteFileBuffer.cc:
6149 New files, both are not compiled yet to get not noncompiling CVS.
6151 2003-02-24 Tom Tromey <tromey@redhat.com>
6153 * java/util/prefs/AbstractPreferences.java (isUserNode):
6156 2003-02-24 Tom Tromey <tromey@redhat.com>
6158 * java/lang/ClassLoader.java (defineClass(byte[],int,int)):
6160 * java/lang/Thread.java (resume): Deprecate.
6161 * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
6164 2003-02-23 Tom Tromey <tromey@redhat.com>
6166 * Makefile.in: Rebuilt.
6167 * Makefile.am (JC1FLAGS): Added -Wno-deprecated.
6169 2003-02-23 Tom Tromey <tromey@redhat.com>
6171 * java/lang/natRuntime.cc (libraries_size, libraries_count,
6172 libraries): Removed.
6173 (add_library): Removed.
6174 (_load): Don't call add_library.
6175 (loadLibraryInternal): Likewise.
6177 (lookup_data): New struct.
6178 (find_symbol): New function.
6179 (_Jv_FindSymbolInExecutable): Use it.
6181 2002-02-21 Anthony Green <green@redhat.com>
6183 * java/lang/Thread.java (Thread): New constructor taking stack
6184 size parameter (ignored for now).
6185 * Many methods: Merged GNU Classpath documentation.
6187 * java/lang/Class.java (finalize): throws a Throwable.
6189 2003-02-21 Mark Wielaard <mark@klomp.org>
6191 * java/util/zip/ZipEntry.java (setComment): Don't check length when
6194 2003-02-21 Mark Wielaard <mark@klomp.org>
6196 * java/util/zip/ZipEntry.java (ZipEntry(String)): When name is bigger
6197 then 65535 chars throw IllegalArgumentException.
6199 2003-02-21 Mark Wielaard <mark@klomp.org>
6201 * java/util/zip/ZipFile.java (finalize): New method.
6203 2003-02-21 Michael Koch <konqueror@gmx.de>
6205 * gnu/java/nio/natSocketChannelImpl.cc:
6206 Reverse logic for DISABLE_JAVA_NET. Thanks to Krister Walfridsson
6207 <cato@df.lth.se> for pointing to it.
6209 2003-02-20 Raif S. Naffah <raif@fl.net.au>
6211 * java/math/BigInteger.java (euclidInv): Take result array as an
6212 argument. Updated all callers.
6213 (modInverse): Removed unused variables.
6215 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
6217 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
6219 * configure: Rebuilt.
6221 2003-02-19 Michael Koch <konqueror@gmx.de>
6223 * gnu/java/nio/natSocketChannelImpl.cc:
6224 Added support for platforms without network support.
6226 2003-02-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6228 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediately
6229 after config.h. Use <> for consistency.
6230 * java/lang/natObject.cc: Likewise.
6231 * java/lang/natRuntime.cc: Likewise.
6232 * java/lang/natSystem.cc: Likewise.
6233 * java/util/natTimeZone.cc: Likewise.
6234 * win32.cc: Likewise.
6235 * include/posix.h (fcntl, socket, connect, close, bind, accept,
6236 listen, write, read): Undef to avoid interference from OS macros.
6238 2003-02-19 Michael Koch <konqueror@gmx.de>
6240 * gnu/java/nio/ByteBufferImpl.java
6241 (ByteBufferImpl): Renamed two variables.
6242 * gnu/java/nio/CharBufferImpl.java
6243 (CharBufferImpl): Renamed two variables.
6244 * gnu/java/nio/DoubleBufferImpl.java
6245 (DoubleBufferImpl): Renamed two variables.
6246 * gnu/java/nio/FloatBufferImpl.java
6247 (FloatBufferImpl): Renamed two variables.
6248 * gnu/java/nio/IntBufferImpl.java
6249 (IntBufferImpl): Renamed two variables.
6250 * gnu/java/nio/LongBufferImpl.java
6251 (LongBufferImpl): Renamed two variables.
6252 * gnu/java/nio/ShortBufferImpl.java
6253 (ShortBufferImpl): Renamed two variables.
6254 * java/nio/CharBuffer.java
6255 (wrap): Fixed arguments to CharBufferImpl constructor.
6256 (hasArray): Only not read-only buffers have backing arrays.
6257 (length): Documentation added.
6258 (subSequence): Documentation added.
6259 * java/nio/DoubleBuffer.java
6260 (hasArray): Only not read-only buffers have backing arrays.
6261 * java/nio/FloatBuffer.java
6262 (hasArray): Only not read-only buffers have backing arrays.
6263 * java/nio/IntBuffer.java
6264 (hasArray): Only not read-only buffers have backing arrays.
6265 * java/nio/LongBuffer.java
6266 (hasArray): Only not read-only buffers have backing arrays.
6267 * java/nio/ShortBuffer.java
6268 (hasArray): Only not read-only buffers have backing arrays.
6270 2003-02-19 Michael Koch <konqueror@gmx.de>
6272 * javax/accessibility/AccessibleContext.java
6273 (ACCESSIBLE_DESCRIPTION_PROPERTY): Fixed typo.
6275 2003-02-19 Michael Koch <konqueror@gmx.de>
6277 * java/awt/ScrollPaneAdjustable.java: Reformated.
6279 2003-02-19 Michael Koch <konqueror@gmx.de>
6281 * gnu/awt/j2d/Graphics2DImpl.java
6282 (getFontRenderContext): New method.
6283 (drawGlyphVector): New method.
6284 * java/awt/Graphics2D.java
6285 (getFontRenderContext): New abstract method.
6286 (drawGlyphVector): New abstract method.
6288 2003-02-18 Hans Boehm <Hans.Boehm@hp.com>
6290 * gnu/awt/xlib/XToolkit.java (getFontMetrics): initialize
6293 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6294 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6295 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
6296 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
6297 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
6298 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
6299 (setFont, gtkSetFont): add.
6300 gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
6301 Propagate font to peer. (setFont): add FIXME comment.
6303 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6304 (gtkTextGetSize): fix height, width computation.
6306 * gnu/java/awt/peer/gtk/GtkFontPeer.java (GtkFontPeer):
6307 Make X font name a bit less bogus.
6309 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
6310 (post_adjustment_event): Pass on GTK_SCROLL_NONE.
6312 * java/awt/Scrollbar.java (setValues): Fix visibleAmount range check.
6313 (processAdjustmentEvent): Adjust value.
6315 * java/awt/FlowLayout.java (layoutContainer) Fix 2 indexing and one
6318 * java/awt/Component.java (setVisible, show, hide): Call show and
6319 hide methods in subclasses.
6320 (getPreferredSize): don't set prefSize before we have peer.
6322 * java/awt/TextArea.java, java/awt/TextField.java (getPreferredSize):
6323 Guess (0,0) if we don't have peer.
6326 2003-02-18 Michael Koch <konqueror@gmx.de>
6328 * java/nio/channels/FileChannel.java
6329 (toString): New implementation, added documentation.
6330 (map): Added exception documentation.
6331 (size): Added exception documentation.
6332 (write): New methods, documentation work.
6333 (read): New methods, documentation work.
6334 (implCloseChannel): Rewrote exception documentation.
6335 (force): Throws IOException, added documentation.
6336 (lock): New methods.
6337 (tryLock): New methods.
6338 (position): New methods.
6339 (transferTo): New method.
6340 (transferFrom): New method.
6341 (truncate): New method.
6342 * java/nio/channels/spi/SelectorProvider.java
6343 (provider): Implemented.
6345 (ordinary_java_source_files): Added the following files:
6346 gnu/java/nio/DatagramChannelImpl.java
6347 gnu/java/nio/FileChannelImpl.java
6348 gnu/java/nio/PipeImpl.java
6349 gnu/java/nio/SelectionKeyImpl.java
6350 gnu/java/nio/SelectorImpl.java
6351 gnu/java/nio/SelectorProviderImpl.java
6352 gnu/java/nio/ServerSocketChannelImpl.java
6353 gnu/java/nio/SocketChannelImpl.java
6354 java/nio/channels/FileLock.java
6355 (nat_java_source_files): Added the following files:
6356 gnu/java/nio/natFileChannelImpl.cc
6357 gnu/java/nio/natSelectorImpl.cc
6358 gnu/java/nio/natSocketChannelImpl.cc
6359 * Makefile.in: Regenerated.
6361 2003-02-17 Tom Tromey <tromey@redhat.com>
6363 * java/awt/image/ColorModel.java: Re-merged with Classpath.
6364 * java/awt/image/ImageFilter.java: Likewise.
6366 2003-02-17 Raif S. Naffah <raif@fl.net.au>
6368 * java/math/BigInteger.java (euclidInv): Return array of
6369 `BigInteger's. Changed all callers.
6371 2003-02-17 Ranjit Mathew <rmathew@hotmail.com>
6373 * java/util/Properties.java (store): Move the code formerly in
6374 list(), into this method.
6375 (list (PrintStream)): Just call list (PrintWriter) with a
6376 PrintWriter object constructed from the given PrintStream object.
6377 (list (PrintWriter)): Emulate the output of Properties.list()
6378 as found in JDK 1.3/1.4.
6380 2003-02-17 Michael Koch <konqueror@gmx.de>
6382 * java/net/DatagramSocket.java
6383 (connect): Merged with classpath.
6384 (disconnect): Merged documentation with classpath.
6385 (receice): Merged documentation with classpath.
6386 (send): Merged documentation with classpath.
6388 2003-02-17 Michael Koch <konqueror@gmx.de>
6390 * java/awt/dnd/DragSourceContext.java
6391 (addDragSourceListener): Added documentation.
6392 * java/awt/dnd/DragSourceDragEvent.java
6393 (serialVersionUID): New member variable.
6394 (getDropAction): Reformated.
6395 * java/awt/dnd/DragSourceDropEvent.java
6396 (serialVersionUID): New member variable.
6397 (dropSuccess): Renamed from success for serialization issues.
6398 * java/awt/dnd/DragSourceEvent.java
6399 (serialVersionUID): New member variable.
6400 * java/awt/dnd/DropTarget.java
6401 (serialVersionUID): New member variable.
6402 (DropTarget): Implemented, documentation reworked.
6403 (setComponent): Documentation added.
6404 (getComponent): Documentation added.
6405 (setDefaultActions): Documentation added.
6406 (getDefaultActions): Documentation added.
6407 (addDropTargetListener): Documentation added.
6408 * java/awt/dnd/DropTargetContext.java
6409 (DropTargetContext): Documentation added.
6410 (TransferableProxy.TransferableProxy): New method.
6411 (dropComplete): Fixed documentation.
6412 (getTransferable): Fixed documentation.
6413 (createTransferableProxy): Implemented.
6414 * java/awt/dnd/DropTargetDragEvent.java
6415 (DropTargetDragEvent): Documentation added.
6416 (serialVersionUID): New member variable.
6417 (DropTargetDragEvent): Throw exceptions, documentation added.
6418 (acceptDrag): Implemented.
6419 (getCurrentDataFlavors): Implemented.3yy
6420 (getCurrentDataFlavorsAsList): Implemented.
6421 (isDataFlavorSupported): Implemented.
6422 (rejectDrag): Implemented.
6423 * java/awt/dnd/DropTargetDropEvent.java
6424 (DropTargetDropEvent): Documentation added.
6425 (serialVersionUID): New member variable.
6426 (actions): Renamed from srcActions for serialization issues.
6427 (isLocalTx): Renamed from isLocalTx for serialization issues.
6428 (DropTargetDropEvent): New implementation, throw exceptions,
6429 documentation added.
6430 (getCurrentDataFlavors): Implemented.
6431 (getCurrentDataFlavorsAsList): Implemented.
6432 (isDataFlavorSupported): Implemented.
6433 (getSourceActions): Implemented.
6434 (getDropAction): Implemented.
6435 (getTransferable): Implemented.
6436 (acceptDrop): Implemented.
6437 (rejectDrop): Implemented.
6438 * java/awt/dnd/DropTargetListener.java
6439 (drop): Fixed documentation.
6440 * java/awt/dnd/MouseDragGestureRecognizer.java
6441 (MouseDragGestureRecognizer): Documentation added.
6443 2003-02-17 Michael Koch <konqueror@gmx.de>
6445 * java/awt/font/FontRenderContext.java,
6446 java/awt/font/ShapeGraphicAttribute.java,
6447 java/awt/font/MultipleMaster.java,
6448 java/awt/font/TransformAttribute.java,
6449 java/awt/font/GlyphJustificationInfo.java,
6450 java/awt/font/LineBreakMeasurer.java,
6451 java/awt/font/TextMeasurer.java,
6452 java/awt/font/TextLayout.java,
6453 java/awt/font/LineMetrics.java,
6454 java/awt/font/TextAttribute.java,
6455 java/awt/font/GlyphMetrics.java,
6456 java/awt/font/OpenType.java,
6457 java/awt/font/GlyphVector.java,
6458 java/awt/font/GraphicAttribute.java,
6459 java/awt/font/ImageGraphicAttribute.java,
6460 java/awt/font/NumericShaper.java: New files.
6462 (awt_java_source_files): Added the following files:
6463 java/awt/font/FontRenderContext.java
6464 java/awt/font/ShapeGraphicAttribute.java
6465 java/awt/font/MultipleMaster.java
6466 java/awt/font/TransformAttribute.java
6467 java/awt/font/GlyphJustificationInfo.java
6468 java/awt/font/LineBreakMeasurer.java
6469 java/awt/font/TextMeasurer.java
6470 java/awt/font/TextLayout.java
6471 java/awt/font/LineMetrics.java
6472 java/awt/font/TextAttribute.java
6473 java/awt/font/GlyphMetrics.java
6474 java/awt/font/OpenType.java
6475 java/awt/font/GlyphVector.java
6476 java/awt/font/GraphicAttribute.java
6477 java/awt/font/ImageGraphicAttribute.java
6478 java/awt/font/NumericShaper.java
6479 * Makefile.in: Regenerated.
6481 2003-02-17 Michael Koch <konqueror@gmx.de>
6483 * java/awt/print/Paper.java
6484 (Paper): Implements Cloneable.
6485 * java/awt/print/PrinterJob.java
6486 (setJobName): Return value must be void.
6487 (print): Throws PrinterException.
6489 2003-02-16 Tom Tromey <tromey@redhat.com>
6491 * verify.cc (_Jv_BytecodeVerifier::pop_jump): Removed unused
6494 2003-02-15 Michael Koch <konqueror@gmx.de>
6496 * java/awt/datatransfer/DataFlavor.java
6497 (isRepresentationClassByteBuffer): Removed try-catch block.
6498 (isRepresentationClassCharBuffer): Removed try-catch block.
6499 (isRepresentationClassReader): Removed try-catch block.
6501 2003-02-15 Jesse Rosenstock <jmr@ugcs.caltech.edu>
6503 * java/nio/charset/Charset.java
6504 (isRegistered): Fixed method args and implementation.
6505 * java/nio/charset/CharsetEncoder.java
6506 (unmappableCharacterAction): New method.
6508 2003-02-15 Michael Koch <konqueror@gmx.de>
6510 * java/awt/CheckboxMenuItem.java
6511 (CheckBoxMenuItem): Dont implement Serializable.
6512 (getListeners): New method,
6513 (getItemListeners): New method.
6514 * java/awt/Choice.java
6515 (getListeners): New method,
6516 (getItemListeners): New method.
6517 * java/awt/Container.java
6518 (getListeners): Added exception documentation.
6519 (setFocusTraversalKeys): Throw exceptions, added documentattion.
6520 (getFocusTraversalKeys): Added documentation.
6521 (areFocusTraversalKeysSet): Added documentation.
6522 (applyComponentOrientation): Added documentation.
6523 * java/awt/ContainerOrderFocusTraversalPolicy.java
6524 (implicitDownCycleTraversal): Renamed from downCycle for
6526 (ContainerOrderFocusTraversalPolicy): Added documentation.
6527 (accept): Reformated.
6528 * java/awt/Dialog.java
6529 (Dialog): Dont implement Serializable.
6530 (Dialog): Added documentation.
6531 * java/awt/Font.java
6532 (Font): Dont use absolute class name.
6533 * java/awt/Frame.java
6534 (Frame): Font implement Serializable.
6535 * java/awt/List.java
6536 (getListeners): New method,
6537 (getActionListeners): New method.
6538 (getItemListeners): New method.
6539 * java/awt/Menu.java
6540 (countItems): New deprecated method.
6541 * java/awt/Scrollbar.java
6542 (getListeners): New method,
6543 (getAdjustmentListeners): New method,
6544 * java/awt/TextComponent.java
6545 (getListeners): New method,
6546 (getTextListeners): New method,
6547 * java/awt/TextField.java
6548 (getListeners): New method,
6549 (getActionListeners): New method.
6550 * java/awt/Window.java
6551 (windowFocusListener): New member variable.
6552 (windowStateListener): New member variable.
6553 (getWindowFocusListeners): New method.
6554 (getWindowStateListeners): New method.
6555 (addWindowFocusListener): New method.
6556 (addWindowStateListener): New method.
6557 (removeWindowFocusListener): New method.
6558 (removeWindowStateListener): New method.
6559 * java/awt/datatransfer/DataFlavor.java
6560 (isRepresentationClassByteBuffer): New method.
6561 (isRepresentationClassCharBuffer): New method.
6562 (isRepresentationClassReader): New method.
6564 2003-02-14 Mark Wielaard <mark@klomp.org>
6566 * java/math/BigDecimal.java (BigDecimal(String)): Always set scale to
6567 zero when there is an exponent and the significant is zero.
6568 (divide): Always set scale to newScale even in special ZERO case.
6570 2003-02-14 Tom Tromey <tromey@redhat.com>
6572 * java/lang/System.java (properties): Use Properties.clone.
6573 (setProperties): Likewise.
6575 2003-02-14 Michael Koch <konqueror@gmx.de>
6577 * gnu/java/nio/natServerSocketChannelImpl.cc: Removed.
6578 * gnu/java/nio/ServerSocketChannelImpl.java
6579 (SocketAccept): Removed.
6580 (accept): Commented out use of SocketAccept.
6582 2003-02-13 Tom Tromey <tromey@redhat.com>
6584 * verify.cc (state::seen_subrs): New field.
6585 (state::state): Initialize it.
6586 (state::clean_subrs): New method.
6587 (state::~state): Call it.
6588 (state::copy): Copy subroutine list.
6589 (state::add_subr): New method.
6590 (state::merge): Only register a change if the current subroutine
6591 hasn't yet been noted.
6593 2003-02-13 Mark Wielaard <mark@klomp.org>
6595 * java/io/InputStreamReader.java (getEncoding): Return null when
6597 * java/io/OutputStreamWriter.java (getEncoding): Likewise.
6599 2003-02-13 Mark Wielaard <mark@klomp.org>
6601 * java/util/zip/InflaterInputStream.java (read): Return zero when len
6604 2003-02-13 Mark Wielaard <mark@klomp.org>
6606 * java/io/BufferedOutputStream.java (write(int)): Only flush when
6607 next byte cannot be buffered.
6609 2003-02-13 Michael Koch <konqueror@gmx.de>
6611 * java/awt/Label.java
6612 (Label): Don't implement Serializable directly.
6613 (addNotify): Fixed typo in documentation.
6614 * java/awt/List.java
6615 (List): Don't implement Serializable directly.
6616 * java/awt/PopupMenu.java
6617 (PopupMenu): Don't implement Serializable directly.
6618 * java/awt/ScrollPane.java
6619 (ScrollPane): Don't implement Serializable directly.
6620 * java/awt/Scrollbar.java
6621 (Scrollbar): Don't implement Serializable directly.
6622 * java/awt/TextArea.java
6623 (preferredSize): Fixed method arguments.
6624 * java/awt/TextField.java
6625 (TextField): Don't implement Serializable directly.
6626 * java/awt/color/ICC_ColorSpace.java
6627 (fromCIOXYZ): Documentation added.
6628 (getMinValue): Documentation added.
6629 (getMaxValue): Documentation added.
6630 * java/awt/datatransfer/DataFlavor.java
6631 (isMimeTypeEqual): May not be final.
6632 (clone): Throws CloneNotSupportedException.
6633 (getReaderForText): Don't throws UnsupportedEncodingException.
6635 2003-02-13 Michael Koch <konqueror@gmx.de>
6637 * gnu/java/awt/peer/gtk/GdkGraphics.java
6638 (drawString): New stubbed method.
6639 * java/awt/Graphics.java
6640 (drawString): New method.
6642 2003-02-13 Casey Marshall <rsdio@metastatic.org>
6645 * java/security/SecureRandom.java (next): Avoid bias in results.
6647 2003-02-13 Michael <konqueror@gmx.de>
6649 * gnu/java/nio/FileChannelImpl.java
6650 (lengthInternal): Must be native.
6651 (size): Check if channel is already closed.
6652 (implCloseChannel): Reformated.
6653 (read): w was unused, removed it.
6656 (write): New method.
6657 (map): Check arguments.
6658 (force): Throws IOException, check if channel is closed.
6659 (transferTo): New method.
6660 (transferFrom): New method.
6662 (tryLock): New method.
6663 (position): New method.
6664 (truncate): New method.
6665 (nio_mmap_file): Uncommented.
6666 (nio_munmap_file): Uncommented.
6667 (nio_msync): Uncommented.
6668 * gnu/java/nio/natFileChannelImpl.cc: New file.
6670 2003-02-13 Michael Koch <konqueror@gmx.de>
6672 * java/nio/ByteBuffer.java
6673 (endian): New member variable.
6675 (equals): New method.
6676 (compareTo): New method.
6677 (order): New methods.
6678 (compact): New method.
6679 (isDirect): New method.
6680 (slice): New method.
6681 (duplicate): New method.
6682 (asReadOnlyBuffer): New method.
6683 (asCharBuffer): New method.
6684 (asDoubleBuffer): New method.
6685 (asFloatBuffer): New method.
6686 (asIntBuffer): New method.
6687 (asLongBuffer): New method.
6688 (asShortBuffer): New method.
6689 (get*): New methods.
6690 (put*): New methods.
6691 (toString): New method.
6692 * java/nio/CharBuffer.java
6693 (CharBuffer): Implement Comparable instead of Cloneable.
6694 (get): May not be final.
6695 (put): May not be final.
6697 2002-02-13 Ranjit Mathew <rmathew@hotmail.com>
6699 * gnu/gcj/runtime/NameFinder.java (createStackTraceElement): Use
6700 lastIndexOf( ) instead of indexOf( ) to find the colon before
6701 the line number, because Win32 file names might contain a
6702 drive letter and a colon at the start of an absolute path.
6704 2003-02-13 Michael Koch <konqueror@gmx.de>
6706 * gnu/java/nio/natSocketChannelImpl.cc
6707 (SocketConnect): This is not implemented yet.
6708 (SocketBind): This is not implemented yet.
6710 2003-02-13 Michael Koch <konqueror@gmx.de>
6712 * gnu/java/nio/natByteBufferImpl.cc,
6713 gnu/java/nio/natCharBufferImpl.cc,
6714 gnu/java/nio/natDoubleBufferImpl.cc,
6715 gnu/java/nio/natFloatBufferImpl.cc,
6716 gnu/java/nio/natIntBufferImpl.cc,
6717 gnu/java/nio/natLongBufferImpl.cc,
6718 gnu/java/nio/natShortBufferImpl.cc:
6719 Added copyright and license.
6720 * java/nio/DoubleBuffer.java,
6721 java/nio/FloatBuffer.java,
6722 java/nio/IntBuffer.java,
6723 java/nio/LongBuffer.java,
6724 java/nio/ShortBuffer.java
6725 (array): Throw exceptions.
6726 (arrayOffset): Throw exceptions.
6728 2003-02-13 Michael Koch <konqueror@gmx.de>
6730 * gnu/java/util/prefs/FileBasedFactory.java,
6731 gnu/java/util/prefs/MemmoryBasedFactory.java,
6732 gnu/java/util/prefs/MemoryBasedPreferences.java,
6733 gnu/java/util/prefs/NodeReader.java,
6734 gnu/java/util/prefs/NodeWriter.java,
6735 java/util/prefs/AbstractPreferences.java,
6736 java/util/prefs/BackingStoreException.java,
6737 java/util/prefs/InvalidPreferencesFormatException.java,
6738 java/util/prefs/NodeChangeEvent.java,
6739 java/util/prefs/NodeChangeListener.java,
6740 java/util/prefs/PreferenceChangeEvent.java,
6741 java/util/prefs/PreferenceChangeListener.java,
6742 java/util/prefs/Preferences.java,
6743 java/util/prefs/PreferencesFactory.java:
6744 New files, all merged from classpath.
6746 (ordinary_java_source_files): Added the following files:
6747 gnu/java/util/prefs/FileBasedFactory.java,
6748 gnu/java/util/prefs/MemmoryBasedFactory.java,
6749 gnu/java/util/prefs/MemoryBasedPreferences.java,
6750 gnu/java/util/prefs/NodeReader.java,
6751 gnu/java/util/prefs/NodeWriter.java,
6752 (core_java_source_files): Added the following files:
6753 java/util/prefs/AbstractPreferences.java,
6754 java/util/prefs/BackingStoreException.java,
6755 java/util/prefs/InvalidPreferencesFormatException.java,
6756 java/util/prefs/NodeChangeEvent.java,
6757 java/util/prefs/NodeChangeListener.java,
6758 java/util/prefs/PreferenceChangeEvent.java,
6759 java/util/prefs/PreferenceChangeListener.java,
6760 java/util/prefs/Preferences.java,
6761 java/util/prefs/PreferencesFactory.java
6762 * Makefile.in: Regenerated.
6764 2003-02-13 Michael Koch <konqueror@gmx.de>
6766 * java/net/NetPermission.java
6767 (NetPermission): Make doucmentation match the method declaration.
6768 * java/net/NetworkInterface.java
6769 (equals): Reformated for GNU coding style.
6770 * java/net/ServerSocket.java: Merged with classpath.
6771 * java/net/Socket.java: Partly merged with classpath (Added some @since).
6772 * java/net/SocketImpl.java
6773 (localPort): Merged with classpath (initialize with -1).
6774 * java/net/SocketPermission.java: Merged with classpath (reindented).
6775 * java/net/URLDecoder.java: Merged with classpath (reindented).
6777 2003-02-13 Michael Koch <konqueror@gmx.de>
6779 * java/awt/GridBagConstraints.java
6780 (FIRST_LINE_ENT, FIRST_LINE_START, LAST_LINE_END, LAST_LINE_START,
6781 LINE_END, LINE_START, PAGE_END, PAGE_START): New constants.
6782 * java/awt/KeyboardFocusManager.java
6783 (setGlobalCurrentFocusCycleRoot): Must be public.
6784 * java/awt/MenuComponent.java
6785 (MenuComponent): Must be public.
6786 * java/awt/Toolkit.java:
6787 Added some empty lines to make documentation more readable.
6788 (getFontPeer): Added @deprecated.
6789 (getColorModel): Added exception documentation.
6790 (getProperty): Fixed documentation.
6792 2003-02-12 Jeff Sturm <jsturm@one-point.com>
6794 * configure.host (alpha*-*): Default to -mieee.
6795 * configure.in (IEEESPEC): New.
6796 * libgcj.spec.in (jc1): Add IEEESPEC.
6797 * configure: Rebuild.
6799 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
6801 * include/win32.h: Include ws2tcpip.h instead of
6802 winsock.h to obtain definition of the socklen_t type.
6803 Remove IP_TOS definition - not needed with ws2tcpip.h
6804 (_Jv_connect): Correct slight formatting error.
6806 2003-02-12 Ranjit Mathew <rmathew@hotmail.com>
6808 * jni.cc (_Jv_LookupJNIMethod): Modify to accept the
6809 size of the arguments for a JNI function. For Win32,
6810 modify to search for all forms of possible exported
6811 names of an stdcall JNI function.
6812 (_Jv_JNIMethod::call): Modify to calculate the size
6813 of the arguments passed to a JNI function and pass
6814 it to _Jv_LookupJNIMethod.
6816 2003-02-12 Michael Koch <konqueror@gmx.de>
6818 * java/nio/channels/Channels.java: New file.
6820 (ordinary_java_source_files): Added java/nio/channels/Channels.java.
6821 * Makefile.in: Regenerated.
6823 2003-02-12 Michael Koch <konqueror@gmx.de>
6825 * java/nio/ByteBuffer.java
6826 (allocate): Implemented.
6827 (wrap): Implemented.
6828 * java/nio/CharBuffer.java:
6829 Some documentation added and reworked.
6831 (allocate): Implemented.
6832 (wrap): Implemented.
6833 (array): Throw exceptions.
6834 (arrayOffset): Throw exceptions.
6835 (toString): Implemented.
6836 (length): Implemented.
6838 (charAt): Implemented.
6840 2003-02-11 John Leuner <jewel@debian.org>
6842 * java/util/zip/ZipInputStream.java: Fix problem with 0-length
6843 reads from end of file.
6845 2003-02-11 Ranjit Mathew <rmathew@hotmail.com>
6847 * java/io/natFileDescriptorWin32.cc
6848 (java::io::FileDescriptor::read): Return -1 (EOF) if ReadFile( )
6849 returns with Win32 error code ERROR_BROKEN_PIPE.
6851 2003-02-11 Michael Koch <konqueror@gmx.de>
6854 (libgcj_la_OBJECTS): Removed natSelctorImpl.la.
6856 2003-02-11 Michael Koch <konqueror@gmx.de>
6858 * gnu/java/nio/ByteBufferImpl.java:
6859 Reformated and removed some code.
6860 (backing_buffer): Removed.
6861 (array_offset): Removed.
6862 (ro): Renamed to readOnly.
6863 (ByteBufferImpl): Use parent constructor, initialize readOnly.
6864 * gnu/java/nio/CharBufferImpl.java:
6865 Reformated and removed some code.
6866 (array_offset): Removed.
6867 (ro): Renamed to readOnly.
6868 (CharBufferImpl): Use parent constructor, initialize readOnly.
6870 (order): New method.
6871 * gnu/java/nio/DoubleBufferImpl.java:
6872 Reformated and removed some code.
6873 (array_offset): Removed.
6874 (ro): Renamed to readOnly.
6875 (DoubleBufferImpl): Use parent constructor, initialize readOnly.
6877 (order): New method.
6878 * gnu/java/nio/FloatBufferImpl.java:
6879 Reformated and removed some code.
6880 (array_offset): Removed.
6881 (ro): Renamed to readOnly.
6882 (FloatBufferImpl): Use parent constructor, initialize readOnly.
6884 (order): New method.
6885 * gnu/java/nio/IntBufferImpl.java:
6886 Reformated and removed some code.
6887 (array_offset): Removed.
6888 (ro): Renamed to readOnly.
6889 (IntBufferImpl): Use parent constructor, initialize readOnly.
6891 (order): New method.
6892 * gnu/java/nio/LongBufferImpl.java:
6893 Reformated and removed some code.
6894 (array_offset): Removed.
6895 (ro): Renamed to readOnly.
6896 (LongBufferImpl): Use parent constructor, initialize readOnly.
6898 (order): New method.
6899 * gnu/java/nio/ShortBufferImpl.java:
6900 Reformated and removed some code.
6901 (array_offset): Removed.
6902 (ro): Renamed to readOnly.
6903 (ShortBufferImpl): Use parent constructor, initialize readOnly.
6905 (order): New method.
6907 (ordinary_java_source_files): Added the following files:
6908 gnu/java/nio/ByteBufferImpl.java
6909 gnu/java/nio/CharBufferImpl.java
6910 gnu/java/nio/DoubleBufferImpl.java
6911 gnu/java/nio/FloatBufferImpl.java
6912 gnu/java/nio/IntBufferImpl.java
6913 gnu/java/nio/LongBufferImpl.java
6914 gnu/java/nio/ShortBufferImpl.java
6915 java/nio/DoubleBuffer.java
6916 java/nio/FloatBuffer.java
6917 java/nio/IntBuffer.java
6918 java/nio/LongBuffer.java
6919 java/nio/ShortBuffer.java
6920 (nat_source_files): Added the following files:
6921 gnu/java/nio/natByteBufferImpl.cc
6922 gnu/java/nio/natCharBufferImpl.cc
6923 gnu/java/nio/natDoubleBufferImpl.cc
6924 gnu/java/nio/natFloatBufferImpl.cc
6925 gnu/java/nio/natIntBufferImpl.cc
6926 gnu/java/nio/natLongBufferImpl.cc
6927 gnu/java/nio/natShortBufferImpl.cc
6928 * Makefile.in: Regenerated.
6930 2003-02-11 Michael Koch <konqueror@gmx.de>
6932 * gnu/java/nio/natCharBufferImpl.cc
6933 (nio_cast): Removed.
6934 (nio_put_*): Removed.
6935 (nio_get_*): Removed.
6936 * gnu/java/nio/natDoubleBufferImpl.cc
6937 (nio_cast): Removed.
6938 (nio_put_*): Removed.
6939 (nio_get_*): Removed.
6940 * gnu/java/nio/natFloatBufferImpl.cc
6941 (nio_cast): Removed.
6942 (nio_put_*): Removed.
6943 (nio_get_*): Removed.
6944 * gnu/java/nio/natIntBufferImpl.cc
6945 (nio_cast): Removed.
6946 (nio_put_*): Removed.
6947 (nio_get_*): Removed.
6948 * gnu/java/nio/natLongBufferImpl.cc
6949 (nio_cast): Removed.
6950 (nio_put_*): Removed.
6951 (nio_get_*): Removed.
6952 * gnu/java/nio/natShortBufferImpl.cc
6953 (nio_cast): Removed.
6954 (nio_put_*): Removed.
6955 (nio_get_*): Removed.
6956 * gnu/java/nio/SelectorProviderImpl.java
6957 (openDatagramChannel): Throws IOException.
6958 (openPipe): Throws IOException.
6959 (openSelector): Throws IOException.
6960 (openServerSocketChannel): Throws IOException.
6961 (openSocketChannel): Throws IOException.
6962 * gnu/java/nio/ServerSocketChannelImpl.java
6963 (ServerSocketChannelImpl): Throws IOException.
6964 (implCloseSelectableChannel): Throws IOException.
6965 (implConfigureBlocking): Throws IOException.
6966 * java/nio/ByteBuffer.java
6967 (readOnly): Removed.
6968 (hasArray): Use isReadOnly() instead of readOnly.
6969 (array): Use isReadOnly() instead of readOnly.
6970 (arrayOffset): Use isReadOnly() instead of readOnly.
6971 * java/nio/CharBuffer.java
6972 (CharBuffer): Implements Cloneable and CharSequence.
6974 2003-02-11 Michael Koch <konqueror@gmx.de>
6976 * java/nio/DoubleBuffer.java
6977 (DoubleBuffer): Implements Comparable.
6979 (array_offset): New member variable.
6980 (DoubleBuffer): New constuctor.
6981 (get): May not be final.
6982 (put): May not be final.
6983 (arrayOffset): Implemented.
6984 (order): Made abstract.
6986 (as*Buffer): Removed.
6989 * java/nio/FloatBuffer.java
6990 (FloatBuffer): Implements Comparable.
6992 (array_offset): New member variable.
6993 (FloatBuffer): New constuctor.
6994 (get): May not be final.
6995 (put): May not be final.
6996 (arrayOffset): Implemented.
6997 (order): Made abstract.
6999 (as*Buffer): Removed.
7002 * java/nio/IntBuffer.java
7003 (IntBuffer): Implements Comparable.
7005 (array_offset): New member variable.
7006 (IntBuffer): New constuctor.
7007 (get): May not be final.
7008 (put): May not be final.
7009 (arrayOffset): Implemented.
7010 (order): Made abstract.
7012 (as*Buffer): Removed.
7015 * java/nio/LongBuffer.java
7016 (LongBuffer): Implements Comparable.
7018 (array_offset): New member variable.
7019 (LongBuffer): New constuctor.
7020 (get): May not be final.
7021 (put): May not be final.
7022 (arrayOffset): Implemented.
7023 (order): Made abstract.
7025 (as*Buffer): Removed.
7028 * java/nio/ShortBuffer.java
7029 (ShortBuffer): Implements Comparable.
7031 (array_offset): New member variable.
7032 (ShortBuffer): New constuctor.
7033 (get): May not be final.
7034 (put): May not be final.
7035 (arrayOffset): Implemented.
7036 (order): Made abstract.
7038 (as*Buffer): Removed.
7042 2003-02-11 Michael Koch <konqueror@gmx.de>
7044 * java/nio/channels/SelectionKey.java
7045 (OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE): Initialize with correct
7048 2003-02-11 Michael Koch <konqueror@gmx.de>
7050 * java/nio/channels/DatagramChannel.java
7051 (write): Throws IOException.
7052 (connect): Throws IOException.
7053 (disconnect): Throws IOException.
7054 (read): Throws IOException.
7055 (receive): Throws IOException.
7056 (send): Throws IOException.
7057 * java/nio/channels/Pipe.java
7058 (open): Throws IOException.
7059 * java/nio/channels/SelectableChannel.java
7060 (configureBlocking): Throws IOException.
7061 * java/nio/channels/ServerSocketChannel.java
7062 (accept): Throws IOException.
7063 * java/nio/channels/SocketChannel.java
7064 (SocketChannel): Implements ByteChannel, ScatteringByteChannel,
7065 GatheringByteChannel.
7066 (read): Throws IOException.
7067 (write): Throws IOException.
7068 (finishConnect): Throws IOException.
7069 * java/nio/channels/spi/AbstractInterruptibleChannel.java
7070 (end): Throws AsynchronousCloseException.
7071 * java/nio/channels/spi/AbstractSelectableChannel.java
7072 (configureBlocking): Throws IOException.
7073 (implCloseChannel): Throws IOException.
7074 (implCloseSelectableChannel): Throws IOException.
7075 (implConfigureBlocking): Throws IOException.
7076 * java/nio/channels/spi/SelectorProvider.java
7077 (openDatagramChannel): Throws IOException.
7078 (openPipe): Throws IOException.
7079 (openSelector): Throws IOException.
7080 (openServerSocketChannel): Throws IOException.
7081 (openSocketChannel): Throws IOException.
7083 2003-02-11 Michael Koch <konqueror@gmx.de>
7085 * gnu/java/nio/FileLockImpl.java,
7086 java/nio/channels/FileLock.java: New files.
7088 2003-02-11 Michael Koch <konqueror@gmx.de>
7090 * java/nio/charset/IllegalCharsetNameException.java
7091 (serialVersionUID): New member variable.
7092 (charsetName): New member variable.
7093 (IllegalCharsetException): New implementation.
7094 (getCharsetName): New implementation.
7095 * java/nio/charset/UnsupportedCharsetException.java
7096 (serialVersionUID): New member variable.
7097 (charsetName): New member variable.
7098 (UnsupportedCharsetException): New implementation.
7099 (getCharsetName): New implementation.
7101 2003-02-10 Tom Tromey <tromey@redhat.com>
7103 * javax/sql/ConnectionEvent.java (serialVersionUID): New field.
7104 (ex): Renamed from sqlException.
7106 2003-02-10 Raif S. Naffah <raif@fl.net.au>
7108 * gnu/java/security/provider/SHA1PRNG.java (ensureIsSeeded): new
7109 method used to ensure seeding has occurred and that a specific
7110 seed can be set and used.
7112 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>
7114 * java/lang/Win32Process.java (destroy): Declare as native.
7115 (hasExited): New native method.
7116 (exitValue): Define.
7117 (getErrorStream): Likewise.
7118 (getInputStream): Likewise.
7119 (getOutputStream): Likewise.
7120 (waitFor): Declare as native.
7121 (startProcess): New native method.
7122 (cleanup): Likewise.
7123 (ConcreteProcess): Define.
7124 (outputStream, inputStream, errorStream): New members.
7125 (procHandle, exitCode): Likewise.
7127 * java/lang/natWin32Process.cc
7128 (java::lang::ConcreteProcess::cleanup): Define.
7129 (java::lang::ConcreteProcess::destroy): Likewise.
7130 (java::lang::ConcreteProcess::hasExited): Likewise.
7131 (java::lang::ConcreteProcess::waitFor): Likewise.
7132 (new_string): Likewise.
7133 (java::lang::ConcreteProcess::startProcess): Likewise.
7135 2003-02-10 Raif S. Naffah <raif@fl.net.au>
7137 * java/math/BigInteger.java:
7138 Updated notice to include years 2002 and 3.
7139 Added 2 private (int) arrays with values from the HAC (Handbook of
7140 Applied Cryptography -A. Menezes & al): k[] that contains bit lengths
7141 and t[] that contains nbr. of tests --used in isProbablePrime().
7143 * java/math/BigInteger.java (make(long)): Merged into valueOf(long).
7145 * java/math/BigInteger.java (make(int[],int), add(int,int),
7146 add(BI,BI,int), times(BI,int), divide(long,long,BI,BI,int), gcd(BI),
7147 isProbablePrime(int), shift(BI,int), valueOf(String,int), neg(BI),
7148 bitOp(int,BI,BI), and(BI,int)): Use valueOf(long) instead of
7151 * java/math/BigInteger.java (euclidInv): Reduce number of work vars
7152 (euclidInv(int,int,int)): Now returns an array of 2 ints instead of 3.
7153 (euclidInv(BI,BI,BI)): Used to return an array of 2 BIs; now accepts 6
7154 BIs and returns void.
7155 (modInverse(BI)): Use new signatures of euclidInv().
7157 * java/math/BigInteger.java (isProbablePrime(int)): Use divide() with
7158 static small primes instead of remainder().
7159 Use pre-computed max nbr of trials based on bitlength of BI to test.
7160 Use pre-computed small primes for the trial tests instead of random
7163 * java/math/BigInteger.java (isOdd, isMinusOne, pow): Removed.
7166 * java/math/BigInteger.java (format(int,StringBuffer)): Removed
7167 invoacation of MPN.chars_per_word(). not used.
7169 * java/math/BigInteger.java (gcd(int,int)): Declared 'tmp' once as
7170 local var and used where needed.
7172 * java/math/BigInteger.java (modPow(BI,BI)): Fixed spelling.
7173 Combined declaration with initialisation of locals.
7176 * java/math/BigInteger.java: Style changes
7177 (pow(int)): Removed 'else' keyword.
7178 (toString(int)): idem.
7179 (doubleValue()): idem.
7180 (bitLength()): idem.
7181 (equals(Object)): Use static methods name in same class w/o prepending
7183 (doubleValue()): idem.
7184 (setNegative(BI)): idem.
7186 (and(BI,int)): idem.
7189 (byteArrayToIntArray()): Removed casting to (int). this is
7191 (canonicalize()): idem.
7192 (alloc(int)): Always instantiate a new BI.
7194 2003-02-10 Tom Tromey <tromey@redhat.com>
7196 * java/sql/Timestamp.java (compareTo(Object)): New method.
7197 (compareTo(Timestamp)): Likewise.
7198 (serialVersionUID): Updated.
7200 2003-02-07 Mark Wielaard <mark@klomp.org>
7202 * java/util/jar/JarFile.java (JarFile(String, boolean)): Read manifest
7203 when verify is true.
7204 (JarFile(File, boolean)): Likewise.
7205 (manifestRead): Set manifestRead field correctly.
7207 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
7209 * java/math/BigDecimal(valueOf): fix DiagBigDecimal val008, val013
7210 tests; see patch #1016 on Savannah.
7212 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
7214 * java/math/BigDecimal.java (BigDecimal): enhance parsing of exponents
7215 (toString): do not return Strings starting with . and - erroneously.
7216 Improves Mauve results to 12 of 600 instead of 16 of 338 on
7219 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
7221 * java/beans/PropertyDescriptor.java
7222 (PropertyDescriptor(String, Class)): Sanity check getter and setter
7224 (PropertyDescriptor(String, Class, String, String)): Likewise.
7225 (PropertyDescriptor(String, Method, Method): Factor out getter and
7226 setter method sanity checks into new method.
7227 (findMethods): Don't do parameter sanity checking of get method here.
7228 (checkMethods): New method.
7230 2003-02-07 Stephen Crawley <crawley@dstc.edu.au>
7232 * java/beans/PropertyDescriptor.java: Reformat.
7234 2003-02-04 Tom Tromey <tromey@redhat.com>
7236 * java/io/PipedOutputStream.java (flush): Declare as throwing
7239 * java/io/PipedWriter.java (close): Declare as throwing
7241 * java/io/StringWriter.java (close): Declare as throwing
7244 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
7246 * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care
7247 of the fact that on Win32, JNI_OnLoad is an "stdcall" function and
7248 could also have been exported as "JNI_OnLoad@8" (MinGW) or
7249 "_JNI_OnLoad@8" (MSVC).
7251 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>
7253 * resolve.cc (_Jv_JNIMethod::ncode): Use stdcall calling
7254 convention on Win32 to invoke native JNI methods.
7256 2003-02-03 Andrew Haley <aph@redhat.com>
7258 * configure.host (x86_64): Enable interpreter.
7260 2003-02-03 Andrew Haley <aph@redhat.com>
7262 * libgcj.spec.in (jc1): Add BACKTRACESPEC.
7263 * configure.host (x86_64): Default to -fno-omit-frame-pointer.
7264 * configure.in (BACKTRACESPEC): New.
7265 * configure: Regenerate.
7267 2003-02-02 Tom Tromey <tromey@redhat.com>
7269 * configure: Rebuilt.
7270 * configure.in (TOOLKIT) [xlib]: Set correctly.
7272 * Makefile.in: Rebuilt.
7273 * Makefile.am (lib_gnu_awt_xlib_la_LDFLAGS): Link against
7276 2003-01-31 Mark WIelaard <mark@klomp.org>
7278 * Makefile.in: Rebuilt.
7279 * Makefile.am (gtk_c_headers): Strip trailing / from jniinclude.
7281 2003-01-31 Tom Tromey <tromey@redhat.com>
7283 * jni.cc (_Jv_JNI_NewObjectArray): Check that initializer can be
7284 cast to element type.
7285 (_Jv_JNI_SetObjectArrayElement): Check array bounds.
7286 (_Jv_JNI_GetObjectArrayElement): Likewise.
7288 * Makefile.in: Rebuilt.
7289 * Makefile.am (cond_x_ltlibrary): Renamed library to
7290 lib-gnu-awt-xlib.la.
7291 (lib_gnu_awt_xlib_la_SOURCES): Renamed.
7292 (EXTRA_lib_gnu_awt_xlib_la_SOURCES): Likewise.
7293 (lib_gnu_awt_xlib_la_DEPENDENCIES): Likewise.
7294 (lib_gnu_awt_xlib_la_LIBADD): Likewise.
7295 (lib_gnu_awt_xlib_la_LDFLAGS): Likewise.
7296 (lib_gnu_awt_xlib_la_LINK): Likewise.
7297 (install-exec-hook): Removed.
7298 (lib-gnu-awt-xlib.la): Renamed.
7300 2003-01-31 Tom Tromey <tromey@redhat.com>
7302 * aclocal.m4, configure, include/config.h.in: Rebuilt.
7303 * acinclude.m4 (CHECK_FOR_BROKEN_MINGW_LD): Resurrected; was in
7304 aclocal.m4 and lost in some merge.
7306 * java/awt/Window.java (Window(Window,GraphicsConfiguration)):
7307 Don't try to find graphics configuration.
7308 * java/awt/Toolkit.java (default_toolkit_name): Use new
7309 Configuration entry.
7310 * gnu/classpath/Configuration.java.in (default_awt_peer_toolkit):
7312 * configure: Rebuilt.
7313 * configure.in (TOOLKIT): New subst.
7314 (--enable-java-awt) [xlib, gtk]: Set TOOLKIT if required.
7315 Do AWT tests much earlier. Run Gtk tests. Make jniinclude
7316 directory. Make output directories for .c files.
7317 * Makefile.in: Rebuilt.
7318 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_SOURCES): New macro.
7319 (toolexeclib_LTLIBRARIES): Added cond_gtk_ltlibrary.
7320 (all_java_source_files): Added new sources.
7321 ($(lib_gnu_java_awt_peer_gtk_la_OBJECTS)): New target.
7322 (gtk_c_files): New macro.
7323 (gtk_c_source_files): New macro.
7324 (cond_gtk_ltlibrary): New macro.
7325 ($(gtk_c_files)): New target.
7326 (lib_gnu_java_awt_peer_gtk_la_LIBADD): New macro.
7327 (gtk_awt_peer_sources): New macro.
7328 (gtk_c_headers): New macro.
7329 ($(gtk_c_headers)): New target.
7330 (ACLOCAL_AMFLAGS): New macro.
7331 * gtk.m4, glib.m4, libart.m4: New files.
7332 * gnu/java/awt/peer/gtk/GdkFontMetrics.java,
7333 gnu/java/awt/peer/gtk/GdkGraphics.java,
7334 gnu/java/awt/peer/gtk/GtkArg.java,
7335 gnu/java/awt/peer/gtk/GtkArgList.java,
7336 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7337 gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
7338 gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java,
7339 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
7340 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
7341 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
7342 gnu/java/awt/peer/gtk/GtkClipboard.java,
7343 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7344 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
7345 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
7346 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
7347 gnu/java/awt/peer/gtk/GtkFontPeer.java,
7348 gnu/java/awt/peer/gtk/GtkFramePeer.java,
7349 gnu/java/awt/peer/gtk/GtkGenericPeer.java,
7350 gnu/java/awt/peer/gtk/GtkImage.java,
7351 gnu/java/awt/peer/gtk/GtkImagePainter.java,
7352 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
7353 gnu/java/awt/peer/gtk/GtkListPeer.java,
7354 gnu/java/awt/peer/gtk/GtkMainThread.java,
7355 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
7356 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
7357 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
7358 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
7359 gnu/java/awt/peer/gtk/GtkOffScreenImage.java,
7360 gnu/java/awt/peer/gtk/GtkPanelPeer.java,
7361 gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java,
7362 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
7363 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
7364 gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7365 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
7366 gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7367 gnu/java/awt/peer/gtk/GtkToolkit.java,
7368 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
7369 gnu/java/awt/peer/gtk/TestAWT.java,
7370 gnu/java/awt/peer/gtk/Test.java: New files from Classpath.
7371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
7372 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
7373 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c,
7374 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
7375 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c,
7376 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c,
7377 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c,
7378 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c,
7379 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
7380 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c,
7381 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c,
7382 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
7383 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c,
7384 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c,
7385 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
7386 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
7387 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
7388 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
7389 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c,
7390 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c,
7391 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c,
7392 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c,
7393 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c,
7394 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c,
7395 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c,
7396 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c,
7397 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c,
7398 jni/gtk-peer/gthread-jni.c, jni/gtk-peer/gthread-jni.h,
7399 jni/gtk-peer/gtkpeer.h, jni/classpath/jcl.c, jni/classpath/jcl.h,
7400 jni/classpath/jnilink.c, jni/classpath/jnilink.h,
7401 jni/classpath/native_state.c, jni/classpath/native_state.h,
7402 jni/classpath/primlib.c, jni/classpath/primlib.h: Likewise.
7404 2003-01-31 Julian Dolby <dolby@us.ibm.com>
7406 * java/util/Properties.java (load): Ignore backslash before EOF.
7408 2003-01-30 Jeff Sturm <jsturm@one-point.com>
7410 * java/lang/natClass.cc (initializeClass): Check tables when
7411 (state == JV_STATE_IN_PROGRESS).
7412 (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface.
7413 * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle
7414 interpreted classes.
7415 (linkClass0): Use _Jv_WaitForState.
7417 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>
7419 * java/awt/Component.java (processPaintEvent): Dispose of Graphics
7420 object when finished.
7422 2003-01-28 Andreas Tobler <a.tobler@schweiz.ch>
7424 * libjava/configure.host: Disable can_unwind_signal on darwin.
7426 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
7429 * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct
7430 additionally containing id of the owner thread as well as
7431 the number of nested times the thread has acquired the mutex.
7432 (_Jv_MutexInit): Initialise owner thread id and refcount to 0.
7433 (_Jv_MutexDestroy): Reset owner thread id and refcount to 0.
7434 (_Jv_MutexUnlock): Check if really the owner thread, reset
7435 owner thread id to 0 before leaving, if leaving for the last
7437 (_Jv_MutexLock): Set owner thread id in the mutex and increment
7439 (_Jv_ThreadYield): Yield using a call to Sleep(0).
7440 * win32-threads.cc (_Jv_CondWait): Check if really owner of
7442 Pass handle of the broadcast event, instead of a pointer to it
7443 in Win32 ResetEvent( ) call.
7444 Remove incorrect return values.
7445 (_Jv_CondDestroy): Close both event handles and delete
7447 (_Jv_CondNotify): Check if really the owner thread.
7448 (_Jv_CondNotifyAll): Check if really the owner thread.
7449 (_Jv_InitThreads): Change daemon_cond to a manual-reset event.
7450 (really_start): Use SetEvent( ) to signal daemon_cond.
7451 (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use
7452 WaitForSingleObject( ) instead to wait for daemon_cond to be
7455 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>
7457 * configure.in: Specifically define HAVE_BACKTRACE if building
7459 * include/win32.h: Remove HAVE_BACKTRACE definition.
7460 * gnu/gcj/runtime/natStackTrace.cc: Include platform.h.
7461 * configure: Rebuilt.
7463 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
7465 * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):
7466 Set and AC_SUBST. Remove USE_LIBDIR conditional.
7467 * Makefile.am (toolexecdir, toolexeclibdir): Don't override.
7468 (toolexecmainlib_DATA): Renamed from toolexeclib_DATA.
7469 * Makefile.in, configure: Rebuilt.
7471 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>
7474 * java/io/natFileWin32.cc (performList): Append only "*.*"
7475 if the canonical file path already has a "\" at the end.
7477 2003-01-24 Tom Tromey <tromey@redhat.com>
7479 * defineclass.cc (handleMethodsEnd): Precompute code for static
7481 (handleCodeAttribute): Likewise.
7482 * resolve.cc (ncode): Use run_class for unsynchronized static
7484 * include/java-interp.h (class _Jv_InterpMethod): Declare
7486 * interpret.cc (run_synch_class): Initialize class.
7487 (run) [insn_invokestatic]: Don't initialize class.
7488 [insn_anewarray]: Likewise.
7489 [insn_multianewarray]: Likewise.
7490 (run_class): New function.
7492 2003-01-24 Tom Tromey <tromey@redhat.com>
7494 * java/lang/ClassLoader.java (findLoadedClass): Removed erroneous
7497 2003-01-22 Andrew Haley <aph@redhat.com>
7499 * x86_64-signal.h: Add simple handler for x86_64 32-bit mode.
7500 * configure.host (CHECKREFSPEC): Define for x86_64.
7502 2003-01-21 Tom Tromey <tromey@redhat.com>
7504 * java/util/natResourceBundle.cc (getCallingClassLoader): Start
7507 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>
7509 * java/io/natFileWin32.cc (isAbsolute): Check path length before
7510 looking at any characters.
7511 * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will
7513 (isAbsolute): Check path's length as well.
7515 2003-01-17 Mark Wielaard <mark@klomp.org>
7517 * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.
7518 (nat_source_files): Add natVMObjectStreamClass.cc.
7519 * Makefile.in: Regenerated.
7520 * gcj/javaprims.h (namespace java): Regenerated.
7521 * java/io/ObjectStreamClass.java (getClassUID): Call
7522 VMObjectStreamClass.hasClassInitializer().
7523 (hasClassInitializer): Removed.
7524 * java/io/VMObjectStreamClass.java: New class.
7525 * java/io/natVMObjectStreamClass.cc: New file.
7526 * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class.
7528 2003-01-16 Mark Wielaard <mark@klomp.org>
7530 * java/net/SocketImpl.java (toString): Don't explicitly call
7531 toString() on possible null address.
7533 2003-01-16 Michael Koch <konqueror@gmx.de>
7535 * java/net/MulticastSocket.java
7536 (setInterface): Reindented.
7538 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
7540 * gnu/gcj/xlib/natGC.cc (fillPolygon): New method.
7541 * gnu/gcj/xlib/GC.java (fillPolygon): Declare.
7542 * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and
7543 translateY arguments. Implement.
7544 * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass
7545 down translation arguments.
7546 (drawPolyline, drawPolygon): Fix incorrect tests.
7547 * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added
7548 translateX and translateY arguments.
7550 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
7552 * Makefile.in: Rebuilt.
7553 * Makefile.am (xlib_includes): New macro.
7556 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
7558 * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented.
7559 * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with
7560 16-bit display mode.
7562 2003-01-15 Scott Gilbertson <scottg@mantatest.com>
7564 * java/awt/CardLayout.java (show): Rewrote.
7565 (gotoComponent): Removed `target' argument. Simplified code.
7566 Don't pre-compute `choice' unless `what' is FIRST or LAST.
7567 Changed all callers.
7570 2003-01-14 Michael Koch <konqueror@gmx.de>
7572 * java/net/InetSocketAddress.java
7573 (serialVersionUID): New member variable.
7574 * java/net/NetPermission.java
7575 (NetPermission): Dont implement java.io.Serialization directly.
7576 * java/net/SocketAddress.java:
7577 (serialVersionUID): Documentation added.
7579 2003-01-14 Michael Koch <konqueror@gmx.de>
7581 * java/awt/Label.java
7582 (Label): Implements javax.accessibility.Accessible;
7583 * java/awt/List.java
7584 (List): Implements javax.accessibility.Accessible;
7585 * java/awt/ScrollPane.java
7586 (ScrollPane): Implements javax.accessibility.Accessible;
7587 * java/awt/Scrollbar.java
7588 (Scrollbar): Implements javax.accessibility.Accessible;
7589 * java/awt/TextComponent.java
7590 (setCaretPosition): Throw exception, documentation added.
7591 * java/awt/Toolkit.java:
7592 Added some newlines in method documentations.
7593 (createButton): Exception documentation added.
7594 (createTextField): Exception documentation added.
7595 (createLabel): Exception documentation added.
7596 (createList): Exception documentation added.
7597 (createCheckbox): Exception documentation added.
7598 (createScrollbar): Exception documentation added.
7599 (createScrollPane): Exception documentation added.
7600 (createTextArea): Exception documentation added.
7601 (createChoice): Exception documentation added.
7602 (createFrame): Exception documentation added.
7603 (createWindow): Exception documentation added.
7604 (createDialog): Exception documentation added.
7605 (createMenuBar): Exception documentation added.
7606 (createMenu): Exception documentation added.
7607 (createMenuItem): Exception documentation added.
7608 (createFileDialog): Exception documentation added.
7609 (createCheckboxMenuItem): Exception documentation added.
7610 (loadSystemColors): Exception documentation added.
7611 (setDynamicLayout): Exception documentation added.
7612 (isDynamicLayoutSet): Exception documentation added.
7613 (isDynamicLayoutActive): Exception documentation added.
7614 (getScreenSize): Exception documentation added.
7615 (getScreenResolution): Exception documentation added.
7616 (getScreenInsets): Exception documentation added.
7617 (getColorModel): Exception documentation added.
7618 (getSystemClipboard): Exception documentation added.
7619 (getSystemSelection): Exception documentation added.
7620 (getMenuShortcutKeyMask): Exception documentation added.
7621 (getSystemEventQueue): Exception documentation added.
7622 * java/awt/Window.java:
7623 Reindented some code.
7624 (Window): Centralized implementation, documentation added.
7625 (finalize): Documentation added.
7626 (hide): Fixed typo in comment.
7627 (getWindowListeners): Documentation added.
7628 * java/awt/color/ColorSpace.java
7629 (toRGB): Documentation added.
7630 * java/awt/color/ICC_ColorSpace.java
7631 (ICC_ColorSpace): Documentation added.
7632 (toRGB): Throw exception, documentation added.
7633 (fromRGB): Throw exception, documentation added.
7634 (toCIEXYZ): Documentation added.
7635 (fromCIEXYZ): Documentation added.
7636 (getMinValue): Documentation added.
7637 (getMaxValue): Documentation added.
7638 * java/awt/geom/Dimension2D.java
7639 (clone): Documentation added.
7640 * java/awt/geom/GeneralPath.java
7641 (clone): Documentation added.
7642 * java/awt/geom/Line2D.java
7643 (clone): Documentation added.
7644 * java/awt/geom/QuadCurve2D.java
7645 (clone): Documentation added.
7646 * java/awt/image/ColorModel.java
7647 (ColorModel): Throw exception, documentation added.
7648 * java/awt/image/ImageFilter.java
7649 (clone): Doesnt throw CloneNotSupportedException.
7651 2003-01-14 Andrew Haley <aph@redhat.com>
7653 * java/lang/natRuntime.cc (_load): StackTrace access needs to be
7656 2003-01-10 Andrew Haley <aph@redhat.com>
7658 * include/dwarf2-signal.h: Remove x86_64.
7659 * configure.host (x86_64 DIVIDESPEC): Remove.
7660 * include/x86_64-signal.h: New file.
7661 * configure.in: Regenerate.
7663 2003-01-10 Michael Koch <konqueror@gmx.de>
7665 * java/net/DatagramSocket.java
7666 (ch): Description added.
7667 (remotePort): Initialize with -1.
7668 (connect): Doesnt throws SocketException.
7669 * java/net/MulticastSocket.java
7670 (setInterface): Merge with Classpath.
7671 * java/net/ServerSocket.java
7672 (closed): New member variable.
7673 (bind): Check if socket is closed.
7674 (close): Close an associated channel too, set new value to closed.
7675 (isBound): Reindented.
7676 (isClosed): Implemented.
7677 * java/net/Socket.java
7678 (closed): New member variable.
7679 (bind): Check if socket is closed.
7680 (connect): Check if socket is closed.
7681 (close): Close an associated channel too, set new value to closed.
7682 (isClosed): Implemented.
7684 2003-01-10 Michael Koch <konqueror@gmx.de>
7686 * java/awt/DisplayMode.java
7687 (equals): Fixed argument type and implementation.
7689 2003-01-07 Tom Tromey <tromey@redhat.com>
7691 * include/posix.h (_Jv_platform_usleep): Wrap in ifdef
7692 JV_HASH_SYNCHRONIZATION.
7693 * include/win32.h (_Jv_platform_usleep): Wrap in ifdef
7694 JV_HASH_SYNCHRONIZATION.
7696 2003-01-07 Michael Koch <konqueror@gmx.de>
7698 * java/net/DatagramSocket.java:
7699 Added classpath license info.
7700 (DatagramSocket): Merged description with classpath.
7701 (close): Merged description with classpath.
7702 (getChannel): Merged description with classpath.
7703 (getInetAddress): Merged description with classpath.
7704 (getPort): Merged description with classpath.
7705 (getLocalAddress): Merged description with classpath.
7706 (getLocalPort): Merged description with classpath.
7707 (getSoTimeout): Merged description with classpath.
7708 (setSoTimeout): Merged description with classpath.
7709 (getSendBufferSize): Merged description with classpath.
7710 (setSendBufferSize): Merged description with classpath.
7711 (getReceiveBufferSize): Merged description with classpath.
7712 (setReceiveBufferSize): Merged description with classpath.
7714 2003-01-04 Tom Tromey <tromey@redhat.com>
7716 * java/awt/List.java: Merged with Classpath.
7718 2003-01-03 Mark Wielaard <mark@klomp.org>
7720 * java/io/FileDescriptor.java (position): New private field.
7721 * java/io/natFileDescriptorPosix.cc (write): Up position.
7722 (setLength): Use and set position.
7723 (seek): Set position.
7724 (getFilePointer): Return position.
7725 (read): Up position.
7727 2003-01-03 Mark Wielaard <mark@klomp.org>
7729 Merge with Classpath:
7730 * java/io/ObjectStreamClass.java (lookup): Split method and call
7731 lookupForClassObject().
7732 (lookupForClassObject): New method.
7733 (isProxyClass): New field.
7734 (setClass): Set isProxyClass, add object to classLookupTable, set
7735 superClass and calculateOffsets.
7736 (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable
7737 and not a proxy class.
7738 (setFields): Set accessible true for serialPersistentFields.
7739 (getClassUID): Same for suid. And check if suid is of type long.
7740 (hasClassInitializer): Don't throw NoSuchMethodError.
7742 2003-01-03 Mark Wielaard <mark@klomp.org>
7744 * java/io/FileInputStream.java (finalize): Don't explicitly
7745 finalize FileDescriptor.
7747 2003-01-03 Jeff Sturm <jsturm@one-point.com>
7749 * configure.host (sparc*-*): Enable bytecode interpreter.
7751 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>
7753 * gnu/java/rmi/server/UnicastServerRef.java (unexportObject):
7754 Don't throw RemoteException.
7755 * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't
7756 throw RemoteException.
7758 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
7760 * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse,
7761 proxyHost): New static fields.
7762 (<clinit>): Initialize new fields.
7763 (connect): Use proxy if necessary.
7764 (usingProxy): Implement.
7766 2003-01-03 Eric Blake <ebb9@email.byu.edu>
7768 * java/util/TreeMap.java (fabricateTree): Fix off-by-one error.
7769 (TreeIterator.remove): Prefer IllegalStateException over
7770 ConcurrentModificationException, to match Sun.
7772 2002-12-22 Anthony Green <green@redhat.com>
7774 * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class.
7776 2003-01-02 Mark Wielaard <mark@klomp.org>
7778 * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must be
7780 (HTTP_USE_PROXY): Add field.
7781 (getResponseVals): Only set responseCode when not yet explicitly
7784 2003-01-02 Artur Biesiadowski <abies@pg.gda.pl>
7785 Mark Wielaard <mark@klomp.org>
7787 * java/util/zip/ZipFile.java (entries): Now HashMap.
7788 (readLeShort(DataInput, byte[])): Read from given byte array.
7789 (readLeInt(DataInput, byte[]): Likewise.
7790 (readLeShort(byte[] b, int off)): New method.
7791 (readLeInt(byte[] b, int off)): Likewise.
7792 (readEntries): Use byte arrays to read info in bigger chunks.
7793 (getEntries): Return HashMap.
7794 (getEntry): Use HashMap.
7795 (locBuf): New private field.
7796 (checkLocalHeader): Use locBuf to read info in one chunk.
7797 (getInputStream): Use entries HashMap, wrap PartialInputStream
7798 in BufferedInputStream.
7799 (ZipEntryEnumeration): Use HashMap and Interator.
7801 2003-01-02 Mark Wielaard <mark@klomp.org>
7802 Jeroen Frijters <jeroen@sumatra.nl>
7804 * java/net/URLClassLoader.java (Resource.getCodeSource):
7805 Fix check certs == null.
7806 (getCanonicalFileURL): Removed method.
7807 (JarURLLoader): Don't call removed method.
7808 (FileURLLoader): Likewise.
7809 (FileURLLoader.getResource): Don't canonicalize file name.
7811 2003-01-01 Tom Tromey <tromey@redhat.com>
7813 * Makefile.in: Rebuilt.
7814 * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi.
7815 * java/awt/AlphaComposite.java, java/awt/BasicStroke.java,
7816 java/awt/BufferCapabilities.java, java/awt/Button.java,
7817 java/awt/CheckboxMenuItem.java, java/awt/Choice.java,
7818 java/awt/Container.java, java/awt/Cursor.java,
7819 java/awt/EventQueue.java, java/awt/FileDialog.java,
7820 java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java,
7821 java/awt/MenuBar.java, java/awt/MenuComponent.java,
7822 java/awt/PopupMenu.java, java/awt/ScrollPane.java,
7823 java/awt/Scrollbar.java, java/awt/TextArea.java,
7824 java/awt/TextField.java, java/awt/color/CMMException.java,
7825 java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java,
7826 java/awt/color/ProfileDataException.java,
7827 java/awt/datatransfer/Clipboard.java,
7828 java/awt/datatransfer/DataFlavor.java,
7829 java/awt/datatransfer/FlavorMap.java,
7830 java/awt/datatransfer/SystemFlavorMap.java,
7831 java/awt/dnd/DragGestureEvent.java,
7832 java/awt/dnd/DragGestureRecognizer.java,
7833 java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java,
7834 java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java,
7835 java/awt/im/InputMethodHighlight.java,
7836 java/io/PipedOutputStream.java, java/io/PipedWriter.java,
7837 java/rmi/server/RMIClassLoader.java: Merged from Classpath.
7839 * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of
7840 `op' to BufferedImageOp.
7842 2002-12-31 Tom Tromey <tromey@redhat.com>
7844 Fix for PR libgcj/7416:
7845 * javax/naming/InitialContext.java (init): Use
7846 gnu.classpath.home.url.
7847 * java/security/Security.java: Use new properties.
7848 (loadProviders): Accept base url; use it.
7849 * java/lang/System.java: Document gnu.classpath.vm.shortname, and
7850 gnu.classpath.home.url.
7851 (gnu.classpath.home.url): Define.
7852 (gnu.classpath.vm.shortname): Likewise.
7854 2002-12-31 Tom Tromey <tromey@redhat.com>
7855 Ranjit Mathew <rmathew@hotmail.com>
7857 Fix for PR libgcj/8997:
7858 * java/lang/natObject.cc (spin): Use _Jv_platform_usleep.
7860 * include/posix.h (_Jv_platform_usleep): New function.
7861 * include/win32.h (_Jv_platform_usleep): New function.
7863 2002-12-29 Tom Tromey <tromey@redhat.com>
7865 * gcj/javaprims.h: Updated.
7866 * scripts/classes.pl (scan): Removed stray semicolon.
7868 2002-12-30 Mark Wielaard <mark@klomp.org>
7870 * java/net/URLStreamHandler.java (toExternalForm): Ignore port
7873 2002-12-30 Mark Wielaard <mark@klomp.org>
7875 * java/util/Properties (formatForOutput): Don't fall through to
7876 default case after escaping character.
7878 2002-12-30 Mark Wielaard <mark@klomp.org>
7880 * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset check
7883 2002-12-27 Mark Mitchell <mark@codesourcery.com>
7885 * boehm.cc: Remove stray semicolon.
7886 * interpret.cc: Likewise.
7887 * prims.cc: Likewise.
7888 * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition
7889 earlier to ensure default arguments are processed.
7890 * gcj/array.h (JArray): Add forward declaration.
7891 (elements): Likewise.
7892 * gcj/javaprim.h: Remove stray semicolons.
7893 * include/bohm-gc.h: Likewise.
7894 * include/jni.h: Likewise.
7895 * include/jvm.h: Likewise.
7896 * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass.
7898 2002-12-23 Jeff Sturm <jsturm@one-point.com>
7900 * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bit
7902 * java/lang/natClass.cc (initializeClass): Link vtable, otable,
7903 idt tables after initializing superclass.
7904 * java/lang/natClassLoader.cc (uaddr): New typedef.
7905 (_Jv_PrepareCompiledClass): Resolve superclass, interfaces
7906 if they are constant pool indicies. Don't link vtable, otable yet.
7908 2002-12-21 Anthony Green <green@redhat.com>
7910 * Makefile.am: Move org.xml.sax and org.w3c.dom into their own
7912 * Makefile.in: Rebuilt.
7914 2002-12-19 Anthony Green <green@redhat.com>
7916 * Makefile.am (ordinary_java_source_files): Add
7917 org/xml/sax/helpers/NewInstance.java.
7918 * Makefile.in: Rebuilt.
7919 * org/xml/sax/package.html, org/xml/sax/ext/package.html,
7920 org/xml/sax/helpers/package.html: New files.
7921 * org/xml/sax/*: Upgrade to SAX 2.0.1 release from
7922 http://www.saxproject.org.
7924 2002-12-19 Andrew Haley <aph@redhat.com>
7926 * java/util/natResourceBundle.cc: Include
7927 ArrayIndexOutOfBoundsException.h.
7928 (getCallingClassLoader): Don't put upper bound on stack search.
7929 Catch ArrayIndexOutOfBoundsException.
7931 2002-12-19 Tom Tromey <tromey@redhat.com>
7933 * libtool-version: Increased `current'.
7935 2002-12-19 Tom Tromey <tromey@redhat.com>
7937 * java/lang/natClassLoader.cc (defineClass0): Removed erroneous
7939 * java/lang/ClassLoader.java (defineClass): Use chained
7940 exception when rethrowing.
7941 * defineclass.cc (handleClassBegin): Mark class as interpreted.
7942 * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New
7944 * resolve.cc (_Jv_PrepareMissingMethods): New function.
7945 (_Jv_PrepareClass): Use it.
7946 * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote.
7947 (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend.
7948 * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS.
7949 (Class): _Jv_PrepareMissingMethods now friend.
7950 * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize.
7951 Record `NULL' for system class loader.
7952 (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case
7953 system class loader.
7954 (_Jv_FindClassInCache): Likewise.
7955 (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info.
7956 (_Jv_FindClass): Special case system class loader.
7957 * java/lang/natClass.cc (_Jv_abstractMethodError): New function.
7958 (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty
7960 (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method
7962 (_getDeclaredMethod): Don't return synthetic methods.
7963 (getDeclaredMethods): Likewise.
7964 (_getMethod): Likewise.
7965 (_getMethods): Likewise.
7967 2002-12-18 Raif Naffah <raif@fl.net.au>
7969 * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in
7970 canonical form after divide().
7971 (modInverse): Likewise.
7973 2002-12-13 Casey Marshall <rsdio@metastatic.org>
7974 Mark Wielaard <mark@klomp.org>
7976 * java/security/SecurityRandom (digest): Removed field.
7977 (SecureRandom): Check all providers for case-insensitive SecureRandom
7978 implementation. Don't ignore classname == null. Fallback to SHA1PRNG
7980 (getInstance(String,Provider,boolean): New method.
7981 (getInstance(String)): Use new method.
7982 (getInstance(String,String)): Likewise.
7983 (getInstance(String,Provider)): Likewise.
7985 2002-12-13 Casey Marshall <rsdio@metastatic.org>
7987 * java/security/Security.java (loadProviders): Increment i only once.
7989 2002-12-12 Mark Wielaard <mark@klomp.org>
7991 * java/lang/ClassLoader.java (resolveClass0): Transform
7992 ClassNotFoundException to NoClassDefFoundError. Transform all other
7993 throwables to LinkageError.
7995 2002-12-11 Tom Tromey <tromey@redhat.com>
7997 * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.
7999 * java/lang/ClassLoader.java (loadedClasses): New field.
8000 (defineClass): Fixed indentation. Put new class in
8002 (findLoadedClass): Implement here.
8003 * java/lang/natClassLoader.cc (findLoadedClass): Removed.
8005 2002-12-10 Tom Tromey <tromey@redhat.com>
8007 * Makefile.in: Rebuilt.
8008 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
8009 * gnu/gcj/runtime/natVMClassLoader.cc: New file.
8010 (gnu::gcj::runtime::VMClassLoader::findClass): Moved here.
8011 * java/lang/natClassLoader.cc
8012 (gnu::gcj::runtime::VMClassLoader::findClass): Removed.
8014 2002-12-10 Mark Wielaard <mark@klomp.org>
8015 Tom Tromey <tromey@redhat.com>
8017 * java/net/URLClassLoader.java (getCanonicalFileURL): New method.
8018 (JarURLLoader): Use it.
8019 (FileURLLoader): Likewise.
8020 (JarURLResource.getURL): Use chained exception.
8021 (FileResource.getURL): Likewise.
8022 (FileURLLoader.getResource): Use canonical file name.
8023 (addURL): Indentation fix.
8025 2002-12-10 Tom Tromey <tromey@redhat.com>
8027 * include/win32.h: Fixed typo in "DISABLE_JAVA_NET".
8028 From Laurent Bardet <l.bardet@magic.fr>.
8030 2002-12-09 Tom Tromey <tromey@redhat.com>
8032 * include/win32.h (_Jv_platform_solib_prefix): New define.
8033 (_Jv_platform_solib_suffix): Likewise.
8034 * include/posix.h (_Jv_platform_solib_prefix): New define.
8035 (_Jv_platform_solib_suffix): Likewise.
8036 * java/lang/natRuntime.cc: Include StackTrace.h.
8037 (_load): Use findLibrary and new platform defines.
8038 (nativeGetLibname): Use new platform defines.
8040 * java/util/natResourceBundle.cc (getCallingClassLoader): Assume
8043 2002-12-08 Mark Wielaard <mark@klomp.org>
8045 * gnu/gcj/protocol/jar/Connection.java (getJarFile): download and
8046 cache remote jar files.
8047 * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only
8048 add File.separator to URL when it is a directory.
8049 * java/lang/ClassLoader.java: Add Classpath javadoc.
8051 (getParent): Add (disabled) security check.
8052 (findLibrary): New default method.
8053 * java/net/JarURLConnection.java (getManifest): Implement.
8054 (getInputStream): Only create InputStream when entry exists.
8055 (getHeaders): Only use jarFileURLConnection or JarEntry to set length
8057 * java/net/URLClassLoader.java: New/Rewritten version from Classpath.
8059 2002-12-08 Mark Wielaard <mark@klomp.org>
8061 * java/util/ResourceBundle.java (resourceBundleCache): Not final.
8062 (lastDefaultLocale): New field.
8063 (getBundle): When Locale.getDefault != lastDefaultLocale reset
8064 resourceBundleCache.
8066 2002-12-06 Mark Wielaard <mark@klomp.org>
8068 * java/net/InetAddress.java (toString): Use hostname when not null,
8069 don't do an explicit reverse getHostName() lookup.
8070 * java/net/Socket.java (setSocketImplFactory): When fac == null throw
8071 NullPointerException.
8073 2002-12-06 Tom Tromey <tromey@redhat.com>
8075 * include/java-interp.h (class _Jv_InterpMethod): Added
8077 * boehm.cc (_Jv_MarkObj): Consolidated interpreter code. Also
8078 mark `prepared' field of interpreted method.
8079 * interpret.cc (compile): Use _Jv_AllocBytes.
8081 2002-12-05 Andrew Haley <aph@redhat.com>
8083 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Throw
8084 #ifdef (HAVE_BACKTRACE) around the whole function body.
8086 2002-12-05 Tom Tromey <tromey@redhat.com>
8088 * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.
8089 * resolve.cc: Don't include AbstractMethodError.h.
8090 (_Jv_abstractMethodError): Removed.
8091 * defineclass.cc (handleMethodsBegin): Initialize method index to
8093 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set
8094 method index for "new" final method.
8095 (_Jv_SetVTableEntries): Compare index against -1 instead of using
8096 isVirtualMethod. Added `flags' argument.
8097 (_Jv_MakeVTable): Throw exception for abstract method in concrete
8100 2002-12-04 Tom Tromey <tromey@redhat.com>
8102 * java/net/SocketPermission.java (hashCode): Rewrote.
8104 2002-12-04 Tom Tromey <tromey@redhat.com>
8106 * Makefile.in: Rebuilt.
8107 * Makefile.am (nat_source_files): Added natVMSecurityManager,
8109 * java/util/ResourceBundle.java (Security): Removed.
8110 (getCallingClassLoader): Now native.
8111 * java/util/natResourceBundle.cc: New file.
8112 * java/lang/natVMSecurityManager.cc: New file.
8113 * java/lang/VMSecurityManager.java (getClassContext): Now native.
8115 2002-12-03 Mark Wielaard <mark@klomp.org>
8117 * java/util/jar/JarFile.java (manifest): Not final.
8118 (manifestRead): New field.
8119 (JarFile): Don't read Manifest in constructor.
8120 (getManifest): New method.
8121 (JarEnumeration.nextElement): Use new method.
8122 (getEntry): Likewise.
8123 * java/util/zip/ZipFile.java (name): Final.
8125 (entries): Change type to Hashtable.
8126 (closed): New field.
8127 (ZipFile): Don't read enties in constructor.
8128 (readEntries): Use Hashtable.
8129 (close): Set new close flag and set entries to null inside
8131 (entries): Contruct enumeration using new getEntries() method and
8133 (getEntryIndex): Removed.
8134 (getEntries): New method.
8135 (getEntry): Use new getEntries() method and entries Hastable.
8136 (getInputStream): Likewise.
8137 (size): Return getEntries().size().
8138 (ZipEntryEnumeration): Wrap entries Hashtable elements.
8139 * java/util/zip/ZipEntry.java (cal): Don't initialize.
8141 (dostime): New field.
8142 (zipFileIndex): Removed.
8143 (ZipEntry(ZipEntry)): Copy dostime.
8144 (setDOSTime): Now final and doesn't convert dos time.
8145 (getDOSTime): Likewise.
8146 (setTime): Convert dos time.
8147 (getTime): Likewise.
8148 (getCalendar): New method.
8149 (setExtra): Use setTime().
8150 * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg.
8152 2002-12-03 Tom Tromey <tromey@redhat.com>
8154 * java/lang/Character.java (forDigit): Formatting fix.
8156 2002-12-03 Raif Naffah <raif@fl.net.au>
8158 * java/security/spec/DSAParameterSpec.java (getP): Return p, not q.
8159 * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise.
8160 * java/security/spec/DSAPublicKeySpec.java (getP): Likewise.
8162 2002-12-03 Andrew Haley <aph@redhat.com>
8164 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call
8166 (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL.
8167 (_Jv_PopClass): New.
8168 (_Jv_PushClass): New.
8169 * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to
8170 discover the ClassLoader of our caller.
8171 (_Jv_CheckArrayStore): Don't check that a class is assignment
8172 compatible with Object.
8173 * java/lang/natVMTHrowable.cc: Delete.
8174 * gnu/gcj/runtime/StackTrace.java: New, partly copied from
8175 java.lang.VMThrowable.
8176 (StackTrace(), StackTrace(int)): New constructors.
8177 (classAt, methodAt, update, methodAtAddress): New methods.
8179 * java/lang/VMThrowable.java: Use StackTrace instead of
8181 * java/lang/Class.h (getClassLoaderInternal): New.
8182 (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass.
8183 Be friendly with gnu::gcj::runtime::StackTrace.
8184 (Object.chain): New field.
8185 * include/java-interp.h (class _Jv_InterpMethod): Be friendly with
8186 gnu::gcj::runtime::StackTrace.
8187 * gnu/gcj/runtime/natStackTrace.cc: New file.
8188 * gnu/gcj/runtime/MethodRef.java: New file.
8189 * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal()
8190 instead of getClassLoader().
8191 * verify.cc (class _Jv_BytecodeVerifier): Likewise.
8192 java::lang::VMThrowable.
8193 * Makefile.am (core_java_source_files): Add MethodRef.java,
8195 (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc.
8196 * Makefile.in: Rebuild.
8198 2002-12-02 Kaz Kojima <kkojima@gcc.gnu.org>
8200 * configure.host [sh-linux* | sh[34]*-linux*]: Don't set
8201 CHECKREFSPEC and EXCEPTIONSPEC. Set can_unwind_signal to
8202 yes also for sh-linux* and sh[34]*-linux*.
8203 * configure.in: Add sh-linux* and sh[34]*-linux* cases and
8204 set SIGNAL_HANDLER to use DWARF2 exception for them.
8205 * configure: Regenerate.
8207 2002-12-02 Tom Tromey <tromey@redhat.com>
8209 * jni.cc: Added `name' argument.
8210 * include/jni.h (struct JNINativeInterface) [DefineClass]: Added
8211 `const char *' argument.
8212 (class _Jv_JNIEnv) [DefineClass]: Likewise.
8214 2002-12-01 Tom Tromey <tromey@redhat.com>
8216 Bug compatibility, for PR libgcj/8738:
8217 * java/io/CharArrayWriter.java (close): Do nothing.
8219 (reset): Don't touch `closed'.
8220 (write(int)): Don't throw IOException.
8221 (write(char[],int,int)): Likewise.
8222 (write(String,int,int)): Likewise.
8225 2002-12-01 Mark Wielaard <mark@klomp.org>
8227 * java/lang/SecurityManager.java: Remerge comments, indenting and
8228 checkXXX methods with Classpath.
8230 2002-11-29 Scott Gilbertson <scottg@mantatest.com>
8232 * java/awt/image/ColorModel.java (getUnnormalizedComponents,
8233 getNormalizedComponents): Fix calculation which was using one too
8234 many bits in the unnormalized format.
8236 2002-11-29 Gary Benson <gbenson@redhat.com>
8239 * java/beans/Introspector.java (flushCaches): New method.
8240 (flushFromCaches): Likewise.
8242 2002-11-29 Michael Koch <konqueror@gmx.de>
8244 * java/nio/channels/DatagramChannel.java
8245 (open): Added exception documentation.
8246 (write): Added exception documentation.
8247 (connect): Added exception documentation.
8248 (disconnect): Added exception documentation.
8249 (isConnected): Added exception documentation.
8250 (read): Added exception documentation.
8251 (receive): Added exception documentation.
8252 (send): Added exception documentation.
8253 (validOps): Added exception documentation.
8254 * java/nio/channels/SocketChannel.java
8255 (open): Added exception documentation.
8256 (read): Added exception documentation.
8257 (write): Added exception documentation.
8258 (connect): Added exception documentation.
8259 (finishConnect): Added exception documentation.
8261 2002-11-29 Michael Koch <konqueror@gmx.de>
8263 * gnu/java/nio/DatagramChannelImpl:
8264 (fd): New member variable to store file descriptor of socket.
8265 * gnu/java/nio/SelectionKeyImpl.java:
8267 (readyOps): New member variable.
8268 (interestOps): New member variable.
8269 (readyOps): Implemented.
8270 (readyOps): New method to set member variable readyOps.
8271 (interestOps): Replaced ops by interestOps.
8272 * gnu/java/nio/SelectorImpl.java:
8273 (SelectorImpl): Initialize key sets.
8274 (select): Call select with -1 instead of Long.MAX_VALUE).
8275 (java_do_select): Make it a native method.
8276 (getFDsAsArray): New helper method.
8277 (select): Remove canceled keys, give only interested file discriptors
8278 to java_do_select, set ready ops.
8279 (add): No need to initialize keys set here.
8280 (add_selected): No need to initialize selected set here.
8281 (deregisterCanceledKeys): New helper method.
8282 (register): Set interest ops, set attachments, added handling of datagram
8284 * gnu/java/nio/ServerSocketChannelImpl:
8285 (SocketAccept): Renamed from NioSocketAccept.
8286 (implConfigureBlocking): Implemented.
8287 (accept): Use SocketAccept instead of NioSocketAccept.
8288 * gnu/java/nio/SocketChannelImpl:
8289 Reactivate native methods.
8291 2002-11-29 Michael Koch <konqueror@gmx.de>
8293 * gnu/java/nio/natByteBufferImpl.cc,
8294 gnu/java/nio/natCharBufferImpl.cc,
8295 gnu/java/nio/natDoubleBufferImpl.cc,
8296 gnu/java/nio/natFloatBufferImpl.cc,
8297 gnu/java/nio/natIntBufferImpl.cc,
8298 gnu/java/nio/natLongBufferImpl.cc,
8299 gnu/java/nio/natSelectorImpl.cc,
8300 gnu/java/nio/natServerSocketChannelImpl.cc,
8301 gnu/java/nio/natShortBufferImpl.cc,
8302 gnu/java/nio/natSocketChannelImpl.cc:
8303 New files that implement native functionalities.
8305 2002-11-29 Michael Koch <konqueror@gmx.de>
8307 * gnu/java/nio/ByteBufferImpl.java
8308 (ByteBufferImpl): Moved position() after limit.
8309 (nio_*): Use native implementation.
8310 * gnu/java/nio/CharBufferImpl.java:
8312 (endian): New member variable string endianess of buffer.
8313 (CharBufferImpl): Moved position() after limit.
8314 (nio_*): Use native implementation.
8315 (subSequence): Implemented.
8316 * gnu/java/nio/DoubleBufferImpl.java
8317 (DoubleBufferImpl): Moved position() after limit.
8318 (nio_*): Use native implementation.
8319 * gnu/java/nio/FloatBufferImpl.java
8321 (FloatBufferImpl): Moved position() after limit.
8322 (nio_*): Use native implementation.
8323 * gnu/java/nio/IntBufferImpl.java
8324 Added needed imports, Reformated.
8325 (IntBufferImpl): Moved position() after limit.
8326 (nio_*): Use native implementation.
8327 * gnu/java/nio/LongBufferImpl.java
8329 (LongBufferImpl): Moved position() after limit.
8330 (nio_*): Use native implementation.
8331 * gnu/java/nio/ShortBufferImpl.java
8333 (ShortBufferImpl): Moved position() after limit.
8334 (nio_*): Use native implementation.
8336 2002-11-27 Julian Dolby <dolby@us.ibm.com>
8338 * java/util/Locale.java (toString): Improve efficiency if country
8339 and variant are both empty.
8341 2002-11-26 Tom Tromey <tromey@redhat.com>
8343 * verify.cc (pop_init_ref): New method.
8344 (verify_instructions_0) [op_iaload, op_laload, op_faload,
8345 op_daload, op_aaload, op_baload, op_caload, op_saload, op_iastore,
8346 op_lastore, op_fastore, op_dastore, op_aastore, op_bastore,
8347 op_castore, op_sastore, op_areturn, op_arraylength, op_checkcast,
8348 op_instanceof, op_monitorenter, op_monitorexit]: Use it.
8349 (verify_instructions_0) [op_invokevirtual, op_invokespecial,
8350 op_invokestatic, op_invokeinterface]: Use pop_init_ref. Don't
8351 let `this' argument be uninitialized. Don't let `null' be passed
8352 as `this' to construtor.
8354 2002-11-26 Mark Wielaard <mark@klomp.org>
8356 * javax/transaction/HeuristicCommitException.java: Classpath merge.
8357 * javax/transaction/HeuristicMixedException.java: Likewise.
8358 * javax/transaction/HeuristicRollbackException.java: Likewise.
8359 * javax/transaction/InvalidTransactionException.java: Likewise.
8360 * javax/transaction/NotSupportedException.java: Likewise.
8361 * javax/transaction/RollbackException.java: Likewise.
8362 * javax/transaction/Status.java: Likewise.
8363 * javax/transaction/Synchronization.java: Likewise.
8364 * javax/transaction/SystemException.java: Likewise.
8365 * javax/transaction/Transaction.java: Likewise.
8366 * javax/transaction/TransactionManager.java: Likewise.
8367 * javax/transaction/TransactionRequiredException.java: Likewise.
8368 * javax/transaction/TransactionRolledbackException.java: Likewise.
8369 * javax/transaction/UserTransaction.java: Likewise.
8370 * javax/transaction/xa/XAException.java: Likewise.
8371 * javax/transaction/xa/XAResource.java: Likewise.
8372 * javax/transaction/xa/Xid.java: Likewise.
8374 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>
8376 * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't
8378 * java/net/natPlainSocketImpl.cc (socklen_t): Don't define.
8379 * include/posix.h (socklen_t): Define if not already defined.
8381 2002-11-25 Tom Tromey <tromey@redhat.com>
8383 * verify.cc (type::compatible): Backed out broken change.
8385 * verify.cc (type::compatible): Check initialization status
8387 * interpret.cc (run) [insn_invokespecial, invokespecial_resolved]:
8388 Don't use NULLCHECK.
8390 2002-11-23 H.J. Lu <hjl@gnu.org>
8392 * acinclude.m4 (AC_COMPILE_CHECK_SIZEOF): Removed.
8393 Include ../config/accross.m4.
8394 * aclocal.m4; Rebuild.
8395 * configure: Likewise.
8397 2002-11-23 Mark Wielaard <mark@klomp.org>
8399 * javax/naming/AuthenticationException.java: Update copyright header.
8400 * javax/naming/AuthenticationNotSupportedException.java: Likewise.
8401 * javax/naming/Binding.java: Likewise.
8402 * javax/naming/CannotProceedException.java: Likewise.
8403 * javax/naming/CommunicationException.java: Likewise.
8404 * javax/naming/CompositeName.java: Likewise.
8405 * javax/naming/CompoundName.java: Likewise.
8406 * javax/naming/ConfigurationException.java: Likewise.
8407 * javax/naming/Context.java: Likewise.
8408 * javax/naming/ContextNotEmptyException.java: Likewise.
8409 * javax/naming/InitialContext.java: Likewise.
8410 * javax/naming/InsufficientResourcesException.java: Likewise.
8411 * javax/naming/InterruptedNamingException.java: Likewise.
8412 * javax/naming/LimitExceededException.java: Likewise.
8413 * javax/naming/LinkException.java: Likewise.
8414 * javax/naming/LinkLoopException.java: Likewise.
8415 * javax/naming/LinkRef.java: Likewise.
8416 * javax/naming/MalformedLinkException.java: Likewise.
8417 * javax/naming/NameAlreadyBoundException.java: Likewise.
8418 * javax/naming/NameClassPair.java: Likewise.
8419 * javax/naming/NameNotFoundException.java: Likewise.
8420 * javax/naming/NameParser.java: Likewise.
8421 * javax/naming/NamingEnumeration.java: Likewise.
8422 * javax/naming/NamingSecurityException.java: Likewise.
8423 * javax/naming/NoInitialContextException.java: Likewise.
8424 * javax/naming/NoPermissionException.java: Likewise.
8425 * javax/naming/NotContextException.java: Likewise.
8426 * javax/naming/OperationNotSupportedException.java: Likewise.
8427 * javax/naming/PartialResultException.java: Likewise.
8428 * javax/naming/Reference.java: Likewise.
8429 * javax/naming/Referenceable.java: Likewise.
8430 * javax/naming/ReferralException.java: Likewise.
8431 * javax/naming/ServiceUnavailableException.java: Likewise.
8432 * javax/naming/SizeLimitExceededException.java: Likewise.
8433 * javax/naming/TimeLimitExceededException.java: Likewise.
8434 * javax/naming/directory/Attribute.java: Likewise.
8435 * javax/naming/directory/AttributeInUseException.java: Likewise.
8436 * javax/naming/directory/AttributeModificationException.java: Likewise.
8437 * javax/naming/directory/Attributes.java: Likewise.
8438 * javax/naming/directory/BasicAttribute.java: Likewise.
8439 * javax/naming/directory/BasicAttributes.java: Likewise.
8440 * javax/naming/directory/DirContext.java: Likewise.
8441 * javax/naming/directory/InitialDirContext.java: Likewise.
8442 * javax/naming/directory/InvalidAttributeIdentifierException.java:
8444 * javax/naming/directory/InvalidAttributeValueException.java: Likewise.
8445 * javax/naming/directory/InvalidAttributesException.java: Likewise.
8446 * javax/naming/directory/InvalidSearchControlsException.java: Likewise.
8447 * javax/naming/directory/InvalidSearchFilterException.java: Likewise.
8448 * javax/naming/directory/ModificationItem.java: Likewise.
8449 * javax/naming/directory/NoSuchAttributeException.java: Likewise.
8450 * javax/naming/directory/SchemaViolationException.java: Likewise.
8451 * javax/naming/directory/SearchControls.java: Likewise.
8452 * javax/naming/directory/SearchResult.java: Likewise.
8453 * javax/naming/event/EventContext.java: Likewise.
8454 * javax/naming/event/EventDirContext.java: Likewise.
8455 * javax/naming/event/NamespaceChangeListener.java: Likewise.
8456 * javax/naming/event/NamingEvent.java: Likewise.
8457 * javax/naming/event/NamingExceptionEvent.java: Likewise.
8458 * javax/naming/event/NamingListener.java: Likewise.
8459 * javax/naming/event/ObjectChangeListener.java: Likewise.
8460 * javax/naming/ldap/Control.java: Likewise.
8461 * javax/naming/ldap/ControlFactory.java: Likewise.
8462 * javax/naming/ldap/ExtendedRequest.java: Likewise.
8463 * javax/naming/ldap/ExtendedResponse.java: Likewise.
8464 * javax/naming/ldap/HasControls.java: Likewise.
8465 * javax/naming/ldap/InitialLdapContext.java: Likewise.
8466 * javax/naming/ldap/LdapContext.java: Likewise.
8467 * javax/naming/ldap/LdapReferralException.java: Likewise.
8468 * javax/naming/ldap/UnsolicitedNotification.java: Likewise.
8469 * javax/naming/ldap/UnsolicitedNotificationEvent.java: Likewise.
8470 * javax/naming/ldap/UnsolicitedNotificationListener.java: Likewise.
8471 * javax/naming/spi/DirObjectFactory.java: Likewise.
8472 * javax/naming/spi/DirStateFactory.java: Likewise.
8473 * javax/naming/spi/DirectoryManager.java: Likewise.
8474 * javax/naming/spi/InitialContextFactory.java: Likewise.
8475 * javax/naming/spi/InitialContextFactoryBuilder.java: Likewise.
8476 * javax/naming/spi/NamingManager.java: Likewise.
8477 * javax/naming/spi/ObjectFactory.java: Likewise.
8478 * javax/naming/spi/ObjectFactoryBuilder.java: Likewise.
8479 * javax/naming/spi/ResolveResult.java: Likewise.
8480 * javax/naming/spi/Resolver.java: Likewise.
8481 * javax/naming/spi/StateFactory.java: Likewise.
8483 * javax/naming/spi/NamingManager.java (ofb): Package private.
8485 2002-11-21 Mark Wielaard <mark@klomp.org>
8487 * java/net/URL.java: Merge with Classpath (partly).
8488 * java/net/URLStreamHandler: Merge with Classpath.
8490 2002-11-22 Michael Koch <konqueror@gmx.de>
8493 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
8495 (_Jv_platform_on_close): Moved out of #ifndef DISBALE_JAVA_NET.
8496 (backtrace): Moved out of #ifndef DISBALE_JAVA_NET.
8498 2002-11-21 Michael Koch <konqueror@gmx.de>
8500 * include/posix.h: I put too much into the #ifndef DISABLE_JAVA_NET.
8501 Only the new network functions should be in it.
8503 2002-11-21 Michael Koch <konqueror@gmx.de>
8505 * include/posix.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
8506 * include/win32.h: Moved new functions into a #ifndef DISABLE_JAVA_NET
8508 2002-11-21 Michael Koch <konqueror@gmx.de>
8510 * java/nio/channels/AsynchronousCloseException.java,
8511 java/nio/channels/CancelledKeyException.java,
8512 java/nio/channels/ClosedByInterruptException.java,
8513 java/nio/channels/ConnectionPendingException.java,
8514 java/nio/channels/FileLockInterruptionException.java,
8515 java/nio/channels/IllegalSelectorException.java,
8516 java/nio/channels/NoConnectionPendingException.java,
8517 java/nio/channels/NonReadableChannelException.java,
8518 java/nio/channels/NonWritableChannelException.java,
8519 java/nio/channels/NotYetBoundException.java,
8520 java/nio/channels/NotYetConnectedException.java,
8521 java/nio/channels/OverlappingFileLockException.java,
8522 java/nio/channels/UnresolvedAddressException.java,
8523 java/nio/channels/UnsupportedAddressTypeException.java:
8525 * Makefile.am (ordinary_java_source_files): Added new files.
8526 * Makefile.in: Regenerated.
8528 2002-11-21 Michael Koch <konqueror@gmx.de>
8531 (_Jv_socket): New method.
8532 (_Jv_connect): New method.
8533 (_Jv_close): New method.
8534 (_Jv_platform_close_on_exec): Prefixed system function with "::".
8535 (_Jv_bind): New method.
8536 (_Jv_listen): New method.
8537 (_Jv_write): New method.
8538 (_Jv_read): New method.
8540 (_Jv_socket): New method.
8541 (_Jv_connect): New method.
8542 (_Jv_close): New method.
8543 (_Jv_bind): New method.
8544 (_Jv_listen): New method.
8545 (_Jv_write): New method.
8546 (_Jv_read): New method.
8547 * java/net/natNetworkInterface.cc:
8548 Include platform.h, removed inclusion of socket.h
8549 (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and
8550 ::close() by _Jv_close().
8551 * java/net/natPlainDatagramSocketImpl.cc:
8552 Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind,
8553 added some new lines to make code more readable.
8554 (create): Replaced ::socket() by _Jv_socket().
8555 (close): Replaced NATIVE_CLOSE() by _Jv_close().
8556 * java/net/natPlainSocketImpl.cc:
8557 Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept,
8558 removed include of socket.h, removed some windows defines
8559 (now in include/win32.h).
8560 (create): Replaced ::socket() by _Jv_socket().
8561 (close): Replaced NATIVE_CLOSE() by _Jv_close().
8562 (write): Replaced ::read by _Jv_write().
8563 (read): Replaced ::read by _Jv_read().
8565 2002-11-20 Michael Koch <konqueror@gmx.de>
8567 * Makefile.am (ordinary_java_source_files):
8568 Added java/nio/channels/FileChannel.java.
8569 * Makefile.in: Regenerated.
8571 2002-11-20 Michael Koch <konqueror@gmx.de>
8573 * java/io/FileInputStream.java
8574 (getChannel): New method.
8575 * java/io/FileOutputStream.java
8576 (getChannel): New method.
8577 * java/net/ServerSocket.java
8578 (bind): Removed duplicate code and called another bind method instead.
8579 * java/nio/channels/SelectionKey.java
8580 (isValid): Removed wrong exception documentation.
8581 * java/nio/channels/ServerSocketChannel.java
8582 (accept): Added exception documentation.
8583 (open): Fixed typo, added exception documentation.
8584 * java/nio/channels/spi/AbstractSelectableChannel.java
8585 (implCloseChannel): Added exception documentation.
8587 (register): Added exception documentation.
8589 2002-11-20 Andreas Jaeger <aj@suse.de>
8591 * configure: Regenerated with new libtool.m4.
8593 2002-11-19 Tom Tromey <tromey@redhat.com>
8595 * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', not
8597 (finalize_referred_to_object): Don't modify `referent' or `copy'
8599 (add_to_hash): Correctly set `n->next' when updating list.
8600 * java/lang/ref/Reference.java (enqueue): Return false if already
8603 2002-11-19 Ranjit Mathew <rmathew@hotmail.com>
8605 * include/jni.h: Add missing JNICALL and JNIEXPORT attributes
8606 to function and function pointer declarations in accordance with
8607 Sun's JDKs. Define JNIIMPEXP to either JNIEXPORT or JNIIMPORT
8608 based on whether __GCJ_JNI_IMPL__ has been defined or not.
8609 * jni.cc: Add missing JNICALL and JNIEXPORT attributes to
8610 JNI function definitions.
8612 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8614 * java/nio/charset/CoderResult.java (Cache.get): Fix a bug
8615 that was causing CoderResults to be cached, not WeakReferences
8618 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>
8620 * java/security/KeyStore.java (getInstance): Fix
8621 comment and throw IllegalArgumentException if
8622 given provider is null.
8623 (getInstance): New method for jdk1.4 compatibility.
8625 2002-11-18 Michael Koch <konqueror@gmx.de>
8627 * java/net/PlainSocketImpl.java: Fix imports.
8629 2002-11-18 Michael Koch <konqueror@gmx.de>
8631 * java/nio/channels/SelectionKey.java
8632 (isValid): Added exception documentation.
8633 * java/nio/channels/Selector.java
8634 (open): Declare "throws IOException".
8636 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8638 * java/nio/charset/Charset.java
8639 (<clinit>): New method.
8640 (encode): Synchronize use of cached encoder object.
8641 (decode): Synchronize use of cached encoder object.
8643 2002-11-18 Michael Koch <konqueror@gmx.de>
8645 * gnu/java/nio/ByteBufferImpl.java,
8646 gnu/java/nio/CharBufferImpl.java,
8647 gnu/java/nio/DatagramChannelImpl.java,
8648 gnu/java/nio/DoubleBufferImpl.java,
8649 gnu/java/nio/FileChannelImpl.java,
8650 gnu/java/nio/FloatBufferImpl.java,
8651 gnu/java/nio/IntBufferImpl.java,
8652 gnu/java/nio/LongBufferImpl.java,
8653 gnu/java/nio/PipeImpl.java,
8654 gnu/java/nio/SelectionKeyImpl.java,
8655 gnu/java/nio/SelectorImpl.java,
8656 gnu/java/nio/SelectorProviderImpl.java,
8657 gnu/java/nio/ServerSocketChannelImpl.java,
8658 gnu/java/nio/ShortBufferImpl.java,
8659 gnu/java/nio/SocketChannelImpl.java,
8660 java/nio/DoubleBuffer.java,
8661 java/nio/FloatBuffer.java,
8662 java/nio/IntBuffer.java,
8663 java/nio/LongBuffer.java,
8664 java/nio/ShortBuffer.java,
8665 java/nio/channels/FileChannel.java: New files.
8667 2002-11-18 Michael Koch <konqueror@gmx.de>
8669 * Makefile.am (ordinary_java_source_files):
8670 Added java/nio/ReadOnlyBufferException.java and
8671 java/nio/channels/ClosedSelectorException.java.
8672 * Makefile.in: Regenerated.
8674 2002-11-18 Michael Koch <konqueror@gmx.de>
8676 * java/net/PlainSocketImpl.java: Reworked imports.
8677 * java/net/ServerSocket.java
8678 (ServerSocket): Create socket.
8679 * java/net/SocketAddress.java: Documentation added.
8680 * java/net/natPlainSocketImpl.cc: Reindented.
8681 * java/nio/ReadOnlyBufferException.java: New file
8682 * java/nio/channels/ClosedChannelException.java: Documentation added.
8683 * java/nio/channels/ClosedSelectorException.java: New file.
8685 2002-11-17 Mark Wielaard <mark@klomp.org>
8687 * java/net/HttpURLConnection.java ((getPermission): Take port
8689 (getErrorStream): Implement.
8691 2002-11-17 Mark Wielaard <mark@klomp.org>
8693 * java/net/HttpURLConnection.java: Merge with GNU Classpath.
8695 2002-11-16 Mark Wielaard <mark@klomp.org>
8697 Integrate work by Raif S. Naffah (raif@fl.net.au)
8698 * java/security/DummyKeyPairGenerator.java (clone): New method.
8699 * java/security/DummyMessageDigest.java (clone): New method.
8700 (engineUpdate): Now public.
8701 (engineReset): Likewise.
8702 (engineDigest): Likewise.
8703 (engineGetDigestLength): New method.
8704 * java/security/DummySignature.java (clone): New method.
8705 * java/security/KeyPairGenerator.java (provider): Now package private.
8706 (getInstance(String)): Use getInstance(String,Provider).
8707 (getInstance(String,String): Use getInstance(String,Provider)
8708 (getInstance(String,Provider): New method.
8709 (getInstance(String,String,Provider): Don't cast DummyKeyPairGenerator.
8710 * java/security/KeyPairGeneratorSpi.java (clone): New method.
8711 * java/security/MessageDigest.java (provider): Now package private.
8712 (getInstance(String): Use getInstance(String,Provider).
8713 (getInstance(String,String): Use getInstance(String,Provider)
8714 (getInstance(String,Provider): New method.
8715 * java/security/Provider.java (toCanonicalKey): New method.
8716 (get): New method that uses toCanonicalKey().
8717 (put): Use toCanonicalKey().
8719 * java/security/Security.java (insertProviderAt): Provider index is one
8720 based, not zero based.
8721 (addProvider): Likewise.
8722 (removeProvider): Likewise.
8723 * java/security/Signature.java (provider): Now package private.
8724 (getInstance(String)): Use getInstance(String,Provider).
8725 (getInstance(String,String): Use getInstance(String,Provider)
8726 (getInstance(String,Provider): New method.
8727 (getInstance(String,String,Provider): Don't cast DummySignature.
8729 2002-11-15 Tom Tromey <tromey@redhat.com>
8732 * java/util/zip/GZIPInputStream.java (read): Check file size.
8733 Look in inflater for remaining input bytes.
8734 (read4): Added buf and offset arguments.
8736 2002-11-12 Eric Blake <ebb9@email.byu.edu>
8738 * java/applet/AppletContext.java: Fix typo and remove redundant
8741 2002-11-14 Tom Tromey <tromey@redhat.com>
8743 * java/lang/natRuntime.cc (insertSystemProperties): Set
8746 2002-11-13 Michael Koch <konqueror@gmx.de>
8748 * java/nio/ByteBuffer.java
8749 (allocate): New method.
8754 2002-11-13 Michael Koch <konqueror@gmx.de>
8756 * java/nio/channels/AlreadyConnectedException.java:
8757 Removed unneeded import.
8758 (AlreadyConnectedException): Documentation added.
8759 * java/nio/channels/Pipe.java
8760 (SinkChannel.SinkChannel): Documentation added.
8761 (SinkChannel.validOps): New method.
8762 (SourceChannel.SourceChannel): Documentation added.
8763 (SourceChannel.validOps): New method.
8764 (Pipe): Documentation added.
8765 (open): Documentation added.
8766 (SinkChannel.channel): Documentation added.
8767 (SourceChannel.channel): Documentation added.
8768 * java/nio/channel/SelectableChannel.java
8769 (SelectableChannel): Documentation added.
8770 (blockingLock): Documentation added.
8771 (configureBlocking):Documentation added.
8772 (isBlocking):Documentation added.
8773 (isRegistered):Documentation added.
8774 (keyFor):Documentation added.
8775 (provider):Documentation added.
8776 (register): Documentation added.
8777 (validOps): Documentation added.
8778 * jaba/nio/channels/SelectionKey.java
8779 (SelectionKey): Documentation added.
8780 (attach): Documentation added.
8781 (attachment): Documentation added.
8782 (isAcceptable): Documentation added.
8783 (isConnetable): Documentation added.
8784 (isReadable): Documentation added.
8785 (isWritable): Documentation added.
8786 (cancel): Documentation added.
8787 (channel): Documentation added.
8788 (interestOps): Documentation added.
8789 (isValid): Documentation added.
8790 (readyOps): Documentation added.
8791 (selector): Documentation added.
8792 * jaba/nio/channels/Selector.java
8793 (Selector): Documentation added.
8794 (open): Documentation added.
8795 (close): Documentation added.
8796 (isOpen): Documentation added.
8797 (keys): Documentation added.
8798 (provider): Documentation added.
8799 (select): Documentation added.
8800 (selectedKeys): Documentation added.
8801 (selectNow): Documentation added.
8802 (wakeup): Documentation added.
8803 * java/nio/channels/spi/AbstractInterruptibleChannel.java
8804 (AbstractInterruptibleChannel): Documentation added.
8805 (opened): Default to true;
8806 (begin): Documentation added.
8807 (close): Set opened to false, documentation added.
8808 (isOpen): Documentation added.
8809 * java/nio/channels/spi/AbstractSelectionKey.java
8810 (AbstractSelectionKey): Documentation added.
8811 (cancel): Documentation added.
8812 (isValid): Documentation added.
8813 * java/nio/channels/spi/AbstractSelector.java
8814 (AbstractSelector): Documentation added.
8815 (begin): Documentation added.
8816 (close): Documentation added.
8817 (isOpen): Documentation added.
8818 (deregister): Documentation added.
8819 (end): Documentation added.
8820 (provider): Documentation added.
8821 (implCloseSelector): Documentation added.
8822 (register): Documentation added.
8823 * java/nio/channels/spi/SelectorProvider.java
8824 (SelectorProvider): Documentation added.
8825 (openDatagramChannel): Documentation added.
8826 (openPipe): Documentation added.
8827 (openSelector): Documentation added.
8828 (openServerSocketChannel): Documentation added.
8829 (openSocketChannel): Documentation added.
8830 (provider): Documentation added.
8832 2002-11-12 Michael Koch <konqueror@gmx.de>
8834 * java/nio/Buffer.java: Implemented.
8835 * java/nio/CharBuffer.java: New file.
8836 * java/nio/InvalidMarkException.java: New file.
8837 * java/nio/channels/DatagramChannel.java: Implemented.
8838 * java/nio/channels/ServerSocketChannel.java: Implemented.
8839 * java/nio/channels/SocketChannel.java: Implemented.
8840 * java/nio/channels/spi/AbstractChannel.java: Removed.
8841 * java/nio/channels/spi/AbstractSelectableChannel.java:
8843 * java/nio/charset/Charset.java:
8844 Merge from Classpath.
8845 * java/nio/charset/CharsetDecoder.java: New file.
8846 * java/nio/charset/CharsetEncoder.java: New file.
8847 * java/nio/charset/CoderResult.java: New file.
8848 * Makefile.am (ordinary_java_source_files): Added new files.
8849 * Makefile.in: Regenerated.
8851 2002-11-11 Jesse Rosenstock <jmr@ugcs.caltech.edu>
8853 * gnu/java/nio/charset/ISO_8859_1.java,
8854 gnu/java/nio/charset/Provider.java,
8855 gnu/java/nio/charset/US_ASCII.java,
8856 gnu/java/nio/charset/UTF_16.java,
8857 gnu/java/nio/charset/UTF_16BE.java,
8858 gnu/java/nio/charset/UTF_16Decoder.java,
8859 gnu/java/nio/charset/UTF_16Encoder.java,
8860 gnu/java/nio/charset/UTF_16LE.java,
8861 gnu/java/nio/charset/UTF_8.java: New files.
8863 2002-11-11 Michael Koch <konqueror@gmx.de>
8865 * java/nio/charset/CharacterCodingException.java:
8866 This class must be public.
8867 * java/nio/charset/CoderMalfunctionError.java:
8868 This class must be public.
8869 * java/nio/charset/CodingErrorAction.java:
8870 This class must be public.
8871 * java/nio/charset/IllegalCharsetNameException.java:
8872 This class must be public, better implementation.
8873 * java/nio/charset/MalformedInputException.java:
8874 This class must be public, better implementation.
8875 * java/nio/charset/UnmappableCharacterException.java:
8876 This class must be public, better implementation.
8877 * java/nio/charset/UnsupportedCharsetException.java:
8878 This class must be public, better implementation.
8880 2002-11-11 Michael Koch <konqueror@gmx.de>
8882 * java/nio/BufferOverflowException.java,
8883 java/nio/BufferUnderflowException.java: New file.
8884 * Makefile.am (ordinary_java_source_files):
8886 * Makefile.in: Regenerated.
8888 2002-11-10 Tom Tromey <tromey@redhat.com>
8890 * java/awt/Container.java (validate): Use tree lock.
8891 (getComponent): Likewise.
8892 (getComponents): Likewise.
8893 (addImpl): Likewise.
8895 (removeAll): Likewise.
8896 (processEvent): Fixed indentation.
8897 (getComponentAt): Use tree lock.
8898 (findComponentAt): Likewise.
8899 (removeNotify): Likewise.
8900 (isAncestorOf): Likewise.
8902 (visitChildren): Likewise.
8903 (findNextFocusComponent): Likewise.
8904 (addNotifyContainerChildren): Likewise.
8905 (getAccessibleChildrenCount): Likewise.
8906 (getAccessibleChild): Likewise.
8908 * java/awt/GridLayout.java (layoutContainer): Use tree lock.
8909 (getSize): Likewise.
8910 * java/awt/FlowLayout.java (layoutContainer): Use tree lock.
8911 (getSize): Likewise.
8912 * java/awt/BorderLayout.java (layoutContainer): Use tree lock.
8913 (calcSize): Likewise.
8914 * java/awt/CardLayout.java (getSize): Use tree lock.
8915 (gotoComponent): Likewise.
8916 (layoutContainer): Likewise.
8918 * java/io/natFileDescriptorWin32.cc (read): Handle case where
8920 * java/io/natFileDescriptorPosix.cc (read): Handle case where
8923 * java/io/Externalizable.java, java/io/FilePermission.java,
8924 java/io/ObjectStreamConstants.java, java/io/Serializable.java,
8925 java/io/SerializablePermission.java, java/text/Format.java,
8926 java/util/AbstractMap.java, java/util/HashMap.java,
8927 java/util/LinkedHashMap.java, javax/naming/BinaryRefAddr.java: New
8928 versions from Classpath.
8930 2002-11-10 Anthony Green <green@redhat.com>
8932 * java/util/jar/Attributes.java (Name): Fix name check.
8934 2002-11-10 Mark Wielaard <mark@klomp.org>
8936 * java/lang/natClass.cc (initializeClass): Throw NoClassDefFoundError
8937 with getName() as message.
8938 (_Jv_CheckArrayStore): Throw ArrayStoreException with object and array
8941 * java/lang/natVMThrowable.cc: Don't declare parameter t, it is
8944 2002-11-08 Ranjit Mathew <rmathew@hotmail.com>
8946 * include/jni.h (JNIIMPORT, JNIEXPORT, JNICALL): Linker defines
8947 for Win32. JNICALL has been defined to __stdcall to be compatible
8950 2002-11-10 Tom Tromey <tromey@redhat.com>
8952 * java/awt/GridLayout.java (setColumns): Check newCols, not cols.
8953 (setRows): Check newRows, not rows.
8955 * jni.cc (_Jv_GetJNIEnvNewFrame): Set env->ex in all cases.
8957 2002-11-09 Tom Tromey <tromey@redhat.com>
8959 * java/applet/Applet.java, java/applet/AppletContext.java,
8960 java/applet/AppletStub.java, java/applet/AudioClip.java,
8961 java/awt/CardLayout.java,
8962 java/awt/ContainerOrderFocusTraversalPolicy.java,
8963 java/awt/Cursor.java, java/awt/Event.java, java/awt/Frame.java,
8964 java/awt/GridBagConstraints.java, java/awt/GridBagLayout.java,
8965 java/awt/GridLayout.java, java/awt/color/ColorSpace.java,
8966 java/awt/color/ICC_ColorSpace.java,
8967 java/awt/color/ICC_Profile.java,
8968 java/awt/color/ICC_ProfileGray.java,
8969 java/awt/color/ICC_ProfileRGB.java,
8970 java/awt/datatransfer/DataFlavor.java,
8971 java/awt/dnd/DragSourceContext.java, java/awt/dnd/DropTarget.java,
8972 java/awt/dnd/DropTargetContext.java, java/awt/event/KeyEvent.java:
8973 New versions from Classpath.
8974 * Makefile.in: Rebuilt.
8975 * Makefile.am (awt_java_source_files): Added ICC_ProfileGray and
8978 * java/awt/ScrollPane.java (ScrollPane): Fixed test for valid
8981 * java/awt/List.java (processEvent): Added missing `else's.
8983 * java/awt/Window.java (show): validate() before showing. Make
8985 (isDisplayable): New method.
8987 2002-11-07 Mark Wielaard <mark@klomp.org>
8989 Merge Orp RMI patches from Wu Gansha <gansha.wu@intel.com>
8990 * java/rmi/MarshalledObject.java (equals): Check hashcode first.
8992 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Create/Use
8994 (loadClass): Take String as codebases.
8995 (getClassAnnotation): Use MyClassLoader annotations.
8996 * java/rmi/server/UnicastRemoteObject.java (UnicastRemoteObject):
8997 call exportObject(this).
8999 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
9000 (RMIMarshalledObjectOutputStream): set locBytesStream and locStream.
9001 (setAnnotation): Don't set locBytesStream and locStream.
9002 (replaceObject): Removed.
9003 (flush): Don't test locStream.
9004 (getLocBytes): LikeWise.
9005 * gnu/java/rmi/dgc/DGCImpl.java: extends UnicastServerRef.
9006 (leaseCache): New field.
9007 (dirty): Use leaseCache.
9008 (LeaseRecord): New inner class.
9009 * gnu/java/rmi/registry/RegistryImpl.java (RegistryImpl): Don't
9010 explicitly call exportObject().
9011 * gnu/java/rmi/registry/RegistryImpl_Stub.java: set useNewInvoke to
9012 false to communicate with Sun JDK130.
9013 * gnu/java/rmi/server/ConnectionRunnerPool.java: Add CPU comment.
9014 * gnu/java/rmi/server/RMIObjectInputStream.java
9015 (UnicastConnectionManager): Removed field.
9016 * gnu/java/rmi/server/RMIObjectOutputStream.java (replaceObject):
9017 Use UnicastServer.getExportedRef().
9018 * gnu/java/rmi/server/UnicastConnection.java (reviveTime): New field.
9019 (expireTime): Likewise.
9020 (CONNECTION_TIMEOUT): Likewise.
9021 (disconnect): Call sock.close().
9022 (isExpired): New method.
9023 (resetTime): Likewise.
9024 (run): Use do while loop and catch Exception for discardConnection().
9025 * gnu/java/rmi/server/UnicastConnectionManager.java: Pool connections.
9026 * gnu/java/rmi/server/UnicastRef.java: Lots of changes.
9027 * gnu/java/rmi/server/UnicastRemoteCall.java: Lots of changes.
9028 * gnu/java/rmi/server/UnicastServer.java (refcache): New field.
9029 (exportObject): Use refcache.
9030 (unexportObject): Likewise.
9031 (getExportedRef): New method.
9032 * gnu/java/rmi/server/UnicastServerRef.java (UnicastServerRef): New
9034 (exportObject): Save manager.serverobj.
9035 (getStub): New method.
9037 2002-11-07 Mark Wielaard <mark@klomp.org>
9039 * java/lang/reflect/natField.cc (getBoolean): Use getType().
9040 (getByte): Likewise.
9041 (getShort): Likewise.
9043 (getLong): Likewise.
9044 (getFloat): Likewise.
9045 (getDouble): Likewise.
9047 (setChar): Likewise.
9048 (setByte): Likewise.
9049 (setShort): Likewise.
9051 (setLong): Likewise.
9052 (setFloat): Likewise.
9053 (setDouble): Likewise.
9055 2002-11-07 Michael Koch <konqueror@gmx.de>
9057 * java/awt/Choice.java,
9058 java/awt/Container.java,
9059 java/awt/GridBagLayout.java:
9060 Fixed documentation.
9061 * java/awt/peer/ContainerPeer.java:
9064 2002-11-07 Michael Koch <konqueror@gmx.de>
9066 * java/awt/color/ICC_Profile.java:
9067 Added missing constants.
9068 * java/awt/color/ICC_ColorSpace.java
9069 (getMinValue): Added dummy implementation.
9070 (getMaxValue): Added dummy implementation.
9071 * java/awt/datatransfer/DataFlavor.java
9072 (imageFlavor): Added.
9073 (isMimeTypeEqual): Must be final.
9074 (getDefaultRepresentationClass): Must be non-static.
9075 (getDefaultRepresentationClassAsString): Must be non-static.
9076 * java/awt/dnd/DragSourceContext.java
9077 (dragExit): Corrected argument.
9078 (dragDropEnd): Corrected argument.
9079 * java/awt/dnd/DragSourceListener.java.java
9080 (dragExit): Corrected argument.
9081 (dragDropEnd): Corrected argument.
9082 * java/awt/font/TextHitInfo.java
9083 (toString): Added stubbed implementation.
9084 * java/awt/geom/PathIterator.java:
9085 The constants must be static.
9086 * java/awt/image/VolatileImage.java
9087 (IMAGE_INCOMPATIBLE): Fixed typo.
9088 * java/awt/image/renderable/RenderableImage.java
9089 (HINTS_OBSERVED): Must be static.
9090 * java/beans/BeanInfo.java:
9091 Constants must be final.
9093 2002-11-06 Tom Tromey <tromey@redhat.com>
9095 From svens@it.uu.se. For PR libgcj/8481.
9096 * java/util/Random.java (nextInt(int)): Only use 31 bits.
9098 2002-11-06 Tom Tromey <tromey@redhat.com>
9100 * jni.cc (array_from_valist): Assume that jlong won't be
9103 2002-11-04 R. A. Rivas Diaz <rivasdiaz@yahoo.com>
9105 * gnu/java/security/provider/SHA.java (engineGetDigestLength):
9107 * gnu/java/security/provider/MD5.java (engineGetDigestLength):
9110 2002-11-03 Tom Tromey <tromey@redhat.com>
9112 * java/lang/ClassLoader.java (loadClass): Call loadClass on
9113 VMClassLoader, not findClass.
9115 2002-11-03 Jeff Sturm <jsturm@one-point.com>
9117 * resolve.cc (METHOD_NOT_THERE, METHOD_INACCESSIBLE): Remove.
9118 (_Jv_ResolvePoolEntry): Use _Jv_Method.index, not
9119 _Jv_DetermineVTableIndex, to determine vtable offset.
9120 (_Jv_DetermineVTableIndex): Remove.
9121 (_Jv_PrepareClass): Don't layout vtable. Use _Jv_MakeVTable instead.
9123 * java/lang/Class.h (friend int _Jv_DetermineVTableIndex): Remove.
9125 2002-11-03 Tom Tromey <tromey@redhat.com>
9127 * java/nio/channels/AlreadyConnectedException.java: Extend
9128 IllegalStateException, per spec.
9130 2002-10-31 Stephen Crawley <crawley@dstc.edu.au>
9132 * java/lang/Double.java (valueOf): Return new Double(parseDouble(s)).
9134 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
9136 * java/util/ArrayList.java (readObject, writeObject): Only read/write
9139 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
9141 * java/io/DataInputStream.java (convertFromUTF): Give StringBuffer an
9142 initial estimated size to avoid enlarge buffer frequently.
9144 2002-10-31 Wu Gansha <gansha.wu@intel.com>:
9146 * java/lang/reflect/Proxy.java (ProxyType): Set loader to System
9147 ClassLoader when null.
9148 (ProxyType.hashCode): Loader null check no longer needed.
9149 (ProxyType.sameTypes): New method.
9150 (ProxyType.equals): Use new method.
9152 2002-10-31 Mark Wielaard <mark@klomp.org>
9154 * java/net/URLDecoder.java (decode): Initialize Stringbuffer size to
9156 * java/net/URLEncoder.java (encode): Likewise.
9158 2002-10-31 Mark Wielaard <mark@klomp.org>
9160 * java/util/zip/ZipInputStream.java (getNextEntry): Throw IOException
9161 when stream is closed.
9162 (closeEntry): Likewise.
9164 * java/util/zip/ZipOutputStream.java (putNextEntry): Throw
9165 ZipException when no entry active.
9166 (closeEntry): Likewise.
9169 2002-11-02 Tom Tromey <tromey@redhat.com>
9171 * java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.
9172 * java/lang/natClass.cc (initializeClass): Don't return just
9173 because self==thread.
9176 * java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass.
9177 * prims.cc (_Jv_FindClassFromSignature): Indentation fix.
9179 2002-11-02 Andreas Schwab <schwab@suse.de>
9181 * Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do
9183 (FLAGS_TO_PASS): Define.
9184 * Makefile.in: Regenerated.
9186 2002-11-01 Michael Koch <konqueror@gmx.de>
9188 * java/nio/ByteOrder.java: New file.
9189 * java/nio/channels/DatagramChannel.java:
9190 (DatagramChannel): New constructor.
9191 * java/nio/channels/Pipe.java: New file.
9192 * java/nio/channels/SelectableChannel.java: New file.
9193 * java/nio/channels/SelectionKey.java: New file.
9194 * java/nio/channels/Selector.java: New file.
9195 * java/nio/channels/ServerSocketChannel.java
9196 (ServerSocketChannel): New constructor.
9197 * java/nio/channels/SocketChannel.java
9198 (SocketChannel): New constructor.
9199 * java/nio/channels/Pipe.java: New file.
9200 * java/nio/channels/spi/AbstractChannel.java: New file.
9201 * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file.
9202 * java/nio/channels/spi/AbstractSelectableChannel.java:
9204 (AbstractSelectableChannel): New stubbed method.
9205 * java/nio/channels/spi/AbstractSelectionKey.java: New file.
9206 * java/nio/channels/spi/AbstractSelector.java: New file.
9207 * java/nio/channels/spi/SelectorProvider.java: New file.
9208 * java/nio/charset/Charset.java: New file.
9209 * java/nio/charset/CoderMalfunctionError.java: New file.
9210 * java/nio/charset/CodingErrorAction.java: New file.
9211 * java/nio/charset/spi/CharsetProvider.java
9212 (charsetForName): Uncommented.
9213 * Makefile.am (java_native_source_files): Added new files.
9214 * Makefile.in: Regenerated.
9216 2002-11-01 Michael Koch <konqueror@gmx.de>
9218 * java/net/InetAddress.java:
9219 (isAnyLocalAddress): Implemented.
9220 (isLoopbackAddress): Implemented, comment added.
9221 (isLinkLocalAddress): Implemented, documentation added.
9222 (isSiteLocalAddress): Implemented, documentation added.
9223 (isMCGlobal): Implemented, documentation added.
9224 (isMCNodeLocal): Implemented, documentation added.
9225 (isMCLinkLocal): Implemented, documentation added.
9226 (isMCSiteLocal): Implemented, documentation added.
9227 (isMCOrgLocal): Implemented, documentation added.
9228 (getHostName): Documentation added.
9229 (getCanonicalHostName): Implemented, documentation added.
9230 (getAddress): Documentation added.
9231 (hashCode): Documentation added.
9232 (equals): Documentation added.
9233 (toString): Fixed implementation.
9234 (getByAddress): Use Inet4Address and Inet6Address.
9235 (lookup): New linewrap.
9236 (getByName): SecurityManager check added, support Inet4Address and
9237 Inet6address, comments added.
9238 (getAllByName): SecurityManager check added, comments added.
9239 * java/net/Inet6Address.java:
9240 (Inet6Address): Initialize parent class with addr instead of null.
9242 (equals): Documentation added.
9243 (getFile): Documentation added.
9244 (hashCode): Documentation added.
9245 * java/net/natInetAddress.cc:
9246 (aton): Fix IPv6 support.
9247 * java/net/natPlainDatagramSocketImpl.cc:
9248 (peek): Throw PortUnreachableException when suitable.
9249 (peekData): Throw PortUnreachableException when suitable.
9250 (send): Throw PortUnreachableException when suitable.
9251 (receive): Throw PortUnreachableException when suitable.
9253 2002-10-27 Mark Wielaard <mark@klomp.org>
9255 * java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as
9257 (readLeShort): Likewise and use byte[].
9258 (readLeInt): Likewise.
9259 (readEntries): Use new versions of methods and use byte[] for reading
9260 a complete zip entry. Add ZipFile name to exceptions.
9261 (entries): Add ZipFile name to exceptions.
9262 (getEntry): Likewise.
9263 (checkLocalHeader): Use new versions of methods and add ZipFile name
9266 2002-10-31 Mark Anderson <mark@panonet.net>
9268 * java/awt/GridBagLayout.java (setConstraints): New stubbed method
9271 2002-10-25 Krister Walfridsson <cato@df.lth.se>
9273 * configure.in: Disable hash sync when not using threads.
9274 * configure: Regenerated.
9276 2002-10-24 Tom Tromey <tromey@redhat.com>
9278 * java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
9279 (_Jv_FindSymbolInExecutable): Removed argument name.
9280 (insertSystemProperties): Call _Jv_SetDLLSearchPath if
9281 java.library.path is set.
9283 * gij.cc (help): Document --showversion.
9284 (version): Don't exit.
9285 (main): Handle --showversion. Exit if --version given.
9287 2002-10-23 Tom Tromey <tromey@redhat.com>
9289 * jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.
9290 (array_from_valist): Correctly handle promotion for jint, jlong,
9291 jfloat, and jdouble.
9293 2002-10-23 Ranjit Mathew <rmathew@hotmail.com>
9295 * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of
9296 GetFileAttributesEx( ) to find file length and modification times,
9297 as the latter is not present on Windows 95.
9299 2002-10-21 Michael Koch <konqueror@gmx.de>
9302 (URL): Activate SecurityManager checks.
9303 (equals): Use URLStreamHandler implementation instead of doing it
9304 alone. This allows special protocol stream handlers to change default
9306 (hashCode): Use URLStreamHandler implementation instead of doing it
9307 alone. This allows special protocol stream handlers to change default
9309 * java/net/URLStreamHandler.java
9310 (equals): Implemented default URL equality check.
9311 (hostsEqual): Implemented default URL equality check.
9312 (hashCode): Implemented default URL hashCode algorithm.
9313 * java/net/natPlainDatagramSocketImpl.cc:
9314 No lines longer then 80 characters.
9316 2002-10-20 Adam Megacz <adam@xwt.org>
9318 * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
9319 * configure.in: enabled hash sync on Win32
9320 * include/win32-threads.h (_Jv_ThreadId_t): added.
9321 * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
9322 heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
9323 removed some posix-isms, use Thread::sleep() instead of usleep,
9324 added code to clear bottom three bits if platform has a broken
9326 * include/win32-threads.h (_Jv_ThreadId_t): added.
9328 2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
9330 * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
9331 runtime property "gnu.gcj.progname" containing the name used to
9332 invoke the current Java program (similar to argv[0] for C
9335 2002-10-15 Tom Tromey <tromey@redhat.com>
9337 Fix for PR libgcj/8234:
9338 * java/util/zip/natInflater.cc (reset): Reset avail_in.
9339 * java/util/zip/natDeflater.cc (reset): Reset avail_in.
9341 2002-10-13 Mark Wielaard <mark@klomp.org>
9343 * mauve-libgcj: Enable Mauve tests that compile now.
9345 2002-10-11 Mark Wielaard <mark@klomp.org>
9347 Fix for PR libgcj/8142
9348 * java/lang/natClassLoader.cc (findClass): Skip inner classes when
9349 loading native modules.
9351 2002-10-10 Michael Koch <konqueror@gmx.de>
9353 * javax/swing/AbstractListModel.java
9354 (getListDataListeners): New stubbed method.
9355 javax/swing/DefaultBoundedRangeModel.java
9356 (getChangeListeners): New stubbed method.
9357 javax/swing/DefaultSingleSelectionModel.java
9358 (getChangeListeners): New stubbed method.
9360 2002-10-10 Michael Koch <konqueror@gmx.de>
9362 * gcj/.cvsignore: New file to ignore files generated during build.
9363 * include/.cvsignore: New file to ignore files generated during build.
9365 2002-10-10 Michael Koch <konqueror@gmx.de>
9367 * java/net/HttpURLConnection.java
9368 (getPermission): New method.
9369 (getErrorStream): New stub method.
9370 (getHeaderFieldDate): New stub method.
9371 * java/net/Inet4Address.java:
9372 (isLinkLocalAddress): Typo fixed.
9373 * java/net/InetAddress.java:
9374 (readResolve): New stubbed method (for serialization).
9375 (isAnyLocalAddress): New stubbed method.
9376 (isLoopbackAddress): New stubbed method.
9377 (isLinkLocalAddress): New stubbed method.
9378 (isSiteLocalAddress): New stubbed method.
9379 (isMCGlobal): New stubbed method.
9380 (isMCNodeGlobal): New stubbed method.
9381 (isMCLinkLocal): New stubbed method.
9382 (isMCSiteLocal): New stubbed method.
9383 (isMCOrgLocal): New stubbed method.
9384 (getCanonicalHostName): New stubbed method.
9385 (getByAddress): Create instances of Inet4Address/Inet6Address,
9386 instead of InetAddress, documentation added.
9387 * java/net/MulticastSocket.java
9388 (getInterface): Removed FIXME.
9389 (getNetworkInterface): New method.
9390 (setNetworkInterface): New method.
9391 * java/net/NetworkInterface.java:
9392 (toString): Use property "line.separator" instead of "\n".
9393 * java/net/URLConnection.java
9394 (getContent): New stubbed method.
9395 * java/net/URLStreamHandler.java:
9396 (equals): New stubbed method.
9397 (hostsEqual): New stubbed method.
9398 (hashCode): New stubbed method.
9399 * java/net/natNetworkInterface.cc:
9400 (getRealNetworkInterfaces): Create Inet4Address object
9401 instead of InetAddress.
9403 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
9405 * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of
9406 unsigned long temporary to implement insn_iushr shifts.
9408 2002-10-08 Ulrich Weigand <uweigand@de.ibm.com>
9410 * configure.host [s390*-*]: Enable Java interpreter.
9411 Enable hash synchronization. Add sysdeps dir.
9412 * sysdep/s390/locks.h: New file.
9414 2002-10-06 Mark Wielaard <mark@klomp.org>
9416 * java/lang/Thread.java (setDaemon): Check startable_flag,
9419 2002-10-07 Michael Koch <konqueror@gmx.de>
9421 * java/nio/Buffer.java: New stub file.
9422 * java/nio/charset/spi/CharsetProvider.java: Commented out all usages
9424 * Makefile.am (java_native_source_files): Added java/nio/Buffer.java.
9425 * Makefile.in: Regenerated.
9427 2002-10-07 Michael Koch <konqueror@gmx.de>
9429 * java/nio/ByteBuffer.java:
9430 removed import of not commited class.
9432 2002-10-07 Michael Koch <konqueror@gmx.de>
9434 * java/nio/ByteBuffer.java,
9435 java/nio/MappedByteBuffer.java:
9436 New files, forgot to add these dummies.
9437 * Makefile.am (java_native_source_files): Added new files.
9438 * Makefile.in: Regenerated.
9440 2002-10-07 Michael Koch <konqueror@gmx.de>
9442 * java/nio/channels/AlreadyConnectedException.java,
9443 java/nio/channels/ClosedChannelException.java,
9444 java/nio/channels/ReadableByteChannel.java,
9445 java/nio/channels/InterruptibleChannel.java,
9446 java/nio/channels/Channel.java,
9447 java/nio/channels/ByteChannel.java,
9448 java/nio/channels/GatheringByteChannel.java,
9449 java/nio/channels/ScatteringByteChannel.java,
9450 java/nio/channels/WritableByteChannel.java,
9451 java/nio/charset/CharacterCodingException.java,
9452 java/nio/charset/IllegalCharsetNameException.java,
9453 java/nio/charset/MalformedInputException.java,
9454 java/nio/charset/UnmappableCharacterException.java,
9455 java/nio/charset/UnsupportedCharsetException.java,
9456 java/nio/charset/spi/CharsetProvider.java: New file.
9457 These files are exceptions or interfaces,
9458 no real or abstract classes.
9459 * Makefile.am (java_native_source_files): Added new files.
9460 * Makefile.in: Regenerated.
9462 2002-10-05 Michael Koch <konqueror@gmx.de>
9464 * java/net/InetAddress.java
9465 (getByAddress): Fixed documentation.
9466 (getByAddress): New method.
9467 * java/net/Inet4Address.java: New file.
9469 (URL): Documentation added.
9470 (getContent): Documentation added.
9471 (getContent): New stubbed method.
9472 (getQuery): New method.
9473 (openConnection): Documentation added.
9474 (openStream): Documentation added.
9475 (setURLStreamHandlerFactory): Documentation added.
9476 * java/net/URI.java: New stub file.
9478 (java_native_source_files): Added java/net/Inet4Address.java,
9479 java/net/Inet6Address.java and java/net/URI.java.
9480 * Makefile.in: Regenerated.
9482 2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu>
9484 * java/lang/ProtectionDomain.java (linesep): Remove field.
9485 (toString): Use System.getProperty("line.separator").
9487 2002-10-04 Michael Koch <konqueror@gmx.de>
9489 * java/security/Identity.java: Added serialVersionUID.
9490 * java/security/KeyPair.java: Added serialVersionUID.
9491 * java/security/Provider.java: Added serialVersionUID.
9492 * java/security/SecureRandom.java: Added serialVersionUID.
9493 * java/security/SecureRandomSpi.java: Added serialVersionUID.
9494 * java/security/SignedObject.java: Added serialVersionUID.
9495 * java/security/cert/Certificate.java: Added serialVersionUID.
9497 2002-10-04 Mark Wielaard <mark@klomp.org>
9499 * java/security/Security.java: Use java.home or gnu.classpath.home
9501 (loadProviders): Extra dir argument.
9502 (getProvider): Return null when not found.
9504 2002-10-04 Mark Wielaard <mark@klomp.org>
9506 * java/lang/Throwable.java: Remerge with Classpath.
9508 2002-10-04 Michael Koch <konqueror@gmx.de>
9510 * java/net/InetAddress.java:
9511 (isMulticastAddress): Added documentation.
9512 (getHostAddress): Added documentation.
9513 (toString): Added documentation.
9514 (getByAddress): Fixed documentation.
9515 (getByName): Added documentation.
9516 (getAllByName): Added documentation.
9517 (getLocalHost): Added documentation.
9519 2002-10-04 Michael Koch <konqueror@gmx.de>
9521 * java/beans/beancontext/BeanContextChildSupport.java:
9522 Added serialVersionUID.
9523 * java/text/Collator.java: (compare): Made documentation HTML-aware.
9524 * javax/naming/BinaryRefAddr.java: Added serialVersionUID.
9525 * javax/naming/Name.java: Added serialVersionUID.
9527 2002-10-03 Adam Megacz <adam@xwt.org>
9529 * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out
9530 some functionality that isn't supported yet on WIN32.
9532 2002-10-03 Tom Tromey <tromey@redhat.com>
9534 * Makefile.in: Rebuilt.
9535 * Makefile.am (awt_java_source_files): Added new files.
9537 2002-10-03 Michael Koch <konqueror@gmx.de>
9539 * java/net/InetAddress.java
9540 (class InetAddress): Removed final keyword.
9541 (equals): Fixed typo.
9542 (getByAddress): New method.
9544 2002-10-03 Michael Koch <konqueror@gmx.de>
9546 * java/awt/dnd/Autoscroll.java:
9547 New file, merge from Classpath.
9548 * java/awt/dnd/DragSourceAdapter.java:
9549 (dragExit): Fixed typos in argument type.
9550 (dragDropEnd): Fixed typos in argument type.
9551 * java/awt/dnd/DragSourceDropEvent.java:
9552 New file, merge from Classpath.
9553 * java/awt/dnd/DropTarget.java:
9554 Added stubs, merge from Classpath.
9555 * java/awt/dnd/DropTargetAdapter.java:
9556 New file, merge from Classpath.
9557 * java/awt/dnd/DropTargetContext.java:
9558 New file, merge from Classpath.
9559 * java/awt/dnd/DropTargetDragEvent.java:
9560 New file, merge from Classpath.
9561 * java/awt/dnd/DropTargetDropEvent.java:
9562 New file, merge from Classpath.
9563 * java/awt/dnd/DropTargetEvent.java:
9564 New file, merge from Classpath.
9565 * java/awt/dnd/DropTargetListener.java:
9566 New file, merge from Classpath.
9567 * java/awt/dnd/MouseDragGestureRecognizer.java:
9568 New file, merge from Classpath.
9569 * java/awt/dnd/peer/DropTargetContextPeer.java:
9570 New file, merge from Classpath.
9572 2002-10-03 Michael Koch <konqueror@gmx.de>
9574 * java/net/DatagramPacket.java
9575 (setLength): Fixed typo and be HTML-aware.
9576 * java/net/InetSocketAddress.java
9577 (InetSocketAddress): Correct initialization of hostname, fixed typo.
9578 (equals): Added comment about equality of InetSocketAddress objects.
9579 * java/net/ServerSocket.java
9580 (accept): Added checks.
9581 (isClosed): New stubbed method.
9582 * java/net/SocketOptions.java: Reindention.
9583 * java/net/SocketPermission
9584 (SocketPermission): Documentation fixed.
9586 2002-10-03 Michael Koch <konqueror@gmx.de>
9588 * java/net/DatagramSocket.java
9589 (receive): Check with SecurityManager AFTER the packet is received,
9590 check if connected to multicast address, documentation added.
9591 (send): Only check SecurityManager if connected, check address of
9593 (connect): Implemented, documentation added.
9594 * java/net/Inet6Address.java: New file (not added yet to Makefile.am).
9595 * java/net/InetSocketAddress.java
9596 (whole file): Reindented.
9597 (hostname): New attribute.
9598 (InetSocketAddress): Initialize new attribute.
9599 (getAddress): Documentation added.
9600 (getHostName): Documentation added.
9601 (getPort): Documentation added.
9602 (hashCode): Documentation added.
9603 (isUnresolved): Documentation added.
9604 (toString): Conform to output of JDK 1.4.1, documentation added.
9605 * java/net/MulticastSocket.java
9606 (joinGroup): Removed FIXME, documentation added.
9607 (leaveGroup): Removed FIXME, documentation added.
9608 (send): Documentation added.
9609 * java/net/Socket.java
9610 (inputShutdown): New variable.
9611 (outputShutdown): New variable.
9612 (Socket): Initialize new variables.
9613 (getRemoteSocketAddress): Check if connected.
9614 (shutdownInput): Set new variable.
9615 (shutdownOutput): Set new variable.
9616 (isConnected): New method.
9617 (isClosed): New method.
9618 (isInputShutdown): New method.
9619 (isOutputShutdown): New method.
9620 * java/net/URLStreamHandler.java
9621 (URLStreamHandler): New method.
9622 (openConnection): Added documentation.
9623 (parseURL): Added documentation.
9624 (getHostAddress): New method.
9625 (getDefaultPort): New method.
9627 2002-10-02 Tom Tromey <tromey@redhat.com>
9629 * java/rmi/activation/ActivationDesc.java,
9630 java/rmi/activation/ActivationGroupDesc.java,
9631 java/rmi/activation/ActivationGroupID.java,
9632 java/rmi/activation/ActivationID.java: New versions from
9635 2002-09-30 Bo Thorsen <bo@suse.de>
9637 * sysdep/x86-64/locks.h (compare_and_swap): Fix multilib support.
9639 2002-09-30 Tom Tromey <tromey@redhat.com>
9641 * java/io/ObjectInputStream.java (resolveProxyClass): New method
9643 * Makefile.in: Rebuilt.
9644 * Makefile.am (rmi_java_source_files): Added new files.
9645 * gnu/java/rmi/RMIMarshalledObjectInputStream.java,
9646 gnu/java/rmi/RMIMarshalledObjectOutputStream.java,
9647 gnu/java/rmi/server/ConnectionRunnerPool.java: New files from
9649 * gnu/java/rmi/dgc/DGCImpl.java,
9650 gnu/java/rmi/dgc/DGCImpl_Skel.java,
9651 gnu/java/rmi/dgc/DGCImpl_Stub.java,
9652 gnu/java/rmi/registry/RegistryImpl_Skel.java,
9653 gnu/java/rmi/registry/RegistryImpl_Stub.java,
9654 gnu/java/rmi/server/RMIHashes.java,
9655 gnu/java/rmi/server/RMIObjectInputStream.java,
9656 gnu/java/rmi/server/RMIObjectOutputStream.java,
9657 gnu/java/rmi/server/UnicastConnection.java,
9658 gnu/java/rmi/server/UnicastConnectionManager.java,
9659 gnu/java/rmi/server/UnicastRef.java,
9660 gnu/java/rmi/server/UnicastServer.java,
9661 gnu/java/rmi/server/UnicastServerRef.java,
9662 java/rmi/MarshalledObject.java,
9663 java/rmi/server/RMIClassLoader.java,
9664 java/rmi/server/RemoteObject.java,
9665 java/rmi/server/UnicastRemoteObject.java,
9666 java/security/SecureClassLoader.java: Merged from Classpath.
9668 2002-09-29 Anthony Green <green@redhat.com>
9670 * java/lang/reflect/UndeclaredThrowableException.java: New file.
9671 Imported from GNU Classpath.
9672 * java/lang/reflect/natProxy.cc: New file.
9673 * java/lang/reflect/InvocationHandler.java: New file. Imported
9675 * java/lang/reflect/Proxy.java: New file. Imported from GNU
9677 * gnu/java/lang/reflect/TypeSignature.java: Refresh from GNU
9679 * gnu/classpath/Configuration.java.in (HAVE_NATIVE_GET_PROXY_DATA,
9680 HAVE_NATIVE_GET_PROXY_CLASS, HAVE_NATIVE_GENERATE_PROXY_CLASS):
9682 * gcj/javaprims.h ("Java"): Add new classes.
9683 * java/lang/reflect/Proxy.java: Fix check for duplicate interfaces.
9684 * Makefile.am (java/lang/reflect/Proxy$$ProxyData.h): Create this.
9685 java/lang/reflect/Proxy$$ProxyType.h): And this.
9686 (inner_nat_headers): Add these new headers.
9687 (ordinary_java_source_files): Add new files.
9688 (nat_source_files): Add new file.
9689 * Makefile.in: Rebuilt.
9691 2002-09-28 Richard Earnshaw <rearnsha@arm.com>
9693 * configure.host: Handle arm*-elf, strongarm*-elf and xscale*-elf with
9694 a single configuration.
9696 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9698 * java/util/TimeZone.java (getDSTSavings): New method.
9699 Fixes PR libgcj/7786.
9701 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9703 * resolve.cc (_Jv_ResolvePoolEntry) [end_of_method_search]: Check
9704 to see if `the_method == 0' before looking up vtable index.
9705 Fixes PR libgcj/7709.
9707 2002-09-25 Tom Tromey <tromey@redhat.com>
9709 * java/lang/natClassLoader.cc:
9710 (_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec.
9711 * resolve.cc: Include NoClassDefFoundError.h, not
9712 ClassNotFoundException.h.
9713 (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec.
9715 * defineclass.cc: Don't include ClassNotFoundException.h.
9717 * resolve.cc: Include StringBuffer.
9718 (_Jv_ResolvePoolEntry): Use StringBuffer to create error string.
9720 * boehm.cc (_Jv_MarkObj): Don't fail if class object has been
9721 allocated but not initialized.
9723 2002-09-25 Jesse Rosenstock <jmr@ugcs.caltech.edu>
9725 Fix for PR libgcj/7766:
9726 * java/util/zip/ZipInputStream.java (entryAtEOF): New field.
9727 (getNextEntry): Set it.
9728 (closeEntry): Likewise.
9731 (available): Use it.
9733 2002-09-25 Michael Koch <konqueror@gmx.de>
9735 * java/net/DatagramSocket.java
9736 (DatagramSocket): Initialize new instance variables.
9737 (close): Reset new instance variables.
9738 (getLocalAddress): Remove unneeded SecurityManager usage.
9739 (getLocalPort): Check if socket is already bound.
9740 (isConnected): New method.
9741 (getInetAddress): Implemented.
9742 (getPort): Better Implementation, documentation fixed.
9743 (getRemoteSocketAddress): New method.
9744 * java/net/JarURLConnection.java
9745 (element): Typo fixed.
9746 (getMainAttributes): New method.
9747 (getAttributes): New method (stub only).
9748 (getManifest): New method (stub only).
9749 * java/net/NetPermission.java: Added serialVersionsUID.
9750 * java/net/Socket.java
9751 (connect): Check blocking mode of associated channel,
9752 documentation added.
9753 (getLocalSocketAddress): Better implementation.
9754 (getRemoteSocketAddress): Implemented.
9755 (isBound): New method.
9756 (setSendBufferSize): Documentation added.
9757 * java/net/SocketAddress.java: Added serialVersionsUID.
9758 * java/net/SocketPermission.java: Added serialVersionsUID.
9760 (URL): Wrap for shorter lines, initialize new instance variables,
9761 documentation added.
9762 (equals): Check new instance variables too.
9763 (getContent): Documentation added.
9764 (getPath): Documentation added.
9765 (getAuthority): New method.
9766 (getHost): Documentation added.
9767 (getPort): Documentation added.
9768 (getDefaultPort): New method.
9769 (getProtocol): Documentation added.
9770 (getUserInfo): Documentation added.
9771 (set): Initialize new instance variables, documentation added.
9772 * java/net/URLStreamHandler.java
9773 (setURL): New method.
9774 * java/net/natPlainDatagramSocketImpl.cc
9775 (connect): Fix exception name.
9776 (disconnect): Fix exception name.
9778 2002-09-25 Michael Koch <konqueror@gmx.de>
9780 * java/nio/channels/spi/AbstractSelectableChannel.java: New file.
9781 * java/nio/channels/DatagramChannel.java:
9782 extends AbstractSelectableChannel
9783 * java/nio/channels/ServerSocketChannel.java:
9784 extends AbstractSelectableChannel
9785 * java/nio/channels/SocketChannel.java:
9786 extends AbstractSelectableChannel
9787 * Makefile.am (ordinary_java_source_files):
9788 java/nio/channels/spi/AbstractSelectableChannel.java added.
9789 * Makefile.in: Regenerated.
9791 2002-09-25 Michael Koch <konqueror@gmx.de>
9793 * java/net/DatagramSocket.java
9794 (DatagramSocket): Exception documentation added.
9795 (bind): Exception documentation added, addded SecurityManager check,
9796 added SocketAddress type check.
9797 (getSoTimeout): Check impl.
9798 (receive): Fix SecurityManager check, check impl, documentation added.
9799 (send): Check channel mode, documentation added.
9800 (connect): New method.
9801 (disconnect): Implemented.
9802 (getLocalSocketAddress): New method.
9803 (getReceiveBufferSize): Check impl.
9804 (setReuseAddress): Check impl.
9805 (getReuseAddress): Check impl.
9806 (setBroadcast): Check impl.
9807 (getBroadcast): Check impl.
9808 (setTrafficClass): Check impl, Documentation cleared.
9809 (getTrafficClass): Check impl.
9810 (getSendBufferSize): Check impl.
9811 (setReceiveBufferSize): Check impl, documentation added.
9812 (setSendBufferSize): Documentation added.
9813 (setDatagramSocketImplFactory): New method.
9814 * java/net/HttpURLConnection.java
9815 (HTTP_INTERNAL_ERROR): The correct code is 500.
9816 (HTTP_NOT_IMPLEMENTED): Added new constant.
9817 (setFollowRedirects): Documentation added.
9818 (getInstanceFollowRedirects): New method.
9819 (setInstanceFollowRedirects): New method.
9820 (setRequestMethod): Documentation added.
9821 (getResponseCode): Documentation added.
9822 (getResponseMessage): Documentation added.
9823 * java/net/JarURLConnection.java
9824 (JarURLConnection): protected since JDK 1.4.
9825 (getJarEntry): java.io.IOException to IOException, documentation added.
9826 (getJarFile): Documentation added.
9827 * java/net/ServerSocket.java
9828 (ServerSocket): Private to public, exception added.
9829 (ServerSocket): java.io.IOException to IOException, documentation added.
9830 (bind): Check socket address type, documentation added.
9831 (bind): java.io.IOException to IOException, documentation added.
9832 (accept): Documentation added.
9833 (implAccept): Check ch is not non-blocking, documentation added.
9834 (setSoTimeout): Documentation fixed.
9835 (setReceiveBufferSize): Documentation added.
9836 * java/net/Socket.java
9837 (Socket): Documentation added.
9838 (bind): Documentation added.
9839 (connect): Check socket address type, documentation added.
9840 (getRemoteSocketAddress): New method.
9841 (getLocalSocketAddress): New method.
9842 (setSoLinger): Documentation added.
9843 (getReuseAddress): New method.
9844 (setReuseAddress): New method.
9845 (getTrafficClass): New method.
9846 (setTrafficClass): New method.
9847 * java/net/URLStreamHandler.java
9848 (openConnection): java.io.IOException to IOException.
9849 (parseURL): Documentation added.
9850 (sameFile): public to protected, documentation added.
9851 (setURL): Documentation added.
9852 * java/nio/IllegalBlockingModeException.java: New file.
9853 * Makefile.am (ordinary_java_source_files):
9854 added java/nio/IllegalBlockingModeException.java
9855 * Makefile.in: Regenerated.
9857 2002-09-25 Michael Koch <konqueror@gmx.de>
9859 * java/net/DatagramPacket
9860 (DatagramPacket): Exception documentation added.
9861 (setData): Likewise.
9862 (setSocketAddress): Likewise.
9863 * java/net/DatagramSocketImpl.java
9864 (peek): Documentation addded.
9865 (peekData): Documentation addded.
9866 (send): Documentation addded.
9867 (receive): Documentation addded.
9868 (connect): New method.
9869 (disconnect): New method.
9870 (joinGroup): New abstract method.
9871 (leaveGroup): New abstract method.
9872 * java/net/InetSocketAddress.java
9873 (InetSocketAddress): Documentation added.
9874 (equals): final keyword added.
9875 (getAddress): final keyword added.
9876 (getHostName): final keyword added.
9877 (getPort): final keyword added.
9878 (hashCode): final keyword added.
9879 (isUnresolved): final keyword added.
9880 * java/net/MulticastSocket.java
9881 (MulticastSocket): Documentation added.
9882 (MulticastSocket): New method.
9883 (joinGroup): Documentation added.
9884 (joinGroup): New method.
9885 (leaveGroup): Documentation added.
9886 (leaveGroup): New method.
9887 (send): Documentation added.
9888 * java/net/NetworkInterface.java
9889 (getByName): Documentation added.
9890 (getByInetAddress): Documentation added.
9891 (getNetworkInterfaces): Documentation added.
9892 * java/net/PlainDatagramSocketImpl.java
9893 (connect): New method.
9894 (disconnect): New method.
9895 * java/net/SocketImpl.java
9896 (create): Documentation added.
9897 (shutdownInput): Convert public to protected, as it always was.
9898 (shutdownOutput): Convert public to protected, as it always was.
9899 * java/net/SocketOptions.java
9900 (whole file): Reintented.
9901 * java/net/URLClassLoader.java
9902 (URLClassLoader): SecurityManager check added, documentation added.
9903 (findResources): Documentation added.
9904 (findClass): Documentation added.
9905 (newInstance): More correct method arguments.
9906 * java/net/URLConnection.java
9907 (connect): Documentation added.
9908 (getContent): Documentation added.
9909 (getPermission): Documentation added.
9910 (getInputStream): Documentation added.
9911 (getOutputStream): Documentation added.
9912 (setDoInput): Throw correct exception, documentation added.
9913 (setDoOutput): Throw correct exception, documentation added.
9914 (setAllowUserInteraction): Throw correct exception, documentation added.
9915 (setUseCaches): Throw correct exception, documentation added.
9916 (setIfModifiedSince): Throw correct exception, documentation added.
9917 (setRequestProperty): Throw exception, documentation added.
9918 (addRequestProperty): Throw exception, documentation added.
9919 (getRequestProperty): Throw exception, documentation added.
9920 (getRequestProperties): Documentation added.
9921 (setContentHandlerFactory): Documentation added.
9922 (guessContentTypeFromName): protected to public.
9923 (setFileNameMap): Documentation added.
9924 * java/net/URLDecoder.java
9925 (URLDecoder): New method.
9926 (decode): Documentation added.
9927 (whole file): Reindented.
9928 * java/net/URLEncoder.java
9929 (encode): Documentation added.
9930 * java/net/natPlainDatagramSocketImpl.cc
9931 (connect): New method.
9932 (disconnect): New method.
9933 * javax/naming/RefAddr:
9934 (addrType): addrType was never final.
9935 (equals): Fix typo in method name.
9936 * javax/naming/BinaryRefAddr:
9937 (equals): Fix typo in method name.
9939 2002-09-22 Tom Tromey <tromey@redhat.com>
9941 Fix for PR libgcj/6576:
9942 * java/util/ResourceBundle.java (tryBundle): Cache `null' if we
9943 didn't find a given bundle.
9944 (getBundle): Don't require base bundle.
9945 (setParent): Removed old comment.
9946 (tryLocalBundle): Try components even if preceding components were
9949 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9951 * Makefile.am (all-multi): Fix multilib parallel build.
9953 2002-09-21 Michael Koch <konqueror@gmx.de>
9955 * java/net/Socket.java
9956 (sendUrgentData): New method.
9957 (getChannel): New method.
9958 * java/net/ServerSocket.java
9959 (getChannel): New method.
9960 (isBound): New method.
9961 * java/net/DatagramSocket.java
9962 (DatagramSocket): Two new methods.
9964 (getChannel): New method.
9965 (isBound): New method.
9966 (send): Added newline to to make shorter lines.
9967 * java/net/PlainDatagramSocketImpl.java
9968 (mcastGrp): Added argument.
9969 (join): Use new mcastGrp.
9970 (leave): Use new mcastGrp.
9971 (joinGroup): New method.
9972 (leaveGroup): New method.
9973 * java/net/natPlainDatagramSocketImpl.cc
9974 (mcastGrp): Added argument, no yet really implemented.
9975 (getOption): Added newline for shorter lines.
9976 * java/net/natPlainSocketImpl.cc
9977 (read, setOption, getOption): Added newline for shorter lines.
9979 2002-09-19 Tom Tromey <tromey@redhat.com>
9981 * java/lang/ClassLoader.java (resolveClass0): Set cause for
9982 newly-created exception.
9984 2002-09-18 Michael Koch <konqueror@gmx.de>
9986 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9987 java/util/regex/PatternSyntaxException.java:
9988 Merge with classpath, new files.
9989 * Makefile.am (core_java_source_files):
9990 Added java/util/regex/Matcher.java,
9991 java/util/regex/Pattern.java,
9992 java/util/regex/PatternSyntaxException.java
9993 * Makefile.in: Regenerated.
9994 * include/config.h.in: Added HAVE_NET_IF_H.
9995 * java/net/natNetworkInterface.cc (getRealNetworkInterfaces):
9996 Removed #if 0 ... #endif.
9998 2002-09-17 Michael Koch <konqueror@gmx.de>
10000 * java/net/natNetworkInterface.cc:
10001 Removed unneed and yet wrong includes.
10003 2002-09-17 Michael Koch <konqueror@gmx.de>
10005 * java/net/NetworkInterface.java: New file.
10006 * java/net/natNetworkInterface.java: New file.
10007 * configure.in: Added check for net/if.h.
10008 * configure: Regenerated.
10010 (ordinary_java_source_files): Added NetworkInterface.java.
10011 (nat_source_files): Added natNetworkInterface.cc.
10012 * Makefile.in: Regenerated.
10014 2002-09-16 Tom Tromey <tromey@redhat.com>
10016 * java/net/URLClassLoader.java (findClass): Code source for a
10017 class from a jar is not necessarily a jar: URL.
10019 2002-09-16 Michael Koch <konqueror@gmx.de>
10021 * java/lang/AssertionError.java:
10022 Merge with classpath, fixes HTML.
10023 * java/rmi/server/LogStream.java:
10024 Merge with classpath, fixes some constants.
10025 * java/net/server/RemoteServer.java:
10026 Merge with classpath, adds serialVersionUID.
10027 * javax/naming/BinaryRefAddr.java:
10028 Merge with classpath, s/equal/equals/.
10029 * javax/naming/NamingException.java:
10030 Merge with classpath, fixed typo.
10031 * javax/naming/RefAddr.java:
10032 Merge with classpath, s/equal/equals/.
10033 * java/awt/Toolkit.java:
10034 s/gnu.java.awt.peer.gtk.GtkToolkit/gnu.awt.gtk.GtkToolkit/
10037 2002-09-15 Adam Megacz <adam@xwt.org>
10039 * java/net/natPlainSocketImpl.cc: fixed typo.
10041 2002-09-15 Adam Megacz <adam@xwt.org>
10043 * java/net/natPlainSocketImpl.cc: #ifdef-shielded socket timeouts,
10044 which don't work on Win32 (yet).
10046 2002-09-14 Adam Megacz <adam@xwt.org>
10048 * java/net/natPlainDatagramSocket.cc: removed #include
10049 <ws2tcpip.h>; the mingw header is broken (conflicts with itself).
10050 * include/win32.h: included definition for IP_TOS to satisfy
10051 natPlainDatagramSocket.cc
10053 2002-09-13 Michael Koch <konqueror@gmx.de>
10055 * java/net/DatagramPacket.java (DatagramPacket):
10056 Added linebreak for 80 chars per line.
10057 * java/net/JarURLConection.java
10058 (getInputStreami, getJarEntry): Likewise.
10059 * java/net/SocketPErmission.java
10060 (SocketPermission class docu, implies): Likewise.
10061 * java/net/URLClassLoader.java (findResources): Likewise.
10062 * java/net/URLConnection.java: Reindendet remark for 80 chars per line
10064 2002-09-13 Michael Koch <konqueror@gmx.de>
10066 * java/nio/channels/DatagramChannel.java,
10067 java/nio/channels/ServerSocketChannel.java
10068 java/nio/channels/SocketChannel.java:
10069 New dummy files to make java.net fully JDK 1.4 compatible
10070 * Makefile.am (ordinary_java_source_files): Added
10071 java/net/DatagramSocketImplFactory.java (long forgotten),
10072 java/nio/SocketChannel.java,
10073 java/nio/ServerSocketChannel.java,
10074 java/nio/DatagramChannel.java
10075 * Makefile.in: Regenrated.
10077 2002-09-12 Michael Koch <konqueror@gmx.de>
10079 * java/net/DatagramSocketImpl.java
10080 (peekData): New method.
10081 * java/net/PlainDatagramSocketImpl.java
10082 (peekData): New method.
10083 * java/net/natPlainDatagramSocketImpl.cc
10084 (peekData): New method.
10085 * java/net/URLConnection
10086 (getPermission): New method.
10087 (addRequestProperty): New method.
10088 (getRequestProperties): New method.
10089 (guessContentTypeFromStream): New method, not really implemented.
10090 (URLConnection): Added/updated documentation.
10091 (connect): Added/updated documentation.
10092 (getURL): Added/updated documentation.
10093 (getContentLength): Added/updated documentation.
10094 (getContentType: Added/updated documentation.
10095 (getContentEncoding): Added/updated documentation.
10096 (getExpiration): Added/updated documentation.
10097 (getDate): Added/updated documentation.
10098 (getLastModified): Added/updated documentation.
10099 (getHeaderField): Added/updated documentation.
10100 (getHeaderFields): Added/updated documentation.
10101 (getHeaderFieldInt): Added/updated documentation.
10102 (getHeaderFieldDate): Added/updated documentation.
10103 (getHeaderFieldKey): Added/updated documentation.
10104 (getContent): Added/updated documentation.
10105 (getInputStream): Added/updated documentation.
10106 (getOutputStream): Added/updated documentation.
10107 (toString): Added/updated documentation.
10108 (setDoInput): Added/updated documentation.
10109 (getDoInput): Added/updated documentation.
10110 (setDoOutput): Added/updated documentation.
10111 (getDoOutput): Added/updated documentation.
10112 (setAllowUserInteraction): Added/updated documentation.
10113 (getAllowUserInteraction): Added/updated documentation.
10114 (setDefaultAllowUserInteraction): Added/updated documentation.
10115 (getDefaultAllowUserInteraction): Added/updated documentation.
10116 (setUseCaches): Added/updated documentation.
10117 (getUseCaches): Added/updated documentation.
10118 (setIfModifiedSince): Added/updated documentation.
10119 (getIfModifiedSince): Added/updated documentation.
10120 (getDefaultUseCaches): Added/updated documentation.
10121 (setDefaultUseCaches): Added/updated documentation.
10122 (setRequestProperty): Added/updated documentation.
10123 (getRequestProperty): Added/updated documentation.
10124 (setDefaultRequestProperty): Added/updated documentation.
10125 (getDefaultRequestProperty): Added/updated documentation.
10126 (setContentHandlerFactory): Added/updated documentation.
10127 (guessContentTypeFromName): Added/updated documentation.
10128 (getFileNameMap): Added/updated documentation.
10129 (setFileNameMap): Added/updated documentation.
10131 2002-09-11 Michael Koch <konqueror@gmx.de>
10133 * java/net/Socket.java
10134 (Socket): protected to public (since JDK 1.4). Added @specnote.
10135 (bind): New method.
10136 (connect): Two new methods.
10137 (getKeepalive): Get correct socket option.
10138 (setKeepalive): Set correct socket option.
10139 (getOOBInline): New method.
10140 (setOOBInline): New method.
10141 * java/net/ServerSocket.java
10142 (bind): Two new methods.
10143 (getInetAddress): Reimplemented, catch exception.
10144 (getLocalSocketAddress): New method.
10145 (setReuseAddress): New method.
10146 (getReuseAdress): New method.
10147 (setReceiveBufferSize): New method.
10148 (getReceiveBufferSize): New method.
10149 (toString): Made string JDK 1.4 compliant.
10151 2002-09-10 Michael Koch <konqueror@gmx.de>
10153 * java/net/SocketImpl.java
10154 (connect): New method.
10155 (supportsUrgentData): New method.
10156 (sendUrgentData): New method.
10157 * java/net/PlainSocketImpl.java
10158 (connect): One new method and two new implementation.
10159 (sendUrgentData): New method.
10160 * java/natPlainSocketImpl.cc
10161 (connect): Arguments changed, added support for timeouts.
10162 (getOption): Another __java_boolean to jboolean.
10164 2002-09-07 Adam Megacz <adam@xwt.org>
10166 * java/net/natPlainDatagramSocket.cc: include ws2tcpip.h for
10167 definition of IP_TOS.
10169 2002-09-04 Michael Koch <konqueror@gmx.de>
10171 * java/net/DatagramSocket.java
10172 (DatagramSocket): Added documentation.
10174 (getLocalAddress): Likewise.
10175 (getLocalPort): Likewise.
10176 (receive): Likewise.
10178 (setSoTimeout): Likewise.
10179 (connect): New method.
10180 (disconnect): New method.
10181 (getInetAddress): New method (FIXME)
10182 (getPort): New method.
10183 (setReuseAddress): New method.
10184 (getReuseAddress): New method.
10185 (setBroadcast): New method.
10186 (getBroadcast): New method.
10187 (setTrafficClass): New method.
10188 (getTrafficClass): New method.
10189 * java/net/MulticastSocket.java):
10190 (getTTL): Added @see in documentation.
10191 (setTTL): Added @see in documentation.
10192 (setLoopbackMode): New method.
10193 (getLoopbackMode): New method.
10194 * java/net/PlainSocketImpl.java:
10195 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
10196 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10197 * java/net/PlainDatagramSocketImpl.java
10198 Added new constants for the options SO_BROADCAST, SO_OOBINLINE,
10199 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10200 * java/net/natPlainSocketImpl.cc
10201 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10202 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10203 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10204 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10205 This should also fix SO_KEEPALIVE
10206 * java/net/natPlainDatagramSocketImpl.cc
10207 (getOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10208 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10209 (setOption): Implemented the options SO_BROADCAST, SO_OOBINLINE,
10210 IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS
10212 2002-09-04 Michael Koch <konqueror@gmx.de>
10214 * java/net/SocketOptions.java: added static variables to be JDK 1.4
10215 compatible (SO_BROADCAST, SO_OOBINLINE, IP_MULTICAST_IF2,
10216 IP_MULTICAST_LOOP, IP_TOS
10218 2002-09-03 Tom Tromey <tromey@redhat.com>
10220 * java/lang/Class.h (_getDeclaredMethod): Declare.
10221 (_getMethod): Now private.
10222 * java/lang/natClass.cc (_getDeclaredMethod): Renamed from
10223 getDeclaredMethod. Now returns NULL on failure.
10224 * java/lang/Class.java (_getDeclaredMethod): Declare.
10225 (getDeclaredMethod): No longer native; implements access checks.
10227 2002-09-01 Mark Wielaard <mark@klomp.org>
10229 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): New field.
10230 (sanitizeStack): Correctly reset unknown and interpreter counters,
10231 detect interpreter runtime frames.
10232 (demangleInterpreterMethod): New method.
10233 * gnu/gcj/runtime/natNameFinder.cc (lookupInterp): Use new method.
10234 * java/lang/natVMThrowable.cc (fillInStackTrace): Change order of
10235 filling in addrs[].
10237 2002-09-02 Michael Koch <konqueror@gmx.de>
10239 * java/net/DatagramPacket.java, java/net/MulticsstSocket.java:
10240 re-indented documentation.
10242 2002-08-30 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10244 * java/util/Calendar.java (getTimeInMillis, getTimeInMillis): Now
10245 public, per 1.4 spec. Fixes PR libgcj/7785.
10247 2002-08-30 Jeff Sturm <jsturm@one-point.com>
10249 * Makefile.in: Rebuilt.
10250 * Makefile.am (ZIP, GCJH): Remove $(EXEEXT).
10252 2002-08-29 Tom Tromey <tromey@redhat.com>
10254 * java/net/JarURLConnection.java (getCertificates): New method
10256 * java/net/URLClassLoader.java (URLClassLoader): Extends
10258 (definePackage): New method from Classpath.
10259 (getPermissions): Likewise.
10260 (newInstance): Likewise.
10261 (findClass): Construct CodeSource for new class (from Classpath).
10262 * java/net/SocketImpl.java (shutdownInput, shutdownOutput): New
10264 * java/net/URL.java (getUserInfo): New method.
10265 (set(String,String,int,String,String,String,String,String)): New
10267 * java/net/PlainSocketImpl.java (_Jv_SO_KEEPALIVE_): Define.
10268 (shutdownInput, shutdownOutput): Declare.
10269 * java/net/PlainDatagramSocketImpl.java (_Jv_SO_KEEPALIVE_):
10271 * java/net/natPlainSocketImpl.cc (setOption): Handle keepalive.
10272 (getOption): Likewise.
10273 (shutdownInput): New method.
10274 (shutdownOutput): Likewise.
10275 * java/net/natPlainDatagramSocketImpl.cc (setOption): Handle
10277 (getOption): Likewise.
10278 * java/net/SocketOptions.java (SO_KEEPALIVE): New constant.
10279 * java/net/Socket.java (setKeepAlive): New method.
10280 (getKeepAlive): Likewise.
10281 (shutdownInput, shutdownOutput): New methods.
10283 2002-08-29 Michael Koch <konqueror@gmx.de>
10285 * java/net/DatagramPacket.java: updated to JDK 1.4 API
10287 DatagramPacket(byte[] buf, int offset, int length, SocketAddress
10289 DatagramPacket(byte[] buf, int length, SocketAddress address),
10290 void setSocketAddress(SocketAddress address)
10291 public SocketAddress getSocketAddress()
10293 2002-08-29 Tom Tromey <tromey@redhat.com>
10295 * java/io/natFileDescriptorPosix.cc (setLength): Handle case where
10296 ftruncate is missing.
10297 * configure, include/config.h.in: Rebuilt.
10298 * acconfig.h (HAVE_FTRUNCATE): Mention.
10299 * configure.in: Check for ftruncate.
10301 2002-08-29 Tom Tromey <tromey@redhat.com>
10303 * include/jvm.h (struct _Jv_frame_info): New structure.
10304 * gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
10306 (lookupInterp): New method.
10307 (getAddrAsString): Use _Jv_frame_info.
10308 (dladdrLookup): Likewise.
10309 * gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
10311 (lookupInterp): Declare.
10312 * java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
10313 (fillInStackTrace): Collect information on interpreted frames.
10314 Use _Jv_frame_info.
10315 * interpret.cc: Include Thread.h.
10316 (run): Create and push _Jv_MethodChain object.
10317 (_Jv_EndOfInterpreter): New global.
10318 * java/lang/Thread.java (interp_frame): New field.
10319 * include/java-interp.h (struct _Jv_MethodChain): New structure.
10320 Include NameFinder.h.
10322 2002-08-28 Tom Tromey <tromey@redhat.com>
10324 * java/lang/Class.h: Include Package.h.
10325 (Class::getProtectionDomain): Declare.
10326 (Class::getPackage): Declare.
10328 2002-08-28 Michael Koch <konqueror@gmx.de>
10330 * java/net/InetSocketAddress.java: Added some documentation and argument
10331 checks for the port numbers.
10332 * java/net/DatagramSocketImplFactory.java: New file.
10334 2002-08-28 Michael Koch <konqueror@gmx.de>
10336 * java/net/Authenticator.java: added some documentation.
10338 2002-08-27 Tom Tromey <tromey@redhat.com>
10340 * java/lang/reflect/natConstructor.cc (newInstance): Initialize
10342 * java/lang/reflect/natMethod.cc (invoke): Initialize class.
10344 2002-08-27 Michael Koch <konqueror@gmx.de>
10346 * java/net/BindException.java,
10347 java/net/JarURLConnection.java,
10348 java/net/FileNameMap.java,
10349 java/net/HttpURLConnection.java,
10350 java/net/InetSocketAddress.java,
10351 java/net/DatagramPacket.java,
10352 java/net/DatagramSocket.java,
10353 java/net/DatagramSocketImpl.java,
10354 java/net/MulticastSocket.java,
10355 java/net/PasswordAuthentication.java,
10356 java/net/ServerSocket.java,
10357 java/net/Socket.java,
10358 java/net/URLClassLoader.java,
10359 java/net/URLConnection.java: add/update of some @since/@deprecated
10361 2002-08-27 Tony Kimball <alk@pobox.com>
10362 Tom Tromey <tromey@redhat.com>
10364 * java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
10366 (::close): Removed.
10367 (PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
10368 * java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
10369 (::close): Removed.
10370 (PlainSocketImpl::close): Use NATIVE_CLOSE.
10371 * include/win32.h (getcwd): Removed declaration. Include io.h.
10373 2002-08-25 Adam Megacz <adam@xwt.org>
10375 * include/win32.h (getcwd): copied function declaration as
10376 temporary fix for header confusion.
10378 2002-08-24 Mark Wielaard <mark@klomp.org>
10380 * Makefile.am (libgcj_la_SOURCES): Remove name-finder.cc.
10381 (core_java_source_files): Add VMThrowable.java and NameFinder.java
10382 (nat_source_files): Remove natThrowable.cc, add natVMThrowable.cc
10383 and natNameFinder.cc.
10384 * Makefile.in: Regenerate.
10385 * prims.cc: Use trace_enabled from VMThrowable.
10386 * name-finder.cc: Removed.
10387 * gcj/javaprims.h: Add class VMThrowable.
10388 * gnu/gcj/runtime/NameFinder.java: New file.
10389 * gnu/gcj/runtime/natNameFinder.cc: Likewise.
10390 * include/name-finder.h: Removed.
10391 * java/lang/Throwable.java (printStackTrace (PrintStream)): Use new
10392 method stackTraceString().
10393 (printStackTrace (PrintWriter)): Likewise.
10394 (stackTraceString): Complete rewrite of old printStackTrace using
10396 (stackTraceStringBuffer): New helper method for stackTraceString().
10397 (fillInStackTrace): Delegate to VMTrowable.
10398 (getStackTrace): Likewise.
10399 (getStackTrace0): Removed.
10400 (trace_enabled, stackTraceBytes): Moved to new VMThrowable.java.
10401 (setStackTrace): Copy given array.
10402 * java/lang/natThrowable.cc: Removed (replaced by natVMThrowable).
10403 * java/lang/VMThrowable.java: New class.
10404 * java/lang/natVMThrowable.cc: New file.
10406 2003-08-23 Michael Koch <konqueror@gmx.de>
10408 * java/net/URLConnection.java,
10409 java/netJarURLConnection.java,
10410 gnu/gcj/protocol/core/Connection.java,
10411 gnu/gcj/protocol/file/Connection.java,
10412 gnu/gcj/protocol/http/Connection.java: Added implementation of
10415 2002-08-22 Tom Tromey <tromey@redhat.com>
10417 * gij.cc (help): Document -cp and -classpath.
10418 (main): Handle -classpath.
10420 2002-08-21 Tom Tromey <tromey@redhat.com>
10422 * Makefile.in: Rebuilt.
10423 * Makefile.am (ordinary_java_source_files): Added
10424 SocketAddress.java, InetSocketAddress.java.
10425 * java/net/PortUnreachableException.java: Merged with Classpath.
10426 * java/net/SocketTimeoutException.java: Likewise.
10427 * java/net/URISyntaxException.java: Likewise.
10428 * java/net/SocketAddress.java: New class from Classpath.
10429 * java/net/InetSocketAddress.java: Likewise.
10431 2003-08-21 Michael Koch <konqueror@gmx.de>
10433 * java/net/Authenticator.java: updated JDK 1.4
10434 * java/net/ContentHandler.java: updated JDK 1.4
10436 2002-08-20 Michael Koch <konqueror@gmx.de>
10438 * java/net/URISyntaxException.java: New file.
10439 * java/net/SocketTimeoutException.java: New file.
10440 * java/net/PortUnreachableException.java: New file.
10441 * Makefile.am: Updated.
10442 * Makefile.in: Rebuilt.
10444 2002-08-18 Mark Wielaard <mark@klomp.org>
10446 Thanks to Vladimir Puskas <vpuskas@eunet.yu>
10447 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
10448 MessageDigestSpi (fixes Classpath bug #783).
10450 2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10452 * java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
10453 (startProcess): Allocate path for chdir in async-signal-safe way.
10455 2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
10457 Fix for PR libgcj/7570 and PR libgcj/7578:
10458 * java/lang/natPosixProcess.cc: Include java/io/File.h.
10459 (startProcess): Handle new `dir' argument.
10460 * java/lang/Win32Process.java (ConcreteProcess): Added `dir'
10462 * java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
10464 (startProcess): Likewise.
10465 * java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
10467 * java/lang/Runtime.java (execInternal): Added `dir' argument.
10468 (exec): Don't create new environment if ENV==null. Pass DIR to
10470 * java/lang/natRuntime.cc: Include java/io/File.h.
10471 (execInternal): Added `dir' argument.
10473 2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
10475 * java/io/RandomAccessFile.java (skipBytes): Return number of
10478 2002-08-01 Mark Wielaard <mark@klomp.org>
10480 Reenable patch since shared library troubles on powerpc are solved:
10481 * gnu/java/security/provider/Gnu.java: Reference all implementation
10482 classes by using Class.getName().
10483 * gnu/java/security/der/DEREncodingException.java,
10484 gnu/java/security/provider/DERReader.java,
10485 gnu/java/security/provider/DERWriter.java,
10486 gnu/java/security/provider/DSAKeyPairGenerator.java,
10487 gnu/java/security/provider/DSAParameterGenerator.java,
10488 gnu/java/security/provider/DSAParameters.java,
10489 gnu/java/security/provider/DSASignature.java,
10490 gnu/java/security/provider/GnuDSAPrivateKey.java,
10491 gnu/java/security/provider/GnuDSAPublicKey.java,
10492 gnu/java/security/provider/MD5.java,
10493 gnu/java/security/util/Prime.java: New classes
10494 * Makefile.am (ordinary_java_source_files): Add above files.
10495 * Makefile.in: Regenerate.
10496 * gnu/java/security/provider/DefaultPolicy.java
10497 (getPermissions): Don't maintain static class variable of Permissions.
10498 * gnu/java/security/provider/SHA.java
10499 (engineUpdate): algorithm change.
10500 (engineDigest): algorithm change.
10502 2002-08-09 Mark Wielaard <mark@klomp.org>
10504 * java/awt/image/MemoryImageSource.java: Change constructor to take
10506 * java/awt/Graphics2D.java: Uncomment methods that can now be
10508 * java/awt/GridBagLayout.java: New stub implementation.
10509 * javax/swing/text/html/HTML.java: Stub implementation.
10510 * javax/swing/text/html/parser/ParserDelegator.java: New stub
10513 * Makefile.am: Add new files.
10514 * Makefile.in: Rebuilt.
10516 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10518 * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
10519 methods in Graphics2D.
10521 2002-08-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10523 AWT/Swing merge from GNU Classpath.
10525 * java/awt/AlphaComposite.java, java/awt/AttributeValue.java,
10526 java/awt/BasicStroke.java, java/awt/BufferCapabilities.java,
10527 java/awt/color/CMMException.java, java/awt/ColorPaintContext.java,
10528 java/awt/color/ProfileDataException.java,
10529 java/awt/CompositeContext.java, java/awt/Composite.java,
10530 java/awt/ContainerOrderFocusTraversalPolicy.java,
10531 java/awt/datatransfer/FlavorTable.java,
10532 java/awt/DefaultFocusTraversalPolicy.java,
10533 java/awt/DefaultKeyboardFocusManager.java, java/awt/DisplayMode.java,
10534 java/awt/dnd/DnDConstants.java, java/awt/dnd/DragGestureEvent.java,
10535 java/awt/dnd/DragGestureListener.java,
10536 java/awt/dnd/DragGestureRecognizer.java,
10537 java/awt/dnd/DragSourceAdapter.java,
10538 java/awt/dnd/DragSourceContext.java,
10539 java/awt/dnd/DragSourceDragEvent.java,
10540 java/awt/dnd/DragSourceEvent.java, java/awt/dnd/DragSource.java,
10541 java/awt/dnd/DragSourceListener.java,
10542 java/awt/dnd/DragSourceMotionListener.java,
10543 java/awt/dnd/DropTarget.java,
10544 java/awt/dnd/InvalidDnDOperationException.java,
10545 java/awt/dnd/peer/DragSourceContextPeer.java,
10546 java/awt/event/AWTEventListenerProxy.java,
10547 java/awt/event/MouseWheelEvent.java,
10548 java/awt/event/MouseWheelListener.java,
10549 java/awt/event/WindowFocusListener.java,
10550 java/awt/event/WindowStateListener.java,
10551 java/awt/FocusTraversalPolicy.java, java/awt/FontFormatException.java,
10552 java/awt/font/TextHitInfo.java, java/awt/geom/Arc2D.java,
10553 java/awt/geom/Area.java, java/awt/geom/CubicCurve2D.java,
10554 java/awt/geom/FlatteningPathIterator.java,
10555 java/awt/geom/GeneralPath.java, java/awt/geom/QuadCurve2D.java,
10556 java/awt/GradientPaint.java, java/awt/GraphicsConfigTemplate.java,
10557 java/awt/GraphicsDevice.java, java/awt/GraphicsEnvironment.java,
10558 java/awt/HeadlessException.java, java/awt/image/BufferedImageOp.java,
10559 java/awt/image/BufferStrategy.java, java/awt/ImageCapabilities.java,
10560 java/awt/image/ImagingOpException.java,
10561 java/awt/image/RasterFormatException.java,
10562 java/awt/image/RenderedImage.java, java/awt/image/TileObserver.java,
10563 java/awt/image/VolatileImage.java,
10564 java/awt/image/WritableRenderedImage.java,
10565 java/awt/im/InputContext.java, java/awt/im/InputMethodHighlight.java
10566 java/awt/im/InputMethodRequests.java, java/awt/im/InputSubset.java,
10567 java/awt/JobAttributes.java, java/awt/KeyboardFocusManager.java,
10568 java/awt/KeyEventDispatcher.java, java/awt/KeyEventPostProcessor.java
10569 java/awt/PageAttributes.java, java/awt/print/Book.java,
10570 java/awt/print/Pageable.java, java/awt/print/PageFormat.java,
10571 java/awt/print/Paper.java, java/awt/print/Printable.java,
10572 java/awt/print/PrinterAbortException.java,
10573 java/awt/print/PrinterException.java,
10574 java/awt/print/PrinterGraphics.java,
10575 java/awt/print/PrinterIOException.java, java/awt/print/PrinterJob.java,
10576 java/awt/Robot.java, java/awt/ScrollPaneAdjustable.java,
10577 java/awt/Stroke.java, java/awt/TexturePaint.java,
10578 javax/accessibility/AccessibleAction.java,
10579 javax/accessibility/AccessibleBundle.java,
10580 javax/accessibility/AccessibleComponent.java,
10581 javax/accessibility/AccessibleContext.java,
10582 javax/accessibility/AccessibleEditableText.java,
10583 javax/accessibility/AccessibleExtendedComponent.java,
10584 javax/accessibility/AccessibleExtendedTable.java,
10585 javax/accessibility/AccessibleHyperlink.java,
10586 javax/accessibility/AccessibleHypertext.java,
10587 javax/accessibility/AccessibleIcon.java,
10588 javax/accessibility/Accessible.java,
10589 javax/accessibility/AccessibleKeyBinding.java,
10590 javax/accessibility/AccessibleRelation.java,
10591 javax/accessibility/AccessibleRelationSet.java,
10592 javax/accessibility/AccessibleResourceBundle.java,
10593 javax/accessibility/AccessibleRole.java,
10594 javax/accessibility/AccessibleSelection.java,
10595 javax/accessibility/AccessibleState.java,
10596 javax/accessibility/AccessibleStateSet.java,
10597 javax/accessibility/AccessibleTable.java,
10598 javax/accessibility/AccessibleTableModelChange.java,
10599 javax/accessibility/AccessibleText.java,
10600 javax/accessibility/AccessibleValue.java,
10601 javax/swing/AbstractAction.java,
10602 javax/swing/AbstractButton.java,
10603 javax/swing/AbstractCellEditor.java,
10604 javax/swing/AbstractListModel.java,
10605 javax/swing/AbstractSet.java, javax/swing/Action.java,
10606 javax/swing/ActionMap.java, javax/swing/border/AbstractBorder.java,
10607 javax/swing/border/BevelBorder.java, javax/swing/border/Border.java,
10608 javax/swing/border/CompoundBorder.java,
10609 javax/swing/border/EmptyBorder.java,
10610 javax/swing/border/EtchedBorder.java, javax/swing/BorderFactory.java,
10611 javax/swing/border/LineBorder.java,
10612 javax/swing/border/MatteBorder.java,
10613 javax/swing/border/TitledBorder.java,
10614 javax/swing/BoundedRangeModel.java, javax/swing/Box.java,
10615 javax/swing/BoxLayout.java, javax/swing/ButtonGroup.java,
10616 javax/swing/ButtonModel.java, javax/swing/CellEditor.java,
10617 javax/swing/CellRendererPane.java,
10618 javax/swing/colorchooser/AbstractColorChooserPanel.java,
10619 javax/swing/colorchooser/ColorChooserComponentFactory.java,
10620 javax/swing/colorchooser/ColorSelectionModel.java,
10621 javax/swing/colorchooser/DefaultColorSelectionModel.java,
10622 javax/swing/ComboBoxEditor.java, javax/swing/ComboBoxModel.java,
10623 javax/swing/ComponentInputMap.java, javax/swing/DebugGraphics.java,
10624 javax/swing/DefaultBoundedRangeModel.java,
10625 javax/swing/DefaultButtonModel.java,
10626 javax/swing/DefaultCellEditor.java,
10627 javax/swing/DefaultCellRenderer.java,
10628 javax/swing/DefaultComboBoxModel.java,
10629 javax/swing/DefaultDesktopManager.java,
10630 javax/swing/DefaultFocusManager.java,
10631 javax/swing/DefaultListCellRenderer.java,
10632 javax/swing/DefaultListModel.java,
10633 javax/swing/DefaultListSelectionModel.java,
10634 javax/swing/DefaultSingleSelectionModel.java,
10635 javax/swing/DesktopManager.java,
10636 javax/swing/event/AncestorEvent.java,
10637 javax/swing/event/AncestorListener.java,
10638 javax/swing/event/CaretEvent.java,
10639 javax/swing/event/CaretListener.java,
10640 javax/swing/event/CellEditorListener.java,
10641 javax/swing/event/ChangeEvent.java,
10642 javax/swing/event/ChangeListener.java,
10643 javax/swing/event/DocumentEvent.java,
10644 javax/swing/event/DocumentListener.java,
10645 javax/swing/event/EventListenerList.java,
10646 javax/swing/event/HyperlinkEvent.java,
10647 javax/swing/event/HyperlinkListener.java,
10648 javax/swing/event/InternalFrameAdapter.java,
10649 javax/swing/event/InternalFrameEvent.java,
10650 javax/swing/event/InternalFrameListener.java,
10651 javax/swing/event/ListDataEvent.java,
10652 javax/swing/event/ListDataListener.java,
10653 javax/swing/event/ListSelectionEvent.java,
10654 javax/swing/event/ListSelectionListener.java,
10655 javax/swing/event/MenuDragMouseEvent.java,
10656 javax/swing/event/MenuDragMouseListener.java,
10657 javax/swing/event/MenuEvent.java,
10658 javax/swing/event/MenuKeyEvent.java,
10659 javax/swing/event/MenuKeyListener.java,
10660 javax/swing/event/MenuListener.java,
10661 javax/swing/event/MouseInputAdapter.java,
10662 javax/swing/event/MouseInputListener.java,
10663 javax/swing/event/PopupMenuEvent.java,
10664 javax/swing/event/PopupMenuListener.java,
10665 javax/swing/event/SwingPropertyChangeSupport.java,
10666 javax/swing/event/TableColumnModelEvent.java,
10667 javax/swing/event/TableColumnModelListener.java,
10668 javax/swing/event/TableModelEvent.java,
10669 javax/swing/event/TableModelListener.java,
10670 javax/swing/event/TreeExpansionEvent.java,
10671 javax/swing/event/TreeExpansionListener.java,
10672 javax/swing/event/TreeModelEvent.java,
10673 javax/swing/event/TreeModelListener.java,
10674 javax/swing/event/TreeSelectionEvent.java,
10675 javax/swing/event/TreeSelectionListener.java,
10676 javax/swing/event/TreeWillExpandListener.java,
10677 javax/swing/event/UndoableEditEvent.java,
10678 javax/swing/event/UndoableEditListener.java,
10679 javax/swing/filechooser/FileFilter.java,
10680 javax/swing/filechooser/FileSystemView.java,
10681 javax/swing/filechooser/FileView.java,
10682 javax/swing/FocusManager.java, javax/swing/GrayFilter.java,
10683 javax/swing/Icon.java, javax/swing/ImageIcon.java,
10684 javax/swing/InputMap.java, javax/swing/InputVerifier.java,
10685 javax/swing/JApplet.java, javax/swing/JButton.java,
10686 javax/swing/JCheckBox.java, javax/swing/JCheckBoxMenuItem.java,
10687 javax/swing/JColorChooser.java, javax/swing/JComboBox.java,
10688 javax/swing/JComponent.java, javax/swing/JDesktopPane.java,
10689 javax/swing/JDialog.java, javax/swing/JEditorPane.java,
10690 javax/swing/JFileChooser.java, javax/swing/JFrame.java,
10691 javax/swing/JInternalFrame.java, javax/swing/JLabel.java,
10692 javax/swing/JLayeredPane.java, javax/swing/JList.java,
10693 javax/swing/JMenuBar.java, javax/swing/JMenuItem.java,
10694 javax/swing/JMenu.java, javax/swing/JOptionPane.java,
10695 javax/swing/JPanel.java, javax/swing/JPasswordField.java,
10696 javax/swing/JPopupMenu.java, javax/swing/JProgressBar.java,
10697 javax/swing/JRadioButton.java, javax/swing/JRadioButtonMenuItem.java,
10698 javax/swing/JRootPane.java, javax/swing/JScrollBar.java,
10699 javax/swing/JScrollPane.java, javax/swing/JSeparator.java,
10700 javax/swing/JSlider.java, javax/swing/JSplitPane.java,
10701 javax/swing/JTabbedPane.java, javax/swing/JTable.java,
10702 javax/swing/JTextField.java, javax/swing/JTextPane.java,
10703 javax/swing/JToggleButton.java, javax/swing/JToolBar.java,
10704 javax/swing/JToolTip.java, javax/swing/JTree.java,
10705 javax/swing/JViewport.java, javax/swing/JWindow.java,
10706 javax/swing/KeyStroke.java, javax/swing/ListCellRenderer.java,
10707 javax/swing/ListModel.java, javax/swing/ListSelectionModel.java,
10708 javax/swing/LookAndFeel.java, javax/swing/MenuElement.java,
10709 javax/swing/MenuSelectionManager.java,
10710 javax/swing/MutableComboBoxModel.java,
10711 javax/swing/OverlayLayout.java,
10712 javax/swing/plaf/ActionMapUIResource.java,
10713 javax/swing/plaf/basic/BasicBorders.java,
10714 javax/swing/plaf/basic/BasicButtonUI.java,
10715 javax/swing/plaf/basic/BasicCheckBoxUI.java,
10716 javax/swing/plaf/basic/BasicDefaults.java,
10717 javax/swing/plaf/basic/BasicGraphicsUtils.java,
10718 javax/swing/plaf/basic/BasicIconFactory.java,
10719 javax/swing/plaf/basic/BasicLabelUI.java,
10720 javax/swing/plaf/basic/BasicListUI.java,
10721 javax/swing/plaf/basic/BasicLookAndFeel.java,
10722 javax/swing/plaf/basic/BasicOptionPaneUI.java,
10723 javax/swing/plaf/basic/BasicPanelUI.java,
10724 javax/swing/plaf/basic/BasicRadioButtonUI.java,
10725 javax/swing/plaf/basic/BasicScrollPaneUI.java,
10726 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
10727 javax/swing/plaf/basic/BasicTextUI.java,
10728 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10729 javax/swing/plaf/basic/BasicTreeUI.java,
10730 javax/swing/plaf/basic/BasicViewportUI.java,
10731 javax/swing/plaf/BorderUIResource.java,
10732 javax/swing/plaf/ButtonUI.java,
10733 javax/swing/plaf/ColorChooserUI.java,
10734 javax/swing/plaf/ColorUIResource.java,
10735 javax/swing/plaf/ComboBoxUI.java,
10736 javax/swing/plaf/ComponentInputMapUIResource.java,
10737 javax/swing/plaf/ComponentUI.java,
10738 javax/swing/plaf/DesktopIconUI.java,
10739 javax/swing/plaf/DesktopPaneUI.java,
10740 javax/swing/plaf/DimensionUIResource.java,
10741 javax/swing/plaf/FileChooserUI.java,
10742 javax/swing/plaf/FontUIResource.java,
10743 javax/swing/plaf/IconUIResource.java,
10744 javax/swing/plaf/InputMapUIResource.java,
10745 javax/swing/plaf/InsetsUIResource.java,
10746 javax/swing/plaf/InternalFrameUI.java,
10747 javax/swing/plaf/LabelUI.java,
10748 javax/swing/plaf/ListUI.java,
10749 javax/swing/plaf/MenuBarUI.java,
10750 javax/swing/plaf/MenuItemUI.java,
10751 javax/swing/plaf/OptionPaneUI.java,
10752 javax/swing/plaf/PanelUI.java,
10753 javax/swing/plaf/PopupMenuUI.java,
10754 javax/swing/plaf/ProgressBarUI.java,
10755 javax/swing/plaf/RootPaneUI.java,
10756 javax/swing/plaf/ScrollBarUI.java,
10757 javax/swing/plaf/ScrollPaneUI.java,
10758 javax/swing/plaf/SeparatorUI.java,
10759 javax/swing/plaf/SliderUI.java,
10760 javax/swing/plaf/SplitPaneUI.java,
10761 javax/swing/plaf/TabbedPaneUI.java,
10762 javax/swing/plaf/TableHeaderUI.java,
10763 javax/swing/plaf/TableUI.java,
10764 javax/swing/plaf/TextUI.java,
10765 javax/swing/plaf/ToolBarUI.java,
10766 javax/swing/plaf/ToolTipUI.java,
10767 javax/swing/plaf/TreeUI.java,
10768 javax/swing/plaf/UIResource.java,
10769 javax/swing/plaf/ViewportUI.java,
10770 javax/swing/ProgressMonitorInputStream.java,
10771 javax/swing/ProgressMonitor.java,
10772 javax/swing/Renderer.java,
10773 javax/swing/RepaintManager.java,
10774 javax/swing/RootPaneContainer.java,
10775 javax/swing/Scrollable.java,
10776 javax/swing/ScrollPaneConstants.java,
10777 javax/swing/ScrollPaneLayout.java,
10778 javax/swing/SingleSelectionModel.java,
10779 javax/swing/SizeRequirements.java,
10780 javax/swing/SizeSequence.java,
10781 javax/swing/SwingConstants.java,
10782 javax/swing/SwingUtilities.java,
10783 javax/swing/table/AbstractTableModel.java,
10784 javax/swing/table/DefaultTableCellRenderer.java,
10785 javax/swing/table/DefaultTableColumnModel.java,
10786 javax/swing/table/DefaultTableModel.java,
10787 javax/swing/table/TableCellEditor.java,
10788 javax/swing/table/TableCellRenderer.java,
10789 javax/swing/table/TableColumn.java,
10790 javax/swing/table/TableColumnModel.java,
10791 javax/swing/table/TableModel.java,
10792 javax/swing/text/AbstractDocument.java,
10793 javax/swing/text/AttributeSet.java,
10794 javax/swing/text/BadLocationException.java,
10795 javax/swing/text/Caret.java,
10796 javax/swing/text/CharacterIterator.java,
10797 javax/swing/text/ComponentView.java,
10798 javax/swing/text/DefaultCaret.java,
10799 javax/swing/text/DefaultEditorKit.java,
10800 javax/swing/text/Document.java,
10801 javax/swing/text/EditorKit.java,
10802 javax/swing/text/Element.java,
10803 javax/swing/text/GapContent.java,
10804 javax/swing/text/JTextComponent.java,
10805 javax/swing/text/Keymap.java,
10806 javax/swing/text/MutableAttributeSet.java,
10807 javax/swing/text/PlainDocument.java,
10808 javax/swing/text/PlainEditorKit.java,
10809 javax/swing/text/Position.java,
10810 javax/swing/text/Segment.java,
10811 javax/swing/text/StyledDocument.java,
10812 javax/swing/text/StyledEditorKit.java,
10813 javax/swing/text/Style.java,
10814 javax/swing/text/TextAction.java,
10815 javax/swing/text/ViewFactory.java,
10816 javax/swing/text/View.java,
10817 javax/swing/Timer.java,
10818 javax/swing/ToggleButtonModel.java,
10819 javax/swing/ToolTipManager.java,
10820 javax/swing/tree/AbstractLayoutCache.java,
10821 javax/swing/tree/DefaultMutableTreeNode.java,
10822 javax/swing/tree/DefaultTreeCellEditor.java,
10823 javax/swing/tree/DefaultTreeCellRenderer.java,
10824 javax/swing/tree/DefaultTreeModel.java,
10825 javax/swing/tree/DefaultTreeSelectionModel.java,
10826 javax/swing/tree/ExpandVetoException.java,
10827 javax/swing/tree/FixedHeightLayoutCache.java,
10828 javax/swing/tree/MutableTreeNode.java,
10829 javax/swing/tree/RowMapper.java,
10830 javax/swing/tree/TreeCellEditor.java,
10831 javax/swing/tree/TreeCellRenderer.java,
10832 javax/swing/tree/TreeModel.java,
10833 javax/swing/tree/TreeNode.java,
10834 javax/swing/tree/TreePath.java,
10835 javax/swing/tree/TreeSelectionModel.java,
10836 javax/swing/tree/VariableHeightLayoutCache.java,
10837 javax/swing/UIDefaults.java,
10838 javax/swing/UIManager.java,
10839 javax/swing/undo/AbstractUndoableEdit.java,
10840 javax/swing/undo/CannotRedoException.java,
10841 javax/swing/undo/CannotUndoException.java,
10842 javax/swing/undo/CompoundEdit.java,
10843 javax/swing/undo/StateEditable.java,
10844 javax/swing/undo/StateEdit.java,
10845 javax/swing/undo/UndoableEdit.java,
10846 javax/swing/undo/UndoableEditSupport.java,
10847 javax/swing/undo/UndoManager.java,
10848 javax/swing/UnsupportedLookAndFeelException.java,
10849 javax/swing/ViewportLayout.java,
10850 javax/swing/WindowConstants.java: New files, from GNU Classpath.
10852 * java/awt/ActiveEvent.java,
10853 java/awt/Adjustable.java, java/awt/AWTError.java,
10854 java/awt/AWTEvent.java, java/awt/AWTEventMulticaster.java,
10855 java/awt/AWTException.java, java/awt/AWTPermission.java,
10856 java/awt/BorderLayout.java, java/awt/Button.java, java/awt/Choice.java,
10857 java/awt/Color.java, java/awt/Component.java,
10858 java/awt/ComponentOrientation.java, java/awt/Container.java,
10859 java/awt/datatransfer/MimeTypeParseException.java,
10860 java/awt/datatransfer/Transferable.java,
10861 java/awt/datatransfer/UnsupportedFlavorException.java,
10862 java/awt/Dimension.java, java/awt/event/ActionEvent.java,
10863 java/awt/event/ActionListener.java,
10864 java/awt/event/AdjustmentEvent.java,
10865 java/awt/event/AdjustmentListener.java,
10866 java/awt/event/AWTEventListener.java,
10867 java/awt/event/ComponentAdapter.java,
10868 java/awt/event/ComponentEvent.java,
10869 java/awt/event/ComponentListener.java,
10870 java/awt/event/ContainerAdapter.java,
10871 java/awt/event/ContainerEvent.java,
10872 java/awt/event/ContainerListener.java,
10873 java/awt/event/FocusAdapter.java,
10874 java/awt/event/FocusEvent.java, java/awt/event/FocusListener.java,
10875 java/awt/event/HierarchyBoundsAdapter.java,
10876 java/awt/event/HierarchyBoundsListener.java,
10877 java/awt/event/HierarchyEvent.java,
10878 java/awt/event/HierarchyListener.java,
10879 java/awt/event/InputEvent.java, java/awt/event/InputMethodEvent.java,
10880 java/awt/event/InputMethodListener.java,
10881 java/awt/event/InvocationEvent.java, java/awt/event/ItemEvent.java,
10882 java/awt/event/ItemListener.java, java/awt/event/KeyAdapter.java,
10883 java/awt/event/KeyEvent.java, java/awt/event/KeyListener.java,
10884 java/awt/event/MouseAdapter.java, java/awt/event/MouseEvent.java,
10885 java/awt/event/MouseListener.java,
10886 java/awt/event/MouseMotionAdapter.java,
10887 java/awt/event/MouseMotionListener.java,
10888 java/awt/event/PaintEvent.java, java/awt/EventQueue.java,
10889 java/awt/event/TextEvent.java, java/awt/event/TextListener.java,
10890 java/awt/event/WindowAdapter.java, java/awt/event/WindowEvent.java,
10891 java/awt/event/WindowListener.java, java/awt/Font.java,
10892 java/awt/geom/AffineTransform.java, java/awt/geom/Dimension2D.java,
10893 java/awt/geom/Ellipse2D.java,
10894 java/awt/geom/IllegalPathStateException.java,
10895 java/awt/geom/Line2D.java,
10896 java/awt/geom/NoninvertibleTransformException.java,
10897 java/awt/geom/PathIterator.java, java/awt/geom/Point2D.java,
10898 java/awt/geom/Rectangle2D.java, java/awt/geom/RectangularShape.java,
10899 java/awt/geom/RoundRectangle2D.java,
10900 java/awt/GraphicsConfiguration.java,
10901 java/awt/IllegalComponentStateException.java,
10902 java/awt/image/IndexColorModel.java,
10903 java/awt/Image.java, java/awt/image/MemoryImageSource.java,
10904 java/awt/image/PixelGrabber.java, java/awt/Insets.java,
10905 java/awt/ItemSelectable.java, java/awt/LayoutManager2.java,
10906 java/awt/LayoutManager.java, java/awt/MenuContainer.java,
10907 java/awt/MenuItem.java, java/awt/PaintContext.java,
10908 java/awt/Paint.java, java/awt/Panel.java, java/awt/Point.java,
10909 java/awt/Polygon.java, java/awt/PrintGraphics.java,
10910 java/awt/PrintJob.java, java/awt/Rectangle.java,
10911 java/awt/RenderingHints.java, java/awt/ScrollPane.java,
10912 java/awt/Shape.java, java/awt/SystemColor.java, java/awt/Toolkit.java,
10913 java/awt/Transparency.java, java/awt/Window.java: Merge from classpath.
10915 * java/awt/im/spi/InputMethod.java,
10916 java/awt/im/spi/InputMethodContext.java,
10917 java/awt/im/spi/InputMethodDescriptor.java,
10918 java/awt/image/renderable/ContextualRenderedImageFactory.java,
10919 java/awt/image/renderable/ParameterBlock.java,
10920 java/awt/image/renderable/RenderContext.java,
10921 java/awt/image/renderable/RenderableImage.java,
10922 java/awt/image/renderable/RenderableImageOp.java,
10923 java/awt/image/renderable/RenderableImageProducer.java,
10924 java/awt/image/renderable/RenderedImageFactory.java: New files from
10927 * gnu/java/awt/EventModifier.java,
10928 gnu/java/awt/image/ImageDecoder.java,
10929 gnu/java/awt/image/XBMDecoder.java: New files from GNU Classpath.
10931 * gnu/awt/xlib/XGraphicsConfiguration.java,
10932 gnu/awt/xlib/XToolkit.java: Updated to compile against 1.4 abstract
10935 * javax/swing/plaf/metal/MetalLookAndFeel.java: New file from
10938 * Makefile.am: Add new files.
10939 * Makefile.in: Rebuilt.
10941 2002-08-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10943 * java/lang/ClassLoader.java (getSystemClassLoader, findClass,
10944 defineClass, setSigners, getSystemResource, getSystemResourceAsStream,
10945 findResource, getResources, findResources): Add javadoc from classpath.
10946 (getSystemResources): Implemented.
10948 2002-08-01 Mark Wielaard <mark@klomp.org>
10950 Revert patch that breaks libgcj shared library on powerpc:
10951 * gnu/java/security/provider/Gnu.java: Reverse referencing all
10952 implementation classes by using Class.getName(). Uses Strings again.
10953 * gnu/java/security/der/DEREncodingException.java,
10954 gnu/java/security/provider/DERReader.java,
10955 gnu/java/security/provider/DERWriter.java,
10956 gnu/java/security/provider/DSAKeyPairGenerator.java,
10957 gnu/java/security/provider/DSAParameterGenerator.java,
10958 gnu/java/security/provider/DSAParameters.java,
10959 gnu/java/security/provider/DSASignature.java,
10960 gnu/java/security/provider/GnuDSAPrivateKey.java,
10961 gnu/java/security/provider/GnuDSAPublicKey.java,
10962 gnu/java/security/provider/MD5.java,
10963 gnu/java/security/util/Prime.java: Removed.
10964 * Makefile.am (ordinary_java_source_files): Remove above files.
10965 * Makefile.in: Regenerate.
10966 * gnu/java/security/provider/DefaultPolicy.java
10967 (getPermissions): Revert to maintaining static class variable of
10969 * gnu/java/security/provider/SHA.java
10970 (engineUpdate): Revert algorithm change.
10971 (engineDigest): Revert algorithm change.
10973 2002-08-01 Kaz Kojima <kkojima@gcc.gnu.org>
10975 * configure.host: Add SH support.
10976 * sysdep/sh/locks.h: New file.
10978 2002-07-31 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
10980 * java/awt/Frame.java (Frame): Remove println calls.
10982 2002-07-30 Jeff Sturm <jsturm@one-point.com>
10984 * configure.in (LIBFFIINCS): Don't prepend MULTIBUILDTOP.
10985 * configure: Rebuilt.
10987 2002-07-27 Alan Modra <amodra@bigpond.net.au>
10989 * sysdep/powerpc/locks.h: Formatting.
10992 (compare_and_swap): Use _LARX and _STCX.
10993 (compare_and_swap_release): Likewise.
10995 2002-07-26 Tom Tromey <tromey@redhat.com>
10997 * java/net/Authenticator.java: New version from Classpath.
10998 * java/net/DatagramSocketImpl.java: New version from Classpath.
11000 2002-07-27 Alan Modra <amodra@bigpond.net.au>
11002 * configure.host: Add powerpc64*-* entry.
11004 2002-07-26 Tom Tromey <tromey@redhat.com>
11006 * java/io/natFileDescriptorPosix.cc: Don't include sys/socket.h or
11009 2002-07-24 Tom Tromey <tromey@redhat.com>
11011 * java/lang/Runtime.java (loadLibrary): Pass `true' as search
11014 2002-07-24 Tom Tromey <tromey@redhat.com>
11015 Tony Kimball <alk@pobox.com>
11017 * java/io/natFileDescriptorWin32.cc (setLength): New method.
11018 * java/io/natFileDescriptorPosix.cc (setLength): New method.
11019 * java/io/RandomAccessFile.java (setLength): New method.
11020 * java/io/natFileDescriptorEcos.cc (setLength): New method.
11021 * java/io/FileDescriptor.java (setLength): New method.
11023 2002-07-24 Mark Wielaard <mark@klomp.org>
11025 * java/lang/reflect/natField.cc (setAddr): Check isAccessible().
11026 * java/io/ObjectInputStream.java (setBooleanField): Before setting
11027 field call setAccessible(true).
11028 (setByteField): Likewise.
11029 (setCharField): Likewise.
11030 (setDoubleField): Likewise.
11031 (setFloatField): Likewise.
11032 (setIntField): Likewise.
11033 (setLongField): Likewise.
11034 (setShortField): Likewise.
11035 (setObjectField): Likewise.
11037 2002-07-24 Tom Tromey <tromey@redhat.com>
11039 * java/io/ObjectInputStream.java (readObject) [TC_ARRAY]: Don't
11040 use toString() to format array element.
11042 2002-07-23 Mark Wielaard <mark@klomp.org>
11044 * gnu/java/security/provider/MD5.java: Extends MessageDigest, not
11045 MessageDigestSpi (fixes Classpath bug #783).
11047 2002-07-21 Mark Wielaard <mark@klomp.org>
11049 * gnu/java/security/provider/Gnu.java: Reference all implementation
11050 classes by using Class.getName().
11052 2002-07-19 Bo Thorsen <bo@berlioz.suse.de>
11054 * java/lang/ieeefp.h: Add x86-64 support.
11055 * configure.in: Likewise.
11056 * configure.host: Likewise.
11057 * configure: Regenerated.
11058 * sysdep/x86-64/locks.h: New file with x86-64 locks.
11060 2002-07-16 Mark Wielaard <mark@klomp.org>
11062 * java/io/StreamTokenizer.java (pushBack): Update documentation.
11063 (whitespaceChars): call resetChar().
11065 2002-07-15 Tom Tromey <tromey@redhat.com>
11067 * Makefile.in: Rebuilt.
11068 * Makefile.am (awt_java_source_files): Added new files.
11069 * java/beans/ExceptionListener.java: Merged with Classpath.
11070 * java/beans/PropertyChangeEvent.java: Merged with Classpath.
11071 * java/beans/PropertyChangeListener.java: Merged with Classpath.
11072 * java/beans/PropertyChangeListenerProxy.java: Merged with Classpath.
11073 * java/beans/PropertyChangeSupport.java: Merged with Classpath.
11074 * java/beans/VetoableChangeListener.java: Merged with Classpath.
11075 * java/beans/VetoableChangeListenerProxy.java: Merged with Classpath.
11076 * java/beans/VetoableChangeSupport.java: Merged with Classpath.
11078 2002-07-14 Mark Wielaard <mark@klomp.org>
11080 * gnu/java/security/der/DEREncodingException.java,
11081 gnu/java/security/provider/DERReader.java,
11082 gnu/java/security/provider/DERWriter.java,
11083 gnu/java/security/provider/DSAKeyPairGenerator.java,
11084 gnu/java/security/provider/DSAParameterGenerator.java,
11085 gnu/java/security/provider/DSAParameters.java,
11086 gnu/java/security/provider/DSASignature.java,
11087 gnu/java/security/provider/GnuDSAPrivateKey.java,
11088 gnu/java/security/provider/GnuDSAPublicKey.java,
11089 gnu/java/security/provider/MD5.java,
11090 gnu/java/security/util/Prime.java: New files from Classpath.
11091 * Makefile.am (ordinary_java_source_files): Add new files.
11092 * Makefile.in: Regenerate.
11094 2002-07-14 C. Brian Jones <cbj@gnu.org>
11096 * gnu/java/security/provider/DefaultPolicy.java
11097 (getPermissions): do not maintain static class variable of
11099 * gnu/java/security/provider/SHA.java
11100 (engineUpdate): algorithm change
11101 (engineDigest): algorithm change
11103 2002-07-12 Jesse Rosenstock <jmr@fulcrummicro.com>
11105 For PR libgcj/7292:
11106 * java/lang/Character.java (toString(char)): Now static.
11108 2002-07-12 Mark Wielaard <mark@klomp.org>
11110 * java/lang/natThrowable.cc (printRawStackTrace): removed.
11111 (getStackTrace0): new method.
11112 * java/lang/Throwable.java (CPlusPlusDemangler): removed.
11113 (printStackTrace(PrintWriter)): replace with pure java implementation.
11114 (printRawStackTrace): removed.
11115 (getStackTrace0): new method.
11116 * java/lang/StackTraceElement.java (toString): add extra whitespace.
11117 * gcj/javaprims.h: regenerate class list.
11118 * include/name-finder.h (lookup): new returns StackTraceElement*.
11119 (method_name, file_name): fields removed.
11120 (pid2, f2_pipe, b2_pipe, b2_pipe_fd): new fields.
11121 (~_Jv_name_finder): close new descriptors.
11122 * name-finder.cc(_Jv_name_finder): setup c++filt helper process.
11123 (createStackTraceElement): new method.
11124 (lookup): returns StackTraceElement*, uses createStackTraceElement().
11126 2002-07-10 Tom Tromey <tromey@redhat.com>
11128 * configure: Rebuilt.
11129 * configure.in: Use `test' after `&&'. From Chris Faylor.
11131 2002-07-08 Mark Wielaard <mark@klomp.org>
11133 * mauve-libgcj: Don't compile java.sql.Blob.BlobTest,
11134 java.sql.Clob.ClobTest, java.sql.Connection.TestJdbc20,
11135 java.sql.DatabaseMetaData.TestJdbc20
11137 2002-07-05 Tony Kimball <alk@pobox.com>
11139 * java/lang/natRuntime.cc (nativeGetLibname): Added missing `#'.
11141 2002-07-04 Tom Tromey <tromey@redhat.com>
11142 Jeff Sturm <jsturm@one-point.com>
11144 Fix for PR libgcj/7060:
11145 * java/lang/Class.h (_getMethod): Renamed from getMethod.
11146 * java/lang/natClass.cc (_getMethod): Renamed from getMethod.
11147 Recurse into superinterfaces. Don't throw NoSuchMethodException.
11148 * java/lang/Class.java (getMethod): New Java implementation;
11149 complies with spec.
11150 (_getMethod): New native method.
11152 2002-07-02 Tom Tromey <tromey@redhat.com>
11153 David Hovemeyer <daveho@cs.umd.edu>
11155 * java/text/ChoiceFormat.java
11156 (format(double,StringBuffer,FieldPosition)): Fix fencepost error
11158 * java/text/MessageFormat.java
11159 (format(Object[],StringBuffer,FieldPosition): Pass all arguments
11162 2002-07-01 Tom Tromey <tromey@redhat.com>
11164 * javax/naming/spi/NamingManager.java (getPlusPath): Don't create
11165 StringTokenizer on null string. For PR libgcj/7180.
11166 From daveho@cs.umd.edu.
11168 2002-06-24 Tom Tromey <tromey@redhat.com>
11170 * java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Removed.
11171 (IntegerClass): Likewise.
11172 * java/lang/natClass.cc (CloneableClass): Removed.
11173 (ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
11174 ConstructorClass): Likewise.
11175 * java/lang/natClassLoader.cc (CloneableClass): Removed.
11176 (ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
11177 SerializableClass): Likewise.
11178 * java/lang/reflect/natMethod.cc (BooleanClass): Removed.
11179 (VoidClass, ByteClass, ShortClass, CharacterClass, IntegerClass,
11180 LongClass, FloatClass, DoubleClass): Likewise.
11182 * verify.cc (branch_prepass): Updated for change to exception
11184 (verify_instructions_0): Likewise.
11185 * defineclass.cc (handleCodeAttribute): Initialize `prepared'.
11186 (handleExceptionTableEntry): Updated for change to exception
11188 * java/lang/Class.h (Class): Removed _Jv_InterpMethodInvocation.
11189 * include/java-interp.h (_Jv_InterpMethodInvocation): Removed.
11190 (union _Jv_InterpPC): New.
11191 (class _Jv_InterpException): Changed types to _Jv_InterpPC.
11192 (class _Jv_InterpMethod): Added new `prepared' field.
11193 (class _Jv_InterpMethod): Added `compile' method. Removed
11194 `continue1' and `find_exception'. Changed arguments to `run'.
11195 * interpret.cc (union insn_slot): New.
11196 (find_exception): Removed.
11197 (run_normal): Removed most logic.
11198 (run_synch_object): Likewise; also, use JvSynchronize.
11199 (run_synch_class): Likewise.
11201 (continue1): Renamed as `run'. Compile bytecode if required.
11202 Add new code to allow refinement of direct-threaded code at
11203 runtime. Handle exceptions.
11204 (SAVE_PC): Removed.
11205 (compile): New method.
11206 (SET_ONE, SET_INSN, SET_INT, SET_DATUM): New defines.
11207 (NULLARRAYCHECK): Don't use SAVE_PC.
11208 (pc_t): New typedef.
11209 (TAKE_GOTO, GET1S, GET1U, GET2U, AVAL1U, AVAL2U, AVAL2UP,
11210 SKIP_GOTO, GOTO_VAL, PCVAL, AMPAMP): New macros.
11212 2002-06-23 Tom Tromey <tromey@redhat.com>
11214 * configure: Rebuilt.
11215 * configure.in (INTERPRETER): New subst.
11216 (AM_RUNTESTFLAGS): Don't subst.
11218 * Makefile.in: Rebuilt.
11219 * Makefile.am ($(srcdir)/java/lang/Object.h,
11220 $(srcdir)/java/lang/Class.h): Added dummy targets.
11222 2002-06-21 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11224 Reformat JDBC classes and add new JDK 1.4 classes and methods.
11226 * java/sql/ParameterMetaData.java, java/sql/SQLPermission.java,
11227 java/sql/Savepoint.java: New files.
11228 * java/sql/Array.java, java/sql/BatchUpdateException.java,
11229 java/sql/Blob.java, java/sql/CallableStatement.java,
11230 java/sql/Clob.java, java/sql/Connection.java,
11231 java/sql/DataTruncation.java, java/sql/DatabaseMetaData.java,
11232 java/sql/Date.java, java/sql/Driver.java, java/sql/DriverManager.java,
11233 java/sql/DriverPropertyInfo.java, java/sql/PreparedStatement.java,
11234 java/sql/Ref.java, java/sql/ResultSet.java,
11235 java/sql/ResultSetMetaData.java, java/sql/SQLData.java
11236 java/sql/SQLException.java, java/sql/SQLInput.java,
11237 java/sql/SQLOutput.java, java/sql/SQLWarning.java
11238 java/sql/Statement.java, java/sql/Struct.java, java/sql/Time.java,
11239 java/sql/Timestamp.java, java/sql/Types.java: Updated to JDBC 3.0
11240 (JDK 1.4) specification.
11241 * javax/sql/ConnectionEvent.java,
11242 javax/sql/ConnectionEventListener.java,
11243 javax/sql/ConnectionPoolDataSource.java,
11244 javax/sql/DataSource.java, javax/sql/PooledConnection.java,
11245 javax/sql/RowSetEvent.java, javax/sql/RowSetInternal.java,
11246 javax/sql/RowSet.java, javax/sql/RowSetListener.java,
11247 javax/sql/RowSetMetaData.java, javax/sql/RowSetReader.java,
11248 javax/sql/RowSetWriter.java, javax/sql/XAConnection.java,
11249 javax/sql/XADataSource.java: New files.
11250 * Makefile.am: Add new files.
11251 * Makefile.in: Rebuilt.
11253 2002-06-20 Tom Tromey <tromey@redhat.com>
11255 For PR libgcj/7073:
11256 * resolve.cc (_Jv_PrepareClass): Only resolve superclass if it
11258 * defineclass.cc (handleClassBegin): Superclass for interface is
11261 2002-06-18 Tom Tromey <tromey@redhat.com>
11263 * gcj/javaprims.h: Updated class declaration list.
11264 * Makefile.in: Rebuilt.
11265 * Makefile.am (core_java_source_files): Removed
11266 BasicMapEntry.java.
11267 * java/util/BasicMapEntry.java: Removed.
11269 2002-06-18 Jeff Sturm <jsturm@one-point.com>
11271 * java/net/natPlainDatagramSocketImpl.cc (receive):
11272 Check bounds of argument to FD_SET.
11273 (setOption): Throw exception if socket is closed.
11275 * java/net/natPlainSocketImpl.cc (accept, read):
11276 Check bounds of argument to FD_SET.
11277 (setOption): Throw exception if socket is closed.
11279 2002-06-18 Tom Tromey <tromey@redhat.com>
11281 * gcj/javaprims.h: Updated class declaration list.
11282 * Makefile.in: Rebuilt.
11283 * Makefile.am (core_java_source_files): Added
11284 PropertyPermissionCollection.java.
11285 * java/lang/Thread.java (group, name): Now package-private.
11286 * java/lang/ThreadGroup.java: Re-merge with Classpath.
11287 * java/util/AbstractList.java: Likewise.
11288 * java/util/AbstractMap.java: Likewise.
11289 * java/util/Calendar.java: Likewise.
11290 * java/util/Collections.java: Likewise.
11291 * java/util/HashMap.java: Likewise.
11292 * java/util/Hashtable.java: Likewise.
11293 * java/util/LinkedHashMap.java: Likewise.
11294 * java/util/LinkedList.java: Likewise.
11295 * java/util/List.java: Likewise.
11296 * java/util/ListResourceBundle.java: Likewise.
11297 * java/util/Map.java: Likewise.
11298 * java/util/Observable.java: Likewise.
11299 * java/util/Properties.java: Likewise.
11300 * java/util/PropertyPermission.java: Likewise.
11301 * java/util/PropertyPermissionCollection.java: Likewise.
11302 * java/util/PropertyResourceBundle.java: Likewise.
11303 * java/util/Random.java: Likewise.
11304 * java/util/SimpleTimeZone.java: Likewise.
11305 * java/util/StringTokenizer.java: Likewise.
11306 * java/util/TimerTask.java: Likewise.
11307 * java/util/TreeMap.java: Likewise.
11308 * java/util/WeakHashMap.java: Likewise.
11309 * java/util/jar/Attributes.java: Likewise.
11310 * java/util/jar/JarException.java: Likewise.
11311 * java/util/jar/Manifest.java: Likewise.
11313 2002-06-17 Tom Tromey <tromey@redhat.com>
11315 * gcj/javaprims.h: Updated class declaration list.
11316 * Makefile.in: Rebuilt.
11317 * Makefile.am (core_java_source_files): Added new file.
11318 * java/util/EventListenerProxy.java: New file.
11319 * java/util/EventListener.java: Re-merge with Classpath.
11320 * java/util/EventObject.java: Re-merge with Classpath.
11322 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
11324 * java/lang/ClassNotFoundException.java: New Classpath version.
11326 2002-06-17 Nathanael Nerode <neroden@twcny.rr.com>
11328 * java/rmi/activation/ActivateFailedException.java: Remerge from
11330 * java/rmi/activation/ActivationException.java: Ditto.
11331 * java/rmi/activation/UnknownGroupException.java: Ditto.
11332 * java/rmi/activation/UnknownObjectException.java: Ditto.
11333 * java/rmi/server/ExportException: Ditto.
11334 * java/rmi/server/ServerCloneException: Ditto.
11335 * java/rmi/server/ServerNotActiveException: Ditto.
11336 * java/rmi/server/SkeletonMismatchException: Ditto.
11337 * java/rmi/server/SkeletonNotFoundException: Ditto.
11338 * java/rmi/server/SocketSecurityException: Ditto.
11340 2002-06-16 Tom Tromey <tromey@redhat.com>
11342 * gcj/javaprims.h: Updated class declaration list.
11344 * java/io/LineNumberInputStream.java: Merged with Classpath.
11346 * java/lang/RuntimeException.java: Re-merge with Classpath.
11347 * java/util/ArrayList.java: Likewise.
11348 * java/util/Arrays.java: Likewise.
11349 * java/util/BitSet.java: Likewise.
11350 * java/util/Dictionary.java: Likewise.
11351 * java/util/IdentityHashMap.java: Likewise.
11352 * java/util/MissingResourceException.java: Likewise.
11353 * java/util/Observer.java: Likewise.
11354 * java/util/TooManyListenersException.java: Likewise.
11355 * java/util/zip/DataFormatException.java: Likewise.
11356 * java/util/zip/ZipException.java: Likewise.
11358 2002-06-16 Nathanael Nerode <neroden@twcny.rr.com>
11360 * java/rmi/AccessException.java: Remerge from Classpath.
11361 * java/rmi/AlreadyBoundException.java: Ditto.
11362 * java/rmi/ConnectException.java: Ditto.
11363 * java/rmi/ConnectIOException.java: Ditto.
11364 * java/rmi/MarshalException.java: Ditto.
11365 * java/rmi/NoSuchObjectException.java: Ditto.
11366 * java/rmi/NotBoundException.java: Ditto.
11367 * java/rmi/RemoteException.java: Ditto.
11368 * java/rmi/RMISecurityException.java: Ditto.
11369 * java/rmi/ServerError.java: Ditto.
11370 * java/rmi/ServerException.java: Ditto.
11371 * java/rmi/ServerRuntimeException.java: Ditto.
11372 * java/rmi/StubNotFoundException.java: Ditto.
11373 * java/rmi/UnexpectedExcpetion.java: Ditto.
11374 * java/rmi/UnknownHostException.java: Ditto.
11375 * java/rmi/UnmarshalException.java: Ditto.
11377 2002-06-15 Tom Tromey <tromey@redhat.com>
11379 * java/lang/AbstractMethodError.java: Re-merged with Classpath.
11380 * java/lang/ArithmeticException.java: Likewise.
11381 * java/lang/ArrayIndexOutOfBoundsException.java: Likewise.
11382 * java/lang/ArrayStoreException.java: Likewise.
11383 * java/lang/Byte.java: Likewise.
11384 * java/lang/CharSequence.java: Likewise.
11385 * java/lang/ClassCastException.java: Likewise.
11386 * java/lang/ClassCircularityError.java: Likewise.
11387 * java/lang/ClassFormatError.java: Likewise.
11388 * java/lang/CloneNotSupportedException.java: Likewise.
11389 * java/lang/Cloneable.java: Likewise.
11390 * java/lang/Comparable.java: Likewise.
11391 * java/lang/Compiler.java: Likewise.
11392 * java/lang/Error.java: Likewise.
11393 * java/lang/ExceptionInInitializerError.java: Likewise.
11394 * java/lang/IllegalAccessError.java: Likewise.
11395 * java/lang/IllegalAccessException.java: Likewise.
11396 * java/lang/IllegalArgumentException.java: Likewise.
11397 * java/lang/IllegalMonitorStateException.java: Likewise.
11398 * java/lang/IllegalStateException.java: Likewise.
11399 * java/lang/IllegalThreadStateException.java: Likewise.
11400 * java/lang/IncompatibleClassChangeError.java: Likewise.
11401 * java/lang/IndexOutOfBoundsException.java: Likewise.
11402 * java/lang/InheritableThreadLocal.java: Likewise.
11403 * java/lang/InstantiationError.java: Likewise.
11404 * java/lang/InstantiationException.java: Likewise.
11405 * java/lang/InternalError.java: Likewise.
11406 * java/lang/InterruptedException.java: Likewise.
11407 * java/lang/LinkageError.java: Likewise.
11408 * java/lang/NegativeArraySizeException.java: Likewise.
11409 * java/lang/NoClassDefFoundError.java: Likewise.
11410 * java/lang/NoSuchFieldError.java: Likewise.
11411 * java/lang/NoSuchFieldException.java: Likewise.
11412 * java/lang/NoSuchMethodError.java: Likewise.
11413 * java/lang/NoSuchMethodException.java: Likewise.
11414 * java/lang/NullPointerException.java: Likewise.
11415 * java/lang/NumberFormatException.java: Likewise.
11416 * java/lang/OutOfMemoryError.java: Likewise.
11417 * java/lang/Process.java: Likewise.
11418 * java/lang/Runnable.java: Likewise.
11419 * java/lang/RuntimePermission.java: Likewise.
11420 * java/lang/SecurityException.java: Likewise.
11421 * java/lang/Short.java: Likewise.
11422 * java/lang/StackOverflowError.java: Likewise.
11423 * java/lang/StringIndexOutOfBoundsException.java: Likewise.
11424 * java/lang/ThreadDeath.java: Likewise.
11425 * java/lang/ThreadLocal.java: Likewise.
11426 * java/lang/UnknownError.java: Likewise.
11427 * java/lang/UnsatisfiedLinkError.java: Likewise.
11428 * java/lang/UnsupportedClassVersionError.java: Likewise.
11429 * java/lang/UnsupportedOperationException.java: Likewise.
11430 * java/lang/VerifyError.java: Likewise.
11431 * java/lang/VirtualMachineError.java: Likewise.
11432 * java/lang/reflect/InvocationTargetException.java: Likewise.
11433 * java/net/BindException.java: Likewise.
11434 * java/net/ConnectException.java: Likewise.
11435 * java/net/MalformedURLException.java: Likewise.
11436 * java/net/NoRouteToHostException.java: Likewise.
11437 * java/net/ProtocolException.java: Likewise.
11438 * java/net/SocketException.java: Likewise.
11439 * java/net/UnknownHostException.java: Likewise.
11440 * java/net/UnknownServiceException.java: Likewise.
11442 * java/io/BufferedOutputStream.java: Re-merged with Classpath.
11443 * java/io/CharConversionException.java: Likewise.
11444 * java/io/EOFException.java: Likewise.
11445 * java/io/FileNotFoundException.java: Likewise.
11446 * java/io/IOException.java: Likewise.
11447 * java/io/InterruptedIOException.java: Likewise.
11448 * java/io/InvalidClassException.java: Likewise.
11449 * java/io/InvalidObjectException.java: Likewise.
11450 * java/io/NotActiveException.java: Likewise.
11451 * java/io/NotSerializableException.java: Likewise.
11452 * java/io/ObjectStreamException.java: Likewise.
11453 * java/io/ObjectStreamConstants.java: Likewise.
11454 * java/io/OptionalDataException.java: Likewise.
11455 * java/io/PipedInputStream.java: Likewise.
11456 * java/io/PushbackInputStream.java: Likewise.
11457 * java/io/StreamCorruptedException.java: Likewise.
11458 * java/io/SyncFailedException.java: Likewise.
11459 * java/io/UTFDataFormatException.java: Likewise.
11460 * java/io/UnsupportedEncodingException.java: Likewise.
11461 * java/io/WriteAbortedException.java: Likewise.
11463 2002-06-15 Nathanael Nerode <neroden@twcny.rr.com>
11465 * java/text/ChoiceFormat.java: Update comments from Classpath.
11466 * java/text/ParseException.java (serialVersionUID): New
11467 field from Classpath.
11468 * java/text/ParseException.java: Update formatting & comments
11471 2002-06-15 Tom Tromey <tromey@redhat.com>
11473 * java/util/zip/InflaterInputStream.java (read): Loop if data has
11474 been read but none output by inflater.
11475 * java/util/zip/natDeflater.cc (reset): Set is_finished.
11476 * java/util/zip/natInflater.cc (reset): Set dist_needed and
11478 * java/util/zip/ZipOutputStream.java: Replaced with Classpath
11480 * java/util/zip/ZipFile.java: Replaced with Classpath version.
11481 * java/util/zip/ZipEntry.java: Replaced with Classpath version.
11482 * java/util/zip/ZipInputStream.java: Replaced with Classpath
11484 * java/util/zip/ZipConstants.java: Replaced with Classpath version.
11486 2002-06-13 Tom Tromey <tromey@redhat.com>
11488 * java/lang/natString.cc (init): Handle case where DONT_COPY is
11489 true and OFFSET!=0.
11490 * java/lang/String.java (String(char[],int,int,boolean): New
11492 * java/lang/Long.java: Imported new version from Classpath.
11493 * java/lang/Number.java: Likewise.
11494 * java/lang/Integer.java: Likewise.
11495 * java/lang/Long.java: Likewise.
11496 * java/lang/Float.java: Likewise.
11497 * java/lang/Boolean.java: Likewise.
11498 * java/lang/Double.java: Likewise.
11499 * java/lang/Void.java: Likewise.
11501 2002-06-12 Tom Tromey <tromey@redhat.com>
11503 * java/io/natFilePosix.cc (getCanonicalPath): Treat "" like ".".
11504 Fixes PR libgcj/6652.
11506 2002-06-10 Tom Tromey <tromey@redhat.com>
11508 * java/lang/Class.h (Class::desiredAssertionStatus): Declare.
11509 (Class::getPackagePortion): Likewise.
11510 * java/lang/Class.java (desiredAssertionStatus): New method from
11512 (getPackagePortion): Likewise.
11513 * java/lang/VMClassLoader.java (defaultAssertionStatus,
11514 packageAssertionStatus, classAssertionStatus): New methods from
11516 * java/lang/ClassLoader.java (defaultAssertionStatus,
11517 systemPackageAssertionStatus, packageAssertionStatus,
11518 systemClassAssertionStatus, classAssertionStatus): New fields from
11520 (setDefaultAssertionStatus, setPackageAssertionStatus,
11521 setClassAssertionStatus, clearAssertionStatus): New methods from
11523 * Makefile.in: Rebuilt.
11524 * Makefile.am (core_java_source_files): Added AssertionError.java.
11525 * java/lang/AssertionError.java: New from Classpath.
11527 2002-06-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11529 * configure.host: Disable hash synchronization and slow_pthread_self
11532 2002-06-06 Adam Megacz <adam@xwt.org>
11534 * java/io/natFileDescriptorWin32.cc (open): Disable Win32 file
11535 locking, just like the Sun JVM does.
11537 2002-06-05 H.J. Lu (hjl@gnu.org)
11539 * Makefile.am (libgcj_convenience.la): Revert the last change.
11540 (libgcj.la): Likewise.
11541 * Makefile.in: Regenerated.
11543 2002-06-04 H.J. Lu (hjl@gnu.org)
11545 * Makefile.am (libgcj_convenience.la): New target.
11546 (libgcj.la): Depend on libgcj_convenience.la.
11547 * Makefile.in: Regenerated.
11549 2002-06-04 H.J. Lu (hjl@gnu.org)
11551 * configure.in (--with-newlib): New option:
11552 Check ${with_newlib} instead of ${with_cross_host} for newlib.
11553 (HAVE_PROC_SELF_EXE): Defined to 1 only for cross compiling to
11555 * configure: Regenerated.
11557 2002-06-04 Tom Tromey <tromey@redhat.com>
11559 * java/util/natTimeZone.cc: Include <stdio.h>.
11561 2002-05-29 Ulrich Weigand <uweigand@de.ibm.com>
11563 * configure.host [s390*-linux*]: Set can_unwind_signal=yes.
11564 * configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
11565 Set SIGNAL_HANDLER=include/s390-linux.h.
11566 * configure: Regenerate.
11567 * include/s390-linux.h: New file.
11569 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11571 * java/lang/natThrowable.cc (fillInStackTrace): Use "stackTraceBytes",
11574 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11576 Merge JDK 1.4 java.security changes from classpath.
11578 * java/security/AccessControlException.java: Merge from Classpath.
11579 * java/security/AccessController.java: Likewise.
11580 * java/security/AllPermission.java: Likewise.
11581 * java/security/BasicPermission.java: Likewise.
11582 * java/security/Certificate.java: Likewise.
11583 * java/security/CodeSource.java: Likewise.
11584 * java/security/DigestException.java: Likewise.
11585 * java/security/DigestOutputStream.java: Likewise.
11586 * java/security/DomainCombiner.java: Likewise.
11587 * java/security/GeneralSecurityException.java: Likewise.
11588 * java/security/Guard.java: Likewise.
11589 * java/security/GuardedObject.java: Likewise.
11590 * java/security/InvalidAlgorithmParameterException.java: Likewise.
11591 * java/security/InvalidKeyException.java: Likewise.
11592 * java/security/InvalidParameterException.java: Likewise.
11593 * java/security/Key.java: Likewise.
11594 * java/security/KeyException.java: Likewise.
11595 * java/security/KeyManagementException.java: Likewise.
11596 * java/security/KeyStoreException.java: Likewise.
11597 * java/security/MessageDigest.java: Likewise.
11598 * java/security/NoSuchAlgorithmException.java: Likewise.
11599 * java/security/NoSuchProviderException.java: Likewise.
11600 * java/security/Permission.java: Likewise.
11601 * java/security/PermissionCollection.java: Likewise.
11602 * java/security/Permissions.java: Likewise.
11603 * java/security/Policy.java: Likewise.
11604 * java/security/Principal.java: Likewise.
11605 * java/security/PrivateKey.java: Likewise.
11606 * java/security/PrivilegedAction.java: Likewise.
11607 * java/security/PrivilegedActionException.java: Likewise.
11608 * java/security/PrivilegedExceptionAction.java: Likewise.
11609 * java/security/ProtectionDomain.java: Likewise.
11610 * java/security/ProviderException.java: Likewise.
11611 * java/security/PublicKey.java: Likewise.
11612 * java/security/SecureClassLoader.java: Likewise.
11613 * java/security/SecurityPermission.java: Likewise.
11614 * java/security/SignatureException.java: Likewise.
11615 * java/security/UnrecoverableKeyException.java: Likewise.
11616 * java/security/UnresolvedPermission.java: Likewise.
11617 * java/security/acl/AclNotFoundException.java: Likewise.
11618 * java/security/acl/LastOwnerException.java: Likewise.
11619 * java/security/acl/NotOwnerException.java: Likewise.
11620 * java/security/cert/CRLException.java: Likewise.
11621 * java/security/cert/CertificateEncodingException.java: Likewise.
11622 * java/security/cert/CertificateException.java: Likewise.
11623 * java/security/cert/CertificateExpiredException.java: Likewise.
11624 * java/security/cert/CertificateFactory.java: Likewise.
11625 * java/security/cert/CertificateNotYetValidException.java: Likewise.
11626 * java/security/cert/CertificateParsingException.java: Likewise.
11627 * java/security/spec/InvalidKeySpecException.java: Likewise.
11628 * java/security/spec/InvalidParameterSpecException.java: Likewise.
11630 * java/security/cert/CertPath.java: New file.
11631 * java/security/cert/CertPathBuilderException.java: New file.
11632 * java/security/cert/CertPathValidatorException.java: New file.
11633 * java/security/cert/CertStoreException.java: New file.
11635 * Makefile.am: Add new CertPath classes.
11636 * Makefile.in: Rebuilt.
11638 * gnu/java/util/EmptyEnumeration.java: New file from classpath.
11640 2002-05-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11642 Merge JDK 1.4 exception chaining support from classpath.
11644 * java/lang/Throwable.java: Merge 1.4 support from classpath.
11645 (stackTraceBytes): Rename from stackTrace.
11646 * java/lang/Exception.java: Merge from classpath.
11647 * java/lang/StackTraceElement: New file from classpath.
11648 * gcj/javaprims.h: Rebuild CNI namespace declarations.
11649 * Makefile.am: Add StackTraceElement.
11650 * Makefile.in: Rebuilt.
11652 2002-05-23 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11654 * Makefile.am (all-recursive): Depend on $all_java_class_files so that
11656 * Makefile.in: Rebuilt.
11658 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11660 * acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
11661 * configure.in: Likewise.
11662 * aclocal.m4: Regenerate.
11663 * configure: Regenerate.
11665 2002-05-13 Tom Tromey <tromey@redhat.com>
11667 * java/lang/natRuntime.cc: Don't include sys/time.h and time.h.
11668 * java/util/natTimeZone.cc: Include sys/time.h and time.h here.
11669 Include platform.h.
11671 Fixes PR libgcj/6389:
11672 * Makefile.in: Rebuilt.
11673 * Makefile.am (nat_source_files): Added natTimeZone.cc.
11674 * java/util/natTimeZone.cc: New file.
11675 * java/util/TimeZone.java (getDefaultTimeZoneId): New method.
11676 * java/lang/System.java: Merged with Classpath.
11677 * java/lang/Runtime.java: Merged with Classpath.
11678 * java/lang/natSystem.cc (setErr0): Renamed from setErr; don't run
11680 (setIn0): Renamed from setIn; don't run security check.
11681 (setOut0): Renamed from setOut; don't run security check.
11682 (file_encoding, getpwuid_adaptor, getSystemTimeZone,
11683 init_properties): Moved to natRuntime.cc.
11684 Moved many includes to natRuntime.cc.
11685 (isWordsBigEndian): New method.
11686 * java/lang/natRuntime.cc: Include Long.h, also other includes
11687 previously in natSystem.cc.
11688 (maxMemory): New function.
11689 (exitInternal): Renamed from `_exit'.
11691 (init): Don't set finalize_on_exit.
11692 (exitInternal): Use `finalizeOnExit'.
11693 (file_encoding, getpwuid_adaptor): New functions from
11695 (insertSystemProperties): New method, renamed from
11696 System::init_properties. Don't set user.timezone.
11697 (_load): Don't call checkLink.
11698 (execInternal): New method.
11699 (availableProcessors): Likewise.
11700 (nativeGetLibname): Likewise.
11702 2002-05-11 Mark Wielaard <mark@klomp.org>
11704 * gnu/java/text/SentenceBreakIterator.java (next): Skip all java white
11706 (previous_internal): Likewise.
11708 2002-05-09 Tom Tromey <tromey@redhat.com>
11710 * jni.cc (_Jv_JNIFunctions): Fixed typo.
11712 * java/util/ResourceBundle.java: New version from Classpath.
11713 * java/util/Locale.java: Likewise.
11715 2002-05-09 Jakub Jelinek <jakub@redhat.com>
11717 * testsuite/lib/libjava.exp (libjava_arguments): Append all
11718 multilib dirs containing libgcc_s*.so.1 below gcc object dir to
11721 2002-05-08 Mark Mitchell <mark@codesourcery.com>
11723 * libjava/Makefile.am (all_java_source_files): New variable.
11724 (all_java_class_files): Likewise.
11725 .java.class: New rule.
11726 (CLEANFILES): Remove tmp-list.
11727 * libjava/Makefile.in: Regenerated.
11729 2002-05-09 David.Billinghurst <David.Billinghurst@riotinto.com>
11731 * testsuite/lib/libjava.exp (test_libjava_from_javac):
11732 Append .exe to executable names. Fix for cygwin.
11734 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
11736 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
11737 script entry, and set LD to it when configuring multilibs.
11738 * configure: Rebuilt.
11740 2002-05-07 Tom Tromey <tromey@redhat.com>
11742 * java/lang/natString.cc (unintern): Fixed typo.
11744 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
11746 * testsuite/lib/libjava.exp (libjava_arguments): Don't link
11747 with -no-install on *-*-cygwin*.
11749 2002-05-06 David.Billinghurst <David.Billinghurst@riotinto.com>
11751 * testsuite/lib/libjava.exp (test_libjava_from_source):
11752 Add comment explaining last patch
11754 2002-05-04 David Billinghurst <David.Billinghurst@riotinto.com>
11756 * testsuite/lib/libjava.exp (test_libjava_from_source):
11757 Append .exe to executable names. If no suffix is present,
11758 then ".exe" is added by default on win32. Harmless
11759 elsewhere so always do it.
11761 2002-05-03 David Billinghurst <David.Billinghurst@riotinto.com>
11762 Tom Tromey <tromey@redhat.com>
11764 * java/lang/natSystem.cc (getSystemTimeZone): Use
11765 HAVE_UNDERSCORE_TIMEZONE.
11766 * include/config.h.in: Rebuilt.
11767 * acconfig.h (HAVE_UNDERSCORE_TIMEZONE, HAVE_BACKTRACE): Undef.
11768 * aclocal.m4, configure: Rebuilt.
11769 * acinclude.m4: Run AC_EXEEXT.
11770 * configure.in: Adjust test for `timezone' so it fails on Cygwin.
11771 Add test for `_timezone'.
11773 2002-05-03 Alexandre Oliva <aoliva@redhat.com>
11775 Suggested by Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11776 * Makefile.am (jv_convert_LDADD): Bring -L.libs to the front.
11777 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
11778 * Makefile.in: Rebuilt.
11780 2002-05-02 Hans Boehm <Hans_Boehm@hp.com>
11782 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE for ia64):
11783 use sigaction instead of __libc_sigaction.
11785 2002-05-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
11787 * testsuite/lib/libjava.exp (libjava_find_spec): New function.
11788 (libjava_init): Use it to find libgcj.spec.
11789 (libjava_arguments): Likewise.
11791 2002-05-02 David S. Miller <davem@redhat.com>
11794 * include/dwarf2-signal.h (INIT_SEGV, INIT_FPE): Don't use
11795 __libc_sigaction on Sparc.
11797 2002-05-02 Jerome Marc <marcjero@yahoo.com>
11799 * java/net/natPlainSocketImpl.cc: Include sys/ioctl.h and
11800 sys/filio.h, if present.
11802 2002-04-30 Tom Tromey <tromey@redhat.com>
11804 * java/io/BufferedReader.java (fill): Handle case where markPos
11805 point to ignored \n. Fixes PR libgcj/6301.
11807 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>
11809 * java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for S/390.
11811 2002-04-29 Adam King <aking@dreammechanics.com>
11813 * java/io/natFileDescriptorWin32.cc (open): Move file pointer to end
11814 of file in APPEND mode.
11816 2002-04-25 David S. Miller <davem@redhat.com>
11819 * include/dwarf2-signal.h (MAKE_THROW_FRAME for sparc*): Set
11820 program counter to next program counter minus 8. Update
11821 comments in this macro to explain why.
11823 2002-04-26 Tom Tromey <tromey@redhat.com>
11825 * verify.cc (construct_primitive_array_type) [void_type]: New
11827 (branch_prepass): Added dummy entries for unused instruction
11829 (verify_instructions_0): Likewise.
11830 * interpret.cc (continue1): Comment fix.
11831 * include/java-insns.h (op_xxxunusedxxx1): Removed.
11832 * Makefile.in: Rebuilt.
11833 * Makefile.am: Added -Wswitch-enum.
11835 2002-04-24 Tom Tromey <tromey@redhat.com>
11837 * gnu/gcj/natCore.cc (create): Use __builtin_alloca, and compute
11838 correct length of UTF-8 encoded name. Strip leading `/'.
11839 (_Jv_RegisterResource): Use _Jv_Malloc.
11841 2002-04-23 Adam Megacz <adam@xwt.org>
11843 * win32.cc, include/win32.cc (backtrace): Added this function
11844 because Win32 does not supply it.
11846 2002-04-21 David S. Miller <davem@redhat.com>
11848 * include/dwarf2-signal.h (MAKE_THROW_FRAME, sparc32): Document
11849 magic instruction reading sequence.
11851 2002-04-21 Mark Wielaard <mark@klomp.org>
11853 * mauve-libgcj: Don't run java.lang.ref tests since they are buggy.
11855 2002-04-19 David S. Miller <davem@redhat.com>
11857 * include/dwarf2-signal.h (SIGNAL_HANDLER): Name siginfo_t pointer
11859 (MAKE_THROW_FRAME): Define for 32-bit and 64-bit sparc.
11860 (INIT_SEGV, INIT_FPE): Use direct __libc_sigaction installation
11862 * include/sparc-signal.h (FLUSH_REGISTER_WINDOWS): Define properly
11864 (MAKE_THROW_FRAME): Use long for sp/retaddr so 64-bit works.
11865 * sysdeps/sparc/locks.h: New file.
11866 * configure.in (SIGNAL_HANDLER): Set to include/sparc-signal.h
11867 on all sparc Solaris configurations. Set to
11868 include/dwarf2-signal.h on sparc Linux.
11869 * configure: Regenerate
11870 * configure.host (can_unwind_signal): sparc*-linux* can do it now.
11872 2002-04-19 Hans Boehm <Hans_Boehm@hp.com>
11874 * configure: Rebuilt.
11875 * configure.in (backtrace): Function doesn't work on IA-64.
11877 2002-04-17 Adam King <aking@dreammechanics.com>
11879 * java/io/File.java (normalizePath): Add Win32 support for auto
11880 conversion of a '/' path separator to Win32's '\' separator.
11882 2002-04-16 Tom Tromey <tromey@redhat.com>
11884 Fix for PR libgcj/6081:
11885 * Makefile.in: Rebuilt.
11886 * Makefile.am (install-data-local): Use GNU make trick to avoid
11889 2002-04-16 Adam King <aking@dreammechanics.com>
11890 Tom Tromey <tromey@redhat.com>
11892 * java/io/natFileWin32.cc (performList): Return the correct array
11893 type. Don't duplicate the creation of a File since it's already
11894 done earlier in the method and the existing code would cause a
11895 ArrayStoreException. Don't use fixed-size array.
11896 (_access, _stat, attr, getCanonicalPath, performMkdir,
11897 performRenameTo): Don't use fixed-size array.
11898 (getCanonicalPath): Use throw, not _Jv_Throw.
11900 2002-04-15 DJ Delorie <dj@redhat.com>
11902 * configure.in: Allow building in $srcdir.
11903 * configure: Regenerated.
11905 2002-04-14 Mark Wielaard <mark@klomp.org>
11907 * java/net/natPlainDatagramSocketImpl.cc (close): Set timeout to 0.
11908 * java/net/natSocketImpl.cc (close): Likewise.
11910 2002-04-14 Mark Wielaard <mark@klomp.org>
11912 * gnu/gcj/protocol/http/Connection.java (usingProxy): return false.
11914 2002-04-13 Adam King <aking@dreammechanics.com>
11916 * java/lang/natDouble.cc (parseDouble): Allow a number to end with
11917 the f/F/d/D modifiers.
11919 2002-04-12 Anthony Green <green@redhat.com>
11921 * Makefile.am (jardir, jar_DATA): Define (for libgcj.jar).
11922 Create libgcj-@gcc_version@.jar instead of libgcj.jar.
11923 * Makefile.in: Rebuilt.
11924 * configure.in: Substitute gcc_version.
11925 * configure: Rebuilt.
11927 2002-04-11 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
11929 * configure.host: Set can_unwind_signal on hosts which support it.
11930 Don't set CHECKREFSPEC and DIVIDESPEC for FreeBSD.
11931 * configure.in: Set CHECKREFSPEC and DIVIDESPEC if not using SJLJ
11932 exceptions and can_unwind_signal isn't set.
11933 * configure: Rebuilt.
11935 2002-04-11 Tom Tromey <tromey@redhat.com>
11937 * win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.
11939 2002-04-11 Adam King <aking@dreammechanics.com>
11940 Tom Tromey <tromey@redhat.com>
11942 * include/jvm.h (_Jv_ThrowBadArrayIndex,
11943 _Jv_ThrowNullPointerException): Mark as noreturn.
11944 * win32.cc (_Jv_platform_initProperties): Use _Jv_MallocUnchecked
11945 and _Jv_free. Correctly invoke GetTempPath(). Indentation
11948 2002-04-10 Tom Tromey <tromey@redhat.com>
11950 * Makefile.in: Rebuilt.
11951 * Makefile.am (java/lang/Thread.h): Mark
11952 _Jv_AttachCurrentThreadAsDaemon as friend.
11953 * gcj/javaprims.h (_Jv_AttachCurrentThreadAsDaemon): Declare.
11954 * gcj/cni.h (JvAttachCurrentThreadAsDaemon): New function.
11955 * java/lang/natThread.cc (_Jv_AttachCurrentThreadAsDaemon): New
11957 * java/lang/natRuntime.cc (_load): Recognize JNI_VERSION_1_4.
11958 * jni.cc (_Jv_JNI_GetVersion): Return JNI_VERSION_1_4.
11959 (_Jv_JNI_InvokeFunctions): Added
11960 _Jv_JNI_AttachCurrentThreadAsDaemon.
11961 (_Jv_JNI_GetEnv): Handle JNI_VERSION_1_4.
11962 (JNI_GetDefaultJavaVMInitArgs): Likewise.
11963 (JNI_CreateJavaVM): Likewise.
11964 (_Jv_JNI_AttachCurrentThread): Likewise.
11965 (_Jv_JNI_AttachCurrentThread): Added `is_daemon' argument.
11966 (_Jv_JNI_AttachCurrentThreadAsDaemon): New method.
11967 (_Jv_JNIFunctions): Initialize new fields.
11968 (_Jv_JNI_NewDirectByteBuffer): New function.
11969 (_Jv_JNI_GetDirectBufferAddress): Likewise.
11970 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
11971 * include/jni.h (JNI_VERSION_1_4): New macro.
11972 (JNIInvokeInterface::AttachCurrentThreadAsDaemon): New field.
11973 (_Jv_JavaVM::AttachCurrentThreadAsDaemon): New method.
11974 (JNINativeInterface::NewDirectByteBuffer): New field.
11975 (JNINativeInterface::GetDirectBufferAddress): New field.
11976 (JNINativeInterface::GetDirectBufferCapacity): New field.
11977 (_Jv_JNIEnv::NewDirectByteBuffer): New method.
11978 (_Jv_JNIEnv::GetDirectBufferAddress): New method.
11979 (_Jv_JNIEnv::GetDirectBufferCapacity): New method.
11981 2002-04-09 Tom Tromey <tromey@redhat.com>
11983 * win32.cc (_Jv_platform_initProperties): Use GetTempPath.
11985 2002-04-08 Alberto Biancardi <alberto.biancardi@unipv.it>
11987 Fix for PR libgcj/6187:
11988 * java/awt/geom/Point2D.java (distance): Call distanceSq, not
11991 2002-04-07 Mark Wielaard <mark@klomp.org>
11993 * java/util/AbstractMap.java (putAll): Use entrySet size.
11994 (toString): Explicitly use getKey() and getValue().
11996 2002-04-07 Mark Wielaard <mark@klomp.org>
11998 * java/util/Hashtable.java (contains): Remove NullPointer check.
11999 (containsValue): Add NullPointer check.
12000 (remove): Always throw NullPointerException when key
12003 2002-04-07 Adam King <aking@dreammechanics.com>
12005 * java/lang/natSystem.cc (init_properties): Call new function
12006 _Jv_platform_initProperties.
12007 * win32.cc (_Jv_platform_initProperties): New function that adds Win32
12008 support for the System properties os.name, os.arch, os.version,
12009 user.name, user.home, and user.dir.
12010 * include/posix.h, include/win32.h, posix.cc: New function
12011 _Jv_platform_initProperties.
12013 2002-04-06 Mark Wielaard <mark@klomp.org>
12015 * java/lang/Character,java (isDefined): getType() != UNASSIGNED.
12017 2002-04-06 Mark Wielaard <mark@klomp.org>
12019 * java/util/ArrayList.java (addAll(int,Collection)): System.arraycopy
12020 all of the remaining elements.
12021 * java/util/Vector.java (addAll(int,Collection)): Likewise.
12022 (removeRange): If toIndex == fromIndex do
12023 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12024 (removeAll): Always throw NullPointerException when collection is
12026 (retrainAll): Likewise.
12028 2002-04-05 Mark Wielaard <mark@klomp.org>
12030 * java/util/ArrayList.java (removeRange): If toIndex == fromIndex do
12031 nothing, if toIndex < fromIndex throw IndexOutIfBoundsException.
12033 2002-04-05 Adam Megacz <adam@xwt.org>
12035 * exception.cc (abort): added static modifier
12037 2002-04-04 Adam Megacz <adam@xwt.org>
12039 * include/win32.h (_Jv_platform_close_on_exec): added inline
12042 2002-04-04 Loren J. Rittle <ljrittle@acm.org>
12044 * configure.host: Add case statement to support generic port
12045 properties. Add *-*-freebsd* section.
12047 2002-04-04 Mark Wielaard <mark@klomp.org>
12049 * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
12051 * testsuite/libjava.mauve/xfails: Remove working tests DoubleTest,
12052 FloatTest and ObjectStreamClass. Add FAIL for Introspector.jdk11 tests
12053 that depend on awt code and BufferedByteOutputStream.interrupt.
12055 2002-04-04 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12057 * java/util/Arrays.java (qsort): Fix off-by-one errors and use of
12058 incorrect "hi" value when count > 40.
12060 2002-04-03 Mark Wielaard <mark@klomp.org>
12062 * java/lang/reflect/Modifier.java (toString(int,StringBuffer)): Fix
12065 2002-04-02 Tom Tromey <tromey@redhat.com>
12067 * java/lang/natClassLoader.cc (findClass): Compare against `3',
12070 2002-04-02 Mark Wielaard <mark@klomp.org>
12072 * mauve-libgcj: add java.net.DatagramSocket.DatagramSocketTest2 to
12073 list of testsuite crashers.
12075 2002-04-02 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12077 * java/util/IdentityHashMap.java (put): Set new threshold correctly
12078 when resizing table.
12080 2002-04-01 Mark Wielaard <mark@klomp.org>
12082 * java/util/BitSet.java (BitSet(int)): if nbits < 0 throw
12083 NegativeArraySizeException
12084 (clear(int)): Use sign extended shift.
12085 (flip(int)): Likewise.
12086 (get(int)): Likewise.
12087 (nextClearBit(int)): Likewise.
12088 (nextSetBit(int)): Likewise.
12089 (set(int)): Likewise.
12091 2002-04-01 Mark Wielaard <mark@klomp.org>
12093 * mauve-libgcj: Add JDK1.3, JDK1.4, JLS1.2 tests, remove ignored tests
12094 that can be compiled now and add testsuite crashers to ignore list.
12096 2002-03-31 Alexandre Oliva <aoliva@redhat.com>
12098 * libgcj.spec.in, libgcj-test.spec.in: Revert for now.
12100 * libgcj.spec.in: Override libgcc, not lib.
12101 * libgcj-test.spec.in: Likewise.
12103 2002-03-29 Tom Tromey <tromey@redhat.com>
12105 * java/net/natPlainDatagramSocketImpl.cc (close): New function.
12106 * java/net/natPlainSocketImpl.cc (close): Indentation fix.
12108 2002-03-27 Jeff Sturm <jsturm@one-point.com>
12110 * java/net/PlainDatagramSocketImpl.java
12111 (close): Use native implementation.
12112 (finalize): New method.
12114 * java/net/PlainSocketImpl.java (finalize): New method.
12116 * java/net/natPlainDatagramSocketImpl.cc
12117 (java/io/FileDescriptor.h): Don't include.
12118 (close): Implement method here.
12119 (create): Don't assign fd.
12121 * java/net/natPlainSocketImpl.cc
12122 (java/io/FileDescriptor.h): Don't include.
12123 (create): Don't assign fd.
12124 (accept): Likewise.
12125 (close): Synchronize.
12127 2002-03-27 Richard Henderson <rth@redhat.com>
12129 * include/posix-threads.h [alpha] (_Jv_ThreadSelf): Avoid a copy.
12131 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
12133 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
12134 (INIT_SEGV, INIT_FPE): Add versions that use __libc_sigaction
12135 instead of syscall on IA-64.
12138 2002-03-27 Anthony Green <green@redhat.com>
12140 * libgcj.spec.in: Add CHECKREFSPEC.
12141 * configure.in: Ditto.
12142 * configure.host: Ditto. Check references for xscale-elf.
12143 * configure: Rebuilt.
12145 2002-03-26 Hans Boehm <Hans_Boehm@hp.com>
12147 * include/dwarf2-signal.h: Temporarily back out last change.
12149 2002-03-26 Loren J. Rittle <ljrittle@acm.org>
12151 * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
12153 2002-03-25 Andrew Haley <aph@cambridge.redhat.com>, Hans Boehm <Hans_Boehm@hp.com>
12155 * configure.in, configure: enable dwarf2-exception-style
12156 exception handling on IA-64.
12157 * include/dwarf2-signal.h (MAKE_THROW_FRAME): Add for IA-64.
12158 (INIT_SEGV, INIT_FPE): Use __libc_sigaction instead of syscall.
12161 2002-03-25 Tom Tromey <tromey@redhat.com>
12163 * Makefile.am (libgcj_la_LDFLAGS): Use THREADLDFLAGS.
12164 (jv_convert_LDFLAGS): Likewise.
12165 (gij_LDFLAGS): Likewise.
12166 (rmic_LDFLAGS): Likewise.
12167 (rmiregistry_LDFLAGS): Likewise.
12168 * configure.in (THREADLDFLAGS): New subst; set correctly for
12171 2002-03-25 Tom Tromey <tromey@redhat.com>
12173 For PR libgcj/5303:
12174 * gnu/java/rmi/registry/RegistryImpl.java (main): Recognize --help
12176 (help): New method.
12177 (version): Likewise.
12178 * gnu/gcj/convert/Convert.java (version): Removed extraneous
12180 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Removed extraneous
12183 2002-03-25 Tom Tromey <tromey@redhat.com>
12185 * java/awt/Component.java (processEvent): Check ComponentEvent
12188 2002-03-24 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12190 * java/io/PushbackReader.java: Reformat.
12192 * java/io/FileInputStream.java (skip): Call fd.getFilePointer() and
12193 calculate correct number of bytes skipped.
12195 Based on patch from Intel's ORP team:
12196 * java/io/PushbackInputStream.java (available): Calculate correct
12197 number of bytes in buffer.
12198 (read): Remove redundant bound check. Return bytes from both the
12199 buffer and the stream.
12201 2002-03-24 Tom Tromey <tromey@redhat.com>
12203 * java/awt/TextComponent.java (TextComponent): Editable by
12206 * java/awt/MenuItem.java (eventMask): No longer private.
12207 * java/awt/Button.java (dispatchEventImpl): Only dispatch to
12208 superclass if we didn't handle event.
12209 * java/awt/Checkbox.java (dispatchEventImpl): New method.
12210 * java/awt/CheckboxMenuItem.java (dispatchEventImpl): New method.
12211 * java/awt/Choice.java (dispatchEventImpl): New method.
12212 * java/awt/List.java (dispatchEventImpl): New method.
12213 * java/awt/Scrollbar.java (dispatchEventImpl): New method.
12214 * java/awt/TextComponent.java (dispatchEventImpl): New method.
12215 * java/awt/TextField.java (dispatchEventImpl): New method.
12217 2002-03-24 Eric Blake <ebb9@email.byu.edu>
12219 * java/beans/IntrospectionException.java: Update to 1.4.
12220 * java/beans/PropertyVetoException.java: Ditto.
12222 2002-03-24 Eric Blake <ebb9@email.byu.edu>
12224 * gnu/java/beans/BeanInfoEmbryo.java (hasMethod): Use
12225 Arrays.equals instead of ArrayHelper.equalsArray.
12227 2002-03-24 C. Brian Jones <cbj@gnu.org>
12229 * java/beans/Introspector.java: added new static final fields
12230 introduced in 1.2, lots of other updates remain to be done
12232 2002-03-24 C. Brian Jones <cbj@gnu.org>
12234 * java/beans/Introspector.java: reformatting
12236 2002-03-24 C. Brian Jones <cbj@gnu.org>
12238 * java/beans/Introspector.java: default beanInfoSearchPath will
12239 not include sun.beans.infos given we provide no such package and
12240 the API doesn't really require it; gnu.java.beans.info is the
12243 2002-03-24 Mark Wielaard <mark@klomp.org>
12245 Thanks to Orp developers
12246 * gnu/java/beans/editors/NativeBooleanEditor.java (setAsText(String)):
12247 switch TRUE and FALSE return values.
12249 2002-03-23 Tom Tromey <tromey@redhat.com>
12251 * include/name-finder.h (_Jv_name_finder::myclose): New method.
12252 * name-finder.cc (_Jv_name_finder): Initialize file descriptors.
12254 2002-03-23 Michael Smith <msmith@spinnakernet.com>
12256 * java/util/GregorianCalendar.java (minimums, maximums): Correct
12257 MONTH entry. Fixes PR libgcj/6045.
12259 2002-03-23 Jeff Sturm <jsturm@one-point.com>
12261 * java/nat/natPlainSocketImpl.cc (write): Abort loop on error.
12263 2002-03-20 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12265 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use write_barrier,
12267 * sysdep/powerpc/locks.h (write_barrier): New function.
12268 * sysdep/i386/locks.h (write_barrier): New function.
12270 2002-03-19 Martin Kahlert <martin.kahlert@infineon.com>
12272 * include/jni.h Use correct C comments.
12274 2002-03-18 Tom Tromey <tromey@redhat.com>
12276 * include/jni.h (JNIIMPORT): New macro.
12277 (JNIEXPORT): Likewise.
12278 (JNICALL): Likewise.
12280 2002-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12282 * configure.host (i?86-*): Use -fuse-divide-subroutine on Solaris
12285 2002-03-18 Andrew Haley <aph@cambridge.redhat.com>
12287 * include/i386-signal.h (old_i386_kernel_sigaction): New.
12288 INIT_SEGV: Use old_i386_kernel_sigaction.
12291 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12293 * java/lang/natSystem.cc (init_properties): Update VM version
12295 * configure.in: Set GCJVERSION.
12296 * acconfig.h: Add GCJVERSION.
12297 * configure: Rebuilt.
12298 * include/config.h.in: Rebuilt.
12300 2002-03-17 Anthony Green <green@redhat.com>
12302 * java/lang/ieeefp.h: Add ARM thumb support (copied from newlib).
12304 2002-03-17 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12306 Build a single libgcj.so, without separate gc and zlib libraries.
12307 * configure.in: Use convenience libraries for boehm-gc and zlib. Set
12308 SYS_ZLIBS if system zlib is used.
12309 * configure: Rebuilt.
12310 * Makefile.am: Use boehm-gc and zlib convenience libraries.
12311 * Makefile.in: Rebuilt.
12312 * libtool-version: Increment .so version number.
12314 * Makefile.am: Escape quotes in echo.
12315 * Makefile.in: Rebuilt.
12317 2002-03-16 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12319 * Makefile.am: Use empty -classpath flag in addition to -bootclasspath.
12320 * Makefile.in: Rebuilt.
12322 2002-03-15 Anthony Green <green@redhat.com>
12324 * configure.host (FILE): New macro for specifing File
12326 * configure: Rebuilt.
12327 * configure.in: Use FILE. Define HAVE_TIME for newlib targets.
12329 2002-03-15 Alexandre Oliva <aoliva@redhat.com>
12331 * Makefile.am (jv_convert_LDADD): Don't list libraries that are
12332 already implicitly brought in from libgcj.la.
12333 (gij_LDADD, rmic_LDADD, rmiregistry_LDADD): Likewise.
12334 * Makefile.in: Rebuilt.
12336 2002-03-15 Eric Blake <ebb9@email.byu.edu>
12338 * THANKS: Fix punctuation, alphabetization.
12340 2002-03-15 Tom Tromey <tromey@redhat.com>
12341 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12343 Fix for PR libgcj/5944.
12344 * gnu/gcj/io/shs.h: Define uint8_t and uint32_t.
12346 2002-03-15 Anthony Green <green@redhat.com>
12348 * configure.in (tool_include_dir): Define.
12349 * configure: Rebuilt.
12350 * gcj/Makefile.am: Install libgcj-config.h relative to
12352 * gcj/Makefile: Rebuilt.
12353 * gcj/libgcj-config.h: Add warning comment.
12355 2002-03-12 Andreas Tobler <a.tobler@schweiz.ch>
12357 * configure.host (powerpc*-darwin*): Enable interpreter.
12359 2002-03-10 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12361 * include/posix.h: Add multiple include header protection.
12362 * java/net/natPlainSocketImpl.cc: Don't #include <posix.h>.
12364 2002-03-10 Adam Megacz <adam@xwt.org>
12366 * java/net/natPlainSocketImpl.cc: Added #include <platform.h>.
12368 2002-03-10 Tom Tromey <tromey@redhat.com>
12370 * java/awt/GridLayout.java (layoutContainer): Handle case where
12371 there are no items in container.
12373 * java/lang/Win32Process.java: Added comment.
12374 * include/posix.h (_Jv_platform_close_on_exec): New function.
12376 * include/win32.h (_Jv_platform_close_on_exec): New function.
12377 * java/net/natPlainSocketImpl.cc (create): Set close-on-exec
12379 (accept): Likewise.
12380 * java/net/natPlainDatagramSocketImpl.cc (create): Set
12381 close-on-exec flag.
12382 * java/io/natFileDescriptorPosix.cc (open): Set close-on-exec
12385 2002-03-09 Tom Tromey <tromey@redhat.com>
12387 * verify.cc (state::NO_STACK): New constant.
12388 (state::is_unmerged_ret_state): Handle case where stacktop is
12390 (state::merge): Handle NO_STACK merges.
12391 (handle_jsr_insn): Invalidate PC, and use special NO_STACK state
12392 for instruction following jsr.
12393 (stacktop, stackdepth): Removed unused variables.
12394 (pop_jump): Ignore case where all remaining states are skipped.
12396 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12398 * java/awt/ImageMediaEntry: Removed.
12399 * java/awt/MediaEntry: Removed.
12401 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12403 Hashtable synchronization for PowerPC.
12404 * configure.in: Define SLOW_PTHREAD_SELF if configure.host set
12405 slow_pthread_self. Set up symlink for sysdeps directory.
12406 * configure: Rebuild.
12407 * configure.host: Document more shell variables. Set sysdeps_dir
12408 for most platforms. Set slow_pthread_self for i686. Set
12409 enable_hash_synchronization_default and slow_pthread_self for PowerPC.
12410 * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so
12411 that memory barrier is emitted where required.
12412 * prims.cc: 64-bit align static primitive class instances.
12413 * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add
12414 read_barrier() to enforce ordering of reads.
12415 * sysdep/powerpc/locks.h: New file. Implementation of synchronization
12416 primitives for PowerPC.
12417 * sysdep/i386/locks.h: New file. Synchronization primitives for i386
12418 moved from natObject.cc.
12419 * sysdep/alpha/locks.h: Likewise.
12420 * sysdep/ia64/locks.h: Likewise.
12421 * sysdep/generic/locks.h: Likewise.
12422 * java/lang/natObject.cc: Move thread synchronization primitives to
12423 system-dependent headers.
12425 2002-03-09 Adam Megacz <adam@xwt.org>
12427 * java/io/natFileDescriptorWin32.cc (read): Return -1 if zero
12428 bytes read and no failure code returned.
12430 2002-03-09 Adam Megacz <adam@xwt.org>
12432 * win32.cc (_CRT_MT, __mingwthr_key_dtor) Added fake
12433 definitions to simulate -mthreads.
12435 2002-03-09 Adam Megacz <adam@xwt.org>
12437 * win32.cc (_Jv_platform_gettimeofday) Cast 1000 to long long to
12438 avoid precision loss.
12440 2002-03-09 Per Bothner <per@bothner.com>
12442 * gnu/gcj/xlib/WindowAttributes.java Assign null to RawData, not 0.
12443 * gnu/gcj/xlib/XImage.java: Likewise.
12444 * gnu/gcj/xlib/XColor.java: Likewise.
12446 2002-03-09 Adam Megacz <adam@xwt.org>
12448 * java/lang/Win32Process.java (ConcreteProcess): Now throws an
12449 IOException so that Throwable.printStackTrace fails correctly.
12451 2002-03-08 Adam Megacz <adam@xwt.org>
12453 * java/net/natPlainSocketImpl.cc (read, write, close): Formatting
12456 2002-03-09 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12458 * posix.cc (_Jv_platform_gettimeofday): Make sure result doesn't get
12461 2002-03-08 Tom Tromey <tromey@redhat.com>
12463 * include/jni.h: Include stdio.h.
12465 2002-03-08 Tom Tromey <tromey@redhat.com>
12467 * posix.cc (internal_gettimeofday): New function.
12468 (_Jv_select): Use it.
12470 2002-03-07 Adam Megacz <adam@xwt.org>
12472 * java/net/natPlainSocketImpl.cc: Changed USE_WINSOCK to
12473 WIN32, and added thunks for read(), write(), and close().
12474 * java/net/natPlainSocketImpl.cc (accept, read, read):
12475 Disabled timeouts on WIN32 pending discussion.
12477 2002-03-07 Adam Megacz <adam@xwt.org>
12479 * win32.cc (_Jv_platform_gettimeofday): Now takes no args,
12480 returns jlong. Added implementation
12481 * posix.cc (_Jv_platform_gettimeofday): Now takes no args,
12483 * win32.h (_Jv_platform_gettimeofday): Now takes no args,
12485 * posix.h (_Jv_platform_gettimeofday): Now takes no args,
12487 * java/lang/natSystem.cc (currentTimeMillis): Now uses updated
12488 _Jv_platform_gettimeofday signature.
12490 2002-03-07 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12492 * java/net/natPlainSocketImpl.cc (_Jv_recv): Removed.
12493 (read): Call recv() directly, not _Jv_recv().
12495 2002-03-06 Tom Tromey <tromey@redhat.com>
12497 * java/io/natFileDescriptorEcos.cc (init): Don't use
12499 * java/io/natFileDescriptorPosix.cc (valid): Don't call stat if FD
12501 (init): Don't use GetStdHandle.
12503 * include/config.h.in: Rebuilt.
12504 * configure: Rebuilt.
12505 * Makefile.in: Rebuilt.
12507 2002-03-06 Adam Megacz <adam@xwt.org>
12509 * java/io/FileDescriptor.java: Initialize in/out/err in init().
12510 * java/io/natFileDescriptorWin32.cc (init()): Added function.
12511 * java/io/natFileDescriptorPosix.cc (init()): Added function.
12512 * java/io/natFileDescriptorEcos.cc (init()): Added function.
12514 2002-03-06 Eric Blake <ebb9@email.byu.edu>
12516 * scripts/unicode-decomp.pl: Move from chartables.pl, and remove
12517 the code for generating include/java-chartables.h.
12518 * scripts/unicode-blocks.pl: Move from scripts/blocks.pl, and
12519 merge with Classpath.
12520 * scripts/unicode-muncher.pl: Copy from Classpath.
12521 * scritps/MakeCharTables.java: New file.
12522 * gnu/gcj/convert/Blocks-3.txt: New file.
12523 * gnu/gcj/convert/UnicodeData-3.0.0.txt: New file.
12524 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html: New file.
12525 * gnu/java/lang/CharData.java: Copy from Classpath.
12526 * Makefile.am (ordinary_java_source_files): Add
12527 gnu/java/lang/CharData.java.
12528 * configure.in: Remove --enable-fast-character option.
12529 * java/lang/Character.java: Merge algorithms and Javadoc with
12531 * java/lang/natCharacter.cc: Implement Unicode lookup table more
12533 * include/java-chardecomp.h: Regenerate.
12534 * include/java-chartables.h: Regenerate.
12536 2002-03-06 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12538 * java/awt/MediaTracker.java: Implemented.
12539 * Makefile.am: Add MediaTracker.
12540 * Makefile.in: Rebuilt.
12542 2002-03-05 Tom Tromey <tromey@redhat.com>
12544 * java/lang/natPosixProcess.cc (fail): Removed.
12545 (startProcess): Simplified error-handling. Preserve
12546 LD_LIBRARY_PATH across exec.
12548 * jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
12549 AbstractMethodError.
12551 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12553 * Makefile.am: Use -bootclasspath, not -CLASSPATH.
12554 * Makefile.in: Rebuilt.
12556 2002-03-03 Mark Wielaard <mark@klomp.org>
12558 * java/util/Timer (TaskQueue.stop): set elements to zero.
12560 2002-02-28 Anthony Green <green@redhat.com>
12562 * java/lang/reflect/natMethod.cc (result): Add void* element.
12563 (_Jv_CallAnyMethodA): Handle FFI_TYPE_POINTER arguments. Move
12566 2002-02-27 Adam Megacz <adam@xwt.org>
12568 * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
12571 2002-02-26 Tom Tromey <tromey@redhat.com>
12573 * java/lang/natSystem.cc (init_properties): Use __VERSION__.
12574 * gij.cc (version): Use __VERSION__.
12575 * include/config.h.in: Rebuilt.
12576 * acconfig.h (GCJVERSION): Removed.
12577 * configure: Rebuilt.
12578 * configure.in (GCJVERSION): Removed.
12580 2002-02-26 Andreas Schwab <schwab@suse.de>
12582 * acinclude.m4 (LIB_AC_PROG_CXX): Use glibjava_CXX instead of
12583 glibcpp_CXX, since libjava uses even another CXX.
12584 * aclocal.m4, configure: Regenerated.
12586 2002-02-26 Tom Tromey <tromey@redhat.com>
12588 * java/lang/natPosixProcess.cc (startProcess): Use FD_CLOEXEC, not
12591 2002-02-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12593 * Makefile.am (GCJCOMPILE): Use -fCLASSPATH not -fclasspath. Fixes
12594 dependency tracking for .java files.
12595 * Makefile.in: Rebuilt.
12597 2002-02-24 Adam Megacz <adam@xwt.org>
12599 * java/net/natPlainDatagramSocketImpl.cc: whops; removed 'make'
12602 2002-02-24 Adam Megacz <adam@xwt.org>
12604 * java/net/natPlainDatagramSocketImpl.cc: Updated #includes
12605 for Win32, changed #ifdefs to check WIN32 instead of the
12606 (now-obsolete) USE_WINSOCK, and removed support for socket
12607 timeouts on Win32 pending further discussion.
12609 2002-02-24 Adam Megacz <adam@xwt.org>
12611 * win32-threads.cc (_Jv_ThreadInitData): _Jv_Malloc instead of new
12612 * win32-threads.cc (_Jv_ThreadDestroyData): _Jv_Free instead of
12615 2002-02-24 Adam Megacz <adam@xwt.org>
12617 * java/lang/Win32Process.java: Created a dummy class to allow
12618 build process to run to completion.
12620 2002-02-24 Jeff Sturm <jsturm@one-point.com>
12622 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
12623 Define ffi_result union for ffi_call result. Cast
12624 ffi_result members to jvalue.
12626 2002-02-23 Alexandre Oliva <aoliva@redhat.com>
12628 * Makefile.in, gcj/Makefile.in, include/Makefile.in: Rebuilt.
12629 * testsuite/Makefile.in: Likewise.
12631 2002-02-20 Per Bothner <per@bothner.com>
12633 * java/net/URL.java (getPath): New JDK 1.3 method.
12635 * java/net/URLStreamHandler.java (parseURL):
12636 It is wrong to prepend '/' to the file part of a relative url.
12638 * java/net/URLStreamHandler.java (parseURL):
12639 Minor optizations - append '/' rather than "/".
12641 * java/net/URLStreamHandler.java (parseURL):
12642 Don't canonicalize "xx/.." or "./" URLs - JDK doesn't.
12643 We probably should canonicalize for a context-relative url, though.
12644 * java/net/URL.java (sameFile): Delegate to URLStreamHandler.
12645 * java/net/URLStreamHandler.java (canonicalizeFilename): New helper.
12646 (sameFile): New method. Uses canonicalizeFilename.
12648 2002-02-22 Tom Tromey <tromey@redhat.com>
12650 * java/lang/natSystem.cc (init_properties): Include the `Inc.' in
12651 java.vendor and java.vm.vendor.
12652 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Only print most
12653 recent copyright date.
12654 * gnu/gcj/convert/Convert.java (version): Print `Inc'.
12655 * gij.cc (version): Print `Inc'.
12657 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
12659 * acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
12660 * aclocal.m4, configure: Rebuilt.
12662 2002-02-20 Per Bothner <per@bothner.com>
12664 * gnu/gcj/protocol/file/Connection.java (conect): Open the input
12665 and/or output streams immediately here, instead of using File.exists.
12666 (inputStream, outputStream): New fields to save open streams.
12667 (getInputStream, getOutputStream): Use already-opened streams.
12669 2002-02-22 Alexandre Oliva <aoliva@redhat.com>
12671 * acinclude.m4 (LIB_AC_PROG_CXX): Copied from libstdc++-v3.
12673 * Makefile.am (LIBLINK): Use CXX (and its tag) for linking.
12674 * aclocal.m4, configure, Makefile.in: Rebuilt.
12676 2002-02-19 Tom Tromey <tromey@redhat.com>
12678 Fix for PR libgcj/5696:
12679 * verify.cc (is_assignable_from_slow): Never call
12680 _Jv_IsAssignableFrom.
12681 (verify_instructions_0): Added new debug statement.
12682 (state::print): Print information about whether local has
12684 (state::merge): Don't call note_variable when merging locals.
12685 (state::set_exception): Removed old FIXME comment.
12687 2002-02-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12689 * java/net/natPlainDatagramSocketImpl.cc (bind): Call setsockopt to
12690 enable SO_BROADCAST.
12692 2002-02-18 Jason Merrill <jason@redhat.com>
12694 * name-finder.cc (toHex): Use word mode, not long long.
12696 * gnu/gcj/convert/natIconv.cc (write): Avoid sign-compare warning.
12698 2002-02-15 Tom Tromey <tromey@redhat.com>
12700 Fix for PR libgcj/5695:
12701 * verify.cc (is_assignable_from_slow): Check to see if target is
12702 an Object before checking to see if source is an interface.
12703 (verify_instructions_0) [op_invokeinterface]: Handle case where
12704 we're making an interface call on Object.
12706 2002-02-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12708 * Makefile.in: Rebuilt with Eric's change below.
12710 * java/lang/natMath.cc (abs(jdouble), abs(jfloat), round(jfloat),
12711 round(jdouble), min(jfloat), max(jfloat), min(jdouble), min(jfloat)):
12712 Removed functions which are now implemented in Math.java.
12714 2002-02-14 Eric Blake <ebb9@email.byu.edu>
12716 * gcj/javaprims.h (java::lang): Add java::lang::StrictMath.
12717 * Makefile.am (core_java_source_files): Add
12718 java/lang/StrictMath.java.
12719 * java/lang/Math.java: Merge with Classpath.
12720 * java/lang/StrictMath.java: New file - merge with Classpath.
12722 2002-02-14 Mark Wielaard <mark@klomp.org>
12724 * java/math/BigInteger.java: import gnu.java.math.MPN not the whole
12725 package as a workaround for gcj 3.0.x
12727 2002-02-14 Mark Wielaard <mark@klomp.org>
12729 * java/security/BasicPermission.java: extends with fully qualified
12730 classname as workaround for gcj 3.0.4.
12732 2002-02-14 Eric Blake <ebb9@email.byu.edu>
12734 * java/net/DatagramSocketImpl.java (setOption, getOption): Work
12735 around gcj bug of wrong emitted qualifier for inherited method.
12736 * java/net/SocketImpl.java (setOption, getOption): Ditto.
12737 * java/util/WeakHashMap.java (WeakEntrySet): Add non-private
12738 constructor to reduce amount of emitted bytecode. While this
12739 happens to work around a jikes 1.15 bug, it is still a useful
12740 patch even for correct compilers.
12741 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Ditto.
12742 * gnu/java/rmi/server/UnicastRemoteCall.java
12743 (DummyObjectOutputStream, DummyObjectInputStream): Ditto.
12745 2002-02-14 Eric Blake <ebb9@email.byu.edu>
12747 * java/net/DatagramSocketImpl.java: Reformat (no code changes).
12748 * java/net/SocketImpl.java: Ditto.
12749 * java/rmi/server/RMIClassLoader.java: Ditto.
12750 * gnu/java/rmi/server/UnicastRemoteCall.java: Ditto.
12752 2002-02-14 Mark Wielaard <mark@klomp.org>
12754 Thanks to Takashi Okamoto
12755 * java/util/Arrays.java (ArrayList.indexOf()): this.equals().
12756 * java/util/Arrays.java (ArrayList.lastIndexOf()): Likewise.
12757 * java/util/WeakHashMap.java (WeakEntry.getEntry()): this.get().
12759 2002-02-13 Todd Stock <toddastock@yahoo.com>
12761 Fix for PR libgcj/5670:
12762 * verify.cc (is_assignable_from_slow): If `source' is interface,
12763 recursively look for merge with `target'.
12765 2002-02-14 Martin Kahlert <martin.kahlert@infineon.com>
12767 * include/jni.h: Fix typo.
12769 2002-02-13 Martin Kahlert <martin.kahlert@infineon.com>
12771 * jni.cc (_Jv_JNI_AttachCurrentThread): env->locals assigned
12774 2002-02-13 Todd Stock <toddastock@yahoo.com>
12776 Fix for PR libgcj/5671:
12777 * verify.cc (state::merge): Handle case where we're merging
12778 against an interface.
12780 2002-02-12 Tom Tromey <tromey@redhat.com>
12782 * exception.cc (std::abort): Mark as noreturn.
12784 2002-02-12 Adam Megacz <adam@xwt.org>
12786 * java/lang/Win32Process.java: Filled in a placeholder
12787 implementation so Win32 will build.
12789 2002-02-12 Adam Megacz <adam@xwt.org>
12791 * java/io/natFilePosix.cc: Copied this from natFile.cc.
12792 * java/io/natFile.cc: Removed from repository.
12793 * configure.in: Added AC_LINK_FILES for natFile${PLATFORM}.
12795 2002-02-12 Adam Megacz <adam@xwt.org>
12797 * win32.cc: Added two #includes to make win32.cc compile.
12799 2002-02-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12801 * boehm.cc (initialized, obj_kind_x, obj_free_list): Removed unused
12803 (_Jv_InitGC): Don't bother locking, as this is always called from a
12804 single-thread. Turn off GC_all_interior_pointers. Remove dead code.
12806 2002-02-11 Adam Megacz <adam@xwt.org>
12808 * include/win32.h: Added _Jv_platform_gettimeofday.
12809 * win32.cc (_Jv_platform_gettimeofday): Added dummy function.
12811 2002-02-11 Adam Megacz <adam@xwt.org>
12813 * java/io/natFileWin32.cc, java/io/natFileDescriptorWin32.cc:
12814 Added #undef STRICT to make windows.h and
12815 java/lang/reflect/Modifier.h cooperate.
12817 2002-02-11 Adam Megacz <adam@xwt.org>
12819 * java/io/natFileWin32.cc: Created a placeholder class with lots
12822 2002-02-11 Adam Megacz <adam@xwt.org>
12824 * exception.cc (_Jv_Throw, PERSONALITY_FUNCTION): Changed
12825 std::abort() to simply abort(). Also added "fake" std::abort() so
12826 we can #include unwind-pe.h without having to link against
12829 2002-02-10 Andreas Tobler <toa@pop.agri.ch>
12831 * interpret.cc (continue1) [insn_f2l]: Use PUSHL, not PUSHI.
12833 2002-02-08 Tom Tromey <tromey@redhat.com>
12835 * interpret.cc (convert): New function.
12836 (continue1) [insn_d2i, insn_d2l, insn_f2i, insn_f2l]: Use
12840 2002-02-08 Anthony Green <green@redhat.com>
12842 * configure.host: Add support for xscale-elf embedded target.
12844 2002-02-08 Martin Kahlert <martin.kahlert@infineon.com>
12846 * jni.cc (_Jv_JNI_NewLocalRef): Make sure, that NULL frame is not
12848 (_Jv_JNI_AttachCurrentThread): Produce full featured env->locals
12851 2002-02-07 Tom Tromey <tromey@redhat.com>
12853 * java/io/natFile.cc (_access): Use __builtin_alloca.
12856 (getCanonicalPath): Likewise.
12857 (performList): Likewise.
12858 (performMkdir): Likewise.
12859 (performSetReadOnly): Likewise.
12860 (performRenameTo): Likewise.
12861 (performSetLastModified): Likewise.
12862 (performCreate): Likewise.
12863 (performDelete): Likewise.
12865 2002-02-08 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12867 * HACKING: Fix URL for the automake-gcj.
12869 2002-02-07 Tom Tromey <tromey@redhat.com>
12871 * java/lang/natThrowable.cc: Updated copyright.
12872 * java/io/natFileWin32.cc: Updated copyright.
12873 * java/io/natFileDescriptorWin32.cc: Updated copyright.
12874 * win32-threads.cc: Updated copyright.
12875 * name-finder.cc: Updated copyright.
12876 * include/name-finder.h: Updated copyright.
12878 * include/name-finder.h: Conditionally include sys/wait.h.
12879 * include/config.h.in: Rebuilt.
12881 * java/io/natFile.cc (_access): Don't stack-allocate buffer.
12882 Size buffer based on real size of string.
12885 (getCanonicalPath): Likewise.
12886 (performList): Likewise.
12887 (performMkdir): Likewise.
12888 (performSetReadOnly): Likewise.
12889 (unixroot): Removed.
12890 (performRenameTo): Likewise.
12891 (performSetLastModified): Likewise.
12892 (performCreate): Likewise.
12893 (performDelete): Likewise.
12894 (performListRoots): Always return new array.
12896 * prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize.
12897 * win32.cc (win32_exception_handler): Now static.
12898 * include/win32.h (_Jv_platform_initialize): Declare.
12899 (win32_exception_handler): Don't declare.
12900 * java/lang/natSystem.cc (currentTimeMillis): Use
12901 _Jv_platform_gettimeofday.
12902 * posix.cc (_Jv_platform_gettimeofday): Renamed.
12903 (_Jv_select): Use new name.
12904 (_Jv_platform_initialize): New function.
12905 * include/posix.h (_Jv_platform_gettimeofday): Renamed from
12907 (_Jv_platform_initialize): Declare.
12909 * configure: Rebuilt.
12910 * configure.in: Removed unnecessary parens.
12912 2002-02-06 Adam Megacz <adam@xwt.org>
12914 * configure.in: Changed mingw) to *mingw*).
12915 * win32.cc: Created this file.
12916 * win32.h: Created this file.
12917 * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved
12918 win32_exception_handler from prims.cc to win32.cc, added
12920 * prims.cc: removed some #ifdef-WIN32'd headers which are no
12921 longer needed now that we have platform.h
12923 2002-02-06 Adam Megacz <adam@xwt.org>
12925 * gnu/gcj/io/shs.h, gnu/gcj/io/shs.cc, gnu/gcj/io/natSimpleSHSStream.cc:
12926 use uint<n>_t instead of LONG and BYTE
12928 2002-02-06 Adam Megacz <adam@xwt.org>
12930 * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H
12932 2002-02-06 Anthony Green <green@redhat.com>
12934 * java/net/natPlainSocketImpl.cc: Fix DISABLE_JAVA_NET targets.
12935 Implement missing method stubs.
12936 java/net/natPlainDatagramSocketImpl.cc: Fix DISABLE_JAVA_NET
12938 * java/lang/natSystem.cc (getSystemTimeZone): Some targets have no
12939 concept of timezones.
12940 (init_properties): Don't refer to _Jv_Environment_Properties
12941 when this feature is not available.
12942 * include/config.h.in: Rebuilt.
12943 * acconfig.h: Add DISABLE_MAIN_ARGS.
12944 * prims.cc (_Jv_RunMain): Use DISABLE_MAIN_ARGS.
12945 * configure: Rebuilt.
12946 * configure.in: Add --disable-main-args option. Test for
12947 opendir function. Replace AC_CHECK_SIZEOF with
12948 AC_COMPILE_CHECK_SIZEOF.
12949 * java/io/natFile.cc (performList): Check HAVE_OPENDIR.
12950 * aclocal.m4: Rebuilt.
12951 * acinclude.m4: Add AC_COMPILE_CHECK_SIZEOF.
12953 2002-02-06 Tom Tromey <tromey@redhat.com>
12955 * verify.cc (require_array_type): If argument is a null array of
12956 references, return null as the element type.
12958 2002-02-06 Mark Wielaard <mark@klomp.org>
12960 * verify.cc (verify_instructions_0) [op_dup2]: Actually push the
12961 duplicate of a wide type.
12963 2002-02-06 Tom Tromey <tromey@redhat.com>
12965 * verify.cc (type::isnull): New method.
12966 (require_array_type): Handle case where array is null.
12967 (verify_instructions_0) [op_arraylength]: Likewise.
12969 2002-02-05 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
12971 * configure.in: Set up PLATFORMOBJS not PLATFORM_SPECIFIC_SOURCES.
12972 Symlink PLATFORMH to platform.h.
12973 * Makefile.am (libgcj_la_DEPENDENCIES, libgcj_la_LIBADD): Add
12975 * java/lang/natSystem.cc: #include platform.h not posix.h.
12976 * Makefile.in: Rebuilt with libgcj automake.
12977 * configure: Rebuilt.
12979 2002-02-05 Richard Henderson <rth@redhat.com>
12981 * Makefile.in: Undo munging last change.
12983 2002-02-04 Adam Megacz <adam@xwt.org>
12985 * win32.cc: Created it.
12986 * configure.in: Added PLATFORM_SPECIFIC_SOURCES,
12987 which is set to posix.cc or win32.cc.
12988 * Makefile.am: Updated it to use $(PLATFORM_SPECIFIC_SOURCES).
12990 2002-02-04 Adam Megacz <adam@xwt.org>
12992 * configure.in: Corrected mingw case branches; added * before
12995 2002-02-04 Adam Megacz <adam@xwt.org>
12997 * configure.in: Add -lgdi32 -lwsock32 -lws2_32 to libgcj.spec
12998 if compiling for win32
13000 2002-02-04 Adam Megacz <adam@xwt.org>
13002 * win32-threads.cc: #undef STRICT after gc.h inclusion
13004 2002-02-02 Tom Tromey <tromey@redhat.com>
13006 * Makefile.in: Rebuilt.
13008 2002-02-02 Jason Merrill <jason@redhat.com>
13010 * Makefile.am (clean-nat): New target.
13012 2002-02-02 Tom Tromey <tromey@redhat.com>
13014 * java/io/natFile.cc: Removed old "FIXME" comments.
13016 2002-02-01 Tom Tromey <tromey@redhat.com>
13018 * java/lang/natPosixProcess.cc (myclose): New function.
13020 (startProcess): Likewise.
13022 2002-02-01 Adam Megacz <adam@xwt.org>
13024 * prims.cc: Added #undef STRICT after #include<windows.h>.
13026 2002-02-01 Adam Megacz <adam@xwt.org>
13029 (_Jv_CreateJavaVM): We now use WIN32 instead of
13030 USE_WIN32_SIGNALLING and USE_WINSOCK.
13031 (win32_exception_handler): Now throws an exception out of
13032 the signal handler; assumes SJLJ.
13034 2002-02-01 Adam Megacz <adam@xwt.org>
13036 * win32-threads.cc:
13037 (_Jv_CondWait, _Jv_CondNotify, _Jv_CondNotifyAll): Corrected
13038 wait() algorithm to make it safe.
13039 (ensure_condvar_initialized, _Jv_CondInit, _Jv_CondDestroy):
13040 Added lazy creation of Win32 Events for better performance
13041 (really_start): This now uses GC_CreateThread so boehm-gc
13042 knows about new threads even when statically linked.
13044 2002-02-01 Adam Megacz <adam@xwt.org>
13046 * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
13047 enable safer wait() algorithm.
13048 (_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
13049 _Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
13050 (_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
13051 _Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
13053 (_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.
13055 2002-02-01 Adam Megacz <adam@xwt.org>
13057 * configure.in: Added support for mingw.
13058 * java/lang/Win32Process.java: Created as empty file.
13059 * java/lang/natWin32Process.cc: Created as empty file.
13061 2002-02-01 Craig Rodrigues <rodrigc@gcc.gnu.org>
13064 * aclocal.m4, acinclude.m4 (AM_ICONV): Put linking flags
13065 for libiconv in LIBICONV variable.
13066 * configure: Regenerated.
13068 2002-01-31 Tom Tromey <tromey@redhat.com>
13070 * verify.cc (state::enter_subroutine): New method.
13071 (handle_jsr_insn): Use it.
13072 (state::merge): When processing a `ret', correctly use
13073 subroutine's state to determine which local variables have
13075 (push_exception_jump): Don't let stack overflow.
13077 2002-01-31 Joseph S. Myers <jsm28@cam.ac.uk>
13079 * gnu/gcj/convert/Convert.java: Only include one copyright year in
13082 2002-01-30 Tom Tromey <tromey@redhat.com>
13084 * java/net/natPlainSocketImpl.cc (_Jv_recv): Added template
13085 parameter for `recv' return type.
13087 * verify.cc (handle_ret_insn): Check for subroutine merge here...
13088 (state::merge): ... not here.
13089 (subr_entry_info): New structure.
13090 (entry_points): New field.
13091 (~_Jv_BytecodeVerifier): Correctly free jsr_ptrs. Free
13094 2002-01-29 Tom Tromey <tromey@redhat.com>
13096 * java/awt/List.java (addNotify): Correctly check to see if peer
13099 * java/awt/GridLayout.java (layoutContainer): Use number of rows
13100 to compute height of each cell, and number of columns to compute
13101 width of each cell.
13102 * java/awt/Window.java (getOwnedWindows): Don't return null.
13103 * java/awt/FlowLayout.java (layoutContainer): Set width and height
13104 of component. Increment x using horizontal gap, not vertical
13107 2002-01-28 Tom Tromey <tromey@redhat.com>
13109 * verify.cc (class _Jv_BytecodeVerifier) [op_invokeinterface]:
13110 `nargs' byte is number of words, not number of arguments.
13112 2002-01-27 Tom Tromey <tromey@redhat.com>
13114 * java/awt/event/MouseEvent.java (modifiers): Removed field.
13116 * java/awt/event/InputEvent.java (modifiers, when): Now
13119 * verify.cc (class _Jv_BytecodeVerifier): Removed `FIXME' comment
13121 (state::merge): Use current class' class loader.
13122 (state::print): Print subroutine.
13123 (state::merge): Don't look at subroutine of unmerged `ret'.
13125 2002-01-26 Andreas Tobler <a.tobler@schweiz.ch>
13127 * nogc.cc: Remove warnings.
13128 (_Jv_GCRegisterDisappearingLink, _Jv_GCCanReclaimSoftReference):
13131 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13133 * java/awt/image/MemoryImageSource.java (newPixels(byte[], ColorModel,
13134 int, int): Remove empty "if" statement to work around compiler bug.
13135 (newPixels(int[], ColorModel, int, int): Likewise.
13137 2002-01-25 Per Bothner <per@bothner.com>
13139 * verify.cc (verify_fail): Change from being a top-level function
13140 to e method of _Jv_BytecodeVerifier. Emit current method name.
13141 Pass the current verifier to type: and state: methods as needed,
13142 for better error messages, and for resolve.
13143 (resolve): Pass current class's loader for Class.forName and
13144 _Jv_FindClassFromSignature, rather than using the default loader.
13145 (various type: and state: methods): Take _Jv_BytecodeVerifier* arg.
13146 (get_type_val_for_signature): Make non-static.
13147 (various methods): Pass start_PC implicitly, not explicitly.
13149 2002-01-25 Tom Tromey <tromey@redhat.com>
13151 * java/awt/FlowLayout.java (layoutContainer): Correctly compute
13152 loop termination condition.
13153 * java/awt/GridLayout.java (getSize): Use `real_cols' to compute
13156 2002-01-24 Tom Tromey <tromey@redhat.com>
13158 * java/awt/Shape.java: Merged with Classpath.
13159 * java/awt/Scrollbar.java: Merged with Classpath.
13161 * java/awt/Container.java (addNotify): Unconditionally call
13162 addNotifyContainerChildren and superclass addNotify.
13164 * java/awt/image/ColorModel.java (getAlpha(Object)): Call
13165 getAlpha, not getBlue.
13167 2002-01-25 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
13169 * java/lang/natObject.cc (X86 compare_and_swap): Use +m constraint.
13171 * java/awt/image/PixelGrabber.java (grabPixels()): Call grabPixels(0).
13172 (grabPixels(long)): Wait to be notified that the ImageProducer has
13175 2002-01-24 Per Bothner <per@bothner.com>
13177 * verify.cc (is_assignable_from_slow): If target is an interface,
13178 we must still check the source's superclass before giving up.
13180 2002-01-24 Tom Tromey <tromey@redhat.com>
13182 * gnu/awt/xlib/XToolkit.java (getPrintJob): New stub method.
13184 2002-01-23 Tom Tromey <tromey@redhat.com>
13186 * java/awt/BorderLayout.java (addLayoutComponent): Added missing
13189 * Makefile.in: Rebuilt.
13190 * Makefile.am (awt_java_source_files): Added new files.
13191 * java/awt/Toolkit.java: Merged with Classpath.
13192 * java/awt/PrintGraphics.java: New file from Classpath.
13193 * java/awt/PrintJob.java: New file from Classpath.
13194 * java/awt/datatransfer/Clipboard.java: New file from Classpath.
13195 * java/awt/datatransfer/ClipboardOwner.java: New file from
13197 * java/awt/datatransfer/DataFlavor.java: New file from Classpath.
13198 * java/awt/datatransfer/FlavorMap.java: New file from Classpath.
13199 * java/awt/datatransfer/MimeTypeParseException.java: New file from
13201 * java/awt/datatransfer/StringSelection.java: New file from
13203 * java/awt/datatransfer/SystemFlavorMap.java: New file from
13205 * java/awt/datatransfer/Transferable.java: New file from
13207 * java/awt/datatransfer/UnsupportedFlavorException.java: New file
13210 * Makefile.in: Rebuilt.
13211 * Makefile.am (awt_java_source_files): Added new files.
13212 * java/awt/image/AreaAveragingScaleFilter.java: New file from
13214 * java/awt/image/CropImageFilter.java: New file from Classpath.
13215 * java/awt/image/FilteredImageSource.java: New file from
13217 * java/awt/image/ImageFilter.java: New file from Classpath.
13218 * java/awt/image/MemoryImageSource.java: New file from Classpath.
13219 * java/awt/image/PixelGrabber.java: New file from Classpath.
13220 * java/awt/image/RGBImageFilter.java: New file from Classpath.
13221 * java/awt/image/ReplicateScaleFilter.java: New file from
13223 * java/awt/image/ImageProducer.java: Replaced with Classpath
13225 * java/awt/image/ImageObserver.java: Replaced with Classpath
13227 * java/awt/image/ImageConsumer.java: Replaced with Classpath
13229 * java/awt/GridBagConstraints.java (clone): Catch
13230 CloneNotSupportedException.
13232 2002-01-23 Per Bothner <per@bothner.com>
13234 * java/lang/reflect/natField.cc (setAddr): New function.
13235 Calls getAddr and then checks that the field isn't final.
13236 (setBoolean. setChar, setByte, setShort, setInt, setLong, setFloat,
13237 setDouble, set): Use setAddr instead of getAddr, to check for FINAL.
13238 (set): Call setAddr before check that new value has right type,
13239 to better match specified semantics.
13241 2002-01-22 Tom Tromey <tromey@redhat.com>
13243 * java/awt/TextField.java: Replaced with Classpath version.
13244 * java/awt/TextArea.java: Replaced with Classpath version.
13245 * java/awt/TextComponent.java: Replaced with Classpath version.
13247 * java/awt/GridBagConstraints.java: Updated copyright.
13249 2002-01-22 Mark Wielaard <mark@klomp.org>
13251 * java/awt/Adjustable.java java/awt/CheckboxMenuItem.java
13252 java/awt/Choice.java java/awt/Color.java java/awt/Cursor.java
13253 java/awt/Dialog.java java/awt/FileDialog.java
13254 java/awt/Font.java java/awt/FontMetrics.java
13255 java/awt/Image.java java/awt/ImageMediaEntry.java
13256 java/awt/Insets.java java/awt/List.java
13257 java/awt/MediaEntry.java java/awt/MediaTracker.java
13258 java/awt/Menu.java java/awt/MenuBar.java
13259 java/awt/MenuContainer.java java/awt/MenuShortcut.java
13260 java/awt/PaintContext.java java/awt/Panel.java
13261 java/awt/PopupMenu.java java/awt/SystemColor.java
13262 java/awt/peer/ButtonPeer.java java/awt/peer/CanvasPeer.java
13263 java/awt/peer/CheckboxMenuItemPeer.java
13264 java/awt/peer/CheckboxPeer.java java/awt/peer/ChoicePeer.java
13265 java/awt/peer/ComponentPeer.java
13266 java/awt/peer/ContainerPeer.java java/awt/peer/DialogPeer.java
13267 java/awt/peer/FileDialogPeer.java java/awt/peer/FontPeer.java
13268 java/awt/peer/FramePeer.java java/awt/peer/LabelPeer.java
13269 java/awt/peer/LightweightPeer.java java/awt/peer/ListPeer.java
13270 java/awt/peer/MenuBarPeer.java
13271 java/awt/peer/MenuComponentPeer.java
13272 java/awt/peer/MenuItemPeer.java java/awt/peer/MenuPeer.java
13273 java/awt/peer/PanelPeer.java java/awt/peer/PopupMenuPeer.java
13274 java/awt/peer/ScrollPanePeer.java
13275 java/awt/peer/ScrollbarPeer.java
13276 java/awt/peer/TextAreaPeer.java
13277 java/awt/peer/TextComponentPeer.java
13278 java/awt/peer/TextFieldPeer.java
13279 java/awt/peer/WindowPeer.java: Add license clarification.
13281 2002-01-22 Mark Wielaard <mark@klomp.org>
13283 * LIBGCJ_LICENSE gnu/classpath/Configuration.java.in
13284 gnu/gcj/runtime/StringBuffer.java
13285 gnu/java/awt/BitMaskExtent.java gnu/java/awt/Buffers.java
13286 gnu/java/awt/ComponentDataBlitOp.java
13287 gnu/java/awt/GLightweightPeer.java
13288 gnu/java/beans/BeanInfoEmbryo.java
13289 gnu/java/beans/EmptyBeanInfo.java
13290 gnu/java/beans/ExplicitBeanInfo.java
13291 gnu/java/beans/IntrospectionIncubator.java
13292 gnu/java/beans/editors/ColorEditor.java
13293 gnu/java/beans/editors/FontEditor.java
13294 gnu/java/beans/editors/NativeBooleanEditor.java
13295 gnu/java/beans/editors/NativeByteEditor.java
13296 gnu/java/beans/editors/NativeDoubleEditor.java
13297 gnu/java/beans/editors/NativeFloatEditor.java
13298 gnu/java/beans/editors/NativeIntEditor.java
13299 gnu/java/beans/editors/NativeLongEditor.java
13300 gnu/java/beans/editors/NativeShortEditor.java
13301 gnu/java/beans/editors/StringEditor.java
13302 gnu/java/beans/info/ComponentBeanInfo.java
13303 gnu/java/io/ClassLoaderObjectInputStream.java
13304 gnu/java/io/NullOutputStream.java
13305 gnu/java/io/ObjectIdentityWrapper.java
13306 gnu/java/lang/ArrayHelper.java gnu/java/lang/ClassHelper.java
13307 gnu/java/lang/reflect/TypeSignature.java
13308 gnu/java/locale/Calendar.java gnu/java/locale/Calendar_de.java
13309 gnu/java/locale/Calendar_en.java
13310 gnu/java/locale/Calendar_nl.java
13311 gnu/java/locale/LocaleInformation.java
13312 gnu/java/locale/LocaleInformation_de.java
13313 gnu/java/locale/LocaleInformation_en.java
13314 gnu/java/locale/LocaleInformation_nl.java
13315 gnu/java/math/MPN.java gnu/java/rmi/dgc/DGCImpl.java
13316 gnu/java/rmi/registry/RegistryImpl.java
13317 gnu/java/rmi/rmic/Compile_gcj.java
13318 gnu/java/rmi/rmic/Compiler.java
13319 gnu/java/rmi/rmic/CompilerProcess.java
13320 gnu/java/rmi/rmic/RMIC.java
13321 gnu/java/rmi/rmic/TabbedWriter.java
13322 gnu/java/rmi/server/ProtocolConstants.java
13323 gnu/java/rmi/server/RMIDefaultSocketFactory.java
13324 gnu/java/rmi/server/RMIHashes.java
13325 gnu/java/rmi/server/RMIObjectInputStream.java
13326 gnu/java/rmi/server/RMIObjectOutputStream.java
13327 gnu/java/rmi/server/UnicastConnection.java
13328 gnu/java/rmi/server/UnicastConnectionManager.java
13329 gnu/java/rmi/server/UnicastRef.java
13330 gnu/java/rmi/server/UnicastRemoteCall.java
13331 gnu/java/rmi/server/UnicastRemoteStub.java
13332 gnu/java/rmi/server/UnicastServer.java
13333 gnu/java/rmi/server/UnicastServerRef.java
13334 gnu/java/security/provider/DefaultPolicy.java
13335 gnu/java/security/provider/Gnu.java
13336 gnu/java/security/provider/SHA.java
13337 gnu/java/security/provider/SHA1PRNG.java
13338 gnu/java/text/BaseBreakIterator.java
13339 gnu/java/text/CharacterBreakIterator.java
13340 gnu/java/text/LineBreakIterator.java
13341 gnu/java/text/SentenceBreakIterator.java
13342 gnu/java/text/WordBreakIterator.java
13343 gnu/java/util/DoubleEnumeration.java java/applet/Applet.java
13344 java/applet/AppletContext.java java/applet/AppletStub.java
13345 java/applet/AudioClip.java java/awt/AWTError.java
13346 java/awt/AWTEvent.java java/awt/AWTEventMulticaster.java
13347 java/awt/AWTException.java java/awt/AWTPermission.java
13348 java/awt/ActiveEvent.java java/awt/BorderLayout.java
13349 java/awt/Button.java java/awt/Canvas.java
13350 java/awt/CardLayout.java java/awt/Checkbox.java
13351 java/awt/CheckboxGroup.java java/awt/Component.java
13352 java/awt/ComponentOrientation.java java/awt/Container.java
13353 java/awt/Dimension.java java/awt/Event.java
13354 java/awt/EventDispatchThread.java java/awt/EventQueue.java
13355 java/awt/FlowLayout.java java/awt/Frame.java
13356 java/awt/Graphics.java java/awt/Graphics2D.java
13357 java/awt/GraphicsConfiguration.java java/awt/GridLayout.java
13358 java/awt/IllegalComponentStateException.java
13359 java/awt/ItemSelectable.java java/awt/Label.java
13360 java/awt/LayoutManager.java java/awt/LayoutManager2.java
13361 java/awt/MenuComponent.java java/awt/MenuItem.java
13362 java/awt/Paint.java java/awt/Point.java
13363 java/awt/Rectangle.java java/awt/RenderingHints.java
13364 java/awt/Transparency.java java/awt/Window.java
13365 java/awt/color/ColorSpace.java
13366 java/awt/color/ICC_ColorSpace.java
13367 java/awt/color/ICC_Profile.java
13368 java/awt/event/HierarchyBoundsAdapter.java
13369 java/awt/event/HierarchyBoundsListener.java
13370 java/awt/event/HierarchyEvent.java
13371 java/awt/event/HierarchyListener.java
13372 java/awt/geom/AffineTransform.java
13373 java/awt/geom/Dimension2D.java java/awt/geom/Ellipse2D.java
13374 java/awt/geom/IllegalPathStateException.java
13375 java/awt/geom/Line2D.java
13376 java/awt/geom/NoninvertibleTransformException.java
13377 java/awt/geom/PathIterator.java java/awt/geom/Point2D.java
13378 java/awt/geom/Rectangle2D.java
13379 java/awt/geom/RectangularShape.java
13380 java/awt/geom/RoundRectangle2D.java
13381 java/awt/image/BufferedImage.java
13382 java/awt/image/ColorModel.java
13383 java/awt/image/ComponentColorModel.java
13384 java/awt/image/ComponentSampleModel.java
13385 java/awt/image/DataBuffer.java
13386 java/awt/image/DataBufferByte.java
13387 java/awt/image/DataBufferInt.java
13388 java/awt/image/DataBufferUShort.java
13389 java/awt/image/DirectColorModel.java
13390 java/awt/image/PackedColorModel.java
13391 java/awt/image/Raster.java java/awt/image/RasterOp.java
13392 java/awt/image/SampleModel.java
13393 java/awt/image/SinglePixelPackedSampleModel.java
13394 java/awt/image/WritableRaster.java
13395 java/beans/AppletInitializer.java
13396 java/beans/BeanDescriptor.java java/beans/BeanInfo.java
13397 java/beans/Beans.java java/beans/Customizer.java
13398 java/beans/DesignMode.java java/beans/EventSetDescriptor.java
13399 java/beans/FeatureDescriptor.java
13400 java/beans/IndexedPropertyDescriptor.java
13401 java/beans/IntrospectionException.java
13402 java/beans/Introspector.java java/beans/MethodDescriptor.java
13403 java/beans/ParameterDescriptor.java
13404 java/beans/PropertyChangeEvent.java
13405 java/beans/PropertyChangeListener.java
13406 java/beans/PropertyChangeSupport.java
13407 java/beans/PropertyDescriptor.java
13408 java/beans/PropertyEditor.java
13409 java/beans/PropertyEditorManager.java
13410 java/beans/PropertyEditorSupport.java
13411 java/beans/PropertyVetoException.java
13412 java/beans/SimpleBeanInfo.java
13413 java/beans/VetoableChangeListener.java
13414 java/beans/VetoableChangeSupport.java
13415 java/beans/Visibility.java
13416 java/beans/beancontext/BeanContext.java
13417 java/beans/beancontext/BeanContextChild.java
13418 java/beans/beancontext/BeanContextChildComponentProxy.java
13419 java/beans/beancontext/BeanContextChildSupport.java
13420 java/beans/beancontext/BeanContextContainerProxy.java
13421 java/beans/beancontext/BeanContextEvent.java
13422 java/beans/beancontext/BeanContextMembershipEvent.java
13423 java/beans/beancontext/BeanContextMembershipListener.java
13424 java/beans/beancontext/BeanContextProxy.java
13425 java/beans/beancontext/BeanContextServiceAvailableEvent.java
13426 java/beans/beancontext/BeanContextServiceProvider.java
13427 java/beans/beancontext/BeanContextServiceProviderBeanInfo.java
13428 java/beans/beancontext/BeanContextServiceRevokedEvent.java
13429 java/beans/beancontext/BeanContextServiceRevokedListener.java
13430 java/beans/beancontext/BeanContextServices.java
13431 java/beans/beancontext/BeanContextServicesListener.java
13432 java/io/BufferedInputStream.java
13433 java/io/BufferedOutputStream.java java/io/BufferedReader.java
13434 java/io/BufferedWriter.java java/io/ByteArrayInputStream.java
13435 java/io/ByteArrayOutputStream.java
13436 java/io/CharArrayReader.java java/io/CharArrayWriter.java
13437 java/io/CharConversionException.java java/io/DataInput.java
13438 java/io/DataInputStream.java java/io/DataOutput.java
13439 java/io/EOFException.java java/io/Externalizable.java
13440 java/io/FileFilter.java java/io/FileNotFoundException.java
13441 java/io/FilePermission.java java/io/FileReader.java
13442 java/io/FileWriter.java java/io/FilenameFilter.java
13443 java/io/FilterInputStream.java java/io/FilterOutputStream.java
13444 java/io/FilterReader.java java/io/FilterWriter.java
13445 java/io/IOException.java java/io/InputStream.java
13446 java/io/InterruptedIOException.java
13447 java/io/InvalidClassException.java
13448 java/io/InvalidObjectException.java
13449 java/io/NotActiveException.java
13450 java/io/NotSerializableException.java java/io/ObjectInput.java
13451 java/io/ObjectInputStream.java
13452 java/io/ObjectInputValidation.java java/io/ObjectOutput.java
13453 java/io/ObjectOutputStream.java java/io/ObjectStreamClass.java
13454 java/io/ObjectStreamConstants.java
13455 java/io/ObjectStreamException.java
13456 java/io/ObjectStreamField.java
13457 java/io/OptionalDataException.java java/io/OutputStream.java
13458 java/io/PipedInputStream.java java/io/PipedOutputStream.java
13459 java/io/PipedReader.java java/io/PipedWriter.java
13460 java/io/PrintWriter.java java/io/PushbackInputStream.java
13461 java/io/PushbackReader.java java/io/Reader.java
13462 java/io/SequenceInputStream.java java/io/Serializable.java
13463 java/io/SerializablePermission.java
13464 java/io/StreamCorruptedException.java
13465 java/io/StreamTokenizer.java
13466 java/io/StringBufferInputStream.java java/io/StringReader.java
13467 java/io/StringWriter.java java/io/SyncFailedException.java
13468 java/io/UTFDataFormatException.java
13469 java/io/UnsupportedEncodingException.java
13470 java/io/WriteAbortedException.java java/io/Writer.java
13471 java/lang/AbstractMethodError.java
13472 java/lang/ArithmeticException.java
13473 java/lang/ArrayIndexOutOfBoundsException.java
13474 java/lang/ArrayStoreException.java java/lang/Boolean.java
13475 java/lang/Byte.java java/lang/CharSequence.java
13476 java/lang/ClassCastException.java
13477 java/lang/ClassCircularityError.java
13478 java/lang/ClassFormatError.java
13479 java/lang/ClassNotFoundException.java
13480 java/lang/CloneNotSupportedException.java
13481 java/lang/Cloneable.java java/lang/Comparable.java
13482 java/lang/Compiler.java java/lang/Double.java
13483 java/lang/Error.java java/lang/Exception.java
13484 java/lang/ExceptionInInitializerError.java
13485 java/lang/Float.java java/lang/IllegalAccessError.java
13486 java/lang/IllegalAccessException.java
13487 java/lang/IllegalArgumentException.java
13488 java/lang/IllegalMonitorStateException.java
13489 java/lang/IllegalStateException.java
13490 java/lang/IllegalThreadStateException.java
13491 java/lang/IncompatibleClassChangeError.java
13492 java/lang/IndexOutOfBoundsException.java
13493 java/lang/InheritableThreadLocal.java
13494 java/lang/InstantiationError.java
13495 java/lang/InstantiationException.java java/lang/Integer.java
13496 java/lang/InternalError.java
13497 java/lang/InterruptedException.java
13498 java/lang/LinkageError.java java/lang/Long.java
13499 java/lang/NegativeArraySizeException.java
13500 java/lang/NoClassDefFoundError.java
13501 java/lang/NoSuchFieldError.java
13502 java/lang/NoSuchFieldException.java
13503 java/lang/NoSuchMethodError.java
13504 java/lang/NoSuchMethodException.java
13505 java/lang/NullPointerException.java java/lang/Number.java
13506 java/lang/NumberFormatException.java
13507 java/lang/OutOfMemoryError.java java/lang/Package.java
13508 java/lang/Process.java java/lang/Runnable.java
13509 java/lang/RuntimeException.java
13510 java/lang/RuntimePermission.java
13511 java/lang/SecurityException.java
13512 java/lang/SecurityManager.java java/lang/Short.java
13513 java/lang/StackOverflowError.java java/lang/StringBuffer.java
13514 java/lang/StringIndexOutOfBoundsException.java
13515 java/lang/ThreadDeath.java java/lang/ThreadGroup.java
13516 java/lang/ThreadLocal.java java/lang/UnknownError.java
13517 java/lang/UnsatisfiedLinkError.java
13518 java/lang/UnsupportedClassVersionError.java
13519 java/lang/UnsupportedOperationException.java
13520 java/lang/VerifyError.java java/lang/VirtualMachineError.java
13521 java/lang/Void.java java/lang/ref/PhantomReference.java
13522 java/lang/ref/Reference.java java/lang/ref/ReferenceQueue.java
13523 java/lang/ref/SoftReference.java
13524 java/lang/ref/WeakReference.java
13525 java/lang/reflect/AccessibleObject.java
13526 java/lang/reflect/InvocationTargetException.java
13527 java/lang/reflect/Member.java java/lang/reflect/Modifier.java
13528 java/lang/reflect/ReflectPermission.java
13529 java/math/BigDecimal.java java/math/BigInteger.java
13530 java/net/Authenticator.java java/net/BindException.java
13531 java/net/ConnectException.java java/net/ContentHandler.java
13532 java/net/ContentHandlerFactory.java
13533 java/net/DatagramPacket.java java/net/DatagramSocketImpl.java
13534 java/net/FileNameMap.java java/net/MalformedURLException.java
13535 java/net/MulticastSocket.java java/net/NetPermission.java
13536 java/net/NoRouteToHostException.java
13537 java/net/PasswordAuthentication.java
13538 java/net/ProtocolException.java java/net/ServerSocket.java
13539 java/net/Socket.java java/net/SocketException.java
13540 java/net/SocketImpl.java java/net/SocketImplFactory.java
13541 java/net/SocketOptions.java java/net/SocketPermission.java
13542 java/net/URLDecoder.java java/net/URLEncoder.java
13543 java/net/URLStreamHandlerFactory.java
13544 java/net/UnknownHostException.java
13545 java/net/UnknownServiceException.java
13546 java/rmi/AccessException.java
13547 java/rmi/AlreadyBoundException.java
13548 java/rmi/ConnectException.java
13549 java/rmi/ConnectIOException.java
13550 java/rmi/MarshalException.java java/rmi/MarshalledObject.java
13551 java/rmi/Naming.java java/rmi/NoSuchObjectException.java
13552 java/rmi/NotBoundException.java
13553 java/rmi/RMISecurityException.java
13554 java/rmi/RMISecurityManager.java java/rmi/Remote.java
13555 java/rmi/RemoteException.java java/rmi/ServerError.java
13556 java/rmi/ServerException.java
13557 java/rmi/ServerRuntimeException.java
13558 java/rmi/StubNotFoundException.java
13559 java/rmi/UnexpectedException.java
13560 java/rmi/UnknownHostException.java
13561 java/rmi/UnmarshalException.java
13562 java/rmi/activation/Activatable.java
13563 java/rmi/activation/ActivateFailedException.java
13564 java/rmi/activation/ActivationDesc.java
13565 java/rmi/activation/ActivationException.java
13566 java/rmi/activation/ActivationGroup.java
13567 java/rmi/activation/ActivationGroupDesc.java
13568 java/rmi/activation/ActivationGroupID.java
13569 java/rmi/activation/ActivationID.java
13570 java/rmi/activation/ActivationInstantiator.java
13571 java/rmi/activation/ActivationMonitor.java
13572 java/rmi/activation/ActivationSystem.java
13573 java/rmi/activation/Activator.java
13574 java/rmi/activation/UnknownGroupException.java
13575 java/rmi/activation/UnknownObjectException.java
13576 java/rmi/dgc/DGC.java java/rmi/dgc/Lease.java
13577 java/rmi/dgc/VMID.java java/rmi/registry/LocateRegistry.java
13578 java/rmi/registry/Registry.java
13579 java/rmi/registry/RegistryHandler.java
13580 java/rmi/server/ExportException.java
13581 java/rmi/server/LoaderHandler.java
13582 java/rmi/server/LogStream.java java/rmi/server/ObjID.java
13583 java/rmi/server/Operation.java
13584 java/rmi/server/RMIClassLoader.java
13585 java/rmi/server/RMIClientSocketFactory.java
13586 java/rmi/server/RMIFailureHandler.java
13587 java/rmi/server/RMIServerSocketFactory.java
13588 java/rmi/server/RMISocketFactory.java
13589 java/rmi/server/RemoteCall.java
13590 java/rmi/server/RemoteObject.java
13591 java/rmi/server/RemoteRef.java
13592 java/rmi/server/RemoteServer.java
13593 java/rmi/server/RemoteStub.java
13594 java/rmi/server/ServerCloneException.java
13595 java/rmi/server/ServerNotActiveException.java
13596 java/rmi/server/ServerRef.java java/rmi/server/Skeleton.java
13597 java/rmi/server/SkeletonMismatchException.java
13598 java/rmi/server/SkeletonNotFoundException.java
13599 java/rmi/server/SocketSecurityException.java
13600 java/rmi/server/UID.java
13601 java/rmi/server/UnicastRemoteObject.java
13602 java/rmi/server/Unreferenced.java
13603 java/security/AccessControlContext.java
13604 java/security/AccessControlException.java
13605 java/security/AccessController.java
13606 java/security/AlgorithmParameterGenerator.java
13607 java/security/AlgorithmParameterGeneratorSpi.java
13608 java/security/AlgorithmParameters.java
13609 java/security/AlgorithmParametersSpi.java
13610 java/security/AllPermission.java
13611 java/security/BasicPermission.java
13612 java/security/Certificate.java java/security/CodeSource.java
13613 java/security/DigestException.java
13614 java/security/DigestInputStream.java
13615 java/security/DigestOutputStream.java
13616 java/security/DomainCombiner.java
13617 java/security/DummyKeyPairGenerator.java
13618 java/security/DummyMessageDigest.java
13619 java/security/DummySignature.java
13620 java/security/GeneralSecurityException.java
13621 java/security/Guard.java java/security/GuardedObject.java
13622 java/security/Identity.java java/security/IdentityScope.java
13623 java/security/InvalidAlgorithmParameterException.java
13624 java/security/InvalidKeyException.java
13625 java/security/InvalidParameterException.java
13626 java/security/Key.java java/security/KeyException.java
13627 java/security/KeyFactory.java java/security/KeyFactorySpi.java
13628 java/security/KeyManagementException.java
13629 java/security/KeyPair.java java/security/KeyPairGenerator.java
13630 java/security/KeyPairGeneratorSpi.java
13631 java/security/KeyStore.java
13632 java/security/KeyStoreException.java
13633 java/security/KeyStoreSpi.java
13634 java/security/MessageDigest.java
13635 java/security/MessageDigestSpi.java
13636 java/security/NoSuchAlgorithmException.java
13637 java/security/NoSuchProviderException.java
13638 java/security/Permission.java
13639 java/security/PermissionCollection.java
13640 java/security/Permissions.java java/security/Policy.java
13641 java/security/Principal.java java/security/PrivateKey.java
13642 java/security/PrivilegedAction.java
13643 java/security/PrivilegedActionException.java
13644 java/security/PrivilegedExceptionAction.java
13645 java/security/ProtectionDomain.java
13646 java/security/Provider.java
13647 java/security/ProviderException.java
13648 java/security/PublicKey.java
13649 java/security/SecureClassLoader.java
13650 java/security/SecureRandom.java
13651 java/security/SecureRandomSpi.java java/security/Security.java
13652 java/security/SecurityPermission.java
13653 java/security/Signature.java
13654 java/security/SignatureException.java
13655 java/security/SignatureSpi.java
13656 java/security/SignedObject.java java/security/Signer.java
13657 java/security/UnrecoverableKeyException.java
13658 java/security/UnresolvedPermission.java
13659 java/security/acl/Acl.java java/security/acl/AclEntry.java
13660 java/security/acl/AclNotFoundException.java
13661 java/security/acl/Group.java
13662 java/security/acl/LastOwnerException.java
13663 java/security/acl/NotOwnerException.java
13664 java/security/acl/Owner.java java/security/acl/Permission.java
13665 java/security/cert/CRL.java
13666 java/security/cert/CRLException.java
13667 java/security/cert/Certificate.java
13668 java/security/cert/CertificateEncodingException.java
13669 java/security/cert/CertificateException.java
13670 java/security/cert/CertificateExpiredException.java
13671 java/security/cert/CertificateFactory.java
13672 java/security/cert/CertificateFactorySpi.java
13673 java/security/cert/CertificateNotYetValidException.java
13674 java/security/cert/CertificateParsingException.java
13675 java/security/cert/X509CRL.java
13676 java/security/cert/X509CRLEntry.java
13677 java/security/cert/X509Certificate.java
13678 java/security/cert/X509Extension.java
13679 java/security/interfaces/DSAKey.java
13680 java/security/interfaces/DSAKeyPairGenerator.java
13681 java/security/interfaces/DSAParams.java
13682 java/security/interfaces/DSAPrivateKey.java
13683 java/security/interfaces/DSAPublicKey.java
13684 java/security/interfaces/RSAKey.java
13685 java/security/interfaces/RSAPrivateCrtKey.java
13686 java/security/interfaces/RSAPrivateKey.java
13687 java/security/interfaces/RSAPublicKey.java
13688 java/security/spec/AlgorithmParameterSpec.java
13689 java/security/spec/DSAParameterSpec.java
13690 java/security/spec/DSAPrivateKeySpec.java
13691 java/security/spec/DSAPublicKeySpec.java
13692 java/security/spec/EncodedKeySpec.java
13693 java/security/spec/InvalidKeySpecException.java
13694 java/security/spec/InvalidParameterSpecException.java
13695 java/security/spec/KeySpec.java
13696 java/security/spec/PKCS8EncodedKeySpec.java
13697 java/security/spec/RSAKeyGenParameterSpec.java
13698 java/security/spec/RSAPrivateCrtKeySpec.java
13699 java/security/spec/RSAPrivateKeySpec.java
13700 java/security/spec/RSAPublicKeySpec.java
13701 java/security/spec/X509EncodedKeySpec.java java/sql/Array.java
13702 java/sql/BatchUpdateException.java java/sql/Blob.java
13703 java/sql/CallableStatement.java java/sql/Clob.java
13704 java/sql/Connection.java java/sql/DataTruncation.java
13705 java/sql/DatabaseMetaData.java java/sql/Date.java
13706 java/sql/Driver.java java/sql/DriverManager.java
13707 java/sql/DriverPropertyInfo.java
13708 java/sql/PreparedStatement.java java/sql/Ref.java
13709 java/sql/ResultSet.java java/sql/ResultSetMetaData.java
13710 java/sql/SQLData.java java/sql/SQLException.java
13711 java/sql/SQLInput.java java/sql/SQLOutput.java
13712 java/sql/SQLWarning.java java/sql/Statement.java
13713 java/sql/Struct.java java/sql/Time.java
13714 java/sql/Timestamp.java java/sql/Types.java
13715 java/text/Annotation.java
13716 java/text/AttributedCharacterIterator.java
13717 java/text/AttributedString.java
13718 java/text/AttributedStringIterator.java
13719 java/text/BreakIterator.java java/text/CharacterIterator.java
13720 java/text/ChoiceFormat.java java/text/Collator.java
13721 java/text/DateFormat.java java/text/DateFormatSymbols.java
13722 java/text/DecimalFormat.java
13723 java/text/DecimalFormatSymbols.java
13724 java/text/FieldPosition.java java/text/Format.java
13725 java/text/MessageFormat.java java/text/NumberFormat.java
13726 java/text/ParseException.java java/text/ParsePosition.java
13727 java/text/SimpleDateFormat.java
13728 java/text/StringCharacterIterator.java
13729 java/util/AbstractCollection.java java/util/AbstractList.java
13730 java/util/AbstractMap.java
13731 java/util/AbstractSequentialList.java
13732 java/util/AbstractSet.java java/util/ArrayList.java
13733 java/util/Arrays.java java/util/BasicMapEntry.java
13734 java/util/BitSet.java java/util/Calendar.java
13735 java/util/Collection.java java/util/Collections.java
13736 java/util/Comparator.java
13737 java/util/ConcurrentModificationException.java
13738 java/util/Date.java java/util/Dictionary.java
13739 java/util/EmptyStackException.java java/util/Enumeration.java
13740 java/util/EventListener.java java/util/EventObject.java
13741 java/util/GregorianCalendar.java java/util/HashMap.java
13742 java/util/HashSet.java java/util/Hashtable.java
13743 java/util/IdentityHashMap.java java/util/Iterator.java
13744 java/util/LinkedHashMap.java java/util/LinkedHashSet.java
13745 java/util/LinkedList.java java/util/List.java
13746 java/util/ListIterator.java java/util/ListResourceBundle.java
13747 java/util/Locale.java java/util/Map.java
13748 java/util/MissingResourceException.java
13749 java/util/NoSuchElementException.java
13750 java/util/Observable.java java/util/Observer.java
13751 java/util/Properties.java java/util/PropertyPermission.java
13752 java/util/PropertyResourceBundle.java java/util/Random.java
13753 java/util/RandomAccess.java java/util/ResourceBundle.java
13754 java/util/Set.java java/util/SimpleTimeZone.java
13755 java/util/SortedMap.java java/util/SortedSet.java
13756 java/util/Stack.java java/util/StringTokenizer.java
13757 java/util/TimeZone.java java/util/Timer.java
13758 java/util/TimerTask.java
13759 java/util/TooManyListenersException.java
13760 java/util/TreeMap.java java/util/TreeSet.java
13761 java/util/Vector.java java/util/WeakHashMap.java
13762 java/util/jar/Attributes.java java/util/jar/JarEntry.java
13763 java/util/jar/JarException.java java/util/jar/JarFile.java
13764 java/util/jar/JarInputStream.java
13765 java/util/jar/JarOutputStream.java java/util/jar/Manifest.java
13766 java/util/zip/Adler32.java java/util/zip/CRC32.java
13767 java/util/zip/CheckedInputStream.java
13768 java/util/zip/CheckedOutputStream.java
13769 java/util/zip/Checksum.java
13770 java/util/zip/DataFormatException.java
13771 java/util/zip/Deflater.java
13772 java/util/zip/DeflaterOutputStream.java
13773 java/util/zip/GZIPInputStream.java
13774 java/util/zip/GZIPOutputStream.java
13775 java/util/zip/Inflater.java
13776 java/util/zip/InflaterInputStream.java
13777 java/util/zip/ZipConstants.java java/util/zip/ZipEntry.java
13778 java/util/zip/ZipException.java java/util/zip/ZipFile.java
13779 java/util/zip/ZipInputStream.java
13780 java/util/zip/ZipOutputStream.java
13781 javax/naming/BinaryRefAddr.java
13782 javax/naming/InvalidNameException.java javax/naming/Name.java
13783 javax/naming/NamingException.java javax/naming/RefAddr.java
13784 javax/naming/StringRefAddr.java: Add license clarification.
13786 2002-01-22 Tom Tromey <tromey@redhat.com>
13788 * java/awt/peer/ButtonPeer.java: Replace with Classpath version.
13789 * java/awt/peer/CanvasPeer.java: Replace with Classpath version.
13790 * java/awt/peer/CheckboxMenuItemPeer.java: Replace with Classpath
13792 * java/awt/peer/CheckboxPeer.java: Replace with Classpath version.
13793 * java/awt/peer/ChoicePeer.java: Replace with Classpath version.
13794 * java/awt/peer/ComponentPeer.java: Replace with Classpath version.
13795 * java/awt/peer/ContainerPeer.java: Replace with Classpath version.
13796 * java/awt/peer/DialogPeer.java: Replace with Classpath version.
13797 * java/awt/peer/FileDialogPeer.java: Replace with Classpath version.
13798 * java/awt/peer/FontPeer.java: Replace with Classpath version.
13799 * java/awt/peer/FramePeer.java: Replace with Classpath version.
13800 * java/awt/peer/LabelPeer.java: Replace with Classpath version.
13801 * java/awt/peer/LightweightPeer.java: Replace with Classpath version.
13802 * java/awt/peer/ListPeer.java: Replace with Classpath version.
13803 * java/awt/peer/MenuBarPeer.java: Replace with Classpath version.
13804 * java/awt/peer/MenuComponentPeer.java: Replace with Classpath version.
13805 * java/awt/peer/MenuItemPeer.java: Replace with Classpath version.
13806 * java/awt/peer/MenuPeer.java: Replace with Classpath version.
13807 * java/awt/peer/PanelPeer.java: Replace with Classpath version.
13808 * java/awt/peer/PopupMenuPeer.java: Replace with Classpath version.
13809 * java/awt/peer/ScrollPanePeer.java: Replace with Classpath version.
13810 * java/awt/peer/ScrollbarPeer.java: Replace with Classpath version.
13811 * java/awt/peer/TextAreaPeer.java: Replace with Classpath version.
13812 * java/awt/peer/TextComponentPeer.java: Replace with Classpath version.
13813 * java/awt/peer/TextFieldPeer.java: Replace with Classpath version.
13814 * java/awt/peer/WindowPeer.java: Replace with Classpath version.
13815 * gnu/awt/xlib/XPanelPeer.java (insets): New method.
13816 * gnu/awt/xlib/XCanvasPeer.java (show, hide): New methods.
13817 (minimumSize, preferredSize, reshape): Likewise.
13818 * gnu/awt/xlib/XFramePeer.java (insets, enable, disable,
13819 getColorModel): New methods.
13820 * java/awt/PopupMenu.java: Merged with Classpath.
13821 * java/awt/MenuBar.java: Merged with Classpath.
13822 * java/awt/SystemColor.java: Replace with Classpath version.
13823 * java/awt/Panel.java: Merged with Classpath.
13824 * java/awt/PaintContext.java: Updated copyright.
13825 * java/awt/MenuShortcut.java: Merged with Classpath.
13826 * java/awt/MenuContainer.java: Merged with Classpath.
13827 * java/awt/Menu.java: Merged with Classpath.
13828 * java/awt/MediaEntry.java: New file from Classpath.
13829 * java/awt/MediaTracker.java: New file from Classpath.
13830 * java/awt/List.java: Merged with Classpath version.
13831 * java/awt/Insets.java: Merged with Classpath version.
13832 * java/awt/ImageMediaEntry.java: New file from Classpath.
13833 * java/awt/Image.java: Replaced with Classpath version.
13834 * java/awt/FontMetrics.java: Merged with Classpath version.
13835 * java/awt/Cursor.java (getDefaultCursor): Use DEFAULT_CURSOR
13837 * java/awt/Font.java: Merged with Classpath version.
13838 * java/awt/Dialog.java: Merged with Classpath version.
13839 * java/awt/Color.java: Merged with Classpath version.
13840 * java/awt/Choice.java: Merged with Classpath version.
13841 * java/awt/CheckboxMenuItem.java: Merged with Classpath version.
13842 * java/awt/Adjustable.java: Replace with Classpath version.
13843 * java/awt/MenuItem.java (paramString): Don't include class name
13844 or brackets. Call superclass paramString.
13845 * java/awt/MenuComponent.java (toString): Call paramString.
13846 (paramString): Compute string; don't call toString.
13847 * java/awt/Label.java (paramString): Don't include class name
13848 or brackets. Call superclass paramString.
13849 * java/awt/Checkbox.java (paramString): Don't include class name
13850 or brackets. Call superclass paramString.
13851 * java/awt/Button.java (paramString): Don't include class name or
13852 brackets. Call superclass paramString.
13853 * java/awt/MenuComponent.java (getTreeLock): Now protected.
13855 2002-01-20 Andreas Schwab <schwab@suse.de>
13857 * java/net/natPlainSocketImpl.cc (_Jv_recv): Change return type of
13858 function and of parameter recv_func to ssize_t, as specified by
13861 2002-01-19 Per Bothner <per@bothner.com>
13863 * java/util/zip/ZipOutputStream.java (putNextEntry): Clear
13864 uncompressed_size in readiness for next entry.
13866 2002-01-18 Tom Tromey <tromey@redhat.com>
13868 * java/net/natPlainSocketImpl.cc: Include
13869 IllegalArgumentException.h.
13870 (_Jv_recv): New template function.
13871 (BooleanClass): Removed.
13872 (read): Use _Jv_recv.
13873 (setOption): Use Boolean::class$. Throw exception if object is
13874 not Boolean or Integer.
13876 2002-01-17 Tom Tromey <tromey@redhat.com>
13878 * java/awt/MenuComponent.java: Merged with Classpath.
13879 * java/awt/MenuItem.java: Merged with Classpath.
13880 * java/awt/Button.java: Merged with Classpath.
13882 * java/awt/ActiveEvent.java: Updated copyright.
13884 * java/awt/AWTError.java: Replaced with Classpath version.
13885 * java/awt/AWTException.java: Replaced with Classpath version.
13886 * java/awt/IllegalComponentStateException.java: Replaced with
13889 2002-01-16 Tom Tromey <tromey@redhat.com>
13891 * java/awt/Canvas.java (serialVersionUID): New constant.
13892 Updated copyright. Added javadoc from Classpath.
13893 * java/awt/ItemSelectable.java: Replaced with Classpath version.
13895 * java/awt/CheckboxGroup.java: Merged with Classpath.
13896 * java/awt/Checkbox.java: Merged with Classpath.
13898 * java/awt/Dimension.java: Updated copyright. Added javadoc from
13900 * java/awt/Point.java: Updated copyright.
13902 * java/awt/Point.java (toString): Use getClass().getName().
13905 * java/util/IdentityHashMap.java (IdentityHashMap): Removed
13907 (hash): Correctly compute initial value for `h'.
13909 * java/awt/Label.java: Merged with Classpath.
13911 2002-01-15 Tom Tromey <tromey@redhat.com>
13913 * java/awt/AWTPermission.java: Updated copyright.
13915 * java/awt/LayoutManager2.java: Merged with Classpath.
13916 * java/awt/LayoutManager.java: Merged with Classpath.
13917 * java/awt/GridLayout.java: Updated copyright and javadoc.
13918 (getSize): Use `parent.ncomponents'. Handle insets.
13919 (layoutContainer): Use `parent.ncomponents'. Handle case where
13920 there are fewer children than columns. Correctly compute size of
13921 each cell in the grid. Handle case where there isn't enough
13923 * java/awt/CardLayout.java (tab): Renamed from `map'. Updated
13925 (gotoComponent): Use parent.ncomponents. Ensure child exists
13926 before calling setVisible() on it. Last item is `num - 1', not
13928 (layoutContainer): Hoist invariants out of loop.
13930 Start of AWT merge with Classpath:
13931 * Makefile.in: Rebuilt.
13932 * Makefile.am (awt_java_source_files): Reference files in
13933 gnu/java/awt, not gnu/gcj/awt.
13934 * java/awt/image/BufferedImage.java: Updated copyright.
13935 * java/awt/image/ComponentColorModel.java: Updated copyright.
13936 * java/awt/image/ComponentSampleModel.java: Updated copyright.
13937 * java/awt/image/DataBuffer.java: Updated copyright.
13938 * java/awt/image/DataBufferByte.java: Updated copyright.
13939 * java/awt/image/DataBufferInt.java: Updated copyright.
13940 * java/awt/image/DataBufferUShort.java: Updated copyright.
13941 * java/awt/image/IndexColorModel.java: Updated copyright.
13942 * java/awt/image/PackedColorModel.java: Updated copyright.
13943 * java/awt/image/Raster.java: Updated copyright.
13944 * java/awt/image/RasterOp.java: Updated copyright.
13945 * java/awt/image/SampleModel.java: Updated copyright.
13946 * java/awt/image/SinglePixelPackedSampleModel.java: Updated copyright.
13947 * java/awt/image/WritableRaster.java: Updated copyright.
13948 * java/awt/color/ColorSpace.java: Updated copyright.
13949 * java/awt/color/ICC_ColorSpace.java: Updated copyright
13950 * java/awt/color/ICC_Profile.java: Updated copyright.
13951 * java/awt/event/HierarchyBoundsAdapter.java: Updated copyright.
13952 * java/awt/event/HierarchyBoundsListener.java: Updated copyright.
13953 * java/awt/event/HierarchyEvent.java: Updated copyright.
13954 * java/awt/event/HierarchyListener.java: Updated copyright.
13955 * java/awt/geom/AffineTransform.java: Updated copyright.
13956 * java/awt/geom/Dimension2D.java: Updated copyright.
13957 * java/awt/geom/Ellipse2D.java: Updated copyright.
13958 * java/awt/geom/IllegalPathStateException.java: Updated copyright.
13959 * java/awt/geom/Line2D.java: Updated copyright.
13960 * java/awt/geom/NoninvertibleTransformException.java: Updated
13962 * java/awt/geom/PathIterator.java: Updated copyright.
13963 * java/awt/geom/Point2D.java: Updated copyright.
13964 * java/awt/geom/Rectangle2D.java: Updated copyright.
13965 * java/awt/geom/RectangularShape.java: Updated copyright.
13966 * java/awt/geom/RoundRectangle2D.java: Updated copyright.
13967 * java/awt/Toolkit.java: Updated import for file moves.
13968 * java/awt/Rectangle.java: Updated copyright; added javadoc from
13970 (hashCode): New method from Classpath.
13971 * java/awt/Graphics2D.java: Updated copyright.
13972 * java/awt/Transparency.java: Updated copyright.
13973 * java/awt/Paint.java: Updated copyright.
13974 * java/awt/Graphics.java: New version from Classpath.
13975 * java/awt/EventDispatchThread.java: Updated copyright.
13976 * java/awt/CardLayout.java (layoutContainer): Don't skip invisible
13978 (gotoComponent): Wrap around on next/previous.
13979 * gnu/gcj/awt/BitMaskExtent.java: Removed.
13980 * gnu/gcj/awt/Buffers.java: Removed.
13981 * gnu/gcj/awt/ComponentDataBlitOp.java: Removed.
13982 * gnu/gcj/awt/GLightweightPeer.java: Removed.
13983 * gnu/java/awt/BitMaskExtent.java: Added.
13984 * gnu/java/awt/Buffers.java: Added.
13985 * gnu/java/awt/ComponentDataBlitOp.java: Added.
13986 * gnu/java/awt/GLightweightPeer.java: Added.
13987 * java/awt/geom/Line2D.java (clone): Ignore
13988 CloneNotSupportedException.
13989 * gnu/gcj/awt/GLightweightPeer.java (getColorModel): New method.
13990 * java/awt/Frame.java: Merged with Classpath.
13991 * java/awt/RenderingHints.java: Copyright update.
13992 * java/awt/Paint.java: Copyright update.
13993 * java/awt/image/DirectColorModel.java: Merged with Classpath.
13994 * java/awt/image/ColorModel.java: Merged with Classpath.
13995 * java/awt/Window.java (show): New Implementation from Classpath.
13996 (isShowing): Use super.isShowing().
13997 * java/awt/EventQueue.java: Merged with Classpath.
13998 * java/awt/AWTEventMulticaster.java (save): Throw
14000 (saveInternal): Likewise.
14001 * java/awt/AWTEvent.java: Now implements Serializable.
14002 * java/awt/Event.java: Copyright update.
14003 * java/awt/peer/ComponentPeer.java: Merged with Classpath.
14004 * java/awt/image/BufferedImage.java: Copyright update.
14005 * java/awt/GraphicsConfiguration.java: Copyright update.
14006 * java/awt/Component.java: (addNotify): Don't call
14007 addNotifyContainerChildren().
14008 (addNotifyContainerChildren): Removed.
14009 (setPeer): New method from Classpath.
14010 (setTreeLock): Likewise.
14011 (setVisible): Rewrote.
14014 (validate): Set `valid'.
14015 (checkImage(Image,ImageObserver)): Implementation from Classpath.
14016 (createImage(ImageProducer)): Likewise.
14017 (prepareImage): Likewise.
14018 * java/awt/Container.java (addImpl): Handle case where constraint
14019 is not a String. Post event via system event queue.
14020 (remove): Post event via system event queue.
14021 (validateTree): Only validate child if it is invalid.
14022 (getAlignmentX): Call super method as default.
14023 (getAlignmentY): Likewise.
14024 (addContainerListener): Now synchronized.
14025 (removeContainerListener): Likewise.
14026 (addNotifyContainerChildren): Now private.
14027 * java/awt/ComponentOrientation.java: Updated copyright. Added
14029 * java/awt/FlowLayout.java (serialVersionUID): New field.
14030 (setAlignment): Better exception message.
14031 (layoutContainer): Don't compute component's preferred size unless
14032 we're going to use it.
14033 * java/awt/BorderLayout.java (AFTER_LAST_LINE, AFTER_LINE_ENDS,
14034 BEFORE_FIRST_LINE, BEFORE_LINE_BEGINS): New constants.
14035 (firstLine, lastLine, firstItem, lastItem): New fields.
14036 (addLayoutComponent): Handle case where constraints is null.
14037 Also, handle relative locations.
14038 (removeLayoutComponent): Handle relative locations.
14039 (MIN, MAX, PREF): New constants.
14040 (calcCompSize): New method.
14041 (calcSize): New method.
14042 (minimumLayoutSize): Use it.
14043 (preferredLayoutSize): Likewise.
14044 (maximumLayoutSize): Likewise.
14045 (toString): Include more information.
14046 (setBounds): New method.
14047 (layoutContainer): Use libgcj implementation; extended to handle
14048 relative locations.
14050 2002-01-15 Tom Tromey <tromey@redhat.com>
14052 * java/lang/Float.java (equals): Preserve old code.
14053 * java/lang/Double.java (equals): Preserve old code.
14055 2002-01-15 Eric Blake <ebb9@email.byu.edu>
14057 * java/lang/Double.java (equals, compare): Fix 0.0 vs. -0.0 math.
14058 * java/lang/Float.java (equals, compare): Ditto.
14060 2002-01-13 Mark Wielaard <mark@klomp.org>
14062 * java/net/DatagramSocket.java (getReceiveBufferSize): new 1.2 method.
14063 * java/net/DatagramSocket.java (getSendBufferSize): Likewise.
14064 * java/net/DatagramSocket.java (setReceiveBufferSize): Likewise.
14065 * java/net/DatagramSocket.java (setSendBufferSize): Likewise.
14067 2002-01-11 Mark Wielaard <mark@klomp.org>
14069 * java/net/InetAddress.java (ANY_IF): moved from ServerSocket.
14070 * java/net/DatagramSocket.java (DatagramSocket): use ANY_IF from
14072 * java/net/MulticastSocket.java (MulticastSocket): Likewise.
14073 * java/net/Socket.java: Merge with Classpath.
14074 * java/net/ServerSocket.java: Likewise.
14076 2002-01-11 Chris Sears <cbsears_sf@yahoo.com>
14078 * interpret.cc (NULLARRAYCHECK): New macro.
14079 (SAVE_PC): Just store `pc'.
14080 (find_exception): Subtract one from `pc' here.
14081 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
14082 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
14083 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
14084 insn_bastore, insn_castore, insn_sastore]: Use NULLARRAYCHECK, and
14085 don't call SAVE_PC.
14086 (continue1) [insn_fdiv, insn_ddiv, insn_frem, insn_drem]: Don't
14089 2002-01-11 Tom Tromey <tromey@redhat.com>
14091 * java/lang/natSystem.cc (init_properties): Only look for default
14092 locale if LC_MESSAGES is defined.
14093 * aclocal.m4, configure, include/config.h.in: Rebuilt.
14094 * configure.in: Call AM_LC_MESSAGES.
14095 * acinclude.m4 (AM_LC_MESSAGES): New macro.
14097 2002-01-10 Tom Tromey <tromey@redhat.com>
14099 For PR libgcj/5303:
14100 * gnu/java/rmi/rmic/RMIC.java (parseOptions): Handle --help and
14101 --version. Recognize GNU-style long options. Print GNU-style
14103 (usage): Print GNU-style help. Exit with status 0.
14104 (error): New method.
14105 (run): Print error message if no class names found.
14106 (main): Don't print usage on error.
14108 2002-01-09 Tom Tromey <tromey@redhat.com>
14110 * gnu/gcj/convert/Convert.java (version): Use java.vm.name
14112 (help, version): Use println(), not println("").
14114 For PR libgcj/5303:
14115 * gnu/gcj/convert/Convert.java (error): Program is called
14116 `jv-convert'. Print GNU-style message. Exit with status 1, not
14118 (main): Handle --help and --version.
14119 (help): New method.
14120 (version): Likewise.
14122 2002-01-08 Tom Tromey <tromey@redhat.com>
14124 * Makefile.in: Rebuilt.
14125 * Makefile.am (ordinary_java_source_files): Added new files.
14126 * gnu/java/locale/LocaleInformation.java: Extend
14127 LocaleInformation_en.
14128 * gnu/java/locale/LocaleInformation_en.java: Added zone strings
14129 and time/date formats.
14130 * gnu/java/locale/LocaleInformation_en_US.java: Now automatically
14132 * gnu/java/locale/LocaleInformation_af_ZA.java: New file.
14133 * gnu/java/locale/LocaleInformation_ar_AE.java: New file.
14134 * gnu/java/locale/LocaleInformation_ar_BH.java: New file.
14135 * gnu/java/locale/LocaleInformation_ar_DZ.java: New file.
14136 * gnu/java/locale/LocaleInformation_ar_EG.java: New file.
14137 * gnu/java/locale/LocaleInformation_ar_IN.java: New file.
14138 * gnu/java/locale/LocaleInformation_ar_IQ.java: New file.
14139 * gnu/java/locale/LocaleInformation_ar_JO.java: New file.
14140 * gnu/java/locale/LocaleInformation_ar_KW.java: New file.
14141 * gnu/java/locale/LocaleInformation_ar_LB.java: New file.
14142 * gnu/java/locale/LocaleInformation_ar_LY.java: New file.
14143 * gnu/java/locale/LocaleInformation_ar_MA.java: New file.
14144 * gnu/java/locale/LocaleInformation_ar_OM.java: New file.
14145 * gnu/java/locale/LocaleInformation_ar_QA.java: New file.
14146 * gnu/java/locale/LocaleInformation_ar_SD.java: New file.
14147 * gnu/java/locale/LocaleInformation_ar_SY.java: New file.
14148 * gnu/java/locale/LocaleInformation_ar_TN.java: New file.
14149 * gnu/java/locale/LocaleInformation_ar_YE.java: New file.
14150 * gnu/java/locale/LocaleInformation_be_BY.java: New file.
14151 * gnu/java/locale/LocaleInformation_bn_IN.java: New file.
14152 * gnu/java/locale/LocaleInformation_br_FR.java: New file.
14153 * gnu/java/locale/LocaleInformation_bs_BA.java: New file.
14154 * gnu/java/locale/LocaleInformation_ca_ES.java: New file.
14155 * gnu/java/locale/LocaleInformation_cs_CZ.java: New file.
14156 * gnu/java/locale/LocaleInformation_cy_GB.java: New file.
14157 * gnu/java/locale/LocaleInformation_da_DK.java: New file.
14158 * gnu/java/locale/LocaleInformation_de_AT.java: New file.
14159 * gnu/java/locale/LocaleInformation_de_BE.java: New file.
14160 * gnu/java/locale/LocaleInformation_de_CH.java: New file.
14161 * gnu/java/locale/LocaleInformation_de_DE.java: New file.
14162 * gnu/java/locale/LocaleInformation_de_LU.java: New file.
14163 * gnu/java/locale/LocaleInformation_el_GR.java: New file.
14164 * gnu/java/locale/LocaleInformation_en_AU.java: New file.
14165 * gnu/java/locale/LocaleInformation_en_BW.java: New file.
14166 * gnu/java/locale/LocaleInformation_en_CA.java: New file.
14167 * gnu/java/locale/LocaleInformation_en_DK.java: New file.
14168 * gnu/java/locale/LocaleInformation_en_GB.java: New file.
14169 * gnu/java/locale/LocaleInformation_en_HK.java: New file.
14170 * gnu/java/locale/LocaleInformation_en_IE.java: New file.
14171 * gnu/java/locale/LocaleInformation_en_IN.java: New file.
14172 * gnu/java/locale/LocaleInformation_en_NZ.java: New file.
14173 * gnu/java/locale/LocaleInformation_en_PH.java: New file.
14174 * gnu/java/locale/LocaleInformation_en_SG.java: New file.
14175 * gnu/java/locale/LocaleInformation_en_ZA.java: New file.
14176 * gnu/java/locale/LocaleInformation_en_ZW.java: New file.
14177 * gnu/java/locale/LocaleInformation_es_AR.java: New file.
14178 * gnu/java/locale/LocaleInformation_es_BO.java: New file.
14179 * gnu/java/locale/LocaleInformation_es_CL.java: New file.
14180 * gnu/java/locale/LocaleInformation_es_CO.java: New file.
14181 * gnu/java/locale/LocaleInformation_es_CR.java: New file.
14182 * gnu/java/locale/LocaleInformation_es_DO.java: New file.
14183 * gnu/java/locale/LocaleInformation_es_EC.java: New file.
14184 * gnu/java/locale/LocaleInformation_es_ES.java: New file.
14185 * gnu/java/locale/LocaleInformation_es_GT.java: New file.
14186 * gnu/java/locale/LocaleInformation_es_HN.java: New file.
14187 * gnu/java/locale/LocaleInformation_es_MX.java: New file.
14188 * gnu/java/locale/LocaleInformation_es_NI.java: New file.
14189 * gnu/java/locale/LocaleInformation_es_PA.java: New file.
14190 * gnu/java/locale/LocaleInformation_es_PE.java: New file.
14191 * gnu/java/locale/LocaleInformation_es_PR.java: New file.
14192 * gnu/java/locale/LocaleInformation_es_PY.java: New file.
14193 * gnu/java/locale/LocaleInformation_es_SV.java: New file.
14194 * gnu/java/locale/LocaleInformation_es_US.java: New file.
14195 * gnu/java/locale/LocaleInformation_es_UY.java: New file.
14196 * gnu/java/locale/LocaleInformation_es_VE.java: New file.
14197 * gnu/java/locale/LocaleInformation_et_EE.java: New file.
14198 * gnu/java/locale/LocaleInformation_eu_ES.java: New file.
14199 * gnu/java/locale/LocaleInformation_fa_IR.java: New file.
14200 * gnu/java/locale/LocaleInformation_fi_FI.java: New file.
14201 * gnu/java/locale/LocaleInformation_fo_FO.java: New file.
14202 * gnu/java/locale/LocaleInformation_fr_BE.java: New file.
14203 * gnu/java/locale/LocaleInformation_fr_CA.java: New file.
14204 * gnu/java/locale/LocaleInformation_fr_CH.java: New file.
14205 * gnu/java/locale/LocaleInformation_fr_FR.java: New file.
14206 * gnu/java/locale/LocaleInformation_fr_LU.java: New file.
14207 * gnu/java/locale/LocaleInformation_ga_IE.java: New file.
14208 * gnu/java/locale/LocaleInformation_gd_GB.java: New file.
14209 * gnu/java/locale/LocaleInformation_gl_ES.java: New file.
14210 * gnu/java/locale/LocaleInformation_gv_GB.java: New file.
14211 * gnu/java/locale/LocaleInformation_he_IL.java: New file.
14212 * gnu/java/locale/LocaleInformation_hi_IN.java: New file.
14213 * gnu/java/locale/LocaleInformation_hr_HR.java: New file.
14214 * gnu/java/locale/LocaleInformation_hu_HU.java: New file.
14215 * gnu/java/locale/LocaleInformation_id_ID.java: New file.
14216 * gnu/java/locale/LocaleInformation_it_CH.java: New file.
14217 * gnu/java/locale/LocaleInformation_it_IT.java: New file.
14218 * gnu/java/locale/LocaleInformation_iw_IL.java: New file.
14219 * gnu/java/locale/LocaleInformation_ja_JP.java: New file.
14220 * gnu/java/locale/LocaleInformation_ka_GE.java: New file.
14221 * gnu/java/locale/LocaleInformation_kl_GL.java: New file.
14222 * gnu/java/locale/LocaleInformation_ko_KR.java: New file.
14223 * gnu/java/locale/LocaleInformation_kw_GB.java: New file.
14224 * gnu/java/locale/LocaleInformation_lt_LT.java: New file.
14225 * gnu/java/locale/LocaleInformation_lv_LV.java: New file.
14226 * gnu/java/locale/LocaleInformation_mi_NZ.java: New file.
14227 * gnu/java/locale/LocaleInformation_mk_MK.java: New file.
14228 * gnu/java/locale/LocaleInformation_mr_IN.java: New file.
14229 * gnu/java/locale/LocaleInformation_mt_MT.java: New file.
14230 * gnu/java/locale/LocaleInformation_nl_BE.java: New file.
14231 * gnu/java/locale/LocaleInformation_nl_NL.java: New file.
14232 * gnu/java/locale/LocaleInformation_nn_NO.java: New file.
14233 * gnu/java/locale/LocaleInformation_no_NO.java: New file.
14234 * gnu/java/locale/LocaleInformation_oc_FR.java: New file.
14235 * gnu/java/locale/LocaleInformation_pl_PL.java: New file.
14236 * gnu/java/locale/LocaleInformation_pt_BR.java: New file.
14237 * gnu/java/locale/LocaleInformation_pt_PT.java: New file.
14238 * gnu/java/locale/LocaleInformation_ro_RO.java: New file.
14239 * gnu/java/locale/LocaleInformation_ru_RU.java: New file.
14240 * gnu/java/locale/LocaleInformation_ru_UA.java: New file.
14241 * gnu/java/locale/LocaleInformation_se_NO.java: New file.
14242 * gnu/java/locale/LocaleInformation_sk_SK.java: New file.
14243 * gnu/java/locale/LocaleInformation_sl_SI.java: New file.
14244 * gnu/java/locale/LocaleInformation_sq_AL.java: New file.
14245 * gnu/java/locale/LocaleInformation_sr_YU.java: New file.
14246 * gnu/java/locale/LocaleInformation_sv_FI.java: New file.
14247 * gnu/java/locale/LocaleInformation_sv_SE.java: New file.
14248 * gnu/java/locale/LocaleInformation_ta_IN.java: New file.
14249 * gnu/java/locale/LocaleInformation_te_IN.java: New file.
14250 * gnu/java/locale/LocaleInformation_tg_TJ.java: New file.
14251 * gnu/java/locale/LocaleInformation_tl_PH.java: New file.
14252 * gnu/java/locale/LocaleInformation_tr_TR.java: New file.
14253 * gnu/java/locale/LocaleInformation_uk_UA.java: New file.
14254 * gnu/java/locale/LocaleInformation_ur_PK.java: New file.
14255 * gnu/java/locale/LocaleInformation_uz_UZ.java: New file.
14256 * gnu/java/locale/LocaleInformation_vi_VN.java: New file.
14257 * gnu/java/locale/LocaleInformation_yi_US.java: New file.
14258 * gnu/java/locale/LocaleInformation_zh_CN.java: New file.
14259 * gnu/java/locale/LocaleInformation_zh_HK.java: New file.
14260 * gnu/java/locale/LocaleInformation_zh_SG.java: New file.
14261 * gnu/java/locale/LocaleInformation_zh_TW.java: New file.
14263 For PR libgcj/5031:
14264 * java/lang/natSystem.cc (init_properties): Use LC_MESSAGES to
14265 choose default locale.
14267 * Makefile.in: Rebuilt.
14268 * Makefile.am (jv_convert_LDADD): Removed convert_source_files.
14270 2002-01-08 Nic Ferrier <nferrier@tf1.tapsellferrier.co.uk>
14272 * java/net/natPlainSocketImpl.cc: Added timeout handling for
14274 (close): New function closes the socket.
14275 (write): New functions for output to socket.
14276 (read): New functions for reading from socket.
14277 * java/net/PlainSocketImpl.java: Glue for new timeout
14279 (write): Call the native impl.
14281 (getInputStream): Get a stream to read from the socket.
14282 (getOutputStream): Get a stream to write to the socket.
14284 2002-01-08 Tom Tromey <tromey@redhat.com>
14286 * resolve.cc (_Jv_PrepareClass): Enable verifier.
14288 2002-01-07 Andreas Tobler <a.tobler@schweiz.ch>
14290 * java/lang/reflect/natMethod.cc: Don't include alloca.h.
14291 (_Jv_CallAnyMethodA): Convert alloca to __builtin_alloca.
14293 2002-01-08 Chris Sears <cbsears_sf@yahoo.com>
14295 * interpret.cc (ARRAYBOUNDSCHECK): New macro.
14296 (continue1) [insn_iaload, insn_laload, insn_faload, insn_daload,
14297 insn_aaload, insn_baload, insn_caload, insn_saload, insn_iastore,
14298 insn_lastore, insn_fastore, insn_dastore, insn_aastore,
14299 insn_bastore, insn_castore, insn_sastore]: Use it.
14300 (continue1) [insn_arraylength]: Check for null array.
14302 2002-01-06 Andreas Tobler <a.tobler@schweiz.ch>
14304 * configure, include/config.h.in: Rebuilt.
14305 * java/lang/natSystem.cc (getSystemTimeZone): Check HAVE_TM_ZONE.
14306 * configure.in: Call AC_STRUCT_TIMEZONE.
14308 2002-01-02 Andreas Tobler <a.tobler@schweiz.ch>
14310 * configure.host: Disable the interpreter for Darwin.
14312 2002-01-04 Tom Tromey <tromey@redhat.com>
14314 * java/lang/Thread.java (stop): No longer synchronized.
14317 2002-01-02 Tom Tromey <tromey@redhat.com>
14319 * java/lang/ieeefp.h: Fix bug in my hand-application of previous
14322 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
14324 * libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
14325 PPC Darwin, not for all of Darwin.